!(function(){var lw=Object.defineProperty,uw=Object.defineProperties;var cw=Object.getOwnPropertyDescriptors;var rv=Object.getOwnPropertySymbols;var wx=Object.prototype.hasOwnProperty,Px=Object.prototype.propertyIsEnumerable;var _y=Math.pow,xx=(zn,Nn,ve)=>Nn in zn?lw(zn,Nn,{enumerable:!0,configurable:!0,writable:!0,value:ve}):zn[Nn]=ve,ha=(zn,Nn)=>{for(var ve in Nn||(Nn={}))wx.call(Nn,ve)&&xx(zn,ve,Nn[ve]);if(rv)for(var ve of rv(Nn))Px.call(Nn,ve)&&xx(zn,ve,Nn[ve]);return zn},tl=(zn,Nn)=>uw(zn,cw(Nn));var ov=(zn,Nn)=>{var ve={};for(var Se in zn)wx.call(zn,Se)&&Nn.indexOf(Se)<0&&(ve[Se]=zn[Se]);if(zn!=null&&rv)for(var Se of rv(zn))Nn.indexOf(Se)<0&&Px.call(zn,Se)&&(ve[Se]=zn[Se]);return ve};var Cx=(zn,Nn,ve)=>new Promise((Se,Oe)=>{var We=yt=>{try{et(ve.next(yt))}catch(ke){Oe(ke)}},Ot=yt=>{try{et(ve.throw(yt))}catch(ke){Oe(ke)}},et=yt=>yt.done?Se(yt.value):Promise.resolve(yt.value).then(We,Ot);et((ve=ve.apply(zn,Nn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[4030],{89489:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},59477:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},40001:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},49198:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},87169:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},73331:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},15277:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},52671:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},8657:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},56082:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},33853:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},15075:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},43531:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},61485:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},38819:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},47472:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(tt,gt){return Oe.createElement(et.Z,(0,Se.Z)({},tt,{ref:gt,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke},87954:function(zn,Nn,ve){"use strict";ve.d(Nn,{LB:function(){return ci},g4:function(){return zt},VK:function(){return At},Cj:function(){return Er},O1:function(){return rr},Zj:function(){return Wi}});var Se=ve(59301),Oe=ve(4676),We=ve(35241);const Ot={display:"none"};function et(xt){let{id:Dt,value:un}=xt;return Se.createElement("div",{id:Dt,style:Ot},un)}function yt(xt){let{id:Dt,announcement:un,ariaLiveType:jn="assertive"}=xt;const ai={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return Se.createElement("div",{id:Dt,style:ai,role:"status","aria-live":jn,"aria-atomic":!0},un)}function ke(){const[xt,Dt]=(0,Se.useState)("");return{announce:(0,Se.useCallback)(jn=>{jn!=null&&Dt(jn)},[]),announcement:xt}}const Bt=(0,Se.createContext)(null);function Et(xt){const Dt=(0,Se.useContext)(Bt);(0,Se.useEffect)(()=>{if(!Dt)throw new Error("useDndMonitor must be used within a children of ");return Dt(xt)},[xt,Dt])}function tt(){const[xt]=(0,Se.useState)(()=>new Set),Dt=(0,Se.useCallback)(jn=>(xt.add(jn),()=>xt.delete(jn)),[xt]);return[(0,Se.useCallback)(jn=>{let{type:ai,event:Vt}=jn;xt.forEach(Cn=>{var ii;return(ii=Cn[ai])==null?void 0:ii.call(Cn,Vt)})},[xt]),Dt]}const gt={draggable:` To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. `},dt={onDragStart(xt){let{active:Dt}=xt;return"Picked up draggable item "+Dt.id+"."},onDragOver(xt){let{active:Dt,over:un}=xt;return un?"Draggable item "+Dt.id+" was moved over droppable area "+un.id+".":"Draggable item "+Dt.id+" is no longer over a droppable area."},onDragEnd(xt){let{active:Dt,over:un}=xt;return un?"Draggable item "+Dt.id+" was dropped over droppable area "+un.id:"Draggable item "+Dt.id+" was dropped."},onDragCancel(xt){let{active:Dt}=xt;return"Dragging was cancelled. Draggable item "+Dt.id+" was dropped."}};function Ct(xt){let{announcements:Dt=dt,container:un,hiddenTextDescribedById:jn,screenReaderInstructions:ai=gt}=xt;const{announce:Vt,announcement:Cn}=ke(),ii=(0,We.Ld)("DndLiveRegion"),[Qn,Fi]=(0,Se.useState)(!1);if((0,Se.useEffect)(()=>{Fi(!0)},[]),Et((0,Se.useMemo)(()=>({onDragStart(Ei){let{active:Oi}=Ei;Vt(Dt.onDragStart({active:Oi}))},onDragMove(Ei){let{active:Oi,over:Hn}=Ei;Dt.onDragMove&&Vt(Dt.onDragMove({active:Oi,over:Hn}))},onDragOver(Ei){let{active:Oi,over:Hn}=Ei;Vt(Dt.onDragOver({active:Oi,over:Hn}))},onDragEnd(Ei){let{active:Oi,over:Hn}=Ei;Vt(Dt.onDragEnd({active:Oi,over:Hn}))},onDragCancel(Ei){let{active:Oi,over:Hn}=Ei;Vt(Dt.onDragCancel({active:Oi,over:Hn}))}}),[Vt,Dt])),!Qn)return null;const Mr=Se.createElement(Se.Fragment,null,Se.createElement(et,{id:jn,value:ai.draggable}),Se.createElement(yt,{id:ii,announcement:Cn}));return un?(0,Oe.createPortal)(Mr,un):Mr}var Me;(function(xt){xt.DragStart="dragStart",xt.DragMove="dragMove",xt.DragEnd="dragEnd",xt.DragCancel="dragCancel",xt.DragOver="dragOver",xt.RegisterDroppable="registerDroppable",xt.SetDroppableDisabled="setDroppableDisabled",xt.UnregisterDroppable="unregisterDroppable"})(Me||(Me={}));function te(){}function ne(xt,Dt){return useMemo(()=>({sensor:xt,options:Dt!=null?Dt:{}}),[xt,Dt])}function ce(){for(var xt=arguments.length,Dt=new Array(xt),un=0;un[...Dt].filter(jn=>jn!=null),[...Dt])}const se=Object.freeze({x:0,y:0});function ge(xt,Dt){return Math.sqrt(Math.pow(xt.x-Dt.x,2)+Math.pow(xt.y-Dt.y,2))}function ye(xt,Dt){const un=getEventCoordinates(xt);if(!un)return"0 0";const jn={x:(un.x-Dt.left)/Dt.width*100,y:(un.y-Dt.top)/Dt.height*100};return jn.x+"% "+jn.y+"%"}function Ce(xt,Dt){let{data:{value:un}}=xt,{data:{value:jn}}=Dt;return un-jn}function Ne(xt,Dt){let{data:{value:un}}=xt,{data:{value:jn}}=Dt;return jn-un}function Pe(xt){let{left:Dt,top:un,height:jn,width:ai}=xt;return[{x:Dt,y:un},{x:Dt+ai,y:un},{x:Dt,y:un+jn},{x:Dt+ai,y:un+jn}]}function Ie(xt,Dt){if(!xt||xt.length===0)return null;const[un]=xt;return Dt?un[Dt]:un}function Ke(xt,Dt,un){return Dt===void 0&&(Dt=xt.left),un===void 0&&(un=xt.top),{x:Dt+xt.width*.5,y:un+xt.height*.5}}const Ve=xt=>{let{collisionRect:Dt,droppableRects:un,droppableContainers:jn}=xt;const ai=Ke(Dt,Dt.left,Dt.top),Vt=[];for(const Cn of jn){const{id:ii}=Cn,Qn=un.get(ii);if(Qn){const Fi=ge(Ke(Qn),ai);Vt.push({id:ii,data:{droppableContainer:Cn,value:Fi}})}}return Vt.sort(Ce)},Ye=xt=>{let{collisionRect:Dt,droppableRects:un,droppableContainers:jn}=xt;const ai=Pe(Dt),Vt=[];for(const Cn of jn){const{id:ii}=Cn,Qn=un.get(ii);if(Qn){const Fi=Pe(Qn),Mr=ai.reduce((Oi,Hn,pr)=>Oi+ge(Fi[pr],Hn),0),Ei=Number((Mr/4).toFixed(4));Vt.push({id:ii,data:{droppableContainer:Cn,value:Ei}})}}return Vt.sort(Ce)};function ut(xt,Dt){const un=Math.max(Dt.top,xt.top),jn=Math.max(Dt.left,xt.left),ai=Math.min(Dt.left+Dt.width,xt.left+xt.width),Vt=Math.min(Dt.top+Dt.height,xt.top+xt.height),Cn=ai-jn,ii=Vt-un;if(jn{let{collisionRect:Dt,droppableRects:un,droppableContainers:jn}=xt;const ai=[];for(const Vt of jn){const{id:Cn}=Vt,ii=un.get(Cn);if(ii){const Qn=ut(ii,Dt);Qn>0&&ai.push({id:Cn,data:{droppableContainer:Vt,value:Qn}})}}return ai.sort(Ne)};function Nt(xt,Dt){const{top:un,left:jn,bottom:ai,right:Vt}=Dt;return un<=xt.y&&xt.y<=ai&&jn<=xt.x&&xt.x<=Vt}const Qe=xt=>{let{droppableContainers:Dt,droppableRects:un,pointerCoordinates:jn}=xt;if(!jn)return[];const ai=[];for(const Vt of Dt){const{id:Cn}=Vt,ii=un.get(Cn);if(ii&&Nt(jn,ii)){const Fi=Pe(ii).reduce((Ei,Oi)=>Ei+ge(jn,Oi),0),Mr=Number((Fi/4).toFixed(4));ai.push({id:Cn,data:{droppableContainer:Vt,value:Mr}})}}return ai.sort(Ce)};function Ht(xt,Dt,un){return tl(ha({},xt),{scaleX:Dt&&un?Dt.width/un.width:1,scaleY:Dt&&un?Dt.height/un.height:1})}function Rt(xt,Dt){return xt&&Dt?{x:xt.left-Dt.left,y:xt.top-Dt.top}:se}function It(xt){return function(un){for(var jn=arguments.length,ai=new Array(jn>1?jn-1:0),Vt=1;Vttl(ha({},Cn),{top:Cn.top+xt*ii.y,bottom:Cn.bottom+xt*ii.y,left:Cn.left+xt*ii.x,right:Cn.right+xt*ii.x}),ha({},un))}}const Lt=It(1);function Ut(xt){if(xt.startsWith("matrix3d(")){const Dt=xt.slice(9,-1).split(/, /);return{x:+Dt[12],y:+Dt[13],scaleX:+Dt[0],scaleY:+Dt[5]}}else if(xt.startsWith("matrix(")){const Dt=xt.slice(7,-1).split(/, /);return{x:+Dt[4],y:+Dt[5],scaleX:+Dt[0],scaleY:+Dt[3]}}return null}function ht(xt,Dt,un){const jn=Ut(Dt);if(!jn)return xt;const{scaleX:ai,scaleY:Vt,x:Cn,y:ii}=jn,Qn=xt.left-Cn-(1-ai)*parseFloat(un),Fi=xt.top-ii-(1-Vt)*parseFloat(un.slice(un.indexOf(" ")+1)),Mr=ai?xt.width/ai:xt.width,Ei=Vt?xt.height/Vt:xt.height;return{width:Mr,height:Ei,top:Fi,right:Qn+Mr,bottom:Fi+Ei,left:Qn}}const Re={ignoreTransform:!1};function At(xt,Dt){Dt===void 0&&(Dt=Re);let un=xt.getBoundingClientRect();if(Dt.ignoreTransform){const{transform:Fi,transformOrigin:Mr}=(0,We.Jj)(xt).getComputedStyle(xt);Fi&&(un=ht(un,Fi,Mr))}const{top:jn,left:ai,width:Vt,height:Cn,bottom:ii,right:Qn}=un;return{top:jn,left:ai,width:Vt,height:Cn,bottom:ii,right:Qn}}function Sn(xt){return At(xt,{ignoreTransform:!0})}function mn(xt){const Dt=xt.innerWidth,un=xt.innerHeight;return{top:0,left:0,right:Dt,bottom:un,width:Dt,height:un}}function Ft(xt,Dt){return Dt===void 0&&(Dt=(0,We.Jj)(xt).getComputedStyle(xt)),Dt.position==="fixed"}function en(xt,Dt){Dt===void 0&&(Dt=(0,We.Jj)(xt).getComputedStyle(xt));const un=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(ai=>{const Vt=Dt[ai];return typeof Vt=="string"?un.test(Vt):!1})}function sn(xt,Dt){const un=[];function jn(ai){if(Dt!=null&&un.length>=Dt||!ai)return un;if((0,We.qk)(ai)&&ai.scrollingElement!=null&&!un.includes(ai.scrollingElement))return un.push(ai.scrollingElement),un;if(!(0,We.Re)(ai)||(0,We.vZ)(ai)||un.includes(ai))return un;const Vt=(0,We.Jj)(xt).getComputedStyle(ai);return ai!==xt&&en(ai,Vt)&&un.push(ai),Ft(ai,Vt)?un:jn(ai.parentNode)}return xt?jn(xt):un}function On(xt){const[Dt]=sn(xt,1);return Dt!=null?Dt:null}function yn(xt){return!We.Nq||!xt?null:(0,We.FJ)(xt)?xt:(0,We.UG)(xt)?(0,We.qk)(xt)||xt===(0,We.r3)(xt).scrollingElement?window:(0,We.Re)(xt)?xt:null:null}function Tn(xt){return(0,We.FJ)(xt)?xt.scrollX:xt.scrollLeft}function pt(xt){return(0,We.FJ)(xt)?xt.scrollY:xt.scrollTop}function Un(xt){return{x:Tn(xt),y:pt(xt)}}var wn;(function(xt){xt[xt.Forward=1]="Forward",xt[xt.Backward=-1]="Backward"})(wn||(wn={}));function An(xt){return!We.Nq||!xt?!1:xt===document.scrollingElement}function ni(xt){const Dt={x:0,y:0},un=An(xt)?{height:window.innerHeight,width:window.innerWidth}:{height:xt.clientHeight,width:xt.clientWidth},jn={x:xt.scrollWidth-un.width,y:xt.scrollHeight-un.height},ai=xt.scrollTop<=Dt.y,Vt=xt.scrollLeft<=Dt.x,Cn=xt.scrollTop>=jn.y,ii=xt.scrollLeft>=jn.x;return{isTop:ai,isLeft:Vt,isBottom:Cn,isRight:ii,maxScroll:jn,minScroll:Dt}}const Qt={x:.2,y:.2};function Jt(xt,Dt,un,jn,ai){let{top:Vt,left:Cn,right:ii,bottom:Qn}=un;jn===void 0&&(jn=10),ai===void 0&&(ai=Qt);const{isTop:Fi,isBottom:Mr,isLeft:Ei,isRight:Oi}=ni(xt),Hn={x:0,y:0},pr={x:0,y:0},kr={height:Dt.height*ai.y,width:Dt.width*ai.x};return!Fi&&Vt<=Dt.top+kr.height?(Hn.y=wn.Backward,pr.y=jn*Math.abs((Dt.top+kr.height-Vt)/kr.height)):!Mr&&Qn>=Dt.bottom-kr.height&&(Hn.y=wn.Forward,pr.y=jn*Math.abs((Dt.bottom-kr.height-Qn)/kr.height)),!Oi&&ii>=Dt.right-kr.width?(Hn.x=wn.Forward,pr.x=jn*Math.abs((Dt.right-kr.width-ii)/kr.width)):!Ei&&Cn<=Dt.left+kr.width&&(Hn.x=wn.Backward,pr.x=jn*Math.abs((Dt.left+kr.width-Cn)/kr.width)),{direction:Hn,speed:pr}}function St(xt){if(xt===document.scrollingElement){const{innerWidth:Vt,innerHeight:Cn}=window;return{top:0,left:0,right:Vt,bottom:Cn,width:Vt,height:Cn}}const{top:Dt,left:un,right:jn,bottom:ai}=xt.getBoundingClientRect();return{top:Dt,left:un,right:jn,bottom:ai,width:xt.clientWidth,height:xt.clientHeight}}function Xe(xt){return xt.reduce((Dt,un)=>(0,We.IH)(Dt,Un(un)),se)}function Yt(xt){return xt.reduce((Dt,un)=>Dt+Tn(un),0)}function Kt(xt){return xt.reduce((Dt,un)=>Dt+pt(un),0)}function qe(xt,Dt){if(Dt===void 0&&(Dt=At),!xt)return;const{top:un,left:jn,bottom:ai,right:Vt}=Dt(xt);On(xt)&&(ai<=0||Vt<=0||un>=window.innerHeight||jn>=window.innerWidth)&&xt.scrollIntoView({block:"center",inline:"center"})}const Ge=[["x",["left","right"],Yt],["y",["top","bottom"],Kt]];class Be{constructor(Dt,un){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const jn=sn(un),ai=Xe(jn);this.rect=ha({},Dt),this.width=Dt.width,this.height=Dt.height;for(const[Vt,Cn,ii]of Ge)for(const Qn of Cn)Object.defineProperty(this,Qn,{get:()=>{const Fi=ii(jn),Mr=ai[Vt]-Fi;return this.rect[Qn]+Mr},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class xe{constructor(Dt){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(un=>{var jn;return(jn=this.target)==null?void 0:jn.removeEventListener(...un)})},this.target=Dt}add(Dt,un,jn){var ai;(ai=this.target)==null||ai.addEventListener(Dt,un,jn),this.listeners.push([Dt,un,jn])}}function me(xt){const{EventTarget:Dt}=(0,We.Jj)(xt);return xt instanceof Dt?xt:(0,We.r3)(xt)}function Fe(xt,Dt){const un=Math.abs(xt.x),jn=Math.abs(xt.y);return typeof Dt=="number"?Math.sqrt(_y(un,2)+_y(jn,2))>Dt:"x"in Dt&&"y"in Dt?un>Dt.x&&jn>Dt.y:"x"in Dt?un>Dt.x:"y"in Dt?jn>Dt.y:!1}var He;(function(xt){xt.Click="click",xt.DragStart="dragstart",xt.Keydown="keydown",xt.ContextMenu="contextmenu",xt.Resize="resize",xt.SelectionChange="selectionchange",xt.VisibilityChange="visibilitychange"})(He||(He={}));function Le(xt){xt.preventDefault()}function mt(xt){xt.stopPropagation()}var zt;(function(xt){xt.Space="Space",xt.Down="ArrowDown",xt.Right="ArrowRight",xt.Left="ArrowLeft",xt.Up="ArrowUp",xt.Esc="Escape",xt.Enter="Enter",xt.Tab="Tab"})(zt||(zt={}));const Pn={start:[zt.Space,zt.Enter],cancel:[zt.Esc],end:[zt.Space,zt.Enter,zt.Tab]},rn=(xt,Dt)=>{let{currentCoordinates:un}=Dt;switch(xt.code){case zt.Right:return tl(ha({},un),{x:un.x+25});case zt.Left:return tl(ha({},un),{x:un.x-25});case zt.Down:return tl(ha({},un),{y:un.y+25});case zt.Up:return tl(ha({},un),{y:un.y-25})}};class In{constructor(Dt){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Dt;const{event:{target:un}}=Dt;this.props=Dt,this.listeners=new xe((0,We.r3)(un)),this.windowListeners=new xe((0,We.Jj)(un)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(He.Resize,this.handleCancel),this.windowListeners.add(He.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(He.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Dt,onStart:un}=this.props,jn=Dt.node.current;jn&&qe(jn),un(se)}handleKeyDown(Dt){if((0,We.vd)(Dt)){const{active:un,context:jn,options:ai}=this.props,{keyboardCodes:Vt=Pn,coordinateGetter:Cn=rn,scrollBehavior:ii="smooth"}=ai,{code:Qn}=Dt;if(Vt.end.includes(Qn)){this.handleEnd(Dt);return}if(Vt.cancel.includes(Qn)){this.handleCancel(Dt);return}const{collisionRect:Fi}=jn.current,Mr=Fi?{x:Fi.left,y:Fi.top}:se;this.referenceCoordinates||(this.referenceCoordinates=Mr);const Ei=Cn(Dt,{active:un,context:jn.current,currentCoordinates:Mr});if(Ei){const Oi=(0,We.$X)(Ei,Mr),Hn={x:0,y:0},{scrollableAncestors:pr}=jn.current;for(const kr of pr){const wo=Dt.code,{isTop:to,isRight:Xr,isLeft:eo,isBottom:Zo,maxScroll:$o,minScroll:ia}=ni(kr),qo=St(kr),xn={x:Math.min(wo===zt.Right?qo.right-qo.width/2:qo.right,Math.max(wo===zt.Right?qo.left:qo.left+qo.width/2,Ei.x)),y:Math.min(wo===zt.Down?qo.bottom-qo.height/2:qo.bottom,Math.max(wo===zt.Down?qo.top:qo.top+qo.height/2,Ei.y))},oa=wo===zt.Right&&!Xr||wo===zt.Left&&!eo,vs=wo===zt.Down&&!Zo||wo===zt.Up&&!to;if(oa&&xn.x!==Ei.x){const Ga=kr.scrollLeft+Oi.x,Zs=wo===zt.Right&&Ga<=$o.x||wo===zt.Left&&Ga>=ia.x;if(Zs&&!Oi.y){kr.scrollTo({left:Ga,behavior:ii});return}Zs?Hn.x=kr.scrollLeft-Ga:Hn.x=wo===zt.Right?kr.scrollLeft-$o.x:kr.scrollLeft-ia.x,Hn.x&&kr.scrollBy({left:-Hn.x,behavior:ii});break}else if(vs&&xn.y!==Ei.y){const Ga=kr.scrollTop+Oi.y,Zs=wo===zt.Down&&Ga<=$o.y||wo===zt.Up&&Ga>=ia.y;if(Zs&&!Oi.x){kr.scrollTo({top:Ga,behavior:ii});return}Zs?Hn.y=kr.scrollTop-Ga:Hn.y=wo===zt.Down?kr.scrollTop-$o.y:kr.scrollTop-ia.y,Hn.y&&kr.scrollBy({top:-Hn.y,behavior:ii});break}}this.handleMove(Dt,(0,We.IH)((0,We.$X)(Ei,this.referenceCoordinates),Hn))}}}handleMove(Dt,un){const{onMove:jn}=this.props;Dt.preventDefault(),jn(un)}handleEnd(Dt){const{onEnd:un}=this.props;Dt.preventDefault(),this.detach(),un()}handleCancel(Dt){const{onCancel:un}=this.props;Dt.preventDefault(),this.detach(),un()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}In.activators=[{eventName:"onKeyDown",handler:(xt,Dt,un)=>{let{keyboardCodes:jn=Pn,onActivation:ai}=Dt,{active:Vt}=un;const{code:Cn}=xt.nativeEvent;if(jn.start.includes(Cn)){const ii=Vt.activatorNode.current;return ii&&xt.target!==ii?!1:(xt.preventDefault(),ai==null||ai({event:xt.nativeEvent}),!0)}return!1}}];function Gn(xt){return!!(xt&&"distance"in xt)}function Pi(xt){return!!(xt&&"delay"in xt)}class Di{constructor(Dt,un,jn){var ai;jn===void 0&&(jn=me(Dt.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=Dt,this.events=un;const{event:Vt}=Dt,{target:Cn}=Vt;this.props=Dt,this.events=un,this.document=(0,We.r3)(Cn),this.documentListeners=new xe(this.document),this.listeners=new xe(jn),this.windowListeners=new xe((0,We.Jj)(Cn)),this.initialCoordinates=(ai=(0,We.DC)(Vt))!=null?ai:se,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:Dt,props:{options:{activationConstraint:un,bypassActivationConstraint:jn}}}=this;if(this.listeners.add(Dt.move.name,this.handleMove,{passive:!1}),this.listeners.add(Dt.end.name,this.handleEnd),Dt.cancel&&this.listeners.add(Dt.cancel.name,this.handleCancel),this.windowListeners.add(He.Resize,this.handleCancel),this.windowListeners.add(He.DragStart,Le),this.windowListeners.add(He.VisibilityChange,this.handleCancel),this.windowListeners.add(He.ContextMenu,Le),this.documentListeners.add(He.Keydown,this.handleKeydown),un){if(jn!=null&&jn({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Pi(un)){this.timeoutId=setTimeout(this.handleStart,un.delay),this.handlePending(un);return}if(Gn(un)){this.handlePending(un);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(Dt,un){const{active:jn,onPending:ai}=this.props;ai(jn,Dt,this.initialCoordinates,un)}handleStart(){const{initialCoordinates:Dt}=this,{onStart:un}=this.props;Dt&&(this.activated=!0,this.documentListeners.add(He.Click,mt,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(He.SelectionChange,this.removeTextSelection),un(Dt))}handleMove(Dt){var un;const{activated:jn,initialCoordinates:ai,props:Vt}=this,{onMove:Cn,options:{activationConstraint:ii}}=Vt;if(!ai)return;const Qn=(un=(0,We.DC)(Dt))!=null?un:se,Fi=(0,We.$X)(ai,Qn);if(!jn&&ii){if(Gn(ii)){if(ii.tolerance!=null&&Fe(Fi,ii.tolerance))return this.handleCancel();if(Fe(Fi,ii.distance))return this.handleStart()}if(Pi(ii)&&Fe(Fi,ii.tolerance))return this.handleCancel();this.handlePending(ii,Fi);return}Dt.cancelable&&Dt.preventDefault(),Cn(Qn)}handleEnd(){const{onAbort:Dt,onEnd:un}=this.props;this.detach(),this.activated||Dt(this.props.active),un()}handleCancel(){const{onAbort:Dt,onCancel:un}=this.props;this.detach(),this.activated||Dt(this.props.active),un()}handleKeydown(Dt){Dt.code===zt.Esc&&this.handleCancel()}removeTextSelection(){var Dt;(Dt=this.document.getSelection())==null||Dt.removeAllRanges()}}const Gi={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Dn extends Di{constructor(Dt){const{event:un}=Dt,jn=(0,We.r3)(un.target);super(Dt,Gi,jn)}}Dn.activators=[{eventName:"onPointerDown",handler:(xt,Dt)=>{let{nativeEvent:un}=xt,{onActivation:jn}=Dt;return!un.isPrimary||un.button!==0?!1:(jn==null||jn({event:un}),!0)}}];const or={move:{name:"mousemove"},end:{name:"mouseup"}};var jr;(function(xt){xt[xt.RightClick=2]="RightClick"})(jr||(jr={}));class Gr extends Di{constructor(Dt){super(Dt,or,(0,We.r3)(Dt.event.target))}}Gr.activators=[{eventName:"onMouseDown",handler:(xt,Dt)=>{let{nativeEvent:un}=xt,{onActivation:jn}=Dt;return un.button===jr.RightClick?!1:(jn==null||jn({event:un}),!0)}}];const Ir={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class wr extends Di{constructor(Dt){super(Dt,Ir)}static setup(){return window.addEventListener(Ir.move.name,Dt,{capture:!1,passive:!1}),function(){window.removeEventListener(Ir.move.name,Dt)};function Dt(){}}}wr.activators=[{eventName:"onTouchStart",handler:(xt,Dt)=>{let{nativeEvent:un}=xt,{onActivation:jn}=Dt;const{touches:ai}=un;return ai.length>1?!1:(jn==null||jn({event:un}),!0)}}];var so;(function(xt){xt[xt.Pointer=0]="Pointer",xt[xt.DraggableRect=1]="DraggableRect"})(so||(so={}));var Rr;(function(xt){xt[xt.TreeOrder=0]="TreeOrder",xt[xt.ReversedTreeOrder=1]="ReversedTreeOrder"})(Rr||(Rr={}));function hr(xt){let{acceleration:Dt,activator:un=so.Pointer,canScroll:jn,draggingRect:ai,enabled:Vt,interval:Cn=5,order:ii=Rr.TreeOrder,pointerCoordinates:Qn,scrollableAncestors:Fi,scrollableAncestorRects:Mr,delta:Ei,threshold:Oi}=xt;const Hn=vi({delta:Ei,disabled:!Vt}),[pr,kr]=(0,We.Yz)(),wo=(0,Se.useRef)({x:0,y:0}),to=(0,Se.useRef)({x:0,y:0}),Xr=(0,Se.useMemo)(()=>{switch(un){case so.Pointer:return Qn?{top:Qn.y,bottom:Qn.y,left:Qn.x,right:Qn.x}:null;case so.DraggableRect:return ai}},[un,ai,Qn]),eo=(0,Se.useRef)(null),Zo=(0,Se.useCallback)(()=>{const ia=eo.current;if(!ia)return;const qo=wo.current.x*to.current.x,xn=wo.current.y*to.current.y;ia.scrollBy(qo,xn)},[]),$o=(0,Se.useMemo)(()=>ii===Rr.TreeOrder?[...Fi].reverse():Fi,[ii,Fi]);(0,Se.useEffect)(()=>{if(!Vt||!Fi.length||!Xr){kr();return}for(const ia of $o){if((jn==null?void 0:jn(ia))===!1)continue;const qo=Fi.indexOf(ia),xn=Mr[qo];if(!xn)continue;const{direction:oa,speed:vs}=Jt(ia,xn,Xr,Dt,Oi);for(const Ga of["x","y"])Hn[Ga][oa[Ga]]||(vs[Ga]=0,oa[Ga]=0);if(vs.x>0||vs.y>0){kr(),eo.current=ia,pr(Zo,Cn),wo.current=vs,to.current=oa;return}}wo.current={x:0,y:0},to.current={x:0,y:0},kr()},[Dt,Zo,jn,kr,Vt,Cn,JSON.stringify(Xr),JSON.stringify(Hn),pr,Fi,$o,Mr,JSON.stringify(Oi)])}const No={x:{[wn.Backward]:!1,[wn.Forward]:!1},y:{[wn.Backward]:!1,[wn.Forward]:!1}};function vi(xt){let{delta:Dt,disabled:un}=xt;const jn=(0,We.D9)(Dt);return(0,We.Gj)(ai=>{if(un||!jn||!ai)return No;const Vt={x:Math.sign(Dt.x-jn.x),y:Math.sign(Dt.y-jn.y)};return{x:{[wn.Backward]:ai.x[wn.Backward]||Vt.x===-1,[wn.Forward]:ai.x[wn.Forward]||Vt.x===1},y:{[wn.Backward]:ai.y[wn.Backward]||Vt.y===-1,[wn.Forward]:ai.y[wn.Forward]||Vt.y===1}}},[un,Dt,jn])}function Ee(xt,Dt){const un=Dt!=null?xt.get(Dt):void 0,jn=un?un.node.current:null;return(0,We.Gj)(ai=>{var Vt;return Dt==null?null:(Vt=jn!=null?jn:ai)!=null?Vt:null},[jn,Dt])}function $n(xt,Dt){return(0,Se.useMemo)(()=>xt.reduce((un,jn)=>{const{sensor:ai}=jn,Vt=ai.activators.map(Cn=>({eventName:Cn.eventName,handler:Dt(Cn.handler,jn)}));return[...un,...Vt]},[]),[xt,Dt])}var fi;(function(xt){xt[xt.Always=0]="Always",xt[xt.BeforeDragging=1]="BeforeDragging",xt[xt.WhileDragging=2]="WhileDragging"})(fi||(fi={}));var ln;(function(xt){xt.Optimized="optimized"})(ln||(ln={}));const ei=new Map;function Yn(xt,Dt){let{dragging:un,dependencies:jn,config:ai}=Dt;const[Vt,Cn]=(0,Se.useState)(null),{frequency:ii,measure:Qn,strategy:Fi}=ai,Mr=(0,Se.useRef)(xt),Ei=wo(),Oi=(0,We.Ey)(Ei),Hn=(0,Se.useCallback)(function(to){to===void 0&&(to=[]),!Oi.current&&Cn(Xr=>Xr===null?to:Xr.concat(to.filter(eo=>!Xr.includes(eo))))},[Oi]),pr=(0,Se.useRef)(null),kr=(0,We.Gj)(to=>{if(Ei&&!un)return ei;if(!to||to===ei||Mr.current!==xt||Vt!=null){const Xr=new Map;for(let eo of xt){if(!eo)continue;if(Vt&&Vt.length>0&&!Vt.includes(eo.id)&&eo.rect.current){Xr.set(eo.id,eo.rect.current);continue}const Zo=eo.node.current,$o=Zo?new Be(Qn(Zo),Zo):null;eo.rect.current=$o,$o&&Xr.set(eo.id,$o)}return Xr}return to},[xt,Vt,un,Ei,Qn]);return(0,Se.useEffect)(()=>{Mr.current=xt},[xt]),(0,Se.useEffect)(()=>{Ei||Hn()},[un,Ei]),(0,Se.useEffect)(()=>{Vt&&Vt.length>0&&Cn(null)},[JSON.stringify(Vt)]),(0,Se.useEffect)(()=>{Ei||typeof ii!="number"||pr.current!==null||(pr.current=setTimeout(()=>{Hn(),pr.current=null},ii))},[ii,Ei,Hn,...jn]),{droppableRects:kr,measureDroppableContainers:Hn,measuringScheduled:Vt!=null};function wo(){switch(Fi){case fi.Always:return!1;case fi.BeforeDragging:return un;default:return!un}}}function dn(xt,Dt){return(0,We.Gj)(un=>xt?un||(typeof Dt=="function"?Dt(xt):xt):null,[Dt,xt])}function tn(xt,Dt){return dn(xt,Dt)}function on(xt){let{callback:Dt,disabled:un}=xt;const jn=(0,We.zX)(Dt),ai=(0,Se.useMemo)(()=>{if(un||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:Vt}=window;return new Vt(jn)},[jn,un]);return(0,Se.useEffect)(()=>()=>ai==null?void 0:ai.disconnect(),[ai]),ai}function wt(xt){let{callback:Dt,disabled:un}=xt;const jn=(0,We.zX)(Dt),ai=(0,Se.useMemo)(()=>{if(un||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:Vt}=window;return new Vt(jn)},[un]);return(0,Se.useEffect)(()=>()=>ai==null?void 0:ai.disconnect(),[ai]),ai}function bt(xt){return new Be(At(xt),xt)}function ze(xt,Dt,un){Dt===void 0&&(Dt=bt);const[jn,ai]=(0,Se.useState)(null);function Vt(){ai(Qn=>{if(!xt)return null;if(xt.isConnected===!1){var Fi;return(Fi=Qn!=null?Qn:un)!=null?Fi:null}const Mr=Dt(xt);return JSON.stringify(Qn)===JSON.stringify(Mr)?Qn:Mr})}const Cn=on({callback(Qn){if(xt)for(const Fi of Qn){const{type:Mr,target:Ei}=Fi;if(Mr==="childList"&&Ei instanceof HTMLElement&&Ei.contains(xt)){Vt();break}}}}),ii=wt({callback:Vt});return(0,We.LI)(()=>{Vt(),xt?(ii==null||ii.observe(xt),Cn==null||Cn.observe(document.body,{childList:!0,subtree:!0})):(ii==null||ii.disconnect(),Cn==null||Cn.disconnect())},[xt]),jn}function Gt(xt){const Dt=dn(xt);return Rt(xt,Dt)}const an=[];function ct(xt){const Dt=(0,Se.useRef)(xt),un=(0,We.Gj)(jn=>xt?jn&&jn!==an&&xt&&Dt.current&&xt.parentNode===Dt.current.parentNode?jn:sn(xt):an,[xt]);return(0,Se.useEffect)(()=>{Dt.current=xt},[xt]),un}function $e(xt){const[Dt,un]=(0,Se.useState)(null),jn=(0,Se.useRef)(xt),ai=(0,Se.useCallback)(Vt=>{const Cn=yn(Vt.target);Cn&&un(ii=>ii?(ii.set(Cn,Un(Cn)),new Map(ii)):null)},[]);return(0,Se.useEffect)(()=>{const Vt=jn.current;if(xt!==Vt){Cn(Vt);const ii=xt.map(Qn=>{const Fi=yn(Qn);return Fi?(Fi.addEventListener("scroll",ai,{passive:!0}),[Fi,Un(Fi)]):null}).filter(Qn=>Qn!=null);un(ii.length?new Map(ii):null),jn.current=xt}return()=>{Cn(xt),Cn(Vt)};function Cn(ii){ii.forEach(Qn=>{const Fi=yn(Qn);Fi==null||Fi.removeEventListener("scroll",ai)})}},[ai,xt]),(0,Se.useMemo)(()=>xt.length?Dt?Array.from(Dt.values()).reduce((Vt,Cn)=>(0,We.IH)(Vt,Cn),se):Xe(xt):se,[xt,Dt])}function $t(xt,Dt){Dt===void 0&&(Dt=[]);const un=(0,Se.useRef)(null);return(0,Se.useEffect)(()=>{un.current=null},Dt),(0,Se.useEffect)(()=>{const jn=xt!==se;jn&&!un.current&&(un.current=xt),!jn&&un.current&&(un.current=null)},[xt]),un.current?(0,We.$X)(xt,un.current):se}function Tt(xt){(0,Se.useEffect)(()=>{if(!We.Nq)return;const Dt=xt.map(un=>{let{sensor:jn}=un;return jn.setup==null?void 0:jn.setup()});return()=>{for(const un of Dt)un==null||un()}},xt.map(Dt=>{let{sensor:un}=Dt;return un}))}function Mn(xt,Dt){return(0,Se.useMemo)(()=>xt.reduce((un,jn)=>{let{eventName:ai,handler:Vt}=jn;return un[ai]=Cn=>{Vt(Cn,Dt)},un},{}),[xt,Dt])}function Wn(xt){return(0,Se.useMemo)(()=>xt?mn(xt):null,[xt])}const st=[];function fn(xt,Dt){Dt===void 0&&(Dt=At);const[un]=xt,jn=Wn(un?(0,We.Jj)(un):null),[ai,Vt]=(0,Se.useState)(st);function Cn(){Vt(()=>xt.length?xt.map(Qn=>An(Qn)?jn:new Be(Dt(Qn),Qn)):st)}const ii=wt({callback:Cn});return(0,We.LI)(()=>{ii==null||ii.disconnect(),Cn(),xt.forEach(Qn=>ii==null?void 0:ii.observe(Qn))},[xt]),ai}function Kn(xt){if(!xt)return null;if(xt.children.length>1)return xt;const Dt=xt.children[0];return(0,We.Re)(Dt)?Dt:xt}function _n(xt){let{measure:Dt}=xt;const[un,jn]=(0,Se.useState)(null),ai=(0,Se.useCallback)(Fi=>{for(const{target:Mr}of Fi)if((0,We.Re)(Mr)){jn(Ei=>{const Oi=Dt(Mr);return Ei?tl(ha({},Ei),{width:Oi.width,height:Oi.height}):Oi});break}},[Dt]),Vt=wt({callback:ai}),Cn=(0,Se.useCallback)(Fi=>{const Mr=Kn(Fi);Vt==null||Vt.disconnect(),Mr&&(Vt==null||Vt.observe(Mr)),jn(Mr?Dt(Mr):null)},[Dt,Vt]),[ii,Qn]=(0,We.wm)(Cn);return(0,Se.useMemo)(()=>({nodeRef:ii,rect:un,setRef:Qn}),[un,ii,Qn])}const nn=[{sensor:Dn,options:{}},{sensor:In,options:{}}],hn={current:{}},ri={draggable:{measure:Sn},droppable:{measure:Sn,strategy:fi.WhileDragging,frequency:ln.Optimized},dragOverlay:{measure:At}};class gi extends Map{get(Dt){var un;return Dt!=null&&(un=super.get(Dt))!=null?un:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Dt=>{let{disabled:un}=Dt;return!un})}getNodeFor(Dt){var un,jn;return(un=(jn=this.get(Dt))==null?void 0:jn.node.current)!=null?un:void 0}}const yi={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new gi,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:te},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:ri,measureDroppableContainers:te,windowRect:null,measuringScheduled:!1},oi={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:te,draggableNodes:new Map,over:null,measureDroppableContainers:te},Ci=(0,Se.createContext)(oi),Li=(0,Se.createContext)(yi);function qi(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new gi}}}function lr(xt,Dt){switch(Dt.type){case Me.DragStart:return tl(ha({},xt),{draggable:tl(ha({},xt.draggable),{initialCoordinates:Dt.initialCoordinates,active:Dt.active})});case Me.DragMove:return xt.draggable.active==null?xt:tl(ha({},xt),{draggable:tl(ha({},xt.draggable),{translate:{x:Dt.coordinates.x-xt.draggable.initialCoordinates.x,y:Dt.coordinates.y-xt.draggable.initialCoordinates.y}})});case Me.DragEnd:case Me.DragCancel:return tl(ha({},xt),{draggable:tl(ha({},xt.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case Me.RegisterDroppable:{const{element:un}=Dt,{id:jn}=un,ai=new gi(xt.droppable.containers);return ai.set(jn,un),tl(ha({},xt),{droppable:tl(ha({},xt.droppable),{containers:ai})})}case Me.SetDroppableDisabled:{const{id:un,key:jn,disabled:ai}=Dt,Vt=xt.droppable.containers.get(un);if(!Vt||jn!==Vt.key)return xt;const Cn=new gi(xt.droppable.containers);return Cn.set(un,tl(ha({},Vt),{disabled:ai})),tl(ha({},xt),{droppable:tl(ha({},xt.droppable),{containers:Cn})})}case Me.UnregisterDroppable:{const{id:un,key:jn}=Dt,ai=xt.droppable.containers.get(un);if(!ai||jn!==ai.key)return xt;const Vt=new gi(xt.droppable.containers);return Vt.delete(un),tl(ha({},xt),{droppable:tl(ha({},xt.droppable),{containers:Vt})})}default:return xt}}function er(xt){let{disabled:Dt}=xt;const{active:un,activatorEvent:jn,draggableNodes:ai}=(0,Se.useContext)(Ci),Vt=(0,We.D9)(jn),Cn=(0,We.D9)(un==null?void 0:un.id);return(0,Se.useEffect)(()=>{if(!Dt&&!jn&&Vt&&Cn!=null){if(!(0,We.vd)(Vt)||document.activeElement===Vt.target)return;const ii=ai.get(Cn);if(!ii)return;const{activatorNode:Qn,node:Fi}=ii;if(!Qn.current&&!Fi.current)return;requestAnimationFrame(()=>{for(const Mr of[Qn.current,Fi.current]){if(!Mr)continue;const Ei=(0,We.so)(Mr);if(Ei){Ei.focus();break}}})}},[jn,Dt,ai,Cn,Vt]),null}function Ln(xt,Dt){let ai=Dt,{transform:un}=ai,jn=ov(ai,["transform"]);return xt!=null&&xt.length?xt.reduce((Vt,Cn)=>Cn(ha({transform:Vt},jn)),un):un}function Nr(xt){return(0,Se.useMemo)(()=>({draggable:ha(ha({},ri.draggable),xt==null?void 0:xt.draggable),droppable:ha(ha({},ri.droppable),xt==null?void 0:xt.droppable),dragOverlay:ha(ha({},ri.dragOverlay),xt==null?void 0:xt.dragOverlay)}),[xt==null?void 0:xt.draggable,xt==null?void 0:xt.droppable,xt==null?void 0:xt.dragOverlay])}function Ar(xt){let{activeNode:Dt,measure:un,initialRect:jn,config:ai=!0}=xt;const Vt=(0,Se.useRef)(!1),{x:Cn,y:ii}=typeof ai=="boolean"?{x:ai,y:ai}:ai;(0,We.LI)(()=>{if(!Cn&&!ii||!Dt){Vt.current=!1;return}if(Vt.current||!jn)return;const Fi=Dt==null?void 0:Dt.node.current;if(!Fi||Fi.isConnected===!1)return;const Mr=un(Fi),Ei=Rt(Mr,jn);if(Cn||(Ei.x=0),ii||(Ei.y=0),Vt.current=!0,Math.abs(Ei.x)>0||Math.abs(Ei.y)>0){const Oi=On(Fi);Oi&&Oi.scrollBy({top:Ei.y,left:Ei.x})}},[Dt,Cn,ii,jn,un])}const $r=(0,Se.createContext)(tl(ha({},se),{scaleX:1,scaleY:1}));var En;(function(xt){xt[xt.Uninitialized=0]="Uninitialized",xt[xt.Initializing=1]="Initializing",xt[xt.Initialized=2]="Initialized"})(En||(En={}));const ci=(0,Se.memo)(function(Dt){var un,jn,ai,Vt;let xs=Dt,{id:Cn,accessibility:ii,autoScroll:Qn=!0,children:Fi,sensors:Mr=nn,collisionDetection:Ei=Ue,measuring:Oi,modifiers:Hn}=xs,pr=ov(xs,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const kr=(0,Se.useReducer)(lr,void 0,qi),[wo,to]=kr,[Xr,eo]=tt(),[Zo,$o]=(0,Se.useState)(En.Uninitialized),ia=Zo===En.Initialized,{draggable:{active:qo,nodes:xn,translate:oa},droppable:{containers:vs}}=wo,Ga=qo!=null?xn.get(qo):null,Zs=(0,Se.useRef)({initial:null,translated:null}),xa=(0,Se.useMemo)(()=>{var Ks;return qo!=null?{id:qo,data:(Ks=Ga==null?void 0:Ga.data)!=null?Ks:hn,rect:Zs}:null},[qo,Ga]),pl=(0,Se.useRef)(null),[wa,Lo]=(0,Se.useState)(null),[Ko,Ka]=(0,Se.useState)(null),Kr=(0,We.Ey)(pr,Object.values(pr)),ko=(0,We.Ld)("DndDescribedBy",Cn),ro=(0,Se.useMemo)(()=>vs.getEnabled(),[vs]),Hi=Nr(Oi),{droppableRects:fa,measureDroppableContainers:ka,measuringScheduled:Ds}=Yn(ro,{dragging:ia,dependencies:[oa.x,oa.y],config:Hi.droppable}),ys=Ee(xn,qo),nl=(0,Se.useMemo)(()=>Ko?(0,We.DC)(Ko):null,[Ko]),Vi=Ls(),Da=tn(ys,Hi.draggable.measure);Ar({activeNode:qo!=null?xn.get(qo):null,config:Vi.layoutShiftCompensation,initialRect:Da,measure:Hi.draggable.measure});const pa=ze(ys,Hi.draggable.measure,Da),Os=ze(ys?ys.parentElement:null),ml=(0,Se.useRef)({activatorEvent:null,active:null,activeNode:ys,collisionRect:null,collisions:null,droppableRects:fa,draggableNodes:xn,draggingNode:null,draggingNodeRect:null,droppableContainers:vs,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Gl=vs.getNodeFor((un=ml.current.over)==null?void 0:un.id),So=_n({measure:Hi.dragOverlay.measure}),Au=(jn=So.nodeRef.current)!=null?jn:ys,il=ia?(ai=So.rect)!=null?ai:pa:null,Nl=!!(So.nodeRef.current&&So.rect),vl=Gt(Nl?null:pa),fu=Wn(Au?(0,We.Jj)(Au):null),yl=ct(ia?Gl!=null?Gl:ys:null),rl=fn(yl),Sl=Ln(Hn,{transform:{x:oa.x-vl.x,y:oa.y-vl.y,scaleX:1,scaleY:1},activatorEvent:Ko,active:xa,activeNodeRect:pa,containerNodeRect:Os,draggingNodeRect:il,over:ml.current.over,overlayNodeRect:So.rect,scrollableAncestors:yl,scrollableAncestorRects:rl,windowRect:fu}),oc=nl?(0,We.IH)(nl,oa):null,Sc=$e(yl),xc=$t(Sc),Qc=$t(Sc,[pa]),gu=(0,We.IH)(Sl,xc),zl=il?Lt(il,Sl):null,xl=xa&&zl?Ei({active:xa,collisionRect:zl,droppableRects:fa,droppableContainers:ro,pointerCoordinates:oc}):null,Tl=Ie(xl,"id"),[pu,wc]=(0,Se.useState)(null),mu=Nl?Sl:(0,We.IH)(Sl,Qc),Jo=Ht(mu,(Vt=pu==null?void 0:pu.rect)!=null?Vt:null,pa),ma=(0,Se.useRef)(null),dl=(0,Se.useCallback)((Ks,Bs)=>{let{sensor:Fa,options:Hu}=Bs;if(pl.current==null)return;const Ol=xn.get(pl.current);if(!Ol)return;const El=Ks.nativeEvent,Hr=new Fa({active:pl.current,activeNode:Ol,event:El,options:Hu,context:ml,onAbort(Wt){if(!xn.get(Wt))return;const{onDragAbort:Mu}=Kr.current,Fu={id:Wt};Mu==null||Mu(Fu),Xr({type:"onDragAbort",event:Fu})},onPending(Wt,mi,Mu,Fu){if(!xn.get(Wt))return;const{onDragPending:$l}=Kr.current,jl={id:Wt,constraint:mi,initialCoordinates:Mu,offset:Fu};$l==null||$l(jl),Xr({type:"onDragPending",event:jl})},onStart(Wt){const mi=pl.current;if(mi==null)return;const Mu=xn.get(mi);if(!Mu)return;const{onDragStart:Fu}=Kr.current,_l={activatorEvent:El,active:{id:mi,data:Mu.data,rect:Zs}};(0,Oe.unstable_batchedUpdates)(()=>{Fu==null||Fu(_l),$o(En.Initializing),to({type:Me.DragStart,initialCoordinates:Wt,active:mi}),Xr({type:"onDragStart",event:_l}),Lo(ma.current),Ka(El)})},onMove(Wt){to({type:Me.DragMove,coordinates:Wt})},onEnd:Lu(Me.DragEnd),onCancel:Lu(Me.DragCancel)});ma.current=Hr;function Lu(Wt){return function(){return Cx(this,null,function*(){const{active:Mu,collisions:Fu,over:_l,scrollAdjustedTranslate:$l}=ml.current;let jl=null;if(Mu&&$l){const{cancelDrop:Pc}=Kr.current;jl={activatorEvent:El,active:Mu,collisions:Fu,delta:$l,over:_l},Wt===Me.DragEnd&&typeof Pc=="function"&&(yield Promise.resolve(Pc(jl)))&&(Wt=Me.DragCancel)}pl.current=null,(0,Oe.unstable_batchedUpdates)(()=>{to({type:Wt}),$o(En.Uninitialized),wc(null),Lo(null),Ka(null),ma.current=null;const Pc=Wt===Me.DragEnd?"onDragEnd":"onDragCancel";if(jl){const Ic=Kr.current[Pc];Ic==null||Ic(jl),Xr({type:Pc,event:jl})}})})}}},[xn]),Cs=(0,Se.useCallback)((Ks,Bs)=>(Fa,Hu)=>{const Ol=Fa.nativeEvent,El=xn.get(Hu);if(pl.current!==null||!El||Ol.dndKit||Ol.defaultPrevented)return;const Hr={active:El};Ks(Fa,Bs.options,Hr)===!0&&(Ol.dndKit={capturedBy:Bs.sensor},pl.current=Hu,dl(Fa,Bs))},[xn,dl]),Ss=$n(Mr,Cs);Tt(Mr),(0,We.LI)(()=>{pa&&Zo===En.Initializing&&$o(En.Initialized)},[pa,Zo]),(0,Se.useEffect)(()=>{const{onDragMove:Ks}=Kr.current,{active:Bs,activatorEvent:Fa,collisions:Hu,over:Ol}=ml.current;if(!Bs||!Fa)return;const El={active:Bs,activatorEvent:Fa,collisions:Hu,delta:{x:gu.x,y:gu.y},over:Ol};(0,Oe.unstable_batchedUpdates)(()=>{Ks==null||Ks(El),Xr({type:"onDragMove",event:El})})},[gu.x,gu.y]),(0,Se.useEffect)(()=>{const{active:Ks,activatorEvent:Bs,collisions:Fa,droppableContainers:Hu,scrollAdjustedTranslate:Ol}=ml.current;if(!Ks||pl.current==null||!Bs||!Ol)return;const{onDragOver:El}=Kr.current,Hr=Hu.get(Tl),Lu=Hr&&Hr.rect.current?{id:Hr.id,rect:Hr.rect.current,data:Hr.data,disabled:Hr.disabled}:null,Wt={active:Ks,activatorEvent:Bs,collisions:Fa,delta:{x:Ol.x,y:Ol.y},over:Lu};(0,Oe.unstable_batchedUpdates)(()=>{wc(Lu),El==null||El(Wt),Xr({type:"onDragOver",event:Wt})})},[Tl]),(0,We.LI)(()=>{ml.current={activatorEvent:Ko,active:xa,activeNode:ys,collisionRect:zl,collisions:xl,droppableRects:fa,draggableNodes:xn,draggingNode:Au,draggingNodeRect:il,droppableContainers:vs,over:pu,scrollableAncestors:yl,scrollAdjustedTranslate:gu},Zs.current={initial:il,translated:zl}},[xa,ys,xl,zl,xn,Au,il,fa,vs,pu,yl,gu]),hr(tl(ha({},Vi),{delta:oa,draggingRect:zl,pointerCoordinates:oc,scrollableAncestors:yl,scrollableAncestorRects:rl}));const rs=(0,Se.useMemo)(()=>({active:xa,activeNode:ys,activeNodeRect:pa,activatorEvent:Ko,collisions:xl,containerNodeRect:Os,dragOverlay:So,draggableNodes:xn,droppableContainers:vs,droppableRects:fa,over:pu,measureDroppableContainers:ka,scrollableAncestors:yl,scrollableAncestorRects:rl,measuringConfiguration:Hi,measuringScheduled:Ds,windowRect:fu}),[xa,ys,pa,Ko,xl,Os,So,xn,vs,fa,pu,ka,yl,rl,Hi,Ds,fu]),ds=(0,Se.useMemo)(()=>({activatorEvent:Ko,activators:Ss,active:xa,activeNodeRect:pa,ariaDescribedById:{draggable:ko},dispatch:to,draggableNodes:xn,over:pu,measureDroppableContainers:ka}),[Ko,Ss,xa,pa,to,ko,xn,pu,ka]);return Se.createElement(Bt.Provider,{value:eo},Se.createElement(Ci.Provider,{value:ds},Se.createElement(Li.Provider,{value:rs},Se.createElement($r.Provider,{value:Jo},Fi)),Se.createElement(er,{disabled:(ii==null?void 0:ii.restoreFocus)===!1})),Se.createElement(Ct,tl(ha({},ii),{hiddenTextDescribedById:ko})));function Ls(){const Ks=(wa==null?void 0:wa.autoScrollEnabled)===!1,Bs=typeof Qn=="object"?Qn.enabled===!1:Qn===!1,Fa=ia&&!Ks&&!Bs;return typeof Qn=="object"?tl(ha({},Qn),{enabled:Fa}):{enabled:Fa}}}),Ii=(0,Se.createContext)(null),ir="button",Ki="Draggable";function rr(xt){let{id:Dt,data:un,disabled:jn=!1,attributes:ai}=xt;const Vt=(0,We.Ld)(Ki),{activators:Cn,activatorEvent:ii,active:Qn,activeNodeRect:Fi,ariaDescribedById:Mr,draggableNodes:Ei,over:Oi}=(0,Se.useContext)(Ci),{role:Hn=ir,roleDescription:pr="draggable",tabIndex:kr=0}=ai!=null?ai:{},wo=(Qn==null?void 0:Qn.id)===Dt,to=(0,Se.useContext)(wo?$r:Ii),[Xr,eo]=(0,We.wm)(),[Zo,$o]=(0,We.wm)(),ia=Mn(Cn,Dt),qo=(0,We.Ey)(un);(0,We.LI)(()=>(Ei.set(Dt,{id:Dt,key:Vt,node:Xr,activatorNode:Zo,data:qo}),()=>{const oa=Ei.get(Dt);oa&&oa.key===Vt&&Ei.delete(Dt)}),[Ei,Dt]);const xn=(0,Se.useMemo)(()=>({role:Hn,tabIndex:kr,"aria-disabled":jn,"aria-pressed":wo&&Hn===ir?!0:void 0,"aria-roledescription":pr,"aria-describedby":Mr.draggable}),[jn,Hn,kr,wo,pr,Mr.draggable]);return{active:Qn,activatorEvent:ii,activeNodeRect:Fi,attributes:xn,isDragging:wo,listeners:jn?void 0:ia,node:Xr,over:Oi,setNodeRef:eo,setActivatorNodeRef:$o,transform:to}}function Er(){return(0,Se.useContext)(Li)}const Bi="Droppable",Yi={timeout:25};function Wi(xt){let{data:Dt,disabled:un=!1,id:jn,resizeObserverConfig:ai}=xt;const Vt=(0,We.Ld)(Bi),{active:Cn,dispatch:ii,over:Qn,measureDroppableContainers:Fi}=(0,Se.useContext)(Ci),Mr=(0,Se.useRef)({disabled:un}),Ei=(0,Se.useRef)(!1),Oi=(0,Se.useRef)(null),Hn=(0,Se.useRef)(null),{disabled:pr,updateMeasurementsFor:kr,timeout:wo}=ha(ha({},Yi),ai),to=(0,We.Ey)(kr!=null?kr:jn),Xr=(0,Se.useCallback)(()=>{if(!Ei.current){Ei.current=!0;return}Hn.current!=null&&clearTimeout(Hn.current),Hn.current=setTimeout(()=>{Fi(Array.isArray(to.current)?to.current:[to.current]),Hn.current=null},wo)},[wo]),eo=wt({callback:Xr,disabled:pr||!Cn}),Zo=(0,Se.useCallback)((xn,oa)=>{eo&&(oa&&(eo.unobserve(oa),Ei.current=!1),xn&&eo.observe(xn))},[eo]),[$o,ia]=(0,We.wm)(Zo),qo=(0,We.Ey)(Dt);return(0,Se.useEffect)(()=>{!eo||!$o.current||(eo.disconnect(),Ei.current=!1,eo.observe($o.current))},[$o,eo]),(0,Se.useEffect)(()=>(ii({type:Me.RegisterDroppable,element:{id:jn,key:Vt,disabled:un,node:$o,rect:Oi,data:qo}}),()=>ii({type:Me.UnregisterDroppable,key:Vt,id:jn})),[jn]),(0,Se.useEffect)(()=>{un!==Mr.current.disabled&&(ii({type:Me.SetDroppableDisabled,id:jn,key:Vt,disabled:un}),Mr.current.disabled=un)},[jn,Vt,un,ii]),{active:Cn,rect:Oi,isOver:(Qn==null?void 0:Qn.id)===jn,node:$o,over:Qn,setNodeRef:ia}}function Bn(xt){let{animation:Dt,children:un}=xt;const[jn,ai]=useState(null),[Vt,Cn]=useState(null),ii=usePrevious(un);return!un&&!jn&&ii&&ai(ii),useIsomorphicLayoutEffect(()=>{if(!Vt)return;const Qn=jn==null?void 0:jn.key,Fi=jn==null?void 0:jn.props.id;if(Qn==null||Fi==null){ai(null);return}Promise.resolve(Dt(Fi,Vt)).then(()=>{ai(null)})},[Dt,jn,Vt]),React.createElement(React.Fragment,null,un,jn?cloneElement(jn,{ref:Cn}):null)}const Lr={x:0,y:0,scaleX:1,scaleY:1};function Fn(xt){let{children:Dt}=xt;return React.createElement(Ci.Provider,{value:oi},React.createElement($r.Provider,{value:Lr},Dt))}const fr={position:"fixed",touchAction:"none"},Qr=xt=>isKeyboardEvent(xt)?"transform 250ms ease":void 0,Pr=null,vr={duration:250,easing:"ease",keyframes:xt=>{let{transform:{initial:Dt,final:un}}=xt;return[{transform:We.ux.Transform.toString(Dt)},{transform:We.ux.Transform.toString(un)}]},sideEffects:(xt=>Dt=>{let{active:un,dragOverlay:jn}=Dt;const ai={},{styles:Vt,className:Cn}=xt;if(Vt!=null&&Vt.active)for(const[ii,Qn]of Object.entries(Vt.active))Qn!==void 0&&(ai[ii]=un.node.style.getPropertyValue(ii),un.node.style.setProperty(ii,Qn));if(Vt!=null&&Vt.dragOverlay)for(const[ii,Qn]of Object.entries(Vt.dragOverlay))Qn!==void 0&&jn.node.style.setProperty(ii,Qn);return Cn!=null&&Cn.active&&un.node.classList.add(Cn.active),Cn!=null&&Cn.dragOverlay&&jn.node.classList.add(Cn.dragOverlay),function(){for(const[Qn,Fi]of Object.entries(ai))un.node.style.setProperty(Qn,Fi);Cn!=null&&Cn.active&&un.node.classList.remove(Cn.active)}})({styles:{active:{opacity:"0"}}})};function gr(xt){let{config:Dt,draggableNodes:un,droppableContainers:jn,measuringConfiguration:ai}=xt;return useEvent((Vt,Cn)=>{if(Dt===null)return;const ii=un.get(Vt);if(!ii)return;const Qn=ii.node.current;if(!Qn)return;const Fi=Kn(Cn);if(!Fi)return;const{transform:Mr}=getWindow(Cn).getComputedStyle(Cn),Ei=Ut(Mr);if(!Ei)return;const Oi=typeof Dt=="function"?Dt:cr(Dt);return qe(Qn,ai.draggable.measure),Oi({active:{id:Vt,data:ii.data,node:Qn,rect:ai.draggable.measure(Qn)},draggableNodes:un,dragOverlay:{node:Cn,rect:ai.dragOverlay.measure(Fi)},droppableContainers:jn,measuringConfiguration:ai,transform:Ei})})}function cr(xt){const{duration:Dt,easing:un,sideEffects:jn,keyframes:ai}=ha(ha({},vr),xt);return Vt=>{let Xr=Vt,{active:Cn,dragOverlay:ii,transform:Qn}=Xr,Fi=ov(Xr,["active","dragOverlay","transform"]);if(!Dt)return;const Mr={x:ii.rect.left-Cn.rect.left,y:ii.rect.top-Cn.rect.top},Ei={scaleX:Qn.scaleX!==1?Cn.rect.width*Qn.scaleX/ii.rect.width:1,scaleY:Qn.scaleY!==1?Cn.rect.height*Qn.scaleY/ii.rect.height:1},Oi=ha({x:Qn.x-Mr.x,y:Qn.y-Mr.y},Ei),Hn=ai(tl(ha({},Fi),{active:Cn,dragOverlay:ii,transform:{initial:Qn,final:Oi}})),[pr]=Hn,kr=Hn[Hn.length-1];if(JSON.stringify(pr)===JSON.stringify(kr))return;const wo=jn==null?void 0:jn(ha({active:Cn,dragOverlay:ii},Fi)),to=ii.node.animate(Hn,{duration:Dt,easing:un,fill:"forwards"});return new Promise(eo=>{to.onfinish=()=>{wo==null||wo(),eo()}})}}let Yr=0;function Ri(xt){return useMemo(()=>{if(xt!=null)return Yr++,Yr},[xt])}const _e=null},18257:function(zn,Nn,ve){"use strict";ve.d(Nn,{DL:function(){return ke}});var Se=ve(35241);function Oe(tt){return gt=>{let{transform:dt}=gt;return tl(ha({},dt),{x:Math.ceil(dt.x/tt)*tt,y:Math.ceil(dt.y/tt)*tt})}}const We=tt=>{let{transform:gt}=tt;return tl(ha({},gt),{y:0})};function Ot(tt,gt,dt){const Ct=ha({},tt);return gt.top+tt.y<=dt.top?Ct.y=dt.top-gt.top:gt.bottom+tt.y>=dt.top+dt.height&&(Ct.y=dt.top+dt.height-gt.bottom),gt.left+tt.x<=dt.left?Ct.x=dt.left-gt.left:gt.right+tt.x>=dt.left+dt.width&&(Ct.x=dt.left+dt.width-gt.right),Ct}const et=tt=>{let{containerNodeRect:gt,draggingNodeRect:dt,transform:Ct}=tt;return!dt||!gt?Ct:Ot(Ct,dt,gt)},yt=tt=>{let{draggingNodeRect:gt,transform:dt,scrollableAncestorRects:Ct}=tt;const Me=Ct[0];return!gt||!Me?dt:Ot(dt,gt,Me)},ke=tt=>{let{transform:gt}=tt;return tl(ha({},gt),{x:0})},Bt=tt=>{let{transform:gt,draggingNodeRect:dt,windowRect:Ct}=tt;return!dt||!Ct?gt:Ot(gt,dt,Ct)},Et=tt=>{let{activatorEvent:gt,draggingNodeRect:dt,transform:Ct}=tt;if(dt&>){const Me=getEventCoordinates(gt);if(!Me)return Ct;const te=Me.x-dt.left,ne=Me.y-dt.top;return tl(ha({},Ct),{x:Ct.x+te-dt.width/2,y:Ct.y+ne-dt.height/2})}return Ct}},19719:function(zn,Nn,ve){"use strict";ve.d(Nn,{Fo:function(){return ye},Rp:function(){return Ot},nB:function(){return ut},qw:function(){return ne}});var Se=ve(59301),Oe=ve(87954),We=ve(35241);function Ot(Lt,Ut,ht){const Re=Lt.slice();return Re.splice(ht<0?Re.length+ht:ht,0,Re.splice(Ut,1)[0]),Re}function et(Lt,Ut,ht){const Re=Lt.slice();return Re[Ut]=Lt[ht],Re[ht]=Lt[Ut],Re}function yt(Lt,Ut){return Lt.reduce((ht,Re,At)=>{const Sn=Ut.get(Re);return Sn&&(ht[At]=Sn),ht},Array(Lt.length))}function ke(Lt){return Lt!==null&&Lt>=0}function Bt(Lt,Ut){if(Lt===Ut)return!0;if(Lt.length!==Ut.length)return!1;for(let ht=0;ht{var Ut;let{rects:ht,activeNodeRect:Re,activeIndex:At,overIndex:Sn,index:mn}=Lt;const Ft=(Ut=ht[At])!=null?Ut:Re;if(!Ft)return null;const en=dt(ht,mn,At);if(mn===At){const sn=ht[Sn];return sn?ha({x:AtAt&&mn<=Sn?ha({x:-Ft.width-en,y:0},tt):mn=Sn?ha({x:Ft.width+en,y:0},tt):ha({x:0,y:0},tt)};function dt(Lt,Ut,ht){const Re=Lt[Ut],At=Lt[Ut-1],Sn=Lt[Ut+1];return!Re||!At&&!Sn?0:ht{let{rects:Ut,activeIndex:ht,overIndex:Re,index:At}=Lt;const Sn=Ot(Ut,Re,ht),mn=Ut[At],Ft=Sn[At];return!Ft||!mn?null:{x:Ft.left-mn.left,y:Ft.top-mn.top,scaleX:Ft.width/mn.width,scaleY:Ft.height/mn.height}},Me=Lt=>{let{activeIndex:Ut,index:ht,rects:Re,overIndex:At}=Lt,Sn,mn;return ht===Ut&&(Sn=Re[ht],mn=Re[At]),ht===At&&(Sn=Re[ht],mn=Re[Ut]),!mn||!Sn?null:{x:mn.left-Sn.left,y:mn.top-Sn.top,scaleX:mn.width/Sn.width,scaleY:mn.height/Sn.height}},te={scaleX:1,scaleY:1},ne=Lt=>{var Ut;let{activeIndex:ht,activeNodeRect:Re,index:At,rects:Sn,overIndex:mn}=Lt;const Ft=(Ut=Sn[ht])!=null?Ut:Re;if(!Ft)return null;if(At===ht){const sn=Sn[mn];return sn?ha({x:0,y:htht&&At<=mn?ha({x:0,y:-Ft.height-en},te):At=mn?ha({x:0,y:Ft.height+en},te):ha({x:0,y:0},te)};function ce(Lt,Ut,ht){const Re=Lt[Ut],At=Lt[Ut-1],Sn=Lt[Ut+1];return Re?htRe.map(Yt=>typeof Yt=="object"&&"id"in Yt?Yt.id:Yt),[Re]),Un=mn!=null,wn=mn?pt.indexOf(mn.id):-1,An=sn?pt.indexOf(sn.id):-1,ni=(0,Se.useRef)(pt),Qt=!Bt(pt,ni.current),Jt=An!==-1&&wn===-1||Qt,St=Et(Sn);(0,We.LI)(()=>{Qt&&Un&&On(pt)},[Qt,pt,Un,On]),(0,Se.useEffect)(()=>{ni.current=pt},[pt]);const Xe=(0,Se.useMemo)(()=>({activeIndex:wn,containerId:yn,disabled:St,disableTransforms:Jt,items:pt,overIndex:An,useDragOverlay:Tn,sortedRects:yt(pt,en),strategy:At}),[wn,yn,St.draggable,St.droppable,Jt,pt,An,en,Tn,At]);return Se.createElement(ge.Provider,{value:Xe},Ut)}const Ce=Lt=>{let{id:Ut,items:ht,activeIndex:Re,overIndex:At}=Lt;return Ot(ht,Re,At).indexOf(Ut)},Ne=Lt=>{let{containerId:Ut,isSorting:ht,wasDragging:Re,index:At,items:Sn,newIndex:mn,previousItems:Ft,previousContainerId:en,transition:sn}=Lt;return!sn||!Re||Ft!==Sn&&At===mn?!1:ht?!0:mn!==At&&Ut===en},Pe={duration:200,easing:"ease"},Ie="transform",Ke=We.ux.Transition.toString({property:Ie,duration:0,easing:"linear"}),Ve={roleDescription:"sortable"};function Ye(Lt){let{disabled:Ut,index:ht,node:Re,rect:At}=Lt;const[Sn,mn]=(0,Se.useState)(null),Ft=(0,Se.useRef)(ht);return(0,We.LI)(()=>{if(!Ut&&ht!==Ft.current&&Re.current){const en=At.current;if(en){const sn=(0,Oe.VK)(Re.current,{ignoreTransform:!0}),On={x:en.left-sn.left,y:en.top-sn.top,scaleX:en.width/sn.width,scaleY:en.height/sn.height};(On.x||On.y)&&mn(On)}}ht!==Ft.current&&(Ft.current=ht)},[Ut,ht,Re,At]),(0,Se.useEffect)(()=>{Sn&&mn(null)},[Sn]),Sn}function ut(Lt){let{animateLayoutChanges:Ut=Ne,attributes:ht,disabled:Re,data:At,getNewIndex:Sn=Ce,id:mn,strategy:Ft,resizeObserverConfig:en,transition:sn=Pe}=Lt;const{items:On,containerId:yn,activeIndex:Tn,disabled:pt,disableTransforms:Un,sortedRects:wn,overIndex:An,useDragOverlay:ni,strategy:Qt}=(0,Se.useContext)(ge),Jt=Ue(Re,pt),St=On.indexOf(mn),Xe=(0,Se.useMemo)(()=>ha({sortable:{containerId:yn,index:St,items:On}},At),[yn,At,St,On]),Yt=(0,Se.useMemo)(()=>On.slice(On.indexOf(mn)),[On,mn]),{rect:Kt,node:qe,isOver:Ge,setNodeRef:Be}=(0,Oe.Zj)({id:mn,data:Xe,disabled:Jt.droppable,resizeObserverConfig:ha({updateMeasurementsFor:Yt},en)}),{active:xe,activatorEvent:me,activeNodeRect:Fe,attributes:He,setNodeRef:Le,listeners:mt,isDragging:zt,over:Pn,setActivatorNodeRef:rn,transform:In}=(0,Oe.O1)({id:mn,data:Xe,attributes:ha(ha({},Ve),ht),disabled:Jt.draggable}),Gn=(0,We.HB)(Be,Le),Pi=!!xe,Di=Pi&&!Un&&ke(Tn)&&ke(An),Gi=!ni&&zt,Dn=Gi&&Di?In:null,or=Ft!=null?Ft:Qt,jr=Di?Dn!=null?Dn:or({rects:wn,activeNodeRect:Fe,activeIndex:Tn,overIndex:An,index:St}):null,Gr=ke(Tn)&&ke(An)?Sn({id:mn,items:On,activeIndex:Tn,overIndex:An}):St,Ir=xe==null?void 0:xe.id,wr=(0,Se.useRef)({activeId:Ir,items:On,newIndex:Gr,containerId:yn}),so=On!==wr.current.items,Rr=Ut({active:xe,containerId:yn,isDragging:zt,isSorting:Pi,id:mn,index:St,items:On,newIndex:wr.current.newIndex,previousItems:wr.current.items,previousContainerId:wr.current.containerId,transition:sn,wasDragging:wr.current.activeId!=null}),hr=Ye({disabled:!Rr,index:St,node:qe,rect:Kt});return(0,Se.useEffect)(()=>{Pi&&wr.current.newIndex!==Gr&&(wr.current.newIndex=Gr),yn!==wr.current.containerId&&(wr.current.containerId=yn),On!==wr.current.items&&(wr.current.items=On)},[Pi,Gr,yn,On]),(0,Se.useEffect)(()=>{if(Ir===wr.current.activeId)return;if(Ir&&!wr.current.activeId){wr.current.activeId=Ir;return}const vi=setTimeout(()=>{wr.current.activeId=Ir},50);return()=>clearTimeout(vi)},[Ir]),{active:xe,activeIndex:Tn,attributes:He,data:Xe,rect:Kt,index:St,newIndex:Gr,items:On,isOver:Ge,isSorting:Pi,isDragging:zt,listeners:mt,node:qe,overIndex:An,over:Pn,setNodeRef:Gn,setActivatorNodeRef:rn,setDroppableNodeRef:Be,setDraggableNodeRef:Le,transform:hr!=null?hr:jr,transition:No()};function No(){if(hr||so&&wr.current.newIndex===St)return Ke;if(!(Gi&&!(0,We.vd)(me)||!sn)&&(Pi||Rr))return We.ux.Transition.toString(tl(ha({},sn),{property:Ie}))}}function Ue(Lt,Ut){var ht,Re;return typeof Lt=="boolean"?{draggable:Lt,droppable:!1}:{draggable:(ht=Lt==null?void 0:Lt.draggable)!=null?ht:Ut.draggable,droppable:(Re=Lt==null?void 0:Lt.droppable)!=null?Re:Ut.droppable}}function Nt(Lt){if(!Lt)return!1;const Ut=Lt.data.current;return!!(Ut&&"sortable"in Ut&&typeof Ut.sortable=="object"&&"containerId"in Ut.sortable&&"items"in Ut.sortable&&"index"in Ut.sortable)}const Qe=[Oe.g4.Down,Oe.g4.Right,Oe.g4.Up,Oe.g4.Left],Ht=(Lt,Ut)=>{let{context:{active:ht,collisionRect:Re,droppableRects:At,droppableContainers:Sn,over:mn,scrollableAncestors:Ft}}=Ut;if(Qe.includes(Lt.code)){if(Lt.preventDefault(),!ht||!Re)return;const en=[];Sn.getEnabled().forEach(yn=>{if(!yn||yn!=null&&yn.disabled)return;const Tn=At.get(yn.id);if(Tn)switch(Lt.code){case KeyboardCode.Down:Re.topTn.top&&en.push(yn);break;case KeyboardCode.Left:Re.left>Tn.left&&en.push(yn);break;case KeyboardCode.Right:Re.left1&&(On=sn[1].id),On!=null){const yn=Sn.get(ht.id),Tn=Sn.get(On),pt=Tn?At.get(Tn.id):null,Un=Tn==null?void 0:Tn.node.current;if(Un&&pt&&yn&&Tn){const An=getScrollableAncestors(Un).some((Yt,Kt)=>Ft[Kt]!==Yt),ni=Rt(yn,Tn),Qt=It(yn,Tn),Jt=An||!ni?{x:0,y:0}:{x:Qt?Re.width-pt.width:0,y:Qt?Re.height-pt.height:0},St={x:pt.left,y:pt.top};return Jt.x&&Jt.y?St:subtract(St,Jt)}}}};function Rt(Lt,Ut){return!Nt(Lt)||!Nt(Ut)?!1:Lt.data.current.sortable.containerId===Ut.data.current.sortable.containerId}function It(Lt,Ut){return!Nt(Lt)||!Nt(Ut)||!Rt(Lt,Ut)?!1:Lt.data.current.sortable.indexRt=>{Qe.forEach(It=>It(Rt))},Qe)}const We=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Ot(Nt){const Qe=Object.prototype.toString.call(Nt);return Qe==="[object Window]"||Qe==="[object global]"}function et(Nt){return"nodeType"in Nt}function yt(Nt){var Qe,Ht;return Nt?Ot(Nt)?Nt:et(Nt)&&(Qe=(Ht=Nt.ownerDocument)==null?void 0:Ht.defaultView)!=null?Qe:window:window}function ke(Nt){const{Document:Qe}=yt(Nt);return Nt instanceof Qe}function Bt(Nt){return Ot(Nt)?!1:Nt instanceof yt(Nt).HTMLElement}function Et(Nt){return Nt instanceof yt(Nt).SVGElement}function tt(Nt){return Nt?Ot(Nt)?Nt.document:et(Nt)?ke(Nt)?Nt:Bt(Nt)||Et(Nt)?Nt.ownerDocument:document:document:document}const gt=We?Se.useLayoutEffect:Se.useEffect;function dt(Nt){const Qe=(0,Se.useRef)(Nt);return gt(()=>{Qe.current=Nt}),(0,Se.useCallback)(function(){for(var Ht=arguments.length,Rt=new Array(Ht),It=0;It{Nt.current=setInterval(Rt,It)},[]),Ht=(0,Se.useCallback)(()=>{Nt.current!==null&&(clearInterval(Nt.current),Nt.current=null)},[]);return[Qe,Ht]}function Me(Nt,Qe){Qe===void 0&&(Qe=[Nt]);const Ht=(0,Se.useRef)(Nt);return gt(()=>{Ht.current!==Nt&&(Ht.current=Nt)},Qe),Ht}function te(Nt,Qe){const Ht=(0,Se.useRef)();return(0,Se.useMemo)(()=>{const Rt=Nt(Ht.current);return Ht.current=Rt,Rt},[...Qe])}function ne(Nt){const Qe=dt(Nt),Ht=(0,Se.useRef)(null),Rt=(0,Se.useCallback)(It=>{It!==Ht.current&&(Qe==null||Qe(It,Ht.current)),Ht.current=It},[]);return[Ht,Rt]}function ce(Nt){const Qe=(0,Se.useRef)();return(0,Se.useEffect)(()=>{Qe.current=Nt},[Nt]),Qe.current}let se={};function ge(Nt,Qe){return(0,Se.useMemo)(()=>{if(Qe)return Qe;const Ht=se[Nt]==null?0:se[Nt]+1;return se[Nt]=Ht,Nt+"-"+Ht},[Nt,Qe])}function ye(Nt){return function(Qe){for(var Ht=arguments.length,Rt=new Array(Ht>1?Ht-1:0),It=1;It{const ht=Object.entries(Ut);for(const[Re,At]of ht){const Sn=Lt[Re];Sn!=null&&(Lt[Re]=Sn+Nt*At)}return Lt},ha({},Qe))}}const Ce=ye(1),Ne=ye(-1);function Pe(Nt){return"clientX"in Nt&&"clientY"in Nt}function Ie(Nt){if(!Nt)return!1;const{KeyboardEvent:Qe}=yt(Nt.target);return Qe&&Nt instanceof Qe}function Ke(Nt){if(!Nt)return!1;const{TouchEvent:Qe}=yt(Nt.target);return Qe&&Nt instanceof Qe}function Ve(Nt){if(Ke(Nt)){if(Nt.touches&&Nt.touches.length){const{clientX:Qe,clientY:Ht}=Nt.touches[0];return{x:Qe,y:Ht}}else if(Nt.changedTouches&&Nt.changedTouches.length){const{clientX:Qe,clientY:Ht}=Nt.changedTouches[0];return{x:Qe,y:Ht}}}return Pe(Nt)?{x:Nt.clientX,y:Nt.clientY}:null}const Ye=Object.freeze({Translate:{toString(Nt){if(!Nt)return;const{x:Qe,y:Ht}=Nt;return"translate3d("+(Qe?Math.round(Qe):0)+"px, "+(Ht?Math.round(Ht):0)+"px, 0)"}},Scale:{toString(Nt){if(!Nt)return;const{scaleX:Qe,scaleY:Ht}=Nt;return"scaleX("+Qe+") scaleY("+Ht+")"}},Transform:{toString(Nt){if(Nt)return[Ye.Translate.toString(Nt),Ye.Scale.toString(Nt)].join(" ")}},Transition:{toString(Nt){let{property:Qe,duration:Ht,easing:Rt}=Nt;return Qe+" "+Ht+"ms "+Rt}}}),ut="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Ue(Nt){return Nt.matches(ut)?Nt:Nt.querySelector(ut)}},37036:function(){"use strict"},88010:function(zn,Nn){"use strict";Nn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},24990:function(zn,Nn){"use strict";Nn.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_button:"work_button___TiK1a"}},84287:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=Object.defineProperty,We=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,yt=(Et,tt,gt)=>tt in Et?Oe(Et,tt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Et[tt]=gt,ke=(Et,tt)=>{for(var gt in tt||(tt={}))Ot.call(tt,gt)&&yt(Et,gt,tt[gt]);if(We)for(var gt of We(tt))et.call(tt,gt)&&yt(Et,gt,tt[gt]);return Et};const Bt=Et=>React.createElement("svg",ke({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Et),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"}));Nn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},86087:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=Object.defineProperty,We=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,yt=(Et,tt,gt)=>tt in Et?Oe(Et,tt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Et[tt]=gt,ke=(Et,tt)=>{for(var gt in tt||(tt={}))Ot.call(tt,gt)&&yt(Et,gt,tt[gt]);if(We)for(var gt of We(tt))et.call(tt,gt)&&yt(Et,gt,tt[gt]);return Et};const Bt=Et=>React.createElement("svg",ke({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Et),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"}));Nn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74413:function(){"use strict";function zn(Me,te,ne,ce){ne===void 0&&(ne=0),ce===void 0&&(ce=1/0),this._name=Me,this._defaultValue=te,this._minimum=ne,this._maximum=ce}Object.defineProperty(zn.prototype,"name",{get:function(){return this._name},set:function(Me){if(typeof Me!="string"||Me==="")throw new Error("Shape name must be a valid string.");this._name=Me}}),Object.defineProperty(zn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(Me){if(typeof Me!="number"||isNaN(Me))throw new Error("The default value must be a real number, not: "+Me);this._defaultValue=Me}}),Object.defineProperty(zn.prototype,"minimum",{get:function(){return this._minimum},set:function(Me){if(typeof Me!="number"||isNaN(Me))throw new Error("Minimum must be a real number, not: "+Me);this._minimum=Me}}),Object.defineProperty(zn.prototype,"maximum",{get:function(){return this._maximum},set:function(Me){if(typeof Me!="number"||isNaN(Me))throw new Error("Maximum must be a real number, not: "+Me);this._maximum=Me}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(Me,te){var ne=go.Shape._FigureParameters[Me];return ne?ne[te]:null},go.Shape.setFigureParameter=function(Me,te,ne){if(!(ne instanceof zn))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ne);if(ne.defaultValuene.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ne.defaultValue);var ce=go.Shape._FigureParameters[Me];ce||(ce=[],go.Shape._FigureParameters[Me]=ce),ce[te]=ne};var Nn=[];function ve(Me,te){var ne=Nn.pop();return ne===void 0?new go.Point(Me,te):(ne.x=Me,ne.y=te,ne)}function Se(){var Me=Nn.pop();return Me===void 0?new go.Point:Me}function Oe(Me){Nn.push(Me)}function We(Me,te,ne,ce,se,ge,ye,Ce,Ne){Ne||(Ne=new go.Point);var Pe=Me-ne,Ie=se-ye,Ke=NaN,Ve=NaN;if(Pe===0)if(Ie===0)Me===ne&&(Ke=Me,Ve=te);else{var Ye=(ge-Ce)/Ie,ut=ge-Ye*se;Ke=Me,Ve=Ye*Ke+ut}else if(Ie===0){var Ue=(te-ce)/Pe,Nt=te-Ue*Me;Ke=se,Ve=Ue*Ke+Nt}else{var Ue=(te-ce)/Pe,Ye=(ge-Ce)/Ie,Nt=te-Ue*Me,ut=ge-Ye*se;Ke=(ut-Nt)/(Ue-Ye),Ve=Ue*Ke+Nt}return Ne.x=Ke,Ne.y=Ve,Ne}function Ot(Me,te,ne,ce,se,ge,ye,Ce,Ne,Pe,Ie,Ke,Ve,Ye){var ut=1-Ne,Ue=Ne,Nt=Me*ut+ne*Ue,Qe=te*ut+ce*Ue,Ht=ne*ut+se*Ue,Rt=ce*ut+ge*Ue,It=se*ut+ye*Ue,Lt=ge*ut+Ce*Ue,Ut=Nt*ut+Ht*Ue,ht=Qe*ut+Rt*Ue,Re=Ht*ut+It*Ue,At=Rt*ut+Lt*Ue,Sn=Ut*ut+Re*Ue,mn=ht*ut+At*Ue;Pe.x=Nt,Pe.y=Qe,Ie.x=Ut,Ie.y=ht,Ke.x=Sn,Ke.y=mn,Ve.x=Re,Ve.y=At,Ye.x=It,Ye.y=Lt}var et=new go.Spot(.156,.156),yt=new go.Spot(.844,.844),ke=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new zn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=5),ce=Math.min(ce,te/3),ce=Math.min(ce,ne/3);var se=ce*ke,ge=new go.Geometry().add(new go.PathFigure(ce,0,!0).add(new go.PathSegment(go.PathSegment.Line,te-ce,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,ce,te-se,0,te,se)).add(new go.PathSegment(go.PathSegment.Line,te,ne-ce)).add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te,ne-se,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,ce,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ce,se,ne,0,ne-se)).add(new go.PathSegment(go.PathSegment.Line,0,ce)).add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,se,se,0).close()));return se>1&&(ge.spot1=new go.Spot(0,0,se,se),ge.spot2=new go.Spot(1,1,-se,-se)),ge}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,ne).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=0,ce.startY=ne/2,ce.endX=te,ce.endY=ne/2,ce}),go.Shape.defineFigureGenerator("LineV",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=te/2,ce.startY=0,ce.endX=te/2,ce.endY=ne,ce}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne/2,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("XLine",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LineRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.25*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)))}),go.Shape.defineFigureGenerator("LineDown",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,.25*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)))}),go.Shape.defineFigureGenerator("LineLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.75*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)))}),go.Shape.defineFigureGenerator("LineUp",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,.75*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(Me,te,ne){var ce=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ce*te,(1-ce)*ne,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Move,ce*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,(1-ce)*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne/2)).add(new go.PathSegment(go.PathSegment.Line,te,ne/2)).add(new go.PathSegment(go.PathSegment.Move,te/2,0)).add(new go.PathSegment(go.PathSegment.Line,te/2,ne)))}),go.Shape.defineFigureGenerator("CircleLine",function(Me,te,ne){var ce=te/2,se=new go.Geometry().add(new go.PathFigure(te,te/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ce,ce,ce,ce).close()));return se.spot1=et,se.spot2=yt,se.defaultStretch=go.GraphObject.Uniform,se}),go.Shape.defineFigureGenerator("Line1",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=0,ce.startY=0,ce.endX=te,ce.endY=ne,ce}),go.Shape.defineFigureGenerator("Line2",function(Me,te,ne){var ce=new go.Geometry(go.Geometry.Line);return ce.startX=te,ce.startY=0,ce.endX=0,ce.endY=ne,ce}),go.Shape.defineFigureGenerator("Curve1",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,ke*te,0,te,(1-ke)*ne)))}),go.Shape.defineFigureGenerator("Curve2",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,te,ne,0,ke*ne,(1-ke)*te,ne)))}),go.Shape.defineFigureGenerator("Curve3",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,ke*ne,ke*te,ne)))}),go.Shape.defineFigureGenerator("Curve4",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,(1-ke)*te,0,0,(1-ke)*ne)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(te,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new zn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)?ce=.1:ce<-1?ce=-1:ce>1&&(ce=1);var se=Math.abs(ce)*te;if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),sete&&(ce=te);var se=Math.abs(ce);if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),se.5&&(ce=.5);var se=Math.abs(ce)*te;if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),sete&&(ce=te/2);var se=Math.abs(ce);if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())),sete&&(ce=te/2);var se=Math.abs(ce);if(ce===0){var ge=new go.Geometry(go.Geometry.Rectangle);return ge.startX=0,ge.startY=0,ge.endX=te,ge.endY=ne,ge}else{var ge=new go.Geometry;return ce>0?ge.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te-se,ne)).add(new go.PathSegment(go.PathSegment.Line,se,ne).close())):ge.add(new go.PathFigure(se,0).add(new go.PathSegment(go.PathSegment.Line,te-se,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())),se0&&(ye.add(new go.PathSegment(go.PathSegment.Move,te/2+Ce,te/2)),ye.add(new go.PathSegment(go.PathSegment.Arc,0,-360,se,se,Ce,Ce).close())),ge.spot1=et,ge.spot2=yt,ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Cloud",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.08034461*te,.1944299*ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*te,.05349299*ne,-.09239631*te,.07836421*ne,.1406031*te,-.0542823*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*te,.074219*ne,.2450511*te,-.00697547*ne,.3776197*te,-.01112067*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*te,.07004196*ne,.4539471*te,0,.6066018*te,-.02526587*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*te,.08370865*ne,.6914277*te,-.01904177*ne,.8921095*te,-.01220843*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*te,.3194596*ne,1.036446*te,.04105738*ne,1.020377*te,.3022052*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*te,.562044*ne,1.04448*te,.360238*ne,.992256*te,.5219009*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*te,.8217117*ne,1.032337*te,.5771781*ne,1.018411*te,.8120651*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*te,.9156953*ne,1.028411*te,.9571472*ne,.8556702*te,1.052487*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*te,.9310455*ne,.7431877*te,1.009325*ne,.5624123*te,1.021761*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*te,.9344623*ne,.4820677*te,1.031761*ne,.3030112*te,1.002796*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.870098*ne,.2329994*te,1.01518*ne,.03213784*te,1.01518*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*te,.6545475*ne,-.02812061*te,.9032597*ne,-.01205169*te,.6835638*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*te,.4265613*ne,-.01812061*te,.6089503*ne,-.00606892*te,.4555777*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*te,.1944299*ne,-.01606892*te,.3892545*ne,-.01205169*te,.1944299*ne))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(Me,te,ne){var ce=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ce*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,te,(1-ce)*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ne)).add(new go.PathSegment(go.PathSegment.Line,ce*te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ce)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ce*ne).close())).setSpots(ce/2,ce/2,1-ce/2,1-ce/2)}),go.Shape.setFigureParameter("Pie",0,new zn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new zn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(Me,te,ne){var ce=Me?Me.parameter1:NaN,se=Me?Me.parameter2:NaN;isNaN(ce)&&(ce=0),isNaN(se)&&(se=315);var ge=ce%360;ge<0&&(ge+=360);var ye=se%360,Ce=Math.min(te,ne)/2;return new go.Geometry().add(new go.PathFigure(Ce,Ce).add(new go.PathSegment(go.PathSegment.Arc,ge,ye,Ce,Ce,Ce,Ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(Me,te,ne){var ce=ke/Math.SQRT2*.5,se=Math.SQRT2/2,ge=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,se*te,ge*ne,te,(1-ce)*ne,(se+ce)*te,(ge+ce)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()))}),go.Shape.setFigureParameter("ThickCross",0,new zn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=30);var se=Math.min(ce,te)/2,ge=te/2,ye=ne/2;return new go.Geometry().add(new go.PathFigure(ge-se,0,!0).add(new go.PathSegment(go.PathSegment.Line,ge+se,0)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ye-se)).add(new go.PathSegment(go.PathSegment.Line,te,ye-se)).add(new go.PathSegment(go.PathSegment.Line,te,ye+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ye+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ye+se)).add(new go.PathSegment(go.PathSegment.Line,0,ye+se)).add(new go.PathSegment(go.PathSegment.Line,0,ye-se)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ye-se).close()))}),go.Shape.setFigureParameter("ThinCross",0,new zn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=10);var se=Math.min(ce,te)/2,ge=te/2,ye=ne/2;return new go.Geometry().add(new go.PathFigure(ge-se,0,!0).add(new go.PathSegment(go.PathSegment.Line,ge+se,0)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ye-se)).add(new go.PathSegment(go.PathSegment.Line,te,ye-se)).add(new go.PathSegment(go.PathSegment.Line,te,ye+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ye+se)).add(new go.PathSegment(go.PathSegment.Line,ge+se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ne)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ye+se)).add(new go.PathSegment(go.PathSegment.Line,0,ye+se)).add(new go.PathSegment(go.PathSegment.Line,0,ye-se)).add(new go.PathSegment(go.PathSegment.Line,ge-se,ye-se).close()))}),go.Shape.setFigureParameter("ThickX",0,new zn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;if((isNaN(ce)||ce<0)&&(ce=30),te===0||ne===0){var se=new go.Geometry(go.Geometry.Rectangle);return se.startX=0,se.startY=0,se.endX=te,se.endY=ne,se}else{var ge=te/2,ye=ne/2,Ce=Math.atan2(ne,te),Ne=ce-Math.min(Math.cos(Ce)*ce/2,ge),Pe=ce-Math.min(Math.sin(Ce)*ce/2,ye),se=new go.Geometry,Ie=new go.PathFigure(Ne,0,!0);return se.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,ge,.2*ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,te-Ne,0)),Ie.add(new go.PathSegment(go.PathSegment.Line,te,Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.8*te,ye)),Ie.add(new go.PathSegment(go.PathSegment.Line,te,ne-Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,te-Ne,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,ge,.8*ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,Ne,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,ne-Pe)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,ye)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,Pe).close()),se}}),go.Shape.setFigureParameter("ThinX",0,new zn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=10);var se=new go.Geometry,ge=new go.PathFigure(.1*te,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne).close()),se}),go.Shape.setFigureParameter("SquareIBeam",0,new zn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.2);var se=new go.Geometry,ge=new go.PathFigure(0,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5+ce/2)*te,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5+ce/2)*te,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5-ce/2)*te,(1-ce)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(.5-ce/2)*te,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce*ne).close()),se}),go.Shape.setFigureParameter("RoundedIBeam",0,new zn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.5);var se=new go.Geometry,ge=new go.PathFigure(0,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,Math.abs(1-ce)*te,.25*ne,Math.abs(1-ce)*te,.75*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ce*te,.75*ne,ce*te,.25*ne).close()),se}),go.Shape.defineFigureGenerator("HalfEllipse",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,ke*te,0,te,(.5-ke/2)*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,(.5+ke/2)*ne,ke*te,ne).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,te,0,te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*te,.75*ne,.5*te,.25*ne).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,.1*te,.8*ne,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,0,0,.45*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.55*te,0,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.5*ne,.9*te,.8*ne).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*te,.01*ne)).add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.6*te,.2*ne,te,.25*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.7*ne,te,.8*ne,.6*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,.5*te,.75*ne,.55*te,.95*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)).add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.7*ne,.45*te,.95*ne,.5*te,.75*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.4*te,.8*ne,0,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.49*te,.01*ne,0,.25*ne,.4*te,.2*ne).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.4*te,.6*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.15*te,ne,.5*te,.75*ne,.45*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.6*ne,.55*te,.95*ne,.5*te,.75*ne));var ge=.2,ye=.3,Ce=0,Ne=ge*ke;return se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ye)*te,(.5+ge+Ce)*ne,(.5-ge+ye)*te,(.5+Ne+Ce)*ne,(.5-Ne+ye)*te,(.5+ge+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ge+ye)*te,(.5+Ce)*ne,(.5+Ne+ye)*te,(.5+ge+Ce)*ne,(.5+ge+ye)*te,(.5+Ne+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ye)*te,(.5-ge+Ce)*ne,(1-.5+ge+ye)*te,(.5-Ne+Ce)*ne,(.5+Ne+ye)*te,(.5-ge+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.65*te,.36771243*ne,(.5-Ne+ye)*te,(.5-ge+Ce)*ne,(.5-ge+ye+.05)*te,(.5-Ne+Ce-.02)*ne)),ge=.2,ye=0,Ce=-.3,Ne=ge*ke,se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ge+ye)*te,(.5+Ce)*ne,(.5+Ne+ye)*te,(.5+ge+Ce)*ne,(.5+ge+ye)*te,(.5+Ne+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ye)*te,(.5-ge+Ce)*ne,(1-.5+ge+ye)*te,(.5-Ne+Ce)*ne,(.5+Ne+ye)*te,(.5-ge+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ye)*te,(.5+Ce)*ne,(.5-Ne+ye)*te,(.5-ge+Ce)*ne,(.5-ge+ye)*te,(.5-Ne+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Ne+ye)*te,(.5+ge+Ce)*ne,(.5-ge+ye)*te,(.5+Ne+Ce)*ne,(.5-Ne+ye)*te,(.5+ge+Ce)*ne)),ge=.2,ye=-.3,Ce=0,Ne=ge*ke,se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ye)*te,(.5-ge+Ce)*ne,(1-.5+ge+ye-.05)*te,(.5-Ne+Ce-.02)*ne,(.5+Ne+ye)*te,(.5-ge+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ye)*te,(.5+Ce)*ne,(.5-Ne+ye)*te,(.5-ge+Ce)*ne,(.5-ge+ye)*te,(.5-Ne+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ye)*te,(.5+ge+Ce)*ne,(.5-ge+ye)*te,(.5+Ne+Ce)*ne,(.5-Ne+ye)*te,(.5+ge+Ce)*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.6*ne,(.5+Ne+ye)*te,(.5+ge+Ce)*ne,(.5+ge+ye)*te,(.5+Ne+Ce)*ne).close()),ce.setSpots(.06,.33,.93,.68),ce}),go.Shape.defineFigureGenerator("YinYang",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.5,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*.5,te*.5,te*.5,te*.5)),se.add(new go.PathSegment(go.PathSegment.Arc,90,-180,te*.5,te*.75,te*.25,te*.25)),se.add(new go.PathSegment(go.PathSegment.Arc,90,180,te*.5,te*.25,te*.25,te*.25));var ge=.1,ye=.5,Ce=.25;return se.add(new go.PathSegment(go.PathSegment.Move,(ye+ge)*te,Ce*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,0,-360,te*ye,ne*Ce,ge*te,ge*te).close()),se=new go.PathFigure(te*.5,0,!1),ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*.5,te*.5,te*.5,te*.5)),Ce=.75,se=new go.PathFigure((ye+ge)*te,Ce*ne,!0),ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,0,360,te*ye,ne*Ce,ge*te,ge*te).close()),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("Peace",function(Me,te,ne){var ce=.8535533905932737,se=.5*te,ge=.5*ne;return new go.Geometry().add(new go.PathFigure(se,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,se,ge,se,ge)).add(new go.PathSegment(go.PathSegment.Line,se,ne)).add(new go.PathSegment(go.PathSegment.Move,se,ge)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Move,se,ge)).add(new go.PathSegment(go.PathSegment.Line,ce*te,ce*ne)))}),go.Shape.defineFigureGenerator("NotAllowed",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ye=.5,Ce=.5,Ne=new go.PathFigure(ye*te,(Ce-ge)*ne);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-ge)*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),ge=.4,se=ke*.4;var Pe=Se(),Ie=Se(),Ke=Se(),Ve=Se();Ot(ye,Ce-ge,ye+se,Ce-ge,ye+ge,Ce-se,ye+ge,Ce,.42,Pe,Ie,Ke,Ve,Ve);var Ye=Se(),ut=Se(),Ue=Se();Ot(ye,Ce-ge,ye+se,Ce-ge,ye+ge,Ce-se,ye+ge,Ce,.58,Ve,Ve,Ue,Ye,ut);var Nt=Se(),Qe=Se(),Ht=Se();Ot(ye,Ce+ge,ye-se,Ce+ge,ye-ge,Ce+se,ye-ge,Ce,.42,Nt,Qe,Ht,Ve,Ve);var Rt=Se(),It=Se(),Lt=Se();return Ot(ye,Ce+ge,ye-se,Ce+ge,ye-ge,Ce+se,ye-ge,Ce,.58,Ve,Ve,Lt,Rt,It),Ne.add(new go.PathSegment(go.PathSegment.Move,Lt.x*te,Lt.y*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,Rt.x*te,Rt.y*ne,It.x*te,It.y*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Ke.x*te,Ke.y*ne,Pe.x*te,Pe.y*ne,Ie.x*te,Ie.y*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,Lt.x*te,Lt.y*ne).close()),Ne.add(new go.PathSegment(go.PathSegment.Move,Ht.x*te,Ht.y*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,Ue.x*te,Ue.y*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,Ye.x*te,Ye.y*ne,ut.x*te,ut.y*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Ht.x*te,Ht.y*ne,Nt.x*te,Nt.y*ne,Qe.x*te,Qe.y*ne).close()),Oe(Pe),Oe(Ie),Oe(Ke),Oe(Ve),Oe(Ye),Oe(ut),Oe(Ue),Oe(Nt),Oe(Qe),Oe(Ht),Oe(Rt),Oe(It),Oe(Lt),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("Fragile",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*te,0)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.29*te,.33*ne)).add(new go.PathSegment(go.PathSegment.Line,.35*te,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.5*ne,te,.25*ne,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.5*ne,0,.25*ne).close()))}),go.Shape.setFigureParameter("HourGlass",0,new zn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=30),ce>te&&(ce=te);var se=(te-ce)/2,ge=se+ce;return new go.Geometry().add(new go.PathFigure(ge,.5*ne).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,se,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,te,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,.55*ne).add(new go.PathSegment(go.PathSegment.Line,.6*te,0)).add(new go.PathSegment(go.PathSegment.Line,.3*te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.55*ne).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(Me,te,ne){var ce=new go.Geometry,se=ke*.4,ge=.4,ye=.5,Ce=.5,Ne=Se(),Pe=Se(),Ie=Se(),Ke=Se(),Ve=new go.PathFigure((ye-ge)*te,Ce*ne,!1);ce.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne)),Ot(ye,Ce-ge,ye+se,Ce-ge,ye+ge,Ce-se,ye+ge,Ce,.44,Ie,Ke,Pe,Ne,Ne),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*te,Pe.y*ne,Ie.x*te,Ie.y*ne,Ke.x*te,Ke.y*ne));var Ye=ve(Pe.x,Pe.y);Ot(ye,Ce-ge,ye+se,Ce-ge,ye+ge,Ce-se,ye+ge,Ce,.56,Ne,Ne,Pe,Ie,Ke);var ut=ve(Pe.x,Pe.y);Ve.add(new go.PathSegment(go.PathSegment.Line,(Ye.x*.1+.95*.9)*te,Ye.y*.1*ne)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*te,Ye.y*.1*ne)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*te,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,te,0)),Ve.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),Ve.add(new go.PathSegment(go.PathSegment.Line,(ut.x*.1+.9)*te,.15*ne)),Ve.add(new go.PathSegment(go.PathSegment.Line,(ut.x*.1+.9)*te,(ut.y*.1+.05*.9)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Line,ut.x*te,ut.y*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,Ie.x*te,Ie.y*ne,Ke.x*te,Ke.y*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,(ye-se)*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne)),ge=.35,se=ke*.35;var Ue=new go.PathFigure(ye*te,(Ce-ge)*ne,!1);ce.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-ge)*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne));var Nt=new go.PathFigure((ye-ge)*te,Ce*ne,!1);return ce.add(Nt),Oe(Ne),Oe(Pe),Oe(Ie),Oe(Ke),Oe(Ye),Oe(ut),ce.spot1=new go.Spot(.202,.257),ce.spot2=new go.Spot(.792,.739),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("GenderFemale",function(Me,te,ne){var ce=new go.Geometry,se=.375,ge=0,ye=-.125,Ce=se*ke,Ne=new go.PathFigure((.525+ge)*te,(.5+se+ye)*ne,!1);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+se+ge)*te,(.5+ye)*ne,(.5+Ce+ge)*te,(.5+se+ye)*ne,(.5+se+ge)*te,(.5+Ce+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5-se+ye)*ne,(1-.5+se+ge)*te,(.5-Ce+ye)*ne,(.5+Ce+ge)*te,(.5-se+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ye)*ne,(.5-Ce+ge)*te,(.5-se+ye)*ne,(.5-se+ge)*te,(.5-Ce+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ge)*te,(.5+se+ye)*ne,(.5-se+ge)*te,(.5+Ce+ye)*ne,(.5-Ce+ge)*te,(.5+se+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.475*te,.85*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.425*te,.85*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.425*te,.9*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.475*te,.9*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.475*te,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.525*te,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.525*te,.9*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.575*te,.9*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.575*te,.85*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne).close()),se=.325,ge=0,ye=-.125,Ce=se*ke;var Ne=new go.PathFigure((1-.5+se+ge)*te,(.5+ye)*ne,!1);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5+se+ye)*ne,(.5+se+ge)*te,(.5+Ce+ye)*ne,(.5+Ce+ge)*te,(.5+se+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ye)*ne,(.5-Ce+ge)*te,(.5+se+ye)*ne,(.5-se+ge)*te,(.5+Ce+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ge)*te,(.5-se+ye)*ne,(.5-se+ge)*te,(.5-Ce+ye)*ne,(.5-Ce+ge)*te,(.5-se+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+se+ge)*te,(.5+ye)*ne,(.5+Ce+ge)*te,(.5-se+ye)*ne,(1-.5+se+ge)*te,(.5-Ce+ye)*ne));var Ne=new go.PathFigure((.525+ge)*te,(.5+se+ye)*ne,!1);return ce.add(Ne),ce.spot1=new go.Spot(.232,.136),ce.spot2=new go.Spot(.682,.611),ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("LogicImplies",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;return isNaN(ce)&&(ce=.2),new go.Geometry().add(new go.PathFigure((1-ce)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;return isNaN(ce)&&(ce=.2),new go.Geometry().add(new go.PathFigure((1-ce)*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ce)*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,ce*te,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ce*te,ne))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)))}),go.Shape.defineFigureGenerator("LogicAnd",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(Me,te,ne){var ce=new go.Geometry().add(new go.PathFigure(.5*te,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*te,.5*ne,.5*te,.5*ne)));return ce.defaultStretch=go.GraphObject.Uniform,ce}),go.Shape.defineFigureGenerator("LogicTruth",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.5*te,0)).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)))}),go.Shape.defineFigureGenerator("LogicForAll",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(Me,te,ne){var ce=.5;return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,0,ce*ne)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ce*te,ce*ne,ce*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,te,ne))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(Me,te,ne){var ce=.5;return new go.Geometry().add(new go.PathFigure(te,0,!1).add(new go.PathSegment(go.PathSegment.Line,te,ce*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ce*te,ce*ne,ce*te,ce*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new zn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new zn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=.3);var ge=(1-ce)*te,ye=(.5-se/2)*ne,Ce=(.5+se/2)*ne,Ne=new go.Geometry,Pe=new go.PathFigure(0,ye,!0);Ne.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ye)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,Ce)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,Ce).close()),Ne.spot1=new go.Spot(0,ye/ne);var Ie=We(0,Ce/ne,1,Ce/ne,ge/te,1,1,.5,Se());return Ne.spot2=new go.Spot(Ie.x,Ie.y),Oe(Ie),Ne}),go.Shape.setFigureParameter("Arrow2",0,new zn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new zn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=30),ce>te&&(ce=te);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=30),se=Math.min(se,ne/2);var ge=te-ce,ye=(ne-se)/2,Ce=ye+se,Ne=new go.Geometry,Pe=new go.PathFigure(0,ye,!0);Ne.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ye)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,Ce)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,Ce).close()),Ne.spot1=new go.Spot(0,ye/ne);var Ie=We(0,Ce/ne,1,Ce/ne,ge/te,1,1,.5,Se());return Ne.spot2=new go.Spot(Ie.x,Ie.y),Oe(Ie),Ne}),go.Shape.defineFigureGenerator("Chevron",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("DoubleArrow",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.214*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,1*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.786*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,1*ne).close()),ce}),go.Shape.setFigureParameter("DoubleEndArrow",0,new zn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=(.5-ce/2)*ne,ge=(.5+ce/2)*ne,ye=new go.Geometry,Ce=new go.PathFigure(te,.5*ne,!0);ye.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*te,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,.3*te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close());var Ne=We(0,.5,.3,0,0,se/ne,.1,se/ne,Se());return ye.spot1=new go.Spot(Ne.x,Ne.y),Ne=We(.7,1,1,.5,0,ge/ne,1,ge/ne,Ne),ye.spot2=new go.Spot(Ne.x,Ne.y),Oe(Ne),ye}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new zn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new zn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=40);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=100);var ge=(ne-ce)/2,ye=ge+ce,Ce=(ne-se)/2,Ne=Ce+se;(ce>ne||se>ne)&&(se>ce?(ce=ce*ne/se,ge=(ne-ce)/2,ye=ge+ce,Ce=0,Ne=ne):(ge=0,ye=ne,Ce=0,Ne=ne));var Pe=new go.Geometry,Ie=new go.PathFigure(te,.5*ne,!0);Pe.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ye)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,ye)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,Ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,Ce)),Ie.add(new go.PathSegment(go.PathSegment.Line,.3*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ce).close());var Ke=We(0,.5,.3,Ce/ne,0,ge/ne,1,ge/ne,Se());return Pe.spot1=new go.Spot(Ke.x,Ke.y),Ke=We(.7,Ne/ne,1,.5,0,ye/ne,1,ye/ne,Ke),Pe.spot2=new go.Spot(Ke.x,Ke.y),Oe(Ke),Pe}),go.Shape.setFigureParameter("IBeamArrow",0,new zn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=(.5-ce/2)*ne,ge=(.5+ce/2)*ne,ye=new go.Geometry,Ce=new go.PathFigure(te,.5*ne,!0);ye.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*te,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ye.spot1=new go.Spot(0,se/ne);var Ne=We(.7,1,1,.5,0,ge/ne,1,ge/ne,Se());return ye.spot2=new go.Spot(Ne.x,Ne.y),Oe(Ne),ye}),go.Shape.setFigureParameter("IBeamArrow2",0,new zn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new zn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=40);var se=Me?Me.parameter2:NaN;isNaN(se)&&(se=100);var ge=(ne-ce)/2,ye=ge+ce,Ce=(ne-se)/2,Ne=Ce+se;(ce>ne||se>ne)&&(se>ce?(ce=ce*ne/se,ge=(ne-ce)/2,ye=ge+ce,Ce=0,Ne=ne):(ge=0,ye=ne,Ce=0,Ne=ne));var Pe=new go.Geometry,Ie=new go.PathFigure(te,.5*ne,!0);Pe.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ye)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,ye)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,Ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,Ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,Ce)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,Ce)),Ie.add(new go.PathSegment(go.PathSegment.Line,.2*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ie.add(new go.PathSegment(go.PathSegment.Line,.7*te,Ce).close()),Pe.spot1=new go.Spot(0,ge/ne);var Ke=We(.7,Ne/ne,1,.5,0,ye/ne,1,ye/ne,Se());return Pe.spot2=new go.Spot(Ke.x,Ke.y),Oe(Ke),Pe}),go.Shape.setFigureParameter("Pointer",0,new zn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.1);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ne,!0);se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),se.spot1=new go.Spot(ce,.35);var ye=We(.2,.65,1,.65,0,1,1,.5,Se());return se.spot2=new go.Spot(ye.x,ye.y),Oe(ye),se}),go.Shape.setFigureParameter("RoundedPointer",0,new zn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.3);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ne,!0);se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ce*te,.75*ne,ce*te,.25*ne).close()),se.spot1=new go.Spot(ce,.35);var ye=We(0,.65,1,.65,0,1,1,.5,Se());return se.spot2=new go.Spot(ye.x,ye.y),Oe(ye),se}),go.Shape.setFigureParameter("SplitEndArrow",0,new zn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.4);var se=(.5-ce/2)*ne,ge=(.5+ce/2)*ne,ye=new go.Geometry,Ce=new go.PathFigure(te,.5*ne,!0);ye.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ye.spot1=new go.Spot(.2,.3);var Ne=We(.7,1,1,.5,0,ge/ne,1,ge/ne,Se());return ye.spot2=new go.Spot(Ne.x,Ne.y),Oe(Ne),ye}),go.Shape.setFigureParameter("SplitEndArrow2",0,new zn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=50);var se=(ne-ce)/2,ge=se+ce;ce>ne&&(se=0,ge=ne);var ye=new go.Geometry,Ce=new go.PathFigure(te,.5*ne,!0);ye.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,.7*te,0).close()),ye.spot1=new go.Spot(.2,se/ne);var Ne=We(.7,1,1,.5,0,ge/ne,1,ge/ne,Se());return ye.spot2=new go.Spot(Ne.x,Ne.y),Oe(Ne),ye}),go.Shape.setFigureParameter("SquareArrow",0,new zn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.7);var se=new go.Geometry,ge=new go.PathFigure(te,.5*ne,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,0).close()),se.spot1=go.Spot.TopLeft,se.spot2=new go.Spot(ce,1),se}),go.Shape.defineFigureGenerator("Cone1",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.1,ye=new go.PathFigure(0,.9*ne,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+ge)*ne,(.5+se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-se)*te,ne,0,(.9+ge)*ne).close()),ce.spot1=new go.Spot(.25,.5),ce.spot2=new go.Spot(.75,.97),ce}),go.Shape.defineFigureGenerator("Cone2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.9*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,ne,.85/.9*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne).close());var ge=new go.PathFigure(0,.9*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.9*ne,(1-.85/.9)*te,.8*ne,.85/.9*te,.8*ne)),ce.spot1=new go.Spot(.25,.5),ce.spot2=new go.Spot(.75,.82),ce}),go.Shape.defineFigureGenerator("Cube1",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var ge=new go.PathFigure(.5*te,ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.5*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),ce.spot1=new go.Spot(0,.3),ce.spot2=new go.Spot(.5,.85),ce}),go.Shape.defineFigureGenerator("Cube2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.3*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0).close());var ge=new go.PathFigure(0,.3*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Move,.7*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,ne)),ce.spot1=new go.Spot(0,.3),ce.spot2=new go.Spot(.7,1),ce}),go.Shape.defineFigureGenerator("Cylinder1",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,ne/3);var se=new go.Geometry,ge=ke*.5,ye=new go.PathFigure(0,ce,!0);se.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,ke*ce,(.5-ge)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,1*te,ce,(.5+ge)*te,0,1*te,ke*ce)),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne-ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,1*ne,1*te,ne-ke*ce,(.5+ge)*te,1*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ce,(.5-ge)*te,1*ne,0,ne-ke*ce)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ce));var Ce=new go.PathFigure(te,ce,!1);return se.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,2*ce,1*te,2*ce-ke*ce,(.5+ge)*te,2*ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ce,(.5-ge)*te,2*ce,0,2*ce-ke*ce)),se.spot1=new go.Spot(0,0,0,2*ce),se.spot2=new go.Spot(1,1),se}),go.Shape.defineFigureGenerator("Cylinder2",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,ne/3);var se=new go.Geometry,ge=ke*.5,ye=new go.PathFigure(0,ne-ce,!0);se.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,ke*ce,(.5-ge)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,ce,(.5+ge)*te,0,te,ke*ce)),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne-ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,ne-ke*ce,(.5+ge)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ce,(.5-ge)*te,ne,0,ne-ke*ce));var Ce=new go.PathFigure(0,ne-ce,!1);return se.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne-2*ce,0,ne-ce-ke*ce,(.5-ge)*te,ne-2*ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te,ne-ce,(.5+ge)*te,ne-2*ce,te,ne-ce-ke*ce)),se.spot1=new go.Spot(0,0),se.spot2=new go.Spot(1,1,0,-2*ce),se}),go.Shape.defineFigureGenerator("Cylinder3",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,te/3);var se=new go.Geometry,ge=ke*.5,ye=new go.PathFigure(ce,0,!0);se.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te-ce,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-ke*ce,0,te,(.5-ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te,(.5+ge)*ne,te-ke*ce,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,ce,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,ke*ce,ne,0,(.5+ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,(.5-ge)*ne,ke*ce,0));var Ce=new go.PathFigure(ce,0,!1);return se.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,2*ce,.5*ne,ce+ke*ce,0,2*ce,(.5-ge)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ce,ne,2*ce,(.5+ge)*ne,ce+ke*ce,ne)),se.spot1=new go.Spot(0,0,2*ce,0),se.spot2=new go.Spot(1,1),se}),go.Shape.defineFigureGenerator("Cylinder4",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=5),ce=Math.min(ce,te/3);var se=new go.Geometry,ge=ke*.5,ye=new go.PathFigure(te-ce,0,!0);se.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,te-ke*ce,0,te,(.5-ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te,(.5+ge)*ne,te-ke*ce,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,ce,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,ke*ce,ne,0,(.5+ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,(.5-ge)*ne,ke*ce,0)),ye.add(new go.PathSegment(go.PathSegment.Line,te-ce,0));var Ce=new go.PathFigure(te-ce,0,!1);return se.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te-2*ce,.5*ne,te-ce-ke*ce,0,te-2*ce,(.5-ge)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ne,te-2*ce,(.5+ge)*ne,te-ce-ke*ce,ne)),se.spot1=new go.Spot(0,0),se.spot2=new go.Spot(1,1,-2*ce,0),se}),go.Shape.defineFigureGenerator("Prism1",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.25*te,.25*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(.25*te,.25*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),ce.spot1=new go.Spot(.408,.172),ce.spot2=new go.Spot(.833,.662),ce}),go.Shape.defineFigureGenerator("Prism2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.25*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(0,ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.25*te,.5*ne)),ce.spot1=new go.Spot(.25,.5),ce.spot2=new go.Spot(.75,.75),ce}),go.Shape.defineFigureGenerator("Pyramid1",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne).close());var ge=new go.PathFigure(.5*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),ce.spot1=new go.Spot(.25,.367),ce.spot2=new go.Spot(.75,.875),ce}),go.Shape.defineFigureGenerator("Pyramid2",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var ge=new go.PathFigure(.5*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),ce.spot1=new go.Spot(.25,.367),ce.spot2=new go.Spot(.75,.875),ce}),go.Shape.defineFigureGenerator("Actor",function(Me,te,ne){var ce=new go.Geometry,se=.2,ge=.1,ye=ke*se,Ce=ke*ge,Ne=.5,Pe=.1,Ie=new go.PathFigure(Ne*te,(Pe+ge)*ne,!0);ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-se)*te,Pe*ne,(Ne-ye)*te,(Pe+ge)*ne,(Ne-se)*te,(Pe+Ce)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-ge)*ne,(Ne-se)*te,(Pe-Ce)*ne,(Ne-ye)*te,(Pe-ge)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+se)*te,Pe*ne,(Ne+ye)*te,(Pe-ge)*ne,(Ne+se)*te,(Pe-Ce)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe+ge)*ne,(Ne+se)*te,(Pe+Ce)*ne,(Ne+ye)*te,(Pe+ge)*ne));var Ke=.05,Ve=ke*Ke;Ne=.05,Pe=.25;var Ye=new go.PathFigure(.5*te,.2*ne,!0);return ce.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.95*te,.2*ne)),Ne=.95,Pe=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+Ke)*te,Pe*ne,(Ne+Ve)*te,(Pe-Ke)*ne,(Ne+Ke)*te,(Pe-Ve)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.85*te,.35*ne)),Ke=.025,Ve=ke*Ke,Ne=.825,Pe=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-Ke)*ne,(Ne+Ke)*te,(Pe-Ve)*ne,(Ne+Ve)*te,(Pe-Ke)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ke)*te,Pe*ne,(Ne-Ve)*te,(Pe-Ke)*ne,(Ne-Ke)*te,(Pe-Ve)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne)),Ke=.05,Ve=ke*Ke,Ne=.5,Pe=.7,Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-Ke)*ne,(Ne+Ke)*te,(Pe-Ve)*ne,(Ne+Ve)*te,(Pe-Ke)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ke)*te,Pe*ne,(Ne-Ve)*te,(Pe-Ke)*ne,(Ne-Ke)*te,(Pe-Ve)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.45*te,ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*te,.35*ne)),Ke=.025,Ve=ke*Ke,Ne=.175,Pe=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-Ke)*ne,(Ne+Ke)*te,(Pe-Ve)*ne,(Ne+Ve)*te,(Pe-Ke)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ke)*te,Pe*ne,(Ne-Ve)*te,(Pe-Ke)*ne,(Ne-Ke)*te,(Pe-Ve)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),Ke=.05,Ve=ke*Ke,Ne=.05,Pe=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-Ke)*ne,(Ne-Ke)*te,(Pe-Ve)*ne,(Ne-Ve)*te,(Pe-Ke)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),ce.spot1=new go.Spot(.2,.2),ce.spot2=new go.Spot(.8,.65),ce}),go.Shape.setFigureParameter("Card",0,new zn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;isNaN(ce)&&(ce=.2);var se=new go.Geometry,ge=new go.PathFigure(te,0,!0);return se.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,ce*te,0).close()),se.spot1=new go.Spot(0,ce),se.spot2=go.Spot.BottomRight,se}),go.Shape.defineFigureGenerator("Collate",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne));var ge=new go.PathFigure(.5*te,.5*ne,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),ce.spot1=new go.Spot(.25,0),ce.spot2=new go.Spot(.75,.25),ce}),go.Shape.defineFigureGenerator("CreateRequest",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ye=new go.PathFigure(0,se*ne,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,se*ne)),ye.add(new go.PathSegment(go.PathSegment.Move,0,(1-se)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,(1-se)*ne)),ce}),go.Shape.defineFigureGenerator("Database",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.1,ye=new go.PathFigure(te,.1*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+ge)*ne,(.5+se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-se)*te,ne,0,(.9+ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-ge)*ne,(.5-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+se)*te,0,te,(.1-ge)*ne));var Ce=new go.PathFigure(te,.1*ne,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+ge)*ne,(.5+se)*te,.2*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-se)*te,.2*ne,0,(.1+ge)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+ge)*ne,(.5+se)*te,.3*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-se)*te,.3*ne,0,(.2+ge)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,te,.3*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.4*ne,te,(.3+ge)*ne,(.5+se)*te,.4*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,(.5-se)*te,.4*ne,0,(.3+ge)*ne)),ce.spot1=new go.Spot(0,.4),ce.spot2=new go.Spot(1,.9),ce}),go.Shape.defineFigureGenerator("DataStorage",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.9*ne,.25*te,.1*ne).close()),ce.spot1=new go.Spot(.226,0),ce.spot2=new go.Spot(.81,1),ce}),go.Shape.defineFigureGenerator("DiskStorage",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.1,ye=new go.PathFigure(te,.1*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.9+ge)*ne,(.5+se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-se)*te,ne,0,(.9+ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,(.1-ge)*ne,(.5-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,(.5+se)*te,0,te,(.1-ge)*ne));var Ce=new go.PathFigure(te,.1*ne,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,te,(.1+ge)*ne,(.5+se)*te,.2*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-se)*te,.2*ne,0,(.1+ge)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,te,.2*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.3*ne,te,(.2+ge)*ne,(.5+se)*te,.3*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-se)*te,.3*ne,0,(.2+ge)*ne)),ce.spot1=new go.Spot(0,.3),ce.spot2=new go.Spot(1,.9),ce}),go.Shape.defineFigureGenerator("Display",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.25*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,ne,te,0,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close()),ce.spot1=new go.Spot(.25,0),ce.spot2=new go.Spot(.75,1),ce}),go.Shape.defineFigureGenerator("DividedEvent",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)?se=.2:se<.15&&(se=.15);var ge=ke*.2,ye=new go.PathFigure(0,.2*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,0,(.2-ge)*ne,(.2-ge)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,.2*ne,(.8+ge)*te,0,te,(.2-ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,ne,te,(.8+ge)*ne,(.8+ge)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ne,(.2-ge)*te,ne,0,(.8+ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne));var Ce=new go.PathFigure(0,se*ne,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te,se*ne)),ce}),go.Shape.defineFigureGenerator("DividedProcess",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;(isNaN(se)||se<.1)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ye=new go.PathFigure(0,se*ne,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,se*ne)),ce}),go.Shape.defineFigureGenerator("Document",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(0,.7*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),ce.spot1=go.Spot.TopLeft,ce.spot2=new go.Spot(1,.6),ce}),go.Shape.defineFigureGenerator("ExternalOrganization",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;(isNaN(se)||se<.2)&&(se=.2);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ye=new go.PathFigure(se*te,0,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,0,se*ne)),ye.add(new go.PathSegment(go.PathSegment.Move,te,se*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Move,0,(1-se)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Move,(1-se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,(1-se)*ne)),ce}),go.Shape.defineFigureGenerator("ExternalProcess",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var ge=new go.PathFigure(.1*te,.4*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.9*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.6*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.4*te,.9*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.9*ne)),ce.spot1=new go.Spot(.25,.25),ce.spot2=new go.Spot(.75,.75),ce}),go.Shape.defineFigureGenerator("File",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(.75*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("Interrupt",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne));var ge=new go.PathFigure(te,.5*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne));var ye=new go.PathFigure(te,.5*ne,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,0)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.5,.75),ce}),go.Shape.defineFigureGenerator("InternalStorage",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN,ge=Me?Me.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.1);var ye=new go.PathFigure(0,0,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Ce=new go.PathFigure(se*te,0,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,0,ge*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,te,ge*ne)),ce}),go.Shape.defineFigureGenerator("Junction",function(Me,te,ne){var ce=new go.Geometry,se=1/Math.SQRT2,ge=(1-1/Math.SQRT2)/2,ye=ke*.5,Ce=.5,Ne=new go.PathFigure(te,Ce*ne,!0);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Ce*te,ne,te,(Ce+ye)*ne,(Ce+ye)*te,ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,Ce*ne,(Ce-ye)*te,ne,0,(Ce+ye)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Ce*te,0,0,(Ce-ye)*ne,(Ce-ye)*te,0)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te,Ce*ne,(Ce+ye)*te,0,te,(Ce-ye)*ne));var Pe=new go.PathFigure((ge+se)*te,(ge+se)*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,ge*te,ge*ne)),Pe.add(new go.PathSegment(go.PathSegment.Move,ge*te,(ge+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,(ge+se)*te,ge*ne)),ce}),go.Shape.defineFigureGenerator("LinedDocument",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(0,.7*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close());var ge=new go.PathFigure(.1*te,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.75*ne)),ce.spot1=new go.Spot(.1,0),ce.spot2=new go.Spot(1,.6),ce}),go.Shape.defineFigureGenerator("LoopLimit",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("MagneticTape",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ye=new go.PathFigure(.5*te,ne,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ne,(ge-se)*te,ne,0,(ge+se)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ne,(ge-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ne,(ge+se)*te,0,te,(ge-se)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+.1)*te,.9*ne,te,(ge+se)*ne,(ge+se)*te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),ce.spot1=new go.Spot(.15,.15),ce.spot2=new go.Spot(.85,.8),ce}),go.Shape.defineFigureGenerator("ManualInput",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("MessageFromUser",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.7);var ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,se*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=go.Spot.TopLeft,ce}),go.Shape.defineFigureGenerator("MicroformProcessing",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.25);var ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,se*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,(1-se)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("MicroformRecording",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(1,.75),ce}),go.Shape.defineFigureGenerator("MultiDocument",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.44*ne,.96*te,.47*ne,.93*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.54*ne,.86*te,.57*ne,.83*te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.4*te,.4*ne,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,0).close());var ge=new go.PathFigure(.1*te,.2*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.54*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.44*ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.8,.77),ce}),go.Shape.defineFigureGenerator("MultiProcess",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,.1*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close());var ge=new go.PathFigure(.2*te,.1*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.1*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.1*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.9*ne)),ce.spot1=new go.Spot(0,.2),ce.spot2=new go.Spot(.8,1),ce}),go.Shape.defineFigureGenerator("OfflineStorage",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=1-se,ye=new go.PathFigure(0,0,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close());var Ce=new go.PathFigure(.5*se*te,se*ne,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*se)*te,se*ne)),ce}),go.Shape.defineFigureGenerator("OffPageConnector",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=go.Spot.TopLeft,ce.spot2=new go.Spot(.75,1),ce}),go.Shape.defineFigureGenerator("Or",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ye=new go.PathFigure(te,ge*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,ne,te,(ge+se)*ne,(ge+se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ne,(ge-se)*te,ne,0,(ge+se)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ne,(ge-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ne,(ge+se)*te,0,te,(ge-se)*ne));var Ce=new go.PathFigure(te,.5*ne,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ce}),go.Shape.defineFigureGenerator("PaperTape",function(Me,te,ne){var ce=new go.Geometry;ne=ne/.8;var se=new go.PathFigure(0,.7*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.3*ne,.5*te,.6*ne,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*te,.4*ne,.5*te,ne).close()),ce.spot1=new go.Spot(0,.49),ce.spot2=new go.Spot(1,.75),ce}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN,ge=Me?Me.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.3);var ye=new go.PathFigure(0,0,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,.5*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN,ge=Me?Me.parameter2:NaN;isNaN(se)&&(se=.1),isNaN(ge)&&(ge=.3);var ye=new go.PathFigure(0,0,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,(1-ge)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("Procedure",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ye=new go.PathFigure((1-se)*te,0,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Move,se*te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ce}),go.Shape.defineFigureGenerator("Process",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ye=new go.PathFigure(se*te,0,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ce.spot2=go.Spot.BottomRight,ce}),go.Shape.defineFigureGenerator("Sort",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var ge=new go.PathFigure(0,.5*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),ce.spot1=new go.Spot(.25,.25),ce.spot2=new go.Spot(.75,.5),ce}),go.Shape.defineFigureGenerator("Start",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.25);var ge=new go.PathFigure(se*te,0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne));var ye=new go.PathFigure(se*te,0,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,se*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Move,(1-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,(1-se)*te,ne)),ce.spot1=new go.Spot(se,0),ce.spot2=new go.Spot(1-se,1),ce}),go.Shape.defineFigureGenerator("Terminator",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.25*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*te,.5*ne,.25*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*te,.5*ne,.25*te,.5*ne)),ce.spot1=new go.Spot(.23,0),ce.spot2=new go.Spot(.77,1),ce}),go.Shape.defineFigureGenerator("TransmittalTape",function(Me,te,ne){var ce=new go.Geometry,se=Me?Me.parameter1:NaN;isNaN(se)&&(se=.1);var ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,(1-se)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,(1-se)*ne).close()),ce.spot1=go.Spot.TopLeft,ce}),go.Shape.defineFigureGenerator("AndGate",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=new go.PathFigure(0,0,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(.5+se)*te,0,te,(.5-se)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,(.5+se)*ne,(.5+se)*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=go.Spot.TopLeft,ce.spot2=new go.Spot(.55,1),ce}),go.Shape.defineFigureGenerator("Buffer",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.5,.75),ce}),go.Shape.defineFigureGenerator("Clock",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ye=new go.PathFigure(te,ge*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,ne,te,(ge+se)*ne,(ge+se)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ge*ne,(ge-se)*te,ne,0,(ge+se)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*te,0,0,(ge-se)*ne,(ge-se)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,ge*ne,(ge+se)*te,0,te,(ge-se)*ne));var Ce=new go.PathFigure(te,ge*ne,!1);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te,ge*ne));var Ne=new go.PathFigure(.8*te,.75*ne,!1);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*te,.25*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.6*te,.25*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.6*te,.75*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.4*te,.75*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.4*te,.25*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*te,.25*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*te,.75*ne)),ce}),go.Shape.defineFigureGenerator("Ground",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.3*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),ce}),go.Shape.defineFigureGenerator("Inverter",function(Me,te,ne){var ce=new go.Geometry,se=ke*.1,ge=.1,ye=.9,Ce=.5,Ne=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne));var Pe=new go.PathFigure((ye+ge)*te,Ce*ne,!0);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,(ye-se)*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,(ye+se)*te,(Ce-ge)*ne,(ye+ge)*te,(Ce-se)*ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.4,.75),ce}),go.Shape.defineFigureGenerator("NandGate",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=ke*.4,ye=ke*.1,Ce=.1,Ne=.9,Pe=.5,Ie=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,.8*te,(.5+ge)*ne,(.4+se)*te,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ie.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(.4+se)*te,0,.8*te,(.5-ge)*ne));var Ke=new go.PathFigure((Ne+Ce)*te,Pe*ne,!0);return ce.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe+Ce)*ne,(Ne+Ce)*te,(Pe+ye)*ne,(Ne+ye)*te,(Pe+Ce)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ce)*te,Pe*ne,(Ne-ye)*te,(Pe+Ce)*ne,(Ne-Ce)*te,(Pe+ye)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-Ce)*ne,(Ne-Ce)*te,(Pe-ye)*ne,(Ne-ye)*te,(Pe-Ce)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+Ce)*te,Pe*ne,(Ne+ye)*te,(Pe-Ce)*ne,(Ne+Ce)*te,(Pe-ye)*ne)),ce.spot1=new go.Spot(0,.05),ce.spot2=new go.Spot(.55,.95),ce}),go.Shape.defineFigureGenerator("NorGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ye=0,Ce=.5,Ne=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.7*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(ye+ge)*te,(Ce-se)*ne,.7*te,(Ce-ge)*ne)),se=.1,ge=ke*.1,ye=.9,Ce=.5;var Pe=new go.PathFigure((ye-se)*te,Ce*ne,!0);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se)*te,Ce*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-se)*te,Ce*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne)),ce.spot1=new go.Spot(.2,.25),ce.spot2=new go.Spot(.6,.75),ce}),go.Shape.defineFigureGenerator("OrGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ye=0,Ce=.5,Ne=new go.PathFigure(0,0,!0);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(ye+ge+ge)*te,(Ce-se)*ne,.8*te,(Ce-ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.8*te,(Ce+ge)*ne,(ye+ge+ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*te,.75*ne,.25*te,.25*ne).close()),ce.spot1=new go.Spot(.2,.25),ce.spot2=new go.Spot(.75,.75),ce}),go.Shape.defineFigureGenerator("XnorGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ye=.2,Ce=.5,Ne=new go.PathFigure(.1*te,0,!1);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var Pe=new go.PathFigure(.8*te,.5*ne,!0);ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.7*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.5*ne,(ye+ge)*te,(Ce-se)*ne,.7*te,(Ce-ge)*ne)),se=.1,ge=ke*.1,ye=.9,Ce=.5;var Ie=new go.PathFigure((ye-se)*te,Ce*ne,!0);return ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se)*te,Ce*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ye-se)*te,Ce*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne)),ce.spot1=new go.Spot(.4,.25),ce.spot2=new go.Spot(.65,.75),ce}),go.Shape.defineFigureGenerator("XorGate",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*se,ye=.2,Ce=.5,Ne=new go.PathFigure(.1*te,0,!1);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,ne,.35*te,.25*ne,.35*te,.75*ne));var Pe=new go.PathFigure(.2*te,0,!0);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,(ye+ge)*te,(Ce-se)*ne,.9*te,(Ce-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,ne,.9*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.2*te,0,.45*te,.75*ne,.45*te,.25*ne).close()),ce.spot1=new go.Spot(.4,.25),ce.spot2=new go.Spot(.8,.75),ce}),go.Shape.defineFigureGenerator("Capacitor",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("Resistor",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),ce}),go.Shape.defineFigureGenerator("Inductor",function(Me,te,ne){var ce=new go.Geometry,se=ke*.1,ge=.1,ye=.1,Ce=.5,Ne=new go.PathFigure((ye-se*.5)*te,ne,!1);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,0,(ye-se)*te,ne,(ye-ge)*te,0)),ye=.3,Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,ne,(ye+ge)*te,0,(ye+se)*te,ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,0,(ye-se)*te,ne,(ye-ge)*te,0)),ye=.5,Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,ne,(ye+ge)*te,0,(ye+se)*te,ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,0,(ye-se)*te,ne,(ye-ge)*te,0)),ye=.7,Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,ne,(ye+ge)*te,0,(ye+se)*te,ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,0,(ye-se)*te,ne,(ye-ge)*te,0)),ye=.9,Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se*.5)*te,ne,(ye+ge)*te,0,(ye+se)*te,ne)),ce}),go.Shape.defineFigureGenerator("ACvoltageSource",function(Me,te,ne){var ce=new go.Geometry,se=ke*.5,ge=.5,ye=.5,Ce=.5,Ne=new go.PathFigure((ye-ge)*te,Ce*ne,!1);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,(ye+se)*te,(Ce-ge)*ne,(ye+ge)*te,(Ce-se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,(ye-se)*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,(ye-ge+.1)*te,Ce*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge-.1)*te,Ce*ne,ye*te,(Ce-ge)*ne,ye*te,(Ce+ge)*ne)),ce}),go.Shape.defineFigureGenerator("DCvoltageSource",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.75*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("Diode",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce.spot1=new go.Spot(0,.25),ce.spot2=new go.Spot(.5,.75),ce}),go.Shape.defineFigureGenerator("Wifi",function(Me,te,ne){var ce=new go.Geometry,se=te,ge=ne;te=te*.38,ne=ne*.6;var ye=ke*.8,Ce=.8,Ne=0,Pe=.5,Ie=(se-te)/2,Ke=(ge-ne)/2,Ve=new go.PathFigure(Ne*te+Ie,(Pe+Ce)*ne+Ke,!0);ce.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ce)*te+Ie,Pe*ne+Ke,(Ne-ye)*te+Ie,(Pe+Ce)*ne+Ke,(Ne-Ce)*te+Ie,(Pe+ye)*ne+Ke)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te+Ie,(Pe-Ce)*ne+Ke,(Ne-Ce)*te+Ie,(Pe-ye)*ne+Ke,(Ne-ye)*te+Ie,(Pe-Ce)*ne+Ke)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ce+ye*.5)*te+Ie,Pe*ne+Ke,Ne*te+Ie,(Pe-Ce)*ne+Ke,(Ne-Ce+ye*.5)*te+Ie,(Pe-ye)*ne+Ke)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te+Ie,(Pe+Ce)*ne+Ke,(Ne-Ce+ye*.5)*te+Ie,(Pe+ye)*ne+Ke,Ne*te+Ie,(Pe+Ce)*ne+Ke).close()),ye=ke*.4,Ce=.4,Ne=.2,Pe=.5;var Ye=new go.PathFigure(Ne*te+Ie,(Pe+Ce)*ne+Ke,!0);ce.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ce)*te+Ie,Pe*ne+Ke,(Ne-ye)*te+Ie,(Pe+Ce)*ne+Ke,(Ne-Ce)*te+Ie,(Pe+ye)*ne+Ke)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te+Ie,(Pe-Ce)*ne+Ke,(Ne-Ce)*te+Ie,(Pe-ye)*ne+Ke,(Ne-ye)*te+Ie,(Pe-Ce)*ne+Ke)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-Ce+ye*.5)*te+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)*te+Ie,(Pe+ye)*ne+Ke,(Ne+ye)*te+Ie,(Pe+Ce)*ne+Ke)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+Ce-ye*.5)*te+Ie,Pe*ne+Ke,Ne*te+Ie,(Pe+Ce)*ne+Ke,(Ne+Ce-ye*.5)*te+Ie,(Pe+ye)*ne+Ke)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te+Ie,(Pe-Ce)*ne+Ke,(Ne+Ce-ye*.5)*te+Ie,(Pe-ye)*ne+Ke,Ne*te+Ie,(Pe-Ce)*ne+Ke).close()),ye=ke*.8,Ce=.8,Ne=1,Pe=.5;var Nt=new go.PathFigure(Ne*te+Ie,(Pe-Ce)*ne+Ke,!0);return ce.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+Ce)*te+Ie,Pe*ne+Ke,(Ne+ye)*te+Ie,(Pe-Ce)*ne+Ke,(Ne+Ce)*te+Ie,(Pe-ye)*ne+Ke)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te+Ie,(Pe+Ce)*ne+Ke,(Ne+Ce)*te+Ie,(Pe+ye)*ne+Ke,(Ne+ye)*te+Ie,(Pe+Ce)*ne+Ke)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+Ce-ye*.5)*te+Ie,Pe*ne+Ke,Ne*te+Ie,(Pe+Ce)*ne+Ke,(Ne+Ce-ye*.5)*te+Ie,(Pe+ye)*ne+Ke)),Nt.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te+Ie,(Pe-Ce)*ne+Ke,(Ne+Ce-ye*.5)*te+Ie,(Pe-ye)*ne+Ke,Ne*te+Ie,(Pe-Ce)*ne+Ke).close()),ce}),go.Shape.defineFigureGenerator("Email",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,0,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,0)),ge.add(new go.PathSegment(go.PathSegment.Move,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.54*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*te,.54*ne)),ce}),go.Shape.defineFigureGenerator("Ethernet",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.35*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,0).close());var ge=new go.PathFigure(.1*te,ne,!0,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var ye=new go.PathFigure(.6*te,ne,!0,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.9*te,.6*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.6*te,.6*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.6*te,ne).close());var Ce=new go.PathFigure(0,.5*ne,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.5*te,.4*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,.75*te,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.75*te,.6*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,.25*te,.5*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.25*te,.6*ne)),ce}),go.Shape.defineFigureGenerator("Power",function(Me,te,ne){var ce=new go.Geometry,se=ke*.4,ge=.4,ye=.5,Ce=.5,Ne=Se(),Pe=Se(),Ie=Se(),Ke=Se();Ot(ye,Ce-ge,ye+se,Ce-ge,ye+ge,Ce-se,ye+ge,Ce,.5,Ne,Ne,Pe,Ie,Ke);var Ve=ve(Pe.x,Pe.y),Ye=new go.PathFigure(Pe.x*te,Pe.y*ne,!0);ce.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,Ie.x*te,Ie.y*ne,Ke.x*te,Ke.y*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,(ye-se)*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne)),Ot(ye-ge,Ce,ye-ge,Ce-se,ye-se,Ce-ge,ye,Ce-ge,.5,Ie,Ke,Pe,Ne,Ne),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*te,Pe.y*ne,Ie.x*te,Ie.y*ne,Ke.x*te,Ke.y*ne)),se=ke*.3,ge=.3,Ot(ye-ge,Ce,ye-ge,Ce-se,ye-se,Ce-ge,ye,Ce-ge,.5,Ie,Ke,Pe,Ne,Ne),Ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*te,Pe.y*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ye-ge)*te,Ce*ne,Ke.x*te,Ke.y*ne,Ie.x*te,Ie.y*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+ge)*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ge)*te,Ce*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ot(ye,Ce-ge,ye+se,Ce-ge,ye+ge,Ce-se,ye+ge,Ce,.5,Ne,Ne,Pe,Ie,Ke),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*te,Pe.y*ne,Ke.x*te,Ke.y*ne,Ie.x*te,Ie.y*ne).close());var Ye=new go.PathFigure(.45*te,0,!0);return ce.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.45*te,.5*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.5*ne)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,0).close()),Oe(Ne),Oe(Pe),Oe(Ie),Oe(Ke),Oe(Ve),ce.spot1=new go.Spot(.25,.45),ce.spot2=new go.Spot(.75,.8),ce}),go.Shape.defineFigureGenerator("Fallout",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne/2,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,180,360,te/2,ne/2,te/2,ne/2));function ge(ye,Ce,Ne){ye.add(new go.PathSegment(go.PathSegment.Move,(.3+Ce)*te,(.8+Ne)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,(.5+Ce)*te,(.5+Ne)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,(.1+Ce)*te,(.5+Ne)*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,(.3+Ce)*te,(.8+Ne)*ne).close())}return ge(se,0,0),ge(se,.4,0),ge(se,.2,-.3),ce}),go.Shape.defineFigureGenerator("IrritationHazard",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.2*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close()),ce.spot1=new go.Spot(.3,.3),ce.spot2=new go.Spot(.7,.7),ce}),go.Shape.defineFigureGenerator("ElectricalHazard",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.37*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.11*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.77*te,.04*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.49*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.37*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.63*te,.86*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.77*te,.91*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.34*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.34*te,.78*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.44*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.56*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne).close()),ce}),go.Shape.defineFigureGenerator("FireHazard",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.29*te,0,-.25*te,.63*ne,.45*te,.44*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.51*te,.42*ne,.48*te,.17*ne,.54*te,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.59*te,.18*ne,.59*te,.29*ne,.58*te,.28*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.75*te,.6*ne,.8*te,.34*ne,.88*te,.43*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.88*te,.31*ne,.87*te,.48*ne,.88*te,.43*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,1.17*te,.76*ne,.82*te,.8*ne).close()),ce.spot1=new go.Spot(.07,.445),ce.spot2=new go.Spot(.884,.958),ce}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=0,ye=0,Ce=se*ke,Ne=.4*Math.SQRT2/2+.5,Pe=.5-.5*Math.SQRT2/2,Ie=1,Ke=.5,Ve=.5,Ye=0,ut=new go.PathFigure(Ne*te,(1-Pe)*ne,!1);return ce.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,Ke*ne,Ie*te,.7*ne,Ie*te,Ke*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+ge)*te,(Ye+ge)*ne,(.5+se+ge)*te,(.5-Ce+ge)*ne,(.5+Ce+ge)*te,(.5-se+ge)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+ge)*te,(.5+ye)*ne,(.5-Ce+ge)*te,(.5-se+ye)*ne,(.5-se+ge)*te,(.5-Ce+ye)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ge)*te,.9*ne,(.5-se+ge)*te,(.5+Ce+ye)*ne,(.5-Ce+ge)*te,.9*ne)),ut.add(new go.PathSegment(go.PathSegment.Move,(.25+ge)*te,.8*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,(.35+ge)*te,.9*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,(.2+ge)*te,.95*ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se);var ge=new go.PathFigure(te,ne,!1);ce.add(ge);var ye=new go.PathFigure(0,.5*ne,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.2*te,.35*ne,.3*te,.35*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.7*te,.65*ne,.8*te,.65*ne)),ce}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne).close()),ce}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.2*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne).close());var se=new go.PathFigure(0,.2*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),ce}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.7*te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,0,.6*te,.5*ne,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,ne,.4*te,.5*ne,te,.5*ne).close());var ge=new go.PathFigure(.45*te,.73*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*te,.73*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.38*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.63*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.31*te,.27*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.56*te,.27*ne)),ce}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se);var ge=new go.PathFigure(.335*te,(1-.555)*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te,.68*ne,(1-.12)*te,.46*ne,(1-.02)*te,.54*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.335*te,(1-.555)*ne,.02*te,.54*ne,.12*te,.46*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.365*te,(1-.595)*ne));var ye=.5-.285,Ce=.5,Ne=ye,Pe=Math.PI/4,Ie=4*(1-Math.cos(Pe))/(3*Math.sin(Pe)),Ke=Ie*.5,Ve=ye,Ye=ye,ut=Ie*Ve,Ue=Ie*Ye;ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-Ve)*te,Ne*ne,(Ce-(ut+Ve)/2)*te,(Ne+(Ye+Ue)/2)*ne,(Ce-Ve)*te,(Ne+Ue)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ce*te,(Ne-Ye)*ne,(Ce-Ve)*te,(Ne-Ue)*ne,(Ce-ut)*te,(Ne-Ye)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+Ve)*te,Ne*ne,(Ce+ut)*te,(Ne-Ye)*ne,(Ce+Ve)*te,(Ne-Ue)*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*te,(1-.595)*ne,(Ce+Ve)*te,(Ne+Ue)*ne,(Ce+(ut+Ve)/2)*te,(Ne+(Ye+Ue)/2)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*te,(1-.595)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.555)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*te,(1-.405)*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.335*te,(1-.405)*ne));var Nt=new go.PathFigure(.2*te,ne,!1);ce.add(Nt),Nt.add(new go.PathSegment(go.PathSegment.Line,.2*te,.8*ne));var Qe=new go.PathFigure(.8*te,ne,!1);return ce.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),ce}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,ne).close());var ge=new go.PathFigure(.2*te,.2*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.8*ne)),ce}),go.Shape.defineFigureGenerator("BpmnEventError",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se);var ge=new go.PathFigure(te,ne,!1);ce.add(ge);var ye=new go.PathFigure(.1*te,ne,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),ye.add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("Caution",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.05*te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.8*ne,0,ne,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.55*te,.1*ne,.5*te,0,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.95*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,ne,te,ne,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,ne));var ge=.05;return se.add(new go.PathSegment(go.PathSegment.Move,(.5-ge)*te,.875*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*te,.875*ne,ge*te,ge*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.325*ne,.575*te,.725*ne,.625*te,.375*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.75*ne,.375*te,.375*ne,.425*te,.725*ne)),ce}),go.Shape.defineFigureGenerator("Recycle",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.45*te,.95*ne,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.185*te,.85*ne,.17*te,.95*ne,.15*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.235*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.3*te,.625*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.275*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.05*te,.575*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.1875*te,.95*ne,0,.675*ne,0,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.45*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.775*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.22*te,.775*ne));var ge=new go.PathFigure(.475*te,.2*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.4*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.225*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.275*te,.175*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.325*te,.05*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,.05*ne,.35*te,0,.375*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*te,.375*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.75*te,.475*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*te,.315*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.32*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.65*te,.05*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,0,.65*te,.05*ne,.625*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.38*te,.0105*ne));var ye=new go.PathFigure(.675*te,.575*ne,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.875*te,.525*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,.85*te,.95*ne,te,.8*ne,te,.85*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.65*te,.95*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.85*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.65*te,.725*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.65*te,.775*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.7*te,.775*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,te,.775*ne)),ye.add(new go.PathSegment(go.PathSegment.Move,.675*te,.575*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.775*te,.775*ne)),ce}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*.5,ye=new go.PathFigure(te,se*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*te,ne,te,(se+ge)*ne,(se+ge)*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,se*ne,(se-ge)*te,ne,0,(se+ge)*ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*te,0,0,(se-ge)*ne,(se-ge)*te,0)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te,se*ne,(se+ge)*te,0,te,(se-ge)*ne));var Ce=new go.PathFigure(se*te,0,!1);return ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,se*te,.15*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,se*te,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,se*te,.85*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,0,se*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.15*te,se*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,te,se*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*te,se*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,se*te,se*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.58*te,.1*ne)),Ce.add(new go.PathSegment(go.PathSegment.Move,se*te,se*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.78*te,.54*ne)),ce}),go.Shape.defineFigureGenerator("Package",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.15*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var ge=new go.PathFigure(0,.15*ne,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.65*te,.15*ne).close()),ce.spot1=new go.Spot(0,.1),ce.spot2=new go.Spot(1,1),ce}),go.Shape.defineFigureGenerator("Class",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,.2*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var ye=new go.PathFigure(0,.5*ne,!1);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne).close()),ce}),go.Shape.defineFigureGenerator("Component",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne).close());var ge=new go.PathFigure(0,.2*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.2*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close());var ye=new go.PathFigure(0,.6*ne,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*te,.6*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*te,.8*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne).close()),ce}),go.Shape.defineFigureGenerator("Boat Shipment",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.15*te,.6*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.6*ne));var ge=new go.PathFigure(.15*te,.6*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*te,.6*ne)),ce}),go.Shape.defineFigureGenerator("Customer/Supplier",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.66*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.33*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),ce}),go.Shape.defineFigureGenerator("Workcell",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.65*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.35*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ce}),go.Shape.defineFigureGenerator("Supermarket",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,.33*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.66*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.66*ne)),se.add(new go.PathSegment(go.PathSegment.Move,te,.66*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ce}),go.Shape.defineFigureGenerator("TruckShipment",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(te,.8*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne).close());var ye=.1,Ce=ke*.1,Ne=.2,Pe=.9,Ie=new go.PathFigure((Ne-ye)*te,Pe*ne,!0);ce.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-ye)*ne,(Ne-ye)*te,(Pe-Ce)*ne,(Ne-Ce)*te,(Pe-ye)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+ye)*te,Pe*ne,(Ne+Ce)*te,(Pe-ye)*ne,(Ne+ye)*te,(Pe-Ce)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe+ye)*ne,(Ne+ye)*te,(Pe+Ce)*ne,(Ne+Ce)*te,(Pe+ye)*ne)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-ye)*te,Pe*ne,(Ne-Ce)*te,(Pe+ye)*ne,(Ne-ye)*te,(Pe+Ce)*ne).close()),ye=.1,Ce=ke*.1,Ne=.8,Pe=.9;var Ke=new go.PathFigure((Ne-ye)*te,Pe*ne,!0);return ce.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe-ye)*ne,(Ne-ye)*te,(Pe-Ce)*ne,(Ne-Ce)*te,(Pe-ye)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+ye)*te,Pe*ne,(Ne+Ce)*te,(Pe-ye)*ne,(Ne+ye)*te,(Pe-Ce)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*te,(Pe+ye)*ne,(Ne+ye)*te,(Pe+Ce)*ne,(Ne+Ce)*te,(Pe+ye)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-ye)*te,Pe*ne,(Ne-Ce)*te,(Pe+ye)*ne,(Ne-ye)*te,(Pe+Ce)*ne).close()),ce}),go.Shape.defineFigureGenerator("KanbanPost",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.2*te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,0)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,ne)),ce}),go.Shape.defineFigureGenerator("Forklift",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0));var ge=new go.PathFigure(0,.5*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var ye=new go.PathFigure(.5*te,.8*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,.1*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.1*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.8*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*te,.8*ne));var Ce=new go.PathFigure(.5*te,.7*ne,!1);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te,.7*ne));var Ne=.1,Pe=ke*.1,Ie=.1,Ke=.9,Ve=new go.PathFigure((Ie-Ne)*te,Ke*ne,!0);ce.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(Ke-Ne)*ne,(Ie-Ne)*te,(Ke-Pe)*ne,(Ie-Pe)*te,(Ke-Ne)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ie+Ne)*te,Ke*ne,(Ie+Pe)*te,(Ke-Ne)*ne,(Ie+Ne)*te,(Ke-Pe)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(Ke+Ne)*ne,(Ie+Ne)*te,(Ke+Pe)*ne,(Ie+Pe)*te,(Ke+Ne)*ne)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ie-Ne)*te,Ke*ne,(Ie-Pe)*te,(Ke+Ne)*ne,(Ie-Ne)*te,(Ke+Pe)*ne)),Ne=.1,Pe=ke*.1,Ie=.4,Ke=.9;var Ye=new go.PathFigure((Ie-Ne)*te,Ke*ne,!0);return ce.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(Ke-Ne)*ne,(Ie-Ne)*te,(Ke-Pe)*ne,(Ie-Pe)*te,(Ke-Ne)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ie+Ne)*te,Ke*ne,(Ie+Pe)*te,(Ke-Ne)*ne,(Ie+Ne)*te,(Ke-Pe)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Ie*te,(Ke+Ne)*ne,(Ie+Ne)*te,(Ke+Pe)*ne,(Ie+Pe)*te,(Ke+Ne)*ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Ie-Ne)*te,Ke*ne,(Ie-Pe)*te,(Ke+Ne)*ne,(Ie-Ne)*te,(Ke+Pe)*ne)),ce}),go.Shape.defineFigureGenerator("RailShipment",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.1*te,.4*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.45*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.4*ne).close());var ge=new go.PathFigure(.45*te,.7*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.55*te,.7*ne));var ye=new go.PathFigure(.55*te,.4*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.9*te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.9*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*te,.4*ne).close());var Ie=.05,Ke=ke*.05,Ve=.175,Ye=.95,Ce=new go.PathFigure((Ve-Ie)*te,Ye*ne,!0);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye-Ie)*ne,(Ve-Ie)*te,(Ye-Ke)*ne,(Ve-Ke)*te,(Ye-Ie)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Ie)*te,Ye*ne,(Ve+Ke)*te,(Ye-Ie)*ne,(Ve+Ie)*te,(Ye-Ke)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye+Ie)*ne,(Ve+Ie)*te,(Ye+Ke)*ne,(Ve+Ke)*te,(Ye+Ie)*ne)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Ie)*te,Ye*ne,(Ve-Ke)*te,(Ye+Ie)*ne,(Ve-Ie)*te,(Ye+Ke)*ne));var Ie=.05,Ke=ke*.05,Ve=.375,Ye=.95,Ne=new go.PathFigure((Ve-Ie)*te,Ye*ne,!0);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye-Ie)*ne,(Ve-Ie)*te,(Ye-Ke)*ne,(Ve-Ke)*te,(Ye-Ie)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Ie)*te,Ye*ne,(Ve+Ke)*te,(Ye-Ie)*ne,(Ve+Ie)*te,(Ye-Ke)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye+Ie)*ne,(Ve+Ie)*te,(Ye+Ke)*ne,(Ve+Ke)*te,(Ye+Ie)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Ie)*te,Ye*ne,(Ve-Ke)*te,(Ye+Ie)*ne,(Ve-Ie)*te,(Ye+Ke)*ne));var Ie=.05,Ke=ke*.05,Ve=.625,Ye=.95,Pe=new go.PathFigure((Ve-Ie)*te,Ye*ne,!0);ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye-Ie)*ne,(Ve-Ie)*te,(Ye-Ke)*ne,(Ve-Ke)*te,(Ye-Ie)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Ie)*te,Ye*ne,(Ve+Ke)*te,(Ye-Ie)*ne,(Ve+Ie)*te,(Ye-Ke)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye+Ie)*ne,(Ve+Ie)*te,(Ye+Ke)*ne,(Ve+Ke)*te,(Ye+Ie)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Ie)*te,Ye*ne,(Ve-Ke)*te,(Ye+Ie)*ne,(Ve-Ie)*te,(Ye+Ke)*ne));var Ie=.05,Ke=ke*.05,Ve=.825,Ye=.95,ut=new go.PathFigure((Ve-Ie)*te,Ye*ne,!0);ce.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye-Ie)*ne,(Ve-Ie)*te,(Ye-Ke)*ne,(Ve-Ke)*te,(Ye-Ie)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Ve+Ie)*te,Ye*ne,(Ve+Ke)*te,(Ye-Ie)*ne,(Ve+Ie)*te,(Ye-Ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Ve*te,(Ye+Ie)*ne,(Ve+Ie)*te,(Ye+Ke)*ne,(Ve+Ke)*te,(Ye+Ie)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Ve-Ie)*te,Ye*ne,(Ve-Ke)*te,(Ye+Ie)*ne,(Ve-Ie)*te,(Ye+Ke)*ne).close());var Ue=new go.PathFigure(0,ne,!1);return ce.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,te,ne).close()),ce}),go.Shape.defineFigureGenerator("Warehouse",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ge=new go.PathFigure(0,.2*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne).close());var ye=new go.PathFigure(.15*te,ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.15*te,.5*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.4*te,.5*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.4*te,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*te,ne).close());var Ce=.05,Ne=ke*.05,Pe=.35,Ie=.775,Ke=new go.PathFigure((Pe-Ce)*te,Ie*ne,!0);return ce.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Pe*te,(Ie-Ce)*ne,(Pe-Ce)*te,(Ie-Ne)*ne,(Pe-Ne)*te,(Ie-Ce)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+Ce)*te,Ie*ne,(Pe+Ne)*te,(Ie-Ce)*ne,(Pe+Ce)*te,(Ie-Ne)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,Pe*te,(Ie+Ce)*ne,(Pe+Ce)*te,(Ie+Ne)*ne,(Pe+Ne)*te,(Ie+Ce)*ne)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-Ce)*te,Ie*ne,(Pe-Ne)*te,(Ie+Ce)*ne,(Pe-Ce)*te,(Ie+Ne)*ne).close()),ce}),go.Shape.defineFigureGenerator("ControlCenter",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.1*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne).close()),ce}),go.Shape.defineFigureGenerator("Bluetooth",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.75*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ce}),go.Shape.defineFigureGenerator("Bookmark",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),ce}),go.Shape.defineFigureGenerator("Bookmark",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.2*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.8*te,.4*ne)),ce}),go.Shape.defineFigureGenerator("Globe",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.5*ne,.75*te,0,te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,te,.75*ne,.75*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.25*te,ne,0,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,0,.25*ne,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,ne,.15*te,.25*ne,.15*te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.85*te,.75*ne,.85*te,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.15*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.15*ne,.35*te,.3*ne,.65*te,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.1675*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8325*te,.85*ne,.35*te,.7*ne,.65*te,.7*ne)),ce}),go.Shape.defineFigureGenerator("Wave",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.25*ne,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.25*ne,.1*te,0,.2*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.25*ne,.425*te,.5*ne,.575*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.25*ne,.8*te,0,.9*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.75*ne,.1*te,.5*ne,.2*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.7*te,.75*ne,.425*te,ne,.575*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.75*ne,.8*te,.5*ne,.9*te,.5*ne)),ce}),go.Shape.defineFigureGenerator("Operator",function(Me,te,ne){var ce=new go.Geometry,se=.3,ge=ke*.3,ye=.5,Ce=.7,Ne=new go.PathFigure((ye-se)*te,Ce*ne,!0);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se)*te,Ce*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-se)*te,Ce*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne));var Pe=new go.PathFigure(0,.7*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te,.7*ne,0,0,te,0)),ce}),go.Shape.defineFigureGenerator("TripleFanBlades",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.5*te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.65*te,.3*ne,.65*te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.35*te,.5*ne,.35*te,.3*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.3*te,.6*ne,.1*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.2*te,ne,.35*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,ne,.7*te,.6*ne,.9*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.65*ne,.8*te,ne,.65*te,.95*ne)),ce}),go.Shape.defineFigureGenerator("CentrifugalPump",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te,0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,0,.075*ne,0,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.4*te,ne,0,ne,.4*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.4*ne,.8*te,ne,.85*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,0)),ce}),go.Shape.defineFigureGenerator("Battery",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.4*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.1*ne));var ge=new go.PathFigure(0,.6*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,0,.4*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,te,.4*ne)),ce}),go.Shape.defineFigureGenerator("Delete",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*.5,ye=.5,Ce=.5,Ne=new go.PathFigure((ye-se)*te,Ce*ne,!0);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se)*te,Ce*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-se)*te,Ce*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne));var Pe=new go.PathFigure(.15*te,.5*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*te,.5*ne)),ce}),go.Shape.defineFigureGenerator("Flag",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.1*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Move,0,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.1*ne,.15*te,0,.35*te,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,te,.1*ne,.65*te,.2*ne,.85*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.5*ne,.85*te,.6*ne,.65*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.35*te,.4*ne,.15*te,.4*ne).close()),ce}),go.Shape.defineFigureGenerator("Help",function(Me,te,ne){var ce=new go.Geometry,se=.5,ge=ke*.5,ye=.5,Ce=.5,Ne=new go.PathFigure((ye-se)*te,Ce*ne,!1);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se)*te,Ce*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ye-se)*te,Ce*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne).close()),se=.05,ge=ke*.05,ye=.5,Ce=.8;var Pe=new go.PathFigure((ye-se)*te,Ce*ne,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce-se)*ne,(ye-se)*te,(Ce-ge)*ne,(ye-ge)*te,(Ce-se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+se)*te,Ce*ne,(ye+ge)*te,(Ce-se)*ne,(ye+se)*te,(Ce-ge)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*te,(Ce+se)*ne,(ye+se)*te,(Ce+ge)*ne,(ye+ge)*te,(Ce+se)*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-se)*te,Ce*ne,(ye-ge)*te,(Ce+se)*ne,(ye-se)*te,(Ce+ge)*ne).close()),Pe.add(new go.PathSegment(go.PathSegment.Move,.5*te,.7*ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*te,.5*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.5*te,.2*ne,.75*te,.475*ne,.75*te,.225*ne)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.35*ne,.4*te,.2*ne,.3*te,.25*ne)),ce}),go.Shape.defineFigureGenerator("Location",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.5*te,ne,!0).add(new go.PathSegment(go.PathSegment.Line,.75*te,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*te,0,.975*te,.025*ne,.5*te,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*te,.5*ne,.5*te,0,.025*te,.025*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*te,.3*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Lock",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var ge=new go.PathFigure(.2*te,.5*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.3*ne)),ce}),go.Shape.defineFigureGenerator("Unlocked",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,.5*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var ge=new go.PathFigure(.2*te,.5*ne,!1);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Move,.2*te,.5*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*te,.3*ne)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*te,.3*ne,.25*te,0,.75*te,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*te,.35*ne)),ce}),go.Shape.defineFigureGenerator("Gear",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(.9375*te,.56246875*ne,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.80621875*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.763*te,.3316875*ne,.79840625*te,.39915625*ne,.7834375*te,.3635*ne)).add(new go.PathSegment(go.PathSegment.Line,.8566875*te,.23796875*ne)).add(new go.PathSegment(go.PathSegment.Line,.76825*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.67596875*te,.24184375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*te,.19378125*ne,.64228125*te,.2188125*ne,.603875*te,.2021875*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*te,.19378125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*te,.239375*ne,.39759375*te,.20190625*ne,.36053125*te,.2176875*ne)).add(new go.PathSegment(go.PathSegment.Line,.2379375*te,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.14953125*te,.2379375*ne)).add(new go.PathSegment(go.PathSegment.Line,.23934375*te,.3278125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*te,.4375*ne,.21765625*te,.36059375*ne,.201875*te,.397625*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Line,.1938125*te,.5625*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*te,.67596875*ne,.20221875*te,.603875*ne,.21884375*te,.64228125*ne)).add(new go.PathSegment(go.PathSegment.Line,.1495625*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.238*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.3316875*te,.76296875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*te,.80621875*ne,.36353125*te,.78340625*ne,.3991875*te,.79840625*ne)).add(new go.PathSegment(go.PathSegment.Line,.43753125*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*te,.80621875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*te,.760625*ne,.602375*te,.79809375*ne,.63946875*te,.78234375*ne)).add(new go.PathSegment(go.PathSegment.Line,.76828125*te,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.85671875*te,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.76065625*te,.67221875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*te,.56246875*ne,.78234375*te,.63940625*ne,.798125*te,.602375*ne)).add(new go.PathSegment(go.PathSegment.Line,.9375*te,.56246875*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*te,.5*ne,.1*te,.1*ne).close()))}),go.Shape.defineFigureGenerator("Hand",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.5*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*te,.3*ne,0,.375*ne,.05*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.45*te,.075*ne,.3*te,.225*ne,.4*te,.175*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.525*te,.075*ne,.46*te,.05*ne,.525*te,.05*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.3*te,.4*ne,.525*te,.275*ne,.475*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.55*ne,te,.4*ne,te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.425*te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.6*te,.7*ne,.675*te,.55*ne,.675*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.575*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.575*te,.85*ne,.65*te,.7*ne,.65*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.525*te,.85*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.535*te,ne,.61*te,.85*ne,.61*te,ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,.435*te,ne,0,ne).close()),ce}),go.Shape.defineFigureGenerator("Map",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,.2*ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),se.add(new go.PathSegment(go.PathSegment.Move,.25*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.25*te,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Move,.5*te,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne)),se.add(new go.PathSegment(go.PathSegment.Move,.75*te,0)),se.add(new go.PathSegment(go.PathSegment.Line,.75*te,.8*ne)),ce}),go.Shape.defineFigureGenerator("Eject",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te,ne)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.7)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.7).close());var ge=new go.PathFigure(0,ne*.6,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te,.6*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*te,0).close()),ce}),go.Shape.defineFigureGenerator("Pencil",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.2*ne).close()))}),go.Shape.defineFigureGenerator("Building",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*1,ne*1,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.85)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.85)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,.046*te,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.3)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*te,ne*.85)),se.add(new go.PathSegment(go.PathSegment.Line,te,ne*.85).close());var ge=new go.PathFigure(.126*te,.85*ne,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.126*te,.45*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.322*te,.45*ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.322*te,.85*ne).close());var ye=new go.PathFigure(.402*te,.85*ne,!1);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.402*te,.45*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.598*te,.45*ne)),ye.add(new go.PathSegment(go.PathSegment.Line,.598*te,.85*ne).close());var Ce=new go.PathFigure(.678*te,.85*ne,!1);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.678*te,.45*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.874*te,.45*ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,.874*te,.85*ne).close());var Ne=new go.PathFigure(.5*te,.1*ne,!1);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*te,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*te,.3*ne).close()),ce}),go.Shape.defineFigureGenerator("Staircase",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne*1,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.8)),se.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.8)),se.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.6)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.6)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.4)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.4)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.2)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.2)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.15)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.15)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*.95).close()),ce}),go.Shape.defineFigureGenerator("5Bars",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,ne*1,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.184,ne*(1-.184)).close());var ge=new go.PathFigure(te*.204,ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.204,ne*(1-.184))),ge.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*(1-.184*2))),ge.add(new go.PathSegment(go.PathSegment.Line,te*.388,ne*1).close());var ye=new go.PathFigure(te*.408,ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*.408,ne*(1-.184*2))),ye.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*(1-.184*3))),ye.add(new go.PathSegment(go.PathSegment.Line,te*.592,ne*1).close());var Ce=new go.PathFigure(te*.612,ne,!0);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.612,ne*(1-.184*3))),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*(1-.184*4))),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.796,ne*1).close());var Ne=new go.PathFigure(te*.816,ne,!0);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,te*.816,ne*(1-.184*4))),Ne.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-.184*5))),Ne.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1).close()),ce}),go.Shape.defineFigureGenerator("PC",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,0).close());var ge=new go.PathFigure(te*.055,.07*ne,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.07)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.1).close());var ye=new go.PathFigure(te*.055,.13*ne,!0);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.13)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.16)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.16).close());var Ce=new go.PathFigure(te*.055,.18*ne,!0);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.18)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.245,ne*.21)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.055,ne*.21).close());var Ne=new go.PathFigure(te*1,0,!0);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,te*.4,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.65)),Ne.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.65).close()),ce}),go.Shape.defineFigureGenerator("Plane",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(.55*te,ne,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.7*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.1*te,.475*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.35*te,.525*ne,0,.4*ne,.225*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.4*te,.475*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.15*te,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.2*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.325*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.85*te,.1*ne)),se.add(new go.PathSegment(go.PathSegment.Bezier,.9*te,.2*ne,.975*te,0,te,.08*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.7*te,.45*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.6*te,.95*ne)),se.add(new go.PathSegment(go.PathSegment.Line,.55*te,ne).close()),ce}),go.Shape.defineFigureGenerator("Key",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*1,ne*.5,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.9,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.4*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,.2*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.35*ne)),se.add(new go.PathSegment(go.PathSegment.Line,0,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.15,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,.8*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.65*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,.55*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,.6*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,.575*ne)),se.add(new go.PathSegment(go.PathSegment.Line,te*.9,.6*ne).close()),se.add(new go.PathSegment(go.PathSegment.Move,.17*te,.425*ne)),se.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*te,.5*ne,.075*te,.075*ne).close()),ce}),go.Shape.defineFigureGenerator("FilmTape",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(0,0,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Arc,270,180,te*0,te*.3,te*.055)),se.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.08,ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*1),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*2),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*3),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*4),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*5),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*6),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*7),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*8),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*9),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*10),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*11),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*12),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*13),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*14),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*.95)),se.add(new go.PathSegment(go.PathSegment.Line,te*(.08+.056*15),ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var ge=new go.PathFigure(0,0,!1);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*0)),ge.add(new go.PathSegment(go.PathSegment.Arc,270,-180,te*1,te*.3,te*.055)),ge.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1));var ye=new go.PathFigure(te*.11,ne*.1,!1);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.1)),ye.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*0),ne*.8)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.11,ne*.8).close());var Ce=new go.PathFigure(te*(.11+.24133333*1+.028*1),ne*.1,!1);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.1)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*1),ne*.8)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*1+.028*1),ne*.8).close());var Ne=new go.PathFigure(te*(.11+.24133333*2+.028*2),ne*.1,!1);return ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.1)),Ne.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*3+.028*2),ne*.8)),Ne.add(new go.PathSegment(go.PathSegment.Line,te*(.11+.24133333*2+.028*2),ne*.8).close()),ce}),go.Shape.defineFigureGenerator("FloppyDisk",function(Me,te,ne){var ce=new go.Geometry,se=8,ge=se*ke,ye=new go.PathFigure(se,0,!1);ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*.86,0)),ye.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.14)),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne-se)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te-se,ne,te,ne-ge,te-ge,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,se,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-se,ge,ne,0,ne-ge)),ye.add(new go.PathSegment(go.PathSegment.Line,0,se)),ye.add(new go.PathSegment(go.PathSegment.Bezier,se,0,0,ge,ge,0).close());var Ce=new go.PathFigure(te*.83,0,!1);ce.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.3)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.3)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*0).close());var Ne=new go.PathFigure(te*.83,ne*1,!1);ce.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,te*.83,ne*.5)),Ne.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*.5)),Ne.add(new go.PathSegment(go.PathSegment.Line,te*.17,ne*1).close());var Pe=new go.PathFigure(te*.78,ne*.05,!1);return ce.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.05)),Pe.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.25)),Pe.add(new go.PathSegment(go.PathSegment.Line,te*.78,ne*.25).close()),ce}),go.Shape.defineFigureGenerator("SpeechBubble",function(Me,te,ne){var ce=Me?Me.parameter1:NaN;(isNaN(ce)||ce<0)&&(ce=15),ce=Math.min(ce,te/3),ce=Math.min(ce,ne/3);var se=ce*ke,ge=ne*.8,ye=new go.Geometry,Ce=new go.PathFigure(ce,0,!0);return ye.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,te-ce,0)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te,ce,te-se,0,te,se)),Ce.add(new go.PathSegment(go.PathSegment.Line,te,ge-ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,te-ce,ge,te,ge-se,te-se,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.7,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne)),Ce.add(new go.PathSegment(go.PathSegment.Line,te*.55,ge)),Ce.add(new go.PathSegment(go.PathSegment.Line,ce,ge)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ge-ce,se,ge,0,ge-se)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ce,0,0,se,se,0).close()),se>1?(ye.spot1=new go.Spot(0,0,se,se),ye.spot2=new go.Spot(1,.8,-se,-se)):(ye.spot1=go.Spot.TopLeft,ye.spot2=new go.Spot(1,.8)),ye}),go.Shape.defineFigureGenerator("Repeat",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*.45,!0);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.2,ne*.45).close());var ge=new go.PathFigure(te*1,ne*.55,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.55)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.55)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*0)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*.55).close()),ce}),go.Shape.defineFigureGenerator("Windows",function(Me,te,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,te,0)).add(new go.PathSegment(go.PathSegment.Line,te,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()).add(new go.PathSegment(go.PathSegment.Move,.4*te,.4*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*te,.4*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.2*te,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,.2*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*te,.1*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.1*te,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.1*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*te,.6*ne).close()))}),go.Shape.defineFigureGenerator("Terminal",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*.1,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.9)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.9).close());var ge=new go.PathFigure(te*.1,ne*.2,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.22,ne*.285)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.32)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.1,ne*.37)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.32)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.275,ne*.25).close());var ye=new go.PathFigure(te*.28,ne*.37,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.37)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.41)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.28,ne*.41).close()),ce}),go.Shape.defineFigureGenerator("Beaker",function(Me,te,ne){var ce=new go.Geometry,se=15,ge=se*ke,ye=new go.PathFigure(te*.62,ne*.475,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te,ne-se)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te-se,ne,te,ne-ge,te-ge,ne)),ye.add(new go.PathSegment(go.PathSegment.Line,se,ne)),ye.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-se,ge,ne,0,ne-ge)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.475)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.38,ne*.03)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*0)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*0)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.62,ne*.03).close()),ge>1?(ce.spot1=new go.Spot(0,0,ge,ge),ce.spot2=new go.Spot(1,1,-ge,-ge)):(ce.spot1=go.Spot.TopLeft,ce.spot2=go.Spot.BottomRight),ce}),go.Shape.defineFigureGenerator("Download",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*1,!0);ce.add(se);var ge=.1/.3;se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-ge)).close());var ye=new go.PathFigure(te*.4,ne*0,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.44)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.44)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.66)),ye.add(new go.PathSegment(go.PathSegment.Line,te*(1-.26),ne*.44)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.44)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*0).close()),ce}),go.Shape.defineFigureGenerator("Bin",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*1,!0);ce.add(se);var ge=.1/.3;return se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-ge)).close()),ce}),go.Shape.defineFigureGenerator("Upload",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*0,ne*1,!0);ce.add(se);var ge=.1/.3;se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.8,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.66,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.755,ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*.93,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.64,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.61,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.39,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.36,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*.07,ne*(1-ge))),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.755),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*.055)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.66),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*(1-.8),ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*(1-ge)).close());var ye=new go.PathFigure(te*.5,ne*0,!0);return ce.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,te*.26,ne*.25)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.25)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.4,ne*.63)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.63)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.6,ne*.25)),ye.add(new go.PathSegment(go.PathSegment.Line,te*.74,ne*.25).close()),ce}),go.Shape.defineFigureGenerator("EmptyDrink",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.15,ne*0,!1);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close()),ce}),go.Shape.defineFigureGenerator("Drink",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.15,ne*0,!1);ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.85,ne*0)),se.add(new go.PathSegment(go.PathSegment.Line,te*.7,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.3,ne*1).close());var ge=new go.PathFigure(te*.235,ne*.28,!0);return ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,te*.765,ne*.28)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.655,ne*.97)),ge.add(new go.PathSegment(go.PathSegment.Line,te*.345,ne*.97).close()),ce}),go.Shape.defineFigureGenerator("4Arrows",function(Me,te,ne){var ce=new go.Geometry,se=new go.PathFigure(te*.5,ne*0,!0);return ce.add(se),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*1,ne*.5)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.65)),se.add(new go.PathSegment(go.PathSegment.Line,te*.75,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.55,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.65,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.5,ne*1)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.75)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.55)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.65)),se.add(new go.PathSegment(go.PathSegment.Line,te*0,ne*.5)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.35)),se.add(new go.PathSegment(go.PathSegment.Line,te*.25,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.45)),se.add(new go.PathSegment(go.PathSegment.Line,te*.45,ne*.25)),se.add(new go.PathSegment(go.PathSegment.Line,te*.35,ne*.25).close()),ce}),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")},80727: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 zn={},Nn="5.0",ve={},Se=null,Oe=!1,We=!1,Ot=null,et=!1,yt=null,ke=null,Bt=0;Bt4?parseFloat(Ft):5};zn.setHTML5Codebase=function(Ft,en){ke=Ft,At(Ft,en)},zn.setJavaCodebase=zn.setJavaCodebaseVersion=zn.isCompiledInstalled=zn.setPreCompiledScriptPath=zn.setPreCompiledResourcePath=function(){},zn.setHTML5CodebaseVersion=function(Ft,en){var sn=parseFloat(Ft);if(sn!==NaN&&sn<5){console.log("The GeoGebra HTML5 codebase version "+sn+" is deprecated. Using version latest instead.");return}yt=Ft,Re(Ft,en)},zn.getHTML5CodebaseVersion=function(){return Me},zn.getParameters=function(){return ve},zn.setFontsCSSURL=function(Ft){ye=Ft},zn.setGiacJSURL=function(Ft){},zn.setJNLPFile=function(Ft){tt=Ft},zn.setJNLPBaseDir=function(Ft){},zn.inject=function(){function Ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var en="auto",sn=ve.id,On,yn=!1,Tn=0;Tn=5)return!0;var Ft=zn.getAppletObject();return Ft&&typeof Ft.recalculateEnvironments=="function"?(Ft.recalculateEnvironments(),!0):!1},zn.startAnimation=function(){var Ft=zn.getAppletObject();return Ft&&typeof Ft.startAnimation=="function"?(Ft.startAnimation(),!0):!1},zn.stopAnimation=function(){var Ft=zn.getAppletObject();return Ft&&typeof Ft.stopAnimation=="function"?(Ft.stopAnimation(),!0):!1},zn.getAppletObject=function(){var Ft=ve.id!==void 0?ve.id:"ggbApplet";return window[Ft]},zn.resize=function(){};var ut=function(Ft,en,sn){var On=document.createElement("param");On.setAttribute("name",en),On.setAttribute("value",sn),Ft.appendChild(On)},Ue=function(Ft){return Ft&&Ft!=="false"},Nt=function(Ft,en,sn){Ne(Me)<=4.2&&(sn=!0);var On=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Me||ggbHTML5LoadedCodebaseIsWebSimple&&!ne)&&(On=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var yn=document.createElement("div");yn.classList.add("appletParameters","notranslate");var Tn=en.width,pt=en.height;if(en.disableAutoScale=en.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():en.disableAutoScale,en.width!==void 0)if(Ne(Me)<=4.4)Ue(en.showToolBar)&&(en.height-=7),Ue(en.showAlgebraInput)&&(en.height-=37),en.width<605&&Ue(en.showToolBar)&&(en.width=605,Tn=605);else{var Un=100;(Ue(en.showToolBar)||Ue(en.showMenuBar))&&(en.hasOwnProperty("customToolBar")&&(en.customToolbar=en.customToolBar),Un=Ue(en.showMenuBar)?245:155),Tn=5?(en.appletOnLoad=function(me){var Fe=Ft.querySelector(".ggb_preview");Fe&&Fe.parentNode.removeChild(Fe),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ni),window.GGBT_wsf_view&&$(window).trigger("resize"),An(me)},Qt||ni.appendChild(Jt)):yn.appendChild(Jt),ni.appendChild(yn),Qt||Ft.appendChild(ni),setTimeout(function(){zn.resize()},1)}else{var St=document.createElement("div");St.className="applet_scaler",St.style.position="relative",St.style.display="block",St.appendChild(yn),Ft.appendChild(St),en.appletOnLoad=function(me){zn.resize(),An(me)}}function Xe(me,Fe){Fe&&typeof Fe.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(me,Fe.appletOnLoad):renderGGBElement(me),Sn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Fe)}function Yt(me,Fe){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:me,params:Fe}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(He){Xe(He.article,He.params)}),html5AppletsToProcess=null)},Ne(Me)<5&&(me.className+=" geogebraweb")):Xe(me,Fe)}if(On){scriptLoadStarted=!0;for(var Kt=0;Kt0?(wn.remove(),ni.attr("id","fullscreencontent").show(),jQuery(An).append(ni),window.dispatchEvent(new Event("resize"))):Nt(wn,en,!1),window.GGBT_wsf_view.launchFullScreen(An)}else Ct=On,Nt(Ft,en,!1);if(!window.GGBT_wsf_view)for(pt=0;ptFt/4*3&&(wn=Ft/4*3),An=wn/5.8,Un.setAttribute("src",se),Un.setAttribute("width",wn),Un.setAttribute("height",An);var ni=(Ft-wn)/2,Qt=(en-An)/2;Un.style.left=ni+"px",Un.style.top=Qt+"px",yn.appendChild(Un)}}return yn.appendChild(pt),yn},Ut=function(Ft){return Ft=Ft.toLowerCase(),Ft==="html5"||Ft==="screenshot"?Ft:"html5"},ht=["web","webSimple","web3d","tablet","tablet3d","phone"],Re=function(Ft,en){if(Me=Ft,en){At(Me,!0);return}var sn=!Oe;if(sn){var On=Ne(Me);!isNaN(On)&&On<4.4&&(sn=!1)}var yn,Tn;window.location.protocol.substr(0,4)==="http"?yn=window.location.protocol:yn="http:";var pt=Me.indexOf("//");pt>0?Tn=Me:pt===0?Tn=yn+Me:Tn="https://www.geogebra.org/apps/5.2.814.0/";for(var Un in ht)if(Me.slice(ht[Un].length*-1)===ht[Un]||Me.slice((ht[Un].length+1)*-1)===ht[Un]+"/"){At(Tn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&sn&&!Se.is3D&&!Se.AV&&!Se.SV&&!Se.CV&&!Se.EV2&&!Se.CP&&!Se.PC&&!Se.DA&&!Se.FI&&!Se.PV&&!Ue(ve.showToolBar)&&!Ue(ve.showMenuBar)&&!Ue(ve.showAlgebraInput)&&!Ue(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Tn+="webSimple/":Tn+="web3d/",At(Tn,!1)},At=function(Ft,en){if(Ft.requirejs){gt=Ft;return}Ft.slice(-1)!=="/"&&(Ft+="/"),gt=Ft,en===null&&(en=Ft.indexOf("http")===-1),dt=en,te="web.nocache.js",ne=!1;var sn=gt.split("/");sn.length>1&&(!en&&sn[sn.length-2]==="webSimple"?(te="webSimple.nocache.js",ne=!0):ht.indexOf(sn[sn.length-2])>=0&&(te=sn[sn.length-2]+".nocache.js")),sn=Ft.split("/"),Me=sn[sn.length-3],Me.substr(0,4)==="test"?Me=Me.substr(4,1)+"."+Me.substr(5,1):(Me.substr(0,3)==="war"||Me.substr(0,4)==="beta")&&(Me="5.0");var On=parseFloat(Me);On!==NaN&&On<5&&Ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+On+" is deprecated. Using version latest instead."),Re("5.0",en))},Sn=function(Ft,en){window.console&&window.console.log&&(!en||typeof en.showLogging=="undefined"||en.showLogging&&en.showLogging!=="false")&&console.log(Ft)};ve.material_id!==void 0?Ke(mn):mn();function mn(){var Ft=Nn;yt!==null?Ft=yt:parseFloat(Ft)<5&&(Ft="5.0"),Re(Ft,!1),ke!==null&&At(ke,dt),et=!0}return zn},GGBAppletUtils=function(){"use strict";function zn(){return window.GGBT_wsf_edit!==void 0}function Nn(et,yt){yt!=1?(et.style.transformOrigin="0% 0% 0px",et.style.webkitTransformOrigin="0% 0% 0px",et.style.transform="scale("+yt+","+yt+")",et.style.webkitTransform="scale("+yt+","+yt+")",et.style.maxWidth="initial",et.querySelector(".ggb_preview")!==null&&(et.querySelector(".ggb_preview").style.maxWidth="initial"),et.querySelectorAll(".ggb_preview img")[0]!==void 0&&(et.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),et.querySelectorAll(".ggb_preview img")[1]!==void 0&&(et.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(et.style.transform="none",et.style.webkitTransform="none")}function ve(et,yt,ke,Bt,Et,tt){var gt=null;if(tt!=null&&tt!="")for(var dt=et.parentNode;dt!=null;)if((" "+dt.className+" ").indexOf(" "+tt+" ")>-1){gt=dt;break}else dt=dt.parentNode;var Ct=0,Me=0,te=0,ne=0,ce=0,se=0,ge=0;if(gt)Ct=gt.offsetWidth,Me=Math.max(Bt?gt.offsetWidth:0,gt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ct=Math.min(window.innerWidth,document.documentElement.clientWidth),Me=Math.min(window.innerHeight,document.documentElement.clientHeight),te=Ct):(Ct=window.innerWidth,Me=window.innerHeight,te=window.innerWidth),et){var ye=et.getBoundingClientRect();ye.left>0&&ye.left<=Ct&&(Et===void 0||!Et)&&(document.dir==="rtl"?(ce=Ct-ye.width-ye.left,se=te<=480?10:30):(se=ye.left,ce=te<=480?10:30),ne=se+ce)}if(et&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ce=et.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne=40,ge=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ne=0,ge=40)}}return et&&((ke===void 0||!ke)&&yt>0&&yt+ne1&&(tt=!0)),yt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(tt=!0),!(et.hasOwnProperty("disableAutoScale")&&et.disableAutoScale))Et=Se(et,yt,tt,ke,et.scaleContainerClass);else return Bt;return tt&&(!et.hasOwnProperty("scale")||Bt===1)?Et:Math.min(Bt,Et)}function We(et){var yt=Math.min(window.innerWidth,document.documentElement.clientWidth),ke=Math.min(window.innerHeight,document.documentElement.clientHeight),Bt=et.getBoundingClientRect(),Et=(yt-Bt.width)/2,tt=(ke-Bt.height)/2;tt<0&&(tt=0),et.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Et<40?et.style.left="40px":et.style.left=Et+"px",et.style.top=tt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(tt<40?et.style.top="40px":et.style.top=tt+"px",et.style.left=Et+"px")}function Ot(et,yt){var ke=et.querySelector(".appletParameters");if(ke){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(yt.id!==ke.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(et)}if(ke.parentElement&&/fullscreen/.test(ke.parentElement.className))return;var Bt=Oe(yt,et);zn()&&ke.setAttribute("data-param-scale",Bt);for(var Et=null,tt=0;tt=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(zn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(zn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(zn){var Nn=c[zn];return Nn==null?null:Nn},r=d,webModule.__errFn=e}function B(){function zn(et){var yt=et.lastIndexOf(rb);yt==-1&&(yt=et.length);var ke=et.indexOf(sb);ke==-1&&(ke=et.length);var Bt=et.lastIndexOf(tb,Math.min(ke,yt));return Bt>=O?et.substring(O,Bt+P):W}function Nn(et){if(!et.match(/^\w+:\/\//)){var yt=o.createElement(ub);yt.src=et+vb,et=zn(yt.src)}return et}function ve(){var et=__gwt_getMetaProperty(wb);return et!=null?et:W}function Se(){for(var et=o.getElementsByTagName(_),yt=O;ytO?et[et.length-P].href:W}function We(){var et=o.location;return et.href==et.protocol+zb+et.host+et.pathname+et.search+et.hash}var Ot=ve();return Ot==W&&(Ot=Se()),Ot==W&&(Ot=Oe()),Ot==W&&We()&&(Ot=zn(o.location.href)),Ot=Nn(Ot),Ot}function C(zn){return zn.match(/^\//)||zn.match(/^[a-zA-Z]+:\/\//)?zn:webModule.__moduleBase+zn}function D(){var zn=[],Nn=O,ve=[],Se=[];function Oe(et){var yt=Se[et](),ke=ve[et];if(yt in ke)return yt;var Bt=[];for(var Et in ke)Bt[ke[Et]]=Et;throw r&&r(et,Bt,yt),null}if(__gwt_isKnownPropertyValue=function(et,yt){return yt in ve[et]},webModule.__getPropMap=function(){var et={};for(var yt in ve)ve.hasOwnProperty(yt)&&(et[yt]=Oe(yt));return et},webModule.__computePropValue=Oe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var We;try{We=Cb;var Ot=We.indexOf(Db);Ot!=-1&&(Nn=parseInt(We.substring(Ot+P),$),We=We.substring(O,Ot))}catch(et){}return webModule.__softPermutationId=Nn,C(We+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},77903:function(zn,Nn,ve){"use strict";ve.d(Nn,{Ax:function(){return Ot},Ds:function(){return et},KI:function(){return ke},SI:function(){return We},f1:function(){return Oe}});var Se=ve(3294);function Oe(Bt){let Et=!0;if(Bt.length>0){for(let tt=0;tt0&&He[He.length-1])||In[0]!==6&&In[0]!==2)){mt=0;continue}if(In[0]===3&&(!He||In[1]>He[0]&&In[1]',"select"),this.addActionButton(Fe,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(Fe,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(Fe,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(Fe,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(Fe,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(Fe,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(Fe,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(Le){var mt=document.createElement("div");mt.className=""+me.toolbarButtonStyleClass.name,mt.setAttribute("data-type-name",Le.typeName),mt.innerHTML=Le.icon,mt.addEventListener("click",function(){me.markerToolbarButtonClicked(mt,Le)}),me.buttons.push(mt),me.markerButtons.push(mt)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var He=document.createElement("div");He.className=this.toolbarBlockStyleClass.name,He.style.whiteSpace="nowrap",He.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(He),this.addActionButton(He,'',"render"),this.addActionButton(He,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Be.prototype.addButtonClickListener=function(xe){this.buttonClickListeners.push(xe)},Be.prototype.removeButtonClickListener=function(xe){this.buttonClickListeners.indexOf(xe)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(xe),1)},Be.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Be.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var xe=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var me=0;me0&&this.buttonClickListeners.forEach(function(Fe){return Fe("marker",me)}),this.markerButtonOverflowBlock.style.display="none"},Be.prototype.actionToolbarButtonClicked=function(xe,me){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Fe){return Fe("action",me)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Be.prototype.setActiveButton=function(xe){this.resetButtonStyles(),xe.className=xe.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),xe.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Be.prototype.setActiveMarkerButton=function(xe){var me=this.markerButtons.find(function(Fe){return Fe.getAttribute("data-type-name")===xe});me&&this.setActiveButton(me)},Be.prototype.setCurrentMarker=function(xe){var me=this;this.currentMarker=xe,this.buttons.filter(function(Fe){return/delete|notes/.test(Fe.getAttribute("data-action"))}).forEach(function(Fe){me.currentMarker===void 0?(Fe.style.fillOpacity="0.4",Fe.style.pointerEvents="none"):(Fe.style.fillOpacity="1",Fe.style.pointerEvents="all")})},Be}(),ge=function(){function Be(xe,me,Fe,He){this.panels=[],this.panelButtons=[],this.markerjsContainer=xe,this.displayMode=me,this.uiStyleSettings=Fe,this.styles=He,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Be.prototype.addStyles=function(){var xe;this.toolboxStyleClass=this.styles.addClass(new ce("toolbox",` width: 100%; flex-shrink: 0; display: flex; flex-direction: column; font-family: sans-serif; `+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+` box-sizing: content-box; `+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+` `+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` `+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` overflow: hidden; `)),this.toolboxStyleColorsClass=this.styles.addClass(new ce("toolbox_colors",` color: `+this.uiStyleSettings.toolboxColor+`; `));var me=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ce("toolbox-button-row",` display: flex; cursor: default; box-sizing: content-box; `)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ce("toolbox-button-row_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`; `)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ce("toolbox-panel-row",` display: flex; `+(this.displayMode==="inline"?"position: absolute;":"")+` `+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+` cursor: default; height: `+1.5*this.uiStyleSettings.toolbarHeight+`px; `+(this.displayMode==="inline"?"width: 100%;":"")+` box-sizing: content-box; `)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ce("toolbox-panel-row_colors",` background-color: `+((xe=this.uiStyleSettings.toolboxBackgroundColor)!==null&&xe!==void 0?xe:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; `)),this.toolboxButtonStyleClass=this.styles.addClass(new ce("toolbox_button",` display: inline-block; width: `+(this.uiStyleSettings.toolbarHeight-2*me)+`px; height: `+(this.uiStyleSettings.toolbarHeight-2*me)+`px; padding: `+me+`px; box-sizing: content-box; `)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ce("toolbox-button_colors",` fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ce("toolbox-active-button_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.styles.addRule(new ne("."+this.toolboxButtonStyleColorsClass.name+":hover",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` `)),this.styles.addRule(new ne("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; `))},Be.prototype.show=function(xe){var me;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=xe,this.uiContainer.className=this.toolboxStyleClass.name+" "+((me=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&me!==void 0?me:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Be.prototype.setPanelButtons=function(xe){var me,Fe,He=this;this.panels=xe,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((me=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&me!==void 0?me:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Fe=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Fe!==void 0?Fe:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Le){var mt;Le.uiStyleSettings=He.uiStyleSettings;var zt=document.createElement("div");zt.className=He.toolboxButtonStyleClass.name+" "+((mt=He.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&mt!==void 0?mt:He.toolboxButtonStyleColorsClass.name),zt.innerHTML=Le.icon,zt.title=Le.title,zt.addEventListener("click",function(){He.panelButtonClick(Le)}),He.panelButtons.push(zt),He.buttonRow.appendChild(zt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Be.prototype.panelButtonClick=function(xe){var me=this,Fe=-1;if(xe!==this.activePanel){Fe=this.panels.indexOf(xe),this.panelRow.innerHTML="";var He=xe.getUi();He.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(He),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=xe}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){me.displayMode==="inline"?me.panelRow.style.display="none":me.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Le,mt){var zt,Pn;Le.className=me.toolboxButtonStyleClass.name+" "+(mt===Fe?""+((zt=me.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&zt!==void 0?zt:me.toolboxActiveButtonStyleColorsClass.name):""+((Pn=me.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Pn!==void 0?Pn:me.toolboxButtonStyleColorsClass.name))})},Be}(),ye=function(Be,xe){this.title=Be,this.icon=xe},Ce=function(Be){function xe(me,Fe,He,Le){var mt=Be.call(this,me,Le||'')||this;return mt.colors=[],mt.addTransparent=!1,mt.colorBoxes=[],mt.colors=Fe,mt.currentColor=He,mt.setCurrentColor=mt.setCurrentColor.bind(mt),mt.getColorBox=mt.getColorBox.bind(mt),mt}return ke(xe,Be),xe.prototype.getUi=function(){var me=this,Fe=document.createElement("div");return Fe.style.overflow="hidden",Fe.style.whiteSpace="nowrap",this.colors.forEach(function(He){var Le=me.getColorBox(He);Fe.appendChild(Le),me.colorBoxes.push(Le)}),Fe},xe.prototype.getColorBox=function(me){var Fe=this,He=this.uiStyleSettings.toolbarHeight/4,Le=this.uiStyleSettings.toolbarHeight-He,mt=document.createElement("div");mt.style.display="inline-block",mt.style.boxSizing="content-box",mt.style.width=Le-2+"px",mt.style.height=Le-2+"px",mt.style.padding="1px",mt.style.marginRight="2px",mt.style.marginBottom="2px",mt.style.borderWidth="2px",mt.style.borderStyle="solid",mt.style.borderRadius=(Le+2)/2+"px",mt.style.borderColor=me===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",mt.addEventListener("click",function(){Fe.setCurrentColor(me,mt)});var zt=document.createElement("div");return zt.style.display="inline-block",zt.style.width=Le-2+"px",zt.style.height=Le-2+"px",zt.style.backgroundColor=me,zt.style.borderRadius=Le/2+"px",me==="transparent"&&(zt.style.fill=this.uiStyleSettings.toolboxAccentColor,zt.innerHTML=` `),mt.appendChild(zt),mt},xe.prototype.setCurrentColor=function(me,Fe){var He=this;this.currentColor=me,this.colorBoxes.forEach(function(Le){Le.style.borderColor=Le===Fe?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(me)},xe}(ye),Ne=function(){function Be(xe,me,Fe){this._state="new",this._isSelected=!1,this._container=xe,this._overlayContainer=me,this.globalSettings=Fe,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Be.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Be.prototype.ownsTarget=function(xe){return!1},Object.defineProperty(Be.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Be.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Be.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Be.prototype.pointerDown=function(xe,me){},Be.prototype.dblClick=function(xe,me){},Be.prototype.manipulate=function(xe){},Be.prototype.pointerUp=function(xe){this.stateChanged()},Be.prototype.dispose=function(){},Be.prototype.addMarkerVisualToContainer=function(xe){this.container.childNodes.length>0?this.container.insertBefore(xe,this.container.childNodes[0]):this.container.appendChild(xe)},Be.prototype.getState=function(){return{typeName:Be.typeName,state:this.state,notes:this.notes}},Be.prototype.restoreState=function(xe){this._state=xe.state,this.notes=xe.notes},Be.prototype.scale=function(xe,me){},Be.prototype.colorChanged=function(xe){this.onColorChanged&&this.onColorChanged(xe),this.stateChanged()},Be.prototype.fillColorChanged=function(xe){this.onFillColorChanged&&this.onFillColorChanged(xe),this.stateChanged()},Be.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var xe=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),xe.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(xe)&&this.onStateChanged(this)}},Be.typeName="MarkerBase",Be}(),Pe=function(){function Be(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Be.prototype.findGripByVisual=function(xe){return this.topLeft.ownsTarget(xe)?this.topLeft:this.topCenter.ownsTarget(xe)?this.topCenter:this.topRight.ownsTarget(xe)?this.topRight:this.centerLeft.ownsTarget(xe)?this.centerLeft:this.centerRight.ownsTarget(xe)?this.centerRight:this.bottomLeft.ownsTarget(xe)?this.bottomLeft:this.bottomCenter.ownsTarget(xe)?this.bottomCenter:this.bottomRight.ownsTarget(xe)?this.bottomRight:void 0},Be}(),Ie=function(){function Be(){this.GRIP_SIZE=10,this.visual=gt.createGroup(),this.visual.appendChild(gt.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(gt.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Be.prototype.ownsTarget=function(xe){return xe===this.visual||xe===this.visual.childNodes[0]||xe===this.visual.childNodes[1]},Be}(),Ke=function(){function Be(){}return Be.toITransformMatrix=function(xe){return{a:xe.a,b:xe.b,c:xe.c,d:xe.d,e:xe.e,f:xe.f}},Be.toSVGMatrix=function(xe,me){return xe.a=me.a,xe.b=me.b,xe.c=me.c,xe.d=me.d,xe.e=me.e,xe.f=me.f,xe},Be}(),Ve=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.left=0,Le.top=0,Le.width=0,Le.height=0,Le.defaultSize={x:50,y:20},Le.offsetX=0,Le.offsetY=0,Le.rotationAngle=0,Le.CB_DISTANCE=10,Le._suppressMarkerCreateEvent=!1,Le.container.transform.baseVal.appendItem(gt.createTransform()),Le.setupControlBox(),Le}return ke(xe,Be),Object.defineProperty(xe.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(xe.prototype,"visual",{get:function(){return this._visual},set:function(me){this._visual=me;var Fe=gt.createTransform();this._visual.transform.baseVal.appendItem(Fe)},enumerable:!1,configurable:!0}),xe.prototype.ownsTarget=function(me){return!!Be.prototype.ownsTarget.call(this,me)||!!(this.controlGrips.findGripByVisual(me)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(me))},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.state==="new"&&(this.left=me.x,this.top=me.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var He=this.unrotatePoint(me);if(this.manipulationStartX=He.x,this.manipulationStartY=He.y,this.offsetX=He.x-this.left,this.offsetY=He.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Fe),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Fe)){this.activeGrip=this.rotatorGrip;var Le=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Le.x-this.width/2,this.top=Le.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var mt=this.container.transform.baseVal.getItem(0);mt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(mt,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},xe.prototype.pointerUp=function(me){var Fe=this.state;Be.prototype.pointerUp.call(this,me),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(me),this._state="select",Fe==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},xe.prototype.moveVisual=function(me){this.visual.style.transform="translate("+me.x+"px, "+me.y+"px)"},xe.prototype.manipulate=function(me){var Fe=this.unrotatePoint(me);this.state==="creating"?this.resize(me):this.state==="move"?(this.left=this.manipulationStartLeft+(Fe.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Fe.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Fe):this.state==="rotate"&&this.rotate(me)},xe.prototype.resize=function(me){var Fe=this.manipulationStartLeft,He=this.manipulationStartWidth,Le=this.manipulationStartTop,mt=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Fe=this.manipulationStartLeft+me.x-this.manipulationStartX,He=this.manipulationStartWidth+this.manipulationStartLeft-Fe;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:He=this.manipulationStartWidth+me.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Le=this.manipulationStartTop+me.y-this.manipulationStartY,mt=this.manipulationStartHeight+this.manipulationStartTop-Le;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:mt=this.manipulationStartHeight+me.y-this.manipulationStartY}He>=0?(this.left=Fe,this.width=He):(this.left=Fe+He,this.width=-He),mt>=0?(this.top=Le,this.height=mt):(this.top=Le+mt,this.height=-mt),this.setSize()},xe.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},xe.prototype.rotate=function(me){if(Math.abs(me.x-this.centerX)>.1){var Fe=Math.sign(me.x-this.centerX);this.rotationAngle=180*Math.atan((me.y-this.centerY)/(me.x-this.centerX))/Math.PI+90*Fe,this.applyRotation()}},xe.prototype.applyRotation=function(){var me=this.container.transform.baseVal.getItem(0);me.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(me,0)},xe.prototype.rotatePoint=function(me){if(this.rotationAngle===0)return me;var Fe=this.container.getCTM(),He=gt.createPoint(me.x,me.y);return{x:(He=He.matrixTransform(Fe)).x,y:He.y}},xe.prototype.unrotatePoint=function(me){if(this.rotationAngle===0)return me;var Fe=this.container.getCTM();Fe=Fe.inverse();var He=gt.createPoint(me.x,me.y);return{x:(He=He.matrixTransform(Fe)).x,y:He.y}},xe.prototype.select=function(){Be.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},xe.prototype.deselect=function(){Be.prototype.deselect.call(this),this.controlBox.style.display="none"},xe.prototype.setupControlBox=function(){this.controlBox=gt.createGroup();var me=gt.createTransform();me.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(me),this.container.appendChild(this.controlBox),this.controlRect=gt.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=gt.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Pe,this.addControlGrips(),this.controlBox.style.display="none"},xe.prototype.adjustControlBox=function(){var me=this.controlBox.transform.baseVal.getItem(0);me.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(me,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},xe.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},xe.prototype.createGrip=function(){var me=new Ie;return me.visual.transform.baseVal.appendItem(gt.createTransform()),this.controlBox.appendChild(me.visual),me},xe.prototype.positionGrips=function(){var me=this.controlGrips.topLeft.GRIP_SIZE,Fe=-me/2,He=Fe,Le=(this.width+this.CB_DISTANCE)/2-me/2,mt=(this.height+this.CB_DISTANCE)/2-me/2,zt=this.height+this.CB_DISTANCE-me/2,Pn=this.width+this.CB_DISTANCE-me/2;this.positionGrip(this.controlGrips.topLeft.visual,Fe,He),this.positionGrip(this.controlGrips.topCenter.visual,Le,He),this.positionGrip(this.controlGrips.topRight.visual,Pn,He),this.positionGrip(this.controlGrips.centerLeft.visual,Fe,mt),this.positionGrip(this.controlGrips.centerRight.visual,Pn,mt),this.positionGrip(this.controlGrips.bottomLeft.visual,Fe,zt),this.positionGrip(this.controlGrips.bottomCenter.visual,Le,zt),this.positionGrip(this.controlGrips.bottomRight.visual,Pn,zt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Le,He-3*this.CB_DISTANCE)},xe.prototype.positionGrip=function(me,Fe,He){var Le=me.transform.baseVal.getItem(0);Le.setTranslate(Fe,He),me.transform.baseVal.replaceItem(Le,0)},xe.prototype.hideControlBox=function(){this.controlBox.style.display="none"},xe.prototype.showControlBox=function(){this.controlBox.style.display=""},xe.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ke.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ke.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Be.prototype.getState.call(this))},xe.prototype.restoreState=function(me){Be.prototype.restoreState.call(this,me);var Fe=me;this.left=Fe.left,this.top=Fe.top,this.width=Fe.width,this.height=Fe.height,this.rotationAngle=Fe.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Fe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ke.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Fe.containerTransformMatrix))},xe.prototype.scale=function(me,Fe){Be.prototype.scale.call(this,me,Fe);var He=this.rotatePoint({x:this.left,y:this.top}),Le=this.unrotatePoint({x:He.x*me,y:He.y*Fe});this.left=Le.x,this.top=Le.y,this.width=this.width*me,this.height=this.height*Fe,this.adjustControlBox()},xe}(Ne),Ye=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.opacity=1,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!(!Be.prototype.ownsTarget.call(this,me)&&me!==this.visual)},xe.prototype.createVisual=function(){this.visual=gt.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.state==="new"&&(this.createVisual(),this.moveVisual(me),this._state="creating")},xe.prototype.manipulate=function(me){Be.prototype.manipulate.call(this,me)},xe.prototype.resize=function(me){Be.prototype.resize.call(this,me),this.setSize()},xe.prototype.setSize=function(){Be.prototype.setSize.call(this),gt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},xe.prototype.pointerUp=function(me){Be.prototype.pointerUp.call(this,me),this.setSize()},xe.prototype.setStrokeColor=function(me){this.strokeColor=me,this.visual&>.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(me),this.stateChanged()},xe.prototype.setFillColor=function(me){this.fillColor=me,this.visual&>.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},xe.prototype.setStrokeWidth=function(me){this.strokeWidth=me,this.visual&>.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},xe.prototype.setStrokeDasharray=function(me){this.strokeDasharray=me,this.visual&>.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},xe.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Be.prototype.getState.call(this))},xe.prototype.restoreState=function(me){var Fe=me;this.fillColor=Fe.fillColor,this.strokeColor=Fe.strokeColor,this.strokeWidth=Fe.strokeWidth,this.strokeDasharray=Fe.strokeDasharray,this.opacity=Fe.opacity,this.createVisual(),Be.prototype.restoreState.call(this,me),this.setSize()},xe.prototype.scale=function(me,Fe){Be.prototype.scale.call(this,me,Fe),this.setSize()},xe.title="Rectangle marker",xe}(Ve),ut=function(Be){function xe(me,Fe,He,Le){var mt=Be.call(this,me,Le||'')||this;return mt.widths=[],mt.widthBoxes=[],mt.widths=Fe,mt.currentWidth=He,mt.setCurrentWidth=mt.setCurrentWidth.bind(mt),mt}return ke(xe,Be),xe.prototype.getUi=function(){var me=this,Fe=document.createElement("div");return Fe.style.display="flex",Fe.style.overflow="hidden",Fe.style.flexGrow="2",this.widths.forEach(function(He){var Le=document.createElement("div");Le.style.display="flex",Le.style.flexGrow="2",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=He===me.currentWidth?me.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){me.setCurrentWidth(He,Le)}),Fe.appendChild(Le);var mt=document.createElement("div");mt.innerText=He.toString(),mt.style.marginRight="5px",Le.appendChild(mt);var zt=document.createElement("div");zt.style.minHeight="20px",zt.style.flexGrow="2",zt.style.display="flex",zt.style.alignItems="center";var Pn=document.createElement("hr");Pn.style.minWidth="20px",Pn.style.border="0px",Pn.style.borderTop=He+"px solid "+me.uiStyleSettings.toolboxColor,Pn.style.flexGrow="2",zt.appendChild(Pn),Le.appendChild(zt),me.widthBoxes.push(Le)}),Fe},xe.prototype.setCurrentWidth=function(me,Fe){var He=this;this.currentWidth=me,this.widthBoxes.forEach(function(Le){Le.style.borderColor=Le===Fe?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},xe}(ye),Ue=function(Be){function xe(me,Fe,He,Le){var mt=Be.call(this,me,Le||'')||this;return mt.styles=[],mt.styleBoxes=[],mt.styles=Fe,mt.currentStyle=He,mt.setCurrentStyle=mt.setCurrentStyle.bind(mt),mt}return ke(xe,Be),xe.prototype.getUi=function(){var me=this,Fe=document.createElement("div");return Fe.style.display="flex",Fe.style.overflow="hidden",Fe.style.flexGrow="2",this.styles.forEach(function(He){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/me.styles.length-5+"%",Le.style.borderColor=He===me.currentStyle?me.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){me.setCurrentStyle(He,Le)}),Fe.appendChild(Le);var mt=document.createElement("div");mt.style.minHeight="20px",mt.style.flexGrow="2",mt.style.overflow="hidden";var zt=` `;mt.innerHTML=zt,Le.appendChild(mt),me.styleBoxes.push(Le)}),Fe},xe.prototype.setCurrentStyle=function(me,Fe){var He=this;this.currentStyle=me,this.styleBoxes.forEach(function(Le){Le.style.borderColor=Le===Fe?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},xe}(ye),Nt=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.strokeColor=He.defaultColor,Le.strokeWidth=He.defaultStrokeWidth,Le.strokeDasharray=He.defaultStrokeDasharray,Le.strokePanel=new Ce("Line color",He.defaultColorSet,He.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new ut("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ue("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return ke(xe,Be),Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Be.prototype.getState.call(this);return me.typeName=xe.typeName,me},xe.typeName="FrameMarker",xe.title="Frame marker",xe.icon='',xe}(Ye),Qe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ht=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.x1=0,Le.y1=0,Le.x2=0,Le.y2=0,Le.defaultLength=50,Le.manipulationStartX=0,Le.manipulationStartY=0,Le.manipulationStartX1=0,Le.manipulationStartY1=0,Le.manipulationStartX2=0,Le.manipulationStartY2=0,Le.setupControlBox(),Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!!Be.prototype.ownsTarget.call(this,me)||!(!this.grip1.ownsTarget(me)&&!this.grip2.ownsTarget(me))},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.manipulationStartX=me.x,this.manipulationStartY=me.y,this.state==="new"&&(this.x1=me.x,this.y1=me.y,this.x2=me.x,this.y2=me.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Fe)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Fe)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},xe.prototype.pointerUp=function(me){var Fe=this.state;Be.prototype.pointerUp.call(this,me),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(me),this._state="select",Fe==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},xe.prototype.adjustVisual=function(){},xe.prototype.manipulate=function(me){this.state==="creating"?this.resize(me):this.state==="move"?(this.x1=this.manipulationStartX1+me.x-this.manipulationStartX,this.y1=this.manipulationStartY1+me.y-this.manipulationStartY,this.x2=this.manipulationStartX2+me.x-this.manipulationStartX,this.y2=this.manipulationStartY2+me.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(me)},xe.prototype.resize=function(me){switch(this.activeGrip){case this.grip1:this.x1=me.x,this.y1=me.y;break;case this.grip2:case void 0:this.x2=me.x,this.y2=me.y}this.adjustVisual(),this.adjustControlBox()},xe.prototype.select=function(){Be.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},xe.prototype.deselect=function(){Be.prototype.deselect.call(this),this.controlBox.style.display="none"},xe.prototype.setupControlBox=function(){this.controlBox=gt.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},xe.prototype.adjustControlBox=function(){this.positionGrips()},xe.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},xe.prototype.createGrip=function(){var me=new Ie;return me.visual.transform.baseVal.appendItem(gt.createTransform()),this.controlBox.appendChild(me.visual),me},xe.prototype.positionGrips=function(){var me=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-me/2,this.y1-me/2),this.positionGrip(this.grip2.visual,this.x2-me/2,this.y2-me/2)},xe.prototype.positionGrip=function(me,Fe,He){var Le=me.transform.baseVal.getItem(0);Le.setTranslate(Fe,He),me.transform.baseVal.replaceItem(Le,0)},xe.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Be.prototype.getState.call(this))},xe.prototype.restoreState=function(me){Be.prototype.restoreState.call(this,me);var Fe=me;this.x1=Fe.x1,this.y1=Fe.y1,this.x2=Fe.x2,this.y2=Fe.y2},xe.prototype.scale=function(me,Fe){Be.prototype.scale.call(this,me,Fe),this.x1=this.x1*me,this.y1=this.y1*Fe,this.x2=this.x2*me,this.y2=this.y2*Fe,this.adjustVisual(),this.adjustControlBox()},xe}(Ne),Rt=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.strokeColor=He.defaultColor,Le.strokeWidth=He.defaultStrokeWidth,Le.strokeDasharray=He.defaultStrokeDasharray,Le.strokePanel=new Ce("Line color",He.defaultColorSet,He.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new ut("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ue("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!(!Be.prototype.ownsTarget.call(this,me)&&me!==this.visual&&me!==this.selectorLine&&me!==this.visibleLine)},xe.prototype.createVisual=function(){this.visual=gt.createGroup(),this.selectorLine=gt.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=gt.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},xe.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),gt.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),gt.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),gt.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},xe.prototype.setStrokeColor=function(me){this.strokeColor=me,this.adjustVisual(),this.colorChanged(me)},xe.prototype.setStrokeWidth=function(me){this.strokeWidth=me,this.adjustVisual()},xe.prototype.setStrokeDasharray=function(me){this.strokeDasharray=me,this.adjustVisual(),this.stateChanged()},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Be.prototype.getState.call(this));return me.typeName=xe.typeName,me},xe.prototype.restoreState=function(me){Be.prototype.restoreState.call(this,me);var Fe=me;this.strokeColor=Fe.strokeColor,this.strokeWidth=Fe.strokeWidth,this.strokeDasharray=Fe.strokeDasharray,this.createVisual(),this.adjustVisual()},xe.typeName="LineMarker",xe.title="Line marker",xe.icon='',xe}(Ht),It=function(Be){function xe(me,Fe,He,Le){var mt=Be.call(this,me,Le||'')||this;return mt.fonts=[],mt.fontBoxes=[],mt.fonts=Fe,mt.currentFont=He,mt.setCurrentFont=mt.setCurrentFont.bind(mt),mt}return ke(xe,Be),xe.prototype.getUi=function(){var me=this,Fe=document.createElement("div");return Fe.style.overflow="hidden",Fe.style.flexGrow="2",this.fonts.forEach(function(He){var Le=document.createElement("div");Le.style.display="inline-block",Le.style.alignItems="center",Le.style.justifyContent="space-between",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.overflow="hidden",Le.style.maxWidth=100/me.fonts.length-5+"%",Le.style.borderColor=He===me.currentFont?me.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){me.setCurrentFont(He,Le)}),Fe.appendChild(Le);var mt=document.createElement("div");mt.style.display="flex",mt.style.minHeight="20px",mt.style.flexGrow="2",mt.style.fontFamily=He,mt.style.overflow="hidden";var zt=document.createElement("div");zt.style.whiteSpace="nowrap",zt.style.overflow="hidden",zt.style.textOverflow="ellipsis",zt.innerHTML="The quick brown fox jumps over the lazy dog",mt.appendChild(zt),Le.appendChild(mt),me.fontBoxes.push(Le)}),Fe},xe.prototype.setCurrentFont=function(me,Fe){var He=this;this.currentFont=me,this.fontBoxes.forEach(function(Le){Le.style.borderColor=Le===Fe?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},xe}(ye),Lt=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.color="transparent",Le.padding=5,Le.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Le.text=Le.DEFAULT_TEXT,Le.isMoved=!1,Le.color=He.defaultColor,Le.fontFamily=He.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setColor=Le.setColor.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.renderText=Le.renderText.bind(Le),Le.sizeText=Le.sizeText.bind(Le),Le.textEditDivClicked=Le.textEditDivClicked.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.setSize=Le.setSize.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.colorPanel=new Ce("Color",He.defaultColorSet,He.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.fontFamilyPanel=new It("Font",He.defaultFontFamilies,He.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){if(Be.prototype.ownsTarget.call(this,me)||me===this.visual||me===this.textElement||me===this.bgRectangle)return!0;var Fe=!1;return this.textElement.childNodes.forEach(function(He){He===me&&(Fe=!0)}),Fe},xe.prototype.createVisual=function(){this.visual=gt.createGroup(),this.bgRectangle=gt.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=gt.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(gt.createTransform()),this.textElement.transform.baseVal.appendItem(gt.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.isMoved=!1,this.pointerDownPoint=me,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(me),this._state="creating")},xe.prototype.renderText=function(){var me=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Fe){me.textElement.appendChild(gt.createTSpan(Fe.trim()===""?" ":Fe.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},xe.prototype.getTextScale=function(){var me=this.textElement.getBBox(),Fe=1;if(me.width>0&&me.height>0){var He=(1*this.width-this.width*this.padding*2/100)/me.width,Le=(1*this.height-this.height*this.padding*2/100)/me.height;Fe=Math.min(He,Le)}return Fe},xe.prototype.getTextPosition=function(me){var Fe=this.textElement.getBBox(),He=0,Le=0;return Fe.width>0&&Fe.height>0&&(He=(this.width-Fe.width*me)/2,Le=this.height/2-Fe.height*me/2),{x:He,y:Le}},xe.prototype.sizeText=function(){var me=this.textElement.getBBox(),Fe=this.getTextScale(),He=this.getTextPosition(Fe);He.y-=me.y*Fe,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+He.x+"px, "+He.y+"px) scale("+Fe+", "+Fe+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(He.x,He.y),this.textElement.transform.baseVal.getItem(1).setScale(Fe,Fe))},xe.prototype.manipulate=function(me){Be.prototype.manipulate.call(this,me),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(me.x-this.pointerDownPoint.x)>5||Math.abs(me.y-this.pointerDownPoint.y)>5)},xe.prototype.resize=function(me){Be.prototype.resize.call(this,me),this.isMoved=!0,this.setSize(),this.sizeText()},xe.prototype.setSize=function(){Be.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(gt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),gt.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},xe.prototype.pointerUp=function(me){var Fe=this.state;Fe==="creating"&&(this._suppressMarkerCreateEvent=!0),Be.prototype.pointerUp.call(this,me),this.setSize(),(Fe==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},xe.prototype.showTextEditor=function(){var me=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Fe){Fe.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Fe=Number.parseFloat(me.textEditor.style.fontSize);me.textEditor.clientWidth>=Number.parseInt(me.textEditor.style.maxWidth)&&Fe>.9;)Fe-=.1,me.textEditor.style.fontSize=Math.max(Fe,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Fe){Fe.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Fe){if(Fe.clipboardData){var He=Fe.clipboardData.getData("text"),Le=window.getSelection();if(!Le.rangeCount)return!1;Le.deleteFromDocument(),Le.getRangeAt(0).insertNode(document.createTextNode(He)),Fe.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){me.textEditDivClicked(me.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},xe.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var me=this.getTextScale(),Fe=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),He=this.textElement.getBBox(),Le={x:He.width*me,y:He.height*me};Fe.x-=Le.x/2,Fe.y-=Le.y/2,this.textEditor.style.top=Fe.y+"px",this.textEditor.style.left=Fe.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Fe.x+"px",this.textEditor.style.fontSize=Math.max(16*me,12)+"px",this.textElement.style.display="none"}},xe.prototype.textEditDivClicked=function(me){this.text=me.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},xe.prototype.select=function(){Be.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},xe.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Be.prototype.deselect.call(this)},xe.prototype.dblClick=function(me,Fe){Be.prototype.dblClick.call(this,me,Fe),this.showTextEditor()},xe.prototype.setColor=function(me){this.textElement&>.setAttributes(this.textElement,[["fill",me]]),this.color=me,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(me)},xe.prototype.setFont=function(me){this.textElement&>.setAttributes(this.textElement,[["font-family",me]]),this.fontFamily=me,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},xe.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},xe.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Be.prototype.getState.call(this));return me.typeName=xe.typeName,me},xe.prototype.restoreState=function(me){var Fe=me;this.color=Fe.color,this.fontFamily=Fe.fontFamily,this.padding=Fe.padding,this.text=Fe.text,this.createVisual(),Be.prototype.restoreState.call(this,me),this.setSize()},xe.prototype.scale=function(me,Fe){Be.prototype.scale.call(this,me,Fe),this.setSize(),this.sizeText(),this.positionTextEditor()},xe.typeName="TextMarker",xe.title="Text marker",xe.icon='',xe}(Ve),Ut=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.color="transparent",Le.lineWidth=3,Le.drawing=!1,Le.pixelRatio=1,Le.color=He.defaultColor,Le.lineWidth=He.defaultStrokeWidth,Le.pixelRatio=He.freehandPixelRatio,Le.setColor=Le.setColor.bind(Le),Le.addCanvas=Le.addCanvas.bind(Le),Le.finishCreation=Le.finishCreation.bind(Le),Le.setLineWidth=Le.setLineWidth.bind(Le),Le.colorPanel=new Ce("Color",He.defaultColorSet,He.defaultColor),Le.colorPanel.onColorChanged=Le.setColor,Le.lineWidthPanel=new ut("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),Le.lineWidthPanel.onWidthChanged=Le.setLineWidth,Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!(!Be.prototype.ownsTarget.call(this,me)&&me!==this.visual&&me!==this.drawingImage)},xe.prototype.createVisual=function(){this.visual=gt.createGroup(),this.drawingImage=gt.createImage(),this.visual.appendChild(this.drawingImage);var me=gt.createTransform();this.visual.transform.baseVal.appendItem(me),this.addMarkerVisualToContainer(this.visual)},xe.prototype.pointerDown=function(me,Fe){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(me.x,me.y),this.drawing=!0):Be.prototype.pointerDown.call(this,me,Fe)},xe.prototype.manipulate=function(me){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(me.x,me.y),this.canvasContext.stroke()):Be.prototype.manipulate.call(this,me)},xe.prototype.resize=function(me){Be.prototype.resize.call(this,me),gt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),gt.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},xe.prototype.pointerUp=function(me){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Be.prototype.pointerUp.call(this,me)},xe.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},xe.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Be.prototype.select.call(this)},xe.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Be.prototype.deselect.call(this)},xe.prototype.finishCreation=function(){for(var me=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Fe=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],He=Fe[0],Le=Fe[1],mt=Fe[2],zt=Fe[3],Pn=!1,rn=0;rn0&&(Pn=!0,rnzt&&(zt=rn),In>mt&&(mt=In));if(Pn){this.left=He/this.pixelRatio,this.top=Le/this.pixelRatio,this.width=(mt-He)/this.pixelRatio,this.height=(zt-Le)/this.pixelRatio;var Gn=document.createElement("canvas");Gn.width=mt-He,Gn.height=zt-Le,Gn.getContext("2d").putImageData(this.canvasContext.getImageData(He,Le,mt-He,zt-Le),0,0),this.drawingImgUrl=Gn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},xe.prototype.setDrawingImage=function(){gt.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),gt.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},xe.prototype.setColor=function(me){this.color=me,this.colorChanged(me)},xe.prototype.setLineWidth=function(me){this.lineWidth=me},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Object.assign({drawingImgUrl:this.drawingImgUrl},Be.prototype.getState.call(this));return me.typeName=xe.typeName,me},xe.prototype.restoreState=function(me){this.createVisual(),Be.prototype.restoreState.call(this,me),this.drawingImgUrl=me.drawingImgUrl,this.setDrawingImage()},xe.prototype.scale=function(me,Fe){Be.prototype.scale.call(this,me,Fe),this.setDrawingImage()},xe.typeName="FreehandMarker",xe.title="Freehand marker",xe.icon='',xe}(Ve),ht=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,He||'')||this;return Le.typeBoxes=[],Le.currentType=Fe,Le.setCurrentType=Le.setCurrentType.bind(Le),Le}return ke(xe,Be),xe.prototype.getUi=function(){var me=this,Fe=document.createElement("div");Fe.style.display="flex",Fe.style.overflow="hidden",Fe.style.flexGrow="2";for(var He=function(zt){var Pn="both";switch(zt){case 0:Pn="both";break;case 1:Pn="start";break;case 2:Pn="end";break;case 3:Pn="none"}var rn=document.createElement("div");if(rn.style.display="flex",rn.style.flexGrow="2",rn.style.alignItems="center",rn.style.justifyContent="space-between",rn.style.padding="5px",rn.style.borderWidth="2px",rn.style.borderStyle="solid",rn.style.borderColor=Pn===Le.currentType?Le.uiStyleSettings.toolboxAccentColor:"transparent",rn.addEventListener("click",function(){me.setCurrentType(Pn,rn)}),Fe.appendChild(rn),Pn==="both"||Pn==="start"){var In=document.createElement("div");In.style.display="flex",In.style.alignItems="center",In.style.minHeight="20px",In.innerHTML=` `,In.style.marginLeft="5px",rn.appendChild(In)}var Gn=document.createElement("div");Gn.style.display="flex",Gn.style.alignItems="center",Gn.style.minHeight="20px",Gn.style.flexGrow="2";var Pi=document.createElement("hr");if(Pi.style.minWidth="20px",Pi.style.border="0px",Pi.style.borderTop="3px solid "+(Le.uiStyleSettings!==void 0?Le.uiStyleSettings.toolboxColor:"#eeeeee"),Pi.style.flexGrow="2",Gn.appendChild(Pi),rn.appendChild(Gn),Pn==="both"||Pn==="end"){var Di=document.createElement("div");Di.style.display="flex",Di.style.alignItems="center",Di.style.minHeight="20px",Di.innerHTML=` `,Di.style.marginRight="5px",rn.appendChild(Di)}Le.typeBoxes.push(rn)},Le=this,mt=0;mt<4;mt++)He(mt);return Fe},xe.prototype.setCurrentType=function(me,Fe){var He=this;this.currentType=me,this.typeBoxes.forEach(function(Le){Le.style.borderColor=Le===Fe?He.uiStyleSettings!==void 0?He.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},xe}(ye),Re=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.arrowType="end",Le.arrowBaseHeight=10,Le.arrowBaseWidth=10,Le.getArrowPoints=Le.getArrowPoints.bind(Le),Le.setArrowType=Le.setArrowType.bind(Le),Le.arrowTypePanel=new ht("Arrow type","end"),Le.arrowTypePanel.onArrowTypeChanged=Le.setArrowType,Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!(!Be.prototype.ownsTarget.call(this,me)&&me!==this.arrow1&&me!==this.arrow2)},xe.prototype.getArrowPoints=function(me,Fe){var He=this.arrowBaseWidth+2*this.strokeWidth,Le=this.arrowBaseHeight+2*this.strokeWidth;return me-He/2+","+(Fe+Le/2)+" "+me+","+(Fe-Le/2)+" "+(me+He/2)+","+(Fe+Le/2)},xe.prototype.createTips=function(){this.arrow1=gt.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(gt.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=gt.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(gt.createTransform()),this.visual.appendChild(this.arrow2)},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.state==="creating"&&this.createTips()},xe.prototype.adjustVisual=function(){if(Be.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",gt.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),gt.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var me=0;Math.abs(this.x1-this.x2)>.1&&(me=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Fe=this.arrow1.transform.baseVal.getItem(0);Fe.setRotate(me,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Fe,0);var He=this.arrow2.transform.baseVal.getItem(0);He.setRotate(me+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(He,0)}},xe.prototype.setArrowType=function(me){this.arrowType=me,this.adjustVisual(),this.stateChanged()},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Object.assign({arrowType:this.arrowType},Be.prototype.getState.call(this));return me.typeName=xe.typeName,me},xe.prototype.restoreState=function(me){Be.prototype.restoreState.call(this,me);var Fe=me;this.arrowType=Fe.arrowType,this.createTips(),this.adjustVisual()},xe.typeName="ArrowMarker",xe.title="Arrow marker",xe.icon='',xe}(Rt),At=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.fillColor=He.defaultFillColor,Le.strokeWidth=0,Le.fillPanel=new Ce("Color",He.defaultColorSet,He.defaultFillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le}return ke(xe,Be),Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Be.prototype.getState.call(this);return me.typeName=xe.typeName,me},xe.typeName="CoverMarker",xe.title="Cover marker",xe.icon='',xe}(Ye),Sn=function(Be){function xe(me,Fe,He,Le){var mt=Be.call(this,me,Le||'')||this;return mt.opacities=[],mt.opacityBoxes=[],mt.opacities=Fe,mt.currentOpacity=He,mt.setCurrentOpacity=mt.setCurrentOpacity.bind(mt),mt}return ke(xe,Be),xe.prototype.getUi=function(){var me=this,Fe=document.createElement("div");return Fe.style.display="flex",Fe.style.overflow="hidden",Fe.style.flexGrow="2",Fe.style.justifyContent="space-between",this.opacities.forEach(function(He){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.justifyContent="center",Le.style.padding="5px",Le.style.borderWidth="2px",Le.style.borderStyle="solid",Le.style.borderColor=He===me.currentOpacity?me.uiStyleSettings.toolboxAccentColor:"transparent",Le.addEventListener("click",function(){me.setCurrentOpacity(He,Le)}),Fe.appendChild(Le);var mt=document.createElement("div");mt.innerText=100*He+"%",Le.appendChild(mt),me.opacityBoxes.push(Le)}),Fe},xe.prototype.setCurrentOpacity=function(me,Fe){var He=this;this.currentOpacity=me,this.opacityBoxes.forEach(function(Le){Le.style.borderColor=Le===Fe?He.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},xe}(ye),mn=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.setOpacity=Le.setOpacity.bind(Le),Le.fillColor=He.defaultHighlightColor,Le.strokeWidth=0,Le.opacity=He.defaultHighlightOpacity,Le.fillPanel=new Ce("Color",He.defaultColorSet,Le.fillColor),Le.fillPanel.onColorChanged=Le.setFillColor,Le.opacityPanel=new Sn("Opacity",He.defaultOpacitySteps,Le.opacity),Le.opacityPanel.onOpacityChanged=Le.setOpacity,Le}return ke(xe,Be),xe.prototype.setOpacity=function(me){this.opacity=me,this.visual&>.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Be.prototype.getState.call(this);return me.typeName=xe.typeName,me},xe.typeName="HighlightMarker",xe.title="Highlight marker",xe.icon='',xe}(At),Ft='',en='',sn=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.bgColor="transparent",Le.tipPosition={x:0,y:0},Le.tipBase1Position={x:0,y:0},Le.tipBase2Position={x:0,y:0},Le.tipMoving=!1,Le.color=He.defaultStrokeColor,Le.bgColor=He.defaultFillColor,Le.fontFamily=He.defaultFontFamily,Le.defaultSize={x:100,y:30},Le.setBgColor=Le.setBgColor.bind(Le),Le.getTipPoints=Le.getTipPoints.bind(Le),Le.positionTip=Le.positionTip.bind(Le),Le.setTipPoints=Le.setTipPoints.bind(Le),Le.colorPanel=new Ce("Text color",He.defaultColorSet,Le.color,Ft),Le.colorPanel.onColorChanged=Le.setColor,Le.bgColorPanel=new Ce("Fill color",He.defaultColorSet,Le.bgColor,en),Le.bgColorPanel.onColorChanged=Le.setBgColor,Le.fontFamilyPanel=new It("Font",He.defaultFontFamilies,He.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.tipGrip=new Ie,Le.tipGrip.visual.transform.baseVal.appendItem(gt.createTransform()),Le.controlBox.appendChild(Le.tipGrip.visual),Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return Be.prototype.ownsTarget.call(this,me)||this.tipGrip.ownsTarget(me)||this.tip===me},xe.prototype.createTip=function(){gt.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=gt.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},xe.prototype.pointerDown=function(me,Fe){this.state==="new"&&Be.prototype.pointerDown.call(this,me,Fe),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Fe)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Be.prototype.pointerDown.call(this,me,Fe)},xe.prototype.pointerUp=function(me){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Be.prototype.pointerUp.call(this,me);else{var Fe=this.state==="creating";Be.prototype.pointerUp.call(this,me),this.setTipPoints(Fe),this.positionTip()}},xe.prototype.manipulate=function(me){if(this.tipMoving){var Fe=this.unrotatePoint(me);this.tipPosition={x:Fe.x-this.manipulationStartLeft,y:Fe.y-this.manipulationStartTop},this.positionTip()}else Be.prototype.manipulate.call(this,me)},xe.prototype.setBgColor=function(me){this.bgRectangle&&this.tip&&(gt.setAttributes(this.bgRectangle,[["fill",me]]),gt.setAttributes(this.tip,[["fill",me]])),this.bgColor=me,this.fillColorChanged(me)},xe.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},xe.prototype.setTipPoints=function(me){me===void 0&&(me=!1);var Fe=Math.min(this.height/2,15),He=this.height/5;me&&(this.tipPosition={x:Fe+He/2,y:this.height+20});var Le=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?Le.1)){var me=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Fe=this.tip1.transform.baseVal.getItem(0);Fe.setRotate(me,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Fe,0);var He=this.tip2.transform.baseVal.getItem(0);He.setRotate(me+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(He,0)}},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Be.prototype.getState.call(this);return me.typeName=xe.typeName,me},xe.prototype.restoreState=function(me){Be.prototype.restoreState.call(this,me),this.createTips(),this.adjustVisual()},xe.typeName="MeasurementMarker",xe.title="Measurement marker",xe.icon='',xe}(Rt),Tn=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.strokePanel.colors=He.defaultColorSet,Le.fillColor="transparent",Le}return ke(xe,Be),Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Be.prototype.getState.call(this);return me.typeName=xe.typeName,me},xe.typeName="EllipseFrameMarker",xe.title="Ellipse frame marker",xe.icon='',xe}(On),pt=function(){function Be(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Be.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Be.prototype.addUndoStep=function(xe){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(xe)||(this.undoStack.push(xe),JSON.stringify(this.lastRedoStep)!==JSON.stringify(xe)&&this.redoStack.splice(0,this.redoStack.length))},Be.prototype.replaceLastUndoStep=function(xe){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=xe)},Be.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Be.prototype.undo=function(){if(this.undoStack.length>1){var xe=this.undoStack.pop();return xe!==void 0&&this.redoStack.push(xe),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Be.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Be}(),Un=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.curveX=0,Le.curveY=0,Le.manipulationStartCurveX=0,Le.manipulationStartCurveY=0,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.positionGrips=Le.positionGrips.bind(Le),Le.addControlGrips=Le.addControlGrips.bind(Le),Le.adjustVisual=Le.adjustVisual.bind(Le),Le.setupControlBox=Le.setupControlBox.bind(Le),Le.resize=Le.resize.bind(Le),Le.strokeColor=He.defaultColor,Le.strokeWidth=He.defaultStrokeWidth,Le.strokeDasharray=He.defaultStrokeDasharray,Le.strokePanel=new Ce("Line color",He.defaultColorSet,He.defaultColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.strokeWidthPanel=new ut("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ue("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!(!Be.prototype.ownsTarget.call(this,me)&&me!==this.visual&&me!==this.selectorCurve&&me!==this.visibleCurve&&!this.curveGrip.ownsTarget(me))},xe.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},xe.prototype.createVisual=function(){this.visual=gt.createGroup(),this.selectorCurve=gt.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=gt.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=me.x,this.curveY=me.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Fe)&&(this.activeGrip=this.curveGrip,this._state="resize")},xe.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),gt.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),gt.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),gt.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},xe.prototype.setupControlBox=function(){Be.prototype.setupControlBox.call(this),this.curveControlLine1=gt.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=gt.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},xe.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Be.prototype.addControlGrips.call(this)},xe.prototype.positionGrips=function(){Be.prototype.positionGrips.call(this);var me=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-me/2,this.curveY-me/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},xe.prototype.manipulate=function(me){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+me.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+me.y-this.manipulationStartY),Be.prototype.manipulate.call(this,me)},xe.prototype.resize=function(me){this.activeGrip===this.curveGrip&&(this.curveX=me.x,this.curveY=me.y),Be.prototype.resize.call(this,me),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},xe.prototype.setStrokeColor=function(me){this.strokeColor=me,this.adjustVisual(),this.colorChanged(me)},xe.prototype.setStrokeWidth=function(me){this.strokeWidth=me,this.adjustVisual()},xe.prototype.setStrokeDasharray=function(me){this.strokeDasharray=me,this.adjustVisual()},xe.prototype.scale=function(me,Fe){this.curveX=this.curveX*me,this.curveY=this.curveY*Fe,Be.prototype.scale.call(this,me,Fe)},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Be.prototype.getState.call(this));return me.typeName=xe.typeName,me},xe.prototype.restoreState=function(me){Be.prototype.restoreState.call(this,me);var Fe=me;this.strokeColor=Fe.strokeColor,this.strokeWidth=Fe.strokeWidth,this.strokeDasharray=Fe.strokeDasharray,this.curveX=Fe.curveX,this.curveY=Fe.curveY,this.createVisual(),this.adjustVisual()},xe.typeName="CurveMarker",xe.title="Curve marker",xe.icon='',xe}(Ht),wn=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,Fe,He)||this;return Le.fillColor="transparent",Le.strokeColor="transparent",Le.strokeWidth=0,Le.strokeDasharray="",Le.textColor="transparent",Le.fontSize="1rem",Le.isMoved=!1,Le.captionText="Caption",Le.PADDING=5,Le.captionBoxWidth=0,Le.captionBoxHeight=0,Le.strokeColor=He.defaultColor,Le.strokeWidth=He.defaultStrokeWidth,Le.strokeDasharray=He.defaultStrokeDasharray,Le.fillColor=He.defaultFillColor,Le.textColor=He.defaultStrokeColor,Le.fontFamily=He.defaultFontFamily,Le.fontSize=He.defaultCaptionFontSize,Le.captionText=He.defaultCaptionText,Le.setStrokeColor=Le.setStrokeColor.bind(Le),Le.setFillColor=Le.setFillColor.bind(Le),Le.setStrokeWidth=Le.setStrokeWidth.bind(Le),Le.setStrokeDasharray=Le.setStrokeDasharray.bind(Le),Le.createVisual=Le.createVisual.bind(Le),Le.sizeCaption=Le.sizeCaption.bind(Le),Le.setCaptionText=Le.setCaptionText.bind(Le),Le.showTextEditor=Le.showTextEditor.bind(Le),Le.positionTextEditor=Le.positionTextEditor.bind(Le),Le.finishTextEditing=Le.finishTextEditing.bind(Le),Le.setFont=Le.setFont.bind(Le),Le.setTextColor=Le.setTextColor.bind(Le),Le.strokePanel=new Ce("Line color",tt(He.defaultColorSet,["transparent"]),Le.strokeColor),Le.strokePanel.onColorChanged=Le.setStrokeColor,Le.fillPanel=new Ce("Fill color",tt(He.defaultColorSet,["transparent"]),Le.fillColor,en),Le.fillPanel.onColorChanged=Le.setFillColor,Le.strokeWidthPanel=new ut("Line width",He.defaultStrokeWidths,He.defaultStrokeWidth),Le.strokeWidthPanel.onWidthChanged=Le.setStrokeWidth,Le.strokeStylePanel=new Ue("Line style",He.defaultStrokeDasharrays,He.defaultStrokeDasharray),Le.strokeStylePanel.onStyleChanged=Le.setStrokeDasharray,Le.fontFamilyPanel=new It("Font",He.defaultFontFamilies,He.defaultFontFamily),Le.fontFamilyPanel.onFontChanged=Le.setFont,Le.textColorPanel=new Ce("Text color",He.defaultColorSet,Le.textColor,Ft),Le.textColorPanel.onColorChanged=Le.setTextColor,Le}return ke(xe,Be),xe.prototype.ownsTarget=function(me){return!(!Be.prototype.ownsTarget.call(this,me)&&me!==this.visual&&me!==this.frame&&me!==this.captionBg&&me!==this.captionElement)},xe.prototype.createVisual=function(){this.visual=gt.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=gt.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=gt.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=gt.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},xe.prototype.setCaptionText=function(me){this.captionText=me,this.captionElement.textContent=this.captionText,this.sizeCaption()},xe.prototype.pointerDown=function(me,Fe){Be.prototype.pointerDown.call(this,me,Fe),this.isMoved=!1,this.pointerDownPoint=me,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(me),this._state="creating")},xe.prototype.manipulate=function(me){Be.prototype.manipulate.call(this,me),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(me.x-this.pointerDownPoint.x)>5||Math.abs(me.y-this.pointerDownPoint.y)>5)},xe.prototype.resize=function(me){Be.prototype.resize.call(this,me),this.setSize()},xe.prototype.sizeCaption=function(){var me=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=me.width+2*this.PADDING,this.captionBoxHeight=me.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),gt.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),gt.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},xe.prototype.showTextEditor=function(){var me=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Fe){Fe.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Fe){Fe.key==="Enter"&&me.finishTextEditing(me.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Fe){Fe.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){me.finishTextEditing(me.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){me.finishTextEditing(me.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},xe.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},xe.prototype.finishTextEditing=function(me){this.setCaptionText(me.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},xe.prototype.setFont=function(me){this.captionElement&>.setAttributes(this.captionElement,[["font-family",me]]),this.fontFamily=me,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},xe.prototype.setTextColor=function(me){this.captionElement&>.setAttributes(this.captionElement,[["fill",me]]),this.textColor=me,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},xe.prototype.setSize=function(){Be.prototype.setSize.call(this),gt.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},xe.prototype.pointerUp=function(me){Be.prototype.pointerUp.call(this,me),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},xe.prototype.dblClick=function(me,Fe){Be.prototype.dblClick.call(this,me,Fe),this.showTextEditor()},xe.prototype.setStrokeColor=function(me){this.strokeColor=me,this.frame&>.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(me),this.stateChanged()},xe.prototype.setFillColor=function(me){this.fillColor=me,this.captionBg&>.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(me),this.stateChanged()},xe.prototype.setStrokeWidth=function(me){this.strokeWidth=me,this.frame&>.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},xe.prototype.setStrokeDasharray=function(me){this.strokeDasharray=me,this.frame&>.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(xe.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),xe.prototype.getState=function(){var me=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Be.prototype.getState.call(this));return me.typeName=this.typeName,me},xe.prototype.restoreState=function(me){var Fe=me;this.fillColor=Fe.fillColor,this.strokeColor=Fe.strokeColor,this.strokeWidth=Fe.strokeWidth,this.strokeDasharray=Fe.strokeDasharray,this.textColor=Fe.textColor,this.fontFamily=Fe.fontFamily,this.captionText=Fe.captionText,this.fontSize=Fe.fontSize,this.createVisual(),Be.prototype.restoreState.call(this,me),this.setSize()},xe.prototype.scale=function(me,Fe){Be.prototype.scale.call(this,me,Fe),this.setSize()},xe.typeName="CaptionFrameMarker",xe.title="Caption frame marker",xe.icon='',xe}(Ve),An=function(){function Be(xe,me){me===void 0&&(me=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=xe,this.cancelable=me}return Object.defineProperty(Be.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Be.prototype.preventDefault=function(){this._defaultPrevented=!0},Be}(),ni=function(Be){function xe(me,Fe,He){var Le=Be.call(this,me,!1)||this;return Le.dataUrl=Fe,Le.state=He,Le}return ke(xe,Be),xe}(An),Qt=function(Be){function xe(me,Fe,He){He===void 0&&(He=!1);var Le=Be.call(this,me,He)||this;return Le.marker=Fe,Le}return ke(xe,Be),xe}(An),Jt=function(){function Be(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Be.prototype.addEventListener=function(xe,me){this[xe].push(me)},Be.prototype.removeEventListener=function(xe,me){var Fe=this[xe].indexOf(me);Fe>-1&&this[xe].splice(Fe,1)},Be}(),St=function(){function Be(xe){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Qe,this._isOpen=!1,this.undoRedoManager=new pt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Jt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Be.instanceCounter++,this.styles=new te(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=xe,this.targetRoot=document.body,this.width=xe.clientWidth,this.height=xe.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Be.prototype,"ALL_MARKER_TYPES",{get:function(){return[Nt,Ut,Re,Lt,Tn,On,mn,sn,yn,At,Rt,Un,wn]},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Nt,Ut,Re,Lt,On,mn,sn]},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Nt,Ut,Re,Lt,mn]},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(xe){var me=this;this._availableMarkerTypes.splice(0),xe.forEach(function(Fe){if(typeof Fe=="string"){var He=me.ALL_MARKER_TYPES.find(function(Le){return Le.typeName===Fe});He!==void 0&&me._availableMarkerTypes.push(He)}else me._availableMarkerTypes.push(Fe)})},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(xe){this._zoomLevel=xe,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Be.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Be.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),dt.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Be.prototype.show=function(){var xe=this;this.styles.styleSheetRoot===void 0&&Me.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Me.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(me){return me(new An(xe))})},Be.prototype.render=function(){return Bt(this,void 0,void 0,function(){var xe;return Et(this,function(me){switch(me.label){case 0:return this.setCurrentMarker(),(xe=new Ct).naturalSize=this.renderAtNaturalSize,xe.imageType=this.renderImageType,xe.imageQuality=this.renderImageQuality,xe.markersOnly=this.renderMarkersOnly,xe.width=this.renderWidth,xe.height=this.renderHeight,[4,xe.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return me.sent(),[4,xe.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,me.sent()]}})})},Be.prototype.close=function(xe){var me=this;if(xe===void 0&&(xe=!1),this.isOpen){var Fe=!1;xe||this.eventListeners.beforeclose.forEach(function(He){var Le=new An(me,!0);He(Le),Le.defaultPrevented&&(Fe=!0)}),Fe||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(He){return He(new An(me))}),this.detachEvents(),this._isOpen=!1)}},Be.prototype.addMarkersToToolbar=function(){for(var xe,me=[],Fe=0;Fethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*xe:this.editorCanvas.clientWidth,Fe=me',xe.title="Powered by marker.js",xe.style.display="grid",xe.style.alignItems="center",xe.style.justifyItems="center",xe.style.padding="3px",xe.style.width="20px",xe.style.height="20px",this.logoUI.appendChild(xe),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Be.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Be.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Be.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Be.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var xe=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=xe+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new se(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(xe),1),xe.dispose()},Be.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Be.prototype.toolbarButtonClicked=function(xe,me){if(xe==="marker"&&me!==void 0)this.createNewMarker(me);else if(xe==="action")switch(me){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Be.prototype.deleteSelectedMarker=function(){var xe=this;if(this._currentMarker!==void 0){var me=!1;if(this.eventListeners.markerbeforedelete.forEach(function(He){var Le=new Qt(xe,xe._currentMarker,!0);He(Le),Le.defaultPrevented&&(me=!0)}),!me){var Fe=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(He){return He(new Qt(xe,Fe))})}}},Be.prototype.clear=function(){var xe=this,me=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(mt){var zt=new Qt(xe,void 0,!0);mt(zt),zt.defaultPrevented&&(me=!0)}),!me)){this.setCurrentMarker();for(var Fe=function(mt){var zt=He.markers[mt];He.setCurrentMarker(He.markers[mt]),He._currentMarker.dispose(),He.markerImage.removeChild(He._currentMarker.container),He.markers.splice(He.markers.indexOf(He._currentMarker),1),He.eventListeners.markerdelete.forEach(function(Pn){return Pn(new Qt(xe,zt))})},He=this,Le=this.markers.length-1;Le>=0;Le--)Fe(Le);this.addUndoStep()}},Object.defineProperty(Be.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Be.prototype.showNotesEditor=function(){var xe;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(xe=this._currentMarker.notes)!==null&&xe!==void 0?xe:"",this.overlayContainer.appendChild(this.notesArea))},Be.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Be.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Be.prototype.addUndoStep=function(){var xe=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var me=this.getState(),Fe=this.undoRedoManager.getLastUndoStep();if(!Fe||Fe.width===me.width&&Fe.height===me.height){var He=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(me),He1&&this.panTo({x:xe.clientX,y:xe.clientY}))},Be.prototype.onPointerUp=function(xe){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(xe.clientX,xe.clientY)),this.isDragging=!1,this.addUndoStep()},Be.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Be.prototype.onKeyUp=function(xe){this._currentMarker===void 0||this.notesArea!==void 0||xe.key!=="Delete"&&xe.key!=="Backspace"||this.deleteSelectedMarker()},Be.prototype.clientToLocalCoordinates=function(xe,me){var Fe=this.markerImage.getBoundingClientRect();return{x:(xe-Fe.left)/this.zoomLevel,y:(me-Fe.top)/this.zoomLevel}},Be.prototype.onWindowResize=function(){this.positionUI()},Be.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var xe=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=xe+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Be.prototype.addLicenseKey=function(xe){dt.addKey(xe)},Be.prototype.addEventListener=function(xe,me){this.eventListeners.addEventListener(xe,me)},Be.prototype.removeEventListener=function(xe,me){this.eventListeners.removeEventListener(xe,me)},Be.prototype.renderState=function(xe){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(xe),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Be.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Be.prototype.focus=function(){var xe=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(me){return me(new An(xe))}))},Be.prototype.blur=function(){var xe=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(me){return me(new An(xe))}))},Be.instanceCounter=0,Be}(),Xe=ve(99064),Yt=ve(955),Kt=(Be,xe,me)=>new Promise((Fe,He)=>{var Le=Pn=>{try{zt(me.next(Pn))}catch(rn){He(rn)}},mt=Pn=>{try{zt(me.throw(Pn))}catch(rn){He(rn)}},zt=Pn=>Pn.done?Fe(Pn.value):Promise.resolve(Pn.value).then(Le,mt);zt((me=me.apply(Be,xe)).next())}),Ge=({data:Be,className:xe,fullWidth:me,style:Fe={},onClose:He,onOk:Le,showFullTools:mt,noAssociationId:zt})=>{const Pn=(0,Se.useRef)(null),rn=(0,Se.useRef)(null),In=(0,Se.useRef)(null),Gn=(0,Se.useRef)(null),[Pi,Di]=(0,Se.useState)(!1),[Gi,Dn]=(0,Se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Se.useEffect)(()=>(In.current||(In.current=document.createElement("style"),document.head.appendChild(In.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),In.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&or()):(document.body.removeAttribute("data-custom"),In.current&&(document.head.removeChild(In.current),In.current=null)),()=>{document.body.removeAttribute("data-custom"),In.current&&(document.head.removeChild(In.current),In.current=null)}),[Be==null?void 0:Be.visible]);const or=()=>Kt(void 0,null,function*(){Di(!0),Dn("\u6B63\u5728\u52A0\u8F7D\u4E2D");const wr=yield(0,Yt.ZJ)(Be==null?void 0:Be.src);Pn.current.src="",Pn.current.src=wr,Pn.current.onload=function(){Ir()},Di(!1),Dn("")}),jr=wr=>Kt(void 0,null,function*(){Di(!0),Dn("\u6B63\u5728\u4FDD\u5B58\u4E2D");const so=yield(0,Xe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:wr.dataUrl}});so!=null&&so.id&&!zt?(yield(0,Xe.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:so==null?void 0:so.id,settings:JSON.stringify(wr.state)}})).status===0&&Le():so!=null&&so.id&&Le(so),Di(!1),Dn("")}),Gr=()=>{const wr=document.querySelector('a[href="https://markerjs.com/"]');wr&&wr.parentNode&&(wr.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Rr=>{const hr=document.querySelector(Rr.name);hr&&hr.setAttribute("title",Rr.title)})},Ir=()=>{rn.current=new St(Pn.current),rn.current.targetRoot=Gn.current,rn.current.addEventListener("render",jr),rn.current.addEventListener("beforeclose",He),mt&&(rn.current.availableMarkerTypes=rn.current.ALL_MARKER_TYPES,rn.current.uiStyleSettings.redoButtonVisible=!0,rn.current.uiStyleSettings.notesButtonVisible=!0,rn.current.uiStyleSettings.zoomButtonVisible=!0,rn.current.uiStyleSettings.zoomOutButtonVisible=!0,rn.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=rn.current.uiStyleSettings,rn.current.show(),Be!=null&&Be.snapshotData&&rn.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Gr()},300)};return Se.createElement(Se.Fragment,null,(Be==null?void 0:Be.visible)&&Se.createElement(et.Z,{spinning:Pi,tip:Gi,style:{position:"absolute",width:"100vw"}},Se.createElement("div",{ref:Gn,className:Ot()(Oe.imageDimensions,xe,me?Oe.fullWidth:""),style:Fe},Se.createElement("img",{className:Oe.img,ref:Pn}))))}},41588:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=ve(95237),We=ve(43604),Ot=ve(99313),et=ve(3113),yt=ve(85149),ke=ve(88010),Bt=ve(48136),Et=ve(59301);const tt=(0,Se.forwardRef)(({callback:gt,showSaveButton:dt,value:Ct=""},Me)=>{const te=(0,Se.useRef)(),ne=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ce=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],se=Ce=>{te.current.setValue(te.current.getValue()+" "+Ce.value+" ")},ge=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Et.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},ne.map((Ce,Ne)=>Et.createElement(We.Z,{flex:"110px",className:ke.Z.item},Et.createElement("div",null,Et.createElement(yt.Z,{value:`$$${Ce.value}$$`}),Ce.name),Et.createElement("div",{className:ke.Z.children},Ce.children.map((Pe,Ie)=>Et.createElement("div",{key:Ie},Et.createElement("h1",null,Pe.name),Et.createElement(Oe.Z,{gutter:[10,10]},Pe.data.map((Ke,Ve)=>Et.createElement(We.Z,{key:Ve,onClick:()=>se(Ke),className:ke.Z.diamond},Et.createElement(yt.Z,{value:"`$$"+Ke.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Et.createElement(Oe.Z,{className:ke.Z.lists,gutter:[10,10]},ce.map((Ce,Ne)=>Et.createElement(We.Z,{flex:"110px",className:ke.Z.item},Et.createElement("div",null,Et.createElement(yt.Z,{value:"`$$"+Ce.value+"$$`"}),Ce.name),Et.createElement("div",{className:ke.Z.children},Ce.children.map((Pe,Ie)=>Et.createElement("div",{key:Ie},Pe.name&&Et.createElement("h1",null,Pe.name),Et.createElement(Oe.Z,{gutter:[10,10]},Pe.data.map((Ke,Ve)=>Et.createElement(We.Z,{key:Ve,onClick:()=>se(Ke),className:ke.Z.diamond},Et.createElement(yt.Z,{value:"`$$"+Ke.value+"$$`"}))))))))))}],ye=()=>{var Ce=document.createElement("div");Ce.innerHTML=te.current.getValue();var Ne=Ce.innerText;return gt&>(Ne),Ne};return(0,Se.useImperativeHandle)(Me,()=>({getData:ye})),Et.createElement("div",{className:ke.Z.mathWrap},Et.createElement(Ot.default,{defaultActiveKey:"1",items:ge}),Et.createElement("math-field",{locale:"zh_cn",className:ke.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:te,style:{width:800,marginTop:30,fontSize:18}},Ct||""),dt&&Et.createElement("div",{className:ke.Z.button},Et.createElement(et.ZP,{size:"large",onClick:ye,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Nn.Z=tt},8797:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=ve(93314),We=ve(3113),Ot=Object.defineProperty,et=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,tt=(Me,te,ne)=>te in Me?Ot(Me,te,{enumerable:!0,configurable:!0,writable:!0,value:ne}):Me[te]=ne,gt=(Me,te)=>{for(var ne in te||(te={}))Bt.call(te,ne)&&tt(Me,ne,te[ne]);if(ke)for(var ne of ke(te))Et.call(te,ne)&&tt(Me,ne,te[ne]);return Me},dt=(Me,te)=>et(Me,yt(te));const Ct=({img:Me,buttonProps:te={},styles:ne={},customText:ce,ButtonText:se,ButtonClick:ge,Buttonclass:ye,ButtonTwo:Ce,imgStyles:Ne,loading:Pe=!1,className:Ie=""})=>Se.createElement("section",{className:`tc animated fadeIn ${Ie}`,style:gt({color:"#999",margin:"100px auto",visibility:Pe?"hidden":"visible"},ne)},Se.createElement("img",{src:Me||Oe,style:dt(gt({},Ne),{pointerEvents:"none",userSelect:"none"})}),Se.createElement("p",{className:"mt20 font14"},ce||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),se&&Se.createElement(We.ZP,gt({className:ye,onClick:ge},te),se),Ce&&Ce);Nn.Z=Ct},40731:function(zn,Nn,ve){"use strict";ve.d(Nn,{Q:function(){return yt}});var Se=ve(59301),Oe=ve(57809),We=ve(5112),Ot=ve(5871),et=ve(59301),yt=(Bt=>(Bt[Bt.Number=1]="Number",Bt[Bt.Percent=2]="Percent",Bt))(yt||{});const ke=({value:Bt,onChange:Et,disabled:tt,hidePercentOption:gt=!1,percentType:dt="select"})=>{const Ct=(0,Se.useMemo)(()=>gt?1:2,[gt]),[Me,te]=(0,Se.useState)(Ct);console.log(Me);const ne=se=>Bt.type===1?`${se}\u5206`:`${se}%`,ce=(0,Se.useCallback)(se=>{if(Me===1){const ge=se.replace("\u5206","");return isNaN(parseInt(ge,10))?0:ge}else return se.replace("%","")},[Me]);return(0,Se.useEffect)(()=>{te(Bt.type)},[Bt]),et.createElement("div",{style:{display:"flex",alignItems:"center"}},dt=="select"&&et.createElement(Oe.default,{size:"large",onChange:se=>{te(se),Et({type:se,inputValue:se===1?5:20})},value:Me||Ct,style:{width:100},options:gt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:tt}),dt=="radio"&&et.createElement(We.ZP.Group,{size:"large",onChange:se=>{const ge=se.target.value;te(ge),Et({type:ge,inputValue:ge===1?5:20})},value:Me||Ct,disabled:tt},!gt&&et.createElement(We.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),et.createElement(We.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),dt=="radio"&&et.createElement("div",{style:{marginRight:"10px",color:"#000000"}},Bt.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),et.createElement(Ot.Z,{size:"large",disabled:tt,value:Bt.inputValue,style:{width:"120px"},parser:ce,addonAfter:Bt.type===1?"\u5206":"%",max:Me===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:se=>{Et({type:Me,inputValue:se})}}),dt=="radio"&&Bt.type==2&&et.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};Nn.Z=ke},23210:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return ye}});var Se=ve(59301),Oe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},We=ve(3113),Ot=ve(70557),et=ve(23954),yt=ve(6848),ke=ve(955),Bt=ve(94941),Et=ve(8797),tt=ve(3294),gt=ve(19381),dt=ve(59301),Ct=Object.defineProperty,Me=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ce=(Ce,Ne,Pe)=>Ne in Ce?Ct(Ce,Ne,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ce[Ne]=Pe,se=(Ce,Ne)=>{for(var Pe in Ne||(Ne={}))te.call(Ne,Pe)&&ce(Ce,Pe,Ne[Pe]);if(Me)for(var Pe of Me(Ne))ne.call(Ne,Pe)&&ce(Ce,Pe,Ne[Pe]);return Ce},ge=(Ce,Ne,Pe)=>new Promise((Ie,Ke)=>{var Ve=Ue=>{try{ut(Pe.next(Ue))}catch(Nt){Ke(Nt)}},Ye=Ue=>{try{ut(Pe.throw(Ue))}catch(Nt){Ke(Nt)}},ut=Ue=>Ue.done?Ie(Ue.value):Promise.resolve(Ue.value).then(Ve,Ye);ut((Pe=Pe.apply(Ce,Ne)).next())}),ye=({editOffice:Ce="view",data:Ne,theme:Pe,type:Ie,filename:Ke,monacoEditor:Ve,className:Ye,style:ut,close:Ue,onClose:Nt,hasMask:Qe,disabledDownload:Ht,onImgDimensions:Rt,showNodata:It,recordInfo:Lt})=>{const[Ut,ht]=(0,Se.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Re,At]=(0,Se.useState)(""),[Sn,mn]=(0,Se.useState)(),Ft=window.ENV==="build"?"/react/build":"",en=location.host.startsWith("localhost")?tt.Z.PROXY_SERVER:tt.Z.API_SERVER,On=10*(1024*1024),yn=(0,Se.useRef)();Ne!=null&&Ne.startsWith("/api")&&Ie!=="txt"&&(Ne=tt.Z.API_SERVER+Ne);const Tn=An=>An.substring(An.lastIndexOf("/")+1).split(".").pop();Ke&&Ve&&(Ve.filename=Ke),(0,Se.useEffect)(()=>{var An,ni;const Qt=(ni=(An=document.cookie)==null?void 0:An.replace(/\s/g,""))==null?void 0:ni.split(";");Qt==null||Qt.map(Jt=>{let St=Jt.split("=");St[0]==="_educoder_session"&&At(St[1])})},[]),(0,Se.useEffect)(()=>{Ie==="office"&&(Ne.indexOf("bigfilescdn.")>-1||Ne.indexOf("bigfiles1")>-1?mn({url:Ne,fileType:Tn(Ne),model:Ne.indexOf("model=edit")?"edit":"view"}):pt())},[Ie,Ne]);const pt=()=>ge(void 0,null,function*(){console.log("data:",Ne);let An=Ne;Ne.startsWith("http")||(An=location.origin+An);let ni=new URL(An).pathname.split("/").pop();const Qt=yield(0,Bt.gJ)({attachment_id:ni});Qt.url=en+Qt.url,mn(Qt)}),Un=()=>{if(Ne.startsWith("http")||Ne.startsWith("blob:")){wn();return}(0,ke.Sv)(Ke||"educoder",Ne,Ke)},wn=()=>{Lt&&(0,gt.fc)({id:Lt==null?void 0:Lt.id,watch_type:1,course_id:Lt==null?void 0:Lt.course_id}),(0,ke.Nd)(Ke||"educoder",decodeURIComponent(Ne))};return dt.createElement("div",{style:se({},ut||{}),className:`${Qe&&Oe.bgBlack} ${Ie?Oe.wrp:"hide"}`},Ue&&dt.createElement("div",{className:Oe.close,ref:yn},!!Rt&&dt.createElement(yt.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>yn.current},dt.createElement("span",{onClick:()=>{Nt(),Rt()}},dt.createElement("i",{className:"icon-yulanpizhu"}))),!Ht&&dt.createElement(yt.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>yn.current},dt.createElement("span",{onClick:wn},dt.createElement("i",{className:"icon-quxiaozhiding"}))),dt.createElement(yt.Z,{title:"\u5173\u95ED",getPopupContainer:()=>yn.current},dt.createElement("span",{className:"",onClick:Nt},dt.createElement("i",{className:"icon-guanbi1"})))),dt.createElement("div",{className:`${Oe[Ye]} ${Ye} ${Oe.monaco} ${Ie==="txt"?"show":"hide"}`},Ie==="txt"&&dt.createElement(dt.Fragment,null,dt.createElement(et.ZP,se({},Ve)))),Ie==="audio"&&dt.createElement("audio",{src:`${(Ne==null?void 0:Ne.indexOf("http://"))>-1||(Ne==null?void 0:Ne.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Ne}`,autoPlay:!0}),Ie==="video"&&dt.createElement(dt.Fragment,null,(Ne==null?void 0:Ne.indexOf("http"))>-1?dt.createElement("video",{controls:!0,src:`${Ne}`,autoPlay:!0}):dt.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Ne}`,autoPlay:!0})),Ie==="office"&&Sn&&dt.createElement("iframe",{src:`${Ft}/office.html?key=${Sn.key}&url=${btoa(Sn.url)}&callbackUrl=${en+(Sn.callbackUrl||"")}&fileType=${Sn.fileType}&title=${Sn.title||""}&model=${Ce}&officeServer=${tt.Z.ONLYOFFICE}&disabledDownload=${!!Ht}`}),Ie==="html"&&dt.createElement("iframe",{src:Ne+"&disposition=inline"}),Ie==="pdf"&&dt.createElement("iframe",{src:`${Ft}/js/pdfview/index.html?filename=${Ke||"educoder.pdf"}&url=${encodeURIComponent(Ne)}&disabledDownload=${!!Ht}`}),Ie==="image"&&dt.createElement("img",{src:`${(Ne==null?void 0:Ne.indexOf("http://"))>-1||(Ne==null?void 0:Ne.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Ne}`}),(Ie==="other"||Ie==="download")&&dt.createElement(dt.Fragment,null,It?dt.createElement(Et.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:dt.createElement(We.ZP,{icon:dt.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Un,disabled:Ht},"\u4E0B\u8F7D")}):dt.createElement(We.ZP,{type:"primary",size:"middle",onClick:Un,disabled:Ht},dt.createElement(Ot.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(zn,Nn,ve){"use strict";ve.d(Nn,{z:function(){return Ie},Z:function(){return Ke}});var Se=ve(59301),Oe=ve(50304),We=ve(24768),Ot=ve(64018),et=ve(65157),yt=ve(3294),ke=ve(955),Bt=ve(15342),Et=ve(1012),tt=ve(23210),gt=ve(59301),Ct=({html:Ve})=>{const Ye=(0,Se.useRef)(null),ut=(0,Se.useRef)(null),Ue=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,Se.useEffect)(()=>{const Nt=Ye.current.attachShadow({mode:"open"});ut.current=document.createElement("div"),ut.current.className="markdown-body",ut.current.innerHTML=Ve,Nt.appendChild(ut.current);const Qe=document.createElement("style");return Qe.textContent=Ue,Nt.appendChild(Qe),()=>{Nt.innerHTML=""}},[]),(0,Se.useEffect)(()=>{ut.current&&(ut.current.innerHTML=Ve)},[Ve]),gt.createElement("div",{ref:Ye})},Me=Object.defineProperty,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,se=(Ve,Ye,ut)=>Ye in Ve?Me(Ve,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ve[Ye]=ut,ge=(Ve,Ye)=>{for(var ut in Ye||(Ye={}))ne.call(Ye,ut)&&se(Ve,ut,Ye[ut]);if(te)for(var ut of te(Ye))ce.call(Ye,ut)&&se(Ve,ut,Ye[ut]);return Ve};const ye="@\u2581\u2581@",Ce="@\u2581@",Ne=/]*>/g;function Pe(Ve){let Ye=document.createElement("div");return Ye.innerHTML=Ve,Ye.childNodes.length===0?"":Ye.childNodes[0].nodeValue}const Ie=(Ve,Ye)=>{Ve=Ve||"";const ut=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ue=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Nt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Qe=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ye?Ve.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ut,(Ht,Rt,It,Lt,Ut,ht,Re)=>{const At=Rt||Lt||ht,Sn=It||Ut||Re||"?";return yt.Z.API_SERVER+"/api/attachments/"+At+Sn+"&t="+(0,ke.Jn)(At,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ve=Ve.replace(Qe,(Ht,Rt,It,Lt,Ut,ht,Re)=>{const At=Rt||Lt||ht,Sn=It||Ut||Re||"?";return yt.Z.API_SERVER+"/attachments/download/"+At+Sn+"&t="+(0,ke.Jn)(At,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replace(ut,(Ht,Rt,It,Lt,Ut,ht,Re)=>{const At=Rt||Lt||ht,Sn=It||Ut||Re||"?";return yt.Z.API_SERVER+"/api/attachments/"+At+Sn+"&t="+(0,ke.Jn)(At,Date.now())+(Ht.indexOf(")")>-1?")":"&")}).replace(Ue,(Ht,Rt,It,Lt,Ut)=>{const ht=Rt||Lt,Re=It||Ut||"";return'"'+yt.Z.API_SERVER+"/api/attachments/"+ht+Re+ht+Re+"&t="+(0,ke.Jn)(ht,Date.now())}).replace(Nt,(Ht,Rt,It,Lt,Ut)=>{const ht=Rt||Lt,Re=It||Ut||"";return"("+yt.Z.API_SERVER+"/files/uploads/"+ht+Re+ht+Re+"&t="+(0,ke.Jn)(ht,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Ve)};var Ke=({value:Ve="",className:Ye,showTextOnly:ut,showLines:Ue,style:Nt={},stylesPrev:Qe={},highlightKeywords:Ht,showProgramFill:Rt,isProgramFill:It,disabledFill:Lt=!1,programFillValue:Ut,onFillChange:ht=Sn=>{},onFillBlur:Re=()=>{},onFillFocus:At=()=>{}})=>{let Sn=String(Ve);const[mn,Ft]=(0,Se.useState)(""),[en,sn]=(0,Se.useState)("office"),[On,yn]=(0,Se.useState)([]),Tn=(0,Se.useRef)("a"+(0,Et.Z)()),pt={},Un=(Be,xe,me)=>{const Fe=document.createElement(Be===Ce?"input":"textarea");Fe.style.width="100%",Fe.style.height=Be===Ce?"40px":"151px",Fe.rows=5,Fe.spellcheck=!1,Fe.name="edu-program-fill",Fe.placeholder="\u8BF7\u8F93\u5165",Fe.dataset.id=xe;const He=Object.keys(pt).length;return pt[He]=Fe,`${Fe.outerHTML}`};function wn(Be){return Be=Be.replace(/!\[.*?\]\(.*?\)/g,""),Be=Be.replace(/\[.*?\]\(.*?\)/g,""),Be=Be.replace(new RegExp("","gs"),""),Be=Be.replace(//g,""),Be=Be.replace(//g,""),Be=Be.replace(new RegExp(".*?<\\/video>","gs"),""),Be=Be.replace(new RegExp(".*?<\\/audio>","gs"),""),Be=Be.replace(new RegExp(".*?<\\/style>","gs"),""),Be=Be.replace(new RegExp(".*?<\\/script>","gs"),""),Be}const An=Be=>Be.replace(/([\s\S]+?)<\/style>/gim,function(xe,me){let Fe=me.replace(/(\n|\r)/g,"").split("}"),He=[];return Fe.map(Le=>{Le!=""&&He.push(`.${Tn.current} ${Le}`)}),``}),ni=(0,Se.useMemo)(()=>{try{const Fe=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,He=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Le=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,mt=/\(\/attachments\/download\//g;Sn=Sn.replace(mt,"("+yt.Z.API_SERVER+"/attachments/download/").replace(Fe,"("+yt.Z.API_SERVER+"/api/attachments/").replace(He,'"'+yt.Z.API_SERVER+"/api/attachments/").replace(Le,'"'+yt.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `)}catch(Fe){}if(Rt){let Fe=-1;return Sn=Sn.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(He,Le,mt){var zt;return++Fe,Un(He,Fe,(zt=Ut==null?void 0:Ut[Fe])==null?void 0:zt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${An(Sn||"")}
`}let Be=An(Sn);Be=(0,We.ZP)(Be);const xe=(0,We.ez)();Sn.match(/\[TOC\]/)&&(Be=Be.replace("

[TOC]

",(0,We.Qv)()),(0,We.Iy)()),Be=Be.replace(/(__special_katext_id_\d+__)/g,(Fe,He)=>{const{type:Le,expression:mt}=xe[He];return(0,Bt.renderToString)(Pe(mt)||"",{displayMode:Le==="block",throwOnError:!1,output:"html"})}),Be=Be.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,We.AL)();const me=document.createElement("div");if(me.innerHTML=Be,ut)return me.innerText;if(Ht){const Fe=Ht.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Xe(me,Fe),me.innerHTML}return setTimeout(()=>qe(),500),me.innerHTML},[Sn,Ht]);(0,Se.useEffect)(()=>{Yt.current&&Yt.current.querySelectorAll(["input","textarea"]).forEach(xe=>{xe.oninput=Qt,xe.onblur=Jt,xe.onfocus=St})},[On]),(0,Se.useEffect)(()=>{var Be,xe,me,Fe,He;if(Ut!=null&&Ut.length)try{const Le=Yt.current.querySelectorAll(".edu-program-fill-score"),mt=Yt.current.querySelectorAll('[name="edu-program-fill"]');for(const[zt,Pn]of mt.entries())Pn.value=((Be=Ut==null?void 0:Ut[zt])==null?void 0:Be.value)||"",((xe=Ut==null?void 0:Ut[zt])==null?void 0:xe.type)==="warning"?Pn.className="program-fill-warning":((me=Ut==null?void 0:Ut[zt])==null?void 0:me.type)==="success"?Pn.className="program-fill-success":Pn.className="";for(const[zt,Pn]of Le.entries())Pn.innerHTML=(Fe=Ut==null?void 0:Ut[zt])!=null&&Fe.score?`${(He=Ut==null?void 0:Ut[zt])==null?void 0:He.score}\u5206`:"";yn(Ut)}catch(Le){console.log(Le,"error")}},[Ut]);const Qt=Be=>{On[Be.target.dataset.id]=On[Be.target.dataset.id]||{},On[Be.target.dataset.id].value=Be.target.value,yn([...On]),ht(On,Be.target.dataset.id)},Jt=Be=>{On[Be.target.dataset.id]=On[Be.target.dataset.id]||{},On[Be.target.dataset.id].value=Be.target.value,yn([...On]),Re(On,Be.target.dataset.id)},St=Be=>{On[Be.target.dataset.id]=On[Be.target.dataset.id]||{},On[Be.target.dataset.id].value=Be.target.value,yn([...On]),At(On,Be.target.dataset.id)};function Xe(Be,xe){return Be.childNodes.forEach(me=>{var Fe;if(me.childNodes.length>0)Xe(me,xe);else if(me.nodeName!=="IMG")if(me.innerHTML)me.innerHTML=(Fe=me.innerHTML)==null?void 0:Fe.replace(new RegExp(xe,"gi"),'$&');else{const He=document.createElement("span");He.innerHTML=me.textContent.replace(new RegExp(xe,"gi"),'$&'),me.replaceWith(He)}})}const Yt=(0,Se.useRef)();We.jb.WebkitLineClamp=Ue,Ue&&(Nt=ge(ge({},Nt),We.jb));function Kt(Be){let xe=Be.target;if(xe.tagName.toUpperCase()==="A"){let me=xe.getAttribute("href");if(me.indexOf("office")>-1)Be.preventDefault(),Ft(me),sn("office");else if(me.indexOf("application/pdf")>-1)Be.preventDefault(),Ft(me),sn("pdf");else if(me.indexOf("text/html")>-1)Be.preventDefault(),Ft(me),sn("html");else if(me.startsWith("#")){Be.preventDefault();let Fe=document.getElementById(me.replace("#",""));Fe&&Fe.scrollIntoView(!0)}}}const qe=()=>{var Be;const xe=(Be=Yt.current)==null?void 0:Be.querySelectorAll("video");xe==null||xe.forEach(me=>{if(me.oncontextmenu=()=>!1,me.src.indexOf(".m3u8")>-1&&!me.canPlayType("application/vnd.apple.mpegurl")){if(et.ZP.isSupported()){var Fe=new et.ZP;Fe.loadSource(me.src),Fe.attachMedia(me)}}})};(0,Se.useEffect)(()=>{if(Yt.current&&ni&&ni.match(Ne)&&window.PR.prettyPrint(),Yt.current)return Yt.current.addEventListener("click",Kt),()=>{var Be;(Be=Yt.current)==null||Be.removeEventListener("click",Kt),(0,We.AL)(),(0,We.Iy)()}},[ni,Yt.current,Kt]),(0,Se.useEffect)(()=>{var Be;const xe=me=>{me.preventDefault(),me.clipboardData.setData("text",window.getSelection().toString())};return(Be=Yt.current)==null||Be.addEventListener("copy",xe),()=>{var me;(me=Yt.current)==null||me.removeEventListener("copy",xe)}},[Yt.current]);const Ge=Be=>//i.test(Be||"");return Se.createElement(Se.Fragment,null,ut&&Se.createElement("div",{ref:Yt},ni),!ut&&!Ge(ni)&&Se.createElement("div",{ref:Yt,style:ge({},Nt),className:`${Ye||""} ${Lt?"disabled-fill":""} markdown-body ${Tn.current}`,dangerouslySetInnerHTML:{__html:ni}}),!ut&&Ge(ni)&&Se.createElement(Ct,{html:ni}),Se.createElement(tt.Z,{close:!0,data:mn,type:mn!=null&&mn.length?en:"",style:ge({},Qe),onClose:()=>Ft("")}))}},82438:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(59301),Oe={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},We=ve(43418),Ot="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",yt=(Et,tt,gt)=>new Promise((dt,Ct)=>{var Me=ce=>{try{ne(gt.next(ce))}catch(se){Ct(se)}},te=ce=>{try{ne(gt.throw(ce))}catch(se){Ct(se)}},ne=ce=>ce.done?dt(ce.value):Promise.resolve(ce.value).then(Me,te);ne((gt=gt.apply(Et,tt)).next())}),Bt=({type:Et,resdata:tt,onok:gt,oktext:dt,okloading:Ct})=>{const[Me,te]=(0,Se.useState)(!1),{can_copy_list:ne,can_copy_num:ce,challenge_type:se,course_data_list:ge,no_copy_list:ye,no_copy_num:Ce,no_use_list:Ne,no_use_num:Pe,repeat_shixun_num:Ie,student_count:Ke,total_num:Ve,use_num:Ye}=tt;let ut=ce>0||Et==="exercise";(0,Se.useEffect)(()=>{(tt==null?void 0:tt.student_count)>0&&te(!0)},[tt]),console.log("---11",Ct),(0,Se.useEffect)(()=>{Ct||te(!1)},[Ct]);const Ue=()=>{if(Et==="exercise"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Et==="exercise"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Et==="shixun"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Et==="shixun"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Et==="subject"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Et==="subject"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",Se.createElement("span",{className:Oe.orangeColor},Ke)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",Se.createElement("span",{className:Oe.orangeColor},Ye)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Et==="exercisepush")return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Et==="shixunpush"&&se===1)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",Se.createElement("span",{className:Oe.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Et==="shixunpush"&&se===2)return Se.createElement(Se.Fragment,null,"\u8BFE\u5802\u5185\u6709",Se.createElement("span",{className:Oe.orangeColor},Ke),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",Se.createElement("span",{className:Oe.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Nt=()=>{if(Et==="exercise"||Et==="subject"||Et==="exercisepush"||Et==="shixunpush")return Se.createElement("div",{style:{marginTop:20}},Ce>0&&Se.createElement("div",null,Se.createElement("span",{className:Oe.flex},Se.createElement("img",{src:et,style:{width:14}}),Se.createElement("span",{className:Oe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Se.createElement("div",{className:Oe.statusbody},Et==="exercise"&&Se.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Se.createElement("span",{className:Oe.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Et==="subject"||Et==="exercisepush")&&Se.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ut&&Se.createElement("span",{className:Oe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Et==="shixunpush"&&Se.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ut&&Se.createElement("span",{className:Oe.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Se.createElement("div",null,ye==null?void 0:ye.map((Qe,Ht)=>Se.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",Ht+1!==Ce&&"\u3001"))))),ce>0&&Se.createElement("div",{style:{marginTop:20}},Se.createElement("span",{className:Oe.flex},Se.createElement("img",{src:Ot,style:{width:14}}),Se.createElement("span",{className:Oe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),Se.createElement("div",{className:Oe.statusbody},Et==="exercise"&&Se.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Et==="subject"||Et==="exercisepush")&&Se.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Et==="shixunpush"&&Se.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Se.createElement("div",null,ne==null?void 0:ne.map((Qe,Ht)=>Se.createElement("a",{href:`/shixuns/${Qe.identifier}/challenges`,target:"_blank"},"\u300A",Qe==null?void 0:Qe.name,"\u300B",Ht+1!==ce&&"\u3001"))))));if(Et==="shixun")return Se.createElement("div",{style:{marginTop:20}},ce>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return Se.createElement(We.default,{open:Me,onCancel:()=>{te(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ut&&"none"}},zIndex:1003,confirmLoading:Ct,okText:ut?dt:"\u6211\u77E5\u9053\u4E86",onOk:()=>yt(void 0,null,function*(){ut?yield gt([...ne,...Ne]):te(!1)})},Se.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Ue(),Nt()))}},53932:function(zn,Nn,ve){"use strict";ve.d(Nn,{h:function(){return Ce},Z:function(){return ye}});var Se=ve(59301),Oe=ve(57809),We=ve(78241),Ot=ve(3113),et=ve(89780),yt=ve.n(et),ke=ve(37036),Bt=Object.defineProperty,Et=Object.defineProperties,tt=Object.getOwnPropertyDescriptors,gt=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Me=(Ne,Pe,Ie)=>Pe in Ne?Bt(Ne,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Ne[Pe]=Ie,te=(Ne,Pe)=>{for(var Ie in Pe||(Pe={}))dt.call(Pe,Ie)&&Me(Ne,Ie,Pe[Ie]);if(gt)for(var Ie of gt(Pe))Ct.call(Pe,Ie)&&Me(Ne,Ie,Pe[Ie]);return Ne},ne=(Ne,Pe)=>Et(Ne,tt(Pe));const ce=Oe.default.Option,se={labelCol:{span:4},wrapperCol:{span:20}},ge={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};var ye=({callback:Ne,onCancel:Pe})=>{const[Ie,Ke]=(0,Se.useState)("python");function Ve(ut){Ke(ge[ut][1])}function Ye(ut){Ne(ut)}return Se.createElement(We.default,ne(te({},se),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),Se.createElement(We.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Se.createElement(Oe.default,{getPopupContainer:ut=>ut.parentNode,onChange:Ve},Object.keys(ge).map(ut=>Se.createElement(ce,{key:ut,value:ut},ge[ut][0])))),Se.createElement(We.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Se.createElement(Ce,{mode:Ie})),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Ot.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Ot.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))};function Ce({value:Ne,onChange:Pe,mode:Ie,options:Ke={}}){const Ve=(0,Se.useRef)(),[Ye,ut]=(0,Se.useState)();return(0,Se.useEffect)(()=>{if(Ye){let Ue=function(Nt){const Qe=Nt.getValue();Pe&&Pe(Qe)};return Ye.on("change",Ue),()=>{Ye.off("change",Ue)}}},[Ye,Pe]),(0,Se.useEffect)(()=>{Ye&&Ye.setOption("mode",Ie)},[Ye,Ie]),(0,Se.useEffect)(()=>{Ye&&(Ne!==Ye.getValue()||Ne==="")&&setTimeout(()=>{Ye.setValue(Ne||"")},300)},[Ye,Ne]),(0,Se.useEffect)(()=>{if(Ve.current&&!Ye){const Ue=yt().fromTextArea(Ve.current,te({mode:Ie,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ke));ut(Ue)}},[Ve.current,Ye]),Se.createElement("div",{className:"my-codemirror-container"},Se.createElement("textarea",{ref:Ve}))}},12290:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return on}});var Se=ve(59301),Oe=ve(89780),We=ve.n(Oe),Ot=ve(76374),et=ve(37036),yt=ve(6313),ke=ve(25717),Bt=ve(99498),Et=ve(25419),tt=ve(67549),gt=ve(85149),dt=({value:wt="",className:bt,showTextOnly:ze,showLines:Gt,style:an={}})=>{const ct=(0,Se.useMemo)(()=>"",[wt]);return Se.createElement(Se.Fragment,null,Se.createElement("div",{dangerouslySetInnerHTML:{__html:ct}}))},Ct=ve(59301),Me=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ye=(wt,bt,ze)=>bt in wt?Me(wt,bt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):wt[bt]=ze,Ce=(wt,bt)=>{for(var ze in bt||(bt={}))se.call(bt,ze)&&ye(wt,ze,bt[ze]);if(ce)for(var ze of ce(bt))ge.call(bt,ze)&&ye(wt,ze,bt[ze]);return wt},Ne=(wt,bt)=>te(wt,ne(bt));let Pe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Ie({onActionCallback:wt,title:bt,icon:ze,actionName:Gt,className:an="",children:ct}){function $e(){wt(Gt)}return Ct.createElement("a",{title:bt,className:an,onClick:$e},Ct.createElement("i",{className:`${ze}`}),ct)}var Ke=({watch:wt,showNullButton:bt,showNullProgramButton:ze,onActionCallback:Gt,fullScreen:an,insertTemp:ct,hidetoolBar:$e,extraUse:$t})=>{const Tt=[...Pe,{title:`${wt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${wt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ct.createElement("ul",{className:"markdown-toolbar-container"},!$e&&Tt.map((Mn,Wn)=>Ct.createElement("li",{key:Wn},Mn.actionName?Ct.createElement(Ie,Ne(Ce({},Mn),{onActionCallback:Gt})):Ct.createElement("span",{className:"v-line"}))),bt?Ct.createElement("li",null,Ct.createElement(Ie,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},Ct.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ze?Ct.createElement(Ct.Fragment,null,Ct.createElement("li",null,Ct.createElement(Ie,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},Ct.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ct.createElement("li",null,Ct.createElement(Ie,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},Ct.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,ct&&Ct.createElement("li",null,Ct.createElement(Ie,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${ct}`,onActionCallback:Gt},Ct.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),$t&&Ct.createElement("li",null,$t),Ct.createElement("li",{className:"btn-full-screen"},Ct.createElement(Ie,{icon:`${an?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:an?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},Ve=ve(79346),Ye=ve(78241),ut=ve(92832),Ue=ve(3113),Nt=Object.defineProperty,Qe=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Ut=(wt,bt,ze)=>bt in wt?Nt(wt,bt,{enumerable:!0,configurable:!0,writable:!0,value:ze}):wt[bt]=ze,ht=(wt,bt)=>{for(var ze in bt||(bt={}))It.call(bt,ze)&&Ut(wt,ze,bt[ze]);if(Rt)for(var ze of Rt(bt))Lt.call(bt,ze)&&Ut(wt,ze,bt[ze]);return wt},Re=(wt,bt)=>Qe(wt,Ht(bt));const At={labelCol:{span:4},wrapperCol:{span:20}};var Sn=({callback:wt,onCancel:bt})=>{function ze(Gt){wt(Gt)}return Se.createElement(Ye.default,Re(ht({},At),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ze,style:{width:500}}),Se.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Se.createElement(ut.default,null)),Se.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Se.createElement(ut.default,null)),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Ue.ZP,{type:"ghost",onClick:bt},"\u53D6\u6D88")))},mn=ve(53932),Ft=ve(28451),en=ve(43418),sn=ve(95237),On=ve(16406),yn=ve(59301),Tn=({callback:wt,onCancel:bt})=>{const ze=document.createElement("canvas"),Gt=ze.getContext("2d");ze.width=1e3,ze.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,ze.width,ze.height);const an=ze.toDataURL("image/png");return yn.createElement(en.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},yn.createElement(sn.Z,{style:{height:"100vh"}},yn.createElement(On.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:an,visible:!0,title:String(Date.now())},onOk:ct=>{wt({src:ct.url})},onClose:bt})))},pt=ve(12378);function Un(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Un,go.CommandHandler),Un.prototype.canAlignSelection=function(){var wt=this.diagram;return!(wt===null||wt.isReadOnly||wt.isModelReadOnly||wt.selection.count<2)},Un.prototype.alignLeft=function(){var wt=this.diagram;wt.startTransaction("aligning left");var bt=1/0;wt.selection.each(function(ze){ze instanceof go.Link||(bt=Math.min(ze.position.x,bt))}),wt.selection.each(function(ze){ze instanceof go.Link||ze.move(new go.Point(bt,ze.position.y))}),wt.commitTransaction("aligning left")},Un.prototype.alignRight=function(){var wt=this.diagram;wt.startTransaction("aligning right");var bt=-1/0;wt.selection.each(function(ze){if(!(ze instanceof go.Link)){var Gt=ze.actualBounds.x+ze.actualBounds.width;bt=Math.max(Gt,bt)}}),wt.selection.each(function(ze){ze instanceof go.Link||ze.move(new go.Point(bt-ze.actualBounds.width,ze.position.y))}),wt.commitTransaction("aligning right")},Un.prototype.alignTop=function(){var wt=this.diagram;wt.startTransaction("alignTop");var bt=1/0;wt.selection.each(function(ze){ze instanceof go.Link||(bt=Math.min(ze.position.y,bt))}),wt.selection.each(function(ze){ze instanceof go.Link||ze.move(new go.Point(ze.position.x,bt))}),wt.commitTransaction("alignTop")},Un.prototype.alignBottom=function(){var wt=this.diagram;wt.startTransaction("aligning bottom");var bt=-1/0;wt.selection.each(function(ze){if(!(ze instanceof go.Link)){var Gt=ze.actualBounds.y+ze.actualBounds.height;bt=Math.max(Gt,bt)}}),wt.selection.each(function(ze){ze instanceof go.Link||ze.move(new go.Point(ze.actualBounds.x,bt-ze.actualBounds.height))}),wt.commitTransaction("aligning bottom")},Un.prototype.alignCenterX=function(){var wt=this.diagram,bt=wt.selection.first();if(bt){wt.startTransaction("aligning Center X");var ze=bt.actualBounds.x+bt.actualBounds.width/2;wt.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(ze-Gt.actualBounds.width/2,Gt.actualBounds.y))}),wt.commitTransaction("aligning Center X")}},Un.prototype.alignCenterY=function(){var wt=this.diagram,bt=wt.selection.first();if(bt){wt.startTransaction("aligning Center Y");var ze=bt.actualBounds.y+bt.actualBounds.height/2;wt.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(Gt.actualBounds.x,ze-Gt.actualBounds.height/2))}),wt.commitTransaction("aligning Center Y")}},Un.prototype.alignColumn=function(wt){var bt=this.diagram;bt.startTransaction("align Column"),wt===void 0&&(wt=0),wt=parseFloat(wt);var ze=new Array;bt.selection.each(function($t){$t instanceof go.Link||ze.push($t)});for(var Gt=0;Gt0){for(var $t=ct.elt($e-1);$t!==null&&$t.isTreeExpanded&&!$t.isTreeLeaf;){var Tt=this._sortTreeChildrenByY($t);$t=Tt.last()}$t!==null&&wt.select($t)}else wt.select(an)}}else if(ze.key==="Down")if(bt.isTreeExpanded&&!bt.isTreeLeaf){var Gt=this._sortTreeChildrenByY(bt).first();Gt!==null&&wt.select(Gt)}else for(;bt!==null;){var an=bt.findTreeParentNode();if(an===null)break;var ct=this._sortTreeChildrenByY(an),$e=ct.indexOf(bt);if($ect.y?1:an.xct.x?1:0}),bt},Un.prototype.copyToClipboard=function(wt){go.CommandHandler.prototype.copyToClipboard.call(this,wt),this._lastPasteOffset.set(this.pasteOffset)},Un.prototype.pasteFromClipboard=function(){var wt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(wt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),wt},Object.defineProperty(Un.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(wt){if(wt!=="move"&&wt!=="select"&&wt!=="scroll"&&wt!=="tree"&&wt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+wt);this._arrowKeyBehavior=wt}}),Object.defineProperty(Un.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(wt){if(!(wt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+wt);this._pasteOffset.set(wt)}});var wn=Un,An=ve(74413),ni=ve(43604),Qt=ve(99064),Jt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},St=ve(24065),Xe=ve(59301),Yt=(wt,bt,ze)=>new Promise((Gt,an)=>{var ct=Tt=>{try{$t(ze.next(Tt))}catch(Mn){an(Mn)}},$e=Tt=>{try{$t(ze.throw(Tt))}catch(Mn){an(Mn)}},$t=Tt=>Tt.done?Gt(Tt.value):Promise.resolve(Tt.value).then(ct,$e);$t((ze=ze.apply(wt,bt)).next())});function Kt({onCancel:wt,callback:bt}){let ze=(0,Se.useRef)(),Gt=(0,Se.useRef)(),an=(0,Se.useRef)(),ct=(0,Se.useRef)(!1);const $e=(0,Se.useRef)(!1),[$t,Tt]=(0,Se.useState)(0);function Mn(){const st=pt.bx.make,fn={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};ze.current=new pt.S0(Gt.current,{padding:20,grid:st(pt.s_,"Grid",st(pt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),st(pt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ci=>{var Ii=ci.diagram.commandHandler.addTopLevelParts(ci.diagram.selection,!0);Ii||ci.diagram.currentTool.doCancel()},commandHandler:st(wn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ci=>{var Ii=ci.subject;Ii.location=Ii.location.copy().snapToGridPoint(ci.diagram.grid.gridOrigin,ci.diagram.grid.gridCellSize),setTimeout(()=>{ci.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ci=>{var Ii=ci.subject;setTimeout(()=>{ci.diagram.commandHandler.editTextBlock()})},LinkRelinked:ci=>{var Ii=ci.parameter.part;Ii.invalidateConnectedLinks();var ir=ci.subject;ci.diagram.toolManager.linkingTool.isForwards?ir.toNode.invalidateConnectedLinks():ir.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ze.current.nodeTemplate=st(pt.NB,"Auto",{locationSpot:pt.z6.Center,locationObjectName:"SHAPE",desiredSize:new pt.$u(120,60),minSize:new pt.$u(40,40),resizable:!0,resizeCellSize:new pt.$u(10,10),rotatable:!0},new pt.KX("location","loc",pt.E9.parse).makeTwoWay(pt.E9.stringify),new pt.KX("desiredSize","size",pt.$u.parse).makeTwoWay(pt.$u.stringify),st(pt.bn,{name:"SHAPE",fill:fn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:pt.z6.AllSides,toSpot:pt.z6.AllSides},new pt.KX("figure"),new pt.KX("fill"),new pt.KX("stroke","borderColor"),new pt.KX("strokeWidth","thickness"),new pt.KX("strokeDashArray","dash")),st(pt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),st(pt.al,{margin:1,textAlign:"center",overflow:pt.al.OverflowEllipsis,editable:!0},new pt.KX("text").makeTwoWay(),new pt.KX("stroke","color"))),ze.current.nodeTemplate.toolTip=st("ToolTip",st(pt.s_,"Vertical",{maxSize:new pt.$u(200,NaN)},st(pt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new pt.KX("text")),st(pt.al,{font:"10pt sans-serif",textAlign:"center"},new pt.KX("text","details"))));function Kn(ci,Ii){var ir=(Ki,rr)=>{Ki.handled=!0,Ki.diagram.model.commit(Er=>{var Bi=rr.part.adornedPart,Yi=new pt.E9().setRectSpot(Bi.actualBounds,ci);Yi.subtract(Bi.location),Yi.scale(2,2),Yi.x+=Math.sign(Yi.x)*130,Yi.y+=Math.sign(Yi.y)*130,Yi.add(Bi.location),Yi.snapToGridPoint(Ki.diagram.grid.gridOrigin,Ki.diagram.grid.gridCellSize);var Wi=Er.copyNodeData(Bi.data);Er.setGroupKeyForNodeData(Wi,Er.getGroupKeyForNodeData(Bi.data)),Er.addNodeData(Wi);var Bn={from:Bi.key,to:Er.getKeyForNodeData(Wi)};Er.addLinkData(Bn);var Lr=Ki.diagram.findNodeForData(Wi);Lr.location=Yi,Ki.diagram.select(Lr),setTimeout(()=>{Ki.diagram.commandHandler.editTextBlock()},20)})};return st(pt.bn,{figure:Ii,alignment:ci,alignmentFocus:ci.opposite(),width:ci.equals(pt.z6.Top)||ci.equals(pt.z6.Bottom)?25:18,height:ci.equals(pt.z6.Top)||ci.equals(pt.z6.Bottom)?18:25,fill:"orange",stroke:fn.white,strokeWidth:4,mouseEnter:(Ki,rr)=>rr.fill="dodgerblue",mouseLeave:(Ki,rr)=>rr.fill="orange",isActionable:!0,click:ir,contextClick:ir})}function _n(ci){return st(pt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ii,ir)=>ir.fill="dodgerblue",mouseLeave:(Ii,ir)=>ir.fill="orange",click:(Ii,ir)=>{Ii.diagram.commandHandler.showContextMenu(ir.part.adornedPart)}},ci||{})}ze.current.nodeTemplate.selectionAdornmentTemplate=st(pt.uz,"Spot",st(pt.Vm,{padding:10}),Kn(pt.z6.Top,"TriangleUp"),Kn(pt.z6.Left,"TriangleLeft"),Kn(pt.z6.Right,"TriangleRight"),Kn(pt.z6.Bottom,"TriangleDown"),_n({alignment:new pt.z6(.75,0)}));function nn(ci,Ii){return(ir,Ki)=>{ir.handled=!0,ir.diagram.model.commit(rr=>{rr.set(Ki.part.adornedPart.data,ci,Ii)})}}function hn(ci,Ii){return Ii||(Ii="color"),st(pt.bn,{width:16,height:16,stroke:"lightgray",fill:ci,margin:1,background:"transparent",mouseEnter:(ir,Ki)=>Ki.stroke="dodgerblue",mouseLeave:(ir,Ki)=>Ki.stroke="lightgray",click:nn(Ii,ci),contextClick:nn(Ii,ci)})}function ri(){return[st("ContextMenuButton",st(pt.s_,"Horizontal",hn(fn.white,"fill"),hn(fn.beige,"fill"),hn(fn.extralightblue,"fill"),hn(fn.extralightred,"fill"))),st("ContextMenuButton",st(pt.s_,"Horizontal",hn(fn.lightgray,"fill"),hn(fn.lightgreen,"fill"),hn(fn.lightblue,"fill"),hn(fn.lightred,"fill")))]}function gi(){return[st("ContextMenuButton",st(pt.s_,"Horizontal",hn(fn.black),hn(fn.green),hn(fn.blue),hn(fn.red))),st("ContextMenuButton",st(pt.s_,"Horizontal",hn(fn.white),hn(fn.magenta),hn(fn.purple),hn(fn.orange)))]}function yi(ci,Ii){return Ii||(Ii="thickness"),st(pt.bn,"LineH",{width:16,height:16,strokeWidth:ci,margin:1,background:"transparent",mouseEnter:(ir,Ki)=>Ki.background="dodgerblue",mouseLeave:(ir,Ki)=>Ki.background="transparent",click:nn(Ii,ci),contextClick:nn(Ii,ci)})}function oi(ci,Ii){return Ii||(Ii="dash"),st(pt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ci,margin:1,background:"transparent",mouseEnter:(ir,Ki)=>Ki.background="dodgerblue",mouseLeave:(ir,Ki)=>Ki.background="transparent",click:nn(Ii,ci),contextClick:nn(Ii,ci)})}function Ci(){return[st("ContextMenuButton",st(pt.s_,"Horizontal",yi(1),yi(2),yi(3),yi(4))),st("ContextMenuButton",st(pt.s_,"Horizontal",oi(null),oi([2,4]),oi([4,4])))]}function Li(ci,Ii){return Ii||(Ii="figure"),st(pt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ci,margin:1,background:"transparent",mouseEnter:(ir,Ki)=>Ki.fill="dodgerblue",mouseLeave:(ir,Ki)=>Ki.fill="lightgray",click:nn(Ii,ci),contextClick:nn(Ii,ci)})}ze.current.nodeTemplate.contextMenu=st("ContextMenu",st("ContextMenuButton",st(pt.s_,"Horizontal",Li("Rectangle"),Li("RoundedRectangle"),Li("Ellipse"),Li("Diamond"))),st("ContextMenuButton",st(pt.s_,"Horizontal",Li("Parallelogram2"),Li("ManualOperation"),Li("Procedure"),Li("Cylinder1"))),st("ContextMenuButton",st(pt.s_,"Horizontal",Li("Terminator"),Li("CreateRequest"),Li("Document"),Li("TriangleDown"))),ri(),gi(),Ci()),ze.current.groupTemplate=st(pt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:pt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ci,Ii)=>{var ir=Ii.addMembers(Ii.diagram.selection,!0);ir||Ii.diagram.currentTool.doCancel()},avoidable:!1},new pt.KX("location","loc",pt.E9.parse).makeTwoWay(pt.E9.stringify),st(pt.s_,"Auto",{name:"BODY"},st(pt.bn,{parameter1:10,fill:fn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:pt.z6.AllSides,toSpot:pt.z6.AllSides},new pt.KX("fill"),new pt.KX("stroke","color"),new pt.KX("strokeWidth","thickness"),new pt.KX("strokeDashArray","dash")),st(pt.Vm,{background:"transparent",margin:20})),st(pt.al,{alignment:pt.z6.Top,alignmentFocus:pt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new pt.KX("text"),new pt.KX("stroke","color"))),ze.current.groupTemplate.selectionAdornmentTemplate=st(pt.uz,"Spot",st(pt.s_,"Auto",st(pt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),st(pt.Vm,{margin:1.5})),_n({alignment:pt.z6.TopRight,alignmentFocus:pt.z6.BottomRight})),ze.current.groupTemplate.contextMenu=st("ContextMenu",ri(),gi(),Ci()),ze.current.linkTemplate=st(pt.rU,{layerName:"Foreground",routing:pt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new pt.KX("fromSpot","fromSpot",pt.z6.parse),new pt.KX("toSpot","toSpot",pt.z6.parse),new pt.KX("fromShortLength","dir",ci=>ci>=1?10:0),new pt.KX("toShortLength","dir",ci=>ci>=1?10:0),new pt.KX("points").makeTwoWay(),st(pt.bn,{strokeWidth:2},new pt.KX("stroke","color"),new pt.KX("strokeWidth","thickness"),new pt.KX("strokeDashArray","dash")),st(pt.bn,{segmentIndex:0,segmentOffset:new pt.E9(15,0),segmentOrientation:pt.rU.OrientAlong,alignmentFocus:pt.z6.Right,figure:"circle",width:10,strokeWidth:0},new pt.KX("fill","color"),new pt.KX("visible","dir",ci=>ci===1)),st(pt.bn,{segmentIndex:-1,segmentOffset:new pt.E9(-10,6),segmentOrientation:pt.rU.OrientPlus90,alignmentFocus:pt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new pt.KX("fill","color"),new pt.KX("visible","dir",ci=>ci>=1),new pt.KX("width","thickness",ci=>7+3*ci),new pt.KX("height","thickness",ci=>7+3*ci),new pt.KX("segmentOffset","thickness",ci=>new pt.E9(-15,4+1.5*ci))),st(pt.bn,{segmentIndex:0,segmentOffset:new pt.E9(15,-6),segmentOrientation:pt.rU.OrientMinus90,alignmentFocus:pt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new pt.KX("fill","color"),new pt.KX("visible","dir",ci=>ci===2),new pt.KX("width","thickness",ci=>7+3*ci),new pt.KX("height","thickness",ci=>7+3*ci),new pt.KX("segmentOffset","thickness",ci=>new pt.E9(-15,4+1.5*ci))),st(pt.al,{alignmentFocus:new pt.z6(0,1,-4,0),editable:!0},new pt.KX("text").makeTwoWay(),new pt.KX("stroke","color"))),ze.current.linkTemplate.selectionAdornmentTemplate=st(pt.uz,st(pt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:qi(2)},new pt.KX("pathPattern","thickness",qi)),_n({alignmentFocus:new pt.z6(0,0,-6,-4)}));function qi(ci){return st(pt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ci+4).toString()+" H3"})}function lr(ci){var Ii="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ci===0?Ii="M0 0 M16 16 M0 8 L16 8":ci===2&&(Ii="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),st(pt.bn,{geometryString:Ii,margin:2,background:"transparent",mouseEnter:(ir,Ki)=>Ki.background="dodgerblue",mouseLeave:(ir,Ki)=>Ki.background="transparent",click:nn("dir",ci),contextClick:nn("dir",ci)})}function er(ci){var Ii=(ir,Ki)=>{ir.handled=!0,ir.diagram.model.commit(rr=>{var Er=Ki.part.adornedPart;rr.set(Er.data,ci?"toSpot":"fromSpot",pt.z6.stringify(pt.z6.AllSides)),(ci?Er.toNode:Er.fromNode).invalidateConnectedLinks()})};return st(pt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ir,Ki)=>Ki.background="dodgerblue",mouseLeave:(ir,Ki)=>Ki.background="transparent",click:Ii,contextClick:Ii})}function Ln(ci,Ii){var ir=0,Ki=pt.z6.RightSide;ci.equals(pt.z6.Top)?(ir=270,Ki=pt.z6.TopSide):ci.equals(pt.z6.Left)?(ir=180,Ki=pt.z6.LeftSide):ci.equals(pt.z6.Bottom)&&(ir=90,Ki=pt.z6.BottomSide),Ii||(ir-=180);var rr=(Er,Bi)=>{Er.handled=!0,Er.diagram.model.commit(Yi=>{var Wi=Bi.part.adornedPart;Yi.set(Wi.data,Ii?"toSpot":"fromSpot",pt.z6.stringify(Ki)),(Ii?Wi.toNode:Wi.fromNode).invalidateConnectedLinks()})};return st(pt.bn,{alignment:ci,alignmentFocus:ci.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ir,background:"transparent",mouseEnter:(Er,Bi)=>Bi.background="dodgerblue",mouseLeave:(Er,Bi)=>Bi.background="transparent",click:rr,contextClick:rr})}ze.current.linkTemplate.contextMenu=st("ContextMenu",gi(),Ci(),st("ContextMenuButton",st(pt.s_,"Horizontal",lr(0),lr(1),lr(2))),st("ContextMenuButton",st(pt.s_,"Horizontal",st(pt.s_,"Spot",er(!1),Ln(pt.z6.Top,!1),Ln(pt.z6.Left,!1),Ln(pt.z6.Right,!1),Ln(pt.z6.Bottom,!1)),st(pt.s_,"Spot",{margin:new pt.Zt(0,0,0,2)},er(!0),Ln(pt.z6.Top,!0),Ln(pt.z6.Left,!0),Ln(pt.z6.Right,!0),Ln(pt.z6.Bottom,!0)))));const Nr=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, {"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, {"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, {"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, {"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, {"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} ], "linkDataArray": [ {"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, {"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, {"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, {"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Ar=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function $r(ci){return console.log("shapeName:",ci),Ar.indexOf(ci)>=0}var En=new pt.YI(an.current,{maxSelectionCount:1,linkTemplate:st(pt.rU,{locationSpot:pt.z6.Center,selectionAdornmentTemplate:st(pt.uz,"Link",{locationSpot:pt.z6.Center},st(pt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),st(pt.bn,{toArrow:"Standard",stroke:null}))},{routing:pt.rU.AvoidsNodes,curve:pt.rU.JumpOver,corner:5,toShortLength:4},new pt.KX("points"),st(pt.bn,{isPanelMain:!0,strokeWidth:2}),st(pt.bn,{toArrow:"Standard",stroke:null})),model:new pt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...pt.bn.getFigureGenerators().toArray().map(ci=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ci.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ze.current.addDiagramListener("TextEdited",function(ci){var Ii;const ir=ci.subject.part;var Ki=(Ii=document.activeElement)==null?void 0:Ii.value;typeof Ki=="string"&&Ki.trim()===""&&ze.current.model.commit(function(rr){rr.set(ir.data,"text","\u672A\u547D\u540D"),ze.current.commandHandler.stopCommand()},"increment")}),En.nodeTemplate=st(pt.NB,"Auto",{locationSpot:pt.z6.Center},new pt.KX("location","location",pt.E9.parse).makeTwoWay(pt.E9.stringify),st(pt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new pt.KX("stroke").makeTwoWay(),new pt.KX("fill").makeTwoWay(),new pt.KX("figure")),st(pt.al,{margin:new pt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new pt.$u(16,16),maxSize:new pt.$u(10,NaN),textAlign:"center",editable:!0},new pt.KX("key").makeTwoWay())),setTimeout(()=>{ze.current.grid=st(pt.s_,"Grid",st(pt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),st(pt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ze.current.grid.visible=!0,ze.current.grid.gridCellStroke="darkgray",ze.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ze.current,ze.current}const Wn=()=>Yt(this,null,function*(){var st,fn=ze.current.makeImage();const Kn=yield(0,Qt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:fn.src,file_data:JSON.stringify({login:(st=(0,St.eY)())==null?void 0:st.login,data:JSON.parse(ze.current.model.toJson())})}});bt({src:Kn.url})});return(0,Se.useEffect)(()=>(setTimeout(()=>{Mn()},500),Tt($t+1),()=>{ze.current=null}),[]),Xe.createElement("div",{ref:$e,className:ct.current?`${Jt.maxH60} body-overflow-initial`:"body-overflow-initial"},Xe.createElement(en.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!$t,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Xe.createElement(sn.Z,null,Xe.createElement(ni.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Xe.createElement(ni.Z,{onClick:()=>{var st,fn,Kn=ze.current.selection.first();if(ct.current=!ct.current,document.activeElement&&Kn){let _n=(fn=(st=document.activeElement)==null?void 0:st.value)==null?void 0:fn.trim();typeof _n=="string"&&ze.current.model.commit(function(nn){nn.set(Kn.data,"text",_n||"\u672A\u547D\u540D"),ze.current.commandHandler.stopCommand()},"increment")}Tt($t+1)}},Xe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:wt},Xe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Jt.flowChartWrp},Xe.createElement("div",{style:{display:"flex",height:"100%"}},Xe.createElement("div",{style:{width:"300px",height:"100%"}},Xe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Xe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Jt.myPaletteDiv,ref:an})),Xe.createElement("div",{style:{flex:1,position:"relative"}},Xe.createElement("div",{ref:Gt,style:{height:"80vh"}}))),Xe.createElement("div",{className:"tr"},Xe.createElement(Ue.ZP,{size:"large",onClick:Wn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var qe=Kt,Ge=ve(5112),Be=ve(5871);const xe=Ge.ZP.Group,me={margin:"0 8px"};var Fe=({callback:wt,onCancel:bt})=>{function ze(Gt){wt(Gt)}return Se.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ze},Se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Se.createElement("span",{style:me},"\u5355\u5143\u683C\u6570\uFF1A"),Se.createElement("span",{style:me},"\u884C\u6570"),Se.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Se.createElement(Be.Z,null)),Se.createElement("span",{style:me},"\u5217\u6570"),Se.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Se.createElement(Be.Z,null))),Se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Se.createElement("span",{style:me},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Se.createElement(Ye.default.Item,{name:"align"},Se.createElement(xe,null,Se.createElement(Ge.ZP,{value:"default"},Se.createElement("i",{className:"fa fa-align-justify"})),Se.createElement(Ge.ZP,{value:"left"},Se.createElement("i",{className:"fa fa-align-left"})),Se.createElement(Ge.ZP,{value:"center"},Se.createElement("i",{className:"fa fa-align-center"})),Se.createElement(Ge.ZP,{value:"right"},Se.createElement("i",{className:"fa fa-align-right"}))))),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(Ue.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(Ue.ZP,{type:"ghost",onClick:bt},"\u53D6\u6D88")))},He=ve(78673),Le=ve(80727),mt=ve.n(Le),Pn=(0,Se.forwardRef)(({use3d:wt,width:bt,height:ze,callback:Gt,showSaveButton:an},ct)=>{const $e=(0,Se.useRef)(),$t=(0,Se.useRef)(),[Tt,Mn]=(0,Se.useState)(!1),Wn=(0,Se.useRef)({id:$e,appName:"graphing",width:bt||1e3,height:ze||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Se.useEffect)(()=>{$t.current=new(mt())(Wn.current,!0),window.onload=function(){$t.current.inject("applet_container")}},[]);const st=()=>{var fn=window.ggbApplet.getPNGBase64(1,!0,72);return Gt&&Gt(fn),fn};return(0,Se.useEffect)(()=>{Wn.current.appName=Tt?"3D":"graphing",$t.current.inject("applet_container")},[Tt]),(0,Se.useEffect)(()=>{Mn(wt)},[wt]),(0,Se.useImperativeHandle)(ct,()=>({getImgData:st})),Se.createElement(Se.Fragment,null,Se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:$e}),Se.createElement(sn.Z,{align:"middle"},Se.createElement(ni.Z,{flex:1},Se.createElement(He.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Tt,onChange:fn=>Mn(fn)})),Se.createElement(ni.Z,null,Se.createElement(Ue.ZP,{size:"large",onClick:st,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),rn=ve(41588),In=ve(8591);const Gn="link",Pi="upload-image",Di="add-flowchart",Gi="draw-image",Dn="add-flowchart",or="code-block",jr="add-table",Gr="------------",Ir={default:Gr,left:`:${Gr}`,center:`:${Gr}:`,right:`${Gr}:`};var wr=ve(58856);function so(){}let Rr=0;const hr=1e4,No="\u2581",vi="@\u2581\u2581@",Ee="@\u2581@",$n=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,fi=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function ln(wt){return/^\d+$/.test(wt)?`${wt}px`:wt}const Yn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",dn={[Yn+"-B"]:"bold",[Yn+"-I"]:"italic"},tn={[Gn]:"\u6DFB\u52A0\u94FE\u63A5",[or]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pi]:"\u6DFB\u52A0\u56FE\u7247",[Gi]:"\u6DFB\u52A0\u753B\u56FE",[Di]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[jr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var on=({defaultValue:wt="",onChange:bt,width:ze="100%",height:Gt=400,miniToolbar:an=!1,isFocus:ct=!1,watch:$e,insertTemp:$t,mode:Tt="markdown",id:Mn="markdown-editor-id",showResizeBar:Wn=!1,noStorage:st=!1,showNullButton:fn=!1,showNullProgramButton:Kn=!1,hidetoolBar:_n=!1,fullScreen:nn=!1,onBlur:hn,onCMBeforeChange:ri,onFullScreen:gi,className:yi="",disablePaste:oi=!1,disabled:Ci=!1,disabledFill:Li=!1,placeholder:qi="",values:lr="",extraUse:er})=>{const[Ln,Nr]=(0,Se.useState)(null),[Ar,$r]=(0,Se.useState)(wt),[En,ci]=(0,Se.useState)($e),[Ii,ir]=(0,Se.useState)(nn),[Ki,rr]=(0,Se.useState)(""),[Er,Bi]=(0,Se.useState)(0),[Yi,Wi]=(0,Se.useState)(Gt),[Bn,Lr]=(0,Se.useState)(!1),[Fn,fr]=(0,Se.useState)(0),[Qr,Pr]=(0,Se.useState)(0),Ao=(0,Se.useRef)(),po=(0,Se.useRef)(),vr=(0,Se.useRef)(),gr=(0,Se.useRef)();(0,Se.useEffect)(()=>{const Ei=window.scrollY||window.pageYOffset;$r(lr),Ln==null||Ln.setValue(lr),window.scrollTo(0,Ei)},[lr]),(0,Se.useEffect)(()=>{gi==null||gi(Ii)},[Ii]),(0,Se.useEffect)(()=>{if(Ao.current){let Ei=function(Hn,pr){var kr;if(oi){pr.preventDefault();return}const wo=pr.clipboardData;if(wo){const to=wo.types.toString(),Xr=wo.items;if(to==="Files"||wo.types.indexOf("Files")>-1){if(pr.preventDefault(),Tt=="stex")return;try{let eo=Xr[1];((kr=Xr[0])==null?void 0:kr.kind)==="file"&&(eo=Xr[0]);const Zo=eo.getAsFile(),$o=Zo.name.split(".").pop();(0,Ft.I)(Zo,ia=>{var qo,xn,oa;ia.id?((qo=Zo==null?void 0:Zo.type)==null?void 0:qo.indexOf("image"))>-1?Oi.replaceSelection(``):((xn=Zo==null?void 0:Zo.type)==null?void 0:xn.indexOf("video"))>-1?Oi.replaceSelection(``):((oa=Zo==null?void 0:Zo.type)==null?void 0:oa.indexOf("pdf"))>-1?Oi.replaceSelection(`${Zo.name}`):fi.includes($o)?Oi.replaceSelection(`${Zo.name}`):Oi.replaceSelection(`[${Zo.name}](/api/attachments/${ia.id}?type=${ia.content_type})`):(ia==null?void 0:ia.status)===401&&(document.location.href="/user/login")})}catch(eo){In.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Oi=We().fromTextArea(Ao.current,{mode:Tt,lineNumbers:!an,lineWrapping:!0,value:wt,autoCloseTags:!0,autoCloseBrackets:!0});return Oi.on("keyup",function(Hn,pr){pr.keyCode===8&&(Hn.getValue()==""?Oi.setOption("placeholder",qi):Oi.setOption("placeholder",null))}),Oi.on("keydown",function(Hn,pr){if(pr.keyCode===8){var kr=Yr(Hn);kr&&pr.preventDefault()}}),ct&&Oi.focus(),Oi.on("paste",Ei),Ci&&Oi.on("beforeChange",function(Hn,pr){(pr.origin==="paste"||pr.origin==="+input")&&pr.cancel()}),Nr(Oi),()=>{Oi.off("paste",Ei)}}},[]);const cr=(0,Se.useCallback)(()=>{if(po.current)try{}catch(Ei){console.log(Ei,"---- to set md editor body height")}},[Yi,po,Ii]);(0,Se.useEffect)(()=>{function Ei(){let Oi=new Ot.Z(Hn=>{for(let pr of Hn)(pr.target.offsetHeight>0||pr.target.offsetWidth>0)&&(cr(),Ln.setSize("100%","100%"),Ln.refresh())});return Oi.observe(Ao.current.parentElement),Oi}if(Ln){const Oi=Ei();return()=>{var Hn,pr;(Hn=Ao.current)!=null&&Hn.parentElement&&Oi.unobserve((pr=Ao.current)==null?void 0:pr.parentElement)}}},[Ln,cr]),(0,Se.useEffect)(()=>{if(Ln){let Ei=[];for(const[Oi,Hn]of Object.entries(dn)){let pr={[Oi]:()=>{Ri(Hn)}};Ei.push(pr),Ln.addKeyMap(pr)}return()=>{for(let Oi of Ei)Ln.removeKeyMap(Oi)}}},[Ln]),(0,Se.useEffect)(()=>{nn!==Ii&&ir(nn)},[nn]),(0,wr.Z)(()=>{if(!st&&Er>0){let Ei=new Date().getTime(),Oi=window.sessionStorage.getItem(Mn);Ei>=Er+hr&&(!Oi||Oi!==Ar)&&(window.sessionStorage.setItem(Mn,Ar),Lr(!0))}},hr),(0,Se.useEffect)(()=>{ci($e)},[Ln,$e]),(0,Se.useEffect)(()=>{Ln&&ct&&Ln.focus()},[Ln,ct]),(0,Se.useEffect)(()=>{if(En&&Ln){let Ei=function(Hn){let pr=Hn.target;if(gr.current){let kr=pr.scrollTop/pr.scrollHeight;gr.current.scrollTop=gr.current.scrollHeight*kr}};const Oi=Ln.getScrollerElement();return Oi.addEventListener("scroll",Ei),()=>{Oi.removeEventListener("scroll",Ei)}}},[Ln,En]),(0,Se.useEffect)(()=>{if(Ln&&ri){let Ei=function(Oi,Hn){ri(Oi,Hn)};return Ln.on("beforeChange",Ei),()=>{Ln.off("beforeChange",Ei)}}},[Ln,ri]),(0,Se.useEffect)(()=>{if(Ln&&hn){let Ei=function(){hn(Ln.getValue())};return Ln.on("blur",Ei),()=>{Ln.off("blur",Ei)}}},[Ln,hn]);function Yr(Ei,Oi){var Hn=Ei.getDoc(),pr=Hn.getCursor(),kr=Hn.getLine(pr.line),wo=kr.charAt(pr.ch-1),to=kr.lastIndexOf("@\u2581@",pr.ch),Xr=kr.lastIndexOf("@\u2581\u2581@",pr.ch),eo=to>Xr?to:Xr,Zo=to>Xr?3:4;if(vi.indexOf(wo)===-1)return null;if(console.log("change1:",Oi,Ei,kr,pr,eo,to,Xr,wo),eo>=0&&pr.ch-eo<5){var $o=eo+Zo;return Hn.replaceRange("",{line:pr.line,ch:eo},{line:pr.line,ch:$o}),{line:pr.line,ch:$o}}return null}(0,Se.useEffect)(()=>{if(Ln){let Ei=function(Oi,Hn){const pr=Oi.getValue();$r(pr),Bi(new Date().getTime()),Oi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),bt&&(Kn?bt(pr,Cn(pr)):bt(pr))};return Ln.on("change",Ei),()=>{Ln.off("change",Ei)}}},[Ln,bt]),(0,Se.useEffect)(()=>{if(Ln)if(wt==null)Ln.setValue(""),$r("");else{const Ei=window.scrollY||window.pageYOffset;wt!==Ln.getValue()&&(Ln.setValue(wt),$r(wt),Ln.setCursor(Ci?1:Ln.lineCount(),0),window.scrollTo(0,Ei))}},[Ln,wt]);const Ri=(0,Se.useCallback)(Ei=>{const Oi=Ln.getCursor(),Hn=Ln.getSelection();let pr=Hn.split(` `);switch(Ei){case"bold":return Ln.replaceSelection("**"+Hn+"**"),Hn===""&&Ln.setCursor(Oi.line,Oi.ch+2),Ln.focus();case"italic":return Ln.replaceSelection("*"+Hn+"*"),Hn===""&&Ln.setCursor(Oi.line,Oi.ch+1),Ln.focus();case"code":return Ln.replaceSelection("`"+Hn+"`"),Hn===""&&Ln.setCursor(Oi.line,Oi.ch+1),Ln.focus();case"inline-latex":return rr("inline-latex"),Ln.focus();case"latex":return Ln.replaceSelection("```latex\n"+Hn+"\n```"),Ln.setCursor(Oi.line+1,Hn.length+1),Ln.focus();case"line-break":return Ln.replaceSelection(`
`),Ln.focus();case"list-ul":return Hn===""?Ln.replaceSelection("- "+Hn):Ln.replaceSelection(pr.map(kr=>kr===""?"":`- ${kr}`).join(` `)),Ln.focus();case"list-ol":return Hn===""?Ln.replaceSelection("1. "+Hn):Ln.replaceSelection(pr.map((kr,wo)=>kr===""?"":`${wo+1}. ${kr}`).join(` `)),Ln.focus();case"add-null-ch":return Hn===""&&Ln.setCursor(Oi.line,Oi.ch),Ln.replaceSelection(No),Ln.focus();case"add-signal":return Hn===""&&Ln.setCursor(Oi.line,Oi.ch),Ln.replaceSelection(Ee),Ln.focus();case"add-multiple":return Hn===""&&Ln.setCursor(Oi.line,Oi.ch),Ln.replaceSelection(vi),Ln.focus();case"inster-template-1":return Hn===""&&Ln.setCursor(Oi.line,Oi.ch),Ln.replaceSelection($n),Ln.focus();case"eraser":return Ln.setValue(""),Ln.focus();case"trigger-watch":return ci(!En),Ln.focus();case"trigger-full-screen":return ir(!Ii),Ln.focus();case Gn:rr(Gn);return;case or:rr(or);return;case Pi:rr(Pi);return;case Gi:rr(Gi);return;case"maths-latex":rr("maths-latex");return;case Di:rr(Di);return;case jr:rr(jr);return;default:throw new Error}},[Ln,En,Ii]),_e=(0,Se.useCallback)((Ei,Oi)=>{var Hn,pr,kr,wo,to,Xr;switch(rr(""),Ki){case Gn:const{title:qo,link:xn}=Ei;return Ln.replaceSelection(`[${qo}](${xn})`),Ln.focus();case or:const{language:oa,content:vs}=Ei;return Ln.replaceSelection(["```"+oa,vs,"```"].join(` `)),Ln.focus();case"maths-latex":for(var eo=atob(Ei),Zo=new Uint8Array(eo.length),$o=0;$o{Kr.id?Ln.replaceSelection(`![,](/api/attachments/${Kr.id}?type=${Kr.content_type})`):(Kr==null?void 0:Kr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ln.replaceSelection("`$$"+Ei+"$$`");break;case Pi:case Gi:case Dn:const{src:Ga,alt:Zs}=Ei,xa=Oi,pl=(kr=(pr=(Hn=xa==null?void 0:xa.name)==null?void 0:Hn.split("."))==null?void 0:pr.pop)==null?void 0:kr.call(pr);return((wo=xa==null?void 0:xa.type)==null?void 0:wo.indexOf("image"))>-1||!(xa!=null&&xa.type)?xa!=null&&xa.align||xa!=null&&xa.width?Ln.replaceSelection(`

${Zs||

`):Ln.replaceSelection(`${Zs||`):((to=xa==null?void 0:xa.type)==null?void 0:to.indexOf("video"))>-1?Ln.replaceSelection(``):((Xr=xa==null?void 0:xa.type)==null?void 0:Xr.indexOf("pdf"))>-1?Ln.replaceSelection(`${xa.name}`):fi.includes(pl)?Ln.replaceSelection(`${xa.name}`):Ln.replaceSelection(`[${xa.name}](${Ga})`),Ln.focus();case jr:const{row:wa,col:Lo,align:Ko}=Ei;let Ka=` `;for(let Kr=0;Kr{switch(Ki){case Gn:return Se.createElement(Sn,{callback:_e,onCancel:Dt});case or:return Se.createElement(mn.Z,{callback:_e,onCancel:Dt});case Pi:return Se.createElement(Ft.Z,{callback:_e,onCancel:Dt});case Di:return Se.createElement(qe,{callback:_e,onCancel:Dt});case jr:return Se.createElement(Fe,{callback:_e,onCancel:Dt});case"maths-latex":return Se.createElement(Pn,{showSaveButton:!0,callback:_e});case"inline-latex":return Se.createElement(rn.Z,{showSaveButton:!0,callback:_e});default:return null}},[Ki]);function Dt(){rr("")}(0,Se.useEffect)(()=>{if(vr.current){let Ei=function(to){kr=!0,wo=to.pageY},Oi=function(){kr=!1},Hn=function(to){if(kr){let Xr=to.pageY-wo;Xr<0&&(Xr=0),Xr>300&&(Xr=300);let eo=Gt+Xr+"px";Wi(eo)}},pr=vr.current,kr=!1,wo=0;return pr.addEventListener("mousedown",Ei),document.addEventListener("mousemove",Hn),document.addEventListener("mouseup",Oi),()=>{pr.removeEventListener("mousedown",Ei),document.removeEventListener("mousemove",Hn),document.removeEventListener("mouseup",Oi)}}},[Ln,vr]),(0,Se.useEffect)(()=>{Wi(Gt)},[Gt]);const un=ln(ze),jn=ln(Yi),ai={width:un,height:jn},Vt=(0,Se.useMemo)(()=>{if(Er){let Ei=new Date(Er),Oi=Ei.getHours(),Hn=Ei.getMinutes(),pr=Ei.getSeconds();return Oi=Oi<10?"0"+Oi:Oi,Hn=Hn<10?"0"+Hn:Hn,pr=pr<10?"0"+pr:pr,`${Oi}:${Hn}:${pr}`}return 0},[Er]),Cn=Ei=>{const Oi=[];if(Kn){let Hn=-1;Ei=Ei.replace(/(@▁▁@|@▁@)/g,function(pr,kr,wo){Oi.push({multiLine:pr!==Ee})})}return Oi};function ii(){window.sessionStorage.removeItem(Mn),Lr(!1),Bi(0)}function Qn(){Lr(!1),Bi(0),Ln.setValue(window.sessionStorage.getItem(Mn))}(0,Se.useEffect)(()=>{tn[Ki]&&Ki!==Gi&&Ki!==Di&&setTimeout(()=>{const Ei=document.getElementsByClassName("markdown-popup-form")[0],Oi=window.innerWidth/2-Ei.offsetWidth/2,Hn=window.innerHeight/2-Ei.offsetHeight/2;fr(Oi),Pr(Hn)},0)},[Ki]);const Fi=Ei=>{Ei.preventDefault();const Oi=Ei.clientX-Fn,Hn=Ei.clientY-Qr;document.body.onmousemove=pr=>{let kr=pr.clientX-Oi,wo=pr.clientY-Hn;const to=document.getElementsByClassName("markdown-popup-form")[0],Xr=window.innerWidth-to.offsetWidth,eo=window.innerHeight-to.offsetHeight;kr=Math.max(0,Math.min(kr,Xr)),wo=Math.max(0,Math.min(wo,eo)),Mr(pr.clientX,pr.clientY,Oi,Hn)&&(fr(kr),Pr(wo))},document.body.onmouseup=function(){document.body.onmousemove=null}},Mr=(Ei,Oi,Hn,pr)=>{const kr=document.body.clientHeight,wo=document.body.clientWidth;return Ei<20&&Hn>Ei||Ei>wo-20&&HnOi||Oi>kr-20&&prYe in Ve?gt(Ve,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ve[Ye]=ut,se=(Ve,Ye)=>{for(var ut in Ye||(Ye={}))te.call(Ye,ut)&&ce(Ve,ut,Ye[ut]);if(Me)for(var ut of Me(Ye))ne.call(Ye,ut)&&ce(Ve,ut,Ye[ut]);return Ve},ge=(Ve,Ye)=>dt(Ve,Ct(Ye));const{useForm:ye}=Se.default,Ce={width:280,marginRight:10},Ne={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ve,onCancel:Ye})=>{const[ut]=ye();let Ue=(0,Et.useRef)();function Nt(Rt){Ue.current.width=ut.getFieldValue("width"),Ue.current.align=ut.getFieldValue("align"),Ve(Rt,Ue.current)}function Qe(Rt,It){if(Rt.status===-1){Oe.ZP.error(Rt.message);return}ut.setFieldsValue({src:`/api/attachments/${Rt.id}`,type:It.type})}function Ht(Rt){let It=Rt.target.files[0];Ue.current=It,Ke(It,Qe)}return tt.createElement(Se.default,ge(se({form:ut},Ne),{className:"upload-image-panel",onFinish:Nt,style:{width:470,overflow:"hidden"}}),tt.createElement(Se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},tt.createElement("div",{className:"flex-container"},tt.createElement(Se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},tt.createElement(We.default,{style:Ce})),tt.createElement(Ie,{onFileChange:Ht}))),tt.createElement(Se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},tt.createElement(We.default,{style:{width:264}})),tt.createElement(Se.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},tt.createElement(Ot.Z,null,tt.createElement(Se.default.Item,{name:"width",style:{margin:0}},tt.createElement(et.Z,{style:{width:264}})),tt.createElement("span",{className:"ml8"},"%"))),tt.createElement(Se.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},tt.createElement(yt.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),tt.createElement("aside",null,tt.createElement(Se.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},tt.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),tt.createElement(ke.ZP,{type:"default",onClick:Ye},"\u53D6\u6D88"))))};function Ie({onFileChange:Ve}){return tt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",tt.createElement("input",{type:"file",onChange:Ve}))}function Ke(Ve,Ye){if(!Ve)throw new String("\u6CA1\u6709\u6587\u4EF6");let ut=new FormData;ut.append("editormd-image-file",Ve),ut.append("file_param_name","editormd-image-file"),ut.append("byxhr","true");var Ue=new window.XMLHttpRequest;Ue.withCredentials=!0,Ue.addEventListener("load",function(Nt){Ye(JSON.parse(Nt.target.responseText),Ve)},!1),Ue.addEventListener("error",function(Nt){console.error(Nt)},!1),Ue.open("POST",`${Bt.KI}/api/attachments.json`),Ue.send(ut)}},79346:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return We}});var Se=ve(59301),Oe=ve(4676);class We extends Se.Component{constructor(et){super(et);const yt=window.document;this.node=yt.createElement("div"),yt.body.appendChild(this.node)}render(){const{children:et}=this.props;return(0,Oe.createPortal)(et,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(zn,Nn,ve){"use strict";ve.d(Nn,{SV:function(){return Yt},ZP:function(){return Xe}});var Se=ve(59301),Oe=ve(76374);const We={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ot={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},et={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},yt={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(` `)}]},ke={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 Bt=ve(53184),Et=ve.n(Bt),tt=Object.defineProperty,gt=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(Kt,qe,Ge)=>qe in Kt?tt(Kt,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Kt[qe]=Ge,ce=(Kt,qe)=>{for(var Ge in qe||(qe={}))Me.call(qe,Ge)&&ne(Kt,Ge,qe[Ge]);if(Ct)for(var Ge of Ct(qe))te.call(qe,Ge)&&ne(Kt,Ge,qe[Ge]);return Kt},se=(Kt,qe)=>gt(Kt,dt(qe)),ge=(Kt,qe,Ge)=>new Promise((Be,xe)=>{var me=Le=>{try{He(Ge.next(Le))}catch(mt){xe(mt)}},Fe=Le=>{try{He(Ge.throw(Le))}catch(mt){xe(mt)}},He=Le=>Le.done?Be(Le.value):Promise.resolve(Le.value).then(me,Fe);He((Ge=Ge.apply(Kt,qe)).next())});const ye={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"]}},Ce=(Kt,qe)=>qe.map(Ge=>({label:Ge,kind:Kt.languages.CompletionItemKind.Keyword,insertText:Ge})),Ne=Kt=>Object.keys(ye.tables).map(qe=>({label:qe,kind:Kt.languages.CompletionItemKind.Variable,insertText:qe})),Pe=(Kt,qe)=>{const Ge=ye.tables[Kt];return Ge?Ge.map(Be=>({label:Be,kind:qe.languages.CompletionItemKind.Field,insertText:Be})):[]};function Ie(Kt,qe,Ge,Be,xe){let me=qe.getWordUntilPosition(Ge),Fe={startLineNumber:Ge.lineNumber,endLineNumber:Ge.lineNumber,startColumn:me.startColumn,endColumn:me.endColumn},He=Be.map(Le=>({label:Le,kind:Kt.languages.CompletionItemKind.Keyword,insertText:Le,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Fe}));return xe.map(Le=>{He.push(se(ce({},Le),{range:Fe}))}),He}var Ke=Kt=>{ye.languages.map(xe=>(Kt.languages.registerDocumentFormattingEditProvider(xe,{provideDocumentFormattingEdits(me,Fe,He){return ge(this,null,function*(){const Le=Et()(me.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:me.getFullModelRange(),text:Le}]})}}),xe));const qe=et.quickKey.map(xe=>({label:xe.label,kind:Kt.languages.CompletionItemKind.Method,insertText:xe.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ge=yt.quickKey.map(xe=>({label:xe.label,kind:Kt.languages.CompletionItemKind.Method,insertText:xe.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Be=Ot.quickKey.map(xe=>({label:xe.label,kind:Kt.languages.CompletionItemKind.Method,insertText:xe.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Kt.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(xe,me){var Fe=xe.getWordUntilPosition(me),He={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:Fe.startColumn,endColumn:Fe.endColumn},Le=xe.getLineContent(me.lineNumber).substring(Fe.startColumn-2,Fe.endColumn);return{suggestions:[...et.keywords.map(mt=>({label:mt,kind:Kt.languages.CompletionItemKind.Function,documentation:mt,insertText:mt,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...et.quickKey.map(mt=>({label:mt.label,kind:Kt.languages.CompletionItemKind.Function,documentation:mt.content,insertText:Le.startsWith("#")?mt.content.replace(/#/,""):mt.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),Kt.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(xe,me){var Fe=xe.getWordUntilPosition(me),He={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:Fe.startColumn,endColumn:Fe.endColumn};return{suggestions:[...We.keywords.map(Le=>({label:Le,kind:Kt.languages.CompletionItemKind.Function,documentation:Le,insertText:Le,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),Kt.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(xe,me){var Fe=xe.getWordUntilPosition(me),He={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:Fe.startColumn,endColumn:Fe.endColumn},Le=xe.getLineContent(me.lineNumber).substring(Fe.startColumn-2,Fe.endColumn);return{suggestions:[...Ot.keywords.map(mt=>({label:mt,kind:Kt.languages.CompletionItemKind.Function,documentation:mt,insertText:mt,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...Ot.quickKey.map(mt=>({label:mt.label,kind:Kt.languages.CompletionItemKind.Function,documentation:mt.content,insertText:Le.startsWith("#")?mt.content.replace(/#/,""):mt.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),Kt.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(xe,me){var Fe=xe.getWordUntilPosition(me),He={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:Fe.startColumn,endColumn:Fe.endColumn},Le=xe.getLineContent(me.lineNumber).substring(Fe.startColumn-2,Fe.endColumn);return{suggestions:[...ke.keywords.map(mt=>({label:mt,kind:Kt.languages.CompletionItemKind.Function,documentation:mt,insertText:mt,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...ke.quickKey.map(mt=>({label:mt.label,kind:Kt.languages.CompletionItemKind.Function,documentation:mt.content,insertText:Le.startsWith("#")?mt.content.replace(/#/,""):mt.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),Kt.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(xe,me){var Fe=xe.getWordUntilPosition(me),He={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:Fe.startColumn,endColumn:Fe.endColumn},Le=xe.getLineContent(me.lineNumber).substring(Fe.startColumn-2,Fe.endColumn);return{suggestions:[...yt.keywords.map(mt=>({label:mt,kind:Kt.languages.CompletionItemKind.Function,documentation:mt,insertText:mt,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...yt.quickKey.map(mt=>({label:mt.label,kind:Kt.languages.CompletionItemKind.Function,documentation:mt.content,insertText:Le.startsWith("#")?mt.content.replace(/#/,""):mt.content,insertTextRules:Kt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}})};const Ve="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ye=Object.defineProperty,ut=(Kt,qe,Ge)=>qe in Kt?Ye(Kt,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Kt[qe]=Ge,Ue=(Kt,qe,Ge)=>ut(Kt,typeof qe!="symbol"?qe+"":qe,Ge);const Nt=class bx{constructor(qe,Ge,Be){this.placeholder=qe,this.editor=Ge,this.monaco=Be,Ge.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return bx.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)}};Ue(Nt,"ID","editor.widget.placeholderHint");var Ht=Nt,Rt=ve(96236),It=ve(8591),Lt=ve(6848),Ut=ve(89392),ht=ve(34604),Re=ve(56102),At=Object.defineProperty,Sn=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,On=(Kt,qe,Ge)=>qe in Kt?At(Kt,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Kt[qe]=Ge,yn=(Kt,qe)=>{for(var Ge in qe||(qe={}))en.call(qe,Ge)&&On(Kt,Ge,qe[Ge]);if(Ft)for(var Ge of Ft(qe))sn.call(qe,Ge)&&On(Kt,Ge,qe[Ge]);return Kt},Tn=(Kt,qe)=>Sn(Kt,mn(qe)),pt=(Kt,qe)=>{var Ge={};for(var Be in Kt)en.call(Kt,Be)&&qe.indexOf(Be)<0&&(Ge[Be]=Kt[Be]);if(Kt!=null&&Ft)for(var Be of Ft(Kt))qe.indexOf(Be)<0&&sn.call(Kt,Be)&&(Ge[Be]=Kt[Be]);return Ge},Un=(Kt,qe,Ge)=>new Promise((Be,xe)=>{var me=Le=>{try{He(Ge.next(Le))}catch(mt){xe(mt)}},Fe=Le=>{try{He(Ge.throw(Le))}catch(mt){xe(mt)}},He=Le=>Le.done?Be(Le.value):Promise.resolve(Le.value).then(me,Fe);He((Ge=Ge.apply(Kt,qe)).next())});function wn(Kt){return/^\d+$/.test(Kt)?`${Kt}px`:Kt}function An(){}let ni=!1;const Qt={"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 Jt(Kt=[]){let qe=Kt;if(Array.isArray(Kt)){for(let Ge=0;Ge{var qe=Kt,{width:Ge="100%",height:Be="100%",value:xe,language:me="javascript",style:Fe={},options:He={},overrideServices:Le={},theme:mt="vs-dark",onEditBlur:zt,isCopy:Pn=!1,onSave:rn,autoHeight:In=!1,forbidCopy:Gn=!1,onChange:Pi=An,editorDidMount:Di=An,onFocus:Gi=An,onBreakPoint:Dn=An,breakPointValue:or=[],filename:jr="educoder.txt",errorLine:Gr,errorContent:Ir="",highlightLine:wr,openBreakPoint:so=!1,placeholder:Rr="",showMiniMap:hr=!0}=qe,No=pt(qe,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const vi=(0,Se.useRef)(),Ee=(0,Se.useRef)({}),$n=(0,Se.useRef)(),fi=(0,Se.useRef)(),ln=(0,Se.useRef)([]),ei=(0,Se.useRef)(!1),Yn=(0,Se.useRef)(),dn=(0,Se.useRef)(),tn=(0,Se.useRef)(!1),[on,wt]=(0,Se.useState)(!1);function bt(){let hn;return vi.current&&(hn=new Oe.Z(ri=>{for(let gi of ri)(gi.target.offsetHeight>0||gi.target.offsetWidth>0)&&Ee.current.instance.layout()}),hn.observe(vi.current)),hn}function ze(){It.ZP.warning({content:decodeURIComponent(Ve),key:"monaco-editor-tip"})}const Gt=()=>{let hn=Ee.current.instance;if(xe!=null&&hn&&on){const ri=hn.getModel();ri&&xe!==ri.getValue()&&(ni=!0,ri.setValue(xe),hn.layout(),ni=!1)}};(0,Se.useEffect)(()=>{const hn=ht.Z.subscribe("formatDocument",ri=>{var gi;let yi=Ee.current.instance;(gi=yi==null?void 0:yi.getAction)==null||gi.call(yi,"editor.action.formatDocument").run()});return window.updateMonacoValue=ri=>{Pi(ri)},hn},[]),(0,Se.useEffect)(()=>{var hn;let ri=Ee.current.instance;fi.current&&clearTimeout(fi.current),fi.current=setTimeout(()=>{Gt()},500),xe&&(xe!=null&&xe.length)&&((hn=ri==null?void 0:ri.updateOptions)==null||hn.call(ri,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(xe.split(/\r\n|\r|\n/g).length))+3,5)}))},[xe,on,Ee.current]),(0,Se.useEffect)(()=>{if(Gr&&Ee.current&&Ee.current.instance){let ri=Ee.current.instance;ri.changeViewZones(function(gi){var yi=document.createElement("div");yi.style.padding="10px 20px",yi.style.width="calc(100% - 20px)",yi.className="my-error-line-wrp",yi.innerHTML=Ir,gi.addZone({afterLineNumber:Gr||11,heightInLines:3,domNode:yi})});var hn={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}};ri.addOverlayWidget(hn),ri.revealPositionInCenter({lineNumber:20,column:1})}},[Gr,Ee.current,on]);const an=(hn="",ri)=>{if(!hn||hn.trim()==="")return!0;const yi=Ee.current.instance.getModel().getLineTokens(ri);let oi=!1;for(let Ci=0;Ci<2;Ci++)yi.getStandardTokenType(Ci)===1&&(oi=!0);return oi};(0,Se.useEffect)(()=>{var hn;const ri=(hn=Ee.current)==null?void 0:hn.instance;if(ri&&on&&Gn){const gi=ri.onDidBlurEditorWidget(()=>{tn.current=!1}),yi=ri.onDidFocusEditorText(()=>{tn.current=!0});return()=>{gi.dispose(),yi.dispose()}}},[Ee.current,on,Gn]),(0,Se.useEffect)(()=>{var hn;if((hn=Ee.current)!=null&&hn.instance&&on&&so){let ri=Ee.current.instance,gi=ri.getModel();if(!gi)return;(()=>{var En;let ci=[],Ii=[];const ir=gi.getAllDecorations();for(let rr of ir)rr.options.className==="highlighted-line"&&(ci.push((En=rr==null?void 0:rr.range)==null?void 0:En.startLineNumber),Ii.push(rr==null?void 0:rr.id));if(wr===ci[0])return;gi.deltaDecorations(Ii,[]);const Ki=gi.getLineCount();wr&&wr<=Ki&&(ri.deltaDecorations([],[{range:new St.Range(wr,1,wr,gi.getLineMaxColumn(wr)),options:{isWholeLine:!0,className:"highlighted-line"}}]),ri.revealLineInCenter(wr))})();const oi=(En=!1)=>{var ci;let Ii=[],ir=[];const Ki=gi.getAllDecorations();for(let rr of Ki)rr.options.linesDecorationsClassName==="breakpoints-select"&&(Ii.push((ci=rr==null?void 0:rr.range)==null?void 0:ci.startLineNumber),ir.push(rr==null?void 0:rr.id));if(En)return{lines:Ii,ids:ir};Dn(Ii)},Ci=En=>Un(void 0,null,function*(){let ci={range:new St.Range(En,1,En,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gi.deltaDecorations([],[ci]),oi()}),Li=En=>Un(void 0,null,function*(){let ci=[];const Ii=ri.getLineDecorations(En);for(let ir of Ii)ir.options.linesDecorationsClassName==="breakpoints-select"&&ci.push(ir.id);yield gi.deltaDecorations(ci,[]),oi()}),qi=En=>{let ci=ri.getLineDecorations(En);for(let Ii of ci)if(Ii.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ut.isEqual)(or,oi(!0).lines)){gi.deltaDecorations(oi(!0).ids,[]);const En=or.map(ci=>({range:new St.Range(ci,1,ci,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gi.deltaDecorations([],En)}const lr=ri.onDidChangeModelContent(En=>{let ci=ri.getPosition();if(ci){let Ii=ci.lineNumber;clearTimeout(dn.current),dn.current=setTimeout(()=>{an(gi.getLineContent(Ii),Ii)?Li(Ii):qi(Ii)?(Li(Ii),Ci(Ii)):oi()},100)}}),er=ri.onMouseDown(En=>{var ci,Ii,ir;if(En.target.detail&&((ir=(Ii=(ci=En.target)==null?void 0:ci.element)==null?void 0:Ii.className)!=null&&ir.includes("line-numbers"))){let Ki=En.target.position.lineNumber;if(an(gi.getLineContent(Ki),Ki))return;qi(Ki)?Li(Ki):Ci(Ki)}}),Ln=En=>{let ci={range:new St.Range(En,1,En,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ln.current=ri.deltaDecorations(ln.current,[ci])},Nr=()=>{ln.current=ri.deltaDecorations(ln.current,[])},Ar=ri.onMouseMove(En=>{var ci,Ii,ir;if(Nr(),En.target.detail&&((ir=(Ii=(ci=En.target)==null?void 0:ci.element)==null?void 0:Ii.className)!=null&&ir.includes("line-numbers"))){let Ki=En.target.position.lineNumber;if(an(gi.getLineContent(Ki),Ki))return;Ln(Ki)}}),$r=ri.onMouseLeave(()=>{Nr()});return()=>{lr.dispose(),er.dispose(),Ar.dispose(),$r.dispose()}}},[Ee.current,on,or,wr,so,me]),(0,Se.useEffect)(()=>{var hn;(hn=Ee.current)!=null&&hn.instance&&so&&Ee.current.instance.setPosition({lineNumber:0,column:0})},[wr]);function ct(){let hn=Ee.current.instance;if(hn){const ri=hn.getSelection(),gi=Ee.current.pastePos||{},yi=new St.Range(gi.startLineNumber||ri.endLineNumber,gi.startColumn||ri.endColumn,gi.endLineNumber||ri.endLineNumber,gi.endColumn||ri.endColumn);setTimeout(()=>{hn.executeEdits("",[{range:yi,text:""}])},300)}}function $e(hn){(window.navigator.platform.match("Mac")?hn.metaKey:hn.ctrlKey)&&hn.keyCode==83&&(hn.preventDefault(),rn())}const $t=()=>{if(In&&Ee.current.instance){const hn=Ee.current.instance.getContentHeight();_n(hn{if(!tn.current)return;const{keyCode:ri,ctrlKey:gi,metaKey:yi,target:oi,type:Ci}=hn;return(Ci==="paste"||(ri===67||ri===86)&&(yi||gi))&&oi.nodeName==="TEXTAREA"&&(ze(),hn.preventDefault()),!1};function Wn(hn,ri){var gi=window.URL||window.webkitURL||window,yi=new Blob([ri]),oi=document.createElementNS("http://www.w3.org/1999/xhtml","a");oi.href=gi.createObjectURL(yi),oi.download=hn,Tt(oi)}(0,Se.useEffect)(()=>{$t()},[$t]),(0,Se.useEffect)(()=>{vi.current&&!on&&Promise.all([ve.e(8909),ve.e(3267)]).then(ve.bind(ve,71448)).then(hn=>{try{St=hn,Ee.current.instance=St.editor.create(vi.current,{value:xe,language:Jt(me),theme:mt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:hr||!1}},Le);const ri=Ee.current.instance;let oi=[...Rt.BH._menuItems].find(lr=>lr[0]._debugName=="EditorContext")[1],Ci=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Li=(lr,er)=>{var Ln,Nr;let Ar=lr._first;do er.includes((Nr=(Ln=Ar.element)==null?void 0:Ln.command)==null?void 0:Nr.id)&&lr._remove(Ar);while(Ar=Ar.next)};if(Di(ri,St),setTimeout(()=>{$t(),Ee.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Wn(jr||"educoder.txt",ri.getValue())}})},500),Ee.current.subscription=ri.onDidChangeModelContent(lr=>{ei.current?clearTimeout(Yn.current):($t(),Pi(ri.getValue(),lr)),Yn.current=setTimeout(()=>{ei.current=!1},500)}),window.Monaco||Ke(St,Jt(me)),Gn&&(Li(oi,Ci),vi.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Mn),window.removeEventListener("paste",Mn),window.addEventListener("keydown",Mn),window.addEventListener("paste",Mn)),window.Monaco=St,zt&&ri.onDidBlurEditorWidget(()=>{zt(ri.getValue())}),Gi&&ri.onDidFocusEditorText(()=>{Gi(ri.getValue())}),Gn)try{ri.onDidPaste(lr=>{const er=ri.getSelection(),Ln=Ee.current.pastePos||{},Nr=new St.Range(Ln.startLineNumber||er.endLineNumber,Ln.startColumn||er.endColumn,Ln.endLineNumber||er.endLineNumber,Ln.endColumn||er.endColumn);ri.executeEdits("",[{range:lr.range,text:""}])})}catch(lr){}let qi=bt();return Rr&&typeof Rr=="string"&&new Ht(Rr,ri,St),wt(!0),()=>{const lr=Ee.current.instance;lr.dispose();const er=lr.getModel();er&&er.dispose(),Ee.current.subscription&&Ee.current.subscription.dispose(),qi.unobserve(vi.current)}}catch(ri){}})},[]),(0,Se.useEffect)(()=>{if(Ee.current.instance&&on)return document.addEventListener("keydown",$e,!1),()=>{document.removeEventListener("keydown",$e)}},[rn,on]),(0,Se.useEffect)(()=>{let hn=Ee.current.instance;if(hn&&on){let ri=Jt(me);St.editor.setModelLanguage(hn.getModel(),ri)}},[me,on]),(0,Se.useEffect)(()=>{Ee.current.instance&&on&&St.editor.setTheme(mt)},[mt,on]),(0,Se.useEffect)(()=>{let hn=Ee.current.instance;$n.current=He,hn&&on&&(hn.updateOptions(yn({},He)),setTimeout(()=>{hn.getModel().updateOptions(yn({},He))},200))},[JSON.stringify(He),on]),(0,Se.useEffect)(()=>{let hn=Ee.current.instance;hn&&on&&hn.layout()},[Ge,Be,on]);const[st,fn]=(0,Se.useState)(wn(Ge)),[Kn,_n]=(0,Se.useState)(wn(Be)),nn=Tn(yn({},Fe),{width:st,height:Kn,position:"relative"});return Se.createElement("div",{className:"my-monaco-editor",ref:vi,style:nn},Pn&&Se.createElement(Re.CopyToClipboard,{text:xe,onCopy:()=>It.ZP.success("\u590D\u5236\u6210\u529F")},Se.createElement(Lt.Z,{title:"\u590D\u5236\u4EE3\u7801"},Se.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},Se.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Yt({width:Kt="100%",height:qe="100%",original:Ge,modified:Be,language:xe,options:me={}}){const Fe=(0,Se.useRef)(),[He,Le]=(0,Se.useState)(null);function mt(In){let Gn;return Fe.current&&(Gn=new Oe.Z(Pi=>{for(let Di of Pi)(Di.target.offsetHeight>0||Di.target.offsetWidth>0)&&In.layout()}),Gn.observe(Fe.current)),Gn}(0,Se.useEffect)(()=>(Fe.current&&Promise.all([ve.e(8909),ve.e(9404)]).then(ve.bind(ve,2550)).then(In=>{St=In;const Gn=St.editor.createDiffEditor(Fe.current,Tn(yn({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},me),{wordWrap:!0}));Le(Gn);let Pi=mt(Gn);return()=>{Gn.dispose();const Di=Gn.getModel();Di&&Di.dispose(),Pi.unobserve(Fe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,Se.useEffect)(()=>{He&&He.setModel({original:St.editor.createModel(Ge,xe),modified:St.editor.createModel(Be,xe)})},[Ge,Be,xe,He]);const zt=wn(Kt),Pn=wn(qe),rn={width:zt,height:Pn};return Se.createElement("div",{className:"my-diff-editor",ref:Fe,style:rn})}},85057:function(zn,Nn,ve){"use strict";ve.d(Nn,{jL:function(){return et},w9:function(){return en},QD:function(){return Pi},cQ:function(){return Re},op:function(){return mt},O5:function(){return dn},_b:function(){return Gr},t7:function(){return se},Gi:function(){return Un},YG:function(){return Tn},qp:function(){return gt},vr:function(){return Dn},qE:function(){return rn},Je:function(){return Ce},wb:function(){return Rt},cq:function(){return St},tp:function(){return Me}});var Se=ve(59301),Oe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},We="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lL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MixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",et=({dataSource:tn=[],img:on,imgWidth:wt=346,title:bt,sunTitle:ze,bannerExtraContent:Gt})=>Se.createElement("div",{className:Oe.banner},Se.createElement("div",{className:Oe.content},Se.createElement("aside",null,Se.createElement("p",null,Se.createElement("b",null,bt),Se.createElement("span",null,ze)),tn.length>0&&Se.createElement("div",{className:Oe.btns},tn.map((an,ct)=>Se.createElement("div",{key:ct,onClick:an.click},an.name,an.sign?Se.createElement("img",{src:We,width:39}):null))),Gt),on&&Se.createElement("img",{style:{marginTop:33,marginRight:38},src:on,width:wt}))),yt={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ke=ve(92310),Bt=ve.n(ke),Et=ve(89392),gt=({dataSource:tn=[],value:on,onChange:wt,onTitleChange:bt,className:ze,title:Gt,titleWidth:an=41,style:ct={},fontColor:$e="#6A7283",showCount:$t})=>{const[Tt,Mn]=(0,Se.useState)(0),[Wn,st]=(0,Se.useState)(!1),fn=(0,Se.useRef)(null),Kn=(0,Se.useRef)(null);return(0,Se.useEffect)(()=>{var _n;tn.length!==0&&(((_n=fn==null?void 0:fn.current)==null?void 0:_n.clientHeight)>97?Mn(1):Mn(0)),tn.length===0&&Mn(0),st(!1)},[tn]),Se.createElement("div",{className:Bt()(yt.row,ze),style:ct},Se.createElement("div",{onClick:(0,Et.throttle)(()=>bt==null?void 0:bt(),2e3),style:{width:an,marginTop:Wn?12:4},className:`${yt.title} ${bt?"current":""}`},Gt),Se.createElement("div",{className:Wn?`${yt.tagsWrap} ${yt.tagsBorderWrap}`:yt.tagsWrap},Se.createElement("div",{className:yt.bar,ref:Kn,style:Tt>0?{height:Tt===1?97:"auto",overflow:Tt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},Se.createElement("div",{className:yt.tag,ref:fn},tn==null?void 0:tn.map(_n=>Se.createElement("span",{onClick:()=>wt(_n.id),key:_n.id,style:{color:$e},className:on===_n.id?yt.active:""},Se.createElement("span",{title:_n.name,className:yt.name},_n.name),!!$t&&Se.createElement("span",{className:yt.num},_n.count))))),!!Tt&&Se.createElement(Se.Fragment,null,Tt===1?Se.createElement("div",{onClick:()=>{var _n;Mn(2),((_n=fn==null?void 0:fn.current)==null?void 0:_n.clientHeight)>245?st(!0):st(!1)},className:yt.action},"\u5C55\u5F00",Se.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):Se.createElement("div",{onClick:()=>{Kn.current.scrollTop=0,Mn(1),st(!1)},className:yt.action},"\u6536\u8D77",Se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},dt={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Me=({dataSource:tn=[],value:on,onChange:wt,className:bt,style:ze={}})=>Se.createElement("div",{style:ze,className:Bt()(dt.tabs,bt)},tn.map(Gt=>Se.createElement("span",{onClick:()=>wt(Gt.id),className:on===Gt.id?dt.active:"",key:Gt.id},Gt.name))),te={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ne=ve(92832),se=({dataSource:tn=[],value:on="",onChange:wt,onInputChange:bt=()=>{},className:ze,style:Gt={},placeholder:an,allowClear:ct=!1})=>{var $e;const[$t,Tt]=(0,Se.useState)(""),[Mn,Wn]=(0,Se.useState)("");(0,Se.useEffect)(()=>{var Kn;let _n=on;(Kn=JSON.stringify(on))!=null&&Kn.includes("{")&&(Tt(on.id),_n=on.value||"");try{Wn(decodeURIComponent(_n||""))}catch(nn){Wn(decodeURIComponent(_n||""))}},[on]);const st=()=>{wt(encodeURIComponent(Mn),$t||null)},fn=Kn=>{Kn!==$t&&(Tt(Kn),wt(encodeURIComponent(Mn),Kn))};return Se.createElement("div",{className:Bt()(te.input,ze),style:Gt},!!tn.length&&Se.createElement("div",{className:te.dropdown},Se.createElement("div",{className:te.text},($e=tn.find(Kn=>Kn.id===$t))==null?void 0:$e.name,Se.createElement("i",{className:"iconfont icon-zhankai4"}),Se.createElement("b",{className:te.b1}),Se.createElement("b",{className:te.b2})),Se.createElement("div",{className:te.menu},tn.map((Kn,_n)=>Se.createElement("div",{key:_n,onClick:()=>fn(Kn.id)},Kn.name)))),Se.createElement(ne.default,{onPressEnter:st,value:Mn,onChange:Kn=>{Wn(Kn.target.value),bt(encodeURIComponent(Kn.target.value),$t||null)},bordered:!1,placeholder:an}),Se.createElement("i",{onClick:st,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ge={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ce=({value:tn,onChange:on,className:wt,total:bt,pageSize:ze,style:Gt={}})=>{const an=tn<2,ct=tn>=Math.ceil(bt/ze);return bt<=ze?Se.createElement(Se.Fragment,null):Se.createElement("div",{className:Bt()(ge.quickPager,wt),style:Gt},Se.createElement("div",{onClick:()=>{an||on(tn-1,"prev")},className:an?ge.disabled:""},"\u4E0A\u4E00\u9875"),Se.createElement("div",{onClick:()=>{ct||on(tn+1,"next")},className:ct?ge.disabled:""},"\u4E0B\u4E00\u9875"))},Ne={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Pe=ve(71418),Ie=ve(6848),Ke=ve(13570),Ve=ve(3294),Ye=ve(955),ut=ve(96908),Ue=ve(57177),Nt=ve(81378),Qe=ve(8797),Rt=({className:tn,dataSource:on=[],col:wt=4,right:bt,bottom:ze=23,precision:Gt=0,wrapWidth:an=1200,trackEventItems:ct,loading:$e})=>{const $t=Math.floor((an-(wt-1)*bt)/wt);return Se.createElement(Pe.Z,{spinning:$e},Se.createElement("div",{className:Bt()(Ne.list,tn)},!!on.length&&on.map((Tt,Mn)=>{const{name:Wn,id:st,identifier:fn,power:Kn,cover_image_id:_n,pic:nn}=Tt;return Se.createElement("div",{className:Ne.wrap,key:st,style:{width:$t,marginRight:(1+Mn)%wt===0?0:bt+Gt,marginBottom:ze}},Se.createElement("a",{target:"_blank",href:`/shixuns/${fn}/challenges`,className:Ne.li,onClick:hn=>{hn.preventDefault(),ct&&(0,Ye.L9)([ct]),Kn&&(0,Ye.xg)(`/shixuns/${fn}/challenges`)}},Se.createElement("div",{className:Ne.img},Se.createElement("img",{className:Ne.cover,src:`${nn}`}),Tt.is_jupyter&&Se.createElement("img",{className:Ne.sign,src:ut}),Tt.is_jupyter_lab&&Se.createElement("img",{className:Ne.sign,src:Ue}),Tt.is_unity_3d&&Se.createElement("img",{className:Ne.sign,src:Nt})),Se.createElement("div",{className:Ne.name},Se.createElement(Ie.Z,{title:Wn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},Se.createElement("span",{className:Ne.e},Wn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),Se.createElement("div",{className:Ne.tags},Se.createElement(Ie.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),Se.createElement("span",null,Tt.challenges_count))),!!Tt.myshixuns_count&&Se.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Se.createElement("span",null,Se.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),Se.createElement("span",null,Tt.myshixuns_count))),Se.createElement(Ie.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},Se.createElement("span",null,Se.createElement("span",null,Tt.level))),Se.createElement("div",{className:Ne.rate},Se.createElement(Ke.Z,{allowHalf:!0,disabled:!0,defaultValue:Tt.score_info}),Se.createElement("span",null,"\xA0",Tt.score_info?`${Tt.score_info}\u5206`:"5\u5206")))),!Kn&&Se.createElement("div",{className:Ne.lockWrap},Se.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Se.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!on.length&&Se.createElement(Qe.Z,null)))},It={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},Lt=ve(24065),Ut=ve(59301),Re=({className:tn,dataSource:on=[],col:wt=4,right:bt,bottom:ze=23,precision:Gt=0,wrapWidth:an=1200,trackEventItems:ct,loading:$e,onRemove:$t=()=>{},isCurrent:Tt=!0,showAlias:Mn=!1})=>{const Wn=Math.floor((an-(wt-1)*bt)/wt),st=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Ut.createElement(Pe.Z,{spinning:$e},Ut.createElement("div",{className:Bt()(It.list,tn)},!!(on!=null&&on.length)&&(on==null?void 0:on.map((fn,Kn)=>{var _n;const{name:nn,id:hn,identifier:ri,featured:gi,school_name:yi,image_url:oi,excellent:Ci,is_plan:Li}=fn;return Ut.createElement("div",{key:hn,className:It.wrap,style:{width:Wn,marginRight:(1+Kn)%wt===0?0:bt+Gt,marginBottom:ze}},Ut.createElement("a",{className:It.li,onClick:qi=>{qi.preventDefault(),qi.stopPropagation(),ct&&(0,Ye.L9)([ct]),(0,Ye.xg)(`/paths/${ri}`)}},Ut.createElement("div",{className:It.img},Ut.createElement("img",{className:It.cover,src:`${oi}`}),Tt&&(0,Lt.bg)()&&(fn==null?void 0:fn.studying)&&Ut.createElement("div",{className:`${It.movebq} user-path-items`,onClick:qi=>{qi.stopPropagation(),$t(fn)}},Ut.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ut.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_n=fn==null?void 0:fn.subject_tags)==null?void 0:_n.map((qi,lr)=>{var er,Ln;if(lr===0){const Ar=(er=st.find($r=>$r.name==qi))==null?void 0:er.swimg;return Ut.createElement("img",{className:It.sign,src:Ar,style:{left:"-4px"}})}const Nr=(Ln=st.find(Ar=>Ar.name==qi))==null?void 0:Ln.ptimg;return Ut.createElement("img",{className:It.sign,src:Nr,style:{left:`${48+52*(lr-1)+2*lr}px`}})}),Ut.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(fn==null?void 0:fn.excellent)&&Ut.createElement("div",{className:It.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ut.createElement("div",{className:It.name},Ut.createElement(Ie.Z,{title:Mn&&(fn!=null&&fn.excellent_alias_name)?Ut.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${nn}`,Ut.createElement("br",null),Ut.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${fn==null?void 0:fn.excellent_alias_name}`)):nn},Ut.createElement("span",{className:It.e},Mn&&(fn==null?void 0:fn.excellent_alias_name)||nn))),Ut.createElement(Ie.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${yi}`},Ut.createElement("div",{className:It.unit},Ut.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),yi)),Ut.createElement("div",{className:It.tags},Ut.createElement("div",null,Ut.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ut.createElement("span",null,Ut.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ut.createElement("span",null,fn.stages_count))),Ut.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ut.createElement("span",null,Ut.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ut.createElement("span",null,fn.members_count)))))))})),!on.length&&Ut.createElement(Qe.Z,null)))},At={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2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XVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mn=ve(59301),en=({className:tn,dataSource:on=[],col:wt=4,right:bt,bottom:ze=23,precision:Gt=0,wrapWidth:an=1200,trackEventItems:ct,loading:$e,handleVery:$t=()=>!0})=>{const Tt=Math.floor((an-(wt-1)*bt)/wt);return mn.createElement(Pe.Z,{spinning:$e},mn.createElement("div",{className:Bt()(At.list,tn)},!!on.length&&on.map((Mn,Wn)=>{const{subject_identifier:st,id:fn,identifier:Kn,power:_n}=Mn,nn=Mn.is_public!=0&&Mn.is_public;return mn.createElement("div",{className:At.wrap,key:fn,style:{width:Tt,marginRight:(1+Wn)%wt===0?0:bt+Gt,marginBottom:ze}},mn.createElement("a",{className:At.li,onClick:hn=>{hn.preventDefault(),$t(Mn==null?void 0:Mn.first_category_url)&&(ct&&(0,Ye.L9)([ct]),(0,Ye.xg)(Mn.first_category_url))}},mn.createElement("div",{className:At.top},mn.createElement(Ie.Z,{title:Mn.name},mn.createElement("div",{className:At.name},Mn.name)),mn.createElement("img",{className:At.img,src:Ve.Z.IMG_SERVER+"/images/"+Mn.avatar_url}),mn.createElement("div",{className:At.text,title:Mn.creator},Mn.creator),st&&mn.createElement("div",{className:At.btns},mn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),mn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),nn&&mn.createElement("div",{className:At.sign},"\u516C\u5F00")),mn.createElement("div",{className:At.bottom},Mn.visits>0&&mn.createElement(Ie.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},mn.createElement("span",null,mn.createElement("i",{className:"iconfont icon-liulanyan"}),mn.createElement("span",null,Mn.visits))),Mn.course_members_count>0&&mn.createElement(Ie.Z,{title:"\u6210\u5458",placement:"bottom"},mn.createElement("span",null,mn.createElement("i",{className:"iconfont icon-chengyuan"}),Mn.course_members_count)),Mn.tasks_count>0&&mn.createElement(Ie.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},mn.createElement("span",null,mn.createElement("i",{className:"iconfont icon-zuoye"}),Mn.tasks_count)),Mn.is_end?mn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):mn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Mn.is_accessible&&mn.createElement("div",{className:At.lockWrap},mn.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),mn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!on.length&&mn.createElement(Qe.Z,null)))},sn={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},On=ve(89070),Tn=({dataSource:tn=[],value:on,onChange:wt,className:bt,style:ze={},tabBarExtraContent:Gt})=>Se.createElement("div",{className:Bt()(sn.tabs,bt),style:ze},Se.createElement("div",{className:sn.tabsWrap},tn.map((an,ct)=>!(an!=null&&an.hide)&&Se.createElement("aside",{className:sn.tab,onClick:()=>{wt(an.id),an.link&&On.history.push(an.link)},key:ct},Se.createElement("div",{className:on===an.id?sn.active:""},an.name),(an==null?void 0:an.resetCount)==null&&(an==null?void 0:an.total)!==void 0&&Se.createElement("span",null,"\uFF08",an==null?void 0:an.total,"\uFF09"),(an==null?void 0:an.resetCount)!==void 0&&(an==null?void 0:an.total)!==void 0&&Se.createElement(Ie.Z,{title:(an==null?void 0:an.tip)!=null?an==null?void 0:an.tip:""},Se.createElement("span",{style:{color:"#9096A3"}},"\uFF08",Se.createElement("span",{style:{color:"#000"}},an==null?void 0:an.resetCount),"/",Se.createElement("span",null,an==null?void 0:an.total),"\uFF09"))))),Se.createElement("div",{className:sn.tabBar},Gt)),Un=({className:tn,style:on={},children:wt})=>Se.createElement("div",{className:Bt()(tn),style:on},wt),wn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},An=ve(38854),ni=ve(20834);const Qt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var St=({sortValue:tn,dropValue:on,className:wt,onSort:bt,onDrop:ze,dataSource:Gt=Qt})=>{var an;return Se.createElement("div",{className:Bt()(wn.orderWrap,wt)},Se.createElement(An.Z,{dropdownRender:()=>Se.createElement(ni.default,null,Gt.map((ct,$e)=>Se.createElement(ni.default.Item,{key:$e,onClick:()=>ze(ct.id)},ct.name)))},Se.createElement("span",{className:wn.orderTextWrap},(an=Gt.find(ct=>on===ct.id))==null?void 0:an.name)),Se.createElement("span",{className:wn.orderIconWrap},Se.createElement("span",{className:wn.orderAsc},Se.createElement("i",{className:tn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${wn.cursorPointer} ${wn.active}`:`iconfont icon-sanjiaoxing-up font12 ${wn.cursorPointer}`,onClick:()=>bt(tn==="asc"?"desc":"asc")})),Se.createElement("span",{className:wn.orderDesc},Se.createElement("i",{className:tn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${wn.cursorPointer} ${wn.active}`:`iconfont icon-sanjiaoxing-down font12 ${wn.cursorPointer}`,onClick:()=>bt(tn==="asc"?"desc":"asc")}))))},Xe={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Yt=ve(3113),Kt=Object.defineProperty,qe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,xe=(tn,on,wt)=>on in tn?Kt(tn,on,{enumerable:!0,configurable:!0,writable:!0,value:wt}):tn[on]=wt,me=(tn,on)=>{for(var wt in on||(on={}))Ge.call(on,wt)&&xe(tn,wt,on[wt]);if(qe)for(var wt of qe(on))Be.call(on,wt)&&xe(tn,wt,on[wt]);return tn},Fe=(tn,on)=>{var wt={};for(var bt in tn)Ge.call(tn,bt)&&on.indexOf(bt)<0&&(wt[bt]=tn[bt]);if(tn!=null&&qe)for(var bt of qe(tn))on.indexOf(bt)<0&&Be.call(tn,bt)&&(wt[bt]=tn[bt]);return wt},He=(tn,on,wt)=>new Promise((bt,ze)=>{var Gt=$e=>{try{ct(wt.next($e))}catch($t){ze($t)}},an=$e=>{try{ct(wt.throw($e))}catch($t){ze($t)}},ct=$e=>$e.done?bt($e.value):Promise.resolve($e.value).then(Gt,an);ct((wt=wt.apply(tn,on)).next())}),mt=tn=>{var on=tn,{className:wt,style:bt,children:ze,loading:Gt=!1,openLoading:an,onClick:ct=()=>{},size:$e="middle",shape:$t="round"}=on,Tt=Fe(on,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Mn,Wn]=(0,Se.useState)(!1);return Se.createElement(Yt.ZP,me({onClick:(0,Et.throttle)(st=>He(void 0,null,function*(){an&&Wn(!0);try{yield ct(st)}catch(fn){console.log("error",fn)}an&&Wn(!1)}),2e3,{leading:!0,trailing:!1}),className:Bt()(Xe.btn,Xe[`${$e}-${$t}`],wt),style:bt,size:$e,shape:$t,loading:Mn||Gt},Tt),ze)},zt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},rn=({className:tn,style:on,children:wt=null,onClick:bt,title:ze})=>Se.createElement("div",{className:Bt()(zt.head,tn),style:on},Se.createElement("span",{className:"primary-hover",onClick:bt},Se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),Se.createElement("b",{title:ze},ze),Se.createElement("div",{className:zt.node},wt)),In={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Pi=({confirmShow:tn=!0,confirmTitle:on,confirmClick:wt,cancelShow:bt=!0,cancelTitle:ze,cancelClick:Gt,className:an,style:ct,confirmLoading:$e=!1})=>Se.createElement("div",{className:Bt()(In.btns,an),style:ct},tn&&Se.createElement(Yt.ZP,{loading:$e,onClick:wt,type:"primary",className:In.confirm},on),bt&&Se.createElement(Yt.ZP,{onClick:Gt,className:In.cancel},ze)),Di={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Dn=({className:tn,style:on={},LeftContent:wt,children:bt,RightContent:ze})=>Se.createElement("div",{className:Bt()(Di.fixedBottom,tn),style:on},Se.createElement("div",{className:Di.wrap},Se.createElement("div",{className:Di.left},wt),Se.createElement("div",{className:Di.center},bt),Se.createElement("div",{className:Di.right},ze))),or={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Gr=({className:tn,style:on={},dataSource:wt=[]})=>Se.createElement("div",{className:Bt()(or.crumbs,tn),style:on},wt.map((bt,ze)=>zeOn.history.push(bt.path)},bt.name):Se.createElement("span",null,bt.name),Se.createElement("span",null,"\xA0",">","\xA0")):Se.createElement("span",{key:ze,style:{color:"#5F6368"}},bt.name))),Ir=ve(31797),wr=Object.defineProperty,so=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertySymbols,No=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,Ee=(tn,on,wt)=>on in tn?wr(tn,on,{enumerable:!0,configurable:!0,writable:!0,value:wt}):tn[on]=wt,$n=(tn,on)=>{for(var wt in on||(on={}))No.call(on,wt)&&Ee(tn,wt,on[wt]);if(hr)for(var wt of hr(on))vi.call(on,wt)&&Ee(tn,wt,on[wt]);return tn},fi=(tn,on)=>so(tn,Rr(on)),ln=(tn,on)=>{var wt={};for(var bt in tn)No.call(tn,bt)&&on.indexOf(bt)<0&&(wt[bt]=tn[bt]);if(tn!=null&&hr)for(var bt of hr(tn))on.indexOf(bt)<0&&vi.call(tn,bt)&&(wt[bt]=tn[bt]);return wt};const{Countdown:ei}=Ir.default;var dn=tn=>{var on=tn,{onChange:wt}=on,bt=ln(on,["onChange"]);const[ze,Gt]=(0,Se.useState)(null);(0,Se.useEffect)(()=>{typeof ze=="number"&&ze>=0&&wt(ze)},[ze]);const an=ct=>{const $e=Math.floor(ct/1e3);Gt($e)};return Se.createElement(ei,fi($n({},bt),{onChange:an}))}},58856:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Oe}});var Se=ve(59301);function Oe(We,Ot){const et=(0,Se.useRef)();(0,Se.useEffect)(()=>{et.current=We}),(0,Se.useEffect)(()=>{function yt(){et.current()}if(Ot!==null){let ke=setInterval(yt,Ot);return()=>clearInterval(ke)}},[Ot])}},65973:function(zn,Nn,ve){"use strict";ve.r(Nn),ve.d(Nn,{default:function(){return Yn}});var Se=ve(59301),Oe={card:"card___c4ypw",head:"head___d2Dfo",element:"element___PyfcV",collaborator:"collaborator___o6MF4",btn:"btn___CF6mw",delSty:"delSty___Wm5pj",delBorder:"delBorder___IVg2Z",copHover:"copHover___rNmmw",wrap:"wrap___feope",center:"center___uU09V",tip:"tip___yCX57",title:"title___OpV1r",content:"content___XU4yH",fixedBtns:"fixedBtns___ItSdd"},We=ve(92310),Ot=ve.n(We),et=ve(85057),yt=ve(12290),ke=ve(95237),Bt=ve(3113),Et=ve(43418),tt=ve(92832),gt=ve(1710),dt=ve(78241),Ct=ve(6848),Me=ve(5871),te=ve(8591),ne=ve(71418),ce=ve(24905),se=ve(5112),ge=ve(5083),ye=ve(955),Ce=ve(89070),Ne=ve(56082),Pe=ve(87954),Ie=ve(18257),Ke=ve(19719),Ve=ve(35241),Ye=ve(8797),ut=Object.defineProperty,Ue=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,It=(dn,tn,on)=>tn in dn?ut(dn,tn,{enumerable:!0,configurable:!0,writable:!0,value:on}):dn[tn]=on,Lt=(dn,tn)=>{for(var on in tn||(tn={}))Ht.call(tn,on)&&It(dn,on,tn[on]);if(Qe)for(var on of Qe(tn))Rt.call(tn,on)&&It(dn,on,tn[on]);return dn},Ut=(dn,tn)=>Ue(dn,Nt(tn));const ht=Se.createContext({}),Re=()=>{const{setActivatorNodeRef:dn,listeners:tn}=(0,Se.useContext)(ht);return Se.createElement(Bt.ZP,Lt({type:"text",size:"small",icon:Se.createElement(Ct.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},Se.createElement(Ne.Z,null)),style:{cursor:"move"},ref:dn},tn))},At=dn=>{const{attributes:tn,listeners:on,setNodeRef:wt,setActivatorNodeRef:bt,transform:ze,transition:Gt,isDragging:an}=(0,Ke.nB)({id:dn["data-row-key"]}),ct=Lt(Ut(Lt({},dn.style),{transform:Ve.ux.Translate.toString(ze),transition:Gt}),an?{position:"relative",zIndex:99}:{}),$e=(0,Se.useMemo)(()=>({setActivatorNodeRef:bt,listeners:on}),[bt,on]);return Se.createElement(ht.Provider,{value:$e},Se.createElement("tr",Lt(Ut(Lt({},dn),{ref:wt,style:ct}),tn)))};var mn=({columns:dn,dataSource:tn,setDataSource:on,loading:wt})=>{const bt=({active:ze,over:Gt})=>{ze.id!==(Gt==null?void 0:Gt.id)&&on(an=>{const ct=an.findIndex($t=>$t.id===(ze==null?void 0:ze.id)),$e=an.findIndex($t=>$t.id===(Gt==null?void 0:Gt.id));return(0,Ke.Rp)(an,ct,$e)})};return Se.createElement(Pe.LB,{modifiers:[Ie.DL],onDragEnd:bt},Se.createElement(Ke.Fo,{items:tn.map(ze=>ze.id),strategy:Ke.qw},Se.createElement(gt.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:wt,locale:{emptyText:Se.createElement(Ye.Z,{styles:{margin:"80px auto"},customText:Se.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Se.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:tn,components:{body:{row:At}},columns:[{key:"sort",align:"center",width:80,render:()=>Se.createElement(Re,null)},...dn],size:"middle"})))},Ft=ve(99313),en=ve(19842),sn=ve(57809),On=ve(98228),yn=ve(58421),Tn=ve(99064),pt={flex_box_center:"flex_box_center___Iqqr9",flex_space_between:"flex_space_between___y0uZc",flex_box_vertical_center:"flex_box_vertical_center___akeKA",flex_box_center_end:"flex_box_center_end___DEJG9",flex_box_column:"flex_box_column___pgYr1",scoremodal:"scoremodal___PYXCN",selectWrapper:"selectWrapper___RNoPX",selectWrappers:"selectWrappers___fUTXA",allqingchu:"allqingchu___k6Qgb",title:"title___AAfdA",score:"score___oYtrM",close:"close___i8V3V",content:"content___JpTOI",items:"items___je5K0",bottom:"bottom___jjylc",yes:"yes___Wh4La",no:"no___fIya2",titlecount:"titlecount___pZQaF",add:"add___hT0xx",search:"search___WBmWG",searchIcon:"searchIcon___LgZF_",tabWrap:"tabWrap___lGZ3A",previewModal:"previewModal___jPoO2"},Un=ve(26422),wn={flex_box_center:"flex_box_center____Tkex",flex_space_between:"flex_space_between___EZnYm",flex_box_vertical_center:"flex_box_vertical_center___e6Uyw",flex_box_center_end:"flex_box_center_end___FubGu",flex_box_column:"flex_box_column___ibm4g",warp:"warp___IgClr",shixunbutton:"shixunbutton___DTP9s",redio:"redio___wfYmJ",redioitem:"redioitem___Lx8l8",redioitemyes:"redioitemyes___KKsIv",title:"title___GXJmE",titleyes:"titleyes___yYOlS",yestag:"yestag___WQlWV",qcount:"qcount___QpuQ9",score:"score___WkTL9",qtitle:"qtitle___TQM3w",checkbox:"checkbox___XWcyb",checkboxitem:"checkboxitem___eUzWD",checkboxitemyes:"checkboxitemyes___LOyRE",bottom:"bottom___IKM1j",bottomitem:"bottomitem___TaUK6",left:"left___szEjt",right:"right___XEuVG",completion:"completion___bVp0S",content:"content___R3KZ7",items:"items___DCx2v",simple:"simple___GPeTT",shixun:"shixun___hhixj",combination:"combination___toZnZ",program:"program___alaBk"},An=ve(85149),ni=ve(24334);const Qt=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var St=({qitem:dn})=>{var tn,on,wt,bt,ze,Gt,an,ct,$e,$t;return Se.createElement("div",{className:wn.warp},Se.createElement("div",{className:wn.mainPart},Se.createElement("div",{className:wn.qcount},(dn==null?void 0:dn.question_type)===8&&Se.createElement(An.Z,{className:wn.content,showProgramFill:!0,value:(tn=dn==null?void 0:dn.program_attr)==null?void 0:tn.description}),(dn==null?void 0:dn.question_type)!=8&&Se.createElement(An.Z,{className:wn.qtitle,value:(dn==null?void 0:dn.name)||(dn==null?void 0:dn.title)})),((dn==null?void 0:dn.question_type)===0||(dn==null?void 0:dn.question_type)===2)&&Se.createElement("div",null,(on=dn==null?void 0:dn.choices)==null?void 0:on.map((Tt,Mn)=>Se.createElement("div",{className:wn.redio},!(Tt!=null&&Tt.is_answer)&&Se.createElement("span",{className:wn.redioitem}),(Tt==null?void 0:Tt.is_answer)&&Se.createElement("i",{className:`${wn.redioitemyes} icon-duigou1`}),Se.createElement(An.Z,{className:Tt!=null&&Tt.is_answer?wn.titleyes:wn.title,value:Qt[Mn]+(Tt==null?void 0:Tt.choice_text)}),(Tt==null?void 0:Tt.is_answer)&&Se.createElement("div",{className:wn.yestag},"\u6B63\u786E\u7B54\u6848")))),(dn==null?void 0:dn.question_type)===1&&Se.createElement("div",null,(wt=dn==null?void 0:dn.choices)==null?void 0:wt.map((Tt,Mn)=>Se.createElement("div",{className:wn.checkbox},!(Tt!=null&&Tt.is_answer)&&Se.createElement("span",{className:wn.checkboxitem}),(Tt==null?void 0:Tt.is_answer)&&Se.createElement("i",{className:`${wn.checkboxitemyes} icon-duigou1`}),Se.createElement(An.Z,{className:Tt!=null&&Tt.is_answer?wn.titleyes:wn.title,value:Qt[Mn]+(Tt==null?void 0:Tt.choice_text)}),(Tt==null?void 0:Tt.is_answer)&&Se.createElement("div",{className:wn.yestag},"\u6B63\u786E\u7B54\u6848")))),(dn==null?void 0:dn.question_type)===3&&Se.createElement("div",{className:wn.completion},(bt=dn==null?void 0:dn.standard_answer)==null?void 0:bt.map((Tt,Mn)=>{var Wn;return Se.createElement("div",{style:{display:"flex"}},Se.createElement("span",{className:wn.title},"\u586B\u7A7A\u9879",Mn+1),Se.createElement("div",{className:wn.content},(Wn=Tt==null?void 0:Tt.answer_text)==null?void 0:Wn.map((st,fn)=>Se.createElement("div",{className:wn.items},st))))})),(dn==null?void 0:dn.question_type)===4&&Se.createElement("div",{className:wn.simple},Se.createElement("div",{className:wn.title},"\u53C2\u8003\u7B54\u6848"),Se.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ze=dn==null?void 0:dn.answer_texts)!=null&&ze[0]?Se.createElement(An.Z,{className:wn.content,value:(Gt=dn==null?void 0:dn.answer_texts)==null?void 0:Gt[0]}):Se.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(dn==null?void 0:dn.question_type)===5&&((an=dn==null?void 0:dn.challenge_names)==null?void 0:an.map((Tt,Mn)=>Se.createElement("div",{className:wn.shixun},Se.createElement("span",{className:wn.qtitle},Se.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ye.EM)(Mn+1),"\u9898"),Tt)))),(dn==null?void 0:dn.question_type)===6&&Se.createElement("div",{className:wn.program},Se.createElement(An.Z,{className:wn.content,value:((ct=dn==null?void 0:dn.program_attr)==null?void 0:ct.description)||"- -"})),(dn==null?void 0:dn.question_type)===7&&(($e=dn==null?void 0:dn.sub_item_banks)==null?void 0:$e.map((Tt,Mn)=>{var Wn,st,fn,Kn,_n;return Se.createElement("div",null,Se.createElement("div",{className:wn.combination},Se.createElement("span",{className:wn.qtitle},Tt==null?void 0:Tt.name)),Se.createElement("div",{className:wn.warp,style:{padding:"0px",paddingTop:20}},Se.createElement("div",null,((Tt==null?void 0:Tt.item_type)=="SINGLE"||(Tt==null?void 0:Tt.item_type)=="JUDGMENT")&&((Wn=Tt==null?void 0:Tt.choices)==null?void 0:Wn.map((nn,hn)=>Se.createElement("div",{className:wn.redio},!(nn!=null&&nn.is_answer)&&Se.createElement("span",{className:wn.redioitem}),(nn==null?void 0:nn.is_answer)&&Se.createElement("i",{className:`${wn.redioitemyes} icon-duigou1`}),Se.createElement(An.Z,{className:nn!=null&&nn.is_answer?wn.titleyes:wn.title,value:Qt[hn]+(nn==null?void 0:nn.choice_text)}),(nn==null?void 0:nn.is_answer)&&Se.createElement("div",{className:wn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Tt==null?void 0:Tt.item_type)=="MULTIPLE"&&((st=Tt==null?void 0:Tt.choices)==null?void 0:st.map((nn,hn)=>Se.createElement("div",{className:wn.checkbox},!(nn!=null&&nn.is_answer)&&Se.createElement("span",{className:wn.checkboxitem}),(nn==null?void 0:nn.is_answer)&&Se.createElement("i",{className:`${wn.checkboxitemyes} icon-duigou1`}),Se.createElement(An.Z,{className:nn!=null&&nn.is_answer?wn.titleyes:wn.title,value:Qt[hn]+(nn==null?void 0:nn.choice_text)}),(nn==null?void 0:nn.is_answer)&&Se.createElement("div",{className:wn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Tt==null?void 0:Tt.item_type)=="COMPLETION"&&Se.createElement("div",{className:wn.completion},(fn=Tt==null?void 0:Tt.standard_answer)==null?void 0:fn.map((nn,hn)=>{var ri;return Se.createElement("div",{style:{display:"flex"}},Se.createElement("span",{className:wn.title},"\u586B\u7A7A\u9879",hn+1),Se.createElement("div",{className:wn.content},(ri=nn==null?void 0:nn.answer_text)==null?void 0:ri.map((gi,yi)=>Se.createElement("div",{className:wn.items},gi))))})),(Tt==null?void 0:Tt.item_type)=="SUBJECTIVE"&&Se.createElement("div",{className:wn.simple},Se.createElement("div",{className:wn.title},"\u53C2\u8003\u7B54\u6848"),Se.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Kn=Tt==null?void 0:Tt.answer_texts)!=null&&Kn[0]?Se.createElement(An.Z,{className:wn.content,value:(_n=Tt==null?void 0:Tt.answer_texts)==null?void 0:_n[0]}):Se.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(dn==null?void 0:dn.question_type)===8&&Se.createElement("div",null,Se.createElement(An.Z,{disabledFill:!0,className:wn.content,showProgramFill:!0,value:ni.Base64.decode((($t=dn==null?void 0:dn.program_attr)==null?void 0:$t.code)||"")})),(dn==null?void 0:dn.question_type)===5&&Se.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},Se.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},Se.createElement("div",{style:{marginRight:30}},Se.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),Se.createElement("span",{style:{color:"#000000"}},(dn==null?void 0:dn.author_name)||"- -")),Se.createElement("div",{style:{marginRight:30}},Se.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),Se.createElement("span",{style:{color:"#000000"}},(dn==null?void 0:dn.author_school_name)||"- -")),Se.createElement("div",{style:{marginRight:30}},Se.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),Se.createElement("span",{style:{color:"#000000"}},(dn==null?void 0:dn.study_count)||"0"))),Se.createElement("a",{className:wn.shixunbutton,href:`/shixuns/${dn==null?void 0:dn.identifier}/challenges?exercise=true`,target:"_blank"},Se.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((dn==null?void 0:dn.question_type)<=4||[6,8].includes(dn==null?void 0:dn.question_type))&&Se.createElement("div",{className:wn.bottom},Se.createElement("div",{className:wn.bottomitem},Se.createElement("span",{className:wn.left},"\u89E3\u6790"),Se.createElement("span",{className:wn.right},dn!=null&&dn.analysis?Se.createElement(An.Z,{value:dn==null?void 0:dn.analysis}):Se.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Se.createElement("div",{className:wn.bottomitem},Se.createElement("span",{className:wn.left},"\u96BE\u5EA6"),Se.createElement("span",{className:wn.right},(dn==null?void 0:dn.difficulty)===1?"\u7B80\u5355":(dn==null?void 0:dn.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Se.createElement("div",{className:wn.bottomitem},Se.createElement("span",{className:wn.left},"\u77E5\u8BC6\u70B9"),Se.createElement("span",{className:wn.right},dn!=null&&dn.tag_discipline?dn==null?void 0:dn.tag_discipline:Se.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Xe=ve(86087),Yt=ve(84287),Kt=ve(16149),qe=ve(61485),Ge=ve(59301),Be=Object.defineProperty,xe=Object.defineProperties,me=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,mt=(dn,tn,on)=>tn in dn?Be(dn,tn,{enumerable:!0,configurable:!0,writable:!0,value:on}):dn[tn]=on,zt=(dn,tn)=>{for(var on in tn||(tn={}))He.call(tn,on)&&mt(dn,on,tn[on]);if(Fe)for(var on of Fe(tn))Le.call(tn,on)&&mt(dn,on,tn[on]);return dn},Pn=(dn,tn)=>xe(dn,me(tn)),rn=(dn,tn,on)=>new Promise((wt,bt)=>{var ze=ct=>{try{an(on.next(ct))}catch($e){bt($e)}},Gt=ct=>{try{an(on.throw(ct))}catch($e){bt($e)}},an=ct=>ct.done?wt(ct.value):Promise.resolve(ct.value).then(ze,Gt);an((on=on.apply(dn,tn)).next())});const In=({setScoreShow:dn,ScoreShow:tn,onOk:on,isshixuns:wt,isloadings:bt,dispatch:ze,selectedIds:Gt,user:an,virtualId:ct,shixunsDetail:$e})=>{var $t;let[Tt,Mn]=(0,Se.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[Wn,st]=(0,Se.useState)([]),[fn,Kn]=(0,Se.useState)([]),[_n,nn]=(0,Se.useState)([]),[hn,ri]=(0,Se.useState)([]);const[gi,yi]=(0,Se.useState)(!1),[oi]=dt.default.useForm(),[Ci,Li]=(0,Se.useState)(),[qi,lr]=(0,Se.useState)(!1);let[er,Ln]=(0,Se.useState)(wt);const[Nr,Ar]=(0,Se.useState)([]),[$r,En]=(0,Se.useState)(0),[ci,Ii]=(0,Se.useState)(!0),[ir,Ki]=(0,Se.useState)([]),[rr,Er]=(0,Se.useState)([]),Bi=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Yi,Wi]=(0,Se.useState)([]),Bn=(0,Se.useRef)(new Set),Lr=(0,Se.useRef)(new Set),Fn=(0,Se.useRef)(1),fr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Qr=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Pr=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Ao,po]=(0,Se.useState)(!1),vr=()=>{oi.resetFields(),er=!1,Ln(!1),po(!1),oi.submit()};(0,Se.useEffect)(()=>{tn&&(oi.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),ci&&er&&(oi.setFieldsValue({item_type:"SHIXUN"}),Tt.item_type="SHIXUN",Mn(zt({},Tt)),Ii(!1)),Tt.type="0",Kn(Gt),nn(Gt),Lr.current=new Set(Gt),gr(Tt),cr(),Yr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Ri())},[tn]),console.log(fn,_n,"listitems"),(0,Se.useEffect)(()=>{$r>0&&setTimeout(()=>{En(0)},2e3)},[$r]);function gr(Vt){return rn(this,null,function*(){var Cn,ii,Qn;if(yi(!0),Mn(zt({},Vt)),(_n==null?void 0:_n.length)<=0&&Vt.type==="5"){ri([]),yi(!1);return}let Fi=Vt.type==="5"?_n==null?void 0:_n.filter(Hn=>!Nr.includes(Hn)):null,Mr=Vt.type==="5"?_n==null?void 0:_n.filter(Hn=>Nr.includes(Hn)):null;Fn.current=Fn.current+1;const Ei=Fn.current;let Oi=yield(0,Tn.ZP)("/api/item_banks.json",{method:"get",params:Pn(zt({},Vt),{discipline_id:((Cn=Vt==null?void 0:Vt.courseid)==null?void 0:Cn[0])||null,sub_discipline_id:((ii=Vt==null?void 0:Vt.courseid)==null?void 0:ii[1])||null,ids:Fi,shixun_ids:Mr,include_shixuns:!0,group_id:((Qn=Vt.group_id)==null?void 0:Qn.map(Hn=>Hn==null?void 0:Hn.value))||null,keyword:Vt.keyword?encodeURIComponent(Vt.keyword):Vt.keyword,type:Vt.type==="5"?null:Vt.type,clazz:Vt.type==="3"?"ItemBanksGroup":null})});Fn.current===Ei&&(ri(Oi),yi(!1))})}function cr(){return rn(this,null,function*(){let Vt=yield(0,Tn.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Tt.type==="5"?null:Tt.type,clazz:"ItemBanksGroup"}});st((0,Un.L)(Vt==null?void 0:Vt.disciplines))})}function Yr(Vt){return rn(this,null,function*(){var Cn;let ii=yield(0,Tn.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Vt}),Qn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Cn=ii==null?void 0:ii.data)==null?void 0:Cn.map(Fi=>({title:Fi.name,id:Fi.id,pid:Fi.id,value:Fi.id,key:Fi.id,isLeaf:!Fi.have_child}))}];Ki(Qn)})}function Ri(){return rn(this,null,function*(){let Vt=yield(0,Kt.Dm)({});(Vt==null?void 0:Vt.status)===0&&Er(Vt==null?void 0:Vt.groups)})}function _e(Vt){return rn(this,null,function*(){var Cn,ii,Qn,Fi;yi(!0);let Mr=(Cn=Vt.list)==null?void 0:Cn.filter(Hn=>!Nr.includes(Hn)),Ei=(ii=Vt.list)==null?void 0:ii.filter(Hn=>Nr.includes(Hn));if(Mr.length===0&&Ei.length===0){yi(!1),ri([]);return}let Oi=yield(0,Tn.ZP)("/api/item_banks.json",{method:"get",params:Pn(zt({},Vt),{discipline_id:((Qn=Vt==null?void 0:Vt.courseid)==null?void 0:Qn[0])||null,sub_discipline_id:((Fi=Vt==null?void 0:Vt.courseid)==null?void 0:Fi[1])||null,ids:Mr,shixun_ids:Ei,type:Vt.type==="5"?null:Vt.type,clazz:Vt.type==="3"?"ItemBanksGroup":null})});yi(!1),ri(Oi)})}const xt=Vt=>rn(void 0,null,function*(){const Cn=yield ze({type:"shixunsDetail/release",payload:{id:Vt}});let ii=Cn==null?void 0:Cn.tag_position,Qn=(Cn==null?void 0:Cn.evaluation_set_position)||[],Fi=Cn.status;return Fi===0?(te.ZP.success("\u53D1\u5E03\u6210\u529F"),gr(Tt),!0):(Fi===2?te.ZP.error(`\u7B2C${Qn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Fi===3?te.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${ii.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):te.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Dt=Vt=>(Vt==null?void 0:Vt.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",un=()=>gi?"\u6682\u65E0\u6570\u636E":Tt.type==="3"&&!(rr!=null&&rr.length)?Ge.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",Ge.createElement("span",{onClick:()=>{var Vt;return(0,ye.xg)(`/users/${(Vt=an==null?void 0:an.userInfo)==null?void 0:Vt.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):Tt.type==="0"&&(hn==null?void 0:hn.items_count)===0&&!(Tt!=null&&Tt.tag_discipline_id)&&!(Tt!=null&&Tt.difficulty)&&!(Tt!=null&&Tt.keyword)&&!(Tt!=null&&Tt.group_id)&&!(Tt!=null&&Tt.difficulty)?Ge.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Ge.createElement("span",{onClick:()=>{(0,ye.xg)(`/problems/newcreate?&pageId=${ct}`),dn(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",jn=(Vt,Cn,ii)=>Vt.map(Qn=>Qn.key===Cn?zt(zt({},Qn),ii):Qn.children?Pn(zt({},Qn),{children:jn(Qn.children,Cn,ii)}):Qn),ai=Vt=>rn(void 0,null,function*(){const{key:Cn}=Vt;let ii=Tt.type;const Qn=yield(0,Kt.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Cn),type:ii}),{data:Fi,total_count:Mr}=Qn||{};Mr>0&&Ki(Ei=>jn(Ei,Cn,{children:Fi.map(Oi=>({title:Oi.name,id:Oi.id,pid:Oi.id,value:Oi.id,key:Oi.id,isLeaf:!Oi.have_child}))}))});return Ge.createElement("div",null,Ge.createElement(Et.default,{title:!1,footer:!1,open:tn,width:1200,centered:!0,className:pt.scoremodal,onCancel:()=>{dn(!1)}},Ge.createElement("div",{style:{display:"flex",alignItems:"center"}},Ge.createElement("div",{className:pt.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),Ge.createElement(Ft.default,{className:pt.tabWrap,activeKey:Tt.type,onChange:Vt=>{Vt==="3"?(Tt.show_all_share=!0,Yr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Tt.show_all_share=null,Vt==="0"&&Yr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Tt.type=Vt,Tt.page=1,Tt.updated_at="",Tt.quotes="",Tt.courseid="",Tt.tag_discipline_id=null,Tt.difficulty=null,Tt.keyword=null,Tt.group_id=null,Tt.teach_group_id=null,oi.setFieldsValue({courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(Tt==null?void 0:Tt.item_type)==="SHIXUN"&&Tt.type!=="5"&&(er=!0,Ln(!0)),po(!1),Tt.type==="5"&&(er=!1,Ln(!1)),Mn(zt({},Tt)),gr(zt({},Tt)),cr()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:Ge.createElement("div",null,"\u5DF2\u9009",_n.length>0&&Ge.createElement("span",{className:pt.titlecount},_n.length),$r>0&&Ge.createElement("span",{className:pt.add},"+",$r)),key:"5"}]}),Ge.createElement(dt.default,{layout:"inline",form:oi,onValuesChange:(Vt,Cn)=>{const ii=Object.values(Cn).some(Fi=>Fi!==null&&Fi!==""&&Fi!==void 0),Qn=Cn.keyword==="";if(po(ii||!Qn),Tt.page=1,(Cn==null?void 0:Cn.item_type)==="SHIXUN"){if(Tt.type==="5"?Ln(!1):Ln(!0),Vt.keyword||Vt.keyword==="")return;oi.submit()}else{if(Vt!=null&&Vt.courseid&&oi.setFieldsValue({tag_discipline_id:""}),Ln(!1),Vt.keyword||Vt.keyword==="")return;oi.submit()}},onFinish:Vt=>{var Cn;Tt.type==="3"&&(!Vt.group_id||((Cn=Vt==null?void 0:Vt.group_id)==null?void 0:Cn.length)===0)?Tt.show_all_share=!0:Tt.show_all_share=null,Mn(zt(zt({},Tt),Vt)),gr(zt(zt({},Tt),Vt))}},Ge.createElement(dt.default.Item,{name:"courseid"},Ge.createElement(en.Z,{className:pt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Wn})),!er&&Ge.createElement(dt.default.Item,{name:"tag_discipline_id"},Ge.createElement(sn.default,{className:pt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},($t=hn==null?void 0:hn.tag_disciplines)==null?void 0:$t.map(Vt=>Ge.createElement(sn.default.Option,{key:Vt.id},Vt.name)))),Ge.createElement(dt.default.Item,{name:er?"diff":"difficulty"},Ge.createElement(sn.default,{className:pt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!er&&fr.map(Vt=>Ge.createElement(sn.default.Option,{key:Vt.value},Vt.name)),er&&Qr.map(Vt=>Ge.createElement(sn.default.Option,{key:Vt.value},Vt.name)))),er&&Ge.createElement(dt.default.Item,{name:"shixun_publish_status"},Ge.createElement(sn.default,{className:pt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Pr.map(Vt=>Ge.createElement(sn.default.Option,{key:Vt.value},Vt.name)))),Tt.type==="3"&&!er&&Ge.createElement(dt.default.Item,{name:"teach_group_id"},Ge.createElement(sn.default,{className:pt.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Vt,Cn)=>(console.log("---",Vt,Cn),Cn.children.toUpperCase().indexOf(Vt.toUpperCase())!==-1)},rr==null?void 0:rr.map(Vt=>Ge.createElement(sn.default.Option,{key:Vt.group_id},Vt.name)))),(Tt.type==="3"||Tt.type==="0")&&!er&&Ge.createElement(dt.default.Item,{name:"group_id"},Ge.createElement(On.default,{treeDataSimpleMode:!0,style:{width:118},className:pt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Vt,Cn)=>Cn.title.toUpperCase().indexOf(Vt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:ai,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:ir})),Ao&&Ge.createElement("span",{className:pt.allqingchu,onClick:vr},Ge.createElement("i",{className:"iconfont icon-guanbi4"}),Ge.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ge.createElement(dt.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ge.createElement(tt.default.Search,{className:pt.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ge.createElement("i",{className:`iconfont icon-sousuo9 font14 ${pt.searchIcon}`,onClick:()=>oi.submit()}),onSearch:Vt=>{oi.submit()}}))),Ge.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ge.createElement("div",{onClick:()=>{Tt.updated_at==="asc"?Tt.updated_at="desc":Tt.updated_at="asc",Mn(Pn(zt({},Tt),{page:1})),gr(Pn(zt({},Tt),{page:1}))}}," ",Tt.updated_at?Ge.createElement("img",{src:Tt.updated_at==="asc"?Xe.Z:Yt.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ge.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ge.createElement("div",{onClick:()=>{Tt.quotes==="asc"?Tt.quotes="desc":Tt.quotes="asc",Mn(Pn(zt({},Tt),{page:1})),gr(Pn(zt({},Tt),{page:1}))},style:{marginLeft:20}}," ",Tt.quotes?Ge.createElement("img",{src:Tt.quotes==="asc"?Xe.Z:Yt.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ge.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ge.createElement(gt.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(hn==null?void 0:hn.items)||(hn==null?void 0:hn.shixun_list),pagination:!1,locale:{emptyText:Ge.createElement(Ye.Z,{styles:{margin:"18px auto"},customText:un()})},loading:gi,rowKey:Vt=>Vt.id,rowSelection:{type:"checkbox",selectedRowKeys:fn,getCheckboxProps:Vt=>({disabled:Vt.shixun_tag_num===1}),onSelect(Vt,Cn,ii){if(Cn)er&&Ar([...Nr,Vt.id]),Kn([...fn,Vt.id]),Wi([...Yi,Vt]),Vt.identifier?Bn.current.add(Vt.id):Lr.current.add(Vt.id),En(1),nn([..._n,Vt.id]);else{const Qn=Yi.filter(Ei=>Ei.id!==Vt.id);Wi(Qn);const Fi=Qn.map(Ei=>Ei.id);Kn([...Fi]),Vt.identifier?Bn.current.delete(Vt.id):Lr.current.delete(Vt.id);let Mr=_n.filter(Ei=>Ei!==Vt.id);if(nn(Mr),er){let Ei=Nr.filter(Oi=>Oi!==Vt.id);Ar([...Ei])}if(Tt.type==="5"){_e(Pn(zt({},Tt),{list:[...Mr]}));return}}},onSelectAll(Vt,Cn,ii){if(Vt){const Qn=ii.map(Fi=>Fi.id);er&&Ar([...Nr,...Qn]),Wi([...Yi,...ii]),Kn([...fn,...Qn]),nn([..._n,...Qn]);for(const Fi of ii)Fi.identifier?Bn.current.add(Fi.id):Lr.current.add(Fi.id)}else{const Qn=ii.map(Ei=>Ei.id),Fi=fn.filter(Ei=>!Qn.some(Oi=>Oi===Ei)),Mr=Yi.filter(Ei=>!Qn.some(Oi=>Oi===Ei.id));if(Wi(Mr),Kn([...Fi]),nn([...Fi]),er){let Ei=Nr.filter(Oi=>!Qn.some(Hn=>Hn===Oi.id));Ar([...Ei])}Tt.type==="5"&&_e(Pn(zt({},Tt),{list:[...Fi]}));for(const Ei of Qn)Ei.identifier?Bn.current.delete(Ei):Lr.current.delete(Ei)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Vt,Cn,ii)=>{const Qn=`No.${Vt}`;return Ge.createElement(Ct.Z,{title:Qn},Ge.createElement("span",null,Qn))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:er?"30%":"60%",key:"name",render:(Vt,Cn,ii)=>{var Qn;return Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("span",null,Ge.createElement(An.Z,{key:1,showLines:1,showTextOnly:!0,value:er||Cn!=null&&Cn.challenge_names?Cn!=null&&Cn.title||Vt===null?"--":Vt:(Cn==null?void 0:Cn.item_type)=="BPROGRAM"?(Qn=Cn==null?void 0:Cn.program_attr)==null?void 0:Qn.description:Vt})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Vt,Cn,ii)=>Ge.createElement(Ct.Z,{title:Vt},Ge.createElement("span",null,Vt||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!er,render:(Vt,Cn,ii)=>{var Qn;return Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("span",null,Vt?(Qn=Vt==null?void 0:Vt.split("\u3001"))==null?void 0:Qn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!er,render:(Vt,Cn,ii)=>Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("span",null,Vt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Vt,Cn,ii)=>{var Qn,Fi,Mr,Ei;return Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("div",null,er||Cn!=null&&Cn.challenge_names?(Cn==null?void 0:Cn.level)||((Fi=(Qn=fr==null?void 0:fr.filter(Oi=>Oi.value===Vt))==null?void 0:Qn[0])==null?void 0:Fi.name):(Ei=(Mr=fr==null?void 0:fr.filter(Oi=>Oi.value===Vt))==null?void 0:Mr[0])==null?void 0:Ei.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!er,render:(Vt,Cn,ii)=>Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("div",null,Vt||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Vt,Cn,ii)=>Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("div",null,er||Cn!=null&&Cn.challenge_names?(Cn==null?void 0:Cn.study_count)||(Cn==null?void 0:Cn.stu_num):Vt))},{title:Ge.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ge.createElement(Ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ge.createElement(qe.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!er,render:(Vt,Cn,ii)=>Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("div",null,Vt||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Vt,Cn,ii)=>Ge.createElement(Ct.Z,{title:Dt(Cn)},Ge.createElement("div",{style:{flex:1,textAlign:"start"}},Ge.createElement("a",{onClick:()=>{var Qn,Fi;Li(Pn(zt({},Cn),{question_type:er||Cn!=null&&Cn.challenge_names?5:(Fi=(Qn=Bi==null?void 0:Bi.filter(Mr=>Mr.value===(Cn==null?void 0:Cn.item_type)))==null?void 0:Qn[0])==null?void 0:Fi.question_type})),lr(!0)}},"\u67E5\u770B"),(Cn==null?void 0:Cn.shixun_tag_num)===1&&Ge.createElement("a",{style:{marginLeft:10},onClick:()=>{Et.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ge.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ge.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Cn==null?void 0:Cn.identifier}/challenges`)}},(Cn==null?void 0:Cn.shixun_name)||"--"),"\uFF1F"),onOk:()=>rn(void 0,null,function*(){if(!xt(Cn==null?void 0:Cn.identifier))return new Promise((Qn,Fi)=>{Fi()})})})}},"\u53D1\u5E03")))}].filter(Vt=>!Vt.hidden)}),Ge.createElement(yn.Z,{current:Tt.page,total:(hn==null?void 0:hn.items_count)||(hn==null?void 0:hn.shixuns_count),style:{marginBottom:20},defaultPageSize:Tt.per_page,hideOnSinglePage:!(hn!=null&&hn.items_count),showTotal:Vt=>Ge.createElement("span",null,"\u5171\xA0",Ge.createElement("span",{style:{color:"#165DFF"}},Vt),"\xA0\u6761\u6570\u636E"),pageSize:Tt.per_page,onChange:(Vt,Cn)=>{Tt.page=Vt,Tt.per_page=Cn,Mn(zt({},Tt)),gr(zt({},Tt))}}),Ge.createElement("div",{className:pt.bottom},Ge.createElement(Bt.ZP,{className:pt.no,onClick:()=>{dn(!1)}},"\u53D6\u6D88"),Ge.createElement(Bt.ZP,{loading:bt,style:{width:bt&&75},className:pt.yes,onClick:()=>rn(void 0,null,function*(){if((_n==null?void 0:_n.length)<=0){te.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}on([...Lr.current],[...Bn.current],!0,_n==null?void 0:_n.length)})},"\u786E\u8BA4"))),Ge.createElement(Et.default,{open:qi,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:pt.previewModal,width:1e3,centered:!0,onCancel:()=>{lr(!1)},onOk:()=>{lr(!1)}},Ge.createElement(St,{qitem:Ci})))};var Gn=(0,Ce.connect)(({shixunsDetail:dn,user:tn})=>({shixunsDetail:dn,user:tn}))(In),Pi=ve(84677),Di=ve(61186),Gi=ve.n(Di),Dn=ve(59301),or=Object.defineProperty,jr=Object.defineProperties,Gr=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,Rr=(dn,tn,on)=>tn in dn?or(dn,tn,{enumerable:!0,configurable:!0,writable:!0,value:on}):dn[tn]=on,hr=(dn,tn)=>{for(var on in tn||(tn={}))wr.call(tn,on)&&Rr(dn,on,tn[on]);if(Ir)for(var on of Ir(tn))so.call(tn,on)&&Rr(dn,on,tn[on]);return dn},No=(dn,tn)=>jr(dn,Gr(tn)),vi=(dn,tn)=>{var on={};for(var wt in dn)wr.call(dn,wt)&&tn.indexOf(wt)<0&&(on[wt]=dn[wt]);if(dn!=null&&Ir)for(var wt of Ir(dn))tn.indexOf(wt)<0&&so.call(dn,wt)&&(on[wt]=dn[wt]);return on},Ee=(dn,tn,on)=>new Promise((wt,bt)=>{var ze=ct=>{try{an(on.next(ct))}catch($e){bt($e)}},Gt=ct=>{try{an(on.throw(ct))}catch($e){bt($e)}},an=ct=>ct.done?wt(ct.value):Promise.resolve(ct.value).then(ze,Gt);an((on=on.apply(dn,tn)).next())});const $n=({title:dn,icon:tn,className:on,style:wt,children:bt})=>Dn.createElement("div",{className:Ot()(Oe.card,on),style:wt},Dn.createElement("div",{className:Oe.head},Dn.createElement("i",{className:tn}),Dn.createElement("b",null,dn)),Dn.createElement("div",{className:Oe.element},bt)),fi=dn=>{var tn=dn,{value:on,onChange:wt}=tn,bt=vi(tn,["value","onChange"]);return Dn.createElement(yt.Z,No(hr({},bt),{defaultValue:on,onChange:wt}))},ln=({value:dn=[],onChange:tn,params:on,className:wt})=>{const[bt,ze]=(0,Se.useState)(!1),[Gt,an]=(0,Se.useState)([]),[ct,$e]=(0,Se.useState)(""),[$t,Tt]=(0,Se.useState)([]),[Mn,Wn]=(0,Se.useState)("");(0,Se.useEffect)(()=>{st()},[]);function st(){return Ee(this,null,function*(){let fn=yield(0,Tn.ZP)(`/api/courses/${on==null?void 0:on.coursesId}/teachers`,{method:"get",params:{homework_id:on.categoryId,limit:1e3}});Tt((fn==null?void 0:fn.teacher_list)||[])})}return Dn.createElement(Se.Fragment,null,Dn.createElement("div",{className:Ot()(Oe.collaborator,wt)},dn==null?void 0:dn.map(fn=>Dn.createElement(ke.Z,{align:"middle",className:`${Oe.btn} ${Mn==(fn==null?void 0:fn.user_id)?Oe.delBorder:""}`,key:fn.user_id},Dn.createElement("span",{className:"c-grey-333"},fn==null?void 0:fn.name),Dn.createElement("span",{className:`iconfont icon-guanbi11 current ml20 c-grey-ccc ${Oe.delSty}`,onMouseEnter:()=>{Wn(fn==null?void 0:fn.user_id)},onMouseLeave:()=>{Wn("")},onClick:()=>{const Kn=dn.filter(_n=>_n.user_id!==fn.user_id);an(Kn.map(_n=>_n.user_id)),tn(Kn)}}))),Dn.createElement(Bt.ZP,{className:Oe.copHover,style:{height:38,padding:"6px 15px"},type:"primary",ghost:!0,onClick:()=>ze(!0)},"\u6DFB\u52A0\u534F\u4F5C\u8005")),Dn.createElement(Et.default,{title:"\u6DFB\u52A0\u534F\u4F5C\u8005",open:bt,onCancel:()=>ze(!1),onOk:()=>{const fn=$t.filter(Kn=>Gt.includes(Kn.user_id));tn(fn),ze(!1)},afterClose:()=>{$e("")}},Dn.createElement(ke.Z,{align:"middle"},Dn.createElement("label",null,"\u59D3\u540D\uFF1A"),Dn.createElement(tt.default.Search,{value:ct,size:"middle",style:{flex:1},onChange:fn=>$e(fn.target.value)})),Dn.createElement(gt.default,{style:{marginTop:10,height:300,overflow:"auto"},rowSelection:{type:"checkbox",onChange:fn=>{an(fn)},selectedRowKeys:Gt,getCheckboxProps:fn=>({disabled:fn.is_collaborator})},pagination:!1,rowKey:"user_id",size:"middle",dataSource:$t.filter(fn=>fn.name.includes(ct)),columns:[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u89D2\u8272",dataIndex:"role"}]})))};var Yn=()=>{var dn;const tn=(0,Ce.useParams)(),on=(0,Ce.useDispatch)(),[wt]=dt.default.useForm(),bt=dt.default.useWatch("hack_score_settings",wt),ze=dt.default.useWatch("open_code",wt),Gt=dt.default.useWatch("rank_forbidden",wt),an=dt.default.useWatch("hack_analysis",wt),ct=dt.default.useWatch("hack_answer",wt),[$e,$t]=(0,Se.useState)([]),[Tt,Mn]=(0,Se.useState)({}),[Wn,st]=(0,Se.useState)({course_end_date:null,manage_all_group:!0,send_type:0,can_publish:!0,difficult_settings:[],difficult_count:[],unified_setting:!0}),[fn,Kn]=(0,Se.useState)(!0),[_n,nn]=(0,Se.useState)(!1),[hn,ri]=(0,Se.useState)(!1),[gi,yi]=(0,Se.useState)({}),[oi,Ci]=(0,Se.useState)(!1),[Li,qi]=(0,Se.useState)(!1),lr=(0,Se.useRef)(!1),er=(0,Se.useRef)(String(Math.random()).slice(-6)),Ln=(dn=window.location.pathname)==null?void 0:dn.includes("add");(0,Se.useEffect)(()=>(window.addEventListener("visibilitychange",Nr),()=>{window.removeEventListener("visibilitychange",Nr)}),[$e,gi]),(0,Se.useEffect)(()=>(on({type:"globalSetting/footerToggle",payload:!1}),()=>{on({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Se.useEffect)(()=>{$e.length&&bt!==void 0&&ir()},[bt,JSON.stringify($e==null?void 0:$e.map(Bi=>Bi.id+Bi.hack_score))]),(0,Se.useEffect)(()=>{Ar(),Ln?Kn(!1):$r()},[]);const Nr=()=>Ee(void 0,null,function*(){var Bi;if(document.visibilityState==="visible"){qi(!0);let Yi=$e.map(Lr=>Lr.id),Wi=localStorage.getItem(er.current);Wi&&(Wi=JSON.parse(Wi),Wi=Array.isArray(Wi)?Wi:[],Yi=[...Yi,...Wi],localStorage.removeItem(er.current));const Bn=yield(0,Tn.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:Yi.length?Yi:-1,homework_common_id:Ln?null:gi==null?void 0:gi.homework_id}});if(Bn!=null&&Bn.items){const Lr=(Bi=Bn==null?void 0:Bn.items)==null?void 0:Bi.map(Fn=>{const fr=$e.find(Qr=>Qr.id===Fn.id);return fr?No(hr({},Fn),{hack_score:fr.hack_score}):Fn});$t(Lr)}qi(!1)}}),Ar=()=>Ee(void 0,null,function*(){const Bi=yield(0,Tn.ZP)(`/api/courses/${tn.coursesId}/homework_commons/new.json`,{method:"get",params:{category:tn==null?void 0:tn.categoryId,type:5}});Bi!=null&&Bi.course_name&&Mn(Bi)}),$r=()=>Ee(void 0,null,function*(){var Bi,Yi;const Wi=yield(0,Tn.ZP)(`/api/homework_commons/${tn==null?void 0:tn.categoryId}/edit_hack.json`,{method:"get"});if((Wi==null?void 0:Wi.status)===0){const Bn=(Bi=Wi==null?void 0:Wi.collaborators_data)==null?void 0:Bi.map(Fn=>({user_id:Fn.id,name:Fn.real_name}));wt.setFieldsValue(No(hr({},Wi),{user_ids:Bn,rank_forbidden_start:Wi!=null&&Wi.rank_forbidden_start?Gi()(Wi==null?void 0:Wi.rank_forbidden_start):"",rank_forbidden_end:Wi!=null&&Wi.rank_forbidden_end?Gi()(Wi==null?void 0:Wi.rank_forbidden_end):""}));const Lr=(Yi=Wi==null?void 0:Wi.items)==null?void 0:Yi.map((Fn,fr)=>{var Qr,Pr;return No(hr({},Fn),{hack_score:(Pr=(Qr=Wi==null?void 0:Wi.hack_settings)==null?void 0:Qr[fr])==null?void 0:Pr.hack_score})});$t(Lr||[]),yi(hr({},Wi))}Kn(!1)}),En=()=>{let Bi=`/classrooms/${tn==null?void 0:tn.coursesId}/program_homework`;return Ln||(Bi=`/classrooms/${tn==null?void 0:tn.coursesId}/program_homework/${tn==null?void 0:tn.categoryId}/detail`),Bi},ci=[{name:(Tt==null?void 0:Tt.course_name)||"",path:`/classrooms/${Tt==null?void 0:Tt.course_id}/program_homework`},{name:Ln?"\u7F16\u7A0B\u4F5C\u4E1A":gi==null?void 0:gi.name,path:En()},{name:(Ln?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],Ii=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(Bi,Yi,Wi)=>Wi+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:Bi=>Dn.createElement(Ct.Z,{placement:"topLeft",title:Bi},Dn.createElement("span",null,Bi||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(Bi,Yi,Wi)=>Dn.createElement(Me.Z,{disabled:bt!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:Bi,onChange:Bn=>{$e[Wi].hack_score=Bn;const Lr=$e.reduce((Fn,fr)=>Fn+Number(fr.hack_score||0),0);wt.setFieldsValue({total_score:Lr.toFixed(2)}),$t([...$e])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:Bi=>Dn.createElement("span",null,Bi===1?"\u7B80\u5355":Bi===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:Bi=>Dn.createElement(Ct.Z,{placement:"topLeft",title:Bi},Dn.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},Bi||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(Bi,Yi)=>Dn.createElement("span",null,Dn.createElement("span",{onClick:()=>Ee(void 0,null,function*(){var Wi;on({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let Bn=yield(0,Tn.ZP)(`/api/problems/${(Wi=Yi==null?void 0:Yi.program_attr)==null?void 0:Wi.identifier}/start.json`,{method:"get"});(Bn==null?void 0:Bn.status)===0&&(0,ye.xg)(`/myproblems/${Bn==null?void 0:Bn.identifier}?type=1&pageId=edit&backUrl=${En()}`),on({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),Dn.createElement("span",{onClick:()=>{var Wi;return(0,ye.xg)(`/problems/newedit/${(Wi=Yi==null?void 0:Yi.program_attr)==null?void 0:Wi.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),Dn.createElement("span",{onClick:()=>{const Wi=$e.filter(Bn=>Bn.id!==Yi.id);$t(Wi),te.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],ir=()=>{const Bi=[...$e],Yi=wt.getFieldValue("total_score"),Wi=Bi==null?void 0:Bi.length;let Bn=0,Lr;switch(bt){case 0:const Fn=(Yi/Wi).toFixed(2);Bi.map((cr,Yr)=>{Bn=Yr,cr.hack_score=Fn>0?Fn:0}),Lr=(Yi-Fn*(Wi-1)).toFixed(2),Bi[Bn].hack_score=Lr>0?Lr:0;break;case 1:const fr=[0,1,3,6];let Qr=0;const Pr=Bi.filter(cr=>cr.difficulty===1).length*fr[1],Ao=Bi.filter(cr=>cr.difficulty===2).length*fr[2],po=Bi.filter(cr=>cr.difficulty===3).length*fr[3],vr=Yi/(Pr+Ao+po);Bi.map((cr,Yr)=>{Bn=Yr,cr.hack_score=(fr[cr.difficulty]*vr).toFixed(2),Qr=Qr+Number(cr.hack_score)});let gr=Bi[Bn].hack_score;Lr=(Yi-Qr+Number(gr)).toFixed(2),Bi[Bn].hack_score=Lr>0?Lr:0;break}$t(Bi)},Ki=Bi=>{lr.current=Bi,wt.submit()},rr=Bi=>Ee(void 0,null,function*(){var Yi;if(!$e.length){te.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),wt.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}Ci(!0);const Wi=[],Bn=$e.map(fr=>(Wi.push(fr.hack_id),{hack_id:fr.hack_id,hack_name:fr.name,hack_score:fr.hack_score,difficult:fr.difficulty})),Lr=(Yi=Bi==null?void 0:Bi.user_ids)==null?void 0:Yi.map(fr=>fr.user_id),Fn=yield(0,Tn.ZP)(`/api/courses/${tn.coursesId}/homework_commons/create_hack_homework.json`,{method:"post",body:No(hr({},Bi),{category:Ln?Number(tn==null?void 0:tn.categoryId):null,homework_id:Ln?null:gi==null?void 0:gi.homework_id,hack_settings:Bn,user_ids:Lr,hack_ids:Wi})});if((Fn==null?void 0:Fn.status)===0)if(te.ZP.success("\u4FDD\u5B58\u6210\u529F"),lr.current){const fr=hr({},Fn);st(fr),on({type:"classroomList/setActionTabs",payload:{key:"\u7ACB\u5373\u53D1\u5E03",selectArrs:[Fn==null?void 0:Fn.id],selectArrsAll:[fr],params:tn,detail:!0,type:2,manage_all_group:fr==null?void 0:fr.manage_all_group}})}else Ce.history.push(`/classrooms/${tn.coursesId}/program_homework/${Fn==null?void 0:Fn.id}/detail`);Ci(!1)}),Er=Bi=>Ee(void 0,null,function*(){if(!Bi.length){te.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(Bi.length>200){te.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const Yi=[],Wi=$e.map(Fn=>{var fr;return(fr=Fn.program_attr)==null?void 0:fr.origin_item_bank_id}),Bn=[];Bi.forEach(Fn=>{if(Wi.includes(Fn)){const fr=$e.find(Qr=>{var Pr;return((Pr=Qr.program_attr)==null?void 0:Pr.origin_item_bank_id)===Fn});Bn.push(fr)}else Yi.push(Fn)}),ri(!0);const Lr=yield(0,Tn.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:Yi}});if(Lr!=null&&Lr.items){const Fn=[...Bn,...Lr==null?void 0:Lr.items];if(bt===2){const fr=Fn.reduce((Qr,Pr)=>Qr+Number(Pr.hack_score||0),0);wt.setFieldsValue({total_score:fr.toFixed(2)})}$t(Fn),nn(!1)}ri(!1)});return Dn.createElement("div",{className:Oe.wrap},Dn.createElement(ne.Z,{spinning:fn},Dn.createElement("div",{className:Oe.center},Dn.createElement(et._b,{dataSource:ci,className:"mb20"}),Dn.createElement(dt.default,{form:wt,preserve:!1,onValuesChange:Bi=>{"total_score"in Bi&&ir()},onFinishFailed:Bi=>Ee(void 0,null,function*(){var Yi,Wi;te.ZP.error(Bi.errorFields[0].errors[0]),wt.scrollToField((Wi=(Yi=Bi==null?void 0:Bi.errorFields)==null?void 0:Yi[0])==null?void 0:Wi.name,{behavior:"smooth",block:"center"})}),onFinish:rr,colon:!1,size:"large"},Dn.createElement($n,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},Dn.createElement(dt.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"},{whitespace:!0,message:"\u4F5C\u4E1A\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},Dn.createElement(tt.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),Dn.createElement(dt.default.Item,{labelCol:{flex:"81px"},label:"\u4F5C\u4E1A\u8BF4\u660E",name:"description",initialValue:"",rules:[{max:5e4,message:"\u4F5C\u4E1A\u8BF4\u660E\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26"}]},Dn.createElement(fi,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0}))),Dn.createElement($n,{className:"mb20",title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},Dn.createElement(dt.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},Dn.createElement(ce.default.Group,null,Dn.createElement(ce.default,{value:"c"},"C\u8BED\u8A00"),Dn.createElement(ce.default,{value:"c++"},"C++\u8BED\u8A00"),Dn.createElement(ce.default,{value:"java"},"Java\u8BED\u8A00"),Dn.createElement(ce.default,{value:"python"},"Python\u8BED\u8A00"))),Dn.createElement(ke.Z,{align:"middle"},Dn.createElement(dt.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},Dn.createElement(Me.Z,{precision:1,disabled:bt===2,min:0,style:{width:223},addonAfter:"\u5206"})),Dn.createElement(dt.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},Dn.createElement(Me.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),Dn.createElement(dt.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},Dn.createElement(se.ZP.Group,null,Dn.createElement(se.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),Dn.createElement(se.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),Dn.createElement(se.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),Dn.createElement(ke.Z,{align:"middle"},Dn.createElement("span",null,"\u9898\u76EE\u5217\u8868"),Dn.createElement(Bt.ZP,{onClick:()=>nn(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),Dn.createElement(Bt.ZP,{onClick:()=>(0,ye.xg)(`/problems/newcreate?pageId=${er.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),Dn.createElement("div",{className:Oe.tip},Dn.createElement("i",{className:"iconfont icon-tishi12 mr5 font14"}),"\u63D0\u793A\uFF1A\u53EF\u4EE5\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u5BF9\u8BE5\u8BD5\u9898\u7684\u6D4B\u8BD5\u7528\u4F8B/\u521D\u59CB\u4EE3\u7801\u8FDB\u884C\u4FEE\u6539\uFF0C\u4FEE\u6539\u7684\u5185\u5BB9\u5E76\u4E0D\u4F1A\u540C\u6B65\u5230\u8BD5\u9898\u5E93"),Dn.createElement(dt.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},Dn.createElement(mn,{dataSource:$e,setDataSource:$t,columns:Ii,loading:Li}))),Dn.createElement($n,{style:{marginBottom:100},title:"\u4F5C\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-zuoyeshezhi"},Dn.createElement("div",{className:Oe.title},"\u6392\u884C\u699C\u65F6\u95F4\u540D\u6B21\u89C4\u5219"),Dn.createElement("div",{className:`${Oe.content} mb30`},Dn.createElement(dt.default.Item,{name:"hack_rank_rule",noStyle:!0,initialValue:0},Dn.createElement(se.ZP.Group,null,Dn.createElement(se.ZP,{value:0},Dn.createElement("span",{className:"c-black"},"\u8017\u65F6\u65F6\u957F\u4F18\u5148"),Dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u8017\u65F6\u8D8A\u77ED\u540D\u6B21\u8D8A\u524D\uFF09")),Dn.createElement(se.ZP,{style:{marginLeft:40},value:1},Dn.createElement("span",{className:"c-black"},"\u5B8C\u6210\u65F6\u95F4\u70B9\u4F18\u5148"),Dn.createElement("span",{className:"c-grey-666 font14"},"\uFF08\u540C\u6210\u7EE9\uFF0C\u5B8C\u6210\u65F6\u95F4\u8D8A\u65E9\u540D\u6B21\u8D8A\u524D\uFF09"))))),Dn.createElement("div",{className:`${Oe.title} mt30`},"\u5B66\u751F\u5B9E\u9A8C\u62A5\u544A\u4EE3\u7801\u5C55\u793A\u8BBE\u7F6E"),Dn.createElement("div",{className:Oe.content},Dn.createElement(dt.default.Item,{name:"show_late_code",noStyle:!0,valuePropName:"checked",initialValue:!0},Dn.createElement(ce.default,null,Dn.createElement("span",{className:"c-black"},"\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801"),Dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\uFF0C\u5C55\u793A\u6240\u6709\u8BC4\u6D4B\u4EE3\u7801\uFF0C\u5426\u5219\u53EA\u5C55\u793A\u5728\u4F5C\u4E1A\u65F6\u95F4\u8303\u56F4\u5185\u63D0\u4EA4\u7684\u4EE3\u7801\uFF09")))),Dn.createElement("div",{className:`${Oe.title} mt30`},"\u516C\u5F00\u8BBE\u7F6E"),Dn.createElement("div",{className:Oe.content},Dn.createElement(dt.default.Item,{name:"score_open",valuePropName:"checked",className:"mb0",initialValue:!1},Dn.createElement(ce.default,null,Dn.createElement("span",{className:"c-black"},"\u516C\u5F00\u6210\u7EE9"),Dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u52FE\u9009\u540E\u5B66\u751F\u5728\u4F5C\u4E1A\u622A\u6B62/\u8865\u4EA4\u7ED3\u675F\u540E\uFF0C\u53EF\u67E5\u770B\u5176\u4ED6\u5B66\u751F\u7684\u6210\u7EE9\uFF09"))),Dn.createElement(dt.default.Item,{name:"open_code",valuePropName:"checked",className:"mb0",initialValue:!1},Dn.createElement(ce.default,null,Dn.createElement("span",{className:"c-black"},"\u516C\u5F00\u4EE3\u7801"),Dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u53EF\u5728\u6392\u884C\u699C\u4E2D\u67E5\u770B\u4ED6\u4EBA\u8BD5\u9898\u901A\u8FC7\u4EE3\u7801\u8BE6\u60C5\uFF09"))),!!ze&&Dn.createElement(dt.default.Item,{name:"open_code_type",className:"mb0 ml25",initialValue:1},Dn.createElement(se.ZP.Group,null,Dn.createElement(se.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Dn.createElement(se.ZP,{style:{marginLeft:60},value:0},"\u4EFB\u610F\u65F6\u95F4"))),Dn.createElement(dt.default.Item,{name:"rank_forbidden",valuePropName:"checked",className:"mb0",initialValue:!1},Dn.createElement(ce.default,null,Dn.createElement("span",{className:"c-black"},"\u5F00\u542F\u5C01\u699C"),Dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u4E0D\u53EF\u67E5\u770B\u6392\u884C\u699C\u4FE1\u606F\u7684\u65F6\u95F4\u6BB5\uFF09"))),!!Gt&&Dn.createElement(ke.Z,{align:"middle",className:"ml25"},Dn.createElement(dt.default.Item,{label:"\u5F00\u59CB\u65F6\u95F4",name:"rank_forbidden_start",initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},Dn.createElement(ge.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:ye.Q8,disabledTime:ye.d0})),Dn.createElement(dt.default.Item,{label:"\u622A\u6B62\u65F6\u95F4",name:"rank_forbidden_end",style:{marginLeft:40},initialValue:"",rules:[{required:!0,message:"\u5C01\u699C\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"}],className:"mb0"},Dn.createElement(ge.default,{style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:ye.Q8,disabledTime:ye.d0}))),Dn.createElement(dt.default.Item,{name:"hack_analysis",valuePropName:"checked",className:"mb0",initialValue:!1},Dn.createElement(ce.default,null,Dn.createElement("span",{className:"c-black"},"\u516C\u5F00\u89E3\u6790"),Dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u89E3\u6790\uFF09"))),!!an&&Dn.createElement(dt.default.Item,{name:"hack_analysis_type",className:"mb0 ml25",initialValue:2},Dn.createElement(se.ZP.Group,null,Dn.createElement(se.ZP,{value:2},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Dn.createElement(se.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4"),Dn.createElement(se.ZP,{style:{marginLeft:60},value:1},"\u5B66\u751F\u901A\u8FC7\u7B54\u9898\u540E/\u672A\u901A\u8FC7\u7684\u5B66\u751F\u4F5C\u4E1A\u622A\u6B62\u540E"))),Dn.createElement(dt.default.Item,{name:"hack_answer",valuePropName:"checked",className:"mb0",initialValue:!1},Dn.createElement(ce.default,null,Dn.createElement("span",{className:"c-black"},"\u516C\u5F00\u7B54\u6848"),Dn.createElement("span",{className:"c-grey-666 ml10"},"\uFF08\u8BBE\u7F6E\u5B66\u751F\u5728\u5B9E\u9A8C\u9875\u9762\u67E5\u770B\u8BD5\u9898\u7B54\u6848\uFF09"))),!!ct&&Dn.createElement(dt.default.Item,{name:"hack_answer_type",className:"mb0 ml25",initialValue:1},Dn.createElement(se.ZP.Group,null,Dn.createElement(se.ZP,{value:1},"\u4F5C\u4E1A\u7ED3\u675F\u540E"),Dn.createElement(se.ZP,{value:0,style:{marginLeft:60}},"\u4EFB\u610F\u65F6\u95F4")))),Dn.createElement("div",{className:`${Oe.title} mt30`},"\u534F\u4F5C\u8BBE\u7F6E"),Dn.createElement(dt.default.Item,{name:"user_ids",noStyle:!0,initialValue:[]},Dn.createElement(ln,{params:tn}))))),Dn.createElement("div",{className:Oe.fixedBtns},Dn.createElement(ke.Z,{align:"middle",className:Oe.center},Dn.createElement(Bt.ZP,{onClick:()=>Ce.history.push(En()),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),Dn.createElement(Bt.ZP,{loading:oi&&!lr.current,disabled:oi&&lr.current,onClick:()=>Ki(!1),style:{marginLeft:"auto",marginRight:20,padding:"6px 40px"},type:"primary",ghost:!0},"\u4FDD\u5B58\u4F5C\u4E1A"),Dn.createElement(Bt.ZP,{loading:oi&&lr.current,disabled:oi&&!lr.current,onClick:()=>Ki(!0),style:{padding:"6px 19px"},type:"primary"},"\u4FDD\u5B58\u5E76\u53D1\u5E03\u4F5C\u4E1A")))),Dn.createElement(Gn,{setScoreShow:nn,isshixuns:!1,ScoreShow:_n,virtualId:er.current,isloadings:hn,onOk:Er,selectedIds:$e.map(Bi=>{var Yi;return(Yi=Bi.program_attr)==null?void 0:Yi.origin_item_bank_id})||[]}),Dn.createElement(Pi.Z,{courseEndTime:Wn==null?void 0:Wn.course_end_date,onWindowBack:()=>{window.location.href=`/classrooms/${tn==null?void 0:tn.coursesId}/program_homework/${Wn==null?void 0:Wn.id}/detail`}}))}},84677:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=ve(78241),We=ve(8591),Ot=ve(43418),et=ve(95237),yt=ve(5112),ke=ve(5871),Bt=ve(43604),Et=ve(5083),tt=ve(24905),gt=ve(61186),dt=ve.n(gt),Ct=ve(99064),Me=ve(24065),te=ve(955),ne=ve(89070),ce=ve(59437),se=ve(92365),ge=ve(79834),ye=ve(59301),Ce=Object.defineProperty,Ne=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ye=(Rt,It,Lt)=>It in Rt?Ce(Rt,It,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Rt[It]=Lt,ut=(Rt,It)=>{for(var Lt in It||(It={}))Ke.call(It,Lt)&&Ye(Rt,Lt,It[Lt]);if(Ie)for(var Lt of Ie(It))Ve.call(It,Lt)&&Ye(Rt,Lt,It[Lt]);return Rt},Ue=(Rt,It)=>Ne(Rt,Pe(It)),Nt=(Rt,It)=>{var Lt={};for(var Ut in Rt)Ke.call(Rt,Ut)&&It.indexOf(Ut)<0&&(Lt[Ut]=Rt[Ut]);if(Rt!=null&&Ie)for(var Ut of Ie(Rt))It.indexOf(Ut)<0&&Ve.call(Rt,Ut)&&(Lt[Ut]=Rt[Ut]);return Lt},Qe=(Rt,It,Lt)=>new Promise((Ut,ht)=>{var Re=mn=>{try{Sn(Lt.next(mn))}catch(Ft){ht(Ft)}},At=mn=>{try{Sn(Lt.throw(mn))}catch(Ft){ht(Ft)}},Sn=mn=>mn.done?Ut(mn.value):Promise.resolve(mn.value).then(Re,At);Sn((Lt=Lt.apply(Rt,It)).next())});const Ht=Rt=>{var It=Rt,{classroomList:Lt,dispatch:Ut,courseEndTime:ht,onWindowBack:Re}=It,At=Nt(It,["classroomList","dispatch","courseEndTime","onWindowBack"]),Sn,mn,Ft,en,sn,On,yn,Tn,pt,Un,wn,An,ni,Qt,Jt,St,Xe,Yt,Kt,qe,Ge,Be,xe,me,Fe,He,Le,mt,zt,Pn,rn,In,Gn,Pi,Di,Gi,Dn,or,jr;const Gr=(0,ne.useParams)(),[Ir]=Oe.default.useForm(),[wr,so]=(0,Se.useState)(1),[Rr,hr]=(0,Se.useState)([]),[No,vi]=(0,Se.useState)(0),[Ee,$n]=(0,Se.useState)(2e3),[fi,ln]=(0,Se.useState)(!0),[ei,Yn]=(0,Se.useState)(!1),[dn,tn]=(0,Se.useState)(!1),[on,wt]=(0,Se.useState)([]),[bt,ze]=(0,Se.useState)(!0),[Gt,an]=(0,Se.useState)(!((Ft=(mn=(Sn=Lt.actionTabs)==null?void 0:Sn.selectArrsAll)==null?void 0:mn[0])!=null&&Ft.send_type));let[ct,$e]=(0,Se.useState)([0,0,0]);(0,Se.useEffect)(()=>{var _n,nn,hn,ri,gi,yi,oi,Ci,Li,qi,lr,er,Ln;if(Lt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03")if(Wn(),(hn=(nn=(_n=Lt.actionTabs)==null?void 0:_n.selectArrsAll)==null?void 0:nn[0])!=null&&hn.can_publish?$e([...(Li=(Ci=(oi=Lt.actionTabs)==null?void 0:oi.selectArrsAll)==null?void 0:Ci[0])==null?void 0:Li.difficult_count]):$e([...(yi=(gi=(ri=Lt.actionTabs)==null?void 0:ri.selectArrsAll)==null?void 0:gi[0])==null?void 0:yi.difficult_settings]),an(!((er=(lr=(qi=Lt.actionTabs)==null?void 0:qi.selectArrsAll)==null?void 0:lr[0])!=null&&er.send_type)),$t(),Lt.actionTabs.type===2){const Nr=(Ln=Lt.actionTabs.selectArrsAll)==null?void 0:Ln[0];ze(Nr.unified_setting)}else ze(!1)},[Lt.actionTabs]),(0,Se.useEffect)(()=>{if(ei){if(dn)return;Ut({type:"classroomList/setActionTabs",payload:{}}),(0,Me.GJ)()?(Ut({type:"classroomList/getClassroomTeacherCommonList",payload:Ue(ut({},Lt.actionTabs.params),{type:1})}),Ut({type:"shixunHomeworks/getWorkList",payload:ut({},Gr)})):Ut({type:"classroomList/getClassroomCommonList",payload:ut({},Lt.actionTabs.params)})}},[ei]);const $t=_n=>Qe(void 0,null,function*(){ln(!0);const nn=yield(0,se.c_)(Ue(ut({},Gr),{page:_n||wr,limit:2e4,homework_id:Lt.actionTabs.type===1?"":Lt.actionTabs.selectArrs[0]}));nn==null||nn.course_groups.map((hn,ri)=>{hn.key=hn.id,hn.title=hn.name,hn.disabled=hn.is_published}),nn&&(hr([...nn==null?void 0:nn.course_groups]),vi(nn==null?void 0:nn.course_groups_count),ln(!1),_n||Ir.setFieldsValue({publish_time:dt()(dt()(new Date).add(0,"days").format("YYYY-MM-DD HH:mm")),end_time:dt()(dt()(new Date).add(7,"days").format("YYYY-MM-DD HH:mm"))}))}),Tt=()=>{(0,Me.GJ)()?Lt.actionTabs.detail?(Ut({type:"shixunHomeworks/setActionTabs",payload:{}}),Ut({type:"shixunHomeworks/getWorkList",payload:ut({},Gr)}),Ut({type:"shixunHomeworks/getWorkSetting",payload:ut({},Gr)})):Ut({type:"classroomList/getClassroomTeacherCommonList",payload:Ue(ut({},Lt.actionTabs.params),{type:5,category:Lt.actionTabs.params.categoryId})}):Ut({type:"classroomList/getClassroomCommonList",payload:ut({},Lt.actionTabs.params)})},Mn=()=>Qe(void 0,null,function*(){var _n,nn;if((0,Me.Rm)()&&!((_n=Lt.AssistantObject.hack)!=null&&_n.can_publish)){We.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),Kn(!1);return}const hn=ut({},Ir.getFieldsValue());if(hn.end_time<=hn.publish_time){We.ZP.info("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u6216\u7B49\u4E8E\u53D1\u5E03\u65F6\u95F4"),Kn(!1);return}if((on==null?void 0:on.length)<=0&&!bt&&Rr.length>0){We.ZP.info("\u53D1\u5E03\u73ED\u7EA7\u4E0D\u80FD\u4E3A\u7A7A"),Kn(!1);return}if(ct.reduce((yi,oi)=>yi+oi)===0&&!Gt){We.ZP.info("\u7B80\u5355\u9002\u4E2D\u56F0\u96BE\u9898\u6570\u76F8\u52A0\u4E0D\u80FD\u4E3A0"),Kn(!1);return}let ri={homework_ids:[...Lt.actionTabs.selectArrs],group_ids:on.length>0?on.map(yi=>yi.id):(nn=Lt.detailCommonHomeworksList)==null?void 0:nn.course_groups,end_time:dt()(hn.end_time).format("YYYY-MM-DD HH:mm"),publish_time:dt()(hn.publish_time).format("YYYY-MM-DD HH:mm"),difficult_settings:ct==null?void 0:ct.map(yi=>yi),send_type:Gt?"0":"1",unified_setting:!on.length};if(Kn(!0),(yield(0,Ct.ZP)(`/api/courses/${Gr.coursesId}/homework_commons/publish_with_homework_list_position.json`,{method:"post",body:ut({},ri)})).status===0){if(Kn(!1),(0,te.L9)(["\u6559\u5B66\u8BFE\u5802","\u56FE\u6587\u4F5C\u4E1A","\u7ACB\u5373\u53D1\u5E03"]),We.ZP.success("\u53D1\u5E03\u6210\u529F"),Ut({type:"classroomList/setActionTabs",payload:{key:"\u6E05\u9664\u9009\u62E9\u6570\u636E"}}),Re){Re();return}At.onCallback&&At.onCallback(),Tt(),localStorage.getItem("Noviceguide")==="0"||Ut({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5E95\u90E8\u5F39\u7A97",type:13,text:ye.createElement("div",null,"\u6700\u540E\uFF0C\u54B1\u4EEC\u7ED9\u6559\u5B66\u8BFE\u5802\u6DFB\u52A0\u4E00\u540D\u5B66\u751F~\u70B9\u51FB\u201C\u6DFB\u52A0\u5B66\u751F\u201D\uFF0C\u5728\u5F39\u7A97\u9875\u9762\u4E2D\u8F93\u5165\u5E76\u641C\u7D22\u5B66\u751F\u59D3\u540D\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5C31\u53EF\u4EE5\u4E3A\u60A8\u7684\u8BFE\u5802\u6DFB\u52A0\u7B2C\u4E00\u4F4D\u5B66\u751F\u5566~")}})}else Kn(!1)}),Wn=()=>{so(1),hr([]),wt([])},st=No>wr*Ee,[fn,Kn]=(0,Se.useState)(!1);return ye.createElement(Ot.default,{width:600,confirmLoading:fn,centered:!0,title:"\u53D1\u5E03\u4F5C\u4E1A",open:Lt.actionTabs.key==="\u7ACB\u5373\u53D1\u5E03",okText:"\u53D1\u5E03\u4F5C\u4E1A",cancelText:"\u6682\u4E0D\u53D1\u5E03",onOk:Mn,onCancel:()=>{if(Wn(),Ut({type:"classroomList/setActionTabs",payload:{}}),Re){Re();return}Tt()}},ye.createElement("p",{className:"tc"},"\u5B66\u751F\u5C06\u7ACB\u5373\u6536\u5230\u4F5C\u4E1A",ye.createElement("br",null),'\u672C\u64CD\u4F5C\u53EA\u5BF9"\u672A\u53D1\u5E03"\u7684\u4F5C\u4E1A\u6709\u6548'),Rr&&ye.createElement(Oe.default,{form:Ir},ye.createElement("div",{style:{paddingLeft:0}},Lt.actionTabs.type===2&&ye.createElement(et.Z,{style:{marginBottom:"10px"}},ye.createElement("span",{className:"mr5"},"\u8BD5\u9898\u53D1\u9001:"),ye.createElement(yt.ZP.Group,{value:Gt,disabled:!((On=(sn=(en=Lt.actionTabs)==null?void 0:en.selectArrsAll)==null?void 0:sn[0])!=null&&On.can_publish),onChange:_n=>{an(_n.target.value)}},ye.createElement(yt.ZP,{value:!0},"\u5168\u90E8\u56FA\u5B9A\u8BD5\u9898"),ye.createElement(yt.ZP,{className:"ml20",value:!1},"\u968F\u673A\u62BD\u53D6"))),!Gt&&ye.createElement(et.Z,{style:{marginBottom:"10px"}},ye.createElement("span",{style:{marginRight:65}}),ye.createElement("span",null,"\u7B80\u5355\u9898\u6570 ",ye.createElement(ke.Z,{value:ct[0],onChange:_n=>{ct[0]=_n,$e([...ct])},min:0,disabled:!((pt=(Tn=(yn=Lt.actionTabs)==null?void 0:yn.selectArrsAll)==null?void 0:Tn[0])!=null&&pt.can_publish),placeholder:`\u6700\u5927${(ni=(An=(wn=(Un=Lt.actionTabs)==null?void 0:Un.selectArrsAll)==null?void 0:wn[0])==null?void 0:An.difficult_count)==null?void 0:ni[0]}`,max:(Xe=(St=(Jt=(Qt=Lt.actionTabs)==null?void 0:Qt.selectArrsAll)==null?void 0:Jt[0])==null?void 0:St.difficult_count)==null?void 0:Xe[0],style:{width:60}})),ye.createElement("span",{style:{margin:"0px 40px"}},"\u9002\u4E2D\u9898\u6570 ",ye.createElement(ke.Z,{value:ct[1],onChange:_n=>{ct[1]=_n,$e([...ct])},min:0,disabled:!((qe=(Kt=(Yt=Lt.actionTabs)==null?void 0:Yt.selectArrsAll)==null?void 0:Kt[0])!=null&&qe.can_publish),max:(me=(xe=(Be=(Ge=Lt.actionTabs)==null?void 0:Ge.selectArrsAll)==null?void 0:Be[0])==null?void 0:xe.difficult_count)==null?void 0:me[1],placeholder:`\u6700\u5927${(mt=(Le=(He=(Fe=Lt.actionTabs)==null?void 0:Fe.selectArrsAll)==null?void 0:He[0])==null?void 0:Le.difficult_count)==null?void 0:mt[1]}`,style:{width:60}})),ye.createElement("span",null,"\u56F0\u96BE\u9898\u6570 ",ye.createElement(ke.Z,{value:ct[2],onChange:_n=>{ct[2]=_n,$e([...ct])},min:0,disabled:!((rn=(Pn=(zt=Lt.actionTabs)==null?void 0:zt.selectArrsAll)==null?void 0:Pn[0])!=null&&rn.can_publish),placeholder:`\u6700\u5927${(Di=(Pi=(Gn=(In=Lt.actionTabs)==null?void 0:In.selectArrsAll)==null?void 0:Gn[0])==null?void 0:Pi.difficult_count)==null?void 0:Di[2]}`,max:(jr=(or=(Dn=(Gi=Lt.actionTabs)==null?void 0:Gi.selectArrsAll)==null?void 0:Dn[0])==null?void 0:or.difficult_count)==null?void 0:jr[2],style:{width:60}}))),ye.createElement(et.Z,{className:"mt30",align:"middle"},ye.createElement(Bt.Z,null,ye.createElement(Oe.default.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4"},ye.createElement(Et.default,{style:{width:170,marginRight:"25px"},disabledDate:_n=>(0,ge.Q8)(_n,ht),disabledTime:_n=>(0,ge.d0)(_n),placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:dt()((0,te.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",allowClear:!1}))),ye.createElement(Bt.Z,{className:"ml20"},ye.createElement(Oe.default.Item,{name:"end_time",label:"\u622A\u6B62\u65F6\u95F4"},ye.createElement(Et.default,{style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:dt()((0,te.U6)(),"HH:mm")},disabledDate:_n=>(0,ge.Q8)(_n,ht,Ir.getFieldValue("publish_time")),disabledTime:_n=>(0,ge.d0)(_n,Ir.getFieldValue("publish_time")),format:"YYYY-MM-DD HH:mm",allowClear:!1})))),Lt.actionTabs.type===2&&ye.createElement(et.Z,{style:{marginBottom:"10px"}},ye.createElement("span",{className:"mr5"},"\u53D1\u5E03\u8BBE\u7F6E:"),ye.createElement(yt.ZP.Group,{value:bt,onChange:_n=>{ze(_n.target.value),wt([])}},ye.createElement(yt.ZP,{value:!0,disabled:!Lt.actionTabs.manage_all_group},"\u7EDF\u4E00\u53D1\u5E03"),ye.createElement(yt.ZP,{className:"ml20",disabled:Rr.length<=0,value:!1},"\u5206\u73ED\u53D1\u5E03"))),Rr.length<=0&&Lt.actionTabs.type===2&&ye.createElement("span",{style:{marginLeft:"65px",color:"rgba(0, 0, 0, 0.25)"}},'\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03"')),(Lt.actionTabs.type===1||!bt)&&Rr.length>0&&ye.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"10px"}},ye.createElement("span",{style:{flex:1}},ye.createElement(tt.default,{checked:on.length===Rr.length,onChange:_n=>{on.length===Rr.length?wt([]):wt(Rr.filter(nn=>!nn.is_published))}},"\u5168\u9009")," "),ye.createElement("span",{style:{width:16}}),ye.createElement("span",{style:{flex:1}},"\u5DF2\u9009\u62E9",on.length||0,"\u4E2A\u5206\u73ED")),(Lt.actionTabs.type===1||!bt)&&Rr.length>0&&ye.createElement(ce.Z,{data:Rr,selectedRowKeys:on,setSelectedRowKeys:wt})))};Nn.Z=(0,ne.connect)(({classroomList:Rt})=>({classroomList:Rt}))(Ht)},79834:function(zn,Nn,ve){"use strict";ve.d(Nn,{Q8:function(){return Re},d0:function(){return At},w6:function(){return ht}});var Se=ve(59301),Oe=ve(5083),We=ve(57809),Ot=ve(8591),et=ve(43418),yt=ve(5112),ke=ve(95237),Bt=ve(43604),Et=ve(6848),tt=ve(24905),gt=ve(3113),dt=ve(61186),Ct=ve.n(dt),Me=ve(24065),te=ve(99064),ne=ve(89392),ce=ve.n(ne),se=ve(955),ge=ve(24990),ye=ve(89070),Ce=ve(40731),Ne=ve(46474),Pe=ve(38233),Ie=ve(82438),Ke=ve(49692),Ve=ve(59301),Ye=Object.defineProperty,ut=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Nt=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Rt=(sn,On,yn)=>On in sn?Ye(sn,On,{enumerable:!0,configurable:!0,writable:!0,value:yn}):sn[On]=yn,It=(sn,On)=>{for(var yn in On||(On={}))Qe.call(On,yn)&&Rt(sn,yn,On[yn]);if(Nt)for(var yn of Nt(On))Ht.call(On,yn)&&Rt(sn,yn,On[yn]);return sn},Lt=(sn,On)=>ut(sn,Ue(On)),Ut=(sn,On,yn)=>new Promise((Tn,pt)=>{var Un=ni=>{try{An(yn.next(ni))}catch(Qt){pt(Qt)}},wn=ni=>{try{An(yn.throw(ni))}catch(Qt){pt(Qt)}},An=ni=>ni.done?Tn(ni.value):Promise.resolve(ni.value).then(Un,wn);An((yn=yn.apply(sn,On)).next())});function ht(sn,On){const yn=[];for(let Tn=sn;Tn{const Tn=snCt()(On).endOf("day"),Un=sn{const yn=parseInt(Ct()(sn).format("HH")),Tn=parseInt(Ct()().format("HH")),pt=parseInt(Ct()().format("mm"));if(!sn)return{disabledHours:()=>ht(0,Tn),disabledMinutes:()=>ht(0,pt)};if(On){const Un=parseInt(Ct()(On).format("HH")),wn=parseInt(Ct()(On).format("mm"));return Ct()(sn).isSame(Ct()(On),"day")?{disabledHours:()=>ht(0,Un),disabledMinutes:()=>yn<=Un?ht(0,wn):[]}:void 0}if(Ct()(sn).isSame(Ct()(),"day"))return{disabledHours:()=>ht(0,Tn),disabledMinutes:()=>Ct()(sn).isSame(Ct()(),"hour")&&yn<=Tn?ht(0,pt):[]}},Sn=(sn,On)=>sn==null?void 0:sn.map(yn=>{var Tn;return(Tn=On==null?void 0:On.find(pt=>pt.value===yn))==null?void 0:Tn.id}),{RangePicker:mn}=Oe.default,{Option:Ft}=We.default,en=({shixunHomeworks:sn,loading:On,dispatch:yn,classroomList:Tn,user:pt})=>{var Un,wn,An,ni,Qt,Jt,St,Xe,Yt;const Kt=(0,ye.useParams)(),{workSetting:qe,workList:Ge,shixunWorkList:Be,headerInfo:xe,changeData:me}=sn,[Fe,He]=(0,Se.useState)(!1),[Le,mt]=(0,Se.useState)(!1);let[zt,Pn]=(0,Se.useState)([]),[rn,In]=(0,Se.useState)([]),[Gn,Pi]=(0,Se.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:Ce.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[Di,Gi]=(0,Se.useState)({}),[Dn,or]=(0,Se.useState)({});(0,Se.useEffect)(()=>()=>{Pn([])},[]),(0,Se.useEffect)(()=>{He(!(0,Me.GJ)())},[(0,Me.GJ)()]);const jr=()=>{yn({type:"shixunHomeworks/getWorkSetting",payload:It({},Kt)})};(0,Se.useEffect)(()=>{if(!(qe!=null&&qe.course_id))return;Object.keys(Gn).map(function(fi){Gn[fi]=qe[fi]}),(!Gn.allow_late||!Gn.unified_late)&&(Gn.late_penalty=20,Gn.penalty_type=Ce.Q.Percent),Gn.unified_setting||(Gn.unified_late=!1,Gn.unified_anonymous_comment=!1,Gn.unified_anonymous_appeal=!1),zt=JSON.parse(JSON.stringify(qe.group_settings.map(fi=>Lt(It({},fi),{group_name:[fi.group_name]})).filter(fi=>fi.publish_time!==null))),rn=JSON.parse(JSON.stringify(qe.allow_late_settings.map(fi=>Lt(It({},fi),{group_name:[fi.group_name]})).filter(fi=>fi.late_time!==null))),Pi(It({},Gn));const $n=(0,se.QE)((zt==null?void 0:zt.length)>0?zt:[]);Pn([...$n]),(rn==null?void 0:rn.length)<=0?In([{penalty_type:Ce.Q.Percent,late_penalty:20}]):In([...rn])},[qe]);const Gr=()=>Ut(void 0,null,function*(){var $n,fi;if((($n=pt==null?void 0:pt.userInfo)==null?void 0:$n.user_status)===2){(0,Ne.Rd)();return}const ln=JSON.parse(JSON.stringify(Gn));if(ln.challenge_settings.filter(Yn=>!Yn.hide),ln.categoryId=Kt.categoryId,(fi=ln.challenge_settings)!=null&&fi.every(Yn=>!Yn.checked)){Ot.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(zt),!Gn.unified_setting)zt=zt==null?void 0:zt.map(Yn=>{var dn;if(!Yn.publish_time||!Yn.end_time)throw Ot.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Yn.group_name)throw Ot.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Yn.group_name=typeof(Yn==null?void 0:Yn.group_name)=="string"?[Yn==null?void 0:Yn.group_name]:Yn==null?void 0:Yn.group_name,Yn.group_id=(dn=qe.group_settings)==null?void 0:dn.filter(tn=>{var on;return(on=Yn==null?void 0:Yn.group_name)==null?void 0:on.includes(tn.group_name)}).map(tn=>tn.group_id||tn.id).toString().split(","),Yn});else if(!Gn.publish_time||!Gn.end_time)throw Ot.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(ln.group_settings=zt,Gn.allow_late)if(Gn.unified_late){if(Gn.late_penalty===null||Gn.late_penalty===void 0||Gn.late_penalty<0||Gn.late_penalty>100)throw Ot.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Gn.late_time)throw Ot.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else rn=rn==null?void 0:rn.map(Yn=>{var dn,tn;if(Yn.late_penalty===null||Yn.late_penalty===void 0||Yn.late_penalty<0||Yn.late_penalty>100)throw Ot.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Yn.late_time)throw Ot.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!Yn.group_name)throw Ot.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return Yn.group_name=typeof(Yn==null?void 0:Yn.group_name)=="string"?[Yn==null?void 0:Yn.group_name]:Yn==null?void 0:Yn.group_name,Yn.group_id=(tn=(dn=Yn==null?void 0:Yn.group_name)==null?void 0:dn.map(on=>{var wt,bt;let ze=(bt=(wt=qe.group_settings)==null?void 0:wt.filter(Gt=>(Gt==null?void 0:Gt.group_name)===on))==null?void 0:bt[0];return ze==null?void 0:ze.group_id}))==null?void 0:tn.toString().split(","),Yn}),ln.allow_late_settings=rn;let ei=yield(0,Ke.Tr)({homework_common_ids:[parseInt(Kt.categoryId)],course_id:Kt.coursesId,type:"homework_common"});(ei==null?void 0:ei.student_count)===0?Ir(ln):(or(ln),Gi(ei))}),Ir=$n=>{var fi;if($n.total_score===null){Ot.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if($n!=null&&$n.work_efficiency&&$n.eff_score===null){Ot.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const ln=$n.challenge_settings.reduce((dn,tn)=>dn+Number(tn.challenge_score),0);if((ln==null?void 0:ln.toFixed(10))!==((fi=$n.total_score-$n.eff_score)==null?void 0:fi.toFixed(10))){Ot.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${$n.total_score}\u5206`);return}const ei={shixun_evaluation:$n.shixun_evaluation,challenge_settings:$n.challenge_settings};let Yn=()=>{var dn;const tn=()=>Ut(void 0,null,function*(){mt(!0),(yield(0,te.ZP)(`/api/homework_commons/${Kt.categoryId}/publish_setting.json`,{method:"post",body:It({},$n)})).status===0&&(Ot.ZP.success("\u66F4\u65B0\u6210\u529F"),jr(),yn({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:It({},Kt)})),mt(!1)});!(0,ne.isEqual)(me,ei)&&!((dn=xe==null?void 0:xe.homework_status)!=null&&dn.includes("\u672A\u53D1\u5E03"))?et.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:tn}):tn()};qe!=null&&qe.high_resources_consume&&!(qe!=null&&qe.high_resources_consume_permission)?yn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Kt.coursesId,type:"shixun",type_id:Kt.categoryId,name:qe.homework_name,fn:()=>{Yn()}}}):Yn()},wr=($n,fi,ln="group_id")=>{var ei;return fi?fi.find(Yn=>Yn[ln]===$n):(ei=qe==null?void 0:qe.group_settings)==null?void 0:ei.find(Yn=>Yn.group_id[0]===$n)},so=(qe==null?void 0:qe.allow_late)||(qe==null?void 0:qe.anonymous_comment),Rr=$n=>{var fi,ln;const ei=wr($n,qe==null?void 0:qe.allow_late_settings,"id"),Yn=wr($n,qe==null?void 0:qe.anonymous_comment_settings),dn=wr($n);return(qe==null?void 0:qe.allow_late)&&ei&&Ct()(ei==null?void 0:ei.late_time)<=Ct()()||(qe==null?void 0:qe.anonymous_comment)&&Yn&&(Yn==null?void 0:Yn.evaluation_start)!==null||((ln=(Ct()(dn==null?void 0:dn.end_time)<=Ct()()&&((fi=qe==null?void 0:qe.allow_late_settings)==null?void 0:fi.filter(tn=>tn.group_id.includes($n))))[0])==null?void 0:ln.late_time)!=null},hr=(0,Se.useMemo)(()=>(qe==null?void 0:qe.allow_late)||(qe==null?void 0:qe.all_group_late),[qe,xe]),No=qe==null?void 0:qe.anonymous_comment,vi=$n=>{if(!$n)return!1;const fi=wr($n,qe==null?void 0:qe.anonymous_comment_settings);return(qe==null?void 0:qe.anonymous_comment)&&fi&&(fi==null?void 0:fi.evaluation_start)!==null},Ee=($n,fi)=>{var ln,ei,Yn,dn,tn;$n!=null&&$n.group_id||($n.group_id=Sn($n==null?void 0:$n.group_name,qe==null?void 0:qe.group_settings)),yn({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:$n,index:fi,rangePickerDisabled:(ei=(ln=$n==null?void 0:$n.group_id)==null?void 0:ln[0])!=null&&ei.publish_time?Fe||(Ct()()<=Ct()((dn=wr((Yn=$n==null?void 0:$n.group_id)==null?void 0:Yn[0]))==null?void 0:dn.publish_time)?!1:[!0,Rr((tn=$n==null?void 0:$n.group_id)==null?void 0:tn[0])]):!1,disabledDate:qe==null?void 0:qe.course_end_date}})};return Ve.createElement("section",{className:ge.Z.form},Ve.createElement("div",{className:ge.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",Ve.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),Ve.createElement("div",null,Ve.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ve.createElement(yt.ZP.Group,{disabled:Fe||!((Un=xe==null?void 0:xe.homework_status)!=null&&Un.includes("\u672A\u53D1\u5E03"))||(0,Me.Rm)()&&!((wn=Tn.AssistantObject.practice)!=null&&wn.can_publish),value:Gn.unified_setting,onChange:$n=>{var fi;if(!((fi=xe==null?void 0:xe.homework_status)!=null&&fi.includes("\u672A\u53D1\u5E03"))){Ot.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Gn.unified_setting=!Gn.unified_setting,Gn.unified_setting||(Gn.unified_late=!1,In([{late_penalty:5}])),Pi(Object.assign({},Gn)),Gn.unified_setting===!1&&zt==""){Pn(zt.concat({}));return}Gn.unified_setting&&(Pn([]),In([{late_penalty:5}]))}},Ve.createElement(yt.ZP,{value:!0,disabled:Fe||!(qe!=null&&qe.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),Ve.createElement(yt.ZP,{disabled:Fe||!((An=qe==null?void 0:qe.group_settings)!=null&&An.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ni=qe==null?void 0:qe.group_settings)==null?void 0:ni.length)===0&&Ve.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Gn.unified_setting&&Ve.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},Ve.createElement(ke.Z,{align:"middle"},Ve.createElement(Bt.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),Ve.createElement(Bt.Z,{className:"ml10"},Ve.createElement(Oe.default,{size:"large",disabled:Fe||!((Qt=xe==null?void 0:xe.homework_status)!=null&&Qt.includes("\u672A\u53D1\u5E03")||(Jt=xe==null?void 0:xe.homework_status)!=null&&Jt.includes("\u672A\u5F00\u59CB"))||(0,Me.Rm)()&&!((St=Tn.AssistantObject.practice)!=null&&St.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:$n=>Re($n,qe==null?void 0:qe.course_end_date),disabledTime:$n=>At($n),value:Gn.publish_time?Ct()(Gn.publish_time):"",onChange:($n,fi)=>{Gn.publish_time=fi,(Gn.end_time==""||!Gn.end_time)&&Gn.unified_setting&&(Gn.end_time=Ct()($n).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),Pi(Object.assign({},Gn))}}))),Ve.createElement(ke.Z,{align:"middle",className:"pl30"},Ve.createElement(Bt.Z,null,"\u622A\u6B62\u65F6\u95F4"),Ve.createElement(Bt.Z,{className:"ml10"},Ve.createElement(Oe.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ct()((0,se.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(qe==null?void 0:qe.allow_late)&&(qe==null?void 0:qe.homework_status.includes("\u5DF2\u622A\u6B62"))||Fe||(qe==null?void 0:qe.allow_late)&&Ct()()>=Ct()(qe==null?void 0:qe.end_time)||(0,Me.Rm)()&&!((Xe=Tn.AssistantObject.practice)!=null&&Xe.can_publish),disabledDate:$n=>Re($n,qe==null?void 0:qe.course_end_date,Gn.publish_time),disabledTime:$n=>At($n,Gn.publish_time),value:Gn.end_time?Ct()(Gn.end_time):"",onChange:($n,fi)=>{Gn.end_time=fi,Pi(Object.assign({},Gn))}})))),!Gn.unified_setting&&(zt==null?void 0:zt.length)>0&&Ve.createElement(ke.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},zt&&zt.map(function($n,fi){var ln,ei,Yn,dn,tn,on,wt;return Ve.createElement(Bt.Z,{span:24,key:fi},Ve.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:fi==(zt==null?void 0:zt.length)-1?"0px":"10px"}},Ve.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",fi+1),Ve.createElement(We.default,{disabled:Fe||((ln=xe==null?void 0:xe.homework_status)!=null&&ln.includes("\u672A\u53D1\u5E03")&&$n.id||Ct()(){var ze;if((0,Me.Rm)()&&!((ze=Tn.AssistantObject.practice)!=null&&ze.can_publish)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}zt[fi].group_name=bt,zt[fi].group_id=$n.group_id;const Gt=(0,ne.flattenDeep)(zt.map(ct=>ct.group_name)),an=rn.map(ct=>{let $e=(ct==null?void 0:ct.group_name)||[];return Lt(It({},ct),{group_name:(0,ne.remove)($e,$t=>Gt.includes($t))})});In(an),Pn(zt.slice())},maxTagCount:4,maxTagPlaceholder:bt=>Ve.createElement("div",{style:{cursor:"pointer"},onClick:()=>Ee($n,fi)},"+",bt==null?void 0:bt.length)},qe.group_settings&&qe.group_settings.map(function(bt){if(!zt.map(Gt=>Gt.group_name).flat().includes(bt.group_name))return Ve.createElement(Ft,{value:bt.group_name,key:bt.id},bt.group_name)})),Ve.createElement("div",{className:"ml20"},Ve.createElement(mn,{size:"large",ranges:{\u6B64\u523B:[$n.publish_time?Ct()($n.publish_time):Ct()(),Ct()()]},allowClear:!1,disabled:Fe||(Ct()()<=Ct()((dn=wr((Yn=$n==null?void 0:$n.group_id)==null?void 0:Yn[0]))==null?void 0:dn.publish_time)?!1:[!0,Rr((tn=$n==null?void 0:$n.group_id)==null?void 0:tn[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:bt=>Re(bt,qe==null?void 0:qe.course_end_date),disabledTime:bt=>At(bt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ct()((0,se.U6)(),"HH:mm"),Ct()((0,se.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:[$n.publish_time?Ct()($n.publish_time):void 0,$n.end_time?Ct()($n.end_time):void 0],onChange:(bt,ze)=>{var Gt;if((0,Me.Rm)()&&!((Gt=Tn.AssistantObject.practice)!=null&&Gt.can_publish)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}zt[fi].publish_time=ze[0],!$n.end_time&&ze[0]?zt[fi].end_time=Ct()(ze[0]).add(7,"days"):zt[fi].end_time=ze[1],Pn([...zt])},onCalendarChange:(bt,ze,Gt)=>{if(ze!=null&&ze[0]&&!ze[1]){const an=Ct()(ze[0]).add(7,"days");zt[fi].publish_time=ze[0],zt[fi].end_time=an,Pn([...zt])}}})),!Fe&&Ve.createElement("div",{style:{display:"flex",width:"50px"}},((on=$n==null?void 0:$n.group_id)==null?void 0:on.length)>1&&Ve.createElement(Et.Z,{title:"\u89C4\u5219\u62C6\u5206"},Ve.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Ee($n,fi)})),zt.length<((wt=qe==null?void 0:qe.group_settings)==null?void 0:wt.length)&&Ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var bt;if((0,Me.Rm)()&&!((bt=Tn.AssistantObject.practice)!=null&&bt.can_publish)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(zt.concat({}))}}),(($n==null?void 0:$n.publish_time)&&Ct()(){const bt=(0,ne.cloneDeep)(rn);bt.forEach((ze,Gt)=>{ze.group_name&&(ze.group_name=ze.group_name.filter(an=>{var ct;return!((ct=zt[fi].group_name)!=null&&ct.includes(an))}))}),zt=zt.filter((ze,Gt)=>fi!==Gt),In(bt),Pn(zt.slice()),setTimeout(()=>Pn(zt.slice()),10)}}))))}))),Ve.createElement(ke.Z,null,Ve.createElement(Bt.Z,null,Ve.createElement("div",{className:ge.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",Ve.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),Ve.createElement(Bt.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},Ve.createElement(tt.default,{checked:Gn.allow_late,disabled:Fe||hr,onChange:$n=>{var fi;if((0,Me.Rm)()&&!((fi=Tn.AssistantObject.practice)!=null&&fi.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}$n.target.checked&&et.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:Ve.createElement("div",{style:{padding:10,background:"#f5f6f9"}},Ve.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),Ve.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),Ve.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Gn.allow_late=!Gn.allow_late,rn==""&&In([{late_penalty:5}]),Pi(Object.assign({},Gn))}},Ve.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Gn==null?void 0:Gn.allow_late)&&Ve.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},Ve.createElement("div",{style:{display:"flex"}},Ve.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),Ve.createElement(yt.ZP.Group,{style:{marginLeft:"20px"},disabled:Fe||(qe==null?void 0:qe.anonymous_comment)||(qe==null?void 0:qe.allow_late),value:Gn.unified_late,onChange:$n=>{var fi;if((0,Me.Rm)()&&!((fi=Tn.AssistantObject.practice)!=null&&fi.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Gn.unified_late=$n.target.value,rn==""&&!$n.target.value&&In([{penalty_type:Ce.Q.Percent,late_penalty:20}]),Pi(It({},Gn))}},(Gn==null?void 0:Gn.unified_setting)&&Ve.createElement(yt.ZP,{value:!0,disabled:!(qe!=null&&qe.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((Yt=qe==null?void 0:qe.group_settings)==null?void 0:Yt.length)>0&&Ve.createElement(yt.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Gn!=null&&Gn.unified_late?Ve.createElement(Ve.Fragment,null,Ve.createElement(ke.Z,{align:"middle",style:{marginTop:"10px"}},Ve.createElement(Bt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),Ve.createElement(Bt.Z,{className:"ml20"},Ve.createElement(Ce.Z,{disabled:Fe||No,value:{type:Gn.penalty_type,inputValue:Gn.late_penalty},onChange:$n=>{var fi;if((0,Me.Rm)()&&!((fi=Tn.AssistantObject.practice)!=null&&fi.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pi(Lt(It({},Gn),{late_penalty:$n.inputValue,penalty_type:$n.type}))}})),Ve.createElement(Bt.Z,{flex:"1",className:"ml5"},Ve.createElement("span",{className:"c-grey-c ml10"},Gn.penalty_type===Ce.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),Ve.createElement(ke.Z,{align:"middle",style:{marginTop:"15px"}},Ve.createElement(Bt.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ve.createElement(Bt.Z,{className:"ml20"},Ve.createElement(Oe.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ct()((0,se.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:Fe||No,value:Gn.late_time?Ct()(Gn.late_time):"",disabledDate:$n=>Re($n,qe==null?void 0:qe.course_end_date),onChange:($n,fi)=>{var ln;if((0,Me.Rm)()&&!((ln=Tn.AssistantObject.practice)!=null&&ln.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Gn.late_time=fi,Pi(Object.assign({},Gn))}})))):rn.map(function($n,fi){var ln;return Ve.createElement(Bt.Z,{span:24,key:fi},Ve.createElement(ke.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},Ve.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",fi+1),Ve.createElement(We.default,{disabled:Fe||!((ln=xe==null?void 0:xe.homework_status)!=null&&ln.includes("\u672A\u53D1\u5E03"))&&$n.id||(qe==null?void 0:qe.anonymous_comment),mode:"multiple",className:ge.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof $n.group_name=="string"?[$n.group_name]:$n.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ei=>{var Yn;if((0,Me.Rm)()&&!((Yn=Tn.AssistantObject.practice)!=null&&Yn.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rn[fi].group_name=ei,rn[fi].group_id=$n.group_id,In(rn.slice())}},qe.group_settings&&qe.group_settings.map(function(ei){const Yn=rn.map(tn=>tn.group_name).flat(),dn=zt.map(tn=>tn.group_name).flat();if(Gn!=null&&Gn.unified_setting){if(!Yn.includes(ei.group_name))return Ve.createElement(Ft,{value:ei.group_name,key:ei.id},ei.group_name)}else if(dn.includes(ei.group_name)&&!Yn.includes(ei.group_name))return Ve.createElement(Ft,{value:ei.group_name,key:ei.id},ei.group_name)})),Ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),Ve.createElement(Ce.Z,{disabled:Fe||vi($n.id),value:{type:$n.penalty_type,inputValue:$n.late_penalty},onChange:ei=>{var Yn;if((0,Me.Rm)()&&!((Yn=Tn.AssistantObject.practice)!=null&&Yn.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rn[fi].late_penalty=ei.inputValue,rn[fi].penalty_type=ei.type,In([...rn])}}),Ve.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),Ve.createElement(Oe.default,{size:"large",disabled:Fe||vi($n.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Ct()((0,se.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ei=>Re(ei,qe==null?void 0:qe.course_end_date),format:"YYYY-MM-DD HH:mm",value:$n!=null&&$n.late_time?Ct()($n.late_time):void 0,onChange:(ei,Yn)=>{var dn;if((0,Me.Rm)()&&!((dn=Tn.AssistantObject.practice)!=null&&dn.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rn[fi].late_time=Yn,In([...rn])}}),!Fe&&Ve.createElement("div",{style:{display:"flex",width:"50px"}},Ve.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var ei;if((0,Me.Rm)()&&!((ei=Tn.AssistantObject.practice)!=null&&ei.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}In(rn.concat({penalty_type:Ce.Q.Percent,late_penalty:20}))}}),fi>0&&!$n.id&&Ve.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ei;if((0,Me.Rm)()&&!((ei=Tn.AssistantObject.practice)!=null&&ei.can_late)){Ot.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}rn=rn.filter((Yn,dn)=>fi!==dn),In(rn.slice()),setTimeout(()=>In(rn.slice()),10)}}))))})),!Fe&&Ve.createElement(Ve.Fragment,null,Ve.createElement(gt.ZP,{type:"primary",size:"large",loading:Le,style:{width:"138px",marginTop:"30px"},onClick:()=>Gr()},"\u4FDD\u5B58")),Ve.createElement(Pe.Z,{onConfirm:($n,fi)=>{zt.splice($n,0,...fi),zt.splice($n+fi.length,1);const ln=(0,se.QE)([...zt]);Pn([...ln])}}),Ve.createElement(Ie.Z,{resdata:Di,type:"shixun",okloading:Le,oktext:(Di==null?void 0:Di.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:$n=>Ut(void 0,null,function*(){mt(!0);let fi=yield(0,te.ZP)(`/api/courses/${Kt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Kt.categoryId)]}});mt(!1),(fi==null?void 0:fi.status)===0&&Ir(Dn)})}))};Nn.ZP=(0,ye.connect)(({shixunHomeworks:sn,classroomList:On,loading:yn,user:Tn})=>({shixunHomeworks:sn,classroomList:On,loading:yn.effects,user:Tn}))(en)},59437:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return tt}});var Se=ve(59301),Oe=ve(92832),We=ve(24905),Ot=ve(95237),et={leftdiv:"leftdiv___aBzsX",listClass:"listClass___bxIEW",spantitle:"spantitle___v_Vc4",rightdiv:"rightdiv___xWu4M"},yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC",ke=ve(8797),Bt=(gt,dt,Ct)=>new Promise((Me,te)=>{var ne=ge=>{try{se(Ct.next(ge))}catch(ye){te(ye)}},ce=ge=>{try{se(Ct.throw(ge))}catch(ye){te(ye)}},se=ge=>ge.done?Me(ge.value):Promise.resolve(ge.value).then(ne,ce);se((Ct=Ct.apply(gt,dt)).next())}),tt=({data:gt,value:dt=[],handleChangePage:Ct,className:Me="",setSelectedRowKeys:te,selectedRowKeys:ne,onChange:ce=()=>{}})=>{const[se,ge]=(0,Se.useState)([]),[ye,Ce]=(0,Se.useState)([]),[Ne,Pe]=(0,Se.useState)([]);let[Ie,Ke]=(0,Se.useState)(1),[Ve,Ye]=(0,Se.useState)();return(0,Se.useEffect)(()=>{ge(gt),Ce([]),Pe([])},[gt]),(0,Se.useEffect)(()=>{te&&(Ce(ne),Pe(ne))},[ne]),Se.createElement("div",{className:`flex justify-between w-full ${Me}`},Se.createElement("div",{className:et.leftdiv},Se.createElement(Oe.default.Search,{size:"middle",style:{marginBottom:"10rem"},onChange:ut=>Bt(void 0,null,function*(){ge(gt.filter(Ue=>{var Nt;return(Nt=Ue==null?void 0:Ue.name)==null?void 0:Nt.includes(ut.target.value)}))}),placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),se.length===0&&Se.createElement(ke.Z,{styles:{margin:"70rem auto"},customText:"\u6682\u65E0\u5206\u73ED"}),Se.createElement("div",{style:{height:"85%",overflow:"auto",overflowX:"hidden"}},Se.createElement(We.default.Group,{value:ye.map(ut=>`${ut.id}`),onChange:ut=>{te(se.filter(Ue=>ut.includes(`${Ue.id}`)))},style:{marginTop:"10px",flexDirection:"column"}},se.map((ut,Ue)=>Se.createElement(Ot.Z,{key:ut.id,style:{marginTop:"10rem",lineHeight:"24rem",display:"flex",width:"200rem"}},Se.createElement(We.default,{style:{display:"flex",height:"24px",alignItems:"center"},disabled:ut.is_published,value:`${ut.id}`},Se.createElement("div",{className:et.listClass},Se.createElement("span",{className:et.spantitle,style:{width:ut.is_published?"108px":"170px"}},ut.name),ut.is_published&&Se.createElement("span",{style:{width:"52px",height:"24px",background:"#B8B8B8",borderRadius:"13px",color:"white",lineHeight:"24px",textAlign:"center",display:"inline-block"}},"\u5DF2\u53D1\u5E03")))))))),Se.createElement("div",{className:et.rightdiv},Se.createElement(Oe.default.Search,{onChange:ut=>{Pe(ye.filter(Ue=>Ue.name.includes(ut.target.value)))},size:"middle",placeholder:"\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2"}),Ne.length===0&&Se.createElement(ke.Z,{imgStyles:{width:"200rem"},styles:{margin:"70rem auto"},customText:"\u6682\u672A\u9009\u62E9\u5206\u73ED"}),Ne.length>0&&Se.createElement("div",{style:{marginTop:"10px",height:"85%",overflow:"hidden",position:"relative"}},Se.createElement("div",{style:{overflowX:"hidden",overflowY:"scroll",position:"absolute",left:0,top:0,right:-17,bottom:0}},Ne.map((ut,Ue)=>Se.createElement("div",{className:"flex justify-between item-center",style:{marginTop:"10rem"},key:ut.id},Se.createElement("div",{className:"multi_ellipsis1 flex-1 minW-0",style:{margin:"0 5rem"}},ut.name),Se.createElement("img",{src:yt,className:"current",style:{height:"16rem",marginRight:"17rem"},onClick:()=>{te(ye.filter(Nt=>`${Nt.id}`!=`${ut.id}`))}})))))))}},38233:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return ce}});var Se=ve(59301),Oe=ve(89070),We=ve(5083),Ot=ve(43418),et=ve(92832),yt=ve(8591),ke=ve(95237),Bt=ve(43604),Et={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},tt=ve(61186),gt=ve.n(tt),dt=ve(955),Ct=ve(8797),Me=ve(59301);const{RangePicker:te}=We.default,ne=({dispatch:se,classroomList:ge,onConfirm:ye})=>{const[Ce,Ne]=(0,Se.useState)([]),[Pe,Ie]=(0,Se.useState)([]),[Ke,Ve]=(0,Se.useState)(""),[Ye,ut]=(0,Se.useState)([!1,!1]);(0,Se.useEffect)(()=>{var Qe,Ht,Rt,It;if(ge.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){console.log((Qe=ge.actionTabs)==null?void 0:Qe.rangePickerDisabled),(Ht=ge.actionTabs)!=null&&Ht.rangePickerDisabled?ut((Rt=ge.actionTabs)==null?void 0:Rt.rangePickerDisabled):ut([!1,!1]);let Lt=ge.actionTabs.data,Ut=(It=Lt==null?void 0:Lt.group_name)==null?void 0:It.map((ht,Re)=>{var At;return{group_id:Lt==null?void 0:Lt.group_id[Re],group_name:Lt==null?void 0:Lt.group_name[Re],is_admin:Lt==null?void 0:Lt.is_admin,end_time:Lt==null?void 0:Lt.end_time,publish_time:Array.isArray(Lt==null?void 0:Lt.publish_time)?(At=Lt==null?void 0:Lt.publish_time)==null?void 0:At[0]:Lt==null?void 0:Lt.publish_time}});Ut&&(Ne([...Ut]),Ie([...Ut]))}},[ge.actionTabs]);const Ue=()=>{se({type:"classroomList/setActionTabs",payload:{}}),Ve("")},Nt=Qe=>{if(Qe){const Ht=Pe==null?void 0:Pe.filter(Rt=>{var It,Lt;return(Lt=(It=Rt==null?void 0:Rt.group_name)==null?void 0:It.toLowerCase())==null?void 0:Lt.includes(Qe==null?void 0:Qe.toLowerCase())});Ne(Ht)}else Ne(Pe)};return Me.createElement(Ot.default,{width:980,title:Me.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Me.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Me.createElement("span",{className:Et.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Me.createElement(et.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:Ke,onChange:Qe=>{Ve(Qe.target.value.trim()),Nt(Qe.target.value.trim())}})),centered:!0,maskClosable:!1,open:ge.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>Ue(),onOk:()=>{var Qe;if(Pe.some(Rt=>!Rt.end_time||!Rt.publish_time)){yt.ZP.warning("\u8BF7\u5C06\u5217\u8868\u6570\u636E\u4E2D\u7684\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u8865\u5145\u5B8C\u6574\uFF01");return}ye((Qe=ge.actionTabs)==null?void 0:Qe.index,Pe),Ue()}},Me.createElement("div",{className:Et.modal_con},Me.createElement(ke.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(Ce==null?void 0:Ce.length)>0?Ce.map(function(Qe,Ht){return Me.createElement(Bt.Z,{span:24,key:Ht},Me.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Ht==(Ce==null?void 0:Ce.length)-1?"0px":"10px"}},Me.createElement("div",{className:Et.multiple_select,title:Qe==null?void 0:Qe.group_name},Qe==null?void 0:Qe.group_name),Me.createElement("div",{className:"ml20"},Me.createElement(te,{size:"large",allowClear:!1,disabled:Ye,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Rt=>{var It;return(0,dt.Q8)(Rt,(It=ge.actionTabs)==null?void 0:It.disabledDate)},disabledTime:Rt=>(0,dt.d0)(Rt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[gt()((0,dt.U6)(),"HH:mm"),gt()((0,dt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:(Qe==null?void 0:Qe.publish_time)&&[gt()(Qe==null?void 0:Qe.publish_time),Qe!=null&&Qe.end_time?gt()(Qe==null?void 0:Qe.end_time):void 0],onChange:(Rt,It)=>{Ce[Ht].publish_time=It[0],Ce[Ht].end_time=It[1],Ne([...Ce]),Pe.forEach(Lt=>{Lt.group_id===(Qe==null?void 0:Qe.group_id)&&(Lt.publish_time=It[0],Lt.end_time=It[1])}),Ie([...Pe])},onCalendarChange:(Rt,It,Lt)=>{if(It!=null&&It[0]&&!It[1]){const Ut=gt()(It[0]).add(7,"days");Ce[Ht].publish_time=It[0],Ce[Ht].end_time=Ut,Ne([...Ce]),Pe.forEach(ht=>{ht.group_id===(Qe==null?void 0:Qe.group_id)&&(ht.publish_time=It[0],ht.end_time=Ut)}),Ie([...Pe])}}})),Ye[0]?Me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Me.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{Ce.splice(Ht,1),Ne([...Ce]),Pe.forEach((Rt,It)=>{Rt.group_id===(Qe==null?void 0:Qe.group_id)&&Pe.splice(It,1)}),Ie([...Pe])}})))}):Me.createElement(Ct.Z,null))))};var ce=(0,Oe.connect)(({classroomList:se})=>({classroomList:se}))(ne)},24768:function(zn,Nn,ve){"use strict";ve.d(Nn,{AL:function(){return Ce},Iy:function(){return gt},Qv:function(){return Me},ez:function(){return ye},jb:function(){return dt}});var Se=ve(32834),Oe=ve.n(Se),We=ve(11690),Ot=ve.n(We);let et=1;function yt(Ve,Ye){const ut=Ve.match(/^(\s+)(?:```)/);if(ut===null)return Ye;const Ue=ut[1];return Ye.split(` `).map(Nt=>{const Qe=Nt.match(/^\s+/);if(Qe===null)return Nt;const[Ht]=Qe;return Ht.length>=Ue.length?Nt.slice(Ue.length):Nt}).join(` `)}let ke=[],Bt=["
    "];const Et=new(Oe()).Renderer,tt=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function gt(){ke.length=0,Bt=["
      "]}const dt={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Ct(Ve,Ye,ut,Ue){if(Ye>=Ve.length||Ve[Ye].level<=ut)return Ye;var Nt=Ve[Ye];Ue.push("
    • "+Nt.text+""),Ye++;var Qe=[];return Ye=Ct(Ve,Ye,Nt.level,Qe),Qe.length>0&&(Ue.push("
        "),Qe.forEach(function(Ht){Ue.push(Ht)}),Ue.push("
      ")),Ue.push("
    • "),Ye=Ct(Ve,Ye,ut,Ue),Ye}function Me(){return Ct(ke,0,0,Bt),Bt.push("
    "),Bt.join("")}const te={heading(Ve){const Ye=tt.exec(Ve);if(et+=1,Ye)return{type:"heading",raw:Ye[0],depth:Ye[1].length,text:Ye[2]}},fences(Ve){const Ye=this.rules.block.fences.exec(Ve);if(Ye){const ut=Ye[0];let Ue=yt(ut,Ye[3]||"");const Nt=Ye[2]?Ye[2].trim():Ye[2];if(["latex","katex","math"].indexOf(Nt)>=0){const Qe=se(),Ht=Ue;Ue=Qe,ge[Qe]={type:"block",expression:Ht}}return{type:"code",raw:ut,lang:Nt,text:Ue}}}},ne=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ce=0;const se=()=>`__special_katext_id_${ce++}__`;let ge={};function ye(){return ge}function Ce(){ce=0,ge={}}function Ne(Ve){return Ve=Ve.replace(ne,(Ye,ut)=>{const Ue=se();return ge[Ue]={type:"inline",expression:ut},Ue}),Ve}const Pe=Et.listitem;Et.listitem=function(Ve){return Pe(Ne(Ve))};const Ie=Et.paragraph;Et.paragraph=function(Ve){return Ie(Ne(Ve))};const Ke=Et.tablecell;Et.tablecell=function(Ve,Ye){return Ke(Ne(Ve),Ye)},Et.code=function(Ve,Ye,ut){const Ue=(Ye||"").match(/\S*/)[0];return Ue?["latex","katex","math"].indexOf(Ue)>=0?`

    ${Ve}

    `:`
    ${ut?Ve:(0,We.escape)(Ve,!0)}
    `:'
    '+(ut?Ve:(0,We.escape)(Ve,!0))+"
    "},Et.heading=function(Ve,Ye,ut){let Ue=this.options.headerPrefix+ut.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return ke.push({anchor:Ue,level:Ye,text:Ve}),"'+Ve+""},Oe().setOptions({silent:!0,gfm:!0,pedantic:!1}),Oe().use({tokenizer:te,renderer:Et}),Nn.ZP=Oe()},46474:function(zn,Nn,ve){"use strict";ve.d(Nn,{rX:function(){return Ne},pW:function(){return Pe},gy:function(){return Ie},xY:function(){return Ce},O5:function(){return ye},hs:function(){return ne},tJ:function(){return Me},o1:function(){return te},Rd:function(){return ge}});var Se=ve(89070),Oe=ve(43418),We=ve(28103),Ot=ve(8591),et=ve(24065),yt=ve(955),ke=ve(87169),Bt=ve(25510),Et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAouElEQVR42u3de5gU1Z038HOqqu89PQPMhQHkNqCiCCK5qMRojIkXRNFERDTGNRvik5hNjPtgzEuyJLq6sq/EbEyy+u5jjBEhSEREvKyXQJRVs1FEMARhhhlgLsDAMD3T96o67x8zzPQMPTPVU12XX8/38/D4PDZdVedUd3+py6nf4UIIBgBAgeR0AwAAjEJgAQAZCCwAIAOBBQBkILAAgAwEFgCQgcACADIQWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMxfhbOedOt7a/nKUmcrbT2aIUxned8Xaa/DhMbsi2dppk8nO3ovG27XnbemTbDmE4wgIAQhBYAEAGAgsAyEBgAQAZCCwAIAOBBQBk5DGsIaedO3dWVFRY3cpVq1atXLnS4JuNj3WwgvF7tCbHZFhxe9u2dZp8Z04uHGlhxbAbKz44F/6KB2I2sCoqKqqqqqzuajgctnoTACMWoV8xTgkBgAwEFgCQgcACADIQWABABgILAMgwe5cwJ5O3jVtaWgp+z8KKW+bOPvjuwq1bMaTD+OLG2+ks2/aSSS78FTMcYQEAIQgsACADgQUAZCCwAIAMBBYAkIHAAgAyLBnW4CxnS/fb9k4r7nk7W8LBClZUQbBiYIEVI2ycnXjFIjjCAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQU4bAGK25Fu/Besm03wm27i2/bEATbNmTbN6Q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DyGNQAAOAtHWABABgILAMhAYAEAGQgsACADgQUAZCCwAIAMBBYAkIHAAgAyEFgAQAYCCwDIQGABABkILAAgA4EFAGQgsACAjP8Prqme11Be/zoAAAAASUVORK5CYII=",tt=ve.p+"static/newqrcode.a8740efb.png",gt=ve(32637),dt=ve(59301),Ct=(Ke,Ve,Ye)=>new Promise((ut,Ue)=>{var Nt=Rt=>{try{Ht(Ye.next(Rt))}catch(It){Ue(It)}},Qe=Rt=>{try{Ht(Ye.throw(Rt))}catch(It){Ue(It)}},Ht=Rt=>Rt.done?ut(Rt.value):Promise.resolve(Rt.value).then(Nt,Qe);Ht((Ye=Ye.apply(Ke,Ve)).next())});const Me=(Ke,Ve=!1,Ye=!1,ut="",Ue=!1)=>!!(te(Ke)&&ce(Ke,Ve,Ye,ut,Ue)),te=Ke=>(0,et.bg)()?!0:(Ke({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ne=Ke=>{var Ve,Ye,ut;const{user:Ue}=(0,Se.getDvaApp)()._store.getState();(0,et.bg)()&&!((Ye=(Ve=Ue==null?void 0:Ue.userInfo)==null?void 0:Ve.course)!=null&&Ye.course_public)&&!((ut=Ue==null?void 0:Ue.userInfo)!=null&&ut.profile_completed)&&Ke({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:"/account/profile/edit",isCurrentPage:!0}})},ce=(Ke,Ve=!1,Ye=!0,ut="",Ue=!1)=>{var Nt;const{user:Qe}=(0,Se.getDvaApp)()._store.getState();return(Nt=Qe.userInfo)!=null&&Nt.profile_completed?!0:(Ye?Ke({type:"user/showUpdateProfilePanel",payload:{showUpdateProfilePanel:!0,showClosable:!0,backurl:ut,isCurrentPage:Ue}}):Oe.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,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:()=>{(0,yt.xg)("/account/profile/edit"),se()}}),!1)},se=()=>{Oe.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},ge=()=>{Oe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:dt.createElement("div",{style:{textAlign:"center"}},dt.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),dt.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:gt}),dt.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},ye=()=>{var Ke;const{user:Ve}=(0,Se.getDvaApp)()._store.getState();return(Ke=Ve.userInfo)!=null&&Ke.professional_certification?!0:(Oe.default.confirm({title:"\u63D0\u793A",centered:!0,content:dt.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,yt.xg)("/account/certification")}}),!1)},Ce=()=>(0,et.V9)()?!0:(Oe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:dt.createElement("div",{className:"tc",style:{marginLeft:-38}},dt.createElement("p",null,"\u626B\u7801\u52A0\u5934\u6B4C\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),dt.createElement("img",{src:tt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),Ne=(Ke,Ve)=>Ke?!0:(Oe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:dt.createElement("div",null,dt.createElement("p",null,Ve||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),dt.createElement("div",{style:{marginLeft:"110px"}},dt.createElement("img",{src:Et,width:200}),dt.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,yt.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Pe=Ke=>{Oe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:dt.createElement("div",null,dt.createElement("div",null,dt.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),dt.createElement(We.Z,null),dt.createElement("p",{style:{color:"#666666",fontSize:12}}," ",dt.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",dt.createElement("a",null,Ke),"\u5929\u3002"),dt.createElement("p",{style:{color:"#666666",fontSize:12}}," ",dt.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),dt.createElement("div",{style:{textAlign:"center",marginTop:30}},dt.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Bt,alt:"\u4E8C\u7EF4\u7801",width:160})))})},Ie=(Ke,Ve="")=>{const{shixunsDetail:{detail:Ye}}=(0,Se.getDvaApp)()._store.getState();if((Ye==null?void 0:Ye.public)===2||(Ye==null?void 0:Ye.public)===1||(Ye==null?void 0:Ye.shixun_status)===3){let ut="";return(Ye==null?void 0:Ye.public)===2&&(ut="\u5DF2\u516C\u5F00"),(Ye==null?void 0:Ye.public)===1&&(ut="\u5F85\u5BA1\u6838"),(Ye==null?void 0:Ye.shixun_status)===3&&(ut="\u5DF2\u5173\u95ED"),Oe.default.info({centered:!0,icon:dt.createElement(ke.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:dt.createElement("div",{className:"tc",style:{marginLeft:-38}},dt.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},dt.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",ut,"\uFF0C",Ve,"\u3002"),dt.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),dt.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:Bt,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Ye==null?void 0:Ye.shixun_status)===2?(Oe.default.confirm({centered:!0,icon:dt.createElement(ke.Z,null),title:"\u63D0\u793A",content:dt.createElement("div",null,dt.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",Ve,"\u3002"),dt.createElement("br",null),dt.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Oe.default.confirm({width:440,centered:!0,icon:dt.createElement(ke.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Ct(void 0,null,function*(){(yield Ke({type:"shixunsDetail/cancelRelease",payload:{id:Ye==null?void 0:Ye.identifier}})).status!==401&&(Ot.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),Ke({type:"shixunsDetail/getShixunsDetail",payload:{id:Ye==null?void 0:Ye.identifier}}),Ke({type:"practiceSetting/getCommonData",payload:{id:Ye==null?void 0:Ye.identifier}}))})})}}),!0):!1}},50371:function(zn,Nn){"use strict";function ve(){const Se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Oe=1;Oe{const et=We[Ot];et!==void 0&&(Se[Ot]=et)})}return Se}Nn.Z=ve},13845:function(zn,Nn,ve){"use strict";ve.d(Nn,{F:function(){return Se},Z:function(){return Oe}});function Se(We){return We!=null&&We===We.window}function Oe(We,Ot){var et,yt;if(typeof window=="undefined")return 0;const ke=Ot?"scrollTop":"scrollLeft";let Bt=0;return Se(We)?Bt=We[Ot?"pageYOffset":"pageXOffset"]:We instanceof Document?Bt=We.documentElement[ke]:(We instanceof HTMLElement||We)&&(Bt=We[ke]),We&&!Se(We)&&typeof Bt!="number"&&(Bt=(yt=((et=We.ownerDocument)!==null&&et!==void 0?et:We).documentElement)===null||yt===void 0?void 0:yt[ke]),Bt}},56762:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Oe}});var Se=ve(59301);function Oe(){const[,We]=Se.useReducer(Ot=>Ot+1,0);return We}},68031:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Ot}});var Se=ve(16089);function Oe(et,yt,ke,Bt){const Et=ke-yt;return et/=Bt/2,et<1?Et/2*et*et*et+yt:Et/2*((et-=2)*et*et+2)+yt}var We=ve(13845);function Ot(et){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ke=()=>window,callback:Bt,duration:Et=450}=yt,tt=ke(),gt=(0,We.Z)(tt,!0),dt=Date.now(),Ct=()=>{const te=Date.now()-dt,ne=Oe(te>Et?Et:te,gt,et,Et);(0,We.F)(tt)?tt.scrollTo(window.pageXOffset,ne):tt instanceof Document||tt.constructor.name==="HTMLDocument"?tt.documentElement.scrollTop=ne:tt.scrollTop=ne,te2&&arguments[2]!==void 0?arguments[2]:!1;Mn.forEach(function(fn){if(!(!$e&&ct!==!1&&ct>0&&$t.length>=ct)){var Kn=[].concat((0,Se.Z)(Wn),[fn]),_n=fn[Yn.children],nn=st||fn.disabled;if((!_n||_n.length===0||on)&&bt(ln,Kn,{label:Yn.label})){var hn;$t.push((0,ye.Z)((0,ye.Z)({},fn),{},(hn={disabled:nn},(0,ge.Z)(hn,Yn.label,Gt(ln,Kn,dn,Yn)),(0,ge.Z)(hn,Ce,Kn),(0,ge.Z)(hn,Yn.children,void 0),hn)))}_n&&Tt(fn[Yn.children],Kn,nn)}})}return Tt(ei,[]),$e&&$t.sort(function(Mn,Wn){return $e(Mn[Ce],Wn[Ce],ln,Yn)}),ct!==!1&&ct>0?$t.slice(0,ct):$t},[ln,ei,Yn,dn,Gt,on,bt,$e,ct])},Ke="__RC_CASCADER_SPLIT__",Ve="SHOW_PARENT",Ye="SHOW_CHILD";function ut(ln){return ln.join(Ke)}function Ue(ln){return ln.map(ut)}function Nt(ln){return ln.split(Ke)}function Qe(ln){var ei=ln||{},Yn=ei.label,dn=ei.value,tn=ei.children,on=dn||"value";return{label:Yn||"label",value:on,key:on,children:tn||"children"}}function Ht(ln,ei){var Yn,dn;return(Yn=ln.isLeaf)!==null&&Yn!==void 0?Yn:!((dn=ln[ei.children])!==null&&dn!==void 0&&dn.length)}function Rt(ln){var ei=ln.parentElement;if(ei){var Yn=ln.offsetTop-ei.offsetTop;Yn-ei.scrollTop<0?ei.scrollTo({top:Yn}):Yn+ln.offsetHeight-ei.scrollTop>ei.offsetHeight&&ei.scrollTo({top:Yn+ln.offsetHeight-ei.offsetHeight})}}function It(ln,ei){return ln.map(function(Yn){var dn;return(dn=Yn[Ce])===null||dn===void 0?void 0:dn.map(function(tn){return tn[ei.value]})})}function Lt(ln,ei,Yn){var dn=new Set(ln),tn=ei();return ln.filter(function(on){var wt=tn[on],bt=wt?wt.parent:null,ze=wt?wt.children:null;return wt&&wt.node.disabled?!0:Yn===Ye?!(ze&&ze.some(function(Gt){return Gt.key&&dn.has(Gt.key)})):!(bt&&!bt.node.disabled&&dn.has(bt.key))})}function Ut(ln,ei,Yn){for(var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=ei,on=[],wt=function(){var Gt,an,ct,$e=ln[bt],$t=(Gt=tn)===null||Gt===void 0?void 0:Gt.findIndex(function(Mn){var Wn=Mn[Yn.value];return dn?String(Wn)===String($e):Wn===$e}),Tt=$t!==-1?(an=tn)===null||an===void 0?void 0:an[$t]:null;on.push({value:(ct=Tt==null?void 0:Tt[Yn.value])!==null&&ct!==void 0?ct:$e,index:$t,option:Tt}),tn=Tt==null?void 0:Tt[Yn.children]},bt=0;bt1){var ri=Tt.slice(0,-1);fn(ri)}else Gt(!1)},nn=function(){var ri,gi=((ri=Wn[Mn])===null||ri===void 0?void 0:ri[Yn.children])||[],yi=gi.find(function(Ci){return!Ci.disabled});if(yi){var oi=[].concat((0,Se.Z)(Tt),[yi[Yn.value]]);fn(oi)}};Oe.useImperativeHandle(ln,function(){return{onKeyDown:function(ri){var gi=ri.which;switch(gi){case Un.Z.UP:case Un.Z.DOWN:{var yi=0;gi===Un.Z.UP?yi=-1:gi===Un.Z.DOWN&&(yi=1),yi!==0&&Kn(yi);break}case Un.Z.LEFT:{if(ze)break;ct?nn():_n();break}case Un.Z.RIGHT:{if(ze)break;ct?_n():nn();break}case Un.Z.BACKSPACE:{ze||_n();break}case Un.Z.ENTER:{if(Tt.length){var oi=Wn[Mn],Ci=(oi==null?void 0:oi[Ce])||[];Ci.length?on(Ci.map(function(Li){return Li[Yn.value]}),Ci[Ci.length-1]):on(Tt,Wn[Mn])}break}case Un.Z.ESC:Gt(!1),an&&ri.stopPropagation()}},onKeyUp:function(){}}})},An=Oe.forwardRef(function(ln,ei){var Yn,dn,tn,on,wt=(0,gt.lk)(),bt=wt.prefixCls,ze=wt.multiple,Gt=wt.searchValue,an=wt.toggleOpen,ct=wt.notFoundContent,$e=wt.direction,$t=wt.open,Tt=Oe.useRef(),Mn=$e==="rtl",Wn=Oe.useContext(ce),st=Wn.options,fn=Wn.values,Kn=Wn.halfValues,_n=Wn.fieldNames,nn=Wn.changeOnSelect,hn=Wn.onSelect,ri=Wn.searchOptions,gi=Wn.dropdownPrefixCls,yi=Wn.loadData,oi=Wn.expandTrigger,Ci=gi||bt,Li=Oe.useState([]),qi=(0,Et.Z)(Li,2),lr=qi[0],er=qi[1],Ln=function(Pr){if(!(!yi||Gt)){var Ao=Ut(Pr,st,_n),po=Ao.map(function(cr){var Yr=cr.option;return Yr}),vr=po[po.length-1];if(vr&&!Ht(vr,_n)){var gr=ut(Pr);er(function(cr){return[].concat((0,Se.Z)(cr),[gr])}),yi(po)}}};Oe.useEffect(function(){lr.length&&lr.forEach(function(Qr){var Pr=Nt(Qr),Ao=Ut(Pr,st,_n,!0).map(function(vr){var gr=vr.option;return gr}),po=Ao[Ao.length-1];(!po||po[_n.children]||Ht(po,_n))&&er(function(vr){return vr.filter(function(gr){return gr!==Qr})})})},[st,lr,_n]);var Nr=Oe.useMemo(function(){return new Set(Ue(fn))},[fn]),Ar=Oe.useMemo(function(){return new Set(Ue(Kn))},[Kn]),$r=pt(),En=(0,Et.Z)($r,2),ci=En[0],Ii=En[1],ir=function(Pr){Ii(Pr),Ln(Pr)},Ki=function(Pr){var Ao=Pr.disabled,po=Ht(Pr,_n);return!Ao&&(po||nn||ze)},rr=function(Pr,Ao){var po=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;hn(Pr),!ze&&(Ao||nn&&(oi==="hover"||po))&&an(!1)},Er=Oe.useMemo(function(){return Gt?ri:st},[Gt,ri,st]),Bi=Oe.useMemo(function(){for(var Qr=[{options:Er}],Pr=Er,Ao=It(Pr,_n),po=function(){var Yr=ci[vr],Ri=Pr.find(function(xt,Dt){return(Ao[Dt]?ut(Ao[Dt]):xt[_n.value])===Yr}),_e=Ri==null?void 0:Ri[_n.children];if(!(_e!=null&&_e.length))return"break";Pr=_e,Qr.push({options:_e})},vr=0;vr":lr,Ln=ln.loadingIcon,Nr=ln.children,Ar=ln.dropdownMatchSelectWidth,$r=Ar===void 0?!1:Ar,En=ln.showCheckedStrategy,ci=En===void 0?Ve:En,Ii=(0,tt.Z)(ln,Xe),ir=(0,dt.ZP)(Yn),Ki=!!ct,rr=(0,te.Z)(wt,{value:bt,postState:Kt}),Er=(0,Et.Z)(rr,2),Bi=Er[0],Yi=Er[1],Wi=Oe.useMemo(function(){return Qe(on)},[JSON.stringify(on)]),Bn=Oe.useMemo(function(){return fn||[]},[fn]),Lr=At(Bn,Wi),Fn=Oe.useCallback(function(to){var Xr=Lr();return to.map(function(eo){var Zo=Xr[eo].nodes;return Zo.map(function($o){return $o[Wi.value]})})},[Lr,Wi]),fr=(0,te.Z)("",{value:Tt,postState:function(Xr){return Xr||""}}),Qr=(0,Et.Z)(fr,2),Pr=Qr[0],Ao=Qr[1],po=function(Xr,eo){Ao(Xr),eo.source!=="blur"&&Mn&&Mn(Xr)},vr=Ft(Wn),gr=(0,Et.Z)(vr,2),cr=gr[0],Yr=gr[1],Ri=Ie(Pr,Bn,Wi,Kn||tn,Yr,ze),_e=Sn(Bn,Wi),xt=Oe.useMemo(function(){var to=_e(Bi),Xr=(0,Et.Z)(to,2),eo=Xr[0],Zo=Xr[1];if(!Ki||!Bi.length)return[eo,[],Zo];var $o=Ue(eo),ia=Lr(),qo=(0,Ct.S)($o,!0,ia),xn=qo.checkedKeys,oa=qo.halfCheckedKeys;return[Fn(xn),Fn(oa),Zo]},[Ki,Bi,Lr,Fn,_e]),Dt=(0,Et.Z)(xt,3),un=Dt[0],jn=Dt[1],ai=Dt[2],Vt=Oe.useMemo(function(){var to=Ue(un),Xr=Lt(to,Lr,ci);return[].concat((0,Se.Z)(ai),(0,Se.Z)(Fn(Xr)))},[un,Lr,Fn,ai,ci]),Cn=ht(Vt,Bn,Wi,Ki,an),ii=(0,Me.Z)(function(to){if(Yi(to),Gt){var Xr=Kt(to),eo=Xr.map(function(ia){return Ut(ia,Bn,Wi).map(function(qo){return qo.option})}),Zo=Ki?Xr:Xr[0],$o=Ki?eo:eo[0];Gt(Zo,$o)}}),Qn=(0,Me.Z)(function(to){if((!Ki||$t)&&Ao(""),!Ki)ii(to);else{var Xr=ut(to),eo=Ue(un),Zo=Ue(jn),$o=eo.includes(Xr),ia=ai.some(function(wa){return ut(wa)===Xr}),qo=un,xn=ai;if(ia&&!$o)xn=ai.filter(function(wa){return ut(wa)!==Xr});else{var oa=$o?eo.filter(function(wa){return wa!==Xr}):[].concat((0,Se.Z)(eo),[Xr]),vs=Lr(),Ga;if($o){var Zs=(0,Ct.S)(oa,{checked:!1,halfCheckedKeys:Zo},vs);Ga=Zs.checkedKeys}else{var xa=(0,Ct.S)(oa,!0,vs);Ga=xa.checkedKeys}var pl=Lt(Ga,Lr,ci);qo=Fn(pl)}ii([].concat((0,Se.Z)(xn),(0,Se.Z)(qo)))}}),Fi=function(Xr,eo){if(eo.type==="clear"){ii([]);return}var Zo=eo.values[0],$o=Zo.valueCells;Qn($o)},Mr=hn!==void 0?hn:nn,Ei=gi||ri,Oi=Ci||oi,Hn=function(Xr){Li==null||Li(Xr),qi==null||qi(Xr)},pr=Oe.useMemo(function(){return{options:Bn,fieldNames:Wi,values:un,halfValues:jn,changeOnSelect:ze,onSelect:Qn,checkable:ct,searchOptions:Ri,dropdownPrefixCls:Kn,loadData:_n,expandTrigger:st,expandIcon:er,loadingIcon:Ln,dropdownMenuColumnStyle:yi}},[Bn,Wi,un,jn,ze,Qn,ct,Ri,Kn,_n,st,er,Ln,yi]),kr=!(Pr?Ri:Bn).length,wo=Pr&&Yr.matchInputWidth||kr?{}:{minWidth:"auto"};return Oe.createElement(ce.Provider,{value:pr},Oe.createElement(gt.Ac,(0,Bt.Z)({},Ii,{ref:ei,id:ir,prefixCls:tn,autoClearSearchValue:$t,dropdownMatchSelectWidth:$r,dropdownStyle:wo,displayValues:Cn,onDisplayValuesChange:Fi,mode:Ki?"multiple":void 0,searchValue:Pr,onSearch:po,showSearch:cr,OptionList:ni,emptyOptions:kr,open:Mr,dropdownClassName:Ei,placement:Oi,onDropdownVisibleChange:Hn,getRawInputElement:function(){return Nr}})))});qe.SHOW_PARENT=Ve,qe.SHOW_CHILD=Ye;var Ge=qe,Be=Ge,xe=ve(2738),me=ve(62892),Fe=ve(53487),He=ve(19080),Le=ve(36355),mt=ve(93891),zt=ve(1684),Pn=ve(19716),rn=ve(32441),In=ve(14154),Gn=ve(58582),Pi=ve(84443),Di=ve(66339),Gi=ve(33234),Dn=ve(98447),or=ve(17313),jr=ve(74207),Gr=ve(83116);const Ir=ln=>{const{prefixCls:ei,componentCls:Yn,antCls:dn}=ln,tn=`${Yn}-menu-item`,on=` &${tn}-expand ${tn}-expand-icon, ${tn}-loading-icon `;return[{[Yn]:{width:ln.controlWidth}},{[`${Yn}-dropdown`]:[(0,Dn.C2)(`${ei}-checkbox`,ln),{[`&${dn}-select-dropdown`]:{padding:0}},{[Yn]:{"&-checkbox":{top:0,marginInlineEnd:ln.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Yn}-menu-empty`]:{[`${Yn}-menu`]:{width:"100%",height:"auto",[tn]:{color:ln.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ln.controlItemWidth,height:ln.dropdownHeight,margin:0,padding:ln.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ln.lineWidth}px ${ln.lineType} ${ln.colorSplit}`},"&-item":Object.assign(Object.assign({},or.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ln.optionPadding,lineHeight:ln.lineHeight,cursor:"pointer",transition:`all ${ln.motionDurationMid}`,borderRadius:ln.borderRadiusSM,"&:hover":{background:ln.controlItemBgHover},"&-disabled":{color:ln.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[on]:{color:ln.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:ln.optionSelectedFontWeight,backgroundColor:ln.optionSelectedBg}},"&-content":{flex:"auto"},[on]:{marginInlineStart:ln.paddingXXS,color:ln.colorTextDescription,fontSize:ln.fontSizeIcon},"&-keyword":{color:ln.colorHighlight}})}}}]},{[`${Yn}-dropdown-rtl`]:{direction:"rtl"}},(0,jr.c)(ln)]};var wr=(0,Gr.Z)("Cascader",ln=>[Ir(ln)],ln=>{const ei=Math.round((ln.controlHeight-ln.fontSize*ln.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ln.controlItemBgActive,optionSelectedFontWeight:ln.fontWeightStrong,optionPadding:`${ei}px ${ln.paddingSM}px`,menuPadding:ln.paddingXXS}}),so=function(ln,ei){var Yn={};for(var dn in ln)Object.prototype.hasOwnProperty.call(ln,dn)&&ei.indexOf(dn)<0&&(Yn[dn]=ln[dn]);if(ln!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,dn=Object.getOwnPropertySymbols(ln);tnze===0?[bt]:[].concat((0,Se.Z)(wt),[ei,bt]),[]),tn=[];let on=0;return dn.forEach((wt,bt)=>{const ze=on+wt.length;let Gt=ln.slice(on,ze);on=ze,bt%2===1&&(Gt=Oe.createElement("span",{className:`${Yn}-menu-item-keyword`,key:`separator-${bt}`},Gt)),tn.push(Gt)}),tn}const vi=(ln,ei,Yn,dn)=>{const tn=[],on=ln.toLowerCase();return ei.forEach((wt,bt)=>{bt!==0&&tn.push(" / ");let ze=wt[dn.label];const Gt=typeof ze;(Gt==="string"||Gt==="number")&&(ze=No(String(ze),on,Yn)),tn.push(ze)}),tn},Ee=Oe.forwardRef((ln,ei)=>{const{prefixCls:Yn,size:dn,disabled:tn,className:on,rootClassName:wt,multiple:bt,bordered:ze=!0,transitionName:Gt,choiceTransitionName:an="",popupClassName:ct,dropdownClassName:$e,expandIcon:$t,placement:Tt,showSearch:Mn,allowClear:Wn=!0,notFoundContent:st,direction:fn,getPopupContainer:Kn,status:_n,showArrow:nn,builtinPlacements:hn,style:ri}=ln,gi=so(ln,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),yi=(0,xe.Z)(gi,["suffixIcon"]),{getPopupContainer:oi,getPrefixCls:Ci,renderEmpty:Li,direction:qi,popupOverflow:lr,cascader:er}=Oe.useContext(Le.E_),Ln=fn||qi,Nr=Ln==="rtl",{status:Ar,hasFeedback:$r,isFormItemInput:En,feedbackIcon:ci}=Oe.useContext(rn.aM),Ii=(0,He.F)(Ar,_n),ir=st||(Li==null?void 0:Li("Cascader"))||Oe.createElement(mt.Z,{componentName:"Cascader"}),Ki=Ci(),rr=Ci("select",Yn),Er=Ci("cascader",Yn),[Bi,Yi]=(0,In.Z)(rr),[Wi]=wr(Er),{compactSize:Bn,compactItemClassnames:Lr}=(0,Gi.ri)(rr,fn),Fn=ke()(ct||$e,`${Er}-dropdown`,{[`${Er}-dropdown-rtl`]:Ln==="rtl"},wt,Yi),fr=Oe.useMemo(()=>{if(!Mn)return Mn;let ai={render:vi};return typeof Mn=="object"&&(ai=Object.assign(Object.assign({},ai),Mn)),ai},[Mn]),Qr=(0,Pn.Z)(ai=>{var Vt;return(Vt=dn!=null?dn:Bn)!==null&&Vt!==void 0?Vt:ai}),Pr=Oe.useContext(zt.Z),Ao=tn!=null?tn:Pr;let po=$t;$t||(po=Nr?Oe.createElement(We.Z,null):Oe.createElement(et.Z,null));const vr=Oe.createElement("span",{className:`${rr}-menu-item-loading-icon`},Oe.createElement(Ot.Z,{spin:!0})),gr=Oe.useMemo(()=>bt?Oe.createElement("span",{className:`${Er}-checkbox-inner`}):!1,[bt]),cr=(0,Pi.Z)(ln.suffixIcon,nn),{suffixIcon:Yr,removeIcon:Ri,clearIcon:_e}=(0,Di.Z)(Object.assign(Object.assign({},ln),{hasFeedback:$r,feedbackIcon:ci,showSuffixIcon:cr,multiple:bt,prefixCls:rr,componentName:"Cascader"})),xt=Oe.useMemo(()=>Tt!==void 0?Tt:Nr?"bottomRight":"bottomLeft",[Tt,Nr]),Dt=(0,Gn.Z)(hn,lr),un=Wn===!0?{clearIcon:_e}:Wn,jn=Oe.createElement(Be,Object.assign({prefixCls:rr,className:ke()(!Yn&&Er,{[`${rr}-lg`]:Qr==="large",[`${rr}-sm`]:Qr==="small",[`${rr}-rtl`]:Nr,[`${rr}-borderless`]:!ze,[`${rr}-in-form-item`]:En},(0,He.Z)(rr,Ii,$r),Lr,er==null?void 0:er.className,on,wt,Yi),disabled:Ao,style:Object.assign(Object.assign({},er==null?void 0:er.style),ri)},yi,{builtinPlacements:Dt,direction:Ln,placement:xt,notFoundContent:ir,allowClear:un,showSearch:fr,expandIcon:po,suffixIcon:Yr,removeIcon:Ri,loadingIcon:vr,checkable:gr,dropdownClassName:Fn,dropdownPrefixCls:Yn||Er,choiceTransitionName:(0,me.m)(Ki,"",an),transitionName:(0,me.m)(Ki,"slide-up",Gt),getPopupContainer:Kn||oi,ref:ei}));return Wi(Bi(jn))}),$n=(0,Fe.Z)(Ee);Ee.SHOW_PARENT=hr,Ee.SHOW_CHILD=Rr,Ee._InternalPanelDoNotUseOrYouWillBeFired=$n;var fi=Ee},24905:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return Ie}});var Se=ve(92310),Oe=ve.n(Se),We=ve(5630),Ot=ve(59301),et=ve(36355),yt=ve(1684),ke=ve(32441),Et=Ot.createContext(null),tt=ve(98447),gt=ve(14088),dt=ve(4572),Ct=function(Ke,Ve){var Ye={};for(var ut in Ke)Object.prototype.hasOwnProperty.call(Ke,ut)&&Ve.indexOf(ut)<0&&(Ye[ut]=Ke[ut]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,ut=Object.getOwnPropertySymbols(Ke);Ue{var Ye;const{prefixCls:ut,className:Ue,rootClassName:Nt,children:Qe,indeterminate:Ht=!1,style:Rt,onMouseEnter:It,onMouseLeave:Lt,skipGroup:Ut=!1,disabled:ht}=Ke,Re=Ct(Ke,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:At,direction:Sn,checkbox:mn}=Ot.useContext(et.E_),Ft=Ot.useContext(Et),{isFormItemInput:en}=Ot.useContext(ke.aM),sn=Ot.useContext(yt.Z),On=(Ye=(Ft==null?void 0:Ft.disabled)||ht)!==null&&Ye!==void 0?Ye:sn,yn=Ot.useRef(Re.value);Ot.useEffect(()=>{Ft==null||Ft.registerValue(Re.value)},[]),Ot.useEffect(()=>{if(!Ut)return Re.value!==yn.current&&(Ft==null||Ft.cancelValue(yn.current),Ft==null||Ft.registerValue(Re.value),yn.current=Re.value),()=>Ft==null?void 0:Ft.cancelValue(Re.value)},[Re.value]);const Tn=At("checkbox",ut),[pt,Un]=(0,tt.ZP)(Tn),wn=Object.assign({},Re);Ft&&!Ut&&(wn.onChange=function(){Re.onChange&&Re.onChange.apply(Re,arguments),Ft.toggleOption&&Ft.toggleOption({label:Qe,value:Re.value})},wn.name=Ft.name,wn.checked=Ft.value.includes(Re.value));const An=Oe()(`${Tn}-wrapper`,{[`${Tn}-rtl`]:Sn==="rtl",[`${Tn}-wrapper-checked`]:wn.checked,[`${Tn}-wrapper-disabled`]:On,[`${Tn}-wrapper-in-form-item`]:en},mn==null?void 0:mn.className,Ue,Nt,Un),ni=Oe()({[`${Tn}-indeterminate`]:Ht},dt.A,Un),Qt=Ht?"mixed":void 0;return pt(Ot.createElement(gt.Z,{component:"Checkbox",disabled:On},Ot.createElement("label",{className:An,style:Object.assign(Object.assign({},mn==null?void 0:mn.style),Rt),onMouseEnter:It,onMouseLeave:Lt},Ot.createElement(We.Z,Object.assign({"aria-checked":Qt},wn,{prefixCls:Tn,className:ni,disabled:On,ref:Ve})),Qe!==void 0&&Ot.createElement("span",null,Qe))))};var ne=Ot.forwardRef(Me),ce=ve(80702),se=ve(2738),ge=function(Ke,Ve){var Ye={};for(var ut in Ke)Object.prototype.hasOwnProperty.call(Ke,ut)&&Ve.indexOf(ut)<0&&(Ye[ut]=Ke[ut]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,ut=Object.getOwnPropertySymbols(Ke);Ue{const{defaultValue:Ye,children:ut,options:Ue=[],prefixCls:Nt,className:Qe,rootClassName:Ht,style:Rt,onChange:It}=Ke,Lt=ge(Ke,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ut,direction:ht}=Ot.useContext(et.E_),[Re,At]=Ot.useState(Lt.value||Ye||[]),[Sn,mn]=Ot.useState([]);Ot.useEffect(()=>{"value"in Lt&&At(Lt.value||[])},[Lt.value]);const Ft=Ot.useMemo(()=>Ue.map(Jt=>typeof Jt=="string"||typeof Jt=="number"?{label:Jt,value:Jt}:Jt),[Ue]),en=Jt=>{mn(St=>St.filter(Xe=>Xe!==Jt))},sn=Jt=>{mn(St=>[].concat((0,ce.Z)(St),[Jt]))},On=Jt=>{const St=Re.indexOf(Jt.value),Xe=(0,ce.Z)(Re);St===-1?Xe.push(Jt.value):Xe.splice(St,1),"value"in Lt||At(Xe),It==null||It(Xe.filter(Yt=>Sn.includes(Yt)).sort((Yt,Kt)=>{const qe=Ft.findIndex(Be=>Be.value===Yt),Ge=Ft.findIndex(Be=>Be.value===Kt);return qe-Ge}))},yn=Ut("checkbox",Nt),Tn=`${yn}-group`,[pt,Un]=(0,tt.ZP)(yn),wn=(0,se.Z)(Lt,["value","disabled"]),An=Ue.length?Ft.map(Jt=>Ot.createElement(ne,{prefixCls:yn,key:Jt.value.toString(),disabled:"disabled"in Jt?Jt.disabled:Lt.disabled,value:Jt.value,checked:Re.includes(Jt.value),onChange:Jt.onChange,className:`${Tn}-item`,style:Jt.style,title:Jt.title},Jt.label)):ut,ni={toggleOption:On,value:Re,disabled:Lt.disabled,name:Lt.name,registerValue:sn,cancelValue:en},Qt=Oe()(Tn,{[`${Tn}-rtl`]:ht==="rtl"},Qe,Ht,Un);return pt(Ot.createElement("div",Object.assign({className:Qt,style:Rt},wn,{ref:Ve}),Ot.createElement(Et.Provider,{value:ni},An)))},Ce=Ot.forwardRef(ye);var Ne=Ot.memo(Ce);const Pe=ne;Pe.Group=Ne,Pe.__ANT_CHECKBOX=!0;var Ie=Pe},98447:function(zn,Nn,ve){"use strict";ve.d(Nn,{C2:function(){return et}});var Se=ve(17313),Oe=ve(37613),We=ve(83116);const Ot=yt=>{const{checkboxCls:ke}=yt,Bt=`${ke}-wrapper`;return[{[`${ke}-group`]:Object.assign(Object.assign({},(0,Se.Wf)(yt)),{display:"inline-flex",flexWrap:"wrap",columnGap:yt.marginXS,[`> ${yt.antCls}-row`]:{flex:1}}),[Bt]:Object.assign(Object.assign({},(0,Se.Wf)(yt)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Bt}`]:{marginInlineStart:0},[`&${Bt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ke]:Object.assign(Object.assign({},(0,Se.Wf)(yt)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:yt.borderRadiusSM,alignSelf:"center",[`${ke}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ke}-inner`]:Object.assign({},(0,Se.oN)(yt))},[`${ke}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:yt.checkboxSize,height:yt.checkboxSize,direction:"ltr",backgroundColor:yt.colorBgContainer,border:`${yt.lineWidth}px ${yt.lineType} ${yt.colorBorder}`,borderRadius:yt.borderRadiusSM,borderCollapse:"separate",transition:`all ${yt.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:yt.checkboxSize/14*5,height:yt.checkboxSize/14*8,border:`${yt.lineWidthBold}px solid ${yt.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${yt.motionDurationFast} ${yt.motionEaseInBack}, opacity ${yt.motionDurationFast}`}},"& + span":{paddingInlineStart:yt.paddingXS,paddingInlineEnd:yt.paddingXS}})},{[` ${Bt}:not(${Bt}-disabled), ${ke}:not(${ke}-disabled) `]:{[`&:hover ${ke}-inner`]:{borderColor:yt.colorPrimary}},[`${Bt}:not(${Bt}-disabled)`]:{[`&:hover ${ke}-checked:not(${ke}-disabled) ${ke}-inner`]:{backgroundColor:yt.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ke}-checked:not(${ke}-disabled):after`]:{borderColor:yt.colorPrimaryHover}}},{[`${ke}-checked`]:{[`${ke}-inner`]:{backgroundColor:yt.colorPrimary,borderColor:yt.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${yt.motionDurationMid} ${yt.motionEaseOutBack} ${yt.motionDurationFast}`}}},[` ${Bt}-checked:not(${Bt}-disabled), ${ke}-checked:not(${ke}-disabled) `]:{[`&:hover ${ke}-inner`]:{backgroundColor:yt.colorPrimaryHover,borderColor:"transparent"}}},{[ke]:{"&-indeterminate":{[`${ke}-inner`]:{backgroundColor:yt.colorBgContainer,borderColor:yt.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:yt.fontSizeLG/2,height:yt.fontSizeLG/2,backgroundColor:yt.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Bt}-disabled`]:{cursor:"not-allowed"},[`${ke}-disabled`]:{[`&, ${ke}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ke}-inner`]:{background:yt.colorBgContainerDisabled,borderColor:yt.colorBorder,"&:after":{borderColor:yt.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:yt.colorTextDisabled},[`&${ke}-indeterminate ${ke}-inner::after`]:{background:yt.colorTextDisabled}}}]};function et(yt,ke){const Bt=(0,Oe.TS)(ke,{checkboxCls:`.${yt}`,checkboxSize:ke.controlInteractiveSize});return[Ot(Bt)]}Nn.ZP=(0,We.Z)("Checkbox",(yt,ke)=>{let{prefixCls:Bt}=ke;return[et(Bt,yt)]})},93891:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=ve(36355),We=ve(64165);const Ot=et=>{const{componentName:yt}=et,{getPrefixCls:ke}=(0,Se.useContext)(Oe.E_),Bt=ke("empty");switch(yt){case"Table":case"List":return Se.createElement(We.Z,{image:We.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return Se.createElement(We.Z,{image:We.Z.PRESENTED_IMAGE_SIMPLE,className:`${Bt}-small`});default:return Se.createElement(We.Z,null)}};Nn.Z=Ot},5083:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return ol}});var Se=ve(61186),Oe=ve.n(Se),We=ve(48736),Ot=ve(90111),et=ve.n(Ot),yt=ve(58319),ke=ve.n(yt),Bt=ve(23250),Et=ve.n(Bt),tt=ve(74959),gt=ve.n(tt),dt=ve(10238),Ct=ve.n(dt),Me=ve(33656),te=ve.n(Me);Oe().extend(te()),Oe().extend(Ct()),Oe().extend(et()),Oe().extend(ke()),Oe().extend(Et()),Oe().extend(gt()),Oe().extend(function(je,nt){var lt=nt.prototype,qt=lt.format;lt.format=function(Rn){var Zn=(Rn||"").replace("Wo","wo");return qt.bind(this)(Zn)}});var ne={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},ce=function(nt){var lt=ne[nt];return lt||nt.split("_")[0]},se=function(){(0,We.ET)(!1,"Not match any format. Please help to fire a issue about this.")},ge={getNow:function(){return Oe()()},getFixedDate:function(nt){return Oe()(nt,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(nt){return nt.endOf("month")},getWeekDay:function(nt){var lt=nt.locale("en");return lt.weekday()+lt.localeData().firstDayOfWeek()},getYear:function(nt){return nt.year()},getMonth:function(nt){return nt.month()},getDate:function(nt){return nt.date()},getHour:function(nt){return nt.hour()},getMinute:function(nt){return nt.minute()},getSecond:function(nt){return nt.second()},addYear:function(nt,lt){return nt.add(lt,"year")},addMonth:function(nt,lt){return nt.add(lt,"month")},addDate:function(nt,lt){return nt.add(lt,"day")},setYear:function(nt,lt){return nt.year(lt)},setMonth:function(nt,lt){return nt.month(lt)},setDate:function(nt,lt){return nt.date(lt)},setHour:function(nt,lt){return nt.hour(lt)},setMinute:function(nt,lt){return nt.minute(lt)},setSecond:function(nt,lt){return nt.second(lt)},isAfter:function(nt,lt){return nt.isAfter(lt)},isValidate:function(nt){return nt.isValid()},locale:{getWeekFirstDay:function(nt){return Oe()().locale(ce(nt)).localeData().firstDayOfWeek()},getWeekFirstDate:function(nt,lt){return lt.locale(ce(nt)).weekday(0)},getWeek:function(nt,lt){return lt.locale(ce(nt)).week()},getShortWeekDays:function(nt){return Oe()().locale(ce(nt)).localeData().weekdaysMin()},getShortMonths:function(nt){return Oe()().locale(ce(nt)).localeData().monthsShort()},format:function(nt,lt,qt){return lt.locale(ce(nt)).format(qt)},parse:function(nt,lt,qt){for(var cn=ce(nt),Rn=0;Rn1&&(Zn=nt.addDate(Zn,-7)),Zn}function rn(je,nt,lt){var qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(nt){case"year":return lt.addYear(je,qt*10);case"quarter":case"month":return lt.addYear(je,qt);default:return lt.addMonth(je,qt)}}function In(je,nt){var lt=nt.generateConfig,qt=nt.locale,cn=nt.format;return typeof cn=="function"?cn(je):lt.locale.format(qt.locale,je,cn)}function Gn(je,nt){var lt=nt.generateConfig,qt=nt.locale,cn=nt.formatList;return!je||typeof cn[0]=="function"?null:lt.locale.parse(qt.locale,je,cn)}function Pi(je){var nt=je.cellDate,lt=je.mode,qt=je.disabledDate,cn=je.generateConfig;if(!qt)return!1;var Rn=function(Sr,si,_i){for(var xr=si;xr<=_i;){var co=void 0;switch(Sr){case"date":{if(co=cn.setDate(nt,xr),!qt(co))return!1;break}case"month":{if(co=cn.setMonth(nt,xr),!Pi({cellDate:co,mode:"month",generateConfig:cn,disabledDate:qt}))return!1;break}case"year":{if(co=cn.setYear(nt,xr),!Pi({cellDate:co,mode:"year",generateConfig:cn,disabledDate:qt}))return!1;break}}xr+=1}return!0};switch(lt){case"date":case"week":return qt(nt);case"month":{var Zn=1,di=cn.getDate(cn.getEndDate(nt));return Rn("date",Zn,di)}case"quarter":{var pi=Math.floor(cn.getMonth(nt)/3)*3,Ni=pi+2;return Rn("month",pi,Ni)}case"year":return Rn("month",0,11);case"decade":{var sr=cn.getYear(nt),Mi=Math.floor(sr/St)*St,Qi=Mi+St-1;return Rn("year",Mi,Qi)}}}function Di(je,nt){var lt=nt.formatList,qt=nt.generateConfig,cn=nt.locale;return(0,Qt.Z)(function(){if(!je)return[[""],""];for(var Rn="",Zn=[],di=0;di1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Ni.current),xr){pi(_i);return}Ni.current=requestAnimationFrame(function(){pi(_i)})}var Mi=Di(di,{formatList:lt,generateConfig:qt,locale:cn}),Qi=(0,wn.Z)(Mi,2),Ai=Qi[1];function Sr(_i){sr(_i)}function si(){var _i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;sr(null,_i)}return(0,Pe.useEffect)(function(){si(!0)},[je]),(0,Pe.useEffect)(function(){return function(){return cancelAnimationFrame(Ni.current)}},[]),[Ai,Sr,si]}var Dn=ve(10228),or=ve(16089),jr=ve(80702),Gr=ve(29194),Ir=new Map;function wr(je,nt){var lt;function qt(){(0,Gr.Z)(je)?nt():lt=(0,or.Z)(function(){qt()})}return qt(),function(){or.Z.cancel(lt)}}function so(je,nt,lt){if(Ir.get(je)&&cancelAnimationFrame(Ir.get(je)),lt<=0){Ir.set(je,requestAnimationFrame(function(){je.scrollTop=nt}));return}var qt=nt-je.scrollTop,cn=qt/lt*10;Ir.set(je,requestAnimationFrame(function(){je.scrollTop+=cn,je.scrollTop!==nt&&so(je,nt,lt-10)}))}function Rr(je,nt){var lt=nt.onLeftRight,qt=nt.onCtrlLeftRight,cn=nt.onUpDown,Rn=nt.onPageUpDown,Zn=nt.onEnter,di=je.which,pi=je.ctrlKey,Ni=je.metaKey;switch(di){case Dn.Z.LEFT:if(pi||Ni){if(qt)return qt(-1),!0}else if(lt)return lt(-1),!0;break;case Dn.Z.RIGHT:if(pi||Ni){if(qt)return qt(1),!0}else if(lt)return lt(1),!0;break;case Dn.Z.UP:if(cn)return cn(-1),!0;break;case Dn.Z.DOWN:if(cn)return cn(1),!0;break;case Dn.Z.PAGE_UP:if(Rn)return Rn(-1),!0;break;case Dn.Z.PAGE_DOWN:if(Rn)return Rn(1),!0;break;case Dn.Z.ENTER:if(Zn)return Zn(),!0;break}return!1}function hr(je,nt,lt,qt){var cn=je;if(!cn)switch(nt){case"time":cn=qt?"hh:mm:ss a":"HH:mm:ss";break;case"week":cn="gggg-wo";break;case"month":cn="YYYY-MM";break;case"quarter":cn="YYYY-[Q]Q";break;case"year":cn="YYYY";break;default:cn=lt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return cn}function No(je,nt,lt){var qt=je==="time"?8:10,cn=typeof nt=="function"?nt(lt.getNow()).length:nt.length;return Math.max(qt,cn)+2}var vi=null,Ee=new Set;function $n(je){return!vi&&typeof window!="undefined"&&window.addEventListener&&(vi=function(lt){(0,jr.Z)(Ee).forEach(function(qt){qt(lt)})},window.addEventListener("mousedown",vi)),Ee.add(je),function(){Ee.delete(je),Ee.size===0&&(window.removeEventListener("mousedown",vi),vi=null)}}function fi(je){var nt=je.target;if(je.composed&&nt.shadowRoot){var lt;return((lt=je.composedPath)===null||lt===void 0?void 0:lt.call(je)[0])||nt}return nt}var ln=function(nt){return nt==="month"||nt==="date"?"year":nt},ei=function(nt){return nt==="date"?"month":nt},Yn=function(nt){return nt==="month"||nt==="date"?"quarter":nt},dn=function(nt){return nt==="date"?"week":nt},tn={year:ln,month:ei,quarter:Yn,week:dn,time:null,date:null};function on(je,nt){return je.some(function(lt){return lt&<.contains(nt)})}function wt(je){var nt=je.open,lt=je.value,qt=je.isClickOutside,cn=je.triggerOpen,Rn=je.forwardKeyDown,Zn=je.onKeyDown,di=je.blurToCancel,pi=je.onSubmit,Ni=je.onCancel,sr=je.onFocus,Mi=je.onBlur,Qi=je.changeOnBlur,Ai=(0,Pe.useState)(!1),Sr=(0,wn.Z)(Ai,2),si=Sr[0],_i=Sr[1],xr=(0,Pe.useState)(!1),co=(0,wn.Z)(xr,2),no=co[0],mo=co[1],vo=(0,Pe.useRef)(!1),ho=(0,Pe.useRef)(!1),ur=(0,Pe.useRef)(!1),la={onMouseDown:function(){_i(!0),cn(!0)},onKeyDown:function(ya){var Va=function(){ur.current=!0};if(Zn(ya,Va),!ur.current){switch(ya.which){case Dn.Z.ENTER:{nt?pi()!==!1&&_i(!0):cn(!0),ya.preventDefault();return}case Dn.Z.TAB:{si&&nt&&!ya.shiftKey?(_i(!1),ya.preventDefault()):!si&&nt&&!Rn(ya)&&ya.shiftKey&&(_i(!0),ya.preventDefault());return}case Dn.Z.ESC:{_i(!0),Ni();return}}!nt&&![Dn.Z.SHIFT].includes(ya.which)?cn(!0):si||Rn(ya)}},onFocus:function(ya){_i(!0),mo(!0),sr&&sr(ya)},onBlur:function(ya){if(vo.current||!qt(document.activeElement)){vo.current=!1;return}di?setTimeout(function(){for(var Va=document,Ha=Va.activeElement;Ha&&Ha.shadowRoot;)Ha=Ha.shadowRoot.activeElement;qt(Ha)&&Ni()},0):nt&&(cn(!1),ho.current&&pi()),mo(!1),Mi==null||Mi(ya)}};return(0,Pe.useEffect)(function(){ho.current=!1},[nt]),(0,Pe.useEffect)(function(){ho.current=!0},[lt]),(0,Pe.useEffect)(function(){return $n(function(ea){var ya=fi(ea),Va=qt(ya);nt&&(Va?!Qi&&(!no||Va)&&cn(!1):(vo.current=!0,(0,or.Z)(function(){vo.current=!1})))})}),[la,{focused:no,typing:si}]}function bt(je,nt){return Pe.useMemo(function(){return je||(nt?((0,We.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(nt).map(function(lt){var qt=(0,wn.Z)(lt,2),cn=qt[0],Rn=qt[1];return{label:cn,value:Rn}})):[])},[je,nt])}var ze=ve(34280);function Gt(je){var nt=je.valueTexts,lt=je.onTextChange,qt=Pe.useState(""),cn=(0,wn.Z)(qt,2),Rn=cn[0],Zn=cn[1],di=Pe.useRef([]);di.current=nt;function pi(sr){Zn(sr),lt(sr)}function Ni(){Zn(di.current[0])}return(0,ze.Z)(function(){nt.every(function(sr){return sr!==Rn})&&Ni()},[nt.join("||")]),[Rn,pi,Ni]}var an=Pe.createContext({}),ct=an,$e=ve(62853);function $t(je){var nt=je.cellRender,lt=je.monthCellRender,qt=je.dateRender,cn=Pe.useMemo(function(){if(nt)return nt;if(!(!lt&&!qt))return function(Rn,Zn){var di=Rn;return qt&&Zn.type==="date"?qt(di,Zn.today):lt&&Zn.type==="month"?lt(di,Zn.locale):Zn.originNode}},[nt,lt,qt]);return cn}function Tt(je,nt){for(var lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",qt=String(je);qt.length=1?lt|0:1,Zn=je;Zn<=nt;Zn+=Rn)cn.push({label:Tt(Zn,2),value:Zn,disabled:(qt||[]).includes(Zn)});return cn}function Wi(je){var nt=je.generateConfig,lt=je.prefixCls,qt=je.operationRef,cn=je.activeColumnIndex,Rn=je.value,Zn=je.showHour,di=je.showMinute,pi=je.showSecond,Ni=je.use12Hours,sr=je.hourStep,Mi=sr===void 0?1:sr,Qi=je.minuteStep,Ai=Qi===void 0?1:Qi,Sr=je.secondStep,si=Sr===void 0?1:Sr,_i=je.disabledHours,xr=je.disabledMinutes,co=je.disabledSeconds,no=je.disabledTime,mo=je.hideDisabledOptions,vo=je.onSelect,ho=je.cellRender,ur=je.locale,la=[],ea="".concat(lt,"-content"),ya="".concat(lt,"-time-panel"),Va,Ha=Rn?nt.getHour(Rn):-1,Ba=Ha,hs=Rn?nt.getMinute(Rn):-1,La=Rn?nt.getSecond(Rn):-1,Ca=nt.getNow(),Ta=Pe.useMemo(function(){if(no){var li=no(Ca);return[li.disabledHours,li.disabledMinutes,li.disabledSeconds]}return[_i,xr,co]},[_i,xr,co,no,Ca]),os=(0,wn.Z)(Ta,3),fs=os[0],Qa=os[1],Oa=os[2],Is=Yi(0,23,Mi,fs&&fs()),hl=(0,Qt.Z)(function(){return Is},Is,Bi);Ni&&(Va=Ba>=12,Ba%=12);var it=Pe.useMemo(function(){if(!Ni)return[!1,!1];var li=[!0,!0];return hl.forEach(function(wi){var Ji=wi.disabled,Ui=wi.value;Ji||(Ui>=12?li[1]=!1:li[0]=!1)}),li},[Ni,hl]),ft=(0,wn.Z)(it,2),Xt=ft[0],_t=ft[1],bn=Pe.useMemo(function(){return Ni?hl.filter(Va?function(li){return li.value>=12}:function(li){return li.value<12}).map(function(li){var wi=li.value%12,Ji=wi===0?"12":Tt(wi,2);return(0,Un.Z)((0,Un.Z)({},li),{},{label:Ji,value:wi})}):hl},[Ni,Va,hl]),gn=Yi(0,59,Ai,Qa&&Qa(Ha)),Jn=Yi(0,59,si,Oa&&Oa(Ha,hs)),Xn=Ki({value:Rn,generateConfig:nt,disabledMinutes:Qa,disabledSeconds:Oa,minutes:gn,seconds:Jn,use12Hours:Ni});qt.current={onUpDown:function(wi){var Ji=la[cn];if(Ji)for(var Ui=Ji.units.findIndex(function(Fr){return Fr.value===Ji.value}),zi=Ji.units.length,yr=1;yr2&&arguments[2]!==void 0?arguments[2]:!1;(Dr===_i||Xo)&&(yo($i),la&&la($i),Xn&&Xn($i,Vr),ea&&!mt(pi,$i,Tr)&&!(Ai!=null&&Ai($i))&&ea($i))},ta=function($i){if(pl.includes(Dr)){var Vr,Xo,ua=Dr==="date";switch($i===Dn.Z.PAGE_UP||$i===Dn.Z.PAGE_DOWN?Xo=ua?pi.addMonth:pi.addYear:Xo=ua?pi.addDate:pi.addMonth,$i){case Dn.Z.LEFT:case Dn.Z.PAGE_UP:Vr=Xo(qr,-1);break;case Dn.Z.RIGHT:case Dn.Z.PAGE_DOWN:Vr=Xo(qr,1);break;case Dn.Z.UP:case Dn.Z.DOWN:Vr=Xo(qr,Number("".concat($i===Dn.Z.UP?"-":"").concat(ua?Yt:jn)));break}if(Vr)return!(Ai!=null&&Ai(Vr))}return!0},_a=function($i){if(yr.current&&yr.current.onKeyDown){var Vr=!0,Xo=$i.which;if([Dn.Z.LEFT,Dn.Z.RIGHT,Dn.Z.UP,Dn.Z.DOWN,Dn.Z.PAGE_UP,Dn.Z.PAGE_DOWN,Dn.Z.ENTER].includes(Xo)&&($i.preventDefault(),Xo!==Dn.Z.ENTER&&co===0&&(Vr=ta(Xo))),Vr)return yr.current.onKeyDown($i)}return(0,We.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},ga=function($i){yr.current&&yr.current.onBlur&&yr.current.onBlur($i)};Jn&&Ji!=="right"&&(Jn.current={onKeyDown:_a,onClose:function(){yr.current&&yr.current.onClose&&yr.current.onClose()}}),Pe.useEffect(function(){Ni&&!Zi.current&&Vo(Ni)},[Ni]),Pe.useEffect(function(){Zi.current=!1},[]);var Ho,Po=$t({cellRender:it,monthCellRender:hl,dateRender:Is}),Oo=(0,Un.Z)((0,Un.Z)({},je),{},{cellRender:Po,operationRef:yr,prefixCls:cn,viewDate:qr,value:Tr,onViewDateChange:Or,sourceMode:Br,onPanelChange:_o,disabledDate:Ai});switch(delete Oo.onChange,delete Oo.onSelect,Dr){case"decade":Ho=Pe.createElement(xt,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}));break;case"year":Ho=Pe.createElement(Ga,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}));break;case"month":Ho=Pe.createElement(Qn,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}));break;case"quarter":Ho=Pe.createElement(wo,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}));break;case"week":Ho=Pe.createElement(Xr,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}));break;case"time":delete Oo.showTime,Ho=Pe.createElement(fr,(0,Ne.Z)({},Oo,(0,$e.Z)(mo)==="object"?mo:null,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}));break;default:mo?Ho=Pe.createElement(Ao,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}})):Ho=Pe.createElement(ci,(0,Ne.Z)({},Oo,{onSelect:function($i,Vr){Or($i),na($i,Vr)}}))}var Ua,Ia,ts=function(){var $i=pi.getNow(),Vr=yi(pi.getHour($i),pi.getMinute($i),pi.getSecond($i),Xt?Ta:1,_t?fs:1,bn?Oa:1),Xo=ri(pi,$i,Vr[0],Vr[1],Vr[2]);na(Xo,"submit")};Vn||(Ua=Zs(cn,Dr,ho),mo&&Dr!=="date"?Ia=null:Ia=xa({prefixCls:cn,components:hs,needConfirmButton:ft,okDisabled:!Tr||Ai&&Ai(Tr),locale:di,showNow:no,onNow:ft&&ts,onOk:function(){Tr&&(na(Tr,"submit",!0),Ba&&Ba(Tr))}}));var Ro;if(vo&&Dr==="date"&&_i==="date"&&!mo){var bo=pi.getNow(),Wo="".concat(cn,"-today-btn"),xo=Ai&&Ai(bo);Ro=Pe.createElement("a",{className:Ft()(Wo,xo&&"".concat(Wo,"-disabled")),"aria-disabled":xo,onClick:function(){xo||na(bo,"mouse",!0)}},di.today)}return Pe.createElement(ct.Provider,{value:(0,Un.Z)((0,Un.Z)({},gn),{},{mode:Dr,hideHeader:"hideHeader"in je?ur:gn.hideHeader,hidePrevBtn:wi&&Ji==="right",hideNextBtn:wi&&Ji==="left"})},Pe.createElement("div",{tabIndex:co,className:Ft()("".concat(cn,"-panel"),Rn,(nt={},(0,pt.Z)(nt,"".concat(cn,"-panel-has-range"),Ui&&Ui[0]&&Ui[1]),(0,pt.Z)(nt,"".concat(cn,"-panel-has-range-hover"),zi&&zi[0]&&zi[1]),(0,pt.Z)(nt,"".concat(cn,"-panel-rtl"),La==="rtl"),nt)),style:Zn,onKeyDown:_a,onBlur:ga,onMouseDown:Va},Ho,Ua||Ia||Ro?Pe.createElement("div",{className:"".concat(cn,"-footer")},Ua,Ia,Ro):null))}var Lo=wa,Ko=ve(35593),Ka={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Kr(je){var nt,lt=je.prefixCls,qt=je.popupElement,cn=je.popupStyle,Rn=je.visible,Zn=je.dropdownClassName,di=je.dropdownAlign,pi=je.transitionName,Ni=je.getPopupContainer,sr=je.children,Mi=je.range,Qi=je.popupPlacement,Ai=je.direction,Sr="".concat(lt,"-dropdown"),si=function(){return Qi!==void 0?Qi:Ai==="rtl"?"bottomRight":"bottomLeft"};return Pe.createElement(Ko.Z,{showAction:[],hideAction:[],popupPlacement:si(),builtinPlacements:Ka,prefixCls:Sr,popupTransitionName:pi,popup:qt,popupAlign:di,popupVisible:Rn,popupClassName:Ft()(Zn,(nt={},(0,pt.Z)(nt,"".concat(Sr,"-range"),Mi),(0,pt.Z)(nt,"".concat(Sr,"-rtl"),Ai==="rtl"),nt)),popupStyle:cn,getPopupContainer:Ni},sr)}var ko=Kr;function ro(je){var nt=je.prefixCls,lt=je.presets,qt=je.onClick,cn=je.onHover;return lt.length?Pe.createElement("div",{className:"".concat(nt,"-presets")},Pe.createElement("ul",null,lt.map(function(Rn,Zn){var di=Rn.label,pi=Rn.value;return Pe.createElement("li",{key:Zn,onClick:function(){return qt==null?void 0:qt(Kn(pi))},onMouseEnter:function(){return cn==null?void 0:cn(Kn(pi))},onMouseLeave:function(){return cn==null?void 0:cn(null)}},di)}))):null}function Hi(je){var nt=je.picker,lt=je.disabledHours,qt=je.disabledMinutes,cn=je.disabledSeconds;nt==="time"&&(lt||qt||cn)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function fa(je,nt,lt){var qt=(0,$e.Z)(nt)==="object"?nt.clearIcon:lt;return qt||Pe.createElement("span",{className:"".concat(je,"-clear-btn")})}function ka(je){var nt,lt=je,qt=lt.prefixCls,cn=qt===void 0?"rc-picker":qt,Rn=lt.id,Zn=lt.name,di=lt.tabIndex,pi=lt.style,Ni=lt.className,sr=lt.dropdownClassName,Mi=lt.dropdownAlign,Qi=lt.popupStyle,Ai=lt.transitionName,Sr=lt.generateConfig,si=lt.locale,_i=lt.inputReadOnly,xr=lt.allowClear,co=lt.autoFocus,no=lt.showTime,mo=lt.picker,vo=mo===void 0?"date":mo,ho=lt.format,ur=lt.use12Hours,la=lt.value,ea=lt.defaultValue,ya=lt.presets,Va=lt.open,Ha=lt.defaultOpen,Ba=lt.defaultOpenValue,hs=lt.suffixIcon,La=lt.clearIcon,Ca=lt.disabled,Ta=lt.disabledDate,os=lt.placeholder,fs=lt.getPopupContainer,Qa=lt.pickerRef,Oa=lt.panelRender,Is=lt.onChange,hl=lt.onOpenChange,it=lt.onFocus,ft=lt.onBlur,Xt=lt.onMouseDown,_t=lt.onMouseUp,bn=lt.onMouseEnter,gn=lt.onMouseLeave,Jn=lt.onContextMenu,Xn=lt.onClick,Vn=lt.onKeyDown,bi=lt.onSelect,li=lt.direction,wi=lt.autoComplete,Ji=wi===void 0?"off":wi,Ui=lt.inputRender,zi=lt.changeOnBlur,yr=Pe.useRef(null),Zi=vo==="date"&&!!no||vo==="time",Fr=bt(ya),Cr=Wn(hr(ho,vo,no,ur)),Tr=Pe.useRef(null),yo=Pe.useRef(null),Mo=Pe.useRef(null),Wr=(0,An.Z)(null,{value:la,defaultValue:ea}),qr=(0,wn.Z)(Wr,2),Vo=qr[0],Or=qr[1],ao=Pe.useState(Vo),Zr=(0,wn.Z)(ao,2),mr=Zr[0],Dr=Zr[1],lo=Pe.useRef(null),Fo=(0,An.Z)(!1,{value:Va,defaultValue:Ha,postState:function(zo){return Ca?!1:zo},onChange:function(zo){hl&&hl(zo),!zo&&lo.current&&lo.current.onClose&&lo.current.onClose()}}),Do=(0,wn.Z)(Fo,2),Br=Do[0],Go=Do[1],_o=Di(mr,{formatList:Cr,generateConfig:Sr,locale:si}),na=(0,wn.Z)(_o,2),ta=na[0],_a=na[1],ga=Gt({valueTexts:ta,onTextChange:function(zo){var Ms=Gn(zo,{locale:si,formatList:Cr,generateConfig:Sr});Ms&&(!Ta||!Ta(Ms))&&Dr(Ms)}}),Ho=(0,wn.Z)(ga,3),Po=Ho[0],Oo=Ho[1],Ua=Ho[2],Ia=function(zo){Dr(zo),Or(zo),Is&&!mt(Sr,Vo,zo)&&Is(zo,zo?In(zo,{generateConfig:Sr,locale:si,format:Cr[0]}):"")},ts=function(zo){Ca&&zo||Go(zo)},Ro=function(zo){return Br&&lo.current&&lo.current.onKeyDown?lo.current.onKeyDown(zo):((0,We.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},bo=function(){for(var zo=arguments.length,Ms=new Array(zo),Ys=0;YsQi(Ni);case"month":return Mi(si)>Mi(Ni);case"week":return sr(si)>sr(Ni);default:return!Fe(di,si,Ni)&&di.isAfter(si,Ni)}return!1},[Rn,Zn[1],Ni,nt]),Sr=Pe.useCallback(function(si){if(Zn[1]||Rn&&Rn(si))return!0;if(Zn[0]&&pi)return!Fe(di,si,Ni)&&di.isAfter(pi,si);if(!nt&&pi)switch(lt){case"quarter":return Qi(si)0&&arguments[0]!==void 0?arguments[0]:!1,Yo=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ca=null;Xa&&zc&&zc[0]&&zc[1]&&si.isAfter(zc[1],zc[0])&&(ca=zc);var is=ur;if(ur&&(0,$e.Z)(ur)==="object"&&ur.defaultValue){var ll=ur.defaultValue;is=(0,Un.Z)((0,Un.Z)({},ur),{},{defaultValue:st(ll,Bo)||void 0})}return Pe.createElement(hn.Provider,{value:{inRange:!0,panelPosition:ls,rangedValue:bc||oo,hoverRangedValue:ca}},Pe.createElement(Lo,(0,Ne.Z)({},je,Yo,{cellRender:mf,showTime:is,mode:ua[Bo],generateConfig:si,style:void 0,direction:qr,disabledDate:Bo===0?Gs:Sa,disabledTime:function(tu){return Ta?Ta(tu,Bo===0?"start":"end"):!1},className:Ft()((0,pt.Z)({},"".concat(Zn,"-panel-focused"),Bo===0?!Xd:!Bu)),value:st(oo,Bo),locale:_i,tabIndex:-1,onPanelChange:function(tu,td){Bo===0&&Kd(!0),Bo===1&&$c(!0),Rs(fn(ua,td,Bo),fn(oo,tu,Bo));var Ac=tu;ls==="right"&&ua[Bo]===td&&(Ac=rn(Ac,td,si,-1)),bo(Ac,Bo)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Bo===0?st(oo,1):st(oo,0)})))}var _u=0,yf=0;if(Bo&&Fo.current&&Br.current&&lo.current&&na.current){_u=Fo.current.offsetWidth+Br.current.offsetWidth;var Kf=na.current.offsetLeft>_u?na.current.offsetLeft-_u:na.current.offsetLeft,Sf=lo.current.offsetWidth,Ec=na.current.offsetWidth;Sf&&Ec&&_u>Sf-Ec-(qr==="rtl"?0:Kf)&&(yf=_u)}var wg=qr==="rtl"?{right:_u}:{left:_u};function Vf(){var ls,Yo=Zs(Zn,ua[Bo],Xn),ca=xa({prefixCls:Zn,components:Mo,needConfirmButton:mr,okDisabled:!st(oo,Bo)||Ca&&Ca(oo[Bo]),locale:_i,onOk:function(){var Lc=st(oo,Bo);Lc&&(Ys(oo,Bo),Tr==null||Tr(oo),Ll(!1,Bo,"confirm"))}});if(ho!=="time"&&!ur){var is=Ro(Bo),ll=rn(is,ho,si),md=ua[Bo],tu=md===ho,td=fh(tu?"left":!1,{pickerValue:is,onPickerValueChange:function(Lc){bo(Lc,Bo)}}),Ac=fh("right",{pickerValue:ll,onPickerValueChange:function(Lc){bo(rn(Lc,ho,si,-1),Bo)}});qr==="rtl"?ls=Pe.createElement(Pe.Fragment,null,Ac,tu&&td):ls=Pe.createElement(Pe.Fragment,null,td,tu&&Ac)}else ls=fh();var ph=Pe.createElement("div",{className:"".concat(Zn,"-panel-layout")},Pe.createElement(ro,{prefixCls:Zn,presets:vf,onClick:function(Lc){Ys(Lc,null),Ll(!1,Bo,"preset")},onHover:function(Lc){jh(Lc)}}),Pe.createElement("div",null,Pe.createElement("div",{className:"".concat(Zn,"-panels")},ls),(Yo||ca)&&Pe.createElement("div",{className:"".concat(Zn,"-footer")},Yo,ca)));return Oa&&(ph=Oa(ph)),Pe.createElement("div",{className:"".concat(Zn,"-panel-container"),style:{marginLeft:yf},ref:lo,onMouseDown:function(Lc){Lc.preventDefault()}},ph)}var gh=Pe.createElement("div",{className:Ft()("".concat(Zn,"-range-wrapper"),"".concat(Zn,"-").concat(ho,"-range-wrapper")),style:{minWidth:Ja}},Pe.createElement("div",{ref:na,className:"".concat(Zn,"-range-arrow"),style:wg}),Vf()),Ad;Xt&&(Ad=Pe.createElement("span",{className:"".concat(Zn,"-suffix"),onMouseDown:function(Yo){Yo.preventDefault()}},Xt));var Gf=fa(Zn,ft,_t),Hc=Pe.createElement("span",{onMouseDown:function(Yo){Yo.preventDefault(),Yo.stopPropagation()},onMouseUp:function(Yo){Yo.preventDefault(),Yo.stopPropagation();var ca=Oo;ga[0]||(ca=fn(ca,null,0)),ga[1]||(ca=fn(ca,null,1)),Ys(ca,null),Ll(!1,Bo,"clear")},className:"".concat(Zn,"-clear"),role:"button"},Gf),Yf=ft&&(st(Oo,0)&&!ga[0]||st(Oo,1)&&!ga[1]),Wh={size:No(ho,ta[0],si)},xf=0,Zh=0;Fo.current&&Do.current&&Br.current&&(Bo===0?Zh=Fo.current.offsetWidth:(xf=_u,Zh=Do.current.offsetWidth));var Uf=qr==="rtl"?{right:xf}:{left:xf},up=function(Yo,ca){var is=fn(oo,Yo,Bo);if(ca==="submit"||ca!=="key"&&!mr){Ys(is,Bo),Bo===0?Kd():$c();var ll=Bo===0?1:0;ga[ll]?Ll(!1,!1,"confirm"):Ll(!1,Bo,"confirm")}else $i(is)};return Pe.createElement(ct.Provider,{value:{operationRef:_a,hideHeader:ho==="time",onDateMouseEnter:Hh,onDateMouseLeave:lc,hideRanges:!0,onSelect:up,open:Xa}},Pe.createElement(ko,{visible:Xa,popupElement:gh,popupStyle:sr,prefixCls:Zn,dropdownClassName:Mi,dropdownAlign:Ai,getPopupContainer:Sr,transitionName:Qi,range:!0,direction:qr},Pe.createElement("div",(0,Ne.Z)({ref:Dr,className:Ft()(Zn,"".concat(Zn,"-range"),Ni,(nt={},(0,pt.Z)(nt,"".concat(Zn,"-disabled"),ga[0]&&ga[1]),(0,pt.Z)(nt,"".concat(Zn,"-focused"),Bo===0?Hl:Du),(0,pt.Z)(nt,"".concat(Zn,"-rtl"),qr==="rtl"),nt)),style:pi,onClick:hh,onMouseEnter:Zi,onMouseLeave:Fr,onMouseDown:ed,onMouseUp:yr},(0,ni.Z)(je,{aria:!0,data:!0})),Pe.createElement("div",{className:Ft()("".concat(Zn,"-input"),(lt={},(0,pt.Z)(lt,"".concat(Zn,"-input-active"),Bo===0),(0,pt.Z)(lt,"".concat(Zn,"-input-placeholder"),!!Wd),lt)),ref:Fo},Pe.createElement("input",(0,Ne.Z)({id:di,disabled:ga[0],readOnly:gn||typeof ta[0]=="function"||!Xd,value:Wd||ss,onChange:function(Yo){Qs(Yo.target.value)},autoFocus:co,placeholder:st(xr,0)||"",ref:Go},dh,Wh,{autoComplete:ao}))),Pe.createElement("div",{className:"".concat(Zn,"-range-separator"),ref:Br},ya),Pe.createElement("div",{className:Ft()("".concat(Zn,"-input"),(qt={},(0,pt.Z)(qt,"".concat(Zn,"-input-active"),Bo===1),(0,pt.Z)(qt,"".concat(Zn,"-input-placeholder"),!!Gd),qt)),ref:Do},Pe.createElement("input",(0,Ne.Z)({disabled:ga[1],readOnly:gn||typeof ta[0]=="function"||!Bu,value:Gd||Rl,onChange:function(Yo){Zu(Yo.target.value)},placeholder:st(xr,1)||"",ref:_o},Es,Wh,{autoComplete:ao}))),Pe.createElement("div",{className:"".concat(Zn,"-active-bar"),style:(0,Un.Z)((0,Un.Z)({},Uf),{},{width:Zh,position:"absolute"})}),Ad,Yf&&Hc)))}var Nl=function(je){(0,yn.Z)(lt,je);var nt=(0,Tn.Z)(lt);function lt(){var qt;(0,en.Z)(this,lt);for(var cn=arguments.length,Rn=new Array(cn),Zn=0;Zn{const{lineHeight:cn}=je,Rn=Math.floor(lt*cn)+2,Zn=Math.max((nt-Rn)/2,0),di=Math.max(nt-Rn-Zn,0);return{padding:`${Zn}px ${qt}px ${di}px`}},Ss=je=>{const{componentCls:nt,pickerCellCls:lt,pickerCellInnerCls:qt,cellHeight:cn,motionDurationSlow:Rn,borderRadiusSM:Zn,motionDurationMid:di,cellHoverBg:pi,lineWidth:Ni,lineType:sr,colorPrimary:Mi,cellActiveWithRangeBg:Qi,colorTextLightSolid:Ai,controlHeightSM:Sr,cellRangeBorderColor:si,pickerCellBorderGap:_i,cellHoverWithRangeBg:xr,cellWidth:co,colorTextDisabled:no,cellBgDisabled:mo}=je;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:cn,transform:"translateY(-50%)",transition:`all ${Rn}`,content:'""'},[qt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:cn,height:cn,lineHeight:`${cn}px`,borderRadius:Zn,transition:`background ${di}, border ${di}`},"&-range-hover-start, &-range-hover-end":{[qt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${lt}-in-view), &:hover:not(${lt}-selected):not(${lt}-range-start):not(${lt}-range-end):not(${lt}-range-hover-start):not(${lt}-range-hover-end)`]:{[qt]:{background:pi}},[`&-in-view${lt}-today ${qt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Ni}px ${sr} ${Mi}`,borderRadius:Zn,content:'""'}},[`&-in-view${lt}-in-range`]:{position:"relative","&::before":{background:Qi}},[`&-in-view${lt}-selected ${qt}, &-in-view${lt}-range-start ${qt}, &-in-view${lt}-range-end ${qt}`]:{color:Ai,background:Mi},[`&-in-view${lt}-range-start:not(${lt}-range-start-single), &-in-view${lt}-range-end:not(${lt}-range-end-single)`]:{"&::before":{background:Qi}},[`&-in-view${lt}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${lt}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${lt}-range-hover-start:not(${lt}-in-range):not(${lt}-range-start):not(${lt}-range-end), &-in-view${lt}-range-hover-end:not(${lt}-in-range):not(${lt}-range-start):not(${lt}-range-end), &-in-view${lt}-range-hover-start${lt}-range-start-single, &-in-view${lt}-range-hover-start${lt}-range-start${lt}-range-end${lt}-range-end-near-hover, &-in-view${lt}-range-hover-end${lt}-range-start${lt}-range-end${lt}-range-start-near-hover, &-in-view${lt}-range-hover-end${lt}-range-end-single, &-in-view${lt}-range-hover:not(${lt}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Sr,borderTop:`${Ni}px dashed ${si}`,borderBottom:`${Ni}px dashed ${si}`,transform:"translateY(-50%)",transition:`all ${Rn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:_i},[`&-in-view${lt}-in-range${lt}-range-hover::before, &-in-view${lt}-in-range${lt}-range-hover-start::before, &-in-view${lt}-in-range${lt}-range-hover-end::before, &-in-view${lt}-range-start${lt}-range-hover::before, &-in-view${lt}-range-end${lt}-range-hover::before, &-in-view${lt}-range-start:not(${lt}-range-start-single)${lt}-range-hover-start::before, &-in-view${lt}-range-end:not(${lt}-range-end-single)${lt}-range-hover-end::before, ${nt}-panel > :not(${nt}-date-panel) &-in-view${lt}-in-range${lt}-range-hover-start::before, ${nt}-panel > :not(${nt}-date-panel) &-in-view${lt}-in-range${lt}-range-hover-end::before`]:{background:xr},[`&-in-view${lt}-range-start:not(${lt}-range-start-single):not(${lt}-range-end) ${qt}`]:{borderStartStartRadius:Zn,borderEndStartRadius:Zn,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${lt}-range-end:not(${lt}-range-end-single):not(${lt}-range-start) ${qt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Zn,borderEndEndRadius:Zn},[`&-range-hover${lt}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${lt}-range-hover:first-child::after, tr > &-in-view${lt}-range-hover-end:first-child::after, &-in-view${lt}-start${lt}-range-hover-edge-start${lt}-range-hover-edge-start-near-range::after, &-in-view${lt}-range-hover-edge-start:not(${lt}-range-hover-edge-start-near-range)::after, &-in-view${lt}-range-hover-start::after`]:{insetInlineStart:(co-cn)/2,borderInlineStart:`${Ni}px dashed ${si}`,borderStartStartRadius:Zn,borderEndStartRadius:Zn},[`tr > &-in-view${lt}-range-hover:last-child::after, tr > &-in-view${lt}-range-hover-start:last-child::after, &-in-view${lt}-end${lt}-range-hover-edge-end${lt}-range-hover-edge-end-near-range::after, &-in-view${lt}-range-hover-edge-end:not(${lt}-range-hover-edge-end-near-range)::after, &-in-view${lt}-range-hover-end::after`]:{insetInlineEnd:(co-cn)/2,borderInlineEnd:`${Ni}px dashed ${si}`,borderStartEndRadius:Zn,borderEndEndRadius:Zn},"&-disabled":{color:no,pointerEvents:"none",[qt]:{background:"transparent"},"&::before":{background:mo}},[`&-disabled${lt}-today ${qt}::before`]:{borderColor:no}}},rs=je=>{const{componentCls:nt,pickerCellCls:lt,pickerCellInnerCls:qt,pickerYearMonthCellWidth:cn,pickerControlIconSize:Rn,cellWidth:Zn,paddingSM:di,paddingXS:pi,paddingXXS:Ni,colorBgContainer:sr,lineWidth:Mi,lineType:Qi,borderRadiusLG:Ai,colorPrimary:Sr,colorTextHeading:si,colorSplit:_i,pickerControlIconBorderWidth:xr,colorIcon:co,textHeight:no,motionDurationMid:mo,colorIconHover:vo,fontWeightStrong:ho,cellHeight:ur,pickerCellPaddingVertical:la,colorTextDisabled:ea,colorText:ya,fontSize:Va,cellHoverWithRangeBg:Ha,motionDurationSlow:Ba,withoutTimeCellHeight:hs,pickerQuarterPanelContentHeight:La,colorLink:Ca,colorLinkActive:Ta,colorLinkHover:os,cellRangeBorderColor:fs,borderRadiusSM:Qa,colorTextLightSolid:Oa,cellHoverBg:Is,timeColumnHeight:hl,timeColumnWidth:it,timeCellHeight:ft,controlItemBgActive:Xt,marginXXS:_t,pickerDatePanelPaddingHorizontal:bn}=je,gn=Zn*7+bn*2,Jn=(gn-pi*2)/3-cn-di,Xn=(gn-pi*2)/4-cn;return{[nt]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:sr,border:`${Mi}px ${Qi} ${_i}`,borderRadius:Ai,outline:"none","&-focused":{borderColor:Sr},"&-rtl":{direction:"rtl",[`${nt}-prev-icon, ${nt}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${nt}-next-icon, ${nt}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:gn},"&-header":{display:"flex",padding:`0 ${pi}px`,color:si,borderBottom:`${Mi}px ${Qi} ${_i}`,"> *":{flex:"none"},button:{padding:0,color:co,lineHeight:`${no}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${mo}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Va,"&:hover":{color:vo}},"&-view":{flex:"auto",fontWeight:ho,lineHeight:`${no}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:pi},"&:hover":{color:Sr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Rn,height:Rn,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Rn,height:Rn,border:"0 solid currentcolor",borderBlockStartWidth:xr,borderBlockEndWidth:0,borderInlineStartWidth:xr,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Rn/2),insetInlineStart:Math.ceil(Rn/2),display:"inline-block",width:Rn,height:Rn,border:"0 solid currentcolor",borderBlockStartWidth:xr,borderBlockEndWidth:0,borderInlineStartWidth:xr,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ur,fontWeight:"normal"},th:{height:ur+la*2,color:ya,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${la}px 0`,color:ea,cursor:"pointer","&-in-view":{color:ya}},Ss(je)),[`&-date-panel ${nt}-cell-in-view${nt}-cell-in-range${nt}-cell-range-hover-start ${qt}, &-date-panel ${nt}-cell-in-view${nt}-cell-in-range${nt}-cell-range-hover-end ${qt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Ha,transition:`all ${Ba}`,content:'""'}},[`&-date-panel ${nt}-cell-in-view${nt}-cell-in-range${nt}-cell-range-hover-start ${qt}::after`]:{insetInlineEnd:-(Zn-ur)/2,insetInlineStart:0},[`&-date-panel ${nt}-cell-in-view${nt}-cell-in-range${nt}-cell-range-hover-end ${qt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Zn-ur)/2},[`&-range-hover${nt}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${nt}-content`]:{height:hs*4},[qt]:{padding:`0 ${pi}px`}},"&-quarter-panel":{[`${nt}-content`]:{height:La},[`${nt}-cell-range-hover-start::after`]:{insetInlineStart:Xn,borderInlineStart:`${Mi}px dashed ${fs}`,[`${nt}-panel-rtl &`]:{insetInlineEnd:Xn,borderInlineEnd:`${Mi}px dashed ${fs}`}},[`${nt}-cell-range-hover-end::after`]:{insetInlineEnd:Xn,borderInlineEnd:`${Mi}px dashed ${fs}`,[`${nt}-panel-rtl &`]:{insetInlineStart:Xn,borderInlineStart:`${Mi}px dashed ${fs}`}}},[`&-panel ${nt}-footer`]:{borderTop:`${Mi}px ${Qi} ${_i}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${no-2*Mi}px`,textAlign:"center","&-extra":{padding:`0 ${di}px`,lineHeight:`${no-2*Mi}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${Mi}px ${Qi} ${_i}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Ca,"&:hover":{color:os},"&:active":{color:Ta},[`&${nt}-today-btn-disabled`]:{color:ea,cursor:"not-allowed"}},"&-decade-panel":{[qt]:{padding:`0 ${pi/2}px`},[`${nt}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${nt}-body`]:{padding:`0 ${pi}px`},[qt]:{width:cn},[`${nt}-cell-range-hover-start::after`]:{borderStartStartRadius:Qa,borderEndStartRadius:Qa,borderStartEndRadius:0,borderEndEndRadius:0,[`${nt}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Qa,borderEndEndRadius:Qa}},[`${nt}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Qa,borderEndEndRadius:Qa,[`${nt}-panel-rtl &`]:{borderStartStartRadius:Qa,borderEndStartRadius:Qa,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${nt}-cell-range-hover-start::after`]:{insetInlineStart:Jn,borderInlineStart:`${Mi}px dashed ${fs}`,[`${nt}-panel-rtl &`]:{insetInlineEnd:Jn,borderInlineEnd:`${Mi}px dashed ${fs}`}},[`${nt}-cell-range-hover-end::after`]:{insetInlineEnd:Jn,borderInlineEnd:`${Mi}px dashed ${fs}`,[`${nt}-panel-rtl &`]:{insetInlineStart:Jn,borderInlineStart:`${Mi}px dashed ${fs}`}}},"&-week-panel":{[`${nt}-body`]:{padding:`${pi}px ${di}px`},[`${nt}-cell`]:{[`&:hover ${qt}, &-selected ${qt}, ${qt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${mo}`},"&:first-child:before":{borderStartStartRadius:Qa,borderEndStartRadius:Qa},"&:last-child:before":{borderStartEndRadius:Qa,borderEndEndRadius:Qa}},"&:hover td":{"&:before":{background:Is}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${lt}`]:{"&:before":{background:Sr},[`&${nt}-cell-week`]:{color:new zl.C(Oa).setAlpha(.5).toHexString()},[qt]:{color:Oa}}},"&-range-hover td:before":{background:Xt}}},"&-date-panel":{[`${nt}-body`]:{padding:`${pi}px ${bn}px`},[`${nt}-content`]:{width:Zn*7,th:{width:Zn,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${nt}-time-panel`]:{borderInlineStart:`${Mi}px ${Qi} ${_i}`},[`${nt}-date-panel, ${nt}-time-panel`]:{transition:`opacity ${Ba}`},"&-active":{[`${nt}-date-panel, ${nt}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${nt}-content`]:{display:"flex",flex:"auto",height:hl},"&-column":{flex:"1 0 auto",width:it,margin:`${Ni}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${mo}`,overflowX:"hidden","&::after":{display:"block",height:hl-ft,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Mi}px ${Qi} ${_i}`},"&-active":{background:new zl.C(Xt).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${nt}-time-panel-cell`]:{marginInline:_t,[`${nt}-time-panel-cell-inner`]:{display:"block",width:it-2*_t,height:ft,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(it-ft)/2,color:ya,lineHeight:`${ft}px`,borderRadius:Qa,cursor:"pointer",transition:`background ${mo}`,"&:hover":{background:Is}},"&-selected":{[`${nt}-time-panel-cell-inner`]:{background:Xt}},"&-disabled":{[`${nt}-time-panel-cell-inner`]:{color:ea,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${nt}-time-panel-column:after`]:{height:hl-ft+Ni*2}}}},ds=je=>{const{componentCls:nt,colorBgContainer:lt,colorError:qt,errorActiveShadow:cn,colorWarning:Rn,warningActiveShadow:Zn}=je;return{[`${nt}:not(${nt}-disabled)`]:{[`&${nt}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:lt,borderColor:qt},[`&${nt}-focused, &:focus`]:Object.assign({},(0,xl.M1)((0,ma.TS)(je,{activeBorderColor:qt,activeShadow:cn}))),[`${nt}-active-bar`]:{background:qt}},[`&${nt}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:lt,borderColor:Rn},[`&${nt}-focused, &:focus`]:Object.assign({},(0,xl.M1)((0,ma.TS)(je,{activeBorderColor:Rn,activeShadow:Zn}))),[`${nt}-active-bar`]:{background:Rn}}}}},Ls=je=>{const{componentCls:nt,antCls:lt,controlHeight:qt,fontSize:cn,paddingInline:Rn,colorBgContainer:Zn,lineWidth:di,lineType:pi,colorBorder:Ni,borderRadius:sr,motionDurationMid:Mi,colorBgContainerDisabled:Qi,colorTextDisabled:Ai,colorTextPlaceholder:Sr,controlHeightLG:si,fontSizeLG:_i,controlHeightSM:xr,paddingInlineSM:co,paddingXS:no,marginXS:mo,colorTextDescription:vo,lineWidthBold:ho,lineHeight:ur,colorPrimary:la,motionDurationSlow:ea,zIndexPopup:ya,paddingXXS:Va,paddingSM:Ha,textHeight:Ba,cellActiveWithRangeBg:hs,colorPrimaryBorder:La,sizePopupArrow:Ca,borderRadiusXS:Ta,borderRadiusOuter:os,colorBgElevated:fs,borderRadiusLG:Qa,boxShadowSecondary:Oa,borderRadiusSM:Is,colorSplit:hl,cellHoverBg:it,presetsWidth:ft,presetsMaxWidth:Xt,boxShadowPopoverArrow:_t,colorTextQuaternary:bn}=je;return[{[nt]:Object.assign(Object.assign(Object.assign({},(0,Tl.Wf)(je)),Cs(je,qt,cn,Rn)),{position:"relative",display:"inline-flex",alignItems:"center",background:Zn,lineHeight:1,border:`${di}px ${pi} ${Ni}`,borderRadius:sr,transition:`border ${Mi}, box-shadow ${Mi}`,"&:hover, &-focused":Object.assign({},(0,xl.pU)(je)),"&-focused":Object.assign({},(0,xl.M1)(je)),[`&${nt}-disabled`]:{background:Qi,borderColor:Ni,cursor:"not-allowed",[`${nt}-suffix`]:{color:bn}},[`&${nt}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${nt}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,xl.ik)(je)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${nt}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Sr}}},"&-large":Object.assign(Object.assign({},Cs(je,si,_i,Rn)),{[`${nt}-input > input`]:{fontSize:_i}}),"&-small":Object.assign({},Cs(je,xr,cn,co)),[`${nt}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:no/2,color:Ai,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:mo}}},[`${nt}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ai,lineHeight:1,background:Zn,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Mi}, color ${Mi}`,"> *":{verticalAlign:"top"},"&:hover":{color:vo}},[`${nt}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:_i,color:Ai,fontSize:_i,verticalAlign:"top",cursor:"default",[`${nt}-focused &`]:{color:vo},[`${nt}-range-separator &`]:{[`${nt}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${nt}-clear`]:{insetInlineEnd:Rn},"&:hover":{[`${nt}-clear`]:{opacity:1}},[`${nt}-active-bar`]:{bottom:-di,height:ho,marginInlineStart:Rn,background:la,opacity:0,transition:`all ${ea} ease-out`,pointerEvents:"none"},[`&${nt}-focused`]:{[`${nt}-active-bar`]:{opacity:1}},[`${nt}-range-separator`]:{alignItems:"center",padding:`0 ${no}px`,lineHeight:1},[`&${nt}-small`]:{[`${nt}-clear`]:{insetInlineEnd:co},[`${nt}-active-bar`]:{marginInlineStart:co}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Tl.Wf)(je)),rs(je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ya,[`&${nt}-dropdown-hidden`]:{display:"none"},[`&${nt}-dropdown-placement-bottomLeft`]:{[`${nt}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${nt}-dropdown-placement-topLeft`]:{[`${nt}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${lt}-slide-up-enter${lt}-slide-up-enter-active${nt}-dropdown-placement-topLeft, &${lt}-slide-up-enter${lt}-slide-up-enter-active${nt}-dropdown-placement-topRight, &${lt}-slide-up-appear${lt}-slide-up-appear-active${nt}-dropdown-placement-topLeft, &${lt}-slide-up-appear${lt}-slide-up-appear-active${nt}-dropdown-placement-topRight`]:{animationName:mu.Qt},[`&${lt}-slide-up-enter${lt}-slide-up-enter-active${nt}-dropdown-placement-bottomLeft, &${lt}-slide-up-enter${lt}-slide-up-enter-active${nt}-dropdown-placement-bottomRight, &${lt}-slide-up-appear${lt}-slide-up-appear-active${nt}-dropdown-placement-bottomLeft, &${lt}-slide-up-appear${lt}-slide-up-appear-active${nt}-dropdown-placement-bottomRight`]:{animationName:mu.fJ},[`&${lt}-slide-up-leave${lt}-slide-up-leave-active${nt}-dropdown-placement-topLeft, &${lt}-slide-up-leave${lt}-slide-up-leave-active${nt}-dropdown-placement-topRight`]:{animationName:mu.ly},[`&${lt}-slide-up-leave${lt}-slide-up-leave-active${nt}-dropdown-placement-bottomLeft, &${lt}-slide-up-leave${lt}-slide-up-leave-active${nt}-dropdown-placement-bottomRight`]:{animationName:mu.Uw},[`${nt}-panel > ${nt}-time-panel`]:{paddingTop:Va},[`${nt}-ranges`]:{marginBottom:0,padding:`${Va}px ${Ha}px`,overflow:"hidden",lineHeight:`${Ba-2*di-no/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${nt}-preset > ${lt}-tag-blue`]:{color:la,background:hs,borderColor:La,cursor:"pointer"},[`${nt}-ok`]:{marginInlineStart:"auto"}},[`${nt}-range-wrapper`]:{display:"flex",position:"relative"},[`${nt}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:Rn*1.5,transition:`left ${ea} ease-out`},(0,pu.r)(Ca,Ta,os,fs,_t)),[`${nt}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:fs,borderRadius:Qa,boxShadow:Oa,transition:`margin ${ea}`,[`${nt}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${nt}-presets`]:{display:"flex",flexDirection:"column",minWidth:ft,maxWidth:Xt,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:no,borderInlineEnd:`${di}px ${pi} ${hl}`,li:Object.assign(Object.assign({},Tl.vS),{borderRadius:Is,paddingInline:no,paddingBlock:(xr-Math.round(cn*ur))/2,cursor:"pointer",transition:`all ${ea}`,"+ li":{marginTop:mo},"&:hover":{background:it}})}},[`${nt}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${nt}-panel`]:{borderWidth:`0 0 ${di}px`},"&:last-child":{[`${nt}-panel`]:{borderWidth:0}}},[`${nt}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${nt}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Ni}}}}),"&-dropdown-range":{padding:`${Ca*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${nt}-separator`]:{transform:"rotate(180deg)"},[`${nt}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,mu.oN)(je,"slide-up"),(0,mu.oN)(je,"slide-down"),(0,Jo.Fm)(je,"move-up"),(0,Jo.Fm)(je,"move-down")]},xs=je=>{const{componentCls:nt,controlHeightLG:lt,paddingXXS:qt,padding:cn}=je;return{pickerCellCls:`${nt}-cell`,pickerCellInnerCls:`${nt}-cell-inner`,pickerYearMonthCellWidth:lt*1.5,pickerQuarterPanelContentHeight:lt*1.4,pickerCellPaddingVertical:qt+qt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:cn+qt/2}},Ks=je=>({cellHoverBg:je.controlItemBgHover,cellActiveWithRangeBg:je.controlItemBgActive,cellHoverWithRangeBg:new zl.C(je.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new zl.C(je.colorPrimary).lighten(20).toHexString(),cellBgDisabled:je.colorBgContainerDisabled,timeColumnWidth:je.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:je.controlHeightSM*1.5,cellHeight:je.controlHeightSM,textHeight:je.controlHeightLG,withoutTimeCellHeight:je.controlHeightLG*1.65});var Bs=(0,dl.Z)("DatePicker",je=>{const nt=(0,ma.TS)((0,xl.e5)(je),xs(je));return[Ls(nt),ds(nt),(0,wc.c)(je,{focusElCls:`${je.componentCls}-focused`})]},je=>Object.assign(Object.assign(Object.assign({},(0,xl.TM)(je)),Ks(je)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:je.zIndexPopupBase+50}));function Fa(je,nt,lt){return lt!==void 0?lt:nt==="year"&&je.lang.yearPlaceholder?je.lang.yearPlaceholder:nt==="quarter"&&je.lang.quarterPlaceholder?je.lang.quarterPlaceholder:nt==="month"&&je.lang.monthPlaceholder?je.lang.monthPlaceholder:nt==="week"&&je.lang.weekPlaceholder?je.lang.weekPlaceholder:nt==="time"&&je.timePickerLocale.placeholder?je.timePickerLocale.placeholder:je.lang.placeholder}function Hu(je,nt,lt){return lt!==void 0?lt:nt==="year"&&je.lang.yearPlaceholder?je.lang.rangeYearPlaceholder:nt==="quarter"&&je.lang.quarterPlaceholder?je.lang.rangeQuarterPlaceholder:nt==="month"&&je.lang.monthPlaceholder?je.lang.rangeMonthPlaceholder:nt==="week"&&je.lang.weekPlaceholder?je.lang.rangeWeekPlaceholder:nt==="time"&&je.timePickerLocale.placeholder?je.timePickerLocale.rangePlaceholder:je.lang.rangePlaceholder}function Ol(je,nt){const lt={adjustX:1,adjustY:1};switch(nt){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:lt};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:lt};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:lt};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:lt};default:return{points:je==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:lt}}}function El(je){return je?Array.isArray(je)?je:[je]:[]}function Hr(je){const{format:nt,picker:lt,showHour:qt,showMinute:cn,showSecond:Rn,use12Hours:Zn}=je,di=El(nt)[0],pi=Object.assign({},je);return nt&&Array.isArray(nt)&&(pi.format=di),di&&typeof di=="string"&&(!di.includes("s")&&Rn===void 0&&(pi.showSecond=!1),!di.includes("m")&&cn===void 0&&(pi.showMinute=!1),!di.includes("H")&&!di.includes("h")&&!di.includes("K")&&!di.includes("k")&&qt===void 0&&(pi.showHour=!1),(di.includes("a")||di.includes("A"))&&Zn===void 0&&(pi.use12Hours=!0)),lt==="time"?pi:(typeof di=="function"&&delete pi.format,{showTime:pi})}function Lu(je,nt,lt){if(je===!1)return!1;const qt={clearIcon:nt!=null?nt:lt};return typeof je=="object"?Object.assign(Object.assign({},qt),je):qt}var Wt=ve(3113);function mi(je){return Pe.createElement(Wt.ZP,Object.assign({size:"small",type:"primary"},je))}var Fu={button:mi},_l=function(je,nt){var lt={};for(var qt in je)Object.prototype.hasOwnProperty.call(je,qt)&&nt.indexOf(qt)<0&&(lt[qt]=je[qt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,qt=Object.getOwnPropertySymbols(je);cn{const{prefixCls:cn,getPopupContainer:Rn,className:Zn,placement:di,size:pi,disabled:Ni,bordered:sr=!0,placeholder:Mi,popupClassName:Qi,dropdownClassName:Ai,status:Sr,clearIcon:si,allowClear:_i,rootClassName:xr}=lt,co=_l(lt,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),no=Pe.useRef(null),{getPrefixCls:mo,direction:vo,getPopupContainer:ho}=(0,Pe.useContext)(rl.E_),ur=mo("picker",cn),{compactSize:la,compactItemClassnames:ea}=(0,Qc.ri)(ur,vo),{format:ya,showTime:Va,picker:Ha}=lt,Ba=mo(),[hs,La]=Bs(ur),Ca=Object.assign(Object.assign({},Va?Hr(Object.assign({format:ya,picker:Ha},Va)):{}),Ha==="time"?Hr(Object.assign(Object.assign({format:ya},lt),{picker:Ha})):{}),Ta=(0,oc.Z)(_t=>{var bn;return(bn=pi!=null?pi:la)!==null&&bn!==void 0?bn:_t}),os=Pe.useContext(Sl.Z),fs=Ni!=null?Ni:os,Qa=(0,Pe.useContext)(Sc.aM),{hasFeedback:Oa,status:Is,feedbackIcon:hl}=Qa,it=Pe.createElement(Pe.Fragment,null,Ha==="time"?Pe.createElement(It,null):Pe.createElement(Ue,null),Oa&&hl);(0,Pe.useImperativeHandle)(qt,()=>({focus:()=>{var _t;return(_t=no.current)===null||_t===void 0?void 0:_t.focus()},blur:()=>{var _t;return(_t=no.current)===null||_t===void 0?void 0:_t.blur()}}));const[ft]=(0,xc.Z)("Calendar",gu.Z),Xt=Object.assign(Object.assign({},ft),lt.locale);return hs(Pe.createElement(vl,Object.assign({separator:Pe.createElement("span",{"aria-label":"to",className:`${ur}-separator`},Pe.createElement(Sn,null)),disabled:fs,ref:no,dropdownAlign:Ol(vo,di),placeholder:Hu(Xt,Ha,Mi),suffixIcon:it,prevIcon:Pe.createElement("span",{className:`${ur}-prev-icon`}),nextIcon:Pe.createElement("span",{className:`${ur}-next-icon`}),superPrevIcon:Pe.createElement("span",{className:`${ur}-super-prev-icon`}),superNextIcon:Pe.createElement("span",{className:`${ur}-super-next-icon`}),transitionName:`${Ba}-slide-up`},co,Ca,{className:Ft()({[`${ur}-${Ta}`]:Ta,[`${ur}-borderless`]:!sr},(0,yl.Z)(ur,(0,yl.F)(Is,Sr),Oa),La,ea,Zn,xr),locale:Xt.lang,prefixCls:ur,getPopupContainer:Rn||ho,generateConfig:je,components:Fu,direction:vo,dropdownClassName:Ft()(La,Qi||Ai,xr),allowClear:Lu(_i,si,Pe.createElement(Lt.Z,null))})))})}var jl=function(je,nt){var lt={};for(var qt in je)Object.prototype.hasOwnProperty.call(je,qt)&&nt.indexOf(qt)<0&&(lt[qt]=je[qt]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,qt=Object.getOwnPropertySymbols(je);cn{const{prefixCls:Sr,getPopupContainer:si,style:_i,className:xr,rootClassName:co,size:no,bordered:mo=!0,placement:vo,placeholder:ho,popupClassName:ur,dropdownClassName:la,disabled:ea,status:ya,clearIcon:Va,allowClear:Ha}=Qi,Ba=jl(Qi,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:hs,direction:La,getPopupContainer:Ca,[sr]:Ta}=(0,Pe.useContext)(rl.E_),os=hs("picker",Sr),{compactSize:fs,compactItemClassnames:Qa}=(0,Qc.ri)(os,La),Oa=Pe.useRef(null),{format:Is,showTime:hl}=Qi,[it,ft]=Bs(os);(0,Pe.useImperativeHandle)(Ai,()=>({focus:()=>{var Zi;return(Zi=Oa.current)===null||Zi===void 0?void 0:Zi.focus()},blur:()=>{var Zi;return(Zi=Oa.current)===null||Zi===void 0?void 0:Zi.blur()}}));const Xt={showToday:!0};let _t={};pi&&(_t.picker=pi);const bn=pi||Qi.picker;_t=Object.assign(Object.assign(Object.assign({},_t),hl?Hr(Object.assign({format:Is,picker:bn},hl)):{}),bn==="time"?Hr(Object.assign(Object.assign({format:Is},Qi),{picker:bn})):{});const gn=hs(),Jn=(0,oc.Z)(Zi=>{var Fr;return(Fr=no!=null?no:fs)!==null&&Fr!==void 0?Fr:Zi}),Xn=Pe.useContext(Sl.Z),Vn=ea!=null?ea:Xn,bi=(0,Pe.useContext)(Sc.aM),{hasFeedback:li,status:wi,feedbackIcon:Ji}=bi,Ui=Pe.createElement(Pe.Fragment,null,bn==="time"?Pe.createElement(It,null):Pe.createElement(Ue,null),li&&Ji),[zi]=(0,xc.Z)("DatePicker",gu.Z),yr=Object.assign(Object.assign({},zi),Qi.locale);return it(Pe.createElement(fu,Object.assign({ref:Oa,placeholder:Fa(yr,bn,ho),suffixIcon:Ui,dropdownAlign:Ol(La,vo),prevIcon:Pe.createElement("span",{className:`${os}-prev-icon`}),nextIcon:Pe.createElement("span",{className:`${os}-next-icon`}),superPrevIcon:Pe.createElement("span",{className:`${os}-super-prev-icon`}),superNextIcon:Pe.createElement("span",{className:`${os}-super-next-icon`}),transitionName:`${gn}-slide-up`},Xt,Ba,_t,{locale:yr.lang,className:Ft()({[`${os}-${Jn}`]:Jn,[`${os}-borderless`]:!mo},(0,yl.Z)(os,(0,yl.F)(wi,ya),li),ft,Qa,Ta==null?void 0:Ta.className,xr,co),style:Object.assign(Object.assign({},Ta==null?void 0:Ta.style),_i),prefixCls:os,getPopupContainer:si||Ca,generateConfig:je,components:Fu,direction:La,disabled:Vn,dropdownClassName:Ft()(ft,co,ur||la),allowClear:Lu(Ha,Va,Pe.createElement(Lt.Z,null))})))});return Ni&&(Mi.displayName=Ni),Mi}const lt=nt(),qt=nt("week","WeekPicker"),cn=nt("month","MonthPicker"),Rn=nt("year","YearPicker"),Zn=nt("time","TimePicker"),di=nt("quarter","QuarterPicker");return{DatePicker:lt,WeekPicker:qt,MonthPicker:cn,YearPicker:Rn,TimePicker:Zn,QuarterPicker:di}}const Ic=null;function Ts(je){const{DatePicker:nt,WeekPicker:lt,MonthPicker:qt,YearPicker:cn,TimePicker:Rn,QuarterPicker:Zn}=Pc(je),di=$l(je),pi=nt;return pi.WeekPicker=lt,pi.MonthPicker=qt,pi.YearPicker=cn,pi.RangePicker=di,pi.TimePicker=Rn,pi.QuarterPicker=Zn,pi}var Io=Ts;const wl=Io(ye);function Il(je){const nt=Ol(je.direction,je.placement);return nt.overflow.adjustY=!1,nt.overflow.adjustX=!1,Object.assign(Object.assign({},je),{dropdownAlign:nt})}const ws=(0,Ce.Z)(wl,"picker",null,Il);wl._InternalPanelDoNotUseOrYouWillBeFired=ws;const va=(0,Ce.Z)(wl.RangePicker,"picker",null,Il);wl._InternalRangePanelDoNotUseOrYouWillBeFired=va,wl.generatePicker=Io;var ol=wl},28103:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return dt}});var Se=ve(92310),Oe=ve.n(Se),We=ve(59301),Ot=ve(36355),et=ve(17313),yt=ve(83116),ke=ve(37613);const Bt=Ct=>{const{componentCls:Me,sizePaddingEdgeHorizontal:te,colorSplit:ne,lineWidth:ce,textPaddingInline:se,orientationMargin:ge,verticalMarginInline:ye}=Ct;return{[Me]:Object.assign(Object.assign({},(0,et.Wf)(Ct)),{borderBlockStart:`${ce}px solid ${ne}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ye,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ce}px solid ${ne}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ct.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${Me}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ct.dividerHorizontalWithTextGutterMargin}px 0`,color:Ct.colorTextHeading,fontWeight:500,fontSize:Ct.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ne}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ce}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${Me}-with-text-left`]:{"&::before":{width:`${ge*100}%`},"&::after":{width:`${100-ge*100}%`}},[`&-horizontal${Me}-with-text-right`]:{"&::before":{width:`${100-ge*100}%`},"&::after":{width:`${ge*100}%`}},[`${Me}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:se},"&-dashed":{background:"none",borderColor:ne,borderStyle:"dashed",borderWidth:`${ce}px 0 0`},[`&-horizontal${Me}-with-text${Me}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${Me}-dashed`]:{borderInlineStartWidth:ce,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${Me}-with-text`]:{color:Ct.colorText,fontWeight:"normal",fontSize:Ct.fontSize},[`&-horizontal${Me}-with-text-left${Me}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${Me}-inner-text`]:{paddingInlineStart:te}},[`&-horizontal${Me}-with-text-right${Me}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${Me}-inner-text`]:{paddingInlineEnd:te}}})}};var Et=(0,yt.Z)("Divider",Ct=>{const Me=(0,ke.TS)(Ct,{dividerHorizontalWithTextGutterMargin:Ct.margin,dividerHorizontalGutterMargin:Ct.marginLG,sizePaddingEdgeHorizontal:0});return[Bt(Me)]},Ct=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ct.marginXS})),tt=function(Ct,Me){var te={};for(var ne in Ct)Object.prototype.hasOwnProperty.call(Ct,ne)&&Me.indexOf(ne)<0&&(te[ne]=Ct[ne]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ne=Object.getOwnPropertySymbols(Ct);ce{const{getPrefixCls:Me,direction:te,divider:ne}=We.useContext(Ot.E_),{prefixCls:ce,type:se="horizontal",orientation:ge="center",orientationMargin:ye,className:Ce,rootClassName:Ne,children:Pe,dashed:Ie,plain:Ke,style:Ve}=Ct,Ye=tt(Ct,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),ut=Me("divider",ce),[Ue,Nt]=Et(ut),Qe=ge.length>0?`-${ge}`:ge,Ht=!!Pe,Rt=ge==="left"&&ye!=null,It=ge==="right"&&ye!=null,Lt=Oe()(ut,ne==null?void 0:ne.className,Nt,`${ut}-${se}`,{[`${ut}-with-text`]:Ht,[`${ut}-with-text${Qe}`]:Ht,[`${ut}-dashed`]:!!Ie,[`${ut}-plain`]:!!Ke,[`${ut}-rtl`]:te==="rtl",[`${ut}-no-default-orientation-margin-left`]:Rt,[`${ut}-no-default-orientation-margin-right`]:It},Ce,Ne),Ut=We.useMemo(()=>typeof ye=="number"?ye:/^\d+$/.test(ye)?Number(ye):ye,[ye]),ht=Object.assign(Object.assign({},Rt&&{marginLeft:Ut}),It&&{marginRight:Ut});return Ue(We.createElement("div",Object.assign({className:Lt,style:Object.assign(Object.assign({},ne==null?void 0:ne.style),Ve)},Ye,{role:"separator"}),Pe&&se!=="vertical"&&We.createElement("span",{className:`${ut}-inner-text`,style:ht},Pe)))}},91857:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=ve(38819),We=ve(92310),Ot=ve.n(We),et=ve(31561),yt=ve(70425),ke=ve(18929),Bt=ve(2738),Et=ve(79676),tt=ve(53487),gt=ve(92343),dt=ve(36355),Ct=ve(20834),Me=ve(40875),te=ve(88088),ne=ve(47211);const ce=null,se=Ne=>{const{menu:Pe,arrow:Ie,prefixCls:Ke,children:Ve,trigger:Ye,disabled:ut,dropdownRender:Ue,getPopupContainer:Nt,overlayClassName:Qe,rootClassName:Ht,open:Rt,onOpenChange:It,visible:Lt,onVisibleChange:Ut,mouseEnterDelay:ht=.15,mouseLeaveDelay:Re=.1,autoAdjustOverflow:At=!0,placement:Sn="",overlay:mn,transitionName:Ft}=Ne,{getPopupContainer:en,getPrefixCls:sn,direction:On}=Se.useContext(dt.E_),yn=Se.useMemo(()=>{const me=sn();return Ft!==void 0?Ft:Sn.includes("top")?`${me}-slide-down`:`${me}-slide-up`},[sn,Sn,Ft]),Tn=Se.useMemo(()=>Sn?Sn.includes("Center")?Sn.slice(0,Sn.indexOf("Center")):Sn:On==="rtl"?"bottomRight":"bottomLeft",[Sn,On]),pt=sn("dropdown",Ke),[Un,wn]=(0,ne.Z)(pt),[,An]=(0,te.Z)(),ni=Se.Children.only(Ve),Qt=(0,gt.Tm)(ni,{className:Ot()(`${pt}-trigger`,{[`${pt}-rtl`]:On==="rtl"},ni.props.className),disabled:ut}),Jt=ut?[]:Ye;let St;Jt&&Jt.includes("contextMenu")&&(St=!0);const[Xe,Yt]=(0,ke.Z)(!1,{value:Rt!=null?Rt:Lt}),Kt=(0,yt.useEvent)(me=>{It==null||It(me),Ut==null||Ut(me),Yt(me)}),qe=Ot()(Qe,Ht,wn,{[`${pt}-rtl`]:On==="rtl"}),Ge=(0,Et.Z)({arrowPointAtCenter:typeof Ie=="object"&&Ie.pointAtCenter,autoAdjustOverflow:At,offset:An.marginXXS,arrowWidth:Ie?An.sizePopupArrow:0,borderRadius:An.borderRadius}),Be=Se.useCallback(()=>{Yt(!1)},[]),xe=()=>{let me;return Pe!=null&&Pe.items?me=Se.createElement(Ct.default,Object.assign({},Pe)):typeof mn=="function"?me=mn():me=mn,Ue&&(me=Ue(me)),me=Se.Children.only(typeof me=="string"?Se.createElement("span",null,me):me),Se.createElement(Me.J,{prefixCls:`${pt}-menu`,expandIcon:Se.createElement("span",{className:`${pt}-menu-submenu-arrow`},Se.createElement(Oe.Z,{className:`${pt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Be,validator:Fe=>{let{mode:He}=Fe}},me)};return Un(Se.createElement(et.Z,Object.assign({alignPoint:St},(0,Bt.Z)(Ne,["rootClassName"]),{mouseEnterDelay:ht,mouseLeaveDelay:Re,visible:Xe,builtinPlacements:Ge,arrow:!!Ie,overlayClassName:qe,prefixCls:pt,getPopupContainer:Nt||en,transitionName:yn,trigger:Jt,overlay:xe,placement:Tn,onVisibleChange:Kt}),Qt))};function ge(Ne){return Object.assign(Object.assign({},Ne),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ye=(0,tt.Z)(se,"dropdown",Ne=>Ne,ge),Ce=Ne=>Se.createElement(ye,Object.assign({},Ne),Se.createElement("span",null));se._InternalPanelDoNotUseOrYouWillBeFired=Ce,Nn.Z=se},38854:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return te}});var Se=ve(91857),Oe=ve(92310),We=ve.n(Oe),Ot=ve(59301),et=ve(18785),yt=ve(3113),ke=ve(36355),Bt=ve(81327),Et=ve(33234),tt=ve(47211),gt=function(ne,ce){var se={};for(var ge in ne)Object.prototype.hasOwnProperty.call(ne,ge)&&ce.indexOf(ge)<0&&(se[ge]=ne[ge]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,ge=Object.getOwnPropertySymbols(ne);ye{const{getPopupContainer:ce,getPrefixCls:se,direction:ge}=Ot.useContext(ke.E_),{prefixCls:ye,type:Ce="default",danger:Ne,disabled:Pe,loading:Ie,onClick:Ke,htmlType:Ve,children:Ye,className:ut,menu:Ue,arrow:Nt,autoFocus:Qe,overlay:Ht,trigger:Rt,align:It,open:Lt,onOpenChange:Ut,placement:ht,getPopupContainer:Re,href:At,icon:Sn=Ot.createElement(et.Z,null),title:mn,buttonsRender:Ft=xe=>xe,mouseEnterDelay:en,mouseLeaveDelay:sn,overlayClassName:On,overlayStyle:yn,destroyPopupOnHide:Tn,dropdownRender:pt}=ne,Un=gt(ne,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),wn=se("dropdown",ye),An=`${wn}-button`,[ni,Qt]=(0,tt.Z)(wn),Jt={menu:Ue,arrow:Nt,autoFocus:Qe,align:It,disabled:Pe,trigger:Pe?[]:Rt,onOpenChange:Ut,getPopupContainer:Re||ce,mouseEnterDelay:en,mouseLeaveDelay:sn,overlayClassName:On,overlayStyle:yn,destroyPopupOnHide:Tn,dropdownRender:pt},{compactSize:St,compactItemClassnames:Xe}=(0,Et.ri)(wn,ge),Yt=We()(An,Xe,ut,Qt);"overlay"in ne&&(Jt.overlay=Ht),"open"in ne&&(Jt.open=Lt),"placement"in ne?Jt.placement=ht:Jt.placement=ge==="rtl"?"bottomLeft":"bottomRight";const Kt=Ot.createElement(yt.ZP,{type:Ce,danger:Ne,disabled:Pe,loading:Ie,onClick:Ke,htmlType:Ve,href:At,title:mn},Ye),qe=Ot.createElement(yt.ZP,{type:Ce,danger:Ne,icon:Sn}),[Ge,Be]=Ft([Kt,qe]);return ni(Ot.createElement(Bt.Z.Compact,Object.assign({className:Yt,size:St,block:!0},Un),Ge,Ot.createElement(Se.Z,Object.assign({},Jt),Be)))};dt.__ANT_BUTTON=!0;var Ct=dt;const Me=Se.Z;Me.Button=Ct;var te=Me},47211:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return gt}});var Se=ve(17313),Oe=ve(13826),We=ve(92899),Ot=ve(29878),et=ve(19447),yt=ve(83116),ke=ve(37613),Et=dt=>{const{componentCls:Ct,menuCls:Me,colorError:te,colorTextLightSolid:ne}=dt,ce=`${Me}-item`;return{[`${Ct}, ${Ct}-menu-submenu`]:{[`${Me} ${ce}`]:{[`&${ce}-danger:not(${ce}-disabled)`]:{color:te,"&:hover":{color:ne,backgroundColor:te}}}}}};const tt=dt=>{const{componentCls:Ct,menuCls:Me,zIndexPopup:te,dropdownArrowDistance:ne,sizePopupArrow:ce,antCls:se,iconCls:ge,motionDurationMid:ye,dropdownPaddingVertical:Ce,fontSize:Ne,dropdownEdgeChildPadding:Pe,colorTextDisabled:Ie,fontSizeIcon:Ke,controlPaddingHorizontal:Ve,colorBgElevated:Ye}=dt;return[{[Ct]:Object.assign(Object.assign({},(0,Se.Wf)(dt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:te,display:"block","&::before":{position:"absolute",insetBlock:-ne+ce/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${se}-btn`]:{[`& > ${ge}-down, & > ${se}-btn-icon > ${ge}-down`]:{fontSize:Ke}},[`${Ct}-wrap`]:{position:"relative",[`${se}-btn > ${ge}-down`]:{fontSize:Ke},[`${ge}-down::before`]:{transition:`transform ${ye}`}},[`${Ct}-wrap-open`]:{[`${ge}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${se}-slide-down-enter${se}-slide-down-enter-active${Ct}-placement-bottomLeft, &${se}-slide-down-appear${se}-slide-down-appear-active${Ct}-placement-bottomLeft, &${se}-slide-down-enter${se}-slide-down-enter-active${Ct}-placement-bottom, &${se}-slide-down-appear${se}-slide-down-appear-active${Ct}-placement-bottom, &${se}-slide-down-enter${se}-slide-down-enter-active${Ct}-placement-bottomRight, &${se}-slide-down-appear${se}-slide-down-appear-active${Ct}-placement-bottomRight`]:{animationName:Oe.fJ},[`&${se}-slide-up-enter${se}-slide-up-enter-active${Ct}-placement-topLeft, &${se}-slide-up-appear${se}-slide-up-appear-active${Ct}-placement-topLeft, &${se}-slide-up-enter${se}-slide-up-enter-active${Ct}-placement-top, &${se}-slide-up-appear${se}-slide-up-appear-active${Ct}-placement-top, &${se}-slide-up-enter${se}-slide-up-enter-active${Ct}-placement-topRight, &${se}-slide-up-appear${se}-slide-up-appear-active${Ct}-placement-topRight`]:{animationName:Oe.Qt},[`&${se}-slide-down-leave${se}-slide-down-leave-active${Ct}-placement-bottomLeft, &${se}-slide-down-leave${se}-slide-down-leave-active${Ct}-placement-bottom, &${se}-slide-down-leave${se}-slide-down-leave-active${Ct}-placement-bottomRight`]:{animationName:Oe.Uw},[`&${se}-slide-up-leave${se}-slide-up-leave-active${Ct}-placement-topLeft, &${se}-slide-up-leave${se}-slide-up-leave-active${Ct}-placement-top, &${se}-slide-up-leave${se}-slide-up-leave-active${Ct}-placement-topRight`]:{animationName:Oe.ly}})},(0,et.ZP)(dt,{colorBg:Ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ct} ${Me}`]:{position:"relative",margin:0},[`${Me}-submenu-popup`]:{position:"absolute",zIndex:te,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ct}, ${Ct}-menu-submenu`]:{[Me]:Object.assign(Object.assign({padding:Pe,listStyleType:"none",backgroundColor:Ye,backgroundClip:"padding-box",borderRadius:dt.borderRadiusLG,outline:"none",boxShadow:dt.boxShadowSecondary},(0,Se.Qy)(dt)),{[`${Me}-item-group-title`]:{padding:`${Ce}px ${Ve}px`,color:dt.colorTextDescription,transition:`all ${ye}`},[`${Me}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Me}-item-icon`]:{minWidth:Ne,marginInlineEnd:dt.marginXS,fontSize:dt.fontSizeSM},[`${Me}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ye}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${Me}-item, ${Me}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Ce}px ${Ve}px`,color:dt.colorText,fontWeight:"normal",fontSize:Ne,lineHeight:dt.lineHeight,cursor:"pointer",transition:`all ${ye}`,borderRadius:dt.borderRadiusSM,"&:hover, &-active":{backgroundColor:dt.controlItemBgHover}},(0,Se.Qy)(dt)),{"&-selected":{color:dt.colorPrimary,backgroundColor:dt.controlItemBgActive,"&:hover, &-active":{backgroundColor:dt.controlItemBgActiveHover}},"&-disabled":{color:Ie,cursor:"not-allowed","&:hover":{color:Ie,backgroundColor:Ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${dt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:dt.colorSplit},[`${Ct}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:dt.paddingXS,[`${Ct}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:dt.colorTextDescription,fontSize:Ke,fontStyle:"normal"}}}),[`${Me}-item-group-list`]:{margin:`0 ${dt.marginXS}px`,padding:0,listStyle:"none"},[`${Me}-submenu-title`]:{paddingInlineEnd:Ve+dt.fontSizeSM},[`${Me}-submenu-vertical`]:{position:"relative"},[`${Me}-submenu${Me}-submenu-disabled ${Ct}-menu-submenu-title`]:{[`&, ${Ct}-menu-submenu-arrow-icon`]:{color:Ie,backgroundColor:Ye,cursor:"not-allowed"}},[`${Me}-submenu-selected ${Ct}-menu-submenu-title`]:{color:dt.colorPrimary}})}},[(0,Oe.oN)(dt,"slide-up"),(0,Oe.oN)(dt,"slide-down"),(0,We.Fm)(dt,"move-up"),(0,We.Fm)(dt,"move-down"),(0,Ot._y)(dt,"zoom-big")]]};var gt=(0,yt.Z)("Dropdown",(dt,Ct)=>{let{rootPrefixCls:Me}=Ct;const{marginXXS:te,sizePopupArrow:ne,controlHeight:ce,fontSize:se,lineHeight:ge,paddingXXS:ye,componentCls:Ce,borderRadiusLG:Ne}=dt,Pe=(ce-se*ge)/2,{dropdownArrowOffset:Ie}=(0,et.fS)({contentRadius:Ne}),Ke=(0,ke.TS)(dt,{menuCls:`${Ce}-menu`,rootPrefixCls:Me,dropdownArrowDistance:ne/2+te,dropdownArrowOffset:Ie,dropdownPaddingVertical:Pe,dropdownEdgeChildPadding:ye});return[tt(Ke),Et(Ke)]},dt=>({zIndexPopup:dt.zIndexPopupBase+50}))},64165:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return ye}});var Se=ve(92310),Oe=ve.n(Se),We=ve(59301),Ot=ve(36355),et=ve(9763),yt=ve(64993),ke=ve(88088),Et=()=>{const[,Ce]=(0,ke.Z)(),Pe=new yt.C(Ce.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return We.createElement("svg",{style:Pe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},We.createElement("g",{fill:"none",fillRule:"evenodd"},We.createElement("g",{transform:"translate(24 31.67)"},We.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),We.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),We.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),We.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),We.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),We.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),We.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},We.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),We.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},gt=()=>{const[,Ce]=(0,ke.Z)(),{colorFill:Ne,colorFillTertiary:Pe,colorFillQuaternary:Ie,colorBgContainer:Ke}=Ce,{borderColor:Ve,shadowColor:Ye,contentColor:ut}=(0,We.useMemo)(()=>({borderColor:new yt.C(Ne).onBackground(Ke).toHexShortString(),shadowColor:new yt.C(Pe).onBackground(Ke).toHexShortString(),contentColor:new yt.C(Ie).onBackground(Ke).toHexShortString()}),[Ne,Pe,Ie,Ke]);return We.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},We.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},We.createElement("ellipse",{fill:Ye,cx:"32",cy:"33",rx:"32",ry:"7"}),We.createElement("g",{fillRule:"nonzero",stroke:Ve},We.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),We.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ut}))))},dt=ve(83116),Ct=ve(37613);const Me=Ce=>{const{componentCls:Ne,margin:Pe,marginXS:Ie,marginXL:Ke,fontSize:Ve,lineHeight:Ye}=Ce;return{[Ne]:{marginInline:Ie,fontSize:Ve,lineHeight:Ye,textAlign:"center",[`${Ne}-image`]:{height:Ce.emptyImgHeight,marginBottom:Ie,opacity:Ce.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Ne}-description`]:{color:Ce.colorText},[`${Ne}-footer`]:{marginTop:Pe},"&-normal":{marginBlock:Ke,color:Ce.colorTextDisabled,[`${Ne}-description`]:{color:Ce.colorTextDisabled},[`${Ne}-image`]:{height:Ce.emptyImgHeightMD}},"&-small":{marginBlock:Ie,color:Ce.colorTextDisabled,[`${Ne}-image`]:{height:Ce.emptyImgHeightSM}}}}};var te=(0,dt.Z)("Empty",Ce=>{const{componentCls:Ne,controlHeightLG:Pe}=Ce,Ie=(0,Ct.TS)(Ce,{emptyImgCls:`${Ne}-img`,emptyImgHeight:Pe*2.5,emptyImgHeightMD:Pe,emptyImgHeightSM:Pe*.875});return[Me(Ie)]}),ne=function(Ce,Ne){var Pe={};for(var Ie in Ce)Object.prototype.hasOwnProperty.call(Ce,Ie)&&Ne.indexOf(Ie)<0&&(Pe[Ie]=Ce[Ie]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,Ie=Object.getOwnPropertySymbols(Ce);Ke{var{className:Ne,rootClassName:Pe,prefixCls:Ie,image:Ke=ce,description:Ve,children:Ye,imageStyle:ut,style:Ue}=Ce,Nt=ne(Ce,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Qe,direction:Ht,empty:Rt}=We.useContext(Ot.E_),It=Qe("empty",Ie),[Lt,Ut]=te(It),[ht]=(0,et.Z)("Empty"),Re=typeof Ve!="undefined"?Ve:ht==null?void 0:ht.description,At=typeof Re=="string"?Re:"empty";let Sn=null;return typeof Ke=="string"?Sn=We.createElement("img",{alt:At,src:Ke}):Sn=Ke,Lt(We.createElement("div",Object.assign({className:Oe()(Ut,It,Rt==null?void 0:Rt.className,{[`${It}-normal`]:Ke===se,[`${It}-rtl`]:Ht==="rtl"},Ne,Pe),style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Ue)},Nt),We.createElement("div",{className:`${It}-image`,style:ut},Sn),Re&&We.createElement("div",{className:`${It}-description`},Re),Ye&&We.createElement("div",{className:`${It}-footer`},Ye)))};ge.PRESENTED_IMAGE_DEFAULT=ce,ge.PRESENTED_IMAGE_SIMPLE=se;var ye=ge},78241:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return bt}});var Se=ve(80702),Oe=ve(92310),We=ve.n(Oe),Ot=ve(77900),et=ve(59301),yt=ve(62892),ke=ve(32441);function Bt(ze){const[Gt,an]=et.useState(ze);return et.useEffect(()=>{const ct=setTimeout(()=>{an(ze)},ze.length?0:10);return()=>{clearTimeout(ct)}},[ze]),Gt}var Et=ve(17313),tt=ve(29878),gt=ve(8378),dt=ve(37613),Ct=ve(83116),te=ze=>{const{componentCls:Gt}=ze,an=`${Gt}-show-help`,ct=`${Gt}-show-help-item`;return{[an]:{transition:`opacity ${ze.motionDurationSlow} ${ze.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ct]:{overflow:"hidden",transition:`height ${ze.motionDurationSlow} ${ze.motionEaseInOut}, opacity ${ze.motionDurationSlow} ${ze.motionEaseInOut}, transform ${ze.motionDurationSlow} ${ze.motionEaseInOut} !important`,[`&${ct}-appear, &${ct}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ct}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ne=ze=>({legend:{display:"block",width:"100%",marginBottom:ze.marginLG,padding:0,color:ze.colorTextDescription,fontSize:ze.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`},label:{fontSize:ze.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${ze.controlOutlineWidth}px ${ze.controlOutline}`},output:{display:"block",paddingTop:15,color:ze.colorText,fontSize:ze.fontSize,lineHeight:ze.lineHeight}}),ce=(ze,Gt)=>{const{formItemCls:an}=ze;return{[an]:{[`${an}-label > label`]:{height:Gt},[`${an}-control-input`]:{minHeight:Gt}}}},se=ze=>{const{componentCls:Gt}=ze;return{[ze.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Et.Wf)(ze)),ne(ze)),{[`${Gt}-text`]:{display:"inline-block",paddingInlineEnd:ze.paddingSM},"&-small":Object.assign({},ce(ze,ze.controlHeightSM)),"&-large":Object.assign({},ce(ze,ze.controlHeightLG))})}},ge=ze=>{const{formItemCls:Gt,iconCls:an,componentCls:ct,rootPrefixCls:$e,labelRequiredMarkColor:$t,labelColor:Tt,labelFontSize:Mn,labelHeight:Wn,labelColonMarginInlineStart:st,labelColonMarginInlineEnd:fn,itemMarginBottom:Kn}=ze;return{[Gt]:Object.assign(Object.assign({},(0,Et.Wf)(ze)),{marginBottom:Kn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${$e}-row`]:{display:"none"},"&-has-warning":{[`${Gt}-split`]:{color:ze.colorError}},"&-has-error":{[`${Gt}-split`]:{color:ze.colorWarning}},[`${Gt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${ze.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Wn,color:Tt,fontSize:Mn,[`> ${an}`]:{fontSize:ze.fontSize,verticalAlign:"top"},[`&${Gt}-required:not(${Gt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:ze.marginXXS,color:$t,fontSize:ze.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${ct}-hide-required-mark &`]:{display:"none"}},[`${Gt}-optional`]:{display:"inline-block",marginInlineStart:ze.marginXXS,color:ze.colorTextDescription,[`${ct}-hide-required-mark &`]:{display:"none"}},[`${Gt}-tooltip`]:{color:ze.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ze.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:st,marginInlineEnd:fn},[`&${Gt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Gt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${$e}-col-'"]):not([class*="' ${$e}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ze.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Gt]:{"&-explain, &-extra":{clear:"both",color:ze.colorTextDescription,fontSize:ze.fontSize,lineHeight:ze.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ze.controlHeightSM,transition:`color ${ze.motionDurationMid} ${ze.motionEaseOut}`},"&-explain":{"&-error":{color:ze.colorError},"&-warning":{color:ze.colorWarning}}},[`&-with-help ${Gt}-explain`]:{height:"auto",opacity:1},[`${Gt}-feedback-icon`]:{fontSize:ze.fontSize,textAlign:"center",visibility:"visible",animationName:tt.kr,animationDuration:ze.motionDurationMid,animationTimingFunction:ze.motionEaseOutBack,pointerEvents:"none","&-success":{color:ze.colorSuccess},"&-error":{color:ze.colorError},"&-warning":{color:ze.colorWarning},"&-validating":{color:ze.colorPrimary}}})}},ye=ze=>{const{componentCls:Gt,formItemCls:an}=ze;return{[`${Gt}-horizontal`]:{[`${an}-label`]:{flexGrow:0},[`${an}-control`]:{flex:"1 1 0",minWidth:0},[`${an}-label[class$='-24'], ${an}-label[class*='-24 ']`]:{[`& + ${an}-control`]:{minWidth:"unset"}}}}},Ce=ze=>{const{componentCls:Gt,formItemCls:an}=ze;return{[`${Gt}-inline`]:{display:"flex",flexWrap:"wrap",[an]:{flex:"none",marginInlineEnd:ze.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${an}-label, > ${an}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${an}-label`]:{flex:"none"},[`${Gt}-text`]:{display:"inline-block"},[`${an}-has-feedback`]:{display:"inline-block"}}}}},Ne=ze=>({padding:ze.verticalLabelPadding,margin:ze.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Pe=ze=>{const{componentCls:Gt,formItemCls:an,rootPrefixCls:ct}=ze;return{[`${an} ${an}-label`]:Ne(ze),[Gt]:{[an]:{flexWrap:"wrap",[`${an}-label, ${an}-control`]:{[`&:not([class*=" ${ct}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ie=ze=>{const{componentCls:Gt,formItemCls:an,rootPrefixCls:ct}=ze;return{[`${Gt}-vertical`]:{[an]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Gt}-item-control`]:{width:"100%"}}},[`${Gt}-vertical ${an}-label, .${ct}-col-24${an}-label, .${ct}-col-xl-24${an}-label`]:Ne(ze),[`@media (max-width: ${ze.screenXSMax}px)`]:[Pe(ze),{[Gt]:{[`.${ct}-col-xs-24${an}-label`]:Ne(ze)}}],[`@media (max-width: ${ze.screenSMMax}px)`]:{[Gt]:{[`.${ct}-col-sm-24${an}-label`]:Ne(ze)}},[`@media (max-width: ${ze.screenMDMax}px)`]:{[Gt]:{[`.${ct}-col-md-24${an}-label`]:Ne(ze)}},[`@media (max-width: ${ze.screenLGMax}px)`]:{[Gt]:{[`.${ct}-col-lg-24${an}-label`]:Ne(ze)}}}},Ke=(ze,Gt)=>(0,dt.TS)(ze,{formItemCls:`${ze.componentCls}-item`,rootPrefixCls:Gt});var Ve=(0,Ct.Z)("Form",(ze,Gt)=>{let{rootPrefixCls:an}=Gt;const ct=Ke(ze,an);return[se(ct),ge(ct),te(ct),ye(ct),Ce(ct),Ie(ct),(0,gt.Z)(ct),tt.kr]},ze=>({labelRequiredMarkColor:ze.colorError,labelColor:ze.colorTextHeading,labelFontSize:ze.fontSize,labelHeight:ze.controlHeight,labelColonMarginInlineStart:ze.marginXXS/2,labelColonMarginInlineEnd:ze.marginXS,itemMarginBottom:ze.marginLG,verticalLabelPadding:`0 0 ${ze.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Ye=[];function ut(ze,Gt,an){let ct=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ze=="string"?ze:`${Gt}-${ct}`,error:ze,errorStatus:an}}var Nt=ze=>{let{help:Gt,helpStatus:an,errors:ct=Ye,warnings:$e=Ye,className:$t,fieldId:Tt,onVisibleChanged:Mn}=ze;const{prefixCls:Wn}=et.useContext(ke.Rk),st=`${Wn}-item-explain`,[,fn]=Ve(Wn),Kn=(0,et.useMemo)(()=>(0,yt.Z)(Wn),[Wn]),_n=Bt(ct),nn=Bt($e),hn=et.useMemo(()=>Gt!=null?[ut(Gt,"help",an)]:[].concat((0,Se.Z)(_n.map((gi,yi)=>ut(gi,"error","error",yi))),(0,Se.Z)(nn.map((gi,yi)=>ut(gi,"warning","warning",yi)))),[Gt,an,_n,nn]),ri={};return Tt&&(ri.id=`${Tt}_help`),et.createElement(Ot.default,{motionDeadline:Kn.motionDeadline,motionName:`${Wn}-show-help`,visible:!!hn.length,onVisibleChanged:Mn},gi=>{const{className:yi,style:oi}=gi;return et.createElement("div",Object.assign({},ri,{className:We()(st,yi,$t,fn),style:oi,role:"alert"}),et.createElement(Ot.CSSMotionList,Object.assign({keys:hn},(0,yt.Z)(Wn),{motionName:`${Wn}-show-help-item`,component:!1}),Ci=>{const{key:Li,error:qi,errorStatus:lr,className:er,style:Ln}=Ci;return et.createElement("div",{key:Li,className:We()(er,{[`${st}-${lr}`]:lr}),style:Ln},qi)}))})},Qe=ve(95013),Ht=ve(36355),Rt=ve(1684),It=ve(52946),Lt=ve(19716),Ut=ve(16722);const ht=["parentNode"],Re="form_item";function At(ze){return ze===void 0||ze===!1?[]:Array.isArray(ze)?ze:[ze]}function Sn(ze,Gt){if(!ze.length)return;const an=ze.join("_");return Gt?`${Gt}_${an}`:ht.includes(an)?`${Re}_${an}`:an}function mn(ze,Gt,an,ct,$e,$t){let Tt=ct;return $t!==void 0?Tt=$t:an.validating?Tt="validating":ze.length?Tt="error":Gt.length?Tt="warning":(an.touched||$e&&an.validated)&&(Tt="success"),Tt}function Ft(ze){return At(ze).join("_")}function en(ze){const[Gt]=(0,Qe.useForm)(),an=et.useRef({}),ct=et.useMemo(()=>ze!=null?ze:Object.assign(Object.assign({},Gt),{__INTERNAL__:{itemRef:$e=>$t=>{const Tt=Ft($e);$t?an.current[Tt]=$t:delete an.current[Tt]}},scrollToField:function($e){let $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Tt=At($e),Mn=Sn(Tt,ct.__INTERNAL__.name),Wn=Mn?document.getElementById(Mn):null;Wn&&(0,Ut.Z)(Wn,Object.assign({scrollMode:"if-needed",block:"nearest"},$t))},getFieldInstance:$e=>{const $t=Ft($e);return an.current[$t]}}),[ze,Gt]);return[ct]}var sn=ve(28726),On=function(ze,Gt){var an={};for(var ct in ze)Object.prototype.hasOwnProperty.call(ze,ct)&&Gt.indexOf(ct)<0&&(an[ct]=ze[ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ct=Object.getOwnPropertySymbols(ze);$e{const an=et.useContext(Rt.Z),{getPrefixCls:ct,direction:$e,form:$t}=et.useContext(Ht.E_),{prefixCls:Tt,className:Mn,rootClassName:Wn,size:st,disabled:fn=an,form:Kn,colon:_n,labelAlign:nn,labelWrap:hn,labelCol:ri,wrapperCol:gi,hideRequiredMark:yi,layout:oi="horizontal",scrollToFirstError:Ci,requiredMark:Li,onFinishFailed:qi,name:lr,style:er,feedbackIcons:Ln}=ze,Nr=On(ze,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ar=(0,Lt.Z)(st),$r=et.useContext(sn.Z),En=(0,et.useMemo)(()=>Li!==void 0?Li:$t&&$t.requiredMark!==void 0?$t.requiredMark:!yi,[yi,Li,$t]),ci=_n!=null?_n:$t==null?void 0:$t.colon,Ii=ct("form",Tt),[ir,Ki]=Ve(Ii),rr=We()(Ii,`${Ii}-${oi}`,{[`${Ii}-hide-required-mark`]:En===!1,[`${Ii}-rtl`]:$e==="rtl",[`${Ii}-${Ar}`]:Ar},Ki,$t==null?void 0:$t.className,Mn,Wn),[Er]=en(Kn),{__INTERNAL__:Bi}=Er;Bi.name=lr;const Yi=(0,et.useMemo)(()=>({name:lr,labelAlign:nn,labelCol:ri,labelWrap:hn,wrapperCol:gi,vertical:oi==="vertical",colon:ci,requiredMark:En,itemRef:Bi.itemRef,form:Er,feedbackIcons:Ln}),[lr,nn,ri,gi,oi,ci,En,Er,Ln]);et.useImperativeHandle(Gt,()=>Er);const Wi=(Lr,Fn)=>{if(Lr){let fr={block:"nearest"};typeof Lr=="object"&&(fr=Lr),Er.scrollToField(Fn,fr)}},Bn=Lr=>{if(qi==null||qi(Lr),Lr.errorFields.length){const Fn=Lr.errorFields[0].name;if(Ci!==void 0){Wi(Ci,Fn);return}$t&&$t.scrollToFirstError!==void 0&&Wi($t.scrollToFirstError,Fn)}};return ir(et.createElement(Rt.n,{disabled:fn},et.createElement(It.q,{size:Ar},et.createElement(ke.RV,Object.assign({},{validateMessages:$r}),et.createElement(ke.q3.Provider,{value:Yi},et.createElement(Qe.default,Object.assign({id:lr},Nr,{name:lr,onFinishFailed:Bn,form:Er,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),er),className:rr})))))))};var pt=et.forwardRef(yn),Un=ve(41799),wn=ve(8654),An=ve(92343),ni=ve(11592);function Qt(ze){if(typeof ze=="function")return ze;const Gt=(0,ni.Z)(ze);return Gt.length<=1?Gt[0]:Gt}const Jt=()=>{const{status:ze,errors:Gt=[],warnings:an=[]}=(0,et.useContext)(ke.aM);return{status:ze,errors:Gt,warnings:an}};Jt.Context=ke.aM;var St=Jt,Xe=ve(16089);function Yt(ze){const[Gt,an]=et.useState(ze),ct=(0,et.useRef)(null),$e=(0,et.useRef)([]),$t=(0,et.useRef)(!1);et.useEffect(()=>($t.current=!1,()=>{$t.current=!0,Xe.Z.cancel(ct.current),ct.current=null}),[]);function Tt(Mn){$t.current||(ct.current===null&&($e.current=[],ct.current=(0,Xe.Z)(()=>{ct.current=null,an(Wn=>{let st=Wn;return $e.current.forEach(fn=>{st=fn(st)}),st})})),$e.current.push(Mn))}return[Gt,Tt]}function Kt(){const{itemRef:ze}=et.useContext(ke.q3),Gt=et.useRef({});function an(ct,$e){const $t=$e&&typeof $e=="object"&&$e.ref,Tt=ct.join("_");return(Gt.current.name!==Tt||Gt.current.originRef!==$t)&&(Gt.current.name=Tt,Gt.current.originRef=$t,Gt.current.ref=(0,wn.sQ)(ze(ct),$t)),Gt.current.ref}return an}var qe=ve(29194),Ge=ve(34280),Be=ve(2738),xe=ve(27382),me=ve(37028);const Fe=ze=>{const{formItemCls:Gt}=ze;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Gt}-control`]:{display:"flex"}}}};var He=(0,Ct.b)(["Form","item-item"],(ze,Gt)=>{let{rootPrefixCls:an}=Gt;const ct=Ke(ze,an);return[Fe(ct)]}),mt=ze=>{const{prefixCls:Gt,status:an,wrapperCol:ct,children:$e,errors:$t,warnings:Tt,_internalItemRender:Mn,extra:Wn,help:st,fieldId:fn,marginBottom:Kn,onErrorVisibleChanged:_n}=ze,nn=`${Gt}-item`,hn=et.useContext(ke.q3),ri=ct||hn.wrapperCol||{},gi=We()(`${nn}-control`,ri.className),yi=et.useMemo(()=>Object.assign({},hn),[hn]);delete yi.labelCol,delete yi.wrapperCol;const oi=et.createElement("div",{className:`${nn}-control-input`},et.createElement("div",{className:`${nn}-control-input-content`},$e)),Ci=et.useMemo(()=>({prefixCls:Gt,status:an}),[Gt,an]),Li=Kn!==null||$t.length||Tt.length?et.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},et.createElement(ke.Rk.Provider,{value:Ci},et.createElement(Nt,{fieldId:fn,errors:$t,warnings:Tt,help:st,helpStatus:an,className:`${nn}-explain-connected`,onVisibleChanged:_n})),!!Kn&&et.createElement("div",{style:{width:0,height:Kn}})):null,qi={};fn&&(qi.id=`${fn}_extra`);const lr=Wn?et.createElement("div",Object.assign({},qi,{className:`${nn}-extra`}),Wn):null,er=Mn&&Mn.mark==="pro_table_render"&&Mn.render?Mn.render(ze,{input:oi,errorList:Li,extra:lr}):et.createElement(et.Fragment,null,oi,Li,lr);return et.createElement(ke.q3.Provider,{value:yi},et.createElement(me.Z,Object.assign({},ri,{className:gi}),er),et.createElement(He,{prefixCls:Gt}))},zt=ve(61485),Pn=ve(31724),rn=ve(9763),In=ve(6848),Gn=function(ze,Gt){var an={};for(var ct in ze)Object.prototype.hasOwnProperty.call(ze,ct)&&Gt.indexOf(ct)<0&&(an[ct]=ze[ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ct=Object.getOwnPropertySymbols(ze);$e{let{prefixCls:Gt,label:an,htmlFor:ct,labelCol:$e,labelAlign:$t,colon:Tt,required:Mn,requiredMark:Wn,tooltip:st}=ze;var fn;const[Kn]=(0,rn.Z)("Form"),{vertical:_n,labelAlign:nn,labelCol:hn,labelWrap:ri,colon:gi}=et.useContext(ke.q3);if(!an)return null;const yi=$e||hn||{},oi=$t||nn,Ci=`${Gt}-item-label`,Li=We()(Ci,oi==="left"&&`${Ci}-left`,yi.className,{[`${Ci}-wrap`]:!!ri});let qi=an;const lr=Tt===!0||gi!==!1&&Tt!==!1;lr&&!_n&&typeof an=="string"&&an.trim()!==""&&(qi=an.replace(/[:|:]\s*$/,""));const Ln=Pi(st);if(Ln){const{icon:En=et.createElement(zt.Z,null)}=Ln,ci=Gn(Ln,["icon"]),Ii=et.createElement(In.Z,Object.assign({},ci),et.cloneElement(En,{className:`${Gt}-item-tooltip`,title:""}));qi=et.createElement(et.Fragment,null,qi,Ii)}const Nr=Wn==="optional",Ar=typeof Wn=="function";Ar?qi=Wn(qi,{required:!!Mn}):Nr&&!Mn&&(qi=et.createElement(et.Fragment,null,qi,et.createElement("span",{className:`${Gt}-item-optional`,title:""},(Kn==null?void 0:Kn.optional)||((fn=Pn.Z.Form)===null||fn===void 0?void 0:fn.optional))));const $r=We()({[`${Gt}-item-required`]:Mn,[`${Gt}-item-required-mark-optional`]:Nr||Ar,[`${Gt}-item-no-colon`]:!lr});return et.createElement(me.Z,Object.assign({},yi,{className:Li}),et.createElement("label",{htmlFor:ct,className:$r,title:typeof an=="string"?an:""},qi))},Dn=ve(29679),or=ve(19248),jr=ve(96512),Gr=ve(58617);const Ir={success:Dn.Z,warning:jr.Z,error:or.Z,validating:Gr.Z};function wr(ze){let{children:Gt,errors:an,warnings:ct,hasFeedback:$e,validateStatus:$t,prefixCls:Tt,meta:Mn,noStyle:Wn}=ze;const st=`${Tt}-item`,{feedbackIcons:fn}=et.useContext(ke.q3),Kn=mn(an,ct,Mn,null,!!$e,$t),{isFormItemInput:_n,status:nn}=et.useContext(ke.aM),hn=et.useMemo(()=>{var ri;let gi;if($e){const Ci=$e!==!0&&$e.icons||fn,Li=Kn&&((ri=Ci==null?void 0:Ci({status:Kn,errors:an,warnings:ct}))===null||ri===void 0?void 0:ri[Kn]),qi=Kn&&Ir[Kn];gi=Li!==!1&&qi?et.createElement("span",{className:We()(`${st}-feedback-icon`,`${st}-feedback-icon-${Kn}`)},Li||et.createElement(qi,null)):null}let yi=!0,oi=Kn||"";return Wn&&(yi=_n,oi=(Kn!=null?Kn:nn)||""),{status:oi,errors:an,warnings:ct,hasFeedback:!!$e,feedbackIcon:gi,isFormItemInput:yi}},[Kn,$e,Wn,_n,nn]);return et.createElement(ke.aM.Provider,{value:hn},Gt)}var so=function(ze,Gt){var an={};for(var ct in ze)Object.prototype.hasOwnProperty.call(ze,ct)&&Gt.indexOf(ct)<0&&(an[ct]=ze[ct]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ct=Object.getOwnPropertySymbols(ze);$e{if(Ln&&Li.current){const Ki=getComputedStyle(Li.current);$r(parseInt(Ki.marginBottom,10))}},[Ln,Nr]);const En=Ki=>{Ki||$r(null)},Ii=function(){let Ki=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const rr=Ki?qi:st.errors,Er=Ki?lr:st.warnings;return mn(rr,Er,st,"",!!fn,Wn)}(),ir=We()(oi,an,ct,{[`${oi}-with-help`]:er||qi.length||lr.length,[`${oi}-has-feedback`]:Ii&&fn,[`${oi}-has-success`]:Ii==="success",[`${oi}-has-warning`]:Ii==="warning",[`${oi}-has-error`]:Ii==="error",[`${oi}-is-validating`]:Ii==="validating",[`${oi}-hidden`]:Kn});return et.createElement("div",{className:ir,style:$e,ref:Li},et.createElement(xe.Z,Object.assign({className:`${oi}-row`},(0,Be.Z)(yi,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),et.createElement(Gi,Object.assign({htmlFor:nn},ze,{requiredMark:Ci,required:hn!=null?hn:ri,prefixCls:Gt})),et.createElement(mt,Object.assign({},ze,st,{errors:qi,warnings:lr,prefixCls:Gt,status:Ii,help:$t,marginBottom:Ar,onErrorVisibleChanged:En}),et.createElement(ke.qI.Provider,{value:gi},et.createElement(wr,{prefixCls:Gt,meta:st,errors:st.errors,warnings:st.warnings,hasFeedback:fn,validateStatus:Ii},_n)))),!!Ar&&et.createElement("div",{className:`${oi}-margin-offset`,style:{marginBottom:-Ar}}))}const hr="__SPLIT__",No=null,vi=et.memo(ze=>{let{children:Gt}=ze;return Gt},(ze,Gt)=>ze.value===Gt.value&&ze.update===Gt.update&&ze.childProps.length===Gt.childProps.length&&ze.childProps.every((an,ct)=>an===Gt.childProps[ct]));function Ee(ze){return ze!=null}function $n(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function fi(ze){const{name:Gt,noStyle:an,className:ct,dependencies:$e,prefixCls:$t,shouldUpdate:Tt,rules:Mn,children:Wn,required:st,label:fn,messageVariables:Kn,trigger:_n="onChange",validateTrigger:nn,hidden:hn,help:ri}=ze,{getPrefixCls:gi}=et.useContext(Ht.E_),{name:yi}=et.useContext(ke.q3),oi=Qt(Wn),Ci=typeof oi=="function",Li=et.useContext(ke.qI),{validateTrigger:qi}=et.useContext(Qe.FieldContext),lr=nn!==void 0?nn:qi,er=Ee(Gt),Ln=gi("form",$t),[Nr,Ar]=Ve(Ln),$r=et.useContext(Qe.ListContext),En=et.useRef(),[ci,Ii]=Yt({}),[ir,Ki]=(0,Un.Z)(()=>$n()),rr=Fn=>{const fr=$r==null?void 0:$r.getKey(Fn.name);if(Ki(Fn.destroy?$n():Fn,!0),an&&ri!==!1&&Li){let Qr=Fn.name;if(Fn.destroy)Qr=En.current||Qr;else if(fr!==void 0){const[Pr,Ao]=fr;Qr=[Pr].concat((0,Se.Z)(Ao)),En.current=Qr}Li(Fn,Qr)}},Er=(Fn,fr)=>{Ii(Qr=>{const Pr=Object.assign({},Qr),po=[].concat((0,Se.Z)(Fn.name.slice(0,-1)),(0,Se.Z)(fr)).join(hr);return Fn.destroy?delete Pr[po]:Pr[po]=Fn,Pr})},[Bi,Yi]=et.useMemo(()=>{const Fn=(0,Se.Z)(ir.errors),fr=(0,Se.Z)(ir.warnings);return Object.values(ci).forEach(Qr=>{Fn.push.apply(Fn,(0,Se.Z)(Qr.errors||[])),fr.push.apply(fr,(0,Se.Z)(Qr.warnings||[]))}),[Fn,fr]},[ci,ir.errors,ir.warnings]),Wi=Kt();function Bn(Fn,fr,Qr){return an&&!hn?et.createElement(wr,{prefixCls:Ln,hasFeedback:ze.hasFeedback,validateStatus:ze.validateStatus,meta:ir,errors:Bi,warnings:Yi,noStyle:!0},Fn):et.createElement(Rr,Object.assign({key:"row"},ze,{className:We()(ct,Ar),prefixCls:Ln,fieldId:fr,isRequired:Qr,errors:Bi,warnings:Yi,meta:ir,onSubItemMetaChange:Er}),Fn)}if(!er&&!Ci&&!$e)return Nr(Bn(oi));let Lr={};return typeof fn=="string"?Lr.label=fn:Gt&&(Lr.label=String(Gt)),Kn&&(Lr=Object.assign(Object.assign({},Lr),Kn)),Nr(et.createElement(Qe.Field,Object.assign({},ze,{messageVariables:Lr,trigger:_n,validateTrigger:lr,onMetaChange:rr}),(Fn,fr,Qr)=>{const Pr=At(Gt).length&&fr?fr.name:[],Ao=Sn(Pr,yi),po=st!==void 0?st:!!(Mn&&Mn.some(cr=>{if(cr&&typeof cr=="object"&&cr.required&&!cr.warningOnly)return!0;if(typeof cr=="function"){const Yr=cr(Qr);return Yr&&Yr.required&&!Yr.warningOnly}return!1})),vr=Object.assign({},Fn);let gr=null;if(Array.isArray(oi)&&er)gr=oi;else if(!(Ci&&(!(Tt||$e)||er))){if(!($e&&!Ci&&!er))if((0,An.l$)(oi)){const cr=Object.assign(Object.assign({},oi.props),vr);if(cr.id||(cr.id=Ao),ri||Bi.length>0||Yi.length>0||ze.extra){const _e=[];(ri||Bi.length>0)&&_e.push(`${Ao}_help`),ze.extra&&_e.push(`${Ao}_extra`),cr["aria-describedby"]=_e.join(" ")}Bi.length>0&&(cr["aria-invalid"]="true"),po&&(cr["aria-required"]="true"),(0,wn.Yr)(oi)&&(cr.ref=Wi(Pr,oi)),new Set([].concat((0,Se.Z)(At(_n)),(0,Se.Z)(At(lr)))).forEach(_e=>{cr[_e]=function(){for(var xt,Dt,un,jn,ai,Vt=arguments.length,Cn=new Array(Vt),ii=0;ii{var{prefixCls:Gt,children:an}=ze,ct=Yn(ze,["prefixCls","children"]);const{getPrefixCls:$e}=et.useContext(Ht.E_),$t=$e("form",Gt),Tt=et.useMemo(()=>({prefixCls:$t,status:"error"}),[$t]);return et.createElement(Qe.List,Object.assign({},ct),(Mn,Wn,st)=>et.createElement(ke.Rk.Provider,{value:Tt},an(Mn.map(fn=>Object.assign(Object.assign({},fn),{fieldKey:fn.key})),Wn,{errors:st.errors,warnings:st.warnings})))};function on(){const{form:ze}=(0,et.useContext)(ke.q3);return ze}const wt=pt;wt.Item=ei,wt.List=tn,wt.ErrorList=Nt,wt.useForm=en,wt.useFormInstance=on,wt.useWatch=Qe.useWatch,wt.Provider=ke.RV,wt.create=()=>{};var bt=wt},8628:function(zn,Nn,ve){"use strict";var Se=ve(59301),Oe=ve(34280),We=ve(56762),Ot=ve(69507);function et(){let yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ke=(0,Se.useRef)({}),Bt=(0,We.Z)(),Et=(0,Ot.ZP)();return(0,Oe.Z)(()=>{const tt=Et.subscribe(gt=>{ke.current=gt,yt&&Bt()});return()=>Et.unsubscribe(tt)},[]),ke.current}Nn.Z=et},9432:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return ge},n:function(){return ce}});var Se=ve(19248),Oe=ve(92310),We=ve.n(Oe),Ot=ve(93681),et=ve(8654),yt=ve(59301),ke=ve(19080),Bt=ve(36355),Et=ve(1684),tt=ve(19716),gt=ve(32441),dt=ve(33234),Ct=ve(59412),Me=ve(9937);function te(ye){return!!(ye.prefix||ye.suffix||ye.allowClear)}var ne=function(ye,Ce){var Ne={};for(var Pe in ye)Object.prototype.hasOwnProperty.call(ye,Pe)&&Ce.indexOf(Pe)<0&&(Ne[Pe]=ye[Pe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Pe=Object.getOwnPropertySymbols(ye);Ie{var Ne;const{prefixCls:Pe,bordered:Ie=!0,status:Ke,size:Ve,disabled:Ye,onBlur:ut,onFocus:Ue,suffix:Nt,allowClear:Qe,addonAfter:Ht,addonBefore:Rt,className:It,style:Lt,styles:Ut,rootClassName:ht,onChange:Re,classNames:At}=ye,Sn=ne(ye,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:mn,direction:Ft,input:en}=yt.useContext(Bt.E_),sn=mn("input",Pe),On=(0,yt.useRef)(null),[yn,Tn]=(0,Me.ZP)(sn),{compactSize:pt,compactItemClassnames:Un}=(0,dt.ri)(sn,Ft),wn=(0,tt.Z)(He=>{var Le;return(Le=Ve!=null?Ve:pt)!==null&&Le!==void 0?Le:He}),An=yt.useContext(Et.Z),ni=Ye!=null?Ye:An,{status:Qt,hasFeedback:Jt,feedbackIcon:St}=(0,yt.useContext)(gt.aM),Xe=(0,ke.F)(Qt,Ke),Yt=te(ye)||!!Jt,Kt=(0,yt.useRef)(Yt);(0,yt.useEffect)(()=>{var He;Yt&&Kt.current,Kt.current=Yt},[Yt]);const qe=(0,Ct.Z)(On,!0),Ge=He=>{qe(),ut==null||ut(He)},Be=He=>{qe(),Ue==null||Ue(He)},xe=He=>{qe(),Re==null||Re(He)},me=(Jt||Nt)&&yt.createElement(yt.Fragment,null,Nt,Jt&&St);let Fe;return typeof Qe=="object"&&(Qe!=null&&Qe.clearIcon)?Fe=Qe:Qe&&(Fe={clearIcon:yt.createElement(Se.Z,null)}),yn(yt.createElement(Ot.default,Object.assign({ref:(0,et.sQ)(Ce,On),prefixCls:sn,autoComplete:en==null?void 0:en.autoComplete},Sn,{disabled:ni,onBlur:Ge,onFocus:Be,style:Object.assign(Object.assign({},en==null?void 0:en.style),Lt),styles:Object.assign(Object.assign({},en==null?void 0:en.styles),Ut),suffix:me,allowClear:Fe,className:We()(It,ht,Un,en==null?void 0:en.className),onChange:xe,addonAfter:Ht&&yt.createElement(dt.BR,null,yt.createElement(gt.Ux,{override:!0,status:!0},Ht)),addonBefore:Rt&&yt.createElement(dt.BR,null,yt.createElement(gt.Ux,{override:!0,status:!0},Rt)),classNames:Object.assign(Object.assign(Object.assign({},At),en==null?void 0:en.classNames),{input:We()({[`${sn}-sm`]:wn==="small",[`${sn}-lg`]:wn==="large",[`${sn}-rtl`]:Ft==="rtl",[`${sn}-borderless`]:!Ie},!Yt&&(0,ke.Z)(sn,Xe),At==null?void 0:At.input,(Ne=en==null?void 0:en.classNames)===null||Ne===void 0?void 0:Ne.input,Tn)}),classes:{affixWrapper:We()({[`${sn}-affix-wrapper-sm`]:wn==="small",[`${sn}-affix-wrapper-lg`]:wn==="large",[`${sn}-affix-wrapper-rtl`]:Ft==="rtl",[`${sn}-affix-wrapper-borderless`]:!Ie},(0,ke.Z)(`${sn}-affix-wrapper`,Xe,Jt),Tn),wrapper:We()({[`${sn}-group-rtl`]:Ft==="rtl"},Tn),group:We()({[`${sn}-group-wrapper-sm`]:wn==="small",[`${sn}-group-wrapper-lg`]:wn==="large",[`${sn}-group-wrapper-rtl`]:Ft==="rtl",[`${sn}-group-wrapper-disabled`]:ni},(0,ke.Z)(`${sn}-group-wrapper`,Xe,Jt),Tn)}})))})},1643:function(zn,Nn,ve){"use strict";var Se=ve(19248),Oe=ve(92310),We=ve.n(Oe),Ot=ve(9296),et=ve(59301),yt=ve(19080),ke=ve(36355),Bt=ve(1684),Et=ve(19716),tt=ve(32441),gt=ve(9432),dt=ve(9937),Ct=function(te,ne){var ce={};for(var se in te)Object.prototype.hasOwnProperty.call(te,se)&&ne.indexOf(se)<0&&(ce[se]=te[se]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,se=Object.getOwnPropertySymbols(te);ge{const{prefixCls:ce,bordered:se=!0,size:ge,disabled:ye,status:Ce,allowClear:Ne,showCount:Pe,classNames:Ie,rootClassName:Ke,className:Ve}=te,Ye=Ct(te,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:ut,direction:Ue}=et.useContext(ke.E_),Nt=(0,Et.Z)(ge),Qe=et.useContext(Bt.Z),Ht=ye!=null?ye:Qe,{status:Rt,hasFeedback:It,feedbackIcon:Lt}=et.useContext(tt.aM),Ut=(0,yt.F)(Rt,Ce),ht=et.useRef(null);et.useImperativeHandle(ne,()=>{var Ft;return{resizableTextArea:(Ft=ht.current)===null||Ft===void 0?void 0:Ft.resizableTextArea,focus:en=>{var sn,On;(0,gt.n)((On=(sn=ht.current)===null||sn===void 0?void 0:sn.resizableTextArea)===null||On===void 0?void 0:On.textArea,en)},blur:()=>{var en;return(en=ht.current)===null||en===void 0?void 0:en.blur()}}});const Re=ut("input",ce);let At;typeof Ne=="object"&&(Ne!=null&&Ne.clearIcon)?At=Ne:Ne&&(At={clearIcon:et.createElement(Se.Z,null)});const[Sn,mn]=(0,dt.ZP)(Re);return Sn(et.createElement(Ot.default,Object.assign({},Ye,{disabled:Ht,allowClear:At,className:We()(Ve,Ke),classes:{affixWrapper:We()(`${Re}-textarea-affix-wrapper`,{[`${Re}-affix-wrapper-rtl`]:Ue==="rtl",[`${Re}-affix-wrapper-borderless`]:!se,[`${Re}-affix-wrapper-sm`]:Nt==="small",[`${Re}-affix-wrapper-lg`]:Nt==="large",[`${Re}-textarea-show-count`]:Pe},(0,yt.Z)(`${Re}-affix-wrapper`,Ut),mn)},classNames:Object.assign(Object.assign({},Ie),{textarea:We()({[`${Re}-borderless`]:!se,[`${Re}-sm`]:Nt==="small",[`${Re}-lg`]:Nt==="large"},(0,yt.Z)(Re,Ut),mn,Ie==null?void 0:Ie.textarea)}),prefixCls:Re,suffix:It&&et.createElement("span",{className:`${Re}-textarea-suffix`},Lt),showCount:Pe,ref:ht})))});Nn.Z=Me},59412:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Oe}});var Se=ve(59301);function Oe(We,Ot){const et=(0,Se.useRef)([]),yt=()=>{et.current.push(setTimeout(()=>{var ke,Bt,Et,tt;!((ke=We.current)===null||ke===void 0)&&ke.input&&((Bt=We.current)===null||Bt===void 0?void 0:Bt.input.getAttribute("type"))==="password"&&(!((Et=We.current)===null||Et===void 0)&&Et.input.hasAttribute("value"))&&((tt=We.current)===null||tt===void 0||tt.input.removeAttribute("value"))}))};return(0,Se.useEffect)(()=>(Ot&&yt(),()=>et.current.forEach(ke=>{ke&&clearTimeout(ke)})),[]),yt}},92832:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return Nt}});var Se=ve(92310),Oe=ve.n(Se),We=ve(59301),Ot=ve(36355),et=ve(32441),yt=ve(9937),Bt=Qe=>{const{getPrefixCls:Ht,direction:Rt}=(0,We.useContext)(Ot.E_),{prefixCls:It,className:Lt}=Qe,Ut=Ht("input-group",It),ht=Ht("input"),[Re,At]=(0,yt.ZP)(ht),Sn=Oe()(Ut,{[`${Ut}-lg`]:Qe.size==="large",[`${Ut}-sm`]:Qe.size==="small",[`${Ut}-compact`]:Qe.compact,[`${Ut}-rtl`]:Rt==="rtl"},At,Lt),mn=(0,We.useContext)(et.aM),Ft=(0,We.useMemo)(()=>Object.assign(Object.assign({},mn),{isFormItemInput:!1}),[mn]);return Re(We.createElement("span",{className:Sn,style:Qe.style,onMouseEnter:Qe.onMouseEnter,onMouseLeave:Qe.onMouseLeave,onFocus:Qe.onFocus,onBlur:Qe.onBlur},We.createElement(et.aM.Provider,{value:Ft},Qe.children)))},Et=ve(9432),tt=ve(73331),gt=ve(15277),dt=ve(2738),Ct=ve(8654),Me=ve(59412),te=function(Qe,Ht){var Rt={};for(var It in Qe)Object.prototype.hasOwnProperty.call(Qe,It)&&Ht.indexOf(It)<0&&(Rt[It]=Qe[It]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,It=Object.getOwnPropertySymbols(Qe);LtQe?We.createElement(gt.Z,null):We.createElement(tt.Z,null),ce={click:"onClick",hover:"onMouseOver"};var ge=We.forwardRef((Qe,Ht)=>{const{visibilityToggle:Rt=!0}=Qe,It=typeof Rt=="object"&&Rt.visible!==void 0,[Lt,Ut]=(0,We.useState)(()=>It?Rt.visible:!1),ht=(0,We.useRef)(null);We.useEffect(()=>{It&&Ut(Rt.visible)},[It,Rt]);const Re=(0,Me.Z)(ht),At=()=>{const{disabled:ni}=Qe;ni||(Lt&&Re(),Ut(Qt=>{var Jt;const St=!Qt;return typeof Rt=="object"&&((Jt=Rt.onVisibleChange)===null||Jt===void 0||Jt.call(Rt,St)),St}))},Sn=ni=>{const{action:Qt="click",iconRender:Jt=ne}=Qe,St=ce[Qt]||"",Xe=Jt(Lt),Yt={[St]:At,className:`${ni}-icon`,key:"passwordIcon",onMouseDown:Kt=>{Kt.preventDefault()},onMouseUp:Kt=>{Kt.preventDefault()}};return We.cloneElement(We.isValidElement(Xe)?Xe:We.createElement("span",null,Xe),Yt)},{className:mn,prefixCls:Ft,inputPrefixCls:en,size:sn}=Qe,On=te(Qe,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:yn}=We.useContext(Ot.E_),Tn=yn("input",en),pt=yn("input-password",Ft),Un=Rt&&Sn(pt),wn=Oe()(pt,mn,{[`${pt}-${sn}`]:!!sn}),An=Object.assign(Object.assign({},(0,dt.Z)(On,["suffix","iconRender","visibilityToggle"])),{type:Lt?"text":"password",className:wn,prefixCls:Tn,suffix:Un});return sn&&(An.size=sn),We.createElement(Et.Z,Object.assign({ref:(0,Ct.sQ)(Ht,ht)},An))}),ye=ve(47472),Ce=ve(92343),Ne=ve(3113),Pe=ve(19716),Ie=ve(33234),Ke=function(Qe,Ht){var Rt={};for(var It in Qe)Object.prototype.hasOwnProperty.call(Qe,It)&&Ht.indexOf(It)<0&&(Rt[It]=Qe[It]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,It=Object.getOwnPropertySymbols(Qe);Lt{const{prefixCls:Rt,inputPrefixCls:It,className:Lt,size:Ut,suffix:ht,enterButton:Re=!1,addonAfter:At,loading:Sn,disabled:mn,onSearch:Ft,onChange:en,onCompositionStart:sn,onCompositionEnd:On}=Qe,yn=Ke(Qe,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Tn,direction:pt}=We.useContext(Ot.E_),Un=We.useRef(!1),wn=Tn("input-search",Rt),An=Tn("input",It),{compactSize:ni}=(0,Ie.ri)(wn,pt),Qt=(0,Pe.Z)(mt=>{var zt;return(zt=Ut!=null?Ut:ni)!==null&&zt!==void 0?zt:mt}),Jt=We.useRef(null),St=mt=>{mt&&mt.target&&mt.type==="click"&&Ft&&Ft(mt.target.value,mt,{source:"clear"}),en&&en(mt)},Xe=mt=>{var zt;document.activeElement===((zt=Jt.current)===null||zt===void 0?void 0:zt.input)&&mt.preventDefault()},Yt=mt=>{var zt,Pn;Ft&&Ft((Pn=(zt=Jt.current)===null||zt===void 0?void 0:zt.input)===null||Pn===void 0?void 0:Pn.value,mt,{source:"input"})},Kt=mt=>{Un.current||Sn||Yt(mt)},qe=typeof Re=="boolean"?We.createElement(ye.Z,null):null,Ge=`${wn}-button`;let Be;const xe=Re||{},me=xe.type&&xe.type.__ANT_BUTTON===!0;me||xe.type==="button"?Be=(0,Ce.Tm)(xe,Object.assign({onMouseDown:Xe,onClick:mt=>{var zt,Pn;(Pn=(zt=xe==null?void 0:xe.props)===null||zt===void 0?void 0:zt.onClick)===null||Pn===void 0||Pn.call(zt,mt),Yt(mt)},key:"enterButton"},me?{className:Ge,size:Qt}:{})):Be=We.createElement(Ne.ZP,{className:Ge,type:Re?"primary":void 0,size:Qt,disabled:mn,key:"enterButton",onMouseDown:Xe,onClick:Yt,loading:Sn,icon:qe},Re),At&&(Be=[Be,(0,Ce.Tm)(At,{key:"addonAfter"})]);const Fe=Oe()(wn,{[`${wn}-rtl`]:pt==="rtl",[`${wn}-${Qt}`]:!!Qt,[`${wn}-with-button`]:!!Re},Lt),He=mt=>{Un.current=!0,sn==null||sn(mt)},Le=mt=>{Un.current=!1,On==null||On(mt)};return We.createElement(Et.Z,Object.assign({ref:(0,Ct.sQ)(Jt,Ht),onPressEnter:Kt},yn,{size:Qt,onCompositionStart:He,onCompositionEnd:Le,prefixCls:An,addonAfter:Be,suffix:ht,onChange:St,className:Fe,disabled:mn}))}),ut=ve(1643);const Ue=Et.Z;Ue.Group=Bt,Ue.Search=Ye,Ue.TextArea=ut.Z,Ue.Password=ge;var Nt=Ue},45818:function(zn,Nn,ve){"use strict";ve.d(Nn,{D:function(){return ye},Z:function(){return Pe}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(Ke,Ve){return Oe.createElement(et.Z,(0,Se.Z)({},Ke,{ref:Ve,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke,Et=ve(33853),tt=ve(38819),gt=ve(92310),dt=ve.n(gt),Ct=ve(2738),te=Ie=>!isNaN(parseFloat(Ie))&&isFinite(Ie),ne=ve(36355),ce=ve(84966),se=function(Ie,Ke){var Ve={};for(var Ye in Ie)Object.prototype.hasOwnProperty.call(Ie,Ye)&&Ke.indexOf(Ye)<0&&(Ve[Ye]=Ie[Ye]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Ye=Object.getOwnPropertySymbols(Ie);ut{let Ie=0;return function(){let Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ie+=1,`${Ke}${Ie}`}})();var Pe=Oe.forwardRef((Ie,Ke)=>{const{prefixCls:Ve,className:Ye,trigger:ut,children:Ue,defaultCollapsed:Nt=!1,theme:Qe="dark",style:Ht={},collapsible:Rt=!1,reverseArrow:It=!1,width:Lt=200,collapsedWidth:Ut=80,zeroWidthTriggerStyle:ht,breakpoint:Re,onCollapse:At,onBreakpoint:Sn}=Ie,mn=se(Ie,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ft}=(0,Oe.useContext)(ce.Gs),[en,sn]=(0,Oe.useState)("collapsed"in Ie?Ie.collapsed:Nt),[On,yn]=(0,Oe.useState)(!1);(0,Oe.useEffect)(()=>{"collapsed"in Ie&&sn(Ie.collapsed)},[Ie.collapsed]);const Tn=(Qt,Jt)=>{"collapsed"in Ie||sn(Qt),At==null||At(Qt,Jt)},pt=(0,Oe.useRef)();pt.current=Qt=>{yn(Qt.matches),Sn==null||Sn(Qt.matches),en!==Qt.matches&&Tn(Qt.matches,"responsive")},(0,Oe.useEffect)(()=>{function Qt(St){return pt.current(St)}let Jt;if(typeof window!="undefined"){const{matchMedia:St}=window;if(St&&Re&&Re in ge){Jt=St(`(max-width: ${ge[Re]})`);try{Jt.addEventListener("change",Qt)}catch(Xe){Jt.addListener(Qt)}Qt(Jt)}}return()=>{try{Jt==null||Jt.removeEventListener("change",Qt)}catch(St){Jt==null||Jt.removeListener(Qt)}}},[Re]),(0,Oe.useEffect)(()=>{const Qt=Ce("ant-sider-");return Ft.addSider(Qt),()=>Ft.removeSider(Qt)},[]);const Un=()=>{Tn(!en,"clickTrigger")},{getPrefixCls:wn}=(0,Oe.useContext)(ne.E_),An=()=>{const Qt=wn("layout-sider",Ve),Jt=(0,Ct.Z)(mn,["collapsed"]),St=en?Ut:Lt,Xe=te(St)?`${St}px`:String(St),Yt=parseFloat(String(Ut||0))===0?Oe.createElement("span",{onClick:Un,className:dt()(`${Qt}-zero-width-trigger`,`${Qt}-zero-width-trigger-${It?"right":"left"}`),style:ht},ut||Oe.createElement(Bt,null)):null,Ge={expanded:It?Oe.createElement(tt.Z,null):Oe.createElement(Et.Z,null),collapsed:It?Oe.createElement(Et.Z,null):Oe.createElement(tt.Z,null)}[en?"collapsed":"expanded"],Be=ut!==null?Yt||Oe.createElement("div",{className:`${Qt}-trigger`,onClick:Un,style:{width:Xe}},ut||Ge):null,xe=Object.assign(Object.assign({},Ht),{flex:`0 0 ${Xe}`,maxWidth:Xe,minWidth:Xe,width:Xe}),me=dt()(Qt,`${Qt}-${Qe}`,{[`${Qt}-collapsed`]:!!en,[`${Qt}-has-trigger`]:Rt&&ut!==null&&!Yt,[`${Qt}-below`]:!!On,[`${Qt}-zero-width`]:parseFloat(Xe)===0},Ye);return Oe.createElement("aside",Object.assign({className:me},Jt,{style:xe,ref:Ke}),Oe.createElement("div",{className:`${Qt}-children`},Ue),Rt||On&&Yt?Be:null)},ni=Oe.useMemo(()=>({siderCollapsed:en}),[en]);return Oe.createElement(ye.Provider,{value:ni},An())})},84966:function(zn,Nn,ve){"use strict";ve.d(Nn,{VY:function(){return ye},$_:function(){return ge},h4:function(){return se},Gs:function(){return Ct},ZP:function(){return Ce}});var Se=ve(80702),Oe=ve(92310),We=ve.n(Oe),Ot=ve(2738),et=ve(59301),yt=ve(36355),ke=ve(83116),Et=Ne=>{const{componentCls:Pe,bodyBg:Ie,lightSiderBg:Ke,lightTriggerBg:Ve,lightTriggerColor:Ye}=Ne;return{[`${Pe}-sider-light`]:{background:Ke,[`${Pe}-sider-trigger`]:{color:Ye,background:Ve},[`${Pe}-sider-zero-width-trigger`]:{color:Ye,background:Ve,border:`1px solid ${Ie}`,borderInlineStart:0}}}};const tt=Ne=>{const{antCls:Pe,componentCls:Ie,colorText:Ke,triggerColor:Ve,footerBg:Ye,triggerBg:ut,headerHeight:Ue,headerPadding:Nt,headerColor:Qe,footerPadding:Ht,triggerHeight:Rt,zeroTriggerHeight:It,zeroTriggerWidth:Lt,motionDurationMid:Ut,motionDurationSlow:ht,fontSize:Re,borderRadius:At,bodyBg:Sn,headerBg:mn,siderBg:Ft}=Ne;return{[Ie]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Sn,"&, *":{boxSizing:"border-box"},[`&${Ie}-has-sider`]:{flexDirection:"row",[`> ${Ie}, > ${Ie}-content`]:{width:0}},[`${Ie}-header, &${Ie}-footer`]:{flex:"0 0 auto"},[`${Ie}-sider`]:{position:"relative",minWidth:0,background:Ft,transition:`all ${Ut}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Pe}-menu${Pe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Rt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Rt,color:Ve,lineHeight:`${Rt}px`,textAlign:"center",background:ut,cursor:"pointer",transition:`all ${Ut}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ue,insetInlineEnd:-Lt,zIndex:1,width:Lt,height:It,color:Ve,fontSize:Ne.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ft,borderStartStartRadius:0,borderStartEndRadius:At,borderEndEndRadius:At,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ht} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ht}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Lt,borderStartStartRadius:At,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:At}}}}},Et(Ne)),{"&-rtl":{direction:"rtl"}}),[`${Ie}-header`]:{height:Ue,padding:Nt,color:Qe,lineHeight:`${Ue}px`,background:mn,[`${Pe}-menu`]:{lineHeight:"inherit"}},[`${Ie}-footer`]:{padding:Ht,color:Ke,fontSize:Re,background:Ye},[`${Ie}-content`]:{flex:"auto",minHeight:0}}};var gt=(0,ke.Z)("Layout",Ne=>[tt(Ne)],Ne=>{const{colorBgLayout:Pe,controlHeight:Ie,controlHeightLG:Ke,colorText:Ve,controlHeightSM:Ye,marginXXS:ut,colorTextLightSolid:Ue,colorBgContainer:Nt}=Ne,Qe=Ke*1.25;return{colorBgHeader:"#001529",colorBgBody:Pe,colorBgTrigger:"#002140",bodyBg:Pe,headerBg:"#001529",headerHeight:Ie*2,headerPadding:`0 ${Qe}px`,headerColor:Ve,footerPadding:`${Ye}px ${Qe}px`,footerBg:Pe,siderBg:"#001529",triggerHeight:Ke+ut*2,triggerBg:"#002140",triggerColor:Ue,zeroTriggerWidth:Ke,zeroTriggerHeight:Ke,lightSiderBg:Nt,lightTriggerBg:Nt,lightTriggerColor:Ve}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),dt=function(Ne,Pe){var Ie={};for(var Ke in Ne)Object.prototype.hasOwnProperty.call(Ne,Ke)&&Pe.indexOf(Ke)<0&&(Ie[Ke]=Ne[Ke]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Ke=Object.getOwnPropertySymbols(Ne);Venull,removeSider:()=>null}});function Me(Ne){let{suffixCls:Pe,tagName:Ie,displayName:Ke}=Ne;return Ve=>et.forwardRef((ut,Ue)=>et.createElement(Ve,Object.assign({ref:Ue,suffixCls:Pe,tagName:Ie},ut)))}const te=et.forwardRef((Ne,Pe)=>{const{prefixCls:Ie,suffixCls:Ke,className:Ve,tagName:Ye}=Ne,ut=dt(Ne,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ue}=et.useContext(yt.E_),Nt=Ue("layout",Ie),[Qe,Ht]=gt(Nt),Rt=Ke?`${Nt}-${Ke}`:Nt;return Qe(et.createElement(Ye,Object.assign({className:We()(Ie||Rt,Ve,Ht),ref:Pe},ut)))}),ne=et.forwardRef((Ne,Pe)=>{const{direction:Ie}=et.useContext(yt.E_),[Ke,Ve]=et.useState([]),{prefixCls:Ye,className:ut,rootClassName:Ue,children:Nt,hasSider:Qe,tagName:Ht,style:Rt}=Ne,It=dt(Ne,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Lt=(0,Ot.Z)(It,["suffixCls"]),{getPrefixCls:Ut,layout:ht}=et.useContext(yt.E_),Re=Ut("layout",Ye),[At,Sn]=gt(Re),mn=We()(Re,{[`${Re}-has-sider`]:typeof Qe=="boolean"?Qe:Ke.length>0,[`${Re}-rtl`]:Ie==="rtl"},ht==null?void 0:ht.className,ut,Ue,Sn),Ft=et.useMemo(()=>({siderHook:{addSider:en=>{Ve(sn=>[].concat((0,Se.Z)(sn),[en]))},removeSider:en=>{Ve(sn=>sn.filter(On=>On!==en))}}}),[]);return At(et.createElement(Ct.Provider,{value:Ft},et.createElement(Ht,Object.assign({ref:Pe,className:mn,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),Rt)},Lt),Nt)))}),ce=Me({tagName:"div",displayName:"Layout"})(ne),se=Me({suffixCls:"header",tagName:"header",displayName:"Header"})(te),ge=Me({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(te),ye=Me({suffixCls:"content",tagName:"main",displayName:"Content"})(te);var Ce=ce},40875:function(zn,Nn,ve){"use strict";ve.d(Nn,{J:function(){return yt}});var Se=ve(59301),Oe=ve(33234),We=ve(70425),Ot=function(ke,Bt){var Et={};for(var tt in ke)Object.prototype.hasOwnProperty.call(ke,tt)&&Bt.indexOf(tt)<0&&(Et[tt]=ke[tt]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,tt=Object.getOwnPropertySymbols(ke);gt{const{children:Et}=ke,tt=Ot(ke,["children"]),gt=Se.useContext(et),dt=Se.useMemo(()=>Object.assign(Object.assign({},gt),tt),[gt,tt.prefixCls,tt.mode,tt.selectable]);return Se.createElement(et.Provider,{value:dt},Se.createElement(Oe.BR,null,(0,We.supportNodeRef)(Et)?Se.cloneElement(Et,{ref:Bt}):Et))});Nn.Z=et},20834:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return ni}});var Se=ve(15285),Oe=ve(59301),We=ve(45818),Ot=ve(92310),et=ve.n(Ot),yt=ve(36355),ke=function(Qt,Jt){var St={};for(var Xe in Qt)Object.prototype.hasOwnProperty.call(Qt,Xe)&&Jt.indexOf(Xe)<0&&(St[Xe]=Qt[Xe]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,Xe=Object.getOwnPropertySymbols(Qt);Yt{const{prefixCls:Jt,className:St,dashed:Xe}=Qt,Yt=ke(Qt,["prefixCls","className","dashed"]),{getPrefixCls:Kt}=Oe.useContext(yt.E_),qe=Kt("menu",Jt),Ge=et()({[`${qe}-item-divider-dashed`]:!!Xe},St);return Oe.createElement(Se.iz,Object.assign({className:Ge},Yt))},tt=ve(11592),gt=ve(2738),dt=ve(6848),Ct=ve(92343),te=(0,Oe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ce=Qt=>{var Jt;const{className:St,children:Xe,icon:Yt,title:Kt,danger:qe}=Qt,{prefixCls:Ge,firstLevel:Be,direction:xe,disableMenuItemTitleTooltip:me,inlineCollapsed:Fe}=Oe.useContext(te),He=In=>{const Gn=Oe.createElement("span",{className:`${Ge}-title-content`},Xe);return(!Yt||(0,Ct.l$)(Xe)&&Xe.type==="span")&&Xe&&In&&Be&&typeof Xe=="string"?Oe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Xe.charAt(0)):Gn},{siderCollapsed:Le}=Oe.useContext(We.D);let mt=Kt;typeof Kt=="undefined"?mt=Be?Xe:"":Kt===!1&&(mt="");const zt={title:mt};!Le&&!Fe&&(zt.title=null,zt.open=!1);const Pn=(0,tt.Z)(Xe).length;let rn=Oe.createElement(Se.ck,Object.assign({},(0,gt.Z)(Qt,["title","icon","danger"]),{className:et()({[`${Ge}-item-danger`]:qe,[`${Ge}-item-only-child`]:(Yt?Pn+1:Pn)===1},St),title:typeof Kt=="string"?Kt:void 0}),(0,Ct.Tm)(Yt,{className:et()((0,Ct.l$)(Yt)?(Jt=Yt.props)===null||Jt===void 0?void 0:Jt.className:"",`${Ge}-item-icon`)}),He(Fe));return me||(rn=Oe.createElement(dt.Z,Object.assign({},zt,{placement:xe==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),rn)),rn},ge=Qt=>{var Jt;const{popupClassName:St,icon:Xe,title:Yt,theme:Kt}=Qt,qe=Oe.useContext(te),{prefixCls:Ge,inlineCollapsed:Be,theme:xe}=qe,me=(0,Se.Xl)();let Fe;if(!Xe)Fe=Be&&!me.length&&Yt&&typeof Yt=="string"?Oe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},Yt.charAt(0)):Oe.createElement("span",{className:`${Ge}-title-content`},Yt);else{const Le=(0,Ct.l$)(Yt)&&Yt.type==="span";Fe=Oe.createElement(Oe.Fragment,null,(0,Ct.Tm)(Xe,{className:et()((0,Ct.l$)(Xe)?(Jt=Xe.props)===null||Jt===void 0?void 0:Jt.className:"",`${Ge}-item-icon`)}),Le?Yt:Oe.createElement("span",{className:`${Ge}-title-content`},Yt))}const He=Oe.useMemo(()=>Object.assign(Object.assign({},qe),{firstLevel:!1}),[qe]);return Oe.createElement(te.Provider,{value:He},Oe.createElement(Se.Wd,Object.assign({},(0,gt.Z)(Qt,["icon"]),{title:Fe,popupClassName:et()(Ge,St,`${Ge}-${Kt||xe}`)})))},ye=ve(18785),Ce=ve(70425),Ne=ve(62892),Pe=ve(40875),Ie=function(Qt,Jt){var St={};for(var Xe in Qt)Object.prototype.hasOwnProperty.call(Qt,Xe)&&Jt.indexOf(Xe)<0&&(St[Xe]=Qt[Xe]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,Xe=Object.getOwnPropertySymbols(Qt);Yt{if(Jt&&typeof Jt=="object"){const Xe=Jt,{label:Yt,children:Kt,key:qe,type:Ge}=Xe,Be=Ie(Xe,["label","children","key","type"]),xe=qe!=null?qe:`tmp-${St}`;return Kt||Ge==="group"?Ge==="group"?Oe.createElement(Se.BW,Object.assign({key:xe},Be,{title:Yt}),Ke(Kt)):Oe.createElement(ge,Object.assign({key:xe},Be,{title:Yt}),Ke(Kt)):Ge==="divider"?Oe.createElement(Et,Object.assign({key:xe},Be)):Oe.createElement(ce,Object.assign({key:xe},Be),Yt)}return null}).filter(Jt=>Jt)}function Ve(Qt){return Oe.useMemo(()=>Qt&&Ke(Qt),[Qt])}var Ye=ve(64993),ut=ve(17313),Ue=ve(8378),Nt=ve(13826),Qe=ve(29878),Ht=ve(83116),Rt=ve(37613),Lt=Qt=>{const{componentCls:Jt,motionDurationSlow:St,horizontalLineHeight:Xe,colorSplit:Yt,lineWidth:Kt,lineType:qe,itemPaddingInline:Ge}=Qt;return{[`${Jt}-horizontal`]:{lineHeight:Xe,border:0,borderBottom:`${Kt}px ${qe} ${Yt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Jt}-item, ${Jt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${Jt}-item:hover, > ${Jt}-item-active, > ${Jt}-submenu ${Jt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Jt}-item, ${Jt}-submenu-title`]:{transition:[`border-color ${St}`,`background ${St}`].join(",")},[`${Jt}-submenu-arrow`]:{display:"none"}}}},ht=Qt=>{let{componentCls:Jt,menuArrowOffset:St}=Qt;return{[`${Jt}-rtl`]:{direction:"rtl"},[`${Jt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Jt}-rtl${Jt}-vertical, ${Jt}-submenu-rtl ${Jt}-vertical`]:{[`${Jt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${St})`},"&::after":{transform:`rotate(45deg) translateY(${St})`}}}}};const Re=Qt=>Object.assign({},(0,ut.oN)(Qt));var Sn=(Qt,Jt)=>{const{componentCls:St,itemColor:Xe,itemSelectedColor:Yt,groupTitleColor:Kt,itemBg:qe,subMenuItemBg:Ge,itemSelectedBg:Be,activeBarHeight:xe,activeBarWidth:me,activeBarBorderWidth:Fe,motionDurationSlow:He,motionEaseInOut:Le,motionEaseOut:mt,itemPaddingInline:zt,motionDurationMid:Pn,itemHoverColor:rn,lineType:In,colorSplit:Gn,itemDisabledColor:Pi,dangerItemColor:Di,dangerItemHoverColor:Gi,dangerItemSelectedColor:Dn,dangerItemActiveBg:or,dangerItemSelectedBg:jr,itemHoverBg:Gr,itemActiveBg:Ir,menuSubMenuBg:wr,horizontalItemSelectedColor:so,horizontalItemSelectedBg:Rr,horizontalItemBorderRadius:hr,horizontalItemHoverBg:No,popupBg:vi}=Qt;return{[`${St}-${Jt}, ${St}-${Jt} > ${St}`]:{color:Xe,background:qe,[`&${St}-root:focus-visible`]:Object.assign({},Re(Qt)),[`${St}-item-group-title`]:{color:Kt},[`${St}-submenu-selected`]:{[`> ${St}-submenu-title`]:{color:Yt}},[`${St}-item-disabled, ${St}-submenu-disabled`]:{color:`${Pi} !important`},[`${St}-item:not(${St}-item-selected):not(${St}-submenu-selected)`]:{[`&:hover, > ${St}-submenu-title:hover`]:{color:rn}},[`&:not(${St}-horizontal)`]:{[`${St}-item:not(${St}-item-selected)`]:{"&:hover":{backgroundColor:Gr},"&:active":{backgroundColor:Ir}},[`${St}-submenu-title`]:{"&:hover":{backgroundColor:Gr},"&:active":{backgroundColor:Ir}}},[`${St}-item-danger`]:{color:Di,[`&${St}-item:hover`]:{[`&:not(${St}-item-selected):not(${St}-submenu-selected)`]:{color:Gi}},[`&${St}-item:active`]:{background:or}},[`${St}-item a`]:{"&, &:hover":{color:"inherit"}},[`${St}-item-selected`]:{color:Yt,[`&${St}-item-danger`]:{color:Dn},"a, a:hover":{color:"inherit"}},[`& ${St}-item-selected`]:{backgroundColor:Be,[`&${St}-item-danger`]:{backgroundColor:jr}},[`${St}-item, ${St}-submenu-title`]:{[`&:not(${St}-item-disabled):focus-visible`]:Object.assign({},Re(Qt))},[`&${St}-submenu > ${St}`]:{backgroundColor:wr},[`&${St}-popup > ${St}`]:{backgroundColor:vi},[`&${St}-horizontal`]:Object.assign(Object.assign({},Jt==="dark"?{borderBottom:0}:{}),{[`> ${St}-item, > ${St}-submenu`]:{top:Fe,marginTop:-Fe,marginBottom:0,borderRadius:hr,"&::after":{position:"absolute",insetInline:zt,bottom:0,borderBottom:`${xe}px solid transparent`,transition:`border-color ${He} ${Le}`,content:'""'},"&:hover, &-active, &-open":{background:No,"&::after":{borderBottomWidth:xe,borderBottomColor:so}},"&-selected":{color:so,backgroundColor:Rr,"&:hover":{backgroundColor:Rr},"&::after":{borderBottomWidth:xe,borderBottomColor:so}}}}),[`&${St}-root`]:{[`&${St}-inline, &${St}-vertical`]:{borderInlineEnd:`${Fe}px ${In} ${Gn}`}},[`&${St}-inline`]:{[`${St}-sub${St}-inline`]:{background:Ge},[`${St}-item, ${St}-submenu-title`]:Fe&&me?{width:`calc(100% + ${Fe}px)`}:{},[`${St}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${me}px solid ${Yt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Pn} ${mt}`,`opacity ${Pn} ${mt}`].join(","),content:'""'},[`&${St}-item-danger`]:{"&::after":{borderInlineEndColor:Dn}}},[`${St}-selected, ${St}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Pn} ${Le}`,`opacity ${Pn} ${Le}`].join(",")}}}}}};const mn=Qt=>{const{componentCls:Jt,itemHeight:St,itemMarginInline:Xe,padding:Yt,menuArrowSize:Kt,marginXS:qe,itemMarginBlock:Ge}=Qt,Be=Yt+Kt+qe;return{[`${Jt}-item`]:{position:"relative",overflow:"hidden"},[`${Jt}-item, ${Jt}-submenu-title`]:{height:St,lineHeight:`${St}px`,paddingInline:Yt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Xe,marginBlock:Ge,width:`calc(100% - ${Xe*2}px)`},[`> ${Jt}-item, > ${Jt}-submenu > ${Jt}-submenu-title`]:{height:St,lineHeight:`${St}px`},[`${Jt}-item-group-list ${Jt}-submenu-title, ${Jt}-submenu-title`]:{paddingInlineEnd:Be}}};var en=Qt=>{const{componentCls:Jt,iconCls:St,itemHeight:Xe,colorTextLightSolid:Yt,dropdownWidth:Kt,controlHeightLG:qe,motionDurationMid:Ge,motionEaseOut:Be,paddingXL:xe,itemMarginInline:me,fontSizeLG:Fe,motionDurationSlow:He,paddingXS:Le,boxShadowSecondary:mt,collapsedWidth:zt,collapsedIconSize:Pn}=Qt,rn={height:Xe,lineHeight:`${Xe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Jt]:{"&-inline, &-vertical":Object.assign({[`&${Jt}-root`]:{boxShadow:"none"}},mn(Qt))},[`${Jt}-submenu-popup`]:{[`${Jt}-vertical`]:Object.assign(Object.assign({},mn(Qt)),{boxShadow:mt})}},{[`${Jt}-submenu-popup ${Jt}-vertical${Jt}-sub`]:{minWidth:Kt,maxHeight:`calc(100vh - ${qe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Jt}-inline`]:{width:"100%",[`&${Jt}-root`]:{[`${Jt}-item, ${Jt}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${He}`,`background ${He}`,`padding ${Ge} ${Be}`].join(","),[`> ${Jt}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Jt}-sub${Jt}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Jt}-submenu > ${Jt}-submenu-title`]:rn,[`& ${Jt}-item-group-title`]:{paddingInlineStart:xe}},[`${Jt}-item`]:rn}},{[`${Jt}-inline-collapsed`]:{width:zt,[`&${Jt}-root`]:{[`${Jt}-item, ${Jt}-submenu ${Jt}-submenu-title`]:{[`> ${Jt}-inline-collapsed-noicon`]:{fontSize:Fe,textAlign:"center"}}},[`> ${Jt}-item, > ${Jt}-item-group > ${Jt}-item-group-list > ${Jt}-item, > ${Jt}-item-group > ${Jt}-item-group-list > ${Jt}-submenu > ${Jt}-submenu-title, > ${Jt}-submenu > ${Jt}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Fe/2}px - ${me}px)`,textOverflow:"clip",[` ${Jt}-submenu-arrow, ${Jt}-submenu-expand-icon `]:{opacity:0},[`${Jt}-item-icon, ${St}`]:{margin:0,fontSize:Pn,lineHeight:`${Xe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Jt}-item-icon, ${St}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Jt}-item-icon, ${St}`]:{display:"none"},"a, a:hover":{color:Yt}},[`${Jt}-item-group-title`]:Object.assign(Object.assign({},ut.vS),{paddingInline:Le})}}]};const sn=Qt=>{const{componentCls:Jt,motionDurationSlow:St,motionDurationMid:Xe,motionEaseInOut:Yt,motionEaseOut:Kt,iconCls:qe,iconSize:Ge,iconMarginInlineEnd:Be}=Qt;return{[`${Jt}-item, ${Jt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${St}`,`background ${St}`,`padding ${St} ${Yt}`].join(","),[`${Jt}-item-icon, ${qe}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${Xe} ${Kt}`,`margin ${St} ${Yt}`,`color ${St}`].join(","),"+ span":{marginInlineStart:Be,opacity:1,transition:[`opacity ${St} ${Yt}`,`margin ${St}`,`color ${St}`].join(",")}},[`${Jt}-item-icon`]:Object.assign({},(0,ut.Ro)()),[`&${Jt}-item-only-child`]:{[`> ${qe}, > ${Jt}-item-icon`]:{marginInlineEnd:0}}},[`${Jt}-item-disabled, ${Jt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Jt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},On=Qt=>{const{componentCls:Jt,motionDurationSlow:St,motionEaseInOut:Xe,borderRadius:Yt,menuArrowSize:Kt,menuArrowOffset:qe}=Qt;return{[`${Jt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Qt.margin,width:Kt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${St} ${Xe}, opacity ${St}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Kt*.6,height:Kt*.15,backgroundColor:"currentcolor",borderRadius:Yt,transition:[`background ${St} ${Xe}`,`transform ${St} ${Xe}`,`top ${St} ${Xe}`,`color ${St} ${Xe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${qe})`},"&::after":{transform:`rotate(-45deg) translateY(${qe})`}}}}},yn=Qt=>{const{antCls:Jt,componentCls:St,fontSize:Xe,motionDurationSlow:Yt,motionDurationMid:Kt,motionEaseInOut:qe,paddingXS:Ge,padding:Be,colorSplit:xe,lineWidth:me,zIndexPopup:Fe,borderRadiusLG:He,subMenuItemBorderRadius:Le,menuArrowSize:mt,menuArrowOffset:zt,lineType:Pn,menuPanelMaskInset:rn,groupTitleLineHeight:In,groupTitleFontSize:Gn}=Qt;return[{"":{[`${St}`]:Object.assign(Object.assign({},(0,ut.dF)()),{"&-hidden":{display:"none"}})},[`${St}-submenu-hidden`]:{display:"none"}},{[St]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(Qt)),(0,ut.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Xe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Yt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${St}-item`]:{flex:"none"}},[`${St}-item, ${St}-submenu, ${St}-submenu-title`]:{borderRadius:Qt.itemBorderRadius},[`${St}-item-group-title`]:{padding:`${Ge}px ${Be}px`,fontSize:Gn,lineHeight:In,transition:`all ${Yt}`},[`&-horizontal ${St}-submenu`]:{transition:[`border-color ${Yt} ${qe}`,`background ${Yt} ${qe}`].join(",")},[`${St}-submenu, ${St}-submenu-inline`]:{transition:[`border-color ${Yt} ${qe}`,`background ${Yt} ${qe}`,`padding ${Kt} ${qe}`].join(",")},[`${St}-submenu ${St}-sub`]:{cursor:"initial",transition:[`background ${Yt} ${qe}`,`padding ${Yt} ${qe}`].join(",")},[`${St}-title-content`]:{transition:`color ${Yt}`},[`${St}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${St}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:xe,borderStyle:Pn,borderWidth:0,borderTopWidth:me,marginBlock:me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),sn(Qt)),{[`${St}-item-group`]:{[`${St}-item-group-list`]:{margin:0,padding:0,[`${St}-item, ${St}-submenu-title`]:{paddingInline:`${Xe*2}px ${Be}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Fe,borderRadius:He,boxShadow:"none",transformOrigin:"0 0",[`&${St}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${rn}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:rn},"\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:Qt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Qt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Qt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Qt.paddingXS},[`> ${St}`]:Object.assign(Object.assign(Object.assign({borderRadius:He},sn(Qt)),On(Qt)),{[`${St}-item, ${St}-submenu > ${St}-submenu-title`]:{borderRadius:Le},[`${St}-submenu-title::after`]:{transition:`transform ${Yt} ${qe}`}})}}),On(Qt)),{[`&-inline-collapsed ${St}-submenu-arrow, &-inline ${St}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${zt})`},"&::after":{transform:`rotate(45deg) translateX(-${zt})`}},[`${St}-submenu-open${St}-submenu-inline > ${St}-submenu-title > ${St}-submenu-arrow`]:{transform:`translateY(-${mt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${zt})`},"&::before":{transform:`rotate(45deg) translateX(${zt})`}}})},{[`${Jt}-layout-header`]:{[St]:{lineHeight:"inherit"}}}]};var Tn=(Qt,Jt)=>(0,Ht.Z)("Menu",Xe=>{if(Jt===!1)return[];const{colorBgElevated:Yt,colorPrimary:Kt,colorTextLightSolid:qe,controlHeightLG:Ge,fontSize:Be,darkItemColor:xe,darkDangerItemColor:me,darkItemBg:Fe,darkSubMenuItemBg:He,darkItemSelectedColor:Le,darkItemSelectedBg:mt,darkDangerItemSelectedBg:zt,darkItemHoverBg:Pn,darkGroupTitleColor:rn,darkItemHoverColor:In,darkItemDisabledColor:Gn,darkDangerItemHoverColor:Pi,darkDangerItemSelectedColor:Di,darkDangerItemActiveBg:Gi}=Xe,Dn=Be/7*5,or=(0,Rt.TS)(Xe,{menuArrowSize:Dn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${Dn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Yt}),jr=(0,Rt.TS)(or,{itemColor:xe,itemHoverColor:In,groupTitleColor:rn,itemSelectedColor:Le,itemBg:Fe,popupBg:Fe,subMenuItemBg:He,itemActiveBg:"transparent",itemSelectedBg:mt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Pn,itemDisabledColor:Gn,dangerItemColor:me,dangerItemHoverColor:Pi,dangerItemSelectedColor:Di,dangerItemActiveBg:Gi,dangerItemSelectedBg:zt,menuSubMenuBg:He,horizontalItemSelectedColor:qe,horizontalItemSelectedBg:Kt});return[yn(or),Lt(or),en(or),Sn(or,"light"),Sn(jr,"dark"),ht(or),(0,Ue.Z)(or),(0,Nt.oN)(or,"slide-up"),(0,Nt.oN)(or,"slide-down"),(0,Qe._y)(or,"zoom-big")]},Xe=>{const{colorPrimary:Yt,colorError:Kt,colorTextDisabled:qe,colorErrorBg:Ge,colorText:Be,colorTextDescription:xe,colorBgContainer:me,colorFillAlter:Fe,colorFillContent:He,lineWidth:Le,lineWidthBold:mt,controlItemBgActive:zt,colorBgTextHover:Pn,controlHeightLG:rn,lineHeight:In,colorBgElevated:Gn,marginXXS:Pi,padding:Di,fontSize:Gi,controlHeightSM:Dn,fontSizeLG:or,colorTextLightSolid:jr,colorErrorHover:Gr}=Xe,Ir=new Ye.C(jr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Xe.zIndexPopupBase+50,radiusItem:Xe.borderRadiusLG,itemBorderRadius:Xe.borderRadiusLG,radiusSubMenuItem:Xe.borderRadiusSM,subMenuItemBorderRadius:Xe.borderRadiusSM,colorItemText:Be,itemColor:Be,colorItemTextHover:Be,itemHoverColor:Be,colorItemTextHoverHorizontal:Yt,horizontalItemHoverColor:Yt,colorGroupTitle:xe,groupTitleColor:xe,colorItemTextSelected:Yt,itemSelectedColor:Yt,colorItemTextSelectedHorizontal:Yt,horizontalItemSelectedColor:Yt,colorItemBg:me,itemBg:me,colorItemBgHover:Pn,itemHoverBg:Pn,colorItemBgActive:He,itemActiveBg:zt,colorSubItemBg:Fe,subMenuItemBg:Fe,colorItemBgSelected:zt,itemSelectedBg:zt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:mt,activeBarHeight:mt,colorActiveBarBorderSize:Le,activeBarBorderWidth:Le,colorItemTextDisabled:qe,itemDisabledColor:qe,colorDangerItemText:Kt,dangerItemColor:Kt,colorDangerItemTextHover:Kt,dangerItemHoverColor:Kt,colorDangerItemTextSelected:Kt,dangerItemSelectedColor:Kt,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:Xe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:rn,groupTitleLineHeight:In,collapsedWidth:rn*2,popupBg:Gn,itemMarginBlock:Pi,itemPaddingInline:Di,horizontalLineHeight:`${rn*1.15}px`,iconSize:Gi,iconMarginInlineEnd:Dn-Gi,collapsedIconSize:or,groupTitleFontSize:Gi,darkItemDisabledColor:new Ye.C(jr).setAlpha(.25).toRgbString(),darkItemColor:Ir,darkDangerItemColor:Kt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:jr,darkItemSelectedBg:Yt,darkDangerItemSelectedBg:Kt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ir,darkItemHoverColor:jr,darkDangerItemHoverColor:Gr,darkDangerItemSelectedColor:jr,darkDangerItemActiveBg:Kt}},{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"]]})(Qt),pt=function(Qt,Jt){var St={};for(var Xe in Qt)Object.prototype.hasOwnProperty.call(Qt,Xe)&&Jt.indexOf(Xe)<0&&(St[Xe]=Qt[Xe]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,Xe=Object.getOwnPropertySymbols(Qt);Yt{var St,Xe;const Yt=Oe.useContext(Pe.Z),Kt=Yt||{},{getPrefixCls:qe,getPopupContainer:Ge,direction:Be,menu:xe}=Oe.useContext(yt.E_),me=qe(),{prefixCls:Fe,className:He,style:Le,theme:mt="light",expandIcon:zt,_internalDisableMenuItemTitleTooltip:Pn,inlineCollapsed:rn,siderCollapsed:In,items:Gn,children:Pi,rootClassName:Di,mode:Gi,selectable:Dn,onClick:or,overflowedIndicatorPopupClassName:jr}=Qt,Gr=pt(Qt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ir=(0,gt.Z)(Gr,["collapsedWidth"]),wr=Ve(Gn)||Pi;(St=Kt.validator)===null||St===void 0||St.call(Kt,{mode:Gi});const so=(0,Ce.useEvent)(function(){var dn;or==null||or.apply(void 0,arguments),(dn=Kt.onClick)===null||dn===void 0||dn.call(Kt)}),Rr=Kt.mode||Gi,hr=Dn!=null?Dn:Kt.selectable,No=Oe.useMemo(()=>In!==void 0?In:rn,[rn,In]),vi={horizontal:{motionName:`${me}-slide-up`},inline:(0,Ne.Z)(me),other:{motionName:`${me}-zoom-big`}},Ee=qe("menu",Fe||Kt.prefixCls),[$n,fi]=Tn(Ee,!Yt),ln=et()(`${Ee}-${mt}`,xe==null?void 0:xe.className,He);let ei;if(typeof zt=="function")ei=zt;else if(zt===null||zt===!1)ei=null;else if(Kt.expandIcon===null||Kt.expandIcon===!1)ei=null;else{const dn=zt!=null?zt:Kt.expandIcon;ei=(0,Ct.Tm)(dn,{className:et()(`${Ee}-submenu-expand-icon`,(0,Ct.l$)(dn)?(Xe=dn.props)===null||Xe===void 0?void 0:Xe.className:"")})}const Yn=Oe.useMemo(()=>({prefixCls:Ee,inlineCollapsed:No||!1,direction:Be,firstLevel:!0,theme:mt,mode:Rr,disableMenuItemTitleTooltip:Pn}),[Ee,No,Be,Pn,mt]);return $n(Oe.createElement(Pe.Z.Provider,{value:null},Oe.createElement(te.Provider,{value:Yn},Oe.createElement(Se.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:Oe.createElement(ye.Z,null),overflowedIndicatorPopupClassName:et()(Ee,`${Ee}-${mt}`,jr),mode:Rr,selectable:hr,onClick:so},Ir,{inlineCollapsed:No,style:Object.assign(Object.assign({},xe==null?void 0:xe.style),Le),className:ln,prefixCls:Ee,direction:Be,defaultMotions:vi,expandIcon:ei,ref:Jt,rootClassName:et()(Di,fi)}),wr))))});const An=(0,Oe.forwardRef)((Qt,Jt)=>{const St=(0,Oe.useRef)(null),Xe=Oe.useContext(We.D);return(0,Oe.useImperativeHandle)(Jt,()=>({menu:St.current,focus:Yt=>{var Kt;(Kt=St.current)===null||Kt===void 0||Kt.focus(Yt)}})),Oe.createElement(wn,Object.assign({ref:St},Qt,Xe))});An.Item=ce,An.SubMenu=ge,An.Divider=Et,An.ItemGroup=Se.BW;var ni=An},58421:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Kt}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(Ge,Be){return Oe.createElement(et.Z,(0,Se.Z)({},Ge,{ref:Be,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke,Et=ve(49198),tt=ve(33853),gt=ve(38819),dt=ve(92310),Ct=ve.n(dt),Me=ve(49618),te=ve(77321),ne=ve(96949),ce=ve(55090),se=ve(77205),ge=ve(38793),ye=ve(26112),Ce={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Ne=Ce,Pe=ve(91735),Ie=function(qe){(0,se.Z)(Be,qe);var Ge=(0,ge.Z)(Be);function Be(){var xe;(0,ne.Z)(this,Be);for(var me=arguments.length,Fe=new Array(me),He=0;He=0||Le.relatedTarget.className.indexOf("".concat(rn,"-item"))>=0))&&Pn(xe.getValidValue()))},xe.go=function(Le){var mt=xe.state.goInputText;mt!==""&&(Le.keyCode===Ne.ENTER||Le.type==="click")&&(xe.setState({goInputText:""}),xe.props.quickGo(xe.getValidValue()))},xe}return(0,ce.Z)(Be,[{key:"getPageSizeOptions",value:function(){var me=this.props,Fe=me.pageSize,He=me.pageSizeOptions;return He.some(function(Le){return Le.toString()===Fe.toString()})?He:He.concat([Fe.toString()]).sort(function(Le,mt){var zt=Number.isNaN(Number(Le))?0:Number(Le),Pn=Number.isNaN(Number(mt))?0:Number(mt);return zt-Pn})}},{key:"render",value:function(){var me=this,Fe=this.props,He=Fe.pageSize,Le=Fe.locale,mt=Fe.rootPrefixCls,zt=Fe.changeSize,Pn=Fe.quickGo,rn=Fe.goButton,In=Fe.selectComponentClass,Gn=Fe.buildOptionText,Pi=Fe.selectPrefixCls,Di=Fe.disabled,Gi=this.state.goInputText,Dn="".concat(mt,"-options"),or=In,jr=null,Gr=null,Ir=null;if(!zt&&!Pn)return null;var wr=this.getPageSizeOptions();if(zt&&or){var so=wr.map(function(Rr,hr){return Oe.createElement(or.Option,{key:hr,value:Rr.toString()},(Gn||me.buildOptionText)(Rr))});jr=Oe.createElement(or,{disabled:Di,prefixCls:Pi,showSearch:!1,className:"".concat(Dn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(He||wr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(hr){return hr.parentNode},"aria-label":Le.page_size,defaultOpen:!1},so)}return Pn&&(rn&&(Ir=typeof rn=="boolean"?Oe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Di,className:"".concat(Dn,"-quick-jumper-button")},Le.jump_to_confirm):Oe.createElement("span",{onClick:this.go,onKeyUp:this.go},rn)),Gr=Oe.createElement("div",{className:"".concat(Dn,"-quick-jumper")},Le.jump_to,Oe.createElement("input",{disabled:Di,type:"text",value:Gi,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Le.page}),Le.page,Ir)),Oe.createElement("li",{className:"".concat(Dn)},jr,Gr)}}]),Be}(Oe.Component);Ie.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ke=Ie,Ve=function(Ge){var Be,xe=Ge.rootPrefixCls,me=Ge.page,Fe=Ge.active,He=Ge.className,Le=Ge.showTitle,mt=Ge.onClick,zt=Ge.onKeyPress,Pn=Ge.itemRender,rn="".concat(xe,"-item"),In=Ct()(rn,"".concat(rn,"-").concat(me),(Be={},(0,Me.Z)(Be,"".concat(rn,"-active"),Fe),(0,Me.Z)(Be,"".concat(rn,"-disabled"),!me),(0,Me.Z)(Be,Ge.className,He),Be)),Gn=function(){mt(me)},Pi=function(Dn){zt(Dn,mt,me)},Di=Pn(me,"page",Oe.createElement("a",{rel:"nofollow"},me));return Di?Oe.createElement("li",{title:Le?me.toString():null,className:In,onClick:Gn,onKeyPress:Pi,tabIndex:0},Di):null},Ye=Ve;function ut(){}function Ue(qe){var Ge=Number(qe);return typeof Ge=="number"&&!Number.isNaN(Ge)&&isFinite(Ge)&&Math.floor(Ge)===Ge}var Nt=function(Ge,Be,xe){return xe};function Qe(qe,Ge,Be){var xe=typeof qe=="undefined"?Ge.pageSize:qe;return Math.floor((Be.total-1)/xe)+1}var Ht=function(qe){(0,se.Z)(Be,qe);var Ge=(0,ge.Z)(Be);function Be(xe){var me;(0,ne.Z)(this,Be),me=Ge.call(this,xe),me.paginationNode=Oe.createRef(),me.getJumpPrevPage=function(){return Math.max(1,me.state.current-(me.props.showLessItems?3:5))},me.getJumpNextPage=function(){return Math.min(Qe(void 0,me.state,me.props),me.state.current+(me.props.showLessItems?3:5))},me.getItemIcon=function(zt,Pn){var rn=me.props.prefixCls,In=zt||Oe.createElement("button",{type:"button","aria-label":Pn,className:"".concat(rn,"-item-link")});return typeof zt=="function"&&(In=Oe.createElement(zt,(0,te.Z)({},me.props))),In},me.isValid=function(zt){var Pn=me.props.total;return Ue(zt)&&zt!==me.state.current&&Ue(Pn)&&Pn>0},me.shouldDisplayQuickJumper=function(){var zt=me.props,Pn=zt.showQuickJumper,rn=zt.total,In=me.state.pageSize;return rn<=In?!1:Pn},me.handleKeyDown=function(zt){(zt.keyCode===Ne.ARROW_UP||zt.keyCode===Ne.ARROW_DOWN)&&zt.preventDefault()},me.handleKeyUp=function(zt){var Pn=me.getValidValue(zt),rn=me.state.currentInputValue;Pn!==rn&&me.setState({currentInputValue:Pn}),zt.keyCode===Ne.ENTER?me.handleChange(Pn):zt.keyCode===Ne.ARROW_UP?me.handleChange(Pn-1):zt.keyCode===Ne.ARROW_DOWN&&me.handleChange(Pn+1)},me.handleBlur=function(zt){var Pn=me.getValidValue(zt);me.handleChange(Pn)},me.changePageSize=function(zt){var Pn=me.state.current,rn=Qe(zt,me.state,me.props);Pn=Pn>rn?rn:Pn,rn===0&&(Pn=me.state.current),typeof zt=="number"&&("pageSize"in me.props||me.setState({pageSize:zt}),"current"in me.props||me.setState({current:Pn,currentInputValue:Pn})),me.props.onShowSizeChange(Pn,zt),"onChange"in me.props&&me.props.onChange&&me.props.onChange(Pn,zt)},me.handleChange=function(zt){var Pn=me.props,rn=Pn.disabled,In=Pn.onChange,Gn=me.state,Pi=Gn.pageSize,Di=Gn.current,Gi=Gn.currentInputValue;if(me.isValid(zt)&&!rn){var Dn=Qe(void 0,me.state,me.props),or=zt;return zt>Dn?or=Dn:zt<1&&(or=1),"current"in me.props||me.setState({current:or}),or!==Gi&&me.setState({currentInputValue:or}),In(or,Pi),or}return Di},me.prev=function(){me.hasPrev()&&me.handleChange(me.state.current-1)},me.next=function(){me.hasNext()&&me.handleChange(me.state.current+1)},me.jumpPrev=function(){me.handleChange(me.getJumpPrevPage())},me.jumpNext=function(){me.handleChange(me.getJumpNextPage())},me.hasPrev=function(){return me.state.current>1},me.hasNext=function(){return me.state.current2?rn-2:0),Gn=2;Gn=He?mt=He:mt=Number(Fe),mt}},{key:"getShowSizeChanger",value:function(){var me=this.props,Fe=me.showSizeChanger,He=me.total,Le=me.totalBoundaryShowSizeChanger;return typeof Fe!="undefined"?Fe:He>Le}},{key:"render",value:function(){var me=this.props,Fe=me.prefixCls,He=me.className,Le=me.style,mt=me.disabled,zt=me.hideOnSinglePage,Pn=me.total,rn=me.locale,In=me.showQuickJumper,Gn=me.showLessItems,Pi=me.showTitle,Di=me.showTotal,Gi=me.simple,Dn=me.itemRender,or=me.showPrevNextJumpers,jr=me.jumpPrevIcon,Gr=me.jumpNextIcon,Ir=me.selectComponentClass,wr=me.selectPrefixCls,so=me.pageSizeOptions,Rr=this.state,hr=Rr.current,No=Rr.pageSize,vi=Rr.currentInputValue;if(zt===!0&&Pn<=No)return null;var Ee=Qe(void 0,this.state,this.props),$n=[],fi=null,ln=null,ei=null,Yn=null,dn=null,tn=In&&In.goButton,on=Gn?1:2,wt=hr-1>0?hr-1:0,bt=hr+1Pn?Pn:hr*No]));if(Gi){tn&&(typeof tn=="boolean"?dn=Oe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},rn.jump_to_confirm):dn=Oe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn),dn=Oe.createElement("li",{title:Pi?"".concat(rn.jump_to).concat(hr,"/").concat(Ee):null,className:"".concat(Fe,"-simple-pager")},dn));var an=this.renderPrev(wt);return Oe.createElement("ul",(0,Se.Z)({className:Ct()(Fe,"".concat(Fe,"-simple"),(0,Me.Z)({},"".concat(Fe,"-disabled"),mt),He),style:Le,ref:this.paginationNode},ze),Gt,an?Oe.createElement("li",{title:Pi?rn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ct()("".concat(Fe,"-prev"),(0,Me.Z)({},"".concat(Fe,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},an):null,Oe.createElement("li",{title:Pi?"".concat(hr,"/").concat(Ee):null,className:"".concat(Fe,"-simple-pager")},Oe.createElement("input",{type:"text",value:vi,disabled:mt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Oe.createElement("span",{className:"".concat(Fe,"-slash")},"/"),Ee),Oe.createElement("li",{title:Pi?rn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ct()("".concat(Fe,"-next"),(0,Me.Z)({},"".concat(Fe,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(bt)),dn)}if(Ee<=3+on*2){var ct={locale:rn,rootPrefixCls:Fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Pi,itemRender:Dn};Ee||$n.push(Oe.createElement(Ye,(0,Se.Z)({},ct,{key:"noPager",page:1,className:"".concat(Fe,"-item-disabled")})));for(var $e=1;$e<=Ee;$e+=1){var $t=hr===$e;$n.push(Oe.createElement(Ye,(0,Se.Z)({},ct,{key:$e,page:$e,active:$t})))}}else{var Tt=Gn?rn.prev_3:rn.prev_5,Mn=Gn?rn.next_3:rn.next_5,Wn=Dn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(jr,"prev page")),st=Dn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Gr,"next page"));or&&(fi=Wn?Oe.createElement("li",{title:Pi?Tt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ct()("".concat(Fe,"-jump-prev"),(0,Me.Z)({},"".concat(Fe,"-jump-prev-custom-icon"),!!jr))},Wn):null,ln=st?Oe.createElement("li",{title:Pi?Mn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ct()("".concat(Fe,"-jump-next"),(0,Me.Z)({},"".concat(Fe,"-jump-next-custom-icon"),!!Gr))},st):null),Yn=Oe.createElement(Ye,{locale:rn,last:!0,rootPrefixCls:Fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ee,page:Ee,active:!1,showTitle:Pi,itemRender:Dn}),ei=Oe.createElement(Ye,{locale:rn,rootPrefixCls:Fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Pi,itemRender:Dn});var fn=Math.max(1,hr-on),Kn=Math.min(hr+on,Ee);hr-1<=on&&(Kn=1+on*2),Ee-hr<=on&&(fn=Ee-on*2);for(var _n=fn;_n<=Kn;_n+=1){var nn=hr===_n;$n.push(Oe.createElement(Ye,{locale:rn,rootPrefixCls:Fe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_n,page:_n,active:nn,showTitle:Pi,itemRender:Dn}))}hr-1>=on*2&&hr!==3&&($n[0]=(0,Oe.cloneElement)($n[0],{className:"".concat(Fe,"-item-after-jump-prev")}),$n.unshift(fi)),Ee-hr>=on*2&&hr!==Ee-2&&($n[$n.length-1]=(0,Oe.cloneElement)($n[$n.length-1],{className:"".concat(Fe,"-item-before-jump-next")}),$n.push(ln)),fn!==1&&$n.unshift(ei),Kn!==Ee&&$n.push(Yn)}var hn=!this.hasPrev()||!Ee,ri=!this.hasNext()||!Ee,gi=this.renderPrev(wt),yi=this.renderNext(bt);return Oe.createElement("ul",(0,Se.Z)({className:Ct()(Fe,He,(0,Me.Z)({},"".concat(Fe,"-disabled"),mt)),style:Le,ref:this.paginationNode},ze),Gt,gi?Oe.createElement("li",{title:Pi?rn.prev_page:null,onClick:this.prev,tabIndex:hn?null:0,onKeyPress:this.runIfEnterPrev,className:Ct()("".concat(Fe,"-prev"),(0,Me.Z)({},"".concat(Fe,"-disabled"),hn)),"aria-disabled":hn},gi):null,$n,yi?Oe.createElement("li",{title:Pi?rn.next_page:null,onClick:this.next,tabIndex:ri?null:0,onKeyPress:this.runIfEnterNext,className:Ct()("".concat(Fe,"-next"),(0,Me.Z)({},"".concat(Fe,"-disabled"),ri)),"aria-disabled":ri},yi):null,Oe.createElement(Ke,{disabled:mt,locale:rn,rootPrefixCls:Fe,selectComponentClass:Ir,selectPrefixCls:wr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:hr,pageSize:No,pageSizeOptions:so,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:tn}))}}],[{key:"getDerivedStateFromProps",value:function(me,Fe){var He={};if("current"in me&&(He.current=me.current,me.current!==Fe.current&&(He.currentInputValue=He.current)),"pageSize"in me&&me.pageSize!==Fe.pageSize){var Le=Fe.current,mt=Qe(me.pageSize,Fe,me);Le=Le>mt?mt:Le,"current"in me||(He.current=Le,He.currentInputValue=Le),He.pageSize=me.pageSize}return He}}]),Be}(Oe.Component);Ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ut,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ut,locale:Pe.Z,style:{},itemRender:Nt,totalBoundaryShowSizeChanger:50};var Rt=Ht,It=ve(22075),Lt=ve(36355),Ut=ve(19716),ht=ve(8628),Re=ve(9763),At=ve(57809);const Sn=qe=>Oe.createElement(At.default,Object.assign({},qe,{showSearch:!0,size:"small"})),mn=qe=>Oe.createElement(At.default,Object.assign({},qe,{showSearch:!0,size:"middle"}));Sn.Option=At.default.Option,mn.Option=At.default.Option;var Ft=ve(9937),en=ve(17313),sn=ve(83116),On=ve(37613);const yn=qe=>{const{componentCls:Ge}=qe;return{[`${Ge}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ge}-item-link`]:{color:qe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ge}-item-link`]:{color:qe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ge}-disabled`]:{cursor:"not-allowed",[`${Ge}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:qe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:qe.colorBorder,backgroundColor:qe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:qe.itemActiveBgDisabled},a:{color:qe.itemActiveColorDisabled}}},[`${Ge}-item-link`]:{color:qe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ge}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ge}-simple-pager`]:{color:qe.colorTextDisabled},[`${Ge}-jump-prev, ${Ge}-jump-next`]:{[`${Ge}-item-link-icon`]:{opacity:0},[`${Ge}-item-ellipsis`]:{opacity:1}}},[`&${Ge}-simple`]:{[`${Ge}-prev, ${Ge}-next`]:{[`&${Ge}-disabled ${Ge}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Tn=qe=>{const{componentCls:Ge}=qe;return{[`&${Ge}-mini ${Ge}-total-text, &${Ge}-mini ${Ge}-simple-pager`]:{height:qe.itemSizeSM,lineHeight:`${qe.itemSizeSM}px`},[`&${Ge}-mini ${Ge}-item`]:{minWidth:qe.itemSizeSM,height:qe.itemSizeSM,margin:0,lineHeight:`${qe.itemSizeSM-2}px`},[`&${Ge}-mini:not(${Ge}-disabled) ${Ge}-item:not(${Ge}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:qe.colorBgTextHover},"&:active":{backgroundColor:qe.colorBgTextActive}},[`&${Ge}-mini ${Ge}-prev, &${Ge}-mini ${Ge}-next`]:{minWidth:qe.itemSizeSM,height:qe.itemSizeSM,margin:0,lineHeight:`${qe.itemSizeSM}px`},[`&${Ge}-mini:not(${Ge}-disabled)`]:{[`${Ge}-prev, ${Ge}-next`]:{[`&:hover ${Ge}-item-link`]:{backgroundColor:qe.colorBgTextHover},[`&:active ${Ge}-item-link`]:{backgroundColor:qe.colorBgTextActive},[`&${Ge}-disabled:hover ${Ge}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ge}-mini ${Ge}-prev ${Ge}-item-link, &${Ge}-mini ${Ge}-next ${Ge}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:qe.itemSizeSM,lineHeight:`${qe.itemSizeSM}px`}},[`&${Ge}-mini ${Ge}-jump-prev, &${Ge}-mini ${Ge}-jump-next`]:{height:qe.itemSizeSM,marginInlineEnd:0,lineHeight:`${qe.itemSizeSM}px`},[`&${Ge}-mini ${Ge}-options`]:{marginInlineStart:qe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:qe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:qe.itemSizeSM,lineHeight:`${qe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ft.x0)(qe)),{width:qe.paginationMiniQuickJumperInputWidth,height:qe.controlHeightSM})}}}},pt=qe=>{const{componentCls:Ge}=qe;return{[` &${Ge}-simple ${Ge}-prev, &${Ge}-simple ${Ge}-next `]:{height:qe.itemSizeSM,lineHeight:`${qe.itemSizeSM}px`,verticalAlign:"top",[`${Ge}-item-link`]:{height:qe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:qe.colorBgTextHover},"&:active":{backgroundColor:qe.colorBgTextActive},"&::after":{height:qe.itemSizeSM,lineHeight:`${qe.itemSizeSM}px`}}},[`&${Ge}-simple ${Ge}-simple-pager`]:{display:"inline-block",height:qe.itemSizeSM,marginInlineEnd:qe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:qe.marginXS,padding:`0 ${qe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:qe.itemInputBg,border:`${qe.lineWidth}px ${qe.lineType} ${qe.colorBorder}`,borderRadius:qe.borderRadius,outline:"none",transition:`border-color ${qe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:qe.colorPrimary},"&:focus":{borderColor:qe.colorPrimaryHover,boxShadow:`${qe.inputOutlineOffset}px 0 ${qe.controlOutlineWidth}px ${qe.controlOutline}`},"&[disabled]":{color:qe.colorTextDisabled,backgroundColor:qe.colorBgContainerDisabled,borderColor:qe.colorBorder,cursor:"not-allowed"}}}}},Un=qe=>{const{componentCls:Ge}=qe;return{[`${Ge}-jump-prev, ${Ge}-jump-next`]:{outline:0,[`${Ge}-item-container`]:{position:"relative",[`${Ge}-item-link-icon`]:{color:qe.colorPrimary,fontSize:qe.fontSizeSM,opacity:0,transition:`all ${qe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ge}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:qe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:qe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:qe.paginationEllipsisTextIndent,opacity:1,transition:`all ${qe.motionDurationMid}`}},"&:hover":{[`${Ge}-item-link-icon`]:{opacity:1},[`${Ge}-item-ellipsis`]:{opacity:0}}},[` ${Ge}-prev, ${Ge}-jump-prev, ${Ge}-jump-next `]:{marginInlineEnd:qe.marginXS},[` ${Ge}-prev, ${Ge}-next, ${Ge}-jump-prev, ${Ge}-jump-next `]:{display:"inline-block",minWidth:qe.itemSize,height:qe.itemSize,color:qe.colorText,fontFamily:qe.fontFamily,lineHeight:`${qe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:qe.borderRadius,cursor:"pointer",transition:`all ${qe.motionDurationMid}`},[`${Ge}-prev, ${Ge}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:qe.colorText,cursor:"pointer",userSelect:"none"},[`${Ge}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:qe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${qe.lineWidth}px ${qe.lineType} transparent`,borderRadius:qe.borderRadius,outline:"none",transition:`all ${qe.motionDurationMid}`},[`&:hover ${Ge}-item-link`]:{backgroundColor:qe.colorBgTextHover},[`&:active ${Ge}-item-link`]:{backgroundColor:qe.colorBgTextActive},[`&${Ge}-disabled:hover`]:{[`${Ge}-item-link`]:{backgroundColor:"transparent"}}},[`${Ge}-slash`]:{marginInlineEnd:qe.paginationSlashMarginInlineEnd,marginInlineStart:qe.paginationSlashMarginInlineStart},[`${Ge}-options`]:{display:"inline-block",marginInlineStart:qe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:qe.controlHeight,marginInlineStart:qe.marginXS,lineHeight:`${qe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ft.ik)(qe)),{width:qe.controlHeightLG*1.25,height:qe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:qe.marginXS,marginInlineEnd:qe.marginXS})}}}},wn=qe=>{const{componentCls:Ge}=qe;return{[`${Ge}-item`]:{display:"inline-block",minWidth:qe.itemSize,height:qe.itemSize,marginInlineEnd:qe.marginXS,fontFamily:qe.fontFamily,lineHeight:`${qe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${qe.lineWidth}px ${qe.lineType} transparent`,borderRadius:qe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${qe.paginationItemPaddingInline}px`,color:qe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ge}-item-active)`]:{"&:hover":{transition:`all ${qe.motionDurationMid}`,backgroundColor:qe.colorBgTextHover},"&:active":{backgroundColor:qe.colorBgTextActive}},"&-active":{fontWeight:qe.fontWeightStrong,backgroundColor:qe.itemActiveBg,borderColor:qe.colorPrimary,a:{color:qe.colorPrimary},"&:hover":{borderColor:qe.colorPrimaryHover},"&:hover a":{color:qe.colorPrimaryHover}}}}},An=qe=>{const{componentCls:Ge}=qe;return{[Ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,en.Wf)(qe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ge}-total-text`]:{display:"inline-block",height:qe.itemSize,marginInlineEnd:qe.marginXS,lineHeight:`${qe.itemSize-2}px`,verticalAlign:"middle"}}),wn(qe)),Un(qe)),pt(qe)),Tn(qe)),yn(qe)),{[`@media only screen and (max-width: ${qe.screenLG}px)`]:{[`${Ge}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${qe.screenSM}px)`]:{[`${Ge}-options`]:{display:"none"}}}),[`&${qe.componentCls}-rtl`]:{direction:"rtl"}}},ni=qe=>{const{componentCls:Ge}=qe;return{[`${Ge}${Ge}-disabled:not(${Ge}-mini)`]:{"&, &:hover":{[`${Ge}-item-link`]:{borderColor:qe.colorBorder}},"&:focus-visible":{[`${Ge}-item-link`]:{borderColor:qe.colorBorder}},[`${Ge}-item, ${Ge}-item-link`]:{backgroundColor:qe.colorBgContainerDisabled,borderColor:qe.colorBorder,[`&:hover:not(${Ge}-item-active)`]:{backgroundColor:qe.colorBgContainerDisabled,borderColor:qe.colorBorder,a:{color:qe.colorTextDisabled}},[`&${Ge}-item-active`]:{backgroundColor:qe.itemActiveBgDisabled}},[`${Ge}-prev, ${Ge}-next`]:{"&:hover button":{backgroundColor:qe.colorBgContainerDisabled,borderColor:qe.colorBorder,color:qe.colorTextDisabled},[`${Ge}-item-link`]:{backgroundColor:qe.colorBgContainerDisabled,borderColor:qe.colorBorder}}},[`${Ge}:not(${Ge}-mini)`]:{[`${Ge}-prev, ${Ge}-next`]:{"&:hover button":{borderColor:qe.colorPrimaryHover,backgroundColor:qe.itemBg},[`${Ge}-item-link`]:{backgroundColor:qe.itemLinkBg,borderColor:qe.colorBorder},[`&:hover ${Ge}-item-link`]:{borderColor:qe.colorPrimary,backgroundColor:qe.itemBg,color:qe.colorPrimary},[`&${Ge}-disabled`]:{[`${Ge}-item-link`]:{borderColor:qe.colorBorder,color:qe.colorTextDisabled}}},[`${Ge}-item`]:{backgroundColor:qe.itemBg,border:`${qe.lineWidth}px ${qe.lineType} ${qe.colorBorder}`,[`&:hover:not(${Ge}-item-active)`]:{borderColor:qe.colorPrimary,backgroundColor:qe.itemBg,a:{color:qe.colorPrimary}},"&-active":{borderColor:qe.colorPrimary}}}}},Qt=qe=>{const{componentCls:Ge}=qe;return{[`${Ge}:not(${Ge}-disabled)`]:{[`${Ge}-item`]:Object.assign({},(0,en.Qy)(qe)),[`${Ge}-jump-prev, ${Ge}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ge}-item-link-icon`]:{opacity:1},[`${Ge}-item-ellipsis`]:{opacity:0}},(0,en.oN)(qe))},[`${Ge}-prev, ${Ge}-next`]:{[`&:focus-visible ${Ge}-item-link`]:Object.assign({},(0,en.oN)(qe))}}}};var Jt=(0,sn.Z)("Pagination",qe=>{const Ge=(0,On.TS)(qe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:qe.marginXXS/2,paginationMiniQuickJumperInputWidth:qe.controlHeightLG*1.1,paginationItemPaddingInline:qe.marginXXS*1.5,paginationEllipsisLetterSpacing:qe.marginXXS/2,paginationSlashMarginInlineStart:qe.marginXXS,paginationSlashMarginInlineEnd:qe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ft.e5)(qe),(0,Ft.TM)(qe));return[An(Ge),Qt(Ge),qe.wireframe&&ni(Ge)]},qe=>({itemBg:qe.colorBgContainer,itemSize:qe.controlHeight,itemSizeSM:qe.controlHeightSM,itemActiveBg:qe.colorBgContainer,itemLinkBg:qe.colorBgContainer,itemActiveColorDisabled:qe.colorTextDisabled,itemActiveBgDisabled:qe.controlItemBgActiveDisabled,itemInputBg:qe.colorBgContainer,miniOptionsSizeChangerTop:0})),St=function(qe,Ge){var Be={};for(var xe in qe)Object.prototype.hasOwnProperty.call(qe,xe)&&Ge.indexOf(xe)<0&&(Be[xe]=qe[xe]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,xe=Object.getOwnPropertySymbols(qe);me{const{prefixCls:Ge,selectPrefixCls:Be,className:xe,rootClassName:me,style:Fe,size:He,locale:Le,selectComponentClass:mt,responsive:zt,showSizeChanger:Pn}=qe,rn=St(qe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:In}=(0,ht.Z)(zt),{getPrefixCls:Gn,direction:Pi,pagination:Di={}}=Oe.useContext(Lt.E_),Gi=Gn("pagination",Ge),[Dn,or]=Jt(Gi),jr=Pn!=null?Pn:Di.showSizeChanger,Gr=Oe.useMemo(()=>{const Ee=Oe.createElement("span",{className:`${Gi}-item-ellipsis`},"\u2022\u2022\u2022"),$n=Oe.createElement("button",{className:`${Gi}-item-link`,type:"button",tabIndex:-1},Pi==="rtl"?Oe.createElement(gt.Z,null):Oe.createElement(tt.Z,null)),fi=Oe.createElement("button",{className:`${Gi}-item-link`,type:"button",tabIndex:-1},Pi==="rtl"?Oe.createElement(tt.Z,null):Oe.createElement(gt.Z,null)),ln=Oe.createElement("a",{className:`${Gi}-item-link`},Oe.createElement("div",{className:`${Gi}-item-container`},Pi==="rtl"?Oe.createElement(Et.Z,{className:`${Gi}-item-link-icon`}):Oe.createElement(Bt,{className:`${Gi}-item-link-icon`}),Ee)),ei=Oe.createElement("a",{className:`${Gi}-item-link`},Oe.createElement("div",{className:`${Gi}-item-container`},Pi==="rtl"?Oe.createElement(Bt,{className:`${Gi}-item-link-icon`}):Oe.createElement(Et.Z,{className:`${Gi}-item-link-icon`}),Ee));return{prevIcon:$n,nextIcon:fi,jumpPrevIcon:ln,jumpNextIcon:ei}},[Pi,Gi]),[Ir]=(0,Re.Z)("Pagination",It.Z),wr=Object.assign(Object.assign({},Ir),Le),so=(0,Ut.Z)(He),Rr=so==="small"||!!(In&&!so&&zt),hr=Gn("select",Be),No=Ct()({[`${Gi}-mini`]:Rr,[`${Gi}-rtl`]:Pi==="rtl"},Di==null?void 0:Di.className,xe,me,or),vi=Object.assign(Object.assign({},Di==null?void 0:Di.style),Fe);return Dn(Oe.createElement(Rt,Object.assign({},Gr,rn,{style:vi,prefixCls:Gi,selectPrefixCls:hr,className:No,selectComponentClass:mt||(Rr?Sn:mn),locale:wr,showSizeChanger:jr})))},Kt=Yt},13570:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Re}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(Sn,mn){return Oe.createElement(et.Z,(0,Se.Z)({},Sn,{ref:mn,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke,Et=ve(92310),tt=ve.n(Et),gt=ve(49618),dt=ve(52487),Ct=ve(74416),Me=ve(18929),te=ve(10228),ne=ve(26112);function ce(At,Sn){var mn=At.disabled,Ft=At.prefixCls,en=At.character,sn=At.characterRender,On=At.index,yn=At.count,Tn=At.value,pt=At.allowHalf,Un=At.focused,wn=At.onHover,An=At.onClick,ni=function(Ge){wn(Ge,On)},Qt=function(Ge){An(Ge,On)},Jt=function(Ge){Ge.keyCode===te.Z.ENTER&&An(Ge,On)},St=On+1,Xe=new Set([Ft]);Tn===0&&On===0&&Un?Xe.add("".concat(Ft,"-focused")):pt&&Tn+.5>=St&&TnOn?"true":"false","aria-posinset":On+1,"aria-setsize":yn,tabIndex:mn?-1:0},Oe.createElement("div",{className:"".concat(Ft,"-first")},Yt),Oe.createElement("div",{className:"".concat(Ft,"-second")},Yt)));return sn&&(Kt=sn(Kt,At)),Kt}var se=Oe.forwardRef(ce);function ge(){var At=Oe.useRef({});function Sn(Ft){return At.current[Ft]}function mn(Ft){return function(en){At.current[Ft]=en}}return[Sn,mn]}function ye(At){var Sn=At.pageXOffset,mn="scrollLeft";if(typeof Sn!="number"){var Ft=At.document;Sn=Ft.documentElement[mn],typeof Sn!="number"&&(Sn=Ft.body[mn])}return Sn}function Ce(At){var Sn,mn,Ft=At.ownerDocument,en=Ft.body,sn=Ft&&Ft.documentElement,On=At.getBoundingClientRect();return Sn=On.left,mn=On.top,Sn-=sn.clientLeft||en.clientLeft||0,mn-=sn.clientTop||en.clientTop||0,{left:Sn,top:mn}}function Ne(At){var Sn=Ce(At),mn=At.ownerDocument,Ft=mn.defaultView||mn.parentWindow;return Sn.left+=ye(Ft),Sn.left}var Pe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ie(At,Sn){var mn,Ft=At.prefixCls,en=Ft===void 0?"rc-rate":Ft,sn=At.className,On=At.defaultValue,yn=At.value,Tn=At.count,pt=Tn===void 0?5:Tn,Un=At.allowHalf,wn=Un===void 0?!1:Un,An=At.allowClear,ni=An===void 0?!0:An,Qt=At.character,Jt=Qt===void 0?"\u2605":Qt,St=At.characterRender,Xe=At.disabled,Yt=At.direction,Kt=Yt===void 0?"ltr":Yt,qe=At.tabIndex,Ge=qe===void 0?0:qe,Be=At.autoFocus,xe=At.onHoverChange,me=At.onChange,Fe=At.onFocus,He=At.onBlur,Le=At.onKeyDown,mt=At.onMouseLeave,zt=(0,Ct.Z)(At,Pe),Pn=ge(),rn=(0,dt.Z)(Pn,2),In=rn[0],Gn=rn[1],Pi=Oe.useRef(null),Di=function(){if(!Xe){var $e;($e=Pi.current)===null||$e===void 0||$e.focus()}};Oe.useImperativeHandle(Sn,function(){return{focus:Di,blur:function(){if(!Xe){var $e;($e=Pi.current)===null||$e===void 0||$e.blur()}}}});var Gi=(0,Me.Z)(On||0,{value:yn}),Dn=(0,dt.Z)(Gi,2),or=Dn[0],jr=Dn[1],Gr=(0,Me.Z)(null),Ir=(0,dt.Z)(Gr,2),wr=Ir[0],so=Ir[1],Rr=function($e,$t){var Tt=Kt==="rtl",Mn=$e+1;if(wn){var Wn=In($e),st=Ne(Wn),fn=Wn.clientWidth;(Tt&&$t-st>fn/2||!Tt&&$t-st0&&!Tt||$t===te.Z.RIGHT&&Mn>0&&Tt?(wn?Mn-=.5:Mn-=1,hr(Mn),$e.preventDefault()):$t===te.Z.LEFT&&Mn{const{componentCls:Sn}=At;return{[`${Sn}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:At.marginXS},"> div":{transition:`all ${At.motionDurationMid}, outline 0s`,"&:hover":{transform:At.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${At.lineWidth}px dashed ${At.starColor}`,transform:At.starHoverScale}},"&-first, &-second":{color:At.starBg,transition:`all ${At.motionDurationMid}`,userSelect:"none",[At.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Sn}-star-first, &-half ${Sn}-star-second`]:{opacity:1},[`&-half ${Sn}-star-first, &-full ${Sn}-star-second`]:{color:"inherit"}}}},Rt=At=>({[`&-rtl${At.componentCls}`]:{direction:"rtl"}}),It=At=>{const{componentCls:Sn}=At;return{[Sn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ue.Wf)(At)),{display:"inline-block",margin:0,padding:0,color:At.starColor,fontSize:At.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Sn} ${Sn}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ht(At)),{[`+ ${Sn}-text`]:{display:"inline-block",marginInlineStart:At.marginXS,fontSize:At.fontSize}}),Rt(At))}};var Lt=(0,Nt.Z)("Rate",At=>{const Sn=(0,Qe.TS)(At,{});return[It(Sn)]},At=>({starColor:At.yellow6,starSize:At.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:At.colorFillContent})),Ut=function(At,Sn){var mn={};for(var Ft in At)Object.prototype.hasOwnProperty.call(At,Ft)&&Sn.indexOf(Ft)<0&&(mn[Ft]=At[Ft]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,Ft=Object.getOwnPropertySymbols(At);en{const{prefixCls:mn,className:Ft,rootClassName:en,style:sn,tooltips:On,character:yn=Oe.createElement(Bt,null)}=At,Tn=Ut(At,["prefixCls","className","rootClassName","style","tooltips","character"]),pt=(Xe,Yt)=>{let{index:Kt}=Yt;return On?Oe.createElement(ut.Z,{title:On[Kt]},Xe):Xe},{getPrefixCls:Un,direction:wn,rate:An}=Oe.useContext(Ye.E_),ni=Un("rate",mn),[Qt,Jt]=Lt(ni),St=Object.assign(Object.assign({},An==null?void 0:An.style),sn);return Qt(Oe.createElement(Ve,Object.assign({ref:Sn,character:yn,characterRender:pt},Tn,{className:tt()(Ft,en,Jt,An==null?void 0:An.className),style:St,prefixCls:ni,direction:wn})))})},57809:function(zn,Nn,ve){"use strict";var Se=ve(92310),Oe=ve.n(Se),We=ve(77861),Ot=ve(2738),et=ve(59301),yt=ve(53487),ke=ve(62892),Bt=ve(19080),Et=ve(36355),tt=ve(1684),gt=ve(93891),dt=ve(19716),Ct=ve(32441),Me=ve(33234),te=ve(14154),ne=ve(58582),ce=ve(84443),se=ve(66339),ge=function(Ie,Ke){var Ve={};for(var Ye in Ie)Object.prototype.hasOwnProperty.call(Ie,Ye)&&Ke.indexOf(Ye)<0&&(Ve[Ye]=Ie[Ye]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Ye=Object.getOwnPropertySymbols(Ie);ut{var Ve,{prefixCls:Ye,bordered:ut=!0,className:Ue,rootClassName:Nt,getPopupContainer:Qe,popupClassName:Ht,dropdownClassName:Rt,listHeight:It=256,placement:Lt,listItemHeight:Ut=24,size:ht,disabled:Re,notFoundContent:At,status:Sn,builtinPlacements:mn,dropdownMatchSelectWidth:Ft,popupMatchSelectWidth:en,direction:sn,style:On,allowClear:yn}=Ie,Tn=ge(Ie,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:pt,getPrefixCls:Un,renderEmpty:wn,direction:An,virtual:ni,popupMatchSelectWidth:Qt,popupOverflow:Jt,select:St}=et.useContext(Et.E_),Xe=Un("select",Ye),Yt=Un(),Kt=sn!=null?sn:An,{compactSize:qe,compactItemClassnames:Ge}=(0,Me.ri)(Xe,Kt),[Be,xe]=(0,te.Z)(Xe),me=et.useMemo(()=>{const{mode:vi}=Tn;if(vi!=="combobox")return vi===ye?"combobox":vi},[Tn.mode]),Fe=me==="multiple"||me==="tags",He=(0,ce.Z)(Tn.suffixIcon,Tn.showArrow),Le=(Ve=en!=null?en:Ft)!==null&&Ve!==void 0?Ve:Qt,{status:mt,hasFeedback:zt,isFormItemInput:Pn,feedbackIcon:rn}=et.useContext(Ct.aM),In=(0,Bt.F)(mt,Sn);let Gn;At!==void 0?Gn=At:me==="combobox"?Gn=null:Gn=(wn==null?void 0:wn("Select"))||et.createElement(gt.Z,{componentName:"Select"});const{suffixIcon:Pi,itemIcon:Di,removeIcon:Gi,clearIcon:Dn}=(0,se.Z)(Object.assign(Object.assign({},Tn),{multiple:Fe,hasFeedback:zt,feedbackIcon:rn,showSuffixIcon:He,prefixCls:Xe,showArrow:Tn.showArrow,componentName:"Select"})),or=yn===!0?{clearIcon:Dn}:yn,jr=(0,Ot.Z)(Tn,["suffixIcon","itemIcon"]),Gr=Oe()(Ht||Rt,{[`${Xe}-dropdown-${Kt}`]:Kt==="rtl"},Nt,xe),Ir=(0,dt.Z)(vi=>{var Ee;return(Ee=ht!=null?ht:qe)!==null&&Ee!==void 0?Ee:vi}),wr=et.useContext(tt.Z),so=Re!=null?Re:wr,Rr=Oe()({[`${Xe}-lg`]:Ir==="large",[`${Xe}-sm`]:Ir==="small",[`${Xe}-rtl`]:Kt==="rtl",[`${Xe}-borderless`]:!ut,[`${Xe}-in-form-item`]:Pn},(0,Bt.Z)(Xe,In,zt),Ge,St==null?void 0:St.className,Ue,Nt,xe),hr=et.useMemo(()=>Lt!==void 0?Lt:Kt==="rtl"?"bottomRight":"bottomLeft",[Lt,Kt]),No=(0,ne.Z)(mn,Jt);return Be(et.createElement(We.ZP,Object.assign({ref:Ke,virtual:ni,showSearch:St==null?void 0:St.showSearch},jr,{style:Object.assign(Object.assign({},St==null?void 0:St.style),On),dropdownMatchSelectWidth:Le,builtinPlacements:No,transitionName:(0,ke.m)(Yt,"slide-up",Tn.transitionName),listHeight:It,listItemHeight:Ut,mode:me,prefixCls:Xe,placement:hr,direction:Kt,suffixIcon:Pi,menuItemSelectedIcon:Di,removeIcon:Gi,allowClear:or,notFoundContent:Gn,className:Rr,getPopupContainer:Qe||pt,dropdownClassName:Gr,disabled:so})))},Ne=et.forwardRef(Ce),Pe=(0,yt.Z)(Ne);Ne.SECRET_COMBOBOX_MODE_DO_NOT_USE=ye,Ne.Option=We.Wx,Ne.OptGroup=We.Xo,Ne._InternalPanelDoNotUseOrYouWillBeFired=Pe,Nn.default=Ne},14154:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Ne}});var Se=ve(17313),Oe=ve(74207),We=ve(37613),Ot=ve(83116),et=ve(13826),yt=ve(92899);const ke=Pe=>{const{optionHeight:Ie,optionFontSize:Ke,optionLineHeight:Ve,optionPadding:Ye}=Pe;return{position:"relative",display:"block",minHeight:Ie,padding:Ye,color:Pe.colorText,fontWeight:"normal",fontSize:Ke,lineHeight:Ve,boxSizing:"border-box"}};var Et=Pe=>{const{antCls:Ie,componentCls:Ke}=Pe,Ve=`${Ke}-item`,Ye=`&${Ie}-slide-up-enter${Ie}-slide-up-enter-active`,ut=`&${Ie}-slide-up-appear${Ie}-slide-up-appear-active`,Ue=`&${Ie}-slide-up-leave${Ie}-slide-up-leave-active`,Nt=`${Ke}-dropdown-placement-`;return[{[`${Ke}-dropdown`]:Object.assign(Object.assign({},(0,Se.Wf)(Pe)),{position:"absolute",top:-9999,zIndex:Pe.zIndexPopup,boxSizing:"border-box",padding:Pe.paddingXXS,overflow:"hidden",fontSize:Pe.fontSize,fontVariant:"initial",backgroundColor:Pe.colorBgElevated,borderRadius:Pe.borderRadiusLG,outline:"none",boxShadow:Pe.boxShadowSecondary,[` ${Ye}${Nt}bottomLeft, ${ut}${Nt}bottomLeft `]:{animationName:et.fJ},[` ${Ye}${Nt}topLeft, ${ut}${Nt}topLeft, ${Ye}${Nt}topRight, ${ut}${Nt}topRight `]:{animationName:et.Qt},[`${Ue}${Nt}bottomLeft`]:{animationName:et.Uw},[` ${Ue}${Nt}topLeft, ${Ue}${Nt}topRight `]:{animationName:et.ly},"&-hidden":{display:"none"},[`${Ve}`]:Object.assign(Object.assign({},ke(Pe)),{cursor:"pointer",transition:`background ${Pe.motionDurationSlow} ease`,borderRadius:Pe.borderRadiusSM,"&-group":{color:Pe.colorTextDescription,fontSize:Pe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Se.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ve}-option-disabled)`]:{backgroundColor:Pe.optionActiveBg},[`&-selected:not(${Ve}-option-disabled)`]:{color:Pe.optionSelectedColor,fontWeight:Pe.optionSelectedFontWeight,backgroundColor:Pe.optionSelectedBg,[`${Ve}-option-state`]:{color:Pe.colorPrimary}},"&-disabled":{[`&${Ve}-option-selected`]:{backgroundColor:Pe.colorBgContainerDisabled},color:Pe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Pe.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,et.oN)(Pe,"slide-up"),(0,et.oN)(Pe,"slide-down"),(0,yt.Fm)(Pe,"move-up"),(0,yt.Fm)(Pe,"move-down")]};const tt=2,gt=Pe=>{let{controlHeightSM:Ie,controlHeight:Ke,lineWidth:Ve}=Pe;const Ye=(Ke-Ie)/2-Ve,ut=Math.ceil(Ye/2);return[Ye,ut]};function dt(Pe,Ie){const{componentCls:Ke,iconCls:Ve}=Pe,Ye=`${Ke}-selection-overflow`,ut=Pe.multipleSelectItemHeight,[Ue]=gt(Pe),Nt=Ie?`${Ke}-${Ie}`:"";return{[`${Ke}-multiple${Nt}`]:{fontSize:Pe.fontSize,[Ye]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Ke}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Ue-tt}px ${tt*2}px`,borderRadius:Pe.borderRadius,[`${Ke}-show-search&`]:{cursor:"text"},[`${Ke}-disabled&`]:{background:Pe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${tt}px 0`,lineHeight:`${ut}px`,visibility:"hidden",content:'"\\a0"'}},[` &${Ke}-show-arrow ${Ke}-selector, &${Ke}-allow-clear ${Ke}-selector `]:{paddingInlineEnd:Pe.fontSizeIcon+Pe.controlPaddingHorizontal},[`${Ke}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:ut,marginTop:tt,marginBottom:tt,lineHeight:`${ut-Pe.lineWidth*2}px`,background:Pe.multipleItemBg,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.multipleItemBorderColor}`,borderRadius:Pe.borderRadiusSM,cursor:"default",transition:`font-size ${Pe.motionDurationSlow}, line-height ${Pe.motionDurationSlow}, height ${Pe.motionDurationSlow}`,userSelect:"none",marginInlineEnd:tt*2,paddingInlineStart:Pe.paddingXS,paddingInlineEnd:Pe.paddingXS/2,[`${Ke}-disabled&`]:{color:Pe.multipleItemColorDisabled,borderColor:Pe.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:Pe.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Se.Ro)()),{display:"inline-flex",alignItems:"center",color:Pe.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Pe.colorIconHover}})},[`${Ye}-item + ${Ye}-item`]:{[`${Ke}-selection-search`]:{marginInlineStart:0}},[`${Ke}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:Pe.inputPaddingHorizontalBase-Ue,"\n &-input,\n &-mirror\n ":{height:ut,fontFamily:Pe.fontFamily,lineHeight:`${ut}px`,transition:`all ${Pe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ke}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:Pe.inputPaddingHorizontalBase,insetInlineEnd:Pe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${Pe.motionDurationSlow}`}}}}var Me=Pe=>{const{componentCls:Ie}=Pe,Ke=(0,We.TS)(Pe,{controlHeight:Pe.controlHeightSM,multipleSelectItemHeight:Pe.controlHeightXS,borderRadius:Pe.borderRadiusSM,borderRadiusSM:Pe.borderRadiusXS}),Ve=(0,We.TS)(Pe,{fontSize:Pe.fontSizeLG,controlHeight:Pe.controlHeightLG,multipleSelectItemHeight:Pe.multipleItemHeightLG,borderRadius:Pe.borderRadiusLG,borderRadiusSM:Pe.borderRadius}),[,Ye]=gt(Pe);return[dt(Pe),dt(Ke,"sm"),{[`${Ie}-multiple${Ie}-sm`]:{[`${Ie}-selection-placeholder`]:{insetInline:Pe.controlPaddingHorizontalSM-Pe.lineWidth},[`${Ie}-selection-search`]:{marginInlineStart:Ye}}},dt(Ve,"lg")]};function te(Pe,Ie){const{componentCls:Ke,inputPaddingHorizontalBase:Ve,borderRadius:Ye}=Pe,ut=Pe.controlHeight-Pe.lineWidth*2,Ue=Math.ceil(Pe.fontSize*1.25),Nt=Ie?`${Ke}-${Ie}`:"";return{[`${Ke}-single${Nt}`]:{fontSize:Pe.fontSize,[`${Ke}-selector`]:Object.assign(Object.assign({},(0,Se.Wf)(Pe)),{display:"flex",borderRadius:Ye,[`${Ke}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Ve,insetInlineEnd:Ve,bottom:0,"&-input":{width:"100%"}},[` ${Ke}-selection-item, ${Ke}-selection-placeholder `]:{padding:0,lineHeight:`${ut}px`,transition:`all ${Pe.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${ut}px`}},[`${Ke}-selection-item`]:{position:"relative",userSelect:"none"},[`${Ke}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Ke}-selection-item:after`,`${Ke}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${Ke}-show-arrow ${Ke}-selection-item, &${Ke}-show-arrow ${Ke}-selection-placeholder `]:{paddingInlineEnd:Ue},[`&${Ke}-open ${Ke}-selection-item`]:{color:Pe.colorTextPlaceholder},[`&:not(${Ke}-customize-input)`]:{[`${Ke}-selector`]:{width:"100%",height:Pe.controlHeight,padding:`0 ${Ve}px`,[`${Ke}-selection-search-input`]:{height:ut},"&:after":{lineHeight:`${ut}px`}}},[`&${Ke}-customize-input`]:{[`${Ke}-selector`]:{"&:after":{display:"none"},[`${Ke}-selection-search`]:{position:"static",width:"100%"},[`${Ke}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ve}px`,"&:after":{display:"none"}}}}}}}function ne(Pe){const{componentCls:Ie}=Pe,Ke=Pe.controlPaddingHorizontalSM-Pe.lineWidth;return[te(Pe),te((0,We.TS)(Pe,{controlHeight:Pe.controlHeightSM,borderRadius:Pe.borderRadiusSM}),"sm"),{[`${Ie}-single${Ie}-sm`]:{[`&:not(${Ie}-customize-input)`]:{[`${Ie}-selection-search`]:{insetInlineStart:Ke,insetInlineEnd:Ke},[`${Ie}-selector`]:{padding:`0 ${Ke}px`},[`&${Ie}-show-arrow ${Ie}-selection-search`]:{insetInlineEnd:Ke+Pe.fontSize*1.5},[` &${Ie}-show-arrow ${Ie}-selection-item, &${Ie}-show-arrow ${Ie}-selection-placeholder `]:{paddingInlineEnd:Pe.fontSize*1.5}}}},te((0,We.TS)(Pe,{controlHeight:Pe.singleItemHeightLG,fontSize:Pe.fontSizeLG,borderRadius:Pe.borderRadiusLG}),"lg")]}const ce=Pe=>{const{componentCls:Ie,selectorBg:Ke}=Pe;return{position:"relative",backgroundColor:Ke,border:`${Pe.lineWidth}px ${Pe.lineType} ${Pe.colorBorder}`,transition:`all ${Pe.motionDurationMid} ${Pe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Ie}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Ie}-disabled&`]:{color:Pe.colorTextDisabled,background:Pe.colorBgContainerDisabled,cursor:"not-allowed",[`${Ie}-multiple&`]:{background:Pe.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},se=function(Pe,Ie){let Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Ve,borderHoverColor:Ye,outlineColor:ut,antCls:Ue}=Ie,Nt=Ke?{[`${Ve}-selector`]:{borderColor:Ye}}:{};return{[Pe]:{[`&:not(${Ve}-disabled):not(${Ve}-customize-input):not(${Ue}-pagination-size-changer)`]:Object.assign(Object.assign({},Nt),{[`${Ve}-focused& ${Ve}-selector`]:{borderColor:Ye,boxShadow:`0 0 0 ${Ie.controlOutlineWidth}px ${ut}`,outline:0},[`&:hover ${Ve}-selector`]:{borderColor:Ye}})}}},ge=Pe=>{const{componentCls:Ie}=Pe;return{[`${Ie}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ye=Pe=>{const{componentCls:Ie,inputPaddingHorizontalBase:Ke,iconCls:Ve}=Pe;return{[Ie]:Object.assign(Object.assign({},(0,Se.Wf)(Pe)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Ie}-customize-input) ${Ie}-selector`]:Object.assign(Object.assign({},ce(Pe)),ge(Pe)),[`${Ie}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},Se.vS),[`${Ie}-selection-placeholder`]:Object.assign(Object.assign({},Se.vS),{flex:1,color:Pe.colorTextPlaceholder,pointerEvents:"none"}),[`${Ie}-arrow`]:Object.assign(Object.assign({},(0,Se.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ke,height:Pe.fontSizeIcon,marginTop:-Pe.fontSizeIcon/2,color:Pe.colorTextQuaternary,fontSize:Pe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Ve]:{verticalAlign:"top",transition:`transform ${Pe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Ie}-suffix)`]:{pointerEvents:"auto"}},[`${Ie}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Ie}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ke,zIndex:1,display:"inline-block",width:Pe.fontSizeIcon,height:Pe.fontSizeIcon,marginTop:-Pe.fontSizeIcon/2,color:Pe.colorTextQuaternary,fontSize:Pe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:Pe.clearBg,cursor:"pointer",opacity:0,transition:`color ${Pe.motionDurationMid} ease, opacity ${Pe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Pe.colorTextTertiary}},"&:hover":{[`${Ie}-clear`]:{opacity:1}}}),[`${Ie}-has-feedback`]:{[`${Ie}-clear`]:{insetInlineEnd:Ke+Pe.fontSize+Pe.paddingXS}}}},Ce=Pe=>{const{componentCls:Ie}=Pe;return[{[Ie]:{[`&-borderless ${Ie}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Ie}-in-form-item`]:{width:"100%"}}},ye(Pe),ne(Pe),Me(Pe),Et(Pe),{[`${Ie}-rtl`]:{direction:"rtl"}},se(Ie,(0,We.TS)(Pe,{borderHoverColor:Pe.colorPrimaryHover,outlineColor:Pe.controlOutline})),se(`${Ie}-status-error`,(0,We.TS)(Pe,{borderHoverColor:Pe.colorErrorHover,outlineColor:Pe.colorErrorOutline}),!0),se(`${Ie}-status-warning`,(0,We.TS)(Pe,{borderHoverColor:Pe.colorWarningHover,outlineColor:Pe.colorWarningOutline}),!0),(0,Oe.c)(Pe,{borderElCls:`${Ie}-selector`,focusElCls:`${Ie}-focused`})]};var Ne=(0,Ot.Z)("Select",(Pe,Ie)=>{let{rootPrefixCls:Ke}=Ie;const Ve=(0,We.TS)(Pe,{rootPrefixCls:Ke,inputPaddingHorizontalBase:Pe.paddingSM-1,multipleSelectItemHeight:Pe.multipleItemHeight});return[Ce(Ve)]},Pe=>{const{fontSize:Ie,lineHeight:Ke,controlHeight:Ve,controlPaddingHorizontal:Ye,zIndexPopupBase:ut,colorText:Ue,fontWeightStrong:Nt,controlItemBgActive:Qe,controlItemBgHover:Ht,colorBgContainer:Rt,colorFillSecondary:It,controlHeightLG:Lt,controlHeightSM:Ut,colorBgContainerDisabled:ht,colorTextDisabled:Re}=Pe;return{zIndexPopup:ut+50,optionSelectedColor:Ue,optionSelectedFontWeight:Nt,optionSelectedBg:Qe,optionActiveBg:Ht,optionPadding:`${(Ve-Ie*Ke)/2}px ${Ye}px`,optionFontSize:Ie,optionLineHeight:Ke,optionHeight:Ve,selectorBg:Rt,clearBg:Rt,singleItemHeightLG:Lt,multipleItemBg:It,multipleItemBorderColor:"transparent",multipleItemHeight:Ut,multipleItemHeightLG:Ve,multipleSelectorBgDisabled:ht,multipleItemColorDisabled:Re,multipleItemBorderColorDisabled:"transparent"}})},58582:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Oe}});const Se=We=>{const et={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:We==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},et),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},et),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},et),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},et),{points:["br","tr"],offset:[0,-4]})}};function Oe(We,Ot){return We||Se(Ot)}},84443:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Se}});function Se(Oe,We){return We!==void 0?We:Oe!==null}},66339:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});var Se=ve(40001),Oe=ve(19248),We=ve(99267),Ot=ve(84105),et=ve(58617),yt=ve(47472),ke=ve(59301);function Bt(Et){let{suffixIcon:tt,clearIcon:gt,menuItemSelectedIcon:dt,removeIcon:Ct,loading:Me,multiple:te,hasFeedback:ne,prefixCls:ce,showSuffixIcon:se,feedbackIcon:ge,showArrow:ye,componentName:Ce}=Et;const Ne=gt!=null?gt:ke.createElement(Oe.Z,null),Pe=Ye=>tt===null&&!ne&&!ye?null:ke.createElement(ke.Fragment,null,se!==!1&&Ye,ne&&ge);let Ie=null;if(tt!==void 0)Ie=Pe(tt);else if(Me)Ie=Pe(ke.createElement(et.Z,{spin:!0}));else{const Ye=`${ce}-suffix`;Ie=ut=>{let{open:Ue,showSearch:Nt}=ut;return Pe(Ue&&Nt?ke.createElement(yt.Z,{className:Ye}):ke.createElement(Ot.Z,{className:Ye}))}}let Ke=null;dt!==void 0?Ke=dt:te?Ke=ke.createElement(Se.Z,null):Ke=null;let Ve=null;return Ct!==void 0?Ve=Ct:Ve=ke.createElement(We.Z,null),{clearIcon:Ne,suffixIcon:Ie,itemIcon:Ke,removeIcon:Ve}}},61621:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Jt}});var Se=ve(92310),Oe=ve.n(Se),We=ve(59301),Ot=ve(36355),et=ve(2738),ke=St=>{const{prefixCls:Xe,className:Yt,style:Kt,size:qe,shape:Ge}=St,Be=Oe()({[`${Xe}-lg`]:qe==="large",[`${Xe}-sm`]:qe==="small"}),xe=Oe()({[`${Xe}-circle`]:Ge==="circle",[`${Xe}-square`]:Ge==="square",[`${Xe}-round`]:Ge==="round"}),me=We.useMemo(()=>typeof qe=="number"?{width:qe,height:qe,lineHeight:`${qe}px`}:{},[qe]);return We.createElement("span",{className:Oe()(Xe,Be,xe,Yt),style:Object.assign(Object.assign({},me),Kt)})},Bt=ve(93083),Et=ve(83116),tt=ve(37613);const gt=new Bt.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),dt=St=>({height:St,lineHeight:`${St}px`}),Ct=St=>Object.assign({width:St},dt(St)),Me=St=>({background:St.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:gt,animationDuration:St.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),te=St=>Object.assign({width:St*5,minWidth:St*5},dt(St)),ne=St=>{const{skeletonAvatarCls:Xe,gradientFromColor:Yt,controlHeight:Kt,controlHeightLG:qe,controlHeightSM:Ge}=St;return{[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Yt},Ct(Kt)),[`${Xe}${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}${Xe}-lg`]:Object.assign({},Ct(qe)),[`${Xe}${Xe}-sm`]:Object.assign({},Ct(Ge))}},ce=St=>{const{controlHeight:Xe,borderRadiusSM:Yt,skeletonInputCls:Kt,controlHeightLG:qe,controlHeightSM:Ge,gradientFromColor:Be}=St;return{[`${Kt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be,borderRadius:Yt},te(Xe)),[`${Kt}-lg`]:Object.assign({},te(qe)),[`${Kt}-sm`]:Object.assign({},te(Ge))}},se=St=>Object.assign({width:St},dt(St)),ge=St=>{const{skeletonImageCls:Xe,imageSizeBase:Yt,gradientFromColor:Kt,borderRadiusSM:qe}=St;return{[`${Xe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Kt,borderRadius:qe},se(Yt*2)),{[`${Xe}-path`]:{fill:"#bfbfbf"},[`${Xe}-svg`]:Object.assign(Object.assign({},se(Yt)),{maxWidth:Yt*4,maxHeight:Yt*4}),[`${Xe}-svg${Xe}-svg-circle`]:{borderRadius:"50%"}}),[`${Xe}${Xe}-circle`]:{borderRadius:"50%"}}},ye=(St,Xe,Yt)=>{const{skeletonButtonCls:Kt}=St;return{[`${Yt}${Kt}-circle`]:{width:Xe,minWidth:Xe,borderRadius:"50%"},[`${Yt}${Kt}-round`]:{borderRadius:Xe}}},Ce=St=>Object.assign({width:St*2,minWidth:St*2},dt(St)),Ne=St=>{const{borderRadiusSM:Xe,skeletonButtonCls:Yt,controlHeight:Kt,controlHeightLG:qe,controlHeightSM:Ge,gradientFromColor:Be}=St;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Yt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be,borderRadius:Xe,width:Kt*2,minWidth:Kt*2},Ce(Kt))},ye(St,Kt,Yt)),{[`${Yt}-lg`]:Object.assign({},Ce(qe))}),ye(St,qe,`${Yt}-lg`)),{[`${Yt}-sm`]:Object.assign({},Ce(Ge))}),ye(St,Ge,`${Yt}-sm`))},Pe=St=>{const{componentCls:Xe,skeletonAvatarCls:Yt,skeletonTitleCls:Kt,skeletonParagraphCls:qe,skeletonButtonCls:Ge,skeletonInputCls:Be,skeletonImageCls:xe,controlHeight:me,controlHeightLG:Fe,controlHeightSM:He,gradientFromColor:Le,padding:mt,marginSM:zt,borderRadius:Pn,titleHeight:rn,blockRadius:In,paragraphLiHeight:Gn,controlHeightXS:Pi,paragraphMarginTop:Di}=St;return{[`${Xe}`]:{display:"table",width:"100%",[`${Xe}-header`]:{display:"table-cell",paddingInlineEnd:mt,verticalAlign:"top",[`${Yt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Le},Ct(me)),[`${Yt}-circle`]:{borderRadius:"50%"},[`${Yt}-lg`]:Object.assign({},Ct(Fe)),[`${Yt}-sm`]:Object.assign({},Ct(He))},[`${Xe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Kt}`]:{width:"100%",height:rn,background:Le,borderRadius:In,[`+ ${qe}`]:{marginBlockStart:He}},[`${qe}`]:{padding:0,"> li":{width:"100%",height:Gn,listStyle:"none",background:Le,borderRadius:In,"+ li":{marginBlockStart:Pi}}},[`${qe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Xe}-content`]:{[`${Kt}, ${qe} > li`]:{borderRadius:Pn}}},[`${Xe}-with-avatar ${Xe}-content`]:{[`${Kt}`]:{marginBlockStart:zt,[`+ ${qe}`]:{marginBlockStart:Di}}},[`${Xe}${Xe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Ne(St)),ne(St)),ce(St)),ge(St)),[`${Xe}${Xe}-block`]:{width:"100%",[`${Ge}`]:{width:"100%"},[`${Be}`]:{width:"100%"}},[`${Xe}${Xe}-active`]:{[` ${Kt}, ${qe} > li, ${Yt}, ${Ge}, ${Be}, ${xe} `]:Object.assign({},Me(St))}}};var Ie=(0,Et.Z)("Skeleton",St=>{const{componentCls:Xe}=St,Yt=(0,tt.TS)(St,{skeletonAvatarCls:`${Xe}-avatar`,skeletonTitleCls:`${Xe}-title`,skeletonParagraphCls:`${Xe}-paragraph`,skeletonButtonCls:`${Xe}-button`,skeletonInputCls:`${Xe}-input`,skeletonImageCls:`${Xe}-image`,imageSizeBase:St.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${St.gradientFromColor} 25%, ${St.gradientToColor} 37%, ${St.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Pe(Yt)]},St=>{const{colorFillContent:Xe,colorFill:Yt}=St,Kt=Xe,qe=Yt;return{color:Kt,colorGradientEnd:qe,gradientFromColor:Kt,gradientToColor:qe,titleHeight:St.controlHeight/2,blockRadius:St.borderRadiusSM,paragraphMarginTop:St.marginLG+St.marginXXS,paragraphLiHeight:St.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ve=St=>{const{prefixCls:Xe,className:Yt,rootClassName:Kt,active:qe,shape:Ge="circle",size:Be="default"}=St,{getPrefixCls:xe}=We.useContext(Ot.E_),me=xe("skeleton",Xe),[Fe,He]=Ie(me),Le=(0,et.Z)(St,["prefixCls","className"]),mt=Oe()(me,`${me}-element`,{[`${me}-active`]:qe},Yt,Kt,He);return Fe(We.createElement("div",{className:mt},We.createElement(ke,Object.assign({prefixCls:`${me}-avatar`,shape:Ge,size:Be},Le))))},ut=St=>{const{prefixCls:Xe,className:Yt,rootClassName:Kt,active:qe,block:Ge=!1,size:Be="default"}=St,{getPrefixCls:xe}=We.useContext(Ot.E_),me=xe("skeleton",Xe),[Fe,He]=Ie(me),Le=(0,et.Z)(St,["prefixCls"]),mt=Oe()(me,`${me}-element`,{[`${me}-active`]:qe,[`${me}-block`]:Ge},Yt,Kt,He);return Fe(We.createElement("div",{className:mt},We.createElement(ke,Object.assign({prefixCls:`${me}-button`,size:Be},Le))))};const Ue="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Qe=St=>{const{prefixCls:Xe,className:Yt,rootClassName:Kt,style:qe,active:Ge}=St,{getPrefixCls:Be}=We.useContext(Ot.E_),xe=Be("skeleton",Xe),[me,Fe]=Ie(xe),He=Oe()(xe,`${xe}-element`,{[`${xe}-active`]:Ge},Yt,Kt,Fe);return me(We.createElement("div",{className:He},We.createElement("div",{className:Oe()(`${xe}-image`,Yt),style:qe},We.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${xe}-image-svg`},We.createElement("path",{d:Ue,className:`${xe}-image-path`})))))},Rt=St=>{const{prefixCls:Xe,className:Yt,rootClassName:Kt,active:qe,block:Ge,size:Be="default"}=St,{getPrefixCls:xe}=We.useContext(Ot.E_),me=xe("skeleton",Xe),[Fe,He]=Ie(me),Le=(0,et.Z)(St,["prefixCls"]),mt=Oe()(me,`${me}-element`,{[`${me}-active`]:qe,[`${me}-block`]:Ge},Yt,Kt,He);return Fe(We.createElement("div",{className:mt},We.createElement(ke,Object.assign({prefixCls:`${me}-input`,size:Be},Le))))},It=ve(72308),Lt={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"},Ut=Lt,ht=ve(7657),Re=function(Xe,Yt){return We.createElement(ht.Z,(0,It.Z)({},Xe,{ref:Yt,icon:Ut}))},At=We.forwardRef(Re),Sn=At,Ft=St=>{const{prefixCls:Xe,className:Yt,rootClassName:Kt,style:qe,active:Ge,children:Be}=St,{getPrefixCls:xe}=We.useContext(Ot.E_),me=xe("skeleton",Xe),[Fe,He]=Ie(me),Le=Oe()(me,`${me}-element`,{[`${me}-active`]:Ge},He,Yt,Kt),mt=Be!=null?Be:We.createElement(Sn,null);return Fe(We.createElement("div",{className:Le},We.createElement("div",{className:Oe()(`${me}-image`,Yt),style:qe},mt)))},en=ve(80702),On=St=>{const Xe=xe=>{const{width:me,rows:Fe=2}=St;if(Array.isArray(me))return me[xe];if(Fe-1===xe)return me},{prefixCls:Yt,className:Kt,style:qe,rows:Ge}=St,Be=(0,en.Z)(Array(Ge)).map((xe,me)=>We.createElement("li",{key:me,style:{width:Xe(me)}}));return We.createElement("ul",{className:Oe()(Yt,Kt),style:qe},Be)},Tn=St=>{let{prefixCls:Xe,className:Yt,width:Kt,style:qe}=St;return We.createElement("h3",{className:Oe()(Xe,Yt),style:Object.assign({width:Kt},qe)})};function pt(St){return St&&typeof St=="object"?St:{}}function Un(St,Xe){return St&&!Xe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function wn(St,Xe){return!St&&Xe?{width:"38%"}:St&&Xe?{width:"50%"}:{}}function An(St,Xe){const Yt={};return(!St||!Xe)&&(Yt.width="61%"),!St&&Xe?Yt.rows=3:Yt.rows=2,Yt}const ni=St=>{const{prefixCls:Xe,loading:Yt,className:Kt,rootClassName:qe,style:Ge,children:Be,avatar:xe=!1,title:me=!0,paragraph:Fe=!0,active:He,round:Le}=St,{getPrefixCls:mt,direction:zt,skeleton:Pn}=We.useContext(Ot.E_),rn=mt("skeleton",Xe),[In,Gn]=Ie(rn);if(Yt||!("loading"in St)){const Pi=!!xe,Di=!!me,Gi=!!Fe;let Dn;if(Pi){const Gr=Object.assign(Object.assign({prefixCls:`${rn}-avatar`},Un(Di,Gi)),pt(xe));Dn=We.createElement("div",{className:`${rn}-header`},We.createElement(ke,Object.assign({},Gr)))}let or;if(Di||Gi){let Gr;if(Di){const wr=Object.assign(Object.assign({prefixCls:`${rn}-title`},wn(Pi,Gi)),pt(me));Gr=We.createElement(Tn,Object.assign({},wr))}let Ir;if(Gi){const wr=Object.assign(Object.assign({prefixCls:`${rn}-paragraph`},An(Pi,Di)),pt(Fe));Ir=We.createElement(On,Object.assign({},wr))}or=We.createElement("div",{className:`${rn}-content`},Gr,Ir)}const jr=Oe()(rn,{[`${rn}-with-avatar`]:Pi,[`${rn}-active`]:He,[`${rn}-rtl`]:zt==="rtl",[`${rn}-round`]:Le},Pn==null?void 0:Pn.className,Kt,qe,Gn);return In(We.createElement("div",{className:jr,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),Ge)},Dn,or))}return typeof Be!="undefined"?Be:null};ni.Button=ut,ni.Avatar=Ve,ni.Input=Rt,ni.Image=Qe,ni.Node=Ft;var Qt=ni,Jt=Qt},81327:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return ce}});var Se=ve(59301),Oe=ve(92310),We=ve.n(Oe),Ot=ve(11592),et=ve(36355),yt=ve(33234);const ke=Se.createContext({latestIndex:0}),Bt=ke.Provider;var tt=se=>{let{className:ge,index:ye,children:Ce,split:Ne,style:Pe}=se;const{latestIndex:Ie}=Se.useContext(ke);return Ce==null?null:Se.createElement(Se.Fragment,null,Se.createElement("div",{className:ge,style:Pe},Ce),ye{var ye,Ce;const{getPrefixCls:Ne,space:Pe,direction:Ie}=Se.useContext(et.E_),{size:Ke=(Pe==null?void 0:Pe.size)||"small",align:Ve,className:Ye,rootClassName:ut,children:Ue,direction:Nt="horizontal",prefixCls:Qe,split:Ht,style:Rt,wrap:It=!1,classNames:Lt,styles:Ut}=se,ht=Me(se,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Re,At]=Array.isArray(Ke)?Ke:[Ke,Ke],Sn=dt(At),mn=dt(Re),Ft=Ct(At),en=Ct(Re),sn=(0,Ot.Z)(Ue,{keepEmpty:!0}),On=Ve===void 0&&Nt==="horizontal"?"center":Ve,yn=Ne("space",Qe),[Tn,pt]=(0,gt.Z)(yn),Un=We()(yn,Pe==null?void 0:Pe.className,pt,`${yn}-${Nt}`,{[`${yn}-rtl`]:Ie==="rtl",[`${yn}-align-${On}`]:On,[`${yn}-gap-row-${At}`]:Sn,[`${yn}-gap-col-${Re}`]:mn},Ye,ut),wn=We()(`${yn}-item`,(ye=Lt==null?void 0:Lt.item)!==null&&ye!==void 0?ye:(Ce=Pe==null?void 0:Pe.classNames)===null||Ce===void 0?void 0:Ce.item);let An=0;const ni=sn.map((St,Xe)=>{var Yt,Kt;St!=null&&(An=Xe);const qe=St&&St.key||`${wn}-${Xe}`;return Se.createElement(tt,{className:wn,key:qe,index:Xe,split:Ht,style:(Yt=Ut==null?void 0:Ut.item)!==null&&Yt!==void 0?Yt:(Kt=Pe==null?void 0:Pe.styles)===null||Kt===void 0?void 0:Kt.item},St)}),Qt=Se.useMemo(()=>({latestIndex:An}),[An]);if(sn.length===0)return null;const Jt={};return It&&(Jt.flexWrap="wrap"),!mn&&en&&(Jt.columnGap=Re),!Sn&&Ft&&(Jt.rowGap=At),Tn(Se.createElement("div",Object.assign({ref:ge,className:Un,style:Object.assign(Object.assign(Object.assign({},Jt),Pe==null?void 0:Pe.style),Rt)},ht),Se.createElement(Bt,{value:Qt},ni)))});ne.Compact=yt.ZP;var ce=ne},31797:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return Ie}});var Se=ve(59301),Oe=ve(56762),We=ve(92343),Ot=ve(92310),et=ve.n(Ot),yt=ve(36355),ke=ve(61621),Et=Ke=>{const{value:Ve,formatter:Ye,precision:ut,decimalSeparator:Ue,groupSeparator:Nt="",prefixCls:Qe}=Ke;let Ht;if(typeof Ye=="function")Ht=Ye(Ve);else{const Rt=String(Ve),It=Rt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!It||Rt==="-")Ht=Rt;else{const Lt=It[1];let Ut=It[2]||"0",ht=It[4]||"";Ut=Ut.replace(/\B(?=(\d{3})+(?!\d))/g,Nt),typeof ut=="number"&&(ht=ht.padEnd(ut,"0").slice(0,ut>0?ut:0)),ht&&(ht=`${Ue}${ht}`),Ht=[Se.createElement("span",{key:"int",className:`${Qe}-content-value-int`},Lt,Ut),ht&&Se.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},ht)]}}return Se.createElement("span",{className:`${Qe}-content-value`},Ht)},tt=ve(17313),gt=ve(83116),dt=ve(37613);const Ct=Ke=>{const{componentCls:Ve,marginXXS:Ye,padding:ut,colorTextDescription:Ue,titleFontSize:Nt,colorTextHeading:Qe,contentFontSize:Ht,fontFamily:Rt}=Ke;return{[`${Ve}`]:Object.assign(Object.assign({},(0,tt.Wf)(Ke)),{[`${Ve}-title`]:{marginBottom:Ye,color:Ue,fontSize:Nt},[`${Ve}-skeleton`]:{paddingTop:ut},[`${Ve}-content`]:{color:Qe,fontSize:Ht,fontFamily:Rt,[`${Ve}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ve}-content-prefix, ${Ve}-content-suffix`]:{display:"inline-block"},[`${Ve}-content-prefix`]:{marginInlineEnd:Ye},[`${Ve}-content-suffix`]:{marginInlineStart:Ye}}})}};var Me=(0,gt.Z)("Statistic",Ke=>{const Ve=(0,dt.TS)(Ke,{});return[Ct(Ve)]},Ke=>{const{fontSizeHeading3:Ve,fontSize:Ye}=Ke;return{titleFontSize:Ye,contentFontSize:Ve}}),ne=Ke=>{const{prefixCls:Ve,className:Ye,rootClassName:ut,style:Ue,valueStyle:Nt,value:Qe=0,title:Ht,valueRender:Rt,prefix:It,suffix:Lt,loading:Ut=!1,onMouseEnter:ht,onMouseLeave:Re,decimalSeparator:At=".",groupSeparator:Sn=","}=Ke,{getPrefixCls:mn,direction:Ft,statistic:en}=Se.useContext(yt.E_),sn=mn("statistic",Ve),[On,yn]=Me(sn),Tn=Se.createElement(Et,Object.assign({decimalSeparator:At,groupSeparator:Sn,prefixCls:sn},Ke,{value:Qe})),pt=et()(sn,{[`${sn}-rtl`]:Ft==="rtl"},en==null?void 0:en.className,Ye,ut,yn);return On(Se.createElement("div",{className:pt,style:Object.assign(Object.assign({},en==null?void 0:en.style),Ue),onMouseEnter:ht,onMouseLeave:Re},Ht&&Se.createElement("div",{className:`${sn}-title`},Ht),Se.createElement(ke.Z,{paragraph:!1,loading:Ut,className:`${sn}-skeleton`},Se.createElement("div",{style:Nt,className:`${sn}-content`},It&&Se.createElement("span",{className:`${sn}-content-prefix`},It),Rt?Rt(Tn):Tn,Lt&&Se.createElement("span",{className:`${sn}-content-suffix`},Lt)))))};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 se(Ke,Ve){let Ye=Ke;const ut=/\[[^\]]*]/g,Ue=(Ve.match(ut)||[]).map(Rt=>Rt.slice(1,-1)),Nt=Ve.replace(ut,"[]"),Qe=ce.reduce((Rt,It)=>{let[Lt,Ut]=It;if(Rt.includes(Lt)){const ht=Math.floor(Ye/Ut);return Ye-=ht*Ut,Rt.replace(new RegExp(`${Lt}+`,"g"),Re=>{const At=Re.length;return ht.toString().padStart(At,"0")})}return Rt},Nt);let Ht=0;return Qe.replace(ut,()=>{const Rt=Ue[Ht];return Ht+=1,Rt})}function ge(Ke,Ve){const{format:Ye=""}=Ve,ut=new Date(Ke).getTime(),Ue=Date.now(),Nt=Math.max(ut-Ue,0);return se(Nt,Ye)}const ye=1e3/30;function Ce(Ke){return new Date(Ke).getTime()}const Ne=Ke=>{const{value:Ve,format:Ye="HH:mm:ss",onChange:ut,onFinish:Ue}=Ke,Nt=(0,Oe.Z)(),Qe=Se.useRef(null),Ht=()=>{Ue==null||Ue(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},Rt=()=>{const Ut=Ce(Ve);Ut>=Date.now()&&(Qe.current=setInterval(()=>{Nt(),ut==null||ut(Ut-Date.now()),Ut(Rt(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ve]);const It=(Ut,ht)=>ge(Ut,Object.assign(Object.assign({},ht),{format:Ye})),Lt=Ut=>(0,We.Tm)(Ut,{title:void 0});return Se.createElement(ne,Object.assign({},Ke,{valueRender:Lt,formatter:It}))};var Pe=Se.memo(Ne);ne.Countdown=Pe;var Ie=ne},15969:function(zn,Nn,ve){"use strict";ve.d(Nn,{N:function(){return Se}});const Se=Oe=>({color:Oe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Oe.motionDurationSlow}`,"&:focus, &:hover":{color:Oe.colorLinkHover},"&:active":{color:Oe.colorLinkActive}})},78673:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Nt}});var Se=ve(58617),Oe=ve(92310),We=ve.n(Oe),Ot=ve(72308),et=ve(49618),yt=ve(52487),ke=ve(74416),Bt=ve(59301),Et=ve(18929),tt=ve(10228),gt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],dt=Bt.forwardRef(function(Qe,Ht){var Rt,It=Qe.prefixCls,Lt=It===void 0?"rc-switch":It,Ut=Qe.className,ht=Qe.checked,Re=Qe.defaultChecked,At=Qe.disabled,Sn=Qe.loadingIcon,mn=Qe.checkedChildren,Ft=Qe.unCheckedChildren,en=Qe.onClick,sn=Qe.onChange,On=Qe.onKeyDown,yn=(0,ke.Z)(Qe,gt),Tn=(0,Et.Z)(!1,{value:ht,defaultValue:Re}),pt=(0,yt.Z)(Tn,2),Un=pt[0],wn=pt[1];function An(St,Xe){var Yt=Un;return At||(Yt=St,wn(Yt),sn==null||sn(Yt,Xe)),Yt}function ni(St){St.which===tt.Z.LEFT?An(!1,St):St.which===tt.Z.RIGHT&&An(!0,St),On==null||On(St)}function Qt(St){var Xe=An(!Un,St);en==null||en(Xe,St)}var Jt=We()(Lt,Ut,(Rt={},(0,et.Z)(Rt,"".concat(Lt,"-checked"),Un),(0,et.Z)(Rt,"".concat(Lt,"-disabled"),At),Rt));return Bt.createElement("button",(0,Ot.Z)({},yn,{type:"button",role:"switch","aria-checked":Un,disabled:At,className:Jt,ref:Ht,onKeyDown:ni,onClick:Qt}),Sn,Bt.createElement("span",{className:"".concat(Lt,"-inner")},Bt.createElement("span",{className:"".concat(Lt,"-inner-checked")},mn),Bt.createElement("span",{className:"".concat(Lt,"-inner-unchecked")},Ft)))});dt.displayName="Switch";var Ct=dt,Me=ve(14088),te=ve(36355),ne=ve(1684),ce=ve(19716),se=ve(64993),ge=ve(17313),ye=ve(83116),Ce=ve(37613);const Ne=Qe=>{const{componentCls:Ht,trackHeightSM:Rt,trackPadding:It,trackMinWidthSM:Lt,innerMinMarginSM:Ut,innerMaxMarginSM:ht,handleSizeSM:Re}=Qe,At=`${Ht}-inner`;return{[Ht]:{[`&${Ht}-small`]:{minWidth:Lt,height:Rt,lineHeight:`${Rt}px`,[`${Ht}-inner`]:{paddingInlineStart:ht,paddingInlineEnd:Ut,[`${At}-checked`]:{marginInlineStart:`calc(-100% + ${Re+It*2}px - ${ht*2}px)`,marginInlineEnd:`calc(100% - ${Re+It*2}px + ${ht*2}px)`},[`${At}-unchecked`]:{marginTop:-Rt,marginInlineStart:0,marginInlineEnd:0}},[`${Ht}-handle`]:{width:Re,height:Re},[`${Ht}-loading-icon`]:{top:(Re-Qe.switchLoadingIconSize)/2,fontSize:Qe.switchLoadingIconSize},[`&${Ht}-checked`]:{[`${Ht}-inner`]:{paddingInlineStart:Ut,paddingInlineEnd:ht,[`${At}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${At}-unchecked`]:{marginInlineStart:`calc(100% - ${Re+It*2}px + ${ht*2}px)`,marginInlineEnd:`calc(-100% + ${Re+It*2}px - ${ht*2}px)`}},[`${Ht}-handle`]:{insetInlineStart:`calc(100% - ${Re+It}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${At}`]:{[`${At}-unchecked`]:{marginInlineStart:Qe.marginXXS/2,marginInlineEnd:-Qe.marginXXS/2}},[`&${Ht}-checked ${At}`]:{[`${At}-checked`]:{marginInlineStart:-Qe.marginXXS/2,marginInlineEnd:Qe.marginXXS/2}}}}}}},Pe=Qe=>{const{componentCls:Ht,handleSize:Rt}=Qe;return{[Ht]:{[`${Ht}-loading-icon${Qe.iconCls}`]:{position:"relative",top:(Rt-Qe.fontSize)/2,color:Qe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ht}-checked ${Ht}-loading-icon`]:{color:Qe.switchColor}}}},Ie=Qe=>{const{componentCls:Ht,motion:Rt,trackPadding:It,handleBg:Lt,handleShadow:Ut,handleSize:ht}=Qe,Re=`${Ht}-handle`;return{[Ht]:{[Re]:{position:"absolute",top:It,insetInlineStart:It,width:ht,height:ht,transition:`all ${Qe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Lt,borderRadius:ht/2,boxShadow:Ut,transition:`all ${Qe.switchDuration} ease-in-out`,content:'""'}},[`&${Ht}-checked ${Re}`]:{insetInlineStart:`calc(100% - ${ht+It}px)`},[`&:not(${Ht}-disabled):active`]:Rt?{[`${Re}::before`]:{insetInlineEnd:Qe.switchHandleActiveInset,insetInlineStart:0},[`&${Ht}-checked ${Re}::before`]:{insetInlineEnd:0,insetInlineStart:Qe.switchHandleActiveInset}}:{}}}},Ke=Qe=>{const{componentCls:Ht,trackHeight:Rt,trackPadding:It,innerMinMargin:Lt,innerMaxMargin:Ut,handleSize:ht}=Qe,Re=`${Ht}-inner`;return{[Ht]:{[Re]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Ut,paddingInlineEnd:Lt,transition:`padding-inline-start ${Qe.switchDuration} ease-in-out, padding-inline-end ${Qe.switchDuration} ease-in-out`,[`${Re}-checked, ${Re}-unchecked`]:{display:"block",color:Qe.colorTextLightSolid,fontSize:Qe.fontSizeSM,transition:`margin-inline-start ${Qe.switchDuration} ease-in-out, margin-inline-end ${Qe.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Re}-checked`]:{marginInlineStart:`calc(-100% + ${ht+It*2}px - ${Ut*2}px)`,marginInlineEnd:`calc(100% - ${ht+It*2}px + ${Ut*2}px)`},[`${Re}-unchecked`]:{marginTop:-Rt,marginInlineStart:0,marginInlineEnd:0}},[`&${Ht}-checked ${Re}`]:{paddingInlineStart:Lt,paddingInlineEnd:Ut,[`${Re}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Re}-unchecked`]:{marginInlineStart:`calc(100% - ${ht+It*2}px + ${Ut*2}px)`,marginInlineEnd:`calc(-100% + ${ht+It*2}px - ${Ut*2}px)`}},[`&:not(${Ht}-disabled):active`]:{[`&:not(${Ht}-checked) ${Re}`]:{[`${Re}-unchecked`]:{marginInlineStart:It*2,marginInlineEnd:-It*2}},[`&${Ht}-checked ${Re}`]:{[`${Re}-checked`]:{marginInlineStart:-It*2,marginInlineEnd:It*2}}}}}},Ve=Qe=>{const{componentCls:Ht,trackHeight:Rt,trackMinWidth:It}=Qe;return{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(Qe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:It,height:Rt,lineHeight:`${Rt}px`,verticalAlign:"middle",background:Qe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Qe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ht}-disabled)`]:{background:Qe.colorTextTertiary}}),(0,ge.Qy)(Qe)),{[`&${Ht}-checked`]:{background:Qe.switchColor,[`&:hover:not(${Ht}-disabled)`]:{background:Qe.colorPrimaryHover}},[`&${Ht}-loading, &${Ht}-disabled`]:{cursor:"not-allowed",opacity:Qe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ht}-rtl`]:{direction:"rtl"}})}};var Ye=(0,ye.Z)("Switch",Qe=>{const Ht=(0,Ce.TS)(Qe,{switchDuration:Qe.motionDurationMid,switchColor:Qe.colorPrimary,switchDisabledOpacity:Qe.opacityLoading,switchLoadingIconSize:Qe.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Qe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Ve(Ht),Ke(Ht),Ie(Ht),Pe(Ht),Ne(Ht)]},Qe=>{const{fontSize:Ht,lineHeight:Rt,controlHeight:It,colorWhite:Lt}=Qe,Ut=Ht*Rt,ht=It/2,Re=2,At=Ut-Re*2,Sn=ht-Re*2;return{trackHeight:Ut,trackHeightSM:ht,trackMinWidth:At*2+Re*4,trackMinWidthSM:Sn*2+Re*2,trackPadding:Re,handleBg:Lt,handleSize:At,handleSizeSM:Sn,handleShadow:`0 2px 4px 0 ${new se.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:At/2,innerMaxMargin:At+Re+Re*2,innerMinMarginSM:Sn/2,innerMaxMarginSM:Sn+Re+Re*2}}),ut=function(Qe,Ht){var Rt={};for(var It in Qe)Object.prototype.hasOwnProperty.call(Qe,It)&&Ht.indexOf(It)<0&&(Rt[It]=Qe[It]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,It=Object.getOwnPropertySymbols(Qe);Lt{const{prefixCls:Rt,size:It,disabled:Lt,loading:Ut,className:ht,rootClassName:Re,style:At}=Qe,Sn=ut(Qe,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:mn,direction:Ft,switch:en}=Bt.useContext(te.E_),sn=Bt.useContext(ne.Z),On=(Lt!=null?Lt:sn)||Ut,yn=mn("switch",Rt),Tn=Bt.createElement("div",{className:`${yn}-handle`},Ut&&Bt.createElement(Se.Z,{className:`${yn}-loading-icon`})),[pt,Un]=Ye(yn),wn=(0,ce.Z)(It),An=We()(en==null?void 0:en.className,{[`${yn}-small`]:wn==="small",[`${yn}-loading`]:Ut,[`${yn}-rtl`]:Ft==="rtl"},ht,Re,Un),ni=Object.assign(Object.assign({},en==null?void 0:en.style),At);return pt(Bt.createElement(Me.Z,{component:"Switch"},Bt.createElement(Ct,Object.assign({},Sn,{prefixCls:yn,className:An,style:ni,disabled:On,ref:Ht,loadingIcon:Tn}))))});Ue.__ANT_SWITCH=!0;var Nt=Ue},1710:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return hl}});var Se={},Oe="rc-table-internal-hook",We=ve(52487),Ot=ve(6089),et=ve(34280),yt=ve(13697),ke=ve(59301),Bt=ve(4676);function Et(it){var ft=ke.createContext(void 0),Xt=function(bn){var gn=bn.value,Jn=bn.children,Xn=ke.useRef(gn);Xn.current=gn;var Vn=ke.useState(function(){return{getValue:function(){return Xn.current},listeners:new Set}}),bi=(0,We.Z)(Vn,1),li=bi[0];return(0,et.Z)(function(){(0,Bt.unstable_batchedUpdates)(function(){li.listeners.forEach(function(wi){wi(gn)})})},[gn]),ke.createElement(ft.Provider,{value:li},Jn)};return{Context:ft,Provider:Xt,defaultValue:it}}function tt(it,ft){var Xt=(0,Ot.Z)(typeof ft=="function"?ft:function(wi){if(ft===void 0)return wi;if(!Array.isArray(ft))return wi[ft];var Ji={};return ft.forEach(function(Ui){Ji[Ui]=wi[Ui]}),Ji}),_t=ke.useContext(it==null?void 0:it.Context),bn=_t||{},gn=bn.listeners,Jn=bn.getValue,Xn=ke.useRef();Xn.current=Xt(_t?Jn():it==null?void 0:it.defaultValue);var Vn=ke.useState({}),bi=(0,We.Z)(Vn,2),li=bi[1];return(0,et.Z)(function(){if(!_t)return;function wi(Ji){var Ui=Xt(Ji);(0,yt.Z)(Xn.current,Ui,!0)||li({})}return gn.add(wi),function(){gn.delete(wi)}},[_t]),Xn.current}var gt=ve(72308),dt=ve(8654);function Ct(){var it=ke.createContext(null);function ft(){return ke.useContext(it)}function Xt(bn,gn){var Jn=(0,dt.Yr)(bn),Xn=function(bi,li){var wi=Jn?{ref:li}:{},Ji=ke.useRef(0),Ui=ke.useRef(bi),zi=ft();return zi!==null?ke.createElement(bn,(0,gt.Z)({},bi,wi)):((!gn||gn(Ui.current,bi))&&(Ji.current+=1),Ui.current=bi,ke.createElement(it.Provider,{value:Ji.current},ke.createElement(bn,(0,gt.Z)({},bi,wi))))};return Jn?ke.forwardRef(Xn):Xn}function _t(bn,gn){var Jn=(0,dt.Yr)(bn),Xn=function(bi,li){var wi=Jn?{ref:li}:{};return ft(),ke.createElement(bn,(0,gt.Z)({},bi,wi))};return Jn?ke.memo(ke.forwardRef(Xn),gn):ke.memo(Xn,gn)}return{makeImmutable:Xt,responseImmutable:_t,useImmutableMark:ft}}var Me=Ct(),te=Me.makeImmutable,ne=Me.responseImmutable,ce=Me.useImmutableMark,se=Ct(),ge=se.makeImmutable,ye=se.responseImmutable,Ce=se.useImmutableMark,Ne=Et(),Pe=Ne;function Ie(it,ft){var Xt=ke.useRef(0);Xt.current+=1;var _t=ke.useRef(it),bn=[];Object.keys(it||{}).map(function(Jn){var Xn;(it==null?void 0:it[Jn])!==((Xn=_t.current)===null||Xn===void 0?void 0:Xn[Jn])&&bn.push(Jn)}),_t.current=it;var gn=ke.useRef([]);return bn.length&&(gn.current=bn),ke.useDebugValue(Xt.current),ke.useDebugValue(gn.current.join(", ")),ft&&console.log("".concat(ft,":"),Xt.current,gn.current),Xt.current}var Ke=null,Ve=ke.memo(function(){var it=Ie();return ke.createElement("h1",null,"Render Times: ",it)});Ve.displayName="RenderBlock";var Ye=ve(62853),ut=ve(77321),Ue=ve(49618),Nt=ve(92310),Qe=ve.n(Nt),Ht=ve(80547),Rt=ve(97938),It=ve(48736),Lt=ke.createContext({renderWithProps:!1}),Ut=Lt,ht="RC_TABLE_KEY";function Re(it){return it==null?[]:Array.isArray(it)?it:[it]}function At(it){var ft=[],Xt={};return it.forEach(function(_t){for(var bn=_t||{},gn=bn.key,Jn=bn.dataIndex,Xn=gn||Re(Jn).join("-")||ht;Xt[Xn];)Xn="".concat(Xn,"_next");Xt[Xn]=!0,ft.push(Xn)}),ft}function Sn(it){return it!=null}function mn(it){return it&&(0,Ye.Z)(it)==="object"&&!Array.isArray(it)&&!ke.isValidElement(it)}function Ft(it,ft,Xt,_t,bn,gn){var Jn=ke.useContext(Ut),Xn=Ce(),Vn=(0,Ht.Z)(function(){if(Sn(_t))return[_t];var bi=ft==null||ft===""?[]:Array.isArray(ft)?ft:[ft],li=(0,Rt.Z)(it,bi),wi=li,Ji=void 0;if(bn){var Ui=bn(li,it,Xt);mn(Ui)?(wi=Ui.children,Ji=Ui.props,Jn.renderWithProps=!0):wi=Ui}return[wi,Ji]},[Xn,it,_t,ft,bn,Xt],function(bi,li){if(gn){var wi=(0,We.Z)(bi,2),Ji=wi[1],Ui=(0,We.Z)(li,2),zi=Ui[1];return gn(zi,Ji)}return Jn.renderWithProps?!0:!(0,yt.Z)(bi,li,!0)});return Vn}function en(it,ft,Xt,_t){var bn=it+ft-1;return it<=_t&&bn>=Xt}function sn(it,ft){return tt(Pe,function(Xt){var _t=en(it,ft||1,Xt.hoverStartRow,Xt.hoverEndRow);return[_t,Xt.onHover]})}var On=function(ft){var Xt=ft.ellipsis,_t=ft.rowType,bn=ft.children,gn,Jn=Xt===!0?{showTitle:!0}:Xt;return Jn&&(Jn.showTitle||_t==="header")&&(typeof bn=="string"||typeof bn=="number"?gn=bn.toString():ke.isValidElement(bn)&&typeof bn.props.children=="string"&&(gn=bn.props.children)),gn};function yn(it){var ft,Xt,_t,bn,gn,Jn,Xn,Vn,bi=it.component,li=it.children,wi=it.ellipsis,Ji=it.scope,Ui=it.prefixCls,zi=it.className,yr=it.align,Zi=it.record,Fr=it.render,Cr=it.dataIndex,Tr=it.renderIndex,yo=it.shouldCellUpdate,Mo=it.index,Wr=it.rowType,qr=it.colSpan,Vo=it.rowSpan,Or=it.fixLeft,ao=it.fixRight,Zr=it.firstFixLeft,mr=it.lastFixLeft,Dr=it.firstFixRight,lo=it.lastFixRight,Fo=it.appendNode,Do=it.additionalProps,Br=Do===void 0?{}:Do,Go=it.isSticky,_o="".concat(Ui,"-cell"),na=tt(Pe,["supportSticky","allColumnsFixedLeft"]),ta=na.supportSticky,_a=na.allColumnsFixedLeft,ga=Ft(Zi,Cr,Tr,li,Fr,yo),Ho=(0,We.Z)(ga,2),Po=Ho[0],Oo=Ho[1],Ua={},Ia=typeof Or=="number"&&ta,ts=typeof ao=="number"&&ta;Ia&&(Ua.position="sticky",Ua.left=Or),ts&&(Ua.position="sticky",Ua.right=ao);var Ro=(ft=(Xt=(_t=Oo==null?void 0:Oo.colSpan)!==null&&_t!==void 0?_t:Br.colSpan)!==null&&Xt!==void 0?Xt:qr)!==null&&ft!==void 0?ft:1,bo=(bn=(gn=(Jn=Oo==null?void 0:Oo.rowSpan)!==null&&Jn!==void 0?Jn:Br.rowSpan)!==null&&gn!==void 0?gn:Vo)!==null&&bn!==void 0?bn:1,Wo=sn(Mo,bo),xo=(0,We.Z)(Wo,2),oo=xo[0],$i=xo[1],Vr=function(Bo){var Vs;Zi&&$i(Mo,Mo+bo-1),Br==null||(Vs=Br.onMouseEnter)===null||Vs===void 0||Vs.call(Br,Bo)},Xo=function(Bo){var Vs;Zi&&$i(-1,-1),Br==null||(Vs=Br.onMouseLeave)===null||Vs===void 0||Vs.call(Br,Bo)};if(Ro===0||bo===0)return null;var ua=(Xn=Br.title)!==null&&Xn!==void 0?Xn:On({rowType:Wr,ellipsis:wi,children:Po}),al=Qe()(_o,zi,(Vn={},(0,Ue.Z)(Vn,"".concat(_o,"-fix-left"),Ia&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-fix-left-first"),Zr&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-fix-left-last"),mr&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-fix-left-all"),mr&&_a&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-fix-right"),ts&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-fix-right-first"),Dr&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-fix-right-last"),lo&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-ellipsis"),wi),(0,Ue.Z)(Vn,"".concat(_o,"-with-append"),Fo),(0,Ue.Z)(Vn,"".concat(_o,"-fix-sticky"),(Ia||ts)&&Go&&ta),(0,Ue.Z)(Vn,"".concat(_o,"-row-hover"),!Oo&&oo),Vn),Br.className,Oo==null?void 0:Oo.className),Rs={};yr&&(Rs.textAlign=yr);var Al=(0,ut.Z)((0,ut.Z)((0,ut.Z)((0,ut.Z)({},Ua),Br.style),Rs),Oo==null?void 0:Oo.style),Na=Po;return(0,Ye.Z)(Na)==="object"&&!Array.isArray(Na)&&!ke.isValidElement(Na)&&(Na=null),wi&&(mr||Dr)&&(Na=ke.createElement("span",{className:"".concat(_o,"-content")},Na)),ke.createElement(bi,(0,gt.Z)({},Oo,Br,{className:al,style:Al,title:ua,scope:Ji,onMouseEnter:Vr,onMouseLeave:Xo,colSpan:Ro!==1?Ro:null,rowSpan:bo!==1?bo:null}),Fo,Na)}var Tn=ke.memo(yn);function pt(it,ft,Xt,_t,bn,gn){var Jn=Xt[it]||{},Xn=Xt[ft]||{},Vn,bi;Jn.fixed==="left"?Vn=_t.left[bn==="rtl"?ft:it]:Xn.fixed==="right"&&(bi=_t.right[bn==="rtl"?it:ft]);var li=!1,wi=!1,Ji=!1,Ui=!1,zi=Xt[ft+1],yr=Xt[it-1],Zi=!(gn!=null&&gn.children);if(bn==="rtl"){if(Vn!==void 0){var Fr=yr&&yr.fixed==="left";Ui=!Fr&&Zi}else if(bi!==void 0){var Cr=zi&&zi.fixed==="right";Ji=!Cr&&Zi}}else if(Vn!==void 0){var Tr=zi&&zi.fixed==="left";li=!Tr&&Zi}else if(bi!==void 0){var yo=yr&&yr.fixed==="right";wi=!yo&&Zi}return{fixLeft:Vn,fixRight:bi,lastFixLeft:li,firstFixRight:wi,lastFixRight:Ji,firstFixLeft:Ui,isSticky:_t.isSticky}}var Un=ke.createContext({}),wn=Un;function An(it){var ft=it.className,Xt=it.index,_t=it.children,bn=it.colSpan,gn=bn===void 0?1:bn,Jn=it.rowSpan,Xn=it.align,Vn=tt(Pe,["prefixCls","direction"]),bi=Vn.prefixCls,li=Vn.direction,wi=ke.useContext(wn),Ji=wi.scrollColumnIndex,Ui=wi.stickyOffsets,zi=wi.flattenColumns,yr=wi.columns,Zi=Xt+gn-1,Fr=Zi+1===Ji?gn+1:gn,Cr=pt(Xt,Xt+Fr-1,zi,Ui,li,yr==null?void 0:yr[Xt]);return ke.createElement(Tn,(0,gt.Z)({className:ft,index:Xt,component:"td",prefixCls:bi,record:null,dataIndex:null,align:Xn,colSpan:Fr,rowSpan:Jn,render:function(){return _t}},Cr))}var ni=ve(74416),Qt=["children"];function Jt(it){var ft=it.children,Xt=(0,ni.Z)(it,Qt);return ke.createElement("tr",Xt,ft)}function St(it){var ft=it.children;return ft}St.Row=Jt,St.Cell=An;var Xe=St;function Yt(it){var ft=it.children,Xt=it.stickyOffsets,_t=it.flattenColumns,bn=it.columns,gn=tt(Pe,"prefixCls"),Jn=_t.length-1,Xn=_t[Jn],Vn=ke.useMemo(function(){return{stickyOffsets:Xt,flattenColumns:_t,scrollColumnIndex:Xn!=null&&Xn.scrollbar?Jn:null,columns:bn}},[Xn,_t,Jn,Xt,bn]);return ke.createElement(wn.Provider,{value:Vn},ke.createElement("tfoot",{className:"".concat(gn,"-summary")},ft))}var Kt=ye(Yt),qe=Xe,Ge=ve(70425),Be=ve(29301),xe=ve(29194),me=ve(24514),Fe=ve(75152),He=ve(26112);function Le(it,ft,Xt,_t,bn,gn,Jn){it.push({record:ft,indent:Xt,index:Jn});var Xn=gn(ft),Vn=bn==null?void 0:bn.has(Xn);if(ft&&Array.isArray(ft[_t])&&Vn)for(var bi=0;bi1?Zr-1:0),Dr=1;Dr=0;Xn-=1){var Vn=ft[Xn],bi=Xt&&Xt[Xn],li=bi&&bi[Gr];if(Vn||li||Jn){var wi=li||{},Ji=wi.columnType,Ui=(0,ni.Z)(wi,wr);bn.unshift(ke.createElement("col",(0,gt.Z)({key:Xn,style:{width:Vn}},Ui))),Jn=!0}}return ke.createElement("colgroup",null,bn)}var Rr=so,hr=ve(80702),No=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function vi(it,ft){return(0,ke.useMemo)(function(){for(var Xt=[],_t=0;_t1?"colgroup":"col":null,ellipsis:Zi.ellipsis,align:Zi.align,component:Zi.title?gn:Jn,prefixCls:li,key:Ui[yr]},Fr,{additionalProps:Cr,rowType:"header"}))}))}fi.displayName="HeaderRow";var ln=fi;function ei(it){var ft=[];function Xt(Jn,Xn){var Vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ft[Vn]=ft[Vn]||[];var bi=Xn,li=Jn.filter(Boolean).map(function(wi){var Ji={key:wi.key,className:wi.className||"",children:wi.title,column:wi,colStart:bi},Ui=1,zi=wi.children;return zi&&zi.length>0&&(Ui=Xt(zi,bi,Vn+1).reduce(function(yr,Zi){return yr+Zi},0),Ji.hasSubColumns=!0),"colSpan"in wi&&(Ui=wi.colSpan),"rowSpan"in wi&&(Ji.rowSpan=wi.rowSpan),Ji.colSpan=Ui,Ji.colEnd=Ji.colStart+Ui-1,ft[Vn].push(Ji),bi+=Ui,Ui});return li}Xt(it,0);for(var _t=ft.length,bn=function(Xn){ft[Xn].forEach(function(Vn){!("rowSpan"in Vn)&&!Vn.hasSubColumns&&(Vn.rowSpan=_t-Xn)})},gn=0;gn<_t;gn+=1)bn(gn);return ft}function Yn(it){var ft=it.stickyOffsets,Xt=it.columns,_t=it.flattenColumns,bn=it.onHeaderRow,gn=tt(Pe,["prefixCls","getComponent"]),Jn=gn.prefixCls,Xn=gn.getComponent,Vn=ke.useMemo(function(){return ei(Xt)},[Xt]),bi=Xn(["header","wrapper"],"thead"),li=Xn(["header","row"],"tr"),wi=Xn(["header","cell"],"th"),Ji=Xn(["header","cell"],"td");return ke.createElement(bi,{className:"".concat(Jn,"-thead")},Vn.map(function(Ui,zi){var yr=ke.createElement(ln,{key:zi,flattenColumns:_t,cells:Ui,stickyOffsets:ft,rowComponent:li,cellComponent:wi,tdCellComponent:Ji,onHeaderRow:bn,index:zi});return yr}))}var dn=ye(Yn),tn=ve(11592);function on(it){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ft=="number"?ft:ft.endsWith("%")?it*parseFloat(ft)/100:null}function wt(it,ft){return ke.useMemo(function(){if(ft&&ft>0){var Xt=0,_t=0;it.forEach(function(bi){var li=on(ft,bi.width);li?Xt+=li:_t+=1});var bn=ft-Xt,gn=_t,Jn=bn/_t,Xn=0,Vn=it.map(function(bi){var li=(0,ut.Z)({},bi),wi=on(ft,li.width);if(wi)li.width=wi;else{var Ji=Math.floor(Jn);li.width=gn===1?bn:Ji,bn-=Ji,gn-=1}return Xn+=li.width,li});return[Vn,Xn]}return[it,ft]},[it,ft])}var bt=["children"],ze=["fixed"];function Gt(it){return(0,tn.Z)(it).filter(function(ft){return ke.isValidElement(ft)}).map(function(ft){var Xt=ft.key,_t=ft.props,bn=_t.children,gn=(0,ni.Z)(_t,bt),Jn=(0,ut.Z)({key:Xt},gn);return bn&&(Jn.children=Gt(bn)),Jn})}function an(it){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return it.filter(function(Xt){return Xt&&(0,Ye.Z)(Xt)==="object"}).reduce(function(Xt,_t,bn){var gn=_t.fixed,Jn=gn===!0?"left":gn,Xn="".concat(ft,"-").concat(bn),Vn=_t.children;return Vn&&Vn.length>0?[].concat((0,hr.Z)(Xt),(0,hr.Z)(an(Vn,Xn).map(function(bi){return(0,ut.Z)({fixed:Jn},bi)}))):[].concat((0,hr.Z)(Xt),[(0,ut.Z)((0,ut.Z)({key:Xn},_t),{},{fixed:Jn})])},[])}function ct(it){for(var ft=!0,Xt=0;Xt=0;gn-=1){var Jn=it[gn];if(bn&&Jn.fixed!=="right")bn=!1;else if(!bn&&Jn.fixed==="right"){warning(!1,"Index ".concat(gn+1," of `columns` missing `fixed='right'` prop."));break}}}function $e(it){return it.map(function(ft){var Xt=ft.fixed,_t=(0,ni.Z)(ft,ze),bn=Xt;return Xt==="left"?bn="right":Xt==="right"&&(bn="left"),(0,ut.Z)({fixed:bn},_t)})}function $t(it,ft){var Xt=it.prefixCls,_t=it.columns,bn=it.children,gn=it.expandable,Jn=it.expandedKeys,Xn=it.columnTitle,Vn=it.getRowKey,bi=it.onTriggerExpand,li=it.expandIcon,wi=it.rowExpandable,Ji=it.expandIconColumnIndex,Ui=it.direction,zi=it.expandRowByClick,yr=it.columnWidth,Zi=it.fixed,Fr=it.scrollWidth,Cr=ke.useMemo(function(){return _t||Gt(bn)},[_t,bn]),Tr=ke.useMemo(function(){if(gn){var ao,Zr=Cr.slice();if(!Zr.includes(Se)){var mr=Ji||0;mr>=0&&Zr.splice(mr,0,Se)}var Dr=Zr.indexOf(Se);Zr=Zr.filter(function(Br,Go){return Br!==Se||Go===Dr});var lo=Cr[Dr],Fo;(Zi==="left"||Zi)&&!Ji?Fo="left":(Zi==="right"||Zi)&&Ji===Cr.length?Fo="right":Fo=lo?lo.fixed:null;var Do=(ao={},(0,Ue.Z)(ao,Gr,{className:"".concat(Xt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Ue.Z)(ao,"title",Xn),(0,Ue.Z)(ao,"fixed",Fo),(0,Ue.Z)(ao,"className","".concat(Xt,"-row-expand-icon-cell")),(0,Ue.Z)(ao,"width",yr),(0,Ue.Z)(ao,"render",function(Go,_o,na){var ta=Vn(_o,na),_a=Jn.has(ta),ga=wi?wi(_o):!0,Ho=li({prefixCls:Xt,expanded:_a,expandable:ga,record:_o,onExpand:bi});return zi?ke.createElement("span",{onClick:function(Oo){return Oo.stopPropagation()}},Ho):Ho}),ao);return Zr.map(function(Br){return Br===Se?Do:Br})}return Cr.filter(function(Br){return Br!==Se})},[gn,Cr,Vn,Jn,li,Ui]),yo=ke.useMemo(function(){var ao=Tr;return ft&&(ao=ft(ao)),ao.length||(ao=[{render:function(){return null}}]),ao},[ft,Tr,Ui]),Mo=ke.useMemo(function(){return Ui==="rtl"?$e(an(yo)):an(yo)},[yo,Ui,Fr]),Wr=wt(Mo,Fr),qr=(0,We.Z)(Wr,2),Vo=qr[0],Or=qr[1];return[yo,Vo,Or]}var Tt=$t;function Mn(it){var ft,Xt=it.prefixCls,_t=it.record,bn=it.onExpand,gn=it.expanded,Jn=it.expandable,Xn="".concat(Xt,"-row-expand-icon");if(!Jn)return ke.createElement("span",{className:Qe()(Xn,"".concat(Xt,"-row-spaced"))});var Vn=function(li){bn(_t,li),li.stopPropagation()};return ke.createElement("span",{className:Qe()(Xn,(ft={},(0,Ue.Z)(ft,"".concat(Xt,"-row-expanded"),gn),(0,Ue.Z)(ft,"".concat(Xt,"-row-collapsed"),!gn),ft)),onClick:Vn})}function Wn(it,ft,Xt){var _t=[];function bn(gn){(gn||[]).forEach(function(Jn,Xn){_t.push(ft(Jn,Xn)),bn(Jn[Xt])})}return bn(it),_t}function st(it,ft,Xt){var _t=Ir(it),bn=_t.expandIcon,gn=_t.expandedRowKeys,Jn=_t.defaultExpandedRowKeys,Xn=_t.defaultExpandAllRows,Vn=_t.expandedRowRender,bi=_t.onExpand,li=_t.onExpandedRowsChange,wi=_t.childrenColumnName,Ji=bn||Mn,Ui=wi||"children",zi=ke.useMemo(function(){return Vn?"row":it.expandable&&it.internalHooks===Oe&&it.expandable.__PARENT_RENDER_ICON__||ft.some(function(Mo){return Mo&&(0,Ye.Z)(Mo)==="object"&&Mo[Ui]})?"nest":!1},[!!Vn,ft]),yr=ke.useState(function(){return Jn||(Xn?Wn(ft,Xt,Ui):[])}),Zi=(0,We.Z)(yr,2),Fr=Zi[0],Cr=Zi[1],Tr=ke.useMemo(function(){return new Set(gn||Fr||[])},[gn,Fr]),yo=ke.useCallback(function(Mo){var Wr=Xt(Mo,ft.indexOf(Mo)),qr,Vo=Tr.has(Wr);Vo?(Tr.delete(Wr),qr=(0,hr.Z)(Tr)):qr=[].concat((0,hr.Z)(Tr),[Wr]),Cr(qr),bi&&bi(!Vo,Mo),li&&li(qr)},[Xt,Tr,ft,bi,li]);return[_t,zi,Tr,Ji,Ui,yo]}function fn(it,ft,Xt,_t){var bn=it.map(function(gn,Jn){return pt(Jn,Jn,it,ft,Xt,_t==null?void 0:_t[Jn])});return(0,Ht.Z)(function(){return bn},[bn],function(gn,Jn){return!(0,yt.Z)(gn,Jn)})}function Kn(it){var ft=(0,ke.useRef)(it),Xt=(0,ke.useState)({}),_t=(0,We.Z)(Xt,2),bn=_t[1],gn=(0,ke.useRef)(null),Jn=(0,ke.useRef)([]);function Xn(Vn){Jn.current.push(Vn);var bi=Promise.resolve();gn.current=bi,bi.then(function(){if(gn.current===bi){var li=Jn.current,wi=ft.current;Jn.current=[],li.forEach(function(Ji){ft.current=Ji(ft.current)}),gn.current=null,wi!==ft.current&&bn({})}})}return(0,ke.useEffect)(function(){return function(){gn.current=null}},[]),[ft.current,Xn]}function _n(it){var ft=(0,ke.useRef)(it||null),Xt=(0,ke.useRef)();function _t(){window.clearTimeout(Xt.current)}function bn(Jn){ft.current=Jn,_t(),Xt.current=window.setTimeout(function(){ft.current=null,Xt.current=void 0},100)}function gn(){return ft.current}return(0,ke.useEffect)(function(){return _t},[]),[bn,gn]}function nn(){var it=ke.useState(-1),ft=(0,We.Z)(it,2),Xt=ft[0],_t=ft[1],bn=ke.useState(-1),gn=(0,We.Z)(bn,2),Jn=gn[0],Xn=gn[1],Vn=ke.useCallback(function(bi,li){_t(bi),Xn(li)},[]);return[Xt,Jn,Vn]}var hn=ve(47273),ri=(0,hn.Z)()?window:null;function gi(it,ft){var Xt=(0,Ye.Z)(it)==="object"?it:{},_t=Xt.offsetHeader,bn=_t===void 0?0:_t,gn=Xt.offsetSummary,Jn=gn===void 0?0:gn,Xn=Xt.offsetScroll,Vn=Xn===void 0?0:Xn,bi=Xt.getContainer,li=bi===void 0?function(){return ri}:bi,wi=li()||ri;return ke.useMemo(function(){var Ji=!!it;return{isSticky:Ji,stickyClassName:Ji?"".concat(ft,"-sticky-holder"):"",offsetHeader:bn,offsetSummary:Jn,offsetScroll:Vn,container:wi}},[Vn,bn,Jn,ft,wi])}function yi(it,ft,Xt){var _t=(0,ke.useMemo)(function(){for(var bn=[],gn=[],Jn=0,Xn=0,Vn=0;Vn=wi&&(Br=wi-Ji),Jn({scrollLeft:Br/wi*(li+2)}),Cr.current.x=Dr.pageX},ao=function(){if(gn.current){var Dr=(0,lr.os)(gn.current).top,lo=Dr+gn.current.offsetHeight,Fo=Vn===window?document.documentElement.scrollTop+window.innerHeight:(0,lr.os)(Vn).top+Vn.clientHeight;lo-(0,Fe.Z)()<=Fo||Dr>=Fo-Xn?Fr(function(Do){return(0,ut.Z)((0,ut.Z)({},Do),{},{isHiddenScrollBar:!0})}):Fr(function(Do){return(0,ut.Z)((0,ut.Z)({},Do),{},{isHiddenScrollBar:!1})})}},Zr=function(Dr){Fr(function(lo){return(0,ut.Z)((0,ut.Z)({},lo),{},{scrollLeft:Dr/li*wi||0})})};return ke.useImperativeHandle(Xt,function(){return{setScrollLeft:Zr}}),ke.useEffect(function(){var mr=(0,qi.Z)(document.body,"mouseup",qr,!1),Dr=(0,qi.Z)(document.body,"mousemove",Or,!1);return ao(),function(){mr.remove(),Dr.remove()}},[Ji,Mo]),ke.useEffect(function(){var mr=(0,qi.Z)(Vn,"scroll",ao,!1),Dr=(0,qi.Z)(window,"resize",ao,!1);return function(){mr.remove(),Dr.remove()}},[Vn]),ke.useEffect(function(){Zi.isHiddenScrollBar||Fr(function(mr){var Dr=gn.current;return Dr?(0,ut.Z)((0,ut.Z)({},mr),{},{scrollLeft:Dr.scrollLeft/Dr.scrollWidth*Dr.clientWidth}):mr})},[Zi.isHiddenScrollBar]),li<=wi||!Ji||Zi.isHiddenScrollBar?null:ke.createElement("div",{style:{height:(0,Fe.Z)(),width:wi,bottom:Xn},className:"".concat(bi,"-sticky-scroll")},ke.createElement("div",{onMouseDown:Vo,ref:Ui,className:Qe()("".concat(bi,"-sticky-scroll-bar"),(0,Ue.Z)({},"".concat(bi,"-sticky-scroll-bar-active"),Mo)),style:{width:"".concat(Ji,"px"),transform:"translate3d(".concat(Zi.scrollLeft,"px, 0, 0)")}}))},Ln=ke.forwardRef(er);function Nr(it){return null}var Ar=Nr;function $r(it){return null}var En=$r,ci="rc-table",Ii=[],ir={};function Ki(){return"No Data"}function rr(it){var ft,Xt=(0,ut.Z)({rowKey:"key",prefixCls:ci,emptyText:Ki},it),_t=Xt.prefixCls,bn=Xt.className,gn=Xt.rowClassName,Jn=Xt.style,Xn=Xt.data,Vn=Xt.rowKey,bi=Xt.scroll,li=Xt.tableLayout,wi=Xt.direction,Ji=Xt.title,Ui=Xt.footer,zi=Xt.summary,yr=Xt.caption,Zi=Xt.id,Fr=Xt.showHeader,Cr=Xt.components,Tr=Xt.emptyText,yo=Xt.onRow,Mo=Xt.onHeaderRow,Wr=Xt.internalHooks,qr=Xt.transformColumns,Vo=Xt.internalRefs,Or=Xt.tailor,ao=Xt.sticky,Zr=Xn||Ii,mr=!!Zr.length,Dr=Wr===Oe,lo=ke.useCallback(function(Ya,Es){return(0,Rt.Z)(Cr,Ya)||Es},[Cr]),Fo=ke.useMemo(function(){return typeof Vn=="function"?Vn:function(Ya){var Es=Ya&&Ya[Vn];return Es}},[Vn]),Do=lo(["body"]),Br=nn(),Go=(0,We.Z)(Br,3),_o=Go[0],na=Go[1],ta=Go[2],_a=st(Xt,Zr,Fo),ga=(0,We.Z)(_a,6),Ho=ga[0],Po=ga[1],Oo=ga[2],Ua=ga[3],Ia=ga[4],ts=ga[5],Ro=bi==null?void 0:bi.x,bo=ke.useState(0),Wo=(0,We.Z)(bo,2),xo=Wo[0],oo=Wo[1],$i=Tt((0,ut.Z)((0,ut.Z)((0,ut.Z)({},Xt),Ho),{},{expandable:!!Ho.expandedRowRender,columnTitle:Ho.columnTitle,expandedKeys:Oo,getRowKey:Fo,onTriggerExpand:ts,expandIcon:Ua,expandIconColumnIndex:Ho.expandIconColumnIndex,direction:wi,scrollWidth:Dr&&Or&&typeof Ro=="number"?Ro:null}),Dr?qr:null),Vr=(0,We.Z)($i,3),Xo=Vr[0],ua=Vr[1],al=Vr[2],Rs=al!=null?al:Ro,Al=ke.useMemo(function(){return{columns:Xo,flattenColumns:ua}},[Xo,ua]),Na=ke.useRef(),Xa=ke.useRef(),Bo=ke.useRef(),Vs=ke.useRef(),Ll=ke.useRef(),Wa=ke.useState(!1),$a=(0,We.Z)(Wa,2),ns=$a[0],bs=$a[1],Gs=ke.useState(!1),Sa=(0,We.Z)(Gs,2),as=Sa[0],Js=Sa[1],Ja=Kn(new Map),zo=(0,We.Z)(Ja,2),Ms=zo[0],Ys=zo[1],Wu=At(ua),vu=Wu.map(function(Ya){return Ms.get(Ya)}),qa=ke.useMemo(function(){return vu},[vu.join("_")]),Ml=oi(qa,ua.length,wi),Ps=bi&&Sn(bi.y),gs=bi&&Sn(Rs)||!!Ho.fixed,Nu=gs&&ua.some(function(Ya){var Es=Ya.fixed;return Es}),Cc=ke.useRef(),ql=gi(ao,_t),ac=ql.isSticky,sc=ql.offsetHeader,yu=ql.offsetSummary,Ra=ql.offsetScroll,ss=ql.stickyClassName,Qs=ql.container,ps=ke.useMemo(function(){return zi==null?void 0:zi(Zr)},[zi,Zr]),za=(Ps||ac)&&ke.isValidElement(ps)&&ps.type===Xe&&ps.props.fixed,_s,Rl,Zu;Ps&&(Rl={overflowY:"scroll",maxHeight:bi.y}),gs&&(_s={overflowX:"auto"},Ps||(Rl={overflowY:"hidden"}),Zu={width:Rs===!0?"auto":Rs,minWidth:"100%"});var uh=ke.useCallback(function(Ya,Es){(0,xe.Z)(Na.current)&&Ys(function(Dl){if(Dl.get(Ya)!==Es){var Du=new Map(Dl);return Du.set(Ya,Es),Du}return Dl})},[]),pn=_n(null),Rc=(0,We.Z)(pn,2),bc=Rc[0],jh=Rc[1];function bd(Ya,Es){Es&&(typeof Es=="function"?Es(Ya):Es.scrollLeft!==Ya&&(Es.scrollLeft=Ya,Es.scrollLeft!==Ya&&setTimeout(function(){Es.scrollLeft=Ya},0)))}var _c=(0,Ot.Z)(function(Ya){var Es=Ya.currentTarget,Dl=Ya.scrollLeft,Du=wi==="rtl",Bu=typeof Dl=="number"?Dl:Es.scrollLeft,hh=Es||ir;if(!jh()||jh()===hh){var ed;bc(hh),bd(Bu,Xa.current),bd(Bu,Bo.current),bd(Bu,Ll.current),bd(Bu,(ed=Cc.current)===null||ed===void 0?void 0:ed.setScrollLeft)}var Jd=Es||Xa.current;if(Jd){var Qu=Jd.scrollWidth,uc=Jd.clientWidth;if(Qu===uc){bs(!1),Js(!1);return}Du?(bs(-Bu0)):(bs(Bu>0),Js(Bu1?yr-Dr:0,Fo=(0,ut.Z)((0,ut.Z)((0,ut.Z)({},qr),Vn),{},{flex:"0 0 ".concat(Dr,"px"),width:"".concat(Dr,"px"),marginRight:lo,pointerEvents:"auto"}),Do=ke.useMemo(function(){return li?Zr<=1:Or===0||Zr===0||Zr>1},[Zr,Or,li]);Do?Fo.visibility="hidden":li&&(Fo.height=wi==null?void 0:wi(Zr));var Br=Do?function(){return null}:Ji,Go={};return(Zr===0||Or===0)&&(Go.rowSpan=1,Go.colSpan=1),ke.createElement(Tn,(0,gt.Z)({className:Qe()(zi,bi),ellipsis:Xt.ellipsis,align:Xt.align,scope:Xt.rowScope,component:"div",prefixCls:ft.prefixCls,key:Tr,record:Xn,index:gn,renderIndex:Jn,dataIndex:Ui,render:Br,shouldCellUpdate:Xt.shouldCellUpdate},yo,{appendNode:Mo,additionalProps:(0,ut.Z)((0,ut.Z)({},Wr),{},{style:Fo},Go)}))}var Qr=fr,Pr=["data","index","className","rowKey","style","extra","getHeight"],Ao=ke.forwardRef(function(it,ft){var Xt=it.data,_t=it.index,bn=it.className,gn=it.rowKey,Jn=it.style,Xn=it.extra,Vn=it.getHeight,bi=(0,ni.Z)(it,Pr),li=Xt.record,wi=Xt.indent,Ji=Xt.index,Ui=tt(Pe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),zi=Ui.scrollX,yr=Ui.flattenColumns,Zi=Ui.prefixCls,Fr=Ui.fixColumn,Cr=Ui.componentWidth,Tr=rn(li,gn,_t,wi),yo=Tr.rowSupportExpand,Mo=Tr.expanded,Wr=Tr.rowProps,qr=Tr.expandedRowRender,Vo=Tr.expandedRowClassName,Or;if(yo&&Mo){var ao=qr(li,_t,wi+1,Mo),Zr=Vo==null?void 0:Vo(li,_t,wi),mr={};Fr&&(mr={style:(0,Ue.Z)({},"--virtual-width","".concat(Cr,"px"))});var Dr="".concat(Zi,"-expanded-row-cell");Or=ke.createElement("div",{className:Qe()("".concat(Zi,"-expanded-row"),"".concat(Zi,"-expanded-row-level-").concat(wi+1),Zr)},ke.createElement(Tn,{component:"div",prefixCls:Zi,className:Qe()(Dr,(0,Ue.Z)({},"".concat(Dr,"-fixed"),Fr)),additionalProps:mr},ao))}var lo=(0,ut.Z)((0,ut.Z)({},Jn),{},{width:zi});Xn&&(lo.position="absolute",lo.pointerEvents="none");var Fo=ke.createElement("div",(0,gt.Z)({},Wr,bi,{ref:yo?null:ft,className:Qe()(bn,"".concat(Zi,"-row"),Wr==null?void 0:Wr.className,(0,Ue.Z)({},"".concat(Zi,"-row-extra"),Xn)),style:(0,ut.Z)((0,ut.Z)({},lo),Wr==null?void 0:Wr.style)}),yr.map(function(Do,Br){return ke.createElement(Qr,{key:Br,rowInfo:Tr,column:Do,colIndex:Br,indent:wi,index:_t,renderIndex:Ji,record:li,inverse:Xn,getHeight:Vn})}));return yo?ke.createElement("div",{ref:ft},Fo,Or):Fo}),po=ye(Ao),vr=po,gr=ke.forwardRef(function(it,ft){var Xt=it.data,_t=it.onScroll,bn=tt(Pe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),gn=bn.flattenColumns,Jn=bn.onColumnResize,Xn=bn.getRowKey,Vn=bn.expandedKeys,bi=bn.prefixCls,li=bn.childrenColumnName,wi=bn.emptyNode,Ji=bn.scrollX,Ui=tt(Bn),zi=Ui.scrollY,yr=Ui.listItemHeight,Zi=ke.useRef(),Fr=mt(Xt,li,Vn,Xn),Cr=ke.useMemo(function(){var Or=0;return gn.map(function(ao){var Zr=ao.width,mr=ao.key;return Or+=Zr,[mr,Zr,Or]})},[gn]),Tr=ke.useMemo(function(){return Cr.map(function(Or){return Or[2]})},[Cr]);ke.useEffect(function(){Cr.forEach(function(Or){var ao=(0,We.Z)(Or,2),Zr=ao[0],mr=ao[1];Jn(Zr,mr)})},[Cr]),ke.useImperativeHandle(ft,function(){var Or={};return Object.defineProperty(Or,"scrollLeft",{get:function(){var Zr;return((Zr=Zi.current)===null||Zr===void 0?void 0:Zr.getScrollInfo().x)||0},set:function(Zr){var mr;(mr=Zi.current)===null||mr===void 0||mr.scrollTo({left:Zr})}}),Or});var yo=function(ao,Zr){var mr,Dr=(mr=Fr[Zr])===null||mr===void 0?void 0:mr.record,lo=ao.onCell;if(lo){var Fo,Do=lo(Dr,Zr);return(Fo=Do==null?void 0:Do.rowSpan)!==null&&Fo!==void 0?Fo:1}return 1},Mo=function(ao){var Zr=ao.start,mr=ao.end,Dr=ao.getSize,lo=ao.offsetY;if(mr<0)return null;for(var Fo=gn.filter(function(Ro){return yo(Ro,Zr)===0}),Do=Zr,Br=function(bo){if(Fo=Fo.filter(function(Wo){return yo(Wo,bo)===0}),!Fo.length)return Do=bo,"break"},Go=Zr;Go>=0;Go-=1){var _o=Br(Go);if(_o==="break")break}for(var na=gn.filter(function(Ro){return yo(Ro,mr)!==1}),ta=mr,_a=function(bo){if(na=na.filter(function(Wo){return yo(Wo,bo)!==1}),!na.length)return ta=Math.max(bo-1,mr),"break"},ga=mr;ga1})&&Po.push(bo)},Ua=Do;Ua<=ta;Ua+=1)var Ia=Oo(Ua);var ts=Po.map(function(Ro){var bo=Fr[Ro],Wo=Xn(bo.record,Ro),xo=function(Vr){var Xo=Ro+Vr-1,ua=Xn(Fr[Xo].record,Xo),al=Dr(Wo,ua);return al.bottom-al.top},oo=Dr(Wo);return ke.createElement(vr,{key:Ro,data:bo,rowKey:Wo,index:Ro,style:{top:-lo+oo.top},extra:!0,getHeight:xo})});return ts},Wr=ke.useMemo(function(){return{columnsOffset:Tr}},[Tr]),qr="".concat(bi,"-tbody"),Vo;return Fr.length?Vo=ke.createElement(Wi.Z,{fullHeight:!1,ref:Zi,className:Qe()(qr,"".concat(qr,"-virtual")),height:zi,itemHeight:yr||24,data:Fr,itemKey:function(ao){return Xn(ao.record)},scrollWidth:Ji,onVirtualScroll:function(ao){var Zr=ao.x;_t({scrollLeft:Zr})},extraRender:Mo},function(Or,ao,Zr){var mr=Xn(Or.record,ao);return ke.createElement(vr,(0,gt.Z)({data:Or,rowKey:mr,index:ao},Zr))}):Vo=ke.createElement("div",{className:Qe()("".concat(bi,"-placeholder"))},ke.createElement(Tn,{component:"div",prefixCls:bi},wi)),ke.createElement(Lr.Provider,{value:Wr},Vo)}),cr=ye(gr),Yr=cr,Ri=function(ft,Xt){var _t=Xt.ref,bn=Xt.onScroll;return ke.createElement(Yr,{ref:_t,data:ft,onScroll:bn})},_e=100;function xt(it){var ft=it.columns,Xt=it.scroll,_t=it.prefixCls,bn=_t===void 0?ci:_t,gn=it.className,Jn=it.listItemHeight,Xn=Xt||{},Vn=Xn.x,bi=Xn.y;typeof Vn!="number"&&(Vn=((ft||[]).length+1)*_e),typeof bi!="number"&&(bi=500);var li=ke.useMemo(function(){return{scrollY:bi,listItemHeight:Jn}},[bi,Jn]);return ke.createElement(Bn.Provider,{value:li},ke.createElement(Yi,(0,gt.Z)({},it,{className:Qe()(gn,"".concat(bn,"-virtual")),scroll:(0,ut.Z)((0,ut.Z)({},Xt),{},{x:Vn}),components:{body:Ri},columns:ft,internalHooks:Oe,tailor:!0})))}function Dt(it){return ge(xt,it)}var un=Dt(),jn=null;function ai(it){return null}var Vt=ai;function Cn(it){return null}var ii=Cn,Qn=ve(2738),Fi=ve(68031),Mr=ve(36355),Ei=ve(93891),Oi=ve(19716),Hn=ve(8628),pr=ve(31724),kr=ve(58421),wo=ve(71418),to=ve(88088);function Xr(it){return function(Xt){let{prefixCls:_t,onExpand:bn,record:gn,expanded:Jn,expandable:Xn}=Xt;const Vn=`${_t}-row-expand-icon`;return ke.createElement("button",{type:"button",onClick:bi=>{bn(gn,bi),bi.stopPropagation()},className:Qe()(Vn,{[`${Vn}-spaced`]:!Xn,[`${Vn}-expanded`]:Xn&&Jn,[`${Vn}-collapsed`]:Xn&&!Jn}),"aria-label":Jn?it.collapse:it.expand,"aria-expanded":Jn})}}var eo=Xr;function Zo(it,ft){return"key"in it&&it.key!==void 0&&it.key!==null?it.key:it.dataIndex?Array.isArray(it.dataIndex)?it.dataIndex.join("."):it.dataIndex:ft}function $o(it,ft){return ft?`${ft}-${it}`:`${it}`}function ia(it,ft){return typeof it=="function"?it(ft):it}function qo(it,ft){const Xt=ia(it,ft);return Object.prototype.toString.call(Xt)==="[object Object]"?"":Xt}var xn={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"},oa=xn,vs=ve(7657),Ga=function(ft,Xt){return ke.createElement(vs.Z,(0,gt.Z)({},ft,{ref:Xt,icon:oa}))},Zs=ke.forwardRef(Ga),xa=Zs,pl=ve(56762);function wa(it){const ft=ke.useRef(it),Xt=(0,pl.Z)();return[()=>ft.current,_t=>{ft.current=_t,Xt()}]}var Lo=ve(3113),Ko=ve(24905),Ka=ve(38854),Kr=ve(64165),ko=ve(20834),ro=ve(40875),Hi=ve(5112),fa=ve(17574),ka=ve(47472),Ds=ve(92832);function ys(it){let{value:ft,onChange:Xt,filterSearch:_t,tablePrefixCls:bn,locale:gn}=it;return _t?ke.createElement("div",{className:`${bn}-filter-dropdown-search`},ke.createElement(Ds.default,{prefix:ke.createElement(ka.Z,null),placeholder:gn.filterSearchPlaceholder,onChange:Xt,value:ft,htmlSize:1,className:`${bn}-filter-dropdown-search-input`})):null}var nl=ys,Vi=ve(10228);const Da=it=>{const{keyCode:ft}=it;ft===Vi.Z.ENTER&&it.stopPropagation()};var Os=ke.forwardRef((it,ft)=>ke.createElement("div",{className:it.className,onClick:Xt=>Xt.stopPropagation(),onKeyDown:Da,ref:ft},it.children));function ml(it){let ft=[];return(it||[]).forEach(Xt=>{let{value:_t,children:bn}=Xt;ft.push(_t),bn&&(ft=[].concat((0,hr.Z)(ft),(0,hr.Z)(ml(bn))))}),ft}function Gl(it){return it.some(ft=>{let{children:Xt}=ft;return Xt})}function So(it,ft){return typeof ft=="string"||typeof ft=="number"?ft==null?void 0:ft.toString().toLowerCase().includes(it.trim().toLowerCase()):!1}function Au(it){let{filters:ft,prefixCls:Xt,filteredKeys:_t,filterMultiple:bn,searchValue:gn,filterSearch:Jn}=it;return ft.map((Xn,Vn)=>{const bi=String(Xn.value);if(Xn.children)return{key:bi||Vn,label:Xn.text,popupClassName:`${Xt}-dropdown-submenu`,children:Au({filters:Xn.children,prefixCls:Xt,filteredKeys:_t,filterMultiple:bn,searchValue:gn,filterSearch:Jn})};const li=bn?Ko.default:Hi.ZP,wi={key:Xn.value!==void 0?bi:Vn,label:ke.createElement(ke.Fragment,null,ke.createElement(li,{checked:_t.includes(bi)}),ke.createElement("span",null,Xn.text))};return gn.trim()?typeof Jn=="function"?Jn(gn,Xn)?wi:null:So(gn,Xn.text)?wi:null:wi})}function il(it){var ft,Xt;const{tablePrefixCls:_t,prefixCls:bn,column:gn,dropdownPrefixCls:Jn,columnKey:Xn,filterMultiple:Vn,filterMode:bi="menu",filterSearch:li=!1,filterState:wi,triggerFilter:Ji,locale:Ui,children:zi,getPopupContainer:yr}=it,{filterDropdownOpen:Zi,onFilterDropdownOpenChange:Fr,filterResetToDefaultFilteredValue:Cr,defaultFilteredValue:Tr,filterDropdownVisible:yo,onFilterDropdownVisibleChange:Mo}=gn,[Wr,qr]=ke.useState(!1),Vo=!!(wi&&(!((ft=wi.filteredKeys)===null||ft===void 0)&&ft.length||wi.forceFiltered)),Or=$i=>{qr($i),Fr==null||Fr($i),Mo==null||Mo($i)},ao=(Xt=Zi!=null?Zi:yo)!==null&&Xt!==void 0?Xt:Wr,Zr=wi==null?void 0:wi.filteredKeys,[mr,Dr]=wa(Zr||[]),lo=$i=>{let{selectedKeys:Vr}=$i;Dr(Vr)},Fo=($i,Vr)=>{let{node:Xo,checked:ua}=Vr;lo(Vn?{selectedKeys:$i}:{selectedKeys:ua&&Xo.key?[Xo.key]:[]})};ke.useEffect(()=>{Wr&&lo({selectedKeys:Zr||[]})},[Zr]);const[Do,Br]=ke.useState([]),Go=$i=>{Br($i)},[_o,na]=ke.useState(""),ta=$i=>{const{value:Vr}=$i.target;na(Vr)};ke.useEffect(()=>{Wr||na("")},[Wr]);const _a=$i=>{const Vr=$i&&$i.length?$i:null;if(Vr===null&&(!wi||!wi.filteredKeys)||(0,yt.Z)(Vr,wi==null?void 0:wi.filteredKeys,!0))return null;Ji({column:gn,key:Xn,filteredKeys:Vr})},ga=()=>{Or(!1),_a(mr())},Ho=function(){let{confirm:$i,closeDropdown:Vr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};$i&&_a([]),Vr&&Or(!1),na(""),Dr(Cr?(Tr||[]).map(Xo=>String(Xo)):[])},Po=function(){let{closeDropdown:$i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};$i&&Or(!1),_a(mr())},Oo=$i=>{$i&&Zr!==void 0&&Dr(Zr||[]),Or($i),!$i&&!gn.filterDropdown&&ga()},Ua=Qe()({[`${Jn}-menu-without-submenu`]:!Gl(gn.filters||[])}),Ia=$i=>{if($i.target.checked){const Vr=ml(gn==null?void 0:gn.filters).map(Xo=>String(Xo));Dr(Vr)}else Dr([])},ts=$i=>{let{filters:Vr}=$i;return(Vr||[]).map((Xo,ua)=>{const al=String(Xo.value),Rs={title:Xo.text,key:Xo.value!==void 0?al:ua};return Xo.children&&(Rs.children=ts({filters:Xo.children})),Rs})},Ro=$i=>{var Vr;return Object.assign(Object.assign({},$i),{text:$i.title,value:$i.key,children:((Vr=$i.children)===null||Vr===void 0?void 0:Vr.map(Xo=>Ro(Xo)))||[]})};let bo;if(typeof gn.filterDropdown=="function")bo=gn.filterDropdown({prefixCls:`${Jn}-custom`,setSelectedKeys:$i=>lo({selectedKeys:$i}),selectedKeys:mr(),confirm:Po,clearFilters:Ho,filters:gn.filters,visible:ao,close:()=>{Or(!1)}});else if(gn.filterDropdown)bo=gn.filterDropdown;else{const $i=mr()||[],Vr=()=>(gn.filters||[]).length===0?ke.createElement(Kr.Z,{image:Kr.Z.PRESENTED_IMAGE_SIMPLE,description:Ui.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):bi==="tree"?ke.createElement(ke.Fragment,null,ke.createElement(nl,{filterSearch:li,value:_o,onChange:ta,tablePrefixCls:_t,locale:Ui}),ke.createElement("div",{className:`${_t}-filter-dropdown-tree`},Vn?ke.createElement(Ko.default,{checked:$i.length===ml(gn.filters).length,indeterminate:$i.length>0&&$i.lengthtypeof li=="function"?li(_o,Ro(ua)):So(_o,ua.title):void 0}))):ke.createElement(ke.Fragment,null,ke.createElement(nl,{filterSearch:li,value:_o,onChange:ta,tablePrefixCls:_t,locale:Ui}),ke.createElement(ko.default,{selectable:!0,multiple:Vn,prefixCls:`${Jn}-menu`,className:Ua,onSelect:lo,onDeselect:lo,selectedKeys:$i,getPopupContainer:yr,openKeys:Do,onOpenChange:Go,items:Au({filters:gn.filters||[],filterSearch:li,prefixCls:bn,filteredKeys:mr(),filterMultiple:Vn,searchValue:_o})})),Xo=()=>Cr?(0,yt.Z)((Tr||[]).map(ua=>String(ua)),$i,!0):$i.length===0;bo=ke.createElement(ke.Fragment,null,Vr(),ke.createElement("div",{className:`${bn}-dropdown-btns`},ke.createElement(Lo.ZP,{type:"link",size:"small",disabled:Xo(),onClick:()=>Ho()},Ui.filterReset),ke.createElement(Lo.ZP,{type:"primary",size:"small",onClick:ga},Ui.filterConfirm)))}gn.filterDropdown&&(bo=ke.createElement(ro.J,{selectable:void 0},bo));const Wo=()=>ke.createElement(Os,{className:`${bn}-dropdown`},bo);let xo;typeof gn.filterIcon=="function"?xo=gn.filterIcon(Vo):gn.filterIcon?xo=gn.filterIcon:xo=ke.createElement(xa,null);const{direction:oo}=ke.useContext(Mr.E_);return ke.createElement("div",{className:`${bn}-column`},ke.createElement("span",{className:`${_t}-column-title`},zi),ke.createElement(Ka.Z,{dropdownRender:Wo,trigger:["click"],open:ao,onOpenChange:Oo,getPopupContainer:yr,placement:oo==="rtl"?"bottomLeft":"bottomRight"},ke.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${bn}-trigger`,{active:Vo}),onClick:$i=>{$i.stopPropagation()}},xo)))}var Nl=il;function vl(it,ft,Xt){let _t=[];return(it||[]).forEach((bn,gn)=>{var Jn;const Xn=$o(gn,Xt);if(bn.filters||"filterDropdown"in bn||"onFilter"in bn)if("filteredValue"in bn){let Vn=bn.filteredValue;"filterDropdown"in bn||(Vn=(Jn=Vn==null?void 0:Vn.map(String))!==null&&Jn!==void 0?Jn:Vn),_t.push({column:bn,key:Zo(bn,Xn),filteredKeys:Vn,forceFiltered:bn.filtered})}else _t.push({column:bn,key:Zo(bn,Xn),filteredKeys:ft&&bn.defaultFilteredValue?bn.defaultFilteredValue:void 0,forceFiltered:bn.filtered});"children"in bn&&(_t=[].concat((0,hr.Z)(_t),(0,hr.Z)(vl(bn.children,ft,Xn))))}),_t}function fu(it,ft,Xt,_t,bn,gn,Jn,Xn){return Xt.map((Vn,bi)=>{const li=$o(bi,Xn),{filterMultiple:wi=!0,filterMode:Ji,filterSearch:Ui}=Vn;let zi=Vn;if(zi.filters||zi.filterDropdown){const yr=Zo(zi,li),Zi=_t.find(Fr=>{let{key:Cr}=Fr;return yr===Cr});zi=Object.assign(Object.assign({},zi),{title:Fr=>ke.createElement(Nl,{tablePrefixCls:it,prefixCls:`${it}-filter`,dropdownPrefixCls:ft,column:zi,columnKey:yr,filterState:Zi,filterMultiple:wi,filterMode:Ji,filterSearch:Ui,triggerFilter:gn,locale:bn,getPopupContainer:Jn},ia(Vn.title,Fr))})}return"children"in zi&&(zi=Object.assign(Object.assign({},zi),{children:fu(it,ft,zi.children,_t,bn,gn,Jn,li)})),zi})}function yl(it){const ft={};return it.forEach(Xt=>{let{key:_t,filteredKeys:bn,column:gn}=Xt;const{filters:Jn,filterDropdown:Xn}=gn;if(Xn)ft[_t]=bn||null;else if(Array.isArray(bn)){const Vn=ml(Jn);ft[_t]=Vn.filter(bi=>bn.includes(String(bi)))}else ft[_t]=null}),ft}function rl(it,ft){return ft.reduce((Xt,_t)=>{const{column:{onFilter:bn,filters:gn},filteredKeys:Jn}=_t;return bn&&Jn&&Jn.length?Xt.filter(Xn=>Jn.some(Vn=>{const bi=ml(gn),li=bi.findIndex(Ji=>String(Ji)===String(Vn)),wi=li!==-1?bi[li]:Vn;return bn(wi,Xn)})):Xt},it)}const Sl=it=>it.flatMap(ft=>"children"in ft?[ft].concat((0,hr.Z)(Sl(ft.children||[]))):[ft]);function oc(it){let{prefixCls:ft,dropdownPrefixCls:Xt,mergedColumns:_t,onFilterChange:bn,getPopupContainer:gn,locale:Jn}=it;const Xn=ke.useMemo(()=>Sl(_t||[]),[_t]),[Vn,bi]=ke.useState(()=>vl(Xn,!0)),li=ke.useMemo(()=>{const zi=vl(Xn,!1);if(zi.length===0)return zi;let yr=!0,Zi=!0;if(zi.forEach(Fr=>{let{filteredKeys:Cr}=Fr;Cr!==void 0?yr=!1:Zi=!1}),yr){const Fr=(Xn||[]).map((Cr,Tr)=>Zo(Cr,$o(Tr)));return Vn.filter(Cr=>{let{key:Tr}=Cr;return Fr.includes(Tr)}).map(Cr=>{const Tr=Xn[Fr.findIndex(yo=>yo===Cr.key)];return Object.assign(Object.assign({},Cr),{column:Object.assign(Object.assign({},Cr.column),Tr),forceFiltered:Tr.filtered})})}return zi},[Xn,Vn]),wi=ke.useMemo(()=>yl(li),[li]),Ji=zi=>{const yr=li.filter(Zi=>{let{key:Fr}=Zi;return Fr!==zi.key});yr.push(zi),bi(yr),bn(yl(yr),yr)};return[zi=>fu(ft,Xt,zi,li,Jn,Ji,gn),li,wi]}var Sc=oc;function xc(it,ft,Xt){const _t=ke.useRef({});function bn(gn){if(!_t.current||_t.current.data!==it||_t.current.childrenColumnName!==ft||_t.current.getRowKey!==Xt){let Xn=function(Vn){Vn.forEach((bi,li)=>{const wi=Xt(bi,li);Jn.set(wi,bi),bi&&typeof bi=="object"&&ft in bi&&Xn(bi[ft]||[])})};const Jn=new Map;Xn(it),_t.current={data:it,childrenColumnName:ft,kvMap:Jn,getRowKey:Xt}}return _t.current.kvMap.get(gn)}return[bn]}var Qc=ve(50371),gu=function(it,ft){var Xt={};for(var _t in it)Object.prototype.hasOwnProperty.call(it,_t)&&ft.indexOf(_t)<0&&(Xt[_t]=it[_t]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bn=0,_t=Object.getOwnPropertySymbols(it);bn<_t.length;bn++)ft.indexOf(_t[bn])<0&&Object.prototype.propertyIsEnumerable.call(it,_t[bn])&&(Xt[_t[bn]]=it[_t[bn]]);return Xt};const zl=10;function xl(it,ft){const Xt={current:it.current,pageSize:it.pageSize};return Object.keys(ft&&typeof ft=="object"?ft:{}).forEach(bn=>{const gn=it[bn];typeof gn!="function"&&(Xt[bn]=gn)}),Xt}function Tl(it,ft,Xt){const _t=Xt&&typeof Xt=="object"?Xt:{},{total:bn=0}=_t,gn=gu(_t,["total"]),[Jn,Xn]=(0,ke.useState)(()=>({current:"defaultCurrent"in gn?gn.defaultCurrent:1,pageSize:"defaultPageSize"in gn?gn.defaultPageSize:zl})),Vn=(0,Qc.Z)(Jn,gn,{total:bn>0?bn:it}),bi=Math.ceil((bn||it)/Vn.pageSize);Vn.current>bi&&(Vn.current=bi||1);const li=(Ji,Ui)=>{Xn({current:Ji!=null?Ji:1,pageSize:Ui||Vn.pageSize})},wi=(Ji,Ui)=>{var zi;Xt&&((zi=Xt.onChange)===null||zi===void 0||zi.call(Xt,Ji,Ui)),li(Ji,Ui),ft(Ji,Ui||(Vn==null?void 0:Vn.pageSize))};return Xt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Vn),{onChange:wi}),li]}var pu=Tl,wc=ve(84105),mu=ve(35654),Jo=ve(90782),ma=ve(71430),dl=ve(18929);const Cs={},Ss="SELECT_ALL",rs="SELECT_INVERT",ds="SELECT_NONE",Ls=[],xs=(it,ft)=>{let Xt=[];return(ft||[]).forEach(_t=>{Xt.push(_t),_t&&typeof _t=="object"&&it in _t&&(Xt=[].concat((0,hr.Z)(Xt),(0,hr.Z)(xs(it,_t[it]))))}),Xt};var Bs=(it,ft)=>{const{preserveSelectedRowKeys:Xt,selectedRowKeys:_t,defaultSelectedRowKeys:bn,getCheckboxProps:gn,onChange:Jn,onSelect:Xn,onSelectAll:Vn,onSelectInvert:bi,onSelectNone:li,onSelectMultiple:wi,columnWidth:Ji,type:Ui,selections:zi,fixed:yr,renderCell:Zi,hideSelectAll:Fr,checkStrictly:Cr=!0}=ft||{},{prefixCls:Tr,data:yo,pageData:Mo,getRecordByKey:Wr,getRowKey:qr,expandType:Vo,childrenColumnName:Or,locale:ao,getPopupContainer:Zr}=it,[mr,Dr]=(0,dl.Z)(_t||bn||Ls,{value:_t}),lo=ke.useRef(new Map),Fo=(0,ke.useCallback)(Ro=>{if(Xt){const bo=new Map;Ro.forEach(Wo=>{let xo=Wr(Wo);!xo&&lo.current.has(Wo)&&(xo=lo.current.get(Wo)),bo.set(Wo,xo)}),lo.current=bo}},[Wr,Xt]);ke.useEffect(()=>{Fo(mr)},[mr]);const{keyEntities:Do}=(0,ke.useMemo)(()=>{if(Cr)return{keyEntities:null};let Ro=yo;if(Xt){const bo=new Set(yo.map((xo,oo)=>qr(xo,oo))),Wo=Array.from(lo.current).reduce((xo,oo)=>{let[$i,Vr]=oo;return bo.has($i)?xo:xo.concat(Vr)},[]);Ro=[].concat((0,hr.Z)(Ro),(0,hr.Z)(Wo))}return(0,ma.I8)(Ro,{externalGetKey:qr,childrenPropName:Or})},[yo,qr,Cr,Or,Xt]),Br=(0,ke.useMemo)(()=>xs(Or,Mo),[Or,Mo]),Go=(0,ke.useMemo)(()=>{const Ro=new Map;return Br.forEach((bo,Wo)=>{const xo=qr(bo,Wo),oo=(gn?gn(bo):null)||{};Ro.set(xo,oo)}),Ro},[Br,qr,gn]),_o=(0,ke.useCallback)(Ro=>{var bo;return!!(!((bo=Go.get(qr(Ro)))===null||bo===void 0)&&bo.disabled)},[Go,qr]),[na,ta]=(0,ke.useMemo)(()=>{if(Cr)return[mr||[],[]];const{checkedKeys:Ro,halfCheckedKeys:bo}=(0,Jo.S)(mr,!0,Do,_o);return[Ro||[],bo]},[mr,Cr,Do,_o]),_a=(0,ke.useMemo)(()=>{const Ro=Ui==="radio"?na.slice(0,1):na;return new Set(Ro)},[na,Ui]),ga=(0,ke.useMemo)(()=>Ui==="radio"?new Set:new Set(ta),[ta,Ui]),[Ho,Po]=(0,ke.useState)(null);ke.useEffect(()=>{ft||Dr(Ls)},[!!ft]);const Oo=(0,ke.useCallback)((Ro,bo)=>{let Wo,xo;Fo(Ro),Xt?(Wo=Ro,xo=Ro.map(oo=>lo.current.get(oo))):(Wo=[],xo=[],Ro.forEach(oo=>{const $i=Wr(oo);$i!==void 0&&(Wo.push(oo),xo.push($i))})),Dr(Wo),Jn==null||Jn(Wo,xo,{type:bo})},[Dr,Wr,Jn,Xt]),Ua=(0,ke.useCallback)((Ro,bo,Wo,xo)=>{if(Xn){const oo=Wo.map($i=>Wr($i));Xn(Wr(Ro),bo,oo,xo)}Oo(Wo,"single")},[Xn,Wr,Oo]),Ia=(0,ke.useMemo)(()=>!zi||Fr?null:(zi===!0?[Ss,rs,ds]:zi).map(bo=>bo===Ss?{key:"all",text:ao.selectionAll,onSelect(){Oo(yo.map((Wo,xo)=>qr(Wo,xo)).filter(Wo=>{const xo=Go.get(Wo);return!(xo!=null&&xo.disabled)||_a.has(Wo)}),"all")}}:bo===rs?{key:"invert",text:ao.selectInvert,onSelect(){const Wo=new Set(_a);Mo.forEach((oo,$i)=>{const Vr=qr(oo,$i),Xo=Go.get(Vr);Xo!=null&&Xo.disabled||(Wo.has(Vr)?Wo.delete(Vr):Wo.add(Vr))});const xo=Array.from(Wo);bi&&bi(xo),Oo(xo,"invert")}}:bo===ds?{key:"none",text:ao.selectNone,onSelect(){li==null||li(),Oo(Array.from(_a).filter(Wo=>{const xo=Go.get(Wo);return xo==null?void 0:xo.disabled}),"none")}}:bo).map(bo=>Object.assign(Object.assign({},bo),{onSelect:function(){for(var Wo,xo,oo=arguments.length,$i=new Array(oo),Vr=0;Vr{var bo;if(!ft)return Ro.filter(Wa=>Wa!==Cs);let Wo=(0,hr.Z)(Ro);const xo=new Set(_a),oo=Br.map(qr).filter(Wa=>!Go.get(Wa).disabled),$i=oo.every(Wa=>xo.has(Wa)),Vr=oo.some(Wa=>xo.has(Wa)),Xo=()=>{const Wa=[];$i?oo.forEach(ns=>{xo.delete(ns),Wa.push(ns)}):oo.forEach(ns=>{xo.has(ns)||(xo.add(ns),Wa.push(ns))});const $a=Array.from(xo);Vn==null||Vn(!$i,$a.map(ns=>Wr(ns)),Wa.map(ns=>Wr(ns))),Oo($a,"all"),Po(null)};let ua;if(Ui!=="radio"){let Wa;if(Ia){const Sa={getPopupContainer:Zr,items:Ia.map((as,Js)=>{const{key:Ja,text:zo,onSelect:Ms}=as;return{key:Ja!=null?Ja:Js,onClick:()=>{Ms==null||Ms(oo)},label:zo}})};Wa=ke.createElement("div",{className:`${Tr}-selection-extra`},ke.createElement(Ka.Z,{menu:Sa,getPopupContainer:Zr},ke.createElement("span",null,ke.createElement(wc.Z,null))))}const $a=Br.map((Sa,as)=>{const Js=qr(Sa,as),Ja=Go.get(Js)||{};return Object.assign({checked:xo.has(Js)},Ja)}).filter(Sa=>{let{disabled:as}=Sa;return as}),ns=!!$a.length&&$a.length===Br.length,bs=ns&&$a.every(Sa=>{let{checked:as}=Sa;return as}),Gs=ns&&$a.some(Sa=>{let{checked:as}=Sa;return as});ua=!Fr&&ke.createElement("div",{className:`${Tr}-selection`},ke.createElement(Ko.default,{checked:ns?bs:!!Br.length&&$i,indeterminate:ns?!bs&&Gs:!$i&&Vr,onChange:Xo,disabled:Br.length===0||ns,"aria-label":Wa?"Custom selection":"Select all",skipGroup:!0}),Wa)}let al;Ui==="radio"?al=(Wa,$a,ns)=>{const bs=qr($a,ns),Gs=xo.has(bs);return{node:ke.createElement(Hi.ZP,Object.assign({},Go.get(bs),{checked:Gs,onClick:Sa=>Sa.stopPropagation(),onChange:Sa=>{xo.has(bs)||Ua(bs,!0,[bs],Sa.nativeEvent)}})),checked:Gs}}:al=(Wa,$a,ns)=>{var bs;const Gs=qr($a,ns),Sa=xo.has(Gs),as=ga.has(Gs),Js=Go.get(Gs);let Ja;return Vo==="nest"?Ja=as:Ja=(bs=Js==null?void 0:Js.indeterminate)!==null&&bs!==void 0?bs:as,{node:ke.createElement(Ko.default,Object.assign({},Js,{indeterminate:Ja,checked:Sa,skipGroup:!0,onClick:zo=>zo.stopPropagation(),onChange:zo=>{let{nativeEvent:Ms}=zo;const{shiftKey:Ys}=Ms;let Wu=-1,vu=-1;if(Ys&&Cr){const qa=new Set([Ho,Gs]);oo.some((Ml,Ps)=>{if(qa.has(Ml))if(Wu===-1)Wu=Ps;else return vu=Ps,!0;return!1})}if(vu!==-1&&Wu!==vu&&Cr){const qa=oo.slice(Wu,vu+1),Ml=[];Sa?qa.forEach(gs=>{xo.has(gs)&&(Ml.push(gs),xo.delete(gs))}):qa.forEach(gs=>{xo.has(gs)||(Ml.push(gs),xo.add(gs))});const Ps=Array.from(xo);wi==null||wi(!Sa,Ps.map(gs=>Wr(gs)),Ml.map(gs=>Wr(gs))),Oo(Ps,"multiple")}else{const qa=na;if(Cr){const Ml=Sa?(0,mu._5)(qa,Gs):(0,mu.L0)(qa,Gs);Ua(Gs,!Sa,Ml,Ms)}else{const Ml=(0,Jo.S)([].concat((0,hr.Z)(qa),[Gs]),!0,Do,_o),{checkedKeys:Ps,halfCheckedKeys:gs}=Ml;let Nu=Ps;if(Sa){const Cc=new Set(Ps);Cc.delete(Gs),Nu=(0,Jo.S)(Array.from(Cc),{checked:!1,halfCheckedKeys:gs},Do,_o).checkedKeys}Ua(Gs,!Sa,Nu,Ms)}}Po(Sa?null:Gs)}})),checked:Sa}};const Rs=(Wa,$a,ns)=>{const{node:bs,checked:Gs}=al(Wa,$a,ns);return Zi?Zi(Gs,$a,ns,bs):bs};if(!Wo.includes(Cs))if(Wo.findIndex(Wa=>{var $a;return(($a=Wa[Gr])===null||$a===void 0?void 0:$a.columnType)==="EXPAND_COLUMN"})===0){const[Wa,...$a]=Wo;Wo=[Wa,Cs].concat((0,hr.Z)($a))}else Wo=[Cs].concat((0,hr.Z)(Wo));const Al=Wo.indexOf(Cs);Wo=Wo.filter((Wa,$a)=>Wa!==Cs||$a===Al);const Na=Wo[Al-1],Xa=Wo[Al+1];let Bo=yr;Bo===void 0&&((Xa==null?void 0:Xa.fixed)!==void 0?Bo=Xa.fixed:(Na==null?void 0:Na.fixed)!==void 0&&(Bo=Na.fixed)),Bo&&Na&&((bo=Na[Gr])===null||bo===void 0?void 0:bo.columnType)==="EXPAND_COLUMN"&&Na.fixed===void 0&&(Na.fixed=Bo);const Vs=Qe()(`${Tr}-selection-col`,{[`${Tr}-selection-col-with-dropdown`]:zi&&Ui==="checkbox"}),Ll={fixed:Bo,width:Ji,className:`${Tr}-selection-column`,title:ft.columnTitle||ua,render:Rs,onCell:ft.onCell,[Gr]:{className:Vs}};return Wo.map(Wa=>Wa===Cs?Ll:Wa)},[qr,Br,ft,na,_a,ga,Ji,Ia,Vo,Ho,Go,wi,Ua,_o]),_a]},Fa=ve(89489),Hu=ve(59477),Ol=ve(6848);const El="ascend",Hr="descend";function Lu(it){return typeof it.sorter=="object"&&typeof it.sorter.multiple=="number"?it.sorter.multiple:!1}function Wt(it){return typeof it=="function"?it:it&&typeof it=="object"&&it.compare?it.compare:!1}function mi(it,ft){return ft?it[it.indexOf(ft)+1]:it[0]}function Mu(it,ft,Xt){let _t=[];function bn(gn,Jn){_t.push({column:gn,key:Zo(gn,Jn),multiplePriority:Lu(gn),sortOrder:gn.sortOrder})}return(it||[]).forEach((gn,Jn)=>{const Xn=$o(Jn,Xt);gn.children?("sortOrder"in gn&&bn(gn,Xn),_t=[].concat((0,hr.Z)(_t),(0,hr.Z)(Mu(gn.children,ft,Xn)))):gn.sorter&&("sortOrder"in gn?bn(gn,Xn):ft&&gn.defaultSortOrder&&_t.push({column:gn,key:Zo(gn,Xn),multiplePriority:Lu(gn),sortOrder:gn.defaultSortOrder}))}),_t}function Fu(it,ft,Xt,_t,bn,gn,Jn,Xn){return(ft||[]).map((Vn,bi)=>{const li=$o(bi,Xn);let wi=Vn;if(wi.sorter){const Ji=wi.sortDirections||bn,Ui=wi.showSorterTooltip===void 0?Jn:wi.showSorterTooltip,zi=Zo(wi,li),yr=Xt.find(Vo=>{let{key:Or}=Vo;return Or===zi}),Zi=yr?yr.sortOrder:null,Fr=mi(Ji,Zi);let Cr;if(Vn.sortIcon)Cr=Vn.sortIcon({sortOrder:Zi});else{const Vo=Ji.includes(El)&&ke.createElement(Hu.Z,{className:Qe()(`${it}-column-sorter-up`,{active:Zi===El})}),Or=Ji.includes(Hr)&&ke.createElement(Fa.Z,{className:Qe()(`${it}-column-sorter-down`,{active:Zi===Hr})});Cr=ke.createElement("span",{className:Qe()(`${it}-column-sorter`,{[`${it}-column-sorter-full`]:!!(Vo&&Or)})},ke.createElement("span",{className:`${it}-column-sorter-inner`,"aria-hidden":"true"},Vo,Or))}const{cancelSort:Tr,triggerAsc:yo,triggerDesc:Mo}=gn||{};let Wr=Tr;Fr===Hr?Wr=Mo:Fr===El&&(Wr=yo);const qr=typeof Ui=="object"?Ui:{title:Wr};wi=Object.assign(Object.assign({},wi),{className:Qe()(wi.className,{[`${it}-column-sort`]:Zi}),title:Vo=>{const Or=ke.createElement("div",{className:`${it}-column-sorters`},ke.createElement("span",{className:`${it}-column-title`},ia(Vn.title,Vo)),Cr);return Ui?ke.createElement(Ol.Z,Object.assign({},qr),Or):Or},onHeaderCell:Vo=>{const Or=Vn.onHeaderCell&&Vn.onHeaderCell(Vo)||{},ao=Or.onClick,Zr=Or.onKeyDown;Or.onClick=lo=>{_t({column:Vn,key:zi,sortOrder:Fr,multiplePriority:Lu(Vn)}),ao==null||ao(lo)},Or.onKeyDown=lo=>{lo.keyCode===Vi.Z.ENTER&&(_t({column:Vn,key:zi,sortOrder:Fr,multiplePriority:Lu(Vn)}),Zr==null||Zr(lo))};const mr=qo(Vn.title,{}),Dr=mr==null?void 0:mr.toString();return Zi?Or["aria-sort"]=Zi==="ascend"?"ascending":"descending":Or["aria-label"]=Dr||"",Or.className=Qe()(Or.className,`${it}-column-has-sorters`),Or.tabIndex=0,Vn.ellipsis&&(Or.title=(mr!=null?mr:"").toString()),Or}})}return"children"in wi&&(wi=Object.assign(Object.assign({},wi),{children:Fu(it,wi.children,Xt,_t,bn,gn,Jn,li)})),wi})}function _l(it){const{column:ft,sortOrder:Xt}=it;return{column:ft,order:Xt,field:ft.dataIndex,columnKey:ft.key}}function $l(it){const ft=it.filter(Xt=>{let{sortOrder:_t}=Xt;return _t}).map(_l);return ft.length===0&&it.length?Object.assign(Object.assign({},_l(it[it.length-1])),{column:void 0}):ft.length<=1?ft[0]||{}:ft}function jl(it,ft,Xt){const _t=ft.slice().sort((Jn,Xn)=>Xn.multiplePriority-Jn.multiplePriority),bn=it.slice(),gn=_t.filter(Jn=>{let{column:{sorter:Xn},sortOrder:Vn}=Jn;return Wt(Xn)&&Vn});return gn.length?bn.sort((Jn,Xn)=>{for(let Vn=0;Vn{const Xn=Jn[Xt];return Xn?Object.assign(Object.assign({},Jn),{[Xt]:jl(Xn,ft,Xt)}):Jn}):bn}function Pc(it){let{prefixCls:ft,mergedColumns:Xt,onSorterChange:_t,sortDirections:bn,tableLocale:gn,showSorterTooltip:Jn}=it;const[Xn,Vn]=ke.useState(Mu(Xt,!0)),bi=ke.useMemo(()=>{let zi=!0;const yr=Mu(Xt,!1);if(!yr.length)return Xn;const Zi=[];function Fr(Tr){zi?Zi.push(Tr):Zi.push(Object.assign(Object.assign({},Tr),{sortOrder:null}))}let Cr=null;return yr.forEach(Tr=>{Cr===null?(Fr(Tr),Tr.sortOrder&&(Tr.multiplePriority===!1?zi=!1:Cr=!0)):(Cr&&Tr.multiplePriority!==!1||(zi=!1),Fr(Tr))}),Zi},[Xt,Xn]),li=ke.useMemo(()=>{const zi=bi.map(yr=>{let{column:Zi,sortOrder:Fr}=yr;return{column:Zi,order:Fr}});return{sortColumns:zi,sortColumn:zi[0]&&zi[0].column,sortOrder:zi[0]&&zi[0].order}},[bi]);function wi(zi){let yr;zi.multiplePriority===!1||!bi.length||bi[0].multiplePriority===!1?yr=[zi]:yr=[].concat((0,hr.Z)(bi.filter(Zi=>{let{key:Fr}=Zi;return Fr!==zi.key})),[zi]),Vn(yr),_t($l(yr),yr)}return[zi=>Fu(ft,zi,bi,wi,bn,gn,Jn),bi,li,()=>$l(bi)]}function Ic(it,ft){return it.map(Xt=>{const _t=Object.assign({},Xt);return _t.title=ia(Xt.title,ft),"children"in _t&&(_t.children=Ic(_t.children,ft)),_t})}function Ts(it){return[ke.useCallback(Xt=>Ic(Xt,it),[it])]}var Io=Er((it,ft)=>{const{_renderTimes:Xt}=it,{_renderTimes:_t}=ft;return Xt!==_t}),wl=Dt((it,ft)=>{const{_renderTimes:Xt}=it,{_renderTimes:_t}=ft;return Xt!==_t}),Il=ve(64993),ws=ve(17313),va=ve(83116),ol=ve(37613),nt=it=>{const{componentCls:ft}=it,Xt=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`,_t=(bn,gn,Jn)=>({[`&${ft}-${bn}`]:{[`> ${ft}-container`]:{[`> ${ft}-content, > ${ft}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ft}-expanded-row-fixed`]:{margin:`-${gn}px -${Jn+it.lineWidth}px`}}}}}});return{[`${ft}-wrapper`]:{[`${ft}${ft}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ft}-title`]:{border:Xt,borderBottom:0},[`> ${ft}-container`]:{borderInlineStart:Xt,borderTop:Xt,[` > ${ft}-content, > ${ft}-header, > ${ft}-body, > ${ft}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Xt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Xt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ft}-cell-fix-right-first::after`]:{borderInlineEnd:Xt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ft}-expanded-row-fixed`]:{margin:`-${it.tablePaddingVertical}px -${it.tablePaddingHorizontal+it.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:it.lineWidth,bottom:0,borderInlineEnd:Xt,content:'""'}}}}}},[`&${ft}-scroll-horizontal`]:{[`> ${ft}-container > ${ft}-body`]:{"> table > tbody":{[` > tr${ft}-expanded-row, > tr${ft}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},_t("middle",it.tablePaddingVerticalMiddle,it.tablePaddingHorizontalMiddle)),_t("small",it.tablePaddingVerticalSmall,it.tablePaddingHorizontalSmall)),{[`> ${ft}-footer`]:{border:Xt,borderTop:0}}),[`${ft}-cell`]:{[`${ft}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${it.lineWidth}px 0 ${it.lineWidth}px ${it.tableHeaderBg}`}},[`${ft}-bordered ${ft}-cell-scrollbar`]:{borderInlineEnd:Xt}}}},qt=it=>{const{componentCls:ft}=it;return{[`${ft}-wrapper`]:{[`${ft}-cell-ellipsis`]:Object.assign(Object.assign({},ws.vS),{wordBreak:"keep-all",[` &${ft}-cell-fix-left-last, &${ft}-cell-fix-right-first `]:{overflow:"visible",[`${ft}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ft}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Rn=it=>{const{componentCls:ft}=it;return{[`${ft}-wrapper`]:{[`${ft}-tbody > tr${ft}-placeholder`]:{textAlign:"center",color:it.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:it.colorBgContainer}}}}},Zn=ve(15969),pi=it=>{const{componentCls:ft,antCls:Xt,controlInteractiveSize:_t,motionDurationSlow:bn,lineWidth:gn,paddingXS:Jn,lineType:Xn,tableBorderColor:Vn,tableExpandIconBg:bi,tableExpandColumnWidth:li,borderRadius:wi,fontSize:Ji,fontSizeSM:Ui,lineHeight:zi,tablePaddingVertical:yr,tablePaddingHorizontal:Zi,tableExpandedRowBg:Fr,paddingXXS:Cr}=it,Tr=_t/2-gn,yo=Tr*2+gn*3,Mo=`${gn}px ${Xn} ${Vn}`,Wr=Cr-gn;return{[`${ft}-wrapper`]:{[`${ft}-expand-icon-col`]:{width:li},[`${ft}-row-expand-icon-cell`]:{textAlign:"center",[`${ft}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ft}-row-indent`]:{height:1,float:"left"},[`${ft}-row-expand-icon`]:Object.assign(Object.assign({},(0,Zn.N)(it)),{position:"relative",float:"left",boxSizing:"border-box",width:yo,height:yo,padding:0,color:"inherit",lineHeight:`${yo}px`,background:bi,border:Mo,borderRadius:wi,transform:`scale(${_t/yo})`,transition:`all ${bn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${bn} ease-out`,content:'""'},"&::before":{top:Tr,insetInlineEnd:Wr,insetInlineStart:Wr,height:gn},"&::after":{top:Wr,bottom:Wr,insetInlineStart:Tr,width:gn,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"}}),[`${ft}-row-indent + ${ft}-row-expand-icon`]:{marginTop:(Ji*zi-gn*3)/2-Math.ceil((Ui*1.4-gn*3)/2),marginInlineEnd:Jn},[`tr${ft}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Fr}},[`${Xt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ft}-expanded-row-fixed`]:{position:"relative",margin:`-${yr}px -${Zi}px`,padding:`${yr}px ${Zi}px`}}}},sr=it=>{const{componentCls:ft,antCls:Xt,iconCls:_t,tableFilterDropdownWidth:bn,tableFilterDropdownSearchWidth:gn,paddingXXS:Jn,paddingXS:Xn,colorText:Vn,lineWidth:bi,lineType:li,tableBorderColor:wi,tableHeaderIconColor:Ji,fontSizeSM:Ui,tablePaddingHorizontal:zi,borderRadius:yr,motionDurationSlow:Zi,colorTextDescription:Fr,colorPrimary:Cr,tableHeaderFilterActiveBg:Tr,colorTextDisabled:yo,tableFilterDropdownBg:Mo,tableFilterDropdownHeight:Wr,controlItemBgHover:qr,controlItemBgActive:Vo,boxShadowSecondary:Or,filterDropdownMenuBg:ao}=it,Zr=`${Xt}-dropdown`,mr=`${ft}-filter-dropdown`,Dr=`${Xt}-tree`,lo=`${bi}px ${li} ${wi}`;return[{[`${ft}-wrapper`]:{[`${ft}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ft}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Jn,marginInline:`${Jn}px ${-zi/2}px`,padding:`0 ${Jn}px`,color:Ji,fontSize:Ui,borderRadius:yr,cursor:"pointer",transition:`all ${Zi}`,"&:hover":{color:Fr,background:Tr},"&.active":{color:Cr}}}},{[`${Xt}-dropdown`]:{[mr]:Object.assign(Object.assign({},(0,ws.Wf)(it)),{minWidth:bn,backgroundColor:Mo,borderRadius:yr,boxShadow:Or,overflow:"hidden",[`${Zr}-menu`]:{maxHeight:Wr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ao,"&:empty::after":{display:"block",padding:`${Xn}px 0`,color:yo,fontSize:Ui,textAlign:"center",content:'"Not Found"'}},[`${mr}-tree`]:{paddingBlock:`${Xn}px 0`,paddingInline:Xn,[Dr]:{padding:0},[`${Dr}-treenode ${Dr}-node-content-wrapper:hover`]:{backgroundColor:qr},[`${Dr}-treenode-checkbox-checked ${Dr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Vo}}},[`${mr}-search`]:{padding:Xn,borderBottom:lo,"&-input":{input:{minWidth:gn},[_t]:{color:yo}}},[`${mr}-checkall`]:{width:"100%",marginBottom:Jn,marginInlineStart:Jn},[`${mr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Xn-bi}px ${Xn}px`,overflow:"hidden",borderTop:lo}})}},{[`${Xt}-dropdown ${mr}, ${mr}-submenu`]:{[`${Xt}-checkbox-wrapper + span`]:{paddingInlineStart:Xn,color:Vn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Qi=it=>{const{componentCls:ft,lineWidth:Xt,colorSplit:_t,motionDurationSlow:bn,zIndexTableFixed:gn,tableBg:Jn,zIndexTableSticky:Xn}=it,Vn=_t;return{[`${ft}-wrapper`]:{[` ${ft}-cell-fix-left, ${ft}-cell-fix-right `]:{position:"sticky !important",zIndex:gn,background:Jn},[` ${ft}-cell-fix-left-first::after, ${ft}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Xt,width:30,transform:"translateX(100%)",transition:`box-shadow ${bn}`,content:'""',pointerEvents:"none"},[`${ft}-cell-fix-left-all::after`]:{display:"none"},[` ${ft}-cell-fix-right-first::after, ${ft}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-Xt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${bn}`,content:'""',pointerEvents:"none"},[`${ft}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Xn+1,width:30,transition:`box-shadow ${bn}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ft}-ping-left`]:{[`&:not(${ft}-has-fix-left) ${ft}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Vn}`}},[` ${ft}-cell-fix-left-first::after, ${ft}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Vn}`},[`${ft}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ft}-ping-right`]:{[`&:not(${ft}-has-fix-right) ${ft}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Vn}`}},[` ${ft}-cell-fix-right-first::after, ${ft}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Vn}`}}}}},Sr=it=>{const{componentCls:ft,antCls:Xt}=it;return{[`${ft}-wrapper`]:{[`${ft}-pagination${Xt}-pagination`]:{margin:`${it.margin}px 0`},[`${ft}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:it.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},_i=it=>{const{componentCls:ft,tableRadius:Xt}=it;return{[`${ft}-wrapper`]:{[ft]:{[`${ft}-title, ${ft}-header`]:{borderRadius:`${Xt}px ${Xt}px 0 0`},[`${ft}-title + ${ft}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ft}-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:Xt,borderStartEndRadius:Xt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Xt},"> *:last-child":{borderStartEndRadius:Xt}}},"&-footer":{borderRadius:`0 0 ${Xt}px ${Xt}px`}}}}},co=it=>{const{componentCls:ft}=it;return{[`${ft}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ft}-pagination-left`]:{justifyContent:"flex-end"},[`${ft}-pagination-right`]:{justifyContent:"flex-start"},[`${ft}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ft}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ft}-row-indent`]:{float:"right"}}}}},mo=it=>{const{componentCls:ft,antCls:Xt,iconCls:_t,fontSizeIcon:bn,padding:gn,paddingXS:Jn,tableHeaderIconColor:Xn,tableHeaderIconColorHover:Vn,tableSelectionColumnWidth:bi}=it;return{[`${ft}-wrapper`]:{[`${ft}-selection-col`]:{width:bi,[`&${ft}-selection-col-with-dropdown`]:{width:bi+bn+gn/4}},[`${ft}-bordered ${ft}-selection-col`]:{width:bi+Jn*2,[`&${ft}-selection-col-with-dropdown`]:{width:bi+bn+gn/4+Jn*2}},[` table tr th${ft}-selection-column, table tr td${ft}-selection-column `]:{paddingInlineEnd:it.paddingXS,paddingInlineStart:it.paddingXS,textAlign:"center",[`${Xt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ft}-selection-column${ft}-cell-fix-left`]:{zIndex:it.zIndexTableFixed+1},[`table tr th${ft}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ft}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ft}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${it.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${it.tablePaddingHorizontal/4}px`,[_t]:{color:Xn,fontSize:bn,verticalAlign:"baseline","&:hover":{color:Vn}}}}}},ho=it=>{const{componentCls:ft}=it,Xt=(_t,bn,gn,Jn)=>({[`${ft}${ft}-${_t}`]:{fontSize:Jn,[` ${ft}-title, ${ft}-footer, ${ft}-cell, ${ft}-thead > tr > th, ${ft}-tbody > tr > th, ${ft}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${bn}px ${gn}px`},[`${ft}-filter-trigger`]:{marginInlineEnd:`-${gn/2}px`},[`${ft}-expanded-row-fixed`]:{margin:`-${bn}px -${gn}px`},[`${ft}-tbody`]:{[`${ft}-wrapper:only-child ${ft}`]:{marginBlock:`-${bn}px`,marginInline:`${it.tableExpandColumnWidth-gn}px -${gn}px`}},[`${ft}-selection-column`]:{paddingInlineStart:`${gn/4}px`}}});return{[`${ft}-wrapper`]:Object.assign(Object.assign({},Xt("middle",it.tablePaddingVerticalMiddle,it.tablePaddingHorizontalMiddle,it.tableFontSizeMiddle)),Xt("small",it.tablePaddingVerticalSmall,it.tablePaddingHorizontalSmall,it.tableFontSizeSmall))}},la=it=>{const{componentCls:ft,marginXXS:Xt,fontSizeIcon:_t,tableHeaderIconColor:bn,tableHeaderIconColorHover:gn}=it;return{[`${ft}-wrapper`]:{[`${ft}-thead th${ft}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${it.motionDurationSlow}`,"&:hover":{background:it.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:it.colorPrimary},[` &${ft}-cell-fix-left:hover, &${ft}-cell-fix-right:hover `]:{background:it.tableFixedHeaderSortActiveBg}},[`${ft}-thead th${ft}-column-sort`]:{background:it.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ft}-column-sort`]:{background:it.tableBodySortBg},[`${ft}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ft}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ft}-column-sorter`]:{marginInlineStart:Xt,color:bn,fontSize:0,transition:`color ${it.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:_t,"&.active":{color:it.colorPrimary}},[`${ft}-column-sorter-up + ${ft}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ft}-column-sorters:hover ${ft}-column-sorter`]:{color:gn}}}},ya=it=>{const{componentCls:ft,opacityLoading:Xt,tableScrollThumbBg:_t,tableScrollThumbBgHover:bn,tableScrollThumbSize:gn,tableScrollBg:Jn,zIndexTableSticky:Xn,stickyScrollBarBorderRadius:Vn}=it,bi=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`;return{[`${ft}-wrapper`]:{[`${ft}-sticky`]:{"&-holder":{position:"sticky",zIndex:Xn,background:it.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${gn}px !important`,zIndex:Xn,display:"flex",alignItems:"center",background:Jn,borderTop:bi,opacity:Xt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:gn,backgroundColor:_t,borderRadius:Vn,transition:`all ${it.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:bn}}}}}}},Ha=it=>{const{componentCls:ft,lineWidth:Xt,tableBorderColor:_t}=it,bn=`${Xt}px ${it.lineType} ${_t}`;return{[`${ft}-wrapper`]:{[`${ft}-summary`]:{position:"relative",zIndex:it.zIndexTableFixed,background:it.tableBg,"> tr":{"> th, > td":{borderBottom:bn}}},[`div${ft}-summary`]:{boxShadow:`0 -${Xt}px 0 ${_t}`}}}},hs=it=>{const{componentCls:ft}=it,Xt=`${it.lineWidth}px ${it.lineType} ${it.tableBorderColor}`,_t=`${ft}-expanded-row-cell`;return{[`${ft}-wrapper`]:{[`${ft}-tbody-virtual`]:{[`${ft}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ft}-cell`]:{borderBottom:Xt},[`${ft}-expanded-row`]:{[`${_t}${_t}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${it.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ft}-bordered`]:{[`${ft}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Xt,position:"absolute"},[`${ft}-cell`]:{borderInlineEnd:Xt,[`&${ft}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-it.lineWidth,borderInlineStart:Xt}}}}}}};const La=it=>{const{componentCls:ft,fontWeightStrong:Xt,tablePaddingVertical:_t,tablePaddingHorizontal:bn,lineWidth:gn,lineType:Jn,tableBorderColor:Xn,tableFontSize:Vn,tableBg:bi,tableRadius:li,tableHeaderTextColor:wi,motionDurationMid:Ji,tableHeaderBg:Ui,tableHeaderCellSplitColor:zi,tableRowHoverBg:yr,tableSelectedRowBg:Zi,tableSelectedRowHoverBg:Fr,tableFooterTextColor:Cr,tableFooterBg:Tr,paddingContentVerticalLG:yo}=it,Mo=`${gn}px ${Jn} ${Xn}`;return{[`${ft}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ws.dF)()),{[ft]:Object.assign(Object.assign({},(0,ws.Wf)(it)),{fontSize:Vn,background:bi,borderRadius:`${li}px ${li}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${li}px ${li}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${ft}-cell, ${ft}-thead > tr > th, ${ft}-tbody > tr > th, ${ft}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${yo}px ${bn}px`,overflowWrap:"break-word"},[`${ft}-title`]:{padding:`${_t}px ${bn}px`},[`${ft}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:wi,fontWeight:Xt,textAlign:"start",background:Ui,borderBottom:Mo,transition:`background ${Ji} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ft}-selection-column):not(${ft}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:zi,transform:"translateY(-50%)",transition:`background-color ${Ji}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ft}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Ji}, border-color ${Ji}`,borderBottom:Mo,[` > ${ft}-wrapper:only-child, > ${ft}-expanded-row-fixed > ${ft}-wrapper:only-child `]:{[ft]:{marginBlock:`-${_t}px`,marginInline:`${it.tableExpandColumnWidth-bn}px -${bn}px`,[`${ft}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:wi,fontWeight:Xt,textAlign:"start",background:Ui,borderBottom:Mo,transition:`background ${Ji} ease`},[` &${ft}-row:hover > th, &${ft}-row:hover > td, > th${ft}-cell-row-hover, > td${ft}-cell-row-hover `]:{background:yr},[`&${ft}-row-selected`]:{"> th, > td":{background:Zi},"&:hover > th, &:hover > td":{background:Fr}}}},[`${ft}-footer`]:{padding:`${_t}px ${bn}px`,color:Cr,background:Tr}})}};var Ca=(0,va.Z)("Table",it=>{const{colorTextHeading:ft,colorSplit:Xt,colorIcon:_t,colorIconHover:bn,opacityLoading:gn,colorBgContainer:Jn,controlInteractiveSize:Xn,headerBg:Vn,headerColor:bi,headerSortActiveBg:li,headerSortHoverBg:wi,bodySortBg:Ji,rowHoverBg:Ui,rowSelectedBg:zi,rowSelectedHoverBg:yr,rowExpandedBg:Zi,cellPaddingBlock:Fr,cellPaddingInline:Cr,cellPaddingBlockMD:Tr,cellPaddingInlineMD:yo,cellPaddingBlockSM:Mo,cellPaddingInlineSM:Wr,borderColor:qr,footerBg:Vo,footerColor:Or,headerBorderRadius:ao,cellFontSize:Zr,cellFontSizeMD:mr,cellFontSizeSM:Dr,headerSplitColor:lo,fixedHeaderSortActiveBg:Fo,headerFilterHoverBg:Do,filterDropdownBg:Br,expandIconBg:Go,selectionColumnWidth:_o,stickyScrollBarBg:na}=it,ta=new Il.C(_t),_a=new Il.C(bn),ga=2,Ho=(0,ol.TS)(it,{tableFontSize:Zr,tableBg:Jn,tableRadius:ao,tablePaddingVertical:Fr,tablePaddingHorizontal:Cr,tablePaddingVerticalMiddle:Tr,tablePaddingHorizontalMiddle:yo,tablePaddingVerticalSmall:Mo,tablePaddingHorizontalSmall:Wr,tableBorderColor:qr,tableHeaderTextColor:bi,tableHeaderBg:Vn,tableFooterTextColor:Or,tableFooterBg:Vo,tableHeaderCellSplitColor:lo,tableHeaderSortBg:li,tableHeaderSortHoverBg:wi,tableHeaderIconColor:ta.clone().setAlpha(ta.getAlpha()*gn).toRgbString(),tableHeaderIconColorHover:_a.clone().setAlpha(_a.getAlpha()*gn).toRgbString(),tableBodySortBg:Ji,tableFixedHeaderSortActiveBg:Fo,tableHeaderFilterActiveBg:Do,tableFilterDropdownBg:Br,tableRowHoverBg:Ui,tableSelectedRowBg:zi,tableSelectedRowHoverBg:yr,zIndexTableFixed:ga,zIndexTableSticky:ga+1,tableFontSizeMiddle:mr,tableFontSizeSmall:Dr,tableSelectionColumnWidth:_o,tableExpandIconBg:Go,tableExpandColumnWidth:Xn+2*it.padding,tableExpandedRowBg:Zi,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:na,tableScrollThumbBgHover:ft,tableScrollBg:Xt});return[La(Ho),Sr(Ho),Ha(Ho),la(Ho),sr(Ho),nt(Ho),_i(Ho),pi(Ho),Ha(Ho),Rn(Ho),mo(Ho),Qi(Ho),ya(Ho),qt(Ho),ho(Ho),co(Ho),hs(Ho)]},it=>{const{colorFillAlter:ft,colorBgContainer:Xt,colorTextHeading:_t,colorFillSecondary:bn,colorFillContent:gn,controlItemBgActive:Jn,controlItemBgActiveHover:Xn,padding:Vn,paddingSM:bi,paddingXS:li,colorBorderSecondary:wi,borderRadiusLG:Ji,fontSize:Ui,controlHeight:zi,colorTextPlaceholder:yr}=it,Zi=new Il.C(bn).onBackground(Xt).toHexShortString(),Fr=new Il.C(gn).onBackground(Xt).toHexShortString(),Cr=new Il.C(ft).onBackground(Xt).toHexShortString();return{headerBg:Cr,headerColor:_t,headerSortActiveBg:Zi,headerSortHoverBg:Fr,bodySortBg:Cr,rowHoverBg:Cr,rowSelectedBg:Jn,rowSelectedHoverBg:Xn,rowExpandedBg:ft,cellPaddingBlock:Vn,cellPaddingInline:Vn,cellPaddingBlockMD:bi,cellPaddingInlineMD:li,cellPaddingBlockSM:li,cellPaddingInlineSM:li,borderColor:wi,headerBorderRadius:Ji,footerBg:Cr,footerColor:_t,cellFontSize:Ui,cellFontSizeMD:Ui,cellFontSizeSM:Ui,headerSplitColor:wi,fixedHeaderSortActiveBg:Zi,headerFilterHoverBg:gn,filterDropdownMenuBg:Xt,filterDropdownBg:Xt,expandIconBg:Xt,selectionColumnWidth:zi,stickyScrollBarBg:yr,stickyScrollBarBorderRadius:100}});const Ta=[],os=(it,ft)=>{const{prefixCls:Xt,className:_t,rootClassName:bn,style:gn,size:Jn,bordered:Xn,dropdownPrefixCls:Vn,dataSource:bi,pagination:li,rowSelection:wi,rowKey:Ji="key",rowClassName:Ui,columns:zi,children:yr,childrenColumnName:Zi,onChange:Fr,getPopupContainer:Cr,loading:Tr,expandIcon:yo,expandable:Mo,expandedRowRender:Wr,expandIconColumnIndex:qr,indentSize:Vo,scroll:Or,sortDirections:ao,locale:Zr,showSorterTooltip:mr=!0,virtual:Dr}=it,lo=ke.useMemo(()=>zi||Gt(yr),[zi,yr]),Fo=ke.useMemo(()=>lo.some(Ra=>Ra.responsive),[lo]),Do=(0,Hn.Z)(Fo),Br=ke.useMemo(()=>{const Ra=new Set(Object.keys(Do).filter(ss=>Do[ss]));return lo.filter(ss=>!ss.responsive||ss.responsive.some(Qs=>Ra.has(Qs)))},[lo,Do]),Go=(0,Qn.Z)(it,["className","style","columns"]),{locale:_o=pr.Z,direction:na,table:ta,renderEmpty:_a,getPrefixCls:ga,getPopupContainer:Ho}=ke.useContext(Mr.E_),Po=(0,Oi.Z)(Jn),Oo=Object.assign(Object.assign({},_o.Table),Zr),Ua=bi||Ta,Ia=ga("table",Xt),ts=ga("dropdown",Vn),Ro=Object.assign({childrenColumnName:Zi,expandIconColumnIndex:qr},Mo),{childrenColumnName:bo="children"}=Ro,Wo=ke.useMemo(()=>Ua.some(Ra=>Ra==null?void 0:Ra[bo])?"nest":Wr||Mo&&Mo.expandedRowRender?"row":null,[Ua]),xo={body:ke.useRef()},oo=ke.useMemo(()=>typeof Ji=="function"?Ji:Ra=>Ra==null?void 0:Ra[Ji],[Ji]),[$i]=xc(Ua,bo,oo),Vr={},Xo=function(Ra,ss){let Qs=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ps,za,_s;const Rl=Object.assign(Object.assign({},Vr),Ra);Qs&&((ps=Vr.resetPagination)===null||ps===void 0||ps.call(Vr),!((za=Rl.pagination)===null||za===void 0)&&za.current&&(Rl.pagination.current=1),li&&li.onChange&&li.onChange(1,(_s=Rl.pagination)===null||_s===void 0?void 0:_s.pageSize)),Or&&Or.scrollToFirstRowOnChange!==!1&&xo.body.current&&(0,Fi.Z)(0,{getContainer:()=>xo.body.current}),Fr==null||Fr(Rl.pagination,Rl.filters,Rl.sorter,{currentDataSource:rl(jl(Ua,Rl.sorterStates,bo),Rl.filterStates),action:ss})},ua=(Ra,ss)=>{Xo({sorter:Ra,sorterStates:ss},"sort",!1)},[al,Rs,Al,Na]=Pc({prefixCls:Ia,mergedColumns:Br,onSorterChange:ua,sortDirections:ao||["ascend","descend"],tableLocale:Oo,showSorterTooltip:mr}),Xa=ke.useMemo(()=>jl(Ua,Rs,bo),[Ua,Rs]);Vr.sorter=Na(),Vr.sorterStates=Rs;const Bo=(Ra,ss)=>{Xo({filters:Ra,filterStates:ss},"filter",!0)},[Vs,Ll,Wa]=Sc({prefixCls:Ia,locale:Oo,dropdownPrefixCls:ts,mergedColumns:Br,onFilterChange:Bo,getPopupContainer:Cr||Ho}),$a=rl(Xa,Ll);Vr.filters=Wa,Vr.filterStates=Ll;const ns=ke.useMemo(()=>{const Ra={};return Object.keys(Wa).forEach(ss=>{Wa[ss]!==null&&(Ra[ss]=Wa[ss])}),Object.assign(Object.assign({},Al),{filters:Ra})},[Al,Wa]),[bs]=Ts(ns),Gs=(Ra,ss)=>{Xo({pagination:Object.assign(Object.assign({},Vr.pagination),{current:Ra,pageSize:ss})},"paginate")},[Sa,as]=pu($a.length,Gs,li);Vr.pagination=li===!1?{}:xl(Sa,li),Vr.resetPagination=as;const Js=ke.useMemo(()=>{if(li===!1||!Sa.pageSize)return $a;const{current:Ra=1,total:ss,pageSize:Qs=zl}=Sa;return $a.lengthQs?$a.slice((Ra-1)*Qs,Ra*Qs):$a:$a.slice((Ra-1)*Qs,Ra*Qs)},[!!li,$a,Sa&&Sa.current,Sa&&Sa.pageSize,Sa&&Sa.total]),[Ja,zo]=Bs({prefixCls:Ia,data:$a,pageData:Js,getRowKey:oo,getRecordByKey:$i,expandType:Wo,childrenColumnName:bo,locale:Oo,getPopupContainer:Cr||Ho},wi),Ms=(Ra,ss,Qs)=>{let ps;return typeof Ui=="function"?ps=Qe()(Ui(Ra,ss,Qs)):ps=Qe()(Ui),Qe()({[`${Ia}-row-selected`]:zo.has(oo(Ra,ss))},ps)};Ro.__PARENT_RENDER_ICON__=Ro.expandIcon,Ro.expandIcon=Ro.expandIcon||yo||eo(Oo),Wo==="nest"&&Ro.expandIconColumnIndex===void 0?Ro.expandIconColumnIndex=wi?1:0:Ro.expandIconColumnIndex>0&&wi&&(Ro.expandIconColumnIndex-=1),typeof Ro.indentSize!="number"&&(Ro.indentSize=typeof Vo=="number"?Vo:15);const Ys=ke.useCallback(Ra=>bs(Ja(Vs(al(Ra)))),[al,Vs,Ja]);let Wu,vu;if(li!==!1&&(Sa!=null&&Sa.total)){let Ra;Sa.size?Ra=Sa.size:Ra=Po==="small"||Po==="middle"?"small":void 0;const ss=za=>ke.createElement(kr.Z,Object.assign({},Sa,{className:Qe()(`${Ia}-pagination ${Ia}-pagination-${za}`,Sa.className),size:Ra})),Qs=na==="rtl"?"left":"right",{position:ps}=Sa;if(ps!==null&&Array.isArray(ps)){const za=ps.find(Zu=>Zu.includes("top")),_s=ps.find(Zu=>Zu.includes("bottom")),Rl=ps.every(Zu=>`${Zu}`=="none");!za&&!_s&&!Rl&&(vu=ss(Qs)),za&&(Wu=ss(za.toLowerCase().replace("top",""))),_s&&(vu=ss(_s.toLowerCase().replace("bottom","")))}else vu=ss(Qs)}let qa;typeof Tr=="boolean"?qa={spinning:Tr}:typeof Tr=="object"&&(qa=Object.assign({spinning:!0},Tr));const[Ml,Ps]=Ca(Ia),[,gs]=(0,to.Z)(),Nu=Qe()(`${Ia}-wrapper`,ta==null?void 0:ta.className,{[`${Ia}-wrapper-rtl`]:na==="rtl"},_t,bn,Ps),Cc=Object.assign(Object.assign({},ta==null?void 0:ta.style),gn),ql=Zr&&Zr.emptyText||(_a==null?void 0:_a("Table"))||ke.createElement(Ei.Z,{componentName:"Table"}),ac=Dr?wl:Io,sc={},yu=ke.useMemo(()=>{const{fontSize:Ra,lineHeight:ss,padding:Qs,paddingXS:ps,paddingSM:za}=gs,_s=Math.floor(Ra*ss);switch(Po){case"large":return Qs*2+_s;case"small":return ps*2+_s;default:return za*2+_s}},[gs,Po]);return Dr&&(sc.listItemHeight=yu),Ml(ke.createElement("div",{ref:ft,className:Nu,style:Cc},ke.createElement(wo.Z,Object.assign({spinning:!1},qa),Wu,ke.createElement(ac,Object.assign({},sc,Go,{columns:Br,direction:na,expandable:Ro,prefixCls:Ia,className:Qe()({[`${Ia}-middle`]:Po==="middle",[`${Ia}-small`]:Po==="small",[`${Ia}-bordered`]:Xn,[`${Ia}-empty`]:Ua.length===0}),data:Js,rowKey:oo,rowClassName:Ms,emptyText:ql,internalHooks:Oe,internalRefs:xo,transformColumns:Ys})),vu)))};var fs=ke.forwardRef(os);const Qa=(it,ft)=>{const Xt=ke.useRef(0);return Xt.current+=1,ke.createElement(fs,Object.assign({},it,{ref:ft,_renderTimes:Xt.current}))},Oa=ke.forwardRef(Qa);Oa.SELECTION_COLUMN=Cs,Oa.EXPAND_COLUMN=Se,Oa.SELECTION_ALL=Ss,Oa.SELECTION_INVERT=rs,Oa.SELECTION_NONE=ds,Oa.Column=Vt,Oa.ColumnGroup=ii,Oa.Summary=qe;var Is=Oa,hl=Is},98228:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return No}});var Se=ve(92310),Oe=ve.n(Se),We=ve(72308),Ot=ve(80702),et=ve(77321),yt=ve(52487),ke=ve(74416),Bt=ve(62853),Et=ve(77861),tt=ve(17115),gt=ve(90782),dt=ve(18929),Ct=ve(48736),Me=ve(59301),te=function(vi){var Ee=Me.useRef({valueLabels:new Map});return Me.useMemo(function(){var $n=Ee.current.valueLabels,fi=new Map,ln=vi.map(function(ei){var Yn,dn=ei.value,tn=(Yn=ei.label)!==null&&Yn!==void 0?Yn:$n.get(dn);return fi.set(dn,tn),(0,et.Z)((0,et.Z)({},ei),{},{label:tn})});return Ee.current.valueLabels=fi,[ln]},[vi])},ne=function(vi,Ee,$n,fi){return Me.useMemo(function(){var ln=vi.map(function(tn){var on=tn.value;return on}),ei=Ee.map(function(tn){var on=tn.value;return on}),Yn=ln.filter(function(tn){return!fi[tn]});if($n){var dn=(0,gt.S)(ln,!0,fi);ln=dn.checkedKeys,ei=dn.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ot.Z)(Yn),(0,Ot.Z)(ln)))),ei]},[vi,Ee,$n,fi])},ce=ve(71430),se=function(vi,Ee){return Me.useMemo(function(){var $n=(0,ce.I8)(vi,{fieldNames:Ee,initWrapper:function(ln){return(0,et.Z)((0,et.Z)({},ln),{},{valueEntities:new Map})},processEntity:function(ln,ei){var Yn=ln.node[Ee.value];if(0)var dn;ei.valueEntities.set(Yn,ln)}});return $n},[vi,Ee])},ge=ve(49618),ye=ve(11592),Ce=function(){return null},Ne=Ce,Pe=["children","value"];function Ie(vi){return(0,ye.Z)(vi).map(function(Ee){if(!Me.isValidElement(Ee)||!Ee.type)return null;var $n=Ee,fi=$n.key,ln=$n.props,ei=ln.children,Yn=ln.value,dn=(0,ke.Z)(ln,Pe),tn=(0,et.Z)({key:fi,value:Yn},dn),on=Ie(ei);return on.length&&(tn.children=on),tn}).filter(function(Ee){return Ee})}function Ke(vi){if(!vi)return vi;var Ee=(0,et.Z)({},vi);return"props"in Ee||Object.defineProperty(Ee,"props",{get:function(){return(0,Ct.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Ee}}),Ee}function Ve(vi,Ee,$n,fi,ln,ei){var Yn=null,dn=null;function tn(){function on(wt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return wt.map(function(Gt,an){var ct="".concat(bt,"-").concat(an),$e=Gt[ei.value],$t=$n.includes($e),Tt=on(Gt[ei.children]||[],ct,$t),Mn=Me.createElement(Ne,Gt,Tt.map(function(st){return st.node}));if(Ee===$e&&(Yn=Mn),$t){var Wn={pos:ct,node:Mn,children:Tt};return ze||dn.push(Wn),Wn}return null}).filter(function(Gt){return Gt})}dn||(dn=[],on(fi),dn.sort(function(wt,bt){var ze=wt.node.props.value,Gt=bt.node.props.value,an=$n.indexOf(ze),ct=$n.indexOf(Gt);return an-ct}))}Object.defineProperty(vi,"triggerNode",{get:function(){return(0,Ct.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),Yn}}),Object.defineProperty(vi,"allCheckedNodes",{get:function(){return(0,Ct.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),ln?dn:dn.map(function(wt){var bt=wt.node;return bt})}})}var Ye=function(vi,Ee,$n){var fi=$n.treeNodeFilterProp,ln=$n.filterTreeNode,ei=$n.fieldNames,Yn=ei.children;return Me.useMemo(function(){if(!Ee||ln===!1)return vi;var dn;if(typeof ln=="function")dn=ln;else{var tn=Ee.toUpperCase();dn=function(bt,ze){var Gt=ze[fi];return String(Gt).toUpperCase().includes(tn)}}function on(wt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return wt.reduce(function(ze,Gt){var an=Gt[Yn],ct=bt||dn(Ee,Ke(Gt)),$e=on(an||[],ct);return(ct||$e.length)&&ze.push((0,et.Z)((0,et.Z)({},Gt),{},(0,ge.Z)({isLeaf:void 0},Yn,$e))),ze},[])}return on(vi)},[vi,Ee,Yn,fi,ln])};function ut(vi){var Ee=Me.useRef();Ee.current=vi;var $n=Me.useCallback(function(){return Ee.current.apply(Ee,arguments)},[]);return $n}function Ue(vi,Ee){var $n=Ee.id,fi=Ee.pId,ln=Ee.rootPId,ei={},Yn=[],dn=vi.map(function(tn){var on=(0,et.Z)({},tn),wt=on[$n];return ei[wt]=on,on.key=on.key||wt,on});return dn.forEach(function(tn){var on=tn[fi],wt=ei[on];wt&&(wt.children=wt.children||[],wt.children.push(tn)),(on===ln||!wt&&ln===null)&&Yn.push(tn)}),Yn}function Nt(vi,Ee,$n){return Me.useMemo(function(){return vi?$n?Ue(vi,(0,et.Z)({id:"id",pId:"pId",rootPId:null},$n!==!0?$n:{})):vi:Ie(Ee)},[Ee,$n,vi])}var Qe=Me.createContext(null),Ht=Qe,Rt=ve(10228),It=ve(80547),Lt=ve(54844),Ut=Me.createContext(null),ht=Ut;function Re(vi){return Array.isArray(vi)?vi:vi!==void 0?[vi]:[]}function At(vi){var Ee=vi||{},$n=Ee.label,fi=Ee.value,ln=Ee.children,ei=fi||"value";return{_title:$n?[$n]:["title","label"],value:ei,key:ei,children:ln||"children"}}function Sn(vi){return!vi||vi.disabled||vi.disableCheckbox||vi.checkable===!1}function mn(vi,Ee){var $n=[];function fi(ln){ln.forEach(function(ei){var Yn=ei[Ee.children];Yn&&($n.push(ei[Ee.value]),fi(Yn))})}return fi(vi),$n}function Ft(vi){return vi==null}var en={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},sn=function(Ee,$n){var fi=(0,Et.lk)(),ln=fi.prefixCls,ei=fi.multiple,Yn=fi.searchValue,dn=fi.toggleOpen,tn=fi.open,on=fi.notFoundContent,wt=Me.useContext(ht),bt=wt.virtual,ze=wt.listHeight,Gt=wt.listItemHeight,an=wt.treeData,ct=wt.fieldNames,$e=wt.onSelect,$t=wt.dropdownMatchSelectWidth,Tt=wt.treeExpandAction,Mn=Me.useContext(Ht),Wn=Mn.checkable,st=Mn.checkedKeys,fn=Mn.halfCheckedKeys,Kn=Mn.treeExpandedKeys,_n=Mn.treeDefaultExpandAll,nn=Mn.treeDefaultExpandedKeys,hn=Mn.onTreeExpand,ri=Mn.treeIcon,gi=Mn.showTreeIcon,yi=Mn.switcherIcon,oi=Mn.treeLine,Ci=Mn.treeNodeFilterProp,Li=Mn.loadData,qi=Mn.treeLoadedKeys,lr=Mn.treeMotion,er=Mn.onTreeLoad,Ln=Mn.keyEntities,Nr=Me.useRef(),Ar=(0,It.Z)(function(){return an},[tn,an],function(cr,Yr){return Yr[0]&&cr[1]!==Yr[1]}),$r=Me.useState(null),En=(0,yt.Z)($r,2),ci=En[0],Ii=En[1],ir=Ln[ci],Ki=Me.useMemo(function(){return Wn?{checked:st,halfChecked:fn}:null},[Wn,st,fn]);Me.useEffect(function(){if(tn&&!ei&&st.length){var cr;(cr=Nr.current)===null||cr===void 0||cr.scrollTo({key:st[0]}),Ii(st[0])}},[tn]);var rr=String(Yn).toLowerCase(),Er=function(Yr){return rr?String(Yr[Ci]).toLowerCase().includes(rr):!1},Bi=Me.useState(nn),Yi=(0,yt.Z)(Bi,2),Wi=Yi[0],Bn=Yi[1],Lr=Me.useState(null),Fn=(0,yt.Z)(Lr,2),fr=Fn[0],Qr=Fn[1],Pr=Me.useMemo(function(){return Kn?(0,Ot.Z)(Kn):Yn?fr:Wi},[Wi,fr,Kn,Yn]);Me.useEffect(function(){Yn&&Qr(mn(an,ct))},[Yn]);var Ao=function(Yr){Bn(Yr),Qr(Yr),hn&&hn(Yr)},po=function(Yr){Yr.preventDefault()},vr=function(Yr,Ri){var _e=Ri.node;Wn&&Sn(_e)||($e(_e.key,{selected:!st.includes(_e.key)}),ei||dn(!1))};if(Me.useImperativeHandle($n,function(){var cr;return{scrollTo:(cr=Nr.current)===null||cr===void 0?void 0:cr.scrollTo,onKeyDown:function(Ri){var _e,xt=Ri.which;switch(xt){case Rt.Z.UP:case Rt.Z.DOWN:case Rt.Z.LEFT:case Rt.Z.RIGHT:(_e=Nr.current)===null||_e===void 0||_e.onKeyDown(Ri);break;case Rt.Z.ENTER:{if(ir){var Dt=(ir==null?void 0:ir.node)||{},un=Dt.selectable,jn=Dt.value;un!==!1&&vr(null,{node:{key:ci},selected:!st.includes(jn)})}break}case Rt.Z.ESC:dn(!1)}},onKeyUp:function(){}}}),Ar.length===0)return Me.createElement("div",{role:"listbox",className:"".concat(ln,"-empty"),onMouseDown:po},on);var gr={fieldNames:ct};return qi&&(gr.loadedKeys=qi),Pr&&(gr.expandedKeys=Pr),Me.createElement("div",{onMouseDown:po},ir&&tn&&Me.createElement("span",{style:en,"aria-live":"assertive"},ir.node.value),Me.createElement(Lt.Z,(0,We.Z)({ref:Nr,focusable:!1,prefixCls:"".concat(ln,"-tree"),treeData:Ar,height:ze,itemHeight:Gt,virtual:bt!==!1&&$t!==!1,multiple:ei,icon:ri,showIcon:gi,switcherIcon:yi,showLine:oi,loadData:Yn?null:Li,motion:lr,activeKey:ci,checkable:Wn,checkStrictly:!0,checkedKeys:Ki,selectedKeys:Wn?[]:st,defaultExpandAll:_n},gr,{onActiveChange:Ii,onSelect:vr,onCheck:vr,onExpand:Ao,onLoad:er,filterTreeNode:Er,expandAction:Tt})))},On=Me.forwardRef(sn);On.displayName="OptionList";var yn=On,Tn="SHOW_ALL",pt="SHOW_PARENT",Un="SHOW_CHILD";function wn(vi,Ee,$n,fi){var ln=new Set(vi);return Ee===Un?vi.filter(function(ei){var Yn=$n[ei];return!(Yn&&Yn.children&&Yn.children.some(function(dn){var tn=dn.node;return ln.has(tn[fi.value])})&&Yn.children.every(function(dn){var tn=dn.node;return Sn(tn)||ln.has(tn[fi.value])}))}):Ee===pt?vi.filter(function(ei){var Yn=$n[ei],dn=Yn?Yn.parent:null;return!(dn&&!Sn(dn.node)&&ln.has(dn.key))}):vi}function An(vi){var Ee=vi.searchPlaceholder,$n=vi.treeCheckStrictly,fi=vi.treeCheckable,ln=vi.labelInValue,ei=vi.value,Yn=vi.multiple;warning(!Ee,"`searchPlaceholder` has been removed."),$n&&ln===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ln||$n)&&warning(toArray(ei).every(function(dn){return dn&&_typeof(dn)==="object"&&"value"in dn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),$n||Yn||fi?warning(!ei||Array.isArray(ei),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(ei),"`value` should not be array when `TreeSelect` is single mode.")}var ni=null,Qt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Jt(vi){return!vi||(0,Bt.Z)(vi)!=="object"}var St=Me.forwardRef(function(vi,Ee){var $n=vi.id,fi=vi.prefixCls,ln=fi===void 0?"rc-tree-select":fi,ei=vi.value,Yn=vi.defaultValue,dn=vi.onChange,tn=vi.onSelect,on=vi.onDeselect,wt=vi.searchValue,bt=vi.inputValue,ze=vi.onSearch,Gt=vi.autoClearSearchValue,an=Gt===void 0?!0:Gt,ct=vi.filterTreeNode,$e=vi.treeNodeFilterProp,$t=$e===void 0?"value":$e,Tt=vi.showCheckedStrategy,Mn=vi.treeNodeLabelProp,Wn=vi.multiple,st=vi.treeCheckable,fn=vi.treeCheckStrictly,Kn=vi.labelInValue,_n=vi.fieldNames,nn=vi.treeDataSimpleMode,hn=vi.treeData,ri=vi.children,gi=vi.loadData,yi=vi.treeLoadedKeys,oi=vi.onTreeLoad,Ci=vi.treeDefaultExpandAll,Li=vi.treeExpandedKeys,qi=vi.treeDefaultExpandedKeys,lr=vi.onTreeExpand,er=vi.treeExpandAction,Ln=vi.virtual,Nr=vi.listHeight,Ar=Nr===void 0?200:Nr,$r=vi.listItemHeight,En=$r===void 0?20:$r,ci=vi.onDropdownVisibleChange,Ii=vi.dropdownMatchSelectWidth,ir=Ii===void 0?!0:Ii,Ki=vi.treeLine,rr=vi.treeIcon,Er=vi.showTreeIcon,Bi=vi.switcherIcon,Yi=vi.treeMotion,Wi=(0,ke.Z)(vi,Qt),Bn=(0,tt.ZP)($n),Lr=st&&!fn,Fn=st||fn,fr=fn||Kn,Qr=Fn||Wn,Pr=(0,dt.Z)(Yn,{value:ei}),Ao=(0,yt.Z)(Pr,2),po=Ao[0],vr=Ao[1],gr=Me.useMemo(function(){return st?Tt||Un:Tn},[Tt,st]),cr=Me.useMemo(function(){return At(_n)},[JSON.stringify(_n)]),Yr=(0,dt.Z)("",{value:wt!==void 0?wt:bt,postState:function(Lo){return Lo||""}}),Ri=(0,yt.Z)(Yr,2),_e=Ri[0],xt=Ri[1],Dt=function(Lo){xt(Lo),ze==null||ze(Lo)},un=Nt(hn,ri,nn),jn=se(un,cr),ai=jn.keyEntities,Vt=jn.valueEntities,Cn=Me.useCallback(function(wa){var Lo=[],Ko=[];return wa.forEach(function(Ka){Vt.has(Ka)?Ko.push(Ka):Lo.push(Ka)}),{missingRawValues:Lo,existRawValues:Ko}},[Vt]),ii=Ye(un,_e,{fieldNames:cr,treeNodeFilterProp:$t,filterTreeNode:ct}),Qn=Me.useCallback(function(wa){if(wa){if(Mn)return wa[Mn];for(var Lo=cr._title,Ko=0;Ko{const{componentCls:Ee,treePrefixCls:$n,colorBgElevated:fi}=vi,ln=`.${$n}`;return[{[`${Ee}-dropdown`]:[{padding:`${vi.paddingXS}px ${vi.paddingXS/2}px`},(0,or.Yk)($n,(0,Gi.TS)(vi,{colorBgContainer:fi})),{[ln]:{borderRadius:0,[`${ln}-list-holder-inner`]:{alignItems:"stretch",[`${ln}-treenode`]:{[`${ln}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Di.C2)(`${$n}-checkbox`,vi),{"&-rtl":{direction:"rtl",[`${ln}-switcher${ln}-switcher_close`]:{[`${ln}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Gr(vi,Ee){return(0,Dn.Z)("TreeSelect",$n=>{const fi=(0,Gi.TS)($n,{treePrefixCls:Ee});return[jr(fi)]},or.TM)(vi)}var Ir=function(vi,Ee){var $n={};for(var fi in vi)Object.prototype.hasOwnProperty.call(vi,fi)&&Ee.indexOf(fi)<0&&($n[fi]=vi[fi]);if(vi!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ln=0,fi=Object.getOwnPropertySymbols(vi);ln{var $n,{prefixCls:fi,size:ln,disabled:ei,bordered:Yn=!0,className:dn,rootClassName:tn,treeCheckable:on,multiple:wt,listHeight:bt=256,listItemHeight:ze=26,placement:Gt,notFoundContent:an,switcherIcon:ct,treeLine:$e,getPopupContainer:$t,popupClassName:Tt,dropdownClassName:Mn,treeIcon:Wn=!1,transitionName:st,choiceTransitionName:fn="",status:Kn,treeExpandAction:_n,builtinPlacements:nn,dropdownMatchSelectWidth:hn,popupMatchSelectWidth:ri,allowClear:gi}=vi,yi=Ir(vi,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:oi,getPrefixCls:Ci,renderEmpty:Li,direction:qi,virtual:lr,popupMatchSelectWidth:er,popupOverflow:Ln}=Me.useContext(me.E_),Nr=Ci(),Ar=Ci("select",fi),$r=Ci("select-tree",fi),En=Ci("tree-select",fi),{compactSize:ci,compactItemClassnames:Ii}=(0,Gn.ri)(Ar,qi),[ir,Ki]=(0,zt.Z)(Ar),[rr]=Gr(En,$r),Er=Oe()(Tt||Mn,`${En}-dropdown`,{[`${En}-dropdown-rtl`]:qi==="rtl"},tn,Ki),Bi=!!(on||wt),Yi=(0,rn.Z)(yi.suffixIcon,yi.showArrow),Wi=($n=ri!=null?ri:hn)!==null&&$n!==void 0?$n:er,{status:Bn,hasFeedback:Lr,isFormItemInput:Fn,feedbackIcon:fr}=Me.useContext(mt.aM),Qr=(0,xe.F)(Bn,Kn),{suffixIcon:Pr,removeIcon:Ao,clearIcon:po}=(0,In.Z)(Object.assign(Object.assign({},yi),{multiple:Bi,showSuffixIcon:Yi,hasFeedback:Lr,feedbackIcon:fr,prefixCls:Ar,componentName:"TreeSelect"})),vr=gi===!0?{clearIcon:po}:gi;let gr;an!==void 0?gr=an:gr=(Li==null?void 0:Li("Select"))||Me.createElement(He.Z,{componentName:"Select"});const cr=(0,qe.Z)(yi,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Yr=Me.useMemo(()=>Gt!==void 0?Gt:qi==="rtl"?"bottomRight":"bottomLeft",[Gt,qi]),Ri=(0,Pn.Z)(nn,Ln),_e=(0,Le.Z)(Vt=>{var Cn;return(Cn=ln!=null?ln:ci)!==null&&Cn!==void 0?Cn:Vt}),xt=Me.useContext(Fe.Z),Dt=ei!=null?ei:xt,un=Oe()(!fi&&En,{[`${Ar}-lg`]:_e==="large",[`${Ar}-sm`]:_e==="small",[`${Ar}-rtl`]:qi==="rtl",[`${Ar}-borderless`]:!Yn,[`${Ar}-in-form-item`]:Fn},(0,xe.Z)(Ar,Qr,Lr),Ii,dn,tn,Ki),jn=Vt=>Me.createElement(Pi.Z,{prefixCls:$r,switcherIcon:ct,treeNodeProps:Vt,showLine:$e}),ai=Me.createElement(Kt,Object.assign({virtual:lr,disabled:Dt},cr,{dropdownMatchSelectWidth:Wi,builtinPlacements:Ri,ref:Ee,prefixCls:Ar,className:un,listHeight:bt,listItemHeight:ze,treeCheckable:on&&Me.createElement("span",{className:`${Ar}-tree-checkbox-inner`}),treeLine:!!$e,suffixIcon:Pr,multiple:Bi,placement:Yr,removeIcon:Ao,allowClear:vr,switcherIcon:jn,showTreeIcon:Wn,notFoundContent:gr,getPopupContainer:$t||oi,treeMotion:null,dropdownClassName:Er,choiceTransitionName:(0,Be.m)(Nr,"",fn),transitionName:(0,Be.m)(Nr,"slide-up",st),treeExpandAction:_n}));return ir(rr(ai))},Rr=Me.forwardRef(wr),hr=(0,Ge.Z)(Rr);Rr.TreeNode=Ne,Rr.SHOW_ALL=Tn,Rr.SHOW_PARENT=pt,Rr.SHOW_CHILD=Un,Rr._InternalPanelDoNotUseOrYouWillBeFired=hr;var No=Rr},17574:function(zn,Nn,ve){"use strict";ve.d(Nn,{default:function(){return ht}});var Se=ve(54844),Oe=ve(80702),We=ve(52671),Ot=ve(8657),et=ve(72308),yt=ve(59301),ke={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"},Bt=ke,Et=ve(7657),tt=function(At,Sn){return yt.createElement(Et.Z,(0,et.Z)({},At,{ref:Sn,icon:Bt}))},gt=yt.forwardRef(tt),dt=gt,Ct=ve(92310),Me=ve.n(Ct),te=ve(35654),ne=ve(71430),ce=ve(36355),se=ve(56082),ge=ve(62892),ye=ve(20648);const Ce=4;function Ne(Re){const{dropPosition:At,dropLevelOffset:Sn,prefixCls:mn,indent:Ft,direction:en="ltr"}=Re,sn=en==="ltr"?"left":"right",On=en==="ltr"?"right":"left",yn={[sn]:-Sn*Ft+Ce,[On]:0};switch(At){case-1:yn.top=-3;break;case 1:yn.bottom=-3;break;default:yn.bottom=-3,yn[sn]=Ft+Ce;break}return yt.createElement("div",{style:yn,className:`${mn}-drop-indicator`})}var Pe=ve(71997),Ke=yt.forwardRef((Re,At)=>{const{getPrefixCls:Sn,direction:mn,virtual:Ft,tree:en}=yt.useContext(ce.E_),{prefixCls:sn,className:On,showIcon:yn=!1,showLine:Tn,switcherIcon:pt,blockNode:Un=!1,children:wn,checkable:An=!1,selectable:ni=!0,draggable:Qt,motion:Jt,style:St}=Re,Xe=Sn("tree",sn),Yt=Sn(),Kt=Jt!=null?Jt:Object.assign(Object.assign({},(0,ge.Z)(Yt)),{motionAppear:!1}),qe=Object.assign(Object.assign({},Re),{checkable:An,selectable:ni,showIcon:yn,motion:Kt,blockNode:Un,showLine:!!Tn,dropIndicatorRender:Ne}),[Ge,Be]=(0,ye.ZP)(Xe),xe=yt.useMemo(()=>{if(!Qt)return!1;let Fe={};switch(typeof Qt){case"function":Fe.nodeDraggable=Qt;break;case"object":Fe=Object.assign({},Qt);break;default:break}return Fe.icon!==!1&&(Fe.icon=Fe.icon||yt.createElement(se.Z,null)),Fe},[Qt]),me=Fe=>yt.createElement(Pe.Z,{prefixCls:Xe,switcherIcon:pt,treeNodeProps:Fe,showLine:Tn});return Ge(yt.createElement(Se.Z,Object.assign({itemHeight:20,ref:At,virtual:Ft},qe,{style:Object.assign(Object.assign({},en==null?void 0:en.style),St),prefixCls:Xe,className:Me()({[`${Xe}-icon-hide`]:!yn,[`${Xe}-block-node`]:Un,[`${Xe}-unselectable`]:!ni,[`${Xe}-rtl`]:mn==="rtl"},en==null?void 0:en.className,On,Be),direction:mn,checkable:An&&yt.createElement("span",{className:`${Xe}-checkbox-inner`}),selectable:ni,switcherIcon:me,draggable:xe}),wn))}),Ve;(function(Re){Re[Re.None=0]="None",Re[Re.Start=1]="Start",Re[Re.End=2]="End"})(Ve||(Ve={}));function Ye(Re,At){function Sn(mn){const{key:Ft,children:en}=mn;At(Ft,mn)!==!1&&Ye(en||[],At)}Re.forEach(Sn)}function ut(Re){let{treeData:At,expandedKeys:Sn,startKey:mn,endKey:Ft}=Re;const en=[];let sn=Ve.None;if(mn&&mn===Ft)return[mn];if(!mn||!Ft)return[];function On(yn){return yn===mn||yn===Ft}return Ye(At,yn=>{if(sn===Ve.End)return!1;if(On(yn)){if(en.push(yn),sn===Ve.None)sn=Ve.Start;else if(sn===Ve.Start)return sn=Ve.End,!1}else sn===Ve.Start&&en.push(yn);return Sn.includes(yn)}),en}function Ue(Re,At){const Sn=(0,Oe.Z)(At),mn=[];return Ye(Re,(Ft,en)=>{const sn=Sn.indexOf(Ft);return sn!==-1&&(mn.push(en),Sn.splice(sn,1)),!!Sn.length}),mn}var Nt=function(Re,At){var Sn={};for(var mn in Re)Object.prototype.hasOwnProperty.call(Re,mn)&&At.indexOf(mn)<0&&(Sn[mn]=Re[mn]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,mn=Object.getOwnPropertySymbols(Re);Ft{var{defaultExpandAll:Sn,defaultExpandParent:mn,defaultExpandedKeys:Ft}=Re,en=Nt(Re,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const sn=yt.useRef(),On=yt.useRef(),yn=()=>{const{keyEntities:xe}=(0,ne.I8)(Ht(en));let me;return Sn?me=Object.keys(xe):mn?me=(0,te.r7)(en.expandedKeys||Ft||[],xe):me=en.expandedKeys||Ft,me},[Tn,pt]=yt.useState(en.selectedKeys||en.defaultSelectedKeys||[]),[Un,wn]=yt.useState(()=>yn());yt.useEffect(()=>{"selectedKeys"in en&&pt(en.selectedKeys)},[en.selectedKeys]),yt.useEffect(()=>{"expandedKeys"in en&&wn(en.expandedKeys)},[en.expandedKeys]);const An=(xe,me)=>{var Fe;return"expandedKeys"in en||wn(xe),(Fe=en.onExpand)===null||Fe===void 0?void 0:Fe.call(en,xe,me)},ni=(xe,me)=>{var Fe;const{multiple:He}=en,{node:Le,nativeEvent:mt}=me,{key:zt=""}=Le,Pn=Ht(en),rn=Object.assign(Object.assign({},me),{selected:!0}),In=(mt==null?void 0:mt.ctrlKey)||(mt==null?void 0:mt.metaKey),Gn=mt==null?void 0:mt.shiftKey;let Pi;He&&In?(Pi=xe,sn.current=zt,On.current=Pi,rn.selectedNodes=Ue(Pn,Pi)):He&&Gn?(Pi=Array.from(new Set([].concat((0,Oe.Z)(On.current||[]),(0,Oe.Z)(ut({treeData:Pn,expandedKeys:Un,startKey:zt,endKey:sn.current}))))),rn.selectedNodes=Ue(Pn,Pi)):(Pi=[zt],sn.current=zt,On.current=Pi,rn.selectedNodes=Ue(Pn,Pi)),(Fe=en.onSelect)===null||Fe===void 0||Fe.call(en,Pi,rn),"selectedKeys"in en||pt(Pi)},{getPrefixCls:Qt,direction:Jt}=yt.useContext(ce.E_),{prefixCls:St,className:Xe,showIcon:Yt=!0,expandAction:Kt="click"}=en,qe=Nt(en,["prefixCls","className","showIcon","expandAction"]),Ge=Qt("tree",St),Be=Me()(`${Ge}-directory`,{[`${Ge}-directory-rtl`]:Jt==="rtl"},Xe);return yt.createElement(Ke,Object.assign({icon:Qe,ref:At,blockNode:!0},qe,{showIcon:Yt,expandAction:Kt,prefixCls:Ge,className:Be,expandedKeys:Un,selectedKeys:Tn,onSelect:ni,onExpand:An}))};var Lt=yt.forwardRef(Rt);const Ut=Ke;Ut.DirectoryTree=Lt,Ut.TreeNode=Se.O;var ht=Ut},20648:function(zn,Nn,ve){"use strict";ve.d(Nn,{TM:function(){return Ct},Yk:function(){return dt}});var Se=ve(93083),Oe=ve(98447),We=ve(17313),Ot=ve(8378),et=ve(37613),yt=ve(83116);const ke=new Se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Bt=(Me,te)=>({[`.${Me}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${te.motionDurationSlow}`}}}),Et=(Me,te)=>({[`.${Me}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:te.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${te.lineWidthBold}px solid ${te.colorPrimary}`,borderRadius:"50%",content:'""'}}}),tt=(Me,te)=>{const{treeCls:ne,treeNodeCls:ce,treeNodePadding:se,titleHeight:ge,nodeSelectedBg:ye,nodeHoverBg:Ce}=te,Ne=te.paddingXS;return{[ne]:Object.assign(Object.assign({},(0,We.Wf)(te)),{background:te.colorBgContainer,borderRadius:te.borderRadius,transition:`background-color ${te.motionDurationSlow}`,[`&${ne}-rtl`]:{[`${ne}-switcher`]:{"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ne}-active-focused)`]:Object.assign({},(0,We.oN)(te)),[`${ne}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ne}-block-node`]:{[`${ne}-list-holder-inner`]:{alignItems:"stretch",[`${ne}-node-content-wrapper`]:{flex:"auto"},[`${ce}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:se,insetInlineStart:0,border:`1px solid ${te.colorPrimary}`,opacity:0,animationName:ke,animationDuration:te.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ce}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${se}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ne}-node-content-wrapper`]:{color:te.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ne}-node-content-wrapper`]:Object.assign({},(0,We.oN)(te)),[`&:not(${ce}-disabled).filter-node ${ne}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ne}-draggable-icon`]:{flexShrink:0,width:ge,lineHeight:`${ge}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${te.motionDurationSlow}`,[`${ce}:hover &`]:{opacity:.45}},[`&${ce}-disabled`]:{[`${ne}-draggable-icon`]:{visibility:"hidden"}}}},[`${ne}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ge}},[`${ne}-draggable-icon`]:{visibility:"hidden"},[`${ne}-switcher`]:Object.assign(Object.assign({},Bt(Me,te)),{position:"relative",flex:"none",alignSelf:"stretch",width:ge,margin:0,lineHeight:`${ge}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:te.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ge/2,bottom:-se,marginInlineStart:-1,borderInlineEnd:`1px solid ${te.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ge/2*.8,height:ge/2,borderBottom:`1px solid ${te.colorBorder}`,content:'""'}}}),[`${ne}-checkbox`]:{top:"initial",marginInlineEnd:Ne},[`${ne}-node-content-wrapper, ${ne}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ge,margin:0,padding:`0 ${te.paddingXS/2}px`,color:"inherit",lineHeight:`${ge}px`,background:"transparent",borderRadius:te.borderRadius,cursor:"pointer",transition:`all ${te.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Ce},[`&${ne}-node-selected`]:{backgroundColor:ye},[`${ne}-iconEle`]:{display:"inline-block",width:ge,height:ge,lineHeight:`${ge}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ne}-unselectable ${ne}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ne}-node-content-wrapper`]:Object.assign({lineHeight:`${ge}px`,userSelect:"none"},Et(Me,te)),[`${ce}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${te.colorPrimary}`}},"&-show-line":{[`${ne}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ge/2,bottom:-se,borderInlineEnd:`1px solid ${te.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ne}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ce}-leaf-last`]:{[`${ne}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${ge/2}px !important`}}}}})}},gt=Me=>{const{treeCls:te,treeNodeCls:ne,treeNodePadding:ce,directoryNodeSelectedBg:se,directoryNodeSelectedColor:ge}=Me;return{[`${te}${te}-directory`]:{[ne]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ce,insetInlineStart:0,transition:`background-color ${Me.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:Me.controlItemBgHover}},"> *":{zIndex:1},[`${te}-switcher`]:{transition:`color ${Me.motionDurationMid}`},[`${te}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${te}-node-selected`]:{color:ge,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:se},[`${te}-switcher`]:{color:ge},[`${te}-node-content-wrapper`]:{color:ge,background:"transparent"}}}}}},dt=(Me,te)=>{const ne=`.${Me}`,ce=`${ne}-treenode`,se=te.paddingXS/2,ge=(0,et.TS)(te,{treeCls:ne,treeNodeCls:ce,treeNodePadding:se});return[tt(Me,ge),gt(ge)]},Ct=Me=>{const{controlHeightSM:te}=Me;return{titleHeight:te,nodeHoverBg:Me.controlItemBgHover,nodeSelectedBg:Me.controlItemBgActive}};Nn.ZP=(0,yt.Z)("Tree",(Me,te)=>{let{prefixCls:ne}=te;return[{[Me.componentCls]:(0,Oe.C2)(`${ne}-checkbox`,Me)},dt(ne,Me),(0,Ot.Z)(Me)]},Me=>{const{colorTextLightSolid:te,colorPrimary:ne}=Me;return Object.assign(Object.assign({},Ct(Me)),{directoryNodeSelectedColor:te,directoryNodeSelectedBg:ne})})},71997:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return ce}});var Se=ve(72308),Oe=ve(59301),We={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"},Ot=We,et=ve(7657),yt=function(ge,ye){return Oe.createElement(et.Z,(0,Se.Z)({},ge,{ref:ye,icon:Ot}))},ke=Oe.forwardRef(yt),Bt=ke,Et=ve(52671),tt=ve(58617),gt=ve(15075),dt=ve(43531),Ct=ve(92310),Me=ve.n(Ct),te=ve(92343),ce=se=>{const{prefixCls:ge,switcherIcon:ye,treeNodeProps:Ce,showLine:Ne}=se,{isLeaf:Pe,expanded:Ie,loading:Ke}=Ce;if(Ke)return Oe.createElement(tt.Z,{className:`${ge}-switcher-loading-icon`});let Ve;if(Ne&&typeof Ne=="object"&&(Ve=Ne.showLeafIcon),Pe){if(!Ne)return null;if(typeof Ve!="boolean"&&Ve){const Ue=typeof Ve=="function"?Ve(Ce):Ve,Nt=`${ge}-switcher-line-custom-icon`;return(0,te.l$)(Ue)?(0,te.Tm)(Ue,{className:Me()(Ue.props.className||"",Nt)}):Ue}return Ve?Oe.createElement(Et.Z,{className:`${ge}-switcher-line-icon`}):Oe.createElement("span",{className:`${ge}-switcher-leaf-line`})}const Ye=`${ge}-switcher-icon`,ut=typeof ye=="function"?ye(Ce):ye;return(0,te.l$)(ut)?(0,te.Tm)(ut,{className:Me()(ut.props.className||"",Ye)}):ut!==void 0?ut:Ne?Ie?Oe.createElement(gt.Z,{className:`${ge}-switcher-line-icon`}):Oe.createElement(dt.Z,{className:`${ge}-switcher-line-icon`}):Oe.createElement(Bt,{className:Ye})}},99498:function(zn,Nn,ve){(function(Se){Se(ve(89780))})(function(Se){Se.defineOption("placeholder","",function(Bt,Et,tt){var gt=tt&&tt!=Se.Init;if(Et&&!gt)Bt.on("blur",et),Bt.on("change",yt),Bt.on("swapDoc",yt),Se.on(Bt.getInputField(),"compositionupdate",Bt.state.placeholderCompose=function(){Ot(Bt)}),yt(Bt);else if(!Et&>){Bt.off("blur",et),Bt.off("change",yt),Bt.off("swapDoc",yt),Se.off(Bt.getInputField(),"compositionupdate",Bt.state.placeholderCompose),Oe(Bt);var dt=Bt.getWrapperElement();dt.className=dt.className.replace(" CodeMirror-empty","")}Et&&!Bt.hasFocus()&&et(Bt)});function Oe(Bt){Bt.state.placeholder&&(Bt.state.placeholder.parentNode.removeChild(Bt.state.placeholder),Bt.state.placeholder=null)}function We(Bt){Oe(Bt);var Et=Bt.state.placeholder=document.createElement("pre");Et.style.cssText="height: 0; overflow: visible",Et.style.direction=Bt.getOption("direction"),Et.className="CodeMirror-placeholder CodeMirror-line-like";var tt=Bt.getOption("placeholder");typeof tt=="string"&&(tt=document.createTextNode(tt)),Et.appendChild(tt),Bt.display.lineSpace.insertBefore(Et,Bt.display.lineSpace.firstChild)}function Ot(Bt){setTimeout(function(){var Et=!1,tt=Bt.getInputField();tt.nodeName=="TEXTAREA"?Et=!tt.value:Bt.lineCount()==1&&(Et=!/[^\u200b]/.test(tt.querySelector(".CodeMirror-line").textContent)),Et?We(Bt):Oe(Bt)},20)}function et(Bt){ke(Bt)&&We(Bt)}function yt(Bt){var Et=Bt.getWrapperElement(),tt=ke(Bt);Et.className=Et.className.replace(" CodeMirror-empty","")+(tt?" CodeMirror-empty":""),tt?We(Bt):Oe(Bt)}function ke(Bt){return Bt.lineCount()===1&&Bt.getLine(0)===""}})},25717:function(zn,Nn,ve){(function(Se){Se(ve(89780))})(function(Se){var Oe={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},We=Se.Pos;Se.defineOption("autoCloseBrackets",!1,function(te,ne,ce){ce&&ce!=Se.Init&&(te.removeKeyMap(et),te.state.closeBrackets=null),ne&&(yt(Ot(ne,"pairs")),te.state.closeBrackets=ne,te.addKeyMap(et))});function Ot(te,ne){return ne=="pairs"&&typeof te=="string"?te:typeof te=="object"&&te[ne]!=null?te[ne]:Oe[ne]}var et={Backspace:Et,Enter:tt};function yt(te){for(var ne=0;ne=0;ge--){var Ce=se[ge].head;te.replaceRange("",We(Ce.line,Ce.ch-1),We(Ce.line,Ce.ch+1),"+delete")}}function tt(te){var ne=Bt(te),ce=ne&&Ot(ne,"explode");if(!ce||te.getOption("disableInput"))return Se.Pass;for(var se=te.listSelections(),ge=0;ge0;return{anchor:new We(te.anchor.line,te.anchor.ch+(ne?-1:1)),head:new We(te.head.line,te.head.ch+(ne?1:-1))}}function dt(te,ne){var ce=Bt(te);if(!ce||te.getOption("disableInput"))return Se.Pass;var se=Ot(ce,"pairs"),ge=se.indexOf(ne);if(ge==-1)return Se.Pass;for(var ye=Ot(ce,"closeBefore"),Ce=Ot(ce,"triples"),Ne=se.charAt(ge+1)==ne,Pe=te.listSelections(),Ie=ge%2==0,Ke,Ve=0;Ve=0&&te.getRange(ut,We(ut.line,ut.ch+3))==ne+ne+ne?Ue="skipThree":Ue="skip";else if(Ne&&ut.ch>1&&Ce.indexOf(ne)>=0&&te.getRange(We(ut.line,ut.ch-2),ut)==ne+ne){if(ut.ch>2&&/\bstring/.test(te.getTokenTypeAt(We(ut.line,ut.ch-2))))return Se.Pass;Ue="addFour"}else if(Ne){var Qe=ut.ch==0?" ":te.getRange(We(ut.line,ut.ch-1),ut);if(!Se.isWordChar(Nt)&&Qe!=ne&&!Se.isWordChar(Qe))Ue="both";else return Se.Pass}else if(Ie&&(Nt.length===0||/\s/.test(Nt)||ye.indexOf(Nt)>-1))Ue="both";else return Se.Pass;if(!Ke)Ke=Ue;else if(Ke!=Ue)return Se.Pass}var Ht=ge%2?se.charAt(ge-1):ne,Rt=ge%2?ne:se.charAt(ge+1);te.operation(function(){if(Ke=="skip")te.execCommand("goCharRight");else if(Ke=="skipThree")for(var It=0;It<3;It++)te.execCommand("goCharRight");else if(Ke=="surround"){for(var Lt=te.getSelections(),It=0;It'"]=function(Ct){return Ot(Ct)}),Et.addKeyMap(dt)}});var Oe=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],We=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Ot(Et){if(Et.getOption("disableInput"))return Se.Pass;for(var tt=Et.listSelections(),gt=[],dt=Et.getOption("autoCloseTags"),Ct=0;CtMe.ch&&(ge=ge.slice(0,ge.length-te.end+Me.ch));var Pe=ge.toLowerCase();if(!ge||te.type=="string"&&(te.end!=Me.ch||!/[\"\']/.test(te.string.charAt(te.string.length-1))||te.string.length==1)||te.type=="tag"&&se.close||te.string.indexOf("/")==Me.ch-te.start-1||Ce&&ke(Ce,Pe)>-1||Bt(Et,ne.mode.xmlCurrentContext&&ne.mode.xmlCurrentContext(ce)||[],ge,Me,!0))return Se.Pass;var Ie=typeof dt=="object"&&dt.emptyTags;if(Ie&&ke(Ie,ge)>-1){gt[Ct]={text:"/>",newPos:Se.Pos(Me.line,Me.ch+2)};continue}var Ke=Ne&&ke(Ne,Pe)>-1;gt[Ct]={indent:Ke,text:">"+(Ke?` `:"")+"",newPos:Ke?Se.Pos(Me.line+1,0):Se.Pos(Me.line,Me.ch+1)}}for(var Ve=typeof dt=="object"&&dt.dontIndentOnAutoClose,Ct=tt.length-1;Ct>=0;Ct--){var Ye=gt[Ct];Et.replaceRange(Ye.text,tt[Ct].head,tt[Ct].anchor,"+insert");var ut=Et.listSelections().slice(0);ut[Ct]={head:Ye.newPos,anchor:Ye.newPos},Et.setSelections(ut),!Ve&&Ye.indent&&(Et.indentLine(Ye.newPos.line,null,!0),Et.indentLine(Ye.newPos.line+1,null,!0))}}function et(Et,tt){for(var gt=Et.listSelections(),dt=[],Ct=tt?"/":""&&(Ce+=">"),dt[ne]=Ce}if(Et.replaceSelections(dt),gt=Et.listSelections(),!te)for(var ne=0;ne=0&&tt[ce]==gt;ce--)++ne;dt=te.to;for(var ce=1;ce=ce.max))return ce.ch=0,ce.text=ce.cm.getLine(++ce.line),!0}function tt(ce){if(!(ce.line<=ce.min))return ce.text=ce.cm.getLine(--ce.line),ce.ch=ce.text.length,!0}function gt(ce){for(;;){var se=ce.text.indexOf(">",ce.ch);if(se==-1){if(Et(ce))continue;return}if(!Bt(ce,se+1)){ce.ch=se+1;continue}var ge=ce.text.lastIndexOf("/",se),ye=ge>-1&&!/\S/.test(ce.text.slice(ge+1,se));return ce.ch=se+1,ye?"selfClose":"regular"}}function dt(ce){for(;;){var se=ce.ch?ce.text.lastIndexOf("<",ce.ch-1):-1;if(se==-1){if(tt(ce))continue;return}if(!Bt(ce,se+1)){ce.ch=se;continue}yt.lastIndex=se,ce.ch=se;var ge=yt.exec(ce.text);if(ge&&ge.index==se)return ge}}function Ct(ce){for(;;){yt.lastIndex=ce.ch;var se=yt.exec(ce.text);if(!se){if(Et(ce))continue;return}if(!Bt(ce,se.index+1)){ce.ch=se.index+1;continue}return ce.ch=se.index+se[0].length,se}}function Me(ce){for(;;){var se=ce.ch?ce.text.lastIndexOf(">",ce.ch-1):-1;if(se==-1){if(tt(ce))continue;return}if(!Bt(ce,se+1)){ce.ch=se;continue}var ge=ce.text.lastIndexOf("/",se),ye=ge>-1&&!/\S/.test(ce.text.slice(ge+1,se));return ce.ch=se+1,ye?"selfClose":"regular"}}function te(ce,se){for(var ge=[];;){var ye=Ct(ce),Ce,Ne=ce.line,Pe=ce.ch-(ye?ye[0].length:0);if(!ye||!(Ce=gt(ce)))return;if(Ce!="selfClose")if(ye[1]){for(var Ie=ge.length-1;Ie>=0;--Ie)if(ge[Ie]==ye[2]){ge.length=Ie;break}if(Ie<0&&(!se||se==ye[2]))return{tag:ye[2],from:Oe(Ne,Pe),to:Oe(ce.line,ce.ch)}}else ge.push(ye[2])}}function ne(ce,se){for(var ge=[];;){var ye=Me(ce);if(!ye)return;if(ye=="selfClose"){dt(ce);continue}var Ce=ce.line,Ne=ce.ch,Pe=dt(ce);if(!Pe)return;if(Pe[1])ge.push(Pe[2]);else{for(var Ie=ge.length-1;Ie>=0;--Ie)if(ge[Ie]==Pe[2]){ge.length=Ie;break}if(Ie<0&&(!se||se==Pe[2]))return{tag:Pe[2],from:Oe(ce.line,ce.ch),to:Oe(Ce,Ne)}}}}Se.registerHelper("fold","xml",function(ce,se){for(var ge=new ke(ce,se.line,0);;){var ye=Ct(ge);if(!ye||ge.line!=se.line)return;var Ce=gt(ge);if(!Ce)return;if(!ye[1]&&Ce!="selfClose"){var Ne=Oe(ge.line,ge.ch),Pe=te(ge,ye[2]);return Pe&&We(Pe.from,Ne)>0?{from:Ne,to:Pe.from}:null}}}),Se.findMatchingTag=function(ce,se,ge){var ye=new ke(ce,se.line,se.ch,ge);if(!(ye.text.indexOf(">")==-1&&ye.text.indexOf("<")==-1)){var Ce=gt(ye),Ne=Ce&&Oe(ye.line,ye.ch),Pe=Ce&&dt(ye);if(!(!Ce||!Pe||We(ye,se)>0)){var Ie={from:Oe(ye.line,ye.ch),to:Ne,tag:Pe[2]};return Ce=="selfClose"?{open:Ie,close:null,at:"open"}:Pe[1]?{open:ne(ye,Pe[2]),close:Ie,at:"close"}:(ye=new ke(ce,Ne.line,Ne.ch,ge),{open:Ie,close:te(ye,Pe[2]),at:"open"})}}},Se.findEnclosingTag=function(ce,se,ge,ye){for(var Ce=new ke(ce,se.line,se.ch,ge);;){var Ne=ne(Ce,ye);if(!Ne)break;var Pe=new ke(ce,se.line,se.ch,ge),Ie=te(Pe,Ne.tag);if(Ie)return{open:Ne,close:Ie}}},Se.scanForClosingTag=function(ce,se,ge,ye){var Ce=new ke(ce,se.line,se.ch,ye?{from:0,to:ye}:null);return te(Ce,ge)}})},89780:function(zn){(function(Nn,ve){zn.exports=ve()})(this,function(){"use strict";var Nn=navigator.userAgent,ve=navigator.platform,Se=/gecko\/\d/i.test(Nn),Oe=/MSIE \d/.test(Nn),We=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Nn),Ot=/Edge\/(\d+)/.exec(Nn),et=Oe||We||Ot,yt=et&&(Oe?document.documentMode||6:+(Ot||We)[1]),ke=!Ot&&/WebKit\//.test(Nn),Bt=ke&&/Qt\/\d+\.\d+/.test(Nn),Et=!Ot&&/Chrome\//.test(Nn),tt=/Opera\//.test(Nn),gt=/Apple Computer/.test(navigator.vendor),dt=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Nn),Ct=/PhantomJS/.test(Nn),Me=!Ot&&/AppleWebKit/.test(Nn)&&/Mobile\/\w+/.test(Nn),te=/Android/.test(Nn),ne=Me||te||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Nn),ce=Me||/Mac/.test(ve),se=/\bCrOS\b/.test(Nn),ge=/win/i.test(ve),ye=tt&&Nn.match(/Version\/(\d*\.\d*)/);ye&&(ye=Number(ye[1])),ye&&ye>=15&&(tt=!1,ke=!0);var Ce=ce&&(Bt||tt&&(ye==null||ye<12.11)),Ne=Se||et&&yt>=9;function Pe(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var Ie=function(ie,ae){var he=ie.className,de=Pe(ae).exec(he);if(de){var pe=he.slice(de.index+de[0].length);ie.className=he.slice(0,de.index)+(pe?de[1]+pe:"")}};function Ke(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function Ve(ie,ae){return Ke(ie).appendChild(ae)}function Ye(ie,ae,he,de){var pe=document.createElement(ie);if(he&&(pe.className=he),de&&(pe.style.cssText=de),typeof ae=="string")pe.appendChild(document.createTextNode(ae));else if(ae)for(var De=0;De=ae)return Ze+(ae-De);Ze+=at-De,Ze+=he-Ze%he,De=at+1}}var Re=function(){this.id=null,this.f=null,this.time=0,this.handler=Lt(this.onTimeout,this)};Re.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},Re.prototype.set=function(ie,ae){this.f=ae;var he=+new Date+ie;(!this.id||he=ae)return de+Math.min(Ze,ae-pe);if(pe+=De-de,pe+=he-pe%he,de=De+1,pe>=ae)return de}}var yn=[""];function Tn(ie){for(;yn.length<=ie;)yn.push(pt(yn)+" ");return yn[ie]}function pt(ie){return ie[ie.length-1]}function Un(ie,ae){for(var he=[],de=0;de"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Qt.test(ie))}function St(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&Jt(ie)?!0:ae.test(ie):Jt(ie)}function Xe(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var Yt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Kt(ie){return ie.charCodeAt(0)>=768&&Yt.test(ie)}function qe(ie,ae,he){for(;(he<0?ae>0:aehe?-1:1;;){if(ae==he)return ae;var pe=(ae+he)/2,De=de<0?Math.ceil(pe):Math.floor(pe);if(De==ae)return ie(De)?ae:he;ie(De)?he=De:ae=De+de}}function Be(ie,ae,he,de){if(!ie)return de(ae,he,"ltr",0);for(var pe=!1,De=0;Deae||ae==he&&Ze.to==ae)&&(de(Math.max(Ze.from,ae),Math.min(Ze.to,he),Ze.level==1?"rtl":"ltr",De),pe=!0)}pe||de(ae,he,"ltr")}var xe=null;function me(ie,ae,he){var de;xe=null;for(var pe=0;peae)return pe;De.to==ae&&(De.from!=De.to&&he=="before"?de=pe:xe=pe),De.from==ae&&(De.from!=De.to&&he!="before"?de=pe:xe=pe)}return de!=null?de:xe}var Fe=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function he(kt){return kt<=247?ie.charAt(kt):1424<=kt&&kt<=1524?"R":1536<=kt&&kt<=1785?ae.charAt(kt-1536):1774<=kt&&kt<=2220?"r":8192<=kt&&kt<=8203?"w":kt==8204?"b":"L"}var de=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,pe=/[stwN]/,De=/[LRr]/,Ze=/[Lb1n]/,at=/[1n]/;function rt(kt,kn,Zt){this.level=kt,this.from=kn,this.to=Zt}return function(kt,kn){var Zt=kn=="ltr"?"L":"R";if(kt.length==0||kn=="ltr"&&!de.test(kt))return!1;for(var ui=kt.length,ti=[],tr=0;tr-1&&(de[ae]=pe.slice(0,De).concat(pe.slice(De+1)))}}}function rn(ie,ae){var he=zt(ie,ae);if(he.length)for(var de=Array.prototype.slice.call(arguments,2),pe=0;pe0}function Di(ie){ie.prototype.on=function(ae,he){mt(this,ae,he)},ie.prototype.off=function(ae,he){Pn(this,ae,he)}}function Gi(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Dn(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function or(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function jr(ie){Gi(ie),Dn(ie)}function Gr(ie){return ie.target||ie.srcElement}function Ir(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),ce&&ie.ctrlKey&&ae==1&&(ae=3),ae}var wr=function(){if(et&&yt<9)return!1;var ie=Ye("div");return"draggable"in ie||"dragDrop"in ie}(),so;function Rr(ie){if(so==null){var ae=Ye("span","\u200B");Ve(ie,Ye("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(so=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(et&&yt<8))}var he=so?Ye("span","\u200B"):Ye("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return he.setAttribute("cm-text",""),he}var hr;function No(ie){if(hr!=null)return hr;var ae=Ve(ie,document.createTextNode("A\u062EA")),he=Ue(ae,0,1).getBoundingClientRect(),de=Ue(ae,1,2).getBoundingClientRect();return Ke(ie),!he||he.left==he.right?!1:hr=de.right-he.right<3}var vi=` b`.split(/\n/).length!=3?function(ie){for(var ae=0,he=[],de=ie.length;ae<=de;){var pe=ie.indexOf(` `,ae);pe==-1&&(pe=ie.length);var De=ie.slice(ae,ie.charAt(pe-1)=="\r"?pe-1:pe),Ze=De.indexOf("\r");Ze!=-1?(he.push(De.slice(0,Ze)),ae+=Ze+1):(he.push(De),ae=pe+1)}return he}:function(ie){return ie.split(/\r\n?|\n/)},Ee=window.getSelection?function(ie){try{return ie.selectionStart!=ie.selectionEnd}catch(ae){return!1}}:function(ie){var ae;try{ae=ie.ownerDocument.selection.createRange()}catch(he){}return!ae||ae.parentElement()!=ie?!1:ae.compareEndPoints("StartToEnd",ae)!=0},$n=function(){var ie=Ye("div");return"oncopy"in ie?!0:(ie.setAttribute("oncopy","return;"),typeof ie.oncopy=="function")}(),fi=null;function ln(ie){if(fi!=null)return fi;var ae=Ve(ie,Ye("span","x")),he=ae.getBoundingClientRect(),de=Ue(ae,0,1).getBoundingClientRect();return fi=Math.abs(he.left-de.left)>1}var ei={},Yn={};function dn(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),ei[ie]=ae}function tn(ie,ae){Yn[ie]=ae}function on(ie){if(typeof ie=="string"&&Yn.hasOwnProperty(ie))ie=Yn[ie];else if(ie&&typeof ie.name=="string"&&Yn.hasOwnProperty(ie.name)){var ae=Yn[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=ni(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return on("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return on("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function wt(ie,ae){ae=on(ae);var he=ei[ae.name];if(!he)return wt(ie,"text/plain");var de=he(ie,ae);if(bt.hasOwnProperty(ae.name)){var pe=bt[ae.name];for(var De in pe)pe.hasOwnProperty(De)&&(de.hasOwnProperty(De)&&(de["_"+De]=de[De]),de[De]=pe[De])}if(de.name=ae.name,ae.helperType&&(de.helperType=ae.helperType),ae.modeProps)for(var Ze in ae.modeProps)de[Ze]=ae.modeProps[Ze];return de}var bt={};function ze(ie,ae){var he=bt.hasOwnProperty(ie)?bt[ie]:bt[ie]={};Ut(ae,he)}function Gt(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var he={};for(var de in ae){var pe=ae[de];pe instanceof Array&&(pe=pe.concat([])),he[de]=pe}return he}function an(ie,ae){for(var he;ie.innerMode&&(he=ie.innerMode(ae),!(!he||he.mode==ie));)ae=he.state,ie=he.mode;return he||{mode:ie,state:ae}}function ct(ie,ae,he){return ie.startState?ie.startState(ae,he):!0}var $e=function(ie,ae,he){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=he};$e.prototype.eol=function(){return this.pos>=this.string.length},$e.prototype.sol=function(){return this.pos==this.lineStart},$e.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$e.prototype.next=function(){if(this.posae},$e.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},$e.prototype.skipToEnd=function(){this.pos=this.string.length},$e.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},$e.prototype.backUp=function(ie){this.pos-=ie},$e.prototype.column=function(){return this.lastColumnPos0?null:(De&&ae!==!1&&(this.pos+=De[0].length),De)}},$e.prototype.current=function(){return this.string.slice(this.start,this.pos)},$e.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},$e.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},$e.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function $t(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var he=ie;!he.lines;)for(var de=0;;++de){var pe=he.children[de],De=pe.chunkSize();if(ae=ie.first&&aehe?nn(he,$t(ie,he).text.length):qi(ae,$t(ie,ae.line).text.length)}function qi(ie,ae){var he=ie.ch;return he==null||he>ae?nn(ie.line,ae):he<0?nn(ie.line,0):ie}function lr(ie,ae){for(var he=[],de=0;dethis.maxLookAhead&&(this.maxLookAhead=ie),ae},Ln.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},Ln.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ln.fromSaved=function(ie,ae,he){return ae instanceof er?new Ln(ie,Gt(ie.mode,ae.state),he,ae.lookAhead):new Ln(ie,Gt(ie.mode,ae),he)},Ln.prototype.save=function(ie){var ae=ie!==!1?Gt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new er(ae,this.maxLookAhead):ae};function Nr(ie,ae,he,de){var pe=[ie.state.modeGen],De={};Er(ie,ae.text,ie.doc.mode,he,function(kt,kn){return pe.push(kt,kn)},De,de);for(var Ze=he.state,at=function(kt){he.baseTokens=pe;var kn=ie.state.overlays[kt],Zt=1,ui=0;he.state=!0,Er(ie,ae.text,kn.mode,he,function(ti,tr){for(var ar=Zt;uiti&&pe.splice(Zt,1,ti,pe[Zt+1],br),Zt+=2,ui=Math.min(ti,br)}if(tr)if(kn.opaque)pe.splice(ar,Zt-ar,ti,"overlay "+tr),Zt=ar+2;else for(;arie.options.maxHighlightLength&&Gt(ie.doc.mode,de.state),De=Nr(ie,ae,de);pe&&(de.state=pe),ae.stateAfter=de.save(!pe),ae.styles=De.styles,De.classes?ae.styleClasses=De.classes:ae.styleClasses&&(ae.styleClasses=null),he===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function $r(ie,ae,he){var de=ie.doc,pe=ie.display;if(!de.mode.startState)return new Ln(de,!0,ae);var De=Bi(ie,ae,he),Ze=De>de.first&&$t(de,De-1).stateAfter,at=Ze?Ln.fromSaved(de,Ze,De):new Ln(de,ct(de.mode),De);return de.iter(De,ae,function(rt){En(ie,rt.text,at);var kt=at.line;rt.stateAfter=kt==ae-1||kt%5==0||kt>=pe.viewFrom&&ktae.start)return De}throw new Error("Mode "+ie.name+" failed to advance stream.")}var ir=function(ie,ae,he){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=he};function Ki(ie,ae,he,de){var pe=ie.doc,De=pe.mode,Ze;ae=Li(pe,ae);var at=$t(pe,ae.line),rt=$r(ie,ae.line,he),kt=new $e(at.text,ie.options.tabSize,rt),kn;for(de&&(kn=[]);(de||kt.posie.options.maxHighlightLength?(at=!1,Ze&&En(ie,ae,de,kn.pos),kn.pos=ae.length,Zt=null):Zt=rr(Ii(he,kn,de.state,ui),De),ui){var ti=ui[0].name;ti&&(Zt="m-"+(Zt?ti+" "+Zt:ti))}if(!at||kt!=Zt){for(;rtZe;--at){if(at<=De.first)return De.first;var rt=$t(De,at-1),kt=rt.stateAfter;if(kt&&(!he||at+(kt instanceof er?kt.lookAhead:0)<=De.modeFrontier))return at;var kn=ht(rt.text,null,ie.options.tabSize);(pe==null||de>kn)&&(pe=at-1,de=kn)}return pe}function Yi(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontierhe;de--){var pe=$t(ie,de).stateAfter;if(pe&&(!(pe instanceof er)||de+pe.lookAhead=ae:De.to>ae);(de||(de=[])).push(new fr(Ze,De.from,rt?null:De.to))}}return de}function vr(ie,ae,he){var de;if(ie)for(var pe=0;pe=ae:De.to>ae);if(at||De.from==ae&&Ze.type=="bookmark"&&(!he||De.marker.insertLeft)){var rt=De.from==null||(Ze.inclusiveLeft?De.from<=ae:De.from0&&at)for(var jo=0;jo0)){var kn=[rt,1],Zt=hn(kt.from,at.from),ui=hn(kt.to,at.to);(Zt<0||!Ze.inclusiveLeft&&!Zt)&&kn.push({from:kt.from,to:at.from}),(ui>0||!Ze.inclusiveRight&&!ui)&&kn.push({from:at.to,to:kt.to}),pe.splice.apply(pe,kn),rt+=kn.length-3}}return pe}function Ri(ie){var ae=ie.markedSpans;if(ae){for(var he=0;heae)&&(!de||un(de,De.marker)<0)&&(de=De.marker)}return de}function ii(ie,ae,he,de,pe){var De=$t(ie,ae),Ze=Bn&&De.markedSpans;if(Ze)for(var at=0;at=0&&Zt<=0||kn<=0&&Zt>=0)&&(kn<=0&&(rt.marker.inclusiveRight&&pe.inclusiveLeft?hn(kt.to,he)>=0:hn(kt.to,he)>0)||kn>=0&&(rt.marker.inclusiveRight&&pe.inclusiveLeft?hn(kt.from,de)<=0:hn(kt.from,de)<0)))return!0}}}function Qn(ie){for(var ae;ae=ai(ie);)ie=ae.find(-1,!0).line;return ie}function Fi(ie){for(var ae;ae=Vt(ie);)ie=ae.find(1,!0).line;return ie}function Mr(ie){for(var ae,he;ae=Vt(ie);)ie=ae.find(1,!0).line,(he||(he=[])).push(ie);return he}function Ei(ie,ae){var he=$t(ie,ae),de=Qn(he);return he==de?ae:st(de)}function Oi(ie,ae){if(ae>ie.lastLine())return ae;var he=$t(ie,ae),de;if(!Hn(ie,he))return ae;for(;de=Vt(he);)he=de.find(1,!0).line;return st(he)+1}function Hn(ie,ae){var he=Bn&&ae.markedSpans;if(he){for(var de=void 0,pe=0;peae.maxLineLength&&(ae.maxLineLength=pe,ae.maxLine=de)})}var Xr=function(ie,ae,he){this.text=ie,_e(this,ae),this.height=he?he(this):1};Xr.prototype.lineNo=function(){return st(this)},Di(Xr);function eo(ie,ae,he,de){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),Ri(ie),_e(ie,he);var pe=de?de(ie):1;pe!=ie.height&&Wn(ie,pe)}function Zo(ie){ie.parent=null,Ri(ie)}var $o={},ia={};function qo(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var he=ae.addModeClass?ia:$o;return he[ie]||(he[ie]=ie.replace(/\S+/g,"cm-$&"))}function xn(ie,ae){var he=ut("span",null,null,ke?"padding-right: .1px":null),de={pre:ut("pre",[he],"CodeMirror-line"),content:he,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var pe=0;pe<=(ae.rest?ae.rest.length:0);pe++){var De=pe?ae.rest[pe-1]:ae.line,Ze=void 0;de.pos=0,de.addToken=vs,No(ie.display.measure)&&(Ze=He(De,ie.doc.direction))&&(de.addToken=Zs(de.addToken,Ze)),de.map=[];var at=ae!=ie.display.externalMeasured&&st(De);pl(De,de,Ar(ie,De,at)),De.styleClasses&&(De.styleClasses.bgClass&&(de.bgClass=Rt(De.styleClasses.bgClass,de.bgClass||"")),De.styleClasses.textClass&&(de.textClass=Rt(De.styleClasses.textClass,de.textClass||""))),de.map.length==0&&de.map.push(0,0,de.content.appendChild(Rr(ie.display.measure))),pe==0?(ae.measure.map=de.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(de.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(ke){var rt=de.content.lastChild;(/\bcm-tab\b/.test(rt.className)||rt.querySelector&&rt.querySelector(".cm-tab"))&&(de.content.className="cm-tab-wrap-hack")}return rn(ie,"renderLine",ie,ae.line,de.pre),de.pre.className&&(de.textClass=Rt(de.pre.className,de.textClass||"")),de}function oa(ie){var ae=Ye("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function vs(ie,ae,he,de,pe,De,Ze){if(ae){var at=ie.splitSpaces?Ga(ae,ie.trailingSpace):ae,rt=ie.cm.state.specialChars,kt=!1,kn;if(!rt.test(ae))ie.col+=ae.length,kn=document.createTextNode(at),ie.map.push(ie.pos,ie.pos+ae.length,kn),et&&yt<9&&(kt=!0),ie.pos+=ae.length;else{kn=document.createDocumentFragment();for(var Zt=0;;){rt.lastIndex=Zt;var ui=rt.exec(ae),ti=ui?ui.index-Zt:ae.length-Zt;if(ti){var tr=document.createTextNode(at.slice(Zt,Zt+ti));et&&yt<9?kn.appendChild(Ye("span",[tr])):kn.appendChild(tr),ie.map.push(ie.pos,ie.pos+ti,tr),ie.col+=ti,ie.pos+=ti}if(!ui)break;Zt+=ti+1;var ar=void 0;if(ui[0]==" "){var br=ie.cm.options.tabSize,_r=br-ie.col%br;ar=kn.appendChild(Ye("span",Tn(_r),"cm-tab")),ar.setAttribute("role","presentation"),ar.setAttribute("cm-text"," "),ie.col+=_r}else ui[0]=="\r"||ui[0]==` `?(ar=kn.appendChild(Ye("span",ui[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ar.setAttribute("cm-text",ui[0]),ie.col+=1):(ar=ie.cm.options.specialCharPlaceholder(ui[0]),ar.setAttribute("cm-text",ui[0]),et&&yt<9?kn.appendChild(Ye("span",[ar])):kn.appendChild(ar),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,ar),ie.pos++}}if(ie.trailingSpace=at.charCodeAt(ae.length-1)==32,he||de||pe||kt||De||Ze){var Eo=he||"";de&&(Eo+=de),pe&&(Eo+=pe);var fo=Ye("span",[kn],Eo,De);if(Ze)for(var jo in Ze)Ze.hasOwnProperty(jo)&&jo!="style"&&jo!="class"&&fo.setAttribute(jo,Ze[jo]);return ie.content.appendChild(fo)}ie.content.appendChild(kn)}}function Ga(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var he=ae,de="",pe=0;pekt&&Zt.from<=kt));ui++);if(Zt.to>=kn)return ie(he,de,pe,De,Ze,at,rt);ie(he,de.slice(0,Zt.to-kt),pe,De,null,at,rt),De=null,de=de.slice(Zt.to-kt),kt=Zt.to}}}function xa(ie,ae,he,de){var pe=!de&&he.widgetNode;pe&&ie.map.push(ie.pos,ie.pos+ae,pe),!de&&ie.cm.display.input.needsContentAttribute&&(pe||(pe=ie.content.appendChild(document.createElement("span"))),pe.setAttribute("cm-marker",he.id)),pe&&(ie.cm.display.input.setUneditable(pe),ie.content.appendChild(pe)),ie.pos+=ae,ie.trailingSpace=!1}function pl(ie,ae,he){var de=ie.markedSpans,pe=ie.text,De=0;if(!de){for(var Ze=1;Zert||Ma.collapsed&&uo.to==rt&&uo.from==rt)){if(uo.to!=null&&uo.to!=rt&&ti>uo.to&&(ti=uo.to,ar=""),Ma.className&&(tr+=" "+Ma.className),Ma.css&&(ui=(ui?ui+";":"")+Ma.css),Ma.startStyle&&uo.from==rt&&(br+=" "+Ma.startStyle),Ma.endStyle&&uo.to==ti&&(jo||(jo=[])).push(Ma.endStyle,uo.to),Ma.title&&((Eo||(Eo={})).title=Ma.title),Ma.attributes)for(var $s in Ma.attributes)(Eo||(Eo={}))[$s]=Ma.attributes[$s];Ma.collapsed&&(!_r||un(_r.marker,Ma)<0)&&(_r=uo)}else uo.from>rt&&ti>uo.from&&(ti=uo.from)}if(jo)for(var Ul=0;Ul=at)break;for(var qu=Math.min(at,ti);;){if(kn){var Tu=rt+kn.length;if(!_r){var Zl=Tu>qu?kn.slice(0,qu-rt):kn;ae.addToken(ae,Zl,Zt?Zt+tr:tr,br,rt+Zl.length==ti?ar:"",ui,Eo)}if(Tu>=qu){kn=kn.slice(qu-rt),rt=qu;break}rt=Tu,br=""}kn=pe.slice(De,De=he[kt++]),Zt=qo(he[kt++],ae.cm.options)}}}function wa(ie,ae,he){this.line=ae,this.rest=Mr(ae),this.size=this.rest?st(pt(this.rest))-he+1:1,this.node=this.text=null,this.hidden=Hn(ie,ae)}function Lo(ie,ae,he){for(var de=[],pe,De=ae;De2&&De.push((rt.bottom+kt.top)/2-he.top)}}De.push(he.bottom-he.top)}}function xc(ie,ae,he){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var de=0;dehe)return{map:ie.measure.maps[pe],cache:ie.measure.caches[pe],before:!0}}function Qc(ie,ae){ae=Qn(ae);var he=st(ae),de=ie.display.externalMeasured=new wa(ie.doc,ae,he);de.lineN=he;var pe=de.built=xn(ie,de);return de.text=pe.pre,Ve(ie.display.lineMeasure,pe.pre),de}function gu(ie,ae,he,de){return Tl(ie,xl(ie,ae),he,de)}function zl(ie,ae){if(ae>=ie.display.viewFrom&&ae=he.lineN&&aeae)&&(De=rt-at,pe=De-1,ae>=rt&&(Ze="right")),pe!=null){if(de=ie[kt+2],at==rt&&he==(de.insertLeft?"left":"right")&&(Ze=he),he=="left"&&pe==0)for(;kt&&ie[kt-2]==ie[kt-3]&&ie[kt-1].insertLeft;)de=ie[(kt-=3)+2],Ze="left";if(he=="right"&&pe==rt-at)for(;kt=0&&(he=ie[pe]).left==he.right;pe--);return he}function Jo(ie,ae,he,de){var pe=wc(ae.map,he,de),De=pe.node,Ze=pe.start,at=pe.end,rt=pe.collapse,kt;if(De.nodeType==3){for(var kn=0;kn<4;kn++){for(;Ze&&Kt(ae.line.text.charAt(pe.coverStart+Ze));)--Ze;for(;pe.coverStart+at0&&(rt=de="right");var Zt;ie.options.lineWrapping&&(Zt=De.getClientRects()).length>1?kt=Zt[de=="right"?Zt.length-1:0]:kt=De.getBoundingClientRect()}if(et&&yt<9&&!Ze&&(!kt||!kt.left&&!kt.right)){var ui=De.parentNode.getClientRects()[0];ui?kt={left:ui.left,right:ui.left+jl(ie.display),top:ui.top,bottom:ui.bottom}:kt=pu}for(var ti=kt.top-ae.rect.top,tr=kt.bottom-ae.rect.top,ar=(ti+tr)/2,br=ae.view.measure.heights,_r=0;_r=de.text.length?(rt=de.text.length,kt="before"):rt<=0&&(rt=0,kt="after"),!at)return Ze(kt=="before"?rt-1:rt,kt=="before");function kn(tr,ar,br){var _r=at[ar],Eo=_r.level==1;return Ze(br?tr-1:tr,Eo!=br)}var Zt=me(at,rt,kt),ui=xe,ti=kn(rt,Zt,kt=="before");return ui!=null&&(ti.other=kn(rt,ui,kt!="before")),ti}function Hu(ie,ae){var he=0;ae=Li(ie.doc,ae),ie.options.lineWrapping||(he=jl(ie.display)*ae.ch);var de=$t(ie.doc,ae.line),pe=kr(de)+vl(ie.display);return{left:he,right:he,top:pe,bottom:pe+de.height}}function Ol(ie,ae,he,de,pe){var De=nn(ie,ae,he);return De.xRel=pe,de&&(De.outside=de),De}function El(ie,ae,he){var de=ie.doc;if(he+=ie.display.viewOffset,he<0)return Ol(de.first,0,null,-1,-1);var pe=fn(de,he),De=de.first+de.size-1;if(pe>De)return Ol(de.first+de.size-1,$t(de,De).text.length,null,1,1);ae<0&&(ae=0);for(var Ze=$t(de,pe);;){var at=mi(ie,Ze,pe,ae,he),rt=Cn(Ze,at.ch+(at.xRel>0||at.outside>0?1:0));if(!rt)return at;var kt=rt.find(1);if(kt.line==pe)return kt;Ze=$t(de,pe=kt.line)}}function Hr(ie,ae,he,de){de-=Ls(ae);var pe=ae.text.length,De=Ge(function(Ze){return Tl(ie,he,Ze-1).bottom<=de},pe,0);return pe=Ge(function(Ze){return Tl(ie,he,Ze).top>de},De,pe),{begin:De,end:pe}}function Lu(ie,ae,he,de){he||(he=xl(ie,ae));var pe=xs(ie,ae,Tl(ie,he,de),"line").top;return Hr(ie,ae,he,pe)}function Wt(ie,ae,he,de){return ie.bottom<=he?!1:ie.top>he?!0:(de?ie.left:ie.right)>ae}function mi(ie,ae,he,de,pe){pe-=kr(ae);var De=xl(ie,ae),Ze=Ls(ae),at=0,rt=ae.text.length,kt=!0,kn=He(ae,ie.doc.direction);if(kn){var Zt=(ie.options.lineWrapping?Fu:Mu)(ie,ae,he,De,kn,de,pe);kt=Zt.level!=1,at=kt?Zt.from:Zt.to-1,rt=kt?Zt.to:Zt.from-1}var ui=null,ti=null,tr=Ge(function(da){var uo=Tl(ie,De,da);return uo.top+=Ze,uo.bottom+=Ze,Wt(uo,de,pe,!1)?(uo.top<=pe&&uo.left<=de&&(ui=da,ti=uo),!0):!1},at,rt),ar,br,_r=!1;if(ti){var Eo=de-ti.left=jo.bottom?1:0}return tr=qe(ae.text,tr,1),Ol(he,tr,br,_r,de-ar)}function Mu(ie,ae,he,de,pe,De,Ze){var at=Ge(function(Zt){var ui=pe[Zt],ti=ui.level!=1;return Wt(Fa(ie,nn(he,ti?ui.to:ui.from,ti?"before":"after"),"line",ae,de),De,Ze,!0)},0,pe.length-1),rt=pe[at];if(at>0){var kt=rt.level!=1,kn=Fa(ie,nn(he,kt?rt.from:rt.to,kt?"after":"before"),"line",ae,de);Wt(kn,De,Ze,!0)&&kn.top>Ze&&(rt=pe[at-1])}return rt}function Fu(ie,ae,he,de,pe,De,Ze){var at=Hr(ie,ae,de,Ze),rt=at.begin,kt=at.end;/\s/.test(ae.text.charAt(kt-1))&&kt--;for(var kn=null,Zt=null,ui=0;ui=kt||ti.to<=rt)){var tr=ti.level!=1,ar=Tl(ie,de,tr?Math.min(kt,ti.to)-1:Math.max(rt,ti.from)).right,br=arbr)&&(kn=ti,Zt=br)}}return kn||(kn=pe[pe.length-1]),kn.fromkt&&(kn={from:kn.from,to:kt,level:kn.level}),kn}var _l;function $l(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(_l==null){_l=Ye("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)_l.appendChild(document.createTextNode("x")),_l.appendChild(Ye("br"));_l.appendChild(document.createTextNode("x"))}Ve(ie.measure,_l);var he=_l.offsetHeight/50;return he>3&&(ie.cachedTextHeight=he),Ke(ie.measure),he||1}function jl(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=Ye("span","xxxxxxxxxx"),he=Ye("pre",[ae],"CodeMirror-line-like");Ve(ie.measure,he);var de=ae.getBoundingClientRect(),pe=(de.right-de.left)/10;return pe>2&&(ie.cachedCharWidth=pe),pe||10}function Pc(ie){for(var ae=ie.display,he={},de={},pe=ae.gutters.clientLeft,De=ae.gutters.firstChild,Ze=0;De;De=De.nextSibling,++Ze){var at=ie.display.gutterSpecs[Ze].className;he[at]=De.offsetLeft+De.clientLeft+pe,de[at]=De.clientWidth}return{fixedPos:Ic(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:he,gutterWidth:de,wrapperWidth:ae.wrapper.clientWidth}}function Ic(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function Ts(ie){var ae=$l(ie.display),he=ie.options.lineWrapping,de=he&&Math.max(5,ie.display.scroller.clientWidth/jl(ie.display)-3);return function(pe){if(Hn(ie.doc,pe))return 0;var De=0;if(pe.widgets)for(var Ze=0;Ze0&&(kt=$t(ie.doc,rt.line).text).length==rt.ch){var kn=ht(kt,kt.length,ie.options.tabSize)-kt.length;rt=nn(rt.line,Math.max(0,Math.round((De-yl(ie.display).left)/jl(ie.display))-kn))}return rt}function Il(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var he=ie.display.view,de=0;deae)&&(pe.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=pe.viewTo)Bn&&Ei(ie.doc,ae)pe.viewFrom?ol(ie):(pe.viewFrom+=de,pe.viewTo+=de);else if(ae<=pe.viewFrom&&he>=pe.viewTo)ol(ie);else if(ae<=pe.viewFrom){var De=je(ie,he,he+de,1);De?(pe.view=pe.view.slice(De.index),pe.viewFrom=De.lineN,pe.viewTo+=de):ol(ie)}else if(he>=pe.viewTo){var Ze=je(ie,ae,ae,-1);Ze?(pe.view=pe.view.slice(0,Ze.index),pe.viewTo=Ze.lineN):ol(ie)}else{var at=je(ie,ae,ae,-1),rt=je(ie,he,he+de,1);at&&rt?(pe.view=pe.view.slice(0,at.index).concat(Lo(ie,at.lineN,rt.lineN)).concat(pe.view.slice(rt.index)),pe.viewTo+=de):ol(ie)}var kt=pe.externalMeasured;kt&&(he=pe.lineN&&ae=de.viewTo)){var De=de.view[Il(ie,ae)];if(De.node!=null){var Ze=De.changes||(De.changes=[]);At(Ze,he)==-1&&Ze.push(he)}}}function ol(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function je(ie,ae,he,de){var pe=Il(ie,ae),De,Ze=ie.display.view;if(!Bn||he==ie.doc.first+ie.doc.size)return{index:pe,lineN:he};for(var at=ie.display.viewFrom,rt=0;rt0){if(pe==Ze.length-1)return null;De=at+Ze[pe].size-ae,pe++}else De=at-ae;ae+=De,he+=De}for(;Ei(ie.doc,he)!=he;){if(pe==(de<0?0:Ze.length-1))return null;he+=de*Ze[pe-(de<0?1:0)].size,pe+=de}return{index:pe,lineN:he}}function nt(ie,ae,he){var de=ie.display,pe=de.view;pe.length==0||ae>=de.viewTo||he<=de.viewFrom?(de.view=Lo(ie,ae,he),de.viewFrom=ae):(de.viewFrom>ae?de.view=Lo(ie,ae,de.viewFrom).concat(de.view):de.viewFromhe&&(de.view=de.view.slice(0,Il(ie,he)))),de.viewTo=he}function lt(ie){for(var ae=ie.display.view,he=0,de=0;de=ie.display.viewTo||at.to().line0?ae.blinker=setInterval(function(){ie.hasFocus()||Qi(ie),ae.cursorDiv.style.visibility=(he=!he)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function Ni(ie){ie.state.focused||(ie.display.input.focus(),Mi(ie))}function sr(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,Qi(ie))},100)}function Mi(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(rn(ie,"focus",ie,ae),ie.state.focused=!0,Ht(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),ke&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),pi(ie))}function Qi(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&(rn(ie,"blur",ie,ae),ie.state.focused=!1,Ie(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function Ai(ie){for(var ae=ie.display,he=ae.lineDiv.offsetTop,de=0;de.005||kn<-.005)&&(Wn(pe.line,Ze),Sr(pe.line),pe.rest))for(var Zt=0;Ztie.display.sizerWidth){var ui=Math.ceil(at/jl(ie.display));ui>ie.display.maxLineLength&&(ie.display.maxLineLength=ui,ie.display.maxLine=pe.line,ie.display.maxLineChanged=!0)}}}}function Sr(ie){if(ie.widgets)for(var ae=0;ae=Ze&&(De=fn(ae,kr($t(ae,rt))-ie.wrapper.clientHeight),Ze=rt)}return{from:De,to:Math.max(Ze,De+1)}}function _i(ie,ae){if(!In(ie,"scrollCursorIntoView")){var he=ie.display,de=he.sizer.getBoundingClientRect(),pe=null;if(ae.top+de.top<0?pe=!0:ae.bottom+de.top>(window.innerHeight||document.documentElement.clientHeight)&&(pe=!1),pe!=null&&!Ct){var De=Ye("div","\u200B",null,`position: absolute; top: `+(ae.top-he.viewOffset-vl(ie.display))+`px; height: `+(ae.bottom-ae.top+rl(ie)+he.barHeight)+`px; left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(De),De.scrollIntoView(pe),ie.display.lineSpace.removeChild(De)}}}function xr(ie,ae,he,de){de==null&&(de=0);var pe;!ie.options.lineWrapping&&ae==he&&(ae=ae.ch?nn(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,he=ae.sticky=="before"?nn(ae.line,ae.ch+1,"before"):ae);for(var De=0;De<5;De++){var Ze=!1,at=Fa(ie,ae),rt=!he||he==ae?at:Fa(ie,he);pe={left:Math.min(at.left,rt.left),top:Math.min(at.top,rt.top)-de,right:Math.max(at.left,rt.left),bottom:Math.max(at.bottom,rt.bottom)+de};var kt=no(ie,pe),kn=ie.doc.scrollTop,Zt=ie.doc.scrollLeft;if(kt.scrollTop!=null&&(ya(ie,kt.scrollTop),Math.abs(ie.doc.scrollTop-kn)>1&&(Ze=!0)),kt.scrollLeft!=null&&(Ha(ie,kt.scrollLeft),Math.abs(ie.doc.scrollLeft-Zt)>1&&(Ze=!0)),!Ze)break}return pe}function co(ie,ae){var he=no(ie,ae);he.scrollTop!=null&&ya(ie,he.scrollTop),he.scrollLeft!=null&&Ha(ie,he.scrollLeft)}function no(ie,ae){var he=ie.display,de=$l(ie.display);ae.top<0&&(ae.top=0);var pe=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:he.scroller.scrollTop,De=oc(ie),Ze={};ae.bottom-ae.top>De&&(ae.bottom=ae.top+De);var at=ie.doc.height+fu(he),rt=ae.topat-de;if(ae.toppe+De){var kn=Math.min(ae.top,(kt?at:ae.bottom)-De);kn!=pe&&(Ze.scrollTop=kn)}var Zt=ie.options.fixedGutter?0:he.gutters.offsetWidth,ui=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:he.scroller.scrollLeft-Zt,ti=Sl(ie)-he.gutters.offsetWidth,tr=ae.right-ae.left>ti;return tr&&(ae.right=ae.left+ti),ae.left<10?Ze.scrollLeft=0:ae.leftti+ui-3&&(Ze.scrollLeft=ae.right+(tr?0:10)-ti),Ze}function mo(ie,ae){ae!=null&&(la(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function vo(ie){la(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function ho(ie,ae,he){(ae!=null||he!=null)&&la(ie),ae!=null&&(ie.curOp.scrollLeft=ae),he!=null&&(ie.curOp.scrollTop=he)}function ur(ie,ae){la(ie),ie.curOp.scrollToPos=ae}function la(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var he=Hu(ie,ae.from),de=Hu(ie,ae.to);ea(ie,he,de,ae.margin)}}function ea(ie,ae,he,de){var pe=no(ie,{left:Math.min(ae.left,he.left),top:Math.min(ae.top,he.top)-de,right:Math.max(ae.right,he.right),bottom:Math.max(ae.bottom,he.bottom)+de});ho(ie,pe.scrollLeft,pe.scrollTop)}function ya(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(Se||Fr(ie,{top:ae}),Va(ie,ae,!0),Se&&Fr(ie),bi(ie,100))}function Va(ie,ae,he){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!he)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function Ha(ie,ae,he,de){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((he?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!de)&&(ie.doc.scrollLeft=ae,Mo(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function Ba(ie){var ae=ie.display,he=ae.gutters.offsetWidth,de=Math.round(ie.doc.height+fu(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?he:0,docHeight:de,scrollHeight:de+rl(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:he}}var hs=function(ie,ae,he){this.cm=he;var de=this.vert=Ye("div",[Ye("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),pe=this.horiz=Ye("div",[Ye("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");de.tabIndex=pe.tabIndex=-1,ie(de),ie(pe),mt(de,"scroll",function(){de.clientHeight&&ae(de.scrollTop,"vertical")}),mt(pe,"scroll",function(){pe.clientWidth&&ae(pe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,et&&yt<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};hs.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,he=ie.scrollHeight>ie.clientHeight+1,de=ie.nativeBarWidth;if(he){this.vert.style.display="block",this.vert.style.bottom=ae?de+"px":"0";var pe=ie.viewHeight-(ae?de:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+pe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=he?de+"px":"0",this.horiz.style.left=ie.barLeft+"px";var De=ie.viewWidth-ie.barLeft-(he?de:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+De)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(de==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:he?de:0,bottom:ae?de:0}},hs.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},hs.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},hs.prototype.zeroWidthHack=function(){var ie=ce&&!dt?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Re,this.disableVert=new Re},hs.prototype.enableZeroWidthBar=function(ie,ae,he){ie.style.pointerEvents="auto";function de(){var pe=ie.getBoundingClientRect(),De=he=="vert"?document.elementFromPoint(pe.right-1,(pe.top+pe.bottom)/2):document.elementFromPoint((pe.right+pe.left)/2,pe.bottom-1);De!=ie?ie.style.pointerEvents="none":ae.set(1e3,de)}ae.set(1e3,de)},hs.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var La=function(){};La.prototype.update=function(){return{bottom:0,right:0}},La.prototype.setScrollLeft=function(){},La.prototype.setScrollTop=function(){},La.prototype.clear=function(){};function Ca(ie,ae){ae||(ae=Ba(ie));var he=ie.display.barWidth,de=ie.display.barHeight;Ta(ie,ae);for(var pe=0;pe<4&&he!=ie.display.barWidth||de!=ie.display.barHeight;pe++)he!=ie.display.barWidth&&ie.options.lineWrapping&&Ai(ie),Ta(ie,Ba(ie)),he=ie.display.barWidth,de=ie.display.barHeight}function Ta(ie,ae){var he=ie.display,de=he.scrollbars.update(ae);he.sizer.style.paddingRight=(he.barWidth=de.right)+"px",he.sizer.style.paddingBottom=(he.barHeight=de.bottom)+"px",he.heightForcer.style.borderBottom=de.bottom+"px solid transparent",de.right&&de.bottom?(he.scrollbarFiller.style.display="block",he.scrollbarFiller.style.height=de.bottom+"px",he.scrollbarFiller.style.width=de.right+"px"):he.scrollbarFiller.style.display="",de.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(he.gutterFiller.style.display="block",he.gutterFiller.style.height=de.bottom+"px",he.gutterFiller.style.width=ae.gutterWidth+"px"):he.gutterFiller.style.display=""}var os={native:hs,null:La};function fs(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&&Ie(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new os[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),mt(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,he){he=="horizontal"?Ha(ie,ae):ya(ie,ae)},ie),ie.display.scrollbars.addClass&&Ht(ie.display.wrapper,ie.display.scrollbars.addClass)}var Qa=0;function Oa(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Qa},Ka(ie.curOp)}function Is(ie){var ae=ie.curOp;ae&&ko(ae,function(he){for(var de=0;de=he.viewTo)||he.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new wi(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function ft(ie){ie.updatedDisplay=ie.mustUpdate&&yr(ie.cm,ie.update)}function Xt(ie){var ae=ie.cm,he=ae.display;ie.updatedDisplay&&Ai(ae),ie.barMeasure=Ba(ae),he.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=gu(ae,he.maxLine,he.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(he.scroller.clientWidth,he.sizer.offsetLeft+ie.adjustWidthTo+rl(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,he.sizer.offsetLeft+ie.adjustWidthTo-Sl(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=he.input.prepareSelection())}function _t(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft=ie.display.viewTo)){var he=+new Date+ie.options.workTime,de=$r(ie,ae.highlightFrontier),pe=[];ae.iter(de.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(De){if(de.line>=ie.display.viewFrom){var Ze=De.styles,at=De.text.length>ie.options.maxHighlightLength?Gt(ae.mode,de.state):null,rt=Nr(ie,De,de,!0);at&&(de.state=at),De.styles=rt.styles;var kt=De.styleClasses,kn=rt.classes;kn?De.styleClasses=kn:kt&&(De.styleClasses=null);for(var Zt=!Ze||Ze.length!=De.styles.length||kt!=kn&&(!kt||!kn||kt.bgClass!=kn.bgClass||kt.textClass!=kn.textClass),ui=0;!Zt&&uihe)return bi(ie,ie.options.workDelay),!0}),ae.highlightFrontier=de.line,ae.modeFrontier=Math.max(ae.modeFrontier,de.line),pe.length&&gn(ie,function(){for(var De=0;De=he.viewFrom&&ae.visible.to<=he.viewTo&&(he.updateLineNumbers==null||he.updateLineNumbers>=he.viewTo)&&he.renderedView==he.view&<(ie)==0)return!1;Wr(ie)&&(ol(ie),ae.dims=Pc(ie));var pe=de.first+de.size,De=Math.max(ae.visible.from-ie.options.viewportMargin,de.first),Ze=Math.min(pe,ae.visible.to+ie.options.viewportMargin);he.viewFromZe&&he.viewTo-Ze<20&&(Ze=Math.min(pe,he.viewTo)),Bn&&(De=Ei(ie.doc,De),Ze=Oi(ie.doc,Ze));var at=De!=he.viewFrom||Ze!=he.viewTo||he.lastWrapHeight!=ae.wrapperHeight||he.lastWrapWidth!=ae.wrapperWidth;nt(ie,De,Ze),he.viewOffset=kr($t(ie.doc,he.viewFrom)),ie.display.mover.style.top=he.viewOffset+"px";var rt=lt(ie);if(!at&&rt==0&&!ae.force&&he.renderedView==he.view&&(he.updateLineNumbers==null||he.updateLineNumbers>=he.viewTo))return!1;var kt=Ui(ie);return rt>4&&(he.lineDiv.style.display="none"),Cr(ie,he.updateLineNumbers,ae.dims),rt>4&&(he.lineDiv.style.display=""),he.renderedView=he.view,zi(kt),Ke(he.cursorDiv),Ke(he.selectionDiv),he.gutters.style.height=he.sizer.style.minHeight=0,at&&(he.lastWrapHeight=ae.wrapperHeight,he.lastWrapWidth=ae.wrapperWidth,bi(ie,400)),he.updateLineNumbers=null,!0}function Zi(ie,ae){for(var he=ae.viewport,de=!0;;de=!1){if(!de||!ie.options.lineWrapping||ae.oldDisplayWidth==Sl(ie)){if(he&&he.top!=null&&(he={top:Math.min(ie.doc.height+fu(ie.display)-oc(ie),he.top)}),ae.visible=si(ie.display,ie.doc,he),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else de&&(ae.visible=si(ie.display,ie.doc,he));if(!yr(ie,ae))break;Ai(ie);var pe=Ba(ie);qt(ie),Ca(ie,pe),yo(ie,pe),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function Fr(ie,ae){var he=new wi(ie,ae);if(yr(ie,he)){Ai(ie),Zi(ie,he);var de=Ba(ie);qt(ie),Ca(ie,de),yo(ie,de),he.finish()}}function Cr(ie,ae,he){var de=ie.display,pe=ie.options.lineNumbers,De=de.lineDiv,Ze=De.firstChild;function at(tr){var ar=tr.nextSibling;return ke&&ce&&ie.display.currentWheelTarget==tr?tr.style.display="none":tr.parentNode.removeChild(tr),ar}for(var rt=de.view,kt=de.viewFrom,kn=0;kn-1&&(ti=!1),ka(ie,Zt,kt,he)),ti&&(Ke(Zt.lineNumber),Zt.lineNumber.appendChild(document.createTextNode(_n(ie.options,kt)))),Ze=Zt.node.nextSibling}kt+=Zt.size}for(;Ze;)Ze=at(Ze)}function Tr(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function yo(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+rl(ie)+"px"}function Mo(ie){var ae=ie.display,he=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var de=Ic(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,pe=ae.gutters.offsetWidth,De=de+"px",Ze=0;ZeZe.clientWidth,rt=Ze.scrollHeight>Ze.clientHeight;if(de&&at||pe&&rt){if(pe&&ce&&ke){e:for(var kt=ae.target,kn=De.view;kt!=Ze;kt=kt.parentNode)for(var Zt=0;Zt=0&&hn(ie,de.to())<=0)return he}return-1};var Br=function(ie,ae){this.anchor=ie,this.head=ae};Br.prototype.from=function(){return oi(this.anchor,this.head)},Br.prototype.to=function(){return yi(this.anchor,this.head)},Br.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Go(ie,ae,he){var de=ie&&ie.options.selectionsMayTouch,pe=ae[he];ae.sort(function(ui,ti){return hn(ui.from(),ti.from())}),he=At(ae,pe);for(var De=1;De0:rt>=0){var kt=oi(at.from(),Ze.from()),kn=yi(at.to(),Ze.to()),Zt=at.empty()?Ze.from()==Ze.head:at.from()==at.head;De<=he&&--he,ae.splice(--De,2,new Br(Zt?kn:kt,Zt?kt:kn))}}return new Do(ae,he)}function _o(ie,ae){return new Do([new Br(ie,ae||ie)],0)}function na(ie){return ie.text?nn(ie.from.line+ie.text.length-1,pt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function ta(ie,ae){if(hn(ie,ae.from)<0)return ie;if(hn(ie,ae.to)<=0)return na(ae);var he=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,de=ie.ch;return ie.line==ae.to.line&&(de+=na(ae).ch-ae.to.ch),nn(he,de)}function _a(ie,ae){for(var he=[],de=0;de1&&ie.remove(at.line+1,tr-1),ie.insert(at.line+1,_r)}Hi(ie,"change",ie,ae)}function ts(ie,ae,he){function de(pe,De,Ze){if(pe.linked)for(var at=0;at1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),pt(ie.done)}function Xo(ie,ae,he,de){var pe=ie.history;pe.undone.length=0;var De=+new Date,Ze,at;if((pe.lastOp==de||pe.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&pe.lastModTime>De-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(Ze=Vr(pe,pe.lastOp==de)))at=pt(Ze.changes),hn(ae.from,ae.to)==0&&hn(ae.from,at.to)==0?at.to=na(ae):Ze.changes.push(oo(ie,ae));else{var rt=pt(pe.done);for((!rt||!rt.ranges)&&Rs(ie.sel,pe.done),Ze={changes:[oo(ie,ae)],generation:pe.generation},pe.done.push(Ze);pe.done.length>pe.undoDepth;)pe.done.shift(),pe.done[0].ranges||pe.done.shift()}pe.done.push(he),pe.generation=++pe.maxGeneration,pe.lastModTime=pe.lastSelTime=De,pe.lastOp=pe.lastSelOp=de,pe.lastOrigin=pe.lastSelOrigin=ae.origin,at||rn(ie,"historyAdded")}function ua(ie,ae,he,de){var pe=ae.charAt(0);return pe=="*"||pe=="+"&&he.ranges.length==de.ranges.length&&he.somethingSelected()==de.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function al(ie,ae,he,de){var pe=ie.history,De=de&&de.origin;he==pe.lastSelOp||De&&pe.lastSelOrigin==De&&(pe.lastModTime==pe.lastSelTime&&pe.lastOrigin==De||ua(ie,De,pt(pe.done),ae))?pe.done[pe.done.length-1]=ae:Rs(ae,pe.done),pe.lastSelTime=+new Date,pe.lastSelOrigin=De,pe.lastSelOp=he,de&&de.clearRedo!==!1&&$i(pe.undone)}function Rs(ie,ae){var he=pt(ae);he&&he.ranges&&he.equals(ie)||ae.push(ie)}function Al(ie,ae,he,de){var pe=ae["spans_"+ie.id],De=0;ie.iter(Math.max(ie.first,he),Math.min(ie.first+ie.size,de),function(Ze){Ze.markedSpans&&((pe||(pe=ae["spans_"+ie.id]={}))[De]=Ze.markedSpans),++De})}function Na(ie){if(!ie)return null;for(var ae,he=0;he-1&&(pt(at)[Zt]=kt[Zt],delete kt[Zt])}}return de}function Ll(ie,ae,he,de){if(de){var pe=ie.anchor;if(he){var De=hn(ae,pe)<0;De!=hn(he,pe)<0?(pe=ae,ae=he):De!=hn(ae,he)<0&&(ae=he)}return new Br(pe,ae)}else return new Br(he||ae,ae)}function Wa(ie,ae,he,de,pe){pe==null&&(pe=ie.cm&&(ie.cm.display.shift||ie.extend)),as(ie,new Do([Ll(ie.sel.primary(),ae,he,pe)],0),de)}function $a(ie,ae,he){for(var de=[],pe=ie.cm&&(ie.cm.display.shift||ie.extend),De=0;De=ae.ch:at.to>ae.ch))){if(pe&&(rn(rt,"beforeCursorEnter"),rt.explicitlyCleared))if(De.markedSpans){--Ze;continue}else break;if(!rt.atomic)continue;if(he){var Zt=rt.find(de<0?1:-1),ui=void 0;if((de<0?kn:kt)&&(Zt=vu(ie,Zt,-de,Zt&&Zt.line==ae.line?De:null)),Zt&&Zt.line==ae.line&&(ui=hn(Zt,he))&&(de<0?ui<0:ui>0))return Ys(ie,Zt,ae,de,pe)}var ti=rt.find(de<0?-1:1);return(de<0?kt:kn)&&(ti=vu(ie,ti,de,ti.line==ae.line?De:null)),ti?Ys(ie,ti,ae,de,pe):null}}return ae}function Wu(ie,ae,he,de,pe){var De=de||1,Ze=Ys(ie,ae,he,De,pe)||!pe&&Ys(ie,ae,he,De,!0)||Ys(ie,ae,he,-De,pe)||!pe&&Ys(ie,ae,he,-De,!0);return Ze||(ie.cantEdit=!0,nn(ie.first,0))}function vu(ie,ae,he,de){return he<0&&ae.ch==0?ae.line>ie.first?Li(ie,nn(ae.line-1)):null:he>0&&ae.ch==(de||$t(ie,ae.line)).text.length?ae.line=0;--pe)gs(ie,{from:de[pe].from,to:de[pe].to,text:pe?[""]:ae.text,origin:ae.origin});else gs(ie,ae)}}function gs(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&hn(ae.from,ae.to)==0)){var he=_a(ie,ae);Xo(ie,ae,he,ie.cm?ie.cm.curOp.id:NaN),ql(ie,ae,he,gr(ie,ae));var de=[];ts(ie,function(pe,De){!De&&At(de,pe.history)==-1&&(ss(pe.history,ae),de.push(pe.history)),ql(pe,ae,null,gr(pe,ae))})}}function Nu(ie,ae,he){var de=ie.cm&&ie.cm.state.suppressEdits;if(!(de&&!he)){for(var pe=ie.history,De,Ze=ie.sel,at=ae=="undo"?pe.done:pe.undone,rt=ae=="undo"?pe.undone:pe.done,kt=0;kt=0;--ti){var tr=ui(ti);if(tr)return tr.v}}}}function Cc(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new Do(Un(ie.sel.ranges,function(pe){return new Br(nn(pe.anchor.line+ae,pe.anchor.ch),nn(pe.head.line+ae,pe.head.ch))}),ie.sel.primIndex),ie.cm)){ws(ie.cm,ie.first,ie.first-ae,ae);for(var he=ie.cm.display,de=he.viewFrom;deie.lastLine())){if(ae.from.lineDe&&(ae={from:ae.from,to:nn(De,$t(ie,De).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=Tt(ie,ae.from,ae.to),he||(he=_a(ie,ae)),ie.cm?ac(ie.cm,ae,de):Ia(ie,ae,de),Js(ie,he,Ft),ie.cantEdit&&Wu(ie,nn(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function ac(ie,ae,he){var de=ie.doc,pe=ie.display,De=ae.from,Ze=ae.to,at=!1,rt=De.line;ie.options.lineWrapping||(rt=st(Qn($t(de,De.line))),de.iter(rt,Ze.line+1,function(ti){if(ti==pe.maxLine)return at=!0,!0})),de.sel.contains(ae.from,ae.to)>-1&&Gn(ie),Ia(de,ae,he,Ts(ie)),ie.options.lineWrapping||(de.iter(rt,De.line+ae.text.length,function(ti){var tr=wo(ti);tr>pe.maxLineLength&&(pe.maxLine=ti,pe.maxLineLength=tr,pe.maxLineChanged=!0,at=!1)}),at&&(ie.curOp.updateMaxLine=!0)),Yi(de,De.line),bi(ie,400);var kt=ae.text.length-(Ze.line-De.line)-1;ae.full?ws(ie):De.line==Ze.line&&ae.text.length==1&&!Ua(ie.doc,ae)?va(ie,De.line,"text"):ws(ie,De.line,Ze.line+1,kt);var kn=Pi(ie,"changes"),Zt=Pi(ie,"change");if(Zt||kn){var ui={from:De,to:Ze,text:ae.text,removed:ae.removed,origin:ae.origin};Zt&&Hi(ie,"change",ie,ui),kn&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(ui)}ie.display.selForContextMenu=null}function sc(ie,ae,he,de,pe){var De;de||(de=he),hn(de,he)<0&&(De=[de,he],he=De[0],de=De[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),Ps(ie,{from:he,to:de,text:ae,origin:pe})}function yu(ie,ae,he,de){he1||!(this.children[0]instanceof ps))){var at=[];this.collapse(at),this.children=[new ps(at)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae50){for(var Ze=pe.lines.length%25+25,at=Ze;at10);ie.parent.maybeSpill()}},iterN:function(ie,ae,he){for(var de=0;deie.display.maxLineLength&&(ie.display.maxLine=kt,ie.display.maxLineLength=kn,ie.display.maxLineChanged=!0)}de!=null&&ie&&this.collapsed&&ws(ie,de,pe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&zo(ie.doc)),ie&&Hi(ie,"markerCleared",ie,this,de,pe),ae&&Is(ie),this.parent&&this.parent.clear()}},pn.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var he,de,pe=0;pe0||Ze==0&&De.clearWhenEmpty!==!1)return De;if(De.replacedWith&&(De.collapsed=!0,De.widgetNode=ut("span",[De.replacedWith],"CodeMirror-widget"),de.handleMouseEvents||De.widgetNode.setAttribute("cm-ignore-events","true"),de.insertLeft&&(De.widgetNode.insertLeft=!0)),De.collapsed){if(ii(ie,ae.line,ae,he,De)||ae.line!=he.line&&ii(ie,he.line,ae,he,De))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fn()}De.addToHistory&&Xo(ie,{from:ae,to:he,origin:"markText"},ie.sel,NaN);var at=ae.line,rt=ie.cm,kt;if(ie.iter(at,he.line+1,function(Zt){rt&&De.collapsed&&!rt.options.lineWrapping&&Qn(Zt)==rt.display.maxLine&&(kt=!0),De.collapsed&&at!=ae.line&&Wn(Zt,0),Ao(Zt,new fr(De,at==ae.line?ae.ch:null,at==he.line?he.ch:null)),++at}),De.collapsed&&ie.iter(ae.line,he.line+1,function(Zt){Hn(ie,Zt)&&Wn(Zt,0)}),De.clearOnEnter&&mt(De,"beforeCursorEnter",function(){return De.clear()}),De.readOnly&&(Lr(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),De.collapsed&&(De.id=++uh,De.atomic=!0),rt){if(kt&&(rt.curOp.updateMaxLine=!0),De.collapsed)ws(rt,ae.line,he.line+1);else if(De.className||De.startStyle||De.endStyle||De.css||De.attributes||De.title)for(var kn=ae.line;kn<=he.line;kn++)va(rt,kn,"text");De.atomic&&zo(rt.doc),Hi(rt,"markerAdded",rt,De)}return De}var bc=function(ie,ae){this.markers=ie,this.primary=ae;for(var he=0;he=0;rt--)Ps(this,de[rt]);at?Sa(this,at):this.cm&&vo(this.cm)}),undo:Vn(function(){Nu(this,"undo")}),redo:Vn(function(){Nu(this,"redo")}),undoSelection:Vn(function(){Nu(this,"undo",!0)}),redoSelection:Vn(function(){Nu(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,he=0,de=0;de=ie.ch)&&ae.push(pe.marker.parent||pe.marker)}return ae},findMarks:function(ie,ae,he){ie=Li(this,ie),ae=Li(this,ae);var de=[],pe=ie.line;return this.iter(ie.line,ae.line+1,function(De){var Ze=De.markedSpans;if(Ze)for(var at=0;at=rt.to||rt.from==null&&pe!=ie.line||rt.from!=null&&pe==ae.line&&rt.from>=ae.ch)&&(!he||he(rt.marker))&&de.push(rt.marker.parent||rt.marker)}++pe}),de},getAllMarks:function(){var ie=[];return this.iter(function(ae){var he=ae.markedSpans;if(he)for(var de=0;deie)return ae=ie,!0;ie-=De,++he}),Li(this,nn(he,ae))},indexFromPos:function(ie){ie=Li(this,ie);var ae=ie.ch;if(ie.lineae&&(ae=ie.from),ie.to!=null&&ie.to-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var kn=ie.dataTransfer.getData("Text");if(kn){var Zt;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Zt=ae.listSelections()),Js(ae.doc,_o(he,he)),Zt)for(var ui=0;ui=0;at--)sc(ie.doc,"",de[at].from,de[at].to,"+delete");vo(ie)})}function Xd(ie,ae,he){var de=qe(ie.text,ae+he,he);return de<0||de>ie.text.length?null:de}function sl(ie,ae,he){var de=Xd(ie,ae.ch,he);return de==null?null:new nn(ae.line,de,he<0?"after":"before")}function Ya(ie,ae,he,de,pe){if(ie){ae.doc.direction=="rtl"&&(pe=-pe);var De=He(he,ae.doc.direction);if(De){var Ze=pe<0?pt(De):De[0],at=pe<0==(Ze.level==1),rt=at?"after":"before",kt;if(Ze.level>0||ae.doc.direction=="rtl"){var kn=xl(ae,he);kt=pe<0?he.text.length-1:0;var Zt=Tl(ae,kn,kt).top;kt=Ge(function(ui){return Tl(ae,kn,ui).top==Zt},pe<0==(Ze.level==1)?Ze.from:Ze.to-1,kt),rt=="before"&&(kt=Xd(he,kt,1))}else kt=pe<0?Ze.to:Ze.from;return new nn(de,kt,rt)}}return new nn(de,pe<0?he.text.length:0,pe<0?"before":"after")}function Es(ie,ae,he,de){var pe=He(ae,ie.doc.direction);if(!pe)return sl(ae,he,de);he.ch>=ae.text.length?(he.ch=ae.text.length,he.sticky="before"):he.ch<=0&&(he.ch=0,he.sticky="after");var De=me(pe,he.ch,he.sticky),Ze=pe[De];if(ie.doc.direction=="ltr"&&Ze.level%2==0&&(de>0?Ze.to>he.ch:Ze.from=Ze.from&&ui>=kn.begin)){var ti=Zt?"before":"after";return new nn(he.line,ui,ti)}}var tr=function(_r,Eo,fo){for(var jo=function($s,Ul){return Ul?new nn(he.line,at($s,1),"before"):new nn(he.line,$s,"after")};_r>=0&&_r0==(da.level!=1),Ma=uo?fo.begin:at(fo.end,-1);if(da.from<=Ma&&Ma0?kn.end:at(kn.begin,-1);return br!=null&&!(de>0&&br==ae.text.length)&&(ar=tr(de>0?0:pe.length-1,de,kt(br)),ar)?ar:null}var Dl={selectAll:qa,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),Ft)},killLine:function(ie){return Hl(ie,function(ae){if(ae.empty()){var he=$t(ie.doc,ae.head.line).text.length;return ae.head.ch==he&&ae.head.line0)pe=new nn(pe.line,pe.ch+1),ie.replaceRange(De.charAt(pe.ch-1)+De.charAt(pe.ch-2),nn(pe.line,pe.ch-2),pe,"+transpose");else if(pe.line>ie.doc.first){var Ze=$t(ie.doc,pe.line-1).text;Ze&&(pe=new nn(pe.line,1),ie.replaceRange(De.charAt(0)+ie.doc.lineSeparator()+Ze.charAt(Ze.length-1),nn(pe.line-1,Ze.length-1),pe,"+transpose"))}}he.push(new Br(pe,pe))}ie.setSelections(he)})},newlineAndIndent:function(ie){return gn(ie,function(){for(var ae=ie.listSelections(),he=ae.length-1;he>=0;he--)ie.replaceRange(ie.doc.lineSeparator(),ae[he].anchor,ae[he].head,"+input");ae=ie.listSelections();for(var de=0;deie&&hn(ae,this.pos)==0&&he==this.button};var gh,Ad;function Gf(ie,ae){var he=+new Date;return Ad&&Ad.compare(he,ie,ae)?(gh=Ad=null,"triple"):gh&&gh.compare(he,ie,ae)?(Ad=new Vf(he,ie,ae),gh=null,"double"):(gh=new Vf(he,ie,ae),Ad=null,"single")}function Hc(ie){var ae=this,he=ae.display;if(!(In(ae,ie)||he.activeTouch&&he.input.supportsTouch())){if(he.input.ensurePolled(),he.shift=ie.shiftKey,Nl(he,ie)){ke||(he.scroller.draggable=!1,setTimeout(function(){return he.scroller.draggable=!0},100));return}if(!ca(ae,ie)){var de=wl(ae,ie),pe=Ir(ie),De=de?Gf(de,pe):"single";window.focus(),pe==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(de&&Yf(ae,pe,de,De,ie))&&(pe==1?de?xf(ae,de,De,ie):Gr(ie)==he.scroller&&Gi(ie):pe==2?(de&&Wa(ae.doc,de),setTimeout(function(){return he.input.focus()},20)):pe==3&&(Ne?ae.display.input.onContextMenu(ie):sr(ae)))}}}function Yf(ie,ae,he,de,pe){var De="Click";return de=="double"?De="Double"+De:de=="triple"&&(De="Triple"+De),De=(ae==1?"Left":ae==2?"Middle":"Right")+De,uc(ie,Ud(De,pe),pe,function(Ze){if(typeof Ze=="string"&&(Ze=Dl[Ze]),!Ze)return!1;var at=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),at=Ze(ie,he)!=mn}finally{ie.state.suppressEdits=!1}return at})}function Wh(ie,ae,he){var de=ie.getOption("configureMouse"),pe=de?de(ie,ae,he):{};if(pe.unit==null){var De=se?he.shiftKey&&he.metaKey:he.altKey;pe.unit=De?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(pe.extend==null||ie.doc.extend)&&(pe.extend=ie.doc.extend||he.shiftKey),pe.addNew==null&&(pe.addNew=ce?he.metaKey:he.ctrlKey),pe.moveOnDrag==null&&(pe.moveOnDrag=!(ce?he.altKey:he.ctrlKey)),pe}function xf(ie,ae,he,de){et?setTimeout(Lt(Ni,ie),0):ie.curOp.focus=Qe();var pe=Wh(ie,he,de),De=ie.doc.sel,Ze;ie.options.dragDrop&&wr&&!ie.isReadOnly()&&he=="single"&&(Ze=De.contains(ae))>-1&&(hn((Ze=De.ranges[Ze]).from(),ae)<0||ae.xRel>0)&&(hn(Ze.to(),ae)>0||ae.xRel<0)?Zh(ie,de,ae,pe):up(ie,de,ae,pe)}function Zh(ie,ae,he,de){var pe=ie.display,De=!1,Ze=Jn(ie,function(kt){ke&&(pe.scroller.draggable=!1),ie.state.draggingText=!1,Pn(pe.wrapper.ownerDocument,"mouseup",Ze),Pn(pe.wrapper.ownerDocument,"mousemove",at),Pn(pe.scroller,"dragstart",rt),Pn(pe.scroller,"drop",Ze),De||(Gi(kt),de.addNew||Wa(ie.doc,he,null,null,de.extend),ke&&!gt||et&&yt==9?setTimeout(function(){pe.wrapper.ownerDocument.body.focus({preventScroll:!0}),pe.input.focus()},20):pe.input.focus())}),at=function(kt){De=De||Math.abs(ae.clientX-kt.clientX)+Math.abs(ae.clientY-kt.clientY)>=10},rt=function(){return De=!0};ke&&(pe.scroller.draggable=!0),ie.state.draggingText=Ze,Ze.copy=!de.moveOnDrag,pe.scroller.dragDrop&&pe.scroller.dragDrop(),mt(pe.wrapper.ownerDocument,"mouseup",Ze),mt(pe.wrapper.ownerDocument,"mousemove",at),mt(pe.scroller,"dragstart",rt),mt(pe.scroller,"drop",Ze),sr(ie),setTimeout(function(){return pe.input.focus()},20)}function Uf(ie,ae,he){if(he=="char")return new Br(ae,ae);if(he=="word")return ie.findWordAt(ae);if(he=="line")return new Br(nn(ae.line,0),Li(ie.doc,nn(ae.line+1,0)));var de=he(ie,ae);return new Br(de.from,de.to)}function up(ie,ae,he,de){var pe=ie.display,De=ie.doc;Gi(ae);var Ze,at,rt=De.sel,kt=rt.ranges;if(de.addNew&&!de.extend?(at=De.sel.contains(he),at>-1?Ze=kt[at]:Ze=new Br(he,he)):(Ze=De.sel.primary(),at=De.sel.primIndex),de.unit=="rectangle")de.addNew||(Ze=new Br(he,he)),he=wl(ie,ae,!0,!0),at=-1;else{var kn=Uf(ie,he,de.unit);de.extend?Ze=Ll(Ze,kn.anchor,kn.head,de.extend):Ze=kn}de.addNew?at==-1?(at=kt.length,as(De,Go(ie,kt.concat([Ze]),at),{scroll:!1,origin:"*mouse"})):kt.length>1&&kt[at].empty()&&de.unit=="char"&&!de.extend?(as(De,Go(ie,kt.slice(0,at).concat(kt.slice(at+1)),0),{scroll:!1,origin:"*mouse"}),rt=De.sel):ns(De,at,Ze,en):(at=0,as(De,new Do([Ze],0),en),rt=De.sel);var Zt=he;function ui(fo){if(hn(Zt,fo)!=0)if(Zt=fo,de.unit=="rectangle"){for(var jo=[],da=ie.options.tabSize,uo=ht($t(De,he.line).text,he.ch,da),Ma=ht($t(De,fo.line).text,fo.ch,da),$s=Math.min(uo,Ma),Ul=Math.max(uo,Ma),fl=Math.min(he.line,fo.line),qu=Math.min(ie.lastLine(),Math.max(he.line,fo.line));fl<=qu;fl++){var Tu=$t(De,fl).text,Zl=On(Tu,$s,da);$s==Ul?jo.push(new Br(nn(fl,Zl),nn(fl,Zl))):Tu.length>Zl&&jo.push(new Br(nn(fl,Zl),nn(fl,On(Tu,Ul,da))))}jo.length||jo.push(new Br(he,he)),as(De,Go(ie,rt.ranges.slice(0,at).concat(jo),at),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(fo)}else{var cc=Ze,xu=Uf(ie,fo,de.unit),Kl=cc.anchor,cs;hn(xu.anchor,Kl)>0?(cs=xu.head,Kl=oi(cc.from(),xu.anchor)):(cs=xu.anchor,Kl=yi(cc.to(),xu.head));var Pl=rt.ranges.slice(0);Pl[at]=ls(ie,new Br(Li(De,Kl),cs)),as(De,Go(ie,Pl,at),en)}}var ti=pe.wrapper.getBoundingClientRect(),tr=0;function ar(fo){var jo=++tr,da=wl(ie,fo,!0,de.unit=="rectangle");if(da)if(hn(da,Zt)!=0){ie.curOp.focus=Qe(),ui(da);var uo=si(pe,De);(da.line>=uo.to||da.lineti.bottom?20:0;Ma&&setTimeout(Jn(ie,function(){tr==jo&&(pe.scroller.scrollTop+=Ma,ar(fo))}),50)}}function br(fo){ie.state.selectingText=!1,tr=1/0,fo&&(Gi(fo),pe.input.focus()),Pn(pe.wrapper.ownerDocument,"mousemove",_r),Pn(pe.wrapper.ownerDocument,"mouseup",Eo),De.history.lastSelOrigin=null}var _r=Jn(ie,function(fo){fo.buttons===0||!Ir(fo)?br(fo):ar(fo)}),Eo=Jn(ie,br);ie.state.selectingText=Eo,mt(pe.wrapper.ownerDocument,"mousemove",_r),mt(pe.wrapper.ownerDocument,"mouseup",Eo)}function ls(ie,ae){var he=ae.anchor,de=ae.head,pe=$t(ie.doc,he.line);if(hn(he,de)==0&&he.sticky==de.sticky)return ae;var De=He(pe);if(!De)return ae;var Ze=me(De,he.ch,he.sticky),at=De[Ze];if(at.from!=he.ch&&at.to!=he.ch)return ae;var rt=Ze+(at.from==he.ch==(at.level!=1)?0:1);if(rt==0||rt==De.length)return ae;var kt;if(de.line!=he.line)kt=(de.line-he.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var kn=me(De,de.ch,de.sticky),Zt=kn-Ze||(de.ch-he.ch)*(at.level==1?-1:1);kn==rt-1||kn==rt?kt=Zt<0:kt=Zt>0}var ui=De[rt+(kt?-1:0)],ti=kt==(ui.level==1),tr=ti?ui.from:ui.to,ar=ti?"after":"before";return he.ch==tr&&he.sticky==ar?ae:new Br(new nn(he.line,tr,ar),de)}function Yo(ie,ae,he,de){var pe,De;if(ae.touches)pe=ae.touches[0].clientX,De=ae.touches[0].clientY;else try{pe=ae.clientX,De=ae.clientY}catch(ui){return!1}if(pe>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;de&&Gi(ae);var Ze=ie.display,at=Ze.lineDiv.getBoundingClientRect();if(De>at.bottom||!Pi(ie,he))return or(ae);De-=at.top-Ze.viewOffset;for(var rt=0;rt=pe){var kn=fn(ie.doc,De),Zt=ie.display.gutterSpecs[rt];return rn(ie,he,ie,kn,Zt.className,ae),or(ae)}}}function ca(ie,ae){return Yo(ie,ae,"gutterClick",!0)}function is(ie,ae){Nl(ie.display,ae)||ll(ie,ae)||In(ie,ae,"contextmenu")||Ne||ie.display.input.onContextMenu(ae)}function ll(ie,ae){return Pi(ie,"gutterContextMenu")?Yo(ie,ae,"gutterContextMenu",!1):!1}function md(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ss(ie)}var tu={toString:function(){return"CodeMirror.Init"}},td={},Ac={};function ph(ie){var ae=ie.optionHandlers;function he(de,pe,De,Ze){ie.defaults[de]=pe,De&&(ae[de]=Ze?function(at,rt,kt){kt!=tu&&De(at,rt,kt)}:De)}ie.defineOption=he,ie.Init=tu,he("value","",function(de,pe){return de.setValue(pe)},!0),he("mode",null,function(de,pe){de.doc.modeOption=pe,Po(de)},!0),he("indentUnit",2,Po,!0),he("indentWithTabs",!1),he("smartIndent",!0),he("tabSize",4,function(de){Oo(de),Ss(de),ws(de)},!0),he("lineSeparator",null,function(de,pe){if(de.doc.lineSep=pe,!!pe){var De=[],Ze=de.doc.first;de.doc.iter(function(rt){for(var kt=0;;){var kn=rt.text.indexOf(pe,kt);if(kn==-1)break;kt=kn+pe.length,De.push(nn(Ze,kn))}Ze++});for(var at=De.length-1;at>=0;at--)sc(de.doc,pe,De[at],nn(De[at].line,De[at].ch+pe.length))}}),he("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(de,pe,De){de.state.specialChars=new RegExp(pe.source+(pe.test(" ")?"":"| "),"g"),De!=tu&&de.refresh()}),he("specialCharPlaceholder",oa,function(de){return de.refresh()},!0),he("electricChars",!0),he("inputStyle",ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),he("spellcheck",!1,function(de,pe){return de.getInputField().spellcheck=pe},!0),he("autocorrect",!1,function(de,pe){return de.getInputField().autocorrect=pe},!0),he("autocapitalize",!1,function(de,pe){return de.getInputField().autocapitalize=pe},!0),he("rtlMoveVisually",!ge),he("wholeLineUpdateBefore",!0),he("theme","default",function(de){md(de),Or(de)},!0),he("keyMap","default",function(de,pe,De){var Ze=jc(pe),at=De!=tu&&jc(De);at&&at.detach&&at.detach(de,Ze),Ze.attach&&Ze.attach(de,at||null)}),he("extraKeys",null),he("configureMouse",null),he("lineWrapping",!1,Lc,!0),he("gutters",[],function(de,pe){de.display.gutterSpecs=qr(pe,de.options.lineNumbers),Or(de)},!0),he("fixedGutter",!0,function(de,pe){de.display.gutters.style.left=pe?Ic(de.display)+"px":"0",de.refresh()},!0),he("coverGutterNextToScrollbar",!1,function(de){return Ca(de)},!0),he("scrollbarStyle","native",function(de){fs(de),Ca(de),de.display.scrollbars.setScrollTop(de.doc.scrollTop),de.display.scrollbars.setScrollLeft(de.doc.scrollLeft)},!0),he("lineNumbers",!1,function(de,pe){de.display.gutterSpecs=qr(de.options.gutters,pe),Or(de)},!0),he("firstLineNumber",1,Or,!0),he("lineNumberFormatter",function(de){return de},Or,!0),he("showCursorWhenSelecting",!1,qt,!0),he("resetSelectionOnContextMenu",!0),he("lineWiseCopyCut",!0),he("pasteLinesPerSelection",!0),he("selectionsMayTouch",!1),he("readOnly",!1,function(de,pe){pe=="nocursor"&&(Qi(de),de.display.input.blur()),de.display.input.readOnlyChanged(pe)}),he("screenReaderLabel",null,function(de,pe){pe=pe===""?null:pe,de.display.input.screenReaderLabelChanged(pe)}),he("disableInput",!1,function(de,pe){pe||de.display.input.reset()},!0),he("dragDrop",!0,nd),he("allowDropFileTypes",null),he("cursorBlinkRate",530),he("cursorScrollMargin",0),he("cursorHeight",1,qt,!0),he("singleCursorHeightPerLine",!0,qt,!0),he("workTime",100),he("workDelay",100),he("flattenSpans",!0,Oo,!0),he("addModeClass",!1,Oo,!0),he("pollInterval",100),he("undoDepth",200,function(de,pe){return de.doc.history.undoDepth=pe}),he("historyEventDelay",1250),he("viewportMargin",10,function(de){return de.refresh()},!0),he("maxHighlightLength",1e4,Oo,!0),he("moveInputWithCursor",!0,function(de,pe){pe||de.display.input.resetPosition()}),he("tabindex",null,function(de,pe){return de.display.input.getField().tabIndex=pe||""}),he("autofocus",null),he("direction","ltr",function(de,pe){return de.doc.setDirection(pe)},!0),he("phrases",null)}function nd(ie,ae,he){var de=he&&he!=tu;if(!ae!=!de){var pe=ie.display.dragFunctions,De=ae?mt:Pn;De(ie.display.scroller,"dragstart",pe.start),De(ie.display.scroller,"dragenter",pe.enter),De(ie.display.scroller,"dragover",pe.over),De(ie.display.scroller,"dragleave",pe.leave),De(ie.display.scroller,"drop",pe.drop)}}function Lc(ie){ie.options.lineWrapping?(Ht(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(Ie(ie.display.wrapper,"CodeMirror-wrap"),to(ie)),Io(ie),ws(ie),Ss(ie),setTimeout(function(){return Ca(ie)},100)}function us(ie,ae){var he=this;if(!(this instanceof us))return new us(ie,ae);this.options=ae=ae?Ut(ae):{},Ut(td,ae,!1);var de=ae.value;typeof de=="string"?de=new kl(de,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(de.modeOption=ae.mode),this.doc=de;var pe=new us.inputStyles[ae.inputStyle](this),De=this.display=new ao(ie,de,pe,ae);De.wrapper.CodeMirror=this,md(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),fs(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Re,keySeq:null,specialChars:null},ae.autofocus&&!ne&&De.input.focus(),et&&yt<11&&setTimeout(function(){return he.display.input.reset(!0)},20),wf(this),ku(),Oa(this),this.curOp.forceUpdate=!0,Ro(this,de),ae.autofocus&&!ne||this.hasFocus()?setTimeout(function(){he.hasFocus()&&!he.state.focused&&Mi(he)},20):Qi(this);for(var Ze in Ac)Ac.hasOwnProperty(Ze)&&Ac[Ze](this,ae[Ze],tu);Wr(this),ae.finishInit&&ae.finishInit(this);for(var at=0;at20*20}mt(ae.scroller,"touchstart",function(rt){if(!In(ie,rt)&&!De(rt)&&!ca(ie,rt)){ae.input.ensurePolled(),clearTimeout(he);var kt=+new Date;ae.activeTouch={start:kt,moved:!1,prev:kt-de.end<=300?de:null},rt.touches.length==1&&(ae.activeTouch.left=rt.touches[0].pageX,ae.activeTouch.top=rt.touches[0].pageY)}}),mt(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),mt(ae.scroller,"touchend",function(rt){var kt=ae.activeTouch;if(kt&&!Nl(ae,rt)&&kt.left!=null&&!kt.moved&&new Date-kt.start<300){var kn=ie.coordsChar(ae.activeTouch,"page"),Zt;!kt.prev||Ze(kt,kt.prev)?Zt=new Br(kn,kn):!kt.prev.prev||Ze(kt,kt.prev.prev)?Zt=ie.findWordAt(kn):Zt=new Br(nn(kn.line,0),Li(ie.doc,nn(kn.line+1,0))),ie.setSelection(Zt.anchor,Zt.head),ie.focus(),Gi(rt)}pe()}),mt(ae.scroller,"touchcancel",pe),mt(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(ya(ie,ae.scroller.scrollTop),Ha(ie,ae.scroller.scrollLeft,!0),rn(ie,"scroll",ie))}),mt(ae.scroller,"mousewheel",function(rt){return Fo(ie,rt)}),mt(ae.scroller,"DOMMouseScroll",function(rt){return Fo(ie,rt)}),mt(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(rt){In(ie,rt)||jr(rt)},over:function(rt){In(ie,rt)||(Kd(ie,rt),jr(rt))},start:function(rt){return Zd(ie,rt)},drop:Jn(ie,Wd),leave:function(rt){In(ie,rt)||pf(ie)}};var at=ae.input.getField();mt(at,"keyup",function(rt){return Sf.call(ie,rt)}),mt(at,"keydown",Jn(ie,yf)),mt(at,"keypress",Jn(ie,Ec)),mt(at,"focus",function(rt){return Mi(ie,rt)}),mt(at,"blur",function(rt){return Qi(ie,rt)})}var Kh=[];us.defineInitHook=function(ie){return Kh.push(ie)};function Yl(ie,ae,he,de){var pe=ie.doc,De;he==null&&(he="add"),he=="smart"&&(pe.mode.indent?De=$r(ie,ae).state:he="prev");var Ze=ie.options.tabSize,at=$t(pe,ae),rt=ht(at.text,null,Ze);at.stateAfter&&(at.stateAfter=null);var kt=at.text.match(/^\s*/)[0],kn;if(!de&&!/\S/.test(at.text))kn=0,he="not";else if(he=="smart"&&(kn=pe.mode.indent(De,at.text.slice(kt.length),at.text),kn==mn||kn>150)){if(!de)return;he="prev"}he=="prev"?ae>pe.first?kn=ht($t(pe,ae-1).text,null,Ze):kn=0:he=="add"?kn=rt+ie.options.indentUnit:he=="subtract"?kn=rt-ie.options.indentUnit:typeof he=="number"&&(kn=rt+he),kn=Math.max(0,kn);var Zt="",ui=0;if(ie.options.indentWithTabs)for(var ti=Math.floor(kn/Ze);ti;--ti)ui+=Ze,Zt+=" ";if(uiZe,rt=vi(ae),kt=null;if(at&&de.ranges.length>1)if($u&&$u.text.join(` `)==ae){if(de.ranges.length%$u.text.length==0){kt=[];for(var kn=0;kn<$u.text.length;kn++)kt.push(De.splitLines($u.text[kn]))}}else rt.length==de.ranges.length&&ie.options.pasteLinesPerSelection&&(kt=Un(rt,function(_r){return[_r]}));for(var Zt=ie.curOp.updateInput,ui=de.ranges.length-1;ui>=0;ui--){var ti=de.ranges[ui],tr=ti.from(),ar=ti.to();ti.empty()&&(he&&he>0?tr=nn(tr.line,tr.ch-he):ie.state.overwrite&&!at?ar=nn(ar.line,Math.min($t(De,ar.line).text.length,ar.ch+pt(rt).length)):at&&$u&&$u.lineWise&&$u.text.join(` `)==rt.join(` `)&&(tr=ar=nn(tr.line,0)));var br={from:tr,to:ar,text:kt?kt[ui%kt.length]:rt,origin:pe||(at?"paste":ie.state.cutIncoming>Ze?"cut":"+input")};Ps(ie.doc,br),Hi(ie,"inputRead",ie,br)}ae&&!at&&dp(ie,ae),vo(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Zt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function cp(ie,ae){var he=ie.clipboardData&&ie.clipboardData.getData("Text");if(he)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&gn(ae,function(){return Xf(ae,he,0,null,"paste")}),!0}function dp(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var he=ie.doc.sel,de=he.ranges.length-1;de>=0;de--){var pe=he.ranges[de];if(!(pe.head.ch>100||de&&he.ranges[de-1].head.line==pe.head.line)){var De=ie.getModeAt(pe.head),Ze=!1;if(De.electricChars){for(var at=0;at-1){Ze=Yl(ie,pe.head.line,"smart");break}}else De.electricInput&&De.electricInput.test($t(ie.doc,pe.head.line).text.slice(0,pe.head.ch))&&(Ze=Yl(ie,pe.head.line,"smart"));Ze&&Hi(ie,"electricInput",ie,pe.head.line)}}}function hp(ie){for(var ae=[],he=[],de=0;deDe&&(Yl(this,at.head.line,de,!0),De=at.head.line,Ze==this.doc.sel.primIndex&&vo(this));else{var rt=at.from(),kt=at.to(),kn=Math.max(De,rt.line);De=Math.min(this.lastLine(),kt.line-(kt.ch?0:1))+1;for(var Zt=kn;Zt0&&ns(this.doc,Ze,new Br(rt,ui[Ze].to()),Ft)}}}),getTokenAt:function(de,pe){return Ki(this,de,pe)},getLineTokens:function(de,pe){return Ki(this,nn(de),pe,!0)},getTokenTypeAt:function(de){de=Li(this.doc,de);var pe=Ar(this,$t(this.doc,de.line)),De=0,Ze=(pe.length-1)/2,at=de.ch,rt;if(at==0)rt=pe[2];else for(;;){var kt=De+Ze>>1;if((kt?pe[kt*2-1]:0)>=at)Ze=kt;else if(pe[kt*2+1]rt&&(de=rt,Ze=!0),at=$t(this.doc,de)}else at=de;return xs(this,at,{top:0,left:0},pe||"page",De||Ze).top+(Ze?this.doc.height-kr(at):0)},defaultTextHeight:function(){return $l(this.display)},defaultCharWidth:function(){return jl(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(de,pe,De,Ze,at){var rt=this.display;de=Fa(this,Li(this.doc,de));var kt=de.bottom,kn=de.left;if(pe.style.position="absolute",pe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(pe),rt.sizer.appendChild(pe),Ze=="over")kt=de.top;else if(Ze=="above"||Ze=="near"){var Zt=Math.max(rt.wrapper.clientHeight,this.doc.height),ui=Math.max(rt.sizer.clientWidth,rt.lineSpace.clientWidth);(Ze=="above"||de.bottom+pe.offsetHeight>Zt)&&de.top>pe.offsetHeight?kt=de.top-pe.offsetHeight:de.bottom+pe.offsetHeight<=Zt&&(kt=de.bottom),kn+pe.offsetWidth>ui&&(kn=ui-pe.offsetWidth)}pe.style.top=kt+"px",pe.style.left=pe.style.right="",at=="right"?(kn=rt.sizer.clientWidth-pe.offsetWidth,pe.style.right="0px"):(at=="left"?kn=0:at=="middle"&&(kn=(rt.sizer.clientWidth-pe.offsetWidth)/2),pe.style.left=kn+"px"),De&&co(this,{left:kn,top:kt,right:kn+pe.offsetWidth,bottom:kt+pe.offsetHeight})},triggerOnKeyDown:Xn(yf),triggerOnKeyPress:Xn(Ec),triggerOnKeyUp:Sf,triggerOnMouseDown:Xn(Hc),execCommand:function(de){if(Dl.hasOwnProperty(de))return Dl[de].call(null,this)},triggerElectric:Xn(function(de){dp(this,de)}),findPosH:function(de,pe,De,Ze){var at=1;pe<0&&(at=-1,pe=-pe);for(var rt=Li(this.doc,de),kt=0;kt0&&kn(De.charAt(Ze-1));)--Ze;for(;at.5||this.options.lineWrapping)&&Io(this),rn(this,"refresh",this)}),swapDoc:Xn(function(de){var pe=this.doc;return pe.cm=null,this.state.selectingText&&this.state.selectingText(),Ro(this,de),Ss(this),this.display.input.reset(),ho(this,de.scrollLeft,de.scrollTop),this.curOp.forceScroll=!0,Hi(this,"swapDoc",this,pe),pe}),phrase:function(de){var pe=this.options.phrases;return pe&&Object.prototype.hasOwnProperty.call(pe,de)?pe[de]:de},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Di(ie),ie.registerHelper=function(de,pe,De){he.hasOwnProperty(de)||(he[de]=ie[de]={_global:[]}),he[de][pe]=De},ie.registerGlobalHelper=function(de,pe,De,Ze){ie.registerHelper(de,pe,Ze),he[de]._global.push({pred:De,val:Ze})}}function Jf(ie,ae,he,de,pe){var De=ae,Ze=he,at=$t(ie,ae.line),rt=pe&&ie.direction=="rtl"?-he:he;function kt(){var Eo=ae.line+rt;return Eo=ie.first+ie.size?!1:(ae=new nn(Eo,ae.ch,ae.sticky),at=$t(ie,Eo))}function kn(Eo){var fo;if(de=="codepoint"){var jo=at.text.charCodeAt(ae.ch+(de>0?0:-1));isNaN(jo)?fo=null:fo=new nn(ae.line,Math.max(0,Math.min(at.text.length,ae.ch+he*(jo>=55296&&jo<56320?2:1))),-he)}else pe?fo=Es(ie.cm,at,ae,he):fo=sl(at,ae,he);if(fo==null)if(!Eo&&kt())ae=Ya(pe,ie.cm,at,ae.line,rt);else return!1;else ae=fo;return!0}if(de=="char"||de=="codepoint")kn();else if(de=="column")kn(!0);else if(de=="word"||de=="group")for(var Zt=null,ui=de=="group",ti=ie.cm&&ie.cm.getHelper(ae,"wordChars"),tr=!0;!(he<0&&!kn(!tr));tr=!1){var ar=at.text.charAt(ae.ch)||` `,br=St(ar,ti)?"w":ui&&ar==` `?"n":!ui||/\s/.test(ar)?null:"p";if(ui&&!tr&&!br&&(br="s"),Zt&&Zt!=br){he<0&&(he=1,kn(),ae.sticky="after");break}if(br&&(Zt=br),he>0&&!kn(!tr))break}var _r=Wu(ie,ae,De,Ze,!0);return ri(De,_r)&&(_r.hitSide=!0),_r}function vh(ie,ae,he,de){var pe=ie.doc,De=ae.left,Ze;if(de=="page"){var at=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),rt=Math.max(at-.5*$l(ie.display),3);Ze=(he>0?ae.bottom:ae.top)+he*rt}else de=="line"&&(Ze=he>0?ae.bottom+3:ae.top-3);for(var kt;kt=El(ie,De,Ze),!!kt.outside;){if(he<0?Ze<=0:Ze>=pe.height){kt.hitSide=!0;break}Ze+=he*5}return kt}var zs=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Re,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};zs.prototype.init=function(ie){var ae=this,he=this,de=he.cm,pe=he.div=ie.lineDiv;fp(pe,de.options.spellcheck,de.options.autocorrect,de.options.autocapitalize);function De(at){for(var rt=at.target;rt;rt=rt.parentNode){if(rt==pe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(rt.className))break}return!1}mt(pe,"paste",function(at){!De(at)||In(de,at)||cp(at,de)||yt<=11&&setTimeout(Jn(de,function(){return ae.updateFromDOM()}),20)}),mt(pe,"compositionstart",function(at){ae.composing={data:at.data,done:!1}}),mt(pe,"compositionupdate",function(at){ae.composing||(ae.composing={data:at.data,done:!1})}),mt(pe,"compositionend",function(at){ae.composing&&(at.data!=ae.composing.data&&ae.readFromDOMSoon(),ae.composing.done=!0)}),mt(pe,"touchstart",function(){return he.forceCompositionEnd()}),mt(pe,"input",function(){ae.composing||ae.readFromDOMSoon()});function Ze(at){if(!(!De(at)||In(de,at))){if(de.somethingSelected())Vh({lineWise:!1,text:de.getSelections()}),at.type=="cut"&&de.replaceSelection("",null,"cut");else if(de.options.lineWiseCopyCut){var rt=hp(de);Vh({lineWise:!0,text:rt.text}),at.type=="cut"&&de.operation(function(){de.setSelections(rt.ranges,0,Ft),de.replaceSelection("",null,"cut")})}else return;if(at.clipboardData){at.clipboardData.clearData();var kt=$u.text.join(` `);if(at.clipboardData.setData("Text",kt),at.clipboardData.getData("Text")==kt){at.preventDefault();return}}var kn=gp(),Zt=kn.firstChild;de.display.lineSpace.insertBefore(kn,de.display.lineSpace.firstChild),Zt.value=$u.text.join(` `);var ui=document.activeElement;It(Zt),setTimeout(function(){de.display.lineSpace.removeChild(kn),ui.focus(),ui==pe&&he.showPrimarySelection()},50)}}mt(pe,"copy",Ze),mt(pe,"cut",Ze)},zs.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},zs.prototype.prepareSelection=function(){var ie=cn(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},zs.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},zs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},zs.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,he=ae.doc.sel.primary(),de=he.from(),pe=he.to();if(ae.display.viewTo==ae.display.viewFrom||de.line>=ae.display.viewTo||pe.line=ae.display.viewFrom&&Pg(ae,de)||{node:at[0].measure.map[2],offset:0},kt=pe.lineie.firstLine()&&(de=nn(de.line-1,$t(ie.doc,de.line-1).length)),pe.ch==$t(ie.doc,pe.line).text.length&&pe.lineae.viewTo-1)return!1;var De,Ze,at;de.line==ae.viewFrom||(De=Il(ie,de.line))==0?(Ze=st(ae.view[0].line),at=ae.view[0].node):(Ze=st(ae.view[De].line),at=ae.view[De-1].node.nextSibling);var rt=Il(ie,pe.line),kt,kn;if(rt==ae.view.length-1?(kt=ae.viewTo-1,kn=ae.lineDiv.lastChild):(kt=st(ae.view[rt+1].line)-1,kn=ae.view[rt+1].node.previousSibling),!at)return!1;for(var Zt=ie.doc.splitLines(Cf(ie,at,kn,Ze,kt)),ui=Tt(ie.doc,nn(Ze,0),nn(kt,$t(ie.doc,kt).text.length));Zt.length>1&&ui.length>1;)if(pt(Zt)==pt(ui))Zt.pop(),ui.pop(),kt--;else if(Zt[0]==ui[0])Zt.shift(),ui.shift(),Ze++;else break;for(var ti=0,tr=0,ar=Zt[0],br=ui[0],_r=Math.min(ar.length,br.length);ti<_r&&ar.charCodeAt(ti)==br.charCodeAt(ti);)++ti;for(var Eo=pt(Zt),fo=pt(ui),jo=Math.min(Eo.length-(Zt.length==1?ti:0),fo.length-(ui.length==1?ti:0));trde.ch&&Eo.charCodeAt(Eo.length-tr-1)==fo.charCodeAt(fo.length-tr-1);)ti--,tr++;Zt[Zt.length-1]=Eo.slice(0,Eo.length-tr).replace(/^\u200b+/,""),Zt[0]=Zt[0].slice(ti).replace(/\u200b+$/,"");var da=nn(Ze,ti),uo=nn(kt,ui.length?pt(ui).length-tr:0);if(Zt.length>1||Zt[0]||hn(da,uo))return sc(ie.doc,Zt,da,uo,"+input"),!0},zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},zs.prototype.reset=function(){this.forceCompositionEnd()},zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},zs.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},zs.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&gn(this.cm,function(){return ws(ie.cm)})},zs.prototype.setUneditable=function(ie){ie.contentEditable="false"},zs.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||Jn(this.cm,Xf)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},zs.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},zs.prototype.onContextMenu=function(){},zs.prototype.resetPosition=function(){},zs.prototype.needsContentAttribute=!0;function Pg(ie,ae){var he=zl(ie,ae.line);if(!he||he.hidden)return null;var de=$t(ie.doc,ae.line),pe=xc(he,de,ae.line),De=He(de,ie.doc.direction),Ze="left";if(De){var at=me(De,ae.ch);Ze=at%2?"right":"left"}var rt=wc(pe.map,ae.ch,Ze);return rt.offset=rt.collapse=="right"?rt.end:rt.start,rt}function pp(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function Pf(ie,ae){return ae&&(ie.bad=!0),ie}function Cf(ie,ae,he,de,pe){var De="",Ze=!1,at=ie.doc.lineSeparator(),rt=!1;function kt(ti){return function(tr){return tr.id==ti}}function kn(){Ze&&(De+=at,rt&&(De+=at),Ze=rt=!1)}function Zt(ti){ti&&(kn(),De+=ti)}function ui(ti){if(ti.nodeType==1){var tr=ti.getAttribute("cm-text");if(tr){Zt(tr);return}var ar=ti.getAttribute("cm-marker"),br;if(ar){var _r=ie.findMarks(nn(de,0),nn(pe+1,0),kt(+ar));_r.length&&(br=_r[0].find(0))&&Zt(Tt(ie.doc,br.from,br.to).join(at));return}if(ti.getAttribute("contenteditable")=="false")return;var Eo=/^(pre|div|p|li|table|br)$/i.test(ti.nodeName);if(!/^br$/i.test(ti.nodeName)&&ti.textContent.length==0)return;Eo&&kn();for(var fo=0;fo=9&&ae.hasSelection&&(ae.hasSelection=null),he.poll()}),mt(pe,"paste",function(Ze){In(de,Ze)||cp(Ze,de)||(de.state.pasteIncoming=+new Date,he.fastPoll())});function De(Ze){if(!In(de,Ze)){if(de.somethingSelected())Vh({lineWise:!1,text:de.getSelections()});else if(de.options.lineWiseCopyCut){var at=hp(de);Vh({lineWise:!0,text:at.text}),Ze.type=="cut"?de.setSelections(at.ranges,null,Ft):(he.prevInput="",pe.value=at.text.join(` `),It(pe))}else return;Ze.type=="cut"&&(de.state.cutIncoming=+new Date)}}mt(pe,"cut",De),mt(pe,"copy",De),mt(ie.scroller,"paste",function(Ze){if(!(Nl(ie,Ze)||In(de,Ze))){if(!pe.dispatchEvent){de.state.pasteIncoming=+new Date,he.focus();return}var at=new Event("paste");at.clipboardData=Ze.clipboardData,pe.dispatchEvent(at)}}),mt(ie.lineSpace,"selectstart",function(Ze){Nl(ie,Ze)||Gi(Ze)}),mt(pe,"compositionstart",function(){var Ze=de.getCursor("from");he.composing&&he.composing.range.clear(),he.composing={start:Ze,range:de.markText(Ze,de.getCursor("to"),{className:"CodeMirror-composing"})}}),mt(pe,"compositionend",function(){he.composing&&(he.poll(),he.composing.range.clear(),he.composing=null)})},Wl.prototype.createField=function(ie){this.wrapper=gp(),this.textarea=this.wrapper.firstChild},Wl.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},Wl.prototype.prepareSelection=function(){var ie=this.cm,ae=ie.display,he=ie.doc,de=cn(ie);if(ie.options.moveInputWithCursor){var pe=Fa(ie,he.sel.primary().head,"div"),De=ae.wrapper.getBoundingClientRect(),Ze=ae.lineDiv.getBoundingClientRect();de.teTop=Math.max(0,Math.min(ae.wrapper.clientHeight-10,pe.top+Ze.top-De.top)),de.teLeft=Math.max(0,Math.min(ae.wrapper.clientWidth-10,pe.left+Ze.left-De.left))}return de},Wl.prototype.showSelection=function(ie){var ae=this.cm,he=ae.display;Ve(he.cursorDiv,ie.cursors),Ve(he.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},Wl.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var ae=this.cm;if(ae.somethingSelected()){this.prevInput="";var he=ae.getSelection();this.textarea.value=he,ae.state.focused&&It(this.textarea),et&&yt>=9&&(this.hasSelection=he)}else ie||(this.prevInput=this.textarea.value="",et&&yt>=9&&(this.hasSelection=null))}},Wl.prototype.getField=function(){return this.textarea},Wl.prototype.supportsTouch=function(){return!1},Wl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||Qe()!=this.textarea))try{this.textarea.focus()}catch(ie){}},Wl.prototype.blur=function(){this.textarea.blur()},Wl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Wl.prototype.receivedFocus=function(){this.slowPoll()},Wl.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},Wl.prototype.fastPoll=function(){var ie=!1,ae=this;ae.pollingFast=!0;function he(){var de=ae.poll();!de&&!ie?(ie=!0,ae.polling.set(60,he)):(ae.pollingFast=!1,ae.slowPoll())}ae.polling.set(20,he)},Wl.prototype.poll=function(){var ie=this,ae=this.cm,he=this.textarea,de=this.prevInput;if(this.contextMenuPending||!ae.state.focused||Ee(he)&&!de&&!this.composing||ae.isReadOnly()||ae.options.disableInput||ae.state.keySeq)return!1;var pe=he.value;if(pe==de&&!ae.somethingSelected())return!1;if(et&&yt>=9&&this.hasSelection===pe||ce&&/[\uf700-\uf7ff]/.test(pe))return ae.display.input.reset(),!1;if(ae.doc.sel==ae.display.selForContextMenu){var De=pe.charCodeAt(0);if(De==8203&&!de&&(de="\u200B"),De==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ze=0,at=Math.min(de.length,pe.length);Ze1e3||pe.indexOf(` `)>-1?he.value=ie.prevInput="":ie.prevInput=pe,ie.composing&&(ie.composing.range.clear(),ie.composing.range=ae.markText(ie.composing.start,ae.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Wl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Wl.prototype.onKeyPress=function(){et&&yt>=9&&(this.hasSelection=null),this.fastPoll()},Wl.prototype.onContextMenu=function(ie){var ae=this,he=ae.cm,de=he.display,pe=ae.textarea;ae.contextMenuPending&&ae.contextMenuPending();var De=wl(he,ie),Ze=de.scroller.scrollTop;if(!De||tt)return;var at=he.options.resetSelectionOnContextMenu;at&&he.doc.sel.contains(De)==-1&&Jn(he,as)(he.doc,_o(De),Ft);var rt=pe.style.cssText,kt=ae.wrapper.style.cssText,kn=ae.wrapper.offsetParent.getBoundingClientRect();ae.wrapper.style.cssText="position: static",pe.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(ie.clientY-kn.top-5)+"px; left: "+(ie.clientX-kn.left-5)+`px; z-index: 1000; background: `+(et?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Zt;ke&&(Zt=window.scrollY),de.input.focus(),ke&&window.scrollTo(null,Zt),de.input.reset(),he.somethingSelected()||(pe.value=ae.prevInput=" "),ae.contextMenuPending=ti,de.selForContextMenu=he.doc.sel,clearTimeout(de.detectingSelectAll);function ui(){if(pe.selectionStart!=null){var ar=he.somethingSelected(),br="\u200B"+(ar?pe.value:"");pe.value="\u21DA",pe.value=br,ae.prevInput=ar?"":"\u200B",pe.selectionStart=1,pe.selectionEnd=br.length,de.selForContextMenu=he.doc.sel}}function ti(){if(ae.contextMenuPending==ti&&(ae.contextMenuPending=!1,ae.wrapper.style.cssText=kt,pe.style.cssText=rt,et&&yt<9&&de.scrollbars.setScrollTop(de.scroller.scrollTop=Ze),pe.selectionStart!=null)){(!et||et&&yt<9)&&ui();var ar=0,br=function(){de.selForContextMenu==he.doc.sel&&pe.selectionStart==0&&pe.selectionEnd>0&&ae.prevInput=="\u200B"?Jn(he,qa)(he):ar++<10?de.detectingSelectAll=setTimeout(br,500):(de.selForContextMenu=null,de.input.reset())};de.detectingSelectAll=setTimeout(br,200)}}if(et&&yt>=9&&ui(),Ne){jr(ie);var tr=function(){Pn(window,"mouseup",tr),setTimeout(ti,20)};mt(window,"mouseup",tr)}else setTimeout(ti,50)},Wl.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Wl.prototype.setUneditable=function(){},Wl.prototype.needsContentAttribute=!1;function gm(ie,ae){if(ae=ae?Ut(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var he=Qe();ae.autofocus=he==ie||ie.getAttribute("autofocus")!=null&&he==document.body}function de(){ie.value=at.getValue()}var pe;if(ie.form&&(mt(ie.form,"submit",de),!ae.leaveSubmitMethodAlone)){var De=ie.form;pe=De.submit;try{var Ze=De.submit=function(){de(),De.submit=pe,De.submit(),De.submit=Ze}}catch(rt){}}ae.finishInit=function(rt){rt.save=de,rt.getTextArea=function(){return ie},rt.toTextArea=function(){rt.toTextArea=isNaN,de(),ie.parentNode.removeChild(rt.getWrapperElement()),ie.style.display="",ie.form&&(Pn(ie.form,"submit",de),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=pe))}},ie.style.display="none";var at=us(function(rt){return ie.parentNode.insertBefore(rt,ie.nextSibling)},ae);return at}function bf(ie){ie.off=Pn,ie.on=mt,ie.wheelEventPixels=lo,ie.Doc=kl,ie.splitLines=vi,ie.countColumn=ht,ie.findColumn=On,ie.isWordChar=Jt,ie.Pass=mn,ie.signal=rn,ie.Line=Xr,ie.changeEnd=na,ie.scrollbarModel=os,ie.Pos=nn,ie.cmpPos=hn,ie.modes=ei,ie.mimeModes=Yn,ie.resolveMode=on,ie.getMode=wt,ie.modeExtensions=bt,ie.extendMode=ze,ie.copyState=Gt,ie.startState=ct,ie.innerMode=an,ie.commands=Dl,ie.keyMap=eu,ie.keyName=dh,ie.isModifierKey=Ed,ie.lookupKey=Su,ie.normalizeKeyMap=Yd,ie.StringStream=$e,ie.SharedTextMarker=bc,ie.TextMarker=pn,ie.LineWidget=_s,ie.e_preventDefault=Gi,ie.e_stopPropagation=Dn,ie.e_stop=jr,ie.addClass=Ht,ie.contains=Nt,ie.rmClass=Ie,ie.keyNames=lc}ph(us),mh(us);var Qd="iter insert remove copy getEditor constructor".split(" ");for(var _f in kl.prototype)kl.prototype.hasOwnProperty(_f)&&At(Qd,_f)<0&&(us.prototype[_f]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(kl.prototype[_f]));return Di(kl),us.inputStyles={textarea:Wl,contenteditable:zs},us.defineMode=function(ie){!us.defaults.mode&&ie!="null"&&(us.defaults.mode=ie),dn.apply(this,arguments)},us.defineMIME=tn,us.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),us.defineMIME("text/plain","null"),us.defineExtension=function(ie,ae){us.prototype[ie]=ae},us.defineDocExtension=function(ie,ae){kl.prototype[ie]=ae},us.fromTextArea=gm,bf(us),us.version="5.58.2",us})},25419:function(zn,Nn,ve){(function(Se){Se(ve(89780),ve(15525),ve(98101))})(function(Se){"use strict";Se.defineMode("markdown",function(Oe,We){var Ot=Se.getMode(Oe,"text/html"),et=Ot.name=="null";function yt(ht){if(Se.findModeByName){var Re=Se.findModeByName(ht);Re&&(ht=Re.mime||Re.mimes[0])}var At=Se.getMode(Oe,ht);return At.name=="null"?null:At}We.highlightFormatting===void 0&&(We.highlightFormatting=!1),We.maxBlockquoteDepth===void 0&&(We.maxBlockquoteDepth=0),We.taskLists===void 0&&(We.taskLists=!1),We.strikethrough===void 0&&(We.strikethrough=!1),We.emoji===void 0&&(We.emoji=!1),We.fencedCodeBlockHighlighting===void 0&&(We.fencedCodeBlockHighlighting=!0),We.fencedCodeBlockDefaultMode===void 0&&(We.fencedCodeBlockDefaultMode="text/plain"),We.xml===void 0&&(We.xml=!0),We.tokenTypeOverrides===void 0&&(We.tokenTypeOverrides={});var ke={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Bt in ke)ke.hasOwnProperty(Bt)&&We.tokenTypeOverrides[Bt]&&(ke[Bt]=We.tokenTypeOverrides[Bt]);var Et=/^([*\-_])(?:\s*\1){2,}\s*$/,tt=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,gt=/^\[(x| )\](?=\s)/i,dt=We.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Ct=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Me=/^[^#!\[\]*_\\<>` "'(~:]+/,te=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ne=/^\s*\[[^\]]+?\]:.*$/,ce=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,se=" ";function ge(ht,Re,At){return Re.f=Re.inline=At,At(ht,Re)}function ye(ht,Re,At){return Re.f=Re.block=At,At(ht,Re)}function Ce(ht){return!ht||!/\S/.test(ht.string)}function Ne(ht){if(ht.linkTitle=!1,ht.linkHref=!1,ht.linkText=!1,ht.em=!1,ht.strong=!1,ht.strikethrough=!1,ht.quote=0,ht.indentedCode=!1,ht.f==Ie){var Re=et;if(!Re){var At=Se.innerMode(Ot,ht.htmlState);Re=At.mode.name=="xml"&&At.state.tagStart===null&&!At.state.context&&At.state.tokenize.isInText}Re&&(ht.f=ut,ht.block=Pe,ht.htmlState=null)}return ht.trailingSpace=0,ht.trailingSpaceNewLine=!1,ht.prevLine=ht.thisLine,ht.thisLine={stream:null},null}function Pe(ht,Re){var At=ht.column()===Re.indentation,Sn=Ce(Re.prevLine.stream),mn=Re.indentedCode,Ft=Re.prevLine.hr,en=Re.list!==!1,sn=(Re.listStack[Re.listStack.length-1]||0)+3;Re.indentedCode=!1;var On=Re.indentation;if(Re.indentationDiff===null&&(Re.indentationDiff=Re.indentation,en)){for(Re.list=null;On=4&&(mn||Re.prevLine.fencedCodeEnd||Re.prevLine.header||Sn))return ht.skipToEnd(),Re.indentedCode=!0,ke.code;if(ht.eatSpace())return null;if(At&&Re.indentation<=sn&&(pt=ht.match(dt))&&pt[1].length<=6)return Re.quote=0,Re.header=pt[1].length,Re.thisLine.header=!0,We.highlightFormatting&&(Re.formatting="header"),Re.f=Re.inline,Ve(Re);if(Re.indentation<=sn&&ht.eat(">"))return Re.quote=At?1:Re.quote+1,We.highlightFormatting&&(Re.formatting="quote"),ht.eatSpace(),Ve(Re);if(!Tn&&!Re.setext&&At&&Re.indentation<=sn&&(pt=ht.match(tt))){var Un=pt[1]?"ol":"ul";return Re.indentation=On+ht.current().length,Re.list=!0,Re.quote=0,Re.listStack.push(Re.indentation),Re.em=!1,Re.strong=!1,Re.code=!1,Re.strikethrough=!1,We.taskLists&&ht.match(gt,!1)&&(Re.taskList=!0),Re.f=Re.inline,We.highlightFormatting&&(Re.formatting=["list","list-"+Un]),Ve(Re)}else{if(At&&Re.indentation<=sn&&(pt=ht.match(te,!0)))return Re.quote=0,Re.fencedEndRE=new RegExp(pt[1]+"+ *$"),Re.localMode=We.fencedCodeBlockHighlighting&&yt(pt[2]||We.fencedCodeBlockDefaultMode),Re.localMode&&(Re.localState=Se.startState(Re.localMode)),Re.f=Re.block=Ke,We.highlightFormatting&&(Re.formatting="code-block"),Re.code=-1,Ve(Re);if(Re.setext||(!yn||!en)&&!Re.quote&&Re.list===!1&&!Re.code&&!Tn&&!ne.test(ht.string)&&(pt=ht.lookAhead(1))&&(pt=pt.match(Ct)))return Re.setext?(Re.header=Re.setext,Re.setext=0,ht.skipToEnd(),We.highlightFormatting&&(Re.formatting="header")):(Re.header=pt[0].charAt(0)=="="?1:2,Re.setext=Re.header),Re.thisLine.header=!0,Re.f=Re.inline,Ve(Re);if(Tn)return ht.skipToEnd(),Re.hr=!0,Re.thisLine.hr=!0,ke.hr;if(ht.peek()==="[")return ge(ht,Re,Rt)}return ge(ht,Re,Re.inline)}function Ie(ht,Re){var At=Ot.token(ht,Re.htmlState);if(!et){var Sn=Se.innerMode(Ot,Re.htmlState);(Sn.mode.name=="xml"&&Sn.state.tagStart===null&&!Sn.state.context&&Sn.state.tokenize.isInText||Re.md_inside&&ht.current().indexOf(">")>-1)&&(Re.f=ut,Re.block=Pe,Re.htmlState=null)}return At}function Ke(ht,Re){var At=Re.listStack[Re.listStack.length-1]||0,Sn=Re.indentation=ht.quote?Re.push(ke.formatting+"-"+ht.formatting[At]+"-"+ht.quote):Re.push("error"))}if(ht.taskOpen)return Re.push("meta"),Re.length?Re.join(" "):null;if(ht.taskClosed)return Re.push("property"),Re.length?Re.join(" "):null;if(ht.linkHref?Re.push(ke.linkHref,"url"):(ht.strong&&Re.push(ke.strong),ht.em&&Re.push(ke.em),ht.strikethrough&&Re.push(ke.strikethrough),ht.emoji&&Re.push(ke.emoji),ht.linkText&&Re.push(ke.linkText),ht.code&&Re.push(ke.code),ht.image&&Re.push(ke.image),ht.imageAltText&&Re.push(ke.imageAltText,"link"),ht.imageMarker&&Re.push(ke.imageMarker)),ht.header&&Re.push(ke.header,ke.header+"-"+ht.header),ht.quote&&(Re.push(ke.quote),!We.maxBlockquoteDepth||We.maxBlockquoteDepth>=ht.quote?Re.push(ke.quote+"-"+ht.quote):Re.push(ke.quote+"-"+We.maxBlockquoteDepth)),ht.list!==!1){var Sn=(ht.listStack.length-1)%3;Sn?Sn===1?Re.push(ke.list2):Re.push(ke.list3):Re.push(ke.list1)}return ht.trailingSpaceNewLine?Re.push("trailing-space-new-line"):ht.trailingSpace&&Re.push("trailing-space-"+(ht.trailingSpace%2?"a":"b")),Re.length?Re.join(" "):null}function Ye(ht,Re){if(ht.match(Me,!0))return Ve(Re)}function ut(ht,Re){var At=Re.text(ht,Re);if(typeof At!="undefined")return At;if(Re.list)return Re.list=null,Ve(Re);if(Re.taskList){var Sn=ht.match(gt,!0)[1]===" ";return Sn?Re.taskOpen=!0:Re.taskClosed=!0,We.highlightFormatting&&(Re.formatting="task"),Re.taskList=!1,Ve(Re)}if(Re.taskOpen=!1,Re.taskClosed=!1,Re.header&&ht.match(/^#+$/,!0))return We.highlightFormatting&&(Re.formatting="header"),Ve(Re);var mn=ht.next();if(Re.linkTitle){Re.linkTitle=!1;var Ft=mn;mn==="("&&(Ft=")"),Ft=(Ft+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var en="^\\s*(?:[^"+Ft+"\\\\]+|\\\\\\\\|\\\\.)"+Ft;if(ht.match(new RegExp(en),!0))return ke.linkHref}if(mn==="`"){var sn=Re.formatting;We.highlightFormatting&&(Re.formatting="code"),ht.eatWhile("`");var On=ht.current().length;if(Re.code==0&&(!Re.quote||On==1))return Re.code=On,Ve(Re);if(On==Re.code){var yn=Ve(Re);return Re.code=0,yn}else return Re.formatting=sn,Ve(Re)}else if(Re.code)return Ve(Re);if(mn==="\\"&&(ht.next(),We.highlightFormatting)){var Tn=Ve(Re),pt=ke.formatting+"-escape";return Tn?Tn+" "+pt:pt}if(mn==="!"&&ht.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Re.imageMarker=!0,Re.image=!0,We.highlightFormatting&&(Re.formatting="image"),Ve(Re);if(mn==="["&&Re.imageMarker&&ht.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Re.imageMarker=!1,Re.imageAltText=!0,We.highlightFormatting&&(Re.formatting="image"),Ve(Re);if(mn==="]"&&Re.imageAltText){We.highlightFormatting&&(Re.formatting="image");var Tn=Ve(Re);return Re.imageAltText=!1,Re.image=!1,Re.inline=Re.f=Nt,Tn}if(mn==="["&&!Re.image)return Re.linkText&&ht.match(/^.*?\]/)||(Re.linkText=!0,We.highlightFormatting&&(Re.formatting="link")),Ve(Re);if(mn==="]"&&Re.linkText){We.highlightFormatting&&(Re.formatting="link");var Tn=Ve(Re);return Re.linkText=!1,Re.inline=Re.f=ht.match(/\(.*?\)| ?\[.*?\]/,!1)?Nt:ut,Tn}if(mn==="<"&&ht.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Re.f=Re.inline=Ue,We.highlightFormatting&&(Re.formatting="link");var Tn=Ve(Re);return Tn?Tn+=" ":Tn="",Tn+ke.linkInline}if(mn==="<"&&ht.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Re.f=Re.inline=Ue,We.highlightFormatting&&(Re.formatting="link");var Tn=Ve(Re);return Tn?Tn+=" ":Tn="",Tn+ke.linkEmail}if(We.xml&&mn==="<"&&ht.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Un=ht.string.indexOf(">",ht.pos);if(Un!=-1){var wn=ht.string.substring(ht.start,Un);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(wn)&&(Re.md_inside=!0)}return ht.backUp(1),Re.htmlState=Se.startState(Ot),ye(ht,Re,Ie)}if(We.xml&&mn==="<"&&ht.match(/^\/\w*?>/))return Re.md_inside=!1,"tag";if(mn==="*"||mn==="_"){for(var An=1,ni=ht.pos==1?" ":ht.string.charAt(ht.pos-2);An<3&&ht.eat(mn);)An++;var Qt=ht.peek()||" ",Jt=!/\s/.test(Qt)&&(!ce.test(Qt)||/\s/.test(ni)||ce.test(ni)),St=!/\s/.test(ni)&&(!ce.test(ni)||/\s/.test(Qt)||ce.test(Qt)),Xe=null,Yt=null;if(An%2&&(!Re.em&&Jt&&(mn==="*"||!St||ce.test(ni))?Xe=!0:Re.em==mn&&St&&(mn==="*"||!Jt||ce.test(Qt))&&(Xe=!1)),An>1&&(!Re.strong&&Jt&&(mn==="*"||!St||ce.test(ni))?Yt=!0:Re.strong==mn&&St&&(mn==="*"||!Jt||ce.test(Qt))&&(Yt=!1)),Yt!=null||Xe!=null){We.highlightFormatting&&(Re.formatting=Xe==null?"strong":Yt==null?"em":"strong em"),Xe===!0&&(Re.em=mn),Yt===!0&&(Re.strong=mn);var yn=Ve(Re);return Xe===!1&&(Re.em=!1),Yt===!1&&(Re.strong=!1),yn}}else if(mn===" "&&(ht.eat("*")||ht.eat("_"))){if(ht.peek()===" ")return Ve(Re);ht.backUp(1)}if(We.strikethrough){if(mn==="~"&&ht.eatWhile(mn)){if(Re.strikethrough){We.highlightFormatting&&(Re.formatting="strikethrough");var yn=Ve(Re);return Re.strikethrough=!1,yn}else if(ht.match(/^[^\s]/,!1))return Re.strikethrough=!0,We.highlightFormatting&&(Re.formatting="strikethrough"),Ve(Re)}else if(mn===" "&&ht.match(/^~~/,!0)){if(ht.peek()===" ")return Ve(Re);ht.backUp(2)}}if(We.emoji&&mn===":"&&ht.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Re.emoji=!0,We.highlightFormatting&&(Re.formatting="emoji");var Kt=Ve(Re);return Re.emoji=!1,Kt}return mn===" "&&(ht.match(/^ +$/,!1)?Re.trailingSpace++:Re.trailingSpace&&(Re.trailingSpaceNewLine=!0)),Ve(Re)}function Ue(ht,Re){var At=ht.next();if(At===">"){Re.f=Re.inline=ut,We.highlightFormatting&&(Re.formatting="link");var Sn=Ve(Re);return Sn?Sn+=" ":Sn="",Sn+ke.linkInline}return ht.match(/^[^>]+/,!0),ke.linkInline}function Nt(ht,Re){if(ht.eatSpace())return null;var At=ht.next();return At==="("||At==="["?(Re.f=Re.inline=Ht(At==="("?")":"]"),We.highlightFormatting&&(Re.formatting="link-string"),Re.linkHref=!0,Ve(Re)):"error"}var Qe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ht(ht){return function(Re,At){var Sn=Re.next();if(Sn===ht){At.f=At.inline=ut,We.highlightFormatting&&(At.formatting="link-string");var mn=Ve(At);return At.linkHref=!1,mn}return Re.match(Qe[ht]),At.linkHref=!0,Ve(At)}}function Rt(ht,Re){return ht.match(/^([^\]\\]|\\.)*\]:/,!1)?(Re.f=It,ht.next(),We.highlightFormatting&&(Re.formatting="link"),Re.linkText=!0,Ve(Re)):ge(ht,Re,ut)}function It(ht,Re){if(ht.match(/^\]:/,!0)){Re.f=Re.inline=Lt,We.highlightFormatting&&(Re.formatting="link");var At=Ve(Re);return Re.linkText=!1,At}return ht.match(/^([^\]\\]|\\.)+/,!0),ke.linkText}function Lt(ht,Re){return ht.eatSpace()?null:(ht.match(/^[^\s]+/,!0),ht.peek()===void 0?Re.linkTitle=!0:ht.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Re.f=Re.inline=ut,ke.linkHref+" url")}var Ut={startState:function(){return{f:Pe,prevLine:{stream:null},thisLine:{stream:null},block:Pe,htmlState:null,indentation:0,inline:ut,text:Ye,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(ht){return{f:ht.f,prevLine:ht.prevLine,thisLine:ht.thisLine,block:ht.block,htmlState:ht.htmlState&&Se.copyState(Ot,ht.htmlState),indentation:ht.indentation,localMode:ht.localMode,localState:ht.localMode?Se.copyState(ht.localMode,ht.localState):null,inline:ht.inline,text:ht.text,formatting:!1,linkText:ht.linkText,linkTitle:ht.linkTitle,linkHref:ht.linkHref,code:ht.code,em:ht.em,strong:ht.strong,strikethrough:ht.strikethrough,emoji:ht.emoji,header:ht.header,setext:ht.setext,hr:ht.hr,taskList:ht.taskList,list:ht.list,listStack:ht.listStack.slice(0),quote:ht.quote,indentedCode:ht.indentedCode,trailingSpace:ht.trailingSpace,trailingSpaceNewLine:ht.trailingSpaceNewLine,md_inside:ht.md_inside,fencedEndRE:ht.fencedEndRE}},token:function(ht,Re){if(Re.formatting=!1,ht!=Re.thisLine.stream){if(Re.header=0,Re.hr=!1,ht.match(/^\s*$/,!0))return Ne(Re),null;if(Re.prevLine=Re.thisLine,Re.thisLine={stream:ht},Re.taskList=!1,Re.trailingSpace=0,Re.trailingSpaceNewLine=!1,!Re.localState&&(Re.f=Re.block,Re.f!=Ie)){var At=ht.match(/^\s*/,!0)[0].replace(/\t/g,se).length;if(Re.indentation=At,Re.indentationDiff=null,At>0)return null}}return Re.f(ht,Re)},innerMode:function(ht){return ht.block==Ie?{state:ht.htmlState,mode:Ot}:ht.localState?{state:ht.localState,mode:ht.localMode}:{state:ht,mode:Ut}},indent:function(ht,Re,At){return ht.block==Ie&&Ot.indent?Ot.indent(ht.htmlState,Re,At):ht.localState&&ht.localMode.indent?ht.localMode.indent(ht.localState,Re,At):Se.Pass},blankLine:Ne,getType:Ve,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ut},"xml"),Se.defineMIME("text/markdown","markdown"),Se.defineMIME("text/x-markdown","markdown")})},98101:function(zn,Nn,ve){(function(Se){Se(ve(89780))})(function(Se){"use strict";Se.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Oe=0;Oe-1&&Ot.substring(ke+1,Ot.length);if(Bt)return Se.findModeByExtension(Bt)},Se.findModeByName=function(Ot){Ot=Ot.toLowerCase();for(var et=0;et0?Me.cmdState[Me.cmdState.length-1]:null}function yt(Me){var te=Me.cmdState.pop();te&&te.closeBracket()}function ke(Me){for(var te=Me.cmdState,ne=te.length-1;ne>=0;ne--){var ce=te[ne];if(ce.name!="DEFAULT")return ce}return{styleIdentifier:function(){return null}}}function Bt(Me,te,ne){return function(){this.name=Me,this.bracketNo=0,this.style=te,this.styles=ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Et={};Et.importmodule=Bt("importmodule","tag",["string","builtin"]),Et.documentclass=Bt("documentclass","tag",["","atom"]),Et.usepackage=Bt("usepackage","tag",["atom"]),Et.begin=Bt("begin","tag",["atom"]),Et.end=Bt("end","tag",["atom"]),Et.label=Bt("label","tag",["atom"]),Et.ref=Bt("ref","tag",["atom"]),Et.eqref=Bt("eqref","tag",["atom"]),Et.cite=Bt("cite","tag",["atom"]),Et.bibitem=Bt("bibitem","tag",["atom"]),Et.Bibitem=Bt("Bibitem","tag",["atom"]),Et.RBibitem=Bt("RBibitem","tag",["atom"]),Et.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function tt(Me,te){Me.f=te}function gt(Me,te){var ne;if(Me.match(/^\\[a-zA-Z@]+/)){var ce=Me.current().slice(1);return ne=Et.hasOwnProperty(ce)?Et[ce]:Et.DEFAULT,ne=new ne,Ot(te,ne),tt(te,Ct),ne.style}if(Me.match(/^\\[$&%#{}_]/)||Me.match(/^\\[,;!\/\\]/))return"tag";if(Me.match("\\["))return tt(te,function(ge,ye){return dt(ge,ye,"\\]")}),"keyword";if(Me.match("\\("))return tt(te,function(ge,ye){return dt(ge,ye,"\\)")}),"keyword";if(Me.match("$$"))return tt(te,function(ge,ye){return dt(ge,ye,"$$")}),"keyword";if(Me.match("$"))return tt(te,function(ge,ye){return dt(ge,ye,"$")}),"keyword";var se=Me.next();if(se=="%")return Me.skipToEnd(),"comment";if(se=="}"||se=="]"){if(ne=et(te),ne)ne.closeBracket(se),tt(te,Ct);else return"error";return"bracket"}else return se=="{"||se=="["?(ne=Et.DEFAULT,ne=new ne,Ot(te,ne),"bracket"):/\d/.test(se)?(Me.eatWhile(/[\w.%]/),"atom"):(Me.eatWhile(/[\w\-_]/),ne=ke(te),ne.name=="begin"&&(ne.argument=Me.current()),ne.styleIdentifier())}function dt(Me,te,ne){if(Me.eatSpace())return null;if(ne&&Me.match(ne))return tt(te,gt),"keyword";if(Me.match(/^\\[a-zA-Z@]+/))return"tag";if(Me.match(/^[a-zA-Z]+/))return"variable-2";if(Me.match(/^\\[$&%#{}_]/)||Me.match(/^\\[,;!\/]/)||Me.match(/^[\^_&]/))return"tag";if(Me.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Me.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ce=Me.next();return ce=="{"||ce=="}"||ce=="["||ce=="]"||ce=="("||ce==")"?"bracket":ce=="%"?(Me.skipToEnd(),"comment"):"error"}function Ct(Me,te){var ne=Me.peek(),ce;return ne=="{"||ne=="["?(ce=et(te),ce.openBracket(ne),Me.eat(ne),tt(te,gt),"bracket"):/[ \t\r]/.test(ne)?(Me.eat(ne),null):(tt(te,gt),yt(te),gt(Me,te))}return{startState:function(){var Me=We.inMathMode?function(te,ne){return dt(te,ne)}:gt;return{cmdState:[],f:Me}},copyState:function(Me){return{cmdState:Me.cmdState.slice(),f:Me.f}},token:function(Me,te){return te.f(Me,te)},blankLine:function(Me){Me.f=gt,Me.cmdState.length=0},lineComment:"%"}}),Se.defineMIME("text/x-stex","stex"),Se.defineMIME("text/x-latex","stex")})},15525:function(zn,Nn,ve){(function(Se){Se(ve(89780))})(function(Se){"use strict";var Oe={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},We={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};Se.defineMode("xml",function(Ot,et){var yt=Ot.indentUnit,ke={},Bt=et.htmlMode?Oe:We;for(var Et in Bt)ke[Et]=Bt[Et];for(var Et in et)ke[Et]=et[Et];var tt,gt;function dt(Ue,Nt){function Qe(It){return Nt.tokenize=It,It(Ue,Nt)}var Ht=Ue.next();if(Ht=="<")return Ue.eat("!")?Ue.eat("[")?Ue.match("CDATA[")?Qe(te("atom","]]>")):null:Ue.match("--")?Qe(te("comment","-->")):Ue.match("DOCTYPE",!0,!0)?(Ue.eatWhile(/[\w\._\-]/),Qe(ne(1))):null:Ue.eat("?")?(Ue.eatWhile(/[\w\._\-]/),Nt.tokenize=te("meta","?>"),"meta"):(tt=Ue.eat("/")?"closeTag":"openTag",Nt.tokenize=Ct,"tag bracket");if(Ht=="&"){var Rt;return Ue.eat("#")?Ue.eat("x")?Rt=Ue.eatWhile(/[a-fA-F\d]/)&&Ue.eat(";"):Rt=Ue.eatWhile(/[\d]/)&&Ue.eat(";"):Rt=Ue.eatWhile(/[\w\.\-:]/)&&Ue.eat(";"),Rt?"atom":"error"}else return Ue.eatWhile(/[^&<]/),null}dt.isInText=!0;function Ct(Ue,Nt){var Qe=Ue.next();if(Qe==">"||Qe=="/"&&Ue.eat(">"))return Nt.tokenize=dt,tt=Qe==">"?"endTag":"selfcloseTag","tag bracket";if(Qe=="=")return tt="equals",null;if(Qe=="<"){Nt.tokenize=dt,Nt.state=ye,Nt.tagName=Nt.tagStart=null;var Ht=Nt.tokenize(Ue,Nt);return Ht?Ht+" tag error":"tag error"}else return/[\'\"]/.test(Qe)?(Nt.tokenize=Me(Qe),Nt.stringStartCol=Ue.column(),Nt.tokenize(Ue,Nt)):(Ue.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Me(Ue){var Nt=function(Qe,Ht){for(;!Qe.eol();)if(Qe.next()==Ue){Ht.tokenize=Ct;break}return"string"};return Nt.isInAttribute=!0,Nt}function te(Ue,Nt){return function(Qe,Ht){for(;!Qe.eol();){if(Qe.match(Nt)){Ht.tokenize=dt;break}Qe.next()}return Ue}}function ne(Ue){return function(Nt,Qe){for(var Ht;(Ht=Nt.next())!=null;){if(Ht=="<")return Qe.tokenize=ne(Ue+1),Qe.tokenize(Nt,Qe);if(Ht==">")if(Ue==1){Qe.tokenize=dt;break}else return Qe.tokenize=ne(Ue-1),Qe.tokenize(Nt,Qe)}return"meta"}}function ce(Ue,Nt,Qe){this.prev=Ue.context,this.tagName=Nt,this.indent=Ue.indented,this.startOfLine=Qe,(ke.doNotIndent.hasOwnProperty(Nt)||Ue.context&&Ue.context.noIndent)&&(this.noIndent=!0)}function se(Ue){Ue.context&&(Ue.context=Ue.context.prev)}function ge(Ue,Nt){for(var Qe;;){if(!Ue.context||(Qe=Ue.context.tagName,!ke.contextGrabbers.hasOwnProperty(Qe)||!ke.contextGrabbers[Qe].hasOwnProperty(Nt)))return;se(Ue)}}function ye(Ue,Nt,Qe){return Ue=="openTag"?(Qe.tagStart=Nt.column(),Ce):Ue=="closeTag"?Ne:ye}function Ce(Ue,Nt,Qe){return Ue=="word"?(Qe.tagName=Nt.current(),gt="tag",Ke):ke.allowMissingTagName&&Ue=="endTag"?(gt="tag bracket",Ke(Ue,Nt,Qe)):(gt="error",Ce)}function Ne(Ue,Nt,Qe){if(Ue=="word"){var Ht=Nt.current();return Qe.context&&Qe.context.tagName!=Ht&&ke.implicitlyClosed.hasOwnProperty(Qe.context.tagName)&&se(Qe),Qe.context&&Qe.context.tagName==Ht||ke.matchClosing===!1?(gt="tag",Pe):(gt="tag error",Ie)}else return ke.allowMissingTagName&&Ue=="endTag"?(gt="tag bracket",Pe(Ue,Nt,Qe)):(gt="error",Ie)}function Pe(Ue,Nt,Qe){return Ue!="endTag"?(gt="error",Pe):(se(Qe),ye)}function Ie(Ue,Nt,Qe){return gt="error",Pe(Ue,Nt,Qe)}function Ke(Ue,Nt,Qe){if(Ue=="word")return gt="attribute",Ve;if(Ue=="endTag"||Ue=="selfcloseTag"){var Ht=Qe.tagName,Rt=Qe.tagStart;return Qe.tagName=Qe.tagStart=null,Ue=="selfcloseTag"||ke.autoSelfClosers.hasOwnProperty(Ht)?ge(Qe,Ht):(ge(Qe,Ht),Qe.context=new ce(Qe,Ht,Rt==Qe.indented)),ye}return gt="error",Ke}function Ve(Ue,Nt,Qe){return Ue=="equals"?Ye:(ke.allowMissing||(gt="error"),Ke(Ue,Nt,Qe))}function Ye(Ue,Nt,Qe){return Ue=="string"?ut:Ue=="word"&&ke.allowUnquoted?(gt="string",Ke):(gt="error",Ke(Ue,Nt,Qe))}function ut(Ue,Nt,Qe){return Ue=="string"?ut:Ke(Ue,Nt,Qe)}return{startState:function(Ue){var Nt={tokenize:dt,state:ye,indented:Ue||0,tagName:null,tagStart:null,context:null};return Ue!=null&&(Nt.baseIndent=Ue),Nt},token:function(Ue,Nt){if(!Nt.tagName&&Ue.sol()&&(Nt.indented=Ue.indentation()),Ue.eatSpace())return null;tt=null;var Qe=Nt.tokenize(Ue,Nt);return(Qe||tt)&&Qe!="comment"&&(gt=null,Nt.state=Nt.state(tt||Qe,Ue,Nt),gt&&(Qe=gt=="error"?Qe+" error":gt)),Qe},indent:function(Ue,Nt,Qe){var Ht=Ue.context;if(Ue.tokenize.isInAttribute)return Ue.tagStart==Ue.indented?Ue.stringStartCol+1:Ue.indented+yt;if(Ht&&Ht.noIndent)return Se.Pass;if(Ue.tokenize!=Ct&&Ue.tokenize!=dt)return Qe?Qe.match(/^(\s*)/)[0].length:0;if(Ue.tagName)return ke.multilineTagIndentPastTag!==!1?Ue.tagStart+Ue.tagName.length+2:Ue.tagStart+yt*(ke.multilineTagIndentFactor||1);if(ke.alignCDATA&&/$/,blockCommentStart:"",configuration:ke.htmlMode?"html":"xml",helperType:ke.htmlMode?"html":"xml",skipAttribute:function(Ue){Ue.state==Ye&&(Ue.state=Ke)},xmlCurrentTag:function(Ue){return Ue.tagName?{name:Ue.tagName,close:Ue.type=="closeTag"}:null},xmlCurrentContext:function(Ue){for(var Nt=[],Qe=Ue.context;Qe;Qe=Qe.prev)Qe.tagName&&Nt.push(Qe.tagName);return Nt.reverse()}}}),Se.defineMIME("text/xml","xml"),Se.defineMIME("application/xml","xml"),Se.mimeModes.hasOwnProperty("text/html")||Se.defineMIME("text/html",{name:"xml",htmlMode:!0})})},12378:function(zn,Nn,ve){"use strict";ve.d(Nn,{$u:function(){return Et},BD:function(){return An},E9:function(){return Bt},FF:function(){return so},FJ:function(){return ye},Hn:function(){return ge},KX:function(){return Ne},NB:function(){return Be},S0:function(){return pt},UL:function(){return tt},Vk:function(){return se},Vm:function(){return me},YI:function(){return Un},ZA:function(){return We},Zt:function(){return gt},al:function(){return Xe},bn:function(){return St},bx:function(){return ni},g2:function(){return wn},h1:function(){return Ye},hD:function(){return Di},l4:function(){return yt},rU:function(){return xe},s_:function(){return Qt},uz:function(){return Ge},z6:function(){return dt}}),zn=ve.hmd(zn),function(){var Ee;function $n(a){var y=0;return function(){return yx&&(x=Math.max(0,E+x)),(b==null||b>E)&&(b=E),b=Number(b),0>b&&(b=Math.max(0,E+b)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):st("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function yi(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):st("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function oi(){var a=$r.pop();return a===void 0?[]:a}function Ci(a){a.length=0,$r.push(a)}function Li(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(nn(a)&&a.constructor)return Li(a.constructor);return typeof a}function qi(a){var y=a;return nn(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function lr(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function er(a,y,x){Object.defineProperty(si.prototype,a,{get:y,set:x})}function Ln(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var b=0,E=0;Ex;x++)y[x]=x;for(x=b=0;256>x;x++)b=(b+y[x]+119)%256,E=y[x],y[x]=y[b],y[b]=E;b=x=0;for(var z="",ee=0;ee-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var Nr=$e.navigator!==void 0&&0<$e.navigator.userAgent.indexOf("Trident/7"),Ar=$e.navigator!==void 0&&$e.navigator.platform!==void 0&&$e.navigator.platform.match(/(iPhone|iPod|iPad|Mac)/i)!==null,$r=[];Object.freeze([]),$t.className="Util",$t.Dx="32ab5ff3b26f42dc0ed90f21472913b5",$t.adym="gojs.net",$t.vfo="28e645fdb266",$t.className="Util";function En(a,y,x){fr(this),this.j=a,this.xa=y,this.o=x}En.prototype.toString=function(){return"EnumValue."+this.xa};function ci(a,y){return y==null||y===""?null:a[y]}ze.Object.defineProperties(En.prototype,{classType:{get:function(){return this.j}},name:{get:function(){return this.xa}},value:{get:function(){return this.o}}}),En.className="EnumValue";function Ii(){this.ew=[]}Ii.prototype.toString=function(){return this.ew.join("")},Ii.prototype.add=function(a){a!==""&&this.ew.push(a)},Ii.className="StringBuilder";function ir(){}ir.className="PropertyCollection";var Ki={EA:!1,JA:!1,GA:!1,IA:!1,NA:!1,LA:!1,nx:!1,FA:null,trace:function(a){$e.console&&$e.console.log(a)},HA:function(a,y,x,b){a.strokeStyle="red",a.fillStyle="red",a.font="8px sans-serif",a.beginPath(),a.moveTo(-10,0),a.lineTo(10,0),a.moveTo(0,-10),a.lineTo(0,10),a.stroke(),a.setTransform(1,0,0,1,0,0),a.scale(x,x),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.lineWidth=2,a.beginPath(),a.moveTo(b.left,b.top+20),a.lineTo(b.left,b.top),a.lineTo(b.left+20,b.top),a.moveTo(b.right,b.bottom-20),a.lineTo(b.right,b.bottom),a.lineTo(b.right-20,b.bottom),a.stroke(),a.fillText("DB: "+Math.round(b.x)+", "+Math.round(b.y)+", "+Math.round(b.width)+", "+Math.round(b.height),b.left,b.top-5)},DA:function(a){var y={},x;for(x in a){if(y.x=x,y.x!=="licenseKey"){var b=a[y.x];if(b.prototype!==void 0){y.Zl=Object.getOwnPropertyNames(b.prototype);for(var E={Tj:0};E.Tjthis.key)return!1;a=a.s;var y=a.length,x=++this.Za,b=this.qf;if(b!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Wi.prototype.Ad=function(){return this.next()},Wi.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},Wi.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},Wi.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},Wi.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},Wi.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--)x.push(a(y[b]));return a=new Bn,a.s=x,a.xb(),a.iterator},Wi.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--){var E=y[b];a(E)&&x.push(E)}return a=new Bn,a.s=x,a.xb(),a.iterator},Wi.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Wi.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},ze.Object.defineProperties(Wi.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Wi.prototype.first=Wi.prototype.first,Wi.prototype.hasNext=Wi.prototype.Ad,Wi.prototype.next=Wi.prototype.next,Wi.prototype.reset=Wi.prototype.reset,Wi.className="ListIteratorBackwards";function Bn(a){fr(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&st("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ee=Bn.prototype,Ee.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Kn(a,"0 <= i < length",Bn,"elt:i"),y[a]},Ee.get=function(a){return this.M(a)},Ee.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Kn(a,"0 <= i < length",Bn,"setElt:i"),this._isFrozen&&fn(this,a),x[a]=y},Ee.set=function(a,y){this.cd(a,y)},Ee.first=function(){var a=this.s;return a.length===0?null:a[0]},Ee.jc=function(){var a=this.s,y=a.length;return 0a&&Kn(a,">= 0",Bn,"insertAt:i"),this._isFrozen&&fn(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Ee.remove=function(a){if(a===null)return!1;this._isFrozen&&fn(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Ee.delete=function(a){return this.remove(a)},Ee.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Kn(a,"0 <= i < length",Bn,"removeAt:i"),this._isFrozen&&fn(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Ee.removeRange=function(a,y){var x=this.s,b=x.length;if(0>a)a=0;else if(a>=b)return this;if(0>y)return this;if(y>=b&&(y=b-1),a>y)return this;this._isFrozen&&fn(this);for(var E=a,z=y+1;z=z)return this;if((0>y||y>=E-1)&&Kn(y,"0 <= from < length",Bn,"sortRange:from"),z===2)return x=b[y],E=b[y+1],0=E)b.sort(a);else for(y=b.slice(0,x),y.sort(a),a=0;a=E)for(x=b.slice(y),x.sort(a),a=y;a=this.s.length)return Er;var a=this.Sa;return a!==null?(a.reset(),a):new Yi(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return Er;var a=this.Hg;return a!==null?(a.reset(),a):new Wi(this)}}}),Bn.prototype.reverse=Bn.prototype.reverse,Bn.prototype.sortRange=Bn.prototype.zi,Bn.prototype.sort=Bn.prototype.sort,Bn.prototype.toSet=Bn.prototype.Iv,Bn.prototype.toArray=Bn.prototype.Fa,Bn.prototype.removeRange=Bn.prototype.removeRange,Bn.prototype.removeAt=Bn.prototype.mb,Bn.prototype.delete=Bn.prototype.delete,Bn.prototype.remove=Bn.prototype.remove,Bn.prototype.insertAt=Bn.prototype.Gb,Bn.prototype.pop=Bn.prototype.pop,Bn.prototype.last=Bn.prototype.jc,Bn.prototype.first=Bn.prototype.first,Bn.prototype.set=Bn.prototype.set,Bn.prototype.setElt=Bn.prototype.cd,Bn.prototype.get=Bn.prototype.get,Bn.prototype.elt=Bn.prototype.M,Bn.prototype.indexOf=Bn.prototype.indexOf,Bn.prototype.has=Bn.prototype.has,Bn.prototype.contains=Bn.prototype.contains,Bn.prototype.clear=Bn.prototype.clear,Bn.prototype.addAll=Bn.prototype.addAll,Bn.prototype.push=Bn.prototype.push,Bn.prototype.add=Bn.prototype.add,Bn.prototype.thaw=Bn.prototype.ka,Bn.prototype.freeze=Bn.prototype.freeze,Bn.className="List";function Lr(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Lr.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},Lr.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},Lr.prototype.Ad=function(){return this.next()},Lr.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},Lr.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},Lr.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},Lr.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},Lr.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new Bn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},Lr.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new Bn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},Lr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},Lr.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},ze.Object.defineProperties(Lr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),Lr.prototype.first=Lr.prototype.first,Lr.prototype.hasNext=Lr.prototype.Ad,Lr.prototype.next=Lr.prototype.next,Lr.prototype.reset=Lr.prototype.reset,Lr.className="SetIterator";function Fn(a){fr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&st("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ee=Fn.prototype,Ee.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return Er;var a=this.Sa;return a!==null?(a.reset(),a):new Lr(this)}}}),Fn.prototype.toList=Fn.prototype.Hv,Fn.prototype.toArray=Fn.prototype.Fa,Fn.prototype.clear=Fn.prototype.clear,Fn.prototype.retainAll=Fn.prototype.pA,Fn.prototype.removeAll=Fn.prototype.hp,Fn.prototype.delete=Fn.prototype.delete,Fn.prototype.remove=Fn.prototype.remove,Fn.prototype.first=Fn.prototype.first,Fn.prototype.containsAny=Fn.prototype.Ty,Fn.prototype.containsAll=Fn.prototype.Sy,Fn.prototype.has=Fn.prototype.has,Fn.prototype.contains=Fn.prototype.contains,Fn.prototype.addAll=Fn.prototype.addAll,Fn.prototype.add=Fn.prototype.add,Fn.prototype.thaw=Fn.prototype.ka,Fn.prototype.freeze=Fn.prototype.freeze;var Ao=1;Fn.className="Set",Fn.uniqueHash=fr,Fn.hashIdUnique=Qr,Fn.hashId=Pr;function po(a){this.ma=a,this.qa=a.Ja,this.sa=null}po.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},po.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},po.prototype.Ad=function(){return this.next()},po.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},po.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},po.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},po.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},po.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new Bn;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},po.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new Bn;for(y=y.ea;y!==null;){var b=y.key;a(b)&&x.add(b),y=y.va}return x.iterator},po.prototype.de=function(){this.value=this.key=null,this.qa=-1},po.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},ze.Object.defineProperties(po.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),po.prototype.first=po.prototype.first,po.prototype.hasNext=po.prototype.Ad,po.prototype.next=po.prototype.next,po.prototype.reset=po.prototype.reset,po.className="MapKeySetIterator";function vr(a){Fn.call(this),fr(this),this._isFrozen=!0,this.ma=a}bt(vr,Fn),Ee=vr.prototype,Ee.freeze=function(){return this},Ee.ka=function(){return this},Ee.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Ee.add=function(){st("This Set is read-only: "+this.toString())},Ee.contains=function(a){return this.ma.contains(a)},Ee.has=function(a){return this.contains(a)},Ee.remove=function(){st("This Set is read-only: "+this.toString())},Ee.delete=function(a){return this.remove(a)},Ee.clear=function(){st("This Set is read-only: "+this.toString())},Ee.first=function(){var a=this.ma.ea;return a!==null?a.key:null},vr.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},vr.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},vr.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},vr.prototype.map=function(a){for(var y=new Fn,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},vr.prototype.filter=function(a){for(var y=new Fn,x=this.ma.ea;x!==null;){var b=x.key;a(b)&&y.add(b),x=x.va}return y},vr.prototype.copy=function(){return new vr(this.ma)},vr.prototype.Iv=function(){var a=new Fn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},vr.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,b;for(b in a)y[x]=a[b].key,x++;return y},vr.prototype.Hv=function(){var a=new Bn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},ze.Object.defineProperties(vr.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?Er:new po(this.ma)}}}),vr.prototype.toList=vr.prototype.Hv,vr.prototype.toArray=vr.prototype.Fa,vr.prototype.toSet=vr.prototype.Iv,vr.prototype.first=vr.prototype.first,vr.prototype.clear=vr.prototype.clear,vr.prototype.delete=vr.prototype.delete,vr.prototype.remove=vr.prototype.remove,vr.prototype.has=vr.prototype.has,vr.prototype.contains=vr.prototype.contains,vr.prototype.add=vr.prototype.add,vr.prototype.thaw=vr.prototype.ka,vr.prototype.freeze=vr.prototype.freeze,vr.className="MapKeySet";function gr(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}gr.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},gr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},gr.prototype.Ad=function(){return this.next()},gr.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},gr.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},gr.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},gr.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},gr.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Bn;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},gr.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Bn;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},gr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},gr.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},ze.Object.defineProperties(gr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),gr.prototype.first=gr.prototype.first,gr.prototype.hasNext=gr.prototype.Ad,gr.prototype.next=gr.prototype.next,gr.prototype.reset=gr.prototype.reset,gr.className="MapValueSetIterator";function cr(a,y){this.key=a,this.value=y,this.ll=this.va=null}cr.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},cr.className="KeyValuePair";function Yr(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Yr.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},Yr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},Yr.prototype.Ad=function(){return this.next()},Yr.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},Yr.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},Yr.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},Yr.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},Yr.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Bn;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},Yr.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Bn;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},Yr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},Yr.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},ze.Object.defineProperties(Yr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Yr.prototype.first=Yr.prototype.first,Yr.prototype.hasNext=Yr.prototype.Ad,Yr.prototype.next=Yr.prototype.next,Yr.prototype.reset=Yr.prototype.reset,Yr.className="MapIterator";function Ri(a){fr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&st("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ee=Ri.prototype,Ee.xb=function(){var a=this.Ja;a++,999999999=this.count)return Er;var a=this.Sa;return a!==null?(a.reset(),a):new Yr(this)}},iteratorKeys:{get:function(){return 0>=this.count?Er:new po(this)}},iteratorValues:{get:function(){if(0>=this.count)return Er;var a=this.jf;return a!==null?(a.reset(),a):new gr(this)}}}),Ri.prototype.toKeySet=Ri.prototype.Lf,Ri.prototype.toArray=Ri.prototype.Fa,Ri.prototype.clear=Ri.prototype.clear,Ri.prototype.delete=Ri.prototype.delete,Ri.prototype.remove=Ri.prototype.remove,Ri.prototype.get=Ri.prototype.get,Ri.prototype.getValue=Ri.prototype.I,Ri.prototype.has=Ri.prototype.has,Ri.prototype.contains=Ri.prototype.contains,Ri.prototype.first=Ri.prototype.first,Ri.prototype.addAll=Ri.prototype.addAll,Ri.prototype.set=Ri.prototype.set,Ri.prototype.add=Ri.prototype.add,Ri.prototype.thaw=Ri.prototype.ka,Ri.prototype.freeze=Ri.prototype.freeze,Ri.className="Map";function _e(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):st("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var xt,Dt,un,jn,ai;_e.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},_e.prototype.h=function(a,y){return this.x=a,this.y=y,this},_e.prototype.sg=function(a,y){return this.x=a,this.y=y,this},_e.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},_e.prototype.copy=function(){var a=new _e;return a.x=this.x,a.y=this.y,a},Ee=_e.prototype,Ee.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ee.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ee.freeze=function(){return this._isFrozen=!0,this},Ee.ka=function(){return Object.isFrozen(this)&&st("cannot thaw constant: "+this),this._isFrozen=!1,this};function Vt(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new _e(x,E)}return new _e}function Cn(a){return a.x.toString()+" "+a.y.toString()}Ee.toString=function(){return"Point("+this.x+","+this.y+")"},Ee.D=function(a){return a instanceof _e?this.x===a.x&&this.y===a.y:!1},Ee.hi=function(a,y){return this.x===a&&this.y===y},Ee.Xa=function(a){return Wt.B(this.x,a.x)&&Wt.B(this.y,a.y)},Ee.add=function(a){return this.x+=a.x,this.y+=a.y,this},Ee.re=function(a){return this.x-=a.x,this.y-=a.y,this},Ee.offset=function(a,y){return this.x+=a,this.y+=y,this},_e.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));return this.x=a*y-b*x,this.y=b*y+a*x,this},Ee=_e.prototype,Ee.scale=function(a,y){return this.x*=a,this.y*=y,this},Ee.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Ee.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Ee.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Ee.Ry=function(a,y){return Wt.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Ee.fA=function(a,y,x,b){return Wt.qh(a,y,x,b,this.x,this.y,this),this},Ee.gA=function(a,y){return Wt.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Ee.uA=function(a,y,x,b){return Wt.No(this.x,this.y,a,y,x,b,this),this},Ee.vA=function(a,y){return Wt.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Ee.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Ee.yi=function(a,y,x,b,E){return this.x=a+E.x*x+E.offsetX,this.y=y+E.y*b+E.offsetY,this},Ee.transform=function(a){return a.Ga(this),this};function Qn(a,y){return y.Cd(a),a}function Fi(a,y,x,b,E,z){var ee=E-x,re=z-b,oe=ee*ee+re*re;x-=a,b-=y;var le=-x*ee-b*re;return 0>=le||le>=oe?(ee=E-a,re=z-y,Math.min(x*x+b*b,ee*ee+re*re)):(a=ee*b-re*x,a*a/oe)}function Mr(a,y,x,b){return a=x-a,y=b-y,a*a+y*y}function Ei(a,y,x,b){return a=x-a,y=b-y,a===0?0y?270:0:y===0?0a?b=0>y?b+180:180-b:0>y&&(b=360-b),b)}Ee.w=function(){return isFinite(this.x)&&isFinite(this.y)},_e.alloc=function(){var a=Oi.pop();return a===void 0?new _e:a},_e.allocAt=function(a,y){var x=Oi.pop();return x===void 0?new _e(a,y):(x.x=a,x.y=y,x)},_e.free=function(a){Oi.push(a)},_e.prototype.isReal=_e.prototype.w,_e.prototype.setSpot=_e.prototype.yi,_e.prototype.setRectSpot=_e.prototype.xi,_e.prototype.snapToGridPoint=_e.prototype.vA,_e.prototype.snapToGrid=_e.prototype.uA,_e.prototype.projectOntoLineSegmentPoint=_e.prototype.gA,_e.prototype.projectOntoLineSegment=_e.prototype.fA,_e.intersectingLineSegments=function(a,y,x,b,E,z,ee,re){return Wt.Rl(a,y,x,b,E,z,ee,re)},_e.prototype.compareWithLineSegmentPoint=_e.prototype.Ry,_e.compareWithLineSegment=function(a,y,x,b,E,z){return Wt.Fl(a,y,x,b,E,z)},_e.prototype.direction=_e.prototype.direction,_e.prototype.directionPoint=_e.prototype.ab,_e.prototype.normalize=_e.prototype.normalize,_e.prototype.distanceSquared=_e.prototype.zd,_e.prototype.distanceSquaredPoint=_e.prototype.Bf,_e.prototype.scale=_e.prototype.scale,_e.prototype.rotate=_e.prototype.rotate,_e.prototype.offset=_e.prototype.offset,_e.prototype.subtract=_e.prototype.re,_e.prototype.add=_e.prototype.add,_e.prototype.equalsApprox=_e.prototype.Xa,_e.prototype.equalTo=_e.prototype.hi,_e.prototype.equals=_e.prototype.D,_e.prototype.set=_e.prototype.set,_e.prototype.setTo=_e.prototype.sg;var Oi=[];_e.className="Point",_e.parse=Vt,_e.stringify=Cn,_e.distanceLineSegmentSquared=Fi,_e.distanceSquared=Mr,_e.direction=Ei,_e.Origin=xt=new _e(0,0).ja(),_e.InfiniteTopLeft=Dt=new _e(-1/0,-1/0).ja(),_e.InfiniteBottomRight=un=new _e(1/0,1/0).ja(),_e.SixPoint=jn=new _e(6,6).ja(),_e.NoPoint=ai=new _e(NaN,NaN).ja(),_e.parse=Vt,_e.stringify=Cn,_e.distanceLineSegmentSquared=Fi,_e.distanceSquared=Mr,_e.direction=Ei;function Hn(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):st("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var pr,kr,wo,to,Xr,eo,Zo;Hn.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},Hn.prototype.h=function(a,y){return this.width=a,this.height=y,this},Hn.prototype.sg=function(a,y){return this.width=a,this.height=y,this},Hn.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},Hn.prototype.copy=function(){var a=new Hn;return a.width=this.width,a.height=this.height,a},Ee=Hn.prototype,Ee.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ee.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ee.freeze=function(){return this._isFrozen=!0,this},Ee.ka=function(){return Object.isFrozen(this)&&st("cannot thaw constant: "+this),this._isFrozen=!1,this};function $o(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new Hn(x,E)}return new Hn}function ia(a){return a.width.toString()+" "+a.height.toString()}Ee.toString=function(){return"Size("+this.width+","+this.height+")"},Ee.D=function(a){return a instanceof Hn?this.width===a.width&&this.height===a.height:!1},Ee.hi=function(a,y){return this.width===a&&this.height===y},Ee.Xa=function(a){return Wt.B(this.width,a.width)&&Wt.B(this.height,a.height)},Ee.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Ee.w=function(){return isFinite(this.width)&&isFinite(this.height)},Hn.alloc=function(){var a=qo.pop();return a===void 0?new Hn:a},Hn.free=function(a){qo.push(a)},Hn.prototype.isReal=Hn.prototype.w,Hn.prototype.inflate=Hn.prototype.Bc,Hn.prototype.equalsApprox=Hn.prototype.Xa,Hn.prototype.equalTo=Hn.prototype.hi,Hn.prototype.equals=Hn.prototype.D,Hn.prototype.set=Hn.prototype.set,Hn.prototype.setTo=Hn.prototype.sg;var qo=[];Hn.className="Size",Hn.parse=$o,Hn.stringify=ia,Hn.ZeroSize=pr=new Hn(0,0).ja(),Hn.OneSize=kr=new Hn(1,1).ja(),Hn.SixSize=wo=new Hn(6,6).ja(),Hn.EightSize=to=new Hn(8,8).ja(),Hn.TenSize=Xr=new Hn(10,10).ja(),Hn.InfiniteSize=eo=new Hn(1/0,1/0).ja(),Hn.NoSize=Zo=new Hn(NaN,NaN).ja(),Hn.parse=$o,Hn.stringify=ia;function xn(a,y,x,b){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof b=="number"&&(0<=b||isNaN(b))?(this.x=a,this.y=y,this.width=x,this.height=b):a instanceof _e?(x=a.x,a=a.y,y instanceof _e?(b=y.x,y=y.y,this.x=Math.min(x,b),this.y=Math.min(a,y),this.width=Math.abs(x-b),this.height=Math.abs(a-y)):y instanceof Hn?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):st("Incorrect second argument supplied to Rect constructor "+y)):st("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Ee=xn.prototype,Ee.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ee.h=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this};function oa(a,y,x){a.width=y,a.height=x}Ee.sg=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this},Ee.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ee.dd=function(a){return this.x=a.x,this.y=a.y,this},Ee.tA=function(a){return this.width=a.width,this.height=a.height,this},xn.prototype.copy=function(){var a=new xn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Ee=xn.prototype,Ee.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ee.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ee.freeze=function(){return this._isFrozen=!0,this},Ee.ka=function(){return Object.isFrozen(this)&&st("cannot thaw constant: "+this),this._isFrozen=!1,this};function vs(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;(b=a[y++])&&(E=parseFloat(b));for(var z=0;a[y]==="";)y++;(b=a[y++])&&(z=parseFloat(b));for(var ee=0;a[y]==="";)y++;return(b=a[y++])&&(ee=parseFloat(b)),new xn(x,E,z,ee)}return new xn}function Ga(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Ee.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Ee.D=function(a){return a instanceof xn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Ee.hi=function(a,y,x,b){return this.x===a&&this.y===y&&this.width===x&&this.height===b},Ee.Xa=function(a){return Wt.B(this.x,a.x)&&Wt.B(this.y,a.y)&&Wt.B(this.width,a.width)&&Wt.B(this.height,a.height)};function Zs(a,y){return Wt.$(a.x,y.x)&&Wt.$(a.y,y.y)&&Wt.$(a.width,y.width)&&Wt.$(a.height,y.height)}Ee.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Ee.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Ee.contains=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+b<=this.y+this.height},Ee.offset=function(a,y){return this.x+=a,this.y+=y,this},Ee.Bc=function(a,y){return xa(this,y,a,y,a)},Ee.Co=function(a){return xa(this,a.top,a.right,a.bottom,a.left)},Ee.Fv=function(a){return xa(this,-a.top,-a.right,-a.bottom,-a.left)},Ee.Hz=function(a,y,x,b){return xa(this,a,y,x,b)};function xa(a,y,x,b,E){var z=a.width;return x+E<=-z?(a.x+=z/2,a.width=0):(a.x-=E,a.width+=x+E),x=a.height,y+b<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+b),a}Ee.Ex=function(a){return pl(this,a.x,a.y,a.width,a.height)},Ee.Uu=function(a,y,x,b){return pl(this,a,y,x,b)};function pl(a,y,x,b,E){var z=Math.max(a.x,y),ee=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+b),x=Math.min(a.y+a.height,x+E),a.x=z,a.y=ee,a.width=Math.max(0,y-z),a.height=Math.max(0,x-ee),a}Ee.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Ee.Vu=function(a,y,x,b){var E=this.width,z=this.x;return E!==1/0&&x!==1/0&&(E+=z,x+=a,isNaN(x)||isNaN(E)||z>x||a>E)?!1:(a=this.height,x=this.y,!(a!==1/0&&b!==1/0&&(a+=x,b+=y,isNaN(b)||isNaN(a)||x>b||y>a)))};function wa(a,y){var x=a.width,b=a.x,E=y.x-10;return b>y.width+10+10+E||E>x+b?!1:(x=a.height,a=a.y,b=y.y-10,!(a>y.height+10+10+b||b>x+a))}Ee.Ye=function(a){return Lo(this,a.x,a.y,0,0)},Ee.ed=function(a){return Lo(this,a.x,a.y,a.width,a.height)},Ee.Kv=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),Lo(this,a,y,x,b)};function Lo(a,y,x,b,E){var z=Math.min(a.x,y),ee=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+b),x=Math.max(a.y+a.height,x+E),a.x=z,a.y=ee,a.width=y-z,a.height=x-ee,a}Ee.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function Ko(a,y,x,b,E,z,ee,re){return ee===void 0&&(ee=0),re===void 0&&(re=0),a<=E&&E+ee<=a+x&&y<=z&&z+re<=y+b}function Ka(a,y,x,b,E,z,ee,re){return a>ee+E||E>x+a?!1:!(y>re+z||z>b+y)}Ee.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Ee.Mz=function(){return this.width===0&&this.height===0},xn.alloc=function(){var a=ro.pop();return a===void 0?new xn:a},xn.allocAt=function(a,y,x,b){var E=ro.pop();return E===void 0?new xn(a,y,x,b):E.h(a,y,x,b)},xn.free=function(a){ro.push(a)},ze.Object.defineProperties(xn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new _e(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new Hn(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new _e(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),xn.prototype.isEmpty=xn.prototype.Mz,xn.prototype.isReal=xn.prototype.w,xn.intersectsLineSegment=function(a,y,x,b,E,z,ee,re){return Wt.Fx(a,y,x,b,E,z,ee,re)},xn.prototype.setSpot=xn.prototype.yi,xn.prototype.union=xn.prototype.Kv,xn.prototype.unionRect=xn.prototype.ed,xn.prototype.unionPoint=xn.prototype.Ye,xn.prototype.intersects=xn.prototype.Vu,xn.prototype.intersectsRect=xn.prototype.Yc,xn.prototype.intersect=xn.prototype.Uu,xn.prototype.intersectRect=xn.prototype.Ex,xn.prototype.grow=xn.prototype.Hz,xn.prototype.subtractMargin=xn.prototype.Fv,xn.prototype.addMargin=xn.prototype.Co,xn.prototype.inflate=xn.prototype.Bc,xn.prototype.offset=xn.prototype.offset,xn.prototype.contains=xn.prototype.contains,xn.prototype.containsRect=xn.prototype.Re,xn.prototype.containsPoint=xn.prototype.ca,xn.prototype.equalsApprox=xn.prototype.Xa,xn.prototype.equalTo=xn.prototype.hi,xn.prototype.equals=xn.prototype.D,xn.prototype.setSize=xn.prototype.tA,xn.prototype.setPoint=xn.prototype.dd,xn.prototype.set=xn.prototype.set,xn.prototype.setTo=xn.prototype.sg;var Kr=null,ko=null,ro=[];xn.className="Rect",xn.parse=vs,xn.stringify=Ga,xn.contains=Ko,xn.intersects=Ka,xn.ZeroRect=Kr=new xn(0,0,0,0).ja(),xn.NoRect=ko=new xn(NaN,NaN,NaN,NaN).ja(),xn.parse=vs,xn.stringify=Ga,xn.contains=Ko,xn.intersects=Ka;function Hi(a,y,x,b){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):b!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=b):st("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Hi.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Hi.prototype.sg=function(a,y,x,b){return this.top=a,this.right=y,this.bottom=x,this.left=b,this},Hi.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},Hi.prototype.copy=function(){var a=new Hi;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Ee=Hi.prototype,Ee.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ee.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ee.freeze=function(){return this._isFrozen=!0,this},Ee.ka=function(){return Object.isFrozen(this)&&st("cannot thaw constant: "+this),this._isFrozen=!1,this};function fa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var b=a[y++];if(b&&(x=parseFloat(b)),isNaN(x))return new Hi;for(var E=NaN;a[y]==="";)y++;if((b=a[y++])&&(E=parseFloat(b)),isNaN(E))return new Hi(x);for(var z=NaN;a[y]==="";)y++;if((b=a[y++])&&(z=parseFloat(b)),isNaN(z))return new Hi(x,E);for(var ee=NaN;a[y]==="";)y++;return(b=a[y++])&&(ee=parseFloat(b)),isNaN(ee)?new Hi(x,E):new Hi(x,E,z,ee)}return new Hi}function ka(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Ee.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Ee.D=function(a){return a instanceof Hi?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Ee.hi=function(a,y,x,b){return this.top===a&&this.right===y&&this.bottom===x&&this.left===b},Ee.Xa=function(a){return Wt.B(this.top,a.top)&&Wt.B(this.right,a.right)&&Wt.B(this.bottom,a.bottom)&&Wt.B(this.left,a.left)},Ee.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},Hi.alloc=function(){var a=nl.pop();return a===void 0?new Hi:a},Hi.free=function(a){nl.push(a)},Hi.prototype.isReal=Hi.prototype.w,Hi.prototype.equalsApprox=Hi.prototype.Xa,Hi.prototype.equalTo=Hi.prototype.hi,Hi.prototype.equals=Hi.prototype.D,Hi.prototype.set=Hi.prototype.set,Hi.prototype.setTo=Hi.prototype.sg;var Ds=null,ys=null,nl=[];Hi.className="Margin",Hi.parse=fa,Hi.stringify=ka,Hi.ZeroMargin=Ds=new Hi(0,0,0,0).ja(),Hi.TwoMargin=ys=new Hi(2,2,2,2).ja(),Hi.parse=fa,Hi.stringify=ka;function Vi(a,y,x,b){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),b===void 0&&(b=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=b),this._isFrozen=!1}var Da,pa,Os,ml,Gl,So,Au,il,Nl,vl,fu,yl,rl,Sl,oc,Sc,xc,Qc,gu,zl,xl,Tl,pu,wc,mu,Jo,ma,dl,Cs,Ss,rs,ds,Ls,xs,Ks,Bs;Vi.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},Vi.prototype.sg=function(a,y,x,b){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=b,this},Vi.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},Vi.prototype.copy=function(){var a=new Vi;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Ee=Vi.prototype,Ee.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ee.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ee.freeze=function(){return this._isFrozen=!0,this},Ee.ka=function(){return Object.isFrozen(this)&&st("cannot thaw constant: "+this),this._isFrozen=!1,this};function Fa(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function Hu(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return Da;if(a==="TopLeft")return pa;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return Os;if(a==="TopRight")return ml;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return Gl;if(a==="Center")return So;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Au;if(a==="BottomLeft")return il;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return Nl;if(a==="BottomRight")return vl;if(a==="TopSide")return fu;if(a==="LeftSide")return yl;if(a==="RightSide")return rl;if(a==="BottomSide")return Sl;if(a==="TopBottomSides")return oc;if(a==="LeftRightSides")return Sc;if(a==="TopLeftSides")return xc;if(a==="TopRightSides")return Qc;if(a==="BottomLeftSides")return gu;if(a==="BottomRightSides")return zl;if(a==="NotTopSide")return xl;if(a==="NotLeftSide")return Tl;if(a==="NotRightSide")return pu;if(a==="NotBottomSide")return wc;if(a==="AllSides")return mu;if(a==="Default")return Jo;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.m12*a+this.m22*b,z=this.m11*-b+this.m21*a,ee=this.m12*-b+this.m22*a;return this.m11=this.m11*a+this.m21*b,this.m12=E,this.m21=z,this.m22=ee,this.translate(-y,-x),this},Ee=Hr.prototype,Ee.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Ee.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Ee.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Ee.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,b=a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ee.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,b=1.2*a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ee.pp=function(a){var y=a.x,x=a.y,b=y+a.width,E=x+a.height,z=this.m11,ee=this.m12,re=this.m21,oe=this.m22,le=this.dx,ue=this.dy,fe=y*z+x*re+le,we=y*ee+x*oe+ue,be=b*z+x*re+le,Ae=b*ee+x*oe+ue;return x=y*z+E*re+le,y=y*ee+E*oe+ue,z=b*z+E*re+le,b=b*ee+E*oe+ue,E=Math.min(fe,be),fe=Math.max(fe,be),be=Math.min(we,Ae),we=Math.max(we,Ae),E=Math.min(E,x),fe=Math.max(fe,x),be=Math.min(be,y),we=Math.max(we,y),E=Math.min(E,z),fe=Math.max(fe,z),be=Math.min(be,b),we=Math.max(we,b),a.h(E,be,fe-E,we-be),a},Hr.alloc=function(){var a=Lu.pop();return a===void 0?new Hr:a},Hr.free=function(a){Lu.push(a)},Hr.prototype.transformRect=Hr.prototype.pp,Hr.prototype.transformPoint=Hr.prototype.Ga,Hr.prototype.scale=Hr.prototype.scale,Hr.prototype.translate=Hr.prototype.translate,Hr.prototype.rotate=Hr.prototype.rotate,Hr.prototype.invert=Hr.prototype.Vj,Hr.prototype.multiplyInverted=Hr.prototype.bv,Hr.prototype.multiply=Hr.prototype.multiply,Hr.prototype.reset=Hr.prototype.reset,Hr.prototype.isIdentity=Hr.prototype.ws,Hr.prototype.equals=Hr.prototype.D,Hr.prototype.setTransform=Hr.prototype.setTransform,Hr.prototype.set=Hr.prototype.set;var Lu=[];Hr.className="Transform",Hr.xF="54a702f3e53909c447824c6706603faf4c";var Wt={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Wt.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);Wt.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=E&&(E=1e-6),aue-le)if(a-x>E||x-a>E){if(z=(b-y)/(x-a)*(z-a)+y,z-E<=ee&&ee<=z+E)return!0}else return!0;else if(y-b>E||b-y>E){if(ee=(x-a)/(b-y)*(ee-y)+a,ee-E<=z&&z<=ee+E)return!0}else return!0;return!1},cs:function(a,y,x,b,E,z,ee,re,oe,le,ue,fe){if(Wt.Yb(a,y,ee,re,fe,x,b)&&Wt.Yb(a,y,ee,re,fe,E,z))return Wt.Yb(a,y,ee,re,fe,le,ue);var we=(a+x)/2,be=(y+b)/2,Ae=(x+E)/2,Te=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(we+Ae)/2,x=(be+Te)/2,Ae=(Ae+E)/2,Te=(Te+z)/2;var ot=(b+Ae)/2,Je=(x+Te)/2;return Wt.cs(a,y,we,be,b,x,ot,Je,oe,le,ue,fe)||Wt.cs(ot,Je,Ae,Te,E,z,ee,re,oe,le,ue,fe)},ax:function(a,y,x,b,E,z,ee,re,oe){var le=(x+E)/2,ue=(b+z)/2;return oe.h((((a+x)/2+le)/2+(le+(E+ee)/2)/2)/2,(((y+b)/2+ue)/2+(ue+(z+re)/2)/2)/2),oe},My:function(a,y,x,b,E,z,ee,re){var oe=(x+E)/2,le=(b+z)/2;return Ei(((a+x)/2+oe)/2,((y+b)/2+le)/2,(oe+(E+ee)/2)/2,(le+(z+re)/2)/2)},Dl:function(a,y,x,b,E,z,ee,re,oe,le){if(Wt.Yb(a,y,ee,re,oe,x,b)&&Wt.Yb(a,y,ee,re,oe,E,z))Lo(le,a,y,0,0),Lo(le,ee,re,0,0);else{var ue=(a+x)/2,fe=(y+b)/2,we=(x+E)/2,be=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(ue+we)/2,x=(fe+be)/2,we=(we+E)/2,be=(be+z)/2;var Ae=(b+we)/2,Te=(x+be)/2;Wt.Dl(a,y,ue,fe,b,x,Ae,Te,oe,le),Wt.Dl(Ae,Te,we,be,E,z,ee,re,oe,le)}return le},Qe:function(a,y,x,b,E,z,ee,re,oe,le){if(Wt.Yb(a,y,ee,re,oe,x,b)&&Wt.Yb(a,y,ee,re,oe,E,z))le.length===0&&(le.push(a),le.push(y)),le.push(ee),le.push(re);else{var ue=(a+x)/2,fe=(y+b)/2,we=(x+E)/2,be=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(ue+we)/2,x=(fe+be)/2,we=(we+E)/2,be=(be+z)/2;var Ae=(b+we)/2,Te=(x+be)/2;Wt.Qe(a,y,ue,fe,b,x,Ae,Te,oe,le),Wt.Qe(Ae,Te,we,be,E,z,ee,re,oe,le)}return le},jv:function(a,y,x,b,E,z,ee,re,oe,le){if(Wt.Yb(a,y,E,z,le,x,b))return Wt.Yb(a,y,E,z,le,re,oe);var ue=(a+x)/2,fe=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var we=(ue+x)/2,be=(fe+b)/2;return Wt.jv(a,y,ue,fe,we,be,ee,re,oe,le)||Wt.jv(we,be,x,b,E,z,ee,re,oe,le)},OA:function(a,y,x,b,E,z,ee){return ee.h(((a+x)/2+(x+E)/2)/2,((y+b)/2+(b+z)/2)/2),ee},iv:function(a,y,x,b,E,z,ee,re){if(Wt.Yb(a,y,E,z,ee,x,b))Lo(re,a,y,0,0),Lo(re,E,z,0,0);else{var oe=(a+x)/2,le=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var ue=(oe+x)/2,fe=(le+b)/2;Wt.iv(a,y,oe,le,ue,fe,ee,re),Wt.iv(ue,fe,x,b,E,z,ee,re)}return re},ep:function(a,y,x,b,E,z,ee,re){if(Wt.Yb(a,y,E,z,ee,x,b))re.length===0&&(re.push(a),re.push(y)),re.push(E),re.push(z);else{var oe=(a+x)/2,le=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var ue=(oe+x)/2,fe=(le+b)/2;Wt.ep(a,y,oe,le,ue,fe,ee,re),Wt.ep(ue,fe,x,b,E,z,ee,re)}return re},Eo:function(a,y,x,b,E,z,ee,re,oe,le,ue,fe,we,be){if(Wt.Yb(a,y,ee,re,we,x,b)&&Wt.Yb(a,y,ee,re,we,E,z))return!Wt.Rl(a,y,ee,re,oe,le,ue,fe)||(we=(a-ee)*(le-fe)-(y-re)*(oe-ue),we===0)?!1:(be.h(((a*re-y*ee)*(oe-ue)-(a-ee)*(oe*fe-le*ue))/we,((a*re-y*ee)*(le-fe)-(y-re)*(oe*fe-le*ue))/we),!0);var Ae=(a+x)/2,Te=(y+b)/2,ot=(x+E)/2,Je=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(Ae+ot)/2,x=(Te+Je)/2,ot=(ot+E)/2,Je=(Je+z)/2;var vt=(b+ot)/2,Pt=(x+Je)/2,Mt=1/0,jt=!1,vn=0,ki=0;return Wt.Eo(a,y,Ae,Te,b,x,vt,Pt,oe,le,ue,fe,we,be)&&(a=(be.x-oe)*(be.x-oe)+(be.y-le)*(be.y-le),a=ue)return be;if((oe>ue?oe-ue:ue-oe)<(le>fe?le-fe:fe-le)){if(ya)return be}else if(aa)return be;0we&&be--}else{Ae=(a+x)/2,Te=(y+b)/2;var ot=(x+E)/2,Je=(b+z)/2;E=(E+ee)/2,z=(z+re)/2,b=(Ae+ot)/2,x=(Te+Je)/2,ot=(ot+E)/2,Je=(Je+z)/2;var vt=(b+ot)/2,Pt=(x+Je)/2;be+=Wt.Fo(a,y,Ae,Te,b,x,vt,Pt,oe,le,ue,fe,we),be+=Wt.Fo(vt,Pt,ot,Je,E,z,ee,re,oe,le,ue,fe,we)}return be},qh:function(a,y,x,b,E,z,ee){return Wt.$(a,x)?(yy?(ee.h(a,y),!1):(ee.h(a,z),!0)):Wt.$(y,b)?(aa?(ee.h(a,y),!1):(ee.h(E,y),!0)):(E=((a-E)*(a-x)+(y-z)*(y-b))/((x-a)*(x-a)+(b-y)*(b-y)),-5e-6>E?(ee.h(a,y),!1):1.000005y?(oe.h(a,y),!1):(oe.h(a,x),!0)):(ee=(b-y)/(x-a),Wt.$(re,ee)?(Wt.qh(a,y,x,b,E,z,oe),!1):(E=(ee*a-re*E+z-y)/(ee-re),Wt.$(ee,0)?(aa?(oe.h(a,y),!1):(oe.h(E,y),!0)):Wt.qh(a,y,x,b,E,ee*(E-a)+y,oe))))},MA:function(a,y,x,b,E){return Wt.Ve(x.x,x.y,b.x,b.y,a.x,a.y,y.x,y.y,E)},KA:function(a,y,x,b,E,z,ee,re,oe,le){function ue(ot,Je){var vt=(ot-a)*(ot-a)+(Je-y)*(Je-y);vt(x>a?x-a:a-x)){if(we=1-(x-E)*(x-E)/(we*we),0>we)return oe;we=Math.sqrt(we),b=-le*we+z,ue(x,le*we+z),ue(x,b)}else{if(x=(b-y)/(x-a),b=1/(we*we)+x*x/(le*le),re=2*x*(y-x*a)/(le*le)-2*x*z/(le*le)-2*E/(we*we),we=re*re-4*b*(2*x*a*z/(le*le)-2*y*z/(le*le)+z*z/(le*le)+E*E/(we*we)-1+(y-x*a)*(y-x*a)/(le*le)),0>we)return oe;we=Math.sqrt(we),le=(-re+we)/(2*b),ue(le,x*le-x*a+y),we=(-re-we)/(2*b),ue(we,x*we-x*a+y)}return oe},Ff:function(a,y,x,b,E,z,ee,re,oe){var le=1e21,ue=a,fe=y;if(Wt.Ve(a,y,a,b,E,z,ee,re,oe)){var we=(oe.x-E)*(oe.x-E)+(oe.y-z)*(oe.y-z);wele},us:function(a,y,x){return Wt.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,b,E,z,ee,re){var oe=a+x,le=y+b;return E===ee?(z=y):z===re?(E=a):!!(Ko(a,y,x,b,E,z)||Ko(a,y,x,b,ee,re)||Wt.Rl(a,y,oe,y,E,z,ee,re)||Wt.Rl(oe,y,oe,le,E,z,ee,re)||Wt.Rl(oe,le,a,le,E,z,ee,re)||Wt.Rl(a,le,a,y,E,z,ee,re))},Rl:function(a,y,x,b,E,z,ee,re){return a===x&&y===b&&E===ee&&z===re?a===E&&y===z:0>=Wt.Fl(a,y,x,b,E,z)*Wt.Fl(a,y,x,b,ee,re)&&0>=Wt.Fl(E,z,ee,re,a,y)*Wt.Fl(E,z,ee,re,x,b)},Fl:function(a,y,x,b,E,z){return x-=a,b-=y,a=E-a,y=z-y,z=a*b-y*x,z===0&&(z=a*x+y*b,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,b,E,z){var ee=Math.PI;z||(b*=ee/180,E*=ee/180);var re=b>E?-1:1;z=[];var oe=ee/2,le=b;if(b=Math.min(2*ee,Math.abs(E-b)),1e-5>b)return oe=le+re*Math.min(b,oe),re=a+x*Math.cos(le),le=y+x*Math.sin(le),a+=x*Math.cos(oe),y+=x*Math.sin(oe),x=(re+a)/2,oe=(le+y)/2,z.push([re,le,x,oe,x,oe,a,y]),z;for(;1e-5x,z=0>b;if(ale&&(y=.5*(re+oe),!(y===re||y===oe));++le){var ue=a/(y+E),fe=ee/(y+z);if(ue=ue*ue+fe*fe-1,0ue)oe=y;else break}x=E*x/(y+E)-x,b=z*b/(y+z)-b,x=Math.sqrt(x*x+b*b)}else x=Math.abs(b-y);else b=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case mi.u:var y=new xn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case mi.F:if(y=new xn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case mi.o:y="",x=this.figures.s;for(var b=x.length,E=0;E=Mt-1?!0:le[Te+1].match(jt)!==null}function b(){return Te++,le[Te]}function E(Ur){var zr=parseFloat(b()),Qo=parseFloat(b());ot===ot.toLowerCase()&&(zr=Pt.x+zr,Qo=Pt.y+Qo),Ur.h(zr,Qo)}function z(){return E(Pt),Pt}function ee(){return E(vt),vt}function re(){var Ur=Je.toLowerCase();return Ur!=="c"&&Ur!=="s"&&Ur!=="q"&&Ur!=="t"?Pt:new _e(2*Pt.x-vt.x,2*Pt.y-vt.y)}y===void 0&&(y=!1);var oe=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(oe,"$1 $2"),a=a.replace(oe,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var le=a.split(" ");for(a=0;a=Mt-1);)if(Je=ot,ot=b(),ot!=="")switch(ot.toUpperCase()){case"X":be=!0,fe=ue=!1;break;case"M":for(Ae=z(),a.mc===null||be===!0?(Ig(a,Ae.x,Ae.y,ue,!fe,we),be=!1):a.moveTo(Ae.x,Ae.y),oe.assign(Pt);!x();)Ae=z(),a.lineTo(Ae.x,Ae.y);break;case"L":for(;!x();)Ae=z(),a.lineTo(Ae.x,Ae.y);break;case"H":for(;!x();)Pt=new _e((ot===ot.toLowerCase()?Pt.x:0)+parseFloat(b()),Pt.y),a.lineTo(Pt.x,Pt.y);break;case"V":for(;!x();)Pt=new _e(Pt.x,(ot===ot.toLowerCase()?Pt.y:0)+parseFloat(b())),a.lineTo(Pt.x,Pt.y);break;case"C":for(;!x();){Ae=new _e,E(Ae);var vn=ee(),ki=z();wh(a,Ae.x,Ae.y,vn.x,vn.y,ki.x,ki.y)}break;case"S":for(;!x();)Ae=re(),vn=ee(),ki=z(),wh(a,Ae.x,Ae.y,vn.x,vn.y,ki.x,ki.y);break;case"Q":for(;!x();)Ae=ee(),vn=z(),Vm(a,Ae.x,Ae.y,vn.x,vn.y);break;case"T":for(;!x();)vt=Ae=re(),vn=z(),Vm(a,Ae.x,Ae.y,vn.x,vn.y);break;case"B":for(;!x();){Ae=parseFloat(b()),vn=parseFloat(b()),ki=parseFloat(b());var Xi=parseFloat(b()),ji=parseFloat(b()),Si=ji,qn=!1;x()||(Si=parseFloat(b()),x()||(qn=parseFloat(b())!==0)),ot===ot.toLowerCase()&&(ki+=Pt.x,Xi+=Pt.y),a.arcTo(Ae,vn,ki,Xi,ji,Si,qn)}break;case"A":for(;!x();)Ae=Math.abs(parseFloat(b())),vn=Math.abs(parseFloat(b())),ki=parseFloat(b()),ji=Xi=!1,qn=Si=0,Si=b(),Si.length===1?(Xi=!!parseFloat(Si),ji=!!parseFloat(b()),Si=parseFloat(b())):Si.length===2?(Xi=!!parseFloat(Si[0]),ji=!!parseFloat(Si[1]),Si=parseFloat(b())):(Xi=!!parseFloat(Si[0]),ji=!!parseFloat(Si[1]),Si=parseFloat(Si.slice(2))),qn=parseFloat(b()),ot===ot.toLowerCase()&&(Si=Pt.x+Si,qn=Pt.y+qn),Pt.h(Si,qn),kx(a,Ae,vn,ki,Xi,ji,Si,qn);break;case"Z":Nx(a),Pt.assign(oe);break;case"F":for(Ae="",vn=1;le[Te+vn];)if(le[Te+vn]==="0")we=!0,vn++;else if(le[Te+vn].match(/[Uu]/)!==null)vn++;else if(le[Te+vn].match(jt)===null)vn++;else{Ae=le[Te+vn];break}Ae.match(/[Mm]/)?ue=!0:0ee&&(ee+=360),Ae.startAngle+=ee),0>a&&(Ae.startAngle=180-Ae.startAngle,Ae.sweepAngle=-Ae.sweepAngle),0>b&&(Ae.startAngle=-Ae.startAngle,Ae.sweepAngle=-Ae.sweepAngle),Ae.radiusX*=Math.sqrt(a*a+x*x),Ae.radiusY!==void 0&&(Ae.radiusY*=Math.sqrt(y*y+b*b));break;case lt:if(ee=Ae.endX,re=Ae.endY,Ae.endX=ee*a+re*x+E,Ae.endY=ee*y+re*b+z,Ae.radiusX===0||Ae.radiusY===0)break;y!==0&&(ee=180*Math.atan2(y,a)/Math.PI,0>ee&&(ee+=360),Ae.xAxisRotation+=ee),0>a&&(Ae.xAxisRotation=180-Ae.xAxisRotation,Ae.isClockwiseArc=!Ae.isClockwiseArc),0>b&&(Ae.xAxisRotation=-Ae.xAxisRotation,Ae.isClockwiseArc=!Ae.isClockwiseArc),Ae.radiusX*=Math.sqrt(a*a+x*x),Ae.radiusY*=Math.sqrt(y*y+b*b);break;default:st("Unknown Segment type: "+Ae.type)}}}}return this._isInvalidBounds=!0,this},Ee.ca=function(a,y){y===void 0&&(y=0);var x=this.od,b=this.pd,E=this.Dc,z=this.Ec;switch(this.type){case mi.j:return Wt.Yb(x,b,E,z,y,a.x,a.y);case mi.u:var ee=xn.allocAt(Math.min(x,E)-y,Math.min(b,z)-y,Math.abs(E-x)+2*y,Math.abs(z-b)+2*y);return a=ee.ca(a),xn.free(ee),a;case mi.F:ee=Math.min(x,E)-y;var re=Math.min(b,z)-y;return x=(Math.abs(E-x)+2*y)/2,y=(Math.abs(z-b)+2*y)/2,0>=x||0>=y?!1:(ee=a.x-(ee+x),re=a.y-(re+y),1>=ee*ee/(x*x)+re*re/(y*y));case mi.o:return _l(this,a,y,!0,!1);default:return!1}};function _l(a,y,x,b,E){var z=y.x;y=y.y;for(var ee=a.bounds.x-20,re=0,oe,le,ue,fe,we=a.figures.s,be=we.length,Ae=0;Ae=a)return 0;if((E>ee?E-ee:ee-E)<(z>re?z-re:re-z)){if(zre)return 0}else if(yz)return 0}else if(Eee)return 0}else if(leE)return 0;return 0a?a=0:1=z)return b=z-ee,b=ue===0?0:b/ue,x=x[re],re=x[2*a],E=x[2*a+1],y.h(re+(x[2*a+2]-re)*b,E+(x[2*a+3]-E)*b),y;ee+=ue}}return y},Ee.wx=function(a){if(0>a?a=0:1=E)return E=y[ee],y=E[2*a],x=E[2*a+1],b=E[2*a+2],a=E[2*a+3],1>Math.abs(b-y)&&1>Math.abs(a-x)?0:1>Math.abs(b-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=b-y?0:180:180*Math.atan2(a-x,b-y)/Math.PI;z+=le}}return NaN},Ee.Qu=function(a,y){if(0>a?a=0:1=z)return b=z-ee,b=ue===0?0:b/ue,ue=x[re],x=ue[2*a],re=ue[2*a+1],E=ue[2*a+2],a=ue[2*a+3],y[0]=x+(E-x)*b,y[1]=re+(a-re)*b,y[2]=1>Math.abs(E-x)&&1>Math.abs(a-re)?0:1>Math.abs(E-x)?0<=a-re?90:270:1>Math.abs(a-re)?0<=E-x?0:180:180*Math.atan2(a-re,E-x)/Math.PI,y;ee+=ue}}return y},Ee.xx=function(a){if(this.type===mi.j){var y=this.startX,x=this.startY,b=this.endX,E=this.endY;if(y!==b||x!==E){var z=a.x;if(a=a.y,y===b){if(x=b?b===x?0:1:Math.abs(a-x)/(b-ee)}if(x===E)return y=b?b===y?0:1:Math.abs(z-y)/(b-ee);ee=(b-y)*(b-y)+(E-x)*(E-x);var re=_e.alloc();return Wt.qh(y,x,b,E,z,a,re),a=re.x,z=re.y,_e.free(re),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/ee)}}else if(this.type===mi.u){ee=this.startX,re=this.startY;var oe=this.endX;if(E=this.endY,ee!==oe||re!==E){y=oe-ee,x=E-re,z=2*y+2*x,b=a.x,a=a.y,b=Math.min(Math.max(b,ee),oe),a=Math.min(Math.max(a,re),E),ee=Math.abs(b-ee),oe=Math.abs(b-oe),re=Math.abs(a-re),E=Math.abs(a-E);var le=Math.min(ee,oe,re,E);if(le===re)return b/z;if(le===oe)return(y+a)/z;if(le===E)return(2*y+x-b)/z;if(le===ee)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,b=_e.alloc(),E=1/0,re=ee=0,oe=y.length;for(var ue=le=0,fe=0;fea?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,b=x.length,E=0;Ea&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(b,0),this.Pg=Math.max(E,0),typeof ee=="boolean"?ee&&(this.isLargeArc=!0):typeof ee=="number"&&ee&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=b,this.Vh=E,a===nt&&(z=Math.max(z,0)),this.Wh=z,typeof ee=="number"?(a===nt&&(ee=Math.max(ee,0)),this.Pg=ee):this.Pg=0),this.ae=null}Io.prototype.copy=function(){var a=new Io;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Ee=Io.prototype,Ee.Xa=function(a){if(!(a instanceof Io)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case ws:case va:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY);case ol:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.point1X,a.point1X)&&Wt.B(this.point1Y,a.point1Y)&&Wt.B(this.point2X,a.point2X)&&Wt.B(this.point2Y,a.point2Y);case je:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.point1X,a.point1X)&&Wt.B(this.point1Y,a.point1Y);case nt:return Wt.B(this.startAngle,a.startAngle)&&Wt.B(this.sweepAngle,a.sweepAngle)&&Wt.B(this.centerX,a.centerX)&&Wt.B(this.centerY,a.centerY)&&Wt.B(this.radiusX,a.radiusX)&&Wt.B(this.radiusY,a.radiusY);case lt:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Wt.B(this.xAxisRotation,a.xAxisRotation)&&Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.radiusX,a.radiusX)&&Wt.B(this.radiusY,a.radiusY);default:return!1}},Ee.qb=function(a){a.classType===Io&&(this.type=a)},Ee.toString=function(a){switch(a===void 0&&(a=-1),this.type){case ws:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case va:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ol:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case je:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case nt:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case lt:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Ee.freeze=function(){return this._isFrozen=!0,this},Ee.ka=function(){return this._isFrozen=!1,this},Ee.close=function(){return this.isClosed=!0,this};function wl(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,b=a.radiusY;if(b===void 0&&(b=x),x===0||b===0)return a.ae=[],a.ae;y=a.Ne;var E=a.Vh,z=Wt.jx(0,0,x=be?ee=Math.PI:1<=be&&(ee=0),!oe&&0ee&&(ee+=2*Math.PI),oe=y>z?1:y/z,be=y>z?z/y:1,y=Wt.jx(0,0,y>z?y:z,ue,ue+ee,!0),z=Hr.alloc(),z.reset(),z.translate(x,b),z.rotate(a.Ne,0,0),z.scale(oe,be),mi.Ha(y,z),Hr.free(z),a.ae=y,a.ae}ze.Object.defineProperties(Io.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&fn(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&fn(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&fn(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&fn(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&fn(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&fn(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&fn(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&fn(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&fn(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Kn(a,">= zero",Io,"radiusX"),this._isFrozen&&fn(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Kn(a,">= zero",Io,"radiusY"),this._isFrozen&&fn(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&fn(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&fn(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&fn(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&fn(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&fn(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Io.prototype.equalsApprox=Io.prototype.Xa;var ws=new En(Io,"Move",0),va=new En(Io,"Line",1),ol=new En(Io,"Bezier",2),je=new En(Io,"QuadraticBezier",3),nt=new En(Io,"Arc",4),lt=new En(Io,"SvgArc",4);Io.className="PathSegment",Io.Move=ws,Io.Line=va,Io.Bezier=ol,Io.QuadraticBezier=je,Io.Arc=nt,Io.SvgArc=lt;function qt(){this.H=null,this.xu=new _e(0,0).freeze(),this.mt=new _e(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}qt.prototype.copy=function(){var a=new qt;return this.clone(a)},qt.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},qt.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},qt.prototype.So=function(a,y){var x=this.diagram;return x===null||Ud(x,a,y),y},qt.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(Ud(x,a,y),y.assign(x.Ps(y))),y},ze.Object.defineProperties(qt.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),qt.prototype.getMultiTouchDocumentPoint=qt.prototype.Bz,qt.prototype.getMultiTouchViewPoint=qt.prototype.So,qt.className="InputEvent";function cn(){this.H=null,this.xa="",this.ar=this.Lr=null}cn.prototype.copy=function(){var a=new cn;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},cn.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},ze.Object.defineProperties(cn.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),cn.className="DiagramEvent";function Rn(){this.Fm=di,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Rn.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Rn.prototype.copy=function(){var a=new Rn;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=nn(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=nn(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=nn(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=nn(y)&&typeof y.J=="function"?y.J():y,a},Rn.prototype.qb=function(a){a.classType===Rn&&(this.change=a)},Rn.prototype.toString=function(){var a="";return a=this.change===Zn?a+"* ":this.change===di?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===Zn?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=qi(this.object)),this.oldValue!==null&&(a+=" old: "+qi(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+qi(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Rn.prototype.I=function(a){return a?this.oldValue:this.newValue},Rn.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Rn.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Rn.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Rn.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Rn.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},ze.Object.defineProperties(Rn.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===Zn&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Rn.prototype.redo=Rn.prototype.redo,Rn.prototype.canRedo=Rn.prototype.canRedo,Rn.prototype.undo=Rn.prototype.undo,Rn.prototype.canUndo=Rn.prototype.canUndo,Rn.prototype.getParam=Rn.prototype.Dz,Rn.prototype.getValue=Rn.prototype.I,Rn.prototype.clear=Rn.prototype.clear;var Zn=new En(Rn,"Transaction",-1),di=new En(Rn,"Property",0),pi=new En(Rn,"Insert",1),Ni=new En(Rn,"Remove",2);Rn.className="ChangedEvent",Rn.Transaction=Zn,Rn.Property=di,Rn.Insert=pi,Rn.Remove=Ni;function sr(){this.o=new Bn().freeze(),this.xa="",this.j=!1}sr.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0y&&a.cd(y,b),y++);for(;a.length>y;)a.pop();a.freeze()}},ze.Object.defineProperties(sr.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),sr.prototype.optimize=sr.prototype.ak,sr.prototype.redo=sr.prototype.redo,sr.prototype.canRedo=sr.prototype.canRedo,sr.prototype.undo=sr.prototype.undo,sr.prototype.canUndo=sr.prototype.canUndo,sr.prototype.clear=sr.prototype.clear,sr.className="Transaction";function Mi(){this.Pt=new Fn,this.Jd=!1,this.u=new Bn().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new Bn().freeze(),this.hl=new Bn,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}Mi.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,b=0;ba.transactionLevel&&_n("Ending transaction without having started a transaction: "+x);var b=a.transactionLevel===1,E=a.currentTransaction;b&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,E));var z=0;if(0=b&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),b===0||y.count!==0&&y.get(y.count-1)===E||(y.add(E),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,E);else{a.Fe=!0;try{a.isEnabled&&E!==null&&(E.isComplete=!0,E.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,E),a.Fe=!1}E!==null&&E.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&E!==null){for(a=z,x=E.changes,E=x.count-1;E>=a;E--)y=x.M(E),y!==null&&y.undo(),x.ka(),x.mb(E);x.freeze()}return!1}Ee.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},Mi.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||_n("Change not within a transaction: "+x.toString()))}},Mi.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},ze.Object.defineProperties(Mi.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexE||Math.abs(y.y-a.y)>b},ze.Object.defineProperties(Ai.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof pn&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),Ai.prototype.startTransaction=Ai.prototype.Ea,Ai.className="Tool";function si(){Ai.call(this),this.name="ToolManager",this.hb=new Bn,this.ob=new Bn,this.Hb=new Bn,this.F=this.V=850,this.o=new Hn(2,2).ja(),this.Ha=5e3,this.ia=xr,this.u=mo,this.Mp=this.j=null,this.zj=-1}bt(si,Ai),si.prototype.initializeStandardTools=function(){},si.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof Uo&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},si.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===vo&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===ho){y.bubbles=!0;return}if(this.gestureBehavior===vo)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,b=0;bE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom?x.y-(b.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var b=a.diagram;if(!b.isReadOnly){var E=a.Oe;if(E!==null){var z=null,ee=null;x.fromNode===null&&(z=Qa(a,x.i(0),!1),z!==null&&(ee=z.part));var re=null,oe=null;x.toNode===null&&(re=Qa(a,x.i(x.pointsCount-1),!0),re!==null&&(oe=re.part)),E.isValidLink(ee,z,oe,re)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=ee,z!==null&&(x.fromPortId=z.portId),x.toNode=oe,re!==null&&(x.toPortId=re.portId),x.fromPort!==b.Mx&&b.R("LinkRelinked",x,b.Mx),x.toPort!==b.Nx&&b.R("LinkRelinked",x,b.Nx)):yr(E,ee,z,oe,re):yr(E,null,null,null,null)}}}}ur.prototype.doDragOver=function(){};function Is(a,y){var x=a.diagram;a.dragsLink&&Oa(a,!0),ya(a);var b=a.findDragOverObject(y),E=x.lastInput;if(E.targetObject=b,b!==null){E.handled=!1;for(var z=b;z!==null;){var ee=z.mouseDrop;if(ee!==null&&(ee(E,z),E.handled))break;hl(a,E,z),z=fs(z)}}else z=x.mouseDrop,z!==null&&z(E);if(a.isActive||_t!==null){for(E=(a.copiedParts||a.draggedParts).iterator;E.next();)z=E.key,z instanceof Ti&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,b),a.isActive||_t!==null){for(a=xn.alloc(),y=x.selection.iterator;y.next();)b=y.value,b instanceof Ti&&it(x,b,a);xn.free(a)}}}function hl(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof Jr||(x=a.mouseDrop,x!==null&&x(y))}function it(a,y,x){var b=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(b=!0),a=a.Nu(x,function(E){return E.part},function(E){return E instanceof xi},!0,function(E){return E instanceof xi},b),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}ur.prototype.doDropOnto=function(){},ur.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?(Ha(this,!1),fh(a,this.copiedParts),La(this,this.copiedParts,!1),_u(a,this.copiedParts)):this.mayMove()?(Ba(this),La(this,this.draggedParts,!0)):this.mayDragOut()?(Ha(this,!1),La(this,this.copiedParts,!1)):Ba(this),Ta(this,a.lastInput.documentPoint))}},ur.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(Ba(this),Ha(this,!0),fh(a,this.copiedParts),La(this,this.copiedParts,!1),_u(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0}))):(y=!0,Ba(this),this.mayMove()&&(La(this,this.draggedParts,!0),Ta(this,a.lastInput.documentPoint))),this.Ym=!0,Is(this,a.lastInput.documentPoint),this.isActive){var b=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&ft(this),a.Ya(),_u(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",b)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},ur.prototype.simulatedMouseMove=function(a,y,x){if(_t===null)return!1;var b=_t.diagram;x instanceof pn||(x=null);var E=bn;return x!==E&&(E!==null&&E!==b&&(E.ug(),_t.isDragOutStarted=!1,E=E.toolManager.findTool("Dragging"),E!==null&&E.doSimulatedDragLeave()),bn=x,x!==null&&x!==b&&(Va(),E=x.toolManager.findTool("Dragging"),E!==null&&(la.contains(E)||la.add(E),E.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===b||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(b=x.toolManager.findTool("Dragging"),b!==null&&(a!==null&&(a.targetTouches!==void 0&&(0ee&&(ee=le),ue>re&&(re=ue))}}for(b===1/0?z.h(0,0,0,0):z.h(b,E,ee-b,re-E),b=z.x+z.width/2,E=z.y+z.height/2,xn.free(z),z=a.Fr,ee=new Ri,re=_e.alloc(),oe=y.iterator;oe.next();)le=oe.value,le instanceof xi&&le.canCopy()&&(ue=x.I(le),ue!==null&&(ue.points=le.points,bh(ue,z.x-b,z.y-E),ue.suspendsRouting=!0,ee.add(ue,a.Pd())));for(y=y.iterator;y.next();)le=y.value,le.Zc()&&le.canCopy()&&(oe=x.I(le),oe!==null&&(le=le.location,re.h(z.x-(b-le.x),z.y-(E-le.y)),oe.location=re,oe.Va(),ee.add(oe,a.Pd(re))));_e.free(re),a.copiedParts=ee,ea(a,ee.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,bh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}ur.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},ur.prototype.computeMove=function(a,y,x,b){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,b):new _e},ze.Object.defineProperties(ur.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),ur.prototype.getDraggingSource=ur.prototype.Az;var _t=null,bn=null;ur.className="DraggingTool",la=new Bn,er("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),si.prototype.doCancel=function(){_t!==null&&_t.doCancel(),Ai.prototype.doCancel.call(this)};function gn(){Ai.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new xi,y=new io;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new io,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new Ti,y=new io,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=kr,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new Ti,y=new io,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=kr,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Ri,this.Of=this.gj=this.Pf=null}bt(gn,Ai),gn.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},gn.prototype.copyPortProperties=function(a,y,x,b,E){if(a!==null&&y!==null&&x!==null&&b!==null){var z=y.Df(),ee=Hn.alloc();ee.width=y.naturalBounds.width*z,ee.height=y.naturalBounds.height*z,b.desiredSize=ee,Hn.free(ee),E?(b.toSpot=y.toSpot,b.toEndSegmentLength=y.toEndSegmentLength):(b.fromSpot=y.fromSpot,b.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=So,z=_e.alloc(),x.location=y.ga(So,z),_e.free(z),b.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,b,E)}},gn.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=kr,y.fromSpot=Da,y.toSpot=Da),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},gn.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},gn.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Ti){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},gn.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof Ti))return null;for(;a!==null;){var b=y?a.toLinkable:a.fromLinkable;if(b===!0&&(a.portId!==null||a instanceof Ti)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(b===!1)break;a=a.panel}return null},gn.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,b=this.portGravity;0>=b&&(b=.1);var E=this,z=y.og(x,b,function(fe){return E.findValidLinkablePort(fe,a)},null,!0);for(b=1/0,y=null,z=z.iterator;z.next();){var ee=z.value,re=ee.part;if(re instanceof Ti){var oe=ee.ga(So,_e.alloc()),le=x.x-oe.x,ue=x.y-oe.y;_e.free(oe),oe=le*le+ue*ue,oex){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},gn.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},gn.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},gn.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof Ti))return!1;a=a.portId,a===null&&(a="");var b=y.part;if(!(b instanceof Ti))return!1;for(y=y.portId,y===null&&(y=""),y=b.Sd(y);y.next();)if(b=y.value,b.fromNode===x&&b.fromPortId===a)return!0;return!1},gn.prototype.isValidLink=function(a,y,x,b){if(!this.isValidFrom(a,y)||!this.isValidTo(x,b)||!(y===null||b===null||(y.fromLinkableSelfNode&&b.toLinkableSelfNode||!this.isInSameNode(y,b))&&(y.fromLinkableDuplicates&&b.toLinkableDuplicates||!this.isLinked(y,b)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var E=a.linkValidation;if(E!==null&&!E(a,y,x,b,this.originalLink))return!1}return x!==null&&(E=x.linkValidation,E!==null&&!E(a,y,x,b,this.originalLink))?!1:(E=this.linkValidation,E!==null?E(a,y,x,b,this.originalLink):!0)},gn.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var b=new Fn;return b.add(a),Jn(this,x,y,b)};function Jn(a,y,x,b){if(y===x)return!0;var E=y.fromNode;return E!==null&&E.isLinkLabel&&(b.add(E),Jn(a,E.labeledLink,x,b))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(b.add(y),Jn(a,y.labeledLink,x,b))))}gn.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var b=this.diagram.validCycle;if(b!==Xf){if(b===fp){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=y.linksConnected;b.next();){var E=b.value;if(E!==x&&E.isTreeLink&&E.toNode===y)return!1}return!Xn(this,a,y,x,!0)}if(b===gp){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=a.linksConnected;b.next();)if(E=b.value,E!==x&&E.isTreeLink&&E.fromNode===a)return!1;return!Xn(this,a,y,x,!0)}if(b===cp)return a===y?a=!0:(b=new Fn,b.add(y),a=Vn(this,b,a,y,x)),!a;if(b===dp)return!Xn(this,a,y,x,!1);if(b===hp)return a===y?a=!0:(b=new Fn,b.add(y),a=bi(this,b,a,y,x)),!a}return!0};function Xn(a,y,x,b,E){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var ee=z.value;if(ee!==b&&(!E||ee.isTreeLink)&&ee.toNode===y&&(ee=ee.fromNode,ee!==y&&Xn(a,ee,x,b,E)))return!0}return!1}function Vn(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==E&&ee.toNode===x&&(ee=ee.fromNode,ee!==x&&Vn(a,y,ee,b,E)))return!0}return!1}function bi(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var ee=z.value;if(ee!==E){var re=ee.fromNode;if(ee=ee.toNode,re=re===x?ee:re,re!==x&&bi(a,y,re,b,E))return!0}}return!1}ze.Object.defineProperties(gn.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),gn.className="LinkingBaseTool";function li(){gn.call(this),this.name="Linking",this.V={},this.F=null,this.K=wi,this.Xd=null}bt(li,gn),li.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},li.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof Ti)))return null;var x=this.direction;if(x===wi||x===Ji){var b=this.findValidLinkablePort(y,!1);if(b!==null||this.startObject===a&&(b=a.port,this.findValidLinkablePort(b,!1)))return this.isForwards=!0,b}return(x===wi||x===Ui)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},li.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof Ti&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof Ti&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},li.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},li.prototype.doStop=function(){gn.prototype.doStop.call(this),this.startObject=null},li.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,b=null,E=null,z=null;try{var ee=this.targetPort=this.findTargetPort(this.isForwards);if(ee!==null){var re=ee.part;re instanceof Ti&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),b=re,E=ee):(y=re,x=ee,this.originalToNode!==null&&(b=this.originalToNode,E=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(b=this.originalToNode,E=this.originalToPort);y!==null||b!==null?(z=this.insertLink(y,x,b,E),z!==null?(ee===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,b,E)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},li.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof xi)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},li.prototype.insertLink=function(a,y,x,b){return this.diagram.partManager.insertLink(a,y,x,b)},li.prototype.doNoLink=function(){},ze.Object.defineProperties(li.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var wi=new En(li,"Either",0),Ji=new En(li,"ForwardsOnly",0),Ui=new En(li,"BackwardsOnly",0);li.className="LinkingTool",li.Either=wi,li.ForwardsOnly=Ji,li.BackwardsOnly=Ui;function zi(){gn.call(this),this.name="Relinking";var a=new io;a.figure="Diamond",a.desiredSize=to,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new io,a.figure="Diamond",a.desiredSize=to,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new xn}bt(zi,gn),zi.prototype.updateAdornments=function(a){if(a!==null&&a instanceof xi){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var b=a.selectionObject;b!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(b,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(b=a.selectionObject,b!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(b,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},zi.prototype.makeAdornment=function(a,y){var x=new Uo;return x.type=hi.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},zi.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},zi.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof Uo&&x.adornedPart instanceof xi))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof hi)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},Wr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},Wr.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},Wr.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},Wr.prototype.stopTransaction=function(){var a=this.diagram,y=Ai.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Wr.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},Wr.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,_e.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),a.bd(),_e.free(E)}},Wr.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,_e.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),_e.free(E),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},Wr.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof Jr){var b=new Bn;if(b.add(a),!this.dragsMembers&&a.placeholder===null){var E=new ae;E.dragsMembers=!1}y.moveParts(b,this.oppositePoint.copy().re(x),!0,E)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},Wr.prototype.computeResize=function(a,y,x,b,E,z){y.Mc()&&(y=So);var ee=this.adornedObject.naturalBounds,re=ee.x,oe=ee.y,le=ee.x+ee.width,ue=ee.y+ee.height,fe=1;if(!z){fe=ee.width;var we=ee.height;0>=fe&&(fe=1),0>=we&&(we=1),fe=we/fe}return we=_e.alloc(),Wt.No(a.x,a.y,re,oe,E.width,E.height,we),a=ee.copy(),0>=y.x?0>=y.y?(a.x=Math.max(we.x,le-b.width),a.x=Math.min(a.x,le-x.width),a.width=Math.max(le-a.x,x.width),a.y=Math.max(we.y,ue-b.height),a.y=Math.min(a.y,ue-x.height),a.height=Math.max(ue-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width),a.x=le-a.width,a.y=ue-a.height)):1<=y.y?(a.x=Math.max(we.x,le-b.width),a.x=Math.min(a.x,le-x.width),a.width=Math.max(le-a.x,x.width),a.height=Math.max(Math.min(we.y-oe,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width),a.x=le-a.width)):(a.x=Math.max(we.x,le-b.width),a.x=Math.min(a.x,le-x.width),a.width=le-a.x,z||(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe,a.y=oe+.5*(ue-oe-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(we.x-re,b.width),x.width),a.y=Math.max(we.y,ue-b.height),a.y=Math.min(a.y,ue-x.height),a.height=Math.max(ue-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width),a.y=ue-a.height)):1<=y.y?(a.width=Math.max(Math.min(we.x-re,b.width),x.width),a.height=Math.max(Math.min(we.y-oe,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe):(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width))):(a.width=Math.max(Math.min(we.x-re,b.width),x.width),z||(a.height=Math.max(Math.min(fe*a.width,b.height),x.height),a.width=a.height/fe,a.y=oe+.5*(ue-oe-a.height))):0>=y.y?(a.y=Math.max(we.y,ue-b.height),a.y=Math.min(a.y,ue-x.height),a.height=ue-a.y,z||(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width,a.x=re+.5*(le-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(we.y-oe,b.height),x.height),z||(a.width=Math.max(Math.min(a.height/fe,b.width),x.width),a.height=fe*a.width,a.x=re+.5*(le-re-a.width))),_e.free(we),a},Wr.prototype.computeReshape=function(){var a=ti;return this.adornedObject instanceof io&&(a=Mv(this.adornedObject)),!(a===tr||this.diagram.lastInput.shift)},Wr.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},Wr.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var b=this.handleDistance;return x===0?y.x=a.naturalBounds.width+b:x===45?(y.x=a.naturalBounds.width+b,y.y=a.naturalBounds.height+b):x===90?y.y=a.naturalBounds.height+b:x===135?(y.x=-b,y.y=a.naturalBounds.height+b):x===180?y.x=-b:x===225?(y.x=-b,y.y=-b):x===270?y.y=-b:x===315&&(y.x=a.naturalBounds.width+b,y.y=-b),a.ga(y)},qr.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new _e(NaN,NaN),this.isActive=a.isMouseCaptured=!1},qr.prototype.stopTransaction=function(){var a=this.diagram,y=Ai.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},qr.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},qr.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},qr.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},qr.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,b=y.rotateObject;(x===b||x.rg(b))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},qr.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},ze.Object.defineProperties(qr.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof Uo))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof Uo)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),qr.className="RotatingTool",er("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Vo(){Ai.call(this),this.name="ClickSelecting"}bt(Vo,Ai),Vo.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Vo.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Vo.className="ClickSelectingTool";function Or(){Ai.call(this),this.name="Action",this.pk=null}bt(Or,Ai),Or.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},Or.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},Or.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},Or.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},Or.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},Or.prototype.doStop=function(){this.pk=null},Or.className="ActionTool";function ao(){Ai.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new _e(0,0)}bt(ao,Ai),ao.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},ao.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},ao.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var b=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof dr)x.Zc()&&(Nc(x),b=x.copy(),b!==null&&y.add(b));else if(x!==null){var E=y.model.copyNodeData(x);nn(E)&&(y.model.xf(E),b=y.Lc(E))}if(b!==null){var z=_e.allocAt(a.x,a.y);this.isGridSnapEnabled&&vf(this.diagram,b,a,z),b.location=z,y.allowSelect&&(y.clearSelection(!0),b.isSelected=!0),_e.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",b)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return b},ze.Object.defineProperties(ao.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),ao.className="ClickCreatingTool";function Zr(){Ai.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new dr;a.layerName="Tool",a.selectable=!1;var y=new io;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}bt(Zr,Ai),Zr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom&&(x.y-=b.height+5/y.scale),x.ya.lastInput.clickCount)):!1},Po.prototype.doStart=function(){Al=this,this.textBlock!==null&&this.doActivate()},Po.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof ba&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Vr;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var b=new xn(this.textBlock.ga(pa),this.textBlock.ga(vl));a.tv(b),x.show(y,a,this),this.currentTextEditor=x}}}},Po.prototype.doCancel=function(){this.stopTool()},Po.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},Po.prototype.doMouseDown=function(){this.isActive&&this.acceptText(ts)},Po.prototype.acceptText=function(a){switch(a){case ts:this.qa===Rs?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Vr||this.qa===al||this.qa===Xo)&&(this.qa=ua,Ua(this));break;case Ia:case bo:case Ro:(bo!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Vr||this.qa===al||this.qa===Xo)&&(this.qa=ua,Ua(this))}};function Ua(a){var y=a.textBlock,x=a.diagram,b=a.currentTextEditor;if(y!==null&&b!==null){var E=y.text,z="";b.valueFunction!==null&&(z=b.valueFunction()),a.isValidText(y,E,z)?(a.Ea(a.name),a.qa=Rs,a.transactionResult=a.name,y.text=z,a.doSuccess(E,z),x!==null&&x.R("TextEdited",y,E),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=al,a.doError(E,z))}}Po.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},Po.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},Po.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=$i,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},Po.prototype.doStop=function(){Al=null},Po.prototype.isValidText=function(a,y,x){var b=this.textValidation;return b!==null&&!b(a,y,x)?!1:(b=a.textValidation,!!(b===null||b(a,y,x)))},Po.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},ze.Object.defineProperties(Po.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),Po.prototype.measureTemporaryTextBlock=Po.prototype.Lx;var Ia=new En(Po,"LostFocus",0),ts=new En(Po,"MouseDown",1),Ro=new En(Po,"Tab",2),bo=new En(Po,"Enter",3),Wo=new En(Po,"SingleClick",0),xo=new En(Po,"SingleClickSelected",1),oo=new En(Po,"DoubleClick",2),$i=new En(Po,"StateNone",0),Vr=new En(Po,"StateActive",1),Xo=new En(Po,"StateEditing",2),ua=new En(Po,"StateValidating",3),al=new En(Po,"StateInvalid",4),Rs=new En(Po,"StateValidated",5),Al=null;Po.className="TextEditingTool",Po.LostFocus=Ia,Po.MouseDown=ts,Po.Tab=Ro,Po.Enter=bo,Po.SingleClick=Wo,Po.SingleClickSelected=xo,Po.DoubleClick=oo,Po.StateNone=$i,Po.StateActive=Vr,Po.StateEditing=Xo,Po.StateValidating=ua,Po.StateInvalid=al,Po.StateValidated=Rs,er("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function Na(a){Ms||(Ja(),Ms=!0),this.H=bc,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=Ys,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Fn,this.ce=new qa,this.ce.Yd=this,this.Ei=new Fn,this.pu=new Fn,this.Sr=new Fn,this.pr=new Fn,a&&Object.assign(this,a)}Na.prototype.Xe=function(a){this.H=a},Na.prototype.canStart=function(){return!0};function Xa(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),sl(a.H),a.zb=!0)}function Bo(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,b=a.Zd.contains("Model");b&&(a.Ok=!0,a.Pk===Ys?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===vu&&y.vc.clear(),a.Qw=!!(a.Pk===Wu&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),b&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),Ml(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,b=y.vc.get(x),x.autoScale!==Yl&&b!==null&&(delete b.start.scale,delete b.end.scale),$e.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&kl(x),Wd(x),a.zb=!1,y.start(),y.bc&&(ns(a),x.Ya(),Cc(y,0),Hl(x,!0),bs(a),x.R("AnimationStarting",a)))}))}}function Vs(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function Ll(a,y,x,b){a.isTicking||Vs(a)||y instanceof xi&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,b,!1)}Ee=Na.prototype,Ee.fv=function(a){return this.ce.fv(a)},Ee.Xu=function(a){return this.ce.Xu(a)};function Wa(a,y){function x(){if(0z?z+=360:oe+=360),z=E(x,z,oe-z,b)%360,ee=E(x,ee,le-ee,b),re=E(x,re,ue-re,b),x=E(x,a,y-a,b),"hsla("+z+", "+ee+"%, "+re+"%, "+x+")"}function Ja(){function a(x,b,E,z,ee,re){x.position=new _e(z(ee,b.x,E.x-b.x,re),z(ee,b.y,E.y-b.y,re))}var y=new Ri;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,b,E,z,ee,re){eea&&Kn(a,">= 1",Na,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),Na.prototype.stopAnimation=Na.prototype.Cc;var zo=null,Ms=!1,Ys=new En(Na,"Default",1),Wu=new En(Na,"AnimateLocations",2),vu=new En(Na,"None",3);Na.className="AnimationManager",Na.defineAnimationEffect=function(a,y){Ms||(Ja(),Ms=!0),zo.add(a,y)},Na.Default=Ys,Na.AnimateLocations=Wu,Na.None=vu;function qa(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=ql,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=xt,this.vc=new Ri,this.Tt=new Ri,this.yl=new Fn,this.Ut=new Fn,this.dw=mh,a&&Object.assign(this,a)}qa.prototype.suspend=function(){this.Xk=!0},qa.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,Nu(this,!0),ns(this.Yd),Hl(this.H),bs(this.Yd),this.H.redraw()};function Ml(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:b-a.Qd;y&&(E=a.gw,Ea.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function Cc(a,y){for(var x=a.Gd,b=a.vc.iterator,E=a.Wk;b.next();){var z=b.key;if(!(z instanceof Zt&&z.diagram===null)){var ee=b.value,re=E?ee.end:ee.start;ee=E?ee.start:ee.end;var oe=zo,le;for(le in ee)le==="position"&&(ee["position:placeholder"]||ee["position:nodeCollapse"])||oe.get(le)===null||oe.get(le)(z,re[le],ee[le],a.Lp,y,x,a)}}}Ee.stop=function(){return this.bc?(this.Ml(!0),this):this},Ee.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,ns(x);for(var b=this.vc,E=this.yl.iterator;E.next();)y.remove(E.value);for(E=this.Ut.iterator;E.next();)E.value.v();E=this.ho,b=b.iterator;for(var z=zo;b.next();){var ee=b.key,re=b.value,oe=E?re.end:re.start,le=E?re.start:re.end,ue=re.Ku,fe;for(fe in le)if(z.get(fe)!==null){var we=fe;!re.Hu||we!=="position:nodeCollapse"&&we!=="position:placeholder"||(we="position"),z.get(we)(ee,oe[fe],ue[fe]!==void 0?ue[fe]:re.Hu?oe[fe]:le[fe],this.Lp,this.Gd,this.Gd,this)}re.Hu&&ue.location!==void 0&&ee instanceof dr&&(ee.location=ue.location),re.nv&&ee instanceof dr&&ee.Zb(!1)}if(y.As.clear(),fd(y,!1),y.Ya(),y.N(),Hl(y,!0),x.defaultAnimation===this){for(fe=x.pr.iterator;fe.next();)E=fe.value,E.Tg!==null&&(E.points=E.Tg,E.Tg=null);x.pr.clear()}Hl(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),bs(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),Ml(this,null),x.Ml(this),y.$b())}},Ee.Cj=function(a,y){var x=y.actualBounds,b=null;if(y instanceof Jr&&(b=y.placeholder),b!==null?(x=b.ga(pa),b=b.padding,x.x+=b.left,x.y+=b.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new _e(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof Jr)for(a=a.memberParts;a.next();)b=a.value,b instanceof Ti&&this.Cj(b,y)},Ee.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof Jr&&(x=y.placeholder),x!==null){var b=x.ga(pa);x=x.padding,b.x+=x.left,b.y+=x.top,this.add(a,"position:placeholder",a.position,b,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),b=this.vc,b.contains(a)&&(b.I(a).nv=!0),a instanceof Jr)for(a=a.memberParts;a.next();)b=a.value,b instanceof Ti&&this.Aj(b,y)}},Ee.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},ze.Object.defineProperties(qa.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Kn(a,">= 1",qa,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function ac(a,y,x,b){return a===b?y+x:x*(-Math.pow(2,-10*a/b)+1)+y}qa.className="Animation",qa.EaseLinear=function(a,y,x,b){return x*a/b+y},qa.EaseInOutQuad=ql,qa.EaseInQuad=function(a,y,x,b){return x*(a/=b)*a+y},qa.EaseOutQuad=function(a,y,x,b){return-x*(a/=b)*(a-2)+y},qa.EaseInExpo=function(a,y,x,b){return a===0?y:x*Math.pow(2,10*(a/b-1))+y},qa.EaseOutExpo=ac;function sc(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}sc.className="AnimationState";function yu(a,y,x){this.xd=null,this.rf=a,this.so=x||ss,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=Qs))}yu.prototype.copy=function(){var a=new yu(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function Ra(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}ze.Object.defineProperties(yu.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var ss=new En(yu,"Default",1),Qs=new En(yu,"Immediate",2),ps=new En(yu,"Bundled",3);yu.className="AnimationTrigger",yu.Default=ss,yu.Immediate=Qs,yu.Bundled=ps;function za(a){fr(this),this.H=null,this.Pa=new Bn,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Ee=za.prototype,Ee.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,b=0,E=0,z=0,ee=0,re=this.Pa.iterator;re.next();){var oe=re.value;oe instanceof Jr?E++:oe instanceof Ti?b++:oe instanceof xi?z++:oe instanceof Uo?ee++:x++}if(re="",0x.Oq||re.height*E>x.Oq?y.gc(a,x):(E=y.actualBounds,z=y.naturalBounds,E.width===0||E.height===0||isNaN(E.x)||isNaN(E.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(cs(y,a,y.areaBackground,!0,!0,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.areaBackground===null&&y.background===null&&(cs(y,a,"rgba(0,0,0,0.3)",!0,!1,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),cs(y,a,y.background,!0,!1,z,E),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),b&&(a.restore(),a.Vc(!0))}},Ee.g=function(a,y,x,b,E){var z=this.diagram;z!==null&&z.cb(di,a,this,y,x,b,E)},Ee.oi=function(a,y,x){var b=this.Pa;if(y.Ig=this,this===null&&Kl(y),a>=b.count)a=b.count;else if(b.M(a)===y)return-1;return b.Gb(a,y),y.Vo(x),b=this.diagram,b!==null&&(x?b.N():b.oi(y)),Zu(this,a,y),a},Ee.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var b=this.Pa;if(0>a||a>=b.length){if(a=b.indexOf(y),0>a)return-1}else if(b.M(a)!==y&&(a=b.indexOf(y),0>a))return-1;return y.Wo(x),b.mb(a),b=this.diagram,b!==null&&(x?b.N():b.pc(y)),y.Ig=null,Kl(y),a};function Zu(a,y,x){if(y=uh(a,y,x),x instanceof Jr&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var b=-1,E=a.Pa.s,z=E.length,ee=0;eeb&&re.containingGroup===x&&(b=ee,0<=y))break}!(0>b)&&b=E)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,ee=NaN;0<=z&&(ee=a.M(z).zOrder,!!isNaN(ee));)z--;for(var re=y+1,oe=NaN;reb)for(;;){if(z===-1||ee<=b){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(ee=NaN;0<=--z&&(ee=a.M(z).zOrder,isNaN(ee)););}else if(!isNaN(oe)&&oe=b){if(re--,re===y)break;return a.mb(y),a.Gb(re,x),re}for(oe=NaN;++rea||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` `+x.value.toString(a-1);return y};function zc(a,y){if(us){if(y!=null||st("Diagram setup requires an argument DIV."),a.Ka!==null&&st("Diagram has already completed setup."),typeof y=="string"?a.Ka=$e.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:st("No DIV or DIV id supplied: "+y),a.Ka===null&&st("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&st("Invalid div id; div already has a Diagram associated with it."),!a.ol&&$e.ResizeObserver){var x=Tt(function(){a.$b()},250);a.ol=new $e.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}$e.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var b="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=b,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=$e.go;var E=new Fc(a);if(E.style!==void 0&&(E.style.position="absolute",E.style.top="0px",E.style.left="0px",$e.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),E.style.zIndex="2",E.style.userSelect="none",E.style.MozUserSelect="none",E.style.touchAction="none",E.style.letterSpacing="normal !important",E.style.wordSpacing="normal !important"),a.ta=E,a.ib=E.context,b=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),hh(a,a.Aa,a.ya),a.Ka.insertBefore(E.Oa,a.Ka.firstChild),E=new Fc(null),E.width=1,E.height=1,a.jw=E,a.oy=E.context,us){E=Wn("div");var z=Wn("div");E.style.position="absolute",E.style.overflow="auto",E.style.width=a.Aa+"px",E.style.height=a.ya+"px",E.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(E),E.appendChild(z),E.onscroll=pf,E.addEventListener("pointerdown",Vd),E.H=a,E.uy=!0,E.vy=!0,a.ku=E,a.hu=z}a.hk=Tt(function(){a.Yh=null,a.N()},300),a.Ov=Tt(function(){Wd(a)},250),a.preventDefault=function(ee){return ee.preventDefault(),!1},a.$j=function(ee){if(a.isEnabled){var re=eu(a,ee,!0);re.bubbles=!0;var oe=0,le=0;re.delta=0,ee.deltaX!==void 0?(ee.deltaX!==0&&(oe=0Math.abs(ee.deltaY)?-oe:-le):ee.wheelDeltaX!==void 0?(ee.wheelDeltaX!==0&&(oe=0Math.abs(ee.wheelDeltaY)?-oe:-le):ee.wheelDelta!==void 0&&ee.wheelDelta!==0&&(re.delta=0re||Math.abs(le.y-ee.screenY)>re)?a.yq++:a.yq=1,oe.clickCount=a.yq,a.tw=ee.timeStamp,a.uw.sg(ee.screenX,ee.screenY),a.doMouseDown(),ee.button===1?ee.preventDefault():Su(oe,ee)}},a.dk=function(ee){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==ee.pointerId&&re[0].pointerType===ee.pointerType){if(re[1]!==null&&re[1].pointerId===ee.pointerId){re[1]=ee;return}if(re[0]===null)re[0]=ee;else return}else re[0]=ee;if(re[0].pointerId===ee.pointerId){re=Yd(a,ee,!1,!1,!1,re[1]!==null);var oe=$e.document.elementFromPoint(ee.clientX,ee.clientY)||null;oe!==null&&oe.shadowRoot!==void 0&&oe.shadowRoot!==null&&(oe=oe.shadowRoot.elementFromPoint(ee.clientX,ee.clientY));var le=a,ue=ee;oe&&oe.H&&(ue=ee,le=oe.H),re.targetDiagram=le,Ed(a,ue,re),re.targetObject=null,a.doMouseMove(),Su(re,ee)}}},a.fk=function(ee){if(a.isEnabled){a.Vk=!0;var re=ee.pointerType==="touch"||ee.pointerType==="pen",oe=a.Yt;if(re&&a.qu)delete oe[ee.pointerId],ee.preventDefault();else if(oe=a.oj,oe[0]===null||oe[0].pointerId!==ee.pointerId&&oe[0].pointerType===ee.pointerType)oe[1]!==null&&oe[1].pointerId===ee.pointerId&&(oe[1]=null);else{oe[0]=null,oe=Yd(a,ee,!1,!0,!0,!1);var le=$e.document.elementFromPoint(ee.clientX,ee.clientY)||null;le!==null&&le.shadowRoot!==void 0&&le.shadowRoot!==null&&(le=le.shadowRoot.elementFromPoint(ee.clientX,ee.clientY)),le!==null&&le.H instanceof pn&&le.H!==a&&Ed(le.H,ee,oe),le===null&&(le=ee.target),Ed(a,ee,oe),oe.clickCount=a.yq,oe.targetDiagram=ch(ee,le),oe.targetObject=null,a.doMouseUp(),Su(oe,ee),re&&(a.wq=!1)}}},a.ek=function(ee){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[ee.pointerId]&&delete re[ee.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===ee.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null),ee.pointerType!=="touch"&&ee.pointerType!=="pen"&&(ee=a.currentTool,ee.cancelWaitAfter(),ee.standardMouseOver())}},a.ck=function(ee){var re=a.oj;re[0]!==null&&re[0].pointerId===ee.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===ee.pointerId&&(re[1]=null)},a.Vp=b.Z["d"+_f[1]+_f[2]+"wI"+Cf.slice(1,5)]["b"+Wx.slice(1,y)](b.Z,Qf,y,y),b.Vc(!0),gf(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}pn.prototype.addEventListener=function(a,y,x,b){a.addEventListener(y,x,{capture:b,passive:!1})},pn.prototype.removeEventListener=function(a,y,x,b){a.removeEventListener(y,x,{capture:b})};function gf(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener($e,"resize",a.Ov,!1)}function kl(a){30Ae&&(this.position=ot.h(-(y.scrollWidth-this.Aa)+Je-this.Aa/E+ue,this.position.y))),a.vy&&this.allowVerticalScroll&&(reTe&&(this.position=ot.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/E+z))),_e.free(ot),this.vd=!0,this.Ee=this.qr=!1,b=this.documentBounds,E=this.viewportBounds,ue=b.right,Ae=E.right,z=b.bottom,Te=E.bottom,ee=b.x,fe=E.x,re=b.y,b=E.y,we>=oe&&ee>=fe&&ue<=Ae&&(x.style.width="1px"),be>=le&&re>=b&&z<=Te&&(x.style.height="1px"))}},pn.prototype.computeBounds=function(a){return a===void 0&&(a=new xn),sl(this),Gd(this,a)};function Gd(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,b=a.Wa.s,E=b.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===Vh?(y=oe>re?(ee-a.Db)/b:(z-a.Db)/E,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}pn.prototype.zoomToFit=function(){var a=this.sj;this.sj=mh,this.scale=$c(this,$u),a!==mh&&(ku(this,!1),Hh(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Ee=pn.prototype,Ee.BA=function(a,y){y===void 0&&(y=$u);var x=a.width,b=a.height;if(!(x===0||b===0||isNaN(x)&&isNaN(b))){var E=1;if(y===$u||y===Vh)if(isNaN(x))E=this.viewportBounds.height*this.scale/b;else if(isNaN(b))E=this.viewportBounds.width*this.scale/x;else{E=this.Aa;var z=this.ya;E=y===Vh?z/b>E/x?(z-(this.Be?this.Db:0))/b:(E-(this.gf?this.Db:0))/x:Math.min(z/b,E/x)}this.scale=E,this.position=new _e(a.x,a.y)}},Ee.Jy=function(a,y){this.Va();var x=this.documentBounds,b=this.viewportBounds;this.position=new _e(x.x+(a.x*x.width+a.offsetX)-(y.x*b.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*b.height-y.offsetY))},Ee.zz=function(a){if(a instanceof Zt){this.eq=a;var y=_e.alloc();this.fq=this.op(a.ga(pa,y)),_e.free(y)}else this.eq=null,this.fq=ai};function Hh(a,y,x,b,E,z){var ee=_e.allocAt(a.pa.x,a.pa.y),re=ee.x,oe=ee.y;if(a.eq!==null){var le=_e.alloc();le=a.eq.ga(pa,le),re=le.x-a.fq.x/a.scale,oe=le.y-a.fq.y/a.scale,E=Da,_e.free(le)}(z||a.scrollMode===mh)&&(E.sb()&&(x>y.width&&(re=y.x+(E.x*y.width+E.offsetX)-(E.x*x-E.offsetX)),b>y.height&&(oe=y.y+(E.y*y.height+E.offsetY)-(E.y*b-E.offsetY))),E=a.rj,z=x-y.width,xy.left?re=y.left:rey.top?oe=y.top:oey;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Fn,a.Nv(x,a.De)}a.nodes.each(function(b){b instanceof Jr&&b.U&65536&&(b.U=b.U^65536)})}}Ee.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof Jr||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof Jr&&x.isVisible()&&Ya(this,x);for(a.reset();a.next();)x=a.value,x instanceof xi&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof Uo&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function Ya(a,y){for(var x=oi(),b=oi(),E=y.memberParts;E.next();){var z=E.value;z.isVisible()&&(z instanceof Jr?(ec(z)||iu(z)||Yh(z))&&Ya(a,z):z instanceof xi?z.fromNode===y||z.toNode===y?b.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,E=0;Ejt&&(Je=ki.left,vt=ki.right),ot.height>vn&&(Pt=ki.top,Mt=ki.bottom)):(Je=ki.left,vt=ki.right,Pt=ki.top,Mt=ki.bottom);var Xi=ot.width+Je+vt,ji=ot.height+Pt+Mt;ki=a.scale;var Si=Xi>oe/ki,qn=ji>le/ki;if(!(z||a.gf||a.Be||Si||qn))return!0;Je=ot.x-Je,oe=ue.x,vt=ot.right+vt,le=ue.right+ee,Pt=ot.y-Pt;var Ur=ue.y;ot=ot.bottom+Mt,ue=ue.bottom+re;var zr="1px";if(Mt="1px",a.scrollMode===mh&&(Si||qn)&&(Si&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(Si=1,Je+1le+1&&(Si=Math.max((vt-le)*ki+a.Aa,Si)),jt+ee+1ue+1&&(Si=Math.max((ot-ue)*ki+a.ya,Si)),vn+re+1le+1&&(ee=Math.max((vt-le)*ki+a.Aa,ee)),jt+1ue+1&&(re=Math.max((ot-ue)*ki+ee,re)),vn+1le+1&&(y=a.position.x*ki)),a.tn)switch(a.bu){case"negative":y=-(Ae.scrollWidth-y-Ae.clientWidth);break;case"reverse":y=Ae.scrollWidth-y-Ae.clientWidth}return Ae.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(vn+1ue+1&&(Ae.scrollTop=a.position.y*ki)),oe=a.Aa,le=a.ya,Ae.style.width=oe+(a.gf?a.Db:0)+"px",Ae.style.height=le+(a.Be?a.Db:0)+"px",x!==oe||b!==le||a.animationManager.zb?(x=xn.allocAt(E,fe,we,be),a.onViewportBoundsChanged(x,a.viewportBounds,ki,z),xn.free(x),!1):!0}Ee=pn.prototype,Ee.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&st("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&st('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(pi,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Ee.oi=function(a){this.partManager.oi(a);var y=this;Mf(a,function(x){gh(y,x)}),(a instanceof Uo||a instanceof Jr&&a.placeholder!==null)&&a.v(),a.data!==null&&Mf(a,function(x){dy(y.partManager,x)}),iu(a)!==!0&&Yh(a)!==!0||this.De.add(a),Z1(a,!0,this),V1(a)?(a.actualBounds.w()&&this.N(kf(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(kf(a,a.actualBounds)),this.$b()},Ee.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Mf(a,function(x){hy(y.partManager,x,y)}),this.De.remove(a),V1(a)?(a.actualBounds.w()&&this.N(kf(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(kf(a,a.actualBounds)),this.$b()},Ee.remove=function(a){Jd(this,a,!0)};function Jd(a,y,x){var b=y.layer;b!==null&&b.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=b.pc(-1,y,!1),0<=x&&a.cb(Ni,"parts",b,y,null,x,null),a=y.layerChanged,a!==null&&a(y,b,null))}Ee.Is=function(a,y){if(y===void 0&&(y=!1),hn(a))for(var x=a.length,b=0;bb&&this.Ya(),this},Ee.Cy=function(a,y){Kf(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(Ni,"layers",this,a,null,b,null));var E=x.count,z;for(z=0;zb&&this.Ya(),this},Ee.kA=function(a){if(a.diagram!==this&&st("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var b=y.value,E=b.layerName;E!==a.name?b.layerName=E:b.layerName=""}this.cc!==null&&this.cb(Ni,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Ee.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Ee.Yw=function(a){return this.pf===null&&(this.pf=new Bn),this.pf.add(a),this.model.Pe(a),this},Ee.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Ee.Pe=function(a){return this.zg===null&&(this.zg=new Bn),this.zg.add(a),this},Ee.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Ee.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==Zn&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,b=0;bfe.Pa.indexOf(be)&&fe.oi(we,be,Ae):(be.isSelected=!1,be.isHighlighted=!1,be.Wb(),fe.pc(Ae?we:-1,be,Ae)))}else fe instanceof pn?typeof we=="number"&&be instanceof za&&(y?(be.Xe(this),this.Wa.Gb(we,be)):this.Wa.mb(we)):st("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else b!==Zn&&st("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},pn.prototype.Ea=function(a){return this.undoManager.Ea(a)},pn.prototype.eb=function(a){return this.undoManager.eb(a)},pn.prototype.Kf=function(){return this.undoManager.Kf()},pn.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},pn.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},pn.prototype.rp=function(){this.partManager.rp()};function Sf(a,y,x){var b=a.animationManager;if(a.vb||a.ld)a.Ca=x,Hc(a),a.N(),a.Ee=!0,b.zb&&(Vs(b)||b.ce.add(b.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,Hc(a);else{a.vb=!0;var E=a.viewportBounds.copy(),z=a.Aa,ee=a.ya,re=a.zoomPoint.x,oe=a.zoomPoint.y,le=a.contentAlignment;isNaN(re)&&(le.$c()?le.Hf(yl)?re=0:le.Hf(rl)&&(re=z-1):re=le.sb()?le.x*(z-1):z/2),isNaN(oe)&&(le.$c()?le.Hf(fu)?oe=0:le.Hf(Sl)&&(oe=ee-1):oe=le.sb()?le.y*(ee-1):ee/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=_e.allocAt(a.pa.x+re/y-re/x,a.pa.y+oe/y-oe/x),a.position=z,_e.free(z),a.Ca=x,Hc(a),a.vb=!1,a.onViewportBoundsChanged(E,a.viewportBounds,y,!1),ku(a,!1),b.zb&&(Vs(b)||b.ce.add(b.H,"scale",y,a.Ca))}}pn.prototype.onViewportBoundsChanged=function(a,y,x,b){if(!a.D(y)){b===void 0&&(b=!1),b||(this.Ee=!0),this.vd=!0;var E=this.layout;E===null||!E.isViewportSized||this.autoScale!==Yl||a.width===y.width&&a.height===y.height||E.C(),E=this.currentTool,this.Vk===!0&&E instanceof si&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),_i(E,this)),this.vb||this.invalidateViewport(a,y),Ec(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=b,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function Ec(a,y){var x=a.fe;if(x!==null&&x.visible){for(var b=Hn.alloc(),E=1,z=1,ee=x.O.s,re=ee.length,oe=0;oeue||(Sv(le.figure)?z=z*ue/Wt.vx(z,ue):E=E*ue/Wt.vx(E,ue))}if(ee=x.gridCellSize,b.h(z*ee.width,E*ee.height),y!==void 0)E=y.width,z=y.height,a=y.x,ee=y.y;else{if(y=xn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){xn.free(y);return}E=y.width,z=y.height,a=y.x,ee=y.y,xn.free(y)}x.width=E+2*b.width,x.height=z+2*b.height,y=_e.alloc(),Wt.No(a,ee,0,0,b.width,b.height,y),y.offset(-b.width,-b.height),Hn.free(b),x.part.location=y,_e.free(y)}}pn.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),b=x.length,E=0;E=b&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||Xa(z,"Layout")),a.xh=!1;for(var ee=a.ai.iterator;ee.next();)Uf(a,ee.value,y,b);E.isValidLayout||(!y||E.isRealtime||E.isRealtime===null||b===0?(E.doLayout(a),sl(a),E.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,b===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||b!==0&&b!==1||Bo(z),a.aa=x}}}function Uf(a,y,x,b){if(y!==null){for(var E=y.gl.iterator;E.next();)Uf(a,E.value,x,b);E=y.layout,E===null||E.isValidLayout||(!x||E.isRealtime||b===0?(y.rh=!y.location.w(),E.doLayout(y),y.C(32),Ya(a,y),E.isValidLayout=!0):a.xh=!0)}}Ee.yz=function(){for(var a=new Bn,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function up(a){function y(E){var z=E.toLowerCase(),ee=new Bn;x.add(E,ee),x.add(z,ee),b.add(E,E),b.add(z,E)}var x=new Ri,b=new Ri;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=b}function ls(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function Yo(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;st("Unknown DiagramEvent name: "+y)}Ee.Bj=function(a,y){return a=Yo(this,a),a!==null&&a.add(y),this},Ee.am=function(a,y){a=Yo(this,a),a!==null&&a.remove(y)},Ee.R=function(a,y,x){var b=Yo(this,a),E=new cn;if(E.diagram=this,a=ls(this,a),a!==null&&(E.name=a),y!==void 0&&(E.subject=y),x!==void 0&&(E.parameter=x),y=b.length,y===1)b.M(0)(E);else if(y!==0)for(b=b.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var b=this.viewportBounds,E=this.scale;b=xn.allocAt(0,0,b.width*E,b.height*E);var z=_e.allocAt(0,0);if(a.x>=b.x&&a.xb.x+b.width-x.right&&this.allowHorizontalScroll&&(ee=Math.max(this.scrollHorizontalLineChange,1),ee|=0,z.x+=ee,a.x>b.x+b.width-x.right/2&&(z.x+=ee),a.x>b.x+b.width-x.right/4&&(z.x+=4*ee));return a.y>=b.y&&a.yb.y+b.height-x.bottom&&this.allowVerticalScroll&&(ee=Math.max(this.scrollVerticalLineChange,1),ee|=0,z.y+=ee,a.y>b.y+b.height-x.bottom/2&&(z.y+=ee),a.y>b.y+b.height-x.bottom/4&&(z.y+=4*ee)),z.Xa(xt)||(y=new _e(y.x+z.x/E,y.y+z.y/E)),xn.free(b),_e.free(z),y},Ee=pn.prototype,Ee.Cs=function(){return null},Ee.av=function(){return null},Ee.bs=function(a,y){this.pj.add(a,y)},Ee.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof Jr&&(y.$p=null)})};function Ac(a,y,x){function b(){var ue=+new Date;for(z=!0,ee.reset();ee.next();)if(!ee.value[0].al){z=!1;break}z||ue-le>oe?y(x,E,re):$e.requestAnimationFrame(b)}for(var E=x.callback,z=!0,ee=a.Og.iterator;ee.next();)if(!ee.value[0].al){z=!1;break}if(typeof E!="function"||z)return y(x,E,a);var re=a,oe=x.callbackTimeout||300,le=+new Date;return $e.requestAnimationFrame(function(){b()}),null}Ee.Wz=function(a){return us?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Ee.Jx=function(a){return a===void 0&&(a={}),Ac(this,this.Xz,a)},Ee.Xz=function(a,y,x){var b=ph(x,a,"canvas",null);if(b===null)return null;x=b.Z.canvas;var E=null;if(x!==null)switch(E=a.returnType,E===void 0?E="string":E=E.toLowerCase(),E){case Cf+"data":E=b.getImageData(0,0,x.width,x.height);break;case Cf:b=(a.document||document).createElement("img"),b.src=x.toDataURL(a.type,a.details),E=b;break;case"blob":return typeof y!="function"&&st('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:E=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(E),null):E};function ph(a,y,x,b){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&st("properties argument must be an Object.");var E=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var ee=y.maxSize;y.maxSize===void 0&&(ee=x==="SVG"?new Hn(1/0,1/0):new Hn(2e3,2e3));var re=y.position||null,oe=y.parts||null,le=y.padding===void 0?1:y.padding,ue=y.background||null,fe=y.omitTemporary;fe===void 0&&(fe=!0);var we=y.document||document,be=y.elementFinished||null,Ae=y.showTemporary;Ae===void 0&&(Ae=!fe),y=y.showGrid,y===void 0&&(y=Ae),E!==null&&isNaN(E.width)&&isNaN(E.height)&&(E=null),typeof le=="number"?le=new Hi(le):le instanceof Hi||st("MakeImage padding must be a Margin or a number."),le.left=Math.max(le.left,0),le.right=Math.max(le.right,0),le.top=Math.max(le.top,0),le.bottom=Math.max(le.bottom,0),a.ib.Vc(!0),fe=new Fc(null,we,void 0,!0);var Te=fe.context;if(!(E||z||oe||re))return fe.width=a.Aa+Math.ceil(le.left+le.right),fe.height=a.ya+Math.ceil(le.top+le.bottom),x==="SVG"?b===null?null:(b.resize(fe.width,fe.height,fe.width,fe.height),b.ownerDocument=we,b.hs=be,Es(a,b.context,le,new Hn(fe.width,fe.height),a.Ca,a.pa,oe,ue,Ae,y),b.context):(a.Xm=!1,Es(a,Te,le,new Hn(fe.width,fe.height),a.Ca,a.pa,oe,ue,Ae,y),a.Xm=!0,fe.context);var ot=a.Pp,Je=a.documentBounds.copy();if(Je.Fv(a.yb),Ae)for(var vt=a.Wa.s,Pt=vt.length,Mt=0;Mtot?(z=ot,E=Je.width,Je=Je.height):(E=ee.width,Je=ee.height)):(E=Je.width*z,Je=Je.height*z):(z=ot,E=Je.width,Je=Je.height),le!==null?(E+=re,Je+=Pt):le=new Hi(0),ee!==null&&(ot=ee.width,ee=ee.height,isNaN(ot)&&(ot=2e3),isNaN(ee)&&(ee=2e3),isFinite(ot)&&(E=Math.min(E,ot)),isFinite(ee)&&(Je=Math.min(Je,ee))),fe.width=Math.ceil(E),fe.height=Math.ceil(Je),x==="SVG"?b===null?null:(b.resize(fe.width,fe.height,fe.width,fe.height),b.ownerDocument=we,b.hs=be,Es(a,b.context,le,new Hn(Math.ceil(E),Math.ceil(Je)),z,vt,oe,ue,Ae,y),b.context):(a.Xm=!1,Es(a,Te,le,new Hn(Math.ceil(E),Math.ceil(Je)),z,vt,oe,ue,Ae,y),a.Xm=!0,fe.context)}ze.Object.defineProperties(pn.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof pe||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new vd(this,$e.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new vd(this,$e.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener($e,"resize",this.Ov,!1),this.removeEventListener($e,"wheel",this.$j,!0),bc===this&&(bc=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),zc(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Kn(a,">= 0",pn,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Kn(a,">= 0",pn,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var b=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===b&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===b&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===b&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",pn,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||wg(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&st("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=bd(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var b=this.vb;this.vb=!0,Xa(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=Vf(this.cc.type);for(var E=0;Ethis.scale&&(this.scale=a)):Kn(a,"> 0",pn,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",pn,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),ku(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Hi(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&st("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)Lp(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==vh&&a!==zs&&a!==Pg&&st("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new Hn(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new Hi(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),ze.Object.defineProperties(pn,{licenseKey:{get:function(){return pp.jc()},set:function(a){pp.add(a.replace(/\s/g,""))}},version:{get:function(){return Pf}}}),pn.prototype.makeImageData=pn.prototype.Jx,pn.prototype.makeImage=pn.prototype.Wz,pn.prototype.cacheGroupExternalLinks=pn.prototype.Fu,pn.prototype.addRenderer=pn.prototype.bs,pn.prototype.makeSVG=pn.prototype.av,pn.prototype.makeSvg=pn.prototype.Cs,pn.prototype.stopAutoScroll=pn.prototype.ug,pn.prototype.doAutoScroll=pn.prototype.gs,pn.prototype.isUnoccupied=pn.prototype.Yj,pn.prototype.raiseDiagramEvent=pn.prototype.R,pn.prototype.removeDiagramListener=pn.prototype.am,pn.prototype.addDiagramListener=pn.prototype.Bj,pn.prototype.findTreeRoots=pn.prototype.yz,pn.prototype.layoutDiagram=pn.prototype.Uz,pn.prototype.findTopLevelGroups=pn.prototype.qz,pn.prototype.findTopLevelNodesAndLinks=pn.prototype.rz,pn.prototype.ensureBounds=pn.prototype.Va,pn.prototype.findLinksByExample=pn.prototype.ls,pn.prototype.findNodesByExample=pn.prototype.ms,pn.prototype.findLinkForData=pn.prototype.Kc,pn.prototype.findNodeForData=pn.prototype.ii,pn.prototype.findPartForData=pn.prototype.Lc,pn.prototype.findLinkForKey=pn.prototype.findLinkForKey,pn.prototype.findNodeForKey=pn.prototype.Vb,pn.prototype.findPartForKey=pn.prototype.findPartForKey,pn.prototype.rebuildParts=pn.prototype.Wd,pn.prototype.transformViewToDoc=pn.prototype.Ps,pn.prototype.transformRectDocToView=pn.prototype.zA,pn.prototype.transformDocToView=pn.prototype.op,pn.prototype.centerRect=pn.prototype.es,pn.prototype.scrollToRect=pn.prototype.tv,pn.prototype.scroll=pn.prototype.scroll,pn.prototype.highlightCollection=pn.prototype.Jz,pn.prototype.highlight=pn.prototype.Iz,pn.prototype.selectCollection=pn.prototype.rA,pn.prototype.select=pn.prototype.select,pn.prototype.updateAllRelationshipsFromData=pn.prototype.rp,pn.prototype.updateAllTargetBindings=pn.prototype.updateAllTargetBindings,pn.prototype.commit=pn.prototype.commit,pn.prototype.rollbackTransaction=pn.prototype.Kf,pn.prototype.commitTransaction=pn.prototype.eb,pn.prototype.startTransaction=pn.prototype.Ea,pn.prototype.raiseChanged=pn.prototype.g,pn.prototype.raiseChangedEvent=pn.prototype.cb,pn.prototype.removeChangedListener=pn.prototype.ik,pn.prototype.addChangedListener=pn.prototype.Pe,pn.prototype.removeModelChangedListener=pn.prototype.mA,pn.prototype.addModelChangedListener=pn.prototype.Yw,pn.prototype.findLayer=pn.prototype.Qj,pn.prototype.removeLayer=pn.prototype.kA,pn.prototype.addLayerAfter=pn.prototype.Cy,pn.prototype.addLayerBefore=pn.prototype.Ww,pn.prototype.addLayer=pn.prototype.Al,pn.prototype.moveParts=pn.prototype.moveParts,pn.prototype.copyParts=pn.prototype.Kj,pn.prototype.removeParts=pn.prototype.Is,pn.prototype.remove=pn.prototype.remove,pn.prototype.add=pn.prototype.add,pn.prototype.clearDelayedGeometries=pn.prototype.bx,pn.prototype.setProperties=pn.prototype.nm,pn.prototype.attach=pn.prototype.Du,pn.prototype.set=pn.prototype.set,pn.prototype.resetInputOptions=pn.prototype.Sx,pn.prototype.setInputOption=pn.prototype.sA,pn.prototype.getInputOption=pn.prototype.Ql,pn.prototype.resetRenderingHints=pn.prototype.Tx,pn.prototype.setRenderingHint=pn.prototype.Xx,pn.prototype.getRenderingHint=pn.prototype.Gf,pn.prototype.maybeUpdate=pn.prototype.bd,pn.prototype.requestUpdate=pn.prototype.$b,pn.prototype.delayInitialization=pn.prototype.Xy,pn.prototype.isUpdateRequested=pn.prototype.Pz,pn.prototype.invalidateDocumentBounds=pn.prototype.Ya,pn.prototype.findObjectsNear=pn.prototype.og,pn.prototype.findPartsNear=pn.prototype.mz,pn.prototype.findObjectsIn=pn.prototype.Cf,pn.prototype.findPartsIn=pn.prototype.ux,pn.prototype.findObjectsAt=pn.prototype.ji,pn.prototype.findPartsAt=pn.prototype.lz,pn.prototype.findObjectAt=pn.prototype.ic,pn.prototype.findPartAt=pn.prototype.Ol,pn.prototype.focusObject=pn.prototype.zz,pn.prototype.alignDocument=pn.prototype.Jy,pn.prototype.zoomToRect=pn.prototype.BA,pn.prototype.zoomToFit=pn.prototype.zoomToFit,pn.prototype.diagramScroll=pn.prototype.kx,pn.prototype.focus=pn.prototype.focus;var nd=new Ri,Lc=null,us=$e.document!==void 0,wf=null,Kh="",Yl=new En(pn,"None",0),$u=new En(pn,"Uniform",1),Vh=new En(pn,"UniformToFill",2),Xf=new En(pn,"CycleAll",10),cp=new En(pn,"CycleNotDirected",11),dp=new En(pn,"CycleNotDirectedFast",12),hp=new En(pn,"CycleNotUndirected",13),fp=new En(pn,"CycleDestinationTree",14),gp=new En(pn,"CycleSourceTree",15),mh=new En(pn,"DocumentScroll",1),Jf=new En(pn,"InfiniteScroll",2),vh=new En(pn,"TreeParentCollapsed",21),zs=new En(pn,"AllParentsCollapsed",22),Pg=new En(pn,"AnyParentsCollapsed",23),pp=new Bn,Pf="2.3.10",Cf="image",Qf=null,fm=!1;function Wl(){if(us){var a=$e.document.createElement("canvas"),y=a.getContext("2d"),x=Ln("7ca11abfd022028846");y[x]=Ln("398c3597c01238");for(var b=["5da73c80a36455d7038e4972187c3cae51fd22",$t.Dx+"4ae6247590da4bb21c324ba3a84e385776",Hr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Wt.za],E=1;5>E;E++)y[Ln("7ca11abfd7330390")](Ln(b[E-1]),10,15*E);for(y[x]=Ln("39f046ebb36e4b"),x=1;5>x;x++)y[Ln("7ca11abfd7330390")](Ln(b[x-1]),10,15*x);(b.length!==4||b[0][0]!=="5"||b[3][0]!=="7")&&(Hr.prototype.Cd=Hr.prototype.Eu),Qf=a}}pn.className="Diagram",pn.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=$e.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof pn?y.H:null},pn.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class `+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},pn.useDOM=function(a){us=a?$e.document!==void 0:!1},pn.isUsingDOM=function(){return us},pn.None=Yl,pn.Uniform=$u,pn.UniformToFill=Vh,pn.CycleAll=Xf,pn.CycleNotDirected=cp,pn.CycleNotDirectedFast=dp,pn.CycleNotUndirected=hp,pn.CycleDestinationTree=fp,pn.CycleSourceTree=gp,pn.DocumentScroll=mh,pn.InfiniteScroll=Jf,pn.TreeParentCollapsed=vh,pn.AllParentsCollapsed=zs,pn.AnyParentsCollapsed=Pg;function gm(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function bf(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=$e[Ln("76a715b2f73f148a")][Ln("72ba13b5")]||"";if(a.Rc=!0,us){var b=pn[Ln("76a115b6ed251eaf4692")];if(b)for(var E=pp.iterator;E.next()&&(b=E.value,b=Ln(b).split(Ln("39e9")),!(6>b.length));){var z=Ln(b[1]).split(".");if(b[4]!=="7da71ca0")break;var ee=Ln($t[Ln("6cae19")]).split(".");if(z[0]>ee[0]||z[0]===ee[0]&&z[1]>=ee[1]){var re=$e[Ln("74a900bae4370f8b51")][Ln("6fbb13a1c2311e8a57")].toLowerCase();if(ee=re[Ln("73a612b6fb191d")](Ln("3aad1ab6e022098b4dc4")),z=Ln(b[2]),-1ee&&z!==Ln("7da71ca0ad381e90")&&(ee=y[Ln("73a612b6fb191d")](Ln("76a715b2ef3e149757"))),0>ee&&(ee=y[Ln("73a612b6fb191d")](Ln("76a715b2ef3e149757"))),0>ee&&(ee=y[Ln("73a612b6fb191d")](Ln("2bfa41fdb3784bca12"))),0>ee&&(ee=x[Ln("73a612b6fb191d")](Ln("7baa19a6f76c1988428554"))),a.Rc=!(0<=ee&&eere),!a.Rc)))break;if(z[0]==="#"){ee=$e.document.createElement("div");for(var oe=b[0].replace(/[A-Za-z]/g,"");4>oe.length;)oe+="9";if(re=oe,oe=oe.substr(oe.length-4),b="",b+=["gsh","gsf"][parseInt(oe.substr(0,1),10)%2],b+=["Header","Background","Display","Feedback"][parseInt(oe.substr(0,1),10)%4],ee[Ln("79a417a0f0181a8946")]=b,$e.document[Ln("78a712aa")]){$e.document[Ln("78a712aa")][Ln("7bb806b6ed32388c4a875b")](ee),oe=$e.getComputedStyle(ee).getPropertyValue(Ln("78a704b7e62456904c9b12701b6532a8"));var le=$e.getComputedStyle(ee).getPropertyValue(Ln("75b817b0ea2202"));if($e.document[Ln("78a712aa")][Ln("68ad1bbcf533388c4a875b")](ee),oe){if(ee=$e[Ln("77a902b0eb1b1e804a8a")],le==="0."+parseInt(re,10)%100||oe.indexOf(parseInt(z[1]+z[2],16))!==-1&&oe.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(ee&&ee(Ln("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(b="."+b,z=0;zb.updateDelay?b.N():b.o||(b.o=!0,setTimeout(function(){return b.redraw()},b.updateDelay))},x.Of=function(){b.observed!==null&&Ze(b)},x.autoScale=$u,x.vb=!1,y&&Object.assign(x,y),x}bt(pe,pn),pe.prototype.computePixelRatio=function(){return 1},pe.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(Bu(this),this.ql===null){var x=new Fc(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),De(this)}finally{this.ta=a,this.ib=y}}}pn.prototype.redraw.call(this)},pe.prototype.gc=function(){if(this.Ka===null&&st("No div specified"),this.ta===null&&st("No canvas specified"),!(this.ta instanceof vd)&&(jv(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){Bu(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?De(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,b=0;ba&&(a=0),this.ia!==a&&(this.ia=a)}}}),pe.className="Overview";function at(){ur.call(this),this.j=null}bt(at,ur),at.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},rt.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Yl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},rt.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Yl&&(a=y.scale*a,ay.maxScale||(y.scale=a))},rt.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Yl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},rt.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},rt.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},rt.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,b=a.scale;Xa(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&b===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=Kr):(this.Jt=b,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),Bo(y)},rt.prototype.canZoomToFit=function(){return this.diagram.allowZoom},rt.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(oe){this.cg=null}a===null&&(0a&&(a+=360)),a},Ee.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Ee.qs=function(a,y){return y===void 0&&(y=new _e),y.assign(a),this.oe.Cd(y),y},Ee.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Ee.Sj=function(a,y,x,b,E){var z=this.transform,ee=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*ee,oe=-z.m12*ee,le=-z.m21*ee,ue=z.m11*ee,fe=ee*(z.m21*z.dy-z.m22*z.dx),we=ee*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Wt.Ff(z.left,z.top,z.right,z.bottom,a,y,x,b,E)):(ee=a*re+y*le+fe,a=a*oe+y*ue+we,y=x*re+b*le+fe,x=x*oe+b*ue+we,E.h(0,0),b=this.naturalBounds,x=Wt.Ff(0,0,b.width,b.height,ee,a,y,x,E),E.transform(z),x)},Zt.prototype.measure=function(a,y,x,b){if(ec(this)!==!1){var E=this.Kg,z=E.right+E.left;E=E.top+E.bottom,a=Math.max(a-z,0),y=Math.max(y-E,0),x=Math.max((x||0)-z,0),b=Math.max((b||0)-E,0),z=this.angle,E=this.desiredSize;var ee=this.kq();z===90||z===270?(a=isFinite(E.height)?E.height+ee:a,y=isFinite(E.width)?E.width+ee:y):(a=isFinite(E.width)?E.width+ee:a,y=isFinite(E.height)?E.height+ee:y),E=x||0,ee=b||0;var re=this instanceof hi;switch(wu(this,!0)){case ti:ee=E=0,re&&(y=a=1/0);break;case ui:isFinite(a)&&a>x&&(E=a),isFinite(y)&&y>b&&(ee=y);break;case ar:isFinite(a)&&a>x&&(E=a),ee=0,re&&(y=1/0);break;case br:isFinite(y)&&y>b&&(ee=y),E=0,re&&(a=1/0)}re=this.maxSize;var oe=this.minSize;E>re.width&&oe.widthre.height&&oe.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||st("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),Ld(this,!1),xn.free(z)},Ee=Zt.prototype,Ee.eh=function(){};function Ul(a,y,x,b,E){if(a.Ib.h(y,x,b,E),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var ee=x.top+x.bottom;switch(x=z.width+y,z=z.height+ee,b+=y,E+=ee,y=wu(a,!0),x===b&&z===E&&(y=ti),y){case ti:(x>b||z>E)&&(js(a,!0),a.measure(x>b?b:x,z>E?E:z,0,0));break;case ui:js(a,!0),a.measure(b,E,0,0);break;case ar:js(a,!0),a.measure(b,z,0,0);break;case br:js(a,!0),a.measure(x,E,0,0)}}}Ee.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||Zv(x,!0),this.N(),Zs(a,y)||(x.oh(),this.Pn(x)))},Ee.Pn=function(a){this.portId!==null&&(Zv(a,!0),a instanceof Ti&&X1(a,this))},Ee.gc=function(a,y){if(!cc(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var b=1;x!==1&&(b=a.globalAlpha,a.globalAlpha=b*x);var E="";this.filter!==""&&(E=a.filter,a.filter=this.filter);var z=this instanceof hi&&xh(this),ee=this.Ib;if(z){var re=this.Ib,oe=this.dc,le=this.areaBackground,ue=this.Ma;le===null&&ue===null||a.yc(),le!==null&&(cs(this,a,le,!0,!0,oe,re),le instanceof ra&&le.type===fc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(le)):a.fillRect(re.x,re.y,re.width,re.height)),ue!==null&&(cs(this,a,ue,!0,!1,oe,re),ue instanceof ra&&ue.type===fc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(ue)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||ee.width!==0&&ee.height!==0&&!isNaN(ee.x)&&!isNaN(ee.y))){z=this.transform,re=this.panel,this.l&4096&&Pl(this),le=this.part,oe=!1;var fe=0;le&&y.Gf("drawShadows")&&(oe=le.isShadowed)&&(ue=le.shadowOffset,fe=Math.max(ue.y,ue.x)*y.scale*y.Mb),ue=this.Dd();var we;if(!(we=y.$i||!ue)){var be=this.naturalBounds;we=this.wh;var Ae=we.m11,Te=we.m21,ot=we.dx,Je=we.m12,vt=we.m22,Pt=we.dy,Mt,jt=Mt=0;we=Mt*Ae+jt*Te+ot;var vn=Mt*Je+jt*vt+Pt;Mt=be.width+fe,jt=0;var ki=Mt*Ae+jt*Te+ot;Mt=Mt*Je+jt*vt+Pt,jt=Math.min(we,ki);var Xi=Math.min(vn,Mt),ji=Math.max(we+0,ki)-jt,Si=Math.max(vn+0,Mt)-Xi;we=jt,vn=Xi,Mt=be.width+fe,jt=be.height+fe,ki=Mt*Ae+jt*Te+ot,Mt=Mt*Je+jt*vt+Pt,jt=Math.min(we,ki),Xi=Math.min(vn,Mt),ji=Math.max(we+ji,ki)-jt,Si=Math.max(vn+Si,Mt)-Xi,we=jt,vn=Xi,Mt=0,jt=be.height+fe,ki=Mt*Ae+jt*Te+ot,Mt=Mt*Je+jt*vt+Pt,jt=Math.min(we,ki),Xi=Math.min(vn,Mt),ji=Math.max(we+ji,ki)-jt,Si=Math.max(vn+Si,Mt)-Xi,we=jt,vn=Xi,fe=y.viewportBounds,be=fe.x,Ae=fe.y,we=!(we>fe.width+be||be>ji+we||vn>fe.height+Ae||Ae>Si+vn)}if(we){if(we=(this.l&256)!==0,a.clipInsteadOfFill&&(we=!1),this instanceof ba&&(a.font=this.font),we){if(vn=re.se()?re.naturalBounds:re.actualBounds,ji=Math.max(ee.x,vn.x),Si=Math.max(ee.y,vn.y),fe=Math.min(ee.right,vn.right)-ji,be=Math.min(ee.bottom,vn.bottom)-Si,Ae=this.tb,Ae!==null&&(ji=Ae.x,Si=Ae.y,fe=Ae.width,be=Ae.height),ji>ee.width+ee.x||ee.x>vn.width+vn.x){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}a.save(),a.beginPath(),a.rect(ji,Si,fe,be),a.clip()}if(ue){if(!le.isVisible()){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}oe&&(vn=le.shadowOffset,a.Ev(vn.x*y.scale*this.scale*y.Mb,vn.y*y.scale*this.scale*y.Mb,le.shadowBlur),_d(a),a.shadowColor=le.shadowColor)}oe&&this.shadowVisible===!0?_d(a):oe&&this.shadowVisible===!1&&Md(a),le=this.naturalBounds,this.areaBackground!==null&&(a.yc(),qu(this,a,le,ee)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),oe&&fl(this,re)&&this.shadowVisible===null&&Md(a),this.Ma!==null&&(a.yc(),Tu(this,a,le,ee)),oe&&(this.Ma!==null||this.areaBackground!==null||fl(this,re))?(Wc(this,!0),this.shadowVisible===null&&Md(a)):Wc(this,!1),this.hh(a,y),oe&&this.l&512&&_d(a),ue&&oe&&Md(a),we&&(a.restore(),a.Vc(this instanceof hi)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E)}}};function fl(a,y){return y===null?!1:(xh(y)&&(y=y.panel),(y.l&512)!==0||(y.type===hi.Auto||y.type===hi.Spot)&&y.Pb()!==a)}Ee.Dv=function(){};function qu(a,y,x,b){cs(a,y,a.areaBackground,!0,!0,x,b),a.areaBackground instanceof ra&&a.areaBackground.type===fc?(y.beginPath(),y.rect(b.x,b.y,b.width,b.height),y.ng(a.areaBackground)):y.fillRect(b.x,b.y,b.width,b.height)}function Tu(a,y,x,b){var E=a.kq(),z=x.x,ee=x.y,re=x.width+E,oe=x.height+E;cs(a,y,a.Ma,!0,!1,x,b),a.Ma instanceof ra&&a.Ma.type===fc?(y.beginPath(),y.rect(z-E/2,ee-E/2,re,oe),y.ng(a.Ma)):y.fillRect(z-E/2,ee-E/2,re,oe)}function Zl(a,y,x){for(var b=y.O.s,E=b.length,z=-1,ee=0;eeE)&&st("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+E),a.isRow=!0,a.index=E):y.column!==void 0&&(E=y.column,(E==null||E===1/0||isNaN(E)||0>E)&&st("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+E),a.isRow=!1,a.index=E),E=new ir;for(x in y)x!=="row"&&x!=="column"&&(E[x]=y[x]);Du(a,E)}else Du(a,y);else st('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function yh(a,y){Cg.add(a,y)}function pm(a,y,x){x===void 0&&(x=null);var b=a[1];if(typeof x=="function"?x(b):typeof b=="string")return a.splice(1,1),b;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}ze.Object.defineProperties(Zt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new qf),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new qf),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new qf),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(uo(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(uo(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:au},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new Gh),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===au&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new Gh),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&st("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,$y(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,b=this.jd,E=b.width,z=b.height;(E===y||isNaN(E)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",b,a),Fl(this)&&(a=this.part,a!==null&&(Ma(this,a,"width"),Ma(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new Hn(a,this.jd.height).freeze(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",y,a),Fl(this)&&(a=this.part,a!==null&&Ma(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new Hn(this.jd.width,a).freeze(),this.v(),this instanceof io&&this.qc(),this.g("desiredSize",y,a),Fl(this)&&(a=this.part,a!==null&&Ma(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:pr},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),uo(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:eo},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),uo(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new Hi(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&Pl(this),this.Ab}},oe:{get:function(){return this.l&4096&&Pl(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(uo(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:ti},set:function(a){this.reshapingBehavior!==a&&(uo(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&st("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),nu(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Kn(a,">= 0",Zt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Kn(a,">= 1",Zt,"columnSpan"),uo(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Kn(a,">= 0",Zt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Kn(a,">= 1",Zt,"rowSpan"),uo(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(uo(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof Ti||st("Cannot set portID on a Link: "+a),y!==null&&x!==null&&Yv(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,_1(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Da},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),Ef(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",Zt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),Ef(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),Ef(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Kn(a,">= 0",Zt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:Da},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),Ef(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",Zt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),Ef(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),Ef(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Kn(a,">= 0",Zt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(uo(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(uo(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(uo(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(uo(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(uo(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(uo(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(uo(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(uo(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(uo(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(uo(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(uo(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(uo(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(uo(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(uo(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(uo(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(uo(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(uo(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(uo(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Zt.prototype.trigger=Zt.prototype.Jv,Zt.prototype.findBindingPanel=Zt.prototype.ih,Zt.prototype.findTemplateBinder=Zt.prototype.pz,Zt.prototype.setProperties=Zt.prototype.nm,Zt.prototype.apply=Zt.prototype.apply,Zt.prototype.attach=Zt.prototype.Du,Zt.prototype.set=Zt.prototype.set,Zt.prototype.isEnabledObject=Zt.prototype.If,Zt.prototype.isVisibleObject=Zt.prototype.Ed,Zt.prototype.isContainedBy=Zt.prototype.rg,Zt.prototype.getNearestIntersectionPoint=Zt.prototype.rs,Zt.prototype.getLocalPoint=Zt.prototype.qs,Zt.prototype.getDocumentScale=Zt.prototype.Df,Zt.prototype.getDocumentAngle=Zt.prototype.li,Zt.prototype.getDocumentBounds=Zt.prototype.mi,Zt.prototype.getDocumentPoint=Zt.prototype.ga,Zt.prototype.intersectsRect=Zt.prototype.Yc,Zt.prototype.containedInRect=Zt.prototype.fh,Zt.prototype.containsRect=Zt.prototype.Re,Zt.prototype.containsPoint=Zt.prototype.ca,Zt.prototype.raiseChanged=Zt.prototype.g,Zt.prototype.raiseChangedEvent=Zt.prototype.cb,Zt.prototype.addCopyProperty=Zt.prototype.Vw;var Cg=null;Zt.className="GraphObject",Cg=new Ri,yh("Button",function(){function a(x,b){return x.diagram.ic(x.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E},function(E){return E===b})!==null}var y=hc(hi,hi.Auto,{isActionable:!0,enabledChanged:function(x,b){if(x instanceof hi){var E=x.fb("ButtonBorder");E!==null&&(E.fill=b?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},hc(io,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new Vi(0,0,2.76142374915397,2.761423749153969),spot2:new Vi(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,b){if(b.If()&&b instanceof hi&&(x=b.fb("ButtonBorder"),x instanceof io)){var E=b._buttonFillOver;b._buttonFillNormal=x.fill,x.fill=E,E=b._buttonStrokeOver,b._buttonStrokeNormal=x.stroke,x.stroke=E}},y.mouseLeave=function(x,b){b.If()&&b instanceof hi&&(x=b.fb("ButtonBorder"),x instanceof io&&(x.fill=b._buttonFillNormal,x.stroke=b._buttonStrokeNormal))},y.actionDown=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof io){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var ee=b._buttonFillPressed;b._buttonFillOver=E.fill,E.fill=ee,ee=b._buttonStrokePressed,b._buttonStrokeOver=E.stroke,E.stroke=ee,x.skipsUndoManager=z}}},y.actionUp=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof io){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionCancel=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null){var E=b.fb("ButtonBorder");if(E instanceof io){var z=x.diagram,ee=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=ee}}},y.actionMove=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null){var E=x.diagram;if(E.firstInput.button===0&&(E.currentTool.standardMouseOver(),a(x,b)&&(x=b.fb("ButtonBorder"),x instanceof io))){var z=E.skipsUndoManager;E.skipsUndoManager=!0;var ee=b._buttonFillPressed;x.fill!==ee&&(x.fill=ee),ee=b._buttonStrokePressed,x.stroke!==ee&&(x.stroke=ee),E.skipsUndoManager=z}}},y}),yh("TreeExpanderButton",function(){var a=hc("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},hc(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:to},new Fs("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Fs("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof Uo&&(x=x.adornedPart),x instanceof Ti){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isTreeExpanded){if(!b.canCollapseTree(x))return}else if(!b.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?b.collapseTree(x):b.expandTree(x)}}},a}),yh("SubGraphExpanderButton",function(){var a=hc("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},hc(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:to},new Fs("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof Uo&&(x=x.adornedPart),x instanceof Jr){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isSubGraphExpanded){if(!b.canCollapseSubGraph(x))return}else if(!b.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?b.collapseSubGraph(x):b.expandSubGraph(x)}}},a}),yh("ToolTip",function(){return hc(Uo,hi.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new _e(0,3),shadowBlur:5},hc(io,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new Vi(0,0,4,6),spot2:new Vi(1,1,-4,-4)}))}),yh("ContextMenu",function(){return hc(Uo,hi.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new _e(0,3),shadowBlur:5},new Fs("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),yh("ContextMenuButton",function(){var a=hc("Button");a.stretch=ar;var y=a.fb("ButtonBorder");return y instanceof io&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new Vi(0,0,2,3),y.spot2=new Vi(1,1,-2,-2)),a}),yh("PanelExpanderButton",function(a){var y=pm(a,"COLLAPSIBLE"),x=hc("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},hc(io,{name:"ButtonIcon",strokeWidth:2},new Fs("geometryString","visible",function(b){return b?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof io&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(b,E){var z=E.diagram;if(z!==null&&!z.isReadOnly){var ee=E.ih();ee===null&&(ee=E.part),ee!==null&&(E=ee.fb(y),E!==null&&(b.handled=!0,z.Ea("Collapse/Expand Panel"),E.visible=!E.visible,z.eb("Collapse/Expand Panel")))}},x}),yh("CheckBoxButton",function(a){var y=pm(a);return a=hc("Button",{desiredSize:new Hn(14,14)},hc(io,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:ui,geometryStretch:tr,visible:!1},y!==""?new Fs("visible",y).Kx():[])),a.click=function(x,b){if(b instanceof hi){var E=x.diagram;if(!(E===null||E.isReadOnly||y!==""&&E.model.isReadOnly)){x.handled=!0;var z=b.fb("ButtonIcon");E.Ea("checkbox"),z.visible=!z.visible,typeof b._doClick=="function"&&b._doClick(x,b),E.eb("checkbox")}}},a}),yh("CheckBox",function(a){a=pm(a),a=hc("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new Hi(0,1,0,0)});var y=hc(hi,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new Hi(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),Zt.None=ti=new En(Zt,"None",0),Zt.Default=_r=new En(Zt,"Default",0),Zt.Vertical=br=new En(Zt,"Vertical",4),Zt.Horizontal=ar=new En(Zt,"Horizontal",5),Zt.Fill=ui=new En(Zt,"Fill",3),Zt.Uniform=tr=new En(Zt,"Uniform",1),Zt.UniformToFill=Eo=new En(Zt,"UniformToFill",2),Zt.FlipVertical=fo=new En(Zt,"FlipVertical",1),Zt.FlipHorizontal=jo=new En(Zt,"FlipHorizontal",2),Zt.FlipBoth=da=new En(Zt,"FlipBoth",3),Zt.make=hc,Zt.getBuilders=function(){var a=new Ri,y;for(y in Cg)if(y!==y.toLowerCase()){var x=Cg.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},Zt.defineBuilder=yh,Zt.build=function(a,y,x){for(var b=[],E=2;Ea&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.ha[1]*a+this.ha[3]*b,z=this.ha[0]*-b+this.ha[2]*a,ee=this.ha[1]*-b+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*b,this.ha[1]=E,this.ha[2]=z,this.ha[3]=ee,this.translate(-y,-x)}},Af.className="STransform";function eg(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}eg.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},eg.className="SGradient";function vd(a,y,x){this.ownerDocument=a=y===void 0?$e.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new Ku(this,x)}vd.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",b+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+b),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",b+"px"),!0):!1},vd.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),nn(y))for(var b in y)a.setAttributeNS(b==="href"?"http://www.w3.org/1999/xlink":"",b,y[b]);return x!==void 0&&(a.textContent=x),a},vd.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},vd.prototype.focus=function(){this.Oa.focus()},vd.prototype.mx=function(){this.ownerDocument=null},ze.Object.defineProperties(vd.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),vd.className="SVGSurface";function Ku(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new Af,this.j=mm(this),this.Nj=mm(this,"gojs-diagram"),this.Hl=this.ti=null;var x=Ao++,b=this.Ud("clipPath",{id:"mainClip"+x});b.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=b,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(b),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function qy(a,y,x,b,E,z,ee){a.Nj===void 0?vp(a,y,x,b,E,z,ee):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+b+", "+E+", "+z+", "+ee+")")}Ee=Ku.prototype,Ee.arc=function(a,y,x,b,E,z,ee,re){var oe=2*Math.PI,le=oe-1e-6,ue=x*Math.cos(b),fe=x*Math.sin(b),we=a+ue,be=y+fe,Ae=z?0:1;b=z?b-E:E-b,(1e-6b&&(b=b%oe+oe),b>le?(this.path.push(["A",x,x,0,1,Ae,a-ue,y-fe]),this.path.push(["A",x,x,0,1,Ae,we,be])):1e-6=Math.PI),Ae,a+x*Math.cos(E),y+x*Math.sin(E)])},Ee.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Ee.Se=function(a){this.addPath(this.path,this.rb,a||0)},Ee.bezierCurveTo=function(a,y,x,b,E,z){this.path.push(["C",a,y,x,b,E,z])},Ee.clearRect=function(){},Ee.clip=function(){this.Yl.clipPath=!0},Ee.closePath=function(){this.path.push(["z"])},Ee.createLinearGradient=function(a,y,x,b){var E=new eg("linear");return E.x1=a,E.y1=y,E.x2=x,E.y2=b,E},Ee.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var b="PATTERN"+Ao++,E={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:b,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Cf,E)),this.svg.appendChild(a),x[y]=b,"url(#"+b+")"},Ee.createRadialGradient=function(a,y,x,b,E,z){var ee=new eg("radial");return ee.x1=a,ee.y1=y,ee.r1=x,ee.x2=b,ee.y2=E,ee.r2=z,ee};function e1(a,y,x,b,E,z,ee,re,oe){b=re/b,E=oe/E,z===0&&ee===0||a.rb.translate(z,ee),b===1&&E===1||a.rb.scale(b,E),y===0&&x===0||a.rb.translate(-y,-x)}Ee.drawImage=function(a,y,x,b,E,z,ee,re,oe){var le="";a instanceof HTMLCanvasElement&&(le=a.toDataURL()),a instanceof HTMLImageElement&&(le=a.getAttribute("src"));var ue=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,b===void 0&&(z=y,ee=x,re=b=ue,oe=E=a),b=b||0,E=E||0,re=re||0,oe=oe||0,e1(this,y,x,b,E,z||0,ee||0,re,oe),z={x:0,y:0,width:ue||b,height:a||E,href:le},Wt.$(b,re)&&Wt.$(E,oe)?le.toLowerCase().indexOf(".svg")===-1&&le.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||b!==ue||E!==a)&&(b+=y,E+=x,z["clip-path"]="path('M "+y+","+x+" L "+b+" "+x+" L "+b+" "+E+" L "+y+" "+E+" z')"),bg(this,Cf,z,this.rb),this.addElement(Cf,z)},Ee.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),sv(this,this.Yl)},Ee.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Ee.fillRect=function(a,y,x,b){a=[a,y,x,b],a={x:a[0],y:a[1],width:a[2],height:a[3]},bg(this,"fill",a,this.rb),this.addElement("rect",a)},Ee.ox=function(a,y,x,b){a={x:a,y,width:x,height:b},bg(this,"fill",a,this.rb),sv(this,a),this.svg.prepend(this.Ud("rect",a))},Ee.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},bg(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Ee.lineTo=function(a,y){this.path.push(["L",a,y])},Ee.moveTo=function(a,y){this.path.push(["M",a,y])},Ee.quadraticCurveTo=function(a,y,x,b){this.path.push(["Q",a,y,x,b])},Ee.rect=function(a,y,x,b){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+b],["L",a,y+b],["z"])},Ee.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Ee.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yue.offset?1:-1}),E=0;Ex?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Ee.jk=function(){this.Hm||this.stroke()},Ee.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Ee.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Ee.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(Ex),a.lineDashOffset=0)},Ee.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Ee.Hs=function(){},ze.Object.defineProperties(Lf.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var Ex=Object.freeze([]);Lf.className="CanvasSurfaceContext";function yp(){this.F=this.o=this.u=this.j=0}yp.className="ColorNumbers";function ra(a,y){Mg||(gv(),Mg=!0),fr(this),this._isFrozen=!1,a===void 0?(this.na=Sh,this.xk="black"):typeof a=="string"?(this.na=Sh,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===qd?(this.Qd=Os,this.Lk=Nl):this.Lk=a===fc?this.Qd=So:this.Qd=Da,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}ra.prototype.copy=function(){var a=new ra;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Ee=ra.prototype,Ee.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Ee.ka=function(){return Object.isFrozen(this)&&st("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Ee.qb=function(a){a.classType===ra&&(this.type=a)},Ee.toString=function(){var a="Brush(";if(this.type===Sh)a+=this.color;else if(a=this.type===qd?a+"Linear ":this.type===fc?a+"Radial ":this.type===Fg?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Ee.addColorStop=function(a,y){return this._isFrozen&&fn(this),(typeof a!="number"||!isFinite(a)||1a)&&Kn(a,"0 <= loc <= 1",ra,"addColorStop:loc"),this.we===null&&(this.we=new Ri),this.we.add(a,y),this.na===Sh&&(this.type=qd),this.xe=null,this},Ee.Vz=function(a,y){if(this._isFrozen&&fn(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Ng:y,this.type===Sh)$d(this.color),this.color=Ag(a,y);else if((this.type===qd||this.type===fc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)$d(x.value),this.addColorStop(x.key,Ag(a,y));return this};function r1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Ng:x,$d(a),Ag(y,x)}Ee.Wy=function(a,y){if(this._isFrozen&&fn(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Ng:y,this.type===Sh)$d(this.color),this.color=Ag(-a,y);else if((this.type===qd||this.type===fc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)$d(x.value),this.addColorStop(x.key,Ag(-a,y));return this};function o1(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Ng:x,$d(a),Ag(-y,x)}function uv(a,y,x){$d(a),a=Aa.j;var b=Aa.u,E=Aa.o,z=Aa.F;return $d(y),x===void 0&&(x=.5),"rgba("+Math.round((Aa.j-a)*x+a)+", "+Math.round((Aa.u-b)*x+b)+", "+Math.round((Aa.o-E)*x+E)+", "+Math.round((Aa.F-z)*x+z)+")"}Ee.Gx=function(){if(this.type===Sh)return Eg(this.color);if((this.type===qd||this.type===fc)&&this.colorStops!==null){var a=this.colorStops;if(this.type===fc)return Eg(a.first().value);if(a.get(.5)!==null)return Eg(a.get(.5));if(a.count===2)return a=a.Fa(),Eg(uv(a[0].value,a[1].value));for(var y=a.iterator,x=-1,b=-1,E=1,z=1;y.next();){var ee=y.key,re=Math.abs(.5-y.key);E>z&&re=E&&reb&&(z=x,x=b,b=z,z=E),E=b-x,Eg(uv(a.get(x),a.get(b),1-z/E))}return!1};function Eg(a){return a?a instanceof ra?a.Gx():($d(a),128>(299*Aa.j+587*Aa.u+114*Aa.o)/1e3):!1}function Ag(a,y){switch(y){case Ng:y=100*dv(Aa.j);var x=100*dv(Aa.u),b=100*dv(Aa.o);return ru.j=.4124564*y+.3575761*x+.1804375*b,ru.u=.2126729*y+.7151522*x+.072175*b,ru.o=.0193339*y+.119192*x+.9503041*b,ru.F=Aa.F,y=fv(ru.j/Lg[0]),x=fv(ru.u/Lg[1]),b=fv(ru.o/Lg[2]),Fd.j=116*x-16,Fd.u=500*(y-x),Fd.o=200*(x-b),Fd.F=ru.F,Fd.j=Math.min(100,Math.max(0,Fd.j+100*a)),a=(Fd.j+16)/116,y=a-Fd.o/200,ru.j=Lg[0]*a1(Fd.u/500+a),ru.u=Lg[1]*(Fd.j>ym*pv?Math.pow(a,3):Fd.j/ym),ru.o=Lg[2]*a1(y),ru.F=Fd.F,a=-.969266*ru.j+1.8760108*ru.u+.041556*ru.o,y=.0556434*ru.j+-.2040259*ru.u+1.0572252*ru.o,Aa.j=255*hv((3.2404542*ru.j+-1.5371385*ru.u+-.4985314*ru.o)/100),Aa.u=255*hv(a/100),Aa.o=255*hv(y/100),Aa.F=ru.F,Aa.j=Math.round(Aa.j),255Aa.j&&(Aa.j=0),Aa.u=Math.round(Aa.u),255Aa.u&&(Aa.u=0),Aa.o=Math.round(Aa.o),255Aa.o&&(Aa.o=0),"rgba("+Aa.j+", "+Aa.u+", "+Aa.o+", "+Aa.F+")";case s1:return cv(),tc.o=Math.min(100,Math.max(0,tc.o+100*a)),"hsla("+tc.j+", "+tc.u+"%, "+tc.o+"%, "+tc.F+")";default:st("Unknown color space: "+y)}}function $d(a){Mg||(gv(),Mg=!0);var y=mv;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Aa.j=a[0],Aa.u=a[1],Aa.o=a[2],Aa.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Aa.j=0,Aa.u=0,Aa.o=0,Aa.F=1)}}function cv(){var a=Aa.j/255,y=Aa.u/255,x=Aa.o/255,b=Math.max(a,y,x),E=Math.min(a,y,x),z=b-E;if(E=(b+E)/2,z===0)var ee=a=0;else{switch(b){case a:ee=(y-x)/z%6;break;case y:ee=(x-a)/z+2;break;case x:ee=(a-y)/z+4}ee*=60,0>ee&&(ee+=360),a=z/(1-Math.abs(2*E-1))}tc.j=Math.round(ee),tc.u=Math.round(100*a),tc.o=Math.round(100*E),tc.F=Aa.F}function dv(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function hv(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function fv(a){return a>pv?Math.pow(a,1/3):(ym*a+16)/116}function a1(a){var y=a*a*a;return y>pv?y:(116*a-16)/ym}function tg(a,y){typeof a!="string"&&(a instanceof ra||st("Value for "+y+" must be a color string or a Brush, not "+a))}function gv(){mv=us?new Fc(null,void 0,{willReadFrequently:!0}).context:null}ze.Object.defineProperties(ra.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&fn(this,a),this.na=a,this.start.Mc()&&(a===qd?this.start=Os:a===fc&&(this.start=So)),this.end.Mc()&&(a===qd?this.end=Nl:a===fc&&(this.end=So)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&fn(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&fn(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&fn(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&fn(this,a),0>a&&Kn(a,">= zero",ra,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&fn(this,a),0>a&&Kn(a,">= zero",ra,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&fn(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&fn(this,a),this.cr=a,this.xe=null}}}),ra.prototype.isDark=ra.prototype.Gx,ra.prototype.darkenBy=ra.prototype.Wy,ra.prototype.lightenBy=ra.prototype.Vz,ra.prototype.addColorStop=ra.prototype.addColorStop;var pv=216/24389,ym=24389/27,Lg=[95.047,100,108.883],mv=null,Aa=new yp,tc=new yp,ru=new yp,Fd=new yp,Mg=!1;ra.className="Brush";var Sh;ra.Solid=Sh=new En(ra,"Solid",0);var qd;ra.Linear=qd=new En(ra,"Linear",1);var fc;ra.Radial=fc=new En(ra,"Radial",2);var Fg;ra.Pattern=Fg=new En(ra,"Pattern",4);var Ng;ra.Lab=Ng=new En(ra,"Lab",5);var s1;ra.HSL=s1=new En(ra,"HSL",6),ra.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var b=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>b.length&&(b="0"+b),2>a.length&&(a="0"+a),"#"+y+b+a},ra.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;Mg||(gv(),Mg=!0);var y=mv;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},ra.lighten=function(a){return r1(a)},ra.lightenBy=r1,ra.darken=function(a){return o1(a)},ra.darkenBy=o1,ra.mix=uv,ra.isDark=Eg;function Us(){this.xa="Base"}Us.prototype.measure=function(){},Us.prototype.Yz=function(a,y,x,b,E){a.measure(y,x,b,E)},Us.prototype.arrange=function(){},Us.prototype.Ly=function(a,y,x,b,E,z){a.arrange(y,x,b,E,z)},Us.prototype.iA=function(a){a.Uj()},Us.prototype.gc=function(){},ze.Object.defineProperties(Us.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return hi}}}),Us.prototype.remeasureObject=Us.prototype.iA,Us.prototype.arrangeElement=Us.prototype.Ly,Us.prototype.measureElement=Us.prototype.Yz,Us.className="PanelLayout";function Sm(){this.xa="Base"}bt(Sm,Us),Sm.prototype.measure=function(a,y,x,b,E,z,ee){var re=b.length;a=eh(a);for(var oe=0;oeXi&&(el=Math.max(Xi-sf,0));var U0=qn.oa===0;qn.oc=qn.oc+el,qn.actual=qn.oa+el,Xi=Math.max(Xi-(el+(U0?sf:0)),0)}if(Iu.columnSpan===1&&(Ql===ti||Ql===br)){qn=a.Eb(Jl);var am=qn.Wc();el=Math.max(If-qn.actual,0),el+am>ki&&(el=Math.max(ki-am,0));var Vy=qn.oa===0;qn.oc=qn.oc+el,qn.actual=qn.oa+el,ki=Math.max(ki-(el+(Vy?am:0)),0)}af&&Iu.Uj()}}}}}Ci(vt);var zd=0,ih=0;z=a.columnCount;for(var gg=0;gg=a.rowCount);Th++)qn=a.Fb(ms.row+Th),el=0,el=Ql===ui||Ql===br?Math.max(qn.minimum,dd[ms.row+Th]===0?qn.maximum:Math.min(dd[ms.row+Th],qn.maximum)):Math.max(qn.minimum,isNaN(qn.Hc)?qn.maximum:Math.min(qn.Hc,qn.maximum)),ah.height+=el,Ju+=qn.minimum;for(var Oc=1;Oc=a.columnCount);Oc++)qn=a.Eb(ms.column+Oc),el=0,el=Ql===ui||Ql===ar?Math.max(qn.minimum,yc[ms.column+Oc]===0?qn.maximum:Math.min(yc[ms.column+Oc],qn.maximum)):Math.max(qn.minimum,isNaN(qn.Hc)?qn.maximum:Math.min(qn.Hc,qn.maximum)),ah.width+=el,_0+=qn.minimum;bl.width+=ah.width,bl.height+=ah.height;var ap=ms.margin,hf=ap.right+ap.left,lm=ap.top+ap.bottom;ms.measure(bl.width,bl.height,_0,Ju);for(var sp=ms.measuredBounds,Cd=Math.max(sp.width+hf,0),Hf=Math.max(sp.height+lm,0),ff=0,lp=0;lp=a.rowCount);lp++)qn=a.Fb(ms.row+lp),ff+=qn.total||0;if(ff=Oh)&&!(ms.row+sh>=a.rowCount);sh++){qn=a.Fb(ms.row+sh);var Rh=qn.oa||0,Wf=Ih(ms,qn,Hd);qn.actual=Math.min(qn.maximum,Rh+Wf),qn.oa!==Rh&&(Oh-=qn.oa-Rh)}for(;0hd&&(qn.actual=Math.min(qn.maximum,hd+Oh),qn.oa!==hd&&(Oh-=qn.oa-hd)),qn.index===0)break;qn=a.Fb(qn.index-1)}}for(var vg=0,zh=0;zh=a.columnCount);zh++)qn=a.Eb(ms.column+zh),vg+=qn.total||0;if(vg=yg)&&!(ms.column+Zf>=a.columnCount);Zf++){qn=a.Eb(ms.column+Zf);var um=qn.oa||0,Uy=lh(ms,qn,Yy);qn.actual=Math.min(qn.maximum,um+Uy),qn.oa!==um&&(yg-=qn.oa-um)}for(;0$0&&(qn.actual=Math.min(qn.maximum,$0+yg),qn.oa!==$0&&(yg-=qn.oa-$0)),qn.index===0)break;qn=a.Eb(qn.index-1)}}}}Ci(Pt),Hn.free(ah),Hn.free(bl),dd!==void 0&&Ci(dd),yc!==void 0&&Ci(yc);var Sg=0,xg=0,q0=a.desiredSize,Sx=a.maxSize;Ql=wu(a,!0);var cm=ih=zd=0,dm=0;z=a.columnCount;for(var ev=0;ev=a.rowCount);qn++){var Ur=a.Fb(vt+qn);Ur.oa!==0&&(Je.height+=Ur.total)}for(qn=1;qn=a.columnCount);qn++)Ur=a.Eb(Mt+qn),Ur.oa!==0&&(Je.width+=Ur.total);var zr=jt.oa+Je.width,Qo=Pt.oa+Je.height;qn=re,Ur=oe;var Pa=zr,qs=Qo,cl=re,Xl=oe,el=zr,Nh=Qo;re+zr>x.width&&(el=Math.max(x.width-re,0)),oe+Qo>x.height&&(Nh=Math.max(x.height-oe,0));var Ns=ji.alignment;if(Ns.Xb()){Ns=a.defaultAlignment,Ns.sb()||(Ns=So);var ld=Ns.x,Jl=Ns.y,kh=Ns.offsetX;Ns=Ns.offsetY;var rc=jt.alignment,Bc=Pt.alignment;rc.sb()&&(ld=rc.x,kh=rc.offsetX),Bc.sb()&&(Jl=Bc.y,Ns=Bc.offsetY)}else ld=Ns.x,Jl=Ns.y,kh=Ns.offsetX,Ns=Ns.offsetY;(isNaN(ld)||isNaN(Jl))&&(Jl=ld=.5,Ns=kh=0),rc=Si.width,Bc=Si.height;var Yu=ji.margin,Iu=Yu.left+Yu.right,af=Yu.top+Yu.bottom,ud=id(ji,Pt,jt,!1);!isNaN(ji.desiredSize.width)||ud!==ui&&ud!==ar||(rc=Math.max(zr-Iu,0)),!isNaN(ji.desiredSize.height)||ud!==ui&&ud!==br||(Bc=Math.max(Qo-af,0)),zr=ji.maxSize,Qo=ji.minSize,rc=Math.min(zr.width,rc),Bc=Math.min(zr.height,Bc),rc=Math.max(Qo.width,rc),Bc=Math.max(Qo.height,Bc),zr=Bc+af,qn+=Pa*ld-(rc+Iu)*ld+kh+Yu.left,Ur+=qs*Jl-zr*Jl+Ns+Yu.top,ji.visible&&(Ko(cl,Xl,el,Nh,qn,Ur,Si.width,Si.height)?ji.arrange(qn,Ur,rc,Bc):ji.arrange(qn,Ur,rc,Bc,new xn(cl,Xl,el,Nh)))}}}for(Hn.free(Je),a=0;a=x&&(x=1);var b=a.gridCellSize,E=b.width;b=b.height;var z=a.naturalBounds,ee=a.actualBounds,re=z.width,oe=z.height,le=Math.ceil(re/E),ue=Math.ceil(oe/b),fe=a.gridOrigin,we=fe.x;fe=fe.y,y.save(),y.beginPath(),y.rect(0,0,re,oe),y.clip(),y.Se();for(var be=[],Ae=a.O.s,Te=Ae.length,ot=0;otPt)){Je=Sv(Je.figure);for(var Mt=0;MtPt&&vt.push(jt))}}}}for(Ae=a.O.s,Te=Ae.length,ot=0;otE*Je*x))){if(Pt=vn.segmentIndex,(!isFinite(Pt)||isNaN(Pt))&&(Pt=0),0>Pt&&(Pt=Je-Math.min(-Pt,Je)),Pt=Math.round(Pt%Je),Je=vn.opacity,Mt=1,Je!==1){if(Je===0)continue;Mt=y.globalAlpha,y.globalAlpha=Mt*Je}jt=be[ot];var ki=!1,Xi=vn.strokeDashArray;if(Xi!==null&&(ki=!0,y.js(Xi,vn.strokeDashOffset)),vn.figure==="LineV"&&vn.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=b.length;for(var E=0;Efe)vt.measure(1/0,1/0,0,0),Pt=vt.measuredBounds,x.ed(Pt),be.push(Pt);else{var Mt=vt.segmentIndex,jt=vt.segmentFraction,vn=vt.alignmentFocus;vn.Mc()&&(vn=So);var ki=vt.segmentOrientation,Xi=vt.segmentOffset;if(isNaN(Mt)){var ji=oe.ua;Pt=oi(),ji.Qu(jt,Pt);var Si=_e.allocAt(Pt[0],Pt[1]);if(Si.add(oe.i(0)),ji.type===mi.j?Si.offset(-ji.startX,-ji.startY):(ji=ji.figures.first(),ji!==null&&Si.offset(-ji.startX,-ji.startY)),ji=Pt[2],ki!==au){var qn=oe.computeAngle(vt,ki,ji);vt.Kb=qn}qn=Si.x-y.x;var Ur=Si.y-y.y;_e.free(Si),Ci(Pt)}else if(Mt<-fe||Mt>=fe)Pt=_e.alloc(),oe.vg(),oe.computeMidPoint(Pt),ji=oe.midAngle,ki!==au&&(qn=oe.computeAngle(vt,ki,ji),vt.Kb=qn),qn=Pt.x-y.x,Ur=Pt.y-y.y,_e.free(Pt);else{if(qn=0,0<=Mt?(Ur=ue.M(Mt),Pt=Mtzr+10?0<=Mt?ji.ab(Ur):Ur.ab(ji):zr>Si+10?0<=Mt?Pt.ab(qn):qn.ab(Pt):0<=Mt?ji.ab(qn):qn.ab(ji)}else ji=0<=Mt?Ur.ab(Pt):Pt.ab(Ur);ki!==au&&(qn=oe.computeAngle(vt,ki,ji),vt.Kb=qn),qn=Ur.x+(Pt.x-Ur.x)*jt-y.x,Ur=Ur.y+(Pt.y-Ur.y)*jt-y.y}vt.measure(1/0,1/0,0,0),Pt=vt.measuredBounds,Si=vt.naturalBounds;var Qo=0;vt instanceof io&&(Qo=vt.strokeWidth),zr=Si.width+Qo;var Pa=Si.height+Qo;Ae.reset(),Ae.translate(-Pt.x,-Pt.y),Ae.scale(vt.scale,vt.scale),Ae.rotate(ki===au?vt.angle:ji,zr/2,Pa/2),ki!==Dp&&ki!==Tp||Ae.rotate(90,zr/2,Pa/2),ki!==Bp&&ki!==Op||Ae.rotate(-90,zr/2,Pa/2),ki===o0&&(45ji||225ji)&&Ae.rotate(-ji,zr/2,Pa/2),Si=new xn(0,0,zr,Pa),Te.xi(Si,vn),Ae.Ga(Te),vn=-Te.x+Qo/2*vt.scale,vt=-Te.y+Qo/2*vt.scale,ot.assign(Xi),Qo=isNaN(Xi.x);var qs=isNaN(Xi.y);if(Qo||qs){zr=zr/2+3,Pa=Pa/2+3;var cl=45<=ji&&135>=ji,Xl=225<=ji&&315>=ji;ki===au&&(cl||Xl)?(ot.x=qs?zr:Xi.y,ot.y=Qo?Pa:Xi.x,cl?0<=Mt||isNaN(Mt)&&.5>jt||!Qo||(ot.y=-Pa):Xl&&((0<=Mt||isNaN(Mt)&&.5>jt)&&Qo&&(ot.y=-Pa),qs&&(ot.x=-zr))):(Qo&&(ot.x=0<=Mt||isNaN(Mt)&&.5>jt?zr:-zr),qs&&(ot.y=-Pa),ot.rotate(ji))}else ot.rotate(ji);qn+=ot.x,Ur+=ot.y,Si.set(Pt),Si.h(qn+vn,Ur+vt,Pt.width,Pt.height),be.push(Si),x.ed(Si)}}if(ee!==null)for(b=ee.labelNodes;b.next();)b.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),oa(E,x.width||0,x.height||0),Hr.free(Ae),_e.free(Te),_e.free(ot)}}}},Fm.prototype.arrange=function(a,y){var x=y.length;if(a instanceof Uo||a instanceof xi){var b=a,E=null;a instanceof Uo&&(E=a,b=E.adornedPart);var z=a instanceof Uo?null:b.path,ee=a.j;if(ee.length!==0){var re=0;if(z!==null&&re=x)Ae=_e.alloc(),be=fe,ot=Ae,be.vg(),be.computeMidPoint(ot),be=fe.midAngle,le!==au&&(fe=fe.computeAngle(ee,le,be),ee.angle=fe),fe=Ae.x,ot=Ae.y,_e.free(Ae);else{if(Te=0,0<=re?(Ae=y.s[re],ot=revt+10?0<=re?be.ab(Ae):Ae.ab(be):vt>Je+10?0<=re?ot.ab(Te):Te.ab(ot):0<=re?be.ab(Te):Te.ab(be)}else be=0<=re?Ae.ab(ot):ot.ab(Ae);le!==au&&(fe=fe.computeAngle(ee,le,be),ee.angle=fe),fe=Ae.x+(ot.x-Ae.x)*oe,ot=Ae.y+(ot.y-Ae.y)*oe}if(we.ys())ee.location=new _e(fe,ot);else{we.Mc()&&(we=So),Ae=Hr.alloc(),Ae.reset(),Ae.scale(ee.scale,ee.scale),Ae.rotate(ee.angle,0,0);var Pt=ee.naturalBounds;Te=xn.allocAt(0,0,Pt.width,Pt.height),Je=_e.alloc(),Je.xi(Te,we),Ae.Ga(Je),we=-Je.x,vt=-Je.y;var Mt=Pt.width,jt=Pt.height;Pt=_e.alloc(),Pt.assign(ue);var vn=isNaN(ue.x),ki=isNaN(ue.y);if(vn||ki){Mt=Mt/2+3,jt=jt/2+3;var Xi=45<=be&&135>=be,ji=225<=be&&315>=be;le===au&&(Xi||ji)?(Pt.x=ki?Mt:ue.y,Pt.y=vn?jt:ue.x,Xi?0<=re||isNaN(re)&&.5>oe||!vn||(Pt.y=-jt):ji&&((0<=re||isNaN(re)&&.5>oe)&&vn&&(Pt.y=-jt),ki&&(Pt.x=-Mt))):(vn&&(Pt.x=0<=re||isNaN(re)&&.5>oe?Mt:-Mt),ki&&(Pt.y=-jt),Pt.rotate(be))}else Pt.rotate(be);fe+=Pt.x,ot+=Pt.y,Ae.pp(Te),we+=Te.x,vt+=Te.y,re=_e.allocAt(fe+we,ot+vt),ee.move(re),_e.free(re),_e.free(Pt),_e.free(Je),xn.free(Te),Hr.free(Ae)}}E!==null?E.Ul(!1):b.Ul(!1),b=R1(a),a.location.h(a.position.x+b.x,a.position.y+b.y),_e.free(b)}};function l1(a,y,x,b){if(ec(b)!==!1){var E=b.strokeWidth;E===0&&a instanceof Uo&&a.type===hi.Link&&a.adornedObject instanceof io&&(E=a.adornedObject.strokeWidth),E*=b.Ca,a instanceof xi&&a.ua!==null?(a=a.geometry.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):a instanceof Uo&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):b.Ge(-(E/2),-(E/2),y+E,x+E),E=b.desiredSize,E.w()||b.ua===null?b.dc.h(0,0,E.width,E.height):b.dc.assign(b.ua.bounds),js(b,!1)}}function xp(){this.xa="Base"}bt(xp,Us),xp.prototype.measure=function(a,y,x,b,E,z,ee){var re=a.Pb();a.graduatedBounds=[];var oe=re.margin,le=oe.right+oe.left,ue=oe.top+oe.bottom;re.measure(y,x,z,ee);var fe=re.measuredBounds,we=new xn(-oe.left,-oe.top,Math.max(fe.width+le,0),Math.max(fe.height+ue,0));a.graduatedBounds.push(we),E.assign(we);for(var be=re.geometry,Ae=re.strokeWidth,Te=be.flattenedSegments,ot=be.flattenedLengths,Je=be.flattenedTotalLength,vt=Te.length,Pt=0,Mt=0,jt=oi(),vn=0;vnzr&&(zr+=360),Xi.push(zr)}Pt=qn,Mt=Ur}jt.push(Xi)}if(a.graduatedIntervals===null){for(var Qo=[],Pa=a.O.s,qs=Pa.length,cl=0;clNh)){for(var Ns=0;NsNh&&el.push(Jl)}}}}}a.graduatedIntervals=Qo}var kh=a.graduatedIntervals,rc=a.O.s,Bc=rc.length,Yu=0,Iu=0,af=Je;a.graduatedMarks=[];for(var ud,qg=0;qgom*Ql*Je/a.graduatedRange&&Uu.graduatedSkip===null)){var fg=ot[0][0],xd=0,Ru=0;Iu=Je*Uu.graduatedStart-1e-4,af=Je*Uu.graduatedEnd+1e-4;var If=om*Ql,Xu=a.graduatedTickBase;if(Xua.graduatedMin+If&&(Xu-=Math.floor((Xu-a.graduatedMin)/If)*If);for(var U0=kh[qg],am=Xu,Vy=1e-6*a.graduatedMax,zd=1;Xu<=a.graduatedMax+Vy;zd++){e:{for(var ih=U0.length,gg=0;gg-ep){var uf=!1;break e}}uf=!0}if(uf&&(Xu>a.graduatedMax&&(Xu=a.graduatedMax),Uu.graduatedSkip===null||Uu instanceof ba&&!Uu.graduatedSkip(Xu,Uu)||Uu instanceof io&&!Uu.graduatedSkip(Xu,Uu))&&(Yu=(Xu-a.graduatedMin)*Je/a.graduatedRange,Yu>Je&&(Yu=Je),Iu<=Yu&&Yu<=af)){for(var jd=jt[xd][Ru],Dh=ot[xd][Ru];xdfg&&Rurh&&.4995rh?0rh||.9995pg){var np=1-Math.abs(.5-rh);jd=(cd*np+Pd*(1-np))%360;break e}}}jd=cd}if(Uu instanceof ba){var Xc="";Uu.graduatedFunction!==null?(Xc=Uu.graduatedFunction(Xu,Uu),Xc=Xc!=null?Xc.toString():""):Xc=(+Xu.toFixed(2)).toString(),Xc!==""&&ud.push({$l:tp,angle:jd,text:Xc})}else ud.push({$l:tp,angle:jd})}Xu=am+zd*If}}}a.graduatedMarks.push(ud)}Ci(jt);var bl=a.graduatedMarks;if(bl!==null)for(var sm=b.length,du=0;duJc;Jc++){switch(Jc){case 0:ju.h(ah,dd);break;case 1:ju.h(ah+ip,dd);break;case 2:ju.h(ah,dd+jf);break;case 3:ju.h(ah+ip,dd+jf)}ju.rotate(ms+ks.angle),ju.offset(Q0,op),rp===0&&Jc===0?yc.h(ju.x,ju.y,0,0):yc.Ye(ju),ju.offset(-Q0,-op),ju.rotate(-ms-ks.angle)}_e.free(ju),oh.graduatedBounds!==null&&oh.graduatedBounds.push(yc),Lo(Bh,yc.x,yc.y,yc.width,yc.height)}else if(ks instanceof ba){var Tc=a,_0=E;Tc.temporaryTextBlock===null&&(Tc.temporaryTextBlock=new ba);var Ju=Tc.temporaryTextBlock;C1(Ju,ks);var Th=ks.alignmentFocus;Th.Mc()&&(Th=Os);for(var Oc=ks.segmentOrientation,ap=ks.segmentOffset,hf=new xn,lm=0,sp=0,Cd=0,Hf=0,ff=0,lp=hu.length,Oh=0;OhCd||225Cd)&&hd.rotate(-Cd,Rh/2,Wf/2);var vg=xn.allocAt(0,0,Rh,Wf),zh=_e.alloc();zh.xi(vg,Th),hd.Ga(zh);var yg=-zh.x,Yy=-zh.y,lh=_e.alloc();lh.assign(ap),isNaN(lh.x)&&(lh.x=Rh/2+3),isNaN(lh.y)&&(lh.y=-(Wf/2+3)),lh.rotate(Cd),lm+=lh.x+yg,sp+=lh.y+Yy;var Zf=new xn(lm,sp,Ih.width,Ih.height),um=new xn(Ih.x,Ih.y,Ih.width,Ih.height),Uy=new xn(sh.x,sh.y,sh.width,sh.height);Hd.Sz=Hf,Hd.lineCount=Ju.lineCount,Hd.lines=[Ju.Cb,Ju.Ih,Ju.df,Ju.Le,Ju.Qc,Ju.Qb,Ju.ze],Hd.actualBounds=Zf,Hd.measuredBounds=um,Hd.naturalBounds=Uy,Oh===0?hf.assign(Zf):hf.ed(Zf),_e.free(lh),_e.free(zh),xn.free(vg),Hr.free(hd)}Tc.graduatedBounds!==null&&Tc.graduatedBounds.push(hf),Lo(_0,hf.x,hf.y,hf.width,hf.height)}js(ks,!1)}}},xp.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var b=a.Pb(),E=a.graduatedMarks;if(E!==null){var z=a.graduatedBounds,ee=0,re=z[ee];ee++,b!==null&&b.arrange(re.x-x.x,re.y-x.y,re.width,re.height);for(var oe=y.length,le=0;le=ee&&(ee=1);for(var re=z.actualBounds,oe=a.O.s,le=a.graduatedMarks,ue=oe.length,fe=0;fea.graduatedTickUnit*we.interval*z.geometry.flattenedTotalLength/a.graduatedRange*ee&&we.graduatedSkip===null)){var Te=we.measuredBounds,ot=we.strokeWidth*we.scale,Je=we.alignmentFocus;Je.Mc()&&(Je=Os);for(var vt=0;vtee.height)continue}else if(le.position>ee.width)continue;var ue=le.separatorStrokeWidth;isNaN(ue)&&(ue=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var fe=le.separatorStroke;if(fe===null&&(fe=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),ue!==0&&fe!==null){cs(a,y,fe,!1,!1,ee,z),fe=!1;var we=le.separatorDashArray;we===null&&(we=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),we!==null&&(fe=!0,y.js(we,0)),y.beginPath(),we=le.position+ue,x?we>ee.height&&(ue-=we-ee.height):we>ee.width&&(ue-=we-ee.width),le=le.position+ue/2,y.lineWidth=ue,ue=a.yb,x?(le+=ue.top,we=ee.width-ue.right,y.moveTo(ue.left,le),y.lineTo(we,le)):(le+=ue.left,we=ee.height-ue.bottom,y.moveTo(le,ue.top),y.lineTo(le,we)),y.stroke(),y.Se(),fe&&y.fs()}}}}function Nm(a,y,x,b,E){for(var z=b.length,ee=a.actualBounds,re=a.naturalBounds,oe=c1(a,!0),le=c1(a,!1),ue=0;uewe)){var be=fe.Wc(),Ae=fe.separatorStrokeWidth;isNaN(Ae)&&(Ae=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Te=fe.separatorStroke;Te===null&&(Te=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Te===null||fe.index===(x?oe:le))&&(Ae=0),be-=Ae,Ae=fe.position+Ae,be+=fe.actual,Ae+be>we&&(be=we-Ae),0>=be||(we=a.yb,cs(a,y,fe.background,!0,!1,re,ee),x?y.fillRect(we.left,Ae+we.top,ee.width-(we.left+we.right),be):y.fillRect(Ae+we.left,we.top,be,ee.height-(we.top+we.bottom)))}}}}function c1(a,y){for(var x=y?a.rowCount:a.columnCount,b=0;bb&&E.set(Ae),_e.free(Ae)),_e.free(ue),z&&E.transform(ee),le},Ee.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>b)&&(this.v(),this.measure(y>x?x:y,z>b?b:z,0,0));break;case ui:this.v(!0),this.measure(x+re,b+ee,0,0);break;case ar:this.v(!0),this.measure(x+re,z+ee,0,0);break;case br:this.v(!0),this.measure(y+re,b+ee,0,0)}}this.na.arrange(this,E,this.jg)}},Ee.gh=function(a){var y=this.naturalBounds,x=eh(this);if(Ko(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var b=y.length,E=_e.allocAt(0,0);b--;){var z=y[b];if((z.visible||z===x)&&(Qn(E.set(a),z.transform),z.ca(E)))return _e.free(E),!0}return _e.free(E),!(this.Ma===null&&this.areaBackground===null)}return!1},Ee.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,b=0;bwe.width||fe.y>we.height||0>fe.x+fe.width||0>fe.y+fe.height||(fe=ue,ue=ue instanceof hi?ue:null,we=Hr.alloc(),we.set(ee),(ue!==null?ue.Cf(a,y,x,b,E,we):$s(fe,a,b,we))&&(y!==null&&(fe=y(fe)),fe===null||x!==null&&!x(fe)||E.add(fe)),Hr.free(we))}}return z===void 0&&Hr.free(ee),b}return z===void 0&&Hr.free(ee),!1};function xv(a,y,x,b){for(var E=a.O.s,z=E.length;z--;){var ee=E[z];if(ee.visible){var re=ee.actualBounds,oe=a.naturalBounds;re.x>oe.width||re.y>oe.height||0>re.x+re.width||0>re.y+re.height||(ee instanceof hi&&xv(ee,y,x,b),y!==null&&(ee=y(ee)),ee===null||x!==null&&!x(ee)||b.add(ee))}}}Ee.og=function(a,y,x,b,E,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),b===void 0&&(b=null);var ee=this.naturalBounds,re=this.se(),oe=re?a:Qn(_e.allocAt(a.x,a.y),this.transform),le=re?y:Qn(_e.allocAt(y.x,y.y),this.transform),ue=oe.Bf(le),fe=0ot.width||Te.y>ot.height||0>Te.x+Te.width||0>Te.y+Te.height))&&(Ae.se()?(Te=Ae.transform,Qn(oe.set(a),Te),Qn(le.set(y),Te)):(oe.set(a),le.set(y)),Te=Ae,Ae=Ae instanceof hi?Ae:null,(Ae!==null?Ae.og(oe,le,x,b,E,z):Te.tx(oe,le,E))&&(x!==null&&(Te=x(Te)),Te===null||b!==null&&!b(Te)||z.add(Te)))}}_e.free(oe),_e.free(le)}return E?fe:ee}return!1};function wv(a){var y=null;return a instanceof io&&(y=a.spot1,y===Jo&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=pa),y}function Pv(a){var y=null;return a instanceof io&&(y=a.spot2,y===Jo&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=vl),y}Ee.add=function(a){for(var y=[],x=0;x=E.count&&a>=E.count)return;E.mb(z),b=z}else st("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>E.count)&&(a=E.count),E.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),ec(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof hi&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Dm(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof Ti&&(x.Te=!0),x.Te&&x instanceof Ti&&(x.wc=null),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||(b!==-1&&x.cb(Ni,"elements",this,y,null,b,null),x.cb(pi,"elements",this,null,y,null,a)))};function Cv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Ee.remove=function(a){for(var y=this.O.s,x=y.length,b=-1,E=0;Ea&&Kn(a,">= 0",hi,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new Hs;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(pi,"rowdefs",this,null,x,null,a)}return y[a]},Ee.oA=function(a){if(0>a&&Kn(a,">= 0",hi,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(Ni,"rowdefs",this,x,null,a,null),this.v()}}};function p1(a,y,x){var b=a.rowDefs;if(!(0>y)){if(b[y]=x instanceof Hs?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ee.Eb=function(a){0>a&&Kn(a,">= 0",hi,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new Hs;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(pi,"coldefs",this,null,x,null,a)}return y[a]},Ee.jA=function(a){if(0>a&&Kn(a,">= 0",hi,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(Ni,"coldefs",this,x,null,a,null),this.v()}}};function m1(a,y,x){var b=a.colDefs;if(!(0>y)){if(b[y]=x instanceof Hs?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ee.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&Bm(y,a),this},Ee.Hy=function(a,y){return(a=this.Fb(a))&&Bm(a,new Hs(y)),this},Ee.By=function(a,y){return(a=this.Eb(a))&&Bm(a,new Hs(y)),this},Ee.nz=function(a){if(0>a||this.type!==hi.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,b=x.length,E=this.topIndex;Ea||this.type!==hi.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,b=x.length,E=this.leftIndex;Ea;)this.pc(this.O.length-1,!1);y1(this,this.itemArray)};function y1(a,y){var x=wp(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var b=0;bx)){var E=Ev(a,y);if(E=Av(a,E),E!==null){if(Nc(E),E=E.copy(),E.l&16777216){var z=a.ih();z!==null&&Cv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new Ri),a.ge.add(y,E)),z=x+wp(a),a.Gb(z,E),b&&(E.ub=y,bv(a,z,x),E.ub=null),E.data=y}}}function bv(a,y,x){for(a=a.O;ya&&Kn(a,">= 0",hi,"padding"),a=new Hi(a)):(0>a.left&&Kn(a.left,">= 0",hi,"padding:value.left"),0>a.right&&Kn(a.right,">= 0",hi,"padding:value.right"),0>a.top&&Kn(a.top,">= 0",hi,"padding:value.top"),0>a.bottom&&Kn(a.bottom,">= 0",hi,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:Ds},set:function(a){typeof a=="number"&&(a=new Hi(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new gc),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof ra)&&(a instanceof ra&&a.freeze(),this.T===null&&(this.T=new gc),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new gc),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea)&&st("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new gc),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&st("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new gc),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof dr&&!(this instanceof Uo);Nc(this),this.ub=a;var b=this.diagram;b!==null&&(x?(x=b.partManager,this instanceof xi?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof dr&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),b!==null&&b.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new qf),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&Lx(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&hy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&dy(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||y1(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new Ri}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof dr||a.isPanelMain)&&st("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););uo(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(uo(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof Jr&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&Dm(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),ze.Object.defineProperties(hi,{Position:{get:function(){return Zc.I("Position")}},Horizontal:{get:function(){return Zc.I("Horizontal")}},Vertical:{get:function(){return Zc.I("Vertical")}},Spot:{get:function(){return Zc.I("Spot")}},Auto:{get:function(){return Zc.I("Auto")}},Table:{get:function(){return Zc.I("Table")}},Viewbox:{get:function(){return Zc.I("Viewbox")}},TableRow:{get:function(){return Zc.I("TableRow")}},TableColumn:{get:function(){return Zc.I("TableColumn")}},Link:{get:function(){return Zc.I("Link")}},Grid:{get:function(){return Zc.I("Grid")}},Graduated:{get:function(){return Zc.I("Graduated")}}}),hi.prototype.rebuildItemElements=hi.prototype.mv,hi.prototype.findItemPanelForData=hi.prototype.sx,hi.prototype.updateTargetBindings=hi.prototype.La,hi.prototype.copyTemplate=hi.prototype.Uy,hi.prototype.graduatedValueForPoint=hi.prototype.Gz,hi.prototype.graduatedPointForValue=hi.prototype.Fz,hi.prototype.findColumnForLocalX=hi.prototype.fz,hi.prototype.findRowForLocalY=hi.prototype.nz,hi.prototype.addColumnDefinition=hi.prototype.By,hi.prototype.addRowDefinition=hi.prototype.Hy,hi.prototype.addRowColumnDefinition=hi.prototype.Gy,hi.prototype.removeColumnDefinition=hi.prototype.jA,hi.prototype.getColumnDefinition=hi.prototype.Eb,hi.prototype.removeRowDefinition=hi.prototype.oA,hi.prototype.getRowDefinition=hi.prototype.Fb,hi.prototype.removeAt=hi.prototype.mb,hi.prototype.remove=hi.prototype.remove,hi.prototype.insertAt=hi.prototype.Gb,hi.prototype.elt=hi.prototype.M,hi.prototype.add=hi.prototype.add,hi.prototype.findObject=hi.prototype.fb,hi.prototype.findInVisualTree=hi.prototype.Nl,hi.prototype.walkVisualTreeFrom=hi.prototype.qm,hi.prototype.findMainElement=hi.prototype.Pb;var S1=!1,x1=null,Zc=new Ri;hi.className="Panel",hi.definePanelLayout=yd,yd("Position",new Sm),yd("Vertical",new wm),yd("Auto",new Cm),yd("Link",new Fm);function th(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}th.prototype.copy=function(){var a=new th;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},th.className="GradPanelSettings";function gc(){this.Pc=[],this.Oc=[],this.j=this.ob=Om,this.hb=this.Hb=0,this.Qp=Ds,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}gc.prototype.copy=function(a){for(var y=new gc,x=this.Pc,b=x.length,E=y.Pc,z=0;za&&Kn(a,">= 0",Hs,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Kn(a,">= 0",Hs,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Kn(a,">= 0",Hs,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Kn(a,">= 0",Hs,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new Hi(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&tg(a,"RowColumnDefinition.separatorStroke"),a instanceof ra&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;EE)){var z=b.measuredBounds,ee=Math.max(1,z.width);z=z.height;for(var re=x[0],oe=x[1],le,ue,fe,we,be,Ae,Te=0,ot=oi(),Je=2;Jefe&&(fe=1),E=x=fe,le=ee/2,ue=le!==0,Je=0,Ae=ot[Je],fe=Ae[0],be=Ae[1],we=Ae[2],Ae=Ae[3];for(var vt=0;.1<=Te;){if(vt===0&&(ue?(E=x,E-=le,Te-=le,ue=!1):E=x,E===0&&(E=1)),E>Te){Ci(ot);return}E>Ae?(vt=E-Ae,E=Ae):vt=0;var Pt=Math.sqrt(E*E/(1+we*we));if(0>fe&&(Pt=-Pt),re+=Pt,oe+=we*Pt,a.translate(re,oe),a.rotate(be),a.translate(-(ee/2),-(z/2)),vt===0&&b.hh(a,y),a.translate(ee/2,z/2),a.rotate(-be),a.translate(-re,-oe),Te-=E,Ae-=E,vt!==0){if(Je++,Je===ot.length){Ci(ot);return}Ae=ot[Je],fe=Ae[0],be=Ae[1],we=Ae[2],Ae=Ae[3],E=vt}}Ci(ot)}}Ee.hh=function(a,y){var x=this.xc,b=this.Ui;if(x!==null||b!==null){var E=this.ua;if(E!==null){a.yc();var z=this.actualBounds,ee=this.naturalBounds;b!==null&&cs(this,a,b,!0,!1,ee,z);var re=this.part,oe=this.ig;if(x===null||oe!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(oe=re.type===hi.Link&&re instanceof Uo&&re.category==="Selection"&&re.adornedObject instanceof io&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),oe===0&&(x=null),x!==null&&oe!==0&&(cs(this,a,x,!1,!1,ee,z),a.lineWidth=oe,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,x===null||b!==null&&b!=="transparent"||(re=!1),ee=!1,oe=this.strokeDashArray,oe!==null&&(ee=!0,a.js(oe,this.strokeDashOffset)),E.type===mi.j)a.beginPath(),a.moveTo(E.startX,E.startY),a.lineTo(E.endX,E.endY),x!==null&&a.jk(),a.Se();else if(E.type===mi.u){var le=E.startX;oe=E.startY;var ue=E.endX,fe=E.endY;E=Math.min(le,ue);var we=Math.min(oe,fe);le=Math.abs(ue-le),oe=Math.abs(fe-oe),a.beginPath(),a.rect(E,we,le,oe),b!==null&&a.ng(b),x!==null&&(re&&z&&Md(a),a.jk(),re&&z&&_d(a)),a.Se()}else if(E.type===mi.F)le=E.startX,oe=E.startY,ue=E.endX,fe=E.endY,E=Math.abs(ue-le)/2,we=Math.abs(fe-oe)/2,le=Math.min(le,ue)+E,oe=Math.min(oe,fe)+we,a.beginPath(),a.moveTo(le,oe-we),a.bezierCurveTo(le+Wt.wg*E,oe-we,le+E,oe-Wt.wg*we,le+E,oe),a.bezierCurveTo(le+E,oe+Wt.wg*we,le+Wt.wg*E,oe+we,le,oe+we),a.bezierCurveTo(le-Wt.wg*E,oe+we,le-E,oe+Wt.wg*we,le-E,oe),a.bezierCurveTo(le-E,oe-Wt.wg*we,le-Wt.wg*E,oe-we,le,oe-we),a.closePath(),b!==null&&a.ng(b),x!==null&&(re&&z&&Md(a),a.jk(),re&&z&&_d(a)),a.Se();else if(E.type===mi.o)for(E=E.figures,oe=E.length,we=0;weTe.sweepAngle,be!==null?be.endX:le.startX,be!==null?be.endY:le.startY)}else if(be=wl(Te,le),ot=be.length,ot===0)a.lineTo(Te.centerX,Te.centerY);else for(var Je=0;Je(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>b)?!1:(xn.free(z),Wt.Yb(x.startX,x.startY,x.endX,x.endY,E,a.x,a.y));if(x.type===mi.u){y=x.startX;var ee=x.startY,re=x.endX;if(x=x.endY,z.x=Math.min(y,re),z.y=Math.min(ee,x),z.width=Math.abs(re-y),z.height=Math.abs(x-ee),this.fill===null){if(z.Bc(-b,-b),z.ca(a))return xn.free(z),!1;z.Bc(b,b)}return this.stroke!==null&&z.Bc(E,E),a=z.ca(a),xn.free(z),a}if(x.type===mi.F){ee=x.startX,E=x.startY,re=x.endX;var oe=x.endY;if(x=Math.min(ee,re),y=Math.min(E,oe),ee=Math.abs(re-ee)/2,E=Math.abs(oe-E)/2,x=a.x-(x+ee),y=a.y-(y+E),this.fill===null){if(ee-=b,E-=b,0>=ee||0>=E||1>=x*x/(ee*ee)+y*y/(E*E))return xn.free(z),!1;ee+=b,E+=b}return this.stroke!==null&&(ee+=b,E+=b),xn.free(z),0>=ee||0>=E?!1:1>=x*x/(ee*ee)+y*y/(E*E)}if(x.type===mi.o)return xn.free(z),this.fill===null?jl(x,a.x,a.y,E):_l(x,a,E,1=this.strokeWidth)ue=Wt.Ve(le.startX,le.startY,le.endX,le.endY,z,ee,re,oe,E);else{if(le.startX===le.endX?(b=fe,ue=0):(y=(le.endY-le.startY)/(le.endX-le.startX),ue=fe/Math.sqrt(1+y*y),b=ue*y),y=oi(),a=new _e,Wt.Ve(le.startX+b,le.startY+ue,le.endX+b,le.endY+ue,z,ee,re,oe,a)&&y.push(a),a=new _e,Wt.Ve(le.startX-b,le.startY-ue,le.endX-b,le.endY-ue,z,ee,re,oe,a)&&y.push(a),a=new _e,Wt.Ve(le.startX+b,le.startY+ue,le.startX-b,le.startY-ue,z,ee,re,oe,a)&&y.push(a),a=new _e,Wt.Ve(le.endX+b,le.endY+ue,le.endX-b,le.endY-ue,z,ee,re,oe,a)&&y.push(a),re=y.length,re===0)return Ci(y),!1;for(ue=!0,oe=1/0,b=0;bMath.abs(x)){if(oe=ee-ue-x*(z-b),0>a*a*x*x+le*le-oe*oe){E.x=NaN,E.y=NaN,ue=!1;break e}fe=Math.sqrt(a*a*x*x+le*le-oe*oe),re=(-(a*a*x*oe)+a*le*fe)/(le*le+a*a*x*x)+b,a=(-(a*a*x*oe)-a*le*fe)/(le*le+a*a*x*x)+b,le=x*(re-b)+oe+ue,oe=x*(a-b)+oe+ue,Math.abs((z-re)*(z-re))+Math.abs((ee-le)*(ee-le))re){E.x=NaN,E.y=NaN,ue=!1;break e}oe=Math.sqrt(re),re=ue+oe,oe=ue-oe,Math.abs(re-ee)Math.abs(Ae)?(Te*=.5/Ae,Ae=.5):Te!==0&&.5>Math.abs(Te)&&(Ae*=.5/Te,Te=.5),Je-=Ae,vt-=Te;be.contains(Je,vt);)Je-=Ae,vt-=Te;for(E.x=re,E.y=oe,Te=0;Tex?a-x:x-a)<(y>b?y-b:b-y)?(a=ya||Wt.$(oe.y,a))&&(oe.yy||Wt.$(oe.x,y))&&(oe.x=a&&b<=y):(a=b&&x<=a)}Ee.tx=function(a,y,x){function b(ot,Je){for(var vt=ot.length,Pt=0;PtE)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var E=a.Bf(y),z=E;if(1.5=E||Mr(y,z,0,-fe)>=E||Mr(y,z,0,fe)>=E||Mr(y,z,ue,0)>=E)}else if(y.type===mi.o){if(le=y.bounds,z=le.x,re=le.y,oe=le.x+le.width,le=le.y+le.height,a.x>oe&&a.xle&&a.yE&&Fi(a.x,a.y,z,re,oe,re)>E&&Fi(a.x,a.y,oe,le,z,le)>E&&Fi(a.x,a.y,oe,le,oe,re)>E)return!1;if(z=Math.sqrt(E),x){if(this.fill===null?jl(y,a.x,a.y,z):_l(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yE)return!1;for(re=z.segments.s,oe=re.length,le=0;leE)return!1;break;case ol:var we=oi();if(Wt.Qe(ee,ue,fe.point1X,fe.point1Y,fe.point2X,fe.point2Y,fe.endX,fe.endY,.8,we),ee=b(we,a),Ci(we),ee||(ee=fe.endX,ue=fe.endY,a.zd(ee,ue)>E))return!1;break;case je:if(we=oi(),Wt.ep(ee,ue,fe.point1X,fe.point1Y,fe.endX,fe.endY,.8,we),ee=b(we,a),Ci(we),ee||(ee=fe.endX,ue=fe.endY,a.zd(ee,ue)>E))return!1;break;case nt:case lt:we=fe.type===nt?wl(fe,z):Il(fe,z,ee,ue);var be=we.length;if(be===0){if(ee=fe.type===nt?fe.centerX:fe.endX,ue=fe.type===nt?fe.centerY:fe.endY,a.zd(ee,ue)>E)return!1;break}fe=null;for(var Ae=oi(),Te=0;Te= 0",io,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Kn(a,'"butt", "round", or "square"',io,"strokeCap"):(Ff(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Kn(a,'"miter", "bevel", or "round"',io,"strokeJoin"):(Ff(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){Ff(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea?a=0:1a?a=0:1(fe*fe+ue*ue)*we*we&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof Ku&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,fe=this.spacingBelow,this.flip){case jo:a.translate(E,0),a.scale(-1,1);break;case fo:a.translate(0,z),a.scale(1,-1);break;case da:a.translate(E,z),a.scale(-1,-1)}if(a.yc(),ue=this.Gc,we=(y+ee+fe)*ue,z>we&&(b=this.verticalAlignment,b=b.y*z-b.y*we+b.offsetY),ue===1&&this.ze!==null)fe=this.Cb,fe>E&&(fe=E),this.Oj(this.ze,a,0,b+y,E,ee,fe,x,re,oe,le);else if(this.Qc!==null&&this.Qb!==null)for(we=0;weE&&(be=E),b+=y,this.Oj(this.Qb[we],a,0,b,E,ee,be,x,re,oe,le),b+=ee+fe}switch(this.flip){case jo:a.scale(-1,1),a.translate(-E,0);break;case fo:a.scale(1,-1),a.translate(0,-z);break;case da:a.scale(-1,-1),a.translate(-E,-z)}}},Ee.Oj=function(a,y,x,b,E,z,ee,re,oe,le,ue){var fe=0;if(re)oe==="left"?fe=0:oe==="right"?fe=E-ee:oe==="center"&&(fe=(E-ee)/2),y.fillRect(x+fe,b+.25*z,ee,1);else{if(oe==="left"?fe=0:oe==="right"?fe=E:oe==="center"&&(fe=E/2),E=zm!==null?zm(this,z):.75*z,y.fillText(a,x+fe,b+E),a=z/20|0,a===0&&(a=1),oe==="right"?fe-=ee:oe==="center"&&(fe-=ee/2),le){re=jm!==null?jm(this,z):.8*z,oe=x+fe,le=b+re,E=x+fe+ee,re=b+re;var we=a;y.beginPath(),y.lineWidth=we,y.moveTo(oe,le),y.lineTo(E,re),y.stroke(),y.Se(),y instanceof Ku&&y.ad.classList.add("gojs-td")}ue&&(ue=b+z-z/2.2|0,a%2!==0&&(ue+=.5),b=x+fe,z=ue,x=x+fe+ee,ee=ue,fe=a,y.beginPath(),y.lineWidth=fe,y.moveTo(b,z),y.lineTo(x,ee),y.stroke(),y.Se(),y instanceof Ku&&y.ad.classList.add("gojs-td"))}},Ee.kk=function(a,y,x){if(!Zt.prototype.kk.call(this,a,y,x))return!1;if(cs(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;x=this.Qb.length))){for(this.l|=16777216,le=this.Qb[oe],y=Math.max(1,a-y);Kc(le)>y&&1a.maxLines&&(a.l|=16777216))}function kv(a,y,x,b){var E=a.formatting===Ep;E&&(y=y.trim());var z=0,ee=a.Ae,re=a.spacingAbove+a.spacingBelow;re=Math.max(0,bp(a)+re);var oe=a.overflow===Hm?b1(ee):0;if(a.Gc>=a.maxLines)b!==null&&b.h(0,re);else if(ee=y,a.wrap===Dv){a.Le=1;var le=Kc(y);if(oe===0||le<=x)a.Cb=Math.max(a.Cb,le),Cp(a,y,a.Cb),b!==null&&b.h(le,re);else{for(z=Dg(a,ee),ee=ee.substr(z.length),y=Dg(a,ee),le=Kc(z+y);0x&&1x;){var fe=1;for(le=Kc(y.substr(0,fe)),ue=0;le<=x;)fe++,ue=le,le=Kc(y.substr(0,fe));if(fe===1){var we=le;z=Math.max(z,le)}else we=ue,z=Math.max(z,ue);if(fe--,1>fe&&(fe=1),Cp(a,y.substr(0,fe),we),oe++,y=y.substr(fe),a.Gc+oe>a.maxLines)break}for(ue=Dg(a,ee),le=Kc(y+ue);0a.maxLines))break}a.Le=Math.min(a.maxLines,oe),a.Cb=Math.max(a.Cb,z),b!==null&&b.h(a.Cb,re*a.Le)}}function Dg(a,y){if(a.wrap===L1)return y.substr(0,1);for(var x=y.length,b=0,E=Mx;b=y.length?y:y.substr(0,b)}function Kc(a){return Pu===null?8*a.length:Pu.measureText(a).width}function bp(a){if(a.df!==null)return a.df;var y=a.Ae;if(Pu===null){var x=16;return a.df=x}return Ov[y]!==void 0&&5e3>F1?x=Ov[y]:(x=1.3*Pu.measureText("M").width,Ov[y]=x,F1++),a.df=x}function b1(a){if(Pu===null)return 6;if(Wm[a]!==void 0&&5e3>Iv)var y=Wm[a];else y=Pu.measureText(Ap).width,Wm[a]=y,Iv++;return y}function E1(a,y){var x=a.ec.replace(/\r\n/g,` `).replace(/\r/g,` `),b=a.spacingAbove+a.spacingBelow;if(b=Math.max(0,bp(a)+b),x.length===0)return a.Cb=0,a.Gc=1,b;if(!a.isMultiline){var E=x.indexOf(` `,0);0<=E&&(x=x.substr(0,E))}E=0;for(var z=a.Gc=0,ee,re=!1;!re;){if(ee=x.indexOf(` `,z),ee===-1&&(ee=x.length,re=!0),z<=ee){if(z=x.substr(z,ee-z),a.wrap!==Dv){a.Le=0;var oe=Hn.alloc();kv(a,z,y,oe),E+=oe.height,Hn.free(oe),a.Gc+=a.Le}else kv(a,z,y,null),E+=b,a.Gc++;a.Gc===a.maxLines&&(re=!0)}z=ee+1}return a.Lq=E}ze.Object.defineProperties(ba.prototype,{font:{get:function(){return this.Ae},set:function(a){var y=this.Ae;y!==a&&(this.Ae=a,this.df=null,this.v(),this.g("font",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;a!=null?a=a.toString():a="",y!==a&&(this.ec=a,this.v(),this.g("text",y,a),this.Uc=!0)}},textAlign:{get:function(){return this.da!==null?this.da.Or:"start"},set:function(a){var y=this.textAlign;y===a||a!=="start"&&a!=="end"&&a!=="left"&&a!=="right"&&a!=="center"||(Sd(this),this.da.Or=a,this.N(),this.g("textAlign",y,a))}},flip:{get:function(){return this.da!==null?this.da.Xf:ti},set:function(a){var y=this.flip;y!==a&&(Sd(this),this.da.Xf=a,this.N(),this.g("flip",y,a))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:Cs},set:function(a){var y=this.verticalAlignment;y.D(a)||(a=a.J(),Sd(this),this.da.Yr=a,nu(this),this.g("verticalAlignment",y,a))}},naturalBounds:{get:function(){if(!this.dc.w()){var a=Hn.alloc();kv(this,this.ec,999999,a);var y=a.width;Hn.free(a),a=E1(this,y);var x=this.desiredSize;isNaN(x.width)||(y=x.width),isNaN(x.height)||(a=x.height),oa(this.dc,y,a)}return this.dc}},isMultiline:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this.v(),this.g("isMultiline",y,a))}},isUnderline:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;y!==a&&(this.l^=4194304,this.Uc=!0,this.N(),this.g("isUnderline",y,a))}},isStrikethrough:{get:function(){return(this.l&8388608)!==0},set:function(a){var y=(this.l&8388608)!==0;y!==a&&(this.l^=8388608,this.Uc=!0,this.N(),this.g("isStrikethrough",y,a))}},wrap:{get:function(){return this.da!==null?this.da.$r:Bv},set:function(a){var y=this.wrap;y!==a&&(Sd(this),this.da.$r=a,this.v(),this.g("wrap",y,a))}},overflow:{get:function(){return this.da!==null?this.da.$q:Tv},set:function(a){var y=this.overflow;y!==a&&(Sd(this),this.da.$q=a,this.v(),this.g("overflow",y,a))}},isOverflowed:{get:function(){return(this.l&16777216)!==0}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&tg(a,"TextBlock.stroke"),a instanceof ra&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return bp(this)}},editable:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("editable",y,a))}},textEditor:{get:function(){return this.da!==null?this.da.Qr:null},set:function(a){var y=this.textEditor;y!==a&&(Sd(this),this.da.Qr=a,this.g("textEditor",y,a))}},errorFunction:{get:function(){return this.da!==null?this.da.Hd:null},set:function(a){var y=this.errorFunction;y!==a&&(Sd(this),this.da.Hd=a,this.g("errorFunction",y,a))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(a){var y=this.interval;if(a=Math.round(a),y!==a&&a!==0&&isFinite(a)){this.fa===null&&(this.fa=new kd),this.fa.Tk=a,this.v();var x=this.panel;x!==null&&(x.graduatedIntervals=null),this.g("interval",y,a)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(a){var y=this.graduatedStart;y!==a&&(0>a?a=0:1a?a=0:1=a&&Kn(a,"> 0",ba,"maxLines"),Sd(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var zm=null,jm=null,Dv=new En(ba,"None",0),A1=new En(ba,"WrapFit",1),Bv=new En(ba,"WrapDesiredSize",2),L1=new En(ba,"WrapBreakAll",3),Tv=new En(ba,"OverflowClip",0),Hm=new En(ba,"OverflowEllipsis",1),Ep=new En(ba,"FormatTrim",0),M1=new En(ba,"FormatNone",0),Mx=/[ \u200b\u00ad]/,Ov=new ir,F1=0,Wm=new ir,Iv=0,Ap="...",N1="",Pu=null,Zm=!1;ba.className="TextBlock";function Rv(){this.nc=!1,this.Hd=null,this.Xf=ti,this.gq=Ep,this.Jq=1/0,this.$q=Tv,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=Cs,this.$r=Bv}Rv.prototype.copy=function(){var a=new Rv;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},ba.getEllipsis=function(){return Ap},ba.setEllipsis=function(a){Ap=a,Wm=new ir,Iv=0},ba.getBaseline=function(){return zm},ba.setBaseline=function(a){zm=a},ba.getUnderline=function(){return jm},ba.setUnderline=function(a){jm=a},ba.isValidFont=function(a){if(Zm||(Pu=us?new Fc(null).context:null,Zm=!0),Pu===null)return!0;var y=Pu.font;if(a===y||a==="10px sans-serif")return!0;Pu.font="10px sans-serif",Pu.font=a;var x=Pu.font;if(x!=="10px sans-serif")return Pu.font=y,!0;Pu.font="19px serif";var b=Pu.font;return Pu.font=a,x=Pu.font,Pu.font=y,x!==b},ba.FormatNone=M1,ba.FormatTrim=Ep,ba.None=Dv,ba.OverflowClip=Tv,ba.OverflowEllipsis=Hm,ba.WrapBreakAll=L1,ba.WrapDesiredSize=Bv,ba.WrapFit=A1;function kd(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}kd.prototype.copy=function(){var a=new kd;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},kd.className="GradElementSettings";function Cu(a,y){Zt.call(this),this.Eg=null,this.qo="",this.Xg=ko,this.Nk=ui,this.Zg=this.Hd=null,this.Mk=So,this.Xf=ti,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var Bg;bt(Cu,Zt),Cu.prototype.cloneProtected=function(a){Zt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Cu.prototype.qb=function(a){a===ti||a===tr||a===Eo?this.imageStretch=a:Zt.prototype.qb.call(this,a)},Cu.prototype.toString=function(){return"Picture("+this.source+")#"+Pr(this)};function Tg(a){a===void 0&&(a=""),a!==""?Bg[a]&&(delete Bg[a],Km--):(Bg=new ir,Km=0)}function k1(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value;E.N();var z=y.getAttribute("src")||"",ee=E.Og.I(z);if(ee!==null)for(var re=ee.length,oe=0;oe=b.width&&(z=z+Ae.offsetX+(fe*Ae.x-b.width*Ae.x)),we>=b.height&&(ee=ee+Ae.offsetY+(we*Ae.y-b.height*Ae.y)),oe=Math.min(b.width,fe),re=Math.min(b.height,we);break;case ui:fe=b.width,we=b.height;break;case tr:case Eo:be===tr?(be=Math.min(b.height/we,b.width/fe),fe*=be,we*=be):be===Eo&&(be=Math.max(b.height/we,b.width/fe),fe*=be,we*=be,fe>=b.width&&(z=(z+Ae.offsetX+(fe*Ae.x-b.width*Ae.x)/fe)*oe),we>=b.height&&(ee=(ee+Ae.offsetY+(we*Ae.y-b.height*Ae.y)/we)*re),oe*=1/(fe/b.width),re*=1/(we/b.height),fe=b.width,we=b.height)}be=this.Df()*y.scale;var Te=fe*be*we*be,ot=oe*re/Te,Je=x.__goCache;be=null;var vt=Fx;if(!E){if(x.sq&&Je!==void 0&&4vt*vt)for(Je.gi===null&&(B1(Je,4,le,ue,x),B1(Je,16,le,ue,x)),E=Je.gi,le=E.length,ue=0;uea)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var b="rr"+y+","+x+","+a,E=Wt.Mf[b];if(E!==void 0)return E;var z=a*Wt.wg;return E=new mi().add(new Ts(a,0,!0).add(new Io(va,y-a,0)).add(new Io(ol,y,a,y-z,0,y,z)).add(new Io(va,y,x-a)).add(new Io(ol,y-a,x,y,x-z,y-z,x)).add(new Io(va,a,x)).add(new Io(ol,0,x-a,z,x,0,x-z)).add(new Io(va,0,a)).add(new Io(ol,a,0,0,z,z,0).close())),1E.x&&a.y>E.y&&a.rightE.x&&y.y>E.y&&y.right=x.maxSelectionCount)){this.G^=4096;var b=!1;if(x!==null){b=x.skipsUndoManager,x.skipsUndoManager=!0;var E=x.selection;E.ka(),a?E.add(this):E.remove(this),E.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=b)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(bu(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(bu(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(bu(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof xi?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(bu(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(bu(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(bu(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:Zo},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),bu(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(bu(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(bu(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Jo},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),bu(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&st("Cannot make a Group a member of itself: "+this.toString()),st("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?Jv(y,this):this instanceof Jr&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?Xv(a,this):this instanceof Jr&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var b=this.data,E=x.model;if(b!==null&&E.Xj()){var z=E.wa(a!==null?a.data:null);E.mp(b,z)}}if(b=this.containingGroupChanged,b!==null&&(E=!0,x!==null&&(E=x.aa,x.aa=!0),b(this,y,a),x!==null&&(x.aa=E)),this instanceof Jr){for(x=new Fn,Xh(x,this,!0,0,!0),x=x.iterator;x.next();)if(b=x.value,b instanceof Ti)for(b=b.linksConnected;b.next();)Rg(b.value)}if(this instanceof Ti){for(x=this.linksConnected;x.next();)Rg(x.value);x=this.labeledLink,x!==null&&Rg(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&Zu(y,-1,a))}}else st("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(bu(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Ti&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(bu(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(bu(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:jn},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),bu(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(bu(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(bu(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),dr.prototype.invalidateLayout=dr.prototype.C,dr.prototype.findCommonContainingGroup=dr.prototype.px,dr.prototype.isMemberOf=dr.prototype.Td,dr.prototype.findTopLevelPart=dr.prototype.sz,dr.prototype.findSubGraphLevel=dr.prototype.oz,dr.prototype.ensureBounds=dr.prototype.Va,dr.prototype.getDocumentBounds=dr.prototype.mi,dr.prototype.findObject=dr.prototype.fb,dr.prototype.moveTo=dr.prototype.moveTo,dr.prototype.invalidateAdornments=dr.prototype.Wb,dr.prototype.clearAdornments=dr.prototype.Ej,dr.prototype.removeAdornment=dr.prototype.Jf,dr.prototype.addAdornment=dr.prototype.bh,dr.prototype.findAdornment=dr.prototype.Pj,dr.prototype.updateTargetBindings=dr.prototype.La;var G1=!1;dr.className="Part",dr.LayoutNone=0,dr.LayoutAdded=1,dr.LayoutRemoved=2,dr.LayoutShown=4,dr.LayoutHidden=8,dr.LayoutNodeSized=16,dr.LayoutGroupLayout=32,dr.LayoutNodeReplaced=64,dr.LayoutStandard=127,dr.LayoutAll=16777215;function Uo(a,y){a===void 0||a instanceof Us||typeof a=="string"?dr.call(this,a):(dr.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}bt(Uo,dr),Uo.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},Uo.prototype.updateRelationshipsFromData=function(){},Uo.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof xi&&y instanceof io){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var b=0;ba&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Fn;x.add(this),q1(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===vh),y.Ue=!1}};function q1(a,y,x,b,E,z,ee){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Fn;x.add(this),tS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===vh),y.Ue=!1}};function tS(a,y,x,b,E,z,ee){for(var re=z===a?!1:a.isTreeExpanded,oe=x?a.Mo():a.Sd(),le={};oe.next();){var ue=oe.value;if(ue.isTreeLink&&(re||ue.fd||ue.bb(),ue=ue.To(a),ue!==null&&ue!==a&&!y.contains(ue))){if(y.add(ue),!re){ue.Zb(!0),ue.oh();var fe=x?ue.Oo():ue.Po();le.vv=a,fe.all(function(we){return function(be){return be===we.vv||!be.isTreeExpanded}}(le))&&E.Cj(ue,z)}(2E&&(E=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(x)&&isFinite(b)?a.h(x,b,E-x,z-b):(y=y.location,a.h(y.x,y.y,0,0)),a},ze.Object.defineProperties(ou.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new Hi(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),ou.className="Placeholder";function xi(a){dr.call(this,hi.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=au,this.Om=0,this.Qm=au,this.Rm=NaN,this.qj=ey,this.po=.5,this.wd=null,this.Nb=new Bn().freeze(),this.Tg=this.Mg=null,this.ml=new xn,this.ua=new mi,this.u=this.o=this.Sf=this.Wf=null,this.su=new _e,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}bt(xi,dr),xi.prototype.cloneProtected=function(a){dr.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Ee=xi.prototype,Ee.Af=function(a){dr.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&Vu(y),a=a.toPort,a!==null&&Vu(a)},Ee.qb=function(a){a.classType===xi?(a.value&2)===2?this.routing=a:a===nc||a===Eh||a===jg?this.curve=a:a===Np||a===n0||a===i0?this.adjusting=a:a!==ey&&a!==au&&st("Unknown Link enum value for a Link property: "+a):dr.prototype.qb.call(this,a)},Ee.Xc=function(){this.ba===null&&(this.ba=new mp)},Ee.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),iu(a)||Yh(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),iu(a)||Yh(a)))},Ee.zv=function(){return!1},Ee.Av=function(){},Ee.Zc=function(){return!1},xi.prototype.computeAngle=function(a,y,x){return xi.computeAngle(y,x)},xi.computeAngle=function(a,y){switch(a){default:case au:a=0;break;case kp:a=y;break;case Dp:a=y+90;break;case Bp:a=y-90;break;case ty:a=y+180;break;case r0:a=Wt.bp(y),90a&&(a-=180);break;case Tp:a=Wt.bp(y+90),90a&&(a-=180);break;case Op:a=Wt.bp(y-90),90a&&(a-=180);break;case o0:if(a=Wt.bp(y),45a||225a)return 0;90a&&(a-=180)}return Wt.bp(a)};function Rg(a){var y=a.fromNode,x=a.toNode,b=null;if(y!==null?b=x!==null?y.px(x):y.containingGroup:x!==null?b=x.containingGroup:b=null,y=b,x=a.Ah,x!==y){x!==null&&Jv(x,a),a.Ah=y,y!==null&&Xv(y,a);var E=a.containingGroupChanged;if(E!==null){var z=!0,ee=a.diagram;ee!==null&&(z=ee.aa,ee.aa=!0),E(a,x,y),ee!==null&&(ee.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=b}Ee=xi.prototype,Ee.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&dr.prototype.oh.call(this)},Ee.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Ee.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function rS(a,y){a.wd===null&&(a.wd=new Fn),a.wd.add(y),a.v()}Ee.Vo=function(a){if(dr.prototype.Vo.call(this,a),Df(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Xm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Xm(x,this,b)}Mp(this)}},Ee.Wo=function(a){if(dr.prototype.Wo.call(this,a),Df(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,Jm(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||Jm(x,this,b)}Fp(this)}},Ee.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},xi.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},xi.prototype.move=function(a,y){var x=y?this.location:this.position,b=x.x;isNaN(b)&&(b=0);var E=x.y;for(isNaN(E)&&(E=0),b=a.x-b,E=a.y-E,y===!0?dr.prototype.move.call(this,a,!1):(a=_e.allocAt(x.x+b,x.y+E),dr.prototype.move.call(this,a,!1),_e.free(a)),bh(this,b,E),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+b,x.y+E)},xi.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},xi.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},xi.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(ai),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),b=this.i(1);return a.h((x.x+b.x)/2,(x.y+b.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===nc))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===nc){if(y===3){x=this.i(0),b=this.i(1);var E=this.i(2);return Wt.ax(x.x,x.y,b.x,b.y,b.x,b.y,E.x,E.y,a),a}if(b=(y-1)/3|0,x=3*(b/2|0),b%2===1){b=this.i(x),E=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),Wt.ax(b.x,b.y,E.x,E.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var ee=this.flattenedLengths;for(x=this.flattenedTotalLength,E=z=b=0;bx/2));)b+=E,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-b)):a.h(y.x,y.y+(x/2-b)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-b),y.y):a.h(y.x+(x/2-b),y.y):(x=(x/2-b)/E,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},xi.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===nc))return this.ua.wx(.5);if(this.computeCurve()===nc&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var b=this.i(x+2);return x=this.i(x+3),Wt.My(a.x,a.y,y.x,y.y,b.x,b.y,x.x,x.y)}if(0b/2));)E+=z,x++;if(y=this.i(x),b=this.i(x+1),1>Math.abs(y.x-b.x)&&1>Math.abs(y.y-b.y)){if(0Math.abs(y.x-b.x))return y.y>b.y?270:90;if(1>Math.abs(y.y-b.y))return y.x>b.x?180:0}return y.ab(b)},Ee=xi.prototype,Ee.i=function(a){return this.Nb.s[a]},Ee.dd=function(a,y){this.Nb.cd(a,y)},Ee.L=function(a,y,x){this.Nb.cd(a,new _e(y,x))},Ee.Kz=function(a,y){this.Nb.Gb(a,y)},Ee.m=function(a,y,x){this.Nb.Gb(a,new _e(y,x))},Ee.ne=function(a){this.Nb.add(a)},Ee.yf=function(a,y){this.Nb.add(new _e(a,y))},Ee.pv=function(a){this.Nb.mb(a)},Ee.Fj=function(){this.Nb.clear()};function bh(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var b=a.fd,E=new Bn,z=a.Nb.iterator;z.next();){var ee=z.value;E.add(new _e(ee.x+y,ee.y+x).freeze())}E.freeze(),z=a.Nb,a.Nb=E,ee=a.diagram,isNaN(y)||isNaN(x)||ee!==null&&ee.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),nu(a)),b?_m(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),ee!==null&&ee.animationManager.zb&&Sa(ee.animationManager,a,E),a.g("points",z,E)}}Ee.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Ee.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,b=1/0,E=a.s,z=E.length,ee=0;eele&&(fe=-fe),Te=(0>oe?-1:1)*fe+be,ot=ue*(Te-be)+Ae),be=z.x+2*re/3,Ae=z.y+2*oe/3;var Je=be,vt=Ae;Wt.B(oe,0)?vt=0oe?-1:1)*fe+be,vt=ue*(Je-be)+Ae),this.Fj(),this.ne(z),this.yf(Te,ot),this.yf(Je,vt),this.ne(we),this.dd(0,this.getLinkPoint(a,y,ee,!0,!1,b,E)),this.dd(3,this.getLinkPoint(b,E,x,!1,!1,a,y))}else z=b,we=E,b=this.getLinkPoint(a,y,ee,!0,!1,z,we),E=this.getLinkPoint(z,we,x,!1,!1,a,y),this.hasCurviness()?(we=E.x-b.x,x=E.y-b.y,ee=this.computeCurviness(),a=b.x+we/2,y=b.y+x/2,z=a,re=y,Wt.B(x,0)?re=0ee&&(z=-z),z=(0>x?-1:1)*z+a,re=we*(z-a)+y),this.ne(b),this.yf(z,re),this.ne(E)):(this.ne(b),this.ne(E),re=xn.alloc(),y.mi(re),oe=re.ca(E),we.mi(re),le=re.ca(b),(oe||le)&&(ee=y.ga(qm(ee),new _e),this.dd(0,this.getLinkPointFromPoint(a,y,ee,E,!0,ee)),x=we.ga(qm(x),new _e),this.dd(1,this.getLinkPointFromPoint(z,we,x,b,!1,x))),xn.free(re))}else{fe=this.isAvoiding,we&&(ue&&fe||le)&&this.Fj();var Pt=le?this.computeCurviness():0;fe=this.getLinkPoint(a,y,ee,!0,ue,b,E),be=Te=Ae=0,(ue||!re||le)&&(ot=this.computeEndSegmentLength(a,y,ee,!0),be=this.getLinkDirection(a,y,fe,ee,!0,ue,b,E),le&&(re||ee.D(x)||!ue&&ee.x+x.x===1&&ee.y+x.y===1)&&(be-=ue?90:30,0>Pt&&(be-=180)),0>be?be+=360:360<=be&&(be-=360),le&&(ot+=Math.abs(Pt)*(ue?1:2)),be===0?Ae=ot:be===90?Te=ot:be===180?Ae=-ot:be===270?Te=-ot:(Ae=ot*Math.cos(be*Math.PI/180),Te=ot*Math.sin(be*Math.PI/180)),ee.Mc()&&le&&(ot=y.ga(So,_e.alloc()),Je=_e.allocAt(ot.x+1e3*Ae,ot.y+1e3*Te),this.getLinkPointFromPoint(a,y,ot,Je,!0,fe),_e.free(ot),_e.free(Je))),ot=this.getLinkPoint(b,E,x,!1,ue,a,y);var Mt=vt=Je=0;if(ue||!oe||le){var jt=this.computeEndSegmentLength(b,E,x,!1);Mt=this.getLinkDirection(b,E,ot,x,!1,ue,a,y),le&&(oe||ee.D(x)||!ue&&ee.x+x.x===1&&ee.y+x.y===1)&&(Mt+=ue?0:30,0>Pt&&(Mt+=180)),0>Mt?Mt+=360:360<=Mt&&(Mt-=360),le&&(jt+=Math.abs(Pt)*(ue?1:2)),Mt===0?Je=jt:Mt===90?vt=jt:Mt===180?Je=-jt:Mt===270?vt=-jt:(Je=jt*Math.cos(Mt*Math.PI/180),vt=jt*Math.sin(Mt*Math.PI/180)),x.Mc()&&le&&(x=E.ga(So,_e.alloc()),ee=_e.allocAt(x.x+1e3*Je,x.y+1e3*vt),this.getLinkPointFromPoint(b,E,x,ee,!1,ot),_e.free(x),_e.free(ee))}x=fe,(ue||!re||le)&&(x=new _e(fe.x+Ae,fe.y+Te)),ee=ot,(ue||!oe||le)&&(ee=new _e(ot.x+Je,ot.y+vt)),!we&&!ue&&re&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}xi.prototype.getLinkPointFromPoint=function(a,y,x,b,E,z){if(z===void 0&&(z=new _e),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(E=a.findVisibleNode(),E!==null&&E!==a&&(y=E.port)),a=null,E=y.panel,E===null||E.se()||(E=E.panel),E===null){E=b.x,b=b.y;var ee=x.x;x=x.y}else{a=E.oe,E=1/(a.m11*a.m22-a.m12*a.m21),ee=a.m22*E;var re=-a.m12*E,oe=-a.m21*E,le=a.m11*E,ue=E*(a.m21*a.dy-a.m22*a.dx),fe=E*(a.m12*a.dx-a.m11*a.dy);E=b.x*ee+b.y*oe+ue,b=b.x*re+b.y*le+fe,ee=x.x*ee+x.y*oe+ue,x=x.x*re+x.y*le+fe}return y.Sj(E,b,ee,x,z),a!==null&&z.transform(a),z};function $m(a,y){var x=y.Zn;return x===null&&(x=new ag,x.port=y,x.node=y.part,y.Zn=x),hS(x,a)}xi.prototype.getLinkPoint=function(a,y,x,b,E,z,ee,re){if(re===void 0&&(re=new _e),x.sb()&&!zg(x))return y.ga(x,re),re;if(x.$c()){var oe=$m(this,y);if(oe!==null){if(re.assign(oe.Zo),E&&this.routing===aS){var le=$m(this,ee);if(le!==null&&oe.Gl=ue.y&&a.y<=ue.y+ue.height?re.y=a.y:(x.Hf(fu)||x.Hf(Sl))&&a.x>=ue.x&&a.x<=ue.x+ue.width&&(re.x=a.x),_e.free(oe),_e.free(le)}}return re}}return x=y.ga(qm(x),_e.alloc()),this.pointsCount>(E?6:2)?(ee=b?this.i(1):this.i(this.pointsCount-2),E&&(ee=Qv(x,ee.copy()))):(oe=this.computeSpot(!b,ee),z=_e.alloc(),ee=ee.ga(qm(oe),z),E&&(ee=Qv(x,ee)),_e.free(z)),this.getLinkPointFromPoint(a,y,x,ee,b,re),_e.free(x),re},xi.prototype.getLinkDirection=function(a,y,x,b,E,z,ee,re){e:if(b.sb())var oe=b.x>b.y?b.x>1-b.y?0:b.x<1-b.y?270:315:b.x1-b.y?90:b.x<1-b.y?180:135:.5>b.x?225:.5(z?6:2)?(re=E?this.i(1):this.i(this.pointsCount-2),re=z?Qv(oe,re.copy()):x):(x=_e.alloc(),re=re.ga(So,x),_e.free(x)),x=Math.abs(re.x-oe.x)>Math.abs(re.y-oe.y)?re.x>=oe.x?0:180:re.y>=oe.y?90:270,_e.free(oe),oe=x}return b.Mc()&&ee.Td(a)&&(oe+=180,360<=oe&&(oe-=360)),zg(b)||(a=y.li(),a===0)||(45<=a&&135>a?oe+=90:135<=a&&225>a?oe+=180:225<=a&&315>a&&(oe+=270),360<=oe&&(oe-=360)),oe},xi.prototype.computeEndSegmentLength=function(a,y,x,b){return y!==null&&x.$c()&&(a=$m(this,y),a!==null)?a.Ju:(a=b?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=b?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},xi.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=So:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Jo?Da:y)):(a=y||this.toPort,a===null?a=So:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Jo?Da:y)),a};function zg(a){return a===Da||a.x===.5&&a.y===.5}function qm(a){return a.x===.5&&a.y===.5?a:So}xi.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==au&&4we.width||fe.y>we.height||0>fe.x+fe.width||0>fe.y+fe.height)){if(fe=Hr.alloc(),fe.set(ee),ue instanceof hi)re=ue.Cf(a,y,x,b,E,fe);else if(this.path===ue){if(ue instanceof io)if(re=a,we=b,ue.pickable===!1)re=!1;else if(fe.multiply(ue.transform),we)e:{var be=re,Ae=fe;if(ue.fh(be,Ae))re=!0;else{if(Ae===void 0&&(Ae=ue.transform,be.Re(ue.actualBounds))){re=!0;break e}re=be.left,we=be.right;var Te=be.top;be=be.bottom;var ot=_e.alloc(),Je=_e.alloc(),vt=_e.alloc(),Pt=Hr.alloc();Pt.set(Ae),Pt.bv(ue.transform),Pt.Vj(),Je.x=we,Je.y=Te,Je.transform(Pt),ot.x=re,ot.y=Te,ot.transform(Pt),Ae=!1,Nf(ue,ot,Je,vt)?Ae=!0:(ot.x=we,ot.y=be,ot.transform(Pt),Nf(ue,ot,Je,vt)?Ae=!0:(Je.x=re,Je.y=be,Je.transform(Pt),Nf(ue,ot,Je,vt)?Ae=!0:(ot.x=re,ot.y=Te,ot.transform(Pt),Nf(ue,ot,Je,vt)&&(Ae=!0)))),Hr.free(Pt),_e.free(ot),_e.free(Je),_e.free(vt),re=Ae}}else re=ue.fh(re,fe)}else re=$s(ue,a,b,fe);re&&(we=ue,y!==null&&(we=y(ue)),we&&(x===null||x(we))&&E.add(we)),Hr.free(fe)}}}return z===void 0&&Hr.free(ee),re||this.background!==null||this.areaBackground!==null}return z===void 0&&Hr.free(ee),!1},xi.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?nc:this.curve},xi.prototype.computeCorner=function(){if(this.curve===nc)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},xi.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,b=0;boe?-Math.PI/2:Math.PI/2;else ue=Math.atan(oe/Math.abs(re)),0>re&&(ue=Math.PI-ue);ee=y.x;var fe=y.y;re=b.x-ee;var we=b.y-fe;for(oe=Math.sqrt(re*re+we*we),Wt.$(re,0)?we=0>we?-Math.PI/2:Math.PI/2:(we=Math.atan(we/Math.abs(re)),0>re&&(we=Math.PI-we)),le=oe/le,ue=we-ue,this.dd(a,y),a+=1;aoe?-Math.PI/2:Math.PI/2:(oe=Math.atan(oe/Math.abs(re)),0>re&&(oe=Math.PI-oe)),re=oe+ue,y*=le,this.L(a,ee+y*Math.cos(re),fe+y*Math.sin(re)));this.dd(x,b)}}return!0;case i0:if(z=this.i(a),fe=this.i(x),!z.Xa(y)||!fe.Xa(b)){E=z.x,z=z.y,ee=fe.x,fe=fe.y,le=(ee-E)*(ee-E)+(fe-z)*(fe-z),re=y.x,ue=y.y,oe=b.x,we=b.y;var be=1;if(oe-re!==0){var Ae=(we-ue)/(oe-re);be=Math.sqrt(1+1/(Ae*Ae))}else Ae=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>b?b+=360:360<=b&&(b-=360);var ee=b;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,b=315<=b||45>b?0:45<=b&&135>b?90:135<=b&&225>b?180:270;var re=E.actualBounds.copy(),oe=z.actualBounds.copy();if(re.w()&&oe.w()){re.Bc(Ip,Ip),oe.Bc(Ip,Ip),re.Ye(a),oe.Ye(x);var le=_e.alloc(),ue=_e.alloc();y===0?x.x>a.x||b===270&&x.ya.x||b===90&&x.y>a.y&&oe.right>a.x?(le.h(x.x,a.y),ue.h(x.x,(a.y+x.y)/2),b===180?(le.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),ue.x=le.x,ue.y=x.y):b===270&&x.ya.y?(le.x=a.xoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.right,ue.x=le.x,ue.y=x.y):b===0&&a.xoe.top&&a.yre.bottom)&&(b===180&&(oe.ca(a)||re.ca(x))?le.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===180||b===270)&&(le.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ue.x=x.x,ue.y=le.y),le.y>re.top&&le.y=re.left&&x.x<=a.x||a.x<=oe.right&&a.x>=x.x?(b===90||b===270)&&(le.h(Math.max((a.x+x.x)/2,a.x),a.y),ue.h(le.x,x.y)):(le.y=b===270||(b===0||b===180)&&x.ya.y&&oe.lefta.y?(le.x=a.x>oe.right?this.computeMidOrthoPosition(a.x,a.y,oe.right,x.y,!1):a.x>oe.left&&(b===270&&a.yoe.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):oe.left,ue.x=le.x,ue.y=x.y):b===180&&a.x>oe.right&&a.y>oe.top&&a.yre.bottom)&&(b===0&&(oe.ca(a)||re.ca(x))?le.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===0||b===270)&&(le.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,oe.top),!0)),ue.x=x.x,ue.y=le.y),le.y>re.top&&le.y=a.x||a.x>=oe.left&&a.x<=x.x?(b===90||b===270)&&(le.h(Math.min((a.x+x.x)/2,a.x),a.y),ue.h(le.x,x.y)):(le.y=b===270||(b===0||b===180)&&x.ya.y||b===180&&x.xa.y||b===0&&x.x>a.x&&oe.bottom>a.y?(le.h(a.x,x.y),ue.h((a.x+x.x)/2,x.y),b===270?(le.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),ue.x=x.x,ue.y=le.y):b===180&&x.xa.x?(le.y=a.yoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.bottom,ue.x=x.x,ue.y=le.y):b===90&&a.yoe.left&&a.xre.right)&&(b===270&&(oe.ca(a)||re.ca(x))?le.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===270||b===180)&&(le.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ue.x=le.x,ue.y=x.y),le.x>re.left&&le.x=re.top&&x.y<=a.y||a.y<=oe.bottom&&a.y>=x.y?(b===0||b===180)&&(le.h(a.x,Math.max((a.y+x.y)/2,a.y)),ue.h(x.x,le.y)):(le.x=b===180||(b===90||b===270)&&x.xa.x&&oe.top=a.x?(le.y=a.y>oe.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,oe.bottom,!0):a.y>oe.top&&(b===180&&a.xoe.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):oe.top,ue.x=x.x,ue.y=le.y):b===270&&a.y>oe.bottom&&a.x>oe.left&&a.xre.right)&&(b===90&&(oe.ca(a)||re.ca(x))?le.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===90||b===180)&&(le.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,oe.left),x.y,!1)),ue.x=le.x,ue.y=x.y),le.x>re.left&&le.x=a.y||a.y>=oe.top&&a.y<=x.y?(b===0||b===180)&&(le.h(a.x,Math.min((a.y+x.y)/2,a.y)),ue.h(x.x,le.y)):(le.x=b===180||(b===90||b===270)&&x.x=Wg&&(uS(be),re.Bc(be.Ho*be.Hx,be.Go*be.Ix),cS(be,a,y,fe,b,re,!1),oe=Dd(be,fe.x,fe.y)),!be.abort&&oethis.pointsCount?(y===0||y===180?(re.x=a.x,re.y=fe.y):(re.x=fe.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(ee=this.i(3),y===0||y===180?Wt.B(re.x,ee.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,ee.y)):Wt.B(re.y,ee.y)?(Math.abs(a.y-re.y)<=be.Go/2&&(this.L(2,re.x,a.y),this.L(3,ee.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Wt.B(re.y,ee.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,ee.x,re)):Wt.B(re.x,ee.x)?(Math.abs(a.x-re.x)<=be.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,ee.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),x!==null&&(a=this.i(1),ee=this.i(2),a.x!==ee.x&&a.y!==ee.y?y===0||y===180?this.m(2,a.x,ee.y):this.m(2,ee.x,a.y):y===0||y===180?this.m(2,E.x,x.y):this.m(2,x.x,E.y)),Ae!==null&&(b===0||b===180?this.yf(z.x,Ae.y):this.yf(Ae.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(le.copy()),this.ne(ue.copy())),_e.free(le),_e.free(ue)}},xi.prototype.computeMidOrthoPosition=function(a,y,x,b,E){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),E?(y+b)/2+z:(a+x)/2+z};function _v(a){if(a.diagram===null||!a.isAvoiding||!ca(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=is(a.diagram,!0,a.containingGroup,null);for(var b=1;bBf&&Dd(y,ue,fe)!==le-1&&(Dd(y,x-re,b)===le-1?(E=180,ue=x-re,fe=b):Dd(y,x+re,b)===le-1?(E=0,ue=x+re,fe=b):Dd(y,x,b-oe)===le-1?(E=270,ue=x,fe=b-oe):Dd(y,x,b+oe)===le-1&&(E=90,ue=x,fe=b+oe));le>Bf&&Dd(y,ue,fe)===le-1;)x=ue,b=fe,E===0?ue+=re:E===90?fe+=oe:E===180?ue-=re:fe-=oe,--le;z?le>Bf&&(E===180||E===0?x=Math.floor(x/re)*re+re/2:(E===90||E===270)&&(b=Math.floor(b/oe)*oe+oe/2)):(x=Math.floor(x/re)*re+re/2,b=Math.floor(b/oe)*oe+oe/2),le>Bf&&(z=E,ee=x,ue=b,E===0?(z=90,ue+=oe):E===90?(z=180,ee-=re):E===180?(z=270,ue-=oe):E===270&&(z=0,ee+=re),Dd(y,ee,ue)===le-1?$v(a,y,ee,ue,z,!1,z):(ee=x,ue=b,E===0?(z=270,ue-=oe):E===90?(z=0,ee+=re):E===180?(z=90,ue+=oe):E===270&&(z=180,ee-=re),Dd(y,ee,ue)===le-1&&$v(a,y,ee,ue,z,!1,z))),a.yf(x,b)}xi.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),b=this.i(1),E=Fi(y,a,x.x,x.y,b.x,b.y),z=0,ee=1;eethis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,b=0;b=y&&(b=y-1),oe=this.i(b),z.x=Math.min(oe.x,z.x),z.y=Math.min(oe.y,z.y);b=z.x,oe=z.y}else{for(oe=0;oeot?Ae>be?(z.x=Je-Pt,z.y=be-Pt,E.x=Je+Te,E.y=be+Te):(z.x=Je-Pt,z.y=be+Pt,E.x=Je+Te,E.y=be-Te):Ae>be?(z.x=Je+Pt,z.y=be-Pt,E.x=Je-Te,E.y=be+Te):(z.x=Je+Pt,z.y=be+Pt,E.x=Je-Te,E.y=be-Te)),Wt.$(ot,Je)&&Wt.$(be,Ae)&&(be>we?(vt>Je?(z.x=Je-Pt,z.y=be-Pt,E.x=Je+Te):(z.x=Je+Pt,z.y=be-Pt,E.x=Je-Te),E.y=be+Te):(vt>Je?(z.x=Je-Pt,z.y=be+Pt,E.x=Je+Te):(z.x=Je+Pt,z.y=be+Pt,E.x=Je-Te),E.y=be-Te)),(Wt.$(ot,Je)&&Wt.$(Je,vt)||Wt.$(we,be)&&Wt.$(be,Ae))&&(ot=.5*(ot+vt),we=.5*(we+Ae),z.x=ot,z.y=we,E.x=ot,E.y=we),(fe===1||fe===2&&Wt.$(ee.x,this.i(0).x)&&Wt.$(ee.y,this.i(0).y))&&(x.x=.5*(ee.x+le.x),x.y=.5*(ee.y+le.y)),wh(re,x.x-b,x.y-oe,z.x-b,z.y-oe,le.x-b,le.y-oe),y.set(z),x.set(E),ee=le}}le=ee.x,ee=ee.y,ue=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(ue=ng(this,ue.copy(),!1,xt)),le=.5*(le+ue.x),ee=.5*(ee+ue.y),wh(re,E.x-b,E.y-oe,le-b,ee-oe,ue.x-b,ue.y-oe),_e.free(y),_e.free(x),_e.free(z),_e.free(E)}else for(x=3;x=y&&(x=y-1),E=this.i(x-1),ee=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(ee=ng(this,ee.copy(),!1,xt)),wh(re,z.x-b,z.y-oe,E.x-b,E.y-oe,ee.x-b,ee.y-oe);else{for(z=_e.alloc(),z.assign(this.i(0)),E=_e.alloc(),E.assign(z),ee=this.computeCorner(),fe=1,le=0;fe=y-1){if(!z.D(ue))this.computeShortLength(!1)!==0&&(ue=ng(this,ue.copy(),!1,xt)),ig(this,re,-b,-oe,z,ue,x);else if(le===0)for(fe=1;fez.x?Mt=we.x-Ae:Mt=we.x+Ae,Je.y>we.y?vt=we.y+Pt:vt=we.y-Pt,Je=_e.allocAt(Mt,jt),ig(this,re,fe,ot,z,Je,Te),_e.free(Je),Vm(re,we.x+fe,we.y+ot,be+fe,vt+ot),z.h(be,vt)}else Wt.B(z.x,we.x)&&Wt.B(we.y,Je.y)?(Ae=Math.min(ee,Math.abs(we.y-E.y)/2),Ae=Pt=Math.min(Ae,Math.abs(Je.x-we.x)/2),Wt.B(Pt,0)?(ig(this,re,fe,ot,z,we,Te),z.assign(we)):(Mt=we.x,jt=we.y,be=Mt,vt=jt,we.y>z.y?jt=we.y-Ae:jt=we.y+Ae,Je.x>we.x?be=we.x+Pt:be=we.x-Pt,Je=_e.allocAt(Mt,jt),ig(this,re,fe,ot,z,Je,Te),_e.free(Je),Vm(re,we.x+fe,we.y+ot,be+fe,vt+ot),z.h(be,vt))):(ig(this,re,fe,ot,z,we,Te),z.assign(we));E.assign(ue),fe=le}_e.free(z)}Gm=re}else re=this.i(1).copy(),re.x-=b,re.y-=oe,this.computeShortLength(!0)!==0&&(E=ng(this,E,!0,z)),this.computeShortLength(!1)!==0&&(re=ng(this,re,!1,z)),a.type=mi.j,a.startX=E.x,a.startY=E.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function e0(a,y,x,b){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=b-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Wt.$(a,0)?y:Wt.$(y,0)?a:Math.sqrt(a*a+y*y)))}function ng(a,y,x,b){var E=a.pointsCount;if(2>E)return y;if(x){var z=a.i(1);if(x=z.x-b.x,z=z.y-b.y,b=e0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!0),a>E&&(a=E),E=a*(z-y.y)/b,y.x+=a*(x-y.x)/b,y.y+=E}else{if(z=a.i(E-2),x=z.x-b.x,z=z.y-b.y,b=e0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!1),a>E&&(a=E),E=a*(y.y-z)/b,y.x-=a*(y.x-x)/b,y.y-=E}return y}function qv(a,y,x,b){for(var E=a.pointsCount,z=y;Wt.$(y.x,z.x)&&Wt.$(y.y,z.y);){if(x>=E)return E-1;z=a.i(x++)}if(!Wt.$(y.x,z.x)&&!Wt.$(y.y,z.y))return x-1;for(var ee=z;Wt.$(y.x,z.x)&&Wt.$(z.x,ee.x)&&(!b||(y.y>=z.y?z.y>=ee.y:z.y<=ee.y))||Wt.$(y.y,z.y)&&Wt.$(z.y,ee.y)&&(!b||(y.x>=z.x?z.x>=ee.x:z.x<=ee.x));){if(x>=E)return E-1;ee=a.i(x++)}return x-2}xi.prototype.computeJumpLength=function(){return 10};function ig(a,y,x,b,E,z,ee){if(!ee&&Df(a)){ee=a.computeJumpLength();var re=ee/2,oe=[],le=0;if(a.isVisible()&&(le=Tx(a,E,z,oe)),0fe-ee);)le--,fe=Math.max(ue-re,z.x);ue=z.y-ee+b,fe+=x,be=z.y+b,a.curve===Eh?Ig(y,fe,be,!1):wh(y,we,ue,fe,ue,fe,be)}else if(Wt.B(E.x,z.x))if(E.yue-ee);)le--,ue=Math.max(fe-re,z.y);fe=z.x-ee+x,be=z.x+x,ue+=b,a.curve===Eh?Ig(y,be,ue,!1):wh(y,fe,we,fe,ue,be,ue)}}}y.lineTo(z.x+x,z.y+b)}function Tx(a,y,x,b){var E=a.diagram;if(E===null||y.D(x))return 0;for(E=E.layers;E.next();){var z=E.value;if(z!==null&&z.visible){z=z.Pa.s;for(var ee=z.length,re=0;reee.x&&ue.x>=le.x||le.xee.y&&ue.y>=le.y||le.yee&&Math.min(Ae,Te)ue&&!Wt.B(Ae,Te)){re.x=ue,re.y=ee,ue=!0;break e}}else if(Wt.B(fe,be)&&Wt.B(Ae,Te)&&Math.min(ue,we)Ae&&Math.min(ee,ot)fe&&!Wt.B(ee,ot)){re.x=Ae,re.y=fe,ue=!0;break e}re.x=0,re.y=0,ue=!1}ue&&(E?x.push(re.x):x.push(re.y)),ee=le}_e.free(re)}function Df(a){return a=a.curve,a===jg||a===Eh}function t0(a,y){(y||Df(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}xi.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var b=!1;for(x=x.layers;x.next();){var E=x.value;if(E.visible){if(E===y){b=!0;var z=!1;E=E.Pa.s;for(var ee=E.length,re=0;rea&&Kn(a,">= 0",xi,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Jo},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&Vu(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Kn(a,">= 0",xi,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=b&&(z=b-1);var re=this.i(z-1),oe=this.i(z);Wt.Dl(E.x,E.y,ee.x,ee.y,re.x,re.y,oe.x,oe.y,.5,a),y=Math.min(oe.x,y),x=Math.min(oe.y,x),E=oe}else for(E=this.i(0),z=this.i(1),y=Math.min(E.x,z.x),x=Math.min(E.y,z.y),a.h(E.x,E.y,0,0),a.Ye(z),E=2;Eb&&(b=-b)):Wt.$(b.y,E.y)?(b=E.x-b.x,0>b&&(b=-b)):b=Math.sqrt(b.Bf(E)),a.push(b)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,b=a=0;bthis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!zg(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!zg(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),t0(this,y===Eh||y===jg||a===Eh||a===jg),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),t0(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),xi.prototype.invalidateOtherJumpOvers=xi.prototype.Xo,xi.prototype.findClosestSegment=xi.prototype.ez,xi.prototype.updateRoute=xi.prototype.vg,xi.prototype.invalidateRoute=xi.prototype.bb,xi.prototype.rollbackRoute=xi.prototype.rv,xi.prototype.commitRoute=xi.prototype.zf,xi.prototype.startRoute=xi.prototype.uh,xi.prototype.clearPoints=xi.prototype.Fj,xi.prototype.removePoint=xi.prototype.pv,xi.prototype.addPointAt=xi.prototype.yf,xi.prototype.addPoint=xi.prototype.ne,xi.prototype.insertPointAt=xi.prototype.m,xi.prototype.insertPoint=xi.prototype.Kz,xi.prototype.setPointAt=xi.prototype.L,xi.prototype.setPoint=xi.prototype.dd,xi.prototype.getPoint=xi.prototype.i,xi.prototype.getOtherPort=xi.prototype.Cz,xi.prototype.getOtherNode=xi.prototype.To;var rg=null,og=null,ey=new En(xi,"Normal",1),Ix=new En(xi,"Orthogonal",2),Rx=new En(xi,"AvoidsNodes",6),aS=new En(xi,"AvoidsNodesStraight",7),au=new En(xi,"None",0),nc=new En(xi,"Bezier",9),Eh=new En(xi,"JumpGap",10),jg=new En(xi,"JumpOver",11),Np=new En(xi,"End",17),n0=new En(xi,"Scale",18),i0=new En(xi,"Stretch",19),kp=new En(xi,"OrientAlong",21),Dp=new En(xi,"OrientPlus90",22),Bp=new En(xi,"OrientMinus90",23),ty=new En(xi,"OrientOpposite",24),r0=new En(xi,"OrientUpright",25),Tp=new En(xi,"OrientPlus90Upright",26),Op=new En(xi,"OrientMinus90Upright",27),o0=new En(xi,"OrientUpright45",28),sS=16,lS=14,Ip=8;xi.className="Link",xi.Normal=ey,xi.Orthogonal=Ix,xi.AvoidsNodes=Rx,xi.AvoidsNodesStraight=aS,xi.None=au,xi.Bezier=nc,xi.JumpGap=Eh,xi.JumpOver=jg,xi.End=Np,xi.Scale=n0,xi.Stretch=i0,xi.OrientAlong=kp,xi.OrientPlus90=Dp,xi.OrientMinus90=Bp,xi.OrientOpposite=ty,xi.OrientUpright=r0,xi.OrientPlus90Upright=Tp,xi.OrientMinus90Upright=Op,xi.OrientUpright45=o0,xi.EndSegmentStep=8,xi.CurvinessStart=sS,xi.SpacingMin=lS,xi.OrthoShortCut=Ip;function a0(a,y,x,b){fr(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=b,this.links=[]}a0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,b=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((b+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=Bf&&(x[b]=ny)}Rp.prototype.Yj=function(a,y,x,b){if(a>this.En||a+xthis.Fn||y+ba&&(x+=a,a=0),0>y&&(E+=y,y=0),0>x||0>E)return!0;for(b=Math.min(a+x-1,this.di)|0,x=Math.min(y+E-1,this.ei)|0;a<=b;a++){E=this.ac[a];for(var z=y;z<=x;z++)if(E[z]===Ah)return!1}return!0};function Bd(a,y,x,b,E,z,ee,re,oe){if(!(yee||xoe)){var le=y|0,ue=x|0,fe=a.ac[le][ue];if(fe>=Bf&&fe=a.ac[le][ue]);)a.ac[le][ue]=fe,fe+=1,E?ue+=b:le+=b;if(le=E?ue:le,E)if(0le;x+=b)Bd(a,y,x,1,!E,z,ee,re,oe),Bd(a,y,x,-1,!E,z,ee,re,oe);else if(0le;y+=b)Bd(a,y,x,1,!E,z,ee,re,oe),Bd(a,y,x,-1,!E,z,ee,re,oe)}}function s0(a,y,x,b,E,z,ee,re,oe){y|=0,x|=0;var le=Ah,ue=Bf;for(a.ac[y][x]=ue;le===Ah&&y>z&&yre&&xz&&yre&&x=Math.abs(re-le)&&1>=Math.abs(oe-ue))a.abort=!0;else{var fe=z.x;b=z.y,y=z.x+z.width;var we=z.y+z.height;fe-=a.Nd,fe/=a.rc,b-=a.Od,b/=a.sc,y-=a.Nd,y/=a.rc,we-=a.Od,we/=a.sc,z=Math.max(0,Math.min(a.di,fe|0)),y=Math.min(a.di,Math.max(0,y|0)),fe=Math.max(0,Math.min(a.ei,b|0)),we=Math.min(a.ei,Math.max(0,we|0)),b=a.ac,re|=0,oe|=0,le|=0,ue|=0;var be=x===0||x===90?1:-1;if(x=x===90||x===270,b[re][oe]===Ah?(s0(a,re,oe,be,x,z,y,fe,we),s0(a,re,oe,1,!x,z,y,fe,we),s0(a,re,oe,-1,!x,z,y,fe,we)):s0(a,re,oe,be,x,re,oe,re,oe),b[le][ue]===Ah?(l0(a,le,ue,E===0||E===90?1:-1,E===90||E===270,z,y,fe,we),l0(a,le,ue,1,!(E===90||E===270),z,y,fe,we),l0(a,le,ue,-1,!(E===90||E===270),z,y,fe,we)):l0(a,le,ue,be,x,le,ue,le,ue),x=oi(),ee&&dS(a,le,ue,E,re,oe,x))for((x[0]!==le||x[1]!==ue)&&(x.unshift(ue),x.unshift(le)),(x[x.length-2]!==re||x[x.length-1]!==oe)&&(x.push(re),x.push(oe)),a=Bf,E=x[x.length-2],ee=x[x.length-1],b[E][ee]=a++,z=x.length-4;0<=z;z-=2)for(E=x[z+2],ee=x[z+3],y=x[z],le=x[z+1];y>E?E++:yee?ee++:leE)ue--;else break;else if(fe>z)fe--;else break;var we=re[ue][fe];if(we===0||we===iy)break;oe=ue,le=fe}for(;;){if(ue=b,fe=oe,we=le,b===0?wez&&(ue=270,we--):b===90?feE&&(ue=180,fe--):b===180?wez&&(ue=270,we--):feE&&(ue=180,fe--),fe=re[fe][we],ue!==b&&fe!==0&&fe!==iy){if(ee.push(oe),ee.push(le),dS(a,oe,le,ue,E,z,ee))return!0;ee.pop(),ee.pop()}if(re[oe][le]=iy,b===0){if(oe===y)return!1;oe--}else if(b===90){if(le===x)return!1;le--}else if(b===180){if(oe===y)return!1;oe++}else{if(le===x)return!1;le++}}}ze.Object.defineProperties(Rp.prototype,{bounds:{get:function(){return new xn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return b&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}ag.prototype.Sl=function(){this.pe.length=0};function hS(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var b=null,E=a.node,z=E instanceof Jr?E:null;if(z===null||z.isSubGraphExpanded)var ee=E.isTreeExpanded?E.findLinksConnected(a.port.portId):E.qx();else{if(!z.actualBounds.w()){a.ap=x;break e}b=z,ee=b.Lu()}z=a.pe.length=0;var re=a.port.ga(pa,_e.alloc()),oe=a.port.ga(vl,_e.alloc());for(E=xn.allocAt(re.x,re.y,0,0),E.Ye(oe),_e.free(re),_e.free(oe),re=_e.allocAt(E.x+E.width/2,E.y+E.height/2),oe=a.port.li(),ee=ee.iterator;ee.next();){var le=ee.value;if(le.isVisible()&&le.fromPort!==le.toPort){var ue=le.fromPort===a.port||le.fromNode!==null&&le.fromNode.Td(b),fe=le.computeSpot(ue,a.port);if(fe.$c()&&(ue=ue?le.toPort:le.fromPort,ue!==null)){var we=ue.part;if(we!==null){var be=we.findVisibleNode();be!==null&&be!==we&&(we=be,ue=we.port),ue=le.computeOtherPoint(we,ue),we=re.ab(ue),we-=oe,0>we?we+=360:360<=we&&(we-=360),fe=zx(E,fe,we,le.isOrthogonal),fe===0?(fe=4,180we&&(we+=360)),be=a.pe[z],be===void 0?(be=new ry(le,we,fe),a.pe[z]=be):(be.link=le,be.angle=we,be.Nc=fe),be.hv.set(ue),z++}}}}for(_e.free(re),a.pe.sort(ag.prototype.j),oe=a.pe.length,b=-1,z=re=0;zMath.abs(Te)?(vt=Math.abs(Te)/we,we=Math.abs(Te)):vt=1;break;case 2:be>Math.abs(Pt)?(vt=Math.abs(Pt)/be,be=Math.abs(Pt)):vt=1;break;case 1:fe>Math.abs(Te)?(vt=Math.abs(Te)/fe,fe=Math.abs(Te)):vt=1;break;default:case 4:ue>Math.abs(Pt)?(vt=Math.abs(Pt)/ue,ue=Math.abs(Pt)):vt=1}Je=0}var vn=Mt.Zo;if(b===Uv){switch(Mt=Mt.link.computeThickness(),Mt*=vt,vn.set(jt),Ae){case 8:vn.x=jt.x+Te/2+we/2-Je-Mt/2;break;case 2:vn.y=jt.y+Pt/2+be/2-Je-Mt/2;break;case 1:vn.x=jt.x+Te/2-fe/2+Je+Mt/2;break;default:case 4:vn.y=jt.y+Pt/2-ue/2+Je+Mt/2}Je+=Mt}else{var ki=.5;b===Qm&&(ki=(Mt.Uo+1)/(Mt.Gl+1)),vn.x=jt.x+Te*ki,vn.y=jt.y+Pt*ki}}}for(_e.free(re),_e.free(oe),_e.free(ee),_e.free(le),jt=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},ag.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,Da,y.fromPort===this.port),b=a.Uo;if(0>b)return x;var E=a.Gl;if(1>=E||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(b=E-1-b),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,b=x,E+=ee+20,ee=0):z++}},Za.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,b=this.arrangementOrigin.y,E=0,z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value.node;if(!(re===null||re instanceof xi)&&(zp(re),this.rh(re))){var oe=re.measuredBounds,le=oe.width;oe=oe.height,re.moveTo(x,b),re instanceof Jr&&(re.rh=!1),x+=Math.max(le,50)+20,z=Math.max(z,Math.max(oe,50)),E>=a-1?(E=0,x=y,b+=z+20,z=0):E++}}},Za.prototype.rh=function(a){return!!(!a.location.w()||a instanceof Jr&&a.rh)};function Jh(a,y,x,b,E,z,ee,re){for(x=x.iterator;x.next();){var oe=x.value;b&&!oe.isTopLevel||E!==null&&!E(oe)||!oe.canLayout()||(z&&oe instanceof Ti?oe.isLinkLabel||(oe instanceof Jr&&oe.layout===null?Jh(a,y,oe.memberParts,!1,E,z,ee,re):(zp(oe),y.add(oe))):ee&&oe instanceof xi?y.add(oe):!re||!oe.Zc()||oe instanceof Ti||(zp(oe),y.add(oe)))}}function zp(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Za.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new xn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Za.prototype.ex=function(a){var y=new Fn;return a instanceof pn?(Jh(this,y,a.nodes,!0,null,!0,!0,!0),Jh(this,y,a.links,!0,null,!0,!0,!0),Jh(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof Jr?Jh(this,y,a.memberParts,!1,null,!0,!0,!0):Jh(this,y,a.iterator,!1,null,!0,!0,!0),y},Za.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(pa),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},ze.Object.defineProperties(Za.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Za.prototype.collectParts=Za.prototype.ex,Za.prototype.getLayoutBounds=Za.prototype.ni,Za.prototype.invalidateLayout=Za.prototype.C,Za.className="Layout";function Ea(a){fr(this),this.Sc=a,this.wf=new Fn,this.ye=new Fn,this.Es=new Ri,this.zs=new Ri}Ea.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Fn,this.ye=new Fn,this.Es=new Ri,this.zs=new Ri},Ea.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1y?1:0):1:y!==null?-1:0}ze.Object.defineProperties(Xs.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,b=y.width;y=y.height,this.o.h(b/2,y/2),this.j.h(a,x,b,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=xn.alloc(),b=y.ni(a,x);y=b.x;var E=b.y,z=b.width;if(b=b.height,isNaN(y)&&(y=0),isNaN(E)&&(E=0),this.j.h(y,E,z,b),xn.free(x),!(a instanceof Jr)&&(a=a.locationObject.ga(So),a.w())){this.o.h(a.x-y,a.y-E);return}this.o.h(z/2,b/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Fn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Fn,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Fn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new Bn,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),Xs.prototype.deleteDestinationEdge=Xs.prototype.Jl,Xs.prototype.addDestinationEdge=Xs.prototype.zl,Xs.prototype.deleteSourceEdge=Xs.prototype.Kl,Xs.prototype.addSourceEdge=Xs.prototype.Cl,Xs.className="LayoutVertex",Xs.standardComparer=ly,Xs.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},Gu.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},Gu.prototype.commit=function(){},Gu.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},ze.Object.defineProperties(Gu.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),Gu.prototype.getOtherVertex=Gu.prototype.Ax,Gu.className="LayoutEdge";function Cl(a){Za.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new Hn(NaN,NaN).freeze(),this.tf=new Hn(10,10).freeze(),this.Jb=jp,this.Rb=c0,this.nd=Hp,this.hd=gS,a&&Object.assign(this,a)}bt(Cl,Za),Cl.prototype.cloneProtected=function(a){Za.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},Cl.prototype.qb=function(a){a.classType===Cl?a===Hp||a===h0||a===uy||a===d0?this.sorting=a:a===c0||a===rd?this.arrangement=a:a===jp||a===u0?this.alignment=a:st("Unknown enum value: "+a):Za.prototype.qb.call(this,a)},Cl.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var b=x.value;if(!b.ph()||b.fromNode===null&&b.toNode===null){if(b.Va(),b instanceof Jr)for(b=b.memberParts;b.next();)y.remove(b.value)}else y.remove(b)}var E=y.Fa();if(E.length!==0){switch(this.sorting){case d0:E.reverse();break;case Hp:E.sort(this.comparer);break;case h0:E.sort(this.comparer),E.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var ee=this.wrappingWidth;switch(isNaN(ee)&&a!==null?(y=a.padding,ee=Math.max(a.viewportBounds.width-y.left-y.right,0)):ee=Math.max(this.wrappingWidth,0),0>=z&&0>=ee&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),b=[],this.alignment){case u0:var re=y,oe=x,le=xn.alloc(),ue=Math.max(this.cellSize.width,1);if(!isFinite(ue))for(var fe=ue=0;fez-1||0ee)&&(b.push(new xn(0,Te,ee+re,Je)),ot=0,Ae=be,Te+=Je,Je=0),Je=Math.max(Je,vn),we){case rd:Mt=-Mt.width;break;default:Mt=0}switch(Pt.moveTo(Ae+Mt,Te),we){case rd:Ae-=jt;break;default:Ae+=jt}ot++}b.push(new xn(0,Te,ee+re,Je)),xn.free(le);break;case jp:for(oe=ee,ue=z,fe=y,we=x,ee=xn.alloc(),be=Math.max(this.cellSize.width,1),z=Te=le=0,re=_e.alloc(),Ae=0;Ae=le&&(oe-=le),le=Pt=0,jt=Math.max(this.cellSize.height,1),Mt=z=0,vn=!0,ot=_e.alloc(),ki=0;kiue-1||0oe){for(b.push(new xn(0,vn?vt-z:vt,oe+fe,Mt+z+we)),Xi=0;Xile&&(z.width+=z.x-le,z.x=le);xn.free(ee)}for(re=z=ee=E=0;rey?1:0}ze.Object.defineProperties(Cl.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0fe)){var Te=fe+wp(Ae);Ae.pc(Te,!0),bv(Ae,Te,fe)}}y.isModified=!0}}finally{y.aa=!0}}}}},aa.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},aa.prototype.rp=function(){for(var a=this.H.model,y=new Fn,x=a.nodeDataArray,b=0;b=b)return"[]";var E=new Ii;E.add("["),x&&1b)return;yi(a.Tc,b)}Ws(a,"nodeDataArray",Ni,"nodeDataArray",a,y,null,b,null),a.qp(y)}Ee.nA=function(a){if(hn(a))for(var y=a.length,x=0;xy&&(y=a.length),gi(a,y,x),Ws(this,"",pi,"",a,null,x,null,y)},Ee.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&st("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];yi(a,y),Ws(this,"",Ni,"",a,x,null,y,null)},Ee.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=As(a,y),y===void 0))return"";if(typeof y=="string")return y;st("getCategoryForNodeData found a non-string category for "+a+": "+y)},Ee.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var b=As(a,x);b===void 0&&(b=""),b!==y&&(ja(a,x,y),Ws(this,"nodeCategory",di,x,a,b,y))}else ja(a,x,y)}},Ee.lm=function(a,y){this.jm(y,this.Ro(a))},Ee.Tl=function(){return!1},Ee.Wj=function(){return!1},Ee.ri=function(){return!1},Ee.xs=function(){return!1},Ee.Xj=function(){return!1};function gy(){return new nr}function Zp(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return Zp(a,y.constructor);return typeof y}function py(a){return Vc[a]?Vc[a]:$e.go!==void 0&&$e.go[a]?$e.go[a]:null}function As(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(b){}return x}function ja(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(b){}}ze.Object.defineProperties(nr.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&st("Model.nodeKeyProperty may not be the empty string"),0"+ic(this,E,!1)}return y},Ee.Qv=function(a,y){this.linkKeyProperty===""&&st("GraphLinksModel.linkKeyProperty must not be an empty string for .toIncrementalData() to succeed.");var x=nr.prototype.Qv.call(this,a,y),b=this,E=new Fn,z=new Fn,ee=new Fn,re=this.vh;a.changes.each(function(ue){ue.model===b&&(ue.modelChange==="linkDataArray"?ue.change===pi?E.add(ue.newValue):ue.change===Ni&&ee.add(ue.oldValue):b.Jc(ue.object)?z.add(ue.object):ue.object!==null&&(ue.object!==null&&re&&re.contains(ue.object)?re.get(ue.object).each(function(fe){b.Jc(fe)&&z.add(fe)}):ue.object instanceof nr||b.lb(ue.object)||BS(b,ue.object).each(function(fe){z.add(fe)})))});var oe=this.il;oe.clear(),E.each(function(ue){oe.add(b.Ac(ue)),y||z.add(ue)});var le=this.kl;return le.clear(),ee.each(function(ue){le.add(b.Ac(ue)),y&&z.add(ue)}),a=b.cloneDeep(z.Fa()),0b.indexOf(a.newValue)&&b.splice(x,0,a.newValue));return}}else if(a.change===Ni){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,nn(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue):(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)));return}}nr.prototype.changeState.call(this,a,y)}},Ee=To.prototype,Ee.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),ja(x,this.nodeKeyProperty,a),this.xf(x))}return a}},Ee.yx=function(a){return ic(this,a,!0)},Ee.wv=function(a,y){Kg(this,a,y,!0)},Ee.Bx=function(a){return ic(this,a,!1)},Ee.Bv=function(a,y){Kg(this,a,y,!1)};function ic(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=As(y,a),a!==void 0))){if(_h(a))return a;st((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function Kg(a,y,x,b){if(x===null&&(x=void 0),y!==null){var E=b?a.lf:a.mf;if(E!=="")if(x=a.Vl(x),a.Jc(y)){var z=As(y,E);z!==x&&(ad(a,z,y),ja(y,E,x),a.hc(x)===null&&od(a,x,y),Ws(a,b?"linkFromKey":"linkToKey",di,E,y,z,x),typeof E=="string"&&a.La(y,E))}else ja(y,E,x)}}Ee.zx=function(a){return v0(this,a,!0)},Ee.xv=function(a,y){Vg(this,a,y,!0)},Ee.Cx=function(a){return v0(this,a,!1)},Ee.Cv=function(a,y){Vg(this,a,y,!1)};function v0(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=As(y,a),y===void 0?"":y)}function Vg(a,y,x,b){if(y!==null){var E=b?a.ej:a.fj;if(E!=="")if(a.Jc(y)){var z=As(y,E);z===void 0&&(z=""),z!==x&&(ja(y,E,x),Ws(a,b?"linkFromPortId":"linkToPortId",di,E,y,z,x),typeof E=="string"&&a.La(y,E))}else ja(y,E,x)}}Ee.Ef=function(a){if(a===null)return y0;var y=this.je;return y===""?y0:(a=As(a,y),a===void 0?y0:a)},Ee.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var b=As(a,x);if(b===void 0&&(b=y0),b!==y){if(Array.isArray(b))for(var E=b.length,z=0;zE||(b.splice(E,1),this.Jc(a)&&(ad(this,y,a),Ws(this,"linkLabelKeys",Ni,x,a,y,null,E,null)))}else b!==void 0&&st(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Ee.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=As(a,y),y!==void 0)){if(_h(y))return y;st("Key value for link data "+a+" is not a number or a string: "+y)}}},Ee.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var b=As(a,x);b!==y&&this.jh(y)===null&&(ja(a,x,y),b!==void 0&&this.wb.remove(b),this.wb.add(y,a),Ws(this,"linkKey",di,x,a,b,y),typeof x=="string"&&this.La(a,x))}else ja(a,x,y)}},Ee.jh=function(a){return a===null&&st("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&_h(a)?this.wb.I(a):null},Ee.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var b=this.cl;if(b!==null&&(x=b(this,a),x!=null&&!this.wb.contains(x))){ja(a,y,x);return}if(typeof x=="string"){for(b=2;this.wb.contains(x+b);)b++;ja(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;ja(a,y,x)}}}}},Ee.Jc=function(a){return a===null?!1:this.$f.contains(a)},Ee.fi=function(a){a!==null&&(Qr(a),this.Jc(a)||TS(this,a,!0))};function TS(a,y,x){if(a.linkKeyProperty!==""){var b=a.Ac(y);if(b!==void 0&&a.wb.I(b)===y)return;a.Bs(y),b=a.Ac(y),b===void 0&&st("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(b,y)}a.$f.add(y),b=null,x&&(b=a.md.length,a.md.splice(b,0,y)),Ws(a,"linkDataArray",pi,"linkDataArray",a,null,y,null,b),my(a,y)}Ee.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;xb)return;a.md.splice(b,1)}if(Ws(a,"linkDataArray",Ni,"linkDataArray",a,y,null,b,null),x=ic(a,y,!0),ad(a,x,y),x=ic(a,y,!1),ad(a,x,y),b=a.Ef(y),Array.isArray(b))for(var E=b.length,z=0;z=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new Bn;y.addAll(a.iterator),a=new Bn;var x=new Bn,b=this.sort(y),E,z,ee=this.Jp,re=this.arrangement,oe=this.nodeDiameterFormula,le=this.radius;(!isFinite(le)||0>=le)&&(le=NaN);var ue=this.aspectRatio;(!isFinite(ue)||0>=ue)&&(ue=1);var fe=this.startAngle;isFinite(fe)||(fe=0);var we=this.sweepAngle;if((!isFinite(we)||360we)&&(we=360),y=this.spacing,isFinite(y)||(y=NaN),re===Yc&&oe===sg?re=Gc:re===Yc&&oe!==sg&&(re=this.arrangement),(this.direction===Tf||this.direction===Gg)&&this.sorting!==Yg){for(oe=0;!(oe>=b.length)&&(a.add(b.M(oe)),!(oe+1>=b.length));oe+=2)x.add(b.M(oe+1));this.direction===Tf?(this.arrangement===Yc&&a.reverse(),b=new Bn,b.addAll(a),b.addAll(x)):(this.arrangement===Yc&&x.reverse(),b=new Bn,b.addAll(x),b.addAll(a))}oe=b.length;for(var be=z=E=0;bewe&&(be===0||be===b.length-1)&&(Te/=2),E+=Te,z++}if(isNaN(le)||re===Yc){if(isNaN(y)&&(y=6),re!==Gc&&re!==Yc){for(z=-1/0,ee=0;eele?(le=E,z=le*ue):ee=be/(360<=we?oe:oe-1)}if(this.kw=re,this.lc=le,this.Zm=ue,this.lw=fe,this.Wp=we,this.Ti=y,this.me=z,this.Jp=ee,y=b,b=this.kw,re=this.lc,le=this.lw,ue=this.Wp,fe=this.Ti,we=this.me,oe=this.Jp,this.direction!==Tf&&this.direction!==Gg||b!==Yc)if(this.direction===Tf||this.direction===Gg){switch(ee=0,b){case $h:ee=180*x0(this,re,we,le,oe)/Math.PI;break;case Gc:oe=y=0,ee=a.first(),ee!==null&&(y=ef(ee,Math.PI/2)),ee=x.first(),ee!==null&&(oe=ef(ee,Math.PI/2)),ee=180*x0(this,re,we,le,fe+(y+oe)/2)/Math.PI;break;case Lh:ee=ue/y.length}if(this.direction===Tf){switch(b){case $h:Yp(this,a,le,qh);break;case Gc:Gp(this,a,le,qh);break;case Lh:Vp(this,a,ue/2,le,qh)}switch(b){case $h:Yp(this,x,le+ee,cu);break;case Gc:Gp(this,x,le+ee,cu);break;case Lh:Vp(this,x,ue/2,le+ee,cu)}}else{switch(b){case $h:Yp(this,x,le,qh);break;case Gc:Gp(this,x,le,qh);break;case Lh:Vp(this,x,ue/2,le,qh)}switch(b){case $h:Yp(this,a,le+ee,cu);break;case Gc:Gp(this,a,le+ee,cu);break;case Lh:Vp(this,a,ue/2,le+ee,cu)}}}else switch(b){case $h:Yp(this,y,le,this.direction);break;case Gc:Gp(this,y,le,this.direction);break;case Lh:Vp(this,y,ue,le,this.direction);break;case Yc:RS(this,y,ue,le,this.direction)}else RS(this,y,ue,le-ue/2,cu)}this.updateParts(),this.network=null,this.isValidLayout=!0};function Vp(a,y,x,b,E){var z=a.Wp,ee=a.lc;a=a.me,b=b*Math.PI/180,x=x*Math.PI/180;for(var re=y.length,oe=0;oex){for(z=b+(E===cu?z:-z);0>z;)z+=360;z%=360,180=ue.length-1));fe++)HS(a,oe,le,ue,fe,E,z)||WS(a,oe,le,ue,fe,E,z),oe=z.x,le=z.y;if(_e.free(z),a.mj++,!(23Math.abs(be)?Math.abs(oe-z)<(ue[0].width+ue[ue.length-1].width)/2&&(ee=0):ee=0Math.abs(we)?0:we,oe=Math.abs(z)>Math.abs(fe)?0fe:0a.mj?a.lc-ee/(2*Math.PI):5>ue.length&&10=fe.length-1));we++)HS(a,oe,le,fe,we,E,ue)||WS(a,oe,le,fe,we,E,ue),oe=ue.x,le=ue.y;if(_e.free(ue),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0re){if(z=y-a,z<-re)return ee.x=z,ee.y=le,!1;ue=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return ee.x=z,ee.y=le,!1;ue=!0}return le=Math.sqrt(1-Math.min(1,z*z/(re*re)))*oe,0>x!==ue&&(le=-le),Math.abs(x-le)>(b[E].height+b[E+1].height)/2?(ee.x=z,ee.y=le,!1):(ee.x=z,ee.y=le,!0)}function WS(a,y,x,b,E,z,ee){var re=a.lc,oe=a.me,le=0;if(a=(b[E].height+b[E+1].height)/2+a.Ti,b=!1,0<=y!=(z===cu)){if(z=x-a,z<-oe){if(z=x+a,z>oe){ee.x=le,ee.y=z;return}b=!0}}else if(z=x+a,z>oe){if(z=x-a,z<-oe){ee.x=le,ee.y=z;return}b=!0}le=Math.sqrt(1-Math.min(1,z*z/(oe*oe)))*re,0>y!==b&&(le=-le),ee.x=le,ee.y=z}es.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},es.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new _e(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;E.x+=x.x,E.y+=x.y,E.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},es.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function vy(a,y,x,b,E){var z=a.ty;if(.001>Math.abs(a.Zm-1))return b!==void 0&&E!==void 0?E*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var ee=0,re=b!==void 0&&E!==void 0?E/(z+1):Math.PI/(2*(z+1)),oe=0,le=0;le<=z;le++){b!==void 0&&E!==void 0?oe=b+le*E/z:oe=le*Math.PI/(2*z);var ue=Math.sin(oe);ee+=Math.sqrt(1-a*a*ue*ue)*re}return b!==void 0&&E!==void 0?(y>x?y:x)*ee:4*(y>x?y:x)*ee}function S0(a,y,x,b,E){return y/(b!==void 0&&E!==void 0?vy(a,1,x,b,E):vy(a,1,x))}function x0(a,y,x,b,E){if(.001>Math.abs(a.Zm-1))return E/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,ee=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(b+=Math.PI/2);for(var re=0;;re++){var oe=Math.sin(b+re*a);if(ee+=(y>x?y:x)*Math.sqrt(1-z*z*oe*oe)*a,ee>=E)return re*a}}es.prototype.sort=function(a){switch(this.sorting){case w0:break;case P0:a.reverse();break;case C0:a.sort(this.comparer);break;case b0:a.sort(this.comparer),a.reverse();break;case Yg:return this.ak(Zx(a));default:st("Invalid sorting type.")}return a};function Zx(a){for(var y=[],x=0;xE&&(E=re,z=ee)}else for(ee=0;eeE&&(E=re,z=ee);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),ee=z.sourceEdges;ee.next();)E=a.indexOf(ee.value.fromVertex),0>E||0<=y[E]&&y[E]++;for(z=z.destinationEdges;z.next();)E=a.indexOf(z.value.toVertex),0>E||0<=y[E]&&y[E]++}return x}es.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(E)&&y[x].push(E);for(b=b.sourceEdges;b.next();)E=a.indexOf(b.value.fromVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E)}for(z=[],x=0;xy[x[Ae]].indexOf(x[Ae===x.length-1?0:Ae+1])&&be.push(Ae===x.length-1?0:Ae+1);if(be.length===0)for(Ae=0;Aex.indexOf(vn)||jtx.indexOf(vn)||jt=Te?jt+1:jt)),Je+=jt=Te&&jt++,Pt>=Te&&Pt++,jt>Pt&&(Mt=Pt,Pt=jt,jt=Mt),Pt-jt<(x.length+2)/2==(jtbe||be===ue||(Ae=be>ue?be-ue:ue-be,fe+=beee-Ae?1:-1);x.splice(0>fe?ue:ue+1,0,oe),b.splice(re,1),re--}else z=!1;if(z)break;x.push(b[0]),b.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==Yc&&a!==Gc&&a!==$h&&a!==Lh||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==cu&&a!==qh&&a!==Tf&&a!==Gg||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==w0&&a!==P0&&a!==C0&&!b0&&a!==Yg||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==E0&&a!==sg||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var Gc=new En(es,"ConstantSpacing",0),$h=new En(es,"ConstantDistance",1),Lh=new En(es,"ConstantAngle",2),Yc=new En(es,"Packed",3),cu=new En(es,"Clockwise",4),qh=new En(es,"Counterclockwise",5),Tf=new En(es,"BidirectionalLeft",6),Gg=new En(es,"BidirectionalRight",7),w0=new En(es,"Forwards",8),P0=new En(es,"Reverse",9),C0=new En(es,"Ascending",10),b0=new En(es,"Descending",11),Yg=new En(es,"Optimized",12),E0=new En(es,"Pythagorean",13),sg=new En(es,"Circular",14);es.className="CircularLayout",es.ConstantSpacing=Gc,es.ConstantDistance=$h,es.ConstantAngle=Lh,es.Packed=Yc,es.Clockwise=cu,es.Counterclockwise=qh,es.BidirectionalLeft=Tf,es.BidirectionalRight=Gg,es.Forwards=w0,es.Reverse=P0,es.Ascending=C0,es.Descending=b0,es.Optimized=Yg,es.Pythagorean=E0,es.Circular=sg;function Up(){this.Pl=-1/0,this.tm=this.mk=null}Up.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0re?(E=we.x+we.width/2,z=we.y+we.height/2,le[0]=new _e(we.x+we.width+b.width,we.y),le[1]=new _e(we.x,we.y+we.height+b.height),re=2):(oe=KS(le,re,E,z,we.width,we.height,b),fe=le[oe],be=new _e(fe.x+we.width+b.width,fe.y),we=new _e(fe.x,fe.y+we.height+b.height),oe+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,b=this.network.vertexes.iterator;b.next();){if(b.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,b){return x===null||b===null||x===b?0:b.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=ee))){for(var le=re=0,ue=oe.count-ee;uebe&&(be=1),re=Wt.sqrt((re+be+le*le*4/(ee*ee))/be),ee=(re-1)*ue/2,re=(re-1)*fe/2,E.bounds=new xn(z-we.x-ee,oe-we.y-re,ue+2*ee,fe+2*re),E.focus=new _e(we.x+ee,we.y+re)}}return a.network=b,x}function Gx(a,y){for(var x=a.network.vertexes.iterator;x.next();){var b=x.value;if(b.network=y,b.We!==null){var E=b.We.M(b.sv);b.Vd=E.Rs;var z=E.Sv,ee=E.Tv;b.bounds=new xn(b.centerX-z,b.centerY-ee,E.Ss,E.Qs),b.focus=new _e(z,ee),b.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function Yx(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var b=y.centerX,E=y.centerY,z=y.width,ee=y.height;y.We!==null&&0=fe.Vd?oe++:(re=!0,le++,ee+=Math.atan2(y.centerY-fe.centerY,y.centerX-fe.centerX))}if(oe!==0){for(0>1)+le)*(re%2===0?1:-1),oe.centerX=b+ue*Math.cos(fe),oe.centerY=E+ue*Math.sin(fe),re++}}}}function KS(a,y,x,b,E,z,ee){var re=9e19,oe=-1,le=0;e:for(;leue.y&&a[we].x-ue.xue.x&&a[we].y-ue.yy+z?(x=b+E-ee,a=a-y-z,Wt.sqrt(x*x+a*a)):a+xee+re?a>y+z?(x=b-ee-re,a=a-y-z,Wt.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var b=x.centerX,E=b,z=x=x.centerY,ee=1;eez-x)?y.sort(function(Te,ot){return Te===null||ot===null||Te===ot?0:Te.centerX-ot.centerX}):y.sort(function(Te,ot){return Te===null||ot===null||Te===ot?0:Te.centerY-ot.centerY}),x=a.Zf;var le=b=re=0;for(z=0;zx||le-oe>x){if(E)break}else if(ue-be>x||be-ue>x){if(!E)break}else{var Ae=VS(ee,we);1>Ae?(b=a.randomNumberGenerator,b===null&&(a.randomNumberGenerator=b=new L0),Ae=b.random(),re=b.random(),oe>le?(b=Math.abs(we.bounds.right-ee.bounds.x),b=(1+b)*Ae):oebe?(le=Math.abs(we.bounds.bottom-ee.bounds.y),le=(1+le)*re):oefe?(fe=a.randomNumberGenerator,fe===null&&(a.randomNumberGenerator=fe=new L0),re=fe.random(),fe=fe.random(),b=(b>oe?1:-1)*(1+(z.width>x.width?z.width:x.width))*re,le=(ee>ue?1:-1)*(1+(z.height>x.height?z.height:x.height))*fe):(re=re.stiffness*(fe-re.length),b=(oe-b)/fe*re,le=(ue-ee)/fe*re),x.forceX+=b,x.forceY+=le,z.forceX-=b,z.forceY-=le;for(E=b=0;Ea.epsilonDistance*a.epsilonDistance}Bl.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,b=this.moveLimit;return y<-b?y=-b:y>b&&(y=b),x<-b?x=-b:x>b&&(x=b),a.centerX+=y,a.centerY+=x,y*y+x*x},Bl.prototype.moveFixedVertex=function(){},Bl.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Bl.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Jo,y.toSpot=Jo)}},Bl.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=xn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,xn.free(x)}x=xn.alloc();for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;(a!==0||y!==0)&&(x.assign(E.bounds),x.x+=a,x.y+=y,E.bounds=x),E.commit()}xn.free(x)},Bl.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Bl.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Bl.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Bl.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Bl.prototype.electricalFieldX=function(){return 0},Bl.prototype.electricalFieldY=function(){return 0},Bl.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Bl.prototype.gravitationalFieldX=function(){return 0},Bl.prototype.gravitationalFieldY=function(){return 0},Bl.prototype.isFixed=function(a){return a.isFixed},ze.Object.defineProperties(Bl.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Te&&0Te&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]ee)for(var ue=ee+1;ueoe;ue--)fe=b[ue],fe.near===le&&fe.Dj===le.Dj||re++;var we;if(0<=x)for(oe=b[ee].sourceEdgesArrayAccess,le=0;leTe||fe===Te&&be>Ae)&&re++,otfe||Te===fe&&Ae>be)&&re++}}}if(0>=x){for(oe=b[ee].destinationEdgesArrayAccess,le=0;leTe||fe===Te&&ue>ot)&&re++,Aefe||Te===fe&&ot>ue)&&re++)}for(z[ee*E+ee]=re,oe=ee+1;oe=x){for(re=b[ee].destinationEdgesArrayAccess,Pt=b[oe].destinationEdgesArrayAccess,le=0;le=x&&(oe=re.sourceEdgesArrayAccess);var le=null;0<=x&&(le=re.destinationEdgesArrayAccess);var ue=0,fe=0,we=re.near;if(we!==null&&we.layer===re.layer&&(ue+=we.column-1,fe++),oe!==null)for(we=0;we=x&&(oe=re.sourceEdgesArrayAccess);var le=null;0<=x&&(le=re.destinationEdgesArrayAccess);var ue=0,fe=[],we=re.near;if(we!==null&&we.layer===re.layer&&(fe[ue]=we.column-1,ue++),re=void 0,oe!==null)for(we=0;we>1,z[ee]=ue&1?fe[le]:fe[le-1]+fe[le]>>1)}return nf(a,y,b),z}function _p(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var ee=y.destinationEdges;ee.next();){var re=ee.value,oe=re.toVertex,le=y.layer-oe.layer;re=a.linkMinLength(re),le===re&&_p(a,oe,x,b,E,z)}if(z)for(ee=y.sourceEdges;ee.next();)re=ee.value,oe=re.fromVertex,le=oe.layer-y.layer,re=a.linkMinLength(re),le===re&&_p(a,oe,x,b,E,z)}}function xy(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var ee=y.destinationEdges;ee.next();)xy(a,ee.value.toVertex,x,b,E,z);if(z)for(y=y.sourceEdges;y.next();)xy(a,y.value.fromVertex,x,b,E,z)}}sa.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case Cy:a=this.network;var y=0,x=a.vertexes.count-1,b=[];b.length=x+1;for(var E=a.vertexes.iterator;E.next();)E.value.valid=!0;for(;Xx(a)!==null;){for(E=JS(a);E!==null;)b[x]=E,x--,E.valid=!1,E=JS(a);for(E=QS(a);E!==null;)b[y]=E,y++,E.valid=!1,E=QS(a);E=null;for(var z=0,ee=this.network.vertexes.iterator;ee.next();){var re=ee.value;if(re.valid){for(var oe=0,le=re.destinationEdges;le.next();)le.value.toVertex.valid&&oe++;le=0;for(var ue=re.sourceEdges;ue.next();)ue.value.fromVertex.valid&&le++;(E===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case D0:for(b=this.network.vertexes.iterator;b.next();)a=b.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,b.reset();b.next();)y=b.value,y.sourceEdges.count===0&&wy(this,y);for(b.reset();b.next();)y=b.value,y.Ll===-1&&wy(this,y);for(a.reset();a.next();)b=a.value,b.forest||(y=b.fromVertex,x=y.finish,E=b.toVertex,z=E.finish,E.Llb){if(0>b)for(y.reset();y.next();)y.value.layer-=b;for(b=[],y.reset();y.next();)x=y.value,E=b[x.layer],E===void 0?b[x.layer]=[x]:E.push(x);for(x=y=0;xee&&_p(a,re,0,-1,!0,!1)}for(_p(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,b=1/0,re=0,oe=null,ee=a.network.vertexes.iterator;ee.next();){var le=ee.value;if(le.component===1){var ue=0,fe=!1,we=le.sourceEdgesArrayAccess;E=we.length;for(var be=0;bez)&&!ue&&(re=ee,z=le)}if(0>b){for(x.reset();x.next();)b=x.value,b.component===1&&(b.layer-=E);y.component=0}else re.component=0}}}function tx(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}sa.prototype.initializeIndices=function(){switch(this.Qk){default:case Ly:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case T0:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&nx(this,x);break;case Ay:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&ix(this,x)}};function nx(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var b=0;bz.portFromColOffset&&(x=!0,y[b]=z,y[b+1]=E)}}for(x=0;xz.portToColOffset&&(b=!0,y[x]=z,y[x+1]=E)}for(x=0;x=ee;b--)z=kc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=kc(this,b,1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=kc(this,b,1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=kc(this,b,-1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=kc(this,b,0)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=kc(this,b,0)||z;E>=a?mc(this,y):(a=E,y=Eu(this))}break;default:case O0:for(x=this.Ia,ee=0,re=a+1;(b=this.countCrossings())=ee;b--)z=kc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=kc(this,b,1)||z;for(E=this.countCrossings(),E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=kc(this,b,1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=kc(this,b,-1)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=x;b>=ee;b--)z=kc(this,b,0)||z;for(E>=a?mc(this,y):(a=E,y=Eu(this)),z=!0;z;)for(z=!1,b=ee;b<=x;b++)z=kc(this,b,0)||z;E>=a?mc(this,y):(a=E,y=Eu(this))}}mc(this,y)};function F0(a,y,x){var b=tf(a,y),E=a.tc[y],z=XS(a,y,x),ee=Sy(a,y,x);for(x=0;xz+1&&(we+=4*(vt-z),be+=4*(vt-(z+1)))}for(Mt=b[z].destinationEdges.iterator,Mt.reset();Mt.next();)if(vt=Mt.value,Pt=vt.toVertex,vt.valid&&Pt.layer===y){for(vt=0;b[vt]!==Pt;)vt++;vt===z+1&&(be+=1)}for(Mt=b[z+1].sourceEdges.iterator,Mt.reset();Mt.next();)if(vt=Mt.value,Pt=vt.fromVertex,vt.valid&&Pt.layer===y){for(vt=0;b[vt]!==Pt;)vt++;vtz+1&&(we+=4*(vt-(z+1)),be+=4*(vt-z))}for(Mt=b[z+1].destinationEdges.iterator,Mt.reset();Mt.next();)if(vt=Mt.value,Pt=vt.toVertex,vt.valid&&Pt.layer===y){for(vt=0;b[vt]!==Pt;)vt++;vt===z&&(we+=1)}vt=Pt=0,Mt=ee[b[z].index];var jt=re[b[z].index],vn=ee[b[z+1].index],ki=re[b[z+1].index];Mt!==-1&&(Pt+=Math.abs(Mt-Ae),vt+=Math.abs(Mt-Je)),jt!==-1&&(Pt+=Math.abs(jt-Ae),vt+=Math.abs(jt-Je)),vn!==-1&&(Pt+=Math.abs(vn-Te),vt+=Math.abs(vn-ot)),ki!==-1&&(Pt+=Math.abs(ki-Te),vt+=Math.abs(ki-ot)),(be>1)+8*b;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=Xg(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=Xg(this,y,-1)||x;x=Xg(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)Py(this,y,1);for(y=this.Md-1;0<=y;y--)Py(this,y,-1);Py(this,this.Md,0)}if(a&&(rx(this,-1),rx(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=Xg(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=Xg(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=Xg(this,y,0)||x}}else $x(this)};function Xg(a,y,x){for(var b=!1;Jx(a,y,x);)b=!0;return b}function Jx(a,y,x){var b,E=tf(a,y),z=a.tc[y],ee=Sy(a,y,-1);if(0x)for(b=0;bb-1||ue-E[b-1].column-1>fe+a.nodeMinColumnSpace(E[b-1],!1)?be=ue-1:be=ue,fe=b+1>=z||E[b+1].column-ue-1>we+a.nodeMinColumnSpace(E[b+1],!0)?ue+1:ue;var Ae=we=0,Te=0;if(0>=x)for(var ot=E[b].sourceEdges.iterator;ot.next();){var Je=ot.value,vt=Je.fromVertex;if(Je.valid&&vt.layer!==y){var Pt=yy(Je),Mt=Je.portFromColOffset;Je=Je.portToColOffset,vt=vt.column,we+=(Math.abs(ue+Je-(vt+Mt))+1)*Pt,Ae+=(Math.abs(be+Je-(vt+Mt))+1)*Pt,Te+=(Math.abs(fe+Je-(vt+Mt))+1)*Pt}}if(0<=x)for(ot=E[b].destinationEdges.iterator;ot.next();)Je=ot.value,vt=Je.toVertex,Je.valid&&vt.layer!==y&&(Pt=yy(Je),Mt=Je.portFromColOffset,Je=Je.portToColOffset,vt=vt.column,we+=(Math.abs(ue+Mt-(vt+Je))+1)*Pt,Ae+=(Math.abs(be+Mt-(vt+Je))+1)*Pt,Te+=(Math.abs(fe+Mt-(vt+Je))+1)*Pt);Je=Mt=Pt=0,ot=ee[E[b].index],vt=re[E[b].index],ot!==-1&&(Pt+=Math.abs(ot-ue),Mt+=Math.abs(ot-be),Je+=Math.abs(ot-fe)),vt!==-1&&(Pt+=Math.abs(vt-ue),Mt+=Math.abs(vt-be),Je+=Math.abs(vt-fe)),Ae=ee[x]?ue=oe:le<=ee[x]&&(ue=le));ue!==re&&(z=!0,b[x].column=ue)}nf(a,y,b),a.normalize()}function Qx(a,y){for(var x=!0,b=a.network.vertexes.iterator;b.next();){var E=b.value,z=a.nodeMinColumnSpace(E,!0),ee=a.nodeMinColumnSpace(E,!1);if(E.column-z<=y&&E.column+ee>=y){x=!1;break}}if(a=!1,x)for(b.reset();b.next();)x=b.value,x.column>y&&(--x.column,a=!0);return a}function _x(a,y){var x=y+1,b,E=[],z=[];for(b=0;b<=a.Ia;b++)E[b]=!1,z[b]=!1;for(var ee=a.network.vertexes.iterator;ee.next();){b=ee.value;var re=b.column-a.nodeMinColumnSpace(b,!0),oe=b.column+a.nodeMinColumnSpace(b,!1);re<=y&&oe>=y&&(E[b.layer]=!0),re<=x&&oe>=x&&(z[b.layer]=!0)}for(re=!0,x=!1,b=0;b<=a.Ia;b++)re=re&&!(E[b]&&z[b]);if(re)for(ee.reset();ee.next();)a=ee.value,a.column>y&&(--a.column,x=!0);return x}function rx(a,y){for(var x=0;x<=a.Ra;x++)for(;Qx(a,x););for(a.normalize(),x=0;xz?mc(a,E):eey)for(x=a.Ra;0<=x;x--)for(E=Eu(a),z=M0(a),b=z+1;zz?mc(a,E):eex)for(b.reset();b.next();)E=b.value,E.column+a.nodeMinColumnSpace(E,!1)>=y&&(E.component=a.le);for(a.le++,b.reset();b.next();)y=b.value,y.component===-1&&(xy(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(ee=a.Ra;0x)for(b.reset();b.next();)x=b.value,E[x.component]&&(x.column+=1)}function $x(a){for(var y=oi(),x=a.fl.length,b=0;b<=x;b++)y[b]=[];for(b=a.network.vertexes.iterator;b.next();){var E=b.value;y[x-E.layer][E.index]=E}x=new Fn,qx(y,x);var z=null,ee=null,re=null,oe=null,le=(a.ve&1)!==0,ue=(a.ve&2)!==0,fe=(a.ve&4)!==0,we=(a.ve&8)!==0;for(le&&(a.verticalAlignment(y,x,!0),z=N0(a,y,!0,!1)),y.reverse(),fe&&(a.verticalAlignment(y,x,!1),re=N0(a,y,!1,!1)),b=fi(y),E=b.next();!E.done;E=b.next())E.value.reverse();we&&(a.verticalAlignment(y,x,!1),oe=N0(a,y,!1,!0)),y.reverse(),ue&&(a.verticalAlignment(y,x,!0),ee=N0(a,y,!0,!0)),Ci(y),a.u(z,ee,re,oe),a.network.vertexes.each(function(be){var Ae=oi();le&&Ae.push(z.get(be)),ue&&Ae.push(ee.get(be)),fe&&Ae.push(re.get(be)),we&&Ae.push(oe.get(be)),Ae.sort(function(ot,Je){return ot-Je});var Te=Ae.length;Te=(Ae[Math.floor((Te-1)/2)]+Ae[Math.ceil((Te-1)/2)])/2,Ci(Ae),be.zc=Te})}function qx(a,y){for(var x=a.length,b=1;bue)&&y.add(fe);z++}E=ue}}}sa.prototype.verticalAlignment=function(a,y,x){ew(a),a=fi(a);for(var b=a.next();!b.done;b=a.next()){var E=-1;b=fi(b.value);for(var z=b.next();!z.done;z=b.next()){z=z.value;var ee=x?Ny(z):iw(z),re=ee.length;if(0=y[x].length)&&(ee=y[x][0],ee.sd===ee)){ee.sd.shift===1/0&&(ee.sd.shift=0),ee=x,re=0;do{for(z=y[ee][re];z.align!==z.root;)z=z.align,ee++,0a&&st("Could not determine previous vertex in layer"),y[x][a-1]}sa.prototype.u=function(a){for(var y=[],x=0;xee;ee++)if(y[ee]){var re=tw(this,y[ee],b,E,ee);reee;z={delta:z.delta},ee++)y[ee]&&(z.delta=ee===0||ee===2?b[x]-b[ee]:E[x]-E[ee],z.delta!==0&&y[ee].each(function(oe){return function(le){le.value+=oe.delta}}(z)));Ci(b),Ci(E)};function tw(a,y,x,b,E){if(!y||y.count===0)return x[E]=0,b[E]=0,1/0;var z=1/0,ee=-1/0;return y.each(function(re){var oe=re.key;re=re.value,oe=a.K===90||a.K===270?oe.width:oe.height,reee&&(ee=re+oe)}),x[E]=z,b[E]=ee,ee-z}sa.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=k0(this,!0),y=k0(this,!1),x=this.network.edges.iterator;x.next();){var b=x.value.link;b!==null&&(b.fromSpot=a,b.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function k0(a,y){return a.K===270?y?rs:xs:a.K===90?y?xs:rs:a.K===180?y?ds:Ls:y?Ls:ds}sa.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var b=0;b<=this.Ia;b++){var E=x;0>=this.he[b]+this.Ld[b]&&(E=0),0=fe.bounds.bottom?(fe=fe.bounds.y+fe.bounds.height,y.m(Te++,Mt,fe+vn),y.m(Te++,Mt,fe),y.m(Te++,Mt,fe-Pt)):(y.m(Te++,Mt,jt+vn),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt-Pt)):this.K===270?jt<=fe.bounds.y?(fe=fe.bounds.y,y.m(Te++,Mt,fe-Pt),y.m(Te++,Mt,fe),y.m(Te++,Mt,fe+vn)):(y.m(Te++,Mt,jt-Pt),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt+vn)):this.K===0&&(Mt>=fe.bounds.right?(fe=fe.bounds.x+fe.bounds.width,y.m(Te++,fe+vn,jt),y.m(Te++,fe,jt),y.m(Te++,fe-Pt,jt)):(y.m(Te++,Mt+vn,jt),y.m(Te++,Mt,jt),y.m(Te++,Mt-Pt,jt)));else{y.m(Te++,Je,vt);var ki=0;this.K===180||this.K===0?((this.K===180?Mt>=fe.bounds.right:Mt<=fe.bounds.x)&&(ki=(this.K===0?-Pt:vn)/2),y.m(Te++,Je+ki,jt)):((this.K===270?jt>=fe.bounds.bottom:jt<=fe.bounds.y)&&(ki=(this.K===90?-Pt:vn)/2),y.m(Te++,Mt,vt+ki)),y.m(Te++,Mt,jt)}}else Pt=Math.max(10,this.he[ot.layer]),vn=Math.max(10,this.Ld[ot.layer]),we?this.K===180?(y.m(Te++,Mt-Pt-Ae,jt),y.m(Te++,Math.min(Mt-Pt+Ae/2,Mt),jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Math.max(Mt+vn-Ae/2,Mt),jt),y.m(Te++,Mt+vn+Ae,jt)):this.K===90?(y.m(Te++,Mt,jt+vn+Ae),y.m(Te++,Mt,Math.max(jt+vn-Ae/2,jt)),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,Math.min(jt-Pt+Ae/2,jt)),y.m(Te++,Mt,jt-Pt-Ae)):this.K===270?(y.m(Te++,Mt,jt-Pt-Ae),y.m(Te++,Mt,Math.min(jt-Pt+Ae/2,jt)),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,Math.max(jt+vn-Ae/2,jt)),y.m(Te++,Mt,jt+vn+Ae)):(y.m(Te++,Mt+vn+Ae,jt),y.m(Te++,Math.max(Mt+vn-Ae/2,Mt),jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Math.min(Mt-Pt+Ae/2,Mt),jt),y.m(Te++,Mt-Pt-Ae,jt)):y.m(Te++,Mt,jt)}fe=ot}(re===null||le!==Da||be)&&(Je=y.i(Te-1).x,vt=y.i(Te-1).y,Mt=y.i(Te).x,jt=y.i(Te).y,be?(Ae=this.Ld[ue.layer],this.K===180||this.K===0?(be=vt,be>=ue.bounds.y&&be<=ue.bounds.bottom&&(this.K===180?Mt>=ue.bounds.x:Mt<=ue.bounds.right)&&(fe=ue.centerX+(this.K===180?-Ae:Ae),be=ue.bounds.x&&be<=ue.bounds.right&&(this.K===270?jt>=ue.bounds.y:jt<=ue.bounds.bottom)&&(fe=ue.centerY+(this.K===270?-Ae:Ae),be=ue.bounds.x?(fe=ue.bounds.x+ue.bounds.width,y.L(Te-2,fe,vt),y.L(Te-1,fe+vn,vt)):this.K===90&&jt<=ue.bounds.bottom?(fe=ue.bounds.y,y.L(Te-2,Je,fe),y.L(Te-1,Je,fe-Pt)):this.K===270&&jt>=ue.bounds.y?(fe=ue.bounds.y+ue.bounds.height,y.L(Te-2,Je,fe),y.L(Te-1,Je,fe+vn)):this.K===0&&Mt<=ue.bounds.right&&(fe=ue.bounds.x,y.L(Te-2,fe,vt),y.L(Te-1,fe-Pt,vt))):(Pt=Math.max(10,this.he[ue.layer]),vn=Math.max(10,this.Ld[ue.layer]),be=0,this.K===180||this.K===0?((this.K===180?Mt<=ue.bounds.x:Mt>=ue.bounds.right)&&(be=(this.K===0?vn:-Pt)/2),y.m(Te++,Mt+be,vt)):((this.K===270?jt<=ue.bounds.y:jt>=ue.bounds.bottom)&&(be=(this.K===90?vn:-Pt)/2),y.m(Te++,Je,jt+be)),y.m(Te++,Mt,jt)))}else{for(;ue!==null&&ue!==fe;){for(Pt=ot=null,ue=ue.destinationEdges.iterator;ue.next()&&(Je=ue.value,Je.link!==x.link||(ot=Je.toVertex,Pt=Je.fromVertex,Pt.node!==null&&(Pt=null),ot.node!==null)););if(ot===null)break;ot!==fe&&(Je=y.i(Te-1).x,vt=y.i(Te-1).y,Mt=ot.centerX,jt=ot.centerY,be?this.K===180||this.K===0?(Pt!==null?Pt.centerY:vt)!==jt&&(Pt=this.Ta[ot.layer]+this.Rf.x,Te===y.firstPickIndex+1&&(Pt=this.K===0?Math.max(Pt,Je):Math.min(Pt,Je)),y.m(Te++,Pt,vt),y.m(Te++,Pt,jt)):(Pt!==null?Pt.centerX:Je)!==Mt&&(Pt=this.Ta[ot.layer]+this.Rf.y,Te===y.firstPickIndex+1&&(Pt=this.K===90?Math.max(Pt,vt):Math.min(Pt,vt)),y.m(Te++,Je,Pt),y.m(Te++,Mt,Pt)):(Pt=Math.max(10,this.he[ot.layer]),vn=Math.max(10,this.Ld[ot.layer]),we?this.K===180?(y.m(Te++,Mt+vn+Ae,jt),y.m(Te++,Math.max(Mt+vn-Ae/2,Mt),jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Math.min(Mt-Pt+Ae/2,Mt),jt),y.m(Te++,Mt-Pt-Ae,jt)):this.K===90?(y.m(Te++,Mt,jt-Pt-Ae),y.m(Te++,Mt,Math.min(jt-Pt+Ae/2,jt)),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,Math.max(jt+vn-Ae/2,jt)),y.m(Te++,Mt,jt+vn+Ae)):this.K===270?(y.m(Te++,Mt,jt+vn+Ae),y.m(Te++,Mt,Math.max(jt+vn-Ae/2,jt)),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,Math.min(jt-Pt+Ae/2,jt)),y.m(Te++,Mt,jt-Pt-Ae)):(y.m(Te++,Mt-Pt-Ae,jt),y.m(Te++,Math.min(Mt-Pt+Ae/2,Mt),jt),y.m(Te++,Mt,jt),y.m(Te++,Mt,jt),y.m(Te++,Math.max(Mt+vn-Ae/2,Mt),jt),y.m(Te++,Mt+vn+Ae,jt)):this.K===180?(y.m(Te++,Mt+vn,jt),y.m(Te++,Mt-Pt,jt)):this.K===90?(y.m(Te++,Mt,jt-Pt),y.m(Te++,Mt,jt+vn)):this.K===270?(y.m(Te++,Mt,jt+vn),y.m(Te++,Mt,jt-Pt)):(y.m(Te++,Mt-Pt,jt),y.m(Te++,Mt+vn,jt)))),ue=ot}be&&(Je=y.i(Te-1).x,vt=y.i(Te-1).y,Mt=y.i(Te).x,jt=y.i(Te).y,this.K===180||this.K===0?vt!==jt&&(Pt=this.K===0?Math.min(Math.max((Mt+Je)/2,this.Ta[fe.layer]+this.Rf.x),Mt):Math.max(Math.min((Mt+Je)/2,this.Ta[fe.layer]+this.Rf.x),Mt),y.m(Te++,Pt,vt),y.m(Te++,Pt,jt)):Je!==Mt&&(Pt=this.K===90?Math.min(Math.max((jt+vt)/2,this.Ta[fe.layer]+this.Rf.y),jt):Math.max(Math.min((jt+vt)/2,this.Ta[fe.layer]+this.Rf.y),jt),y.m(Te++,Je,Pt),y.m(Te++,Mt,Pt)))}b!==null&&we&&4<=y.pointsCount&&(ee!==null&&(ee=le===Da?y.getLinkPointFromPoint(E,ee,ee.ga(So),y.i(3),!0):y.i(0),le===Da&&(le=y.i(2),b=y.i(3),this.direction===90||this.direction===270?(y.L(1,(ee.x+le.x)/2,le.y),y.L(2,b.x,(le.y+b.y)/2)):(y.L(1,le.x,(ee.y+le.y)/2),y.L(2,(le.x+b.x)/2,b.y))),ee.w()||ee.set(E.actualBounds.center),y.L(0,ee.x,ee.y)),re!==null&&(E=oe===Da?y.getLinkPointFromPoint(z,re,re.ga(So),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),oe===Da&&(re=y.i(y.pointsCount-3),oe=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(E.x+re.x)/2,re.y),y.L(y.pointsCount-2,oe.x,(re.y+oe.y)/2)):(y.L(y.pointsCount-2,re.x,(E.y+re.y)/2),y.L(y.pointsCount-3,(re.x+oe.x)/2,oe.y))),E.w()||E.set(z.actualBounds.center),y.L(y.pointsCount-1,E.x,E.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},sa.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new Bn,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(ue=le.y>z.y?0:ee.xz.x&&(ue=le.x>z.x?0:ee.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Ee.Ux=function(a,y){return a instanceof rf&&y instanceof rf&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ee.Js=function(a,y){return a instanceof rf&&y instanceof rf&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ee.B=function(a,y){return a-=y,-1a},Ee.zi=function(a,y,x,b){var E=a.length,z=b-x;if(!(1>=z))if((0>x||x>=E-1)&&st("not in range 0 <= from < length: "+x),z===2)b=a[x],E=a[x+1],0=E)a.sort(y);else for(x=a.slice(0,b),x.sort(y),y=0;y=E)for(b=a.slice(x),b.sort(y),y=x;y=a.He.length){for(var b=[],E=0;Ea&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var D0=new En(sa,"CycleDepthFirst",0),Cy=new En(sa,"CycleGreedy",1),$p=new En(sa,"CycleFromLayers",2),B0=new En(sa,"LayerOptimalLinkLength",0),by=new En(sa,"LayerLongestPathSink",1),Ey=new En(sa,"LayerLongestPathSource",2),T0=new En(sa,"InitDepthFirstOut",0),Ay=new En(sa,"InitDepthFirstIn",1),Ly=new En(sa,"InitNaive",2),My=new En(sa,"AggressiveNone",0),O0=new En(sa,"AggressiveLess",1),Fy=new En(sa,"AggressiveMore",2),nw=8;sa.className="LayeredDigraphLayout",sa.CycleDepthFirst=D0,sa.CycleGreedy=Cy,sa.CycleFromLayers=$p,sa.LayerOptimalLinkLength=B0,sa.LayerLongestPathSink=by,sa.LayerLongestPathSource=Ey,sa.InitDepthFirstOut=T0,sa.InitDepthFirstIn=Ay,sa.InitNaive=Ly,sa.AggressiveNone=My,sa.AggressiveLess=O0,sa.AggressiveMore=Fy,sa.PackNone=0,sa.PackExpand=1,sa.PackStraighten=2,sa.PackMedian=4,sa.PackAll=15,sa.AlignNone=0,sa.AlignUpperLeft=1,sa.AlignUpperRight=2,sa.AlignLowerLeft=4,sa.AlignLowerRight=8,sa.AlignAll=15;function rf(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}rf.className="SegInfo";function Jg(a){Ea.call(this,a)}bt(Jg,Ea),Jg.prototype.createVertex=function(){return new vc(this)},Jg.prototype.createEdge=function(){return new qp(this)},Jg.className="LayeredDigraphNetwork";function vc(a){Xs.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}bt(vc,Xs);function lx(a,y){return a.index-y.index}function I0(a,y){if(!a.$n){for(var x=[],b=fi(a.destinationEdgesArrayAccess),E=b.next();!E.done;E=b.next())E=E.value,E.valid&&x.push(E);a.$n=x}for(a=fi(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;st("Unable to find destination edge to given vertex")}function Ny(a){if(!a.co){for(var y=[],x=fi(a.sourceEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.fromVertex);y.sort(lx),a.co=y}return a.co}function iw(a){if(!a.ao){for(var y=[],x=fi(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.toVertex);y.sort(lx),a.ao=y}return a.ao}vc.prototype.Cl=function(a){Xs.prototype.Cl.call(this,a),this.bo=this.co=null},vc.prototype.Kl=function(a){Xs.prototype.Kl.call(this,a),this.bo=this.co=null},vc.prototype.zl=function(a){Xs.prototype.zl.call(this,a),this.$n=this.ao=null},vc.prototype.Jl=function(a){Xs.prototype.Jl.call(this,a),this.$n=this.ao=null},ze.Object.defineProperties(vc.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),vc.prototype.deleteDestinationEdge=vc.prototype.Jl,vc.prototype.addDestinationEdge=vc.prototype.zl,vc.prototype.deleteSourceEdge=vc.prototype.Kl,vc.prototype.addSourceEdge=vc.prototype.Cl,vc.className="LayeredDigraphVertex";function qp(a){Gu.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}bt(qp,Gu),ze.Object.defineProperties(qp.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),qp.className="LayeredDigraphEdge";function Co(a){Za.call(this),this.Ub=new Fn,this.Wn=H0,this.ud=Td,this.vo=Z0,this.Bq=Wy,this.$v=[],this.td=!0,this.Rb=K0,this.$d=new Hn(10,10).freeze();var y=new hg(this);this.W=new Dc(y),this.Y=new Dc(y),this.ru=[],a&&Object.assign(this,a)}bt(Co,Za),Co.prototype.cloneProtected=function(a){Za.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},Co.prototype.qb=function(a){a.classType===Co?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:st("Unknown enum value: "+a):Za.prototype.qb.call(this,a)},Co.prototype.createNetwork=function(){return new hg(this)},Co.prototype.makeNetwork=function(a){function y(b){if(b instanceof Ti)return!b.isLinkLabel&&b.category!=="Comment";if(b instanceof xi){var E=b.fromNode;return E===null||E.isLinkLabel||E.category==="Comment"?!1:(b=b.toNode,!(b===null||b.isLinkLabel||b.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof pn?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof Jr?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},Co.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==V0&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof pn&&(y=a),this.path===H0&&y!==null?this.ud=y.isTreePathToChildren?Td:cg:this.ud=this.path===H0?Td:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}Co.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,b=0,E=0;EE?px(this,a,ee,zr,Je,vt):mx(this,a,ee,zr,Je,vt),zr=vt.x,Je=vt.width,vt=vt.height;break;case Fh:for(Mt=0;Mtfe&&(Xicl&&(ug(a,-cl,0,Ur,Qo-1),j0(Mt,-cl,0),j0(jt,-cl,0),cl=0)}Pa.S.h(cl,ji),Je=Math.max(Je,vn),vt=Math.max(vt,Pt+(Si===0?0:Ae)+qs.height),Xi=vn}else 0fe&&(jicl&&(ug(a,0,-cl,Ur,Qo-1),j0(Mt,0,-cl),j0(jt,0,-cl),cl=0)),Pa.S.h(Xi,cl),vt=Math.max(vt,ki),Je=Math.max(Je,Pt+(Si===0?0:Ae)+qs.width),ji=ki;qn++}switch(0le&&(le=0),135Te&&(Te=0),oe===nh&&(re+=we/2+a.focus.y),ee+=b+x):y?(a.comments===null?b>Je&&(Je=Oy(oe,b-Je,0),ee=Je.x,re=Je.y,Je=b,le=0):Je=By(a,Je,le),0>le&&(ee-=le,le=0),135vt&&(vt=Oy(oe,0,ot-vt),ee=vt.x,re=vt.y,vt=ot,Te=0):vt=Ty(a,vt,Te),0>Te&&(re-=Te,Te=0),ee+=b+x),0E[0].x?E[2].assign(E[1]):E[1].assign(E[2])),E[3].yE[0].x?E[3].assign(E[2]):E[2].assign(E[3])),Si[0].h(le+b,0),Si[1].h(Si[0].x,ot),Si[2].yE[0].y?E[2].assign(E[1]):E[1].assign(E[2])),E[3].xE[0].y?E[3].assign(E[2]):E[2].assign(E[3])),Si[0].h(0,Te+ot),Si[1].h(b,Si[0].y),Si[2].xb?px(a,y,E,qn,Pt,Mt):mx(a,y,E,qn,Pt,Mt),qn=Mt.x,Pt=Mt.width,Mt=Mt.height;break;case Fh:for(we=0;wewe&&(vnwe&&(kife&&(fe=0),135Je&&(Je=0)),y.la.h(fe,Je),y.Da.h(Pt,Mt)}}Co.prototype.customAlignment=function(a,y,x,b,E){return[y,x,b,E]};function px(a,y,x,b,E,z){var ee=x.length;if(ee===0)return new xn(b,0,E,z);if(ee===1)return y=x[0],E=y.Da.width,z=y.Da.height,new xn(b,0,E,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,le=Uc(y)===90,ue=0,fe=0,we=0,be=0;bele&&(E-=le),z=Math.max(z,Math.max(be,we)+a+ee.height),0>x.S.x&&(b=R0(y,x.S.x,!1,b,re))):(x.S.h(E+a,b+re/2-x.focus.y-x.la.y),E=Math.max(E,Math.max(Ae,fe)+a+ee.width),we=b+re/2-x.focus.y-x.la.y,z=Math.max(z,we+ee.height),0>we&&(z-=we),0>x.S.y&&(b=R0(y,x.S.y,!0,b,re)))),new xn(b,0,E,z)}function mx(a,y,x,b,E,z){var ee=x.length;if(ee===0)return new xn(b,0,E,z);if(ee===1)return x=x[0],E=x.Da.width,z=x.Da.height,new xn(b,0,E,z);for(var re=y.nodeSpacing,oe=y.rowSpacing,le=Uc(y)===270,ue=0,fe=0,we=0,be=0;befe&&(E-=fe),z=Math.max(z,Math.abs(Math.min(be,we))+a+ue.height),0>oe.S.x&&(b=R0(y,oe.S.x,!1,b,re))):(oe.S.h(-E-ue.width-a,b+re/2-oe.focus.y-oe.la.y),E=Math.max(E,Math.abs(Math.min(Ae,fe))+a+ue.width),we=b+re/2-oe.focus.y-oe.la.y,z=Math.max(z,we+ue.height),0>we&&(z-=we),0>oe.S.y&&(b=R0(y,oe.S.y,!0,b,re)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case Od:return a.width>y?a.width:y;case Id:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Mh:case Rd:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Fh:return a.width-a.focus.x+a.nodeSpacing/2+y;case nh:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function Ty(a,y,x){switch(a.alignment){case dg:case _g:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case Od:return a.height>y?a.height:y;case Id:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Mh:case Rd:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Fh:return a.height-a.focus.y+a.nodeSpacing/2+y;case nh:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Oy(a,y,x){switch(a){case _g:y/=2,x/=2;break;case dg:y/=2,x/=2;break;case Od:x=y=0;break;case Id:break;default:st("Unhandled alignment value "+a.toString())}return new _e(y,x)}function Of(a,y,x,b,E,z){y=Oy(y,x,b),ug(a,y.x,y.y,E,z)}function ug(a,y,x,b,E){if(y!==0||x!==0)for(a=a.children;b<=E;b++){var z=a[b].S;z.x+=y,z.y+=x}}function z0(a,y,x,b){var E=y.parent;switch(a.ud){case Td:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===E&&y.relativePoint.h(x,b);break;case cg:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===E&&y.relativePoint.h(x,b);break;default:st("Unhandled path value "+a.ud.toString())}}function j0(a,y,x){for(var b=0;bfe.length||be===null||2>be.length))for(E=x=0;xle&&z.yz.y&&ley.length||x===null||2>x.length)b=null;else{for(ue=Ou(a,y.length+x.length),b=z=oe=0;zoe;)le=x[z++],ue[b++].h(le.x+E,le.y);for(x=Ou(a,b),oe=0;oefe.length||z===null||2>z.length)E=null;else{for(ue=Ou(a,fe.length+z.length),E=le=x=0;xz;)oe=fe[x++],ue[E++].h(oe.x,oe.y);for(z=Ou(a,E),x=0;xfe.length||be===null||2>be.length))for(E=x=0;xoe&&z.xz.x&&oey.length||x===null||2>x.length)b=null;else{for(ue=Ou(a,y.length+x.length),b=z=oe=0;zoe;)le=x[z++],ue[b++].h(le.x,le.y+E);for(x=Ou(a,b),oe=0;oefe.length||z===null||2>z.length)E=null;else{for(ue=Ou(a,fe.length+z.length),E=le=x=0;xz;)oe=fe[x++],ue[E++].h(oe.x,oe.y);for(z=Ou(a,E),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}Co.prototype.computeLayerSpacing=function(a){var y=Uc(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==W0&&a!==rm||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==Qg&&a!==tm&&a!==nm&&!im||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==W0&&a!==rm||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var H0=new En(Co,"PathDefault",-1),Td=new En(Co,"PathDestination",0),cg=new En(Co,"PathSource",1),Qg=new En(Co,"SortingForwards",10),tm=new En(Co,"SortingReverse",11),nm=new En(Co,"SortingAscending",12),im=new En(Co,"SortingDescending",13),_g=new En(Co,"AlignmentCenterSubtrees",20),dg=new En(Co,"AlignmentCenterChildren",21),Od=new En(Co,"AlignmentStart",22),Id=new En(Co,"AlignmentEnd",23),Mh=new En(Co,"AlignmentBus",24),Rd=new En(Co,"AlignmentBusBranching",25),Fh=new En(Co,"AlignmentTopLeftBus",26),nh=new En(Co,"AlignmentBottomRightBus",27),W0=new En(Co,"CompactionNone",30),rm=new En(Co,"CompactionBlock",31),Z0=new En(Co,"StyleLayered",40),Ry=new En(Co,"StyleLastParents",41),zy=new En(Co,"StyleAlternating",42),jy=new En(Co,"StyleRootOnly",43),K0=new En(Co,"ArrangementVertical",50),Hy=new En(Co,"ArrangementHorizontal",51),V0=new En(Co,"ArrangementFixedRoots",52),Wy=new En(Co,"LayerIndividual",60),Zy=new En(Co,"LayerSiblings",61),G0=new En(Co,"LayerUniform",62);Co.className="TreeLayout",Co.PathDefault=H0,Co.PathDestination=Td,Co.PathSource=cg,Co.SortingForwards=Qg,Co.SortingReverse=tm,Co.SortingAscending=nm,Co.SortingDescending=im,Co.AlignmentCenterSubtrees=_g,Co.AlignmentCenterChildren=dg,Co.AlignmentStart=Od,Co.AlignmentEnd=Id,Co.AlignmentBus=Mh,Co.AlignmentBusBranching=Rd,Co.AlignmentTopLeftBus=Fh,Co.AlignmentBottomRightBus=nh,Co.CompactionNone=W0,Co.CompactionBlock=rm,Co.StyleLayered=Z0,Co.StyleLastParents=Ry,Co.StyleAlternating=zy,Co.StyleRootOnly=jy,Co.ArrangementVertical=K0,Co.ArrangementHorizontal=Hy,Co.ArrangementFixedRoots=V0,Co.LayerIndividual=Wy,Co.LayerSiblings=Zy,Co.LayerUniform=G0;function hg(a){Ea.call(this,a)}bt(hg,Ea),hg.prototype.createVertex=function(){return new Dc(this)},hg.prototype.createEdge=function(){return new $g(this)},hg.className="TreeNetwork";function Dc(a){Xs.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new _e(0,0),this.Da=new Hn(0,0),this.la=new _e(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=Qg,this.hd=ly,this.Kb=0,this.Jb=dg,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=rm,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Jo,this.wr=!0,this.Dp=Jo}bt(Dc,Xs),Dc.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},ze.Object.defineProperties(Dc.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xbe.y+x.rowIndent&&(z=Math.min(z,Math.max(fe.y,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.top+E.y,E.y===0&&fe.ybe.x+x.rowIndent&&(z=Math.min(z,Math.max(fe.x,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.left+E.x,E.x===0&&fe.xbe.y+x.rowIndent&&(z=Math.min(z,Math.max(fe.y,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.top+E.y,E.y===0&&fe.ybe.x+x.rowIndent&&(z=Math.min(z,Math.max(fe.x,z-y.computeNodeIndent(x))))):x.alignment===Od?(z=b.left+E.x,E.x===0&&fe.x>>6)+Bt(128|Ht&63):Bt(224|Ht>>>12&15)+Bt(128|Ht>>>6&63)+Bt(128|Ht&63)}else{var Ht=65536+(Qe.charCodeAt(0)-55296)*1024+(Qe.charCodeAt(1)-56320);return Bt(240|Ht>>>18&7)+Bt(128|Ht>>>12&63)+Bt(128|Ht>>>6&63)+Bt(128|Ht&63)}},tt=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,gt=function(Qe){return Qe.replace(tt,Et)},dt=function(Qe){var Ht=[0,2,1][Qe.length%3],Rt=Qe.charCodeAt(0)<<16|(Qe.length>1?Qe.charCodeAt(1):0)<<8|(Qe.length>2?Qe.charCodeAt(2):0),It=[yt.charAt(Rt>>>18),yt.charAt(Rt>>>12&63),Ht>=2?"=":yt.charAt(Rt>>>6&63),Ht>=1?"=":yt.charAt(Rt&63)];return It.join("")},Ct=We.btoa&&typeof We.btoa=="function"?function(Qe){return We.btoa(Qe)}:function(Qe){if(Qe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Qe.replace(/[\s\S]{1,3}/g,dt)},Me=function(Qe){return Ct(gt(String(Qe)))},te=function(Qe){return Qe.replace(/[+\/]/g,function(Ht){return Ht=="+"?"-":"_"}).replace(/=/g,"")},ne=function(Qe,Ht){return Ht?te(Me(Qe)):Me(Qe)},ce=function(Qe){return ne(Qe,!0)},se;We.Uint8Array&&(se=function(Qe,Ht){for(var Rt="",It=0,Lt=Qe.length;It>>18)+yt.charAt(At>>>12&63)+(typeof ht!="undefined"?yt.charAt(At>>>6&63):"=")+(typeof Re!="undefined"?yt.charAt(At&63):"=")}return Ht?te(Rt):Rt});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ye=function(Qe){switch(Qe.length){case 4:var Ht=(7&Qe.charCodeAt(0))<<18|(63&Qe.charCodeAt(1))<<12|(63&Qe.charCodeAt(2))<<6|63&Qe.charCodeAt(3),Rt=Ht-65536;return Bt((Rt>>>10)+55296)+Bt((Rt&1023)+56320);case 3:return Bt((15&Qe.charCodeAt(0))<<12|(63&Qe.charCodeAt(1))<<6|63&Qe.charCodeAt(2));default:return Bt((31&Qe.charCodeAt(0))<<6|63&Qe.charCodeAt(1))}},Ce=function(Qe){return Qe.replace(ge,ye)},Ne=function(Qe){var Ht=Qe.length,Rt=Ht%4,It=(Ht>0?ke[Qe.charAt(0)]<<18:0)|(Ht>1?ke[Qe.charAt(1)]<<12:0)|(Ht>2?ke[Qe.charAt(2)]<<6:0)|(Ht>3?ke[Qe.charAt(3)]:0),Lt=[Bt(It>>>16),Bt(It>>>8&255),Bt(It&255)];return Lt.length-=[0,0,2,1][Rt],Lt.join("")},Pe=We.atob&&typeof We.atob=="function"?function(Qe){return We.atob(Qe)}:function(Qe){return Qe.replace(/\S{1,4}/g,Ne)},Ie=function(Qe){return Pe(String(Qe).replace(/[^A-Za-z0-9\+\/]/g,""))},Ke=function(Qe){return Ce(Pe(Qe))},Ve=function(Qe){return String(Qe).replace(/[-_]/g,function(Ht){return Ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ye=function(Qe){return Ke(Ve(Qe))},ut;We.Uint8Array&&(ut=function(Qe){return Uint8Array.from(Ie(Ve(Qe)),function(Ht){return Ht.charCodeAt(0)})});var Ue=function(){var Qe=We.Base64;return We.Base64=Ot,Qe};if(We.Base64={VERSION:et,atob:Ie,btoa:Ct,fromBase64:Ye,toBase64:ne,utob:gt,encode:ne,encodeURI:ce,btou:Ce,decode:Ye,noConflict:Ue,fromUint8Array:se,toUint8Array:ut},typeof Object.defineProperty=="function"){var Nt=function(Qe){return{value:Qe,enumerable:!1,writable:!0,configurable:!0}};We.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Nt(function(){return Ye(this)})),Object.defineProperty(String.prototype,"toBase64",Nt(function(Qe){return ne(this,Qe)})),Object.defineProperty(String.prototype,"toBase64URI",Nt(function(){return ne(this,!0)}))}}return We.Meteor&&(Base64=We.Base64),zn.exports?zn.exports.Base64=We.Base64:(Se=[],Oe=function(){return We.Base64}.apply(Nn,Se),Oe!==void 0&&(zn.exports=Oe)),{Base64:We.Base64}})},17115:function(zn,Nn,ve){"use strict";ve.d(Nn,{ZP:function(){return ke}});var Se=ve(52487),Oe=ve(59301),We=ve(47273),Ot=0,et=(0,We.Z)();function yt(){var Bt;return et?(Bt=Ot,Ot+=1):Bt="TEST_OR_SSR",Bt}function ke(Bt){var Et=Oe.useState(),tt=(0,Se.Z)(Et,2),gt=tt[0],dt=tt[1];return Oe.useEffect(function(){dt("rc_select_".concat(yt()))},[]),Bt||gt}},77861:function(zn,Nn,ve){"use strict";ve.d(Nn,{Ac:function(){return Fe},Xo:function(){return or},Wx:function(){return Gr},ZP:function(){return an},lk:function(){return Ce}});var Se=ve(72308),Oe=ve(80702),We=ve(49618),Ot=ve(77321),et=ve(52487),yt=ve(74416),ke=ve(62853),Bt=ve(18929),Et=ve(48736),tt=ve(59301),gt=ve(92310),dt=ve.n(gt),Ct=ve(34280),Me=ve(49658),te=ve(10228),ne=ve(8654),ce=function($e){var $t=$e.className,Tt=$e.customizeIcon,Mn=$e.customizeIconProps,Wn=$e.onMouseDown,st=$e.onClick,fn=$e.children,Kn;return typeof Tt=="function"?Kn=Tt(Mn):Kn=Tt,tt.createElement("span",{className:$t,onMouseDown:function(nn){nn.preventDefault(),Wn&&Wn(nn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:st,"aria-hidden":!0},Kn!==void 0?Kn:tt.createElement("span",{className:dt()($t.split(/\s+/).map(function(_n){return"".concat(_n,"-icon")}))},fn))},se=ce;function ge(ct,$e,$t,Tt,Mn){var Wn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,st=arguments.length>6?arguments[6]:void 0,fn=arguments.length>7?arguments[7]:void 0,Kn=tt.useMemo(function(){if((0,ke.Z)(Tt)==="object")return Tt.clearIcon;if(Mn)return Mn},[Tt,Mn]),_n=tt.useMemo(function(){return!!(!Wn&&Tt&&($t.length||st)&&!(fn==="combobox"&&st===""))},[Tt,Wn,$t.length,st,fn]);return{allowClear:_n,clearIcon:tt.createElement(se,{className:"".concat(ct,"-clear"),onMouseDown:$e,customizeIcon:Kn},"\xD7")}}var ye=tt.createContext(null);function Ce(){return tt.useContext(ye)}function Ne(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,$e=tt.useState(!1),$t=(0,et.Z)($e,2),Tt=$t[0],Mn=$t[1],Wn=tt.useRef(null),st=function(){window.clearTimeout(Wn.current)};tt.useEffect(function(){return st},[]);var fn=function(_n,nn){st(),Wn.current=window.setTimeout(function(){Mn(_n),nn&&nn()},ct)};return[Tt,fn,st]}function Pe(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,$e=tt.useRef(null),$t=tt.useRef(null);tt.useEffect(function(){return function(){window.clearTimeout($t.current)}},[]);function Tt(Mn){(Mn||$e.current===null)&&($e.current=Mn),window.clearTimeout($t.current),$t.current=window.setTimeout(function(){$e.current=null},ct)}return[function(){return $e.current},Tt]}function Ie(ct,$e,$t,Tt){var Mn=tt.useRef(null);Mn.current={open:$e,triggerOpen:$t,customizedTrigger:Tt},tt.useEffect(function(){function Wn(st){var fn;if(!((fn=Mn.current)!==null&&fn!==void 0&&fn.customizedTrigger)){var Kn=st.target;Kn.shadowRoot&&st.composed&&(Kn=st.composedPath()[0]||Kn),Mn.current.open&&ct().filter(function(_n){return _n}).every(function(_n){return!_n.contains(Kn)&&_n!==Kn})&&Mn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Wn),function(){return window.removeEventListener("mousedown",Wn)}},[])}var Ke=ve(26112),Ve=ve(11780),Ye=function($e,$t){var Tt,Mn,Wn=$e.prefixCls,st=$e.id,fn=$e.inputElement,Kn=$e.disabled,_n=$e.tabIndex,nn=$e.autoFocus,hn=$e.autoComplete,ri=$e.editable,gi=$e.activeDescendantId,yi=$e.value,oi=$e.maxLength,Ci=$e.onKeyDown,Li=$e.onMouseDown,qi=$e.onChange,lr=$e.onPaste,er=$e.onCompositionStart,Ln=$e.onCompositionEnd,Nr=$e.open,Ar=$e.attrs,$r=fn||tt.createElement("input",null),En=$r,ci=En.ref,Ii=En.props,ir=Ii.onKeyDown,Ki=Ii.onChange,rr=Ii.onMouseDown,Er=Ii.onCompositionStart,Bi=Ii.onCompositionEnd,Yi=Ii.style;return(0,Et.Kp)(!("maxLength"in $r.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),$r=tt.cloneElement($r,(0,Ot.Z)((0,Ot.Z)((0,Ot.Z)({type:"search"},Ii),{},{id:st,ref:(0,ne.sQ)($t,ci),disabled:Kn,tabIndex:_n,autoComplete:hn||"off",autoFocus:nn,className:dt()("".concat(Wn,"-selection-search-input"),(Tt=$r)===null||Tt===void 0||(Mn=Tt.props)===null||Mn===void 0?void 0:Mn.className),role:"combobox","aria-label":"Search","aria-expanded":Nr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(st,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(st,"_list"),"aria-activedescendant":Nr?gi:void 0},Ar),{},{value:ri?yi:"",maxLength:oi,readOnly:!ri,unselectable:ri?null:"on",style:(0,Ot.Z)((0,Ot.Z)({},Yi),{},{opacity:ri?null:0}),onKeyDown:function(Bn){Ci(Bn),ir&&ir(Bn)},onMouseDown:function(Bn){Li(Bn),rr&&rr(Bn)},onChange:function(Bn){qi(Bn),Ki&&Ki(Bn)},onCompositionStart:function(Bn){er(Bn),Er&&Er(Bn)},onCompositionEnd:function(Bn){Ln(Bn),Bi&&Bi(Bn)},onPaste:lr})),$r},ut=tt.forwardRef(Ye);ut.displayName="Input";var Ue=ut;function Nt(ct){return Array.isArray(ct)?ct:ct!==void 0?[ct]:[]}var Qe=typeof window!="undefined"&&window.document&&window.document.documentElement,Ht=Qe;function Rt(ct){return ct!=null}function It(ct){return!ct&&ct!==0}function Lt(ct){return["string","number"].includes((0,ke.Z)(ct))}function Ut(ct){var $e=void 0;return ct&&(Lt(ct.title)?$e=ct.title.toString():Lt(ct.label)&&($e=ct.label.toString())),$e}function ht(ct,$e){Ht?tt.useLayoutEffect(ct,$e):tt.useEffect(ct,$e)}function Re(ct){var $e;return($e=ct.key)!==null&&$e!==void 0?$e:ct.value}var At=function($e){$e.preventDefault(),$e.stopPropagation()},Sn=function($e){var $t=$e.id,Tt=$e.prefixCls,Mn=$e.values,Wn=$e.open,st=$e.searchValue,fn=$e.autoClearSearchValue,Kn=$e.inputRef,_n=$e.placeholder,nn=$e.disabled,hn=$e.mode,ri=$e.showSearch,gi=$e.autoFocus,yi=$e.autoComplete,oi=$e.activeDescendantId,Ci=$e.tabIndex,Li=$e.removeIcon,qi=$e.maxTagCount,lr=$e.maxTagTextLength,er=$e.maxTagPlaceholder,Ln=er===void 0?function(xt){return"+ ".concat(xt.length," ...")}:er,Nr=$e.tagRender,Ar=$e.onToggleOpen,$r=$e.onRemove,En=$e.onInputChange,ci=$e.onInputPaste,Ii=$e.onInputKeyDown,ir=$e.onInputMouseDown,Ki=$e.onInputCompositionStart,rr=$e.onInputCompositionEnd,Er=tt.useRef(null),Bi=(0,tt.useState)(0),Yi=(0,et.Z)(Bi,2),Wi=Yi[0],Bn=Yi[1],Lr=(0,tt.useState)(!1),Fn=(0,et.Z)(Lr,2),fr=Fn[0],Qr=Fn[1],Pr="".concat(Tt,"-selection"),Ao=Wn||hn==="multiple"&&fn===!1||hn==="tags"?st:"",po=hn==="tags"||hn==="multiple"&&fn===!1||ri&&(Wn||fr);ht(function(){Bn(Er.current.scrollWidth)},[Ao]);function vr(xt,Dt,un,jn,ai){return tt.createElement("span",{className:dt()("".concat(Pr,"-item"),(0,We.Z)({},"".concat(Pr,"-item-disabled"),un)),title:Ut(xt)},tt.createElement("span",{className:"".concat(Pr,"-item-content")},Dt),jn&&tt.createElement(se,{className:"".concat(Pr,"-item-remove"),onMouseDown:At,onClick:ai,customizeIcon:Li},"\xD7"))}function gr(xt,Dt,un,jn,ai){var Vt=function(ii){At(ii),Ar(!Wn)};return tt.createElement("span",{onMouseDown:Vt},Nr({label:Dt,value:xt,disabled:un,closable:jn,onClose:ai}))}function cr(xt){var Dt=xt.disabled,un=xt.label,jn=xt.value,ai=!nn&&!Dt,Vt=un;if(typeof lr=="number"&&(typeof un=="string"||typeof un=="number")){var Cn=String(Vt);Cn.length>lr&&(Vt="".concat(Cn.slice(0,lr),"..."))}var ii=function(Fi){Fi&&Fi.stopPropagation(),$r(xt)};return typeof Nr=="function"?gr(jn,Vt,Dt,ai,ii):vr(xt,Vt,Dt,ai,ii)}function Yr(xt){var Dt=typeof Ln=="function"?Ln(xt):Ln;return vr({title:Dt},Dt,!1)}var Ri=tt.createElement("div",{className:"".concat(Pr,"-search"),style:{width:Wi},onFocus:function(){Qr(!0)},onBlur:function(){Qr(!1)}},tt.createElement(Ue,{ref:Kn,open:Wn,prefixCls:Tt,id:$t,inputElement:null,disabled:nn,autoFocus:gi,autoComplete:yi,editable:po,activeDescendantId:oi,value:Ao,onKeyDown:Ii,onMouseDown:ir,onChange:En,onPaste:ci,onCompositionStart:Ki,onCompositionEnd:rr,tabIndex:Ci,attrs:(0,Ke.Z)($e,!0)}),tt.createElement("span",{ref:Er,className:"".concat(Pr,"-search-mirror"),"aria-hidden":!0},Ao,"\xA0")),_e=tt.createElement(Ve.Z,{prefixCls:"".concat(Pr,"-overflow"),data:Mn,renderItem:cr,renderRest:Yr,suffix:Ri,itemKey:Re,maxCount:qi});return tt.createElement(tt.Fragment,null,_e,!Mn.length&&!Ao&&tt.createElement("span",{className:"".concat(Pr,"-placeholder")},_n))},mn=Sn,Ft=function($e){var $t=$e.inputElement,Tt=$e.prefixCls,Mn=$e.id,Wn=$e.inputRef,st=$e.disabled,fn=$e.autoFocus,Kn=$e.autoComplete,_n=$e.activeDescendantId,nn=$e.mode,hn=$e.open,ri=$e.values,gi=$e.placeholder,yi=$e.tabIndex,oi=$e.showSearch,Ci=$e.searchValue,Li=$e.activeValue,qi=$e.maxLength,lr=$e.onInputKeyDown,er=$e.onInputMouseDown,Ln=$e.onInputChange,Nr=$e.onInputPaste,Ar=$e.onInputCompositionStart,$r=$e.onInputCompositionEnd,En=$e.title,ci=tt.useState(!1),Ii=(0,et.Z)(ci,2),ir=Ii[0],Ki=Ii[1],rr=nn==="combobox",Er=rr||oi,Bi=ri[0],Yi=Ci||"";rr&&Li&&!ir&&(Yi=Li),tt.useEffect(function(){rr&&Ki(!1)},[rr,Li]);var Wi=nn!=="combobox"&&!hn&&!oi?!1:!!Yi,Bn=En===void 0?Ut(Bi):En,Lr=function(){if(Bi)return null;var fr=Wi?{visibility:"hidden"}:void 0;return tt.createElement("span",{className:"".concat(Tt,"-selection-placeholder"),style:fr},gi)};return tt.createElement(tt.Fragment,null,tt.createElement("span",{className:"".concat(Tt,"-selection-search")},tt.createElement(Ue,{ref:Wn,prefixCls:Tt,id:Mn,open:hn,inputElement:$t,disabled:st,autoFocus:fn,autoComplete:Kn,editable:Er,activeDescendantId:_n,value:Yi,onKeyDown:lr,onMouseDown:er,onChange:function(fr){Ki(!0),Ln(fr)},onPaste:Nr,onCompositionStart:Ar,onCompositionEnd:$r,tabIndex:yi,attrs:(0,Ke.Z)($e,!0),maxLength:rr?qi:void 0})),!rr&&Bi?tt.createElement("span",{className:"".concat(Tt,"-selection-item"),title:Bn,style:Wi?{visibility:"hidden"}:void 0},Bi.label):null,Lr())},en=Ft;function sn(ct){return![te.Z.ESC,te.Z.SHIFT,te.Z.BACKSPACE,te.Z.TAB,te.Z.WIN_KEY,te.Z.ALT,te.Z.META,te.Z.WIN_KEY_RIGHT,te.Z.CTRL,te.Z.SEMICOLON,te.Z.EQUALS,te.Z.CAPS_LOCK,te.Z.CONTEXT_MENU,te.Z.F1,te.Z.F2,te.Z.F3,te.Z.F4,te.Z.F5,te.Z.F6,te.Z.F7,te.Z.F8,te.Z.F9,te.Z.F10,te.Z.F11,te.Z.F12].includes(ct)}var On=function($e,$t){var Tt=(0,tt.useRef)(null),Mn=(0,tt.useRef)(!1),Wn=$e.prefixCls,st=$e.open,fn=$e.mode,Kn=$e.showSearch,_n=$e.tokenWithEnter,nn=$e.autoClearSearchValue,hn=$e.onSearch,ri=$e.onSearchSubmit,gi=$e.onToggleOpen,yi=$e.onInputKeyDown,oi=$e.domRef;tt.useImperativeHandle($t,function(){return{focus:function(){Tt.current.focus()},blur:function(){Tt.current.blur()}}});var Ci=Pe(0),Li=(0,et.Z)(Ci,2),qi=Li[0],lr=Li[1],er=function(Yi){var Wi=Yi.which;(Wi===te.Z.UP||Wi===te.Z.DOWN)&&Yi.preventDefault(),yi&&yi(Yi),Wi===te.Z.ENTER&&fn==="tags"&&!Mn.current&&!st&&(ri==null||ri(Yi.target.value)),sn(Wi)&&gi(!0)},Ln=function(){lr(!0)},Nr=(0,tt.useRef)(null),Ar=function(Yi){hn(Yi,!0,Mn.current)!==!1&&gi(!0)},$r=function(){Mn.current=!0},En=function(Yi){Mn.current=!1,fn!=="combobox"&&Ar(Yi.target.value)},ci=function(Yi){var Wi=Yi.target.value;if(_n&&Nr.current&&/[\r\n]/.test(Nr.current)){var Bn=Nr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Wi=Wi.replace(Bn,Nr.current)}Nr.current=null,Ar(Wi)},Ii=function(Yi){var Wi=Yi.clipboardData,Bn=Wi.getData("text");Nr.current=Bn},ir=function(Yi){var Wi=Yi.target;if(Wi!==Tt.current){var Bn=document.body.style.msTouchAction!==void 0;Bn?setTimeout(function(){Tt.current.focus()}):Tt.current.focus()}},Ki=function(Yi){var Wi=qi();Yi.target!==Tt.current&&!Wi&&fn!=="combobox"&&Yi.preventDefault(),(fn!=="combobox"&&(!Kn||!Wi)||!st)&&(st&&nn!==!1&&hn("",!0,!1),gi())},rr={inputRef:Tt,onInputKeyDown:er,onInputMouseDown:Ln,onInputChange:ci,onInputPaste:Ii,onInputCompositionStart:$r,onInputCompositionEnd:En},Er=fn==="multiple"||fn==="tags"?tt.createElement(mn,(0,Se.Z)({},$e,rr)):tt.createElement(en,(0,Se.Z)({},$e,rr));return tt.createElement("div",{ref:oi,className:"".concat(Wn,"-selector"),onClick:ir,onMouseDown:Ki},Er)},yn=tt.forwardRef(On);yn.displayName="Selector";var Tn=yn,pt=ve(35593),Un=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],wn=function($e){var $t=$e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"}}},An=function($e,$t){var Tt=$e.prefixCls,Mn=$e.disabled,Wn=$e.visible,st=$e.children,fn=$e.popupElement,Kn=$e.animation,_n=$e.transitionName,nn=$e.dropdownStyle,hn=$e.dropdownClassName,ri=$e.direction,gi=ri===void 0?"ltr":ri,yi=$e.placement,oi=$e.builtinPlacements,Ci=$e.dropdownMatchSelectWidth,Li=$e.dropdownRender,qi=$e.dropdownAlign,lr=$e.getPopupContainer,er=$e.empty,Ln=$e.getTriggerDOMNode,Nr=$e.onPopupVisibleChange,Ar=$e.onPopupMouseEnter,$r=(0,yt.Z)($e,Un),En="".concat(Tt,"-dropdown"),ci=fn;Li&&(ci=Li(fn));var Ii=tt.useMemo(function(){return oi||wn(Ci)},[oi,Ci]),ir=Kn?"".concat(En,"-").concat(Kn):_n,Ki=typeof Ci=="number",rr=tt.useMemo(function(){return Ki?null:Ci===!1?"minWidth":"width"},[Ci,Ki]),Er=nn;Ki&&(Er=(0,Ot.Z)((0,Ot.Z)({},Er),{},{width:Ci}));var Bi=tt.useRef(null);return tt.useImperativeHandle($t,function(){return{getPopupElement:function(){return Bi.current}}}),tt.createElement(pt.Z,(0,Se.Z)({},$r,{showAction:Nr?["click"]:[],hideAction:Nr?["click"]:[],popupPlacement:yi||(gi==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ii,prefixCls:En,popupTransitionName:ir,popup:tt.createElement("div",{ref:Bi,onMouseEnter:Ar},ci),stretch:rr,popupAlign:qi,popupVisible:Wn,getPopupContainer:lr,popupClassName:dt()(hn,(0,We.Z)({},"".concat(En,"-empty"),er)),popupStyle:Er,getTriggerDOMNode:Ln,onPopupVisibleChange:Nr}),st)},ni=tt.forwardRef(An);ni.displayName="SelectTrigger";var Qt=ni,Jt=ve(68413);function St(ct,$e){var $t=ct.key,Tt;return"value"in ct&&(Tt=ct.value),$t!=null?$t:Tt!==void 0?Tt:"rc-index-key-".concat($e)}function Xe(ct,$e){var $t=ct||{},Tt=$t.label,Mn=$t.value,Wn=$t.options,st=$t.groupLabel,fn=Tt||($e?"children":"label");return{label:fn,value:Mn||"value",options:Wn||"options",groupLabel:st||fn}}function Yt(ct){var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=$e.fieldNames,Tt=$e.childrenAsData,Mn=[],Wn=Xe($t,!1),st=Wn.label,fn=Wn.value,Kn=Wn.options,_n=Wn.groupLabel;function nn(hn,ri){hn.forEach(function(gi){if(ri||!(Kn in gi)){var yi=gi[fn];Mn.push({key:St(gi,Mn.length),groupOption:ri,data:gi,label:gi[st],value:yi})}else{var oi=gi[_n];oi===void 0&&Tt&&(oi=gi.label),Mn.push({key:St(gi,Mn.length),group:!0,data:gi,label:oi}),nn(gi[Kn],!0)}})}return nn(ct,!1),Mn}function Kt(ct){var $e=(0,Ot.Z)({},ct);return"props"in $e||Object.defineProperty($e,"props",{get:function(){return(0,Et.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),$e}}),$e}function qe(ct,$e){if(!$e||!$e.length)return null;var $t=!1;function Tt(Wn,st){var fn=(0,Jt.Z)(st),Kn=fn[0],_n=fn.slice(1);if(!Kn)return[Wn];var nn=Wn.split(Kn);return $t=$t||nn.length>1,nn.reduce(function(hn,ri){return[].concat((0,Oe.Z)(hn),(0,Oe.Z)(Tt(ri,_n)))},[]).filter(function(hn){return hn})}var Mn=Tt(ct,$e);return $t?Mn:null}var Ge=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Be=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function xe(ct){return ct==="tags"||ct==="multiple"}var me=tt.forwardRef(function(ct,$e){var $t,Tt,Mn=ct.id,Wn=ct.prefixCls,st=ct.className,fn=ct.showSearch,Kn=ct.tagRender,_n=ct.direction,nn=ct.omitDomProps,hn=ct.displayValues,ri=ct.onDisplayValuesChange,gi=ct.emptyOptions,yi=ct.notFoundContent,oi=yi===void 0?"Not Found":yi,Ci=ct.onClear,Li=ct.mode,qi=ct.disabled,lr=ct.loading,er=ct.getInputElement,Ln=ct.getRawInputElement,Nr=ct.open,Ar=ct.defaultOpen,$r=ct.onDropdownVisibleChange,En=ct.activeValue,ci=ct.onActiveValueChange,Ii=ct.activeDescendantId,ir=ct.searchValue,Ki=ct.autoClearSearchValue,rr=ct.onSearch,Er=ct.onSearchSplit,Bi=ct.tokenSeparators,Yi=ct.allowClear,Wi=ct.suffixIcon,Bn=ct.clearIcon,Lr=ct.OptionList,Fn=ct.animation,fr=ct.transitionName,Qr=ct.dropdownStyle,Pr=ct.dropdownClassName,Ao=ct.dropdownMatchSelectWidth,po=ct.dropdownRender,vr=ct.dropdownAlign,gr=ct.placement,cr=ct.builtinPlacements,Yr=ct.getPopupContainer,Ri=ct.showAction,_e=Ri===void 0?[]:Ri,xt=ct.onFocus,Dt=ct.onBlur,un=ct.onKeyUp,jn=ct.onKeyDown,ai=ct.onMouseDown,Vt=(0,yt.Z)(ct,Ge),Cn=xe(Li),ii=(fn!==void 0?fn:Cn)||Li==="combobox",Qn=(0,Ot.Z)({},Vt);Be.forEach(function(Jo){delete Qn[Jo]}),nn==null||nn.forEach(function(Jo){delete Qn[Jo]});var Fi=tt.useState(!1),Mr=(0,et.Z)(Fi,2),Ei=Mr[0],Oi=Mr[1];tt.useEffect(function(){Oi((0,Me.Z)())},[]);var Hn=tt.useRef(null),pr=tt.useRef(null),kr=tt.useRef(null),wo=tt.useRef(null),to=tt.useRef(null),Xr=Ne(),eo=(0,et.Z)(Xr,3),Zo=eo[0],$o=eo[1],ia=eo[2];tt.useImperativeHandle($e,function(){var Jo,ma;return{focus:(Jo=wo.current)===null||Jo===void 0?void 0:Jo.focus,blur:(ma=wo.current)===null||ma===void 0?void 0:ma.blur,scrollTo:function(Cs){var Ss;return(Ss=to.current)===null||Ss===void 0?void 0:Ss.scrollTo(Cs)}}});var qo=tt.useMemo(function(){var Jo;if(Li!=="combobox")return ir;var ma=(Jo=hn[0])===null||Jo===void 0?void 0:Jo.value;return typeof ma=="string"||typeof ma=="number"?String(ma):""},[ir,Li,hn]),xn=Li==="combobox"&&typeof er=="function"&&er()||null,oa=typeof Ln=="function"&&Ln(),vs=(0,ne.x1)(pr,oa==null||($t=oa.props)===null||$t===void 0?void 0:$t.ref),Ga=tt.useState(!1),Zs=(0,et.Z)(Ga,2),xa=Zs[0],pl=Zs[1];(0,Ct.Z)(function(){pl(!0)},[]);var wa=(0,Bt.Z)(!1,{defaultValue:Ar,value:Nr}),Lo=(0,et.Z)(wa,2),Ko=Lo[0],Ka=Lo[1],Kr=xa?Ko:!1,ko=!oi&&gi;(qi||ko&&Kr&&Li==="combobox")&&(Kr=!1);var ro=ko?!1:Kr,Hi=tt.useCallback(function(Jo){var ma=Jo!==void 0?Jo:!Kr;qi||(Ka(ma),Kr!==ma&&($r==null||$r(ma)))},[qi,Kr,Ka,$r]),fa=tt.useMemo(function(){return(Bi||[]).some(function(Jo){return[` `,`\r `].includes(Jo)})},[Bi]),ka=function(ma,dl,Cs){var Ss=!0,rs=ma;ci==null||ci(null);var ds=Cs?null:qe(ma,Bi);return Li!=="combobox"&&ds&&(rs="",Er==null||Er(ds),Hi(!1),Ss=!1),rr&&qo!==rs&&rr(rs,{source:dl?"typing":"effect"}),Ss},Ds=function(ma){!ma||!ma.trim()||rr(ma,{source:"submit"})};tt.useEffect(function(){!Kr&&!Cn&&Li!=="combobox"&&ka("",!1,!1)},[Kr]),tt.useEffect(function(){Ko&&qi&&Ka(!1),qi&&$o(!1)},[qi]);var ys=Pe(),nl=(0,et.Z)(ys,2),Vi=nl[0],Da=nl[1],pa=function(ma){var dl=Vi(),Cs=ma.which;if(Cs===te.Z.ENTER&&(Li!=="combobox"&&ma.preventDefault(),Kr||Hi(!0)),Da(!!qo),Cs===te.Z.BACKSPACE&&!dl&&Cn&&!qo&&hn.length){for(var Ss=(0,Oe.Z)(hn),rs=null,ds=Ss.length-1;ds>=0;ds-=1){var Ls=Ss[ds];if(!Ls.disabled){Ss.splice(ds,1),rs=Ls;break}}rs&&ri(Ss,{type:"remove",values:[rs]})}for(var xs=arguments.length,Ks=new Array(xs>1?xs-1:0),Bs=1;Bs1?dl-1:0),Ss=1;Ss1?ds-1:0),xs=1;xs1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Pn.Z)(ct).map(function($t,Tt){if(!tt.isValidElement($t)||!$t.type)return null;var Mn=$t,Wn=Mn.type.isSelectOptGroup,st=Mn.key,fn=Mn.props,Kn=fn.children,_n=(0,yt.Z)(fn,In);return $e||!Wn?Gn($t):(0,Ot.Z)((0,Ot.Z)({key:"__RC_SELECT_GRP__".concat(st===null?Tt:st,"__"),label:st},_n),{},{options:Pi(Kn)})}).filter(function($t){return $t})}function Di(ct,$e,$t,Tt,Mn){return tt.useMemo(function(){var Wn=ct,st=!ct;st&&(Wn=Pi($e));var fn=new Map,Kn=new Map,_n=function(ri,gi,yi){yi&&typeof yi=="string"&&ri.set(gi[yi],gi)};function nn(hn){for(var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gi=0;gi1&&arguments[1]!==void 0?arguments[1]:1,Yr=ci.length,Ri=0;Ri1&&arguments[1]!==void 0?arguments[1]:!1;Wi(gr);var Yr={source:cr?"keyboard":"mouse"},Ri=ci[gr];if(!Ri){oi(null,-1,Yr);return}oi(Ri.value,gr,Yr)};(0,tt.useEffect)(function(){Bn(Ci!==!1?rr(0):-1)},[ci.length,_n]);var Lr=tt.useCallback(function(vr){return lr.has(vr)&&Kn!=="combobox"},[Kn,(0,Oe.Z)(lr).toString(),lr.size]);(0,tt.useEffect)(function(){var vr=setTimeout(function(){if(!fn&&st&&lr.size===1){var cr=Array.from(lr)[0],Yr=ci.findIndex(function(Ri){var _e=Ri.data;return _e.value===cr});Yr!==-1&&(Bn(Yr),Ki(Yr))}});if(st){var gr;(gr=Ii.current)===null||gr===void 0||gr.scrollTo(void 0)}return function(){return clearTimeout(vr)}},[st,_n,yi.length]);var Fn=function(gr){gr!==void 0&&Li(gr,{selected:!lr.has(gr)}),fn||nn(!1)};if(tt.useImperativeHandle($t,function(){return{onKeyDown:function(gr){var cr=gr.which,Yr=gr.ctrlKey;switch(cr){case te.Z.N:case te.Z.P:case te.Z.UP:case te.Z.DOWN:{var Ri=0;if(cr===te.Z.UP?Ri=-1:cr===te.Z.DOWN?Ri=1:No()&&Yr&&(cr===te.Z.N?Ri=1:cr===te.Z.P&&(Ri=-1)),Ri!==0){var _e=rr(Yi+Ri,Ri);Ki(_e),Bn(_e,!0)}break}case te.Z.ENTER:{var xt=ci[Yi];xt&&!xt.data.disabled?Fn(xt.value):Fn(void 0),st&&gr.preventDefault();break}case te.Z.ESC:nn(!1),st&&gr.stopPropagation()}},onKeyUp:function(){},scrollTo:function(gr){Ki(gr)}}}),ci.length===0)return tt.createElement("div",{role:"listbox",id:"".concat(Wn,"_list"),className:"".concat(En,"-empty"),onMouseDown:ir},hn);var fr=Object.keys(er).map(function(vr){return er[vr]}),Qr=function(gr){return gr.label};function Pr(vr,gr){var cr=vr.group;return{role:cr?"presentation":"option",id:"".concat(Wn,"_list_").concat(gr)}}var Ao=function(gr){var cr=ci[gr];if(!cr)return null;var Yr=cr.data||{},Ri=Yr.value,_e=cr.group,xt=(0,Ke.Z)(Yr,!0),Dt=Qr(cr);return cr?tt.createElement("div",(0,Se.Z)({"aria-label":typeof Dt=="string"&&!_e?Dt:null},xt,{key:gr},Pr(cr,gr),{"aria-selected":Lr(Ri)}),Ri):null},po={role:"listbox",id:"".concat(Wn,"_list")};return tt.createElement(tt.Fragment,null,Ln&&tt.createElement("div",(0,Se.Z)({},po,{style:{height:0,width:0,overflow:"hidden"}}),Ao(Yi-1),Ao(Yi),Ao(Yi+1)),tt.createElement(so.Z,{itemKey:"key",ref:Ii,data:ci,height:Ar,itemHeight:$r,fullHeight:!1,onMouseDown:ir,onScroll:ri,virtual:Ln,direction:Nr,innerProps:Ln?null:po},function(vr,gr){var cr,Yr=vr.group,Ri=vr.groupOption,_e=vr.data,xt=vr.label,Dt=vr.value,un=_e.key;if(Yr){var jn,ai=(jn=_e.title)!==null&&jn!==void 0?jn:Ee(xt)?xt.toString():void 0;return tt.createElement("div",{className:dt()(En,"".concat(En,"-group")),title:ai},xt!==void 0?xt:un)}var Vt=_e.disabled,Cn=_e.title,ii=_e.children,Qn=_e.style,Fi=_e.className,Mr=(0,yt.Z)(_e,vi),Ei=(0,wr.Z)(Mr,fr),Oi=Lr(Dt),Hn="".concat(En,"-option"),pr=dt()(En,Hn,Fi,(cr={},(0,We.Z)(cr,"".concat(Hn,"-grouped"),Ri),(0,We.Z)(cr,"".concat(Hn,"-active"),Yi===gr&&!Vt),(0,We.Z)(cr,"".concat(Hn,"-disabled"),Vt),(0,We.Z)(cr,"".concat(Hn,"-selected"),Oi),cr)),kr=Qr(vr),wo=!qi||typeof qi=="function"||Oi,to=typeof kr=="number"?kr:kr||Dt,Xr=Ee(to)?to.toString():void 0;return Cn!==void 0&&(Xr=Cn),tt.createElement("div",(0,Se.Z)({},(0,Ke.Z)(Ei),Ln?{}:Pr(vr,gr),{"aria-selected":Oi,className:pr,title:Xr,onMouseMove:function(){Yi===gr||Vt||Bn(gr)},onClick:function(){Vt||Fn(Dt)},style:Qn}),tt.createElement("div",{className:"".concat(Hn,"-content")},to),tt.isValidElement(qi)||Oi,wo&&tt.createElement(se,{className:"".concat(En,"-option-state"),customizeIcon:qi,customizeIconProps:{isSelected:Oi}},Oi?"\u2713":null))}))},fi=tt.forwardRef($n);fi.displayName="OptionList";var ln=fi;function ei(ct){var $e=ct.mode,$t=ct.options,Tt=ct.children,Mn=ct.backfill,Wn=ct.allowClear,st=ct.placeholder,fn=ct.getInputElement,Kn=ct.showSearch,_n=ct.onSearch,nn=ct.defaultOpen,hn=ct.autoFocus,ri=ct.labelInValue,gi=ct.value,yi=ct.inputValue,oi=ct.optionLabelProp,Ci=isMultiple($e),Li=Kn!==void 0?Kn:Ci||$e==="combobox",qi=$t||convertChildrenToData(Tt);if(warning($e!=="tags"||qi.every(function(Nr){return!Nr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),$e==="tags"||$e==="combobox"){var lr=qi.some(function(Nr){return Nr.options?Nr.options.some(function(Ar){return typeof("value"in Ar?Ar.value:Ar.key)=="number"}):typeof("value"in Nr?Nr.value:Nr.key)=="number"});warning(!lr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning($e!=="combobox"||!oi,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning($e==="combobox"||!Mn,"`backfill` only works with `combobox` mode."),warning($e==="combobox"||!fn,"`getInputElement` only work with `combobox` mode."),noteOnce($e!=="combobox"||!fn||!Wn||!st,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),_n&&!Li&&$e!=="combobox"&&$e!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!nn||hn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),gi!=null){var er=toArray(gi);warning(!ri||er.every(function(Nr){return _typeof(Nr)==="object"&&("key"in Nr||"value"in Nr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Ci||Array.isArray(gi),"`value` should be array when `mode` is `multiple` or `tags`")}if(Tt){var Ln=null;toNodeArray(Tt).some(function(Nr){if(!React.isValidElement(Nr)||!Nr.type)return!1;var Ar=Nr,$r=Ar.type;if($r.isSelectOption)return!1;if($r.isSelectOptGroup){var En=toNodeArray(Nr.props.children).every(function(ci){return!React.isValidElement(ci)||!Nr.type||ci.type.isSelectOption?!0:(Ln=ci.type,!1)});return!En}return Ln=$r,!0}),Ln&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ln.displayName||Ln.name||Ln,"`.")),warning(yi===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Yn(ct,$e){if(ct){var $t=function Tt(Mn){for(var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,st=0;st2&&arguments[2]!==void 0?arguments[2]:{},Hi=ro.source,fa=Hi===void 0?"keyboard":Hi;vs(ko),st&&Tt==="combobox"&&Kr!==null&&fa==="keyboard"&&ia(String(Kr))},[st,Tt]),xa=function(ko,ro,Hi){var fa=function(){var Gl,So=Fi(ko);return[Yi?{label:So==null?void 0:So[Pr.label],value:ko,key:(Gl=So==null?void 0:So.key)!==null&&Gl!==void 0?Gl:ko}:ko,Kt(So)]};if(ro&&gi){var ka=fa(),Ds=(0,et.Z)(ka,2),ys=Ds[0],nl=Ds[1];gi(ys,nl)}else if(!ro&&yi&&Hi!=="clear"){var Vi=fa(),Da=(0,et.Z)(Vi,2),pa=Da[0],Os=Da[1];yi(pa,Os)}},pl=Gi(function(Kr,ko){var ro,Hi=Fn?ko.selected:!0;Hi?ro=Fn?[].concat((0,Oe.Z)(Qn),[Kr]):[Kr]:ro=Qn.filter(function(fa){return fa.value!==Kr}),Xr(ro),xa(Kr,Hi),Tt==="combobox"?ia(""):(!xe||ri)&&(gr(""),ia(""))}),wa=function(ko,ro){Xr(ko);var Hi=ro.type,fa=ro.values;(Hi==="remove"||Hi==="clear")&&fa.forEach(function(ka){xa(ka.value,!1,Hi)})},Lo=function(ko,ro){if(gr(ko),ia(null),ro.source==="submit"){var Hi=(ko||"").trim();if(Hi){var fa=Array.from(new Set([].concat((0,Oe.Z)(Ei),[Hi])));Xr(fa),xa(Hi,!0),gr("")}return}ro.source!=="blur"&&(Tt==="combobox"&&Xr(ko),nn==null||nn(ko))},Ko=function(ko){var ro=ko;Tt!=="tags"&&(ro=ko.map(function(fa){var ka=Ri.get(fa);return ka==null?void 0:ka.value}).filter(function(fa){return fa!==void 0}));var Hi=Array.from(new Set([].concat((0,Oe.Z)(Ei),(0,Oe.Z)(ro))));Xr(Hi),Hi.forEach(function(fa){xa(fa,!0)})},Ka=tt.useMemo(function(){var Kr=En!==!1&&Ci!==!1;return(0,Ot.Z)((0,Ot.Z)({},cr),{},{flattenOptions:to,onActiveValue:Zs,defaultActiveFirstOption:Ga,onSelect:pl,menuItemSelectedIcon:$r,rawValues:Ei,fieldNames:Pr,virtual:Kr,direction:ci,listHeight:ir,listItemHeight:rr,childrenAsData:fr})},[cr,to,Zs,Ga,pl,$r,Ei,Pr,En,Ci,ir,rr,fr]);return tt.createElement(hr.Provider,{value:Ka},tt.createElement(Fe,(0,Se.Z)({},Bn,{id:Lr,prefixCls:Wn,ref:$e,omitDomProps:on,mode:Tt,displayValues:Mr,onDisplayValuesChange:wa,direction:ci,searchValue:vr,onSearch:Lo,autoClearSearchValue:ri,onSearchSplit:Ko,dropdownMatchSelectWidth:Ci,OptionList:ln,emptyOptions:!to.length,activeValue:$o,activeDescendantId:"".concat(Lr,"_list_").concat(oa)})))}),ze=bt;ze.Option=Gr,ze.OptGroup=or;var Gt=ze,an=Gt},9296:function(zn,Nn,ve){"use strict";ve.r(Nn),ve.d(Nn,{ResizableTextArea:function(){return ut},default:function(){return It}});var Se=ve(72308),Oe=ve(77321),We=ve(49618),Ot=ve(62853),et=ve(52487),yt=ve(74416),ke=ve(80702),Bt=ve(92310),Et=ve.n(Bt),tt=ve(93681),gt=ve(5643),dt=ve(18929),Ct=ve(59301),Me=ve(29301),te=ve(34280),ne=ve(16089),ce=` min-height:0 !important; max-height:none !important; height:0 !important; visibility:hidden !important; overflow:hidden !important; position:absolute !important; z-index:-1000 !important; top:0 !important; right:0 !important; pointer-events: none !important; `,se=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],ge={},ye;function Ce(Lt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ht=Lt.getAttribute("id")||Lt.getAttribute("data-reactid")||Lt.getAttribute("name");if(Ut&&ge[ht])return ge[ht];var Re=window.getComputedStyle(Lt),At=Re.getPropertyValue("box-sizing")||Re.getPropertyValue("-moz-box-sizing")||Re.getPropertyValue("-webkit-box-sizing"),Sn=parseFloat(Re.getPropertyValue("padding-bottom"))+parseFloat(Re.getPropertyValue("padding-top")),mn=parseFloat(Re.getPropertyValue("border-bottom-width"))+parseFloat(Re.getPropertyValue("border-top-width")),Ft=se.map(function(sn){return"".concat(sn,":").concat(Re.getPropertyValue(sn))}).join(";"),en={sizingStyle:Ft,paddingSize:Sn,borderSize:mn,boxSizing:At};return Ut&&ht&&(ge[ht]=en),en}function Ne(Lt){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ye||(ye=document.createElement("textarea"),ye.setAttribute("tab-index","-1"),ye.setAttribute("aria-hidden","true"),document.body.appendChild(ye)),Lt.getAttribute("wrap")?ye.setAttribute("wrap",Lt.getAttribute("wrap")):ye.removeAttribute("wrap");var At=Ce(Lt,Ut),Sn=At.paddingSize,mn=At.borderSize,Ft=At.boxSizing,en=At.sizingStyle;ye.setAttribute("style","".concat(en,";").concat(ce)),ye.value=Lt.value||Lt.placeholder||"";var sn=void 0,On=void 0,yn,Tn=ye.scrollHeight;if(Ft==="border-box"?Tn+=mn:Ft==="content-box"&&(Tn-=Sn),ht!==null||Re!==null){ye.value=" ";var pt=ye.scrollHeight-Sn;ht!==null&&(sn=pt*ht,Ft==="border-box"&&(sn=sn+Sn+mn),Tn=Math.max(sn,Tn)),Re!==null&&(On=pt*Re,Ft==="border-box"&&(On=On+Sn+mn),yn=Tn>On?"":"hidden",Tn=Math.min(On,Tn))}var Un={height:Tn,overflowY:yn,resize:"none"};return sn&&(Un.minHeight=sn),On&&(Un.maxHeight=On),Un}var Pe=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ie=0,Ke=1,Ve=2,Ye=Ct.forwardRef(function(Lt,Ut){var ht=Lt,Re=ht.prefixCls,At=ht.onPressEnter,Sn=ht.defaultValue,mn=ht.value,Ft=ht.autoSize,en=ht.onResize,sn=ht.className,On=ht.style,yn=ht.disabled,Tn=ht.onChange,pt=ht.onInternalAutoSize,Un=(0,yt.Z)(ht,Pe),wn=(0,dt.Z)(Sn,{value:mn,postState:function(or){return or!=null?or:""}}),An=(0,et.Z)(wn,2),ni=An[0],Qt=An[1],Jt=function(or){Qt(or.target.value),Tn==null||Tn(or)},St=Ct.useRef();Ct.useImperativeHandle(Ut,function(){return{textArea:St.current}});var Xe=Ct.useMemo(function(){return Ft&&(0,Ot.Z)(Ft)==="object"?[Ft.minRows,Ft.maxRows]:[]},[Ft]),Yt=(0,et.Z)(Xe,2),Kt=Yt[0],qe=Yt[1],Ge=!!Ft,Be=function(){try{if(document.activeElement===St.current){var or=St.current,jr=or.selectionStart,Gr=or.selectionEnd,Ir=or.scrollTop;St.current.setSelectionRange(jr,Gr),St.current.scrollTop=Ir}}catch(wr){}},xe=Ct.useState(Ve),me=(0,et.Z)(xe,2),Fe=me[0],He=me[1],Le=Ct.useState(),mt=(0,et.Z)(Le,2),zt=mt[0],Pn=mt[1],rn=function(){He(Ie)};(0,te.Z)(function(){Ge&&rn()},[mn,Kt,qe,Ge]),(0,te.Z)(function(){if(Fe===Ie)He(Ke);else if(Fe===Ke){var Dn=Ne(St.current,!1,Kt,qe);He(Ve),Pn(Dn)}else Be()},[Fe]);var In=Ct.useRef(),Gn=function(){ne.Z.cancel(In.current)},Pi=function(or){Fe===Ve&&(en==null||en(or),Ft&&(Gn(),In.current=(0,ne.Z)(function(){rn()})))};Ct.useEffect(function(){return Gn},[]);var Di=Ge?zt:null,Gi=(0,Oe.Z)((0,Oe.Z)({},On),Di);return(Fe===Ie||Fe===Ke)&&(Gi.overflowY="hidden",Gi.overflowX="hidden"),Ct.createElement(Me.Z,{onResize:Pi,disabled:!(Ft||en)},Ct.createElement("textarea",(0,Se.Z)({},Un,{ref:St,style:Gi,className:Et()(Re,sn,(0,We.Z)({},"".concat(Re,"-disabled"),yn)),disabled:yn,value:ni,onChange:Jt})))}),ut=Ye,Ue=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Nt(Lt,Ut){return(0,ke.Z)(Lt||"").slice(0,Ut).join("")}function Qe(Lt,Ut,ht,Re){var At=ht;return Lt?At=Nt(ht,Re):(0,ke.Z)(Ut||"").lengthRe&&(At=Ut),At}var Ht=Ct.forwardRef(function(Lt,Ut){var ht,Re=Lt.defaultValue,At=Lt.value,Sn=Lt.onFocus,mn=Lt.onBlur,Ft=Lt.onChange,en=Lt.allowClear,sn=Lt.maxLength,On=Lt.onCompositionStart,yn=Lt.onCompositionEnd,Tn=Lt.suffix,pt=Lt.prefixCls,Un=pt===void 0?"rc-textarea":pt,wn=Lt.classes,An=Lt.showCount,ni=Lt.className,Qt=Lt.style,Jt=Lt.disabled,St=Lt.hidden,Xe=Lt.classNames,Yt=Lt.styles,Kt=Lt.onResize,qe=(0,yt.Z)(Lt,Ue),Ge=(0,dt.Z)(Re,{value:At,defaultValue:Re}),Be=(0,et.Z)(Ge,2),xe=Be[0],me=Be[1],Fe=(0,Ct.useRef)(null),He=Ct.useState(!1),Le=(0,et.Z)(He,2),mt=Le[0],zt=Le[1],Pn=Ct.useState(!1),rn=(0,et.Z)(Pn,2),In=rn[0],Gn=rn[1],Pi=Ct.useRef(),Di=Ct.useRef(0),Gi=Ct.useState(null),Dn=(0,et.Z)(Gi,2),or=Dn[0],jr=Dn[1],Gr=function(){var wt;(wt=Fe.current)===null||wt===void 0||wt.textArea.focus()};(0,Ct.useImperativeHandle)(Ut,function(){return{resizableTextArea:Fe.current,focus:Gr,blur:function(){var wt;(wt=Fe.current)===null||wt===void 0||wt.textArea.blur()}}}),(0,Ct.useEffect)(function(){zt(function(on){return!Jt&&on})},[Jt]);var Ir=Number(sn)>0,wr=function(wt){Gn(!0),Pi.current=xe,Di.current=wt.currentTarget.selectionStart,On==null||On(wt)},so=function(wt){Gn(!1);var bt=wt.currentTarget.value;if(Ir){var ze,Gt=Di.current>=sn+1||Di.current===((ze=Pi.current)===null||ze===void 0?void 0:ze.length);bt=Qe(Gt,Pi.current,bt,sn)}bt!==xe&&(me(bt),(0,gt.rJ)(wt.currentTarget,wt,Ft,bt)),yn==null||yn(wt)},Rr=function(wt){var bt=wt.target.value;if(!In&&Ir){var ze=wt.target.selectionStart>=sn+1||wt.target.selectionStart===bt.length||!wt.target.selectionStart;bt=Qe(ze,xe,bt,sn)}me(bt),(0,gt.rJ)(wt.currentTarget,wt,Ft,bt)},hr=function(wt){var bt=qe.onPressEnter,ze=qe.onKeyDown;wt.key==="Enter"&&bt&&bt(wt),ze==null||ze(wt)},No=function(wt){zt(!0),Sn==null||Sn(wt)},vi=function(wt){zt(!1),mn==null||mn(wt)},Ee=function(wt){var bt;me(""),Gr(),(0,gt.rJ)((bt=Fe.current)===null||bt===void 0?void 0:bt.textArea,wt,Ft)},$n=(0,gt.D7)(xe);!In&&Ir&&At==null&&($n=Nt($n,sn));var fi=Tn,ln;if(An){var ei=(0,ke.Z)($n).length;(0,Ot.Z)(An)==="object"?ln=An.formatter({value:$n,count:ei,maxLength:sn}):ln="".concat(ei).concat(Ir?" / ".concat(sn):""),fi=Ct.createElement(Ct.Fragment,null,fi,Ct.createElement("span",{className:Et()("".concat(Un,"-data-count"),Xe==null?void 0:Xe.count),style:Yt==null?void 0:Yt.count},ln))}var Yn=function(wt){var bt;Kt==null||Kt(wt),(bt=Fe.current)!==null&&bt!==void 0&&bt.textArea.style.height&&jr(!0)},dn=!qe.autoSize&&!An&&!en,tn=Ct.createElement(tt.BaseInput,{value:$n,allowClear:en,handleReset:Ee,suffix:fi,prefixCls:Un,classes:{affixWrapper:Et()(wn==null?void 0:wn.affixWrapper,(ht={},(0,We.Z)(ht,"".concat(Un,"-show-count"),An),(0,We.Z)(ht,"".concat(Un,"-textarea-allow-clear"),en),ht))},disabled:Jt,focused:mt,className:ni,style:(0,Oe.Z)((0,Oe.Z)({},Qt),or&&!dn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ln=="string"?ln:void 0}},hidden:St,inputElement:Ct.createElement(ut,(0,Se.Z)({},qe,{onKeyDown:hr,onChange:Rr,onFocus:No,onBlur:vi,onCompositionStart:wr,onCompositionEnd:so,className:Xe==null?void 0:Xe.textarea,style:(0,Oe.Z)((0,Oe.Z)({},Yt==null?void 0:Yt.textarea),{},{resize:Qt==null?void 0:Qt.resize}),disabled:Jt,prefixCls:Un,onResize:Yn,ref:Fe}))});return tn}),Rt=Ht,It=Rt},39417:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Ke}});var Se=ve(72308),Oe=ve(49618),We=ve(74416),Ot=ve(77321),et=ve(96949),yt=ve(55090),ke=ve(80237),Bt=ve(77205),Et=ve(38793),tt=ve(92310),gt=ve.n(tt),dt=ve(26112),Ct=ve(59301),Me=ve(39378),te=function(Ye){for(var ut=Ye.prefixCls,Ue=Ye.level,Nt=Ye.isStart,Qe=Ye.isEnd,Ht="".concat(ut,"-indent-unit"),Rt=[],It=0;It0&&arguments[0]!==void 0?arguments[0]:[],Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],St=Qt.length,Xe=Jt.length;if(Math.abs(St-Xe)!==1)return{add:!1,key:null};function Yt(Kt,qe){var Ge=new Map;Kt.forEach(function(xe){Ge.set(xe,!0)});var Be=qe.filter(function(xe){return!Ge.has(xe)});return Be.length===1?Be[0]:null}return St ").concat(Jt);return Jt}var sn=ne.forwardRef(function(Qt,Jt){var St=Qt.prefixCls,Xe=Qt.data,Yt=Qt.selectable,Kt=Qt.checkable,qe=Qt.expandedKeys,Ge=Qt.selectedKeys,Be=Qt.checkedKeys,xe=Qt.loadedKeys,me=Qt.loadingKeys,Fe=Qt.halfCheckedKeys,He=Qt.keyEntities,Le=Qt.disabled,mt=Qt.dragging,zt=Qt.dragOverNodeKey,Pn=Qt.dropPosition,rn=Qt.motion,In=Qt.height,Gn=Qt.itemHeight,Pi=Qt.virtual,Di=Qt.focusable,Gi=Qt.activeItem,Dn=Qt.focused,or=Qt.tabIndex,jr=Qt.onKeyDown,Gr=Qt.onFocus,Ir=Qt.onBlur,wr=Qt.onActiveChange,so=Qt.onListChangeStart,Rr=Qt.onListChangeEnd,hr=(0,Ce.Z)(Qt,It),No=ne.useRef(null),vi=ne.useRef(null);ne.useImperativeHandle(Jt,function(){return{scrollTo:function(hn){No.current.scrollTo(hn)},getIndentWidth:function(){return vi.current.offsetWidth}}});var Ee=ne.useState(qe),$n=(0,ye.Z)(Ee,2),fi=$n[0],ln=$n[1],ei=ne.useState(Xe),Yn=(0,ye.Z)(ei,2),dn=Yn[0],tn=Yn[1],on=ne.useState(Xe),wt=(0,ye.Z)(on,2),bt=wt[0],ze=wt[1],Gt=ne.useState([]),an=(0,ye.Z)(Gt,2),ct=an[0],$e=an[1],$t=ne.useState(null),Tt=(0,ye.Z)($t,2),Mn=Tt[0],Wn=Tt[1],st=ne.useRef(Xe);st.current=Xe;function fn(){var nn=st.current;tn(nn),ze(nn),$e([]),Wn(null),Rr()}(0,Ne.Z)(function(){ln(qe);var nn=Ht(fi,qe);if(nn.key!==null)if(nn.add){var hn=dn.findIndex(function(Li){var qi=Li.key;return qi===nn.key}),ri=mn(Rt(dn,Xe,nn.key),Pi,In,Gn),gi=dn.slice();gi.splice(hn+1,0,Sn),ze(gi),$e(ri),Wn("show")}else{var yi=Xe.findIndex(function(Li){var qi=Li.key;return qi===nn.key}),oi=mn(Rt(Xe,dn,nn.key),Pi,In,Gn),Ci=Xe.slice();Ci.splice(yi+1,0,Sn),ze(Ci),$e(oi),Wn("hide")}else dn!==Xe&&(tn(Xe),ze(Xe))},[qe,Xe]),ne.useEffect(function(){mt||fn()},[mt]);var Kn=rn?bt:Xe,_n={expandedKeys:qe,selectedKeys:Ge,loadedKeys:xe,loadingKeys:me,checkedKeys:Be,halfCheckedKeys:Fe,dragOverNodeKey:zt,dropPosition:Pn,keyEntities:He};return ne.createElement(ne.Fragment,null,Dn&&Gi&&ne.createElement("span",{style:Lt,"aria-live":"assertive"},en(Gi)),ne.createElement("div",null,ne.createElement("input",{style:Lt,disabled:Di===!1||Le,tabIndex:Di!==!1?or:null,onKeyDown:jr,onFocus:Gr,onBlur:Ir,value:"",onChange:Ut,"aria-label":"for screen reader"})),ne.createElement("div",{className:"".concat(St,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ne.createElement("div",{className:"".concat(St,"-indent")},ne.createElement("div",{ref:vi,className:"".concat(St,"-indent-unit")}))),ne.createElement(Pe.Z,(0,Se.Z)({},hr,{data:Kn,itemKey:Ft,height:In,fullHeight:!1,virtual:Pi,itemHeight:Gn,prefixCls:"".concat(St,"-list"),ref:No,onVisibleChange:function(hn,ri){var gi=new Set(hn),yi=ri.filter(function(oi){return!gi.has(oi)});yi.some(function(oi){return Ft(oi)===ht})&&fn()}}),function(nn){var hn=nn.pos,ri=(0,Se.Z)({},(ge(nn.data),nn.data)),gi=nn.title,yi=nn.key,oi=nn.isStart,Ci=nn.isEnd,Li=(0,Ye.km)(yi,hn);delete ri.key,delete ri.children;var qi=(0,Ye.H8)(Li,_n);return ne.createElement(Qe,(0,Se.Z)({},ri,qi,{title:gi,active:!!Gi&&yi===Gi.key,pos:hn,data:nn.data,isStart:oi,isEnd:Ci,motion:rn,motionNodes:yi===ht?ct:null,motionType:Mn,onMotionStart:so,onMotionEnd:fn,treeNodeRequiredProps:_n,onMouseMove:function(){wr(null)}}))}))});sn.displayName="NodeList";var On=sn,yn=ve(35654),Tn=ve(90782),pt=ve(67841),Un=10,wn=function(Qt){(0,Et.Z)(St,Qt);var Jt=(0,tt.Z)(St);function St(){var Xe;(0,yt.Z)(this,St);for(var Yt=arguments.length,Kt=new Array(Yt),qe=0;qe2&&arguments[2]!==void 0?arguments[2]:!1,Fe=Xe.state,He=Fe.dragChildrenKeys,Le=Fe.dropPosition,mt=Fe.dropTargetKey,zt=Fe.dropTargetPos,Pn=Fe.dropAllowed;if(Pn){var rn=Xe.props.onDrop;if(Xe.setState({dragOverNodeKey:null}),Xe.cleanDragState(),mt!==null){var In=(0,Ot.Z)((0,Ot.Z)({},(0,Ye.H8)(mt,Xe.getTreeNodeRequiredProps())),{},{active:((xe=Xe.getActiveItem())===null||xe===void 0?void 0:xe.key)===mt,data:(0,pt.Z)(Xe.state.keyEntities,mt).node}),Gn=He.indexOf(mt)!==-1;(0,te.ZP)(!Gn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Pi=(0,yn.yx)(zt),Di={event:Ge,node:(0,Ye.F)(In),dragNode:Xe.dragNode?(0,Ye.F)(Xe.dragNode.props):null,dragNodesKeys:[Xe.dragNode.props.eventKey].concat(He),dropToGap:Le!==0,dropPosition:Le+Number(Pi[Pi.length-1])};me||rn==null||rn(Di),Xe.dragNode=null}}},Xe.cleanDragState=function(){var Ge=Xe.state.draggingNodeKey;Ge!==null&&Xe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Xe.dragStartMousePosition=null,Xe.currentMouseOverDroppableNodeKey=null},Xe.triggerExpandActionExpand=function(Ge,Be){var xe=Xe.state,me=xe.expandedKeys,Fe=xe.flattenNodes,He=Be.expanded,Le=Be.key,mt=Be.isLeaf;if(!(mt||Ge.shiftKey||Ge.metaKey||Ge.ctrlKey)){var zt=Fe.filter(function(rn){return rn.key===Le})[0],Pn=(0,Ye.F)((0,Ot.Z)((0,Ot.Z)({},(0,Ye.H8)(Le,Xe.getTreeNodeRequiredProps())),{},{data:zt.data}));Xe.setExpandedKeys(He?(0,yn._5)(me,Le):(0,yn.L0)(me,Le)),Xe.onNodeExpand(Ge,Pn)}},Xe.onNodeClick=function(Ge,Be){var xe=Xe.props,me=xe.onClick,Fe=xe.expandAction;Fe==="click"&&Xe.triggerExpandActionExpand(Ge,Be),me==null||me(Ge,Be)},Xe.onNodeDoubleClick=function(Ge,Be){var xe=Xe.props,me=xe.onDoubleClick,Fe=xe.expandAction;Fe==="doubleClick"&&Xe.triggerExpandActionExpand(Ge,Be),me==null||me(Ge,Be)},Xe.onNodeSelect=function(Ge,Be){var xe=Xe.state.selectedKeys,me=Xe.state,Fe=me.keyEntities,He=me.fieldNames,Le=Xe.props,mt=Le.onSelect,zt=Le.multiple,Pn=Be.selected,rn=Be[He.key],In=!Pn;In?zt?xe=(0,yn.L0)(xe,rn):xe=[rn]:xe=(0,yn._5)(xe,rn);var Gn=xe.map(function(Pi){var Di=(0,pt.Z)(Fe,Pi);return Di?Di.node:null}).filter(function(Pi){return Pi});Xe.setUncontrolledState({selectedKeys:xe}),mt==null||mt(xe,{event:"select",selected:In,node:Be,selectedNodes:Gn,nativeEvent:Ge.nativeEvent})},Xe.onNodeCheck=function(Ge,Be,xe){var me=Xe.state,Fe=me.keyEntities,He=me.checkedKeys,Le=me.halfCheckedKeys,mt=Xe.props,zt=mt.checkStrictly,Pn=mt.onCheck,rn=Be.key,In,Gn={event:"check",node:Be,checked:xe,nativeEvent:Ge.nativeEvent};if(zt){var Pi=xe?(0,yn.L0)(He,rn):(0,yn._5)(He,rn),Di=(0,yn._5)(Le,rn);In={checked:Pi,halfChecked:Di},Gn.checkedNodes=Pi.map(function(Ir){return(0,pt.Z)(Fe,Ir)}).filter(function(Ir){return Ir}).map(function(Ir){return Ir.node}),Xe.setUncontrolledState({checkedKeys:Pi})}else{var Gi=(0,Tn.S)([].concat((0,et.Z)(He),[rn]),!0,Fe),Dn=Gi.checkedKeys,or=Gi.halfCheckedKeys;if(!xe){var jr=new Set(Dn);jr.delete(rn);var Gr=(0,Tn.S)(Array.from(jr),{checked:!1,halfCheckedKeys:or},Fe);Dn=Gr.checkedKeys,or=Gr.halfCheckedKeys}In=Dn,Gn.checkedNodes=[],Gn.checkedNodesPositions=[],Gn.halfCheckedKeys=or,Dn.forEach(function(Ir){var wr=(0,pt.Z)(Fe,Ir);if(wr){var so=wr.node,Rr=wr.pos;Gn.checkedNodes.push(so),Gn.checkedNodesPositions.push({node:so,pos:Rr})}}),Xe.setUncontrolledState({checkedKeys:Dn},!1,{halfCheckedKeys:or})}Pn==null||Pn(In,Gn)},Xe.onNodeLoad=function(Ge){var Be=Ge.key,xe=new Promise(function(me,Fe){Xe.setState(function(He){var Le=He.loadedKeys,mt=Le===void 0?[]:Le,zt=He.loadingKeys,Pn=zt===void 0?[]:zt,rn=Xe.props,In=rn.loadData,Gn=rn.onLoad;if(!In||mt.indexOf(Be)!==-1||Pn.indexOf(Be)!==-1)return null;var Pi=In(Ge);return Pi.then(function(){var Di=Xe.state.loadedKeys,Gi=(0,yn.L0)(Di,Be);Gn==null||Gn(Gi,{event:"load",node:Ge}),Xe.setUncontrolledState({loadedKeys:Gi}),Xe.setState(function(Dn){return{loadingKeys:(0,yn._5)(Dn.loadingKeys,Be)}}),me()}).catch(function(Di){if(Xe.setState(function(Dn){return{loadingKeys:(0,yn._5)(Dn.loadingKeys,Be)}}),Xe.loadingRetryTimes[Be]=(Xe.loadingRetryTimes[Be]||0)+1,Xe.loadingRetryTimes[Be]>=Un){var Gi=Xe.state.loadedKeys;(0,te.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Xe.setUncontrolledState({loadedKeys:(0,yn.L0)(Gi,Be)}),me()}Fe(Di)}),{loadingKeys:(0,yn.L0)(Pn,Be)}})});return xe.catch(function(){}),xe},Xe.onNodeMouseEnter=function(Ge,Be){var xe=Xe.props.onMouseEnter;xe==null||xe({event:Ge,node:Be})},Xe.onNodeMouseLeave=function(Ge,Be){var xe=Xe.props.onMouseLeave;xe==null||xe({event:Ge,node:Be})},Xe.onNodeContextMenu=function(Ge,Be){var xe=Xe.props.onRightClick;xe&&(Ge.preventDefault(),xe({event:Ge,node:Be}))},Xe.onFocus=function(){var Ge=Xe.props.onFocus;Xe.setState({focused:!0});for(var Be=arguments.length,xe=new Array(Be),me=0;me1&&arguments[1]!==void 0?arguments[1]:!1,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Xe.destroyed){var me=!1,Fe=!0,He={};Object.keys(Ge).forEach(function(Le){if(Le in Xe.props){Fe=!1;return}me=!0,He[Le]=Ge[Le]}),me&&(!Be||Fe)&&Xe.setState((0,Ot.Z)((0,Ot.Z)({},He),xe))}},Xe.scrollTo=function(Ge){Xe.listRef.current.scrollTo(Ge)},Xe}return(0,ke.Z)(St,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Yt=this.props.activeKey;Yt!==void 0&&Yt!==this.state.activeKey&&(this.setState({activeKey:Yt}),Yt!==null&&this.scrollTo({key:Yt}))}},{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 Yt,Kt=this.state,qe=Kt.focused,Ge=Kt.flattenNodes,Be=Kt.keyEntities,xe=Kt.draggingNodeKey,me=Kt.activeKey,Fe=Kt.dropLevelOffset,He=Kt.dropContainerKey,Le=Kt.dropTargetKey,mt=Kt.dropPosition,zt=Kt.dragOverNodeKey,Pn=Kt.indent,rn=this.props,In=rn.prefixCls,Gn=rn.className,Pi=rn.style,Di=rn.showLine,Gi=rn.focusable,Dn=rn.tabIndex,or=Dn===void 0?0:Dn,jr=rn.selectable,Gr=rn.showIcon,Ir=rn.icon,wr=rn.switcherIcon,so=rn.draggable,Rr=rn.checkable,hr=rn.checkStrictly,No=rn.disabled,vi=rn.motion,Ee=rn.loadData,$n=rn.filterTreeNode,fi=rn.height,ln=rn.itemHeight,ei=rn.virtual,Yn=rn.titleRender,dn=rn.dropIndicatorRender,tn=rn.onContextMenu,on=rn.onScroll,wt=rn.direction,bt=rn.rootClassName,ze=rn.rootStyle,Gt=(0,Me.Z)(this.props,{aria:!0,data:!0}),an;return so&&((0,We.Z)(so)==="object"?an=so:typeof so=="function"?an={nodeDraggable:so}:an={}),ne.createElement(ce.k.Provider,{value:{prefixCls:In,selectable:jr,showIcon:Gr,icon:Ir,switcherIcon:wr,draggable:an,draggingNodeKey:xe,checkable:Rr,checkStrictly:hr,disabled:No,keyEntities:Be,dropLevelOffset:Fe,dropContainerKey:He,dropTargetKey:Le,dropPosition:mt,dragOverNodeKey:zt,indent:Pn,direction:wt,dropIndicatorRender:dn,loadData:Ee,filterTreeNode:$n,titleRender:Yn,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}},ne.createElement("div",{role:"tree",className:dt()(In,Gn,bt,(Yt={},(0,Oe.Z)(Yt,"".concat(In,"-show-line"),Di),(0,Oe.Z)(Yt,"".concat(In,"-focused"),qe),(0,Oe.Z)(Yt,"".concat(In,"-active-focused"),me!==null),Yt)),style:ze},ne.createElement(On,(0,Se.Z)({ref:this.listRef,prefixCls:In,style:Pi,data:Ge,disabled:No,selectable:jr,checkable:!!Rr,motion:vi,dragging:xe!==null,height:fi,itemHeight:ln,virtual:ei,focusable:Gi,focused:qe,tabIndex:or,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:on},this.getTreeNodeRequiredProps(),Gt))))}}],[{key:"getDerivedStateFromProps",value:function(Yt,Kt){var qe=Kt.prevProps,Ge={prevProps:Yt};function Be(Gi){return!qe&&Gi in Yt||qe&&qe[Gi]!==Yt[Gi]}var xe,me=Kt.fieldNames;if(Be("fieldNames")&&(me=(0,Ye.w$)(Yt.fieldNames),Ge.fieldNames=me),Be("treeData")?xe=Yt.treeData:Be("children")&&((0,te.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),xe=(0,Ye.zn)(Yt.children)),xe){Ge.treeData=xe;var Fe=(0,Ye.I8)(xe,{fieldNames:me});Ge.keyEntities=(0,Ot.Z)((0,Oe.Z)({},ht,At),Fe.keyEntities)}var He=Ge.keyEntities||Kt.keyEntities;if(Be("expandedKeys")||qe&&Be("autoExpandParent"))Ge.expandedKeys=Yt.autoExpandParent||!qe&&Yt.defaultExpandParent?(0,yn.r7)(Yt.expandedKeys,He):Yt.expandedKeys;else if(!qe&&Yt.defaultExpandAll){var Le=(0,Ot.Z)({},He);delete Le[ht],Ge.expandedKeys=Object.keys(Le).map(function(Gi){return Le[Gi].key})}else!qe&&Yt.defaultExpandedKeys&&(Ge.expandedKeys=Yt.autoExpandParent||Yt.defaultExpandParent?(0,yn.r7)(Yt.defaultExpandedKeys,He):Yt.defaultExpandedKeys);if(Ge.expandedKeys||delete Ge.expandedKeys,xe||Ge.expandedKeys){var mt=(0,Ye.oH)(xe||Kt.treeData,Ge.expandedKeys||Kt.expandedKeys,me);Ge.flattenNodes=mt}if(Yt.selectable&&(Be("selectedKeys")?Ge.selectedKeys=(0,yn.BT)(Yt.selectedKeys,Yt):!qe&&Yt.defaultSelectedKeys&&(Ge.selectedKeys=(0,yn.BT)(Yt.defaultSelectedKeys,Yt))),Yt.checkable){var zt;if(Be("checkedKeys")?zt=(0,yn.E6)(Yt.checkedKeys)||{}:!qe&&Yt.defaultCheckedKeys?zt=(0,yn.E6)(Yt.defaultCheckedKeys)||{}:xe&&(zt=(0,yn.E6)(Yt.checkedKeys)||{checkedKeys:Kt.checkedKeys,halfCheckedKeys:Kt.halfCheckedKeys}),zt){var Pn=zt,rn=Pn.checkedKeys,In=rn===void 0?[]:rn,Gn=Pn.halfCheckedKeys,Pi=Gn===void 0?[]:Gn;if(!Yt.checkStrictly){var Di=(0,Tn.S)(In,!0,He);In=Di.checkedKeys,Pi=Di.halfCheckedKeys}Ge.checkedKeys=In,Ge.halfCheckedKeys=Pi}}return Be("loadedKeys")&&(Ge.loadedKeys=Yt.loadedKeys),Ge}}]),St}(ne.Component);wn.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:se,allowDrop:function(){return!0},expandAction:!1},wn.TreeNode=Ke.Z;var An=wn,ni=An},35654:function(zn,Nn,ve){"use strict";ve.d(Nn,{BT:function(){return ne},E6:function(){return ge},L0:function(){return tt},OM:function(){return te},_5:function(){return Et},r7:function(){return ye},wA:function(){return dt},yx:function(){return gt}});var Se=ve(80702),Oe=ve(62853),We=ve(48736),Ot=ve(59301),et=ve(39417),yt=ve(67841),ke=ve(71430),Bt=null;function Et(Ce,Ne){if(!Ce)return[];var Pe=Ce.slice(),Ie=Pe.indexOf(Ne);return Ie>=0&&Pe.splice(Ie,1),Pe}function tt(Ce,Ne){var Pe=(Ce||[]).slice();return Pe.indexOf(Ne)===-1&&Pe.push(Ne),Pe}function gt(Ce){return Ce.split("-")}function dt(Ce,Ne){var Pe=[],Ie=(0,yt.Z)(Ne,Ce);function Ke(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ve.forEach(function(Ye){var ut=Ye.key,Ue=Ye.children;Pe.push(ut),Ke(Ue)})}return Ke(Ie.children),Pe}function Ct(Ce){if(Ce.parent){var Ne=gt(Ce.pos);return Number(Ne[Ne.length-1])===Ce.parent.children.length-1}return!1}function Me(Ce){var Ne=gt(Ce.pos);return Number(Ne[Ne.length-1])===0}function te(Ce,Ne,Pe,Ie,Ke,Ve,Ye,ut,Ue,Nt){var Qe,Ht=Ce.clientX,Rt=Ce.clientY,It=Ce.target.getBoundingClientRect(),Lt=It.top,Ut=It.height,ht=(Nt==="rtl"?-1:1)*(((Ke==null?void 0:Ke.x)||0)-Ht),Re=(ht-12)/Ie,At=(0,yt.Z)(ut,Pe.props.eventKey);if(Rt-1.5?Ve({dragNode:Un,dropNode:wn,dropPosition:1})?yn=1:An=!1:Ve({dragNode:Un,dropNode:wn,dropPosition:0})?yn=0:Ve({dragNode:Un,dropNode:wn,dropPosition:1})?yn=1:An=!1:Ve({dragNode:Un,dropNode:wn,dropPosition:1})?yn=1:An=!1,{dropPosition:yn,dropLevelOffset:Tn,dropTargetKey:At.key,dropTargetPos:At.pos,dragOverNodeKey:On,dropContainerKey:yn===0?null:((Qe=At.parent)===null||Qe===void 0?void 0:Qe.key)||null,dropAllowed:An}}function ne(Ce,Ne){if(Ce){var Pe=Ne.multiple;return Pe?Ce.slice():Ce.length?[Ce[0]]:Ce}}var ce=function(Ne){return Ne};function se(Ce,Ne){if(!Ce)return[];var Pe=Ne||{},Ie=Pe.processProps,Ke=Ie===void 0?ce:Ie,Ve=Array.isArray(Ce)?Ce:[Ce];return Ve.map(function(Ye){var ut=Ye.children,Ue=_objectWithoutProperties(Ye,Bt),Nt=se(ut,Ne);return React.createElement(TreeNode,_extends({key:Ue.key},Ke(Ue)),Nt)})}function ge(Ce){if(!Ce)return null;var Ne;if(Array.isArray(Ce))Ne={checkedKeys:Ce,halfCheckedKeys:void 0};else if((0,Oe.Z)(Ce)==="object")Ne={checkedKeys:Ce.checked||void 0,halfCheckedKeys:Ce.halfChecked||void 0};else return(0,We.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Ne}function ye(Ce,Ne){var Pe=new Set;function Ie(Ke){if(!Pe.has(Ke)){var Ve=(0,yt.Z)(Ne,Ke);if(Ve){Pe.add(Ke);var Ye=Ve.parent,ut=Ve.node;ut.disabled||Ye&&Ie(Ye.key)}}}return(Ce||[]).forEach(function(Ke){Ie(Ke)}),(0,Se.Z)(Pe)}},90782:function(zn,Nn,ve){"use strict";ve.d(Nn,{S:function(){return ke}});var Se=ve(48736),Oe=ve(67841);function We(Bt,Et){var tt=new Set;return Bt.forEach(function(gt){Et.has(gt)||tt.add(gt)}),tt}function Ot(Bt){var Et=Bt||{},tt=Et.disabled,gt=Et.disableCheckbox,dt=Et.checkable;return!!(tt||gt)||dt===!1}function et(Bt,Et,tt,gt){for(var dt=new Set(Bt),Ct=new Set,Me=0;Me<=tt;Me+=1){var te=Et.get(Me)||new Set;te.forEach(function(ge){var ye=ge.key,Ce=ge.node,Ne=ge.children,Pe=Ne===void 0?[]:Ne;dt.has(ye)&&!gt(Ce)&&Pe.filter(function(Ie){return!gt(Ie.node)}).forEach(function(Ie){dt.add(Ie.key)})})}for(var ne=new Set,ce=tt;ce>=0;ce-=1){var se=Et.get(ce)||new Set;se.forEach(function(ge){var ye=ge.parent,Ce=ge.node;if(!(gt(Ce)||!ge.parent||ne.has(ge.parent.key))){if(gt(ge.parent.node)){ne.add(ye.key);return}var Ne=!0,Pe=!1;(ye.children||[]).filter(function(Ie){return!gt(Ie.node)}).forEach(function(Ie){var Ke=Ie.key,Ve=dt.has(Ke);Ne&&!Ve&&(Ne=!1),!Pe&&(Ve||Ct.has(Ke))&&(Pe=!0)}),Ne&&dt.add(ye.key),Pe&&Ct.add(ye.key),ne.add(ye.key)}})}return{checkedKeys:Array.from(dt),halfCheckedKeys:Array.from(We(Ct,dt))}}function yt(Bt,Et,tt,gt,dt){for(var Ct=new Set(Bt),Me=new Set(Et),te=0;te<=gt;te+=1){var ne=tt.get(te)||new Set;ne.forEach(function(ye){var Ce=ye.key,Ne=ye.node,Pe=ye.children,Ie=Pe===void 0?[]:Pe;!Ct.has(Ce)&&!Me.has(Ce)&&!dt(Ne)&&Ie.filter(function(Ke){return!dt(Ke.node)}).forEach(function(Ke){Ct.delete(Ke.key)})})}Me=new Set;for(var ce=new Set,se=gt;se>=0;se-=1){var ge=tt.get(se)||new Set;ge.forEach(function(ye){var Ce=ye.parent,Ne=ye.node;if(!(dt(Ne)||!ye.parent||ce.has(ye.parent.key))){if(dt(ye.parent.node)){ce.add(Ce.key);return}var Pe=!0,Ie=!1;(Ce.children||[]).filter(function(Ke){return!dt(Ke.node)}).forEach(function(Ke){var Ve=Ke.key,Ye=Ct.has(Ve);Pe&&!Ye&&(Pe=!1),!Ie&&(Ye||Me.has(Ve))&&(Ie=!0)}),Pe||Ct.delete(Ce.key),Ie&&Me.add(Ce.key),ce.add(Ce.key)}})}return{checkedKeys:Array.from(Ct),halfCheckedKeys:Array.from(We(Me,Ct))}}function ke(Bt,Et,tt,gt){var dt=[],Ct;gt?Ct=gt:Ct=Ot;var Me=new Set(Bt.filter(function(se){var ge=!!(0,Oe.Z)(tt,se);return ge||dt.push(se),ge})),te=new Map,ne=0;Object.keys(tt).forEach(function(se){var ge=tt[se],ye=ge.level,Ce=te.get(ye);Ce||(Ce=new Set,te.set(ye,Ce)),Ce.add(ge),ne=Math.max(ne,ye)}),(0,Se.ZP)(!dt.length,"Tree missing follow keys: ".concat(dt.slice(0,100).map(function(se){return"'".concat(se,"'")}).join(", ")));var ce;return Et===!0?ce=et(Me,te,ne,Ct):ce=yt(Me,Et.halfCheckedKeys,te,ne,Ct),ce}},67841:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Se}});function Se(Oe,We){return Oe[We]}},71430:function(zn,Nn,ve){"use strict";ve.d(Nn,{F:function(){return ye},H8:function(){return ge},I8:function(){return se},km:function(){return dt},oH:function(){return ne},w$:function(){return Ct},zn:function(){return te}});var Se=ve(62853),Oe=ve(80702),We=ve(77321),Ot=ve(74416),et=ve(11592),yt=ve(2738),ke=ve(48736),Bt=ve(67841),Et=["children"];function tt(Ce,Ne){return"".concat(Ce,"-").concat(Ne)}function gt(Ce){return Ce&&Ce.type&&Ce.type.isTreeNode}function dt(Ce,Ne){return Ce!=null?Ce:Ne}function Ct(Ce){var Ne=Ce||{},Pe=Ne.title,Ie=Ne._title,Ke=Ne.key,Ve=Ne.children,Ye=Pe||"title";return{title:Ye,_title:Ie||[Ye],key:Ke||"key",children:Ve||"children"}}function Me(Ce,Ne){var Pe=new Map;function Ie(Ke){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ke||[]).forEach(function(Ye){var ut=Ye[Ne.key],Ue=Ye[Ne.children];warning(ut!=null,"Tree node must have a certain key: [".concat(Ve).concat(ut,"]"));var Nt=String(ut);warning(!Pe.has(Nt)||ut===null||ut===void 0,"Same 'key' exist in the Tree: ".concat(Nt)),Pe.set(Nt,!0),Ie(Ue,"".concat(Ve).concat(Nt," > "))})}Ie(Ce)}function te(Ce){function Ne(Pe){var Ie=(0,et.Z)(Pe);return Ie.map(function(Ke){if(!gt(Ke))return(0,ke.ZP)(!Ke,"Tree/TreeNode can only accept TreeNode as children."),null;var Ve=Ke.key,Ye=Ke.props,ut=Ye.children,Ue=(0,Ot.Z)(Ye,Et),Nt=(0,We.Z)({key:Ve},Ue),Qe=Ne(ut);return Qe.length&&(Nt.children=Qe),Nt}).filter(function(Ke){return Ke})}return Ne(Ce)}function ne(Ce,Ne,Pe){var Ie=Ct(Pe),Ke=Ie._title,Ve=Ie.key,Ye=Ie.children,ut=new Set(Ne===!0?[]:Ne),Ue=[];function Nt(Qe){var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Qe.map(function(Rt,It){for(var Lt=tt(Ht?Ht.pos:"0",It),Ut=dt(Rt[Ve],Lt),ht,Re=0;Re1&&arguments[1]!==void 0?arguments[1]:{},Pe=Ne.initWrapper,Ie=Ne.processEntity,Ke=Ne.onProcessFinished,Ve=Ne.externalGetKey,Ye=Ne.childrenPropName,ut=Ne.fieldNames,Ue=arguments.length>2?arguments[2]:void 0,Nt=Ve||Ue,Qe={},Ht={},Rt={posEntities:Qe,keyEntities:Ht};return Pe&&(Rt=Pe(Rt)||Rt),ce(Ce,function(It){var Lt=It.node,Ut=It.index,ht=It.pos,Re=It.key,At=It.parentPos,Sn=It.level,mn=It.nodes,Ft={node:Lt,nodes:mn,index:Ut,key:Re,pos:ht,level:Sn},en=dt(Re,ht);Qe[ht]=Ft,Ht[en]=Ft,Ft.parent=Qe[At],Ft.parent&&(Ft.parent.children=Ft.parent.children||[],Ft.parent.children.push(Ft)),Ie&&Ie(Ft,Rt)},{externalGetKey:Nt,childrenPropName:Ye,fieldNames:ut}),Ke&&Ke(Rt),Rt}function ge(Ce,Ne){var Pe=Ne.expandedKeys,Ie=Ne.selectedKeys,Ke=Ne.loadedKeys,Ve=Ne.loadingKeys,Ye=Ne.checkedKeys,ut=Ne.halfCheckedKeys,Ue=Ne.dragOverNodeKey,Nt=Ne.dropPosition,Qe=Ne.keyEntities,Ht=(0,Bt.Z)(Qe,Ce),Rt={eventKey:Ce,expanded:Pe.indexOf(Ce)!==-1,selected:Ie.indexOf(Ce)!==-1,loaded:Ke.indexOf(Ce)!==-1,loading:Ve.indexOf(Ce)!==-1,checked:Ye.indexOf(Ce)!==-1,halfChecked:ut.indexOf(Ce)!==-1,pos:String(Ht?Ht.pos:""),dragOver:Ue===Ce&&Nt===0,dragOverGapTop:Ue===Ce&&Nt===-1,dragOverGapBottom:Ue===Ce&&Nt===1};return Rt}function ye(Ce){var Ne=Ce.data,Pe=Ce.expanded,Ie=Ce.selected,Ke=Ce.checked,Ve=Ce.loaded,Ye=Ce.loading,ut=Ce.halfChecked,Ue=Ce.dragOver,Nt=Ce.dragOverGapTop,Qe=Ce.dragOverGapBottom,Ht=Ce.pos,Rt=Ce.active,It=Ce.eventKey,Lt=(0,We.Z)((0,We.Z)({},Ne),{},{expanded:Pe,selected:Ie,checked:Ke,loaded:Ve,loading:Ye,halfChecked:ut,dragOver:Ue,dragOverGapTop:Nt,dragOverGapBottom:Qe,pos:Ht,active:Rt,key:It});return"props"in Lt||Object.defineProperty(Lt,"props",{get:function(){return(0,ke.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Ce}}),Lt}},8224:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Oe}});var Se=ve(4676);function Oe(We,Ot,et,yt){var ke=Se.unstable_batchedUpdates?function(Et){Se.unstable_batchedUpdates(et,Et)}:et;return We!=null&&We.addEventListener&&We.addEventListener(Ot,ke,yt),{remove:function(){We!=null&&We.removeEventListener&&We.removeEventListener(Ot,ke,yt)}}}},55468:function(zn,Nn,ve){"use strict";ve.d(Nn,{g1:function(){return gt},os:function(){return Ct}});var Se=/margin|padding|width|height|max|min|offset/,Oe={left:!0,top:!0},We={cssFloat:1,styleFloat:1,float:1};function Ot(Me){return Me.nodeType===1?Me.ownerDocument.defaultView.getComputedStyle(Me,null):{}}function et(Me,te,ne){if(te=te.toLowerCase(),ne==="auto"){if(te==="height")return Me.offsetHeight;if(te==="width")return Me.offsetWidth}return te in Oe||(Oe[te]=Se.test(te)),Oe[te]?parseFloat(ne)||0:ne}function yt(Me,te){var ne=arguments.length,ce=Ot(Me);return te=We[te]?"cssFloat"in Me.style?"cssFloat":"styleFloat":te,ne===1?ce:et(Me,te,ce[te]||Me.style[te])}function ke(Me,te,ne){var ce=arguments.length;if(te=We[te]?"cssFloat"in Me.style?"cssFloat":"styleFloat":te,ce===3)return typeof ne=="number"&&Se.test(te)&&(ne="".concat(ne,"px")),Me.style[te]=ne,ne;for(var se in te)te.hasOwnProperty(se)&&ke(Me,se,te[se]);return Ot(Me)}function Bt(Me){return Me===document.body?document.documentElement.clientWidth:Me.offsetWidth}function Et(Me){return Me===document.body?window.innerHeight||document.documentElement.clientHeight:Me.offsetHeight}function tt(){var Me=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),te=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Me,height:te}}function gt(){var Me=document.documentElement.clientWidth,te=window.innerHeight||document.documentElement.clientHeight;return{width:Me,height:te}}function dt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ct(Me){var te=Me.getBoundingClientRect(),ne=document.documentElement;return{left:te.left+(window.pageXOffset||ne.scrollLeft)-(ne.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||ne.scrollTop)-(ne.clientTop||document.body.clientTop||0)}}},24514:function(zn,Nn,ve){"use strict";ve.d(Nn,{G:function(){return Ot}});var Se=ve(47273),Oe=function(yt){if((0,Se.Z)()&&window.document.documentElement){var ke=Array.isArray(yt)?yt:[yt],Bt=window.document.documentElement;return ke.some(function(Et){return Et in Bt.style})}return!1},We=function(yt,ke){if(!Oe(yt))return!1;var Bt=document.createElement("div"),Et=Bt.style[yt];return Bt.style[yt]=ke,Bt.style[yt]!==Et};function Ot(et,yt){return!Array.isArray(et)&&yt!==void 0?We(et,yt):Oe(et)}},45680:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return wn}});var Se=ve(72308),Oe=ve(62853),We=ve(77321),Ot=ve(49618),et=ve(52487),yt=ve(74416),ke=ve(92310),Bt=ve.n(ke),Et=ve(29301),tt=ve(70425),gt=ve(34280),dt=ve(59301),Ct=ve(4676),Me=dt.forwardRef(function(An,ni){var Qt=An.height,Jt=An.offsetY,St=An.offsetX,Xe=An.children,Yt=An.prefixCls,Kt=An.onInnerResize,qe=An.innerProps,Ge=An.rtl,Be=An.extra,xe={},me={display:"flex",flexDirection:"column"};return Jt!==void 0&&(xe={height:Qt,position:"relative",overflow:"hidden"},me=(0,We.Z)((0,We.Z)({},me),{},(0,Ot.Z)((0,Ot.Z)((0,Ot.Z)((0,Ot.Z)((0,Ot.Z)({transform:"translateY(".concat(Jt,"px)")},Ge?"marginRight":"marginLeft",-St),"position","absolute"),"left",0),"right",0),"top",0))),dt.createElement("div",{style:xe},dt.createElement(Et.Z,{onResize:function(He){var Le=He.offsetHeight;Le&&Kt&&Kt()}},dt.createElement("div",(0,Se.Z)({style:me,className:Bt()((0,Ot.Z)({},"".concat(Yt,"-holder-inner"),Yt)),ref:ni},qe),Xe,Be)))});Me.displayName="Filler";var te=Me;function ne(An){var ni=An.children,Qt=An.setRef,Jt=dt.useCallback(function(St){Qt(St)},[]);return dt.cloneElement(ni,{ref:Jt})}function ce(An,ni,Qt,Jt,St,Xe,Yt,Kt){var qe=Kt.getKey;return An.slice(ni,Qt+1).map(function(Ge,Be){var xe=ni+Be,me=Yt(Ge,xe,{style:{width:Jt},offsetX:St}),Fe=qe(Ge);return dt.createElement(ne,{key:Fe,setRef:function(Le){return Xe(Ge,Le)}},me)})}function se(An,ni,Qt,Jt){var St=Qt-An,Xe=ni-Qt,Yt=Math.min(St,Xe)*2;if(Jt<=Yt){var Kt=Math.floor(Jt/2);return Jt%2?Qt+Kt+1:Qt-Kt}return St>Xe?Qt-(Jt-Xe):Qt+(Jt-St)}function ge(An,ni,Qt){var Jt=An.length,St=ni.length,Xe,Yt;if(Jt===0&&St===0)return null;Jt2&&arguments[2]!==void 0?arguments[2]:!1,xe=qe?Ge<0&&Kt.current.left||Ge>0&&Kt.current.right:Ge<0&&Kt.current.top||Ge>0&&Kt.current.bottom;return Be&&xe?(clearTimeout(Xe.current),St.current=!1):(!xe||St.current)&&Yt(),!St.current&&xe}};function Ke(An,ni,Qt,Jt,St,Xe,Yt){var Kt=(0,dt.useRef)(0),qe=(0,dt.useRef)(null),Ge=(0,dt.useRef)(null),Be=(0,dt.useRef)(!1),xe=Ie(ni,Qt,Jt,St);function me(Pn,rn){if(Ce.Z.cancel(qe.current),!xe(!1,rn)){var In=Pn;if(!In._virtualHandled)In._virtualHandled=!0;else return;Kt.current+=rn,Ge.current=rn,Pe||In.preventDefault(),qe.current=(0,Ce.Z)(function(){var Gn=Be.current?10:1;Yt(Kt.current*Gn,!1),Kt.current=0})}}function Fe(Pn,rn){Yt(rn,!0),Pe||Pn.preventDefault()}var He=(0,dt.useRef)(null),Le=(0,dt.useRef)(null);function mt(Pn){if(An){Ce.Z.cancel(Le.current),Le.current=(0,Ce.Z)(function(){He.current=null},2);var rn=Pn.deltaX,In=Pn.deltaY,Gn=Pn.shiftKey,Pi=rn,Di=In;(He.current==="sx"||!He.current&&Gn&&In&&!rn)&&(Pi=In,Di=0,He.current="sx");var Gi=Math.abs(Pi),Dn=Math.abs(Di);He.current===null&&(He.current=Xe&&Gi>Dn?"x":"y"),He.current==="y"?me(Pn,Di):Fe(Pn,Pi)}}function zt(Pn){An&&(Be.current=Pn.detail===Ge.current)}return[mt,zt]}function Ve(An,ni,Qt,Jt){var St=dt.useMemo(function(){return[new Map,[]]},[An,Qt.id,Jt]),Xe=(0,et.Z)(St,2),Yt=Xe[0],Kt=Xe[1],qe=function(Be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be,me=Yt.get(Be),Fe=Yt.get(xe);if(me===void 0||Fe===void 0)for(var He=An.length,Le=Kt.length;Le0&&arguments[0]!==void 0?arguments[0]:!1;Be();var He=function(){var zt=!1;Kt.current.forEach(function(Pn,rn){if(Pn&&Pn.offsetParent){var In=Pn.offsetHeight,Gn=getComputedStyle(Pn),Pi=Gn.marginTop,Di=Gn.marginBottom,Gi=Qe(Pi),Dn=Qe(Di),or=In+Gi+Dn;qe.current.get(rn)!==or&&(qe.current.set(rn,or),zt=!0)}}),zt&&Yt(function(Pn){return Pn+1})};if(Fe)He();else{Ge.current+=1;var Le=Ge.current;Promise.resolve().then(function(){Le===Ge.current&&He()})}}function me(Fe,He){var Le=An(Fe),mt=Kt.current.get(Le);He?(Kt.current.set(Le,He),xe()):Kt.current.delete(Le),!mt!=!He&&(He?ni==null||ni(Fe):Qt==null||Qt(Fe))}return(0,dt.useEffect)(function(){return Be},[]),[me,xe,qe.current,Xe]}var Rt=14/15;function It(An,ni,Qt){var Jt=(0,dt.useRef)(!1),St=(0,dt.useRef)(0),Xe=(0,dt.useRef)(0),Yt=(0,dt.useRef)(null),Kt=(0,dt.useRef)(null),qe,Ge=function(Fe){if(Jt.current){var He=Math.ceil(Fe.touches[0].pageX),Le=Math.ceil(Fe.touches[0].pageY),mt=St.current-He,zt=Xe.current-Le,Pn=Math.abs(mt)>Math.abs(zt);Pn?St.current=He:Xe.current=Le;var rn=Qt(Pn,Pn?mt:zt,!1,Fe);rn&&Fe.preventDefault(),clearInterval(Kt.current),rn&&(Kt.current=setInterval(function(){Pn?mt*=Rt:zt*=Rt;var In=Math.floor(Pn?mt:zt);(!Qt(Pn,In,!0)||Math.abs(In)<=.1)&&clearInterval(Kt.current)},16))}},Be=function(){Jt.current=!1,qe()},xe=function(Fe){qe(),Fe.touches.length===1&&!Jt.current&&(Jt.current=!0,St.current=Math.ceil(Fe.touches[0].pageX),Xe.current=Math.ceil(Fe.touches[0].pageY),Yt.current=Fe.target,Yt.current.addEventListener("touchmove",Ge,{passive:!1}),Yt.current.addEventListener("touchend",Be,{passive:!0}))};qe=function(){Yt.current&&(Yt.current.removeEventListener("touchmove",Ge),Yt.current.removeEventListener("touchend",Be))},(0,gt.Z)(function(){return An&&ni.current.addEventListener("touchstart",xe,{passive:!0}),function(){var me;(me=ni.current)===null||me===void 0||me.removeEventListener("touchstart",xe),qe(),clearInterval(Kt.current)}},[An])}function Lt(An){return Math.floor(Math.pow(An,.5))}function Ut(An,ni){var Qt="touches"in An?An.touches[0]:An;return Qt[ni?"pageX":"pageY"]-window[ni?"scrollX":"scrollY"]}function ht(An,ni,Qt){dt.useEffect(function(){var Jt=ni.current;if(An&&Jt){var St=!1,Xe,Yt,Kt=function(){Ce.Z.cancel(Xe)},qe=function me(){Kt(),Xe=(0,Ce.Z)(function(){Qt(Yt),me()})},Ge=function(Fe){if(!(Fe.target.draggable||Fe.button!==0)){var He=Fe;He._virtualHandled||(He._virtualHandled=!0,St=!0)}},Be=function(){St=!1,Kt()},xe=function(Fe){if(St){var He=Ut(Fe,!1),Le=Jt.getBoundingClientRect(),mt=Le.top,zt=Le.bottom;if(He<=mt){var Pn=mt-He;Yt=-Lt(Pn),qe()}else if(He>=zt){var rn=He-zt;Yt=Lt(rn),qe()}else Kt()}};return Jt.addEventListener("mousedown",Ge),Jt.ownerDocument.addEventListener("mouseup",Be),Jt.ownerDocument.addEventListener("mousemove",xe),function(){Jt.removeEventListener("mousedown",Ge),Jt.ownerDocument.removeEventListener("mouseup",Be),Jt.ownerDocument.removeEventListener("mousemove",xe),Kt()}}},[An])}var Re=10;function At(An,ni,Qt,Jt,St,Xe,Yt,Kt){var qe=dt.useRef(),Ge=dt.useState(null),Be=(0,et.Z)(Ge,2),xe=Be[0],me=Be[1];return(0,gt.Z)(function(){if(xe&&xe.times=0;wr-=1){var so=St(ni[wr]),Rr=Qt.get(so);if(Rr===void 0){Pn=!0;break}if(Ir-=Rr,Ir<=0)break}switch(Gn){case"top":In=Di-mt;break;case"bottom":In=Gi-zt+mt;break;default:{var hr=An.current.scrollTop,No=hr+zt;DiNo&&(rn="bottom")}}In!==null&&Yt(In),In!==xe.lastTop&&(Pn=!0)}Pn&&me((0,We.Z)((0,We.Z)({},xe),{},{times:xe.times+1,targetAlign:rn,lastTop:In}))}},[xe,An.current]),function(Fe){if(Fe==null){Kt();return}if(Ce.Z.cancel(qe.current),typeof Fe=="number")Yt(Fe);else if(Fe&&(0,Oe.Z)(Fe)==="object"){var He,Le=Fe.align;"index"in Fe?He=Fe.index:He=ni.findIndex(function(Pn){return St(Pn)===Fe.key});var mt=Fe.offset,zt=mt===void 0?0:mt;me({times:0,index:He,offset:zt,originAlign:Le})}}}var Sn=dt.forwardRef(function(An,ni){var Qt=An.prefixCls,Jt=An.rtl,St=An.scrollOffset,Xe=An.scrollRange,Yt=An.onStartMove,Kt=An.onStopMove,qe=An.onScroll,Ge=An.horizontal,Be=An.spinSize,xe=An.containerSize,me=An.style,Fe=An.thumbStyle,He=An.showScrollBar,Le=dt.useState(!1),mt=(0,et.Z)(Le,2),zt=mt[0],Pn=mt[1],rn=dt.useState(null),In=(0,et.Z)(rn,2),Gn=In[0],Pi=In[1],Di=dt.useState(null),Gi=(0,et.Z)(Di,2),Dn=Gi[0],or=Gi[1],jr=!Jt,Gr=dt.useRef(),Ir=dt.useRef(),wr=dt.useState(He),so=(0,et.Z)(wr,2),Rr=so[0],hr=so[1],No=dt.useRef(),vi=function(){He===!0||He===!1||(clearTimeout(No.current),hr(!0),No.current=setTimeout(function(){hr(!1)},3e3))},Ee=Xe-xe||0,$n=xe-Be||0,fi=dt.useMemo(function(){if(St===0||Ee===0)return 0;var ze=St/Ee;return ze*$n},[St,Ee,$n]),ln=function(Gt){Gt.stopPropagation(),Gt.preventDefault()},ei=dt.useRef({top:fi,dragging:zt,pageY:Gn,startTop:Dn});ei.current={top:fi,dragging:zt,pageY:Gn,startTop:Dn};var Yn=function(Gt){Pn(!0),Pi(Ut(Gt,Ge)),or(ei.current.top),Yt(),Gt.stopPropagation(),Gt.preventDefault()};dt.useEffect(function(){var ze=function($e){$e.preventDefault()},Gt=Gr.current,an=Ir.current;return Gt.addEventListener("touchstart",ze,{passive:!1}),an.addEventListener("touchstart",Yn,{passive:!1}),function(){Gt.removeEventListener("touchstart",ze),an.removeEventListener("touchstart",Yn)}},[]);var dn=dt.useRef();dn.current=Ee;var tn=dt.useRef();tn.current=$n,dt.useEffect(function(){if(zt){var ze,Gt=function($e){var $t=ei.current,Tt=$t.dragging,Mn=$t.pageY,Wn=$t.startTop;Ce.Z.cancel(ze);var st=Gr.current.getBoundingClientRect(),fn=xe/(Ge?st.width:st.height);if(Tt){var Kn=(Ut($e,Ge)-Mn)*fn,_n=Wn;!jr&&Ge?_n-=Kn:_n+=Kn;var nn=dn.current,hn=tn.current,ri=hn?_n/hn:0,gi=Math.ceil(ri*nn);gi=Math.max(gi,0),gi=Math.min(gi,nn),ze=(0,Ce.Z)(function(){qe(gi,Ge)})}},an=function(){Pn(!1),Kt()};return window.addEventListener("mousemove",Gt,{passive:!0}),window.addEventListener("touchmove",Gt,{passive:!0}),window.addEventListener("mouseup",an,{passive:!0}),window.addEventListener("touchend",an,{passive:!0}),function(){window.removeEventListener("mousemove",Gt),window.removeEventListener("touchmove",Gt),window.removeEventListener("mouseup",an),window.removeEventListener("touchend",an),Ce.Z.cancel(ze)}}},[zt]),dt.useEffect(function(){return vi(),function(){clearTimeout(No.current)}},[St]),dt.useImperativeHandle(ni,function(){return{delayHidden:vi}});var on="".concat(Qt,"-scrollbar"),wt={position:"absolute",visibility:Rr?null:"hidden"},bt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Ge?(wt.height=8,wt.left=0,wt.right=0,wt.bottom=0,bt.height="100%",bt.width=Be,jr?bt.left=fi:bt.right=fi):(wt.width=8,wt.top=0,wt.bottom=0,jr?wt.right=0:wt.left=0,bt.width="100%",bt.height=Be,bt.top=fi),dt.createElement("div",{ref:Gr,className:Bt()(on,(0,Ot.Z)((0,Ot.Z)((0,Ot.Z)({},"".concat(on,"-horizontal"),Ge),"".concat(on,"-vertical"),!Ge),"".concat(on,"-visible"),Rr)),style:(0,We.Z)((0,We.Z)({},wt),me),onMouseDown:ln,onMouseMove:vi},dt.createElement("div",{ref:Ir,className:Bt()("".concat(on,"-thumb"),(0,Ot.Z)({},"".concat(on,"-thumb-moving"),zt)),style:(0,We.Z)((0,We.Z)({},bt),Fe),onMouseDown:Yn}))}),mn=Sn,Ft=20;function en(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ni=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Qt=An/ni*An;return isNaN(Qt)&&(Qt=0),Qt=Math.max(Qt,Ft),Math.floor(Qt)}var sn=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],On=[],yn={overflowY:"auto",overflowAnchor:"none"};function Tn(An,ni){var Qt=An.prefixCls,Jt=Qt===void 0?"rc-virtual-list":Qt,St=An.className,Xe=An.height,Yt=An.itemHeight,Kt=An.fullHeight,qe=Kt===void 0?!0:Kt,Ge=An.style,Be=An.data,xe=An.children,me=An.itemKey,Fe=An.virtual,He=An.direction,Le=An.scrollWidth,mt=An.component,zt=mt===void 0?"div":mt,Pn=An.onScroll,rn=An.onVirtualScroll,In=An.onVisibleChange,Gn=An.innerProps,Pi=An.extraRender,Di=An.styles,Gi=An.showScrollBar,Dn=Gi===void 0?"optional":Gi,or=(0,yt.Z)(An,sn),jr=dt.useCallback(function(Vt){return typeof me=="function"?me(Vt):Vt==null?void 0:Vt[me]},[me]),Gr=Ht(jr,null,null),Ir=(0,et.Z)(Gr,4),wr=Ir[0],so=Ir[1],Rr=Ir[2],hr=Ir[3],No=!!(Fe!==!1&&Xe&&Yt),vi=dt.useMemo(function(){return Object.values(Rr.maps).reduce(function(Vt,Cn){return Vt+Cn},0)},[Rr.id,Rr.maps]),Ee=No&&Be&&(Math.max(Yt*Be.length,vi)>Xe||!!Le),$n=He==="rtl",fi=Bt()(Jt,(0,Ot.Z)({},"".concat(Jt,"-rtl"),$n),St),ln=Be||On,ei=(0,dt.useRef)(),Yn=(0,dt.useRef)(),dn=(0,dt.useRef)(),tn=(0,dt.useState)(0),on=(0,et.Z)(tn,2),wt=on[0],bt=on[1],ze=(0,dt.useState)(0),Gt=(0,et.Z)(ze,2),an=Gt[0],ct=Gt[1],$e=(0,dt.useState)(!1),$t=(0,et.Z)($e,2),Tt=$t[0],Mn=$t[1],Wn=function(){Mn(!0)},st=function(){Mn(!1)},fn={getKey:jr};function Kn(Vt){bt(function(Cn){var ii;typeof Vt=="function"?ii=Vt(Cn):ii=Vt;var Qn=rr(ii);return ei.current.scrollTop=Qn,Qn})}var _n=(0,dt.useRef)({start:0,end:ln.length}),nn=(0,dt.useRef)(),hn=ye(ln,jr),ri=(0,et.Z)(hn,1),gi=ri[0];nn.current=gi;var yi=dt.useMemo(function(){if(!No)return{scrollHeight:void 0,start:0,end:ln.length-1,offset:void 0};if(!Ee){var Vt;return{scrollHeight:((Vt=Yn.current)===null||Vt===void 0?void 0:Vt.offsetHeight)||0,start:0,end:ln.length-1,offset:void 0}}for(var Cn=0,ii,Qn,Fi,Mr=ln.length,Ei=0;Ei=wt&&ii===void 0&&(ii=Ei,Qn=Cn),kr>wt+Xe&&Fi===void 0&&(Fi=Ei),Cn=kr}return ii===void 0&&(ii=0,Qn=0,Fi=Math.ceil(Xe/Yt)),Fi===void 0&&(Fi=ln.length-1),Fi=Math.min(Fi+1,ln.length-1),{scrollHeight:Cn,start:ii,end:Fi,offset:Qn}},[Ee,No,wt,ln,hr,Xe]),oi=yi.scrollHeight,Ci=yi.start,Li=yi.end,qi=yi.offset;_n.current.start=Ci,_n.current.end=Li,dt.useLayoutEffect(function(){var Vt=Rr.getRecord();if(Vt.size===1){var Cn=Array.from(Vt)[0],ii=ln[Ci];if(ii){var Qn=jr(ii);if(Qn===Cn){var Fi=Rr.get(Cn),Mr=Fi-Yt;Kn(function(Ei){return Ei+Mr})}}}Rr.resetRecord()},[oi]);var lr=dt.useState({width:0,height:Xe}),er=(0,et.Z)(lr,2),Ln=er[0],Nr=er[1],Ar=function(Cn){Nr({width:Cn.offsetWidth,height:Cn.offsetHeight})},$r=(0,dt.useRef)(),En=(0,dt.useRef)(),ci=dt.useMemo(function(){return en(Ln.width,Le)},[Ln.width,Le]),Ii=dt.useMemo(function(){return en(Ln.height,oi)},[Ln.height,oi]),ir=oi-Xe,Ki=(0,dt.useRef)(ir);Ki.current=ir;function rr(Vt){var Cn=Vt;return Number.isNaN(Ki.current)||(Cn=Math.min(Cn,Ki.current)),Cn=Math.max(Cn,0),Cn}var Er=wt<=0,Bi=wt>=ir,Yi=an<=0,Wi=an>=Le,Bn=Ie(Er,Bi,Yi,Wi),Lr=function(){return{x:$n?-an:an,y:wt}},Fn=(0,dt.useRef)(Lr()),fr=(0,tt.useEvent)(function(Vt){if(rn){var Cn=(0,We.Z)((0,We.Z)({},Lr()),Vt);(Fn.current.x!==Cn.x||Fn.current.y!==Cn.y)&&(rn(Cn),Fn.current=Cn)}});function Qr(Vt,Cn){var ii=Vt;Cn?((0,Ct.flushSync)(function(){ct(ii)}),fr()):Kn(ii)}function Pr(Vt){var Cn=Vt.currentTarget.scrollTop;Cn!==wt&&Kn(Cn),Pn==null||Pn(Vt),fr()}var Ao=function(Cn){var ii=Cn,Qn=Le?Le-Ln.width:0;return ii=Math.max(ii,0),ii=Math.min(ii,Qn),ii},po=(0,tt.useEvent)(function(Vt,Cn){Cn?((0,Ct.flushSync)(function(){ct(function(ii){var Qn=ii+($n?-Vt:Vt);return Ao(Qn)})}),fr()):Kn(function(ii){var Qn=ii+Vt;return Qn})}),vr=Ke(No,Er,Bi,Yi,Wi,!!Le,po),gr=(0,et.Z)(vr,2),cr=gr[0],Yr=gr[1];It(No,ei,function(Vt,Cn,ii,Qn){var Fi=Qn;return Bn(Vt,Cn,ii)?!1:!Fi||!Fi._virtualHandled?(Fi&&(Fi._virtualHandled=!0),cr({preventDefault:function(){},deltaX:Vt?Cn:0,deltaY:Vt?0:Cn}),!0):!1}),ht(Ee,ei,function(Vt){Kn(function(Cn){return Cn+Vt})}),(0,gt.Z)(function(){function Vt(ii){var Qn=Er&&ii.detail<0,Fi=Bi&&ii.detail>0;No&&!Qn&&!Fi&&ii.preventDefault()}var Cn=ei.current;return Cn.addEventListener("wheel",cr,{passive:!1}),Cn.addEventListener("DOMMouseScroll",Yr,{passive:!0}),Cn.addEventListener("MozMousePixelScroll",Vt,{passive:!1}),function(){Cn.removeEventListener("wheel",cr),Cn.removeEventListener("DOMMouseScroll",Yr),Cn.removeEventListener("MozMousePixelScroll",Vt)}},[No,Er,Bi]),(0,gt.Z)(function(){if(Le){var Vt=Ao(an);ct(Vt),fr({x:Vt})}},[Ln.width,Le]);var Ri=function(){var Cn,ii;(Cn=$r.current)===null||Cn===void 0||Cn.delayHidden(),(ii=En.current)===null||ii===void 0||ii.delayHidden()},_e=At(ei,ln,Rr,Yt,jr,function(){return so(!0)},Kn,Ri);dt.useImperativeHandle(ni,function(){return{nativeElement:dn.current,getScrollInfo:Lr,scrollTo:function(Cn){function ii(Qn){return Qn&&(0,Oe.Z)(Qn)==="object"&&("left"in Qn||"top"in Qn)}ii(Cn)?(Cn.left!==void 0&&ct(Ao(Cn.left)),_e(Cn.top)):_e(Cn)}}}),(0,gt.Z)(function(){if(In){var Vt=ln.slice(Ci,Li+1);In(Vt,ln)}},[Ci,Li,ln]);var xt=Ve(ln,jr,Rr,Yt),Dt=Pi==null?void 0:Pi({start:Ci,end:Li,virtual:Ee,offsetX:an,offsetY:qi,rtl:$n,getSize:xt}),un=ce(ln,Ci,Li,Le,an,wr,xe,fn),jn=null;Xe&&(jn=(0,We.Z)((0,Ot.Z)({},qe?"height":"maxHeight",Xe),yn),No&&(jn.overflowY="hidden",Le&&(jn.overflowX="hidden"),Tt&&(jn.pointerEvents="none")));var ai={};return $n&&(ai.dir="rtl"),dt.createElement("div",(0,Se.Z)({ref:dn,style:(0,We.Z)((0,We.Z)({},Ge),{},{position:"relative"}),className:fi},ai,or),dt.createElement(Et.Z,{onResize:Ar},dt.createElement(zt,{className:"".concat(Jt,"-holder"),style:jn,ref:ei,onScroll:Pr,onMouseEnter:Ri},dt.createElement(te,{prefixCls:Jt,height:oi,offsetX:an,offsetY:qi,scrollWidth:Le,onInnerResize:so,ref:Yn,innerProps:Gn,rtl:$n,extra:Dt},un))),Ee&&oi>Xe&&dt.createElement(mn,{ref:$r,prefixCls:Jt,scrollOffset:wt,scrollRange:oi,rtl:$n,onScroll:Qr,onStartMove:Wn,onStopMove:st,spinSize:Ii,containerSize:Ln.height,style:Di==null?void 0:Di.verticalScrollBar,thumbStyle:Di==null?void 0:Di.verticalScrollBarThumb,showScrollBar:Dn}),Ee&&Le>Ln.width&&dt.createElement(mn,{ref:En,prefixCls:Jt,scrollOffset:an,scrollRange:Le,rtl:$n,onScroll:Qr,onStartMove:Wn,onStopMove:st,spinSize:ci,containerSize:Ln.width,horizontal:!0,style:Di==null?void 0:Di.horizontalScrollBar,thumbStyle:Di==null?void 0:Di.horizontalScrollBarThumb,showScrollBar:Dn}))}var pt=dt.forwardRef(Tn);pt.displayName="List";var Un=pt,wn=Un},25510:function(zn){"use strict";zn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAIsCAYAAADRd/LpAAAgAElEQVR4Xuyda5BtVXXvV3efc+CAYBQRjaJBeWjiVVKVB0mMUV6GKv0cvVVG/XTrViUlSd0bqUoQg4KapKJW8j3mWinNx1SRSgkciKARYiq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ATvHHBtTQ/cGb+VmwF6DRZWIhh8S4hv02WMcPyx0o+9eoWYPHvZ14Qk0dekbqLBZqP/ZgyZYrdcccdwWKUeg01YEGO01dZvflbC0pZl3MColP7rXIFsORSzKwAlgqaEXDLqsgrvthtkkrqqq1mPLvSSiv1r2BS6+o2YEltRyfKdRuwpLSx5wHL/Lwol112qZ155pn23f/9no0ZOzakrw8wJYCJ123U6FE2b+48W3yxxe3444+xf/rHXWxsiGWZf7AzlobZs23mK6/ajHvvs03evolNHD/Rfnveb22rrbYMW4+DFXN4rTMAACAASURBVGqRMcGFQsI3EA8Wjr4wWdwrCPYxfUBontkzTz9rl156mf3Xf33K/vbc88GSM/ktb7GJEybZE089Hd6FW2qddabZGWf8ypYKro++bcGLLDLGZs0iXgaghWtrtM187dWgvIlF6XvfPBs1t89yFLqLJYQAyZFgmNfswYcetD332sse+uv9dsghX7OtttzK1pu23vw525fuf97IEfbqrFk2iXqJlyH/zJxZ4cykMLfDP9xf7Djq6zvXmDEjbebM2TZuHGCvT6nR6b44tL48LKOw/pjZtddea8suu2z/2WM+WPXFF18Mhx/GpzV73sxdEAwWYFlllVVq5VPV7iCse7kW06EGLCkyoptlCmDJp24BLAWw5HNNB54ogKUvrqQuNX/YWcaJxrPn2LXXXWfnn3+eff3rX7fttt/e9tvv87baqqv1xUVguZvdl+skxOssvphNmjzBxuDSCAnPXrfnnn7K3jJpsr3y6hy7a8a9tunmW9gKKyxjp/7057bp299u80ZgPRltr816tS/ny2h2/mDkeD18wm6ZsG15bPg/773lllts///+b7vx8sttvfXXt403fpv956c/bRMnLWq33HyLnX7GGXb2OecEgLX/Vw+w9+32L7b88sv2Bdvi1ho9KgTPzglAaqYt9pbFwzbr2RhxQsoTdi+xM6jPwjJ6kTH24gsv2ZxwEuEIe+KJx+0jWFjuutuOPupIY4vw2mutE8DUK6+9arNxs4wwGz9pUjiRuW+3z4iQL4bOvTZnlo3AtTZqVNj2/drsWX1bwQGANtImjhvft/26b6N2CBYOgb/zQ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QMs7CB59NFHbcsttwxU1Xb4kOhtvmK84vLf2zlnnWXHH3ucTZo4ySZNmmSjx4wOwbFYENiGO2nRybbKaqvaMccdazded4Mdeeih9tijj4Wg2lN/9rOwK2jG7XfY1b//vX3xC1+28YtOsF+feaZtseWWNmvOHLvplpsDYGG30Lrrrms//elPQ06Na66+OgCWww873LbeZhs76Yc/tD/84UY78cQT7cKLLrL37/FB+++v7G9rrLGmjSADLwnm5r7WlzyMlLbs+QnpS14P7bn5pltt749+xJZdehk78sgjbOONN7IllphiL738ou237352+SWX29hRY+17J37fVnjrCvbxT37C/vDHP9riUxcPcSwrLLO8vfDC32zGXXfZx/b+t5Cw8dvHn2Brr72O3XvfvfbZfT9jq6y+in1or73sA8ThjFvEDjn8SDvzF7+2xSZOtgM//2V7/7+83/508y32fz/8vp38s1Ns1PhF7Mprr7ZVlls+ZLcdM2qMjRnLoZEcc9C3zbtvbxCRyH1gZX4aluISKjEsbUvDAljySVcASwEs+VzTgScKYGkGLH0JZV+3q6+6yn7323PtW0cfbWuvsaZt+45t+/JdjCThGnlMRtioMWNssSmL2ft2+4Cdecav7bhvHWcv/O1vtsvOO9uJP/iBjRk5xh595CG76Y832gfe///sLYsvZr88/XTbfMstQv6Tm2+91fbYfY/g/thg/fUDYFl08mS7WoDl8CNtm222thN/eJLdfPNNAbj87ne/tX9833vtawd9LcTUAFiwrMx9ffb8RGucJzSq75yiESPt7rtn2JVXXm2f/cxnbf31N7Djjv2WTZ++QThO4PUR8+yggw6ys848y5576nk79LDDbM01VrPPf+m/QgDt6musbuedf74tOXVJe+WVl+0v9/3F9tjjQ/bIww/bN446Ouyauv322+yrB+5vSy+7tG2+xWb2trdvYiNHj7RzLrzYbrjyGpsy+S22z3982j7x8U/aH2/6g/3gRyfZz375c3vLkovbTTfdbMtNmdJ3oGJIudJ34GII8OGMGfH8/DOaOCuJq1hYioWlXXFYAEs+5QpgKYAln2s68EQBLM2AhWX9vLlz7bprr7XzzzvPjv7GUbb9dtvbFz//ha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b9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SJgwlJv21oyI2AEjIARMALVIGDCUk1TWhAjYASMgBEwAvUiYMJSb9taMiNgBIyAETAC1SBgwlJNU1oQI2AEjIARMAL1ImDCUm/bWjIjYASMgBEwAtUgYMJSTVNaECNgBIyAETAC9SLQSFjqFdmSGQEjYASMgBEwAqsVge1b1x12GCr/8p6D/12tQrjeRsAIGAEjYASMQN0ITAhL3WJaOiNgBIyAETACRmC1I/C/+Ryxj68oilIAAAAASUVORK5CYII="},32637:function(zn,Nn,ve){"use strict";zn.exports=ve.p+"static/AssistantCode3.a8740efb.jpeg"},93314:function(zn){"use strict";zn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7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l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(zn,Nn,ve){"use strict";ve.d(Nn,{Z:function(){return Bt}});const Se=Et=>typeof Et=="object"&&Et!=null&&Et.nodeType===1,Oe=(Et,tt)=>(!tt||Et!=="hidden")&&Et!=="visible"&&Et!=="clip",We=(Et,tt)=>{if(Et.clientHeight{const Ct=(Me=>{if(!Me.ownerDocument||!Me.ownerDocument.defaultView)return null;try{return Me.ownerDocument.defaultView.frameElement}catch(te){return null}})(dt);return!!Ct&&(Ct.clientHeightMett||Me>Et&&te=tt&&ne>=gt?Me-Et-dt:te>tt&&negt?te-tt+Ct:0,et=Et=>{const tt=Et.parentElement;return tt==null?Et.getRootNode().host||null:tt},yt=(Et,tt)=>{var gt,dt,Ct,Me;if(typeof document=="undefined")return[];const{scrollMode:te,block:ne,inline:ce,boundary:se,skipOverflowHiddenElements:ge}=tt,ye=typeof se=="function"?se:mn=>mn!==se;if(!Se(Et))throw new TypeError("Invalid target");const Ce=document.scrollingElement||document.documentElement,Ne=[];let Pe=Et;for(;Se(Pe)&&ye(Pe);){if(Pe=et(Pe),Pe===Ce){Ne.push(Pe);break}Pe!=null&&Pe===document.body&&We(Pe)&&!We(document.documentElement)||Pe!=null&&We(Pe,ge)&&Ne.push(Pe)}const Ie=(dt=(gt=window.visualViewport)==null?void 0:gt.width)!=null?dt:innerWidth,Ke=(Me=(Ct=window.visualViewport)==null?void 0:Ct.height)!=null?Me:innerHeight,{scrollX:Ve,scrollY:Ye}=window,{height:ut,width:Ue,top:Nt,right:Qe,bottom:Ht,left:Rt}=Et.getBoundingClientRect(),{top:It,right:Lt,bottom:Ut,left:ht}=(mn=>{const Ft=window.getComputedStyle(mn);return{top:parseFloat(Ft.scrollMarginTop)||0,right:parseFloat(Ft.scrollMarginRight)||0,bottom:parseFloat(Ft.scrollMarginBottom)||0,left:parseFloat(Ft.scrollMarginLeft)||0}})(Et);let Re=ne==="start"||ne==="nearest"?Nt-It:ne==="end"?Ht+Ut:Nt+ut/2-It+Ut,At=ce==="center"?Rt+Ue/2-ht+Lt:ce==="end"?Qe+Lt:Rt-ht;const Sn=[];for(let mn=0;mn=0&&Rt>=0&&Ht<=Ke&&Qe<=Ie&&(Ft===Ce&&!We(Ft)||Nt>=On&&Ht<=Tn&&Rt>=pt&&Qe<=yn))return Sn;const Un=getComputedStyle(Ft),wn=parseInt(Un.borderLeftWidth,10),An=parseInt(Un.borderTopWidth,10),ni=parseInt(Un.borderRightWidth,10),Qt=parseInt(Un.borderBottomWidth,10);let Jt=0,St=0;const Xe="offsetWidth"in Ft?Ft.offsetWidth-Ft.clientWidth-wn-ni:0,Yt="offsetHeight"in Ft?Ft.offsetHeight-Ft.clientHeight-An-Qt:0,Kt="offsetWidth"in Ft?Ft.offsetWidth===0?0:sn/Ft.offsetWidth:0,qe="offsetHeight"in Ft?Ft.offsetHeight===0?0:en/Ft.offsetHeight:0;if(Ce===Ft)Jt=ne==="start"?Re:ne==="end"?Re-Ke:ne==="nearest"?Ot(Ye,Ye+Ke,Ke,An,Qt,Ye+Re,Ye+Re+ut,ut):Re-Ke/2,St=ce==="start"?At:ce==="center"?At-Ie/2:ce==="end"?At-Ie:Ot(Ve,Ve+Ie,Ie,wn,ni,Ve+At,Ve+At+Ue,Ue),Jt=Math.max(0,Jt+Ye),St=Math.max(0,St+Ve);else{Jt=ne==="start"?Re-On-An:ne==="end"?Re-Tn+Qt+Yt:ne==="nearest"?Ot(On,Tn,en,An,Qt+Yt,Re,Re+ut,ut):Re-(On+en/2)+Yt/2,St=ce==="start"?At-pt-wn:ce==="center"?At-(pt+sn/2)+Xe/2:ce==="end"?At-yn+ni+Xe:Ot(pt,yn,sn,wn,ni+Xe,At,At+Ue,Ue);const{scrollLeft:Ge,scrollTop:Be}=Ft;Jt=qe===0?0:Math.max(0,Math.min(Be+Jt/qe,Ft.scrollHeight-en/qe+Yt)),St=Kt===0?0:Math.max(0,Math.min(Ge+St/Kt,Ft.scrollWidth-sn/Kt+Xe)),Re+=Be-Jt,At+=Ge-St}Sn.push({el:Ft,top:Jt,left:St})}return Sn},ke=Et=>Et===!1?{block:"end",inline:"nearest"}:(tt=>tt===Object(tt)&&Object.keys(tt).length!==0)(Et)?Et:{block:"start",inline:"nearest"};function Bt(Et,tt){if(!Et.isConnected||!(Ct=>{let Me=Ct;for(;Me&&Me.parentNode;){if(Me.parentNode===document)return!0;Me=Me.parentNode instanceof ShadowRoot?Me.parentNode.host:Me.parentNode}return!1})(Et))return;const gt=(Ct=>{const Me=window.getComputedStyle(Ct);return{top:parseFloat(Me.scrollMarginTop)||0,right:parseFloat(Me.scrollMarginRight)||0,bottom:parseFloat(Me.scrollMarginBottom)||0,left:parseFloat(Me.scrollMarginLeft)||0}})(Et);if((Ct=>typeof Ct=="object"&&typeof Ct.behavior=="function")(tt))return tt.behavior(yt(Et,tt));const dt=typeof tt=="boolean"||tt==null?void 0:tt.behavior;for(const{el:Ct,top:Me,left:te}of yt(Et,ke(tt))){const ne=Me-gt.top+gt.bottom,ce=te-gt.left+gt.right;Ct.scroll({top:ne,left:ce,behavior:dt})}}}}]); }());