@juki-team/base-ui 1.4.129 → 1.4.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/esm/{ArrowForwardIcon-IN9agpuQ.js → ArrowForwardIcon-9VrCQrla.js} +1 -1
  2. package/dist/esm/{BarChart-BnEygCik.js → BarChart-BYCvk2RN.js} +1 -1
  3. package/dist/esm/{CartesianChart-46JvJlt2.js → CartesianChart-D1L2w_VG.js} +1 -1
  4. package/dist/esm/{ChangePasswordModal-W7o3d5xv.js → ChangePasswordModal-DOBon_ok.js} +1 -1
  5. package/dist/esm/{CodeEditor-btUZu2Dy.js → CodeEditor-B6YXqauq.js} +1 -1
  6. package/dist/esm/{DataGrid-C-1PcbQ9.js → DataGrid-Dy2MSOK0.js} +1 -1
  7. package/dist/esm/{DataViewer-DdoMfhBT.js → DataViewer-DebzEZj0.js} +1 -1
  8. package/dist/esm/{DrawerView-C59g89Qq.js → DrawerView-C6KbvsgW.js} +1 -1
  9. package/dist/esm/{ExcalidrawButton-7RauNqcW.js → ExcalidrawButton-rCOaM390.js} +1 -1
  10. package/dist/esm/{GraphvizViewer-Cdd3s9Pz.js → GraphvizViewer-DQ_3zkqP.js} +1 -1
  11. package/dist/esm/{ImageLoaderCropper-By7-NpjH.js → ImageLoaderCropper-DCPp73Ao.js} +1 -1
  12. package/dist/esm/{InputCellPhoneNumber-BoliLbve.js → InputCellPhoneNumber-UNqdq7Va.js} +1 -1
  13. package/dist/esm/{InputColor-B6fjWGPV.js → InputColor-DLE6PJz7.js} +1 -1
  14. package/dist/esm/{LineChart-yzQzjap8.js → LineChart-DxN-I5Kl.js} +1 -1
  15. package/dist/esm/{MdMath-DcAukZc5.js → MdMath-BQs4hBpa.js} +1 -1
  16. package/dist/esm/{MdMathEditor-Ckf7tXlp.js → MdMathEditor-BHfoWvp_.js} +1 -1
  17. package/dist/esm/{Popover-DOgPkWfK.js → Popover-CIsKcwr_.js} +2 -2
  18. package/dist/esm/{ReplyIcon-DrZrr78M.js → ReplyIcon-rPXXCIKg.js} +1 -1
  19. package/dist/esm/{SettingsIcon-DM1F7UIb.js → SettingsIcon-DnAtSsRm.js} +1 -1
  20. package/dist/esm/{SlideDeck-yImvO_hq.js → SlideDeck-c69qGz1J.js} +1 -1
  21. package/dist/esm/{TableOfContents-KP3dhzIR.js → TableOfContents-CL2MOKlA.js} +1 -1
  22. package/dist/esm/{TextHeadCell-CtlRYJ1U.js → TextHeadCell-CExu2jw7.js} +1 -1
  23. package/dist/esm/{Tooltip-CQx5RC2x.js → Tooltip-C-DKzZ8R.js} +1 -1
  24. package/dist/esm/{UserCodeEditor-DVycUyoi.js → UserCodeEditor-CAg3dvAT.js} +2 -2
  25. package/dist/esm/{ViewModuleIcon-CBJGd2NB.js → ViewModuleIcon-B7qvToID.js} +1 -1
  26. package/dist/esm/{VirtualizedRowsFixed-CJRctik-.js → VirtualizedRowsFixed-Bks5JFSx.js} +1 -1
  27. package/dist/esm/{WorksheetAsSlides-33duB_50.js → WorksheetAsSlides-B1YaxqYO.js} +1 -1
  28. package/dist/esm/{WorksheetBodies-Ptk1_moK.js → WorksheetBodies-BnGXG6wi.js} +1 -1
  29. package/dist/esm/{WorksheetContents-WKXb5Uk4.js → WorksheetContents-CJbNoWXT.js} +1 -1
  30. package/dist/esm/{WorksheetEditor-z9ucL22I.js → WorksheetEditor-B37fFHcY.js} +1 -1
  31. package/dist/esm/{WorksheetNode-DdlERlmz.js → WorksheetNode-DjqZZQRs.js} +1 -1
  32. package/dist/esm/{WorksheetViewer-C8lplKFc.js → WorksheetViewer-DE_XAr2A.js} +1 -1
  33. package/dist/esm/{architectureDiagram-3BPJPVTR-mkUe-O1b.js → architectureDiagram-3BPJPVTR-DaZ9rWVO.js} +1 -1
  34. package/dist/esm/{blockDiagram-GPEHLZMM-DI6f452i.js → blockDiagram-GPEHLZMM-CgMTM8qx.js} +1 -1
  35. package/dist/esm/{c4Diagram-AAUBKEIU-CprJ4eDK.js → c4Diagram-AAUBKEIU-DF5dBD4X.js} +1 -1
  36. package/dist/esm/channel-DtX7K8fH.js +1 -0
  37. package/dist/esm/{chunk-2J33WTMH-CRrW12Q1.js → chunk-2J33WTMH-BSF8-_lr.js} +1 -1
  38. package/dist/esm/{chunk-4BX2VUAB-DP1enpjM.js → chunk-4BX2VUAB-DLCx-_ir.js} +1 -1
  39. package/dist/esm/{chunk-55IACEB6-Qy7BShb8.js → chunk-55IACEB6-Ce1Mc1lZ.js} +1 -1
  40. package/dist/esm/{chunk-727SXJPM-DCaL4Ssn.js → chunk-727SXJPM-Cc0QJGYk.js} +1 -1
  41. package/dist/esm/{chunk-AQP2D5EJ-MvQ9vOa8.js → chunk-AQP2D5EJ-D7lU0Qk0.js} +1 -1
  42. package/dist/esm/{chunk-FMBD7UC4-C_QBV__I.js → chunk-FMBD7UC4-BGLWSSaQ.js} +1 -1
  43. package/dist/esm/{chunk-ND2GUHAM-Cz6MG9Ip.js → chunk-ND2GUHAM-BD5ZdCjv.js} +1 -1
  44. package/dist/esm/{chunk-QZHKN3VN-CNeKC3i9.js → chunk-QZHKN3VN-aadBLkdn.js} +1 -1
  45. package/dist/esm/{classDiagram-4FO5ZUOK-CIl1HCsD.js → classDiagram-4FO5ZUOK-B6nVlqWv.js} +1 -1
  46. package/dist/esm/{classDiagram-v2-Q7XG4LA2-CIl1HCsD.js → classDiagram-v2-Q7XG4LA2-B6nVlqWv.js} +1 -1
  47. package/dist/esm/{contest--aeYKKxf.js → contest-hvD3tLnF.js} +1 -1
  48. package/dist/esm/{cose-bilkent-S5V4N54A-BU_DfNnH.js → cose-bilkent-S5V4N54A-C1xAVZwJ.js} +1 -1
  49. package/dist/esm/{dagre-BM42HDAG-B0jhlami.js → dagre-BM42HDAG-BTH23OkS.js} +1 -1
  50. package/dist/esm/{diagram-2AECGRRQ-BoG6bCz0.js → diagram-2AECGRRQ-s_eIY8Ju.js} +1 -1
  51. package/dist/esm/{diagram-5GNKFQAL-CmPEF4Gb.js → diagram-5GNKFQAL-BQ7iPFrS.js} +1 -1
  52. package/dist/esm/{diagram-KO2AKTUF-otFu6fY1.js → diagram-KO2AKTUF-BwauQwgA.js} +1 -1
  53. package/dist/esm/{diagram-LMA3HP47-BNvQPERF.js → diagram-LMA3HP47-VgneUbzF.js} +1 -1
  54. package/dist/esm/{diagram-OG6HWLK6-GT5ck18c.js → diagram-OG6HWLK6-CQXmLp-X.js} +1 -1
  55. package/dist/esm/{erDiagram-TEJ5UH35-DOTojUvv.js → erDiagram-TEJ5UH35-BrtUM8g8.js} +1 -1
  56. package/dist/esm/{flowDiagram-I6XJVG4X-DMNWQIoP.js → flowDiagram-I6XJVG4X-BVuY5iRd.js} +1 -1
  57. package/dist/esm/{ganttDiagram-6RSMTGT7-UueSCT2P.js → ganttDiagram-6RSMTGT7-Dp3J7m4L.js} +1 -1
  58. package/dist/esm/{gitGraphDiagram-PVQCEYII-BMejzE3B.js → gitGraphDiagram-PVQCEYII-DDvUv1py.js} +1 -1
  59. package/dist/esm/helpers.js +1 -1
  60. package/dist/esm/{index-CroDROK5.js → index-B8yg8iZ5.js} +1 -1
  61. package/dist/esm/{index-2vw3cISu.js → index-CCoeYJCH.js} +1 -1
  62. package/dist/esm/{index-CCC14puG.js → index-CICkoZjG.js} +1 -1
  63. package/dist/esm/{index-P3Cb0cjc.js → index-DUSXBI7E.js} +1 -1
  64. package/dist/esm/index-DoTjNc47.js +2 -0
  65. package/dist/esm/{infoDiagram-5YYISTIA-BSxjrZJf.js → infoDiagram-5YYISTIA-D0QNaNgu.js} +1 -1
  66. package/dist/esm/{ishikawaDiagram-YF4QCWOH-B2-9liDF.js → ishikawaDiagram-YF4QCWOH-C5VX82DI.js} +1 -1
  67. package/dist/esm/{journeyDiagram-JHISSGLW-DBQd4ic_.js → journeyDiagram-JHISSGLW-BVEghM8I.js} +1 -1
  68. package/dist/esm/{kanban-definition-UN3LZRKU-DFolGaRv.js → kanban-definition-UN3LZRKU-2IZxapBL.js} +1 -1
  69. package/dist/esm/main.js +1 -1
  70. package/dist/esm/{mermaid.core-EsBL2ECN.js → mermaid.core-DoQpgFF5.js} +1 -1
  71. package/dist/esm/{mindmap-definition-RKZ34NQL-BIQZzlCy.js → mindmap-definition-RKZ34NQL-D-7AMujv.js} +1 -1
  72. package/dist/esm/{pieDiagram-4H26LBE5-DZBAcvRC.js → pieDiagram-4H26LBE5-mrgU3sOl.js} +1 -1
  73. package/dist/esm/{quadrantDiagram-W4KKPZXB-b5MVV3Rk.js → quadrantDiagram-W4KKPZXB-O8NSasGc.js} +1 -1
  74. package/dist/esm/{requirementDiagram-4Y6WPE33-CLn9X-PZ.js → requirementDiagram-4Y6WPE33-CQHcM086.js} +1 -1
  75. package/dist/esm/{sankeyDiagram-5OEKKPKP-D4-b_g7U.js → sankeyDiagram-5OEKKPKP-DFihOSab.js} +1 -1
  76. package/dist/esm/{sequenceDiagram-3UESZ5HK-CCdY9Q3W.js → sequenceDiagram-3UESZ5HK-CR8iCSRR.js} +1 -1
  77. package/dist/esm/server.js +1 -1
  78. package/dist/esm/settings.js +1 -1
  79. package/dist/esm/{stateDiagram-AJRCARHV-BSMAHoem.js → stateDiagram-AJRCARHV-CRmD_B8Z.js} +1 -1
  80. package/dist/esm/{stateDiagram-v2-BHNVJYJU-BeJ_O1Tl.js → stateDiagram-v2-BHNVJYJU-BQMQV-zB.js} +1 -1
  81. package/dist/esm/{timeline-definition-PNZ67QCA-o-UlOwfU.js → timeline-definition-PNZ67QCA-BSXJOTVE.js} +1 -1
  82. package/dist/esm/{types-TNt9NcVE.js → types-DYOIqA8v.js} +1 -1
  83. package/dist/esm/{vennDiagram-CIIHVFJN-CySj1ueN.js → vennDiagram-CIIHVFJN-BGumey1i.js} +1 -1
  84. package/dist/esm/{wardleyDiagram-YWT4CUSO-B7YSHlE3.js → wardleyDiagram-YWT4CUSO-CXmvZufs.js} +1 -1
  85. package/dist/esm/{xychartDiagram-2RQKCTM6-D6EqpoC5.js → xychartDiagram-2RQKCTM6-DZBDvK3P.js} +1 -1
  86. package/dist/module-types/src/components/helpers/problem.d.ts +11 -0
  87. package/dist/module-types/src/components/hooks/useJukiUser.d.ts +1 -4
  88. package/dist/module-types/src/components/organisms/MdMathViewer/types.d.ts +0 -8
  89. package/dist/module-types/src/settings/ApiManager.d.ts +1 -5
  90. package/package.json +3 -3
  91. package/dist/esm/channel-B3QafhkE.js +0 -1
  92. package/dist/esm/index-MXDpbG5L.js +0 -2
  93. package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMath.deprecated.d.ts +0 -3
  94. package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMathViewer.deprecated.d.ts +0 -2
  95. package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.deprecated.d.ts +0 -2
@@ -1 +1 @@
1
- import{bS as e}from"./index-MXDpbG5L.js";import{c as n,D as t,g as l,E as o,o as r,S as a}from"./types-TNt9NcVE.js";function i(e){const n=[],t=String(e||"");let l=t.indexOf(","),o=0,r=!1;for(;!r;){-1===l&&(l=t.length,r=!0);const e=t.slice(o,l).trim();!e&&r||n.push(e),o=l+1,l=t.indexOf(",",o)}return n}function u(e,n){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}const s=/[$_\p{ID_Start}]/u,c=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,p=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,f=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,d=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h={};function g(e){return!!e&&s.test(String.fromCodePoint(e))}function m(e,n){const t=(n||h).jsx?p:c;return!!e&&t.test(String.fromCodePoint(e))}function y(e,n){return((n||h).jsx?d:f).test(e)}const v=/[ \t\n\f\r]/g;function b(e){return"object"==typeof e?"text"===e.type&&w(e.value):w(e)}function w(e){return""===e.replace(v,"")}class x{constructor(e,n,t){this.normal=n,this.property=e,t&&(this.space=t)}}function k(e,n){const t={},l={};for(const n of e)Object.assign(t,n.property),Object.assign(l,n.normal);return new x(t,l,n)}function C(e){return e.toLowerCase()}x.prototype.normal={},x.prototype.property={},x.prototype.space=void 0;class S{constructor(e,n){this.attribute=n,this.property=e}}S.prototype.attribute="",S.prototype.booleanish=!1,S.prototype.boolean=!1,S.prototype.commaOrSpaceSeparated=!1,S.prototype.commaSeparated=!1,S.prototype.defined=!1,S.prototype.mustUseProperty=!1,S.prototype.number=!1,S.prototype.overloadedBoolean=!1,S.prototype.property="",S.prototype.spaceSeparated=!1,S.prototype.space=void 0;let D=0;const A=T(),N=T(),L=T(),O=T(),P=T(),M=T(),R=T();function T(){return 2**++D}var E=Object.freeze({__proto__:null,boolean:A,booleanish:N,commaOrSpaceSeparated:R,commaSeparated:M,number:O,overloadedBoolean:L,spaceSeparated:P});const I=Object.keys(E);class B extends S{constructor(e,n,t,l){let o=-1;if(super(e,n),U(this,"space",l),"number"==typeof t)for(;++o<I.length;){const e=I[o];U(this,I[o],(t&E[e])===E[e])}}}function U(e,n,t){t&&(e[n]=t)}function j(e){const n={},t={};for(const[l,o]of Object.entries(e.properties)){const r=new B(l,e.transform(e.attributes||{},l),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,t[C(l)]=l,t[C(r.attribute)]=l}return new x(n,t,e.space)}B.prototype.defined=!0;const z=j({properties:{ariaActiveDescendant:null,ariaAtomic:N,ariaAutoComplete:null,ariaBusy:N,ariaChecked:N,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:P,ariaCurrent:null,ariaDescribedBy:P,ariaDetails:null,ariaDisabled:N,ariaDropEffect:P,ariaErrorMessage:null,ariaExpanded:N,ariaFlowTo:P,ariaGrabbed:N,ariaHasPopup:null,ariaHidden:N,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:P,ariaLevel:O,ariaLive:null,ariaModal:N,ariaMultiLine:N,ariaMultiSelectable:N,ariaOrientation:null,ariaOwns:P,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:N,ariaReadOnly:N,ariaRelevant:null,ariaRequired:N,ariaRoleDescription:P,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:N,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null},transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase()});function F(e,n){return n in e?e[n]:n}function _(e,n){return F(e,n.toLowerCase())}const H=j({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:M,acceptCharset:P,accessKey:P,action:null,allow:null,allowFullScreen:A,allowPaymentRequest:A,allowUserMedia:A,alt:null,as:null,async:A,autoCapitalize:null,autoComplete:P,autoFocus:A,autoPlay:A,blocking:P,capture:null,charSet:null,checked:A,cite:null,className:P,cols:O,colSpan:null,content:null,contentEditable:N,controls:A,controlsList:P,coords:O|M,crossOrigin:null,data:null,dateTime:null,decoding:null,default:A,defer:A,dir:null,dirName:null,disabled:A,download:L,draggable:N,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:A,formTarget:null,headers:P,height:O,hidden:L,high:O,href:null,hrefLang:null,htmlFor:P,httpEquiv:P,id:null,imageSizes:null,imageSrcSet:null,inert:A,inputMode:null,integrity:null,is:null,isMap:A,itemId:null,itemProp:P,itemRef:P,itemScope:A,itemType:P,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:A,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:A,muted:A,name:null,nonce:null,noModule:A,noValidate:A,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:A,optimum:O,pattern:null,ping:P,placeholder:null,playsInline:A,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:A,referrerPolicy:null,rel:P,required:A,reversed:A,rows:O,rowSpan:O,sandbox:P,scope:null,scoped:A,seamless:A,selected:A,shadowRootClonable:A,shadowRootDelegatesFocus:A,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:N,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:A,useMap:null,value:N,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:P,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:A,declare:A,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:A,noHref:A,noShade:A,noWrap:A,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:N,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:A,disableRemotePlayback:A,prefix:null,property:null,results:O,security:null,unselectable:null},space:"html",transform:_}),V=j({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:R,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:P,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:A,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:M,g2:M,glyphName:M,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:R,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:P,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:R,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:R,rev:R,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:R,requiredFeatures:R,requiredFonts:R,requiredFormats:R,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:R,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:R,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:R,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),q=j({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,n)=>"xlink:"+n.slice(5).toLowerCase()}),W=j({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:_}),X=j({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase()}),$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},K=/[A-Z]/g,Y=/-[a-z]/g,G=/^data[-\w.:]+$/i;function Z(e,n){const t=C(n);let l=n,o=S;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&"data"===t.slice(0,4)&&G.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Y,Q);l="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Y.test(e)){let t=e.replace(K,J);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=B}return new o(l,n)}function J(e){return"-"+e.toLowerCase()}function Q(e){return e.charAt(1).toUpperCase()}const ee=k([z,H,q,W,X],"html"),ne=k([z,V,q,W,X],"svg");function te(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function le(e){return e.join(" ").trim()}var oe,re,ae,ie={};function ue(){if(ae)return ie;ae=1;var e=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=function(e,t){let l=null;if(!e||"string"!=typeof e)return l;const o=(0,n.default)(e),r="function"==typeof t;return o.forEach(e=>{if("declaration"!==e.type)return;const{property:n,value:o}=e;r?t(n,o,e):o&&(l=l||{},l[n]=o)}),l};const n=e(function(){if(re)return oe;re=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,t=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,r=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,i=/^\s+|\s+$/g,u="";function s(e){return e?e.replace(i,u):u}return oe=function(i,c){if("string"!=typeof i)throw new TypeError("First argument must be a string");if(!i)return[];c=c||{};var p=1,f=1;function d(e){var t=e.match(n);t&&(p+=t.length);var l=e.lastIndexOf("\n");f=~l?e.length-l:f+e.length}function h(){var e={line:p,column:f};return function(n){return n.position=new g(e),v(),n}}function g(e){this.start=e,this.end={line:p,column:f},this.source=c.source}function m(e){var n=new Error(c.source+":"+p+":"+f+": "+e);if(n.reason=e,n.filename=c.source,n.line=p,n.column=f,n.source=i,!c.silent)throw n}function y(e){var n=e.exec(i);if(n){var t=n[0];return d(t),i=i.slice(t.length),n}}function v(){y(t)}function b(e){var n;for(e=e||[];n=w();)!1!==n&&e.push(n);return e}function w(){var e=h();if("/"==i.charAt(0)&&"*"==i.charAt(1)){for(var n=2;u!=i.charAt(n)&&("*"!=i.charAt(n)||"/"!=i.charAt(n+1));)++n;if(n+=2,u===i.charAt(n-1))return m("End of comment missing");var t=i.slice(2,n-2);return f+=2,d(t),i=i.slice(n),f+=2,e({type:"comment",comment:t})}}function x(){var n=h(),t=y(l);if(t){if(w(),!y(o))return m("property missing ':'");var i=y(r),c=n({type:"declaration",property:s(t[0].replace(e,u)),value:i?s(i[0].replace(e,u)):u});return y(a),c}}return g.prototype.content=i,v(),function(){var e,n=[];for(b(n);e=x();)!1!==e&&(n.push(e),b(n));return n}()},oe}());return ie}var se,ce,pe,fe={};function de(){if(se)return fe;se=1,Object.defineProperty(fe,"__esModule",{value:!0}),fe.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,t=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,r=function(e,n){return n.toUpperCase()},a=function(e,n){return"".concat(n,"-")};return fe.camelCase=function(i,u){return void 0===u&&(u={}),function(n){return!n||t.test(n)||e.test(n)}(i)?i:(i=i.toLowerCase(),(i=u.reactCompat?i.replace(o,a):i.replace(l,a)).replace(n,r))},fe}var he=function(){if(pe)return ce;pe=1;var e=(ce&&ce.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(ue()),n=de();function t(t,l){var o={};return t&&"string"==typeof t?((0,e.default)(t,function(e,t){e&&t&&(o[(0,n.camelCase)(e,l)]=t)}),o):o}return t.default=t,ce=t}(),ge=e(he);const me=ve("end"),ye=ve("start");function ve(e){return function(n){const t=n&&n.position&&n.position[e]||{};if("number"==typeof t.line&&t.line>0&&"number"==typeof t.column&&t.column>0)return{line:t.line,column:t.column,offset:"number"==typeof t.offset&&t.offset>-1?t.offset:void 0}}}function be(e){const n=ye(e),t=me(e);if(n&&t)return{start:n,end:t}}function we(e){const t=[];let l=-1,o=0,r=0;for(;++l<e.length;){const a=e.charCodeAt(l);let i="";if(37===a&&n(e.charCodeAt(l+1))&&n(e.charCodeAt(l+2)))r=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){const n=e.charCodeAt(l+1);a<56320&&n>56319&&n<57344?(i=String.fromCharCode(a,n),r=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(o,l),encodeURIComponent(i)),o=l+r+1,i=""),r&&(l+=r,r=0)}return t.join("")+e.slice(o)}function xe(e,n){const t=n.referenceType;let l="]";if("collapsed"===t?l+="[]":"full"===t&&(l+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return[{type:"text",value:"!["+n.alt+l}];const o=e.all(n),r=o[0];r&&"text"===r.type?r.value="["+r.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=l:o.push({type:"text",value:l}),o}function ke(e){const n=e.spread;return null==n?e.children.length>1:n}function Ce(e){const n=String(e),t=/\r?\n|\r/g;let l=t.exec(n),o=0;const r=[];for(;l;)r.push(Se(n.slice(o,l.index),o>0,!0),l[0]),o=l.index+l[0].length,l=t.exec(n);return r.push(Se(n.slice(o),o>0,!1)),r.join("")}function Se(e,n,t){let l=0,o=e.length;if(n){let n=e.codePointAt(l);for(;9===n||32===n;)l++,n=e.codePointAt(l)}if(t){let n=e.codePointAt(o-1);for(;9===n||32===n;)o--,n=e.codePointAt(o-1)}return o>l?e.slice(l,o):""}const De={blockquote:function(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)},break:function(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:"\n"}]},code:function(e,n){const t=n.value?n.value+"\n":"",l={},o=n.lang?n.lang.split(/\s+/):[];o.length>0&&(l.className=["language-"+o[0]]);let r={type:"element",tagName:"code",properties:l,children:[{type:"text",value:t}]};return n.meta&&(r.data={meta:n.meta}),e.patch(n,r),r=e.applyData(n,r),r={type:"element",tagName:"pre",properties:{},children:[r]},e.patch(n,r),r},delete:function(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},emphasis:function(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},footnoteReference:function(e,n){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",l=String(n.identifier).toUpperCase(),o=we(l.toLowerCase()),r=e.footnoteOrder.indexOf(l);let a,i=e.footnoteCounts.get(l);void 0===i?(i=0,e.footnoteOrder.push(l),a=e.footnoteOrder.length):a=r+1,i+=1,e.footnoteCounts.set(l,i);const u={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+o,id:t+"fnref-"+o+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(n,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,s),e.applyData(n,s)},heading:function(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},html:function(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}},imageReference:function(e,n){const t=String(n.identifier).toUpperCase(),l=e.definitionById.get(t);if(!l)return xe(e,n);const o={src:we(l.url||""),alt:n.alt};null!==l.title&&void 0!==l.title&&(o.title=l.title);const r={type:"element",tagName:"img",properties:o,children:[]};return e.patch(n,r),e.applyData(n,r)},image:function(e,n){const t={src:we(n.url)};null!==n.alt&&void 0!==n.alt&&(t.alt=n.alt),null!==n.title&&void 0!==n.title&&(t.title=n.title);const l={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,l),e.applyData(n,l)},inlineCode:function(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const l={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,l),e.applyData(n,l)},linkReference:function(e,n){const t=String(n.identifier).toUpperCase(),l=e.definitionById.get(t);if(!l)return xe(e,n);const o={href:we(l.url||"")};null!==l.title&&void 0!==l.title&&(o.title=l.title);const r={type:"element",tagName:"a",properties:o,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)},link:function(e,n){const t={href:we(n.url)};null!==n.title&&void 0!==n.title&&(t.title=n.title);const l={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)},listItem:function(e,n,t){const l=e.all(n),o=t?function(e){let n=!1;if("list"===e.type){n=e.spread||!1;const t=e.children;let l=-1;for(;!n&&++l<t.length;)n=ke(t[l])}return n}(t):ke(n),r={},a=[];if("boolean"==typeof n.checked){const e=l[0];let t;e&&"element"===e.type&&"p"===e.tagName?t=e:(t={type:"element",tagName:"p",properties:{},children:[]},l.unshift(t)),t.children.length>0&&t.children.unshift({type:"text",value:" "}),t.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),r.className=["task-list-item"]}let i=-1;for(;++i<l.length;){const e=l[i];(o||0!==i||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const u=l[l.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&a.push({type:"text",value:"\n"});const s={type:"element",tagName:"li",properties:r,children:a};return e.patch(n,s),e.applyData(n,s)},list:function(e,n){const t={},l=e.all(n);let o=-1;for("number"==typeof n.start&&1!==n.start&&(t.start=n.start);++o<l.length;){const e=l[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const r={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(l,!0)};return e.patch(n,r),e.applyData(n,r)},paragraph:function(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},root:function(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)},strong:function(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},table:function(e,n){const t=e.all(n),l=t.shift(),o=[];if(l){const t={type:"element",tagName:"thead",properties:{},children:e.wrap([l],!0)};e.patch(n.children[0],t),o.push(t)}if(t.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},r=ye(n.children[1]),a=me(n.children[n.children.length-1]);r&&a&&(l.position={start:r,end:a}),o.push(l)}const r={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(n,r),e.applyData(n,r)},tableCell:function(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},tableRow:function(e,n,t){const l=t?t.children:void 0,o=0===(l?l.indexOf(n):1)?"th":"td",r=t&&"table"===t.type?t.align:void 0,a=r?r.length:n.children.length;let i=-1;const u=[];for(;++i<a;){const t=n.children[i],l={},a=r?r[i]:void 0;a&&(l.align=a);let s={type:"element",tagName:o,properties:l,children:[]};t&&(s.children=e.all(t),e.patch(t,s),s=e.applyData(t,s)),u.push(s)}const s={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(n,s),e.applyData(n,s)},text:function(e,n){const t={type:"text",value:Ce(String(n.value))};return e.patch(n,t),e.applyData(n,t)},thematicBreak:function(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)},toml:Ae,yaml:Ae,definition:Ae,footnoteDefinition:Ae};function Ae(){}const Ne="object"==typeof self?self:globalThis,Le=(e,n)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Ne[e](n)},Oe=e=>((e,n)=>{const t=(n,t)=>(e.set(t,n),n),l=o=>{if(e.has(o))return e.get(o);const[r,a]=n[o];switch(r){case 0:case-1:return t(a,o);case 1:{const e=t([],o);for(const n of a)e.push(l(n));return e}case 2:{const e=t({},o);for(const[n,t]of a)e[l(n)]=l(t);return e}case 3:return t(new Date(a),o);case 4:{const{source:e,flags:n}=a;return t(new RegExp(e,n),o)}case 5:{const e=t(new Map,o);for(const[n,t]of a)e.set(l(n),l(t));return e}case 6:{const e=t(new Set,o);for(const n of a)e.add(l(n));return e}case 7:{const{name:e,message:n}=a;return t(Le(e,n),o)}case 8:return t(BigInt(a),o);case"BigInt":return t(Object(BigInt(a)),o);case"ArrayBuffer":return t(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return t(new DataView(e),a)}}return t(Le(r,a),o)};return l})(new Map,e)(0),Pe="",{toString:Me}={},{keys:Re}=Object,Te=e=>{const n=typeof e;if("object"!==n||!e)return[0,n];const t=Me.call(e).slice(8,-1);switch(t){case"Array":return[1,Pe];case"Object":return[2,Pe];case"Date":return[3,Pe];case"RegExp":return[4,Pe];case"Map":return[5,Pe];case"Set":return[6,Pe];case"DataView":return[1,t]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},Ee=([e,n])=>0===e&&("function"===n||"symbol"===n),Ie=(e,{json:n,lossy:t}={})=>{const l=[];return((e,n,t,l)=>{const o=(e,n)=>{const o=l.push(e)-1;return t.set(n,o),o},r=l=>{if(t.has(l))return t.get(l);let[a,i]=Te(l);switch(a){case 0:{let n=l;switch(i){case"bigint":a=8,n=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+i);n=null;break;case"undefined":return o([-1],l)}return o([a,n],l)}case 1:{if(i){let e=l;return"DataView"===i?e=new Uint8Array(l.buffer):"ArrayBuffer"===i&&(e=new Uint8Array(l)),o([i,[...e]],l)}const e=[],n=o([a,e],l);for(const n of l)e.push(r(n));return n}case 2:{if(i)switch(i){case"BigInt":return o([i,l.toString()],l);case"Boolean":case"Number":case"String":return o([i,l.valueOf()],l)}if(n&&"toJSON"in l)return r(l.toJSON());const t=[],u=o([a,t],l);for(const n of Re(l))!e&&Ee(Te(l[n]))||t.push([r(n),r(l[n])]);return u}case 3:return o([a,l.toISOString()],l);case 4:{const{source:e,flags:n}=l;return o([a,{source:e,flags:n}],l)}case 5:{const n=[],t=o([a,n],l);for(const[t,o]of l)(e||!Ee(Te(t))&&!Ee(Te(o)))&&n.push([r(t),r(o)]);return t}case 6:{const n=[],t=o([a,n],l);for(const t of l)!e&&Ee(Te(t))||n.push(r(t));return t}}const{message:u}=l;return o([a,{name:i,message:u}],l)};return r})(!(n||t),!!n,new Map,l)(e),l};var Be="function"==typeof structuredClone?(e,n)=>n&&("json"in n||"lossy"in n)?Oe(Ie(e,n)):structuredClone(e):(e,n)=>Oe(Ie(e,n));function Ue(e,n){const t=[{type:"text",value:"↩"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function je(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}const ze={}.hasOwnProperty,Fe={};function _e(e,n){e.position&&(n.position=be(e))}function He(e,n){let t=n;if(e&&e.data){const n=e.data.hName,l=e.data.hChildren,o=e.data.hProperties;if("string"==typeof n)if("element"===t.type)t.tagName=n;else{t={type:"element",tagName:n,properties:{},children:"children"in t?t.children:[t]}}"element"===t.type&&o&&Object.assign(t.properties,Be(o)),"children"in t&&t.children&&null!=l&&(t.children=l)}return t}function Ve(e,n){const t=n.data||{},l=!("value"in n)||ze.call(t,"hProperties")||ze.call(t,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(n)}:{type:"text",value:n.value};return e.patch(n,l),e.applyData(n,l)}function qe(e,n){const t=[];let l=-1;for(n&&t.push({type:"text",value:"\n"});++l<e.length;)l&&t.push({type:"text",value:"\n"}),t.push(e[l]);return n&&e.length>0&&t.push({type:"text",value:"\n"}),t}function We(e){let n=0,t=e.charCodeAt(n);for(;9===t||32===t;)n++,t=e.charCodeAt(n);return e.slice(n)}function Xe(e,n){const l=function(e,n){const l=n||Fe,o=new Map,r=new Map,a=new Map,i={...De,...l.handlers},u={all:function(e){const n=[];if("children"in e){const t=e.children;let l=-1;for(;++l<t.length;){const o=u.one(t[l],e);if(o){if(l&&"break"===t[l-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=We(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=We(e.value))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n},applyData:He,definitionById:o,footnoteById:r,footnoteCounts:a,footnoteOrder:[],handlers:i,one:function(e,n){const t=e.type,l=u.handlers[t];if(ze.call(u.handlers,t)&&l)return l(u,e,n);if(u.options.passThrough&&u.options.passThrough.includes(t)){if("children"in e){const{children:n,...t}=e,l=Be(t);return l.children=u.all(e),l}return Be(e)}return(u.options.unknownHandler||Ve)(u,e,n)},options:l,patch:_e,wrap:qe};return t(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const n="definition"===e.type?o:r,t=String(e.identifier).toUpperCase();n.has(t)||n.set(t,e)}}),u}(e,n),o=l.one(e,void 0),r=function(e){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||Ue,l=e.options.footnoteBackLabel||je,o=e.options.footnoteLabel||"Footnotes",r=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},i=[];let u=-1;for(;++u<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[u]);if(!o)continue;const r=e.all(o),a=String(o.identifier).toUpperCase(),s=we(a.toLowerCase());let c=0;const p=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){p.length>0&&p.push({type:"text",value:" "});let e="string"==typeof t?t:t(u,c);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof l?l:l(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const d=r[r.length-1];if(d&&"element"===d.type&&"p"===d.tagName){const e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...p)}else r.push(...p);const h={type:"element",tagName:"li",properties:{id:n+"fn-"+s},children:e.wrap(r,!0)};e.patch(o,h),i.push(h)}if(0!==i.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:r,properties:{...Be(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(i,!0)},{type:"text",value:"\n"}]}}(l),a=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return r&&a.children.push({type:"text",value:"\n"},r),a}function $e(e,n){return e&&"run"in e?async function(t,l){const o=Xe(t,{file:l,...n});await e.run(o,l)}:function(t,l){return Xe(t,{file:l,...e||n})}}const Ke=/[#.]/g;function Ye(e,n,t){const l=t?function(e){const n=new Map;for(const t of e)n.set(t.toLowerCase(),t);return n}(t):void 0;return function(t,o,...r){let a;if(null==t){a={type:"root",children:[]};const e=o;r.unshift(e)}else{a=function(e,n){const t=e||"",l={};let o,r,a=0;for(;a<t.length;){Ke.lastIndex=a;const e=Ke.exec(t),n=t.slice(a,e?e.index:t.length);n&&(o?"#"===o?l.id=n:Array.isArray(l.className)?l.className.push(n):l.className=[n]:r=n,a+=n.length),e&&(o=e[0],a++)}return{type:"element",tagName:r||n||"div",properties:l,children:[]}}(t,n);const i=a.tagName.toLowerCase(),u=l?l.get(i):void 0;if(a.tagName=u||i,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;const n=e,t=Object.keys(e);for(const e of t){const t=n[e];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;const e=t;for(const n of e)if("number"!=typeof n&&"string"!=typeof n)return!0}}if("children"in e&&Array.isArray(e.children))return!0;return!1}(o))r.unshift(o);else for(const[n,t]of Object.entries(o))Ge(e,a.properties,n,t)}for(const e of r)Ze(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Ge(e,n,t,l){const o=Z(e,t);let r;if(null!=l){if("number"==typeof l){if(Number.isNaN(l))return;r=l}else r="boolean"==typeof l?l:"string"==typeof l?o.spaceSeparated?te(l):o.commaSeparated?i(l):o.commaOrSpaceSeparated?te(i(l).join(" ")):Je(o,o.property,l):Array.isArray(l)?[...l]:"style"===o.property?function(e){const n=[];for(const[t,l]of Object.entries(e))n.push([t,l].join(": "));return n.join("; ")}(l):String(l);if(Array.isArray(r)){const e=[];for(const n of r)e.push(Je(o,o.property,n));r=e}"className"===o.property&&Array.isArray(n.className)&&(r=n.className.concat(r)),n[o.property]=r}}function Ze(e,n){if(null==n);else if("number"==typeof n||"string"==typeof n)e.push({type:"text",value:String(n)});else if(Array.isArray(n))for(const t of n)Ze(e,t);else{if("object"!=typeof n||!("type"in n))throw new Error("Expected node, nodes, or string, got `"+n+"`");"root"===n.type?Ze(e,n.children):e.push(n)}}function Je(e,n,t){if("string"==typeof t){if(e.number&&t&&!Number.isNaN(Number(t)))return Number(t);if((e.boolean||e.overloadedBoolean)&&(""===t||C(t)===C(n)))return!0}return t}const Qe=Ye(ee,"div"),en=Ye(ne,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),nn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function tn(e,n){const t=function(e,n){switch(e.nodeType){case 1:return function(e,n){const t=e.namespaceURI,l=t===nn.svg?en:Qe,o=t===nn.html?e.tagName.toLowerCase():e.tagName,r=t===nn.html&&"template"===o?e.content:e,a=e.getAttributeNames(),i={};let u=-1;for(;++u<a.length;)i[a[u]]=e.getAttribute(a[u])||"";return l(o,i,on(r,n))}(e,n);case 3:return function(e){return{type:"text",value:e.nodeValue||""}}(e);case 8:return function(e){return{type:"comment",value:e.nodeValue||""}}(e);case 9:return ln(e,n);case 10:return{type:"doctype"};case 11:return ln(e,n);default:return}}(e,n);return t&&n.afterTransform&&n.afterTransform(e,t),t}function ln(e,n){return{type:"root",children:on(e,n)}}function on(e,n){const t=e.childNodes,l=[];let o=-1;for(;++o<t.length;){const e=tn(t[o],n);void 0!==e&&l.push(e)}return l}function rn(e,n){const t=function(e){const n=document.createElement("template");return n.innerHTML=e,n.content}(e);return tn(t,{})||{type:"root",children:[]}}new DOMParser;const an=function(e,n,t){const o=l(t);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if("number"==typeof n){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((n=e.children.indexOf(n))<0)throw new Error("Expected child node or index");for(;++n<e.children.length;)if(o(e.children[n],n,e))return e.children[n]},un=function(e){if(null==e)return cn;if("string"==typeof e)return function(e){return sn(n);function n(n){return n.tagName===e}}(e);if("object"==typeof e)return function(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=un(e[t]);return sn(l);function l(...e){let t=-1;for(;++t<n.length;)if(n[t].apply(this,e))return!0;return!1}}(e);if("function"==typeof e)return sn(e);throw new Error("Expected function, string, or array as `test`")};function sn(e){return function(n,t,l){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}(n)&&e.call(this,n,"number"==typeof t?t:void 0,l||void 0))}}function cn(e){return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}const pn=/\n/g,fn=/[\t ]+/g,dn=un("br"),hn=un(function(e){return"td"===e.tagName||"th"===e.tagName}),gn=un("p"),mn=un("tr"),yn=un(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return Boolean((e.properties||{}).hidden)},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),vn=un(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function bn(e,n,t){return"element"===e.type?function(e,n,t){const l=kn(e,t),o=e.children||[];let r,a,i=-1,u=[];if(yn(e))return u;dn(e)||mn(e)&&an(n,e,mn)?a="\n":gn(e)?(r=2,a=2):vn(e)&&(r=1,a=1);for(;++i<o.length;)u=u.concat(bn(o[i],e,{whitespace:l,breakBefore:i?void 0:r,breakAfter:i<o.length-1?dn(o[i+1]):a}));hn(e)&&an(n,e,hn)&&u.push("\t");r&&u.unshift(r);a&&u.push(a);return u}(e,n,t):"text"===e.type?"normal"===t.whitespace?wn(e,t):function(e){return[String(e.value)]}(e):[]}function wn(e,n){const t=String(e.value),l=[],o=[];let r=0;for(;r<=t.length;){pn.lastIndex=r;const e=pn.exec(t),o=e&&"index"in e?e.index:t.length;l.push(xn(t.slice(r,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==r||n.breakBefore,o!==t.length||n.breakAfter)),r=o+1}let a,i=-1;for(;++i<l.length;)8203===l[i].charCodeAt(l[i].length-1)||i<l.length-1&&8203===l[i+1].charCodeAt(0)?(o.push(l[i]),a=void 0):l[i]?("number"==typeof a&&o.push(a),o.push(l[i]),a=0):0!==i&&i!==l.length-1||o.push(0);return o}function xn(e,n,t){const l=[];let o,r=0;for(;r<e.length;){fn.lastIndex=r;const t=fn.exec(e);o=t?t.index:e.length,r||o||!t||n||l.push(""),r!==o&&l.push(e.slice(r,o)),r=t?o+t[0].length:o}return r===o||t||l.push(""),l.join(" ")}function kn(e,n){if("element"===e.type){const t=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.wrap?"pre-wrap":"pre";case"td":case"th":return t.noWrap?"nowrap":n.whitespace;case"textarea":return"pre-wrap"}}return n.whitespace}const Cn={},Sn=[];function Dn(e){const n=e||Cn;return function(e,t){o(e,"element",function(e,l){const o=Array.isArray(e.properties.className)?e.properties.className:Sn,i=o.includes("language-math"),u=o.includes("math-display"),s=o.includes("math-inline");let c=u;if(!i&&!u&&!s)return;let p=l[l.length-1],f=e;if("code"===e.tagName&&i&&p&&"element"===p.type&&"pre"===p.tagName&&(f=p,p=l[l.length-2],c=!0),!p)return;const d=function(e,n){const t=n||{},l="children"in e?e.children:[],o=vn(e),r=kn(e,{whitespace:t.whitespace||"normal"}),a=[];"text"!==e.type&&"comment"!==e.type||a.push(...wn(e,{breakBefore:!0,breakAfter:!0}));let i=-1;for(;++i<l.length;)a.push(...bn(l[i],e,{whitespace:r,breakBefore:i?void 0:o,breakAfter:i<l.length-1?dn(l[i+1]):o}));const u=[];let s;for(i=-1;++i<a.length;){const e=a[i];"number"==typeof e?void 0!==s&&e>s&&(s=e):e&&(void 0!==s&&s>-1&&u.push("\n".repeat(s)||" "),s=-1,u.push(e))}return u.join("")}(f,{whitespace:"pre"});let h;try{h=r.renderToString(d,{...n,displayMode:c,throwOnError:!0})}catch(o){const a=o,i=a.name.toLowerCase();t.message("Could not render math with KaTeX",{ancestors:[...l,e],cause:a,place:e.position,ruleId:i,source:"rehype-katex"});try{h=r.renderToString(d,{...n,displayMode:c,strict:"ignore",throwOnError:!1})}catch{h=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(n.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:d}]}]}}if("string"==typeof h){h=rn(h).children}const g=p.children.indexOf(f);return p.children.splice(g,1,...h),a})}}export{$ as a,ee as b,m as c,ye as d,be as e,Z as f,$e as g,Qe as h,g as i,u as j,le as k,Be as l,ge as m,y as n,ne as o,me as p,b as q,Dn as r,en as s,nn as w};
1
+ import{bS as e}from"./index-DoTjNc47.js";import{c as n,D as t,g as l,E as o,o as r,S as a}from"./types-DYOIqA8v.js";function i(e){const n=[],t=String(e||"");let l=t.indexOf(","),o=0,r=!1;for(;!r;){-1===l&&(l=t.length,r=!0);const e=t.slice(o,l).trim();!e&&r||n.push(e),o=l+1,l=t.indexOf(",",o)}return n}function u(e,n){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}const s=/[$_\p{ID_Start}]/u,c=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,p=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,f=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,d=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,h={};function g(e){return!!e&&s.test(String.fromCodePoint(e))}function m(e,n){const t=(n||h).jsx?p:c;return!!e&&t.test(String.fromCodePoint(e))}function y(e,n){return((n||h).jsx?d:f).test(e)}const v=/[ \t\n\f\r]/g;function b(e){return"object"==typeof e?"text"===e.type&&w(e.value):w(e)}function w(e){return""===e.replace(v,"")}class x{constructor(e,n,t){this.normal=n,this.property=e,t&&(this.space=t)}}function k(e,n){const t={},l={};for(const n of e)Object.assign(t,n.property),Object.assign(l,n.normal);return new x(t,l,n)}function C(e){return e.toLowerCase()}x.prototype.normal={},x.prototype.property={},x.prototype.space=void 0;class S{constructor(e,n){this.attribute=n,this.property=e}}S.prototype.attribute="",S.prototype.booleanish=!1,S.prototype.boolean=!1,S.prototype.commaOrSpaceSeparated=!1,S.prototype.commaSeparated=!1,S.prototype.defined=!1,S.prototype.mustUseProperty=!1,S.prototype.number=!1,S.prototype.overloadedBoolean=!1,S.prototype.property="",S.prototype.spaceSeparated=!1,S.prototype.space=void 0;let D=0;const A=T(),N=T(),L=T(),O=T(),P=T(),M=T(),R=T();function T(){return 2**++D}var E=Object.freeze({__proto__:null,boolean:A,booleanish:N,commaOrSpaceSeparated:R,commaSeparated:M,number:O,overloadedBoolean:L,spaceSeparated:P});const I=Object.keys(E);class B extends S{constructor(e,n,t,l){let o=-1;if(super(e,n),U(this,"space",l),"number"==typeof t)for(;++o<I.length;){const e=I[o];U(this,I[o],(t&E[e])===E[e])}}}function U(e,n,t){t&&(e[n]=t)}function j(e){const n={},t={};for(const[l,o]of Object.entries(e.properties)){const r=new B(l,e.transform(e.attributes||{},l),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,t[C(l)]=l,t[C(r.attribute)]=l}return new x(n,t,e.space)}B.prototype.defined=!0;const z=j({properties:{ariaActiveDescendant:null,ariaAtomic:N,ariaAutoComplete:null,ariaBusy:N,ariaChecked:N,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:P,ariaCurrent:null,ariaDescribedBy:P,ariaDetails:null,ariaDisabled:N,ariaDropEffect:P,ariaErrorMessage:null,ariaExpanded:N,ariaFlowTo:P,ariaGrabbed:N,ariaHasPopup:null,ariaHidden:N,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:P,ariaLevel:O,ariaLive:null,ariaModal:N,ariaMultiLine:N,ariaMultiSelectable:N,ariaOrientation:null,ariaOwns:P,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:N,ariaReadOnly:N,ariaRelevant:null,ariaRequired:N,ariaRoleDescription:P,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:N,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null},transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase()});function F(e,n){return n in e?e[n]:n}function _(e,n){return F(e,n.toLowerCase())}const H=j({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:M,acceptCharset:P,accessKey:P,action:null,allow:null,allowFullScreen:A,allowPaymentRequest:A,allowUserMedia:A,alt:null,as:null,async:A,autoCapitalize:null,autoComplete:P,autoFocus:A,autoPlay:A,blocking:P,capture:null,charSet:null,checked:A,cite:null,className:P,cols:O,colSpan:null,content:null,contentEditable:N,controls:A,controlsList:P,coords:O|M,crossOrigin:null,data:null,dateTime:null,decoding:null,default:A,defer:A,dir:null,dirName:null,disabled:A,download:L,draggable:N,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:A,formTarget:null,headers:P,height:O,hidden:L,high:O,href:null,hrefLang:null,htmlFor:P,httpEquiv:P,id:null,imageSizes:null,imageSrcSet:null,inert:A,inputMode:null,integrity:null,is:null,isMap:A,itemId:null,itemProp:P,itemRef:P,itemScope:A,itemType:P,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:A,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:A,muted:A,name:null,nonce:null,noModule:A,noValidate:A,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:A,optimum:O,pattern:null,ping:P,placeholder:null,playsInline:A,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:A,referrerPolicy:null,rel:P,required:A,reversed:A,rows:O,rowSpan:O,sandbox:P,scope:null,scoped:A,seamless:A,selected:A,shadowRootClonable:A,shadowRootDelegatesFocus:A,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:N,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:A,useMap:null,value:N,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:P,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:A,declare:A,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:A,noHref:A,noShade:A,noWrap:A,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:N,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:A,disableRemotePlayback:A,prefix:null,property:null,results:O,security:null,unselectable:null},space:"html",transform:_}),V=j({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:R,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:P,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:A,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:M,g2:M,glyphName:M,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:R,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:P,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:R,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:R,rev:R,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:R,requiredFeatures:R,requiredFonts:R,requiredFormats:R,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:R,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:R,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:R,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),q=j({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,n)=>"xlink:"+n.slice(5).toLowerCase()}),W=j({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:_}),X=j({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase()}),$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},K=/[A-Z]/g,Y=/-[a-z]/g,G=/^data[-\w.:]+$/i;function Z(e,n){const t=C(n);let l=n,o=S;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&"data"===t.slice(0,4)&&G.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Y,Q);l="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Y.test(e)){let t=e.replace(K,J);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=B}return new o(l,n)}function J(e){return"-"+e.toLowerCase()}function Q(e){return e.charAt(1).toUpperCase()}const ee=k([z,H,q,W,X],"html"),ne=k([z,V,q,W,X],"svg");function te(e){const n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function le(e){return e.join(" ").trim()}var oe,re,ae,ie={};function ue(){if(ae)return ie;ae=1;var e=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=function(e,t){let l=null;if(!e||"string"!=typeof e)return l;const o=(0,n.default)(e),r="function"==typeof t;return o.forEach(e=>{if("declaration"!==e.type)return;const{property:n,value:o}=e;r?t(n,o,e):o&&(l=l||{},l[n]=o)}),l};const n=e(function(){if(re)return oe;re=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,t=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,r=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,i=/^\s+|\s+$/g,u="";function s(e){return e?e.replace(i,u):u}return oe=function(i,c){if("string"!=typeof i)throw new TypeError("First argument must be a string");if(!i)return[];c=c||{};var p=1,f=1;function d(e){var t=e.match(n);t&&(p+=t.length);var l=e.lastIndexOf("\n");f=~l?e.length-l:f+e.length}function h(){var e={line:p,column:f};return function(n){return n.position=new g(e),v(),n}}function g(e){this.start=e,this.end={line:p,column:f},this.source=c.source}function m(e){var n=new Error(c.source+":"+p+":"+f+": "+e);if(n.reason=e,n.filename=c.source,n.line=p,n.column=f,n.source=i,!c.silent)throw n}function y(e){var n=e.exec(i);if(n){var t=n[0];return d(t),i=i.slice(t.length),n}}function v(){y(t)}function b(e){var n;for(e=e||[];n=w();)!1!==n&&e.push(n);return e}function w(){var e=h();if("/"==i.charAt(0)&&"*"==i.charAt(1)){for(var n=2;u!=i.charAt(n)&&("*"!=i.charAt(n)||"/"!=i.charAt(n+1));)++n;if(n+=2,u===i.charAt(n-1))return m("End of comment missing");var t=i.slice(2,n-2);return f+=2,d(t),i=i.slice(n),f+=2,e({type:"comment",comment:t})}}function x(){var n=h(),t=y(l);if(t){if(w(),!y(o))return m("property missing ':'");var i=y(r),c=n({type:"declaration",property:s(t[0].replace(e,u)),value:i?s(i[0].replace(e,u)):u});return y(a),c}}return g.prototype.content=i,v(),function(){var e,n=[];for(b(n);e=x();)!1!==e&&(n.push(e),b(n));return n}()},oe}());return ie}var se,ce,pe,fe={};function de(){if(se)return fe;se=1,Object.defineProperty(fe,"__esModule",{value:!0}),fe.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,t=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,r=function(e,n){return n.toUpperCase()},a=function(e,n){return"".concat(n,"-")};return fe.camelCase=function(i,u){return void 0===u&&(u={}),function(n){return!n||t.test(n)||e.test(n)}(i)?i:(i=i.toLowerCase(),(i=u.reactCompat?i.replace(o,a):i.replace(l,a)).replace(n,r))},fe}var he=function(){if(pe)return ce;pe=1;var e=(ce&&ce.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(ue()),n=de();function t(t,l){var o={};return t&&"string"==typeof t?((0,e.default)(t,function(e,t){e&&t&&(o[(0,n.camelCase)(e,l)]=t)}),o):o}return t.default=t,ce=t}(),ge=e(he);const me=ve("end"),ye=ve("start");function ve(e){return function(n){const t=n&&n.position&&n.position[e]||{};if("number"==typeof t.line&&t.line>0&&"number"==typeof t.column&&t.column>0)return{line:t.line,column:t.column,offset:"number"==typeof t.offset&&t.offset>-1?t.offset:void 0}}}function be(e){const n=ye(e),t=me(e);if(n&&t)return{start:n,end:t}}function we(e){const t=[];let l=-1,o=0,r=0;for(;++l<e.length;){const a=e.charCodeAt(l);let i="";if(37===a&&n(e.charCodeAt(l+1))&&n(e.charCodeAt(l+2)))r=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){const n=e.charCodeAt(l+1);a<56320&&n>56319&&n<57344?(i=String.fromCharCode(a,n),r=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(o,l),encodeURIComponent(i)),o=l+r+1,i=""),r&&(l+=r,r=0)}return t.join("")+e.slice(o)}function xe(e,n){const t=n.referenceType;let l="]";if("collapsed"===t?l+="[]":"full"===t&&(l+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return[{type:"text",value:"!["+n.alt+l}];const o=e.all(n),r=o[0];r&&"text"===r.type?r.value="["+r.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=l:o.push({type:"text",value:l}),o}function ke(e){const n=e.spread;return null==n?e.children.length>1:n}function Ce(e){const n=String(e),t=/\r?\n|\r/g;let l=t.exec(n),o=0;const r=[];for(;l;)r.push(Se(n.slice(o,l.index),o>0,!0),l[0]),o=l.index+l[0].length,l=t.exec(n);return r.push(Se(n.slice(o),o>0,!1)),r.join("")}function Se(e,n,t){let l=0,o=e.length;if(n){let n=e.codePointAt(l);for(;9===n||32===n;)l++,n=e.codePointAt(l)}if(t){let n=e.codePointAt(o-1);for(;9===n||32===n;)o--,n=e.codePointAt(o-1)}return o>l?e.slice(l,o):""}const De={blockquote:function(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)},break:function(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:"\n"}]},code:function(e,n){const t=n.value?n.value+"\n":"",l={},o=n.lang?n.lang.split(/\s+/):[];o.length>0&&(l.className=["language-"+o[0]]);let r={type:"element",tagName:"code",properties:l,children:[{type:"text",value:t}]};return n.meta&&(r.data={meta:n.meta}),e.patch(n,r),r=e.applyData(n,r),r={type:"element",tagName:"pre",properties:{},children:[r]},e.patch(n,r),r},delete:function(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},emphasis:function(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},footnoteReference:function(e,n){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",l=String(n.identifier).toUpperCase(),o=we(l.toLowerCase()),r=e.footnoteOrder.indexOf(l);let a,i=e.footnoteCounts.get(l);void 0===i?(i=0,e.footnoteOrder.push(l),a=e.footnoteOrder.length):a=r+1,i+=1,e.footnoteCounts.set(l,i);const u={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+o,id:t+"fnref-"+o+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(n,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,s),e.applyData(n,s)},heading:function(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},html:function(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}},imageReference:function(e,n){const t=String(n.identifier).toUpperCase(),l=e.definitionById.get(t);if(!l)return xe(e,n);const o={src:we(l.url||""),alt:n.alt};null!==l.title&&void 0!==l.title&&(o.title=l.title);const r={type:"element",tagName:"img",properties:o,children:[]};return e.patch(n,r),e.applyData(n,r)},image:function(e,n){const t={src:we(n.url)};null!==n.alt&&void 0!==n.alt&&(t.alt=n.alt),null!==n.title&&void 0!==n.title&&(t.title=n.title);const l={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,l),e.applyData(n,l)},inlineCode:function(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const l={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,l),e.applyData(n,l)},linkReference:function(e,n){const t=String(n.identifier).toUpperCase(),l=e.definitionById.get(t);if(!l)return xe(e,n);const o={href:we(l.url||"")};null!==l.title&&void 0!==l.title&&(o.title=l.title);const r={type:"element",tagName:"a",properties:o,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)},link:function(e,n){const t={href:we(n.url)};null!==n.title&&void 0!==n.title&&(t.title=n.title);const l={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)},listItem:function(e,n,t){const l=e.all(n),o=t?function(e){let n=!1;if("list"===e.type){n=e.spread||!1;const t=e.children;let l=-1;for(;!n&&++l<t.length;)n=ke(t[l])}return n}(t):ke(n),r={},a=[];if("boolean"==typeof n.checked){const e=l[0];let t;e&&"element"===e.type&&"p"===e.tagName?t=e:(t={type:"element",tagName:"p",properties:{},children:[]},l.unshift(t)),t.children.length>0&&t.children.unshift({type:"text",value:" "}),t.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),r.className=["task-list-item"]}let i=-1;for(;++i<l.length;){const e=l[i];(o||0!==i||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const u=l[l.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&a.push({type:"text",value:"\n"});const s={type:"element",tagName:"li",properties:r,children:a};return e.patch(n,s),e.applyData(n,s)},list:function(e,n){const t={},l=e.all(n);let o=-1;for("number"==typeof n.start&&1!==n.start&&(t.start=n.start);++o<l.length;){const e=l[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const r={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(l,!0)};return e.patch(n,r),e.applyData(n,r)},paragraph:function(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},root:function(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)},strong:function(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},table:function(e,n){const t=e.all(n),l=t.shift(),o=[];if(l){const t={type:"element",tagName:"thead",properties:{},children:e.wrap([l],!0)};e.patch(n.children[0],t),o.push(t)}if(t.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},r=ye(n.children[1]),a=me(n.children[n.children.length-1]);r&&a&&(l.position={start:r,end:a}),o.push(l)}const r={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(n,r),e.applyData(n,r)},tableCell:function(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},tableRow:function(e,n,t){const l=t?t.children:void 0,o=0===(l?l.indexOf(n):1)?"th":"td",r=t&&"table"===t.type?t.align:void 0,a=r?r.length:n.children.length;let i=-1;const u=[];for(;++i<a;){const t=n.children[i],l={},a=r?r[i]:void 0;a&&(l.align=a);let s={type:"element",tagName:o,properties:l,children:[]};t&&(s.children=e.all(t),e.patch(t,s),s=e.applyData(t,s)),u.push(s)}const s={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(n,s),e.applyData(n,s)},text:function(e,n){const t={type:"text",value:Ce(String(n.value))};return e.patch(n,t),e.applyData(n,t)},thematicBreak:function(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)},toml:Ae,yaml:Ae,definition:Ae,footnoteDefinition:Ae};function Ae(){}const Ne="object"==typeof self?self:globalThis,Le=(e,n)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Ne[e](n)},Oe=e=>((e,n)=>{const t=(n,t)=>(e.set(t,n),n),l=o=>{if(e.has(o))return e.get(o);const[r,a]=n[o];switch(r){case 0:case-1:return t(a,o);case 1:{const e=t([],o);for(const n of a)e.push(l(n));return e}case 2:{const e=t({},o);for(const[n,t]of a)e[l(n)]=l(t);return e}case 3:return t(new Date(a),o);case 4:{const{source:e,flags:n}=a;return t(new RegExp(e,n),o)}case 5:{const e=t(new Map,o);for(const[n,t]of a)e.set(l(n),l(t));return e}case 6:{const e=t(new Set,o);for(const n of a)e.add(l(n));return e}case 7:{const{name:e,message:n}=a;return t(Le(e,n),o)}case 8:return t(BigInt(a),o);case"BigInt":return t(Object(BigInt(a)),o);case"ArrayBuffer":return t(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return t(new DataView(e),a)}}return t(Le(r,a),o)};return l})(new Map,e)(0),Pe="",{toString:Me}={},{keys:Re}=Object,Te=e=>{const n=typeof e;if("object"!==n||!e)return[0,n];const t=Me.call(e).slice(8,-1);switch(t){case"Array":return[1,Pe];case"Object":return[2,Pe];case"Date":return[3,Pe];case"RegExp":return[4,Pe];case"Map":return[5,Pe];case"Set":return[6,Pe];case"DataView":return[1,t]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},Ee=([e,n])=>0===e&&("function"===n||"symbol"===n),Ie=(e,{json:n,lossy:t}={})=>{const l=[];return((e,n,t,l)=>{const o=(e,n)=>{const o=l.push(e)-1;return t.set(n,o),o},r=l=>{if(t.has(l))return t.get(l);let[a,i]=Te(l);switch(a){case 0:{let n=l;switch(i){case"bigint":a=8,n=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+i);n=null;break;case"undefined":return o([-1],l)}return o([a,n],l)}case 1:{if(i){let e=l;return"DataView"===i?e=new Uint8Array(l.buffer):"ArrayBuffer"===i&&(e=new Uint8Array(l)),o([i,[...e]],l)}const e=[],n=o([a,e],l);for(const n of l)e.push(r(n));return n}case 2:{if(i)switch(i){case"BigInt":return o([i,l.toString()],l);case"Boolean":case"Number":case"String":return o([i,l.valueOf()],l)}if(n&&"toJSON"in l)return r(l.toJSON());const t=[],u=o([a,t],l);for(const n of Re(l))!e&&Ee(Te(l[n]))||t.push([r(n),r(l[n])]);return u}case 3:return o([a,l.toISOString()],l);case 4:{const{source:e,flags:n}=l;return o([a,{source:e,flags:n}],l)}case 5:{const n=[],t=o([a,n],l);for(const[t,o]of l)(e||!Ee(Te(t))&&!Ee(Te(o)))&&n.push([r(t),r(o)]);return t}case 6:{const n=[],t=o([a,n],l);for(const t of l)!e&&Ee(Te(t))||n.push(r(t));return t}}const{message:u}=l;return o([a,{name:i,message:u}],l)};return r})(!(n||t),!!n,new Map,l)(e),l};var Be="function"==typeof structuredClone?(e,n)=>n&&("json"in n||"lossy"in n)?Oe(Ie(e,n)):structuredClone(e):(e,n)=>Oe(Ie(e,n));function Ue(e,n){const t=[{type:"text",value:"↩"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function je(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}const ze={}.hasOwnProperty,Fe={};function _e(e,n){e.position&&(n.position=be(e))}function He(e,n){let t=n;if(e&&e.data){const n=e.data.hName,l=e.data.hChildren,o=e.data.hProperties;if("string"==typeof n)if("element"===t.type)t.tagName=n;else{t={type:"element",tagName:n,properties:{},children:"children"in t?t.children:[t]}}"element"===t.type&&o&&Object.assign(t.properties,Be(o)),"children"in t&&t.children&&null!=l&&(t.children=l)}return t}function Ve(e,n){const t=n.data||{},l=!("value"in n)||ze.call(t,"hProperties")||ze.call(t,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(n)}:{type:"text",value:n.value};return e.patch(n,l),e.applyData(n,l)}function qe(e,n){const t=[];let l=-1;for(n&&t.push({type:"text",value:"\n"});++l<e.length;)l&&t.push({type:"text",value:"\n"}),t.push(e[l]);return n&&e.length>0&&t.push({type:"text",value:"\n"}),t}function We(e){let n=0,t=e.charCodeAt(n);for(;9===t||32===t;)n++,t=e.charCodeAt(n);return e.slice(n)}function Xe(e,n){const l=function(e,n){const l=n||Fe,o=new Map,r=new Map,a=new Map,i={...De,...l.handlers},u={all:function(e){const n=[];if("children"in e){const t=e.children;let l=-1;for(;++l<t.length;){const o=u.one(t[l],e);if(o){if(l&&"break"===t[l-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=We(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=We(e.value))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n},applyData:He,definitionById:o,footnoteById:r,footnoteCounts:a,footnoteOrder:[],handlers:i,one:function(e,n){const t=e.type,l=u.handlers[t];if(ze.call(u.handlers,t)&&l)return l(u,e,n);if(u.options.passThrough&&u.options.passThrough.includes(t)){if("children"in e){const{children:n,...t}=e,l=Be(t);return l.children=u.all(e),l}return Be(e)}return(u.options.unknownHandler||Ve)(u,e,n)},options:l,patch:_e,wrap:qe};return t(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const n="definition"===e.type?o:r,t=String(e.identifier).toUpperCase();n.has(t)||n.set(t,e)}}),u}(e,n),o=l.one(e,void 0),r=function(e){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||Ue,l=e.options.footnoteBackLabel||je,o=e.options.footnoteLabel||"Footnotes",r=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},i=[];let u=-1;for(;++u<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[u]);if(!o)continue;const r=e.all(o),a=String(o.identifier).toUpperCase(),s=we(a.toLowerCase());let c=0;const p=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){p.length>0&&p.push({type:"text",value:" "});let e="string"==typeof t?t:t(u,c);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+s+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof l?l:l(u,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const d=r[r.length-1];if(d&&"element"===d.type&&"p"===d.tagName){const e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...p)}else r.push(...p);const h={type:"element",tagName:"li",properties:{id:n+"fn-"+s},children:e.wrap(r,!0)};e.patch(o,h),i.push(h)}if(0!==i.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:r,properties:{...Be(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(i,!0)},{type:"text",value:"\n"}]}}(l),a=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return r&&a.children.push({type:"text",value:"\n"},r),a}function $e(e,n){return e&&"run"in e?async function(t,l){const o=Xe(t,{file:l,...n});await e.run(o,l)}:function(t,l){return Xe(t,{file:l,...e||n})}}const Ke=/[#.]/g;function Ye(e,n,t){const l=t?function(e){const n=new Map;for(const t of e)n.set(t.toLowerCase(),t);return n}(t):void 0;return function(t,o,...r){let a;if(null==t){a={type:"root",children:[]};const e=o;r.unshift(e)}else{a=function(e,n){const t=e||"",l={};let o,r,a=0;for(;a<t.length;){Ke.lastIndex=a;const e=Ke.exec(t),n=t.slice(a,e?e.index:t.length);n&&(o?"#"===o?l.id=n:Array.isArray(l.className)?l.className.push(n):l.className=[n]:r=n,a+=n.length),e&&(o=e[0],a++)}return{type:"element",tagName:r||n||"div",properties:l,children:[]}}(t,n);const i=a.tagName.toLowerCase(),u=l?l.get(i):void 0;if(a.tagName=u||i,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;const n=e,t=Object.keys(e);for(const e of t){const t=n[e];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;const e=t;for(const n of e)if("number"!=typeof n&&"string"!=typeof n)return!0}}if("children"in e&&Array.isArray(e.children))return!0;return!1}(o))r.unshift(o);else for(const[n,t]of Object.entries(o))Ge(e,a.properties,n,t)}for(const e of r)Ze(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function Ge(e,n,t,l){const o=Z(e,t);let r;if(null!=l){if("number"==typeof l){if(Number.isNaN(l))return;r=l}else r="boolean"==typeof l?l:"string"==typeof l?o.spaceSeparated?te(l):o.commaSeparated?i(l):o.commaOrSpaceSeparated?te(i(l).join(" ")):Je(o,o.property,l):Array.isArray(l)?[...l]:"style"===o.property?function(e){const n=[];for(const[t,l]of Object.entries(e))n.push([t,l].join(": "));return n.join("; ")}(l):String(l);if(Array.isArray(r)){const e=[];for(const n of r)e.push(Je(o,o.property,n));r=e}"className"===o.property&&Array.isArray(n.className)&&(r=n.className.concat(r)),n[o.property]=r}}function Ze(e,n){if(null==n);else if("number"==typeof n||"string"==typeof n)e.push({type:"text",value:String(n)});else if(Array.isArray(n))for(const t of n)Ze(e,t);else{if("object"!=typeof n||!("type"in n))throw new Error("Expected node, nodes, or string, got `"+n+"`");"root"===n.type?Ze(e,n.children):e.push(n)}}function Je(e,n,t){if("string"==typeof t){if(e.number&&t&&!Number.isNaN(Number(t)))return Number(t);if((e.boolean||e.overloadedBoolean)&&(""===t||C(t)===C(n)))return!0}return t}const Qe=Ye(ee,"div"),en=Ye(ne,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),nn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function tn(e,n){const t=function(e,n){switch(e.nodeType){case 1:return function(e,n){const t=e.namespaceURI,l=t===nn.svg?en:Qe,o=t===nn.html?e.tagName.toLowerCase():e.tagName,r=t===nn.html&&"template"===o?e.content:e,a=e.getAttributeNames(),i={};let u=-1;for(;++u<a.length;)i[a[u]]=e.getAttribute(a[u])||"";return l(o,i,on(r,n))}(e,n);case 3:return function(e){return{type:"text",value:e.nodeValue||""}}(e);case 8:return function(e){return{type:"comment",value:e.nodeValue||""}}(e);case 9:return ln(e,n);case 10:return{type:"doctype"};case 11:return ln(e,n);default:return}}(e,n);return t&&n.afterTransform&&n.afterTransform(e,t),t}function ln(e,n){return{type:"root",children:on(e,n)}}function on(e,n){const t=e.childNodes,l=[];let o=-1;for(;++o<t.length;){const e=tn(t[o],n);void 0!==e&&l.push(e)}return l}function rn(e,n){const t=function(e){const n=document.createElement("template");return n.innerHTML=e,n.content}(e);return tn(t,{})||{type:"root",children:[]}}new DOMParser;const an=function(e,n,t){const o=l(t);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if("number"==typeof n){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((n=e.children.indexOf(n))<0)throw new Error("Expected child node or index");for(;++n<e.children.length;)if(o(e.children[n],n,e))return e.children[n]},un=function(e){if(null==e)return cn;if("string"==typeof e)return function(e){return sn(n);function n(n){return n.tagName===e}}(e);if("object"==typeof e)return function(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=un(e[t]);return sn(l);function l(...e){let t=-1;for(;++t<n.length;)if(n[t].apply(this,e))return!0;return!1}}(e);if("function"==typeof e)return sn(e);throw new Error("Expected function, string, or array as `test`")};function sn(e){return function(n,t,l){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}(n)&&e.call(this,n,"number"==typeof t?t:void 0,l||void 0))}}function cn(e){return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}const pn=/\n/g,fn=/[\t ]+/g,dn=un("br"),hn=un(function(e){return"td"===e.tagName||"th"===e.tagName}),gn=un("p"),mn=un("tr"),yn=un(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return Boolean((e.properties||{}).hidden)},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),vn=un(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function bn(e,n,t){return"element"===e.type?function(e,n,t){const l=kn(e,t),o=e.children||[];let r,a,i=-1,u=[];if(yn(e))return u;dn(e)||mn(e)&&an(n,e,mn)?a="\n":gn(e)?(r=2,a=2):vn(e)&&(r=1,a=1);for(;++i<o.length;)u=u.concat(bn(o[i],e,{whitespace:l,breakBefore:i?void 0:r,breakAfter:i<o.length-1?dn(o[i+1]):a}));hn(e)&&an(n,e,hn)&&u.push("\t");r&&u.unshift(r);a&&u.push(a);return u}(e,n,t):"text"===e.type?"normal"===t.whitespace?wn(e,t):function(e){return[String(e.value)]}(e):[]}function wn(e,n){const t=String(e.value),l=[],o=[];let r=0;for(;r<=t.length;){pn.lastIndex=r;const e=pn.exec(t),o=e&&"index"in e?e.index:t.length;l.push(xn(t.slice(r,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==r||n.breakBefore,o!==t.length||n.breakAfter)),r=o+1}let a,i=-1;for(;++i<l.length;)8203===l[i].charCodeAt(l[i].length-1)||i<l.length-1&&8203===l[i+1].charCodeAt(0)?(o.push(l[i]),a=void 0):l[i]?("number"==typeof a&&o.push(a),o.push(l[i]),a=0):0!==i&&i!==l.length-1||o.push(0);return o}function xn(e,n,t){const l=[];let o,r=0;for(;r<e.length;){fn.lastIndex=r;const t=fn.exec(e);o=t?t.index:e.length,r||o||!t||n||l.push(""),r!==o&&l.push(e.slice(r,o)),r=t?o+t[0].length:o}return r===o||t||l.push(""),l.join(" ")}function kn(e,n){if("element"===e.type){const t=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.wrap?"pre-wrap":"pre";case"td":case"th":return t.noWrap?"nowrap":n.whitespace;case"textarea":return"pre-wrap"}}return n.whitespace}const Cn={},Sn=[];function Dn(e){const n=e||Cn;return function(e,t){o(e,"element",function(e,l){const o=Array.isArray(e.properties.className)?e.properties.className:Sn,i=o.includes("language-math"),u=o.includes("math-display"),s=o.includes("math-inline");let c=u;if(!i&&!u&&!s)return;let p=l[l.length-1],f=e;if("code"===e.tagName&&i&&p&&"element"===p.type&&"pre"===p.tagName&&(f=p,p=l[l.length-2],c=!0),!p)return;const d=function(e,n){const t=n||{},l="children"in e?e.children:[],o=vn(e),r=kn(e,{whitespace:t.whitespace||"normal"}),a=[];"text"!==e.type&&"comment"!==e.type||a.push(...wn(e,{breakBefore:!0,breakAfter:!0}));let i=-1;for(;++i<l.length;)a.push(...bn(l[i],e,{whitespace:r,breakBefore:i?void 0:o,breakAfter:i<l.length-1?dn(l[i+1]):o}));const u=[];let s;for(i=-1;++i<a.length;){const e=a[i];"number"==typeof e?void 0!==s&&e>s&&(s=e):e&&(void 0!==s&&s>-1&&u.push("\n".repeat(s)||" "),s=-1,u.push(e))}return u.join("")}(f,{whitespace:"pre"});let h;try{h=r.renderToString(d,{...n,displayMode:c,throwOnError:!0})}catch(o){const a=o,i=a.name.toLowerCase();t.message("Could not render math with KaTeX",{ancestors:[...l,e],cause:a,place:e.position,ruleId:i,source:"rehype-katex"});try{h=r.renderToString(d,{...n,displayMode:c,strict:"ignore",throwOnError:!1})}catch{h=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(n.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:d}]}]}}if("string"==typeof h){h=rn(h).children}const g=p.children.indexOf(f);return p.children.splice(g,1,...h),a})}}export{$ as a,ee as b,m as c,ye as d,be as e,Z as f,$e as g,Qe as h,g as i,u as j,le as k,Be as l,ge as m,y as n,ne as o,me as p,b as q,Dn as r,en as s,nn as w};
@@ -1 +1 @@
1
- import{jsx as l}from"react/jsx-runtime";import{aM as o,ai as r,aN as a}from"./ViewModuleIcon-CBJGd2NB.js";import{memo as t}from"react";const i=({color:o})=>l("path",{d:"M6 22q-.825 0-1.412-.587Q4 20.825 4 20V4q0-.825.588-1.413Q5.175 2 6 2h8l6 6v12q0 .825-.587 1.413Q18.825 22 18 22Zm7-13V4H6v16h12V9ZM6 4v5-5 16V4Z",fill:o}),e=l=>o(l,i,"draft"),h=({color:o})=>l("path",{d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h6l2 2h8q.825 0 1.413.588Q22 7.175 22 8v10q0 .825-.587 1.413Q20.825 20 20 20ZM4 6v12h16V8h-8.825l-2-2H4Zm0 0v12Z",fill:o}),d=l=>o(l,h,"folder"),s=({color:o})=>l("path",{d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h6l2 2h8q.825 0 1.413.588Q22 7.175 22 8H11.175l-2-2H4v12l2.4-8h17.1l-2.575 8.575q-.2.65-.737 1.038Q19.65 20 19 20Zm2.1-2H19l1.8-6H7.9Zm0 0 1.8-6-1.8 6ZM4 8V6v2Z",fill:o}),f=l=>o(l,s,"folder-open"),c=({color:o})=>l("path",{d:"M8 19V5l11 7Zm2-7Zm0 3.35L15.25 12 10 8.65Z",fill:o}),m=l=>o(l,c,"play-arrow"),q=t(({color:o,width:a})=>l(r,{start:{x:4,y:12},end:{x:20,y:12},options:{width:a},fill:o})),Z=t(({color:o,width:a})=>l(r,{start:{x:6,y:12},end:{x:18,y:12},options:{width:a},fill:o})),p=l=>a(l,l.circle||l.square||l.filledCircle||l.filledSquare?Z:q);export{e as D,d as F,p as M,m as P,f as a};
1
+ import{jsx as l}from"react/jsx-runtime";import{aM as o,ai as r,aN as a}from"./ViewModuleIcon-B7qvToID.js";import{memo as t}from"react";const i=({color:o})=>l("path",{d:"M6 22q-.825 0-1.412-.587Q4 20.825 4 20V4q0-.825.588-1.413Q5.175 2 6 2h8l6 6v12q0 .825-.587 1.413Q18.825 22 18 22Zm7-13V4H6v16h12V9ZM6 4v5-5 16V4Z",fill:o}),e=l=>o(l,i,"draft"),h=({color:o})=>l("path",{d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h6l2 2h8q.825 0 1.413.588Q22 7.175 22 8v10q0 .825-.587 1.413Q20.825 20 20 20ZM4 6v12h16V8h-8.825l-2-2H4Zm0 0v12Z",fill:o}),d=l=>o(l,h,"folder"),s=({color:o})=>l("path",{d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h6l2 2h8q.825 0 1.413.588Q22 7.175 22 8H11.175l-2-2H4v12l2.4-8h17.1l-2.575 8.575q-.2.65-.737 1.038Q19.65 20 19 20Zm2.1-2H19l1.8-6H7.9Zm0 0 1.8-6-1.8 6ZM4 8V6v2Z",fill:o}),f=l=>o(l,s,"folder-open"),c=({color:o})=>l("path",{d:"M8 19V5l11 7Zm2-7Zm0 3.35L15.25 12 10 8.65Z",fill:o}),m=l=>o(l,c,"play-arrow"),q=t(({color:o,width:a})=>l(r,{start:{x:4,y:12},end:{x:20,y:12},options:{width:a},fill:o})),Z=t(({color:o,width:a})=>l(r,{start:{x:6,y:12},end:{x:18,y:12},options:{width:a},fill:o})),p=l=>a(l,l.circle||l.square||l.filledCircle||l.filledSquare?Z:q);export{e as D,d as F,p as M,m as P,f as a};
@@ -1 +1 @@
1
- import{C as e,N as t,J as a}from"./settings-DgLs6IK_.js";import{isValidElement as o,Children as r,cloneElement as i}from"react";import{QueryParamKey as l,ContestTab as s,ProblemTab as n,ProfileTab as m}from"./enums.js";const c={POST:"POST",GET:"GET",PUT:"PUT",PATCH:"PATCH",DELETE:"DELETE"},d=(...e)=>{console.warn((new Date).toLocaleString(),...e)},u=(...e)=>{console.info((new Date).toLocaleString(),...e)},p=(...e)=>{console.error((new Date).toLocaleString(),...e)},y="javac 17.0.15",g="v20.19.2",h="Python 3.11.2",b="Python 3.9.16 (7.3.11+dfsg-2+deb12u3, Dec 30 2024, 22:36:23)\n[PyPy 7.3.11 with GCC 12.2.0]",f={mime:"text/x-csrc",mainFilename:"main.c",fileExtension:["c"],hasBuildFile:!0,executable:"gcc",executableVersion:"gcc (Debian 12.2.0-14+deb12u1) 12.2.0\nCopyright (C) 2022 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.",templateSourceCode:'#include <stdio.h>\n \nint main(void) {\n \n printf("Hello World\\n");\n \n return 0;\n}',monacoKey:"c",codeMirrorKey:"c",highlightJsKey:"c"},P={mime:"text/x-c++src",mainFilename:"main.cpp",fileExtension:["cpp","c++","cxx","cc"],hasBuildFile:!0,executable:"g++",executableVersion:"g++ (Debian 12.2.0-14+deb12u1) 12.2.0\nCopyright (C) 2022 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.",templateSourceCode:'#include <iostream>\n\nusing namespace std;\n\nint main() {\n \n cout << "Hello World" << endl;\n \n return 0;\n}',monacoKey:"cpp",codeMirrorKey:"cpp",highlightJsKey:"cpp"},_={mime:"text/x-python",mainFilename:"main.py",fileExtension:["py"],hasBuildFile:!1,templateSourceCode:'print("Hello World\\n")',monacoKey:"python",codeMirrorKey:"python",highlightJsKey:"python"},S={[e.C_11]:{value:e.C_11,label:"C 11",compilePattern:"/usr/bin/jk-c11 -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -fno-asm -lm -s -O2 -std=gnu11 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...f},[e.CPP_11]:{value:e.CPP_11,label:"C++ 11",compilePattern:"/usr/bin/jk-cpp11 -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=gnu++11 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP_20]:{value:e.CPP_20,label:"C++ 20",compilePattern:"/usr/bin/jk-cpp20 -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=gnu++20 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.JAVA_21]:{value:e.JAVA_21,label:"Java 21",mime:"text/x-java",mainFilename:"Main.java",fileExtension:["java"],compilePattern:"/usr/bin/jk-javac -cp '.;*' {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-java -Xmx512M -Xss64M -DONLINE_JUDGE=true -Duser.language=en -Duser.region=US -Duser.variant=US -cp {{folder_path}} {{class_name}}",templateSourceCode:'class Main {\n public static void main (String[] args) {\n \n System.out.println("Hello World");\n \n }\n}',hasBuildFile:!0,executable:"java",executableVersion:y,monacoKey:"java",codeMirrorKey:"java",highlightJsKey:"java"},[e.PYTHON_2]:{value:e.PYTHON_2,label:"Python 2 *",compilePattern:"/usr/bin/jk-python2 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-python2 {{folder_path}}/{{source_full_file_name}}",executable:"python2",executableVersion:b,..._},[e.PYTHON_3]:{value:e.PYTHON_3,label:"Python 3",compilePattern:"/usr/bin/jk-python3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-python3 {{folder_path}}/{{source_full_file_name}}",executable:"python3",executableVersion:b,..._},[e.PYTHON_PYPY_2]:{value:e.PYTHON_PYPY_2,label:"PyPy 2 *",compilePattern:"/usr/bin/jk-pypy2 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-pypy2 {{folder_path}}/{{source_full_file_name}}",executable:"pypy2",executableVersion:b,..._},[e.PYTHON_PYPY_3]:{value:e.PYTHON_PYPY_3,label:"PyPy 3",compilePattern:"/usr/bin/jk-pypy3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-pypy3 {{folder_path}}/{{source_full_file_name}}",executable:"pypy3",executableVersion:b,..._},[e.JAVASCRIPT_NODE_JS_22]:{value:e.JAVASCRIPT_NODE_JS_22,label:"Javascript Node.js 22",mime:"application/x-javascript",mainFilename:"main.js",fileExtension:["js"],compilePattern:"",runPattern:"/usr/bin/jk-node22 {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"javascript",codeMirrorKey:"javascript",highlightJsKey:"javascript"},[e.ICPC_C]:{value:e.ICPC_C,label:"ICPC C *",compilePattern:"gcc -x c -g -O2 -std=gnu11 -static -lm -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...f},[e.C]:{value:e.C,label:"C *",compilePattern:"gcc -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -fno-asm -lm -s -O2 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...f},[e.ICPC_CPP]:{value:e.ICPC_CPP,label:"ICPC C++ *",compilePattern:"g++ -x c++ -static -g -O2 -std=gnu++20 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP]:{value:e.CPP,label:"C++ *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP11]:{value:e.CPP11,label:"C++ 11 *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=c++11 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP14]:{value:e.CPP14,label:"C++ 14 *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=c++14 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP17]:{value:e.CPP17,label:"C++ 17 *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=c++17 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.JAVA]:{value:e.JAVA,label:"Java *",mime:"text/x-java",mainFilename:"Main.java",fileExtension:["java"],compilePattern:"javac -cp '.;*' {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xmx512M -Xss64M -DONLINE_JUDGE=true -Duser.language=en -Duser.region=US -Duser.variant=US -cp {{folder_path}} {{class_name}}",templateSourceCode:'class Main {\n public static void main (String[] args) {\n \n System.out.println("Hello World");\n \n }\n}',hasBuildFile:!0,executable:"javac",executableVersion:y,monacoKey:"java",codeMirrorKey:"java",highlightJsKey:"java"},[e.ICPC_PYTHON]:{value:e.ICPC_PYTHON,label:"ICPC Python *",compilePattern:"pypy3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/pypy3 {{folder_path}}/{{source_full_file_name}}",executable:"pypy3",executableVersion:b,..._},[e.PYTHON]:{value:e.PYTHON,label:"Python *",compilePattern:"python3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/python3 {{folder_path}}/{{source_full_file_name}}",executable:"python3",executableVersion:h,..._},[e.PYTHON2]:{value:e.PYTHON2,label:"Python 2 *",compilePattern:"python2 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/python2 {{folder_path}}/{{source_full_file_name}}",executable:"python",executableVersion:"Python 2.7.18",..._},[e.PYTHON3]:{value:e.PYTHON3,label:"Python 3 *",compilePattern:"python3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/python3 {{folder_path}}/{{source_full_file_name}}",executable:"python3",executableVersion:h,..._},[e.JAVASCRIPT]:{value:e.JAVASCRIPT,label:"Javascript *",mime:"application/x-javascript",mainFilename:"main.js",fileExtension:["js"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"javascript",codeMirrorKey:"javascript",highlightJsKey:"javascript"},[e.TYPESCRIPT]:{value:e.TYPESCRIPT,label:"Typescript *",mime:"application/x-typescript",mainFilename:"main.ts",fileExtension:["ts"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"typescript",codeMirrorKey:"typescript",highlightJsKey:"typescript"},[e.TSX]:{value:e.TSX,label:"TSX *",mime:"application/x-typescript",mainFilename:"main.tsx",fileExtension:["tsx"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"typescript",codeMirrorKey:"typescript",highlightJsKey:"typescript"},[e.JSX]:{value:e.JSX,label:"JSX *",mime:"application/x-javascript",mainFilename:"main.jsx",fileExtension:["jsx"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"javascript",codeMirrorKey:"javascript",highlightJsKey:"javascript"},[e.PSEUDOCODE_PSEINT]:{value:e.PSEUDOCODE_PSEINT,label:"Pseudo-código (PSeInt)",mime:"text/plain",mainFilename:"main.psc",fileExtension:["psc"],compilePattern:"jk-pseint {{folder_path}}/{{source_full_file_name}} --norun --nouser && jk-pseint {{folder_path}}/{{source_full_file_name}} --draw {{folder_path}}/{{source_full_file_name}}.psd && jk-psexport {{folder_path}}/{{source_full_file_name}}.psd {{folder_path}}/{{source_full_file_name}}.cpp --lang=cpp && g++ -x c++ -g -O2 -std=gnu++20 -static -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}.cpp",runPattern:"{{folder_path}}/{{compiled_file_name}}",templateSourceCode:'Algoritmo HOLA_MUNDO\n\tImprimir "Hello World"\nFinAlgoritmo\n',hasBuildFile:!1,executable:"",executableVersion:"PSeInt 20230904-l64-wx3\nhttp://pseint.sourceforge.net\nby Pablo Novara (zaskar_84@yahoo.com.ar)\npsExport 20230904-l64-wx3\nhttp://pseint.sourceforge.net\nby Pablo Novara (zaskar_84@yahoo.com.ar)",monacoKey:"text",codeMirrorKey:"pseudocode-pseint",highlightJsKey:"plaintext"},[e.DOT]:{value:e.DOT,label:"DOT",mime:"text/vnd.graphviz",mainFilename:"diagram.dot",fileExtension:["dot"],compilePattern:"",runPattern:"",templateSourceCode:"digraph G {\n A -> B;\n B -> C;\n}",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"dot",codeMirrorKey:"dot",highlightJsKey:"plaintext"},[e.MERMAID]:{value:e.MERMAID,label:"Mermaid",mime:"text/mermaid",mainFilename:"diagram.mmd",fileExtension:["mmd","mermaid"],compilePattern:"",runPattern:"",templateSourceCode:"graph TD\n A[Start] --\x3e B{Is it working?}\n B -- Yes --\x3e C[Great!]\n B -- No --\x3e D[Fix it]\n D --\x3e B\n",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"mermaid",codeMirrorKey:"mermaid",highlightJsKey:"plaintext"},[e.JSON]:{value:e.JSON,label:"JSON",mime:"application/json",mainFilename:"main.json",fileExtension:["json"],compilePattern:"",runPattern:"",templateSourceCode:"{\n \n}",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"json",codeMirrorKey:"javascript",highlightJsKey:"json"},[e.TEXT]:{value:e.TEXT,label:"plain text",mime:"text/plain",mainFilename:"main.txt",fileExtension:["txt","text","in","out"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"text",codeMirrorKey:"text",highlightJsKey:"plaintext"},[e.DIFF]:{value:e.DIFF,label:"diff",mime:"text/plain",mainFilename:"main.patch",fileExtension:["diff","patch"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"diff",codeMirrorKey:"diff",highlightJsKey:"diff"},[e.LATEX]:{value:e.LATEX,label:"LaTeX",mime:"application/x-latex",mainFilename:"main.tex",fileExtension:["tex"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"latex",codeMirrorKey:"stex",highlightJsKey:"latex"},[e.MARKDOWN]:{value:e.MARKDOWN,label:"Markdown",mime:"text/plain",mainFilename:"main.md",fileExtension:["md"],compilePattern:"",runPattern:"",templateSourceCode:"# Hello World\n",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"markdown",codeMirrorKey:"markdown",highlightJsKey:"markdown"},[e.MDX]:{value:e.MDX,label:"MDX",mime:"text/plain",mainFilename:"main.mdx",fileExtension:["mdx"],compilePattern:"",runPattern:"",templateSourceCode:"# Hello World\n",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"markdown",codeMirrorKey:"markdown",highlightJsKey:"markdown"},[e.ARDUINO]:{value:e.ARDUINO,label:"Arduino",mime:"text/plain",mainFilename:"main.c",fileExtension:["c","cpp","pde","h","ino"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"c",codeMirrorKey:"c",highlightJsKey:"c"},[e.HTML]:{value:e.HTML,label:"HTML",mime:"text/HTML",mainFilename:"index.html",fileExtension:["html"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"html",codeMirrorKey:"html",highlightJsKey:"xml"},[e.BASH]:{value:e.BASH,label:"Bash",mime:"text/plain",mainFilename:"main.sh",fileExtension:["sh","bash"],compilePattern:"",runPattern:"",templateSourceCode:'#!/bin/bash\necho "Hello World"\n',hasBuildFile:!1,executable:"bash",executableVersion:"",monacoKey:"shell",codeMirrorKey:"shell",highlightJsKey:"bash"}},T={vivos:[{color:"#FF0000",title:"Rojo"},{color:"#FF5900",title:"Rojo - Naranja"},{color:"#FF8600",title:"Naranja"},{color:"#FFBF00",title:"Ámbar"},{color:"#FFFF00",title:"Amarillo"},{color:"#A6FF00",title:"Lima o Verde limon"},{color:"#00FF8C",title:"Verde puro"},{color:"#00FF8C",title:"Verde cian"},{color:"#00FFFF",title:"Cian"},{color:"#0099FF",title:"Cerúleo o Azur"},{color:"#0000FF",title:"Azul"},{color:"#9F00FF",title:"Violeta"},{color:"#FF00FF",title:"Magenta"},{color:"#FF0099",title:"Fucsia"}],oscuros:[{color:"#880000",title:"Granate"},{color:"#882F00",title:"Caoba o Rojo indio"},{color:"#884700",title:"Marrón o Pardo"},{color:"#886600",title:"Marrón dorado"},{color:"#888800",title:"Oliva"},{color:"#588800",title:"Verde palta"},{color:"#008800",title:"Verde estándar"},{color:"#008858",title:"Esmeralda"},{color:"#008888",title:"Cerceta o Azul verde"},{color:"#005288",title:"Añil"},{color:"#000080",title:"Azul marino"},{color:"#880088",title:"Azul púrpura"},{color:"#880088",title:"Púrpura o Morado"},{color:"#880047",title:"Vino"}],agrisados:[{color:"#BF4040",title:"Lacre"},{color:"#BF6340",title:"Cobre"},{color:"#BF8340",title:"Cnalea o Ocre"},{color:"#BF9F40",title:"Dorado"},{color:"#BFBF40",title:"Chartreuse"},{color:"#93BF40",title:"Verde manzana"},{color:"#93BF40",title:"Verde bosque"},{color:"#40BF40",title:"Verde mar"},{color:"#40BFBF",title:"Turquesa"},{color:"#408CBF",title:"Azul acero"},{color:"#4040BF",title:"Zafiro"},{color:"#9340BF",title:"Amastista"},{color:"#B140BF",title:"Púrpureo"},{color:"#B140BF",title:"Fandango"}],claros:[{color:"#FF7777",title:"Coral"},{color:"#FF9977",title:"Salmón"},{color:"#FFB977",title:"Melón o Durazno"},{color:"#FFDA80",title:"Crema"},{color:"#FFFF88",title:"Maíz"},{color:"#CFFF77",title:"Té verde"},{color:"#77FF77",title:"Verde claro"},{color:"#77FFAA",title:"Menta"},{color:"#80FFFF",title:"Aguamarina"},{color:"#73C7FF",title:"Celeste"},{color:"#8082FF",title:"Bígaro o aciano"},{color:"#C977FF",title:"Lavanda o lila"},{color:"#FF77FF",title:"Malva"},{color:"#FF77C1",title:"Rosado"}]},O="",k="x-juki-forwarded-host",$="x-juki-visitor-session-id",x="x-juki-metadata",E=e=>{const t=new ArrayBuffer(e.length),a=new Uint8Array(t);for(let t=0;t<e.length;t++)a[t]=255&e.charCodeAt(t);return t},K=e=>e.join(""),F=e=>e.split(""),v=(e,t)=>`${e}|${t}`,C=(e,t)=>`${e}|${t}`,w=e=>{const[t,a]=e.split("|");return{sessionId:t,uiId:a}};let N=null;const z=async()=>(N||(u("loading XLSX..."),N=await import("./xlsx-XBWnafwQ.js")),N),J=e=>{if(!e)return"";if("string"==typeof e||"number"==typeof e)return`${e}`;if(Array.isArray(e))return e.map(J).join("");if(o(e)&&e.props.children){const t=e.props.children;return Array.isArray(t)?t.map(J).join(""):J(t)}return""};function j(){return"undefined"!=typeof window}const U=(e,t)=>{if("undefined"!=typeof document&&j()){const a=document.createElement("a");a.style.display="none",a.setAttribute("href",e),a.setAttribute("download",t),a.setAttribute("target","_blank"),document.body.appendChild(a),a.click(),document.body.removeChild(a),setTimeout(()=>{j()&&window.URL.revokeObjectURL(e)},100)}};function A(e,t="file"){if(j()){const a=new Blob([e],{type:e.type||"application/octet-stream"}),o=window.URL.createObjectURL(a);U(o,t)}}async function G(e,t){if("undefined"!=typeof document){const a=await fetch(e);if(!a.ok)throw new Error(`HTTP error! Status: ${a.status}`);const o=await a.blob(),r=URL.createObjectURL(o),i=document.createElement("a");i.href=r,i.download=t,i.dispatchEvent(new MouseEvent("click")),URL.revokeObjectURL(r)}}const D=(e,t="file.csv")=>{A(new Blob([e.map(e=>e.join(",")).join("\n")],{type:"text/csv"}),t)},I=async(e,t="file.xlsx")=>{const{utils:a}=await z(),o=a.book_new();o.Props={Title:t,Subject:t,Author:"Juki",CreatedDate:new Date};for(const{name:t,autofilter:r,cols:i,rows:l,styles:s}of e){const e={s:{c:1e7,r:1e7},e:{c:0,r:0}};o.SheetNames.push(t);const n={};o.Sheets[t]=n;const m=[];n["!rows"]=m;for(const[t,o]of Object.entries(l)){const r=+t;o.height&&(m[r]={hpx:o.height});for(const[t,i]of Object.entries(o.cells)){const o=+t;e.s.r>r&&(e.s.r=r),e.s.c>o&&(e.s.c=o),e.e.r<r&&(e.e.r=r),e.e.c<o&&(e.e.c=o);const l={v:i.text,t:"s"};if(null==l.v)continue;const m=a.encode_cell({c:o,r:r});"number"==typeof l.v?l.t="n":"boolean"==typeof l.v?l.t="b":(l.v,Date),l.s={},"string"==typeof l.v&&l.v.includes("\n")&&(l.s.alignment={wrapText:!0});const c="number"==typeof i.style?s?.[i.style]:void 0;if(c){const{bgcolor:e,color:t,font:a,align:o,valign:r}=c;"string"==typeof e&&(l.s.fill={fgColor:{rgb:e.replace("#","")}}),"string"==typeof t&&(l.s.font||(l.s.font={}),l.s.font.color={rgb:t.replace("#","")}),a?.bold&&(l.s.font||(l.s.font={}),l.s.font.bold=!0),"string"==typeof o&&(l.s.alignment||(l.s.alignment={}),l.s.alignment.horizontal=o),"string"==typeof r&&(l.s.alignment||(l.s.alignment={}),l.s.alignment.vertical=r)}n[m]=l}}e.s.c<1e7&&(n["!ref"]=a.encode_range(e)),r?.ref&&(n["!autofilter"]={ref:r?.ref});const c=n["!cols"]??[];n["!cols"]=c;for(const[e,t]of Object.entries(i||{})){const a=+e,o=c[a]??{};c[a]=o,t.width&&(o.wpx=t.width)}}return o},L=async(e,t="file.xlsx")=>{const a=await I(e,t),{write:o}=await z(),r=o(a,{bookType:"xlsx",type:"binary"});A(new Blob([E(r)],{type:"application/octet-stream"}),t)},M=(e,t)=>"function"==typeof e?e(t):r.map(e,e=>e&&o(e)?i(e,t):e),B=(e,t,a,o,r,i,l,s,n,m,c,d,u,p,y)=>{let g="";for(const h of[e,t,a,o,r,i,l,s,n,m,c,d,u,p,y])if(h)if("string"==typeof h)g+=(g?" ":"")+h;else for(const e in h)h[e]&&(g+=(g?" ":"")+e);return g},V=(e,t)=>e===t||Array.isArray(e)&&e.includes(t);function H(e){return new Promise(t=>{e.toBlob(t)})}const R=e=>(e.current?.scrollWidth??0)>(e.current?.clientWidth??0);function Y(){return"production"!==t}const W=e=>{if(j()){const t=window.open(e,"_blank","noopener,noreferrer");t&&(t.opener=null)}},X=e=>e.trim().replace(/\/+/g,"/").replace(/^\/+/,"").replace(/\/+$/,""),q=e=>e.includes("?")?e:`${e}?`,Q=e=>"?"!==e[e.length-1]?`${e}&`:e,Z=(e,t,a)=>`${Q(q(e))}page=${t}&pageSize=${a}`,ee=(e,t)=>t?Q(q(e))+t:e,te=(e,t)=>t?Q(q(e))+t:e,ae=(e,t)=>t?`${Q(q(e))}organizationKey=${t}`:e;const oe=(e,t)=>`${e||""}${t}`,re=e=>new URLSearchParams(e.toString()),ie=e=>{const t=re(e);let a=new URLSearchParams;j()&&(a=new URLSearchParams(window.location.search));const o=a.get(l.TOKEN);o&&t.set(l.TOKEN,o);const r=a.get(l.COMPANY);r&&t.set(l.COMPANY,r);const i=a.get(l.SUBMISSION);i&&t.set(l.SUBMISSION,i);const s=a.get(l.SIGN_IN);s&&t.set(l.SIGN_IN,s);const n=a.get(l.SIGN_UP);return n&&t.set(l.SIGN_UP,n),t.toString()},le=e=>{const t=new URL(`https://juki.app${e}`),a=ie(t.searchParams);return a?`${t.pathname}?${a}`:t.pathname};const se=new class{get apiV2(){const e=(e,t)=>`${a}/${e}${t}`,t=e=>a?e:()=>({url:"",method:c.GET});return{auth:{ping:t(()=>({url:e("auth","/ping"),method:c.GET})),signIn:t(({params:{organizationKey:t}={},body:a})=>({url:ae(e("auth","/sign-in"),t),method:c.POST,body:JSON.stringify(a)})),signUp:t(({body:t})=>({url:e("auth","/sign-up"),method:c.POST,body:JSON.stringify(t)})),createUser:t(({params:{organizationKey:t}={},body:a})=>({url:ae(e("auth","/sign-up"),t),method:c.POST,body:JSON.stringify({...a,isGenerated:!0})})),signOut:t(()=>({url:e("auth","/sign-out"),method:c.POST})),initiateResetPassword:t(({body:t})=>({url:e("auth","/initiate-reset-password"),method:c.POST,body:JSON.stringify(t)})),updatePassword:t(({params:{organizationKey:t,nickname:a},body:o})=>({url:e("auth",`/user-key/${v(a,t)}/update-password`),method:c.POST,body:JSON.stringify(o)})),resetPassword:t(({params:{organizationKey:t,nickname:a}})=>({url:e("auth",`/user-key/${v(a,t)}/reset-password`),method:c.POST})),createSession:t(({params:{organizationKey:t}={},body:a})=>({url:ae(e("auth","/create-session"),t),method:c.POST,body:JSON.stringify(a)}))},log:{error:t(({body:t})=>({url:e("log","/error"),method:c.POST,body:JSON.stringify(t)})),info:t(({body:t})=>({url:e("log","/info"),method:c.POST,body:JSON.stringify(t)}))},user:{getSummaryList:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("user","/summary-list"),t),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("user","/system-list"),t,a),o),r),method:c.GET})),getSummary:t(({params:{nickname:t,organizationKey:a}})=>({url:e("user",`/user-key/${v(t,a)}/summary`),method:c.GET})),getProfile:t(({params:{nickname:t,organizationKey:a}})=>({url:e("user",`/user-key/${v(t,a)}/profile`),method:c.GET})),getLogs:t(({params:{nickname:t,organizationKey:a}})=>({url:e("user",`/user-key/${v(t,a)}/logs`),method:c.GET})),getMySessions:t(()=>({url:e("user","/my-sessions"),method:c.GET})),getAllOnlineUsers:t(({params:{filterUrl:t,sortUrl:a}})=>({url:ee(te(e("user","/all-online-users"),t),a),method:c.GET})),getOnlineUsers:t(({params:{filterUrl:t,sortUrl:a}})=>({url:ee(te(e("user","/online-users"),t),a),method:c.GET})),deleteOldSessions:t(()=>({url:e("user","/delete-old-sessions"),method:c.POST})),updateProfileData:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/profile-data`),method:c.PUT,body:JSON.stringify(o)})),updateProfileImage:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/profile-image`),method:c.PUT,body:JSON.stringify(o)})),updatePreferences:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/preferences`),method:c.PUT,body:JSON.stringify(o)})),updateRoles:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/roles`),method:c.PUT,body:JSON.stringify(o)})),deleteSession:t(({params:{sessionId:t}})=>({url:e("user",`/session/${t}`),method:c.DELETE})),checkData:t(({params:{organizationKey:t},body:a})=>({url:ae(e("user","/check-data"),t),method:c.POST,body:JSON.stringify(a)})),clientTrack:t(({body:t})=>({url:e("user","/client-track"),method:c.POST,body:JSON.stringify(t)}))},problem:{create:t(()=>({url:e("problem",""),method:c.POST})),update:t(({params:{key:t}})=>({url:e("problem",`/${t}`),method:c.PUT})),delete:t(({params:{key:t}})=>({url:e("problem",`/${t}`),method:c.DELETE})),getMetadata:t(({params:{key:t}})=>({url:e("problem",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("problem",`/${t}/data`),method:c.GET})),getSummary:t(({params:{key:t}})=>({url:e("problem",`/${t}/summary`),method:c.GET})),getLogs:t(({params:{key:t}})=>({url:e("problem",`/${t}/logs`),method:c.GET})),getBasicSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("problem","/basic-summary-list"),t,a),o),r),method:c.GET})),getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("problem","/summary-list"),t,a),o),r),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("problem","/system-list"),t,a),o),r),method:c.GET})),getTestCases:t(({params:{key:t}})=>({url:e("problem",`/${t}/test-cases`),method:c.GET})),getTestCasesGroups:t(({params:{key:t}})=>({url:e("problem",`/${t}/test-cases-groups`),method:c.GET})),getAllTestCases:t(({params:{key:t}})=>({url:e("problem",`/${t}/all-test-cases`),method:c.GET})),createTestCase:t(({params:{key:t},body:a})=>({url:e("problem",`/${t}/test-case`),method:c.POST,body:JSON.stringify(a)})),getTestCaseKeyFile:t(({params:{key:t,testCaseKey:a,keyFile:o}})=>({url:e("problem",`/${t}/test-case/${a}/key-file/${o}`),method:c.GET})),deleteTestCaseKeyFile:t(({params:{key:t,testCaseKey:a,keyFile:o}})=>({url:e("problem",`/${t}/test-case/${a}/key-file/${o}`),method:c.DELETE})),submit:t(({params:{key:t},body:a})=>({url:e("problem",`/${t}/submit`),method:c.POST,body:JSON.stringify(a)})),crawl:t(({body:t})=>({url:e("problem","/crawl"),method:c.POST,body:JSON.stringify(t)})),createStatementPdf:t(({body:t})=>({url:e("problem","/statement-pdf"),method:c.POST,body:JSON.stringify(t)}))},contest:{create:t(()=>({url:e("contest",""),method:c.POST})),update:t(({params:{key:t}})=>({url:e("contest",`/${t}`),method:c.PUT})),delete:t(({params:{key:t}})=>({url:e("contest",`/${t}`),method:c.DELETE})),getMetadata:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/metadata`),a),method:c.GET})),getData:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data`),a),method:c.GET})),getDataEvents:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data/events`),a),method:c.GET})),getDataMembers:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data/members`),a),method:c.GET})),getMembers:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/members`),a),method:c.GET})),getDataClarifications:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data/clarifications`),a),method:c.GET})),getScoreboard:t(({params:{key:t,unfrozen:a,organizationKey:o,official:r}})=>({url:ae(e("contest",`/${t}/scoreboard${r?"?official=true":""}${a?(r?"&":"?")+"state=unfrozen":""}`),o),method:c.GET})),getScoreboardHistory:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/scoreboard-history`),a),method:c.GET})),getLogs:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/logs`),a),method:c.GET})),getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("contest","/summary-list"),t,a),o),r),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("contest","/system-list"),t,a),o),r),method:c.GET})),register:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/register`),a),method:c.POST})),submit:t(({params:{key:t,problemKey:a,organizationKey:o},body:r})=>({url:ae(e("contest",`/${t}/problem/${a}/submit`),o),method:c.POST,body:JSON.stringify(r)})),retrieve:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/retrieve`),a),method:c.POST})),recalculateScoreboard:t(({params:{key:t,organizationKey:a,official:o}})=>({url:ae(e("contest",`/${t}/recalculate-scoreboard${o?"?official=true":""}`),a),method:c.POST})),recalculateScoreboardHistory:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/recalculate-scoreboard-history`),a),method:c.POST})),recalculatePrerequisites:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/recalculate-prerequisites`),a),method:c.POST})),lockScoreboard:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/lock-scoreboard`),a),method:c.POST})),unlockScoreboard:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/unlock-scoreboard`),a),method:c.POST})),enableUpsolving:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/enable-upsolving`),a),method:c.POST})),disableUpsolving:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/disable-upsolving`),a),method:c.POST})),createClarification:t(({params:{key:t,organizationKey:a},body:o})=>({url:ae(e("contest",`/${t}/clarification`),a),method:c.POST,body:JSON.stringify(o)})),answerClarification:t(({params:{key:t,clarificationId:a,organizationKey:o},body:r})=>({url:ae(e("contest",`/${t}/clarification/${a}`),o),method:c.PUT,body:JSON.stringify(r)})),editGlobal:t(({params:{key:t,organizationKey:a},body:o})=>({url:ae(e("contest",`/${t}/global`),a),method:c.PUT,body:JSON.stringify(o)})),createGlobal:t(({params:{organizationKey:t},body:a})=>({url:ae(e("contest","/global"),t),method:c.POST,body:JSON.stringify(a)})),unlinkSubmissions:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/unlink-submissions`),a),method:c.POST})),problem:{rejudge:t(({params:{key:t,problemKey:a,organizationKey:o}})=>({url:ae(e("contest",`/${t}/problem/${a}/rejudge`),o),method:c.POST})),retrieve:t(({params:{key:t,problemKey:a,organizationKey:o}})=>({url:ae(e("contest",`/${t}/problem/${a}/retrieve`),o),method:c.POST}))}},submission:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("submission","/summary-list"),t,a),o),r),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("submission","/system-list"),t,a),o),r),method:c.GET})),getExportSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r,withSourceCodes:i}})=>({url:ee(te(Z(e("submission","/summary-list-export"+(i?"?withSourceCodes=true":"")),t,a),o),r),method:c.GET})),getData:t(({params:{id:t}})=>({url:e("submission",`/${t}/data`),method:c.GET})),getLogs:t(({params:{id:t}})=>({url:e("submission",`/${t}/logs`),method:c.GET})),rejudge:t(({params:{id:t}})=>({url:e("submission",`/${t}/rejudge`),method:c.POST})),retrieve:t(({params:{id:t}})=>({url:e("submission",`/${t}/retrieve`),method:c.POST})),judge:t(({params:{id:t},body:a})=>({url:e("submission",`/${t}/judge`),method:c.POST,body:JSON.stringify(a)})),archive:t(({params:{id:t}})=>({url:e("submission",`/${t}/archive`),method:c.POST})),release:t(({params:{id:t}})=>({url:e("submission",`/${t}/release`),method:c.POST}))},image:{getPublicList:t(()=>({url:e("image","/public-list"),method:c.GET})),publish:t(({body:t})=>({url:e("image","/publish"),method:c.POST,body:JSON.stringify(t)}))},file:{publish:t(({body:t})=>({url:e("file","/publish"),method:c.POST,body:JSON.stringify(t)}))},note:{publish:t(({body:t})=>({url:e("note","/publish"),method:c.POST,headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})),getPdf:t(({params:{sourceUrl:t}})=>({url:e("note",`/pdf?sourceUrl=${t}`),method:c.GET})),createPdf:t(({body:t})=>({url:e("note","/pdf"),method:c.POST,body:JSON.stringify(t)}))},code:{run:t(({body:t})=>({url:e("code","/run"),method:c.POST,body:JSON.stringify(t)}))},ia:{chatCompletions:t(({body:t})=>({url:e("ia","/chat/completions"),method:c.POST,body:JSON.stringify(t)}))},organization:{get:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization",""),t),method:c.GET})),getPermissionList:t(()=>({url:e("organization","/permission-list"),method:c.GET})),getJudgeList:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/judge-list"),t),method:c.GET})),getTrustedCompaniesList:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/trusted-organizations-list"),t),method:c.GET})),getResourceSpecifications:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/resource-specifications"),t),method:c.GET})),getEmailData:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/email-data"),t),method:c.GET})),updateImage:t(({params:{organizationKey:t}={organizationKey:""},body:a})=>({url:ae(e("organization","/image"),t),method:c.PUT,body:JSON.stringify(a)})),updateData:t(({params:{organizationKey:t}={organizationKey:""},body:a})=>({url:ae(e("organization",""),t),method:c.PATCH,body:JSON.stringify(a)})),updateSensitiveData:t(({params:{organizationKey:t}={organizationKey:""},body:a})=>({url:ae(e("organization","/sensitive-data"),t),method:c.PATCH,body:JSON.stringify(a)}))},locale:{get:t(({params:{locale:t,namespace:a}})=>({url:e("locale",`/${t}/${a}`),method:c.GET}))},judge:{getData:t(({params:{key:t}})=>({url:e("judge",`/${t}/data`),method:c.GET})),getSummaryList:t(({params:{filterUrl:t,sortUrl:a}={filterUrl:"",sortUrl:""}}={})=>({url:ee(te(e("judge","/summary-list"),t),a),method:c.GET})),getSystemList:t(({params:{filterUrl:t,sortUrl:a}={filterUrl:"",sortUrl:""}}={})=>({url:ee(te(e("judge","/system-list"),t),a),method:c.GET})),crawlLanguages:t(({params:{key:t}})=>({url:e("judge",`/${t}/crawl-languages`),method:c.POST})),patch:t(({params:{key:t},body:{languages:a,name:o,problemTags:r,isExternal:i,isSubmitSupported:l,url:s,logo:n,logoSize:m}})=>{const d={};return a&&(d.languages=a),"string"==typeof o&&(d.name=o),r&&(d.problemTags=r),"boolean"==typeof i&&(d.isExternal=i),"boolean"==typeof l&&(d.isSubmitSupported=l),"string"==typeof s&&(d.url=s),"string"==typeof n&&(d.logo=n),m&&(d.logoSize=m),{url:e("judge",`/${t}`),method:c.PATCH,body:JSON.stringify(d)}})},worksheet:{getData:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("worksheet",`/${t}/data`),a),method:c.GET})),update:t(({params:{key:t},body:a})=>({url:e("worksheet",`/${t}`),method:c.PUT,body:JSON.stringify(a)})),getList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("worksheet","/list"),t,a),o),r),method:c.GET})),getSubmissionsUser:t(({params:{key:t,userKey:a,secondaryKey:o}})=>({url:e("worksheet",`/${t}/submissions/user/${a}${o?`?secondaryKey=${o}`:""}`),method:c.GET})),submitJkMd:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/jk-md${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)})),submitCodeEditor:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/code-editor${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)})),submitQuizProblem:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/quiz-problem${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)})),submitQuizOptions:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/quiz-options${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)}))},system:{services:{checkAndStart:t(()=>({url:e("sys","/services/check-and-start"),method:c.POST})),check:t(()=>({url:e("sys","/services/check"),method:c.POST})),clean:t(()=>({url:e("sys","/services/clean"),method:c.POST}))}},comment:{get:t(({params:{key:t}})=>({url:e("comment",`/${t}`),method:c.GET})),post:t(({params:{key:t},body:a})=>({url:e("comment",`/${t}`),method:c.POST,body:JSON.stringify(a)})),reply:t(({params:{key:t,id:a},body:o})=>({url:e("comment",`/${t}/${a}/reply`),method:c.POST,body:JSON.stringify(o)})),react:t(({params:{key:t,id:a},body:o})=>({url:e("comment",`/${t}/${a}/react`),method:c.POST,body:JSON.stringify(o)})),hide:t(({params:{key:t,id:a}})=>({url:e("comment",`/${t}/${a}/hide`),method:c.POST})),unhide:t(({params:{key:t,id:a}})=>({url:e("comment",`/${t}/${a}/unhide`),method:c.POST}))},class:{viewAssignmentMyWorksheetSubmitCodeEditor:t(({params:{classKey:t,cycleId:a,sessionId:o,assignmentId:r},body:i})=>({url:e("class",`/${t}/cycle/${a}/session/${o}/assignment/${r}/worksheet/submit-code-editor`),method:c.POST,body:JSON.stringify(i)}))},documentTemplate:{create:t(({body:t})=>({url:e("document-template",""),method:c.POST,body:JSON.stringify(t)})),getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("document-template","/summary-list"),t,a),o),r),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("document-template",`/${t}/data`),method:c.GET})),updateData:t(({params:{key:t,organizationKey:a},body:o})=>({url:ae(e("document-template",`/${t}`),a),method:c.PUT,body:JSON.stringify(o)}))},statistics:{getOrganizationStats:t(({params:{organizationKey:t,startsAt:a,endsAt:o,groupBy:r}})=>({url:ae(e("statistics",`/organization?startsAt=${a}&endsAt=${o}&groupBy=${r.join(",")}`),t),method:c.GET})),getProblemStats:t(({params:{organizationKey:t,problemKey:a,startsAt:o,endsAt:r,groupBy:i}})=>({url:ae(e("statistics",`/problem/${a}?startsAt=${o}&endsAt=${r}&groupBy=${i.join(",")}`),t),method:c.GET})),getUsersTracksStats:t(({params:{organizationKeys:t,startsAt:a,endsAt:o,groupBy:r}})=>({url:e("statistics",`/users-tracks?startsAt=${a}&endsAt=${o}&groupBy=${r.join(",")}${t?`&organizationKeys=${t}`:""}`),method:c.GET}))},excalidraw:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("excalidraw","/summary-list"),t,a),o),r),method:c.GET})),create:t(({body:t})=>({url:e("excalidraw",""),method:c.POST,body:JSON.stringify(t)})),updateData:t(({params:{key:t},body:a})=>({url:e("excalidraw",`/${t}/data`),method:c.PUT,body:JSON.stringify(a)})),getMetadata:t(({params:{key:t}})=>({url:e("excalidraw",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("excalidraw",`/${t}/data`),method:c.GET}))},mermaid:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("mermaid","/summary-list"),t,a),o),r),method:c.GET})),create:t(({body:t})=>({url:e("mermaid",""),method:c.POST,body:JSON.stringify(t)})),updateData:t(({params:{key:t},body:a})=>({url:e("mermaid",`/${t}/data`),method:c.PUT,body:JSON.stringify(a)})),getMetadata:t(({params:{key:t}})=>({url:e("mermaid",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("mermaid",`/${t}/data`),method:c.GET}))},markdown:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("markdown","/summary-list"),t,a),o),r),method:c.GET})),create:t(({body:t})=>({url:e("markdown",""),method:c.POST,body:JSON.stringify(t)})),updateData:t(({params:{key:t},body:a})=>({url:e("markdown",`/${t}/data`),method:c.PUT,body:JSON.stringify(a)})),getMetadata:t(({params:{key:t}})=>({url:e("markdown",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("markdown",`/${t}/data`),method:c.GET}))},export:{websiteToPdf:t(({params:{url:t,headerTemplate:a,footerTemplate:o,margin:r,format:i}})=>({url:e("export","/website-to-pdf"),method:c.POST,body:JSON.stringify({url:t,headerTemplate:a,footerTemplate:o,margin:r,format:i})})),problem:{statementToPdf:t(({params:{key:t,language:a}})=>({url:e("export","/problem/statement-to-pdf"),method:c.POST,body:JSON.stringify({key:t,language:a})})),statementToPng:t(({params:{key:t,token:a,language:o}})=>({url:e("export","/problem/statement-to-png"),method:c.POST,body:JSON.stringify({key:t,token:a,language:o})}))},contest:{problems:{statementsToPdf:t(({params:{key:t,language:a}})=>({url:e("export","/contest/problems/statements-to-pdf"),method:c.POST,body:JSON.stringify({key:t,language:a})}))}}},webScraping:{codeforces:{problemStatement:t(({params:{contestId:t,index:a}})=>({url:e("web-scraping","/codeforces/problem-statement"),method:c.POST,body:JSON.stringify({contestId:t,index:a})}))},patito:{problemStatement:t(({params:{id:t}})=>({url:e("web-scraping","/patito/problem-statement"),method:c.POST,body:JSON.stringify({id:t})}))}},rejudge:{getProblemCount:t(({params:{problemJudgeKey:t}})=>({url:e("rejudge",`/problem/${t}/count`),method:c.GET})),rejudgeProblem:t(({params:{problemJudgeKey:t}})=>({url:e("rejudge",`/problem/${t}`),method:c.POST}))},rank:{getList:t(()=>({url:e("rank","/list"),method:c.GET}))},websocket:{auth:t(()=>({url:e("websocket","/auth"),method:c.POST}))}}}},ne=new class{JUDGE(e){const t=e??"";return{home:()=>le("/"),profiles:{view:({nickname:e,organizationKey:a,tab:o=m.OVERVIEW})=>oe(t,le(`/profiles/${v(e,a)}${o?`?tab=${o}`:""}`))},problems:{list:()=>oe(t,le("/problems")),view:({key:e,tab:a=n.STATEMENT})=>oe(t,le(`/problems/${e}${a?`?tab=${a}`:""}`)),edit:({key:e,tab:a=n.STATEMENT})=>oe(t,le(`/problems/${e}/edit${a?`?tab=${a}`:""}`)),new:({judge:e,tab:a})=>oe(t,le(`/problems/new?judge=${e}${a?`&tab=${a}`:""}`))},contests:{list:({tab:e})=>oe(t,le("/contests"+(e?`?tab=${e}`:""))),view:({key:e,tab:a=s.OVERVIEW,subTab:o})=>oe(t,le(`/contests/${e}${a?`?tab=${a}`:""}${o?`${a?"&":"?"}subTab=${o}`:""}`)),edit:({key:e,tab:a=s.OVERVIEW})=>oe(t,le(`/contests/${e}/edit${a?`?tab=${a}`:""}`)),new:({tab:e}={tab:void 0})=>oe(t,le("/contests/new"+(e?`?tab=${e}`:"")))},submissions:{view:({id:e})=>oe(t,le(`/submissions/${e}`))},boards:{page:()=>oe(t,le("/boards"))},ide:{page:()=>oe(t,le("/ide"))}}}COACH(e){const t=e??"";return{home:()=>le("/"),worksheets:{list:()=>oe(t,le("/worksheets")),view:({key:e,page:a=1})=>oe(t,le(`/worksheets/${e}${a?`?page=${a}`:""}`)),edit:({key:e,tab:a,from:o})=>oe(t,le(`/worksheets/${e}/edit?tab=${a}${o?`&from=${o}`:""}`)),new:({tab:e})=>oe(t,le(`/worksheets/new?tab=${e}`))},classes:{list:()=>oe(t,le("/classes")),view:({key:e})=>oe(t,le(`/classes/${e}`)),cycleView:({key:e,cycleId:a})=>oe(t,le(`/classes/${e}/cycle/${a}`)),edit:({key:e})=>oe(t,le(`/classes/${e}/edit`)),new:()=>oe(t,le("/classes/new"))},courses:{list:()=>oe(t,le("/courses")),view:({key:e})=>oe(t,le(`/courses/${e}`)),lessonView:({key:e,lessonIndex:a,page:o=1})=>oe(t,le(`/courses/${e}/lessons/${a}${o?`?page=${o}`:""}`)),edit:({key:e})=>oe(t,le(`/courses/${e}/edit`)),new:()=>oe(t,le("/courses/new"))},profiles:{view:({nickname:e,tab:a=m.OVERVIEW})=>oe(t,le(`/profiles/${e}${a?`?tab=${a}`:""}`))}}}};export{W as A,ie as B,S as C,M as D,I as E,F,H as G,k as H,T as P,O as S,x as a,$ as b,c,B as d,re as e,p as f,u as g,d as h,A as i,D as j,U as k,L as l,G as m,C as n,w as o,J as p,v as q,z as r,j as s,Y as t,R as u,V as v,K as w,se as x,ne as y,X as z};
1
+ import{C as e,N as t,J as a}from"./settings-DgLs6IK_.js";import{isValidElement as o,Children as r,cloneElement as i}from"react";import{QueryParamKey as l,ContestTab as s,ProblemTab as n,ProfileTab as m}from"./enums.js";const c={POST:"POST",GET:"GET",PUT:"PUT",PATCH:"PATCH",DELETE:"DELETE"},d=(...e)=>{console.warn((new Date).toLocaleString(),...e)},u=(...e)=>{console.info((new Date).toLocaleString(),...e)},p=(...e)=>{console.error((new Date).toLocaleString(),...e)},y="javac 17.0.15",g="v20.19.2",h="Python 3.11.2",b="Python 3.9.16 (7.3.11+dfsg-2+deb12u3, Dec 30 2024, 22:36:23)\n[PyPy 7.3.11 with GCC 12.2.0]",f={mime:"text/x-csrc",mainFilename:"main.c",fileExtension:["c"],hasBuildFile:!0,executable:"gcc",executableVersion:"gcc (Debian 12.2.0-14+deb12u1) 12.2.0\nCopyright (C) 2022 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.",templateSourceCode:'#include <stdio.h>\n \nint main(void) {\n \n printf("Hello World\\n");\n \n return 0;\n}',monacoKey:"c",codeMirrorKey:"c",highlightJsKey:"c"},P={mime:"text/x-c++src",mainFilename:"main.cpp",fileExtension:["cpp","c++","cxx","cc"],hasBuildFile:!0,executable:"g++",executableVersion:"g++ (Debian 12.2.0-14+deb12u1) 12.2.0\nCopyright (C) 2022 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.",templateSourceCode:'#include <iostream>\n\nusing namespace std;\n\nint main() {\n \n cout << "Hello World" << endl;\n \n return 0;\n}',monacoKey:"cpp",codeMirrorKey:"cpp",highlightJsKey:"cpp"},_={mime:"text/x-python",mainFilename:"main.py",fileExtension:["py"],hasBuildFile:!1,templateSourceCode:'print("Hello World\\n")',monacoKey:"python",codeMirrorKey:"python",highlightJsKey:"python"},S={[e.C_11]:{value:e.C_11,label:"C 11",compilePattern:"/usr/bin/jk-c11 -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -fno-asm -lm -s -O2 -std=gnu11 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...f},[e.CPP_11]:{value:e.CPP_11,label:"C++ 11",compilePattern:"/usr/bin/jk-cpp11 -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=gnu++11 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP_20]:{value:e.CPP_20,label:"C++ 20",compilePattern:"/usr/bin/jk-cpp20 -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=gnu++20 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.JAVA_21]:{value:e.JAVA_21,label:"Java 21",mime:"text/x-java",mainFilename:"Main.java",fileExtension:["java"],compilePattern:"/usr/bin/jk-javac -cp '.;*' {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-java -Xmx512M -Xss64M -DONLINE_JUDGE=true -Duser.language=en -Duser.region=US -Duser.variant=US -cp {{folder_path}} {{class_name}}",templateSourceCode:'class Main {\n public static void main (String[] args) {\n \n System.out.println("Hello World");\n \n }\n}',hasBuildFile:!0,executable:"java",executableVersion:y,monacoKey:"java",codeMirrorKey:"java",highlightJsKey:"java"},[e.PYTHON_2]:{value:e.PYTHON_2,label:"Python 2 *",compilePattern:"/usr/bin/jk-python2 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-python2 {{folder_path}}/{{source_full_file_name}}",executable:"python2",executableVersion:b,..._},[e.PYTHON_3]:{value:e.PYTHON_3,label:"Python 3",compilePattern:"/usr/bin/jk-python3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-python3 {{folder_path}}/{{source_full_file_name}}",executable:"python3",executableVersion:b,..._},[e.PYTHON_PYPY_2]:{value:e.PYTHON_PYPY_2,label:"PyPy 2 *",compilePattern:"/usr/bin/jk-pypy2 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-pypy2 {{folder_path}}/{{source_full_file_name}}",executable:"pypy2",executableVersion:b,..._},[e.PYTHON_PYPY_3]:{value:e.PYTHON_PYPY_3,label:"PyPy 3",compilePattern:"/usr/bin/jk-pypy3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/jk-pypy3 {{folder_path}}/{{source_full_file_name}}",executable:"pypy3",executableVersion:b,..._},[e.JAVASCRIPT_NODE_JS_22]:{value:e.JAVASCRIPT_NODE_JS_22,label:"Javascript Node.js 22",mime:"application/x-javascript",mainFilename:"main.js",fileExtension:["js"],compilePattern:"",runPattern:"/usr/bin/jk-node22 {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"javascript",codeMirrorKey:"javascript",highlightJsKey:"javascript"},[e.ICPC_C]:{value:e.ICPC_C,label:"ICPC C *",compilePattern:"gcc -x c -g -O2 -std=gnu11 -static -lm -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...f},[e.C]:{value:e.C,label:"C *",compilePattern:"gcc -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -fno-asm -lm -s -O2 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...f},[e.ICPC_CPP]:{value:e.ICPC_CPP,label:"ICPC C++ *",compilePattern:"g++ -x c++ -static -g -O2 -std=gnu++20 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP]:{value:e.CPP,label:"C++ *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP11]:{value:e.CPP11,label:"C++ 11 *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=c++11 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP14]:{value:e.CPP14,label:"C++ 14 *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=c++14 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.CPP17]:{value:e.CPP17,label:"C++ 17 *",compilePattern:"g++ -x c++ -static -DONLINE_JUDGE -lm -s -O2 -std=c++17 -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}",runPattern:"{{folder_path}}/{{compiled_file_name}}",...P},[e.JAVA]:{value:e.JAVA,label:"Java *",mime:"text/x-java",mainFilename:"Main.java",fileExtension:["java"],compilePattern:"javac -cp '.;*' {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xmx512M -Xss64M -DONLINE_JUDGE=true -Duser.language=en -Duser.region=US -Duser.variant=US -cp {{folder_path}} {{class_name}}",templateSourceCode:'class Main {\n public static void main (String[] args) {\n \n System.out.println("Hello World");\n \n }\n}',hasBuildFile:!0,executable:"javac",executableVersion:y,monacoKey:"java",codeMirrorKey:"java",highlightJsKey:"java"},[e.ICPC_PYTHON]:{value:e.ICPC_PYTHON,label:"ICPC Python *",compilePattern:"pypy3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/pypy3 {{folder_path}}/{{source_full_file_name}}",executable:"pypy3",executableVersion:b,..._},[e.PYTHON]:{value:e.PYTHON,label:"Python *",compilePattern:"python3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/python3 {{folder_path}}/{{source_full_file_name}}",executable:"python3",executableVersion:h,..._},[e.PYTHON2]:{value:e.PYTHON2,label:"Python 2 *",compilePattern:"python2 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/python2 {{folder_path}}/{{source_full_file_name}}",executable:"python",executableVersion:"Python 2.7.18",..._},[e.PYTHON3]:{value:e.PYTHON3,label:"Python 3 *",compilePattern:"python3 -m py_compile {{folder_path}}/{{source_full_file_name}}",runPattern:"/usr/bin/python3 {{folder_path}}/{{source_full_file_name}}",executable:"python3",executableVersion:h,..._},[e.JAVASCRIPT]:{value:e.JAVASCRIPT,label:"Javascript *",mime:"application/x-javascript",mainFilename:"main.js",fileExtension:["js"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"javascript",codeMirrorKey:"javascript",highlightJsKey:"javascript"},[e.TYPESCRIPT]:{value:e.TYPESCRIPT,label:"Typescript *",mime:"application/x-typescript",mainFilename:"main.ts",fileExtension:["ts"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"typescript",codeMirrorKey:"typescript",highlightJsKey:"typescript"},[e.TSX]:{value:e.TSX,label:"TSX *",mime:"application/x-typescript",mainFilename:"main.tsx",fileExtension:["tsx"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"typescript",codeMirrorKey:"typescript",highlightJsKey:"typescript"},[e.JSX]:{value:e.JSX,label:"JSX *",mime:"application/x-javascript",mainFilename:"main.jsx",fileExtension:["jsx"],compilePattern:"",runPattern:"/usr/bin/node {{folder_path}}/{{source_full_file_name}}",templateSourceCode:'console.log("Hello World\\n")',hasBuildFile:!1,executable:"node",executableVersion:g,monacoKey:"javascript",codeMirrorKey:"javascript",highlightJsKey:"javascript"},[e.PSEUDOCODE_PSEINT]:{value:e.PSEUDOCODE_PSEINT,label:"Pseudo-código (PSeInt)",mime:"text/plain",mainFilename:"main.psc",fileExtension:["psc"],compilePattern:"jk-pseint {{folder_path}}/{{source_full_file_name}} --norun --nouser && jk-pseint {{folder_path}}/{{source_full_file_name}} --draw {{folder_path}}/{{source_full_file_name}}.psd && jk-psexport {{folder_path}}/{{source_full_file_name}}.psd {{folder_path}}/{{source_full_file_name}}.cpp --lang=cpp && g++ -x c++ -g -O2 -std=gnu++20 -static -o {{folder_path}}/{{compiled_file_name}} {{folder_path}}/{{source_full_file_name}}.cpp",runPattern:"{{folder_path}}/{{compiled_file_name}}",templateSourceCode:'Algoritmo HOLA_MUNDO\n\tImprimir "Hello World"\nFinAlgoritmo\n',hasBuildFile:!1,executable:"",executableVersion:"PSeInt 20230904-l64-wx3\nhttp://pseint.sourceforge.net\nby Pablo Novara (zaskar_84@yahoo.com.ar)\npsExport 20230904-l64-wx3\nhttp://pseint.sourceforge.net\nby Pablo Novara (zaskar_84@yahoo.com.ar)",monacoKey:"text",codeMirrorKey:"pseudocode-pseint",highlightJsKey:"plaintext"},[e.DOT]:{value:e.DOT,label:"DOT",mime:"text/vnd.graphviz",mainFilename:"diagram.dot",fileExtension:["dot"],compilePattern:"",runPattern:"",templateSourceCode:"digraph G {\n A -> B;\n B -> C;\n}",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"dot",codeMirrorKey:"dot",highlightJsKey:"plaintext"},[e.MERMAID]:{value:e.MERMAID,label:"Mermaid",mime:"text/mermaid",mainFilename:"diagram.mmd",fileExtension:["mmd","mermaid"],compilePattern:"",runPattern:"",templateSourceCode:"graph TD\n A[Start] --\x3e B{Is it working?}\n B -- Yes --\x3e C[Great!]\n B -- No --\x3e D[Fix it]\n D --\x3e B\n",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"mermaid",codeMirrorKey:"mermaid",highlightJsKey:"plaintext"},[e.JSON]:{value:e.JSON,label:"JSON",mime:"application/json",mainFilename:"main.json",fileExtension:["json"],compilePattern:"",runPattern:"",templateSourceCode:"{\n \n}",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"json",codeMirrorKey:"javascript",highlightJsKey:"json"},[e.TEXT]:{value:e.TEXT,label:"plain text",mime:"text/plain",mainFilename:"main.txt",fileExtension:["txt","text","in","out"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"text",codeMirrorKey:"text",highlightJsKey:"plaintext"},[e.DIFF]:{value:e.DIFF,label:"diff",mime:"text/plain",mainFilename:"main.patch",fileExtension:["diff","patch"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"diff",codeMirrorKey:"diff",highlightJsKey:"diff"},[e.LATEX]:{value:e.LATEX,label:"LaTeX",mime:"application/x-latex",mainFilename:"main.tex",fileExtension:["tex"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"latex",codeMirrorKey:"stex",highlightJsKey:"latex"},[e.MARKDOWN]:{value:e.MARKDOWN,label:"Markdown",mime:"text/plain",mainFilename:"main.md",fileExtension:["md"],compilePattern:"",runPattern:"",templateSourceCode:"# Hello World\n",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"markdown",codeMirrorKey:"markdown",highlightJsKey:"markdown"},[e.MDX]:{value:e.MDX,label:"MDX",mime:"text/plain",mainFilename:"main.mdx",fileExtension:["mdx"],compilePattern:"",runPattern:"",templateSourceCode:"# Hello World\n",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"markdown",codeMirrorKey:"markdown",highlightJsKey:"markdown"},[e.ARDUINO]:{value:e.ARDUINO,label:"Arduino",mime:"text/plain",mainFilename:"main.c",fileExtension:["c","cpp","pde","h","ino"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"c",codeMirrorKey:"c",highlightJsKey:"c"},[e.HTML]:{value:e.HTML,label:"HTML",mime:"text/HTML",mainFilename:"index.html",fileExtension:["html"],compilePattern:"",runPattern:"",templateSourceCode:"",hasBuildFile:!1,executable:"",executableVersion:"",monacoKey:"html",codeMirrorKey:"html",highlightJsKey:"xml"},[e.BASH]:{value:e.BASH,label:"Bash",mime:"text/plain",mainFilename:"main.sh",fileExtension:["sh","bash"],compilePattern:"",runPattern:"",templateSourceCode:'#!/bin/bash\necho "Hello World"\n',hasBuildFile:!1,executable:"bash",executableVersion:"",monacoKey:"shell",codeMirrorKey:"shell",highlightJsKey:"bash"}},T={vivos:[{color:"#FF0000",title:"Rojo"},{color:"#FF5900",title:"Rojo - Naranja"},{color:"#FF8600",title:"Naranja"},{color:"#FFBF00",title:"Ámbar"},{color:"#FFFF00",title:"Amarillo"},{color:"#A6FF00",title:"Lima o Verde limon"},{color:"#00FF8C",title:"Verde puro"},{color:"#00FF8C",title:"Verde cian"},{color:"#00FFFF",title:"Cian"},{color:"#0099FF",title:"Cerúleo o Azur"},{color:"#0000FF",title:"Azul"},{color:"#9F00FF",title:"Violeta"},{color:"#FF00FF",title:"Magenta"},{color:"#FF0099",title:"Fucsia"}],oscuros:[{color:"#880000",title:"Granate"},{color:"#882F00",title:"Caoba o Rojo indio"},{color:"#884700",title:"Marrón o Pardo"},{color:"#886600",title:"Marrón dorado"},{color:"#888800",title:"Oliva"},{color:"#588800",title:"Verde palta"},{color:"#008800",title:"Verde estándar"},{color:"#008858",title:"Esmeralda"},{color:"#008888",title:"Cerceta o Azul verde"},{color:"#005288",title:"Añil"},{color:"#000080",title:"Azul marino"},{color:"#880088",title:"Azul púrpura"},{color:"#880088",title:"Púrpura o Morado"},{color:"#880047",title:"Vino"}],agrisados:[{color:"#BF4040",title:"Lacre"},{color:"#BF6340",title:"Cobre"},{color:"#BF8340",title:"Cnalea o Ocre"},{color:"#BF9F40",title:"Dorado"},{color:"#BFBF40",title:"Chartreuse"},{color:"#93BF40",title:"Verde manzana"},{color:"#93BF40",title:"Verde bosque"},{color:"#40BF40",title:"Verde mar"},{color:"#40BFBF",title:"Turquesa"},{color:"#408CBF",title:"Azul acero"},{color:"#4040BF",title:"Zafiro"},{color:"#9340BF",title:"Amastista"},{color:"#B140BF",title:"Púrpureo"},{color:"#B140BF",title:"Fandango"}],claros:[{color:"#FF7777",title:"Coral"},{color:"#FF9977",title:"Salmón"},{color:"#FFB977",title:"Melón o Durazno"},{color:"#FFDA80",title:"Crema"},{color:"#FFFF88",title:"Maíz"},{color:"#CFFF77",title:"Té verde"},{color:"#77FF77",title:"Verde claro"},{color:"#77FFAA",title:"Menta"},{color:"#80FFFF",title:"Aguamarina"},{color:"#73C7FF",title:"Celeste"},{color:"#8082FF",title:"Bígaro o aciano"},{color:"#C977FF",title:"Lavanda o lila"},{color:"#FF77FF",title:"Malva"},{color:"#FF77C1",title:"Rosado"}]},O="",$="x-juki-forwarded-host",k="x-juki-visitor-session-id",x="x-juki-metadata",E=e=>{const t=new ArrayBuffer(e.length),a=new Uint8Array(t);for(let t=0;t<e.length;t++)a[t]=255&e.charCodeAt(t);return t},K=e=>e.join(""),F=e=>e.split(""),v=(e,t)=>`${e}|${t}`,C=(e,t)=>`${e}|${t}`,w=e=>{const[t,a]=e.split("|");return{sessionId:t,uiId:a}};let N=null;const z=async()=>(N||(u("loading XLSX..."),N=await import("./xlsx-XBWnafwQ.js")),N),J=e=>{if(!e)return"";if("string"==typeof e||"number"==typeof e)return`${e}`;if(Array.isArray(e))return e.map(J).join("");if(o(e)&&e.props.children){const t=e.props.children;return Array.isArray(t)?t.map(J).join(""):J(t)}return""};function j(){return"undefined"!=typeof window}const U=(e,t)=>{if("undefined"!=typeof document&&j()){const a=document.createElement("a");a.style.display="none",a.setAttribute("href",e),a.setAttribute("download",t),a.setAttribute("target","_blank"),document.body.appendChild(a),a.click(),document.body.removeChild(a),setTimeout(()=>{j()&&window.URL.revokeObjectURL(e)},100)}};function A(e,t="file"){if(j()){const a=new Blob([e],{type:e.type||"application/octet-stream"}),o=window.URL.createObjectURL(a);U(o,t)}}async function G(e,t){if("undefined"!=typeof document){const a=await fetch(e);if(!a.ok)throw new Error(`HTTP error! Status: ${a.status}`);const o=await a.blob(),r=URL.createObjectURL(o),i=document.createElement("a");i.href=r,i.download=t,i.dispatchEvent(new MouseEvent("click")),URL.revokeObjectURL(r)}}const D=(e,t="file.csv")=>{A(new Blob([e.map(e=>e.join(",")).join("\n")],{type:"text/csv"}),t)},I=async(e,t="file.xlsx")=>{const{utils:a}=await z(),o=a.book_new();o.Props={Title:t,Subject:t,Author:"Juki",CreatedDate:new Date};for(const{name:t,autofilter:r,cols:i,rows:l,styles:s}of e){const e={s:{c:1e7,r:1e7},e:{c:0,r:0}};o.SheetNames.push(t);const n={};o.Sheets[t]=n;const m=[];n["!rows"]=m;for(const[t,o]of Object.entries(l)){const r=+t;o.height&&(m[r]={hpx:o.height});for(const[t,i]of Object.entries(o.cells)){const o=+t;e.s.r>r&&(e.s.r=r),e.s.c>o&&(e.s.c=o),e.e.r<r&&(e.e.r=r),e.e.c<o&&(e.e.c=o);const l={v:i.text,t:"s"};if(null==l.v)continue;const m=a.encode_cell({c:o,r:r});"number"==typeof l.v?l.t="n":"boolean"==typeof l.v?l.t="b":(l.v,Date),l.s={},"string"==typeof l.v&&l.v.includes("\n")&&(l.s.alignment={wrapText:!0});const c="number"==typeof i.style?s?.[i.style]:void 0;if(c){const{bgcolor:e,color:t,font:a,align:o,valign:r}=c;"string"==typeof e&&(l.s.fill={fgColor:{rgb:e.replace("#","")}}),"string"==typeof t&&(l.s.font||(l.s.font={}),l.s.font.color={rgb:t.replace("#","")}),a?.bold&&(l.s.font||(l.s.font={}),l.s.font.bold=!0),"string"==typeof o&&(l.s.alignment||(l.s.alignment={}),l.s.alignment.horizontal=o),"string"==typeof r&&(l.s.alignment||(l.s.alignment={}),l.s.alignment.vertical=r)}n[m]=l}}e.s.c<1e7&&(n["!ref"]=a.encode_range(e)),r?.ref&&(n["!autofilter"]={ref:r?.ref});const c=n["!cols"]??[];n["!cols"]=c;for(const[e,t]of Object.entries(i||{})){const a=+e,o=c[a]??{};c[a]=o,t.width&&(o.wpx=t.width)}}return o},L=async(e,t="file.xlsx")=>{const a=await I(e,t),{write:o}=await z(),r=o(a,{bookType:"xlsx",type:"binary"});A(new Blob([E(r)],{type:"application/octet-stream"}),t)},M=(e,t)=>"function"==typeof e?e(t):r.map(e,e=>e&&o(e)?i(e,t):e),B=(e,t,a,o,r,i,l,s,n,m,c,d,u,p,y)=>{let g="";for(const h of[e,t,a,o,r,i,l,s,n,m,c,d,u,p,y])if(h)if("string"==typeof h)g+=(g?" ":"")+h;else for(const e in h)h[e]&&(g+=(g?" ":"")+e);return g},V=(e,t)=>e===t||Array.isArray(e)&&e.includes(t);function H(e){return new Promise(t=>{e.toBlob(t)})}const R=e=>(e.current?.scrollWidth??0)>(e.current?.clientWidth??0);function Y(){return"production"!==t}const W=e=>{if(j()){const t=window.open(e,"_blank","noopener,noreferrer");t&&(t.opener=null)}},X=e=>e.trim().replace(/\/+/g,"/").replace(/^\/+/,"").replace(/\/+$/,""),q=e=>e.includes("?")?e:`${e}?`,Q=e=>"?"!==e[e.length-1]?`${e}&`:e,Z=(e,t,a)=>`${Q(q(e))}page=${t}&pageSize=${a}`,ee=(e,t)=>t?Q(q(e))+t:e,te=(e,t)=>t?Q(q(e))+t:e,ae=(e,t)=>t?`${Q(q(e))}organizationKey=${t}`:e;const oe=(e,t)=>`${e||""}${t}`,re=e=>new URLSearchParams(e.toString()),ie=e=>{const t=re(e);let a=new URLSearchParams;j()&&(a=new URLSearchParams(window.location.search));const o=a.get(l.TOKEN);o&&t.set(l.TOKEN,o);const r=a.get(l.COMPANY);r&&t.set(l.COMPANY,r);const i=a.get(l.SUBMISSION);i&&t.set(l.SUBMISSION,i);const s=a.get(l.SIGN_IN);s&&t.set(l.SIGN_IN,s);const n=a.get(l.SIGN_UP);return n&&t.set(l.SIGN_UP,n),t.toString()},le=e=>{const t=new URL(`https://juki.app${e}`),a=ie(t.searchParams);return a?`${t.pathname}?${a}`:t.pathname};const se=new class{get apiV2(){const e=(e,t)=>`${a}/${e}${t}`,t=e=>a?e:()=>({url:"",method:c.GET});return{auth:{ping:t(()=>({url:e("auth","/ping"),method:c.GET})),signIn:t(({params:{organizationKey:t}={},body:a})=>({url:ae(e("auth","/sign-in"),t),method:c.POST,body:JSON.stringify(a)})),signUp:t(({body:t})=>({url:e("auth","/sign-up"),method:c.POST,body:JSON.stringify(t)})),createUser:t(({params:{organizationKey:t}={},body:a})=>({url:ae(e("auth","/sign-up"),t),method:c.POST,body:JSON.stringify({...a,isGenerated:!0})})),signOut:t(()=>({url:e("auth","/sign-out"),method:c.POST})),initiateResetPassword:t(({body:t})=>({url:e("auth","/initiate-reset-password"),method:c.POST,body:JSON.stringify(t)})),updatePassword:t(({params:{organizationKey:t,nickname:a},body:o})=>({url:e("auth",`/user-key/${v(a,t)}/update-password`),method:c.POST,body:JSON.stringify(o)})),resetPassword:t(({params:{organizationKey:t,nickname:a}})=>({url:e("auth",`/user-key/${v(a,t)}/reset-password`),method:c.POST})),createSession:t(({params:{organizationKey:t}={},body:a})=>({url:ae(e("auth","/create-session"),t),method:c.POST,body:JSON.stringify(a)}))},log:{error:t(({body:t})=>({url:e("log","/error"),method:c.POST,body:JSON.stringify(t)})),info:t(({body:t})=>({url:e("log","/info"),method:c.POST,body:JSON.stringify(t)}))},user:{getSummaryList:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("user","/summary-list"),t),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("user","/system-list"),t,a),o),r),method:c.GET})),getSummary:t(({params:{nickname:t,organizationKey:a}})=>({url:e("user",`/user-key/${v(t,a)}/summary`),method:c.GET})),getProfile:t(({params:{nickname:t,organizationKey:a}})=>({url:e("user",`/user-key/${v(t,a)}/profile`),method:c.GET})),getLogs:t(({params:{nickname:t,organizationKey:a}})=>({url:e("user",`/user-key/${v(t,a)}/logs`),method:c.GET})),getMySessions:t(()=>({url:e("user","/my-sessions"),method:c.GET})),getAllOnlineUsers:t(({params:{filterUrl:t,sortUrl:a}})=>({url:ee(te(e("user","/all-online-users"),t),a),method:c.GET})),getOnlineUsers:t(({params:{filterUrl:t,sortUrl:a}})=>({url:ee(te(e("user","/online-users"),t),a),method:c.GET})),deleteOldSessions:t(()=>({url:e("user","/delete-old-sessions"),method:c.POST})),updateProfileData:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/profile-data`),method:c.PUT,body:JSON.stringify(o)})),updateProfileImage:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/profile-image`),method:c.PUT,body:JSON.stringify(o)})),updateMyPreferences:t(({body:t})=>({url:e("user","/preferences"),method:c.PUT,body:JSON.stringify(t)})),updateRoles:t(({params:{nickname:t,organizationKey:a},body:o})=>({url:e("user",`/user-key/${v(t,a)}/roles`),method:c.PUT,body:JSON.stringify(o)})),deleteSession:t(({params:{sessionId:t}})=>({url:e("user",`/session/${t}`),method:c.DELETE})),checkData:t(({params:{organizationKey:t},body:a})=>({url:ae(e("user","/check-data"),t),method:c.POST,body:JSON.stringify(a)})),clientTrack:t(({body:t})=>({url:e("user","/client-track"),method:c.POST,body:JSON.stringify(t)}))},problem:{create:t(()=>({url:e("problem",""),method:c.POST})),update:t(({params:{key:t}})=>({url:e("problem",`/${t}`),method:c.PUT})),delete:t(({params:{key:t}})=>({url:e("problem",`/${t}`),method:c.DELETE})),getMetadata:t(({params:{key:t}})=>({url:e("problem",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("problem",`/${t}/data`),method:c.GET})),getSummary:t(({params:{key:t}})=>({url:e("problem",`/${t}/summary`),method:c.GET})),getLogs:t(({params:{key:t}})=>({url:e("problem",`/${t}/logs`),method:c.GET})),getBasicSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("problem","/basic-summary-list"),t,a),o),r),method:c.GET})),getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("problem","/summary-list"),t,a),o),r),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("problem","/system-list"),t,a),o),r),method:c.GET})),getTestCases:t(({params:{key:t}})=>({url:e("problem",`/${t}/test-cases`),method:c.GET})),getTestCasesGroups:t(({params:{key:t}})=>({url:e("problem",`/${t}/test-cases-groups`),method:c.GET})),getAllTestCases:t(({params:{key:t}})=>({url:e("problem",`/${t}/all-test-cases`),method:c.GET})),createTestCase:t(({params:{key:t},body:a})=>({url:e("problem",`/${t}/test-case`),method:c.POST,body:JSON.stringify(a)})),getTestCaseKeyFile:t(({params:{key:t,testCaseKey:a,keyFile:o}})=>({url:e("problem",`/${t}/test-case/${a}/key-file/${o}`),method:c.GET})),deleteTestCaseKeyFile:t(({params:{key:t,testCaseKey:a,keyFile:o}})=>({url:e("problem",`/${t}/test-case/${a}/key-file/${o}`),method:c.DELETE})),submit:t(({params:{key:t},body:a})=>({url:e("problem",`/${t}/submit`),method:c.POST,body:JSON.stringify(a)})),crawl:t(({body:t})=>({url:e("problem","/crawl"),method:c.POST,body:JSON.stringify(t)})),createStatementPdf:t(({body:t})=>({url:e("problem","/statement-pdf"),method:c.POST,body:JSON.stringify(t)}))},contest:{create:t(()=>({url:e("contest",""),method:c.POST})),update:t(({params:{key:t}})=>({url:e("contest",`/${t}`),method:c.PUT})),delete:t(({params:{key:t}})=>({url:e("contest",`/${t}`),method:c.DELETE})),getMetadata:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/metadata`),a),method:c.GET})),getData:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data`),a),method:c.GET})),getDataEvents:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data/events`),a),method:c.GET})),getDataMembers:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data/members`),a),method:c.GET})),getMembers:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/members`),a),method:c.GET})),getDataClarifications:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/data/clarifications`),a),method:c.GET})),getScoreboard:t(({params:{key:t,unfrozen:a,organizationKey:o,official:r}})=>({url:ae(e("contest",`/${t}/scoreboard${r?"?official=true":""}${a?(r?"&":"?")+"state=unfrozen":""}`),o),method:c.GET})),getScoreboardHistory:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/scoreboard-history`),a),method:c.GET})),getLogs:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/logs`),a),method:c.GET})),getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("contest","/summary-list"),t,a),o),r),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("contest","/system-list"),t,a),o),r),method:c.GET})),register:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/register`),a),method:c.POST})),submit:t(({params:{key:t,problemKey:a,organizationKey:o},body:r})=>({url:ae(e("contest",`/${t}/problem/${a}/submit`),o),method:c.POST,body:JSON.stringify(r)})),retrieve:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/retrieve`),a),method:c.POST})),recalculateScoreboard:t(({params:{key:t,organizationKey:a,official:o}})=>({url:ae(e("contest",`/${t}/recalculate-scoreboard${o?"?official=true":""}`),a),method:c.POST})),recalculateScoreboardHistory:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/recalculate-scoreboard-history`),a),method:c.POST})),recalculatePrerequisites:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/recalculate-prerequisites`),a),method:c.POST})),lockScoreboard:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/lock-scoreboard`),a),method:c.POST})),unlockScoreboard:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/unlock-scoreboard`),a),method:c.POST})),enableUpsolving:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/enable-upsolving`),a),method:c.POST})),disableUpsolving:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/disable-upsolving`),a),method:c.POST})),createClarification:t(({params:{key:t,organizationKey:a},body:o})=>({url:ae(e("contest",`/${t}/clarification`),a),method:c.POST,body:JSON.stringify(o)})),answerClarification:t(({params:{key:t,clarificationId:a,organizationKey:o},body:r})=>({url:ae(e("contest",`/${t}/clarification/${a}`),o),method:c.PUT,body:JSON.stringify(r)})),editGlobal:t(({params:{key:t,organizationKey:a},body:o})=>({url:ae(e("contest",`/${t}/global`),a),method:c.PUT,body:JSON.stringify(o)})),createGlobal:t(({params:{organizationKey:t},body:a})=>({url:ae(e("contest","/global"),t),method:c.POST,body:JSON.stringify(a)})),unlinkSubmissions:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("contest",`/${t}/unlink-submissions`),a),method:c.POST})),problem:{rejudge:t(({params:{key:t,problemKey:a,organizationKey:o}})=>({url:ae(e("contest",`/${t}/problem/${a}/rejudge`),o),method:c.POST})),retrieve:t(({params:{key:t,problemKey:a,organizationKey:o}})=>({url:ae(e("contest",`/${t}/problem/${a}/retrieve`),o),method:c.POST}))}},submission:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("submission","/summary-list"),t,a),o),r),method:c.GET})),getSystemList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("submission","/system-list"),t,a),o),r),method:c.GET})),getExportSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r,withSourceCodes:i}})=>({url:ee(te(Z(e("submission","/summary-list-export"+(i?"?withSourceCodes=true":"")),t,a),o),r),method:c.GET})),getData:t(({params:{id:t}})=>({url:e("submission",`/${t}/data`),method:c.GET})),getLogs:t(({params:{id:t}})=>({url:e("submission",`/${t}/logs`),method:c.GET})),rejudge:t(({params:{id:t}})=>({url:e("submission",`/${t}/rejudge`),method:c.POST})),retrieve:t(({params:{id:t}})=>({url:e("submission",`/${t}/retrieve`),method:c.POST})),judge:t(({params:{id:t},body:a})=>({url:e("submission",`/${t}/judge`),method:c.POST,body:JSON.stringify(a)})),archive:t(({params:{id:t}})=>({url:e("submission",`/${t}/archive`),method:c.POST})),release:t(({params:{id:t}})=>({url:e("submission",`/${t}/release`),method:c.POST}))},image:{getPublicList:t(()=>({url:e("image","/public-list"),method:c.GET})),publish:t(({body:t})=>({url:e("image","/publish"),method:c.POST,body:JSON.stringify(t)}))},file:{publish:t(({body:t})=>({url:e("file","/publish"),method:c.POST,body:JSON.stringify(t)}))},note:{publish:t(({body:t})=>({url:e("note","/publish"),method:c.POST,headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})),getPdf:t(({params:{sourceUrl:t}})=>({url:e("note",`/pdf?sourceUrl=${t}`),method:c.GET})),createPdf:t(({body:t})=>({url:e("note","/pdf"),method:c.POST,body:JSON.stringify(t)}))},code:{run:t(({body:t})=>({url:e("code","/run"),method:c.POST,body:JSON.stringify(t)}))},ia:{chatCompletions:t(({body:t})=>({url:e("ia","/chat/completions"),method:c.POST,body:JSON.stringify(t)}))},organization:{get:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization",""),t),method:c.GET})),getPermissionList:t(()=>({url:e("organization","/permission-list"),method:c.GET})),getJudgeList:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/judge-list"),t),method:c.GET})),getTrustedCompaniesList:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/trusted-organizations-list"),t),method:c.GET})),getResourceSpecifications:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/resource-specifications"),t),method:c.GET})),getEmailData:t(({params:{organizationKey:t}={organizationKey:""}}={})=>({url:ae(e("organization","/email-data"),t),method:c.GET})),updateImage:t(({params:{organizationKey:t}={organizationKey:""},body:a})=>({url:ae(e("organization","/image"),t),method:c.PUT,body:JSON.stringify(a)})),updateData:t(({params:{organizationKey:t}={organizationKey:""},body:a})=>({url:ae(e("organization",""),t),method:c.PATCH,body:JSON.stringify(a)})),updateSensitiveData:t(({params:{organizationKey:t}={organizationKey:""},body:a})=>({url:ae(e("organization","/sensitive-data"),t),method:c.PATCH,body:JSON.stringify(a)}))},locale:{get:t(({params:{locale:t,namespace:a}})=>({url:e("locale",`/${t}/${a}`),method:c.GET}))},judge:{getData:t(({params:{key:t}})=>({url:e("judge",`/${t}/data`),method:c.GET})),getSummaryList:t(({params:{filterUrl:t,sortUrl:a}={filterUrl:"",sortUrl:""}}={})=>({url:ee(te(e("judge","/summary-list"),t),a),method:c.GET})),getSystemList:t(({params:{filterUrl:t,sortUrl:a}={filterUrl:"",sortUrl:""}}={})=>({url:ee(te(e("judge","/system-list"),t),a),method:c.GET})),crawlLanguages:t(({params:{key:t}})=>({url:e("judge",`/${t}/crawl-languages`),method:c.POST})),patch:t(({params:{key:t},body:{languages:a,name:o,problemTags:r,isExternal:i,isSubmitSupported:l,url:s,logo:n,logoSize:m}})=>{const d={};return a&&(d.languages=a),"string"==typeof o&&(d.name=o),r&&(d.problemTags=r),"boolean"==typeof i&&(d.isExternal=i),"boolean"==typeof l&&(d.isSubmitSupported=l),"string"==typeof s&&(d.url=s),"string"==typeof n&&(d.logo=n),m&&(d.logoSize=m),{url:e("judge",`/${t}`),method:c.PATCH,body:JSON.stringify(d)}})},worksheet:{getData:t(({params:{key:t,organizationKey:a}})=>({url:ae(e("worksheet",`/${t}/data`),a),method:c.GET})),update:t(({params:{key:t},body:a})=>({url:e("worksheet",`/${t}`),method:c.PUT,body:JSON.stringify(a)})),getList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("worksheet","/list"),t,a),o),r),method:c.GET})),getSubmissionsUser:t(({params:{key:t,userKey:a,secondaryKey:o}})=>({url:e("worksheet",`/${t}/submissions/user/${a}${o?`?secondaryKey=${o}`:""}`),method:c.GET})),submitJkMd:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/jk-md${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)})),submitCodeEditor:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/code-editor${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)})),submitQuizProblem:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/quiz-problem${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)})),submitQuizOptions:t(({params:{worksheetKey:t,secondaryKey:a},body:o})=>({url:e("worksheet",`/${t}/submit/quiz-options${a?`?secondaryKey=${a}`:""}`),method:c.POST,body:JSON.stringify(o)}))},system:{services:{checkAndStart:t(()=>({url:e("sys","/services/check-and-start"),method:c.POST})),check:t(()=>({url:e("sys","/services/check"),method:c.POST})),clean:t(()=>({url:e("sys","/services/clean"),method:c.POST}))}},comment:{get:t(({params:{key:t}})=>({url:e("comment",`/${t}`),method:c.GET})),post:t(({params:{key:t},body:a})=>({url:e("comment",`/${t}`),method:c.POST,body:JSON.stringify(a)})),reply:t(({params:{key:t,id:a},body:o})=>({url:e("comment",`/${t}/${a}/reply`),method:c.POST,body:JSON.stringify(o)})),react:t(({params:{key:t,id:a},body:o})=>({url:e("comment",`/${t}/${a}/react`),method:c.POST,body:JSON.stringify(o)})),hide:t(({params:{key:t,id:a}})=>({url:e("comment",`/${t}/${a}/hide`),method:c.POST})),unhide:t(({params:{key:t,id:a}})=>({url:e("comment",`/${t}/${a}/unhide`),method:c.POST}))},class:{viewAssignmentMyWorksheetSubmitCodeEditor:t(({params:{classKey:t,cycleId:a,sessionId:o,assignmentId:r},body:i})=>({url:e("class",`/${t}/cycle/${a}/session/${o}/assignment/${r}/worksheet/submit-code-editor`),method:c.POST,body:JSON.stringify(i)}))},documentTemplate:{create:t(({body:t})=>({url:e("document-template",""),method:c.POST,body:JSON.stringify(t)})),getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("document-template","/summary-list"),t,a),o),r),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("document-template",`/${t}/data`),method:c.GET})),updateData:t(({params:{key:t,organizationKey:a},body:o})=>({url:ae(e("document-template",`/${t}`),a),method:c.PUT,body:JSON.stringify(o)}))},statistics:{getOrganizationStats:t(({params:{organizationKey:t,startsAt:a,endsAt:o,groupBy:r}})=>({url:ae(e("statistics",`/organization?startsAt=${a}&endsAt=${o}&groupBy=${r.join(",")}`),t),method:c.GET})),getProblemStats:t(({params:{organizationKey:t,problemKey:a,startsAt:o,endsAt:r,groupBy:i}})=>({url:ae(e("statistics",`/problem/${a}?startsAt=${o}&endsAt=${r}&groupBy=${i.join(",")}`),t),method:c.GET})),getUsersTracksStats:t(({params:{organizationKeys:t,startsAt:a,endsAt:o,groupBy:r}})=>({url:e("statistics",`/users-tracks?startsAt=${a}&endsAt=${o}&groupBy=${r.join(",")}${t?`&organizationKeys=${t}`:""}`),method:c.GET}))},excalidraw:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("excalidraw","/summary-list"),t,a),o),r),method:c.GET})),create:t(({body:t})=>({url:e("excalidraw",""),method:c.POST,body:JSON.stringify(t)})),updateData:t(({params:{key:t},body:a})=>({url:e("excalidraw",`/${t}/data`),method:c.PUT,body:JSON.stringify(a)})),getMetadata:t(({params:{key:t}})=>({url:e("excalidraw",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("excalidraw",`/${t}/data`),method:c.GET}))},mermaid:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("mermaid","/summary-list"),t,a),o),r),method:c.GET})),create:t(({body:t})=>({url:e("mermaid",""),method:c.POST,body:JSON.stringify(t)})),updateData:t(({params:{key:t},body:a})=>({url:e("mermaid",`/${t}/data`),method:c.PUT,body:JSON.stringify(a)})),getMetadata:t(({params:{key:t}})=>({url:e("mermaid",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("mermaid",`/${t}/data`),method:c.GET}))},markdown:{getSummaryList:t(({params:{page:t,pageSize:a,filterUrl:o,sortUrl:r}})=>({url:ee(te(Z(e("markdown","/summary-list"),t,a),o),r),method:c.GET})),create:t(({body:t})=>({url:e("markdown",""),method:c.POST,body:JSON.stringify(t)})),updateData:t(({params:{key:t},body:a})=>({url:e("markdown",`/${t}/data`),method:c.PUT,body:JSON.stringify(a)})),getMetadata:t(({params:{key:t}})=>({url:e("markdown",`/${t}/metadata`),method:c.GET})),getData:t(({params:{key:t}})=>({url:e("markdown",`/${t}/data`),method:c.GET}))},export:{websiteToPdf:t(({params:{url:t,headerTemplate:a,footerTemplate:o,margin:r,format:i}})=>({url:e("export","/website-to-pdf"),method:c.POST,body:JSON.stringify({url:t,headerTemplate:a,footerTemplate:o,margin:r,format:i})})),problem:{statementToPdf:t(({params:{key:t,language:a}})=>({url:e("export","/problem/statement-to-pdf"),method:c.POST,body:JSON.stringify({key:t,language:a})})),statementToPng:t(({params:{key:t,token:a,language:o}})=>({url:e("export","/problem/statement-to-png"),method:c.POST,body:JSON.stringify({key:t,token:a,language:o})}))},contest:{problems:{statementsToPdf:t(({params:{key:t,language:a}})=>({url:e("export","/contest/problems/statements-to-pdf"),method:c.POST,body:JSON.stringify({key:t,language:a})}))}}},webScraping:{codeforces:{problemStatement:t(({params:{contestId:t,index:a}})=>({url:e("web-scraping","/codeforces/problem-statement"),method:c.POST,body:JSON.stringify({contestId:t,index:a})}))},patito:{problemStatement:t(({params:{id:t}})=>({url:e("web-scraping","/patito/problem-statement"),method:c.POST,body:JSON.stringify({id:t})}))}},rejudge:{getProblemCount:t(({params:{problemJudgeKey:t}})=>({url:e("rejudge",`/problem/${t}/count`),method:c.GET})),rejudgeProblem:t(({params:{problemJudgeKey:t}})=>({url:e("rejudge",`/problem/${t}`),method:c.POST}))},rank:{getList:t(()=>({url:e("rank","/list"),method:c.GET}))},websocket:{auth:t(()=>({url:e("websocket","/auth"),method:c.POST}))}}}},ne=new class{JUDGE(e){const t=e??"";return{home:()=>le("/"),profiles:{view:({nickname:e,organizationKey:a,tab:o=m.OVERVIEW})=>oe(t,le(`/profiles/${v(e,a)}${o?`?tab=${o}`:""}`))},problems:{list:()=>oe(t,le("/problems")),view:({key:e,tab:a=n.STATEMENT})=>oe(t,le(`/problems/${e}${a?`?tab=${a}`:""}`)),edit:({key:e,tab:a=n.STATEMENT})=>oe(t,le(`/problems/${e}/edit${a?`?tab=${a}`:""}`)),new:({judge:e,tab:a})=>oe(t,le(`/problems/new?judge=${e}${a?`&tab=${a}`:""}`))},contests:{list:({tab:e})=>oe(t,le("/contests"+(e?`?tab=${e}`:""))),view:({key:e,tab:a=s.OVERVIEW,subTab:o})=>oe(t,le(`/contests/${e}${a?`?tab=${a}`:""}${o?`${a?"&":"?"}subTab=${o}`:""}`)),edit:({key:e,tab:a=s.OVERVIEW})=>oe(t,le(`/contests/${e}/edit${a?`?tab=${a}`:""}`)),new:({tab:e}={tab:void 0})=>oe(t,le("/contests/new"+(e?`?tab=${e}`:"")))},submissions:{view:({id:e})=>oe(t,le(`/submissions/${e}`))},boards:{page:()=>oe(t,le("/boards"))},ide:{page:()=>oe(t,le("/ide"))}}}COACH(e){const t=e??"";return{home:()=>le("/"),worksheets:{list:()=>oe(t,le("/worksheets")),view:({key:e,page:a=1})=>oe(t,le(`/worksheets/${e}${a?`?page=${a}`:""}`)),edit:({key:e,tab:a,from:o})=>oe(t,le(`/worksheets/${e}/edit?tab=${a}${o?`&from=${o}`:""}`)),new:({tab:e})=>oe(t,le(`/worksheets/new?tab=${e}`))},classes:{list:()=>oe(t,le("/classes")),view:({key:e})=>oe(t,le(`/classes/${e}`)),cycleView:({key:e,cycleId:a})=>oe(t,le(`/classes/${e}/cycle/${a}`)),edit:({key:e})=>oe(t,le(`/classes/${e}/edit`)),new:()=>oe(t,le("/classes/new"))},courses:{list:()=>oe(t,le("/courses")),view:({key:e})=>oe(t,le(`/courses/${e}`)),lessonView:({key:e,lessonIndex:a,page:o=1})=>oe(t,le(`/courses/${e}/lessons/${a}${o?`?page=${o}`:""}`)),edit:({key:e})=>oe(t,le(`/courses/${e}/edit`)),new:()=>oe(t,le("/courses/new"))},profiles:{view:({nickname:e,tab:a=m.OVERVIEW})=>oe(t,le(`/profiles/${e}${a?`?tab=${a}`:""}`))}}}};export{W as A,ie as B,S as C,M as D,I as E,F,H as G,$ as H,T as P,O as S,x as a,k as b,c,B as d,re as e,p as f,u as g,d as h,A as i,D as j,U as k,L as l,G as m,C as n,w as o,J as p,v as q,z as r,j as s,Y as t,R as u,V as v,K as w,se as x,ne as y,X as z};