orcaq 1.1.2 → 1.1.3

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 (127) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{BJCrbji-.js → 5oARMrld.js} +1 -1
  3. package/.output/public/_nuxt/{kvtnkChG.js → 9sDqz0uT.js} +1 -1
  4. package/.output/public/_nuxt/{Bmgr9uz4.js → B-4cXhNx.js} +1 -1
  5. package/.output/public/_nuxt/{DpT8FO1Q.js → BC6CdfCG.js} +1 -1
  6. package/.output/public/_nuxt/{Ca0KO9Xq.js → BCAMWuzu.js} +1 -1
  7. package/.output/public/_nuxt/{Bq47tjcm.js → BG-rJefG.js} +1 -1
  8. package/.output/public/_nuxt/{BpvGVfME.js → BKFPmrcv.js} +1 -1
  9. package/.output/public/_nuxt/{COHOh4Oe.js → BMLhg7hE.js} +1 -1
  10. package/.output/public/_nuxt/{atdCACH-.js → BYOPXIhP.js} +1 -1
  11. package/.output/public/_nuxt/{B46blMXm.js → BYxQJ0gE.js} +1 -1
  12. package/.output/public/_nuxt/{BrNfge84.js → BZ4ThSRp.js} +1 -1
  13. package/.output/public/_nuxt/{Dq1JM9WZ.js → BZmDBfmV.js} +1 -1
  14. package/.output/public/_nuxt/{DHAL8jJG.js → B_ERKujF.js} +4 -4
  15. package/.output/public/_nuxt/{CycELG5y.js → BccuQbKA.js} +1 -1
  16. package/.output/public/_nuxt/{B6MkNyZd.js → BcyZ-eCi.js} +1 -1
  17. package/.output/public/_nuxt/{63YtjFEq.js → BdZsZgcB.js} +1 -1
  18. package/.output/public/_nuxt/{S1qa1a4x.js → BigePTMZ.js} +1 -1
  19. package/.output/public/_nuxt/{BL__uYa3.js → BkN-uAef.js} +1 -1
  20. package/.output/public/_nuxt/{BWZ7atse.js → BmAp-sfn.js} +1 -1
  21. package/.output/public/_nuxt/{BogEzQi9.js → BqHKqsJ5.js} +3 -3
  22. package/.output/public/_nuxt/{DpEV6S2O.js → BseVuOZ1.js} +1 -1
  23. package/.output/public/_nuxt/{B2IKcIj2.js → BtuY54_l.js} +1 -1
  24. package/.output/public/_nuxt/{B8TrrBEb.js → Buh0pI3n.js} +1 -1
  25. package/.output/public/_nuxt/{CAnr3OhD.js → BzVvHKKC.js} +1 -1
  26. package/.output/public/_nuxt/{DuCDilAk.js → BzywwPw6.js} +1 -1
  27. package/.output/public/_nuxt/BzzgEvr9.js +7 -0
  28. package/.output/public/_nuxt/{AymhMj9v.js → C-I81xfB.js} +1 -1
  29. package/.output/public/_nuxt/{DAr5YiBT.js → C-Pa1rIR.js} +1 -1
  30. package/.output/public/_nuxt/{CMkzSwnO.js → C-pX1zRI.js} +1 -1
  31. package/.output/public/_nuxt/{ioXB9E2w.js → C0vscAQB.js} +1 -1
  32. package/.output/public/_nuxt/C4FrpL8k.js +1 -0
  33. package/.output/public/_nuxt/{Cq-MDPLE.js → C4zYnWdF.js} +1 -1
  34. package/.output/public/_nuxt/{C_7gtl40.js → C9kgALYc.js} +1 -1
  35. package/.output/public/_nuxt/{Oe2GG0Lt.js → CCmd8DpQ.js} +1 -1
  36. package/.output/public/_nuxt/{DsmBazLf.js → CGq9Twnj.js} +1 -1
  37. package/.output/public/_nuxt/{BEyCol50.js → CHMlsxJw.js} +1 -1
  38. package/.output/public/_nuxt/{Y1gXUmjt.js → CLQzuV82.js} +1 -1
  39. package/.output/public/_nuxt/{BJVPtt2X.js → CL_1HDtg.js} +1 -1
  40. package/.output/public/_nuxt/{DVnDb6ua.js → CRqiHVA4.js} +1 -1
  41. package/.output/public/_nuxt/{ByibjLZn.js → CS4EJV3B.js} +1 -1
  42. package/.output/public/_nuxt/{Bf6Q3Zl5.js → CSExCj8O.js} +1 -1
  43. package/.output/public/_nuxt/{MeLWmO7R.js → CY_CG0AU.js} +1 -1
  44. package/.output/public/_nuxt/{D-9vaM6z.js → CbHZwHBV.js} +1 -1
  45. package/.output/public/_nuxt/{MW5K_zef.js → Cbo6GmdE.js} +1 -1
  46. package/.output/public/_nuxt/{dWu56FdP.js → Cf460dGA.js} +1 -1
  47. package/.output/public/_nuxt/{DcCF9IZB.js → CfseWBL0.js} +1 -1
  48. package/.output/public/_nuxt/{qzrMNYut.js → Ch0I4juX.js} +1 -1
  49. package/.output/public/_nuxt/Chvs1m1n.js +1 -0
  50. package/.output/public/_nuxt/{CHEpbbGc.js → Chx1IK9D.js} +1 -1
  51. package/.output/public/_nuxt/{ByiJDSw8.js → CjpXgncp.js} +1 -1
  52. package/.output/public/_nuxt/{BpUSbMUb.js → CkjXKCQH.js} +1 -1
  53. package/.output/public/_nuxt/{C3ZBsVV_.js → Ckry8tuC.js} +2 -2
  54. package/.output/public/_nuxt/{CsRSZpa6.js → CmOZ0DCP.js} +1 -1
  55. package/.output/public/_nuxt/{Bq7OeLM1.js → CmjR7OTc.js} +1 -1
  56. package/.output/public/_nuxt/{CDJKw_ak.js → Co7e2XML.js} +1 -1
  57. package/.output/public/_nuxt/{BzvSm28k.js → CqkctA6I.js} +1 -1
  58. package/.output/public/_nuxt/{DEZMnZ2r.js → CtB2-SFY.js} +1 -1
  59. package/.output/public/_nuxt/{dNPwafbq.js → CtCx-4nJ.js} +1 -1
  60. package/.output/public/_nuxt/{xOD4Ev56.js → CtkhwZY7.js} +1 -1
  61. package/.output/public/_nuxt/Cty7uMrC.js +1 -0
  62. package/.output/public/_nuxt/{C2XHqDOf.js → CvFjsYJZ.js} +1 -1
  63. package/.output/public/_nuxt/{D4pAW_0T.js → Czr647QE.js} +1 -1
  64. package/.output/public/_nuxt/{BcsKoAPU.js → D0lW43G8.js} +28 -28
  65. package/.output/public/_nuxt/{DDebxXP-.js → D28ykMUi.js} +1 -1
  66. package/.output/public/_nuxt/{Ci5B19-c.js → DA4Xn6lm.js} +1 -1
  67. package/.output/public/_nuxt/{BWebIWit.js → DChDHsIe.js} +1 -1
  68. package/.output/public/_nuxt/{DSaBCmOg.js → DJBO_9pO.js} +1 -1
  69. package/.output/public/_nuxt/{DPIEiNwW.js → DJXB1Li8.js} +1 -1
  70. package/.output/public/_nuxt/{DJH-4SVI.js → DKLk0T0H.js} +1 -1
  71. package/.output/public/_nuxt/{C6dIAdHr.js → DLBsdU7G.js} +1 -1
  72. package/.output/public/_nuxt/{BtyzMl9p.js → DOAixkpJ.js} +1 -1
  73. package/.output/public/_nuxt/{BoMjapT5.js → DPq8O9CC.js} +1 -1
  74. package/.output/public/_nuxt/{Bmx1kTaZ.js → DQdA5Twt.js} +1 -1
  75. package/.output/public/_nuxt/{DGvAu532.js → DRh-06Hb.js} +1 -1
  76. package/.output/public/_nuxt/{JOg_XIAv.js → DTvJImVU.js} +1 -1
  77. package/.output/public/_nuxt/{C7BQpy74.js → DVkCRFXi.js} +1 -1
  78. package/.output/public/_nuxt/{BjqbQLK3.js → DX8ecA59.js} +1 -1
  79. package/.output/public/_nuxt/DakKehZj.js +1 -0
  80. package/.output/public/_nuxt/{BoIj4dtd.js → Db3rTgnd.js} +1 -1
  81. package/.output/public/_nuxt/{BRFPdiIh.js → DfyynWBR.js} +1 -1
  82. package/.output/public/_nuxt/{B5WGo5x7.js → DgJOougY.js} +1 -1
  83. package/.output/public/_nuxt/DkQCknMw.js +1 -0
  84. package/.output/public/_nuxt/{Sf02B6Pt.js → DpBeiFQV.js} +1 -1
  85. package/.output/public/_nuxt/{sk7V7xQl.js → DrdbRRXx.js} +1 -1
  86. package/.output/public/_nuxt/{CS9hqyP3.js → Dtl3qje7.js} +1 -1
  87. package/.output/public/_nuxt/{DNoTlUiY.js → Du5Ka6uI.js} +1 -1
  88. package/.output/public/_nuxt/{B73IHAoF.js → Dunt8-TF.js} +1 -1
  89. package/.output/public/_nuxt/{CrNLwdoE.js → DvWEWtFg.js} +1 -1
  90. package/.output/public/_nuxt/{DkD29_YA.js → KynNdNgX.js} +1 -1
  91. package/.output/public/_nuxt/{BqU89KuH.js → MWrJVKEf.js} +2 -2
  92. package/.output/public/_nuxt/{DMmjWR_K.js → NYpsF1lW.js} +1 -1
  93. package/.output/public/_nuxt/{L2I3LmpB.js → Nof0nVJ6.js} +1 -1
  94. package/.output/public/_nuxt/{BTYBVtfa.js → Ohrg3hU7.js} +1 -1
  95. package/.output/public/_nuxt/{CerLmMsC.js → Rrce0BXL.js} +3 -3
  96. package/.output/public/_nuxt/{xp7rFxcm.js → VNOocds9.js} +1 -1
  97. package/.output/public/_nuxt/Y-MEKhtd.js +1 -0
  98. package/.output/public/_nuxt/{CSQ0xnqv.js → YdOCcCRS.js} +1 -1
  99. package/.output/public/_nuxt/bYQCSC5-.js +1 -0
  100. package/.output/public/_nuxt/{vhkvHdfO.js → bkzIFcLw.js} +1 -1
  101. package/.output/public/_nuxt/builds/latest.json +1 -1
  102. package/.output/public/_nuxt/builds/meta/ad11b978-8fdd-4bb2-9b38-1d6fe93f994e.json +1 -0
  103. package/.output/public/_nuxt/{FDw04QOj.js → eOeO5uM0.js} +1 -1
  104. package/.output/public/_nuxt/{BPACuoI0.js → g9ZMnTLJ.js} +1 -1
  105. package/.output/public/_nuxt/{Cnfx1zWl.js → hIbRoJ89.js} +1 -1
  106. package/.output/public/_nuxt/{8tyEaimf.js → j23gQsG7.js} +1 -1
  107. package/.output/public/_nuxt/klVlxnpt.js +1 -0
  108. package/.output/public/_nuxt/{DWqOZJe7.js → qRiDKEr7.js} +1 -1
  109. package/.output/public/_nuxt/{iNy-Nl0_.js → syq5mCJi.js} +1 -1
  110. package/.output/public/_nuxt/{COq7mAG7.js → v41yYOa9.js} +1 -1
  111. package/.output/public/_nuxt/{B9uki8o2.js → vaJvtND9.js} +1 -1
  112. package/.output/public/_nuxt/{wRAs0MDn.js → wodl4bLW.js} +1 -1
  113. package/.output/server/chunks/build/client.manifest.mjs +675 -675
  114. package/.output/server/chunks/build/client.manifest.mjs.map +1 -1
  115. package/.output/server/chunks/nitro/nitro.mjs +635 -635
  116. package/.output/server/package.json +1 -1
  117. package/package.json +1 -1
  118. package/.output/public/_nuxt/BS-LtKx4.js +0 -1
  119. package/.output/public/_nuxt/BTheloyh.js +0 -1
  120. package/.output/public/_nuxt/Bj7ctTfH.js +0 -1
  121. package/.output/public/_nuxt/BpLDGvqy.js +0 -1
  122. package/.output/public/_nuxt/CtWq1MER.js +0 -7
  123. package/.output/public/_nuxt/Cww9dXBK.js +0 -1
  124. package/.output/public/_nuxt/DfNTLojg.js +0 -1
  125. package/.output/public/_nuxt/M6bBaUHa.js +0 -1
  126. package/.output/public/_nuxt/_qKPTuua.js +0 -1
  127. package/.output/public/_nuxt/builds/meta/7c171291-8bbd-4c4c-8904-0afae065b82e.json +0 -1
@@ -1 +1 @@
1
- import{d as z,bY as ee,bZ as ge,r as R,as as xe,b_ as oe,au as J,bW as Te,e as K,av as Y,b$ as Me,c0 as Pe,aR as U,c1 as Oe,c2 as Ae,c3 as ke,c4 as Ee,c5 as He,aL as ye,o as H,c6 as Ie,c7 as Ge,c8 as Le,c9 as te,ca as ne,f as W,cb as ae,i as _e,cc as Ne,cd as We,ce as Ve,cf as ze,cg as Ue,bL as le,bk as je,m as X,g as x,a0 as ie,w as re,z as se,k as de,l as ue,A as pe,t as Ke,ch as $e,ci as qe,c as j,cj as Je,ck as Xe,aC as Ye,cl as Qe,ay as Ce,cm as Ze,cn as eo,co as oo,cp as to,b9 as no,cq as ao,n as lo}from"./BcsKoAPU.js";import{i as io,d as ro}from"./dWu56FdP.js";import{D as he,a as fe,b as we,H as q,c as so,d as uo,e as ce,f as ve}from"./CS5akSNT.js";var po=Object.defineProperty,co=(s,n,t)=>n in s?po(s,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[n]=t,I=(s,n,t)=>co(s,typeof n!="symbol"?n+"":n,t);class V{static getComponentDefinition(n,t){let o;return typeof n=="string"?o=this.searchForComponentInstance(t,n):o={extends:z({...n})},o||ne(114,{component:n}),o.extends?(o.extends.setup&&(o.setup=o.extends.setup),o.extends.props=this.addParamsToProps(o.extends.props)):o.props=this.addParamsToProps(o.props),o}static addParamsToProps(n){return!n||Array.isArray(n)&&n.indexOf("params")===-1?n=["params",...n||[]]:typeof n=="object"&&!n.params&&(n.params={type:Object}),n}static createAndMountComponent(n,t,o,p){const l=V.getComponentDefinition(n,o);if(!l)return;const{vNode:i,destroy:r,el:u}=this.mount(l,{params:Object.freeze(t)},o,p||{});return{componentInstance:i.component.proxy,element:u,destroy:r}}static mount(n,t,o,p){let l=W(n,t);l.appContext={...o.appContext,provides:p};let i=document.createElement("div");return ae(l,i),{vNode:l,destroy:()=>{i&&ae(null,i),i=null,l=null},el:i}}static searchForComponentInstance(n,t,o=10,p=!1){let l=null,i=0,r=n.parent;for(;!l&&r&&r.components&&++i<o;)r.components&&r.components[t]&&(l=r.components[t]),r=r.parent;for(i=0,r=n.parent;!l&&r&&r.$options&&++i<o;){const u=r;u.$options&&u.$options.components&&u.$options.components[t]?l=u.$options.components[t]:u[t]&&(l=u[t]),r=r.parent}for(i=0,r=n.parent;!l&&r&&++i<o;){if(r.exposed){const u=r;u.exposed&&u.exposed[t]?l=u.exposed[t]:u[t]&&(l=u[t])}r=r.parent}if(!l){const u=n.appContext.components;u&&u[t]&&(l=u[t])}return!l&&!p?(ne(114,{component:t}),null):l}}class vo extends Ie{constructor(n,t){super(),I(this,"parent"),I(this,"provides"),this.parent=n,this.provides=t}createWrapper(n){const t=this;class o extends mo{init(i){super.init(i)}hasMethod(i){var r,u;const m=p.getFrameworkComponentInstance();return m[i]?!0:((r=m.$.exposed)==null?void 0:r[i])!=null||((u=m.exposed)==null?void 0:u[i])!=null||m.$.setupState[i]!=null}callMethod(i,r){var u,m;const g=this.getFrameworkComponentInstance(),S=p.getFrameworkComponentInstance();if(S[i])return S[i].apply(g,r);{const w=((u=g.$.exposed)==null?void 0:u[i])||((m=g.exposed)==null?void 0:m[i])||g.$.setupState[i];return w==null?void 0:w.apply(g,r)}}addMethod(i,r){p[i]=r}processMethod(i,r){return i==="refresh"&&(this.getFrameworkComponentInstance().params=r[0]),this.hasMethod(i)?this.callMethod(i,r):i==="refresh"}createComponent(i){return t.createComponent(n,i)}}const p=new o;return p}createComponent(n,t){return V.createAndMountComponent(n,t,this.parent,this.provides)}createMethodProxy(n,t,o){return function(){return n.hasMethod(t)?n.callMethod(t,arguments):(o&&Ge(233,{methodName:t}),null)}}destroy(){this.parent=null}}class mo{constructor(){I(this,"componentInstance"),I(this,"element"),I(this,"unmount")}getGui(){return this.element}destroy(){this.getFrameworkComponentInstance()&&typeof this.getFrameworkComponentInstance().destroy=="function"&&this.getFrameworkComponentInstance().destroy(),this.unmount()}getFrameworkComponentInstance(){return this.componentInstance}init(n){const{componentInstance:t,element:o,destroy:p}=this.createComponent(n);this.componentInstance=t,this.unmount=p,this.element=o.firstElementChild??o}}class go extends Le{constructor(n){super("vue"),I(this,"parent"),this.parent=n}frameworkComponent(n,t){let o=V.searchForComponentInstance(this.parent,n,10,!0)?n:null;if(!o&&t&&t[n]){const p=t[n];o=V.searchForComponentInstance(this.parent,p,10,!0)?p:null}return o}isFrameworkComponent(n){return typeof n=="object"}}function yo(){return{gridOptions:{},modules:[],statusBar:void 0,sideBar:void 0,suppressContextMenu:void 0,preventDefaultOnContextMenu:void 0,allowContextMenuWithControlKey:void 0,columnMenu:void 0,suppressMenuHide:void 0,enableBrowserTooltips:void 0,tooltipTrigger:void 0,tooltipShowDelay:void 0,tooltipHideDelay:void 0,tooltipMouseTrack:void 0,tooltipShowMode:void 0,tooltipInteraction:void 0,popupParent:void 0,copyHeadersToClipboard:void 0,copyGroupHeadersToClipboard:void 0,clipboardDelimiter:void 0,suppressCopyRowsToClipboard:void 0,suppressCopySingleCellRanges:void 0,suppressLastEmptyLineOnPaste:void 0,suppressClipboardPaste:void 0,suppressClipboardApi:void 0,suppressCutToClipboard:void 0,columnDefs:void 0,defaultColDef:void 0,defaultColGroupDef:void 0,columnTypes:void 0,dataTypeDefinitions:void 0,maintainColumnOrder:void 0,enableStrictPivotColumnOrder:void 0,suppressFieldDotNotation:void 0,headerHeight:void 0,groupHeaderHeight:void 0,floatingFiltersHeight:void 0,pivotHeaderHeight:void 0,pivotGroupHeaderHeight:void 0,allowDragFromColumnsToolPanel:void 0,suppressMovableColumns:void 0,suppressColumnMoveAnimation:void 0,suppressMoveWhenColumnDragging:void 0,suppressDragLeaveHidesColumns:void 0,suppressGroupChangesColumnVisibility:void 0,suppressMakeColumnVisibleAfterUnGroup:void 0,suppressRowGroupHidesColumns:void 0,colResizeDefault:void 0,suppressAutoSize:void 0,autoSizePadding:void 0,skipHeaderOnAutoSize:void 0,autoSizeStrategy:void 0,components:void 0,editType:void 0,singleClickEdit:void 0,suppressClickEdit:void 0,readOnlyEdit:void 0,stopEditingWhenCellsLoseFocus:void 0,enterNavigatesVertically:void 0,enterNavigatesVerticallyAfterEdit:void 0,enableCellEditingOnBackspace:void 0,undoRedoCellEditing:void 0,undoRedoCellEditingLimit:void 0,defaultCsvExportParams:void 0,suppressCsvExport:void 0,defaultExcelExportParams:void 0,suppressExcelExport:void 0,excelStyles:void 0,findSearchValue:void 0,findOptions:void 0,quickFilterText:void 0,cacheQuickFilter:void 0,includeHiddenColumnsInQuickFilter:void 0,quickFilterParser:void 0,quickFilterMatcher:void 0,applyQuickFilterBeforePivotOrAgg:void 0,excludeChildrenWhenTreeDataFiltering:void 0,enableAdvancedFilter:void 0,alwaysPassFilter:void 0,includeHiddenColumnsInAdvancedFilter:void 0,advancedFilterParent:void 0,advancedFilterBuilderParams:void 0,suppressAdvancedFilterEval:void 0,suppressSetFilterByDefault:void 0,enableCharts:void 0,chartThemes:void 0,customChartThemes:void 0,chartThemeOverrides:void 0,chartToolPanelsDef:void 0,chartMenuItems:void 0,loadingCellRenderer:void 0,loadingCellRendererParams:void 0,loadingCellRendererSelector:void 0,localeText:void 0,masterDetail:void 0,keepDetailRows:void 0,keepDetailRowsCount:void 0,detailCellRenderer:void 0,detailCellRendererParams:void 0,detailRowHeight:void 0,detailRowAutoHeight:void 0,context:void 0,dragAndDropImageComponent:void 0,dragAndDropImageComponentParams:void 0,alignedGrids:void 0,tabIndex:void 0,rowBuffer:void 0,valueCache:void 0,valueCacheNeverExpires:void 0,enableCellExpressions:void 0,suppressTouch:void 0,suppressFocusAfterRefresh:void 0,suppressBrowserResizeObserver:void 0,suppressPropertyNamesCheck:void 0,suppressChangeDetection:void 0,debug:void 0,loading:void 0,overlayLoadingTemplate:void 0,loadingOverlayComponent:void 0,loadingOverlayComponentParams:void 0,suppressLoadingOverlay:void 0,overlayNoRowsTemplate:void 0,noRowsOverlayComponent:void 0,noRowsOverlayComponentParams:void 0,suppressNoRowsOverlay:void 0,pagination:void 0,paginationPageSize:void 0,paginationPageSizeSelector:void 0,paginationAutoPageSize:void 0,paginateChildRows:void 0,suppressPaginationPanel:void 0,pivotMode:void 0,pivotPanelShow:void 0,pivotMaxGeneratedColumns:void 0,pivotDefaultExpanded:void 0,pivotColumnGroupTotals:void 0,pivotRowTotals:void 0,pivotSuppressAutoColumn:void 0,suppressExpandablePivotGroups:void 0,functionsReadOnly:void 0,aggFuncs:void 0,suppressAggFuncInHeader:void 0,alwaysAggregateAtRootLevel:void 0,aggregateOnlyChangedColumns:void 0,suppressAggFilteredOnly:void 0,removePivotHeaderRowWhenSingleValueColumn:void 0,animateRows:void 0,cellFlashDuration:void 0,cellFadeDuration:void 0,allowShowChangeAfterFilter:void 0,domLayout:void 0,ensureDomOrder:void 0,enableCellSpan:void 0,enableRtl:void 0,suppressColumnVirtualisation:void 0,suppressMaxRenderedRowRestriction:void 0,suppressRowVirtualisation:void 0,rowDragManaged:void 0,suppressRowDrag:void 0,suppressMoveWhenRowDragging:void 0,rowDragEntireRow:void 0,rowDragMultiRow:void 0,rowDragText:void 0,fullWidthCellRenderer:void 0,fullWidthCellRendererParams:void 0,embedFullWidthRows:void 0,groupDisplayType:void 0,groupDefaultExpanded:void 0,autoGroupColumnDef:void 0,groupMaintainOrder:void 0,groupSelectsChildren:void 0,groupLockGroupColumns:void 0,groupAggFiltering:void 0,groupTotalRow:void 0,grandTotalRow:void 0,suppressStickyTotalRow:void 0,groupSuppressBlankHeader:void 0,groupSelectsFiltered:void 0,showOpenedGroup:void 0,groupHideParentOfSingleChild:void 0,groupRemoveSingleChildren:void 0,groupRemoveLowestSingleChildren:void 0,groupHideOpenParents:void 0,groupAllowUnbalanced:void 0,rowGroupPanelShow:void 0,groupRowRenderer:void 0,groupRowRendererParams:void 0,treeData:void 0,treeDataChildrenField:void 0,treeDataParentIdField:void 0,rowGroupPanelSuppressSort:void 0,suppressGroupRowsSticky:void 0,pinnedTopRowData:void 0,pinnedBottomRowData:void 0,rowModelType:void 0,rowData:void 0,asyncTransactionWaitMillis:void 0,suppressModelUpdateAfterUpdateTransaction:void 0,datasource:void 0,cacheOverflowSize:void 0,infiniteInitialRowCount:void 0,serverSideInitialRowCount:void 0,suppressServerSideFullWidthLoadingRow:void 0,cacheBlockSize:void 0,maxBlocksInCache:void 0,maxConcurrentDatasourceRequests:void 0,blockLoadDebounceMillis:void 0,purgeClosedRowNodes:void 0,serverSideDatasource:void 0,serverSideSortAllLevels:void 0,serverSideEnableClientSideSort:void 0,serverSideOnlyRefreshFilteredGroups:void 0,serverSidePivotResultFieldSeparator:void 0,viewportDatasource:void 0,viewportRowModelPageSize:void 0,viewportRowModelBufferSize:void 0,alwaysShowHorizontalScroll:void 0,alwaysShowVerticalScroll:void 0,debounceVerticalScrollbar:void 0,suppressHorizontalScroll:void 0,suppressScrollOnNewData:void 0,suppressScrollWhenPopupsAreOpen:void 0,suppressAnimationFrame:void 0,suppressMiddleClickScrolls:void 0,suppressPreventDefaultOnMouseWheel:void 0,scrollbarWidth:void 0,rowSelection:void 0,cellSelection:void 0,rowMultiSelectWithClick:void 0,suppressRowDeselection:void 0,suppressRowClickSelection:void 0,suppressCellFocus:void 0,suppressHeaderFocus:void 0,selectionColumnDef:void 0,rowNumbers:void 0,suppressMultiRangeSelection:void 0,enableCellTextSelection:void 0,enableRangeSelection:void 0,enableRangeHandle:void 0,enableFillHandle:void 0,fillHandleDirection:void 0,suppressClearOnFillReduction:void 0,sortingOrder:void 0,accentedSort:void 0,unSortIcon:void 0,suppressMultiSort:void 0,alwaysMultiSort:void 0,multiSortKey:void 0,suppressMaintainUnsortedOrder:void 0,icons:void 0,rowHeight:void 0,rowStyle:void 0,rowClass:void 0,rowClassRules:void 0,suppressRowHoverHighlight:void 0,suppressRowTransform:void 0,columnHoverHighlight:void 0,gridId:void 0,deltaSort:void 0,treeDataDisplayType:void 0,enableGroupEdit:void 0,initialState:void 0,theme:void 0,loadThemeGoogleFonts:void 0,themeCssLayer:void 0,styleNonce:void 0,themeStyleContainer:void 0,getContextMenuItems:void 0,getMainMenuItems:void 0,postProcessPopup:void 0,processUnpinnedColumns:void 0,processCellForClipboard:void 0,processHeaderForClipboard:void 0,processGroupHeaderForClipboard:void 0,processCellFromClipboard:void 0,sendToClipboard:void 0,processDataFromClipboard:void 0,isExternalFilterPresent:void 0,doesExternalFilterPass:void 0,getChartToolbarItems:void 0,createChartContainer:void 0,focusGridInnerElement:void 0,navigateToNextHeader:void 0,tabToNextHeader:void 0,navigateToNextCell:void 0,tabToNextCell:void 0,getLocaleText:void 0,getDocument:void 0,paginationNumberFormatter:void 0,getGroupRowAgg:void 0,isGroupOpenByDefault:void 0,initialGroupOrderComparator:void 0,processPivotResultColDef:void 0,processPivotResultColGroupDef:void 0,getDataPath:void 0,getChildCount:void 0,getServerSideGroupLevelParams:void 0,isServerSideGroupOpenByDefault:void 0,isApplyServerSideTransaction:void 0,isServerSideGroup:void 0,getServerSideGroupKey:void 0,getBusinessKeyForNode:void 0,getRowId:void 0,resetRowDataOnUpdate:void 0,processRowPostCreate:void 0,isRowSelectable:void 0,isRowMaster:void 0,fillOperation:void 0,postSortRows:void 0,getRowStyle:void 0,getRowClass:void 0,getRowHeight:void 0,isFullWidthRow:void 0,"onColumn-everything-changed":void 0,"onNew-columns-loaded":void 0,"onColumn-pivot-mode-changed":void 0,"onPivot-max-columns-exceeded":void 0,"onColumn-row-group-changed":void 0,"onExpand-or-collapse-all":void 0,"onColumn-pivot-changed":void 0,"onGrid-columns-changed":void 0,"onColumn-value-changed":void 0,"onColumn-moved":void 0,"onColumn-visible":void 0,"onColumn-pinned":void 0,"onColumn-group-opened":void 0,"onColumn-resized":void 0,"onDisplayed-columns-changed":void 0,"onVirtual-columns-changed":void 0,"onColumn-header-mouse-over":void 0,"onColumn-header-mouse-leave":void 0,"onColumn-header-clicked":void 0,"onColumn-header-context-menu":void 0,"onAsync-transactions-flushed":void 0,"onRow-group-opened":void 0,"onRow-data-updated":void 0,"onPinned-row-data-changed":void 0,"onRange-selection-changed":void 0,"onCell-selection-changed":void 0,"onChart-created":void 0,"onChart-range-selection-changed":void 0,"onChart-options-changed":void 0,"onChart-destroyed":void 0,"onTool-panel-visible-changed":void 0,"onTool-panel-size-changed":void 0,"onModel-updated":void 0,"onCut-start":void 0,"onCut-end":void 0,"onPaste-start":void 0,"onPaste-end":void 0,"onFill-start":void 0,"onFill-end":void 0,"onCell-selection-delete-start":void 0,"onCell-selection-delete-end":void 0,"onRange-delete-start":void 0,"onRange-delete-end":void 0,"onUndo-started":void 0,"onUndo-ended":void 0,"onRedo-started":void 0,"onRedo-ended":void 0,"onCell-clicked":void 0,"onCell-double-clicked":void 0,"onCell-mouse-down":void 0,"onCell-context-menu":void 0,"onCell-value-changed":void 0,"onCell-edit-request":void 0,"onRow-value-changed":void 0,"onHeader-focused":void 0,"onCell-focused":void 0,"onRow-selected":void 0,"onSelection-changed":void 0,"onTooltip-show":void 0,"onTooltip-hide":void 0,"onCell-key-down":void 0,"onCell-mouse-over":void 0,"onCell-mouse-out":void 0,"onFilter-changed":void 0,"onFilter-modified":void 0,"onFilter-opened":void 0,"onAdvanced-filter-builder-visible-changed":void 0,"onSort-changed":void 0,"onVirtual-row-removed":void 0,"onRow-clicked":void 0,"onRow-double-clicked":void 0,"onGrid-ready":void 0,"onGrid-pre-destroyed":void 0,"onGrid-size-changed":void 0,"onViewport-changed":void 0,"onFirst-data-rendered":void 0,"onDrag-started":void 0,"onDrag-stopped":void 0,"onDrag-cancelled":void 0,"onRow-editing-started":void 0,"onRow-editing-stopped":void 0,"onCell-editing-started":void 0,"onCell-editing-stopped":void 0,"onBody-scroll":void 0,"onBody-scroll-end":void 0,"onPagination-changed":void 0,"onComponent-state-changed":void 0,"onStore-refreshed":void 0,"onState-updated":void 0,"onColumn-menu-visible-changed":void 0,"onContext-menu-visible-changed":void 0,"onRow-drag-enter":void 0,"onRow-drag-move":void 0,"onRow-drag-leave":void 0,"onRow-drag-end":void 0,"onRow-drag-cancel":void 0,"onFind-changed":void 0}}const Co=(s,n)=>{let t;return()=>{const o=function(){s()};window.clearTimeout(t),t=window.setTimeout(o,n)}};function ho(s){return s&&s.constructor&&s.constructor.toString().substring(0,5)==="class"}function N(s){const n=t=>ho(t)?te(t):Array.isArray(t)?t.map(o=>n(o)):_e(t)||Ne(t)||We(t)?n(te(t)):t;return n(s)}const fo={ref:"root"},wo=z({__name:"AgGridVue",props:ee(Ve({gridOptions:{},modules:{},statusBar:{},sideBar:{type:[Object,String,Array,Boolean,null]},suppressContextMenu:{type:Boolean},preventDefaultOnContextMenu:{type:Boolean},allowContextMenuWithControlKey:{type:Boolean},columnMenu:{},suppressMenuHide:{type:Boolean},enableBrowserTooltips:{type:Boolean},tooltipTrigger:{},tooltipShowDelay:{},tooltipHideDelay:{},tooltipMouseTrack:{type:Boolean},tooltipShowMode:{},tooltipInteraction:{type:Boolean},popupParent:{},copyHeadersToClipboard:{type:Boolean},copyGroupHeadersToClipboard:{type:Boolean},clipboardDelimiter:{},suppressCopyRowsToClipboard:{type:Boolean},suppressCopySingleCellRanges:{type:Boolean},suppressLastEmptyLineOnPaste:{type:Boolean},suppressClipboardPaste:{type:Boolean},suppressClipboardApi:{type:Boolean},suppressCutToClipboard:{type:Boolean},columnDefs:{},defaultColDef:{},defaultColGroupDef:{},columnTypes:{},dataTypeDefinitions:{},maintainColumnOrder:{type:Boolean},enableStrictPivotColumnOrder:{type:Boolean},suppressFieldDotNotation:{type:Boolean},headerHeight:{},groupHeaderHeight:{},floatingFiltersHeight:{},pivotHeaderHeight:{},pivotGroupHeaderHeight:{},allowDragFromColumnsToolPanel:{type:Boolean},suppressMovableColumns:{type:Boolean},suppressColumnMoveAnimation:{type:Boolean},suppressMoveWhenColumnDragging:{type:Boolean},suppressDragLeaveHidesColumns:{type:Boolean},suppressGroupChangesColumnVisibility:{type:[Boolean,String]},suppressMakeColumnVisibleAfterUnGroup:{type:Boolean},suppressRowGroupHidesColumns:{type:Boolean},colResizeDefault:{},suppressAutoSize:{type:Boolean},autoSizePadding:{},skipHeaderOnAutoSize:{type:Boolean},autoSizeStrategy:{},components:{},editType:{},singleClickEdit:{type:Boolean},suppressClickEdit:{type:Boolean},readOnlyEdit:{type:Boolean},stopEditingWhenCellsLoseFocus:{type:Boolean},enterNavigatesVertically:{type:Boolean},enterNavigatesVerticallyAfterEdit:{type:Boolean},enableCellEditingOnBackspace:{type:Boolean},undoRedoCellEditing:{type:Boolean},undoRedoCellEditingLimit:{},defaultCsvExportParams:{},suppressCsvExport:{type:Boolean},defaultExcelExportParams:{},suppressExcelExport:{type:Boolean},excelStyles:{},findSearchValue:{},findOptions:{},quickFilterText:{},cacheQuickFilter:{type:Boolean},includeHiddenColumnsInQuickFilter:{type:Boolean},quickFilterParser:{type:Function},quickFilterMatcher:{type:Function},applyQuickFilterBeforePivotOrAgg:{type:Boolean},excludeChildrenWhenTreeDataFiltering:{type:Boolean},enableAdvancedFilter:{type:Boolean},alwaysPassFilter:{type:Function},includeHiddenColumnsInAdvancedFilter:{type:Boolean},advancedFilterParent:{},advancedFilterBuilderParams:{},suppressAdvancedFilterEval:{type:Boolean},suppressSetFilterByDefault:{type:Boolean},enableCharts:{type:Boolean},chartThemes:{},customChartThemes:{},chartThemeOverrides:{},chartToolPanelsDef:{},chartMenuItems:{type:[Array,Function]},loadingCellRenderer:{},loadingCellRendererParams:{},loadingCellRendererSelector:{type:Function},localeText:{},masterDetail:{type:Boolean},keepDetailRows:{type:Boolean},keepDetailRowsCount:{},detailCellRenderer:{},detailCellRendererParams:{},detailRowHeight:{},detailRowAutoHeight:{type:Boolean},context:{},dragAndDropImageComponent:{},dragAndDropImageComponentParams:{},alignedGrids:{type:[Array,Function]},tabIndex:{},rowBuffer:{},valueCache:{type:Boolean},valueCacheNeverExpires:{type:Boolean},enableCellExpressions:{type:Boolean},suppressTouch:{type:Boolean},suppressFocusAfterRefresh:{type:Boolean},suppressBrowserResizeObserver:{type:Boolean},suppressPropertyNamesCheck:{type:Boolean},suppressChangeDetection:{type:Boolean},debug:{type:Boolean},loading:{type:Boolean},overlayLoadingTemplate:{},loadingOverlayComponent:{},loadingOverlayComponentParams:{},suppressLoadingOverlay:{type:Boolean},overlayNoRowsTemplate:{},noRowsOverlayComponent:{},noRowsOverlayComponentParams:{},suppressNoRowsOverlay:{type:Boolean},pagination:{type:Boolean},paginationPageSize:{},paginationPageSizeSelector:{type:[Array,Boolean]},paginationAutoPageSize:{type:Boolean},paginateChildRows:{type:Boolean},suppressPaginationPanel:{type:Boolean},pivotMode:{type:Boolean},pivotPanelShow:{},pivotMaxGeneratedColumns:{},pivotDefaultExpanded:{},pivotColumnGroupTotals:{},pivotRowTotals:{},pivotSuppressAutoColumn:{type:Boolean},suppressExpandablePivotGroups:{type:Boolean},functionsReadOnly:{type:Boolean},aggFuncs:{},suppressAggFuncInHeader:{type:Boolean},alwaysAggregateAtRootLevel:{type:Boolean},aggregateOnlyChangedColumns:{type:Boolean},suppressAggFilteredOnly:{type:Boolean},removePivotHeaderRowWhenSingleValueColumn:{type:Boolean},animateRows:{type:Boolean},cellFlashDuration:{},cellFadeDuration:{},allowShowChangeAfterFilter:{type:Boolean},domLayout:{},ensureDomOrder:{type:Boolean},enableCellSpan:{type:Boolean},enableRtl:{type:Boolean},suppressColumnVirtualisation:{type:Boolean},suppressMaxRenderedRowRestriction:{type:Boolean},suppressRowVirtualisation:{type:Boolean},rowDragManaged:{type:Boolean},suppressRowDrag:{type:Boolean},suppressMoveWhenRowDragging:{type:Boolean},rowDragEntireRow:{type:Boolean},rowDragMultiRow:{type:Boolean},rowDragText:{type:Function},fullWidthCellRenderer:{},fullWidthCellRendererParams:{},embedFullWidthRows:{type:Boolean},groupDisplayType:{},groupDefaultExpanded:{},autoGroupColumnDef:{},groupMaintainOrder:{type:Boolean},groupSelectsChildren:{type:Boolean},groupLockGroupColumns:{},groupAggFiltering:{type:[Boolean,Function]},groupTotalRow:{type:[String,Function]},grandTotalRow:{},suppressStickyTotalRow:{type:[Boolean,String]},groupSuppressBlankHeader:{type:Boolean},groupSelectsFiltered:{type:Boolean},showOpenedGroup:{type:Boolean},groupHideParentOfSingleChild:{type:[Boolean,String]},groupRemoveSingleChildren:{type:Boolean},groupRemoveLowestSingleChildren:{type:Boolean},groupHideOpenParents:{type:Boolean},groupAllowUnbalanced:{type:Boolean},rowGroupPanelShow:{},groupRowRenderer:{},groupRowRendererParams:{},treeData:{type:Boolean},treeDataChildrenField:{},treeDataParentIdField:{},rowGroupPanelSuppressSort:{type:Boolean},suppressGroupRowsSticky:{type:Boolean},pinnedTopRowData:{},pinnedBottomRowData:{},rowModelType:{},rowData:{},asyncTransactionWaitMillis:{},suppressModelUpdateAfterUpdateTransaction:{type:Boolean},datasource:{},cacheOverflowSize:{},infiniteInitialRowCount:{},serverSideInitialRowCount:{},suppressServerSideFullWidthLoadingRow:{type:Boolean},cacheBlockSize:{},maxBlocksInCache:{},maxConcurrentDatasourceRequests:{},blockLoadDebounceMillis:{},purgeClosedRowNodes:{type:Boolean},serverSideDatasource:{},serverSideSortAllLevels:{type:Boolean},serverSideEnableClientSideSort:{type:Boolean},serverSideOnlyRefreshFilteredGroups:{type:Boolean},serverSidePivotResultFieldSeparator:{},viewportDatasource:{},viewportRowModelPageSize:{},viewportRowModelBufferSize:{},alwaysShowHorizontalScroll:{type:Boolean},alwaysShowVerticalScroll:{type:Boolean},debounceVerticalScrollbar:{type:Boolean},suppressHorizontalScroll:{type:Boolean},suppressScrollOnNewData:{type:Boolean},suppressScrollWhenPopupsAreOpen:{type:Boolean},suppressAnimationFrame:{type:Boolean},suppressMiddleClickScrolls:{type:Boolean},suppressPreventDefaultOnMouseWheel:{type:Boolean},scrollbarWidth:{},rowSelection:{},cellSelection:{type:[Boolean,Object]},rowMultiSelectWithClick:{type:Boolean},suppressRowDeselection:{type:Boolean},suppressRowClickSelection:{type:Boolean},suppressCellFocus:{type:Boolean},suppressHeaderFocus:{type:Boolean},selectionColumnDef:{},rowNumbers:{type:[Boolean,Object]},suppressMultiRangeSelection:{type:Boolean},enableCellTextSelection:{type:Boolean},enableRangeSelection:{type:Boolean},enableRangeHandle:{type:Boolean},enableFillHandle:{type:Boolean},fillHandleDirection:{},suppressClearOnFillReduction:{type:Boolean},sortingOrder:{},accentedSort:{type:Boolean},unSortIcon:{type:Boolean},suppressMultiSort:{type:Boolean},alwaysMultiSort:{type:Boolean},multiSortKey:{},suppressMaintainUnsortedOrder:{type:Boolean},icons:{},rowHeight:{},rowStyle:{},rowClass:{},rowClassRules:{},suppressRowHoverHighlight:{type:Boolean},suppressRowTransform:{type:Boolean},columnHoverHighlight:{type:Boolean},gridId:{},deltaSort:{type:Boolean},treeDataDisplayType:{},enableGroupEdit:{type:Boolean},initialState:{},theme:{},loadThemeGoogleFonts:{type:Boolean},themeCssLayer:{},styleNonce:{},themeStyleContainer:{},getContextMenuItems:{type:Function},getMainMenuItems:{type:Function},postProcessPopup:{type:Function},processUnpinnedColumns:{type:Function},processCellForClipboard:{type:Function},processHeaderForClipboard:{type:Function},processGroupHeaderForClipboard:{type:Function},processCellFromClipboard:{type:Function},sendToClipboard:{type:Function},processDataFromClipboard:{type:Function},isExternalFilterPresent:{type:Function},doesExternalFilterPass:{type:Function},getChartToolbarItems:{type:Function},createChartContainer:{type:Function},focusGridInnerElement:{type:Function},navigateToNextHeader:{type:Function},tabToNextHeader:{type:Function},navigateToNextCell:{type:Function},tabToNextCell:{type:Function},getLocaleText:{type:Function},getDocument:{type:Function},paginationNumberFormatter:{type:Function},getGroupRowAgg:{type:Function},isGroupOpenByDefault:{type:Function},initialGroupOrderComparator:{type:Function},processPivotResultColDef:{type:Function},processPivotResultColGroupDef:{type:Function},getDataPath:{type:Function},getChildCount:{type:Function},getServerSideGroupLevelParams:{type:Function},isServerSideGroupOpenByDefault:{type:Function},isApplyServerSideTransaction:{type:Function},isServerSideGroup:{type:Function},getServerSideGroupKey:{type:Function},getBusinessKeyForNode:{type:Function},getRowId:{type:Function},resetRowDataOnUpdate:{type:Boolean},processRowPostCreate:{type:Function},isRowSelectable:{type:Function},isRowMaster:{type:Function},fillOperation:{type:Function},postSortRows:{type:Function},getRowStyle:{type:Function},getRowClass:{type:Function},getRowHeight:{type:Function},isFullWidthRow:{type:Function},"onTool-panel-visible-changed":{},"onTool-panel-size-changed":{},"onColumn-menu-visible-changed":{},"onContext-menu-visible-changed":{},"onCut-start":{},"onCut-end":{},"onPaste-start":{},"onPaste-end":{},"onColumn-visible":{},"onColumn-pinned":{},"onColumn-resized":{},"onColumn-moved":{},"onColumn-value-changed":{},"onColumn-pivot-mode-changed":{},"onColumn-pivot-changed":{},"onColumn-group-opened":{},"onNew-columns-loaded":{},"onGrid-columns-changed":{},"onDisplayed-columns-changed":{},"onVirtual-columns-changed":{},"onColumn-everything-changed":{},"onColumn-header-mouse-over":{},"onColumn-header-mouse-leave":{},"onColumn-header-clicked":{},"onColumn-header-context-menu":{},"onComponent-state-changed":{},"onCell-value-changed":{},"onCell-edit-request":{},"onRow-value-changed":{},"onCell-editing-started":{},"onCell-editing-stopped":{},"onRow-editing-started":{},"onRow-editing-stopped":{},"onUndo-started":{},"onUndo-ended":{},"onRedo-started":{},"onRedo-ended":{},"onCell-selection-delete-start":{},"onCell-selection-delete-end":{},"onRange-delete-start":{},"onRange-delete-end":{},"onFill-start":{},"onFill-end":{},"onFilter-opened":{},"onFilter-changed":{},"onFilter-modified":{},"onAdvanced-filter-builder-visible-changed":{},"onFind-changed":{},"onChart-created":{},"onChart-range-selection-changed":{},"onChart-options-changed":{},"onChart-destroyed":{},"onCell-key-down":{},"onGrid-ready":{},"onGrid-pre-destroyed":{},"onFirst-data-rendered":{},"onGrid-size-changed":{},"onModel-updated":{},"onVirtual-row-removed":{},"onViewport-changed":{},"onBody-scroll":{},"onBody-scroll-end":{},"onDrag-started":{},"onDrag-stopped":{},"onDrag-cancelled":{},"onState-updated":{},"onPagination-changed":{},"onRow-drag-enter":{},"onRow-drag-move":{},"onRow-drag-leave":{},"onRow-drag-end":{},"onRow-drag-cancel":{},"onColumn-row-group-changed":{},"onRow-group-opened":{},"onExpand-or-collapse-all":{},"onPivot-max-columns-exceeded":{},"onPinned-row-data-changed":{},"onRow-data-updated":{},"onAsync-transactions-flushed":{},"onStore-refreshed":{},"onHeader-focused":{},"onCell-clicked":{},"onCell-double-clicked":{},"onCell-focused":{},"onCell-mouse-over":{},"onCell-mouse-out":{},"onCell-mouse-down":{},"onRow-clicked":{},"onRow-double-clicked":{},"onRow-selected":{},"onSelection-changed":{},"onCell-context-menu":{},"onRange-selection-changed":{},"onCell-selection-changed":{},"onTooltip-show":{},"onTooltip-hide":{},"onSort-changed":{}},yo()),{modelValue:{},modelModifiers:{}}),emits:ee(["update:modelValue"],["update:modelValue"]),setup(s,{expose:n,emit:t}){const o=s,p=ge("root"),l=R(void 0),i=R(!1),r=R(!1),u=R(!1),m=R({}),g=R(null),S=xe(o);oe.filter(e=>e!="gridOptions").forEach(e=>{J(()=>S[e],(a,d)=>{(e==="rowData"&&!b.value||e!=="rowData")&&E(e,a),b.value=!1},{deep:!0})});const w=new Set(["rowDataUpdated","cellValueChanged","rowValueChanged"]),y=Te(s,"modelValue"),B=R(!1),b=R(!1),G=t;J(y,(e,a)=>{i.value&&(b.value||(B.value=!0,E("rowData",N(e),N(a))),b.value=!1)},{deep:!0});const L=Co(()=>{b.value=!0,G("update:modelValue",A())},10),P=U(),_=e=>{var a,d;u.value&&w.has(e)&&(d=(a=P==null?void 0:P.vnode)==null?void 0:a.props)!=null&&d["onUpdate:modelValue"]&&L()},O=()=>y.value||o.rowData||o.gridOptions.rowData,A=()=>{const e=[];return l==null||l.value.forEachLeafNode(a=>{e.push(a.data)}),e},k=e=>a=>{if(r.value)return;a==="gridReady"&&(u.value=!0);const d=ze.has(a);d&&!e||!d&&e||w.has(a)&&(B.value||_(a),B.value=!1)},E=(e,a,d)=>{if(i.value){let v=a.value||a;e==="rowData"&&v!=null&&(v=N(v)),m.value[e]=v,g.value==null&&(g.value=window.setTimeout(()=>{g.value=null,Ue(m.value,l.value),m.value={}},0))}},M=()=>Object.create(U().provides);return Y(()=>{Me.registerModules([Pe]);const e=new vo(U(),M()),a={globalListener:k(),globalSyncListener:k(!0),frameworkOverrides:new go(U()),providedBeanInstances:{frameworkCompWrapper:e},modules:o.modules},d=Oe(Ae(N(o.gridOptions),o,[...oe,...ke.map(c=>Ee(c))])),v=O();v!==void 0&&(d.rowData=N(v)),l.value=He(p.value,d,a),i.value=!0}),ye(()=>{var e;i.value&&((e=l==null?void 0:l.value)==null||e.destroy(),r.value=!0)}),n({api:l}),(e,a)=>(H(),K("div",fo,null,512))}}),Ro=["onKeydown"],So={class:"flex-1 overflow-hidden"},Fo={class:"flex justify-end gap-1 p-2"},Bo=z({__name:"AgJsonCellEditor",props:{params:{}},setup(s,{expose:n}){const t=s,o=R({});let p=!1;Y(()=>{const w=t.params.value;try{o.value=typeof w=="string"?JSON.parse(w):{...w}}catch{console.warn("Invalid JSON in cell, starting with empty object"),o.value={}}});const l=()=>{p=!0,t.params.stopEditing()},i=()=>{p=!1,t.params.stopEditing()},r=R("text");function u(){return p?o.value?typeof o.value=="object"?(console.log("1"),JSON.stringify(o.value)):o.value:null:t.params.value}function m(){return!p}function g(){return!1}function S(){}return n({getValue:u,isCancelAfterEnd:m,isCancelBeforeStart:g,afterGuiAttached:S}),(w,y)=>(H(),K("div",{class:"w-[35rem] h-[20rem] bg-background border resize overflow-y-auto rounded-md flex flex-col",tabindex:"0",onKeydown:[le(i,["esc"]),le(je(l,["ctrl"]),["enter"])]},[X("div",So,[W(x(io),{modelValue:o.value,"onUpdate:modelValue":y[0]||(y[0]=B=>o.value=B),class:"h-full rounded-md",mode:r.value,navigationBar:!1,onModeChange:y[1]||(y[1]=B=>r.value=B)},null,8,["modelValue","mode"])]),X("div",Fo,[W(x(ie),{onClick:i,variant:"outline",size:"xxs"},{default:re(()=>y[2]||(y[2]=[se(" Cancel ")])),_:1}),W(x(ie),{onClick:l,size:"xxs"},{default:re(()=>y[3]||(y[3]=[se(" Oke ")])),_:1})])],40,Ro))}}),Do={class:"flex gap-0.5 items-center"},bo={class:"overflow-hidden text-ellipsis"},xo=z({__name:"DynamicPrimaryKeyHeader",props:{params:{}},setup(s){const n=s;return(t,o)=>(H(),K("div",Do,[n.params.isPrimaryKey?(H(),de(x(pe),{key:0,name:"lucide:key-round",class:"min-w-3! text-yellow-500"})):ue("",!0),n.params.isForeignKey?(H(),de(x(pe),{key:1,name:"lucide:key-round",class:"min-w-3!"})):ue("",!0),X("span",bo,Ke(t.params.displayName),1)]))}});function To(){const s=R(null);return{gridApi:s,onGridReady:t=>{s.value=t.api}}}function Mo(){const s=$e(),n=qe();return j(()=>{const t=n.tableAppearanceConfigs,o=s.value==="dark",p=o?Je:Xe,l={fontSize:t.fontSize,rowHeight:t.rowHeight,spacing:t.cellSpacing,accentColor:o?t.accentColorDark:t.accentColorLight,headerFontSize:t.headerFontSize,headerFontWeight:t.headerFontWeight},i=o?t.headerBackgroundColorDark:t.headerBackgroundColorLight;return i&&(l.headerBackgroundColor=i),p.withParams(l)})}const Po=document.createElement("canvas"),me=Po.getContext("2d");function Re(s,n){return me.font=n,Math.round(me.measureText(s).width)}function Oo(s,n){const o=n.map(p=>Fe(p[s])).reduce((p,l)=>p.length>=l.length?p:l);return Re(o,"500 12px system-ui")}function Se({rows:s,headerName:n,field:t,maxWidth:o=he,minWidth:p=fe,gapWidth:l=we}){const i=Re(n,"700 14px system-ui"),r=s.length?Oo(t,s):0,u=Math.max(i,r)+l;return Math.min(o,Math.max(p,u))}function Ao({rows:s,columns:n,maxWidth:t=he,minWidth:o=fe,gapWidth:p=we}){const l={};return n.forEach(i=>{const{headerName:r="",field:u}=i.getColDef();u&&(l[u]=Se({rows:s,headerName:r,field:u,maxWidth:t,minWidth:o,gapWidth:p}))}),l}const Fe=(s,n)=>s===null?"NULL":(typeof s=="object"||Object.prototype.toString.call(s)==="[object Object]")&&s!==null?s?JSON.stringify(s,null,2):"":s||"",ko=({debounceDelay:s=Ze,gridApi:n,rowHeight:t=eo,gridRef:o})=>{const p=R(!1),l=R(-1),i=Ye({min:-1,max:-1});let r=null,u=!1,m={x:0,y:0},g=null,S=-1,w=0;const y=10,B=10;function b({currentIndex:e,gridApi:a}){var h,f;const d=l.value,v=Math.min(d,e),c=Math.max(d,e);if(!(v===i.min&&c===i.max)){if(i.min!==-1)for(let C=i.min;C<=i.max;C++)(C<v||C>c)&&((h=a.getDisplayedRowAtIndex(C))==null||h.setSelected(!1));for(let C=v;C<=c;C++)(C<i.min||C>i.max)&&((f=a.getDisplayedRowAtIndex(C))==null||f.setSelected(!0));i.min=v,i.max=c}}function G(){p.value=!1,l.value=-1,i.min=-1,i.max=-1}function L(e){const a=e.api,d=e.event,v=(d==null?void 0:d.button)===0,c=d==null?void 0:d.shiftKey;!v||c||e.rowIndex!=null&&(p.value=!0,l.value=e.rowIndex,a.deselectAll(),e.node.setSelected(!0))}function P(e,a){!p.value||e.rowIndex==null||(S=e.rowIndex,b({currentIndex:e.rowIndex,gridApi:a}))}const _=ro(e=>{const a=e.api;P(e,a)},s,{leading:!0,trailing:!0});function O(e){e.target instanceof HTMLElement&&(u=!0,m.x=e.clientX,m.y=e.clientY,document.addEventListener("pointermove",A,!0),document.addEventListener("pointerup",k,{once:!0,capture:!0}),E())}function A(e){m.x=e.clientX,m.y=e.clientY}function k(){u=!1,document.removeEventListener("pointermove",A,!0),M()}function E(){if(g)return;const e=()=>{if(!u||!r){g=null;return}const a=r.getBoundingClientRect();let d=0;const v=m.y<a.top||m.y>a.bottom;if(m.y<a.top+y?d=-Math.ceil((y-(m.y-a.top))/y*B):m.y>a.bottom-y&&(d=Math.ceil((m.y-(a.bottom-y))/y*B)),d!==0&&v&&(w+=d,r.scrollTop+=d,n!=null&&n.value)){const c=Math.trunc(w/t);c!==0&&(w-=c*t,S+=c,S<=0&&(S=0),b({currentIndex:S,gridApi:n==null?void 0:n.value}))}g=requestAnimationFrame(e)};g=requestAnimationFrame(e)}function M(){g&&cancelAnimationFrame(g),g=null,w=0}return Qe("mouseup",()=>{p.value&&(M(),G())}),Y(async()=>{var a;await Ce();const e=o==null?void 0:o.value;r=(a=e==null?void 0:e.$el)==null?void 0:a.querySelector(".ag-body-viewport"),r&&r.addEventListener("pointerdown",O)}),ye(()=>{M(),r==null||r.removeEventListener("pointerdown",O)}),{handleCellMouseDown:L,handleCellMouseOverDebounced:_}},Go=z({__name:"DynamicTable",props:{columns:{},data:{},class:{},skipReColumnSize:{type:Boolean},columnKeyBy:{},selectedRows:{},hasHashIndex:{type:Boolean,default:!0},getCellClass:{},overrideColumnDefs:{},overrideRowData:{},externalGridOptions:{},externalComponents:{}},emits:["onSelectedRows","onFocusCell"],setup(s,{expose:n,emit:t}){const o=s,p=t,{gridApi:l,onGridReady:i}=To(),r=ge("agGridRef"),u=R(),m=R(),g=R();oo(r,()=>{});const S=j(()=>o.overrideRowData?o.overrideRowData:(o.data??[]).map((e,a)=>({[q]:a+1,...e}))),{handleCellMouseOverDebounced:w,handleCellMouseDown:y}=ko({gridApi:l,gridRef:r}),B=j(()=>{var d;if(o.overrideColumnDefs)return o.overrideColumnDefs;if(!((d=o.columns)!=null&&d.length))return[];const e=[];o.hasHashIndex&&e.push({colId:q,headerName:uo,field:q,filter:!1,resizable:!1,editable:!1,sortable:!0,pinned:"left",width:so});const a=(o.data||[]).slice(0,10);return o.columns.forEach(({originalName:v,isPrimaryKey:c,isForeignKey:h,aliasFieldName:f},C)=>{let D="";o.columnKeyBy==="index"?D=`${C}`:D=v;const Q=f,Be=c||h?ce:0,De=Se({headerName:Q,rows:a,field:D,gapWidth:ve})+Be,be={headerName:Q,field:D,filter:!0,resizable:!0,editable:!0,sortable:!0,type:"editableColumn",headerComponentParams:{innerHeaderComponent:xo,isPrimaryKey:c,isForeignKey:h},cellClass:T=>{var Z;const F=String(T.colDef.field||""),$=(Z=o.getCellClass)==null?void 0:Z.call(o,F,T.data);return $?`cellCenter ${$}`:"cellCenter"},cellEditorSelector:T=>{const F=T.data[D];if(typeof F==="object"&&F!==null)return{component:"AgJsonCellEditor",popup:!0,popupPosition:"under"}},valueFormatter:T=>{const F=T.value;return F===null?"NULL":typeof F=="object"&&F!==null?JSON.stringify(F,null,2):F??""},valueSetter:T=>{try{const F=JSON.parse(T.newValue);return T.data[D]=F,!0}catch(F){return console.error(`Invalid JSON format in column ${D}:`,F),!1}},width:De};e.push(be)}),e}),b=Mo();J(b,e=>{var a;(a=l.value)==null||a.updateGridOptions({theme:e})});const G=j(()=>{const e={rowClass:"class-row-border-none",rowBuffer:to,getRowStyle:d=>{if((d.node.rowIndex||0)%2===0)return{background:"var(--muted)"}},rowSelection:{mode:"multiRow",checkboxes:!1,headerCheckbox:!1,enableSelectionWithoutKeys:!1,enableClickSelection:"enableSelection",copySelectedRows:!1},theme:b.value,pagination:!1,undoRedoCellEditing:!0,undoRedoCellEditingLimit:25,animateRows:!0,onCellMouseDown:y,onCellMouseOver:w,components:{AgJsonCellEditor:Bo}},a=o.externalGridOptions||{};return{...e,...a,components:{...e.components||{},...a.components||{},...o.externalComponents||{}}}}),L=R({indexColumn:{},editableColumn:{cellStyle:e=>{var f,C,D;const a=Number(e.node.id??e.node.rowIndex);if(((f=o.data)==null?void 0:f[a])===void 0)return{backgroundColor:"var(--color-green-200)"};const d=e.colDef.field??"",v={};if(!d)return;let c="";return o.columnKeyBy==="index"?c=Number(d):c=d,((D=(C=o==null?void 0:o.data)==null?void 0:C[a])==null?void 0:D[c])===null&&(v.color="var(--muted-foreground)"),v},cellClass:()=>"cellCenter"}}),P=()=>{if(l.value){const e=l.value.getSelectedRows();_(e)}},_=e=>{p("onSelectedRows",e)},O=()=>{var a,d,v;const e=(a=l.value)==null?void 0:a.getFocusedCell();if(e){const c=(d=l.value)==null?void 0:d.getDisplayedRowAtIndex(e.rowIndex),h=e.column.getColId(),f=(v=c==null?void 0:c.data)==null?void 0:v[h];p("onFocusCell",f??void 0)}};no([{key:"meta+c",callback:async()=>{var a,d,v;const e=(a=l.value)==null?void 0:a.getFocusedCell();if(e){const c=(d=l.value)==null?void 0:d.getDisplayedRowAtIndex(e.rowIndex),h=e.column.getColId(),f=(v=c==null?void 0:c.data)==null?void 0:v[h];await navigator.clipboard.writeText(Fe(f)||"")}},excludeInput:!0}],{isPreventDefault:!1,target:u});const A=async()=>{var c;if(!l.value||o.skipReColumnSize||o.overrideColumnDefs)return;const e=((c=l.value)==null?void 0:c.getAllGridColumns())||[],a=new Map;o.columns.forEach((h,f)=>{(h.isPrimaryKey||h.isForeignKey)&&a.set(f.toString(),!0)});const d=(o.data||[]).slice(0,10),v=Ao({columns:e,rows:d||[],gapWidth:ve});l.value.updateGridOptions({columnDefs:e.map(h=>{const f=h.getColDef().field,D=a.get(f)?ce:0;return{...h.getColDef(),width:v[f]+D}})})},k=e=>{var a,d;(a=o.selectedRows)!=null&&a.length||(d=e==null?void 0:e.node)==null||d.setSelected(!0),m.value=e},E=e=>{g.value=e},M=()=>{m.value=void 0,g.value=void 0};return ao(async()=>{var c,h,f;if(!l.value)return;await Ce();const e=l.value.getState(),a=document.querySelector(".ag-body-viewport");a&&(a.scrollTop=((c=e.scroll)==null?void 0:c.top)||0);const d=((h=l.value)==null?void 0:h.getAllGridColumns())||[];let v=0;for(const C of d){if(v>=(((f=e.scroll)==null?void 0:f.left)||0)){l.value.ensureColumnVisible(C.getColId(),"start");break}v+=C.getActualWidth()}}),n({gridApi:l,columnDefs:B,cellContextMenu:m,cellHeaderContextMenu:g,clearCellContextMenu:M}),(e,a)=>(H(),K("div",{class:"h-full",ref_key:"containerRef",ref:u},[W(x(wo),{onSelectionChanged:P,onGridReady:x(i),onCellFocused:O,onRowDataUpdated:A,onCellContextMenu:k,onColumnHeaderContextMenu:E,"suppress-scroll-on-new-data":!0,class:lo(o.class),"grid-options":x(G),columnDefs:x(B),rowData:x(S),columnTypes:x(L),"copy-headers-to-clipboard":!0,ref_key:"agGridRef",ref:r},null,8,["onGridReady","class","grid-options","columnDefs","rowData","columnTypes"])],512))}});export{wo as F,Go as _,ko as a,Mo as b,Fe as c,Bo as d,Ao as e,To as u};
1
+ import{d as z,bY as ee,bZ as ge,r as R,as as xe,b_ as oe,au as J,bW as Te,e as K,av as Y,b$ as Me,c0 as Pe,aR as U,c1 as Oe,c2 as Ae,c3 as ke,c4 as Ee,c5 as He,aL as ye,o as H,c6 as Ie,c7 as Ge,c8 as Le,c9 as te,ca as ne,f as W,cb as ae,i as _e,cc as Ne,cd as We,ce as Ve,cf as ze,cg as Ue,bL as le,bk as je,m as X,g as x,a0 as ie,w as re,z as se,k as de,l as ue,A as pe,t as Ke,ch as $e,ci as qe,c as j,cj as Je,ck as Xe,aC as Ye,cl as Qe,ay as Ce,cm as Ze,cn as eo,co as oo,cp as to,b9 as no,cq as ao,n as lo}from"./D0lW43G8.js";import{i as io,d as ro}from"./Cf460dGA.js";import{D as he,a as fe,b as we,H as q,c as so,d as uo,e as ce,f as ve}from"./CS5akSNT.js";var po=Object.defineProperty,co=(s,n,t)=>n in s?po(s,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[n]=t,I=(s,n,t)=>co(s,typeof n!="symbol"?n+"":n,t);class V{static getComponentDefinition(n,t){let o;return typeof n=="string"?o=this.searchForComponentInstance(t,n):o={extends:z({...n})},o||ne(114,{component:n}),o.extends?(o.extends.setup&&(o.setup=o.extends.setup),o.extends.props=this.addParamsToProps(o.extends.props)):o.props=this.addParamsToProps(o.props),o}static addParamsToProps(n){return!n||Array.isArray(n)&&n.indexOf("params")===-1?n=["params",...n||[]]:typeof n=="object"&&!n.params&&(n.params={type:Object}),n}static createAndMountComponent(n,t,o,p){const l=V.getComponentDefinition(n,o);if(!l)return;const{vNode:i,destroy:r,el:u}=this.mount(l,{params:Object.freeze(t)},o,p||{});return{componentInstance:i.component.proxy,element:u,destroy:r}}static mount(n,t,o,p){let l=W(n,t);l.appContext={...o.appContext,provides:p};let i=document.createElement("div");return ae(l,i),{vNode:l,destroy:()=>{i&&ae(null,i),i=null,l=null},el:i}}static searchForComponentInstance(n,t,o=10,p=!1){let l=null,i=0,r=n.parent;for(;!l&&r&&r.components&&++i<o;)r.components&&r.components[t]&&(l=r.components[t]),r=r.parent;for(i=0,r=n.parent;!l&&r&&r.$options&&++i<o;){const u=r;u.$options&&u.$options.components&&u.$options.components[t]?l=u.$options.components[t]:u[t]&&(l=u[t]),r=r.parent}for(i=0,r=n.parent;!l&&r&&++i<o;){if(r.exposed){const u=r;u.exposed&&u.exposed[t]?l=u.exposed[t]:u[t]&&(l=u[t])}r=r.parent}if(!l){const u=n.appContext.components;u&&u[t]&&(l=u[t])}return!l&&!p?(ne(114,{component:t}),null):l}}class vo extends Ie{constructor(n,t){super(),I(this,"parent"),I(this,"provides"),this.parent=n,this.provides=t}createWrapper(n){const t=this;class o extends mo{init(i){super.init(i)}hasMethod(i){var r,u;const m=p.getFrameworkComponentInstance();return m[i]?!0:((r=m.$.exposed)==null?void 0:r[i])!=null||((u=m.exposed)==null?void 0:u[i])!=null||m.$.setupState[i]!=null}callMethod(i,r){var u,m;const g=this.getFrameworkComponentInstance(),S=p.getFrameworkComponentInstance();if(S[i])return S[i].apply(g,r);{const w=((u=g.$.exposed)==null?void 0:u[i])||((m=g.exposed)==null?void 0:m[i])||g.$.setupState[i];return w==null?void 0:w.apply(g,r)}}addMethod(i,r){p[i]=r}processMethod(i,r){return i==="refresh"&&(this.getFrameworkComponentInstance().params=r[0]),this.hasMethod(i)?this.callMethod(i,r):i==="refresh"}createComponent(i){return t.createComponent(n,i)}}const p=new o;return p}createComponent(n,t){return V.createAndMountComponent(n,t,this.parent,this.provides)}createMethodProxy(n,t,o){return function(){return n.hasMethod(t)?n.callMethod(t,arguments):(o&&Ge(233,{methodName:t}),null)}}destroy(){this.parent=null}}class mo{constructor(){I(this,"componentInstance"),I(this,"element"),I(this,"unmount")}getGui(){return this.element}destroy(){this.getFrameworkComponentInstance()&&typeof this.getFrameworkComponentInstance().destroy=="function"&&this.getFrameworkComponentInstance().destroy(),this.unmount()}getFrameworkComponentInstance(){return this.componentInstance}init(n){const{componentInstance:t,element:o,destroy:p}=this.createComponent(n);this.componentInstance=t,this.unmount=p,this.element=o.firstElementChild??o}}class go extends Le{constructor(n){super("vue"),I(this,"parent"),this.parent=n}frameworkComponent(n,t){let o=V.searchForComponentInstance(this.parent,n,10,!0)?n:null;if(!o&&t&&t[n]){const p=t[n];o=V.searchForComponentInstance(this.parent,p,10,!0)?p:null}return o}isFrameworkComponent(n){return typeof n=="object"}}function yo(){return{gridOptions:{},modules:[],statusBar:void 0,sideBar:void 0,suppressContextMenu:void 0,preventDefaultOnContextMenu:void 0,allowContextMenuWithControlKey:void 0,columnMenu:void 0,suppressMenuHide:void 0,enableBrowserTooltips:void 0,tooltipTrigger:void 0,tooltipShowDelay:void 0,tooltipHideDelay:void 0,tooltipMouseTrack:void 0,tooltipShowMode:void 0,tooltipInteraction:void 0,popupParent:void 0,copyHeadersToClipboard:void 0,copyGroupHeadersToClipboard:void 0,clipboardDelimiter:void 0,suppressCopyRowsToClipboard:void 0,suppressCopySingleCellRanges:void 0,suppressLastEmptyLineOnPaste:void 0,suppressClipboardPaste:void 0,suppressClipboardApi:void 0,suppressCutToClipboard:void 0,columnDefs:void 0,defaultColDef:void 0,defaultColGroupDef:void 0,columnTypes:void 0,dataTypeDefinitions:void 0,maintainColumnOrder:void 0,enableStrictPivotColumnOrder:void 0,suppressFieldDotNotation:void 0,headerHeight:void 0,groupHeaderHeight:void 0,floatingFiltersHeight:void 0,pivotHeaderHeight:void 0,pivotGroupHeaderHeight:void 0,allowDragFromColumnsToolPanel:void 0,suppressMovableColumns:void 0,suppressColumnMoveAnimation:void 0,suppressMoveWhenColumnDragging:void 0,suppressDragLeaveHidesColumns:void 0,suppressGroupChangesColumnVisibility:void 0,suppressMakeColumnVisibleAfterUnGroup:void 0,suppressRowGroupHidesColumns:void 0,colResizeDefault:void 0,suppressAutoSize:void 0,autoSizePadding:void 0,skipHeaderOnAutoSize:void 0,autoSizeStrategy:void 0,components:void 0,editType:void 0,singleClickEdit:void 0,suppressClickEdit:void 0,readOnlyEdit:void 0,stopEditingWhenCellsLoseFocus:void 0,enterNavigatesVertically:void 0,enterNavigatesVerticallyAfterEdit:void 0,enableCellEditingOnBackspace:void 0,undoRedoCellEditing:void 0,undoRedoCellEditingLimit:void 0,defaultCsvExportParams:void 0,suppressCsvExport:void 0,defaultExcelExportParams:void 0,suppressExcelExport:void 0,excelStyles:void 0,findSearchValue:void 0,findOptions:void 0,quickFilterText:void 0,cacheQuickFilter:void 0,includeHiddenColumnsInQuickFilter:void 0,quickFilterParser:void 0,quickFilterMatcher:void 0,applyQuickFilterBeforePivotOrAgg:void 0,excludeChildrenWhenTreeDataFiltering:void 0,enableAdvancedFilter:void 0,alwaysPassFilter:void 0,includeHiddenColumnsInAdvancedFilter:void 0,advancedFilterParent:void 0,advancedFilterBuilderParams:void 0,suppressAdvancedFilterEval:void 0,suppressSetFilterByDefault:void 0,enableCharts:void 0,chartThemes:void 0,customChartThemes:void 0,chartThemeOverrides:void 0,chartToolPanelsDef:void 0,chartMenuItems:void 0,loadingCellRenderer:void 0,loadingCellRendererParams:void 0,loadingCellRendererSelector:void 0,localeText:void 0,masterDetail:void 0,keepDetailRows:void 0,keepDetailRowsCount:void 0,detailCellRenderer:void 0,detailCellRendererParams:void 0,detailRowHeight:void 0,detailRowAutoHeight:void 0,context:void 0,dragAndDropImageComponent:void 0,dragAndDropImageComponentParams:void 0,alignedGrids:void 0,tabIndex:void 0,rowBuffer:void 0,valueCache:void 0,valueCacheNeverExpires:void 0,enableCellExpressions:void 0,suppressTouch:void 0,suppressFocusAfterRefresh:void 0,suppressBrowserResizeObserver:void 0,suppressPropertyNamesCheck:void 0,suppressChangeDetection:void 0,debug:void 0,loading:void 0,overlayLoadingTemplate:void 0,loadingOverlayComponent:void 0,loadingOverlayComponentParams:void 0,suppressLoadingOverlay:void 0,overlayNoRowsTemplate:void 0,noRowsOverlayComponent:void 0,noRowsOverlayComponentParams:void 0,suppressNoRowsOverlay:void 0,pagination:void 0,paginationPageSize:void 0,paginationPageSizeSelector:void 0,paginationAutoPageSize:void 0,paginateChildRows:void 0,suppressPaginationPanel:void 0,pivotMode:void 0,pivotPanelShow:void 0,pivotMaxGeneratedColumns:void 0,pivotDefaultExpanded:void 0,pivotColumnGroupTotals:void 0,pivotRowTotals:void 0,pivotSuppressAutoColumn:void 0,suppressExpandablePivotGroups:void 0,functionsReadOnly:void 0,aggFuncs:void 0,suppressAggFuncInHeader:void 0,alwaysAggregateAtRootLevel:void 0,aggregateOnlyChangedColumns:void 0,suppressAggFilteredOnly:void 0,removePivotHeaderRowWhenSingleValueColumn:void 0,animateRows:void 0,cellFlashDuration:void 0,cellFadeDuration:void 0,allowShowChangeAfterFilter:void 0,domLayout:void 0,ensureDomOrder:void 0,enableCellSpan:void 0,enableRtl:void 0,suppressColumnVirtualisation:void 0,suppressMaxRenderedRowRestriction:void 0,suppressRowVirtualisation:void 0,rowDragManaged:void 0,suppressRowDrag:void 0,suppressMoveWhenRowDragging:void 0,rowDragEntireRow:void 0,rowDragMultiRow:void 0,rowDragText:void 0,fullWidthCellRenderer:void 0,fullWidthCellRendererParams:void 0,embedFullWidthRows:void 0,groupDisplayType:void 0,groupDefaultExpanded:void 0,autoGroupColumnDef:void 0,groupMaintainOrder:void 0,groupSelectsChildren:void 0,groupLockGroupColumns:void 0,groupAggFiltering:void 0,groupTotalRow:void 0,grandTotalRow:void 0,suppressStickyTotalRow:void 0,groupSuppressBlankHeader:void 0,groupSelectsFiltered:void 0,showOpenedGroup:void 0,groupHideParentOfSingleChild:void 0,groupRemoveSingleChildren:void 0,groupRemoveLowestSingleChildren:void 0,groupHideOpenParents:void 0,groupAllowUnbalanced:void 0,rowGroupPanelShow:void 0,groupRowRenderer:void 0,groupRowRendererParams:void 0,treeData:void 0,treeDataChildrenField:void 0,treeDataParentIdField:void 0,rowGroupPanelSuppressSort:void 0,suppressGroupRowsSticky:void 0,pinnedTopRowData:void 0,pinnedBottomRowData:void 0,rowModelType:void 0,rowData:void 0,asyncTransactionWaitMillis:void 0,suppressModelUpdateAfterUpdateTransaction:void 0,datasource:void 0,cacheOverflowSize:void 0,infiniteInitialRowCount:void 0,serverSideInitialRowCount:void 0,suppressServerSideFullWidthLoadingRow:void 0,cacheBlockSize:void 0,maxBlocksInCache:void 0,maxConcurrentDatasourceRequests:void 0,blockLoadDebounceMillis:void 0,purgeClosedRowNodes:void 0,serverSideDatasource:void 0,serverSideSortAllLevels:void 0,serverSideEnableClientSideSort:void 0,serverSideOnlyRefreshFilteredGroups:void 0,serverSidePivotResultFieldSeparator:void 0,viewportDatasource:void 0,viewportRowModelPageSize:void 0,viewportRowModelBufferSize:void 0,alwaysShowHorizontalScroll:void 0,alwaysShowVerticalScroll:void 0,debounceVerticalScrollbar:void 0,suppressHorizontalScroll:void 0,suppressScrollOnNewData:void 0,suppressScrollWhenPopupsAreOpen:void 0,suppressAnimationFrame:void 0,suppressMiddleClickScrolls:void 0,suppressPreventDefaultOnMouseWheel:void 0,scrollbarWidth:void 0,rowSelection:void 0,cellSelection:void 0,rowMultiSelectWithClick:void 0,suppressRowDeselection:void 0,suppressRowClickSelection:void 0,suppressCellFocus:void 0,suppressHeaderFocus:void 0,selectionColumnDef:void 0,rowNumbers:void 0,suppressMultiRangeSelection:void 0,enableCellTextSelection:void 0,enableRangeSelection:void 0,enableRangeHandle:void 0,enableFillHandle:void 0,fillHandleDirection:void 0,suppressClearOnFillReduction:void 0,sortingOrder:void 0,accentedSort:void 0,unSortIcon:void 0,suppressMultiSort:void 0,alwaysMultiSort:void 0,multiSortKey:void 0,suppressMaintainUnsortedOrder:void 0,icons:void 0,rowHeight:void 0,rowStyle:void 0,rowClass:void 0,rowClassRules:void 0,suppressRowHoverHighlight:void 0,suppressRowTransform:void 0,columnHoverHighlight:void 0,gridId:void 0,deltaSort:void 0,treeDataDisplayType:void 0,enableGroupEdit:void 0,initialState:void 0,theme:void 0,loadThemeGoogleFonts:void 0,themeCssLayer:void 0,styleNonce:void 0,themeStyleContainer:void 0,getContextMenuItems:void 0,getMainMenuItems:void 0,postProcessPopup:void 0,processUnpinnedColumns:void 0,processCellForClipboard:void 0,processHeaderForClipboard:void 0,processGroupHeaderForClipboard:void 0,processCellFromClipboard:void 0,sendToClipboard:void 0,processDataFromClipboard:void 0,isExternalFilterPresent:void 0,doesExternalFilterPass:void 0,getChartToolbarItems:void 0,createChartContainer:void 0,focusGridInnerElement:void 0,navigateToNextHeader:void 0,tabToNextHeader:void 0,navigateToNextCell:void 0,tabToNextCell:void 0,getLocaleText:void 0,getDocument:void 0,paginationNumberFormatter:void 0,getGroupRowAgg:void 0,isGroupOpenByDefault:void 0,initialGroupOrderComparator:void 0,processPivotResultColDef:void 0,processPivotResultColGroupDef:void 0,getDataPath:void 0,getChildCount:void 0,getServerSideGroupLevelParams:void 0,isServerSideGroupOpenByDefault:void 0,isApplyServerSideTransaction:void 0,isServerSideGroup:void 0,getServerSideGroupKey:void 0,getBusinessKeyForNode:void 0,getRowId:void 0,resetRowDataOnUpdate:void 0,processRowPostCreate:void 0,isRowSelectable:void 0,isRowMaster:void 0,fillOperation:void 0,postSortRows:void 0,getRowStyle:void 0,getRowClass:void 0,getRowHeight:void 0,isFullWidthRow:void 0,"onColumn-everything-changed":void 0,"onNew-columns-loaded":void 0,"onColumn-pivot-mode-changed":void 0,"onPivot-max-columns-exceeded":void 0,"onColumn-row-group-changed":void 0,"onExpand-or-collapse-all":void 0,"onColumn-pivot-changed":void 0,"onGrid-columns-changed":void 0,"onColumn-value-changed":void 0,"onColumn-moved":void 0,"onColumn-visible":void 0,"onColumn-pinned":void 0,"onColumn-group-opened":void 0,"onColumn-resized":void 0,"onDisplayed-columns-changed":void 0,"onVirtual-columns-changed":void 0,"onColumn-header-mouse-over":void 0,"onColumn-header-mouse-leave":void 0,"onColumn-header-clicked":void 0,"onColumn-header-context-menu":void 0,"onAsync-transactions-flushed":void 0,"onRow-group-opened":void 0,"onRow-data-updated":void 0,"onPinned-row-data-changed":void 0,"onRange-selection-changed":void 0,"onCell-selection-changed":void 0,"onChart-created":void 0,"onChart-range-selection-changed":void 0,"onChart-options-changed":void 0,"onChart-destroyed":void 0,"onTool-panel-visible-changed":void 0,"onTool-panel-size-changed":void 0,"onModel-updated":void 0,"onCut-start":void 0,"onCut-end":void 0,"onPaste-start":void 0,"onPaste-end":void 0,"onFill-start":void 0,"onFill-end":void 0,"onCell-selection-delete-start":void 0,"onCell-selection-delete-end":void 0,"onRange-delete-start":void 0,"onRange-delete-end":void 0,"onUndo-started":void 0,"onUndo-ended":void 0,"onRedo-started":void 0,"onRedo-ended":void 0,"onCell-clicked":void 0,"onCell-double-clicked":void 0,"onCell-mouse-down":void 0,"onCell-context-menu":void 0,"onCell-value-changed":void 0,"onCell-edit-request":void 0,"onRow-value-changed":void 0,"onHeader-focused":void 0,"onCell-focused":void 0,"onRow-selected":void 0,"onSelection-changed":void 0,"onTooltip-show":void 0,"onTooltip-hide":void 0,"onCell-key-down":void 0,"onCell-mouse-over":void 0,"onCell-mouse-out":void 0,"onFilter-changed":void 0,"onFilter-modified":void 0,"onFilter-opened":void 0,"onAdvanced-filter-builder-visible-changed":void 0,"onSort-changed":void 0,"onVirtual-row-removed":void 0,"onRow-clicked":void 0,"onRow-double-clicked":void 0,"onGrid-ready":void 0,"onGrid-pre-destroyed":void 0,"onGrid-size-changed":void 0,"onViewport-changed":void 0,"onFirst-data-rendered":void 0,"onDrag-started":void 0,"onDrag-stopped":void 0,"onDrag-cancelled":void 0,"onRow-editing-started":void 0,"onRow-editing-stopped":void 0,"onCell-editing-started":void 0,"onCell-editing-stopped":void 0,"onBody-scroll":void 0,"onBody-scroll-end":void 0,"onPagination-changed":void 0,"onComponent-state-changed":void 0,"onStore-refreshed":void 0,"onState-updated":void 0,"onColumn-menu-visible-changed":void 0,"onContext-menu-visible-changed":void 0,"onRow-drag-enter":void 0,"onRow-drag-move":void 0,"onRow-drag-leave":void 0,"onRow-drag-end":void 0,"onRow-drag-cancel":void 0,"onFind-changed":void 0}}const Co=(s,n)=>{let t;return()=>{const o=function(){s()};window.clearTimeout(t),t=window.setTimeout(o,n)}};function ho(s){return s&&s.constructor&&s.constructor.toString().substring(0,5)==="class"}function N(s){const n=t=>ho(t)?te(t):Array.isArray(t)?t.map(o=>n(o)):_e(t)||Ne(t)||We(t)?n(te(t)):t;return n(s)}const fo={ref:"root"},wo=z({__name:"AgGridVue",props:ee(Ve({gridOptions:{},modules:{},statusBar:{},sideBar:{type:[Object,String,Array,Boolean,null]},suppressContextMenu:{type:Boolean},preventDefaultOnContextMenu:{type:Boolean},allowContextMenuWithControlKey:{type:Boolean},columnMenu:{},suppressMenuHide:{type:Boolean},enableBrowserTooltips:{type:Boolean},tooltipTrigger:{},tooltipShowDelay:{},tooltipHideDelay:{},tooltipMouseTrack:{type:Boolean},tooltipShowMode:{},tooltipInteraction:{type:Boolean},popupParent:{},copyHeadersToClipboard:{type:Boolean},copyGroupHeadersToClipboard:{type:Boolean},clipboardDelimiter:{},suppressCopyRowsToClipboard:{type:Boolean},suppressCopySingleCellRanges:{type:Boolean},suppressLastEmptyLineOnPaste:{type:Boolean},suppressClipboardPaste:{type:Boolean},suppressClipboardApi:{type:Boolean},suppressCutToClipboard:{type:Boolean},columnDefs:{},defaultColDef:{},defaultColGroupDef:{},columnTypes:{},dataTypeDefinitions:{},maintainColumnOrder:{type:Boolean},enableStrictPivotColumnOrder:{type:Boolean},suppressFieldDotNotation:{type:Boolean},headerHeight:{},groupHeaderHeight:{},floatingFiltersHeight:{},pivotHeaderHeight:{},pivotGroupHeaderHeight:{},allowDragFromColumnsToolPanel:{type:Boolean},suppressMovableColumns:{type:Boolean},suppressColumnMoveAnimation:{type:Boolean},suppressMoveWhenColumnDragging:{type:Boolean},suppressDragLeaveHidesColumns:{type:Boolean},suppressGroupChangesColumnVisibility:{type:[Boolean,String]},suppressMakeColumnVisibleAfterUnGroup:{type:Boolean},suppressRowGroupHidesColumns:{type:Boolean},colResizeDefault:{},suppressAutoSize:{type:Boolean},autoSizePadding:{},skipHeaderOnAutoSize:{type:Boolean},autoSizeStrategy:{},components:{},editType:{},singleClickEdit:{type:Boolean},suppressClickEdit:{type:Boolean},readOnlyEdit:{type:Boolean},stopEditingWhenCellsLoseFocus:{type:Boolean},enterNavigatesVertically:{type:Boolean},enterNavigatesVerticallyAfterEdit:{type:Boolean},enableCellEditingOnBackspace:{type:Boolean},undoRedoCellEditing:{type:Boolean},undoRedoCellEditingLimit:{},defaultCsvExportParams:{},suppressCsvExport:{type:Boolean},defaultExcelExportParams:{},suppressExcelExport:{type:Boolean},excelStyles:{},findSearchValue:{},findOptions:{},quickFilterText:{},cacheQuickFilter:{type:Boolean},includeHiddenColumnsInQuickFilter:{type:Boolean},quickFilterParser:{type:Function},quickFilterMatcher:{type:Function},applyQuickFilterBeforePivotOrAgg:{type:Boolean},excludeChildrenWhenTreeDataFiltering:{type:Boolean},enableAdvancedFilter:{type:Boolean},alwaysPassFilter:{type:Function},includeHiddenColumnsInAdvancedFilter:{type:Boolean},advancedFilterParent:{},advancedFilterBuilderParams:{},suppressAdvancedFilterEval:{type:Boolean},suppressSetFilterByDefault:{type:Boolean},enableCharts:{type:Boolean},chartThemes:{},customChartThemes:{},chartThemeOverrides:{},chartToolPanelsDef:{},chartMenuItems:{type:[Array,Function]},loadingCellRenderer:{},loadingCellRendererParams:{},loadingCellRendererSelector:{type:Function},localeText:{},masterDetail:{type:Boolean},keepDetailRows:{type:Boolean},keepDetailRowsCount:{},detailCellRenderer:{},detailCellRendererParams:{},detailRowHeight:{},detailRowAutoHeight:{type:Boolean},context:{},dragAndDropImageComponent:{},dragAndDropImageComponentParams:{},alignedGrids:{type:[Array,Function]},tabIndex:{},rowBuffer:{},valueCache:{type:Boolean},valueCacheNeverExpires:{type:Boolean},enableCellExpressions:{type:Boolean},suppressTouch:{type:Boolean},suppressFocusAfterRefresh:{type:Boolean},suppressBrowserResizeObserver:{type:Boolean},suppressPropertyNamesCheck:{type:Boolean},suppressChangeDetection:{type:Boolean},debug:{type:Boolean},loading:{type:Boolean},overlayLoadingTemplate:{},loadingOverlayComponent:{},loadingOverlayComponentParams:{},suppressLoadingOverlay:{type:Boolean},overlayNoRowsTemplate:{},noRowsOverlayComponent:{},noRowsOverlayComponentParams:{},suppressNoRowsOverlay:{type:Boolean},pagination:{type:Boolean},paginationPageSize:{},paginationPageSizeSelector:{type:[Array,Boolean]},paginationAutoPageSize:{type:Boolean},paginateChildRows:{type:Boolean},suppressPaginationPanel:{type:Boolean},pivotMode:{type:Boolean},pivotPanelShow:{},pivotMaxGeneratedColumns:{},pivotDefaultExpanded:{},pivotColumnGroupTotals:{},pivotRowTotals:{},pivotSuppressAutoColumn:{type:Boolean},suppressExpandablePivotGroups:{type:Boolean},functionsReadOnly:{type:Boolean},aggFuncs:{},suppressAggFuncInHeader:{type:Boolean},alwaysAggregateAtRootLevel:{type:Boolean},aggregateOnlyChangedColumns:{type:Boolean},suppressAggFilteredOnly:{type:Boolean},removePivotHeaderRowWhenSingleValueColumn:{type:Boolean},animateRows:{type:Boolean},cellFlashDuration:{},cellFadeDuration:{},allowShowChangeAfterFilter:{type:Boolean},domLayout:{},ensureDomOrder:{type:Boolean},enableCellSpan:{type:Boolean},enableRtl:{type:Boolean},suppressColumnVirtualisation:{type:Boolean},suppressMaxRenderedRowRestriction:{type:Boolean},suppressRowVirtualisation:{type:Boolean},rowDragManaged:{type:Boolean},suppressRowDrag:{type:Boolean},suppressMoveWhenRowDragging:{type:Boolean},rowDragEntireRow:{type:Boolean},rowDragMultiRow:{type:Boolean},rowDragText:{type:Function},fullWidthCellRenderer:{},fullWidthCellRendererParams:{},embedFullWidthRows:{type:Boolean},groupDisplayType:{},groupDefaultExpanded:{},autoGroupColumnDef:{},groupMaintainOrder:{type:Boolean},groupSelectsChildren:{type:Boolean},groupLockGroupColumns:{},groupAggFiltering:{type:[Boolean,Function]},groupTotalRow:{type:[String,Function]},grandTotalRow:{},suppressStickyTotalRow:{type:[Boolean,String]},groupSuppressBlankHeader:{type:Boolean},groupSelectsFiltered:{type:Boolean},showOpenedGroup:{type:Boolean},groupHideParentOfSingleChild:{type:[Boolean,String]},groupRemoveSingleChildren:{type:Boolean},groupRemoveLowestSingleChildren:{type:Boolean},groupHideOpenParents:{type:Boolean},groupAllowUnbalanced:{type:Boolean},rowGroupPanelShow:{},groupRowRenderer:{},groupRowRendererParams:{},treeData:{type:Boolean},treeDataChildrenField:{},treeDataParentIdField:{},rowGroupPanelSuppressSort:{type:Boolean},suppressGroupRowsSticky:{type:Boolean},pinnedTopRowData:{},pinnedBottomRowData:{},rowModelType:{},rowData:{},asyncTransactionWaitMillis:{},suppressModelUpdateAfterUpdateTransaction:{type:Boolean},datasource:{},cacheOverflowSize:{},infiniteInitialRowCount:{},serverSideInitialRowCount:{},suppressServerSideFullWidthLoadingRow:{type:Boolean},cacheBlockSize:{},maxBlocksInCache:{},maxConcurrentDatasourceRequests:{},blockLoadDebounceMillis:{},purgeClosedRowNodes:{type:Boolean},serverSideDatasource:{},serverSideSortAllLevels:{type:Boolean},serverSideEnableClientSideSort:{type:Boolean},serverSideOnlyRefreshFilteredGroups:{type:Boolean},serverSidePivotResultFieldSeparator:{},viewportDatasource:{},viewportRowModelPageSize:{},viewportRowModelBufferSize:{},alwaysShowHorizontalScroll:{type:Boolean},alwaysShowVerticalScroll:{type:Boolean},debounceVerticalScrollbar:{type:Boolean},suppressHorizontalScroll:{type:Boolean},suppressScrollOnNewData:{type:Boolean},suppressScrollWhenPopupsAreOpen:{type:Boolean},suppressAnimationFrame:{type:Boolean},suppressMiddleClickScrolls:{type:Boolean},suppressPreventDefaultOnMouseWheel:{type:Boolean},scrollbarWidth:{},rowSelection:{},cellSelection:{type:[Boolean,Object]},rowMultiSelectWithClick:{type:Boolean},suppressRowDeselection:{type:Boolean},suppressRowClickSelection:{type:Boolean},suppressCellFocus:{type:Boolean},suppressHeaderFocus:{type:Boolean},selectionColumnDef:{},rowNumbers:{type:[Boolean,Object]},suppressMultiRangeSelection:{type:Boolean},enableCellTextSelection:{type:Boolean},enableRangeSelection:{type:Boolean},enableRangeHandle:{type:Boolean},enableFillHandle:{type:Boolean},fillHandleDirection:{},suppressClearOnFillReduction:{type:Boolean},sortingOrder:{},accentedSort:{type:Boolean},unSortIcon:{type:Boolean},suppressMultiSort:{type:Boolean},alwaysMultiSort:{type:Boolean},multiSortKey:{},suppressMaintainUnsortedOrder:{type:Boolean},icons:{},rowHeight:{},rowStyle:{},rowClass:{},rowClassRules:{},suppressRowHoverHighlight:{type:Boolean},suppressRowTransform:{type:Boolean},columnHoverHighlight:{type:Boolean},gridId:{},deltaSort:{type:Boolean},treeDataDisplayType:{},enableGroupEdit:{type:Boolean},initialState:{},theme:{},loadThemeGoogleFonts:{type:Boolean},themeCssLayer:{},styleNonce:{},themeStyleContainer:{},getContextMenuItems:{type:Function},getMainMenuItems:{type:Function},postProcessPopup:{type:Function},processUnpinnedColumns:{type:Function},processCellForClipboard:{type:Function},processHeaderForClipboard:{type:Function},processGroupHeaderForClipboard:{type:Function},processCellFromClipboard:{type:Function},sendToClipboard:{type:Function},processDataFromClipboard:{type:Function},isExternalFilterPresent:{type:Function},doesExternalFilterPass:{type:Function},getChartToolbarItems:{type:Function},createChartContainer:{type:Function},focusGridInnerElement:{type:Function},navigateToNextHeader:{type:Function},tabToNextHeader:{type:Function},navigateToNextCell:{type:Function},tabToNextCell:{type:Function},getLocaleText:{type:Function},getDocument:{type:Function},paginationNumberFormatter:{type:Function},getGroupRowAgg:{type:Function},isGroupOpenByDefault:{type:Function},initialGroupOrderComparator:{type:Function},processPivotResultColDef:{type:Function},processPivotResultColGroupDef:{type:Function},getDataPath:{type:Function},getChildCount:{type:Function},getServerSideGroupLevelParams:{type:Function},isServerSideGroupOpenByDefault:{type:Function},isApplyServerSideTransaction:{type:Function},isServerSideGroup:{type:Function},getServerSideGroupKey:{type:Function},getBusinessKeyForNode:{type:Function},getRowId:{type:Function},resetRowDataOnUpdate:{type:Boolean},processRowPostCreate:{type:Function},isRowSelectable:{type:Function},isRowMaster:{type:Function},fillOperation:{type:Function},postSortRows:{type:Function},getRowStyle:{type:Function},getRowClass:{type:Function},getRowHeight:{type:Function},isFullWidthRow:{type:Function},"onTool-panel-visible-changed":{},"onTool-panel-size-changed":{},"onColumn-menu-visible-changed":{},"onContext-menu-visible-changed":{},"onCut-start":{},"onCut-end":{},"onPaste-start":{},"onPaste-end":{},"onColumn-visible":{},"onColumn-pinned":{},"onColumn-resized":{},"onColumn-moved":{},"onColumn-value-changed":{},"onColumn-pivot-mode-changed":{},"onColumn-pivot-changed":{},"onColumn-group-opened":{},"onNew-columns-loaded":{},"onGrid-columns-changed":{},"onDisplayed-columns-changed":{},"onVirtual-columns-changed":{},"onColumn-everything-changed":{},"onColumn-header-mouse-over":{},"onColumn-header-mouse-leave":{},"onColumn-header-clicked":{},"onColumn-header-context-menu":{},"onComponent-state-changed":{},"onCell-value-changed":{},"onCell-edit-request":{},"onRow-value-changed":{},"onCell-editing-started":{},"onCell-editing-stopped":{},"onRow-editing-started":{},"onRow-editing-stopped":{},"onUndo-started":{},"onUndo-ended":{},"onRedo-started":{},"onRedo-ended":{},"onCell-selection-delete-start":{},"onCell-selection-delete-end":{},"onRange-delete-start":{},"onRange-delete-end":{},"onFill-start":{},"onFill-end":{},"onFilter-opened":{},"onFilter-changed":{},"onFilter-modified":{},"onAdvanced-filter-builder-visible-changed":{},"onFind-changed":{},"onChart-created":{},"onChart-range-selection-changed":{},"onChart-options-changed":{},"onChart-destroyed":{},"onCell-key-down":{},"onGrid-ready":{},"onGrid-pre-destroyed":{},"onFirst-data-rendered":{},"onGrid-size-changed":{},"onModel-updated":{},"onVirtual-row-removed":{},"onViewport-changed":{},"onBody-scroll":{},"onBody-scroll-end":{},"onDrag-started":{},"onDrag-stopped":{},"onDrag-cancelled":{},"onState-updated":{},"onPagination-changed":{},"onRow-drag-enter":{},"onRow-drag-move":{},"onRow-drag-leave":{},"onRow-drag-end":{},"onRow-drag-cancel":{},"onColumn-row-group-changed":{},"onRow-group-opened":{},"onExpand-or-collapse-all":{},"onPivot-max-columns-exceeded":{},"onPinned-row-data-changed":{},"onRow-data-updated":{},"onAsync-transactions-flushed":{},"onStore-refreshed":{},"onHeader-focused":{},"onCell-clicked":{},"onCell-double-clicked":{},"onCell-focused":{},"onCell-mouse-over":{},"onCell-mouse-out":{},"onCell-mouse-down":{},"onRow-clicked":{},"onRow-double-clicked":{},"onRow-selected":{},"onSelection-changed":{},"onCell-context-menu":{},"onRange-selection-changed":{},"onCell-selection-changed":{},"onTooltip-show":{},"onTooltip-hide":{},"onSort-changed":{}},yo()),{modelValue:{},modelModifiers:{}}),emits:ee(["update:modelValue"],["update:modelValue"]),setup(s,{expose:n,emit:t}){const o=s,p=ge("root"),l=R(void 0),i=R(!1),r=R(!1),u=R(!1),m=R({}),g=R(null),S=xe(o);oe.filter(e=>e!="gridOptions").forEach(e=>{J(()=>S[e],(a,d)=>{(e==="rowData"&&!b.value||e!=="rowData")&&E(e,a),b.value=!1},{deep:!0})});const w=new Set(["rowDataUpdated","cellValueChanged","rowValueChanged"]),y=Te(s,"modelValue"),B=R(!1),b=R(!1),G=t;J(y,(e,a)=>{i.value&&(b.value||(B.value=!0,E("rowData",N(e),N(a))),b.value=!1)},{deep:!0});const L=Co(()=>{b.value=!0,G("update:modelValue",A())},10),P=U(),_=e=>{var a,d;u.value&&w.has(e)&&(d=(a=P==null?void 0:P.vnode)==null?void 0:a.props)!=null&&d["onUpdate:modelValue"]&&L()},O=()=>y.value||o.rowData||o.gridOptions.rowData,A=()=>{const e=[];return l==null||l.value.forEachLeafNode(a=>{e.push(a.data)}),e},k=e=>a=>{if(r.value)return;a==="gridReady"&&(u.value=!0);const d=ze.has(a);d&&!e||!d&&e||w.has(a)&&(B.value||_(a),B.value=!1)},E=(e,a,d)=>{if(i.value){let v=a.value||a;e==="rowData"&&v!=null&&(v=N(v)),m.value[e]=v,g.value==null&&(g.value=window.setTimeout(()=>{g.value=null,Ue(m.value,l.value),m.value={}},0))}},M=()=>Object.create(U().provides);return Y(()=>{Me.registerModules([Pe]);const e=new vo(U(),M()),a={globalListener:k(),globalSyncListener:k(!0),frameworkOverrides:new go(U()),providedBeanInstances:{frameworkCompWrapper:e},modules:o.modules},d=Oe(Ae(N(o.gridOptions),o,[...oe,...ke.map(c=>Ee(c))])),v=O();v!==void 0&&(d.rowData=N(v)),l.value=He(p.value,d,a),i.value=!0}),ye(()=>{var e;i.value&&((e=l==null?void 0:l.value)==null||e.destroy(),r.value=!0)}),n({api:l}),(e,a)=>(H(),K("div",fo,null,512))}}),Ro=["onKeydown"],So={class:"flex-1 overflow-hidden"},Fo={class:"flex justify-end gap-1 p-2"},Bo=z({__name:"AgJsonCellEditor",props:{params:{}},setup(s,{expose:n}){const t=s,o=R({});let p=!1;Y(()=>{const w=t.params.value;try{o.value=typeof w=="string"?JSON.parse(w):{...w}}catch{console.warn("Invalid JSON in cell, starting with empty object"),o.value={}}});const l=()=>{p=!0,t.params.stopEditing()},i=()=>{p=!1,t.params.stopEditing()},r=R("text");function u(){return p?o.value?typeof o.value=="object"?(console.log("1"),JSON.stringify(o.value)):o.value:null:t.params.value}function m(){return!p}function g(){return!1}function S(){}return n({getValue:u,isCancelAfterEnd:m,isCancelBeforeStart:g,afterGuiAttached:S}),(w,y)=>(H(),K("div",{class:"w-[35rem] h-[20rem] bg-background border resize overflow-y-auto rounded-md flex flex-col",tabindex:"0",onKeydown:[le(i,["esc"]),le(je(l,["ctrl"]),["enter"])]},[X("div",So,[W(x(io),{modelValue:o.value,"onUpdate:modelValue":y[0]||(y[0]=B=>o.value=B),class:"h-full rounded-md",mode:r.value,navigationBar:!1,onModeChange:y[1]||(y[1]=B=>r.value=B)},null,8,["modelValue","mode"])]),X("div",Fo,[W(x(ie),{onClick:i,variant:"outline",size:"xxs"},{default:re(()=>y[2]||(y[2]=[se(" Cancel ")])),_:1}),W(x(ie),{onClick:l,size:"xxs"},{default:re(()=>y[3]||(y[3]=[se(" Oke ")])),_:1})])],40,Ro))}}),Do={class:"flex gap-0.5 items-center"},bo={class:"overflow-hidden text-ellipsis"},xo=z({__name:"DynamicPrimaryKeyHeader",props:{params:{}},setup(s){const n=s;return(t,o)=>(H(),K("div",Do,[n.params.isPrimaryKey?(H(),de(x(pe),{key:0,name:"lucide:key-round",class:"min-w-3! text-yellow-500"})):ue("",!0),n.params.isForeignKey?(H(),de(x(pe),{key:1,name:"lucide:key-round",class:"min-w-3!"})):ue("",!0),X("span",bo,Ke(t.params.displayName),1)]))}});function To(){const s=R(null);return{gridApi:s,onGridReady:t=>{s.value=t.api}}}function Mo(){const s=$e(),n=qe();return j(()=>{const t=n.tableAppearanceConfigs,o=s.value==="dark",p=o?Je:Xe,l={fontSize:t.fontSize,rowHeight:t.rowHeight,spacing:t.cellSpacing,accentColor:o?t.accentColorDark:t.accentColorLight,headerFontSize:t.headerFontSize,headerFontWeight:t.headerFontWeight},i=o?t.headerBackgroundColorDark:t.headerBackgroundColorLight;return i&&(l.headerBackgroundColor=i),p.withParams(l)})}const Po=document.createElement("canvas"),me=Po.getContext("2d");function Re(s,n){return me.font=n,Math.round(me.measureText(s).width)}function Oo(s,n){const o=n.map(p=>Fe(p[s])).reduce((p,l)=>p.length>=l.length?p:l);return Re(o,"500 12px system-ui")}function Se({rows:s,headerName:n,field:t,maxWidth:o=he,minWidth:p=fe,gapWidth:l=we}){const i=Re(n,"700 14px system-ui"),r=s.length?Oo(t,s):0,u=Math.max(i,r)+l;return Math.min(o,Math.max(p,u))}function Ao({rows:s,columns:n,maxWidth:t=he,minWidth:o=fe,gapWidth:p=we}){const l={};return n.forEach(i=>{const{headerName:r="",field:u}=i.getColDef();u&&(l[u]=Se({rows:s,headerName:r,field:u,maxWidth:t,minWidth:o,gapWidth:p}))}),l}const Fe=(s,n)=>s===null?"NULL":(typeof s=="object"||Object.prototype.toString.call(s)==="[object Object]")&&s!==null?s?JSON.stringify(s,null,2):"":s||"",ko=({debounceDelay:s=Ze,gridApi:n,rowHeight:t=eo,gridRef:o})=>{const p=R(!1),l=R(-1),i=Ye({min:-1,max:-1});let r=null,u=!1,m={x:0,y:0},g=null,S=-1,w=0;const y=10,B=10;function b({currentIndex:e,gridApi:a}){var h,f;const d=l.value,v=Math.min(d,e),c=Math.max(d,e);if(!(v===i.min&&c===i.max)){if(i.min!==-1)for(let C=i.min;C<=i.max;C++)(C<v||C>c)&&((h=a.getDisplayedRowAtIndex(C))==null||h.setSelected(!1));for(let C=v;C<=c;C++)(C<i.min||C>i.max)&&((f=a.getDisplayedRowAtIndex(C))==null||f.setSelected(!0));i.min=v,i.max=c}}function G(){p.value=!1,l.value=-1,i.min=-1,i.max=-1}function L(e){const a=e.api,d=e.event,v=(d==null?void 0:d.button)===0,c=d==null?void 0:d.shiftKey;!v||c||e.rowIndex!=null&&(p.value=!0,l.value=e.rowIndex,a.deselectAll(),e.node.setSelected(!0))}function P(e,a){!p.value||e.rowIndex==null||(S=e.rowIndex,b({currentIndex:e.rowIndex,gridApi:a}))}const _=ro(e=>{const a=e.api;P(e,a)},s,{leading:!0,trailing:!0});function O(e){e.target instanceof HTMLElement&&(u=!0,m.x=e.clientX,m.y=e.clientY,document.addEventListener("pointermove",A,!0),document.addEventListener("pointerup",k,{once:!0,capture:!0}),E())}function A(e){m.x=e.clientX,m.y=e.clientY}function k(){u=!1,document.removeEventListener("pointermove",A,!0),M()}function E(){if(g)return;const e=()=>{if(!u||!r){g=null;return}const a=r.getBoundingClientRect();let d=0;const v=m.y<a.top||m.y>a.bottom;if(m.y<a.top+y?d=-Math.ceil((y-(m.y-a.top))/y*B):m.y>a.bottom-y&&(d=Math.ceil((m.y-(a.bottom-y))/y*B)),d!==0&&v&&(w+=d,r.scrollTop+=d,n!=null&&n.value)){const c=Math.trunc(w/t);c!==0&&(w-=c*t,S+=c,S<=0&&(S=0),b({currentIndex:S,gridApi:n==null?void 0:n.value}))}g=requestAnimationFrame(e)};g=requestAnimationFrame(e)}function M(){g&&cancelAnimationFrame(g),g=null,w=0}return Qe("mouseup",()=>{p.value&&(M(),G())}),Y(async()=>{var a;await Ce();const e=o==null?void 0:o.value;r=(a=e==null?void 0:e.$el)==null?void 0:a.querySelector(".ag-body-viewport"),r&&r.addEventListener("pointerdown",O)}),ye(()=>{M(),r==null||r.removeEventListener("pointerdown",O)}),{handleCellMouseDown:L,handleCellMouseOverDebounced:_}},Go=z({__name:"DynamicTable",props:{columns:{},data:{},class:{},skipReColumnSize:{type:Boolean},columnKeyBy:{},selectedRows:{},hasHashIndex:{type:Boolean,default:!0},getCellClass:{},overrideColumnDefs:{},overrideRowData:{},externalGridOptions:{},externalComponents:{}},emits:["onSelectedRows","onFocusCell"],setup(s,{expose:n,emit:t}){const o=s,p=t,{gridApi:l,onGridReady:i}=To(),r=ge("agGridRef"),u=R(),m=R(),g=R();oo(r,()=>{});const S=j(()=>o.overrideRowData?o.overrideRowData:(o.data??[]).map((e,a)=>({[q]:a+1,...e}))),{handleCellMouseOverDebounced:w,handleCellMouseDown:y}=ko({gridApi:l,gridRef:r}),B=j(()=>{var d;if(o.overrideColumnDefs)return o.overrideColumnDefs;if(!((d=o.columns)!=null&&d.length))return[];const e=[];o.hasHashIndex&&e.push({colId:q,headerName:uo,field:q,filter:!1,resizable:!1,editable:!1,sortable:!0,pinned:"left",width:so});const a=(o.data||[]).slice(0,10);return o.columns.forEach(({originalName:v,isPrimaryKey:c,isForeignKey:h,aliasFieldName:f},C)=>{let D="";o.columnKeyBy==="index"?D=`${C}`:D=v;const Q=f,Be=c||h?ce:0,De=Se({headerName:Q,rows:a,field:D,gapWidth:ve})+Be,be={headerName:Q,field:D,filter:!0,resizable:!0,editable:!0,sortable:!0,type:"editableColumn",headerComponentParams:{innerHeaderComponent:xo,isPrimaryKey:c,isForeignKey:h},cellClass:T=>{var Z;const F=String(T.colDef.field||""),$=(Z=o.getCellClass)==null?void 0:Z.call(o,F,T.data);return $?`cellCenter ${$}`:"cellCenter"},cellEditorSelector:T=>{const F=T.data[D];if(typeof F==="object"&&F!==null)return{component:"AgJsonCellEditor",popup:!0,popupPosition:"under"}},valueFormatter:T=>{const F=T.value;return F===null?"NULL":typeof F=="object"&&F!==null?JSON.stringify(F,null,2):F??""},valueSetter:T=>{try{const F=JSON.parse(T.newValue);return T.data[D]=F,!0}catch(F){return console.error(`Invalid JSON format in column ${D}:`,F),!1}},width:De};e.push(be)}),e}),b=Mo();J(b,e=>{var a;(a=l.value)==null||a.updateGridOptions({theme:e})});const G=j(()=>{const e={rowClass:"class-row-border-none",rowBuffer:to,getRowStyle:d=>{if((d.node.rowIndex||0)%2===0)return{background:"var(--muted)"}},rowSelection:{mode:"multiRow",checkboxes:!1,headerCheckbox:!1,enableSelectionWithoutKeys:!1,enableClickSelection:"enableSelection",copySelectedRows:!1},theme:b.value,pagination:!1,undoRedoCellEditing:!0,undoRedoCellEditingLimit:25,animateRows:!0,onCellMouseDown:y,onCellMouseOver:w,components:{AgJsonCellEditor:Bo}},a=o.externalGridOptions||{};return{...e,...a,components:{...e.components||{},...a.components||{},...o.externalComponents||{}}}}),L=R({indexColumn:{},editableColumn:{cellStyle:e=>{var f,C,D;const a=Number(e.node.id??e.node.rowIndex);if(((f=o.data)==null?void 0:f[a])===void 0)return{backgroundColor:"var(--color-green-200)"};const d=e.colDef.field??"",v={};if(!d)return;let c="";return o.columnKeyBy==="index"?c=Number(d):c=d,((D=(C=o==null?void 0:o.data)==null?void 0:C[a])==null?void 0:D[c])===null&&(v.color="var(--muted-foreground)"),v},cellClass:()=>"cellCenter"}}),P=()=>{if(l.value){const e=l.value.getSelectedRows();_(e)}},_=e=>{p("onSelectedRows",e)},O=()=>{var a,d,v;const e=(a=l.value)==null?void 0:a.getFocusedCell();if(e){const c=(d=l.value)==null?void 0:d.getDisplayedRowAtIndex(e.rowIndex),h=e.column.getColId(),f=(v=c==null?void 0:c.data)==null?void 0:v[h];p("onFocusCell",f??void 0)}};no([{key:"meta+c",callback:async()=>{var a,d,v;const e=(a=l.value)==null?void 0:a.getFocusedCell();if(e){const c=(d=l.value)==null?void 0:d.getDisplayedRowAtIndex(e.rowIndex),h=e.column.getColId(),f=(v=c==null?void 0:c.data)==null?void 0:v[h];await navigator.clipboard.writeText(Fe(f)||"")}},excludeInput:!0}],{isPreventDefault:!1,target:u});const A=async()=>{var c;if(!l.value||o.skipReColumnSize||o.overrideColumnDefs)return;const e=((c=l.value)==null?void 0:c.getAllGridColumns())||[],a=new Map;o.columns.forEach((h,f)=>{(h.isPrimaryKey||h.isForeignKey)&&a.set(f.toString(),!0)});const d=(o.data||[]).slice(0,10),v=Ao({columns:e,rows:d||[],gapWidth:ve});l.value.updateGridOptions({columnDefs:e.map(h=>{const f=h.getColDef().field,D=a.get(f)?ce:0;return{...h.getColDef(),width:v[f]+D}})})},k=e=>{var a,d;(a=o.selectedRows)!=null&&a.length||(d=e==null?void 0:e.node)==null||d.setSelected(!0),m.value=e},E=e=>{g.value=e},M=()=>{m.value=void 0,g.value=void 0};return ao(async()=>{var c,h,f;if(!l.value)return;await Ce();const e=l.value.getState(),a=document.querySelector(".ag-body-viewport");a&&(a.scrollTop=((c=e.scroll)==null?void 0:c.top)||0);const d=((h=l.value)==null?void 0:h.getAllGridColumns())||[];let v=0;for(const C of d){if(v>=(((f=e.scroll)==null?void 0:f.left)||0)){l.value.ensureColumnVisible(C.getColId(),"start");break}v+=C.getActualWidth()}}),n({gridApi:l,columnDefs:B,cellContextMenu:m,cellHeaderContextMenu:g,clearCellContextMenu:M}),(e,a)=>(H(),K("div",{class:"h-full",ref_key:"containerRef",ref:u},[W(x(wo),{onSelectionChanged:P,onGridReady:x(i),onCellFocused:O,onRowDataUpdated:A,onCellContextMenu:k,onColumnHeaderContextMenu:E,"suppress-scroll-on-new-data":!0,class:lo(o.class),"grid-options":x(G),columnDefs:x(B),rowData:x(S),columnTypes:x(L),"copy-headers-to-clipboard":!0,ref_key:"agGridRef",ref:r},null,8,["onGridReady","class","grid-options","columnDefs","rowData","columnTypes"])],512))}});export{wo as F,Go as _,ko as a,Mo as b,Fe as c,Bo as d,Ao as e,To as u};
@@ -1,4 +1,4 @@
1
- import{_ as a,s as gi,g as xi,t as Xt,q as di,a as fi,b as pi,l as Nt,L as mi,e as yi,A as bi,H as St,G as Yt,I as Ai,a1 as wi,i as Ci,al as Si,a9 as Wt}from"./DHAL8jJG.js";import{i as _i}from"./Gi6I4Gst.js";import{o as ki}from"./CmKTTxBW.js";import{l as zt}from"./atdCACH-.js";import"./BcsKoAPU.js";import"./DX6XiGOO.js";function Ri(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function yt(){var e=ki().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,g,m=!1,p=0,k=0,v=.5;delete e.unknown;function C(){var b=t().length,E=n<s,D=E?n:s,P=E?s:n;o=(P-D)/Math.max(1,b-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(b-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var I=Ri(b).map(function(y){return D+o*y});return i(E?I.reverse():I)}return e.domain=function(b){return arguments.length?(t(b),C()):t()},e.range=function(b){return arguments.length?([s,n]=b,s=+s,n=+n,C()):[s,n]},e.rangeRound=function(b){return[s,n]=b,s=+s,n=+n,m=!0,C()},e.bandwidth=function(){return g},e.step=function(){return o},e.round=function(b){return arguments.length?(m=!!b,C()):m},e.padding=function(b){return arguments.length?(p=Math.min(1,k=+b),C()):p},e.paddingInner=function(b){return arguments.length?(p=Math.min(1,b),C()):p},e.paddingOuter=function(b){return arguments.length?(k=+b,C()):k},e.align=function(b){return arguments.length?(v=Math.max(0,Math.min(1,b)),C()):v},e.copy=function(){return yt(t(),[s,n]).round(m).paddingInner(p).paddingOuter(k).align(v)},_i.apply(C(),arguments)}var bt=function(){var e=a(function(O,h,u,x){for(u=u||{},x=O.length;x--;u[O[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],C=[1,29],b=[1,30],E=[1,31],D=[1,32],P=[1,33],I=[1,34],y=[1,35],_=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],S=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],$={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(h,u,x,d,w,r,at){var f=r.length-1;switch(w){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:o,36:g}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:o,36:g}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,34]),e(m,[2,35]),e(m,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:o,36:g}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,34:n,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{20:[1,53]},{22:[1,54]},e(l,[2,18]),{1:[2,2]},e(l,[2,8]),e(l,[2,9]),e(L,[2,37],{40:55,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c}),e(L,[2,38]),e(L,[2,39]),e(S,[2,40]),e(S,[2,42]),e(S,[2,43]),e(S,[2,44]),e(S,[2,45]),e(S,[2,46]),e(S,[2,47]),e(S,[2,48]),e(S,[2,49]),e(S,[2,50]),e(S,[2,51]),e(l,[2,10]),e(l,[2,22],{30:41,29:56,24:W,27:z}),e(l,[2,24]),e(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,11]),e(l,[2,30],{33:60,27:U}),e(l,[2,32]),{31:[1,61]},e(l,[2,12]),{17:62,24:X},{25:63,27:R},e(l,[2,14]),{17:65,24:X},e(l,[2,16]),e(l,[2,17]),e(S,[2,41]),e(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(l,[2,31]),{27:[1,69]},e(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(l,[2,15]),e(l,[2,26]),e(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,33]),e(l,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:a(function(h){var u=this,x=[0],d=[],w=[null],r=[],at=this.table,f="",lt=0,It=0,hi=2,Mt=1,li=r.slice.call(arguments,1),T=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);T.setInput(h,Y.yy),Y.yy.lexer=T,Y.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var ft=T.yylloc;r.push(ft);var ci=T.options&&T.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(V){x.length=x.length-2*V,w.length=w.length-V,r.length=r.length-V}a(ui,"popStack");function Vt(){var V;return V=d.pop()||T.lex()||Mt,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}a(Vt,"lex");for(var M,H,B,pt,q={},ct,F,Bt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=Vt()),B=at[H]&&at[H][M]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");T.showPosition?mt="Parse error on line "+(lt+1)+`:
1
+ import{_ as a,s as gi,g as xi,t as Xt,q as di,a as fi,b as pi,l as Nt,L as mi,e as yi,A as bi,H as St,G as Yt,I as Ai,a1 as wi,i as Ci,al as Si,a9 as Wt}from"./B_ERKujF.js";import{i as _i}from"./Gi6I4Gst.js";import{o as ki}from"./CmKTTxBW.js";import{l as zt}from"./BYOPXIhP.js";import"./D0lW43G8.js";import"./DX6XiGOO.js";function Ri(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function yt(){var e=ki().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,g,m=!1,p=0,k=0,v=.5;delete e.unknown;function C(){var b=t().length,E=n<s,D=E?n:s,P=E?s:n;o=(P-D)/Math.max(1,b-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(b-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var I=Ri(b).map(function(y){return D+o*y});return i(E?I.reverse():I)}return e.domain=function(b){return arguments.length?(t(b),C()):t()},e.range=function(b){return arguments.length?([s,n]=b,s=+s,n=+n,C()):[s,n]},e.rangeRound=function(b){return[s,n]=b,s=+s,n=+n,m=!0,C()},e.bandwidth=function(){return g},e.step=function(){return o},e.round=function(b){return arguments.length?(m=!!b,C()):m},e.padding=function(b){return arguments.length?(p=Math.min(1,k=+b),C()):p},e.paddingInner=function(b){return arguments.length?(p=Math.min(1,b),C()):p},e.paddingOuter=function(b){return arguments.length?(k=+b,C()):k},e.align=function(b){return arguments.length?(v=Math.max(0,Math.min(1,b)),C()):v},e.copy=function(){return yt(t(),[s,n]).round(m).paddingInner(p).paddingOuter(k).align(v)},_i.apply(C(),arguments)}var bt=function(){var e=a(function(O,h,u,x){for(u=u||{},x=O.length;x--;u[O[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],C=[1,29],b=[1,30],E=[1,31],D=[1,32],P=[1,33],I=[1,34],y=[1,35],_=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],S=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],$={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(h,u,x,d,w,r,at){var f=r.length-1;switch(w){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:o,36:g}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:o,36:g}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,34]),e(m,[2,35]),e(m,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:o,36:g}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,34:n,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{20:[1,53]},{22:[1,54]},e(l,[2,18]),{1:[2,2]},e(l,[2,8]),e(l,[2,9]),e(L,[2,37],{40:55,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c}),e(L,[2,38]),e(L,[2,39]),e(S,[2,40]),e(S,[2,42]),e(S,[2,43]),e(S,[2,44]),e(S,[2,45]),e(S,[2,46]),e(S,[2,47]),e(S,[2,48]),e(S,[2,49]),e(S,[2,50]),e(S,[2,51]),e(l,[2,10]),e(l,[2,22],{30:41,29:56,24:W,27:z}),e(l,[2,24]),e(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,11]),e(l,[2,30],{33:60,27:U}),e(l,[2,32]),{31:[1,61]},e(l,[2,12]),{17:62,24:X},{25:63,27:R},e(l,[2,14]),{17:65,24:X},e(l,[2,16]),e(l,[2,17]),e(S,[2,41]),e(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(l,[2,31]),{27:[1,69]},e(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(l,[2,15]),e(l,[2,26]),e(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,33]),e(l,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:a(function(h){var u=this,x=[0],d=[],w=[null],r=[],at=this.table,f="",lt=0,It=0,hi=2,Mt=1,li=r.slice.call(arguments,1),T=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);T.setInput(h,Y.yy),Y.yy.lexer=T,Y.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var ft=T.yylloc;r.push(ft);var ci=T.options&&T.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(V){x.length=x.length-2*V,w.length=w.length-V,r.length=r.length-V}a(ui,"popStack");function Vt(){var V;return V=d.pop()||T.lex()||Mt,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}a(Vt,"lex");for(var M,H,B,pt,q={},ct,F,Bt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=Vt()),B=at[H]&&at[H][M]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");T.showPosition?mt="Parse error on line "+(lt+1)+`:
2
2
  `+T.showPosition()+`
3
3
  Expecting `+ut.join(", ")+", got '"+(this.terminals_[M]||M)+"'":mt="Parse error on line "+(lt+1)+": Unexpected "+(M==Mt?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(mt,{text:T.match,token:this.terminals_[M]||M,line:T.yylineno,loc:ft,expected:ut})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+M);switch(B[0]){case 1:x.push(M),w.push(T.yytext),r.push(T.yylloc),x.push(B[1]),M=null,It=T.yyleng,f=T.yytext,lt=T.yylineno,ft=T.yylloc;break;case 2:if(F=this.productions_[B[1]][1],q.$=w[w.length-F],q._$={first_line:r[r.length-(F||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(F||1)].first_column,last_column:r[r.length-1].last_column},ci&&(q._$.range=[r[r.length-(F||1)].range[0],r[r.length-1].range[1]]),pt=this.performAction.apply(q,[f,It,lt,Y.yy,B[1],w,r].concat(li)),typeof pt<"u")return pt;F&&(x=x.slice(0,-1*F*2),w=w.slice(0,-1*F),r=r.slice(0,-1*F)),x.push(this.productions_[B[1]][0]),w.push(q.$),r.push(q._$),Bt=at[x[x.length-2]][x[x.length-1]],x.push(Bt);break;case 3:return!0}}return!0},"parse")},Et=function(){var O={EOF:1,parseError:a(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw new Error(u)},"parseError"),setInput:a(function(h,u){return this.yy=u||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:a(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),x.length-1&&(this.yylineno-=x.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===d.length?this.yylloc.first_column:0)+d[d.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(h){this.unput(this.match.slice(h))},"less"),pastInput:a(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var h=this.pastInput(),u=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{d as w,k as v,o as q,w as g,D as _,ab as R,ac as L,g as e,cS as ue,cV as de,r as b,av as Y,aw as X,as as U,cW as H,aj as E,ar as Q,cK as pe,ce as fe,cL as ce,cP as ye,aa as P,cX as ge,au as me,aL as ve,f as S,cM as qe,cY as _e,cN as we,cZ as he,cO as be,c_ as Be,c$ as Ce,d0 as Me,d1 as Pe,d2 as Oe,d3 as Se,d4 as $,d5 as De,ak as Z,p as B,ay as D,d6 as Fe,d7 as ke,bN as F,cQ as Ie,bk as Re,ax as Ae,cR as Ee,i as Te,at as J,bL as Ke,c as Ne,j as $e,ae as Le}from"./BcsKoAPU.js";import{u as Ue}from"./DVnDb6ua.js";var ze=w({__name:"MenuAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(s){const d=s;return(o,l)=>(q(),v(e(ue),R(L(d)),{default:g(()=>[_(o.$slots,"default")]),_:3},16))}}),je=ze;function Ve(){const s=b(!1);return Y(()=>{X("keydown",()=>{s.value=!0},{capture:!0,passive:!0}),X(["pointerdown","pointermove"],()=>{s.value=!1},{capture:!0,passive:!0})}),s}const Ge=de(Ve),[T,We]=E(["MenuRoot","MenuSub"],"MenuContext"),[z,Xe]=E("MenuRoot");var Ye=w({__name:"MenuRoot",props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(s,{emit:d}){const o=s,l=d,{modal:i,dir:a}=U(o),f=H(a),n=Q(o,"open",l),r=b(),c=Ge();return We({open:n,onOpenChange:p=>{n.value=p},content:r,onContentChange:p=>{r.value=p}}),Xe({onClose:()=>{n.value=!1},isUsingKeyboardRef:c,dir:f,modal:i}),(p,m)=>(q(),v(e(pe),null,{default:g(()=>[_(p.$slots,"default")]),_:3}))}}),He=Ye;const[x,Qe]=E("MenuContent");var Ze=w({__name:"MenuContentImpl",props:fe({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Be}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(s,{emit:d}){const o=s,l=d,i=T(),a=z(),{trapFocus:f,disableOutsidePointerEvents:n,loop:r}=U(o);ce(),ye(n.value);const c=b(""),p=b(0),m=b(0),h=b(null),C=b("right"),k=b(0),O=b(null),j=b(),{forwardRef:oe,currentElement:I}=P(),{handleTypeaheadSearch:re}=ge();me(I,t=>{i.onContentChange(t)}),ve(()=>{window.clearTimeout(p.value)});function K(t){var y,M;return C.value===((y=h.value)==null?void 0:y.side)&&Ce(t,(M=h.value)==null?void 0:M.area)}async function ae(t){var u;l("openAutoFocus",t),!t.defaultPrevented&&(t.preventDefault(),(u=I.value)==null||u.focus({preventScroll:!0}))}function ne(t){var W;if(t.defaultPrevented)return;const y=t.target.closest("[data-reka-menu-content]")===t.currentTarget,M=t.ctrlKey||t.altKey||t.metaKey,N=t.key.length===1,A=Ue(t,Me(),I.value,{loop:r.value,arrowKeyOptions:"vertical",dir:a==null?void 0:a.dir.value,focus:!0,attributeName:"[data-reka-collection-item]:not([data-disabled])"});if(A)return A==null?void 0:A.focus();if(t.code==="Space")return;const V=((W=j.value)==null?void 0:W.getItems())??[];if(y&&(t.key==="Tab"&&t.preventDefault(),!M&&N&&re(t.key,V)),t.target!==I.value||!Pe.includes(t.key))return;t.preventDefault();const G=[...V.map(le=>le.ref)];Oe.includes(t.key)&&G.reverse(),Se(G)}function se(t){var u,y;(y=(u=t==null?void 0:t.currentTarget)==null?void 0:u.contains)!=null&&y.call(u,t.target)||(window.clearTimeout(p.value),c.value="")}function ie(t){var M;if(!$(t))return;const u=t.target,y=k.value!==t.clientX;if((M=t==null?void 0:t.currentTarget)!=null&&M.contains(u)&&y){const N=t.clientX>k.value?"right":"left";C.value=N,k.value=t.clientX}}return Qe({onItemEnter:t=>!!K(t),onItemLeave:t=>{var u;K(t)||((u=I.value)==null||u.focus(),O.value=null)},onTriggerLeave:t=>!!K(t),searchRef:c,pointerGraceTimerRef:m,onPointerGraceIntentChange:t=>{h.value=t}}),(t,u)=>(q(),v(e(be),{"as-child":"",trapped:e(f),onMountAutoFocus:ae,onUnmountAutoFocus:u[7]||(u[7]=y=>l("closeAutoFocus",y))},{default:g(()=>[S(e(qe),{"as-child":"","disable-outside-pointer-events":e(n),onEscapeKeyDown:u[2]||(u[2]=y=>l("escapeKeyDown",y)),onPointerDownOutside:u[3]||(u[3]=y=>l("pointerDownOutside",y)),onFocusOutside:u[4]||(u[4]=y=>l("focusOutside",y)),onInteractOutside:u[5]||(u[5]=y=>l("interactOutside",y)),onDismiss:u[6]||(u[6]=y=>l("dismiss"))},{default:g(()=>[S(e(_e),{ref_key:"rovingFocusGroupRef",ref:j,"current-tab-stop-id":O.value,"onUpdate:currentTabStopId":u[0]||(u[0]=y=>O.value=y),"as-child":"",orientation:"vertical",dir:e(a).dir.value,loop:e(r),onEntryFocus:u[1]||(u[1]=y=>{l("entryFocus",y),e(a).isUsingKeyboardRef.value||y.preventDefault()})},{default:g(()=>[S(e(we),{ref:e(oe),role:"menu",as:t.as,"as-child":t.asChild,"aria-orientation":"vertical","data-reka-menu-content":"","data-state":e(he)(e(i).open.value),dir:e(a).dir.value,side:t.side,"side-offset":t.sideOffset,align:t.align,"align-offset":t.alignOffset,"avoid-collisions":t.avoidCollisions,"collision-boundary":t.collisionBoundary,"collision-padding":t.collisionPadding,"arrow-padding":t.arrowPadding,"prioritize-position":t.prioritizePosition,"position-strategy":t.positionStrategy,"update-position-strategy":t.updatePositionStrategy,sticky:t.sticky,"hide-when-detached":t.hideWhenDetached,reference:t.reference,onKeydown:ne,onBlur:se,onPointermove:ie},{default:g(()=>[_(t.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","position-strategy","update-position-strategy","sticky","hide-when-detached","reference"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),ee=Ze,Je=w({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(s){const d=s,o=x(),{forwardRef:l}=P(),{CollectionItem:i}=De(),a=b(!1);async function f(r){if(!r.defaultPrevented&&$(r)){if(d.disabled)o.onItemLeave(r);else if(!o.onItemEnter(r)){const p=r.currentTarget;p==null||p.focus({preventScroll:!0})}}}async function n(r){await D(),!r.defaultPrevented&&$(r)&&o.onItemLeave(r)}return(r,c)=>(q(),v(e(i),{value:{textValue:r.textValue}},{default:g(()=>[S(e(Z),B({ref:e(l),role:"menuitem",tabindex:"-1"},r.$attrs,{as:r.as,"as-child":r.asChild,"aria-disabled":r.disabled||void 0,"data-disabled":r.disabled?"":void 0,"data-highlighted":a.value?"":void 0,onPointermove:f,onPointerleave:n,onFocus:c[0]||(c[0]=async p=>{await D(),!(p.defaultPrevented||r.disabled)&&(a.value=!0)}),onBlur:c[1]||(c[1]=async p=>{await D(),!p.defaultPrevented&&(a.value=!1)})}),{default:g(()=>[_(r.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),xe=Je,et=w({__name:"MenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(s,{emit:d}){const o=s,l=d,{forwardRef:i,currentElement:a}=P(),f=z(),n=x(),r=b(!1);async function c(){const p=a.value;if(!o.disabled&&p){const m=new CustomEvent(ke,{bubbles:!0,cancelable:!0});l("select",m),await D(),m.defaultPrevented?r.value=!1:f.onClose()}}return(p,m)=>(q(),v(xe,B(o,{ref:e(i),onClick:c,onPointerdown:m[0]||(m[0]=()=>{r.value=!0}),onPointerup:m[1]||(m[1]=async h=>{var C;await D(),!h.defaultPrevented&&(r.value||(C=h.currentTarget)==null||C.click())}),onKeydown:m[2]||(m[2]=async h=>{const C=e(n).searchRef.value!=="";p.disabled||C&&h.key===" "||e(Fe).includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}),{default:g(()=>[_(p.$slots,"default")]),_:3},16))}}),wt=et,tt=w({__name:"MenuRootContentModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(s,{emit:d}){const o=s,l=d,i=F(o,l),a=T(),{forwardRef:f,currentElement:n}=P();return Ie(n),(r,c)=>(q(),v(ee,B(e(i),{ref:e(f),"trap-focus":e(a).open.value,"disable-outside-pointer-events":e(a).open.value,"disable-outside-scroll":!0,onDismiss:c[0]||(c[0]=p=>e(a).onOpenChange(!1)),onFocusOutside:c[1]||(c[1]=Re(p=>l("focusOutside",p),["prevent"]))}),{default:g(()=>[_(r.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),ot=tt,rt=w({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(s,{emit:d}){const i=F(s,d),a=T();return(f,n)=>(q(),v(ee,B(e(i),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:n[0]||(n[0]=r=>e(a).onOpenChange(!1))}),{default:g(()=>[_(f.$slots,"default")]),_:3},16))}}),at=rt,nt=w({__name:"MenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(s,{emit:d}){const i=F(s,d),a=T(),f=z();return(n,r)=>(q(),v(e(Ae),{present:n.forceMount||e(a).open.value},{default:g(()=>[e(f).modal.value?(q(),v(ot,R(B({key:0},{...n.$attrs,...e(i)})),{default:g(()=>[_(n.$slots,"default")]),_:3},16)):(q(),v(at,R(B({key:1},{...n.$attrs,...e(i)})),{default:g(()=>[_(n.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),st=nt,it=w({__name:"MenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(s){const d=s;return(o,l)=>(q(),v(e(Ee),R(L(d)),{default:g(()=>[_(o.$slots,"default")]),_:3},16))}}),lt=it;const[te,ut]=E("DropdownMenuRoot");var dt=w({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(s,{emit:d}){const o=s,l=d;P();const i=Q(o,"open",l,{defaultValue:o.defaultOpen,passive:o.open===void 0}),a=b(),{modal:f,dir:n}=U(o),r=H(n);return ut({open:i,onOpenChange:c=>{i.value=c},onOpenToggle:()=>{i.value=!i.value},triggerId:"",triggerElement:a,contentId:"",modal:f,dir:r}),(c,p)=>(q(),v(e(He),{open:e(i),"onUpdate:open":p[0]||(p[0]=m=>Te(i)?i.value=m:null),dir:e(r),modal:e(f)},{default:g(()=>[_(c.$slots,"default",{open:e(i)})]),_:3},8,["open","dir","modal"]))}}),pt=dt,ft=w({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(s,{emit:d}){const i=F(s,d);P();const a=te(),f=b(!1);function n(r){r.defaultPrevented||(f.value||setTimeout(()=>{var c;(c=a.triggerElement.value)==null||c.focus()},0),f.value=!1,r.preventDefault())}return a.contentId||(a.contentId=J(void 0,"reka-dropdown-menu-content")),(r,c)=>{var p;return q(),v(e(st),B(e(i),{id:e(a).contentId,"aria-labelledby":(p=e(a))==null?void 0:p.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-dropdown-menu-content-available-width":"var(--reka-popper-available-width)","--reka-dropdown-menu-content-available-height":"var(--reka-popper-available-height)","--reka-dropdown-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-dropdown-menu-trigger-height":"var(--reka-popper-anchor-height)"},onCloseAutoFocus:n,onInteractOutside:c[0]||(c[0]=m=>{var O;if(m.defaultPrevented)return;const h=m.detail.originalEvent,C=h.button===0&&h.ctrlKey===!0,k=h.button===2||C;(!e(a).modal.value||k)&&(f.value=!0),(O=e(a).triggerElement.value)!=null&&O.contains(m.target)&&m.preventDefault()})}),{default:g(()=>[_(r.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),ct=ft,yt=w({__name:"DropdownMenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(s){const d=s;return(o,l)=>(q(),v(e(lt),R(L(d)),{default:g(()=>[_(o.$slots,"default")]),_:3},16))}}),gt=yt,mt=w({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(s){const d=s,o=te(),{forwardRef:l,currentElement:i}=P();return Y(()=>{o.triggerElement=i}),o.triggerId||(o.triggerId=J(void 0,"reka-dropdown-menu-trigger")),(a,f)=>(q(),v(e(je),{"as-child":""},{default:g(()=>[S(e(Z),{id:e(o).triggerId,ref:e(l),type:a.as==="button"?"button":void 0,"as-child":d.asChild,as:a.as,"aria-haspopup":"menu","aria-expanded":e(o).open.value,"aria-controls":e(o).open.value?e(o).contentId:void 0,"data-disabled":a.disabled?"":void 0,disabled:a.disabled,"data-state":e(o).open.value?"open":"closed",onClick:f[0]||(f[0]=async n=>{var r;!a.disabled&&n.button===0&&n.ctrlKey===!1&&((r=e(o))==null||r.onOpenToggle(),await D(),e(o).open.value&&n.preventDefault())}),onKeydown:f[1]||(f[1]=Ke(n=>{a.disabled||(["Enter"," "].includes(n.key)&&e(o).onOpenToggle(),n.key==="ArrowDown"&&e(o).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(n.key)&&n.preventDefault())},["enter","space","arrow-down"]))},{default:g(()=>[_(a.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),vt=mt;const ht=w({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(s,{emit:d}){const i=F(s,d);return(a,f)=>(q(),v(e(pt),B({"data-slot":"dropdown-menu"},e(i)),{default:g(()=>[_(a.$slots,"default")]),_:3},16))}}),bt=w({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{},restoreFocus:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(s,{emit:d}){const o=s,l=d,i=Ne(()=>{const{class:f,restoreFocus:n,...r}=o;return r}),a=F(i,l);return(f,n)=>(q(),v(e(gt),null,{default:g(()=>[S(e(ct),B({"data-slot":"dropdown-menu-content"},e(a),{onCloseAutoFocus:n[0]||(n[0]=r=>!o.restoreFocus&&r.preventDefault()),class:e($e)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",o.class)}),{default:g(()=>[_(f.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Bt=w({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){const o=Le(s);return(l,i)=>(q(),v(e(vt),B({"data-slot":"dropdown-menu-trigger"},e(o)),{default:g(()=>[_(l.$slots,"default")]),_:3},16))}});export{wt as M,ht as _,z as a,ee as b,x as c,xe as d,je as e,He as f,st as g,lt as h,T as i,Bt as j,bt as k,We as p};
1
+ import{d as w,k as v,o as q,w as g,D as _,ab as R,ac as L,g as e,cS as ue,cV as de,r as b,av as Y,aw as X,as as U,cW as H,aj as E,ar as Q,cK as pe,ce as fe,cL as ce,cP as ye,aa as P,cX as ge,au as me,aL as ve,f as S,cM as qe,cY as _e,cN as we,cZ as he,cO as be,c_ as Be,c$ as Ce,d0 as Me,d1 as Pe,d2 as Oe,d3 as Se,d4 as $,d5 as De,ak as Z,p as B,ay as D,d6 as Fe,d7 as ke,bN as F,cQ as Ie,bk as Re,ax as Ae,cR as Ee,i as Te,at as J,bL as Ke,c as Ne,j as $e,ae as Le}from"./D0lW43G8.js";import{u as Ue}from"./CRqiHVA4.js";var ze=w({__name:"MenuAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(s){const d=s;return(o,l)=>(q(),v(e(ue),R(L(d)),{default:g(()=>[_(o.$slots,"default")]),_:3},16))}}),je=ze;function Ve(){const s=b(!1);return Y(()=>{X("keydown",()=>{s.value=!0},{capture:!0,passive:!0}),X(["pointerdown","pointermove"],()=>{s.value=!1},{capture:!0,passive:!0})}),s}const Ge=de(Ve),[T,We]=E(["MenuRoot","MenuSub"],"MenuContext"),[z,Xe]=E("MenuRoot");var Ye=w({__name:"MenuRoot",props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(s,{emit:d}){const o=s,l=d,{modal:i,dir:a}=U(o),f=H(a),n=Q(o,"open",l),r=b(),c=Ge();return We({open:n,onOpenChange:p=>{n.value=p},content:r,onContentChange:p=>{r.value=p}}),Xe({onClose:()=>{n.value=!1},isUsingKeyboardRef:c,dir:f,modal:i}),(p,m)=>(q(),v(e(pe),null,{default:g(()=>[_(p.$slots,"default")]),_:3}))}}),He=Ye;const[x,Qe]=E("MenuContent");var Ze=w({__name:"MenuContentImpl",props:fe({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Be}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(s,{emit:d}){const o=s,l=d,i=T(),a=z(),{trapFocus:f,disableOutsidePointerEvents:n,loop:r}=U(o);ce(),ye(n.value);const c=b(""),p=b(0),m=b(0),h=b(null),C=b("right"),k=b(0),O=b(null),j=b(),{forwardRef:oe,currentElement:I}=P(),{handleTypeaheadSearch:re}=ge();me(I,t=>{i.onContentChange(t)}),ve(()=>{window.clearTimeout(p.value)});function K(t){var y,M;return C.value===((y=h.value)==null?void 0:y.side)&&Ce(t,(M=h.value)==null?void 0:M.area)}async function ae(t){var u;l("openAutoFocus",t),!t.defaultPrevented&&(t.preventDefault(),(u=I.value)==null||u.focus({preventScroll:!0}))}function ne(t){var W;if(t.defaultPrevented)return;const y=t.target.closest("[data-reka-menu-content]")===t.currentTarget,M=t.ctrlKey||t.altKey||t.metaKey,N=t.key.length===1,A=Ue(t,Me(),I.value,{loop:r.value,arrowKeyOptions:"vertical",dir:a==null?void 0:a.dir.value,focus:!0,attributeName:"[data-reka-collection-item]:not([data-disabled])"});if(A)return A==null?void 0:A.focus();if(t.code==="Space")return;const V=((W=j.value)==null?void 0:W.getItems())??[];if(y&&(t.key==="Tab"&&t.preventDefault(),!M&&N&&re(t.key,V)),t.target!==I.value||!Pe.includes(t.key))return;t.preventDefault();const G=[...V.map(le=>le.ref)];Oe.includes(t.key)&&G.reverse(),Se(G)}function se(t){var u,y;(y=(u=t==null?void 0:t.currentTarget)==null?void 0:u.contains)!=null&&y.call(u,t.target)||(window.clearTimeout(p.value),c.value="")}function ie(t){var M;if(!$(t))return;const u=t.target,y=k.value!==t.clientX;if((M=t==null?void 0:t.currentTarget)!=null&&M.contains(u)&&y){const N=t.clientX>k.value?"right":"left";C.value=N,k.value=t.clientX}}return Qe({onItemEnter:t=>!!K(t),onItemLeave:t=>{var u;K(t)||((u=I.value)==null||u.focus(),O.value=null)},onTriggerLeave:t=>!!K(t),searchRef:c,pointerGraceTimerRef:m,onPointerGraceIntentChange:t=>{h.value=t}}),(t,u)=>(q(),v(e(be),{"as-child":"",trapped:e(f),onMountAutoFocus:ae,onUnmountAutoFocus:u[7]||(u[7]=y=>l("closeAutoFocus",y))},{default:g(()=>[S(e(qe),{"as-child":"","disable-outside-pointer-events":e(n),onEscapeKeyDown:u[2]||(u[2]=y=>l("escapeKeyDown",y)),onPointerDownOutside:u[3]||(u[3]=y=>l("pointerDownOutside",y)),onFocusOutside:u[4]||(u[4]=y=>l("focusOutside",y)),onInteractOutside:u[5]||(u[5]=y=>l("interactOutside",y)),onDismiss:u[6]||(u[6]=y=>l("dismiss"))},{default:g(()=>[S(e(_e),{ref_key:"rovingFocusGroupRef",ref:j,"current-tab-stop-id":O.value,"onUpdate:currentTabStopId":u[0]||(u[0]=y=>O.value=y),"as-child":"",orientation:"vertical",dir:e(a).dir.value,loop:e(r),onEntryFocus:u[1]||(u[1]=y=>{l("entryFocus",y),e(a).isUsingKeyboardRef.value||y.preventDefault()})},{default:g(()=>[S(e(we),{ref:e(oe),role:"menu",as:t.as,"as-child":t.asChild,"aria-orientation":"vertical","data-reka-menu-content":"","data-state":e(he)(e(i).open.value),dir:e(a).dir.value,side:t.side,"side-offset":t.sideOffset,align:t.align,"align-offset":t.alignOffset,"avoid-collisions":t.avoidCollisions,"collision-boundary":t.collisionBoundary,"collision-padding":t.collisionPadding,"arrow-padding":t.arrowPadding,"prioritize-position":t.prioritizePosition,"position-strategy":t.positionStrategy,"update-position-strategy":t.updatePositionStrategy,sticky:t.sticky,"hide-when-detached":t.hideWhenDetached,reference:t.reference,onKeydown:ne,onBlur:se,onPointermove:ie},{default:g(()=>[_(t.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","position-strategy","update-position-strategy","sticky","hide-when-detached","reference"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),ee=Ze,Je=w({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(s){const d=s,o=x(),{forwardRef:l}=P(),{CollectionItem:i}=De(),a=b(!1);async function f(r){if(!r.defaultPrevented&&$(r)){if(d.disabled)o.onItemLeave(r);else if(!o.onItemEnter(r)){const p=r.currentTarget;p==null||p.focus({preventScroll:!0})}}}async function n(r){await D(),!r.defaultPrevented&&$(r)&&o.onItemLeave(r)}return(r,c)=>(q(),v(e(i),{value:{textValue:r.textValue}},{default:g(()=>[S(e(Z),B({ref:e(l),role:"menuitem",tabindex:"-1"},r.$attrs,{as:r.as,"as-child":r.asChild,"aria-disabled":r.disabled||void 0,"data-disabled":r.disabled?"":void 0,"data-highlighted":a.value?"":void 0,onPointermove:f,onPointerleave:n,onFocus:c[0]||(c[0]=async p=>{await D(),!(p.defaultPrevented||r.disabled)&&(a.value=!0)}),onBlur:c[1]||(c[1]=async p=>{await D(),!p.defaultPrevented&&(a.value=!1)})}),{default:g(()=>[_(r.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),xe=Je,et=w({__name:"MenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(s,{emit:d}){const o=s,l=d,{forwardRef:i,currentElement:a}=P(),f=z(),n=x(),r=b(!1);async function c(){const p=a.value;if(!o.disabled&&p){const m=new CustomEvent(ke,{bubbles:!0,cancelable:!0});l("select",m),await D(),m.defaultPrevented?r.value=!1:f.onClose()}}return(p,m)=>(q(),v(xe,B(o,{ref:e(i),onClick:c,onPointerdown:m[0]||(m[0]=()=>{r.value=!0}),onPointerup:m[1]||(m[1]=async h=>{var C;await D(),!h.defaultPrevented&&(r.value||(C=h.currentTarget)==null||C.click())}),onKeydown:m[2]||(m[2]=async h=>{const C=e(n).searchRef.value!=="";p.disabled||C&&h.key===" "||e(Fe).includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})}),{default:g(()=>[_(p.$slots,"default")]),_:3},16))}}),wt=et,tt=w({__name:"MenuRootContentModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(s,{emit:d}){const o=s,l=d,i=F(o,l),a=T(),{forwardRef:f,currentElement:n}=P();return Ie(n),(r,c)=>(q(),v(ee,B(e(i),{ref:e(f),"trap-focus":e(a).open.value,"disable-outside-pointer-events":e(a).open.value,"disable-outside-scroll":!0,onDismiss:c[0]||(c[0]=p=>e(a).onOpenChange(!1)),onFocusOutside:c[1]||(c[1]=Re(p=>l("focusOutside",p),["prevent"]))}),{default:g(()=>[_(r.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),ot=tt,rt=w({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(s,{emit:d}){const i=F(s,d),a=T();return(f,n)=>(q(),v(ee,B(e(i),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:n[0]||(n[0]=r=>e(a).onOpenChange(!1))}),{default:g(()=>[_(f.$slots,"default")]),_:3},16))}}),at=rt,nt=w({__name:"MenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(s,{emit:d}){const i=F(s,d),a=T(),f=z();return(n,r)=>(q(),v(e(Ae),{present:n.forceMount||e(a).open.value},{default:g(()=>[e(f).modal.value?(q(),v(ot,R(B({key:0},{...n.$attrs,...e(i)})),{default:g(()=>[_(n.$slots,"default")]),_:3},16)):(q(),v(at,R(B({key:1},{...n.$attrs,...e(i)})),{default:g(()=>[_(n.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),st=nt,it=w({__name:"MenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(s){const d=s;return(o,l)=>(q(),v(e(Ee),R(L(d)),{default:g(()=>[_(o.$slots,"default")]),_:3},16))}}),lt=it;const[te,ut]=E("DropdownMenuRoot");var dt=w({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(s,{emit:d}){const o=s,l=d;P();const i=Q(o,"open",l,{defaultValue:o.defaultOpen,passive:o.open===void 0}),a=b(),{modal:f,dir:n}=U(o),r=H(n);return ut({open:i,onOpenChange:c=>{i.value=c},onOpenToggle:()=>{i.value=!i.value},triggerId:"",triggerElement:a,contentId:"",modal:f,dir:r}),(c,p)=>(q(),v(e(He),{open:e(i),"onUpdate:open":p[0]||(p[0]=m=>Te(i)?i.value=m:null),dir:e(r),modal:e(f)},{default:g(()=>[_(c.$slots,"default",{open:e(i)})]),_:3},8,["open","dir","modal"]))}}),pt=dt,ft=w({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(s,{emit:d}){const i=F(s,d);P();const a=te(),f=b(!1);function n(r){r.defaultPrevented||(f.value||setTimeout(()=>{var c;(c=a.triggerElement.value)==null||c.focus()},0),f.value=!1,r.preventDefault())}return a.contentId||(a.contentId=J(void 0,"reka-dropdown-menu-content")),(r,c)=>{var p;return q(),v(e(st),B(e(i),{id:e(a).contentId,"aria-labelledby":(p=e(a))==null?void 0:p.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-dropdown-menu-content-available-width":"var(--reka-popper-available-width)","--reka-dropdown-menu-content-available-height":"var(--reka-popper-available-height)","--reka-dropdown-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-dropdown-menu-trigger-height":"var(--reka-popper-anchor-height)"},onCloseAutoFocus:n,onInteractOutside:c[0]||(c[0]=m=>{var O;if(m.defaultPrevented)return;const h=m.detail.originalEvent,C=h.button===0&&h.ctrlKey===!0,k=h.button===2||C;(!e(a).modal.value||k)&&(f.value=!0),(O=e(a).triggerElement.value)!=null&&O.contains(m.target)&&m.preventDefault()})}),{default:g(()=>[_(r.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),ct=ft,yt=w({__name:"DropdownMenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(s){const d=s;return(o,l)=>(q(),v(e(lt),R(L(d)),{default:g(()=>[_(o.$slots,"default")]),_:3},16))}}),gt=yt,mt=w({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(s){const d=s,o=te(),{forwardRef:l,currentElement:i}=P();return Y(()=>{o.triggerElement=i}),o.triggerId||(o.triggerId=J(void 0,"reka-dropdown-menu-trigger")),(a,f)=>(q(),v(e(je),{"as-child":""},{default:g(()=>[S(e(Z),{id:e(o).triggerId,ref:e(l),type:a.as==="button"?"button":void 0,"as-child":d.asChild,as:a.as,"aria-haspopup":"menu","aria-expanded":e(o).open.value,"aria-controls":e(o).open.value?e(o).contentId:void 0,"data-disabled":a.disabled?"":void 0,disabled:a.disabled,"data-state":e(o).open.value?"open":"closed",onClick:f[0]||(f[0]=async n=>{var r;!a.disabled&&n.button===0&&n.ctrlKey===!1&&((r=e(o))==null||r.onOpenToggle(),await D(),e(o).open.value&&n.preventDefault())}),onKeydown:f[1]||(f[1]=Ke(n=>{a.disabled||(["Enter"," "].includes(n.key)&&e(o).onOpenToggle(),n.key==="ArrowDown"&&e(o).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(n.key)&&n.preventDefault())},["enter","space","arrow-down"]))},{default:g(()=>[_(a.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),vt=mt;const ht=w({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(s,{emit:d}){const i=F(s,d);return(a,f)=>(q(),v(e(pt),B({"data-slot":"dropdown-menu"},e(i)),{default:g(()=>[_(a.$slots,"default")]),_:3},16))}}),bt=w({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{},restoreFocus:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(s,{emit:d}){const o=s,l=d,i=Ne(()=>{const{class:f,restoreFocus:n,...r}=o;return r}),a=F(i,l);return(f,n)=>(q(),v(e(gt),null,{default:g(()=>[S(e(ct),B({"data-slot":"dropdown-menu-content"},e(a),{onCloseAutoFocus:n[0]||(n[0]=r=>!o.restoreFocus&&r.preventDefault()),class:e($e)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",o.class)}),{default:g(()=>[_(f.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Bt=w({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(s){const o=Le(s);return(l,i)=>(q(),v(e(vt),B({"data-slot":"dropdown-menu-trigger"},e(o)),{default:g(()=>[_(l.$slots,"default")]),_:3},16))}});export{wt as M,ht as _,z as a,ee as b,x as c,xe as d,je as e,He as f,st as g,lt as h,T as i,Bt as j,bt as k,We as p};
@@ -1,4 +1,4 @@
1
- import{_,o as je,c as et,d as kt,l as Q,j as ve,e as ts,f as es,k as S,b as me,s as ss,q as rs,a as as,g as is,t as ns,v as os,J as cs,A as ls,i as vt,u as H,a2 as U,a3 as Nt,a4 as Ce,a5 as hs,a6 as ds,a7 as Me,H as Gt}from"./DHAL8jJG.js";import{a as Ts,b as Qt,g as lt,d as Es,e as $t,f as jt}from"./Bq47tjcm.js";import{I as ps}from"./B9uki8o2.js";import"./BcsKoAPU.js";var Xt=function(){var e=_(function(Tt,b,A,N){for(A=A||{},N=Tt.length;N--;A[Tt[N]]=b);return A},"o"),t=[1,2],a=[1,3],s=[1,4],i=[2,4],n=[1,9],o=[1,11],h=[1,12],l=[1,14],r=[1,15],E=[1,17],p=[1,18],f=[1,19],u=[1,25],y=[1,26],I=[1,27],L=[1,28],w=[1,29],P=[1,30],m=[1,31],k=[1,32],v=[1,33],W=[1,34],K=[1,35],q=[1,36],G=[1,37],X=[1,38],z=[1,39],C=[1,40],$=[1,42],J=[1,43],j=[1,44],st=[1,45],rt=[1,46],O=[1,47],R=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],nt=[1,74],ot=[1,80],M=[1,81],te=[1,82],ee=[1,83],se=[1,84],re=[1,85],ae=[1,86],ie=[1,87],ne=[1,88],oe=[1,89],ce=[1,90],le=[1,91],he=[1,92],de=[1,93],Te=[1,94],Ee=[1,95],pe=[1,96],ue=[1,97],_e=[1,98],fe=[1,99],ge=[1,100],xe=[1,101],Ie=[1,102],Re=[1,103],Oe=[1,104],ye=[1,105],Le=[2,78],Lt=[4,5,17,51,53,54],At=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],be=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Wt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Se=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Kt=[5,52],B=[70,71,72,73],at=[1,151],Ft={trace:_(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:_(function(b,A,N,g,V,c,bt){var T=c.length-1;switch(V){case 3:return g.apply(c[T]),c[T];case 4:case 10:this.$=[];break;case 5:case 11:c[T-1].push(c[T]),this.$=c[T-1];break;case 6:case 7:case 12:case 13:this.$=c[T];break;case 8:case 9:case 14:this.$=[];break;case 16:c[T].type="createParticipant",this.$=c[T];break;case 17:c[T-1].unshift({type:"boxStart",boxData:g.parseBoxData(c[T-2])}),c[T-1].push({type:"boxEnd",boxText:c[T-2]}),this.$=c[T-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-2]),sequenceIndexStep:Number(c[T-1]),sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:g.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[T-1].actor};break;case 24:this.$={type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[T-1].actor};break;case 30:g.setDiagramTitle(c[T].substring(6)),this.$=c[T].substring(6);break;case 31:g.setDiagramTitle(c[T].substring(7)),this.$=c[T].substring(7);break;case 32:this.$=c[T].trim(),g.setAccTitle(this.$);break;case 33:case 34:this.$=c[T].trim(),g.setAccDescription(this.$);break;case 35:c[T-1].unshift({type:"loopStart",loopText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.LOOP_START}),c[T-1].push({type:"loopEnd",loopText:c[T-2],signalType:g.LINETYPE.LOOP_END}),this.$=c[T-1];break;case 36:c[T-1].unshift({type:"rectStart",color:g.parseMessage(c[T-2]),signalType:g.LINETYPE.RECT_START}),c[T-1].push({type:"rectEnd",color:g.parseMessage(c[T-2]),signalType:g.LINETYPE.RECT_END}),this.$=c[T-1];break;case 37:c[T-1].unshift({type:"optStart",optText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.OPT_START}),c[T-1].push({type:"optEnd",optText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.OPT_END}),this.$=c[T-1];break;case 38:c[T-1].unshift({type:"altStart",altText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.ALT_START}),c[T-1].push({type:"altEnd",signalType:g.LINETYPE.ALT_END}),this.$=c[T-1];break;case 39:c[T-1].unshift({type:"parStart",parText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.PAR_START}),c[T-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[T-1];break;case 40:c[T-1].unshift({type:"parStart",parText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.PAR_OVER_START}),c[T-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[T-1];break;case 41:c[T-1].unshift({type:"criticalStart",criticalText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.CRITICAL_START}),c[T-1].push({type:"criticalEnd",signalType:g.LINETYPE.CRITICAL_END}),this.$=c[T-1];break;case 42:c[T-1].unshift({type:"breakStart",breakText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.BREAK_START}),c[T-1].push({type:"breakEnd",optText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.BREAK_END}),this.$=c[T-1];break;case 44:this.$=c[T-3].concat([{type:"option",optionText:g.parseMessage(c[T-1]),signalType:g.LINETYPE.CRITICAL_OPTION},c[T]]);break;case 46:this.$=c[T-3].concat([{type:"and",parText:g.parseMessage(c[T-1]),signalType:g.LINETYPE.PAR_AND},c[T]]);break;case 48:this.$=c[T-3].concat([{type:"else",altText:g.parseMessage(c[T-1]),signalType:g.LINETYPE.ALT_ELSE},c[T]]);break;case 49:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 50:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 51:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 52:case 57:c[T-1].draw="actor",c[T-1].type="addParticipant",this.$=c[T-1];break;case 53:c[T-1].type="destroyParticipant",this.$=c[T-1];break;case 54:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 55:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 56:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 58:this.$=[c[T-1],{type:"addNote",placement:c[T-2],actor:c[T-1].actor,text:c[T]}];break;case 59:c[T-2]=[].concat(c[T-1],c[T-1]).slice(0,2),c[T-2][0]=c[T-2][0].actor,c[T-2][1]=c[T-2][1].actor,this.$=[c[T-1],{type:"addNote",placement:g.PLACEMENT.OVER,actor:c[T-2].slice(0,2),text:c[T]}];break;case 60:this.$=[c[T-1],{type:"addLinks",actor:c[T-1].actor,text:c[T]}];break;case 61:this.$=[c[T-1],{type:"addALink",actor:c[T-1].actor,text:c[T]}];break;case 62:this.$=[c[T-1],{type:"addProperties",actor:c[T-1].actor,text:c[T]}];break;case 63:this.$=[c[T-1],{type:"addDetails",actor:c[T-1].actor,text:c[T]}];break;case 66:this.$=[c[T-2],c[T]];break;case 67:this.$=c[T];break;case 68:this.$=g.PLACEMENT.LEFTOF;break;case 69:this.$=g.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0},{type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[T-1].actor}];break;case 71:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T]},{type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[T-4].actor}];break;case 72:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:g.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:g.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor}];break;case 73:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T],activate:!1,centralConnection:g.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:g.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-4].actor}];break;case 74:this.$=[c[T-5],c[T-1],{type:"addMessage",from:c[T-5].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:g.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:g.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor},{type:"centralConnectionReverse",signalType:g.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-5].actor}];break;case 75:this.$=[c[T-3],c[T-1],{type:"addMessage",from:c[T-3].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T]}];break;case 76:this.$={type:"addParticipant",actor:c[T-1],config:c[T]};break;case 77:this.$=c[T-1].trim();break;case 78:this.$={type:"addParticipant",actor:c[T]};break;case 79:this.$=g.LINETYPE.SOLID_OPEN;break;case 80:this.$=g.LINETYPE.DOTTED_OPEN;break;case 81:this.$=g.LINETYPE.SOLID;break;case 82:this.$=g.LINETYPE.SOLID_TOP;break;case 83:this.$=g.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=g.LINETYPE.STICK_TOP;break;case 85:this.$=g.LINETYPE.STICK_BOTTOM;break;case 86:this.$=g.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=g.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=g.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=g.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=g.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=g.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=g.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=g.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=g.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=g.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=g.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=g.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=g.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=g.LINETYPE.DOTTED;break;case 100:this.$=g.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=g.LINETYPE.SOLID_CROSS;break;case 102:this.$=g.LINETYPE.DOTTED_CROSS;break;case 103:this.$=g.LINETYPE.SOLID_POINT;break;case 104:this.$=g.LINETYPE.DOTTED_POINT;break;case 105:this.$=g.parseMessage(c[T].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:s},{1:[3]},{3:5,4:t,5:a,6:s},{3:6,4:t,5:a,6:s},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},e(R,[2,5]),{9:48,13:13,14:l,15:r,18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},e(R,[2,7]),e(R,[2,8]),e(R,[2,9]),e(R,[2,15]),{13:49,51:X,53:z,54:C},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:O},{23:56,73:O},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(R,[2,30]),e(R,[2,31]),{33:[1,62]},{35:[1,63]},e(R,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:nt},{23:75,55:76,73:nt},{23:77,73:O},{69:78,72:[1,79],78:ot,79:M,80:te,81:ee,82:se,83:re,84:ae,85:ie,86:ne,87:oe,88:ce,89:le,90:he,91:de,92:Te,93:Ee,94:pe,95:ue,96:_e,97:fe,98:ge,99:xe,100:Ie,101:Re,102:Oe,103:ye},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:O},{23:111,73:O},{23:112,73:O},{23:113,73:O},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],Le),e(R,[2,6]),e(R,[2,16]),e(Lt,[2,10],{11:114}),e(R,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(R,[2,22]),{5:[1,118]},{5:[1,119]},e(R,[2,25]),e(R,[2,26]),e(R,[2,27]),e(R,[2,28]),e(R,[2,29]),e(R,[2,32]),e(R,[2,33]),e(At,i,{7:120}),e(At,i,{7:121}),e(At,i,{7:122}),e(be,i,{41:123,7:124}),e(Wt,i,{43:125,7:126}),e(Wt,i,{7:126,43:127}),e(Se,i,{46:128,7:129}),e(At,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Kt,Le,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:O},{69:146,78:ot,79:M,80:te,81:ee,82:se,83:re,84:ae,85:ie,86:ne,87:oe,88:ce,89:le,90:he,91:de,92:Te,93:Ee,94:pe,95:ue,96:_e,97:fe,98:ge,99:xe,100:Ie,101:Re,102:Oe,103:ye},e(B,[2,79]),e(B,[2,80]),e(B,[2,81]),e(B,[2,82]),e(B,[2,83]),e(B,[2,84]),e(B,[2,85]),e(B,[2,86]),e(B,[2,87]),e(B,[2,88]),e(B,[2,89]),e(B,[2,90]),e(B,[2,91]),e(B,[2,92]),e(B,[2,93]),e(B,[2,94]),e(B,[2,95]),e(B,[2,96]),e(B,[2,97]),e(B,[2,98]),e(B,[2,99]),e(B,[2,100]),e(B,[2,101]),e(B,[2,102]),e(B,[2,103]),e(B,[2,104]),{23:147,73:O},{23:149,60:148,73:O},{73:[2,68]},{73:[2,69]},{58:150,104:at},{58:152,104:at},{58:153,104:at},{58:154,104:at},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:X,53:z,54:C},{5:[1,160]},e(R,[2,20]),e(R,[2,21]),e(R,[2,23]),e(R,[2,24]),{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,161],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,162],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,163],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{17:[1,164]},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[2,47],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,50:[1,165],51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{17:[1,166]},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[2,45],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,49:[1,167],51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{17:[1,168]},{17:[1,169]},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[2,43],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,48:[1,170],51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,171],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{16:[1,172]},e(R,[2,50]),{16:[1,173]},e(R,[2,55]),e(Kt,[2,76]),{76:[1,174]},{16:[1,175]},e(R,[2,52]),{16:[1,176]},e(R,[2,57]),e(R,[2,53]),{23:177,73:O},{23:178,73:O},{23:179,73:O},{58:180,104:at},{23:181,72:[1,182],73:O},{58:183,104:at},{58:184,104:at},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(R,[2,17]),e(Lt,[2,11]),{13:186,51:X,53:z,54:C},e(Lt,[2,13]),e(Lt,[2,14]),e(R,[2,19]),e(R,[2,35]),e(R,[2,36]),e(R,[2,37]),e(R,[2,38]),{16:[1,187]},e(R,[2,39]),{16:[1,188]},e(R,[2,40]),e(R,[2,41]),{16:[1,189]},e(R,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:at},{58:196,104:at},{58:197,104:at},{5:[2,75]},{58:198,104:at},{23:199,73:O},{5:[2,58]},{5:[2,59]},{23:200,73:O},e(Lt,[2,12]),e(be,i,{7:124,41:201}),e(Wt,i,{7:126,43:202}),e(Se,i,{7:129,46:203}),e(R,[2,49]),e(R,[2,54]),e(Kt,[2,77]),e(R,[2,51]),e(R,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:at},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:_(function(b,A){if(A.recoverable)this.trace(b);else{var N=new Error(b);throw N.hash=A,N}},"parseError"),parse:_(function(b){var A=this,N=[0],g=[],V=[null],c=[],bt=this.table,T="",Pt=0,Ne=0,Je=2,Ae=1,Ze=c.slice.call(arguments,1),F=Object.create(this.lexer),ut={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(ut.yy[Ht]=this.yy[Ht]);F.setInput(b,ut.yy),ut.yy.lexer=F,ut.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var qt=F.yylloc;c.push(qt);var Qe=F.options&&F.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $e(tt){N.length=N.length-2*tt,V.length=V.length-tt,c.length=c.length-tt}_($e,"popStack");function we(){var tt;return tt=g.pop()||F.lex()||Ae,typeof tt!="number"&&(tt instanceof Array&&(g=tt,tt=g.pop()),tt=A.symbols_[tt]||tt),tt}_(we,"lex");for(var Z,_t,it,zt,It={},mt,ht,Pe,Dt;;){if(_t=N[N.length-1],this.defaultActions[_t]?it=this.defaultActions[_t]:((Z===null||typeof Z>"u")&&(Z=we()),it=bt[_t]&&bt[_t][Z]),typeof it>"u"||!it.length||!it[0]){var Ut="";Dt=[];for(mt in bt[_t])this.terminals_[mt]&&mt>Je&&Dt.push("'"+this.terminals_[mt]+"'");F.showPosition?Ut="Parse error on line "+(Pt+1)+`:
1
+ import{_,o as je,c as et,d as kt,l as Q,j as ve,e as ts,f as es,k as S,b as me,s as ss,q as rs,a as as,g as is,t as ns,v as os,J as cs,A as ls,i as vt,u as H,a2 as U,a3 as Nt,a4 as Ce,a5 as hs,a6 as ds,a7 as Me,H as Gt}from"./B_ERKujF.js";import{a as Ts,b as Qt,g as lt,d as Es,e as $t,f as jt}from"./BG-rJefG.js";import{I as ps}from"./vaJvtND9.js";import"./D0lW43G8.js";var Xt=function(){var e=_(function(Tt,b,A,N){for(A=A||{},N=Tt.length;N--;A[Tt[N]]=b);return A},"o"),t=[1,2],a=[1,3],s=[1,4],i=[2,4],n=[1,9],o=[1,11],h=[1,12],l=[1,14],r=[1,15],E=[1,17],p=[1,18],f=[1,19],u=[1,25],y=[1,26],I=[1,27],L=[1,28],w=[1,29],P=[1,30],m=[1,31],k=[1,32],v=[1,33],W=[1,34],K=[1,35],q=[1,36],G=[1,37],X=[1,38],z=[1,39],C=[1,40],$=[1,42],J=[1,43],j=[1,44],st=[1,45],rt=[1,46],O=[1,47],R=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],nt=[1,74],ot=[1,80],M=[1,81],te=[1,82],ee=[1,83],se=[1,84],re=[1,85],ae=[1,86],ie=[1,87],ne=[1,88],oe=[1,89],ce=[1,90],le=[1,91],he=[1,92],de=[1,93],Te=[1,94],Ee=[1,95],pe=[1,96],ue=[1,97],_e=[1,98],fe=[1,99],ge=[1,100],xe=[1,101],Ie=[1,102],Re=[1,103],Oe=[1,104],ye=[1,105],Le=[2,78],Lt=[4,5,17,51,53,54],At=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],be=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Wt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Se=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Kt=[5,52],B=[70,71,72,73],at=[1,151],Ft={trace:_(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:_(function(b,A,N,g,V,c,bt){var T=c.length-1;switch(V){case 3:return g.apply(c[T]),c[T];case 4:case 10:this.$=[];break;case 5:case 11:c[T-1].push(c[T]),this.$=c[T-1];break;case 6:case 7:case 12:case 13:this.$=c[T];break;case 8:case 9:case 14:this.$=[];break;case 16:c[T].type="createParticipant",this.$=c[T];break;case 17:c[T-1].unshift({type:"boxStart",boxData:g.parseBoxData(c[T-2])}),c[T-1].push({type:"boxEnd",boxText:c[T-2]}),this.$=c[T-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-2]),sequenceIndexStep:Number(c[T-1]),sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:g.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[T-1].actor};break;case 24:this.$={type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[T-1].actor};break;case 30:g.setDiagramTitle(c[T].substring(6)),this.$=c[T].substring(6);break;case 31:g.setDiagramTitle(c[T].substring(7)),this.$=c[T].substring(7);break;case 32:this.$=c[T].trim(),g.setAccTitle(this.$);break;case 33:case 34:this.$=c[T].trim(),g.setAccDescription(this.$);break;case 35:c[T-1].unshift({type:"loopStart",loopText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.LOOP_START}),c[T-1].push({type:"loopEnd",loopText:c[T-2],signalType:g.LINETYPE.LOOP_END}),this.$=c[T-1];break;case 36:c[T-1].unshift({type:"rectStart",color:g.parseMessage(c[T-2]),signalType:g.LINETYPE.RECT_START}),c[T-1].push({type:"rectEnd",color:g.parseMessage(c[T-2]),signalType:g.LINETYPE.RECT_END}),this.$=c[T-1];break;case 37:c[T-1].unshift({type:"optStart",optText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.OPT_START}),c[T-1].push({type:"optEnd",optText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.OPT_END}),this.$=c[T-1];break;case 38:c[T-1].unshift({type:"altStart",altText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.ALT_START}),c[T-1].push({type:"altEnd",signalType:g.LINETYPE.ALT_END}),this.$=c[T-1];break;case 39:c[T-1].unshift({type:"parStart",parText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.PAR_START}),c[T-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[T-1];break;case 40:c[T-1].unshift({type:"parStart",parText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.PAR_OVER_START}),c[T-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[T-1];break;case 41:c[T-1].unshift({type:"criticalStart",criticalText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.CRITICAL_START}),c[T-1].push({type:"criticalEnd",signalType:g.LINETYPE.CRITICAL_END}),this.$=c[T-1];break;case 42:c[T-1].unshift({type:"breakStart",breakText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.BREAK_START}),c[T-1].push({type:"breakEnd",optText:g.parseMessage(c[T-2]),signalType:g.LINETYPE.BREAK_END}),this.$=c[T-1];break;case 44:this.$=c[T-3].concat([{type:"option",optionText:g.parseMessage(c[T-1]),signalType:g.LINETYPE.CRITICAL_OPTION},c[T]]);break;case 46:this.$=c[T-3].concat([{type:"and",parText:g.parseMessage(c[T-1]),signalType:g.LINETYPE.PAR_AND},c[T]]);break;case 48:this.$=c[T-3].concat([{type:"else",altText:g.parseMessage(c[T-1]),signalType:g.LINETYPE.ALT_ELSE},c[T]]);break;case 49:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 50:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 51:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 52:case 57:c[T-1].draw="actor",c[T-1].type="addParticipant",this.$=c[T-1];break;case 53:c[T-1].type="destroyParticipant",this.$=c[T-1];break;case 54:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 55:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 56:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=g.parseMessage(c[T-1]),this.$=c[T-3];break;case 58:this.$=[c[T-1],{type:"addNote",placement:c[T-2],actor:c[T-1].actor,text:c[T]}];break;case 59:c[T-2]=[].concat(c[T-1],c[T-1]).slice(0,2),c[T-2][0]=c[T-2][0].actor,c[T-2][1]=c[T-2][1].actor,this.$=[c[T-1],{type:"addNote",placement:g.PLACEMENT.OVER,actor:c[T-2].slice(0,2),text:c[T]}];break;case 60:this.$=[c[T-1],{type:"addLinks",actor:c[T-1].actor,text:c[T]}];break;case 61:this.$=[c[T-1],{type:"addALink",actor:c[T-1].actor,text:c[T]}];break;case 62:this.$=[c[T-1],{type:"addProperties",actor:c[T-1].actor,text:c[T]}];break;case 63:this.$=[c[T-1],{type:"addDetails",actor:c[T-1].actor,text:c[T]}];break;case 66:this.$=[c[T-2],c[T]];break;case 67:this.$=c[T];break;case 68:this.$=g.PLACEMENT.LEFTOF;break;case 69:this.$=g.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0},{type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[T-1].actor}];break;case 71:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T]},{type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[T-4].actor}];break;case 72:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:g.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:g.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor}];break;case 73:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T],activate:!1,centralConnection:g.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:g.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-4].actor}];break;case 74:this.$=[c[T-5],c[T-1],{type:"addMessage",from:c[T-5].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:g.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:g.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor},{type:"centralConnectionReverse",signalType:g.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-5].actor}];break;case 75:this.$=[c[T-3],c[T-1],{type:"addMessage",from:c[T-3].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T]}];break;case 76:this.$={type:"addParticipant",actor:c[T-1],config:c[T]};break;case 77:this.$=c[T-1].trim();break;case 78:this.$={type:"addParticipant",actor:c[T]};break;case 79:this.$=g.LINETYPE.SOLID_OPEN;break;case 80:this.$=g.LINETYPE.DOTTED_OPEN;break;case 81:this.$=g.LINETYPE.SOLID;break;case 82:this.$=g.LINETYPE.SOLID_TOP;break;case 83:this.$=g.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=g.LINETYPE.STICK_TOP;break;case 85:this.$=g.LINETYPE.STICK_BOTTOM;break;case 86:this.$=g.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=g.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=g.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=g.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=g.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=g.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=g.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=g.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=g.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=g.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=g.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=g.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=g.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=g.LINETYPE.DOTTED;break;case 100:this.$=g.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=g.LINETYPE.SOLID_CROSS;break;case 102:this.$=g.LINETYPE.DOTTED_CROSS;break;case 103:this.$=g.LINETYPE.SOLID_POINT;break;case 104:this.$=g.LINETYPE.DOTTED_POINT;break;case 105:this.$=g.parseMessage(c[T].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:s},{1:[3]},{3:5,4:t,5:a,6:s},{3:6,4:t,5:a,6:s},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},e(R,[2,5]),{9:48,13:13,14:l,15:r,18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},e(R,[2,7]),e(R,[2,8]),e(R,[2,9]),e(R,[2,15]),{13:49,51:X,53:z,54:C},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:O},{23:56,73:O},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(R,[2,30]),e(R,[2,31]),{33:[1,62]},{35:[1,63]},e(R,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:nt},{23:75,55:76,73:nt},{23:77,73:O},{69:78,72:[1,79],78:ot,79:M,80:te,81:ee,82:se,83:re,84:ae,85:ie,86:ne,87:oe,88:ce,89:le,90:he,91:de,92:Te,93:Ee,94:pe,95:ue,96:_e,97:fe,98:ge,99:xe,100:Ie,101:Re,102:Oe,103:ye},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:O},{23:111,73:O},{23:112,73:O},{23:113,73:O},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],Le),e(R,[2,6]),e(R,[2,16]),e(Lt,[2,10],{11:114}),e(R,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(R,[2,22]),{5:[1,118]},{5:[1,119]},e(R,[2,25]),e(R,[2,26]),e(R,[2,27]),e(R,[2,28]),e(R,[2,29]),e(R,[2,32]),e(R,[2,33]),e(At,i,{7:120}),e(At,i,{7:121}),e(At,i,{7:122}),e(be,i,{41:123,7:124}),e(Wt,i,{43:125,7:126}),e(Wt,i,{7:126,43:127}),e(Se,i,{46:128,7:129}),e(At,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Kt,Le,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:O},{69:146,78:ot,79:M,80:te,81:ee,82:se,83:re,84:ae,85:ie,86:ne,87:oe,88:ce,89:le,90:he,91:de,92:Te,93:Ee,94:pe,95:ue,96:_e,97:fe,98:ge,99:xe,100:Ie,101:Re,102:Oe,103:ye},e(B,[2,79]),e(B,[2,80]),e(B,[2,81]),e(B,[2,82]),e(B,[2,83]),e(B,[2,84]),e(B,[2,85]),e(B,[2,86]),e(B,[2,87]),e(B,[2,88]),e(B,[2,89]),e(B,[2,90]),e(B,[2,91]),e(B,[2,92]),e(B,[2,93]),e(B,[2,94]),e(B,[2,95]),e(B,[2,96]),e(B,[2,97]),e(B,[2,98]),e(B,[2,99]),e(B,[2,100]),e(B,[2,101]),e(B,[2,102]),e(B,[2,103]),e(B,[2,104]),{23:147,73:O},{23:149,60:148,73:O},{73:[2,68]},{73:[2,69]},{58:150,104:at},{58:152,104:at},{58:153,104:at},{58:154,104:at},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:X,53:z,54:C},{5:[1,160]},e(R,[2,20]),e(R,[2,21]),e(R,[2,23]),e(R,[2,24]),{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,161],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,162],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,163],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{17:[1,164]},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[2,47],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,50:[1,165],51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{17:[1,166]},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[2,45],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,49:[1,167],51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{17:[1,168]},{17:[1,169]},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[2,43],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,48:[1,170],51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{4:n,5:o,8:8,9:10,10:h,13:13,14:l,15:r,17:[1,171],18:16,19:E,22:p,23:41,24:f,25:20,26:21,27:22,28:23,29:24,30:u,31:y,32:I,34:L,36:w,37:P,38:m,39:k,40:v,42:W,44:K,45:q,47:G,51:X,53:z,54:C,56:$,61:J,62:j,63:st,64:rt,73:O},{16:[1,172]},e(R,[2,50]),{16:[1,173]},e(R,[2,55]),e(Kt,[2,76]),{76:[1,174]},{16:[1,175]},e(R,[2,52]),{16:[1,176]},e(R,[2,57]),e(R,[2,53]),{23:177,73:O},{23:178,73:O},{23:179,73:O},{58:180,104:at},{23:181,72:[1,182],73:O},{58:183,104:at},{58:184,104:at},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(R,[2,17]),e(Lt,[2,11]),{13:186,51:X,53:z,54:C},e(Lt,[2,13]),e(Lt,[2,14]),e(R,[2,19]),e(R,[2,35]),e(R,[2,36]),e(R,[2,37]),e(R,[2,38]),{16:[1,187]},e(R,[2,39]),{16:[1,188]},e(R,[2,40]),e(R,[2,41]),{16:[1,189]},e(R,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:at},{58:196,104:at},{58:197,104:at},{5:[2,75]},{58:198,104:at},{23:199,73:O},{5:[2,58]},{5:[2,59]},{23:200,73:O},e(Lt,[2,12]),e(be,i,{7:124,41:201}),e(Wt,i,{7:126,43:202}),e(Se,i,{7:129,46:203}),e(R,[2,49]),e(R,[2,54]),e(Kt,[2,77]),e(R,[2,51]),e(R,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:at},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:_(function(b,A){if(A.recoverable)this.trace(b);else{var N=new Error(b);throw N.hash=A,N}},"parseError"),parse:_(function(b){var A=this,N=[0],g=[],V=[null],c=[],bt=this.table,T="",Pt=0,Ne=0,Je=2,Ae=1,Ze=c.slice.call(arguments,1),F=Object.create(this.lexer),ut={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(ut.yy[Ht]=this.yy[Ht]);F.setInput(b,ut.yy),ut.yy.lexer=F,ut.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var qt=F.yylloc;c.push(qt);var Qe=F.options&&F.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $e(tt){N.length=N.length-2*tt,V.length=V.length-tt,c.length=c.length-tt}_($e,"popStack");function we(){var tt;return tt=g.pop()||F.lex()||Ae,typeof tt!="number"&&(tt instanceof Array&&(g=tt,tt=g.pop()),tt=A.symbols_[tt]||tt),tt}_(we,"lex");for(var Z,_t,it,zt,It={},mt,ht,Pe,Dt;;){if(_t=N[N.length-1],this.defaultActions[_t]?it=this.defaultActions[_t]:((Z===null||typeof Z>"u")&&(Z=we()),it=bt[_t]&&bt[_t][Z]),typeof it>"u"||!it.length||!it[0]){var Ut="";Dt=[];for(mt in bt[_t])this.terminals_[mt]&&mt>Je&&Dt.push("'"+this.terminals_[mt]+"'");F.showPosition?Ut="Parse error on line "+(Pt+1)+`:
2
2
  `+F.showPosition()+`
3
3
  Expecting `+Dt.join(", ")+", got '"+(this.terminals_[Z]||Z)+"'":Ut="Parse error on line "+(Pt+1)+": Unexpected "+(Z==Ae?"end of input":"'"+(this.terminals_[Z]||Z)+"'"),this.parseError(Ut,{text:F.match,token:this.terminals_[Z]||Z,line:F.yylineno,loc:qt,expected:Dt})}if(it[0]instanceof Array&&it.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_t+", token: "+Z);switch(it[0]){case 1:N.push(Z),V.push(F.yytext),c.push(F.yylloc),N.push(it[1]),Z=null,Ne=F.yyleng,T=F.yytext,Pt=F.yylineno,qt=F.yylloc;break;case 2:if(ht=this.productions_[it[1]][1],It.$=V[V.length-ht],It._$={first_line:c[c.length-(ht||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ht||1)].first_column,last_column:c[c.length-1].last_column},Qe&&(It._$.range=[c[c.length-(ht||1)].range[0],c[c.length-1].range[1]]),zt=this.performAction.apply(It,[T,Ne,Pt,ut.yy,it[1],V,c].concat(Ze)),typeof zt<"u")return zt;ht&&(N=N.slice(0,-1*ht*2),V=V.slice(0,-1*ht),c=c.slice(0,-1*ht)),N.push(this.productions_[it[1]][0]),V.push(It.$),c.push(It._$),Pe=bt[N[N.length-2]][N[N.length-1]],N.push(Pe);break;case 3:return!0}}return!0},"parse")},Xe=function(){var Tt={EOF:1,parseError:_(function(A,N){if(this.yy.parser)this.yy.parser.parseError(A,N);else throw new Error(A)},"parseError"),setInput:_(function(b,A){return this.yy=A||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:_(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var A=b.match(/(?:\r\n?|\n).*/g);return A?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:_(function(b){var A=b.length,N=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),N.length-1&&(this.yylineno-=N.length-1);var V=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:N?(N.length===g.length?this.yylloc.first_column:0)+g[g.length-N.length].length-N[0].length:this.yylloc.first_column-A},this.options.ranges&&(this.yylloc.range=[V[0],V[0]+this.yyleng-A]),this.yyleng=this.yytext.length,this},"unput"),more:_(function(){return this._more=!0,this},"more"),reject:_(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:_(function(b){this.unput(this.match.slice(b))},"less"),pastInput:_(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:_(function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:_(function(){var b=this.pastInput(),A=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{g as Ge}from"./kvtnkChG.js";import{s as ze}from"./DGvAu532.js";import{_ as f,b as Xe,a as Je,s as Ze,g as et,q as tt,t as st,c as Ne,l as qe,A as it,E as rt,p as nt,r as at,u as lt}from"./DHAL8jJG.js";import"./BcsKoAPU.js";var Ae=function(){var e=f(function(P,i,r,l){for(r=r||{},l=P.length;l--;r[P[l]]=i);return r},"o"),a=[1,3],u=[1,4],o=[1,5],m=[1,6],c=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],p=[1,22],R=[2,7],h=[1,26],d=[1,27],b=[1,28],k=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],g=[1,39],_=[1,40],y=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],Ce=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],xe=[1,72],Le=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:f(function(i,r,l,s,E,t,de){var n=t.length-1;switch(E){case 4:this.$=t[n].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[n].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[n-3],t[n-4]);break;case 22:s.addRequirement(t[n-5],t[n-6]),s.setClass([t[n-5]],t[n-3]);break;case 23:s.setNewReqId(t[n-2]);break;case 24:s.setNewReqText(t[n-2]);break;case 25:s.setNewReqRisk(t[n-2]);break;case 26:s.setNewReqVerifyMethod(t[n-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[n-3]);break;case 43:s.addElement(t[n-5]),s.setClass([t[n-5]],t[n-3]);break;case 44:s.setNewElementType(t[n-2]);break;case 45:s.setNewElementDocRef(t[n-2]);break;case 48:s.addRelationship(t[n-2],t[n],t[n-4]);break;case 49:s.addRelationship(t[n-2],t[n-4],t[n]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[n-2],s.defineClass(t[n-1],t[n]);break;case 58:s.setClass(t[n-1],t[n]);break;case 59:s.setClass([t[n-2]],t[n]);break;case 60:case 62:this.$=[t[n]];break;case 61:case 63:this.$=t[n-2].concat([t[n]]);break;case 64:this.$=t[n-2],s.setCssStyle(t[n-1],t[n]);break;case 65:this.$=[t[n]];break;case 66:t[n-2].push(t[n]),this.$=t[n-2];break;case 68:this.$=t[n-1]+t[n];break}},"anonymous"),table:[{3:1,4:2,6:a,9:u,11:o,13:m},{1:[3]},{3:8,4:2,5:[1,7],6:a,9:u,11:o,13:m},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(c,[2,6]),{3:12,4:2,6:a,9:u,11:o,13:m},{1:[2,2]},{4:17,5:p,7:13,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},e(c,[2,4]),e(c,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:p,7:42,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:43,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:44,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:45,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:46,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:47,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:48,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:49,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:50,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(y,[2,17]),e(y,[2,18]),e(y,[2,19]),e(y,[2,20]),{30:60,33:62,75:$,89:g,90:_},{30:63,33:62,75:$,89:g,90:_},{30:64,33:62,75:$,89:g,90:_},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ce,[2,81]),e(Ce,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{30:78,33:62,75:$,89:g,90:_},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:g,90:_},{5:[1,95]},{30:96,33:62,75:$,89:g,90:_},{5:[1,97]},{30:98,33:62,75:$,89:g,90:_},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(y,[2,59],{76:U}),e(y,[2,64],{76:Me}),{33:103,75:[1,102],89:g,90:_},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(y,[2,57],{76:Me}),e(y,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:g,90:_},{33:120,89:g,90:_},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(N,[2,68]),e(y,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(y,[2,28]),{5:[1,127]},e(y,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(y,[2,47]),{5:[1,131]},e(y,[2,48]),e(y,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:g,90:_},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(y,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(y,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(y,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(y,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(y,[2,23]),e(y,[2,24]),e(y,[2,25]),e(y,[2,26]),e(y,[2,44]),e(y,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:f(function(i,r){if(r.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=r,l}},"parseError"),parse:f(function(i){var r=this,l=[0],s=[],E=[null],t=[],de=this.table,n="",ye=0,Pe=0,He=2,$e=1,Ke=t.slice.call(arguments,1),S=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);S.setInput(i,G.yy),G.yy.lexer=S,G.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var Ie=S.yylloc;t.push(Ie);var We=S.options&&S.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(T){l.length=l.length-2*T,E.length=E.length-T,t.length=t.length-T}f(je,"popStack");function Ue(){var T;return T=s.pop()||S.lex()||$e,typeof T!="number"&&(T instanceof Array&&(s=T,T=s.pop()),T=r.symbols_[T]||T),T}f(Ue,"lex");for(var I,z,q,Te,J={},ge,F,Ye,_e;;){if(z=l[l.length-1],this.defaultActions[z]?q=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),q=de[z]&&de[z][I]),typeof q>"u"||!q.length||!q[0]){var ke="";_e=[];for(ge in de[z])this.terminals_[ge]&&ge>He&&_e.push("'"+this.terminals_[ge]+"'");S.showPosition?ke="Parse error on line "+(ye+1)+`:
1
+ import{g as Ge}from"./9sDqz0uT.js";import{s as ze}from"./DRh-06Hb.js";import{_ as f,b as Xe,a as Je,s as Ze,g as et,q as tt,t as st,c as Ne,l as qe,A as it,E as rt,p as nt,r as at,u as lt}from"./B_ERKujF.js";import"./D0lW43G8.js";var Ae=function(){var e=f(function(P,i,r,l){for(r=r||{},l=P.length;l--;r[P[l]]=i);return r},"o"),a=[1,3],u=[1,4],o=[1,5],m=[1,6],c=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],p=[1,22],R=[2,7],h=[1,26],d=[1,27],b=[1,28],k=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],g=[1,39],_=[1,40],y=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],Ce=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],xe=[1,72],Le=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:f(function(i,r,l,s,E,t,de){var n=t.length-1;switch(E){case 4:this.$=t[n].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[n].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[n-3],t[n-4]);break;case 22:s.addRequirement(t[n-5],t[n-6]),s.setClass([t[n-5]],t[n-3]);break;case 23:s.setNewReqId(t[n-2]);break;case 24:s.setNewReqText(t[n-2]);break;case 25:s.setNewReqRisk(t[n-2]);break;case 26:s.setNewReqVerifyMethod(t[n-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[n-3]);break;case 43:s.addElement(t[n-5]),s.setClass([t[n-5]],t[n-3]);break;case 44:s.setNewElementType(t[n-2]);break;case 45:s.setNewElementDocRef(t[n-2]);break;case 48:s.addRelationship(t[n-2],t[n],t[n-4]);break;case 49:s.addRelationship(t[n-2],t[n-4],t[n]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[n-2],s.defineClass(t[n-1],t[n]);break;case 58:s.setClass(t[n-1],t[n]);break;case 59:s.setClass([t[n-2]],t[n]);break;case 60:case 62:this.$=[t[n]];break;case 61:case 63:this.$=t[n-2].concat([t[n]]);break;case 64:this.$=t[n-2],s.setCssStyle(t[n-1],t[n]);break;case 65:this.$=[t[n]];break;case 66:t[n-2].push(t[n]),this.$=t[n-2];break;case 68:this.$=t[n-1]+t[n];break}},"anonymous"),table:[{3:1,4:2,6:a,9:u,11:o,13:m},{1:[3]},{3:8,4:2,5:[1,7],6:a,9:u,11:o,13:m},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(c,[2,6]),{3:12,4:2,6:a,9:u,11:o,13:m},{1:[2,2]},{4:17,5:p,7:13,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},e(c,[2,4]),e(c,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:p,7:42,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:43,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:44,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:45,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:46,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:47,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:48,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:49,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{4:17,5:p,7:50,8:R,9:u,11:o,13:m,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:h,22:d,23:b,24:k,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:g,90:_},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(y,[2,17]),e(y,[2,18]),e(y,[2,19]),e(y,[2,20]),{30:60,33:62,75:$,89:g,90:_},{30:63,33:62,75:$,89:g,90:_},{30:64,33:62,75:$,89:g,90:_},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ce,[2,81]),e(Ce,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{30:78,33:62,75:$,89:g,90:_},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:g,90:_},{5:[1,95]},{30:96,33:62,75:$,89:g,90:_},{5:[1,97]},{30:98,33:62,75:$,89:g,90:_},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(y,[2,59],{76:U}),e(y,[2,64],{76:Me}),{33:103,75:[1,102],89:g,90:_},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(y,[2,57],{76:Me}),e(y,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:g,90:_},{33:120,89:g,90:_},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(N,[2,68]),e(y,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(y,[2,28]),{5:[1,127]},e(y,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(y,[2,47]),{5:[1,131]},e(y,[2,48]),e(y,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:g,90:_},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(y,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(y,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(y,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(y,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(y,[2,23]),e(y,[2,24]),e(y,[2,25]),e(y,[2,26]),e(y,[2,44]),e(y,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:f(function(i,r){if(r.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=r,l}},"parseError"),parse:f(function(i){var r=this,l=[0],s=[],E=[null],t=[],de=this.table,n="",ye=0,Pe=0,He=2,$e=1,Ke=t.slice.call(arguments,1),S=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);S.setInput(i,G.yy),G.yy.lexer=S,G.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var Ie=S.yylloc;t.push(Ie);var We=S.options&&S.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(T){l.length=l.length-2*T,E.length=E.length-T,t.length=t.length-T}f(je,"popStack");function Ue(){var T;return T=s.pop()||S.lex()||$e,typeof T!="number"&&(T instanceof Array&&(s=T,T=s.pop()),T=r.symbols_[T]||T),T}f(Ue,"lex");for(var I,z,q,Te,J={},ge,F,Ye,_e;;){if(z=l[l.length-1],this.defaultActions[z]?q=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),q=de[z]&&de[z][I]),typeof q>"u"||!q.length||!q[0]){var ke="";_e=[];for(ge in de[z])this.terminals_[ge]&&ge>He&&_e.push("'"+this.terminals_[ge]+"'");S.showPosition?ke="Parse error on line "+(ye+1)+`:
2
2
  `+S.showPosition()+`
3
3
  Expecting `+_e.join(", ")+", got '"+(this.terminals_[I]||I)+"'":ke="Parse error on line "+(ye+1)+": Unexpected "+(I==$e?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(ke,{text:S.match,token:this.terminals_[I]||I,line:S.yylineno,loc:Ie,expected:_e})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(q[0]){case 1:l.push(I),E.push(S.yytext),t.push(S.yylloc),l.push(q[1]),I=null,Pe=S.yyleng,n=S.yytext,ye=S.yylineno,Ie=S.yylloc;break;case 2:if(F=this.productions_[q[1]][1],J.$=E[E.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},We&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),Te=this.performAction.apply(J,[n,Pe,ye,G.yy,q[1],E,t].concat(Ke)),typeof Te<"u")return Te;F&&(l=l.slice(0,-1*F*2),E=E.slice(0,-1*F),t=t.slice(0,-1*F)),l.push(this.productions_[q[1]][0]),E.push(J.$),t.push(J._$),Ye=de[l[l.length-2]][l[l.length-1]],l.push(Ye);break;case 3:return!0}}return!0},"parse")},Qe=function(){var P={EOF:1,parseError:f(function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);else throw new Error(r)},"parseError"),setInput:f(function(i,r){return this.yy=r||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:f(function(i){var r=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===s.length?this.yylloc.first_column:0)+s[s.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(i){this.unput(this.match.slice(i))},"less"),pastInput:f(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./JOg_XIAv.js","./BcsKoAPU.js","./entry.DxCQuGXb.css","./Ca0KO9Xq.js","./CS5akSNT.js","./D4pAW_0T.js","./DDebxXP-.js","./DsmBazLf.js","./COAycMg4.js","./BPACuoI0.js","./AymhMj9v.js","./ioXB9E2w.js","./BtyzMl9p.js","./BVmBXPoG.js","./CS9hqyP3.js","./dWu56FdP.js","./DynamicTable.B3c2woGb.css","./COq7mAG7.js","./DVnDb6ua.js","./Bq7OeLM1.js","./BWebIWit.js","./ErdDiagram.Cnqgwj9d.css","./Y1gXUmjt.js","./Oe2GG0Lt.js","./COHOh4Oe.js","./vhkvHdfO.js","./B73IHAoF.js","./CSQ0xnqv.js","./C7BQpy74.js","./BoIj4dtd.js","./dNPwafbq.js","./-lZvfnzr.js","./QuickQuery.CJ7tNjo4.css","./DpEV6S2O.js","./C2XHqDOf.js"])))=>i.map(i=>d[i]);
2
- import{an as s,ao as c,d as T,a8 as V,a2 as h,am as E,a3 as O,c as o,bP as P,a5 as k,a6 as C,aK as D,ap as t,k as f,g as l,ab as L,p as R,q as S,o as b,bQ as z,aq as A}from"./BcsKoAPU.js";const F=s(()=>c(()=>import("./JOg_XIAv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url).then(e=>e.default||e.default||e)),N=s(()=>c(()=>import("./BtyzMl9p.js"),__vite__mapDeps([12,1,2,13,11,14,15,4,16]),import.meta.url).then(e=>e.default||e.default||e)),g=s(()=>c(()=>import("./COq7mAG7.js"),__vite__mapDeps([17,1,2,18,11,15,19,20,21,9,22,3,4,5,14,16,23,24,25,26,27,10,28,29,7,13,30,31,32]),import.meta.url).then(e=>e.default||e.default||e)),q=s(()=>c(()=>import("./DpEV6S2O.js"),__vite__mapDeps([33,1,2,13,11,14,15,4,16]),import.meta.url).then(e=>e.default||e.default||e)),Q=s(()=>c(()=>import("./C2XHqDOf.js"),__vite__mapDeps([34,1,2,13,11,14,15,4,16]),import.meta.url).then(e=>e.default||e.default||e)),x=T({__name:"[tabViewId]",setup(e){const i=V(),w=h(),{tabViews:I}=E(w),d=O(),a=o(()=>I.value.find(n=>n.id===i.params.tabViewId)),m=o(()=>d.selectedConnection),p=o(()=>P(m.value??{type:C.POSTGRES,method:k.STRING}));D(()=>{!m.value||p.value||z({name:"workspaceId-connectionId",params:{workspaceId:i.params.workspaceId,connectionId:i.params.connectionId},replace:!0},{replace:!0})});const v=o(()=>{if(!a.value||!p.value)return null;switch(a.value.type){case t.TableDetail:case t.ViewDetail:case t.CodeQuery:return g;case t.TableOverview:return q;case t.FunctionsOverview:return N;case t.ViewOverview:return Q;case t.FunctionsDetail:return F;default:return null}}),y=o(()=>{var n,u,r,_;return a.value?{connectionId:a.value.connectionId,workspaceId:i.params.workspaceId,schemaName:a.value.schemaId||"",tableName:((n=a.value.metadata)==null?void 0:n.tableName)||"",functionName:((u=a.value.metadata)==null?void 0:u.tableName)||"",tabViewType:a.value.type,virtualTableId:(r=a.value.metadata)==null?void 0:r.virtualTableId,connections:d.connections,functionId:(_=a.value.metadata)==null?void 0:_.functionId}:{}});return(n,u)=>{const r=A;return l(v)?(b(),f(S(l(v)),L(R({key:0},l(y))),null,16)):(b(),f(r,{key:1,title:"Tab view not found",desc:"The requested tab could not be found. Please close this tab and try again."}))}}});export{x as default};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DTvJImVU.js","./D0lW43G8.js","./entry.DxCQuGXb.css","./BCAMWuzu.js","./CS5akSNT.js","./Czr647QE.js","./D28ykMUi.js","./CGq9Twnj.js","./COAycMg4.js","./g9ZMnTLJ.js","./C-I81xfB.js","./C0vscAQB.js","./DOAixkpJ.js","./BVmBXPoG.js","./Dtl3qje7.js","./Cf460dGA.js","./DynamicTable.B3c2woGb.css","./v41yYOa9.js","./CRqiHVA4.js","./CmjR7OTc.js","./DChDHsIe.js","./ErdDiagram.Cnqgwj9d.css","./CLQzuV82.js","./CCmd8DpQ.js","./BMLhg7hE.js","./bkzIFcLw.js","./Dunt8-TF.js","./YdOCcCRS.js","./DVkCRFXi.js","./Db3rTgnd.js","./CtCx-4nJ.js","./-lZvfnzr.js","./QuickQuery.CJ7tNjo4.css","./BseVuOZ1.js","./CvFjsYJZ.js"])))=>i.map(i=>d[i]);
2
+ import{an as s,ao as c,d as T,a8 as V,a2 as h,am as E,a3 as O,c as o,bP as P,a5 as k,a6 as C,aK as D,ap as t,k as f,g as l,ab as L,p as R,q as S,o as b,bQ as z,aq as A}from"./D0lW43G8.js";const F=s(()=>c(()=>import("./DTvJImVU.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url).then(e=>e.default||e.default||e)),N=s(()=>c(()=>import("./DOAixkpJ.js"),__vite__mapDeps([12,1,2,13,11,14,15,4,16]),import.meta.url).then(e=>e.default||e.default||e)),g=s(()=>c(()=>import("./v41yYOa9.js"),__vite__mapDeps([17,1,2,18,11,15,19,20,21,9,22,3,4,5,14,16,23,24,25,26,27,10,28,29,7,13,30,31,32]),import.meta.url).then(e=>e.default||e.default||e)),q=s(()=>c(()=>import("./BseVuOZ1.js"),__vite__mapDeps([33,1,2,13,11,14,15,4,16]),import.meta.url).then(e=>e.default||e.default||e)),Q=s(()=>c(()=>import("./CvFjsYJZ.js"),__vite__mapDeps([34,1,2,13,11,14,15,4,16]),import.meta.url).then(e=>e.default||e.default||e)),x=T({__name:"[tabViewId]",setup(e){const i=V(),w=h(),{tabViews:I}=E(w),d=O(),a=o(()=>I.value.find(n=>n.id===i.params.tabViewId)),m=o(()=>d.selectedConnection),p=o(()=>P(m.value??{type:C.POSTGRES,method:k.STRING}));D(()=>{!m.value||p.value||z({name:"workspaceId-connectionId",params:{workspaceId:i.params.workspaceId,connectionId:i.params.connectionId},replace:!0},{replace:!0})});const v=o(()=>{if(!a.value||!p.value)return null;switch(a.value.type){case t.TableDetail:case t.ViewDetail:case t.CodeQuery:return g;case t.TableOverview:return q;case t.FunctionsOverview:return N;case t.ViewOverview:return Q;case t.FunctionsDetail:return F;default:return null}}),y=o(()=>{var n,u,r,_;return a.value?{connectionId:a.value.connectionId,workspaceId:i.params.workspaceId,schemaName:a.value.schemaId||"",tableName:((n=a.value.metadata)==null?void 0:n.tableName)||"",functionName:((u=a.value.metadata)==null?void 0:u.tableName)||"",tabViewType:a.value.type,virtualTableId:(r=a.value.metadata)==null?void 0:r.virtualTableId,connections:d.connections,functionId:(_=a.value.metadata)==null?void 0:_.functionId}:{}});return(n,u)=>{const r=A;return l(v)?(b(),f(S(l(v)),L(R({key:0},l(y))),null,16)):(b(),f(r,{key:1,title:"Tab view not found",desc:"The requested tab could not be found. Please close this tab and try again."}))}}});export{x as default};