@kong-ui-public/documentation 0.7.55 → 0.7.56

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 (63) hide show
  1. package/dist/{_basePickBy-BdieChar-OkpwE92k.js → _basePickBy-BdieChar-BHfPVAA5.js} +2 -2
  2. package/dist/{_baseUniq-DvGKNxK2-CrFHB0Va.js → _baseUniq-DvGKNxK2-CYqwMkyH.js} +1 -1
  3. package/dist/{arc-HkQ-gbKN-DMqNZP0P.js → arc-HkQ-gbKN-_SM_V5oN.js} +1 -1
  4. package/dist/architecture-I3QFYML2-BnL0CBhZ-Dz2sf5cv.js +5 -0
  5. package/dist/{architectureDiagram-V6B76FHG-CF7LIMcO-Bi3o7tPD.js → architectureDiagram-V6B76FHG-CF7LIMcO-DzL63OWw.js} +4 -4
  6. package/dist/{blockDiagram-EN3ZKWFM-Ce9sI6p0-BSW7PVPT.js → blockDiagram-EN3ZKWFM-Ce9sI6p0-UZnezL5w.js} +6 -6
  7. package/dist/{c4Diagram-THADGKDP-BTW1RdWp-B-P4jJEG.js → c4Diagram-THADGKDP-BTW1RdWp-vE1pshKM.js} +2 -2
  8. package/dist/{channel-BExz2QEe-D87SiV4g.js → channel-BExz2QEe-lnItNUZh.js} +1 -1
  9. package/dist/{chunk-2JBRQKJ5-OM-qdEYq-BtmlqXNP.js → chunk-2JBRQKJ5-OM-qdEYq-Bmm4S9FM.js} +2 -2
  10. package/dist/{chunk-2RYQ3QTB-CEsfCBgx-CFtk4OUl.js → chunk-2RYQ3QTB-CEsfCBgx-BhRqgy80.js} +1 -1
  11. package/dist/{chunk-BAVOGKFW-BsKga6TS-OmijSWzp.js → chunk-BAVOGKFW-BsKga6TS-Wfk2rdgy.js} +1 -1
  12. package/dist/{chunk-DUMQOTYW-702X_yPX-jq37ikuA.js → chunk-DUMQOTYW-702X_yPX-Dw9UiDRn.js} +1 -1
  13. package/dist/{chunk-OQCM5LHU-DvAgHiz1-EenYCxhh.js → chunk-OQCM5LHU-DvAgHiz1-Bqb_RIPe.js} +1 -1
  14. package/dist/{chunk-UGV5ZQQN-DLJfHEQ--CXU97g-q.js → chunk-UGV5ZQQN-DLJfHEQ--Dysse3pl.js} +2 -2
  15. package/dist/{chunk-XVOYOM2C-BuvytsGy-DwxxmTeO.js → chunk-XVOYOM2C-BuvytsGy-ChTl6i-u.js} +1 -1
  16. package/dist/{chunk-YWFND7JV-BX4eJVvR-BCwDeDNF.js → chunk-YWFND7JV-BX4eJVvR-CW68YxAz.js} +1 -1
  17. package/dist/{classDiagram-4BHYIK4I-DABOljRL-DAS3U8qp.js → classDiagram-4BHYIK4I-DABOljRL-CuftLPdB.js} +4 -4
  18. package/dist/{classDiagram-v2-FI7KE7WJ-DyhJS9wI-CeDC1SJu.js → classDiagram-v2-FI7KE7WJ-DyhJS9wI-C2HEq5ec.js} +7 -7
  19. package/dist/{clone-BqJCgI_t-D6TZM9U-.js → clone-BqJCgI_t-DXLdRaG8.js} +1 -1
  20. package/dist/{dagre-P3YPLUS5-C2sB48dB-TVHqbdM9.js → dagre-P3YPLUS5-C2sB48dB-jb9CH8M5.js} +4 -4
  21. package/dist/{diagram-QS5GVLUX-CPjjc7oB-xgDgLBUy.js → diagram-QS5GVLUX-CPjjc7oB-jbl8NueK.js} +3 -3
  22. package/dist/documentation.es.js +1 -1
  23. package/dist/documentation.umd.js +1 -1
  24. package/dist/{erDiagram-62CBQV5Y-BWvC3B70-B5ci7Tyo.js → erDiagram-62CBQV5Y-BWvC3B70-TpLwoM_M.js} +3 -3
  25. package/dist/{flowDiagram-JSIZSE4D-C6fUTYCs-CC8M6lTH.js → flowDiagram-JSIZSE4D-C6fUTYCs-lRAjb9r4.js} +4 -4
  26. package/dist/{ganttDiagram-ASEIQ4P5-C4T3npMC-CkOmHDDH.js → ganttDiagram-ASEIQ4P5-C4T3npMC-Bv0ERrOu.js} +2 -2
  27. package/dist/gitGraph-YCYPL57B-BrNA4-wo-1vS3UhGj.js +5 -0
  28. package/dist/{gitGraphDiagram-UL5UFKDR-DUEiISlX-D9YHU22K.js → gitGraphDiagram-UL5UFKDR-DUEiISlX-C816iO7E.js} +4 -4
  29. package/dist/{graph-sjVS6xcE-C5RdEsAN.js → graph-sjVS6xcE-jaGHLe8p.js} +2 -2
  30. package/dist/{index-BVoTdxnp.js → index-D41my0VH.js} +31 -30
  31. package/dist/info-46DW6VJ7-Bej2n0c3-c2JflnXI.js +5 -0
  32. package/dist/{infoDiagram-7APDZ6AT-CkczlyAg-BlJfGN5d.js → infoDiagram-7APDZ6AT-CkczlyAg-HGT4yMb4.js} +2 -2
  33. package/dist/{journeyDiagram-G5LC7W2K-CGKx4opc-DgSw5OEZ.js → journeyDiagram-G5LC7W2K-CGKx4opc-BDHeqkhx.js} +3 -3
  34. package/dist/{json-c0WkG_Y9-DE96BGkz.js → json-c0WkG_Y9-qa4XIgBl.js} +4 -4
  35. package/dist/{layout-BT6DeXbr-BANlZ5gi.js → layout-BT6DeXbr-CBThH_m5.js} +4 -4
  36. package/dist/{linear-Dz3m-tA--DoWdTVVU.js → linear-Dz3m-tA--C2FQ42E0.js} +1 -1
  37. package/dist/{mermaid-parser.core-CHAbAGk3-c1XgG0S5.js → mermaid-parser.core-CHAbAGk3-ygdZJxS0.js} +9 -9
  38. package/dist/{mindmap-definition-FCEC46F3-Bc0Z0Iij-DjhnZX8i.js → mindmap-definition-FCEC46F3-Bc0Z0Iij-DsbAOgzG.js} +1 -1
  39. package/dist/packet-W2GHVCYJ-ZKPevIRt-D5Vbduxb.js +5 -0
  40. package/dist/pie-BEWT4RHE-DylShr8x-t6X0i01V.js +5 -0
  41. package/dist/{pieDiagram-OZX6XH5M-CXiGhbiR-DRla_XQL.js → pieDiagram-OZX6XH5M-CXiGhbiR-DMsYbjX6.js} +4 -4
  42. package/dist/{quadrantDiagram-VG34DGKC-CbM6hf5T-BkpDE-dh.js → quadrantDiagram-VG34DGKC-CbM6hf5T-B1viEXHh.js} +2 -2
  43. package/dist/{requirementDiagram-FPZB6IJI-B_JGEuRG-CfrFuiOp.js → requirementDiagram-FPZB6IJI-B_JGEuRG-Do02GURU.js} +3 -3
  44. package/dist/{sankeyDiagram-KMMQDL5K-BdxnO3f5-GG9bgFTU.js → sankeyDiagram-KMMQDL5K-BdxnO3f5-DzcSsApy.js} +1 -1
  45. package/dist/{sequenceDiagram-PQT5PN7B-HSmTG3uL-DCRTrdd_.js → sequenceDiagram-PQT5PN7B-HSmTG3uL-iW_CosWz.js} +3 -3
  46. package/dist/{stateDiagram-TQSDS2D4-BK8lu_Tc-UxdkYbwz.js → stateDiagram-TQSDS2D4-BK8lu_Tc-BNso3Vpg.js} +5 -5
  47. package/dist/{stateDiagram-v2-J5TZWJW5-Bz5m2MnO-YNqSfPWL.js → stateDiagram-v2-J5TZWJW5-Bz5m2MnO-CLJWAJ33.js} +3 -3
  48. package/dist/{timeline-definition-KYQAIZUX-XLrO7vFH-BE_yP5t-.js → timeline-definition-KYQAIZUX-XLrO7vFH-DOn56ofK.js} +2 -2
  49. package/dist/types/components/DocumentationContent.vue.d.ts +6 -6
  50. package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
  51. package/dist/types/components/DocumentationDisplay.vue.d.ts +280 -7
  52. package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
  53. package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +1 -1
  54. package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
  55. package/dist/types/composables/useI18n.d.ts +8 -67
  56. package/dist/types/composables/useI18n.d.ts.map +1 -1
  57. package/dist/{xychartDiagram-LESROZAQ-CFA62kNt-Cw_jtdeV.js → xychartDiagram-LESROZAQ-CFA62kNt-omKvECoB.js} +2 -2
  58. package/package.json +2 -2
  59. package/dist/architecture-I3QFYML2-BnL0CBhZ-OwkgZ4Jc.js +0 -5
  60. package/dist/gitGraph-YCYPL57B-BrNA4-wo-DSu9FUv_.js +0 -5
  61. package/dist/info-46DW6VJ7-Bej2n0c3-C-Lc5xdL.js +0 -5
  62. package/dist/packet-W2GHVCYJ-ZKPevIRt-QgrlrfSF.js +0 -5
  63. package/dist/pie-BEWT4RHE-DylShr8x-d1G_mdRP.js +0 -5
@@ -1,4 +1,4 @@
1
- (function(eA,tA){typeof exports=="object"&&typeof module<"u"?tA(exports,require("vue"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared"),require("@kong/icons")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/i18n","@kong-ui-public/entities-shared","@kong/icons"],tA):(eA=typeof globalThis<"u"?globalThis:eA||self,tA(eA["kong-ui-public-documentation"]={},eA.Vue,eA["kong-ui-public-i18n"],eA["kong-ui-public-entities-shared"],eA.KongIcons))})(this,function(exports,vue,i18n,entitiesShared,icons){"use strict";const documentation={common:{published:"Published",unpublished:"Unpublished"},documentation_display:{added_label:"Added: ",status_label:"Status: ",edit_button:"Edit",edit_info_button:"Document settings",edit_markdown_button:"Edit",download_button:"Download",add_new:"Add Page",actions_title:"Document Actions"},errors:{cannot_retrieve_document:"Cannot retrieve selected document. Please try again later",unexpected:"An unexpected error has occurred"},form_modal:{cancel_button_text:"Cancel",create_title:"New Documentation Page",delete_button_text:"Delete",documentation_link_text:"View Documentation",edit_title:"Edit Document Settings",empty_doc:"Empty Document",file_label:"Upload File",file_tooltip:"Select a .md file to upload",filename_button_text:"Select file",parent_document_select_label:"Parent",parent_document_select_option_none:"None",replace_file_button_text:"Select new file",save_button_text:"Save",slug_error:"Only letters, numbers, '-', and '_' characters are allowed",slug_label:"URL Slug",slug_placeholder:"Enter a URL slug",status_label:"Status",subtitle:"Provide guides, examples and other useful information about this service to developers.",edit_markdown:"To edit the document's markdown content rather than replacing the file, close this modal and click the 'Document Actions' icon button at the top right of the document.",title_label:"Page Name",title_placeholder:"Enter a page name"},show:{actions:"Actions",actions_menu:{delete_document:"Delete Document",document_settings:"Document Settings",download_document:"Download Document",edit_document:"Edit Document",new_document:"New Document"},empty_state:{title:"Add New Documentation Page",message:"Pages will allow you to provide guides examples and other useful information about your service to developers.",ctaText:"New Page"}}},english={documentation};function usei18n(){return{i18n:i18n.createI18n("en-us",english),i18nT:i18n.Translation}}const composables$1={useI18n:usei18n};function cloneDeep(eA){if(eA!==void 0)return JSON.parse(JSON.stringify(eA))}function isObjectEmpty(eA){return Object.keys(eA).length===0}var Tt$c=Object.defineProperty,bt$d=eA=>{throw TypeError(eA)},Kt$a=(eA,tA,nA)=>tA in eA?Tt$c(eA,tA,{enumerable:!0,configurable:!0,writable:!0,value:nA}):eA[tA]=nA,jA=(eA,tA,nA)=>Kt$a(eA,typeof tA!="symbol"?tA+"":tA,nA),vt$d=(eA,tA,nA)=>tA.has(eA)||bt$d("Cannot "+nA),Ft$b=(eA,tA,nA)=>tA.has(eA)?bt$d("Cannot add the same private member more than once"):tA instanceof WeakSet?tA.add(eA):tA.set(eA,nA),At$9=(eA,tA,nA)=>(vt$d(eA,tA,"access private method"),nA);const UNIQUE_ID_INJECTION_KEY=Symbol("The unique id that prefixes all identifiers within a single instance of the component"),TEXTAREA_ID_INJECTION_KEY=Symbol("Textarea unique id"),MODE_INJECTION_KEY=Symbol("Markdown component mode"),EDITABLE_INJECTION_KEY=Symbol("Is the markdown component editable"),FULLSCREEN_INJECTION_KEY=Symbol("Is the markdown component displaying fullscreen"),THEME_INJECTION_KEY=Symbol("Active theme, light or dark"),HTML_PREVIEW_INJECTION_KEY=Symbol("Is the html preview enabled");function tryOnScopeDispose(eA){return vue.getCurrentScope()?(vue.onScopeDispose(eA),!0):!1}function toValue(eA){return typeof eA=="function"?eA():vue.unref(eA)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const notNullish=eA=>eA!=null,toString$1=Object.prototype.toString,isObject$5=eA=>toString$1.call(eA)==="[object Object]",noop$2=()=>{};function createFilterWrapper(eA,tA){function nA(...aA){return new Promise((iA,rA)=>{Promise.resolve(eA(()=>tA.apply(this,aA),{fn:tA,thisArg:this,args:aA})).then(iA).catch(rA)})}return nA}function debounceFilter(eA,tA={}){let nA,aA,iA=noop$2;const rA=AA=>{clearTimeout(AA),iA(),iA=noop$2};return AA=>{const oA=toValue(eA),sA=toValue(tA.maxWait);return nA&&rA(nA),oA<=0||sA!==void 0&&sA<=0?(aA&&(rA(aA),aA=null),Promise.resolve(AA())):new Promise((cA,lA)=>{iA=tA.rejectOnCancel?lA:cA,sA&&!aA&&(aA=setTimeout(()=>{nA&&rA(nA),aA=null,cA(AA())},sA)),nA=setTimeout(()=>{aA&&rA(aA),aA=null,cA(AA())},oA)})}}function throttleFilter(...eA){let tA=0,nA,aA=!0,iA=noop$2,rA,AA,oA,sA,cA;!vue.isRef(eA[0])&&typeof eA[0]=="object"?{delay:AA,trailing:oA=!0,leading:sA=!0,rejectOnCancel:cA=!1}=eA[0]:[AA,oA=!0,sA=!0,cA=!1]=eA;const lA=()=>{nA&&(clearTimeout(nA),nA=void 0,iA(),iA=noop$2)};return uA=>{const dA=toValue(AA),pA=Date.now()-tA,mA=()=>rA=uA();return lA(),dA<=0?(tA=Date.now(),mA()):(pA>dA&&(sA||!aA)?(tA=Date.now(),mA()):oA&&(rA=new Promise((gA,fA)=>{iA=cA?fA:gA,nA=setTimeout(()=>{tA=Date.now(),aA=!0,gA(mA()),lA()},Math.max(0,dA-pA))})),!sA&&!nA&&(nA=setTimeout(()=>aA=!0,dA)),aA=!1,rA)}}function getLifeCycleTarget(eA){return vue.getCurrentInstance()}function useDebounceFn(eA,tA=200,nA={}){return createFilterWrapper(debounceFilter(tA,nA),eA)}function useThrottleFn(eA,tA=200,nA=!1,aA=!0,iA=!1){return createFilterWrapper(throttleFilter(tA,nA,aA,iA),eA)}function tryOnMounted(eA,tA=!0,nA){getLifeCycleTarget()?vue.onMounted(eA,nA):tA?eA():vue.nextTick(eA)}function unrefElement(eA){var tA;const nA=toValue(eA);return(tA=nA==null?void 0:nA.$el)!=null?tA:nA}const defaultWindow=isClient?window:void 0;function useEventListener(...eA){let tA,nA,aA,iA;if(typeof eA[0]=="string"||Array.isArray(eA[0])?([nA,aA,iA]=eA,tA=defaultWindow):[tA,nA,aA,iA]=eA,!tA)return noop$2;Array.isArray(nA)||(nA=[nA]),Array.isArray(aA)||(aA=[aA]);const rA=[],AA=()=>{rA.forEach(lA=>lA()),rA.length=0},oA=(lA,uA,dA,pA)=>(lA.addEventListener(uA,dA,pA),()=>lA.removeEventListener(uA,dA,pA)),sA=vue.watch(()=>[unrefElement(tA),toValue(iA)],([lA,uA])=>{if(AA(),!lA)return;const dA=isObject$5(uA)?{...uA}:uA;rA.push(...nA.flatMap(pA=>aA.map(mA=>oA(lA,pA,mA,dA))))},{immediate:!0,flush:"post"}),cA=()=>{sA(),AA()};return tryOnScopeDispose(cA),cA}function useMounted(){const eA=vue.ref(!1),tA=vue.getCurrentInstance();return tA&&vue.onMounted(()=>{eA.value=!0},tA),eA}function useSupported(eA){const tA=useMounted();return vue.computed(()=>(tA.value,!!eA()))}function useMutationObserver(eA,tA,nA={}){const{window:aA=defaultWindow,...iA}=nA;let rA;const AA=useSupported(()=>aA&&"MutationObserver"in aA),oA=()=>{rA&&(rA.disconnect(),rA=void 0)},sA=vue.computed(()=>{const dA=toValue(eA),pA=(Array.isArray(dA)?dA:[dA]).map(unrefElement).filter(notNullish);return new Set(pA)}),cA=vue.watch(()=>sA.value,dA=>{oA(),AA.value&&dA.size&&(rA=new MutationObserver(tA),dA.forEach(pA=>rA.observe(pA,iA)))},{immediate:!0,flush:"post"}),lA=()=>rA==null?void 0:rA.takeRecords(),uA=()=>{cA(),oA()};return tryOnScopeDispose(uA),{isSupported:AA,stop:uA,takeRecords:lA}}function useActiveElement(eA={}){var tA;const{window:nA=defaultWindow,deep:aA=!0,triggerOnRemoval:iA=!1}=eA,rA=(tA=eA.document)!=null?tA:nA==null?void 0:nA.document,AA=()=>{var cA;let lA=rA==null?void 0:rA.activeElement;if(aA)for(;lA!=null&&lA.shadowRoot;)lA=(cA=lA==null?void 0:lA.shadowRoot)==null?void 0:cA.activeElement;return lA},oA=vue.ref(),sA=()=>{oA.value=AA()};return nA&&(useEventListener(nA,"blur",cA=>{cA.relatedTarget===null&&sA()},!0),useEventListener(nA,"focus",sA,!0)),iA&&useMutationObserver(rA,cA=>{cA.filter(lA=>lA.removedNodes.length).map(lA=>Array.from(lA.removedNodes)).flat().forEach(lA=>{lA===oA.value&&sA()})},{childList:!0,subtree:!0}),sA(),oA}function useMediaQuery(eA,tA={}){const{window:nA=defaultWindow}=tA,aA=useSupported(()=>nA&&"matchMedia"in nA&&typeof nA.matchMedia=="function");let iA;const rA=vue.ref(!1),AA=cA=>{rA.value=cA.matches},oA=()=>{iA&&("removeEventListener"in iA?iA.removeEventListener("change",AA):iA.removeListener(AA))},sA=vue.watchEffect(()=>{aA.value&&(oA(),iA=nA.matchMedia(toValue(eA)),"addEventListener"in iA?iA.addEventListener("change",AA):iA.addListener(AA),rA.value=iA.matches)});return tryOnScopeDispose(()=>{sA(),oA(),iA=void 0}),rA}const ARRIVED_STATE_THRESHOLD_PIXELS=1;function useScroll(eA,tA={}){const{throttle:nA=0,idle:aA=200,onStop:iA=noop$2,onScroll:rA=noop$2,offset:AA={left:0,right:0,top:0,bottom:0},eventListenerOptions:oA={capture:!1,passive:!0},behavior:sA="auto",window:cA=defaultWindow,onError:lA=BA=>{console.error(BA)}}=tA,uA=vue.ref(0),dA=vue.ref(0),pA=vue.computed({get(){return uA.value},set(BA){gA(BA,void 0)}}),mA=vue.computed({get(){return dA.value},set(BA){gA(void 0,BA)}});function gA(BA,wA){var QA,IA,vA,DA;if(!cA)return;const LA=toValue(eA);if(!LA)return;(vA=LA instanceof Document?cA.document.body:LA)==null||vA.scrollTo({top:(QA=toValue(wA))!=null?QA:mA.value,left:(IA=toValue(BA))!=null?IA:pA.value,behavior:toValue(sA)});const EA=((DA=LA==null?void 0:LA.document)==null?void 0:DA.documentElement)||(LA==null?void 0:LA.documentElement)||LA;pA!=null&&(uA.value=EA.scrollLeft),mA!=null&&(dA.value=EA.scrollTop)}const fA=vue.ref(!1),hA=vue.reactive({left:!0,right:!1,top:!0,bottom:!1}),bA=vue.reactive({left:!1,right:!1,top:!1,bottom:!1}),yA=BA=>{fA.value&&(fA.value=!1,bA.left=!1,bA.right=!1,bA.top=!1,bA.bottom=!1,iA(BA))},_A=useDebounceFn(yA,nA+aA),CA=BA=>{var wA;if(!cA)return;const QA=((wA=BA==null?void 0:BA.document)==null?void 0:wA.documentElement)||(BA==null?void 0:BA.documentElement)||unrefElement(BA),{display:IA,flexDirection:vA}=getComputedStyle(QA),DA=QA.scrollLeft;bA.left=DA<uA.value,bA.right=DA>uA.value;const LA=Math.abs(DA)<=(AA.left||0),EA=Math.abs(DA)+QA.clientWidth>=QA.scrollWidth-(AA.right||0)-ARRIVED_STATE_THRESHOLD_PIXELS;IA==="flex"&&vA==="row-reverse"?(hA.left=EA,hA.right=LA):(hA.left=LA,hA.right=EA),uA.value=DA;let SA=QA.scrollTop;BA===cA.document&&!SA&&(SA=cA.document.body.scrollTop),bA.top=SA<dA.value,bA.bottom=SA>dA.value;const FA=Math.abs(SA)<=(AA.top||0),NA=Math.abs(SA)+QA.clientHeight>=QA.scrollHeight-(AA.bottom||0)-ARRIVED_STATE_THRESHOLD_PIXELS;IA==="flex"&&vA==="column-reverse"?(hA.top=NA,hA.bottom=FA):(hA.top=FA,hA.bottom=NA),dA.value=SA},xA=BA=>{var wA;if(!cA)return;const QA=(wA=BA.target.documentElement)!=null?wA:BA.target;CA(QA),fA.value=!0,_A(BA),rA(BA)};return useEventListener(eA,"scroll",nA?useThrottleFn(xA,nA,!0,!1):xA,oA),tryOnMounted(()=>{try{const BA=toValue(eA);if(!BA)return;CA(BA)}catch(BA){lA(BA)}}),useEventListener(eA,"scrollend",yA,oA),{x:pA,y:mA,isScrolling:fA,arrivedState:hA,directions:bA,measure(){const BA=toValue(eA);cA&&BA&&CA(BA)}}}const DefaultMagicKeysAliasMap={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function useMagicKeys(eA={}){const{reactive:tA=!1,target:nA=defaultWindow,aliasMap:aA=DefaultMagicKeysAliasMap,passive:iA=!0,onEventFired:rA=noop$2}=eA,AA=vue.reactive(new Set),oA={toJSON(){return{}},current:AA},sA=tA?vue.reactive(oA):oA,cA=new Set,lA=new Set;function uA(gA,fA){gA in sA&&(tA?sA[gA]=fA:sA[gA].value=fA)}function dA(){AA.clear();for(const gA of lA)uA(gA,!1)}function pA(gA,fA){var hA,bA;const yA=(hA=gA.key)==null?void 0:hA.toLowerCase(),_A=[(bA=gA.code)==null?void 0:bA.toLowerCase(),yA].filter(Boolean);yA&&(fA?AA.add(yA):AA.delete(yA));for(const CA of _A)lA.add(CA),uA(CA,fA);yA==="meta"&&!fA?(cA.forEach(CA=>{AA.delete(CA),uA(CA,!1)}),cA.clear()):typeof gA.getModifierState=="function"&&gA.getModifierState("Meta")&&fA&&[...AA,..._A].forEach(CA=>cA.add(CA))}useEventListener(nA,"keydown",gA=>(pA(gA,!0),rA(gA)),{passive:iA}),useEventListener(nA,"keyup",gA=>(pA(gA,!1),rA(gA)),{passive:iA}),useEventListener("blur",dA,{passive:!0}),useEventListener("focus",dA,{passive:!0});const mA=new Proxy(sA,{get(gA,fA,hA){if(typeof fA!="string")return Reflect.get(gA,fA,hA);if(fA=fA.toLowerCase(),fA in aA&&(fA=aA[fA]),!(fA in sA))if(/[+_-]/.test(fA)){const yA=fA.split(/[+_-]/g).map(_A=>_A.trim());sA[fA]=vue.computed(()=>yA.every(_A=>toValue(mA[_A])))}else sA[fA]=vue.ref(!1);const bA=Reflect.get(gA,fA,hA);return tA?toValue(bA):bA}});return mA}function usePreferredColorScheme(eA){const tA=useMediaQuery("(prefers-color-scheme: light)",eA),nA=useMediaQuery("(prefers-color-scheme: dark)",eA);return vue.computed(()=>nA.value?"dark":tA.value?"light":"no-preference")}const EDITOR_DEBOUNCE_TIMEOUT=400,DEFAULT_CODEBLOCK_LANGUAGE="markdown";var InlineFormatWrapper=(eA=>(eA.bold="**",eA.italic="_",eA.underline="++",eA.strikethrough="~~",eA.subscript="~",eA.superscript="^",eA.mark="==",eA.code="`",eA))(InlineFormatWrapper||{});const TOOLBAR_HEIGHT="36px",NEW_LINE_CHARACTER=`
1
+ (function(eA,tA){typeof exports=="object"&&typeof module<"u"?tA(exports,require("vue"),require("@kong-ui-public/i18n"),require("@kong-ui-public/entities-shared"),require("@kong/icons")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/i18n","@kong-ui-public/entities-shared","@kong/icons"],tA):(eA=typeof globalThis<"u"?globalThis:eA||self,tA(eA["kong-ui-public-documentation"]={},eA.Vue,eA["kong-ui-public-i18n"],eA["kong-ui-public-entities-shared"],eA.KongIcons))})(this,function(exports,vue,i18n,entitiesShared,icons){"use strict";const documentation={common:{published:"Published",unpublished:"Unpublished"},documentation_display:{added_label:"Added: ",status_label:"Status: ",edit_button:"Edit",edit_info_button:"Document settings",edit_markdown_button:"Edit",download_button:"Download",add_new:"Add Page",actions_title:"Document Actions"},errors:{cannot_retrieve_document:"Cannot retrieve selected document. Please try again later",unexpected:"An unexpected error has occurred"},form_modal:{cancel_button_text:"Cancel",create_title:"New Documentation Page",delete_button_text:"Delete",documentation_link_text:"View Documentation",edit_title:"Edit Document Settings",empty_doc:"Empty Document",file_label:"Upload File",file_tooltip:"Select a .md file to upload",filename_button_text:"Select file",parent_document_select_label:"Parent",parent_document_select_option_none:"None",replace_file_button_text:"Select new file",save_button_text:"Save",slug_error:"Only letters, numbers, '-', and '_' characters are allowed",slug_label:"URL Slug",slug_placeholder:"Enter a URL slug",status_label:"Status",subtitle:"Provide guides, examples and other useful information about this service to developers.",edit_markdown:"To edit the document's markdown content rather than replacing the file, close this modal and click the 'Document Actions' icon button at the top right of the document.",title_label:"Page Name",title_placeholder:"Enter a page name"},show:{actions:"Actions",actions_menu:{delete_document:"Delete Document",document_settings:"Document Settings",download_document:"Download Document",edit_document:"Edit Document",new_document:"New Document"},empty_state:{title:"Add New Documentation Page",message:"Pages will allow you to provide guides examples and other useful information about your service to developers.",ctaText:"New Page"}}},english={documentation};function useI18n(){const eA=i18n.createI18n("en-us",english);return{i18n:eA,i18nT:i18n.i18nTComponent(eA)}}const composables$1={useI18n};function cloneDeep(eA){if(eA!==void 0)return JSON.parse(JSON.stringify(eA))}function isObjectEmpty(eA){return Object.keys(eA).length===0}var Tt$c=Object.defineProperty,bt$d=eA=>{throw TypeError(eA)},Kt$a=(eA,tA,nA)=>tA in eA?Tt$c(eA,tA,{enumerable:!0,configurable:!0,writable:!0,value:nA}):eA[tA]=nA,jA=(eA,tA,nA)=>Kt$a(eA,typeof tA!="symbol"?tA+"":tA,nA),vt$d=(eA,tA,nA)=>tA.has(eA)||bt$d("Cannot "+nA),Ft$b=(eA,tA,nA)=>tA.has(eA)?bt$d("Cannot add the same private member more than once"):tA instanceof WeakSet?tA.add(eA):tA.set(eA,nA),At$9=(eA,tA,nA)=>(vt$d(eA,tA,"access private method"),nA);const UNIQUE_ID_INJECTION_KEY=Symbol("The unique id that prefixes all identifiers within a single instance of the component"),TEXTAREA_ID_INJECTION_KEY=Symbol("Textarea unique id"),MODE_INJECTION_KEY=Symbol("Markdown component mode"),EDITABLE_INJECTION_KEY=Symbol("Is the markdown component editable"),FULLSCREEN_INJECTION_KEY=Symbol("Is the markdown component displaying fullscreen"),THEME_INJECTION_KEY=Symbol("Active theme, light or dark"),HTML_PREVIEW_INJECTION_KEY=Symbol("Is the html preview enabled");function tryOnScopeDispose(eA){return vue.getCurrentScope()?(vue.onScopeDispose(eA),!0):!1}function toValue(eA){return typeof eA=="function"?eA():vue.unref(eA)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const notNullish=eA=>eA!=null,toString$1=Object.prototype.toString,isObject$5=eA=>toString$1.call(eA)==="[object Object]",noop$2=()=>{};function createFilterWrapper(eA,tA){function nA(...aA){return new Promise((iA,rA)=>{Promise.resolve(eA(()=>tA.apply(this,aA),{fn:tA,thisArg:this,args:aA})).then(iA).catch(rA)})}return nA}function debounceFilter(eA,tA={}){let nA,aA,iA=noop$2;const rA=AA=>{clearTimeout(AA),iA(),iA=noop$2};return AA=>{const oA=toValue(eA),sA=toValue(tA.maxWait);return nA&&rA(nA),oA<=0||sA!==void 0&&sA<=0?(aA&&(rA(aA),aA=null),Promise.resolve(AA())):new Promise((cA,lA)=>{iA=tA.rejectOnCancel?lA:cA,sA&&!aA&&(aA=setTimeout(()=>{nA&&rA(nA),aA=null,cA(AA())},sA)),nA=setTimeout(()=>{aA&&rA(aA),aA=null,cA(AA())},oA)})}}function throttleFilter(...eA){let tA=0,nA,aA=!0,iA=noop$2,rA,AA,oA,sA,cA;!vue.isRef(eA[0])&&typeof eA[0]=="object"?{delay:AA,trailing:oA=!0,leading:sA=!0,rejectOnCancel:cA=!1}=eA[0]:[AA,oA=!0,sA=!0,cA=!1]=eA;const lA=()=>{nA&&(clearTimeout(nA),nA=void 0,iA(),iA=noop$2)};return uA=>{const dA=toValue(AA),pA=Date.now()-tA,mA=()=>rA=uA();return lA(),dA<=0?(tA=Date.now(),mA()):(pA>dA&&(sA||!aA)?(tA=Date.now(),mA()):oA&&(rA=new Promise((gA,fA)=>{iA=cA?fA:gA,nA=setTimeout(()=>{tA=Date.now(),aA=!0,gA(mA()),lA()},Math.max(0,dA-pA))})),!sA&&!nA&&(nA=setTimeout(()=>aA=!0,dA)),aA=!1,rA)}}function getLifeCycleTarget(eA){return vue.getCurrentInstance()}function useDebounceFn(eA,tA=200,nA={}){return createFilterWrapper(debounceFilter(tA,nA),eA)}function useThrottleFn(eA,tA=200,nA=!1,aA=!0,iA=!1){return createFilterWrapper(throttleFilter(tA,nA,aA,iA),eA)}function tryOnMounted(eA,tA=!0,nA){getLifeCycleTarget()?vue.onMounted(eA,nA):tA?eA():vue.nextTick(eA)}function unrefElement(eA){var tA;const nA=toValue(eA);return(tA=nA==null?void 0:nA.$el)!=null?tA:nA}const defaultWindow=isClient?window:void 0;function useEventListener(...eA){let tA,nA,aA,iA;if(typeof eA[0]=="string"||Array.isArray(eA[0])?([nA,aA,iA]=eA,tA=defaultWindow):[tA,nA,aA,iA]=eA,!tA)return noop$2;Array.isArray(nA)||(nA=[nA]),Array.isArray(aA)||(aA=[aA]);const rA=[],AA=()=>{rA.forEach(lA=>lA()),rA.length=0},oA=(lA,uA,dA,pA)=>(lA.addEventListener(uA,dA,pA),()=>lA.removeEventListener(uA,dA,pA)),sA=vue.watch(()=>[unrefElement(tA),toValue(iA)],([lA,uA])=>{if(AA(),!lA)return;const dA=isObject$5(uA)?{...uA}:uA;rA.push(...nA.flatMap(pA=>aA.map(mA=>oA(lA,pA,mA,dA))))},{immediate:!0,flush:"post"}),cA=()=>{sA(),AA()};return tryOnScopeDispose(cA),cA}function useMounted(){const eA=vue.ref(!1),tA=vue.getCurrentInstance();return tA&&vue.onMounted(()=>{eA.value=!0},tA),eA}function useSupported(eA){const tA=useMounted();return vue.computed(()=>(tA.value,!!eA()))}function useMutationObserver(eA,tA,nA={}){const{window:aA=defaultWindow,...iA}=nA;let rA;const AA=useSupported(()=>aA&&"MutationObserver"in aA),oA=()=>{rA&&(rA.disconnect(),rA=void 0)},sA=vue.computed(()=>{const dA=toValue(eA),pA=(Array.isArray(dA)?dA:[dA]).map(unrefElement).filter(notNullish);return new Set(pA)}),cA=vue.watch(()=>sA.value,dA=>{oA(),AA.value&&dA.size&&(rA=new MutationObserver(tA),dA.forEach(pA=>rA.observe(pA,iA)))},{immediate:!0,flush:"post"}),lA=()=>rA==null?void 0:rA.takeRecords(),uA=()=>{cA(),oA()};return tryOnScopeDispose(uA),{isSupported:AA,stop:uA,takeRecords:lA}}function useActiveElement(eA={}){var tA;const{window:nA=defaultWindow,deep:aA=!0,triggerOnRemoval:iA=!1}=eA,rA=(tA=eA.document)!=null?tA:nA==null?void 0:nA.document,AA=()=>{var cA;let lA=rA==null?void 0:rA.activeElement;if(aA)for(;lA!=null&&lA.shadowRoot;)lA=(cA=lA==null?void 0:lA.shadowRoot)==null?void 0:cA.activeElement;return lA},oA=vue.ref(),sA=()=>{oA.value=AA()};return nA&&(useEventListener(nA,"blur",cA=>{cA.relatedTarget===null&&sA()},!0),useEventListener(nA,"focus",sA,!0)),iA&&useMutationObserver(rA,cA=>{cA.filter(lA=>lA.removedNodes.length).map(lA=>Array.from(lA.removedNodes)).flat().forEach(lA=>{lA===oA.value&&sA()})},{childList:!0,subtree:!0}),sA(),oA}function useMediaQuery(eA,tA={}){const{window:nA=defaultWindow}=tA,aA=useSupported(()=>nA&&"matchMedia"in nA&&typeof nA.matchMedia=="function");let iA;const rA=vue.ref(!1),AA=cA=>{rA.value=cA.matches},oA=()=>{iA&&("removeEventListener"in iA?iA.removeEventListener("change",AA):iA.removeListener(AA))},sA=vue.watchEffect(()=>{aA.value&&(oA(),iA=nA.matchMedia(toValue(eA)),"addEventListener"in iA?iA.addEventListener("change",AA):iA.addListener(AA),rA.value=iA.matches)});return tryOnScopeDispose(()=>{sA(),oA(),iA=void 0}),rA}const ARRIVED_STATE_THRESHOLD_PIXELS=1;function useScroll(eA,tA={}){const{throttle:nA=0,idle:aA=200,onStop:iA=noop$2,onScroll:rA=noop$2,offset:AA={left:0,right:0,top:0,bottom:0},eventListenerOptions:oA={capture:!1,passive:!0},behavior:sA="auto",window:cA=defaultWindow,onError:lA=BA=>{console.error(BA)}}=tA,uA=vue.ref(0),dA=vue.ref(0),pA=vue.computed({get(){return uA.value},set(BA){gA(BA,void 0)}}),mA=vue.computed({get(){return dA.value},set(BA){gA(void 0,BA)}});function gA(BA,wA){var QA,IA,vA,DA;if(!cA)return;const LA=toValue(eA);if(!LA)return;(vA=LA instanceof Document?cA.document.body:LA)==null||vA.scrollTo({top:(QA=toValue(wA))!=null?QA:mA.value,left:(IA=toValue(BA))!=null?IA:pA.value,behavior:toValue(sA)});const EA=((DA=LA==null?void 0:LA.document)==null?void 0:DA.documentElement)||(LA==null?void 0:LA.documentElement)||LA;pA!=null&&(uA.value=EA.scrollLeft),mA!=null&&(dA.value=EA.scrollTop)}const fA=vue.ref(!1),hA=vue.reactive({left:!0,right:!1,top:!0,bottom:!1}),bA=vue.reactive({left:!1,right:!1,top:!1,bottom:!1}),yA=BA=>{fA.value&&(fA.value=!1,bA.left=!1,bA.right=!1,bA.top=!1,bA.bottom=!1,iA(BA))},_A=useDebounceFn(yA,nA+aA),CA=BA=>{var wA;if(!cA)return;const QA=((wA=BA==null?void 0:BA.document)==null?void 0:wA.documentElement)||(BA==null?void 0:BA.documentElement)||unrefElement(BA),{display:IA,flexDirection:vA}=getComputedStyle(QA),DA=QA.scrollLeft;bA.left=DA<uA.value,bA.right=DA>uA.value;const LA=Math.abs(DA)<=(AA.left||0),EA=Math.abs(DA)+QA.clientWidth>=QA.scrollWidth-(AA.right||0)-ARRIVED_STATE_THRESHOLD_PIXELS;IA==="flex"&&vA==="row-reverse"?(hA.left=EA,hA.right=LA):(hA.left=LA,hA.right=EA),uA.value=DA;let SA=QA.scrollTop;BA===cA.document&&!SA&&(SA=cA.document.body.scrollTop),bA.top=SA<dA.value,bA.bottom=SA>dA.value;const FA=Math.abs(SA)<=(AA.top||0),NA=Math.abs(SA)+QA.clientHeight>=QA.scrollHeight-(AA.bottom||0)-ARRIVED_STATE_THRESHOLD_PIXELS;IA==="flex"&&vA==="column-reverse"?(hA.top=NA,hA.bottom=FA):(hA.top=FA,hA.bottom=NA),dA.value=SA},xA=BA=>{var wA;if(!cA)return;const QA=(wA=BA.target.documentElement)!=null?wA:BA.target;CA(QA),fA.value=!0,_A(BA),rA(BA)};return useEventListener(eA,"scroll",nA?useThrottleFn(xA,nA,!0,!1):xA,oA),tryOnMounted(()=>{try{const BA=toValue(eA);if(!BA)return;CA(BA)}catch(BA){lA(BA)}}),useEventListener(eA,"scrollend",yA,oA),{x:pA,y:mA,isScrolling:fA,arrivedState:hA,directions:bA,measure(){const BA=toValue(eA);cA&&BA&&CA(BA)}}}const DefaultMagicKeysAliasMap={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function useMagicKeys(eA={}){const{reactive:tA=!1,target:nA=defaultWindow,aliasMap:aA=DefaultMagicKeysAliasMap,passive:iA=!0,onEventFired:rA=noop$2}=eA,AA=vue.reactive(new Set),oA={toJSON(){return{}},current:AA},sA=tA?vue.reactive(oA):oA,cA=new Set,lA=new Set;function uA(gA,fA){gA in sA&&(tA?sA[gA]=fA:sA[gA].value=fA)}function dA(){AA.clear();for(const gA of lA)uA(gA,!1)}function pA(gA,fA){var hA,bA;const yA=(hA=gA.key)==null?void 0:hA.toLowerCase(),_A=[(bA=gA.code)==null?void 0:bA.toLowerCase(),yA].filter(Boolean);yA&&(fA?AA.add(yA):AA.delete(yA));for(const CA of _A)lA.add(CA),uA(CA,fA);yA==="meta"&&!fA?(cA.forEach(CA=>{AA.delete(CA),uA(CA,!1)}),cA.clear()):typeof gA.getModifierState=="function"&&gA.getModifierState("Meta")&&fA&&[...AA,..._A].forEach(CA=>cA.add(CA))}useEventListener(nA,"keydown",gA=>(pA(gA,!0),rA(gA)),{passive:iA}),useEventListener(nA,"keyup",gA=>(pA(gA,!1),rA(gA)),{passive:iA}),useEventListener("blur",dA,{passive:!0}),useEventListener("focus",dA,{passive:!0});const mA=new Proxy(sA,{get(gA,fA,hA){if(typeof fA!="string")return Reflect.get(gA,fA,hA);if(fA=fA.toLowerCase(),fA in aA&&(fA=aA[fA]),!(fA in sA))if(/[+_-]/.test(fA)){const yA=fA.split(/[+_-]/g).map(_A=>_A.trim());sA[fA]=vue.computed(()=>yA.every(_A=>toValue(mA[_A])))}else sA[fA]=vue.ref(!1);const bA=Reflect.get(gA,fA,hA);return tA?toValue(bA):bA}});return mA}function usePreferredColorScheme(eA){const tA=useMediaQuery("(prefers-color-scheme: light)",eA),nA=useMediaQuery("(prefers-color-scheme: dark)",eA);return vue.computed(()=>nA.value?"dark":tA.value?"light":"no-preference")}const EDITOR_DEBOUNCE_TIMEOUT=400,DEFAULT_CODEBLOCK_LANGUAGE="markdown";var InlineFormatWrapper=(eA=>(eA.bold="**",eA.italic="_",eA.underline="++",eA.strikethrough="~~",eA.subscript="~",eA.superscript="^",eA.mark="==",eA.code="`",eA))(InlineFormatWrapper||{});const TOOLBAR_HEIGHT="36px",NEW_LINE_CHARACTER=`
2
2
  `,MARKDOWN_TEMPLATE_CODEBLOCK="```"+DEFAULT_CODEBLOCK_LANGUAGE+NEW_LINE_CHARACTER+NEW_LINE_CHARACTER+"```",MARKDOWN_TEMPLATE_TABLE="| Header | Header | Header |"+NEW_LINE_CHARACTER+"| :--- | :--- | :--- |"+NEW_LINE_CHARACTER+"| Cell | Cell | Cell |",MARKDOWN_TEMPLATE_TASK="- [ ] ",MARKDOWN_TEMPLATE_TASK_COMPLETED="- [x] ",MARKDOWN_TEMPLATE_UL="- ",MARKDOWN_TEMPLATE_OL="1. ",MARKDOWN_TEMPLATE_BLOCKQUOTE="> ",MARKDOWN_TEMPLATE_LINK="[text](url)",MARKDOWN_TEMPLATE_IMAGE="![alt](url)",COPY_ICON_SVG='<span class="kui-icon copy-icon button-icon" data-testid="kui-icon-wrapper-copy-icon" style="pointer-events:none; box-sizing: border-box; color: currentcolor; display: block; height: 20px; line-height: 0; width: 20px;"><svg data-testid="kui-icon-svg-copy-icon" fill="none" height="100%" role="img" viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg"><path d="M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z" fill="currentColor"></path></svg></span>',HEADER_LINK_ICON_SVG='<svg class="header-anchor-icon" viewBox="0 0 16 16" version="1.1" width="14" height="14" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>',KUI_BREAKPOINT_PHABLET="768px",KUI_ICON_SIZE_30="16px",KUI_ICON_SIZE_40="20px",KUI_FONT_FAMILY_CODE="'JetBrains Mono', Consolas, monospace",KUI_FONT_FAMILY_TEXT="'Inter', Roboto, Helvetica, sans-serif",KUI_SPACE_60="16px",_sfc_main$5=vue.defineComponent({__name:"ToolbarButton",props:{icon:{type:Boolean,default:!0},appearance:{type:String,default:"secondary"}},setup(eA){return(tA,nA)=>(vue.openBlock(),vue.createElementBlock("button",{class:vue.normalizeClass(["toolbar-button",[{"has-text":!eA.icon},eA.appearance]]),tabindex:"0",type:"button"},[vue.renderSlot(tA.$slots,"default",{},void 0,!0)],2))}}),_export_sfc$1=(eA,tA)=>{const nA=eA.__vccOpts||eA;for(const[aA,iA]of tA)nA[aA]=iA;return nA},ToolbarButton=_export_sfc$1(_sfc_main$5,[["__scopeId","data-v-47835ee3"]]),_hoisted_1$4={class:"info-tooltip"},_hoisted_2$3={key:0,class:"tooltip-content"},_sfc_main$4=vue.defineComponent({__name:"InfoTooltip",props:{text:{type:String,default:void 0}},setup(eA){return(tA,nA)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$4,[vue.renderSlot(tA.$slots,"default",{},void 0,!0),tA.$slots.tooltip||eA.text?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$3,[vue.renderSlot(tA.$slots,"tooltip",{},()=>[vue.createTextVNode(vue.toDisplayString(eA.text),1)],!0)])):vue.createCommentVNode("",!0)]))}}),InfoTooltip=_export_sfc$1(_sfc_main$4,[["__scopeId","data-v-46630046"]]),_hoisted_1$3={key:0,class:"tooltip-shortcut"},_hoisted_2$2$1={"data-testid":"shortcut-text"},_hoisted_3$2$1={key:0,class:"keys","data-testid":"keys"},_hoisted_4$2=["aria-label"],_sfc_main$3$1=vue.defineComponent({__name:"TooltipShortcut",props:{text:{type:String,required:!0},keys:{type:Array,default:()=>[],validator:eA=>eA!=null&&eA.length?eA.every(tA=>typeof tA=="string"):!0}},setup(eA){const tA=vue.ref(!1);return vue.onMounted(()=>{var nA;tA.value=/Mac|iPhone|iPod|iPad/i.test(navigator==null?void 0:navigator.platform)||/macOS|Mac|iPhone|iPod|iPad/i.test((nA=navigator==null?void 0:navigator.userAgentData)==null?void 0:nA.platform)}),(nA,aA)=>eA.text?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$3,[vue.createElementVNode("div",_hoisted_2$2$1,vue.toDisplayString(eA.text),1),eA.keys.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$2$1,[vue.createElementVNode("kbd",{"aria-label":tA.value?"Command":"Control",class:vue.normalizeClass(["keyboard-button meta-key",{mac:tA.value}]),"data-testid":"meta-key"},null,10,_hoisted_4$2),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(eA.keys,iA=>(vue.openBlock(),vue.createElementBlock("kbd",{key:iA,class:"keyboard-button"},vue.toDisplayString(iA),1))),128))])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)}}),TooltipShortcut=_export_sfc$1(_sfc_main$3$1,[["__scopeId","data-v-e8c3cafb"]]),I$4$1="24px",s$2$1=(eA,tA)=>{const nA=eA.__vccOpts||eA;for(const[aA,iA]of tA)nA[aA]=iA;return nA},b$h=eA=>(vue.pushScopeId("data-v-08e4cc7d"),eA=eA(),vue.popScopeId(),eA),v$d=["aria-hidden"],k$9={key:0,"data-testid":"kui-icon-svg-title"},N$j=b$h(()=>vue.createElementVNode("path",{d:"M6.55 16.5L8 14C6.9 14 5.95833 13.6083 5.175 12.825C4.39167 12.0417 4 11.1 4 10C4 8.9 4.39167 7.95833 5.175 7.175C5.95833 6.39167 6.9 6 8 6C9.1 6 10.0417 6.39167 10.825 7.175C11.6083 7.95833 12 8.9 12 10C12 10.3833 11.9542 10.7375 11.8625 11.0625C11.7708 11.3875 11.6333 11.7 11.45 12L8.275 17.5C8.19167 17.65 8.075 17.7708 7.925 17.8625C7.775 17.9542 7.60833 18 7.425 18C7.04167 18 6.75417 17.8333 6.5625 17.5C6.37083 17.1667 6.36667 16.8333 6.55 16.5ZM15.55 16.5L17 14C15.9 14 14.9583 13.6083 14.175 12.825C13.3917 12.0417 13 11.1 13 10C13 8.9 13.3917 7.95833 14.175 7.175C14.9583 6.39167 15.9 6 17 6C18.1 6 19.0417 6.39167 19.825 7.175C20.6083 7.95833 21 8.9 21 10C21 10.3833 20.9542 10.7375 20.8625 11.0625C20.7708 11.3875 20.6333 11.7 20.45 12L17.275 17.5C17.1917 17.65 17.075 17.7708 16.925 17.8625C16.775 17.9542 16.6083 18 16.425 18C16.0417 18 15.7542 17.8333 15.5625 17.5C15.3708 17.1667 15.3667 16.8333 15.55 16.5Z",fill:"currentColor"},null,-1)),q$1$1=vue.defineComponent({__name:"BlockquoteIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon blockquote-icon","data-testid":"kui-icon-wrapper-blockquote-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-blockquote-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",k$9,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$j],8,v$d))]),_:1},8,["aria-hidden","style"]))}}),m$7=s$2$1(q$1$1,[["__scopeId","data-v-08e4cc7d"]]),b$g=eA=>(vue.pushScopeId("data-v-269f75ad"),eA=eA(),vue.popScopeId(),eA),v$c=["aria-hidden"],N$i={key:0,"data-testid":"kui-icon-svg-title"},x$b=b$g(()=>vue.createElementVNode("path",{d:"M6.3 19.25V5.25H11.825C12.9083 5.25 13.9083 5.58333 14.825 6.25C15.7417 6.91667 16.2 7.84167 16.2 9.025C16.2 9.875 16.0083 10.5292 15.625 10.9875C15.2417 11.4458 14.8833 11.775 14.55 11.975C14.9667 12.1583 15.4292 12.5 15.9375 13C16.4458 13.5 16.7 14.25 16.7 15.25C16.7 16.7333 16.1583 17.7708 15.075 18.3625C13.9917 18.9542 12.975 19.25 12.025 19.25H6.3ZM9.325 16.45H11.925C12.725 16.45 13.2125 16.2458 13.3875 15.8375C13.5625 15.4292 13.65 15.1333 13.65 14.95C13.65 14.7667 13.5625 14.4708 13.3875 14.0625C13.2125 13.6542 12.7 13.45 11.85 13.45H9.325V16.45ZM9.325 10.75H11.65C12.2 10.75 12.6 10.6083 12.85 10.325C13.1 10.0417 13.225 9.725 13.225 9.375C13.225 8.975 13.0833 8.65 12.8 8.4C12.5167 8.15 12.15 8.025 11.7 8.025H9.325V10.75Z",fill:"currentColor"},null,-1)),w$b=vue.defineComponent({__name:"BoldIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon bold-icon","data-testid":"kui-icon-wrapper-bold-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-bold-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",N$i,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),x$b],8,v$c))]),_:1},8,["aria-hidden","style"]))}}),m$6$1=s$2$1(w$b,[["__scopeId","data-v-269f75ad"]]),v$b=eA=>(vue.pushScopeId("data-v-5b9c5ae8"),eA=eA(),vue.popScopeId(),eA),b$f=["aria-hidden"],N$h={key:0,"data-testid":"kui-icon-svg-title"},x$a=v$b(()=>vue.createElementVNode("path",{d:"M4.82499 12.025L8.69999 15.9C8.88332 16.0833 8.97499 16.3167 8.97499 16.6C8.97499 16.8833 8.88332 17.1167 8.69999 17.3C8.51665 17.4833 8.28332 17.575 7.99999 17.575C7.71665 17.575 7.48332 17.4833 7.29999 17.3L2.69999 12.7C2.59999 12.6 2.52915 12.4917 2.48749 12.375C2.44582 12.2583 2.42499 12.1333 2.42499 12C2.42499 11.8667 2.44582 11.7417 2.48749 11.625C2.52915 11.5083 2.59999 11.4 2.69999 11.3L7.29999 6.7C7.49999 6.5 7.73749 6.4 8.01249 6.4C8.28749 6.4 8.52499 6.5 8.72499 6.7C8.92499 6.9 9.02499 7.1375 9.02499 7.4125C9.02499 7.6875 8.92499 7.925 8.72499 8.125L4.82499 12.025ZM19.175 11.975L15.3 8.1C15.1167 7.91667 15.025 7.68333 15.025 7.4C15.025 7.11667 15.1167 6.88333 15.3 6.7C15.4833 6.51667 15.7167 6.425 16 6.425C16.2833 6.425 16.5167 6.51667 16.7 6.7L21.3 11.3C21.4 11.4 21.4708 11.5083 21.5125 11.625C21.5542 11.7417 21.575 11.8667 21.575 12C21.575 12.1333 21.5542 12.2583 21.5125 12.375C21.4708 12.4917 21.4 12.6 21.3 12.7L16.7 17.3C16.5 17.5 16.2667 17.5958 16 17.5875C15.7333 17.5792 15.5 17.475 15.3 17.275C15.1 17.075 15 16.8375 15 16.5625C15 16.2875 15.1 16.05 15.3 15.85L19.175 11.975Z",fill:"currentColor"},null,-1)),w$a=vue.defineComponent({__name:"CodeIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon code-icon","data-testid":"kui-icon-wrapper-code-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-code-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",N$h,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),x$a],8,b$f))]),_:1},8,["aria-hidden","style"]))}}),e$4$1=s$2$1(w$a,[["__scopeId","data-v-5b9c5ae8"]]),b$e=eA=>(vue.pushScopeId("data-v-645040c1"),eA=eA(),vue.popScopeId(),eA),v$a$1=["aria-hidden"],k$8={key:0,"data-testid":"kui-icon-svg-title"},N$g=b$e(()=>vue.createElementVNode("path",{d:"M8.825 12L10.3 10.525C10.5 10.325 10.6 10.0917 10.6 9.825C10.6 9.55833 10.5 9.325 10.3 9.125C10.1 8.925 9.8625 8.825 9.5875 8.825C9.3125 8.825 9.075 8.925 8.875 9.125L6.7 11.3C6.6 11.4 6.52917 11.5083 6.4875 11.625C6.44583 11.7417 6.425 11.8667 6.425 12C6.425 12.1333 6.44583 12.2583 6.4875 12.375C6.52917 12.4917 6.6 12.6 6.7 12.7L8.875 14.875C9.075 15.075 9.3125 15.175 9.5875 15.175C9.8625 15.175 10.1 15.075 10.3 14.875C10.5 14.675 10.6 14.4417 10.6 14.175C10.6 13.9083 10.5 13.675 10.3 13.475L8.825 12ZM15.175 12L13.7 13.475C13.5 13.675 13.4 13.9083 13.4 14.175C13.4 14.4417 13.5 14.675 13.7 14.875C13.9 15.075 14.1375 15.175 14.4125 15.175C14.6875 15.175 14.925 15.075 15.125 14.875L17.3 12.7C17.4 12.6 17.4708 12.4917 17.5125 12.375C17.5542 12.2583 17.575 12.1333 17.575 12C17.575 11.8667 17.5542 11.7417 17.5125 11.625C17.4708 11.5083 17.4 11.4 17.3 11.3L15.125 9.125C15.025 9.025 14.9125 8.95 14.7875 8.9C14.6625 8.85 14.5375 8.825 14.4125 8.825C14.2875 8.825 14.1625 8.85 14.0375 8.9C13.9125 8.95 13.8 9.025 13.7 9.125C13.5 9.325 13.4 9.55833 13.4 9.825C13.4 10.0917 13.5 10.325 13.7 10.525L15.175 12ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z",fill:"currentColor"},null,-1)),w$9=vue.defineComponent({__name:"CodeblockIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon codeblock-icon","data-testid":"kui-icon-wrapper-codeblock-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-codeblock-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",k$8,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$g],8,v$a$1))]),_:1},8,["aria-hidden","style"]))}}),p$6=s$2$1(w$9,[["__scopeId","data-v-645040c1"]]),N$f=eA=>(vue.pushScopeId("data-v-e9097c1e"),eA=eA(),vue.popScopeId(),eA),b$d=["aria-hidden"],x$9={key:0,"data-testid":"kui-icon-svg-title"},z$5$1=N$f(()=>vue.createElementVNode("path",{d:"M3.4 22L2 20.6L8.6 14H4V12H12V20H10V15.4L3.4 22ZM12 12V4H14V8.6L20.6 2L22 3.4L15.4 10H20V12H12Z",fill:"currentColor"},null,-1)),I$3$1=vue.defineComponent({__name:"CollapseIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon collapse-icon","data-testid":"kui-icon-wrapper-collapse-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-collapse-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",x$9,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),z$5$1],8,b$d))]),_:1},8,["aria-hidden","style"]))}}),a$2$1=s$2$1(I$3$1,[["__scopeId","data-v-e9097c1e"]]),w$8=eA=>(vue.pushScopeId("data-v-71f9cf35"),eA=eA(),vue.popScopeId(),eA),N$e=["aria-hidden"],b$c={key:0,"data-testid":"kui-icon-svg-title"},x$8=w$8(()=>vue.createElementVNode("path",{d:"M12 16L7 11L8.4 9.55L11 12.15V4H13V12.15L15.6 9.55L17 11L12 16ZM6 20C5.45 20 4.97917 19.8042 4.5875 19.4125C4.19583 19.0208 4 18.55 4 18V15H6V18H18V15H20V18C20 18.55 19.8042 19.0208 19.4125 19.4125C19.0208 19.8042 18.55 20 18 20H6Z",fill:"currentColor"},null,-1)),k$7$1=vue.defineComponent({__name:"DownloadIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon download-icon","data-testid":"kui-icon-wrapper-download-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-download-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",b$c,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),x$8],8,N$e))]),_:1},8,["aria-hidden","style"]))}}),c$2$1=s$2$1(k$7$1,[["__scopeId","data-v-71f9cf35"]]),N$d=eA=>(vue.pushScopeId("data-v-2f0f412e"),eA=eA(),vue.popScopeId(),eA),b$b=["aria-hidden"],x$7$1={key:0,"data-testid":"kui-icon-svg-title"},z$4$1=N$d(()=>vue.createElementVNode("path",{d:"M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3042 2.75 17.8625 2.75C18.4208 2.75 18.8917 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.57083 21.275 6.1125C21.2917 6.65417 21.1083 7.11667 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4Z",fill:"currentColor"},null,-1)),w$7=vue.defineComponent({__name:"EditIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon edit-icon","data-testid":"kui-icon-wrapper-edit-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-edit-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",x$7$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),z$4$1],8,b$b))]),_:1},8,["aria-hidden","style"]))}}),p$5$1=s$2$1(w$7,[["__scopeId","data-v-2f0f412e"]]),x$6$1=eA=>(vue.pushScopeId("data-v-15998f99"),eA=eA(),vue.popScopeId(),eA),N$c=["aria-hidden"],b$a$1={key:0,"data-testid":"kui-icon-svg-title"},z$3$1=x$6$1(()=>vue.createElementVNode("path",{d:"M3 21V13H5V17.6L17.6 5H13V3H21V11H19V6.4L6.4 19H11V21H3Z",fill:"currentColor"},null,-1)),I$2$1=vue.defineComponent({__name:"ExpandIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon expand-icon","data-testid":"kui-icon-wrapper-expand-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-expand-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",b$a$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),z$3$1],8,N$c))]),_:1},8,["aria-hidden","style"]))}}),f$4$1=s$2$1(I$2$1,[["__scopeId","data-v-15998f99"]]),V$2$1=eA=>(vue.pushScopeId("data-v-4369af70"),eA=eA(),vue.popScopeId(),eA),v$9$1=["aria-hidden"],N$b={key:0,"data-testid":"kui-icon-svg-title"},b$9$1=V$2$1(()=>vue.createElementVNode("path",{d:"M0 15V9H1.5V11H3.5V9H5V15H3.5V12.5H1.5V15H0ZM7.75 15V10.5H6V9H11V10.5H9.25V15H7.75ZM12 15V10C12 9.71667 12.0958 9.47917 12.2875 9.2875C12.4792 9.09583 12.7167 9 13 9H17.5C17.7833 9 18.0208 9.09583 18.2125 9.2875C18.4042 9.47917 18.5 9.71667 18.5 10V15H17V10.5H16V14H14.5V10.5H13.5V15H12ZM20 15V9H21.5V13.5H24V15H20Z",fill:"currentColor"},null,-1)),C$2$1=vue.defineComponent({__name:"HtmlIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon html-icon","data-testid":"kui-icon-wrapper-html-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-html-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",N$b,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),b$9$1],8,v$9$1))]),_:1},8,["aria-hidden","style"]))}}),f$3$1=s$2$1(C$2$1,[["__scopeId","data-v-4369af70"]]),v$8$1=eA=>(vue.pushScopeId("data-v-2974daab"),eA=eA(),vue.popScopeId(),eA),b$8$1=["aria-hidden"],N$a={key:0,"data-testid":"kui-icon-svg-title"},x$5$1=v$8$1(()=>vue.createElementVNode("path",{d:"M5 22C4.16667 22 3.45833 21.7083 2.875 21.125C2.29167 20.5417 2 19.8333 2 19V5C2 4.16667 2.29167 3.45833 2.875 2.875C3.45833 2.29167 4.16667 2 5 2H19C19.8333 2 20.5417 2.29167 21.125 2.875C21.7083 3.45833 22 4.16667 22 5V19C22 19.8333 21.7083 20.5417 21.125 21.125C20.5417 21.7083 19.8333 22 19 22H5ZM5 20H19C19.2833 20 19.5208 19.9042 19.7125 19.7125C19.9042 19.5208 20 19.2833 20 19V5C20 4.71667 19.9042 4.47917 19.7125 4.2875C19.5208 4.09583 19.2833 4 19 4H5C4.71667 4 4.47917 4.09583 4.2875 4.2875C4.09583 4.47917 4 4.71667 4 5V19C4 19.2833 4.09583 19.5208 4.2875 19.7125C4.47917 19.9042 4.71667 20 5 20ZM6 18L10 14L11.8 15.775L14 13L18 18H6ZM8 10C7.45 10 6.97917 9.80417 6.5875 9.4125C6.19583 9.02083 6 8.55 6 8C6 7.45 6.19583 6.97917 6.5875 6.5875C6.97917 6.19583 7.45 6 8 6C8.55 6 9.02083 6.19583 9.4125 6.5875C9.80417 6.97917 10 7.45 10 8C10 8.55 9.80417 9.02083 9.4125 9.4125C9.02083 9.80417 8.55 10 8 10Z",fill:"currentColor"},null,-1)),w$6=vue.defineComponent({__name:"ImageIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon image-icon","data-testid":"kui-icon-wrapper-image-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-image-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",N$a,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),x$5$1],8,b$8$1))]),_:1},8,["aria-hidden","style"]))}}),p$4$1=s$2$1(w$6,[["__scopeId","data-v-2974daab"]]),b$7$1=eA=>(vue.pushScopeId("data-v-71df16b9"),eA=eA(),vue.popScopeId(),eA),N$9=["aria-hidden"],x$4$1={key:0,"data-testid":"kui-icon-svg-title"},z$2$1=b$7$1(()=>vue.createElementVNode("path",{d:"M4.5 19.25V16.75H8.5L11.5 7.75H7.5V5.25H17.5V7.75H14L11 16.75H14.5V19.25H4.5Z",fill:"currentColor"},null,-1)),I$1$1=vue.defineComponent({__name:"ItalicIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon italic-icon","data-testid":"kui-icon-wrapper-italic-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-italic-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",x$4$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),z$2$1],8,N$9))]),_:1},8,["aria-hidden","style"]))}}),f$2$1=s$2$1(I$1$1,[["__scopeId","data-v-71df16b9"]]),v$7$1=eA=>(vue.pushScopeId("data-v-413e7aed"),eA=eA(),vue.popScopeId(),eA),k$6$1=["aria-hidden"],N$8={key:0,"data-testid":"kui-icon-svg-title"},b$6$1=v$7$1(()=>vue.createElementVNode("path",{d:"M7 17C5.61667 17 4.4375 16.5125 3.4625 15.5375C2.4875 14.5625 2 13.3833 2 12C2 10.6167 2.4875 9.4375 3.4625 8.4625C4.4375 7.4875 5.61667 7 7 7H10C10.2833 7 10.5208 7.09583 10.7125 7.2875C10.9042 7.47917 11 7.71667 11 8C11 8.28333 10.9042 8.52083 10.7125 8.7125C10.5208 8.90417 10.2833 9 10 9H7C6.16667 9 5.45833 9.29167 4.875 9.875C4.29167 10.4583 4 11.1667 4 12C4 12.8333 4.29167 13.5417 4.875 14.125C5.45833 14.7083 6.16667 15 7 15H10C10.2833 15 10.5208 15.0958 10.7125 15.2875C10.9042 15.4792 11 15.7167 11 16C11 16.2833 10.9042 16.5208 10.7125 16.7125C10.5208 16.9042 10.2833 17 10 17H7ZM9 13C8.71667 13 8.47917 12.9042 8.2875 12.7125C8.09583 12.5208 8 12.2833 8 12C8 11.7167 8.09583 11.4792 8.2875 11.2875C8.47917 11.0958 8.71667 11 9 11H15C15.2833 11 15.5208 11.0958 15.7125 11.2875C15.9042 11.4792 16 11.7167 16 12C16 12.2833 15.9042 12.5208 15.7125 12.7125C15.5208 12.9042 15.2833 13 15 13H9ZM14 17C13.7167 17 13.4792 16.9042 13.2875 16.7125C13.0958 16.5208 13 16.2833 13 16C13 15.7167 13.0958 15.4792 13.2875 15.2875C13.4792 15.0958 13.7167 15 14 15H17C17.8333 15 18.5417 14.7083 19.125 14.125C19.7083 13.5417 20 12.8333 20 12C20 11.1667 19.7083 10.4583 19.125 9.875C18.5417 9.29167 17.8333 9 17 9H14C13.7167 9 13.4792 8.90417 13.2875 8.7125C13.0958 8.52083 13 8.28333 13 8C13 7.71667 13.0958 7.47917 13.2875 7.2875C13.4792 7.09583 13.7167 7 14 7H17C18.3833 7 19.5625 7.4875 20.5375 8.4625C21.5125 9.4375 22 10.6167 22 12C22 13.3833 21.5125 14.5625 20.5375 15.5375C19.5625 16.5125 18.3833 17 17 17H14Z",fill:"currentColor"},null,-1)),H$2$1=vue.defineComponent({__name:"LinkIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon link-icon","data-testid":"kui-icon-wrapper-link-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-link-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",N$8,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),b$6$1],8,k$6$1))]),_:1},8,["aria-hidden","style"]))}}),m$5$1=s$2$1(H$2$1,[["__scopeId","data-v-413e7aed"]]),S$1$1=eA=>(vue.pushScopeId("data-v-bc740ce8"),eA=eA(),vue.popScopeId(),eA),v$6$1=["aria-hidden"],b$5$1={key:0,"data-testid":"kui-icon-svg-title"},N$7=S$1$1(()=>vue.createElementVNode("path",{d:"M3.75 22C3.53333 22 3.35417 21.9292 3.2125 21.7875C3.07083 21.6458 3 21.4667 3 21.25C3 21.0333 3.07083 20.8542 3.2125 20.7125C3.35417 20.5708 3.53333 20.5 3.75 20.5H5.5V19.75H4.75C4.53333 19.75 4.35417 19.6792 4.2125 19.5375C4.07083 19.3958 4 19.2167 4 19C4 18.7833 4.07083 18.6042 4.2125 18.4625C4.35417 18.3208 4.53333 18.25 4.75 18.25H5.5V17.5H3.75C3.53333 17.5 3.35417 17.4292 3.2125 17.2875C3.07083 17.1458 3 16.9667 3 16.75C3 16.5333 3.07083 16.3542 3.2125 16.2125C3.35417 16.0708 3.53333 16 3.75 16H6C6.28333 16 6.52083 16.0958 6.7125 16.2875C6.90417 16.4792 7 16.7167 7 17V18C7 18.2833 6.90417 18.5208 6.7125 18.7125C6.52083 18.9042 6.28333 19 6 19C6.28333 19 6.52083 19.0958 6.7125 19.2875C6.90417 19.4792 7 19.7167 7 20V21C7 21.2833 6.90417 21.5208 6.7125 21.7125C6.52083 21.9042 6.28333 22 6 22H3.75ZM3.75 15C3.53333 15 3.35417 14.9292 3.2125 14.7875C3.07083 14.6458 3 14.4667 3 14.25V12.25C3 11.9667 3.09583 11.7292 3.2875 11.5375C3.47917 11.3458 3.71667 11.25 4 11.25H5.5V10.5H3.75C3.53333 10.5 3.35417 10.4292 3.2125 10.2875C3.07083 10.1458 3 9.96667 3 9.75C3 9.53333 3.07083 9.35417 3.2125 9.2125C3.35417 9.07083 3.53333 9 3.75 9H6C6.28333 9 6.52083 9.09583 6.7125 9.2875C6.90417 9.47917 7 9.71667 7 10V11.75C7 12.0333 6.90417 12.2708 6.7125 12.4625C6.52083 12.6542 6.28333 12.75 6 12.75H4.5V13.5H6.25C6.46667 13.5 6.64583 13.5708 6.7875 13.7125C6.92917 13.8542 7 14.0333 7 14.25C7 14.4667 6.92917 14.6458 6.7875 14.7875C6.64583 14.9292 6.46667 15 6.25 15H3.75ZM5.25 8C5.03333 8 4.85417 7.92917 4.7125 7.7875C4.57083 7.64583 4.5 7.46667 4.5 7.25V3.5H3.75C3.53333 3.5 3.35417 3.42917 3.2125 3.2875C3.07083 3.14583 3 2.96667 3 2.75C3 2.53333 3.07083 2.35417 3.2125 2.2125C3.35417 2.07083 3.53333 2 3.75 2H5.25C5.46667 2 5.64583 2.07083 5.7875 2.2125C5.92917 2.35417 6 2.53333 6 2.75V7.25C6 7.46667 5.92917 7.64583 5.7875 7.7875C5.64583 7.92917 5.46667 8 5.25 8ZM10 19C9.71667 19 9.47917 18.9042 9.2875 18.7125C9.09583 18.5208 9 18.2833 9 18C9 17.7167 9.09583 17.4792 9.2875 17.2875C9.47917 17.0958 9.71667 17 10 17H20C20.2833 17 20.5208 17.0958 20.7125 17.2875C20.9042 17.4792 21 17.7167 21 18C21 18.2833 20.9042 18.5208 20.7125 18.7125C20.5208 18.9042 20.2833 19 20 19H10ZM10 13C9.71667 13 9.47917 12.9042 9.2875 12.7125C9.09583 12.5208 9 12.2833 9 12C9 11.7167 9.09583 11.4792 9.2875 11.2875C9.47917 11.0958 9.71667 11 10 11H20C20.2833 11 20.5208 11.0958 20.7125 11.2875C20.9042 11.4792 21 11.7167 21 12C21 12.2833 20.9042 12.5208 20.7125 12.7125C20.5208 12.9042 20.2833 13 20 13H10ZM10 7C9.71667 7 9.47917 6.90417 9.2875 6.7125C9.09583 6.52083 9 6.28333 9 6C9 5.71667 9.09583 5.47917 9.2875 5.2875C9.47917 5.09583 9.71667 5 10 5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H10Z",fill:"currentColor"},null,-1)),k$5$1=vue.defineComponent({__name:"ListOrderedIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon list-ordered-icon","data-testid":"kui-icon-wrapper-list-ordered-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-list-ordered-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",b$5$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$7],8,v$6$1))]),_:1},8,["aria-hidden","style"]))}}),m$4$1=s$2$1(k$5$1,[["__scopeId","data-v-bc740ce8"]]),v$5$1=eA=>(vue.pushScopeId("data-v-68b22e14"),eA=eA(),vue.popScopeId(),eA),b$4$1=["aria-hidden"],N$6={key:0,"data-testid":"kui-icon-svg-title"},x$3$1=v$5$1(()=>vue.createElementVNode("path",{d:"M10 19C9.71667 19 9.47917 18.9042 9.2875 18.7125C9.09583 18.5208 9 18.2833 9 18C9 17.7167 9.09583 17.4792 9.2875 17.2875C9.47917 17.0958 9.71667 17 10 17H20C20.2833 17 20.5208 17.0958 20.7125 17.2875C20.9042 17.4792 21 17.7167 21 18C21 18.2833 20.9042 18.5208 20.7125 18.7125C20.5208 18.9042 20.2833 19 20 19H10ZM10 13C9.71667 13 9.47917 12.9042 9.2875 12.7125C9.09583 12.5208 9 12.2833 9 12C9 11.7167 9.09583 11.4792 9.2875 11.2875C9.47917 11.0958 9.71667 11 10 11H20C20.2833 11 20.5208 11.0958 20.7125 11.2875C20.9042 11.4792 21 11.7167 21 12C21 12.2833 20.9042 12.5208 20.7125 12.7125C20.5208 12.9042 20.2833 13 20 13H10ZM10 7C9.71667 7 9.47917 6.90417 9.2875 6.7125C9.09583 6.52083 9 6.28333 9 6C9 5.71667 9.09583 5.47917 9.2875 5.2875C9.47917 5.09583 9.71667 5 10 5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H10ZM5 20C4.45 20 3.97917 19.8042 3.5875 19.4125C3.19583 19.0208 3 18.55 3 18C3 17.45 3.19583 16.9792 3.5875 16.5875C3.97917 16.1958 4.45 16 5 16C5.55 16 6.02083 16.1958 6.4125 16.5875C6.80417 16.9792 7 17.45 7 18C7 18.55 6.80417 19.0208 6.4125 19.4125C6.02083 19.8042 5.55 20 5 20ZM5 14C4.45 14 3.97917 13.8042 3.5875 13.4125C3.19583 13.0208 3 12.55 3 12C3 11.45 3.19583 10.9792 3.5875 10.5875C3.97917 10.1958 4.45 10 5 10C5.55 10 6.02083 10.1958 6.4125 10.5875C6.80417 10.9792 7 11.45 7 12C7 12.55 6.80417 13.0208 6.4125 13.4125C6.02083 13.8042 5.55 14 5 14ZM5 8C4.45 8 3.97917 7.80417 3.5875 7.4125C3.19583 7.02083 3 6.55 3 6C3 5.45 3.19583 4.97917 3.5875 4.5875C3.97917 4.19583 4.45 4 5 4C5.55 4 6.02083 4.19583 6.4125 4.5875C6.80417 4.97917 7 5.45 7 6C7 6.55 6.80417 7.02083 6.4125 7.4125C6.02083 7.80417 5.55 8 5 8Z",fill:"currentColor"},null,-1)),w$5=vue.defineComponent({__name:"ListUnorderedIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon list-unordered-icon","data-testid":"kui-icon-wrapper-list-unordered-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-list-unordered-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",N$6,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),x$3$1],8,b$4$1))]),_:1},8,["aria-hidden","style"]))}}),p$3$1=s$2$1(w$5,[["__scopeId","data-v-68b22e14"]]),v$4$1=eA=>(vue.pushScopeId("data-v-6a4cad10"),eA=eA(),vue.popScopeId(),eA),k$4$1=["aria-hidden"],w$4={key:0,"data-testid":"kui-icon-svg-title"},N$5$1=v$4$1(()=>vue.createElementVNode("path",{d:"M16 15L19 12L17.95 10.925L16.75 12.125V9H15.25V12.125L14.05 10.925L13 12L16 15ZM4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM4 18H20V6H4V18ZM5.5 15H7V10.5H8V13.5H9.5V10.5H10.5V15H12V10C12 9.71667 11.9042 9.47917 11.7125 9.2875C11.5208 9.09583 11.2833 9 11 9H6.5C6.21667 9 5.97917 9.09583 5.7875 9.2875C5.59583 9.47917 5.5 9.71667 5.5 10V15Z",fill:"currentColor"},null,-1)),z$1$1=vue.defineComponent({__name:"MarkdownIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon markdown-icon","data-testid":"kui-icon-wrapper-markdown-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-markdown-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",w$4,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$5$1],8,k$4$1))]),_:1},8,["aria-hidden","style"]))}}),m$3$1=s$2$1(z$1$1,[["__scopeId","data-v-6a4cad10"]]),v$3$1=eA=>(vue.pushScopeId("data-v-ceb84063"),eA=eA(),vue.popScopeId(),eA),b$3$1=["aria-hidden"],k$3$1={key:0,"data-testid":"kui-icon-svg-title"},N$4$1=v$3$1(()=>vue.createElementVNode("path",{d:"M12.15 20C10.8833 20 9.75833 19.625 8.775 18.875C7.79167 18.125 7.08333 17.1 6.65 15.8L8.85 14.85C9.08333 15.65 9.4875 16.3083 10.0625 16.825C10.6375 17.3417 11.35 17.6 12.2 17.6C12.9 17.6 13.5333 17.4333 14.1 17.1C14.6667 16.7667 14.95 16.2333 14.95 15.5C14.95 15.2 14.8917 14.925 14.775 14.675C14.6583 14.425 14.5 14.2 14.3 14H17.1C17.1833 14.2333 17.2458 14.4708 17.2875 14.7125C17.3292 14.9542 17.35 15.2167 17.35 15.5C17.35 16.9333 16.8375 18.0417 15.8125 18.825C14.7875 19.6083 13.5667 20 12.15 20ZM2 12V10H22V12H2ZM12.05 3.85C13.15 3.85 14.1125 4.12083 14.9375 4.6625C15.7625 5.20417 16.4 6.03333 16.85 7.15L14.65 8.125C14.5 7.64167 14.2208 7.20833 13.8125 6.825C13.4042 6.44167 12.8333 6.25 12.1 6.25C11.4167 6.25 10.85 6.40417 10.4 6.7125C9.95 7.02083 9.7 7.45 9.65 8H7.25C7.28333 6.85 7.7375 5.87083 8.6125 5.0625C9.4875 4.25417 10.6333 3.85 12.05 3.85Z",fill:"currentColor"},null,-1)),w$3=vue.defineComponent({__name:"StrikethroughIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon strikethrough-icon","data-testid":"kui-icon-wrapper-strikethrough-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-strikethrough-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",k$3$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$4$1],8,b$3$1))]),_:1},8,["aria-hidden","style"]))}}),m$2$1=s$2$1(w$3,[["__scopeId","data-v-ceb84063"]]),H$1$1=eA=>(vue.pushScopeId("data-v-70a4ebcf"),eA=eA(),vue.popScopeId(),eA),v$2$1=["aria-hidden"],V$1$1={key:0,"data-testid":"kui-icon-svg-title"},N$3$1=H$1$1(()=>vue.createElementVNode("path",{d:"M3 21V3H21V21H3ZM5 9H19V5H5V9ZM10.325 14H13.675V11H10.325V14ZM10.325 19H13.675V16H10.325V19ZM5 14H8.325V11H5V14ZM15.675 14H19V11H15.675V14ZM5 19H8.325V16H5V19ZM15.675 19H19V16H15.675V19Z",fill:"currentColor"},null,-1)),k$2$1=vue.defineComponent({__name:"TableIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon table-icon","data-testid":"kui-icon-wrapper-table-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-table-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",V$1$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$3$1],8,v$2$1))]),_:1},8,["aria-hidden","style"]))}}),e$3$1=s$2$1(k$2$1,[["__scopeId","data-v-70a4ebcf"]]),v$1$1=eA=>(vue.pushScopeId("data-v-4d08babd"),eA=eA(),vue.popScopeId(),eA),b$2$1=["aria-hidden"],k$1$1={key:0,"data-testid":"kui-icon-svg-title"},N$2$1=v$1$1(()=>vue.createElementVNode("path",{d:"M5.52499 16.175L9.07499 12.625C9.27499 12.425 9.50832 12.3292 9.77499 12.3375C10.0417 12.3458 10.275 12.45 10.475 12.65C10.6583 12.85 10.75 13.0833 10.75 13.35C10.75 13.6167 10.6583 13.85 10.475 14.05L6.24999 18.3C6.04999 18.5 5.81665 18.6 5.54999 18.6C5.28332 18.6 5.04999 18.5 4.84999 18.3L2.69999 16.15C2.51665 15.9667 2.42499 15.7333 2.42499 15.45C2.42499 15.1667 2.51665 14.9333 2.69999 14.75C2.88332 14.5667 3.11665 14.475 3.39999 14.475C3.68332 14.475 3.91665 14.5667 4.09999 14.75L5.52499 16.175ZM5.52499 8.175L9.07499 4.625C9.27499 4.425 9.50832 4.32917 9.77499 4.3375C10.0417 4.34583 10.275 4.45 10.475 4.65C10.6583 4.85 10.75 5.08333 10.75 5.35C10.75 5.61667 10.6583 5.85 10.475 6.05L6.24999 10.3C6.04999 10.5 5.81665 10.6 5.54999 10.6C5.28332 10.6 5.04999 10.5 4.84999 10.3L2.69999 8.15C2.51665 7.96667 2.42499 7.73333 2.42499 7.45C2.42499 7.16667 2.51665 6.93333 2.69999 6.75C2.88332 6.56667 3.11665 6.475 3.39999 6.475C3.68332 6.475 3.91665 6.56667 4.09999 6.75L5.52499 8.175ZM14 17C13.7167 17 13.4792 16.9042 13.2875 16.7125C13.0958 16.5208 13 16.2833 13 16C13 15.7167 13.0958 15.4792 13.2875 15.2875C13.4792 15.0958 13.7167 15 14 15H21C21.2833 15 21.5208 15.0958 21.7125 15.2875C21.9042 15.4792 22 15.7167 22 16C22 16.2833 21.9042 16.5208 21.7125 16.7125C21.5208 16.9042 21.2833 17 21 17H14ZM14 9C13.7167 9 13.4792 8.90417 13.2875 8.7125C13.0958 8.52083 13 8.28333 13 8C13 7.71667 13.0958 7.47917 13.2875 7.2875C13.4792 7.09583 13.7167 7 14 7H21C21.2833 7 21.5208 7.09583 21.7125 7.2875C21.9042 7.47917 22 7.71667 22 8C22 8.28333 21.9042 8.52083 21.7125 8.7125C21.5208 8.90417 21.2833 9 21 9H14Z",fill:"currentColor"},null,-1)),w$2$1=vue.defineComponent({__name:"TasklistIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon tasklist-icon","data-testid":"kui-icon-wrapper-tasklist-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-tasklist-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",k$1$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),N$2$1],8,b$2$1))]),_:1},8,["aria-hidden","style"]))}}),m$1$1=s$2$1(w$2$1,[["__scopeId","data-v-4d08babd"]]),C$1$1=eA=>(vue.pushScopeId("data-v-4fa1cd2a"),eA=eA(),vue.popScopeId(),eA),N$1$1=["aria-hidden"],b$1$1={key:0,"data-testid":"kui-icon-svg-title"},x$2$1=C$1$1(()=>vue.createElementVNode("path",{d:"M4.5 21.25V19.25H18.5V21.25H4.5ZM11.5 17.25C9.81667 17.25 8.50833 16.725 7.575 15.675C6.64167 14.625 6.175 13.2333 6.175 11.5V3.25H8.75V11.65C8.75 12.5833 8.98333 13.3417 9.45 13.925C9.91667 14.5083 10.6 14.8 11.5 14.8C12.4 14.8 13.0833 14.5083 13.55 13.925C14.0167 13.3417 14.25 12.5833 14.25 11.65V3.25H16.825V11.5C16.825 13.2333 16.3583 14.625 15.425 15.675C14.4917 16.725 13.1833 17.25 11.5 17.25Z",fill:"currentColor"},null,-1)),w$1$1=vue.defineComponent({__name:"UnderlineIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:I$4$1,validator:eA=>{if(typeof eA=="number"&&eA>0)return!0;if(typeof eA=="string"){const tA=String(eA).replace(/px/gi,""),nA=Number(tA);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(eA){const tA=eA,nA=vue.computed(()=>{if(typeof tA.size=="number"&&tA.size>0)return`${tA.size}px`;if(typeof tA.size=="string"){const iA=String(tA.size).replace(/px/gi,""),rA=Number(iA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return`${rA}px`}return I$4$1}),aA=vue.computed(()=>({boxSizing:"border-box",color:tA.color,display:tA.display,flexShrink:"0",height:nA.value,lineHeight:"0",width:nA.value}));return(iA,rA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(eA.as),{"aria-hidden":eA.decorative?"true":void 0,class:"kui-icon underline-icon","data-testid":"kui-icon-wrapper-underline-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":eA.decorative?"true":void 0,"data-testid":"kui-icon-svg-underline-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[eA.title?(vue.openBlock(),vue.createElementBlock("title",b$1$1,vue.toDisplayString(eA.title),1)):vue.createCommentVNode("",!0),x$2$1],8,N$1$1))]),_:1},8,["aria-hidden","style"]))}}),e$2$1=s$2$1(w$1$1,[["__scopeId","data-v-4fa1cd2a"]]);for(var byteToHex=[],i$5$1=0;i$5$1<256;++i$5$1)byteToHex.push((i$5$1+256).toString(16).slice(1));function unsafeStringify(eA,tA=0){return(byteToHex[eA[tA+0]]+byteToHex[eA[tA+1]]+byteToHex[eA[tA+2]]+byteToHex[eA[tA+3]]+"-"+byteToHex[eA[tA+4]]+byteToHex[eA[tA+5]]+"-"+byteToHex[eA[tA+6]]+byteToHex[eA[tA+7]]+"-"+byteToHex[eA[tA+8]]+byteToHex[eA[tA+9]]+"-"+byteToHex[eA[tA+10]]+byteToHex[eA[tA+11]]+byteToHex[eA[tA+12]]+byteToHex[eA[tA+13]]+byteToHex[eA[tA+14]]+byteToHex[eA[tA+15]]).toLowerCase()}var getRandomValues,rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const native={randomUUID};function v4(eA,tA,nA){if(native.randomUUID&&!tA&&!eA)return native.randomUUID();eA=eA||{};var aA=eA.random||(eA.rng||rng)();return aA[6]=aA[6]&15|64,aA[8]=aA[8]&63|128,unsafeStringify(aA)}const _withScopeId$1$1=eA=>(vue.pushScopeId("data-v-51dfbc77"),eA=eA(),vue.popScopeId(),eA),_hoisted_1$2$1={class:"toolbar-left"},_hoisted_2$1$1={class:"button-group",role:"radiogroup"},_hoisted_3$1$1=["id"],_hoisted_4$1$1=_withScopeId$1$1(()=>vue.createElementVNode("div",{class:"toolbar-divider"},null,-1)),_hoisted_5$1$1=_withScopeId$1$1(()=>vue.createElementVNode("div",{class:"toolbar-divider"},null,-1)),_hoisted_6$1$1={key:2,class:"toolbar-right","data-testid":"slot-toolbar-right"},_hoisted_7$1$1={key:3,class:"editor-actions","data-testid":"slot-editor-actions"},_sfc_main$2$1=vue.defineComponent({__name:"MarkdownToolbar",emits:["format-selection","insert-template","change-mode","toggle-html-preview","toggle-fullscreen"],setup(eA,{emit:tA}){vue.useCssVars(bA=>({"4cb247c0":vue.unref(TOOLBAR_HEIGHT)}));const nA=vue.inject(UNIQUE_ID_INJECTION_KEY,vue.ref(v4())),aA=vue.inject(MODE_INJECTION_KEY,vue.ref("read")),iA=vue.inject(EDITABLE_INJECTION_KEY,vue.ref(!1)),rA=vue.inject(THEME_INJECTION_KEY,vue.ref("light")),AA=vue.inject(FULLSCREEN_INJECTION_KEY,vue.ref(!1)),oA=vue.inject(HTML_PREVIEW_INJECTION_KEY,vue.ref(!1)),sA=tA,cA=vue.ref(null),{arrivedState:lA}=useScroll(cA),uA=useMediaQuery(`(min-width: ${KUI_BREAKPOINT_PHABLET})`),dA=()=>{aA.value==="split"&&!uA.value&&pA("edit")};vue.watch(uA,()=>{dA()});const pA=bA=>{aA.value!==bA&&sA("change-mode",bA)},mA=bA=>{var yA;sA("toggle-fullscreen"),(yA=bA==null?void 0:bA.target)==null||yA.blur()},gA=bA=>{var yA;sA("toggle-html-preview"),(yA=bA==null?void 0:bA.target)==null||yA.blur()},fA=[{label:"Bold",action:"bold",keys:["B"],icon:m$6$1},{label:"Italic",action:"italic",keys:["I"],icon:f$2$1},{label:"Underline",action:"underline",keys:["U"],icon:e$2$1},{label:"Strikethrough",action:"strikethrough",keys:["Shift","X"],icon:m$2$1},{label:"Code",action:"code",keys:["Shift","C"],icon:e$4$1},{label:"Link",action:"link",icon:m$5$1},{label:"Image",action:"image",icon:p$4$1}],hA=[{label:"Unordered List",action:"unordered-list",icon:p$3$1},{label:"Ordered List",action:"ordered-list",icon:m$4$1},{label:"Tasklist",action:"task",icon:m$1$1},{label:"Codeblock",action:"codeblock",icon:p$6},{label:"Table",action:"table",icon:e$3$1},{label:"Blockquote",action:"blockquote",icon:m$7}];return vue.onMounted(()=>{dA()}),(bA,yA)=>vue.unref(iA)&&vue.unref(aA)!=="read"?(vue.openBlock(),vue.createElementBlock("div",{key:0,ref_key:"toolbar",ref:cA,class:vue.normalizeClass(["markdown-ui-toolbar",`theme-${vue.unref(rA)}`]),"data-testid":"toolbar"},[vue.unref(iA)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:vue.normalizeClass(["toolbar-overlay left",{"overlay-visible":!vue.unref(lA).left}])},null,2)):vue.createCommentVNode("",!0),vue.unref(iA)?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["toolbar-overlay right",{"overlay-visible":!vue.unref(lA).right}])},null,2)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$2$1,[vue.createElementVNode("div",_hoisted_2$1$1,[vue.createElementVNode("label",{id:`editor-mode-options-${vue.unref(nA)}`,class:"sr-only"}," Select the editor mode ",8,_hoisted_3$1$1),vue.createVNode(ToolbarButton,{"aria-checked":vue.unref(aA)==="edit","aria-labelledby":`editor-mode-options-${vue.unref(nA)}`,class:vue.normalizeClass(["edit",{active:vue.unref(aA)==="edit"}]),"data-testid":"edit-mode-button",disabled:vue.unref(aA)==="edit",icon:!1,role:"radio",type:"button",onClick:yA[0]||(yA[0]=vue.withModifiers(_A=>pA("edit"),["prevent"]))},{default:vue.withCtx(()=>[vue.createTextVNode(" Edit ")]),_:1},8,["aria-checked","aria-labelledby","class","disabled"]),vue.createVNode(ToolbarButton,{"aria-checked":vue.unref(aA)==="split","aria-labelledby":`editor-mode-options-${vue.unref(nA)}`,class:vue.normalizeClass(["mode-split-button",["split",{active:vue.unref(aA)==="split"}]]),"data-testid":"split-mode-button",disabled:vue.unref(aA)==="split",icon:!1,role:"radio",type:"button",onClick:yA[1]||(yA[1]=vue.withModifiers(_A=>pA("split"),["prevent"]))},{default:vue.withCtx(()=>[vue.createTextVNode(" Split ")]),_:1},8,["aria-checked","aria-labelledby","class","disabled"]),vue.createVNode(ToolbarButton,{"aria-checked":vue.unref(aA)==="preview","aria-labelledby":`editor-mode-options-${vue.unref(nA)}`,class:vue.normalizeClass(["preview",{active:vue.unref(aA)==="preview"}]),"data-testid":"preview-mode-button",disabled:vue.unref(aA)==="preview",icon:!1,role:"radio",type:"button",onClick:yA[2]||(yA[2]=vue.withModifiers(_A=>pA("preview"),["prevent"]))},{default:vue.withCtx(()=>[vue.createTextVNode(" Preview ")]),_:1},8,["aria-checked","aria-labelledby","class","disabled"])]),vue.unref(iA)&&!["preview","read"].includes(vue.unref(aA))?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(fA,_A=>vue.createVNode(InfoTooltip,{key:_A.label,"data-testid":`tooltip-${_A.action}`,"text-old":_A.label},{tooltip:vue.withCtx(()=>[vue.createVNode(TooltipShortcut,{keys:_A.keys,text:_A.label},null,8,["keys","text"])]),default:vue.withCtx(()=>[vue.createVNode(ToolbarButton,{"aria-label":_A.label,"data-testid":`format-option-${_A.action}`,onClick:vue.withModifiers(CA=>sA("format-selection",_A.action),["prevent"])},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(_A.icon),{class:"button-icon",size:vue.unref(KUI_ICON_SIZE_40)},null,8,["size"]))]),_:2},1032,["aria-label","data-testid","onClick"])]),_:2},1032,["data-testid","text-old"])),64)),_hoisted_4$1$1,(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(hA,_A=>vue.createVNode(InfoTooltip,{key:_A.label,"data-testid":`tooltip-${_A.action}`},{tooltip:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(_A.label),1)]),default:vue.withCtx(()=>[vue.createVNode(ToolbarButton,{"aria-label":_A.label,"data-testid":`template-option-${_A.action}`,onClick:vue.withModifiers(CA=>sA("insert-template",_A.action),["prevent"])},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(_A.icon),{class:"button-icon",size:vue.unref(KUI_ICON_SIZE_40)},null,8,["size"]))]),_:2},1032,["aria-label","data-testid","onClick"])]),_:2},1032,["data-testid"])),64))],64)):vue.createCommentVNode("",!0),_hoisted_5$1$1,vue.createVNode(InfoTooltip,{"data-testid":"tooltip-fullscreen"},{tooltip:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(AA)?"Exit Fullscreen":"Enter Fullscreen"),1)]),default:vue.withCtx(()=>[vue.createVNode(ToolbarButton,{"aria-label":vue.unref(AA)?"Exit Fullscreen":"Enter Fullscreen","data-testid":"toggle-fullscreen",onClick:vue.withModifiers(mA,["prevent"])},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(AA)?vue.unref(a$2$1):vue.unref(f$4$1)),{class:"button-icon",size:vue.unref(KUI_ICON_SIZE_40)},null,8,["size"]))]),_:1},8,["aria-label"])]),_:1}),["split","preview"].includes(vue.unref(aA))?(vue.openBlock(),vue.createBlock(InfoTooltip,{key:1,"data-testid":"tooltip-fullscreen"},{tooltip:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(oA)?"Toggle markdown Preview":"Toggle HTML Preview"),1)]),default:vue.withCtx(()=>[vue.createVNode(ToolbarButton,{"aria-label":vue.unref(oA)?"Toggle markdown Preview":"Toggle HTML Preview","data-testid":"toggle-html-preview",onClick:vue.withModifiers(gA,["prevent"])},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(oA)?vue.unref(m$3$1):vue.unref(f$3$1)),{class:"button-icon",size:vue.unref(KUI_ICON_SIZE_40)},null,8,["size"]))]),_:1},8,["aria-label"])]),_:1})):vue.createCommentVNode("",!0)]),bA.$slots["toolbar-right"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1$1,[vue.renderSlot(bA.$slots,"toolbar-right",{},void 0,!0)])):vue.createCommentVNode("",!0),bA.$slots["editor-actions"]?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$1$1,[vue.renderSlot(bA.$slots,"editor-actions",{},void 0,!0)])):vue.createCommentVNode("",!0)],2)):vue.createCommentVNode("",!0)}}),MarkdownToolbar=_export_sfc$1(_sfc_main$2$1,[["__scopeId","data-v-51dfbc77"]]),_hoisted_1$1$1=["innerHTML"],_sfc_main$1$1=vue.defineComponent({__name:"MarkdownContent",props:{content:{type:String,default:""}},setup(eA){const tA=vue.inject(MODE_INJECTION_KEY,vue.ref("read")),nA=vue.inject(THEME_INJECTION_KEY,vue.ref("light")),aA=eA,iA=vue.ref(aA.content);return vue.watch(()=>aA.content,rA=>{iA.value=rA},{immediate:!0}),(rA,AA)=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["markdown-content",[`mode-${vue.unref(tA)}`,`theme-${vue.unref(nA)}`]]),"data-testid":"markdown-content",innerHTML:iA.value},null,10,_hoisted_1$1$1))}}),MarkdownContent=_export_sfc$1(_sfc_main$1$1,[["__scopeId","data-v-eac4c7eb"]]);function useDebounce(){return{debounce:(eA,tA)=>{let nA;return(...aA)=>{clearTimeout(nA),nA=window==null?void 0:window.setTimeout(()=>{eA(...aA)},tA)}}}}function useMarkdownActions(eA,tA){const nA=vue.reactive({start:0,end:0,text:""}),aA=()=>{if(!eA.value)throw new Error("getTextarea: Could not find the textarea template ref");return eA.value},iA=()=>{try{const uA=aA();if(!uA)return;nA.start=uA.selectionStart||0,nA.end=uA.selectionEnd||0,nA.text=uA.value.substring(uA.selectionStart,uA.selectionEnd)||""}catch(uA){console.warn("getTextSelection",uA),nA.start=0,nA.end=0,nA.text=""}},rA=async()=>{const uA=aA();uA&&(uA.focus(),await vue.nextTick())},AA=async uA=>{try{const dA=aA();let pA="";switch(uA){case"bold":pA=InlineFormatWrapper.bold;break;case"italic":pA=InlineFormatWrapper.italic;break;case"underline":pA=InlineFormatWrapper.underline;break;case"strikethrough":pA=InlineFormatWrapper.strikethrough;break;case"subscript":pA=InlineFormatWrapper.subscript;break;case"superscript":pA=InlineFormatWrapper.superscript;break;case"mark":pA=InlineFormatWrapper.mark;break;case"code":pA=InlineFormatWrapper.code;break}if(!dA||!pA)return;iA();const mA=pA.length,gA=tA.value.substring(0,nA.start),fA=tA.value.substring(nA.end);if(nA.text.length===0)if(gA.endsWith(pA)&&fA.startsWith(pA)){tA.value=gA.substring(0,gA.length-mA)+fA.substring(mA),await rA(),dA.selectionEnd=nA.start-mA;return}else{tA.value=tA.value.substring(0,nA.start)+pA+pA+tA.value.substring(nA.end),await rA(),dA.selectionEnd=nA.start+mA;return}let hA=!1;const bA=nA.text.startsWith(pA)&&nA.text.endsWith(pA),yA=gA.endsWith(pA)&&fA.startsWith(pA);(bA||yA)&&(hA=!0);let _A=nA.text;hA?hA&&bA&&(_A=nA.text.slice(mA,-mA)):_A=pA+nA.text+pA,hA&&yA?tA.value=tA.value.substring(0,nA.start-mA)+_A+tA.value.substring(nA.end+mA):tA.value=tA.value.substring(0,nA.start)+_A+tA.value.substring(nA.end),await rA(),hA?hA&&bA?dA.setSelectionRange(nA.start,nA.end-mA*2):hA&&yA&&dA.setSelectionRange(nA.start-mA,nA.end-mA):dA.setSelectionRange(nA.start,nA.end+mA*2)}catch(dA){console.warn("toggleInlineFormatting",dA)}},oA=async(uA,dA)=>{try{const pA=aA();if(!pA)return;iA();let mA="";Array.from(Array(dA).keys()).forEach(()=>mA+=" ");let gA=0;const fA=tA.value.substring(0,nA.start);if(uA==="remove"&&!fA.endsWith(mA)&&!fA.endsWith(" "+MARKDOWN_TEMPLATE_UL)&&!/ {2}\d{1,}\. $/.test(fA))return;if(nA.text.length!==0)gA=(nA.text.match(/\n(?!\n)/g)||[]).length,uA==="add"?tA.value=fA+mA+nA.text.replace(/\n(?!\n)/g,`${NEW_LINE_CHARACTER}${mA}`)+tA.value.substring(nA.end):tA.value=tA.value.substring(0,nA.start-mA.length)+nA.text.replaceAll(`${NEW_LINE_CHARACTER}${mA}`,NEW_LINE_CHARACTER)+tA.value.substring(nA.end);else if(fA.endsWith(MARKDOWN_TEMPLATE_UL))tA.value=uA==="add"?tA.value.substring(0,nA.start-MARKDOWN_TEMPLATE_UL.length)+mA+MARKDOWN_TEMPLATE_UL+tA.value.substring(nA.end):tA.value.substring(0,nA.start-mA.length-MARKDOWN_TEMPLATE_UL.length)+MARKDOWN_TEMPLATE_UL+tA.value.substring(nA.end);else if(/\d{1,}\. $/.test(fA.split(NEW_LINE_CHARACTER).pop()||"")){const hA=MARKDOWN_TEMPLATE_OL.replace("1",""),bA=Number((fA.split(NEW_LINE_CHARACTER).at(-2)||fA.split(NEW_LINE_CHARACTER).pop()||"").trimStart().split(hA)[0])+1;tA.value=uA==="add"?tA.value.substring(0,nA.start-MARKDOWN_TEMPLATE_OL.length)+mA+MARKDOWN_TEMPLATE_OL+tA.value.substring(nA.end):tA.value.substring(0,nA.start-mA.length-(bA+hA).length)+(bA+hA)+tA.value.substring(nA.end)}else tA.value=uA==="add"?fA+mA+tA.value.substring(nA.end):tA.value.substring(0,nA.start-mA.length)+tA.value.substring(nA.end);if(await rA(),nA.text.length!==0){const hA=dA+gA*dA;pA.selectionStart=uA==="add"?nA.start+mA.length:nA.start-mA.length,pA.selectionEnd=uA==="add"?nA.end+hA:nA.end-hA}else pA.selectionEnd=uA==="add"?nA.start+mA.length:nA.start-mA.length}catch(pA){console.warn("toggleTab",pA)}},sA=(uA,dA)=>{var pA,mA;return dA===MARKDOWN_TEMPLATE_OL?/^\d{1,}\. /.test(String(((pA=uA==null?void 0:uA.split(NEW_LINE_CHARACTER))==null?void 0:pA.pop())||"")):String(((mA=uA==null?void 0:uA.split(NEW_LINE_CHARACTER))==null?void 0:mA.pop())||"").endsWith(dA)},cA=async uA=>{try{const dA=aA();if(!dA||!uA||(iA(),nA.text.length!==0))return;const pA=tA.value.substring(0,nA.start),mA=pA.length===0||pA.endsWith(`${NEW_LINE_CHARACTER}${NEW_LINE_CHARACTER}`)?"":/(.*)?[^\n]$/.test(pA)?`${NEW_LINE_CHARACTER}${NEW_LINE_CHARACTER}`:NEW_LINE_CHARACTER;let gA="";switch(uA){case"task":if(sA(pA,MARKDOWN_TEMPLATE_TASK)){await rA();return}gA=mA+MARKDOWN_TEMPLATE_TASK;break;case"unordered-list":if(sA(pA,MARKDOWN_TEMPLATE_UL)){await rA();return}gA=mA+MARKDOWN_TEMPLATE_UL;break;case"ordered-list":if(sA(pA,MARKDOWN_TEMPLATE_OL)){await rA();return}gA=mA+MARKDOWN_TEMPLATE_OL;break;case"blockquote":if(sA(pA,MARKDOWN_TEMPLATE_BLOCKQUOTE)){await rA();return}gA=mA+MARKDOWN_TEMPLATE_BLOCKQUOTE;break;case"codeblock":gA=mA+MARKDOWN_TEMPLATE_CODEBLOCK;break;case"table":gA=mA+MARKDOWN_TEMPLATE_TABLE;break}if(!gA)return;switch(tA.value=pA+gA+tA.value.substring(nA.end),await rA(),uA){case"codeblock":dA.selectionStart=nA.start+(mA.length+3),dA.selectionEnd=nA.start+(mA.length+3)+DEFAULT_CODEBLOCK_LANGUAGE.length;break;default:dA.selectionEnd=nA.start+gA.length;break}}catch(dA){console.warn("insertMarkdownTemplate",dA)}},lA=(uA,dA)=>{aA().setSelectionRange(uA,dA)};return{selectedText:nA,getTextSelection:iA,toggleInlineFormatting:AA,toggleTab:oA,insertMarkdownTemplate:cA,insertLink:async()=>{try{const uA=aA();if(!uA)return;iA();const dA=tA.value.substring(0,nA.start),pA=tA.value.substring(nA.end);let mA="";const gA=3,fA=4;if(nA.text.length!==0){if(nA.text==="url"&&dA.endsWith("(")&&pA.startsWith(")")){await rA();return}const hA=/^http(s)?:\/\//.test(nA.text);mA=hA?MARKDOWN_TEMPLATE_LINK.replace(/url/,nA.text):MARKDOWN_TEMPLATE_LINK.replace(/text/,nA.text),tA.value=dA+mA+pA,await rA(),hA?uA.selectionEnd=nA.start+1:(uA.selectionStart=dA.length+nA.text.length+3,uA.selectionEnd=dA.length+nA.text.length+6),lA(uA.selectionStart,uA.selectionStart+(hA?fA:gA))}else{if(dA.endsWith(MARKDOWN_TEMPLATE_LINK.split("text")[0])&&/^\]\((.*)+\)/.test(pA)){await rA();return}mA=MARKDOWN_TEMPLATE_LINK;let hA=7;/\w+$/.test(dA)?(mA=" "+mA,hA++):/^\w+/.test(pA)&&(mA+=" "),tA.value=dA+mA+pA,await rA(),uA.selectionEnd=nA.start+hA,lA(uA.selectionEnd,uA.selectionEnd+gA)}}catch(uA){console.warn("insertLink",uA)}},insertNewLine:async()=>{var uA;try{const dA=aA();if(!dA)return;iA();const pA=tA.value.substring(0,nA.start),mA=((uA=pA==null?void 0:pA.split(NEW_LINE_CHARACTER))==null?void 0:uA.pop())||"";let gA=NEW_LINE_CHARACTER,fA=!1,hA=0;const bA=[MARKDOWN_TEMPLATE_TASK,MARKDOWN_TEMPLATE_UL,MARKDOWN_TEMPLATE_OL,MARKDOWN_TEMPLATE_BLOCKQUOTE];for(const _A of bA)if(_A===MARKDOWN_TEMPLATE_OL){if(/^\d{1,}\. /.test(mA.trimStart())){const CA=MARKDOWN_TEMPLATE_OL.replace("1",""),xA=Number(mA.trimStart().split(CA)[0]);if(!isNaN(xA)&&xA>0){const BA=xA+1;hA=String(BA+CA).length,/^\d{1,}\. $/.test(mA.trimStart())?fA=!0:gA+=mA.split(xA+CA)[0]+BA+CA}break}}else{const CA=_A===MARKDOWN_TEMPLATE_TASK&&mA.trimStart().toLowerCase().startsWith(MARKDOWN_TEMPLATE_TASK_COMPLETED.toLowerCase());if(mA.trimStart().startsWith(_A)||CA){hA=_A.length,mA.trimStart()===_A?fA=!0:CA?gA+=mA.toLowerCase().split(MARKDOWN_TEMPLATE_TASK_COMPLETED.toLowerCase())[0]+_A:gA+=mA.split(_A)[0]+_A;break}}let yA="";gA===NEW_LINE_CHARACTER&&Array.from(Array(mA.length-mA.trimStart().length).keys()).forEach(()=>yA+=" "),tA.value=fA?tA.value.substring(0,nA.start-mA.length)+tA.value.substring(nA.end):pA+gA+yA+tA.value.substring(nA.end),await rA(),dA.selectionEnd=fA?nA.start-hA:nA.start+gA.length+yA.length}catch(dA){console.warn("insertNewLine",dA)}},insertImage:async()=>{try{const uA=aA();if(!uA)return;iA();const dA=tA.value.substring(0,nA.start),pA=tA.value.substring(nA.end);let mA="";const gA=3,fA=3;if(nA.text.length!==0){if(nA.text==="url"&&dA.endsWith("(")&&pA.startsWith(")")){await rA();return}const hA=/^http(s)?:\/\//.test(nA.text);mA=hA?MARKDOWN_TEMPLATE_IMAGE.replace(/url/,nA.text):MARKDOWN_TEMPLATE_IMAGE.replace(/alt/,nA.text),tA.value=dA+mA+pA,await rA(),hA?uA.selectionEnd=nA.start+2:(uA.selectionStart=dA.length+nA.text.length+4,uA.selectionEnd=dA.length+nA.text.length+7),lA(uA.selectionStart,uA.selectionStart+fA)}else{if(dA.endsWith(MARKDOWN_TEMPLATE_IMAGE.split("alt")[0])&&/^\]\((.*)+\)/.test(pA)){await rA();return}mA=MARKDOWN_TEMPLATE_IMAGE;let hA=7;/\w+$/.test(dA)?(mA=" "+mA,hA++):/^\w+/.test(pA)&&(mA+=" "),tA.value=dA+mA+pA,await rA(),uA.selectionEnd=nA.start+hA,lA(uA.selectionEnd,uA.selectionEnd+gA)}}catch(uA){console.warn("insertImage",uA)}}}}function useKeyboardShortcuts(eA,tA,nA,aA){const iA=useActiveElement(),rA=vue.computed(()=>{var dA,pA,mA;return!!((dA=iA.value)!=null&&dA.id)&&((pA=iA.value)==null?void 0:pA.id)===((mA=eA.value)==null?void 0:mA.id)}),{toggleInlineFormatting:AA,insertNewLine:oA,getTextSelection:sA,selectedText:cA,toggleTab:lA}=useMarkdownActions(eA,tA),uA=dA=>{let pA;switch(dA.key){case"b":pA="bold";break;case"i":pA="italic";break;case"u":pA="underline";break;case"x":dA.shiftKey&&(pA="strikethrough");break;case"c":dA.shiftKey&&(pA="code");break}return pA};useMagicKeys({passive:!1,onEventFired(dA){if(!(!rA.value||dA.type!=="keydown")){if(dA.key&&(dA.ctrlKey||dA.metaKey)){const pA=uA(dA);pA&&(dA.preventDefault(),AA(pA),aA())}dA.key&&dA.key==="Enter"&&!dA.shiftKey&&(dA.preventDefault(),oA(),aA()),dA.key&&dA.key==="Tab"&&(sA(),cA.text&&(dA.preventDefault(),dA.shiftKey?lA("remove",nA.value):lA("add",nA.value),aA()))}}})}function setupMarkdownIt(eA,tA,nA){const{parseMetaString:aA,trimEndingNewline:iA=!0,defaultLanguage:rA="text",fallbackLanguage:AA}=nA,oA=tA.getLoadedLanguages();eA.options.highlight=(sA,cA="text",lA)=>{cA===""&&(cA=rA),AA&&!oA.includes(cA)&&(cA=AA);const uA=(aA==null?void 0:aA(lA,sA,cA))||{},dA={...nA,lang:cA,meta:{...nA.meta,...uA,__raw:lA}},pA=[];return pA.push({name:"@shikijs/markdown-it:block-class",code(mA){mA.properties.class=`language-${cA}`}}),iA&&sA.endsWith(`
3
3
  `)&&(sA=sA.slice(0,-1)),tA.codeToHtml(sA,{...dA,transformers:[...pA,...dA.transformers||[]]})}}function fromHighlighter(eA,tA){return function(nA){setupMarkdownIt(nA,eA,tA)}}let ShikiError$2=class extends Error{constructor(eA){super(eA),this.name="ShikiError"}};function clone$1(eA){return doClone(eA)}function doClone(eA){return Array.isArray(eA)?cloneArray(eA):typeof eA=="object"?cloneObj(eA):eA}function cloneArray(eA){let tA=[];for(let nA=0,aA=eA.length;nA<aA;nA++)tA[nA]=doClone(eA[nA]);return tA}function cloneObj(eA){let tA={};for(let nA in eA)tA[nA]=doClone(eA[nA]);return tA}function mergeObjects(eA,...tA){return tA.forEach(nA=>{for(let aA in nA)eA[aA]=nA[aA]}),eA}function basename(eA){const tA=~eA.lastIndexOf("/")||~eA.lastIndexOf("\\");return tA===0?eA:~tA===eA.length-1?basename(eA.substring(0,eA.length-1)):eA.substr(~tA+1)}var CAPTURING_REGEX_SOURCE=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,RegexSource=class{static hasCaptures(eA){return eA===null?!1:(CAPTURING_REGEX_SOURCE.lastIndex=0,CAPTURING_REGEX_SOURCE.test(eA))}static replaceCaptures(eA,tA,nA){return eA.replace(CAPTURING_REGEX_SOURCE,(aA,iA,rA,AA)=>{let oA=nA[parseInt(iA||rA,10)];if(oA){let sA=tA.substring(oA.start,oA.end);for(;sA[0]===".";)sA=sA.substring(1);switch(AA){case"downcase":return sA.toLowerCase();case"upcase":return sA.toUpperCase();default:return sA}}else return aA})}};function strcmp(eA,tA){return eA<tA?-1:eA>tA?1:0}function strArrCmp(eA,tA){if(eA===null&&tA===null)return 0;if(!eA)return-1;if(!tA)return 1;let nA=eA.length,aA=tA.length;if(nA===aA){for(let iA=0;iA<nA;iA++){let rA=strcmp(eA[iA],tA[iA]);if(rA!==0)return rA}return 0}return nA-aA}function isValidHexColor(eA){return!!(/^#[0-9a-f]{6}$/i.test(eA)||/^#[0-9a-f]{8}$/i.test(eA)||/^#[0-9a-f]{3}$/i.test(eA)||/^#[0-9a-f]{4}$/i.test(eA))}function escapeRegExpCharacters(eA){return eA.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var CachedFn=class{constructor(eA){this.fn=eA,this.cache=new Map}get(eA){if(this.cache.has(eA))return this.cache.get(eA);const tA=this.fn(eA);return this.cache.set(eA,tA),tA}},Theme$1=class{constructor(eA,tA,nA){this._colorMap=eA,this._defaults=tA,this._root=nA,this._cachedMatchRoot=new CachedFn(aA=>this._root.match(aA))}static createFromRawTheme(eA,tA){return this.createFromParsedTheme(parseTheme(eA),tA)}static createFromParsedTheme(eA,tA){return resolveParsedThemeRules(eA,tA)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(eA){if(eA===null)return this._defaults;const tA=eA.scopeName,nA=this._cachedMatchRoot.get(tA).find(aA=>_scopePathMatchesParentScopes(eA.parent,aA.parentScopes));return nA?new StyleAttributes(nA.fontStyle,nA.foreground,nA.background):null}},ScopeStack=class Ey{constructor(tA,nA){this.parent=tA,this.scopeName=nA}static push(tA,nA){for(const aA of nA)tA=new Ey(tA,aA);return tA}static from(...tA){let nA=null;for(let aA=0;aA<tA.length;aA++)nA=new Ey(nA,tA[aA]);return nA}push(tA){return new Ey(this,tA)}getSegments(){let tA=this;const nA=[];for(;tA;)nA.push(tA.scopeName),tA=tA.parent;return nA.reverse(),nA}toString(){return this.getSegments().join(" ")}extends(tA){return this===tA?!0:this.parent===null?!1:this.parent.extends(tA)}getExtensionIfDefined(tA){const nA=[];let aA=this;for(;aA&&aA!==tA;)nA.push(aA.scopeName),aA=aA.parent;return aA===tA?nA.reverse():void 0}};function _scopePathMatchesParentScopes(eA,tA){if(tA.length===0)return!0;for(let nA=0;nA<tA.length;nA++){let aA=tA[nA],iA=!1;if(aA===">"){if(nA===tA.length-1)return!1;aA=tA[++nA],iA=!0}for(;eA&&!_matchesScope(eA.scopeName,aA);){if(iA)return!1;eA=eA.parent}if(!eA)return!1;eA=eA.parent}return!0}function _matchesScope(eA,tA){return tA===eA||eA.startsWith(tA)&&eA[tA.length]==="."}var StyleAttributes=class{constructor(eA,tA,nA){this.fontStyle=eA,this.foregroundId=tA,this.backgroundId=nA}};function parseTheme(eA){if(!eA)return[];if(!eA.settings||!Array.isArray(eA.settings))return[];let tA=eA.settings,nA=[],aA=0;for(let iA=0,rA=tA.length;iA<rA;iA++){let AA=tA[iA];if(!AA.settings)continue;let oA;if(typeof AA.scope=="string"){let uA=AA.scope;uA=uA.replace(/^[,]+/,""),uA=uA.replace(/[,]+$/,""),oA=uA.split(",")}else Array.isArray(AA.scope)?oA=AA.scope:oA=[""];let sA=-1;if(typeof AA.settings.fontStyle=="string"){sA=0;let uA=AA.settings.fontStyle.split(" ");for(let dA=0,pA=uA.length;dA<pA;dA++)switch(uA[dA]){case"italic":sA=sA|1;break;case"bold":sA=sA|2;break;case"underline":sA=sA|4;break;case"strikethrough":sA=sA|8;break}}let cA=null;typeof AA.settings.foreground=="string"&&isValidHexColor(AA.settings.foreground)&&(cA=AA.settings.foreground);let lA=null;typeof AA.settings.background=="string"&&isValidHexColor(AA.settings.background)&&(lA=AA.settings.background);for(let uA=0,dA=oA.length;uA<dA;uA++){let pA=oA[uA].trim().split(" "),mA=pA[pA.length-1],gA=null;pA.length>1&&(gA=pA.slice(0,pA.length-1),gA.reverse()),nA[aA++]=new ParsedThemeRule(mA,gA,iA,sA,cA,lA)}}return nA}var ParsedThemeRule=class{constructor(eA,tA,nA,aA,iA,rA){this.scope=eA,this.parentScopes=tA,this.index=nA,this.fontStyle=aA,this.foreground=iA,this.background=rA}},FontStyle=(eA=>(eA[eA.NotSet=-1]="NotSet",eA[eA.None=0]="None",eA[eA.Italic=1]="Italic",eA[eA.Bold=2]="Bold",eA[eA.Underline=4]="Underline",eA[eA.Strikethrough=8]="Strikethrough",eA))(FontStyle||{});function resolveParsedThemeRules(eA,tA){eA.sort((sA,cA)=>{let lA=strcmp(sA.scope,cA.scope);return lA!==0||(lA=strArrCmp(sA.parentScopes,cA.parentScopes),lA!==0)?lA:sA.index-cA.index});let nA=0,aA="#000000",iA="#ffffff";for(;eA.length>=1&&eA[0].scope==="";){let sA=eA.shift();sA.fontStyle!==-1&&(nA=sA.fontStyle),sA.foreground!==null&&(aA=sA.foreground),sA.background!==null&&(iA=sA.background)}let rA=new ColorMap(tA),AA=new StyleAttributes(nA,rA.getId(aA),rA.getId(iA)),oA=new ThemeTrieElement(new ThemeTrieElementRule(0,null,-1,0,0),[]);for(let sA=0,cA=eA.length;sA<cA;sA++){let lA=eA[sA];oA.insert(0,lA.scope,lA.parentScopes,lA.fontStyle,rA.getId(lA.foreground),rA.getId(lA.background))}return new Theme$1(rA,AA,oA)}var ColorMap=class{constructor(eA){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(eA)){this._isFrozen=!0;for(let tA=0,nA=eA.length;tA<nA;tA++)this._color2id[eA[tA]]=tA,this._id2color[tA]=eA[tA]}else this._isFrozen=!1}getId(eA){if(eA===null)return 0;eA=eA.toUpperCase();let tA=this._color2id[eA];if(tA)return tA;if(this._isFrozen)throw new Error(`Missing color in color map - ${eA}`);return tA=++this._lastColorId,this._color2id[eA]=tA,this._id2color[tA]=eA,tA}getColorMap(){return this._id2color.slice(0)}},emptyParentScopes=Object.freeze([]),ThemeTrieElementRule=class Ny{constructor(tA,nA,aA,iA,rA){this.scopeDepth=tA,this.parentScopes=nA||emptyParentScopes,this.fontStyle=aA,this.foreground=iA,this.background=rA}clone(){return new Ny(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(tA){let nA=[];for(let aA=0,iA=tA.length;aA<iA;aA++)nA[aA]=tA[aA].clone();return nA}acceptOverwrite(tA,nA,aA,iA){this.scopeDepth>tA?console.log("how did this happen?"):this.scopeDepth=tA,nA!==-1&&(this.fontStyle=nA),aA!==0&&(this.foreground=aA),iA!==0&&(this.background=iA)}},ThemeTrieElement=class Iy{constructor(tA,nA=[],aA={}){this._mainRule=tA,this._children=aA,this._rulesWithParentScopes=nA}static _cmpBySpecificity(tA,nA){if(tA.scopeDepth!==nA.scopeDepth)return nA.scopeDepth-tA.scopeDepth;let aA=0,iA=0;for(;tA.parentScopes[aA]===">"&&aA++,nA.parentScopes[iA]===">"&&iA++,!(aA>=tA.parentScopes.length||iA>=nA.parentScopes.length);){const rA=nA.parentScopes[iA].length-tA.parentScopes[aA].length;if(rA!==0)return rA;aA++,iA++}return nA.parentScopes.length-tA.parentScopes.length}match(tA){if(tA!==""){let aA=tA.indexOf("."),iA,rA;if(aA===-1?(iA=tA,rA=""):(iA=tA.substring(0,aA),rA=tA.substring(aA+1)),this._children.hasOwnProperty(iA))return this._children[iA].match(rA)}const nA=this._rulesWithParentScopes.concat(this._mainRule);return nA.sort(Iy._cmpBySpecificity),nA}insert(tA,nA,aA,iA,rA,AA){if(nA===""){this._doInsertHere(tA,aA,iA,rA,AA);return}let oA=nA.indexOf("."),sA,cA;oA===-1?(sA=nA,cA=""):(sA=nA.substring(0,oA),cA=nA.substring(oA+1));let lA;this._children.hasOwnProperty(sA)?lA=this._children[sA]:(lA=new Iy(this._mainRule.clone(),ThemeTrieElementRule.cloneArr(this._rulesWithParentScopes)),this._children[sA]=lA),lA.insert(tA+1,cA,aA,iA,rA,AA)}_doInsertHere(tA,nA,aA,iA,rA){if(nA===null){this._mainRule.acceptOverwrite(tA,aA,iA,rA);return}for(let AA=0,oA=this._rulesWithParentScopes.length;AA<oA;AA++){let sA=this._rulesWithParentScopes[AA];if(strArrCmp(sA.parentScopes,nA)===0){sA.acceptOverwrite(tA,aA,iA,rA);return}}aA===-1&&(aA=this._mainRule.fontStyle),iA===0&&(iA=this._mainRule.foreground),rA===0&&(rA=this._mainRule.background),this._rulesWithParentScopes.push(new ThemeTrieElementRule(tA,nA,aA,iA,rA))}},EncodedTokenMetadata=class uy{static toBinaryStr(tA){return tA.toString(2).padStart(32,"0")}static print(tA){const nA=uy.getLanguageId(tA),aA=uy.getTokenType(tA),iA=uy.getFontStyle(tA),rA=uy.getForeground(tA),AA=uy.getBackground(tA);console.log({languageId:nA,tokenType:aA,fontStyle:iA,foreground:rA,background:AA})}static getLanguageId(tA){return(tA&255)>>>0}static getTokenType(tA){return(tA&768)>>>8}static containsBalancedBrackets(tA){return(tA&1024)!==0}static getFontStyle(tA){return(tA&30720)>>>11}static getForeground(tA){return(tA&16744448)>>>15}static getBackground(tA){return(tA&4278190080)>>>24}static set(tA,nA,aA,iA,rA,AA,oA){let sA=uy.getLanguageId(tA),cA=uy.getTokenType(tA),lA=uy.containsBalancedBrackets(tA)?1:0,uA=uy.getFontStyle(tA),dA=uy.getForeground(tA),pA=uy.getBackground(tA);return nA!==0&&(sA=nA),aA!==8&&(cA=aA),iA!==null&&(lA=iA?1:0),rA!==-1&&(uA=rA),AA!==0&&(dA=AA),oA!==0&&(pA=oA),(sA<<0|cA<<8|lA<<10|uA<<11|dA<<15|pA<<24)>>>0}};function createMatchers(eA,tA){const nA=[],aA=newTokenizer(eA);let iA=aA.next();for(;iA!==null;){let sA=0;if(iA.length===2&&iA.charAt(1)===":"){switch(iA.charAt(0)){case"R":sA=1;break;case"L":sA=-1;break;default:console.log(`Unknown priority ${iA} in scope selector`)}iA=aA.next()}let cA=AA();if(nA.push({matcher:cA,priority:sA}),iA!==",")break;iA=aA.next()}return nA;function rA(){if(iA==="-"){iA=aA.next();const sA=rA();return cA=>!!sA&&!sA(cA)}if(iA==="("){iA=aA.next();const sA=oA();return iA===")"&&(iA=aA.next()),sA}if(isIdentifier(iA)){const sA=[];do sA.push(iA),iA=aA.next();while(isIdentifier(iA));return cA=>tA(sA,cA)}return null}function AA(){const sA=[];let cA=rA();for(;cA;)sA.push(cA),cA=rA();return lA=>sA.every(uA=>uA(lA))}function oA(){const sA=[];let cA=AA();for(;cA&&(sA.push(cA),iA==="|"||iA===",");){do iA=aA.next();while(iA==="|"||iA===",");cA=AA()}return lA=>sA.some(uA=>uA(lA))}}function isIdentifier(eA){return!!eA&&!!eA.match(/[\w\.:]+/)}function newTokenizer(eA){let tA=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,nA=tA.exec(eA);return{next:()=>{if(!nA)return null;const aA=nA[0];return nA=tA.exec(eA),aA}}}function disposeOnigString(eA){typeof eA.dispose=="function"&&eA.dispose()}var TopLevelRuleReference=class{constructor(eA){this.scopeName=eA}toKey(){return this.scopeName}},TopLevelRepositoryRuleReference=class{constructor(eA,tA){this.scopeName=eA,this.ruleName=tA}toKey(){return`${this.scopeName}#${this.ruleName}`}},ExternalReferenceCollector=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(eA){const tA=eA.toKey();this._seenReferenceKeys.has(tA)||(this._seenReferenceKeys.add(tA),this._references.push(eA))}},ScopeDependencyProcessor=class{constructor(eA,tA){this.repo=eA,this.initialScopeName=tA,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new TopLevelRuleReference(this.initialScopeName)]}processQueue(){const eA=this.Q;this.Q=[];const tA=new ExternalReferenceCollector;for(const nA of eA)collectReferencesOfReference(nA,this.initialScopeName,this.repo,tA);for(const nA of tA.references)if(nA instanceof TopLevelRuleReference){if(this.seenFullScopeRequests.has(nA.scopeName))continue;this.seenFullScopeRequests.add(nA.scopeName),this.Q.push(nA)}else{if(this.seenFullScopeRequests.has(nA.scopeName)||this.seenPartialScopeRequests.has(nA.toKey()))continue;this.seenPartialScopeRequests.add(nA.toKey()),this.Q.push(nA)}}};function collectReferencesOfReference(eA,tA,nA,aA){const iA=nA.lookup(eA.scopeName);if(!iA){if(eA.scopeName===tA)throw new Error(`No grammar provided for <${tA}>`);return}const rA=nA.lookup(tA);eA instanceof TopLevelRuleReference?collectExternalReferencesInTopLevelRule({baseGrammar:rA,selfGrammar:iA},aA):collectExternalReferencesInTopLevelRepositoryRule(eA.ruleName,{baseGrammar:rA,selfGrammar:iA,repository:iA.repository},aA);const AA=nA.injections(eA.scopeName);if(AA)for(const oA of AA)aA.add(new TopLevelRuleReference(oA))}function collectExternalReferencesInTopLevelRepositoryRule(eA,tA,nA){if(tA.repository&&tA.repository[eA]){const aA=tA.repository[eA];collectExternalReferencesInRules([aA],tA,nA)}}function collectExternalReferencesInTopLevelRule(eA,tA){eA.selfGrammar.patterns&&Array.isArray(eA.selfGrammar.patterns)&&collectExternalReferencesInRules(eA.selfGrammar.patterns,{...eA,repository:eA.selfGrammar.repository},tA),eA.selfGrammar.injections&&collectExternalReferencesInRules(Object.values(eA.selfGrammar.injections),{...eA,repository:eA.selfGrammar.repository},tA)}function collectExternalReferencesInRules(eA,tA,nA){for(const aA of eA){if(nA.visitedRule.has(aA))continue;nA.visitedRule.add(aA);const iA=aA.repository?mergeObjects({},tA.repository,aA.repository):tA.repository;Array.isArray(aA.patterns)&&collectExternalReferencesInRules(aA.patterns,{...tA,repository:iA},nA);const rA=aA.include;if(!rA)continue;const AA=parseInclude(rA);switch(AA.kind){case 0:collectExternalReferencesInTopLevelRule({...tA,selfGrammar:tA.baseGrammar},nA);break;case 1:collectExternalReferencesInTopLevelRule(tA,nA);break;case 2:collectExternalReferencesInTopLevelRepositoryRule(AA.ruleName,{...tA,repository:iA},nA);break;case 3:case 4:const oA=AA.scopeName===tA.selfGrammar.scopeName?tA.selfGrammar:AA.scopeName===tA.baseGrammar.scopeName?tA.baseGrammar:void 0;if(oA){const sA={baseGrammar:tA.baseGrammar,selfGrammar:oA,repository:iA};AA.kind===4?collectExternalReferencesInTopLevelRepositoryRule(AA.ruleName,sA,nA):collectExternalReferencesInTopLevelRule(sA,nA)}else AA.kind===4?nA.add(new TopLevelRepositoryRuleReference(AA.scopeName,AA.ruleName)):nA.add(new TopLevelRuleReference(AA.scopeName));break}}}var BaseReference=class{constructor(){this.kind=0}},SelfReference=class{constructor(){this.kind=1}},RelativeReference=class{constructor(eA){this.ruleName=eA,this.kind=2}},TopLevelReference=class{constructor(eA){this.scopeName=eA,this.kind=3}},TopLevelRepositoryReference=class{constructor(eA,tA){this.scopeName=eA,this.ruleName=tA,this.kind=4}};function parseInclude(eA){if(eA==="$base")return new BaseReference;if(eA==="$self")return new SelfReference;const tA=eA.indexOf("#");if(tA===-1)return new TopLevelReference(eA);if(tA===0)return new RelativeReference(eA.substring(1));{const nA=eA.substring(0,tA),aA=eA.substring(tA+1);return new TopLevelRepositoryReference(nA,aA)}}var HAS_BACK_REFERENCES=/\\(\d+)/,BACK_REFERENCING_END=/\\(\d+)/g,endRuleId=-1,whileRuleId=-2,Rule=class{constructor(eA,tA,nA,aA){this.$location=eA,this.id=tA,this._name=nA||null,this._nameIsCapturing=RegexSource.hasCaptures(this._name),this._contentName=aA||null,this._contentNameIsCapturing=RegexSource.hasCaptures(this._contentName)}get debugName(){const eA=this.$location?`${basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${eA}`}getName(eA,tA){return!this._nameIsCapturing||this._name===null||eA===null||tA===null?this._name:RegexSource.replaceCaptures(this._name,eA,tA)}getContentName(eA,tA){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:RegexSource.replaceCaptures(this._contentName,eA,tA)}},CaptureRule=class extends Rule{constructor(eA,tA,nA,aA,iA){super(eA,tA,nA,aA),this.retokenizeCapturedWithRuleId=iA}dispose(){}collectPatterns(eA,tA){throw new Error("Not supported!")}compile(eA,tA){throw new Error("Not supported!")}compileAG(eA,tA,nA,aA){throw new Error("Not supported!")}},MatchRule=class extends Rule{constructor(eA,tA,nA,aA,iA){super(eA,tA,nA,null),this._match=new RegExpSource(aA,this.id),this.captures=iA,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(eA,tA){tA.push(this._match)}compile(eA,tA){return this._getCachedCompiledPatterns(eA).compile(eA)}compileAG(eA,tA,nA,aA){return this._getCachedCompiledPatterns(eA).compileAG(eA,nA,aA)}_getCachedCompiledPatterns(eA){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new RegExpSourceList,this.collectPatterns(eA,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},IncludeOnlyRule=class extends Rule{constructor(eA,tA,nA,aA,iA){super(eA,tA,nA,aA),this.patterns=iA.patterns,this.hasMissingPatterns=iA.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(eA,tA){for(const nA of this.patterns)eA.getRule(nA).collectPatterns(eA,tA)}compile(eA,tA){return this._getCachedCompiledPatterns(eA).compile(eA)}compileAG(eA,tA,nA,aA){return this._getCachedCompiledPatterns(eA).compileAG(eA,nA,aA)}_getCachedCompiledPatterns(eA){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new RegExpSourceList,this.collectPatterns(eA,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},BeginEndRule=class extends Rule{constructor(eA,tA,nA,aA,iA,rA,AA,oA,sA,cA){super(eA,tA,nA,aA),this._begin=new RegExpSource(iA,this.id),this.beginCaptures=rA,this._end=new RegExpSource(AA||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=oA,this.applyEndPatternLast=sA||!1,this.patterns=cA.patterns,this.hasMissingPatterns=cA.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(eA,tA){return this._end.resolveBackReferences(eA,tA)}collectPatterns(eA,tA){tA.push(this._begin)}compile(eA,tA){return this._getCachedCompiledPatterns(eA,tA).compile(eA)}compileAG(eA,tA,nA,aA){return this._getCachedCompiledPatterns(eA,tA).compileAG(eA,nA,aA)}_getCachedCompiledPatterns(eA,tA){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new RegExpSourceList;for(const nA of this.patterns)eA.getRule(nA).collectPatterns(eA,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,tA):this._cachedCompiledPatterns.setSource(0,tA)),this._cachedCompiledPatterns}},BeginWhileRule=class extends Rule{constructor(eA,tA,nA,aA,iA,rA,AA,oA,sA){super(eA,tA,nA,aA),this._begin=new RegExpSource(iA,this.id),this.beginCaptures=rA,this.whileCaptures=oA,this._while=new RegExpSource(AA,whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=sA.patterns,this.hasMissingPatterns=sA.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(eA,tA){return this._while.resolveBackReferences(eA,tA)}collectPatterns(eA,tA){tA.push(this._begin)}compile(eA,tA){return this._getCachedCompiledPatterns(eA).compile(eA)}compileAG(eA,tA,nA,aA){return this._getCachedCompiledPatterns(eA).compileAG(eA,nA,aA)}_getCachedCompiledPatterns(eA){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new RegExpSourceList;for(const tA of this.patterns)eA.getRule(tA).collectPatterns(eA,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(eA,tA){return this._getCachedCompiledWhilePatterns(eA,tA).compile(eA)}compileWhileAG(eA,tA,nA,aA){return this._getCachedCompiledWhilePatterns(eA,tA).compileAG(eA,nA,aA)}_getCachedCompiledWhilePatterns(eA,tA){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new RegExpSourceList,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,tA||"￿"),this._cachedCompiledWhilePatterns}},RuleFactory=class Ay{static createCaptureRule(tA,nA,aA,iA,rA){return tA.registerRule(AA=>new CaptureRule(nA,AA,aA,iA,rA))}static getCompiledRuleId(tA,nA,aA){return tA.id||nA.registerRule(iA=>{if(tA.id=iA,tA.match)return new MatchRule(tA.$vscodeTextmateLocation,tA.id,tA.name,tA.match,Ay._compileCaptures(tA.captures,nA,aA));if(typeof tA.begin>"u"){tA.repository&&(aA=mergeObjects({},aA,tA.repository));let rA=tA.patterns;return typeof rA>"u"&&tA.include&&(rA=[{include:tA.include}]),new IncludeOnlyRule(tA.$vscodeTextmateLocation,tA.id,tA.name,tA.contentName,Ay._compilePatterns(rA,nA,aA))}return tA.while?new BeginWhileRule(tA.$vscodeTextmateLocation,tA.id,tA.name,tA.contentName,tA.begin,Ay._compileCaptures(tA.beginCaptures||tA.captures,nA,aA),tA.while,Ay._compileCaptures(tA.whileCaptures||tA.captures,nA,aA),Ay._compilePatterns(tA.patterns,nA,aA)):new BeginEndRule(tA.$vscodeTextmateLocation,tA.id,tA.name,tA.contentName,tA.begin,Ay._compileCaptures(tA.beginCaptures||tA.captures,nA,aA),tA.end,Ay._compileCaptures(tA.endCaptures||tA.captures,nA,aA),tA.applyEndPatternLast,Ay._compilePatterns(tA.patterns,nA,aA))}),tA.id}static _compileCaptures(tA,nA,aA){let iA=[];if(tA){let rA=0;for(const AA in tA){if(AA==="$vscodeTextmateLocation")continue;const oA=parseInt(AA,10);oA>rA&&(rA=oA)}for(let AA=0;AA<=rA;AA++)iA[AA]=null;for(const AA in tA){if(AA==="$vscodeTextmateLocation")continue;const oA=parseInt(AA,10);let sA=0;tA[AA].patterns&&(sA=Ay.getCompiledRuleId(tA[AA],nA,aA)),iA[oA]=Ay.createCaptureRule(nA,tA[AA].$vscodeTextmateLocation,tA[AA].name,tA[AA].contentName,sA)}}return iA}static _compilePatterns(tA,nA,aA){let iA=[];if(tA)for(let rA=0,AA=tA.length;rA<AA;rA++){const oA=tA[rA];let sA=-1;if(oA.include){const cA=parseInclude(oA.include);switch(cA.kind){case 0:case 1:sA=Ay.getCompiledRuleId(aA[oA.include],nA,aA);break;case 2:let lA=aA[cA.ruleName];lA&&(sA=Ay.getCompiledRuleId(lA,nA,aA));break;case 3:case 4:const uA=cA.scopeName,dA=cA.kind===4?cA.ruleName:null,pA=nA.getExternalGrammar(uA,aA);if(pA)if(dA){let mA=pA.repository[dA];mA&&(sA=Ay.getCompiledRuleId(mA,nA,pA.repository))}else sA=Ay.getCompiledRuleId(pA.repository.$self,nA,pA.repository);break}}else sA=Ay.getCompiledRuleId(oA,nA,aA);if(sA!==-1){const cA=nA.getRule(sA);let lA=!1;if((cA instanceof IncludeOnlyRule||cA instanceof BeginEndRule||cA instanceof BeginWhileRule)&&cA.hasMissingPatterns&&cA.patterns.length===0&&(lA=!0),lA)continue;iA.push(sA)}}return{patterns:iA,hasMissingPatterns:(tA?tA.length:0)!==iA.length}}},RegExpSource=class Ly{constructor(tA,nA){if(tA){const aA=tA.length;let iA=0,rA=[],AA=!1;for(let oA=0;oA<aA;oA++)if(tA.charAt(oA)==="\\"&&oA+1<aA){const sA=tA.charAt(oA+1);sA==="z"?(rA.push(tA.substring(iA,oA)),rA.push("$(?!\\n)(?<!\\n)"),iA=oA+2):(sA==="A"||sA==="G")&&(AA=!0),oA++}this.hasAnchor=AA,iA===0?this.source=tA:(rA.push(tA.substring(iA,aA)),this.source=rA.join(""))}else this.hasAnchor=!1,this.source=tA;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=nA,this.hasBackReferences=HAS_BACK_REFERENCES.test(this.source)}clone(){return new Ly(this.source,this.ruleId)}setSource(tA){this.source!==tA&&(this.source=tA,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(tA,nA){let aA=nA.map(iA=>tA.substring(iA.start,iA.end));return BACK_REFERENCING_END.lastIndex=0,this.source.replace(BACK_REFERENCING_END,(iA,rA)=>escapeRegExpCharacters(aA[parseInt(rA,10)]||""))}_buildAnchorCache(){let tA=[],nA=[],aA=[],iA=[],rA,AA,oA,sA;for(rA=0,AA=this.source.length;rA<AA;rA++)oA=this.source.charAt(rA),tA[rA]=oA,nA[rA]=oA,aA[rA]=oA,iA[rA]=oA,oA==="\\"&&rA+1<AA&&(sA=this.source.charAt(rA+1),sA==="A"?(tA[rA+1]="￿",nA[rA+1]="￿",aA[rA+1]="A",iA[rA+1]="A"):sA==="G"?(tA[rA+1]="￿",nA[rA+1]="G",aA[rA+1]="￿",iA[rA+1]="G"):(tA[rA+1]=sA,nA[rA+1]=sA,aA[rA+1]=sA,iA[rA+1]=sA),rA++);return{A0_G0:tA.join(""),A0_G1:nA.join(""),A1_G0:aA.join(""),A1_G1:iA.join("")}}resolveAnchors(tA,nA){return!this.hasAnchor||!this._anchorCache?this.source:tA?nA?this._anchorCache.A1_G1:this._anchorCache.A1_G0:nA?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},RegExpSourceList=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(eA){this._items.push(eA),this._hasAnchors=this._hasAnchors||eA.hasAnchor}unshift(eA){this._items.unshift(eA),this._hasAnchors=this._hasAnchors||eA.hasAnchor}length(){return this._items.length}setSource(eA,tA){this._items[eA].source!==tA&&(this._disposeCaches(),this._items[eA].setSource(tA))}compile(eA){if(!this._cached){let tA=this._items.map(nA=>nA.source);this._cached=new CompiledRule(eA,tA,this._items.map(nA=>nA.ruleId))}return this._cached}compileAG(eA,tA,nA){return this._hasAnchors?tA?nA?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(eA,tA,nA)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(eA,tA,nA)),this._anchorCache.A1_G0):nA?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(eA,tA,nA)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(eA,tA,nA)),this._anchorCache.A0_G0):this.compile(eA)}_resolveAnchors(eA,tA,nA){let aA=this._items.map(iA=>iA.resolveAnchors(tA,nA));return new CompiledRule(eA,aA,this._items.map(iA=>iA.ruleId))}},CompiledRule=class{constructor(eA,tA,nA){this.regExps=tA,this.rules=nA,this.scanner=eA.createOnigScanner(tA)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const eA=[];for(let tA=0,nA=this.rules.length;tA<nA;tA++)eA.push(" - "+this.rules[tA]+": "+this.regExps[tA]);return eA.join(`
4
4
  `)}findNextMatchSync(eA,tA,nA){const aA=this.scanner.findNextMatchSync(eA,tA,nA);return aA?{ruleId:this.rules[aA.index],captureIndices:aA.captureIndices}:null}},BasicScopeAttributes=class{constructor(eA,tA){this.languageId=eA,this.tokenType=tA}},_BasicScopeAttributesProvider=class $y{constructor(tA,nA){this._getBasicScopeAttributes=new CachedFn(aA=>{const iA=this._scopeToLanguage(aA),rA=this._toStandardTokenType(aA);return new BasicScopeAttributes(iA,rA)}),this._defaultAttributes=new BasicScopeAttributes(tA,8),this._embeddedLanguagesMatcher=new ScopeMatcher(Object.entries(nA||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(tA){return tA===null?$y._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(tA)}_scopeToLanguage(tA){return this._embeddedLanguagesMatcher.match(tA)||0}_toStandardTokenType(tA){const nA=tA.match($y.STANDARD_TOKEN_TYPE_REGEXP);if(!nA)return 8;switch(nA[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};_BasicScopeAttributesProvider._NULL_SCOPE_METADATA=new BasicScopeAttributes(0,0),_BasicScopeAttributesProvider.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var BasicScopeAttributesProvider=_BasicScopeAttributesProvider,ScopeMatcher=class{constructor(eA){if(eA.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(eA);const tA=eA.map(([nA,aA])=>escapeRegExpCharacters(nA));tA.sort(),tA.reverse(),this.scopesRegExp=new RegExp(`^((${tA.join(")|(")}))($|\\.)`,"")}}match(eA){if(!this.scopesRegExp)return;const tA=eA.match(this.scopesRegExp);if(tA)return this.values.get(tA[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var TokenizeStringResult=class{constructor(eA,tA){this.stack=eA,this.stoppedEarly=tA}};function _tokenizeString(eA,tA,nA,aA,iA,rA,AA,oA){const sA=tA.content.length;let cA=!1,lA=-1;if(AA){const pA=_checkWhileConditions(eA,tA,nA,aA,iA,rA);iA=pA.stack,aA=pA.linePos,nA=pA.isFirstLine,lA=pA.anchorPosition}const uA=Date.now();for(;!cA;){if(oA!==0&&Date.now()-uA>oA)return new TokenizeStringResult(iA,!0);dA()}return new TokenizeStringResult(iA,!1);function dA(){const pA=matchRuleOrInjections(eA,tA,nA,aA,iA,lA);if(!pA){rA.produce(iA,sA),cA=!0;return}const mA=pA.captureIndices,gA=pA.matchedRuleId,fA=mA&&mA.length>0?mA[0].end>aA:!1;if(gA===endRuleId){const hA=iA.getRule(eA);rA.produce(iA,mA[0].start),iA=iA.withContentNameScopesList(iA.nameScopesList),handleCaptures(eA,tA,nA,iA,rA,hA.endCaptures,mA),rA.produce(iA,mA[0].end);const bA=iA;if(iA=iA.parent,lA=bA.getAnchorPos(),!fA&&bA.getEnterPos()===aA){iA=bA,rA.produce(iA,sA),cA=!0;return}}else{const hA=eA.getRule(gA);rA.produce(iA,mA[0].start);const bA=iA,yA=hA.getName(tA.content,mA),_A=iA.contentNameScopesList.pushAttributed(yA,eA);if(iA=iA.push(gA,aA,lA,mA[0].end===sA,null,_A,_A),hA instanceof BeginEndRule){const CA=hA;handleCaptures(eA,tA,nA,iA,rA,CA.beginCaptures,mA),rA.produce(iA,mA[0].end),lA=mA[0].end;const xA=CA.getContentName(tA.content,mA),BA=_A.pushAttributed(xA,eA);if(iA=iA.withContentNameScopesList(BA),CA.endHasBackReferences&&(iA=iA.withEndRule(CA.getEndWithResolvedBackReferences(tA.content,mA))),!fA&&bA.hasSameRuleAs(iA)){iA=iA.pop(),rA.produce(iA,sA),cA=!0;return}}else if(hA instanceof BeginWhileRule){const CA=hA;handleCaptures(eA,tA,nA,iA,rA,CA.beginCaptures,mA),rA.produce(iA,mA[0].end),lA=mA[0].end;const xA=CA.getContentName(tA.content,mA),BA=_A.pushAttributed(xA,eA);if(iA=iA.withContentNameScopesList(BA),CA.whileHasBackReferences&&(iA=iA.withEndRule(CA.getWhileWithResolvedBackReferences(tA.content,mA))),!fA&&bA.hasSameRuleAs(iA)){iA=iA.pop(),rA.produce(iA,sA),cA=!0;return}}else if(handleCaptures(eA,tA,nA,iA,rA,hA.captures,mA),rA.produce(iA,mA[0].end),iA=iA.pop(),!fA){iA=iA.safePop(),rA.produce(iA,sA),cA=!0;return}}mA[0].end>aA&&(aA=mA[0].end,nA=!1)}}function _checkWhileConditions(eA,tA,nA,aA,iA,rA){let AA=iA.beginRuleCapturedEOL?0:-1;const oA=[];for(let sA=iA;sA;sA=sA.pop()){const cA=sA.getRule(eA);cA instanceof BeginWhileRule&&oA.push({rule:cA,stack:sA})}for(let sA=oA.pop();sA;sA=oA.pop()){const{ruleScanner:cA,findOptions:lA}=prepareRuleWhileSearch(sA.rule,eA,sA.stack.endRule,nA,aA===AA),uA=cA.findNextMatchSync(tA,aA,lA);if(uA){if(uA.ruleId!==whileRuleId){iA=sA.stack.pop();break}uA.captureIndices&&uA.captureIndices.length&&(rA.produce(sA.stack,uA.captureIndices[0].start),handleCaptures(eA,tA,nA,sA.stack,rA,sA.rule.whileCaptures,uA.captureIndices),rA.produce(sA.stack,uA.captureIndices[0].end),AA=uA.captureIndices[0].end,uA.captureIndices[0].end>aA&&(aA=uA.captureIndices[0].end,nA=!1))}else{iA=sA.stack.pop();break}}return{stack:iA,linePos:aA,anchorPosition:AA,isFirstLine:nA}}function matchRuleOrInjections(eA,tA,nA,aA,iA,rA){const AA=matchRule(eA,tA,nA,aA,iA,rA),oA=eA.getInjections();if(oA.length===0)return AA;const sA=matchInjections(oA,eA,tA,nA,aA,iA,rA);if(!sA)return AA;if(!AA)return sA;const cA=AA.captureIndices[0].start,lA=sA.captureIndices[0].start;return lA<cA||sA.priorityMatch&&lA===cA?sA:AA}function matchRule(eA,tA,nA,aA,iA,rA){const AA=iA.getRule(eA),{ruleScanner:oA,findOptions:sA}=prepareRuleSearch(AA,eA,iA.endRule,nA,aA===rA),cA=oA.findNextMatchSync(tA,aA,sA);return cA?{captureIndices:cA.captureIndices,matchedRuleId:cA.ruleId}:null}function matchInjections(eA,tA,nA,aA,iA,rA,AA){let oA=Number.MAX_VALUE,sA=null,cA,lA=0;const uA=rA.contentNameScopesList.getScopeNames();for(let dA=0,pA=eA.length;dA<pA;dA++){const mA=eA[dA];if(!mA.matcher(uA))continue;const gA=tA.getRule(mA.ruleId),{ruleScanner:fA,findOptions:hA}=prepareRuleSearch(gA,tA,null,aA,iA===AA),bA=fA.findNextMatchSync(nA,iA,hA);if(!bA)continue;const yA=bA.captureIndices[0].start;if(!(yA>=oA)&&(oA=yA,sA=bA.captureIndices,cA=bA.ruleId,lA=mA.priority,oA===iA))break}return sA?{priorityMatch:lA===-1,captureIndices:sA,matchedRuleId:cA}:null}function prepareRuleSearch(eA,tA,nA,aA,iA){return{ruleScanner:eA.compileAG(tA,nA,aA,iA),findOptions:0}}function prepareRuleWhileSearch(eA,tA,nA,aA,iA){return{ruleScanner:eA.compileWhileAG(tA,nA,aA,iA),findOptions:0}}function handleCaptures(eA,tA,nA,aA,iA,rA,AA){if(rA.length===0)return;const oA=tA.content,sA=Math.min(rA.length,AA.length),cA=[],lA=AA[0].end;for(let uA=0;uA<sA;uA++){const dA=rA[uA];if(dA===null)continue;const pA=AA[uA];if(pA.length===0)continue;if(pA.start>lA)break;for(;cA.length>0&&cA[cA.length-1].endPos<=pA.start;)iA.produceFromScopes(cA[cA.length-1].scopes,cA[cA.length-1].endPos),cA.pop();if(cA.length>0?iA.produceFromScopes(cA[cA.length-1].scopes,pA.start):iA.produce(aA,pA.start),dA.retokenizeCapturedWithRuleId){const gA=dA.getName(oA,AA),fA=aA.contentNameScopesList.pushAttributed(gA,eA),hA=dA.getContentName(oA,AA),bA=fA.pushAttributed(hA,eA),yA=aA.push(dA.retokenizeCapturedWithRuleId,pA.start,-1,!1,null,fA,bA),_A=eA.createOnigString(oA.substring(0,pA.end));_tokenizeString(eA,_A,nA&&pA.start===0,pA.start,yA,iA,!1,0),disposeOnigString(_A);continue}const mA=dA.getName(oA,AA);if(mA!==null){const gA=(cA.length>0?cA[cA.length-1].scopes:aA.contentNameScopesList).pushAttributed(mA,eA);cA.push(new LocalStackElement(gA,pA.end))}}for(;cA.length>0;)iA.produceFromScopes(cA[cA.length-1].scopes,cA[cA.length-1].endPos),cA.pop()}var LocalStackElement=class{constructor(eA,tA){this.scopes=eA,this.endPos=tA}};function createGrammar(eA,tA,nA,aA,iA,rA,AA,oA){return new Grammar(eA,tA,nA,aA,iA,rA,AA,oA)}function collectInjections(eA,tA,nA,aA,iA){const rA=createMatchers(tA,nameMatcher),AA=RuleFactory.getCompiledRuleId(nA,aA,iA.repository);for(const oA of rA)eA.push({debugSelector:tA,matcher:oA.matcher,ruleId:AA,grammar:iA,priority:oA.priority})}function nameMatcher(eA,tA){if(tA.length<eA.length)return!1;let nA=0;return eA.every(aA=>{for(let iA=nA;iA<tA.length;iA++)if(scopesAreMatching(tA[iA],aA))return nA=iA+1,!0;return!1})}function scopesAreMatching(eA,tA){if(!eA)return!1;if(eA===tA)return!0;const nA=tA.length;return eA.length>nA&&eA.substr(0,nA)===tA&&eA[nA]==="."}var Grammar=class{constructor(eA,tA,nA,aA,iA,rA,AA,oA){if(this._rootScopeName=eA,this.balancedBracketSelectors=rA,this._onigLib=oA,this._basicScopeAttributesProvider=new BasicScopeAttributesProvider(nA,aA),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=AA,this._grammar=initGrammar(tA,null),this._injections=null,this._tokenTypeMatchers=[],iA)for(const sA of Object.keys(iA)){const cA=createMatchers(sA,nameMatcher);for(const lA of cA)this._tokenTypeMatchers.push({matcher:lA.matcher,type:iA[sA]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const eA of this._ruleId2desc)eA&&eA.dispose()}createOnigScanner(eA){return this._onigLib.createOnigScanner(eA)}createOnigString(eA){return this._onigLib.createOnigString(eA)}getMetadataForScope(eA){return this._basicScopeAttributesProvider.getBasicScopeAttributes(eA)}_collectInjections(){const eA={lookup:iA=>iA===this._rootScopeName?this._grammar:this.getExternalGrammar(iA),injections:iA=>this._grammarRepository.injections(iA)},tA=[],nA=this._rootScopeName,aA=eA.lookup(nA);if(aA){const iA=aA.injections;if(iA)for(let AA in iA)collectInjections(tA,AA,iA[AA],this,aA);const rA=this._grammarRepository.injections(nA);rA&&rA.forEach(AA=>{const oA=this.getExternalGrammar(AA);if(oA){const sA=oA.injectionSelector;sA&&collectInjections(tA,sA,oA,this,oA)}})}return tA.sort((iA,rA)=>iA.priority-rA.priority),tA}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(eA){const tA=++this._lastRuleId,nA=eA(tA);return this._ruleId2desc[tA]=nA,nA}getRule(eA){return this._ruleId2desc[eA]}getExternalGrammar(eA,tA){if(this._includedGrammars[eA])return this._includedGrammars[eA];if(this._grammarRepository){const nA=this._grammarRepository.lookup(eA);if(nA)return this._includedGrammars[eA]=initGrammar(nA,tA&&tA.$base),this._includedGrammars[eA]}}tokenizeLine(eA,tA,nA=0){const aA=this._tokenize(eA,tA,!1,nA);return{tokens:aA.lineTokens.getResult(aA.ruleStack,aA.lineLength),ruleStack:aA.ruleStack,stoppedEarly:aA.stoppedEarly}}tokenizeLine2(eA,tA,nA=0){const aA=this._tokenize(eA,tA,!0,nA);return{tokens:aA.lineTokens.getBinaryResult(aA.ruleStack,aA.lineLength),ruleStack:aA.ruleStack,stoppedEarly:aA.stoppedEarly}}_tokenize(eA,tA,nA,aA){this._rootId===-1&&(this._rootId=RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let iA;if(!tA||tA===StateStackImpl.NULL){iA=!0;const cA=this._basicScopeAttributesProvider.getDefaultAttributes(),lA=this.themeProvider.getDefaults(),uA=EncodedTokenMetadata.set(0,cA.languageId,cA.tokenType,null,lA.fontStyle,lA.foregroundId,lA.backgroundId),dA=this.getRule(this._rootId).getName(null,null);let pA;dA?pA=AttributedScopeStack.createRootAndLookUpScopeName(dA,uA,this):pA=AttributedScopeStack.createRoot("unknown",uA),tA=new StateStackImpl(null,this._rootId,-1,-1,!1,null,pA,pA)}else iA=!1,tA.reset();eA=eA+`
@@ -1,6 +1,6 @@
1
- import { _ as d, g as U, a5 as Et, a6 as kt, a8 as bt, a7 as Ot, al as Rt, am as Nt, l as j, ao as xt, af as rt, an as Tt, ag as At, az as Mt, aA as wt, aB as St } from "./index-BVoTdxnp.js";
2
- import { D as Dt } from "./graph-sjVS6xcE-C5RdEsAN.js";
3
- import { o as $t } from "./layout-BT6DeXbr-BANlZ5gi.js";
1
+ import { _ as d, g as U, a5 as Et, a6 as kt, a8 as bt, a7 as Ot, al as Rt, am as Nt, l as j, ao as xt, af as rt, an as Tt, ag as At, az as Mt, aA as wt, aB as St } from "./index-D41my0VH.js";
2
+ import { D as Dt } from "./graph-sjVS6xcE-jaGHLe8p.js";
3
+ import { o as $t } from "./layout-BT6DeXbr-CBThH_m5.js";
4
4
  const vt = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
5
5
  function Lt(t) {
6
6
  return typeof t == "string" && vt.test(t);
@@ -1,7 +1,7 @@
1
- import { u as dt, b as pt } from "./chunk-DUMQOTYW-702X_yPX-jq37ikuA.js";
2
- import "./chunk-YWFND7JV-BX4eJVvR-BCwDeDNF.js";
3
- import { g as O1, _ as a, aj as Xe, ak as At, a5 as gt, a6 as ft, a7 as yt, a8 as kt, al as bt, am as Et, l as t1, an as Ae, ao as mt, ap as Tt, af as T1, aq as xt, ar as Ct, ab as Dt, as as St } from "./index-BVoTdxnp.js";
4
- import { t as Ft } from "./channel-BExz2QEe-D87SiV4g.js";
1
+ import { u as dt, b as pt } from "./chunk-DUMQOTYW-702X_yPX-Dw9UiDRn.js";
2
+ import "./chunk-YWFND7JV-BX4eJVvR-CW68YxAz.js";
3
+ import { g as O1, _ as a, aj as Xe, ak as At, a5 as gt, a6 as ft, a7 as yt, a8 as kt, al as bt, am as Et, l as t1, an as Ae, ao as mt, ap as Tt, af as T1, aq as xt, ar as Ct, ab as Dt, as as St } from "./index-D41my0VH.js";
4
+ import { t as Ft } from "./channel-BExz2QEe-lnItNUZh.js";
5
5
  var _t = "flowchart-", He = 0, P1 = O1(), f1 = /* @__PURE__ */ new Map(), j = [], U1 = /* @__PURE__ */ new Map(), A1 = [], ge = /* @__PURE__ */ new Map(), fe = /* @__PURE__ */ new Map(), J1 = 0, de = !0, H, te, se = [], re = /* @__PURE__ */ a((e) => Dt.sanitizeText(e, P1), "sanitizeText"), ue = /* @__PURE__ */ a(function(e) {
6
6
  for (const r of f1.values())
7
7
  if (r.id === e)
@@ -1,5 +1,5 @@
1
- import { aJ as Re, aK as Qe, aL as Ke, aM as Xe, aN as ve, _ as d, aO as et, aP as Te, g as _t, a5 as Fn, a6 as Yn, al as An, am as En, a8 as Un, a7 as In, aQ as Ln, ao as Wn, ah as Hn, l as Jt, af as jt, ag as zn, ab as Nn, an as On, aR as ne, aS as Pn } from "./index-BVoTdxnp.js";
2
- import { Z as Vn, X as jn, O as Bn, _ as Zn, w as Ue } from "./linear-Dz3m-tA--DoWdTVVU.js";
1
+ import { aJ as Re, aK as Qe, aL as Ke, aM as Xe, aN as ve, _ as d, aO as et, aP as Te, g as _t, a5 as Fn, a6 as Yn, al as An, am as En, a8 as Un, a7 as In, aQ as Ln, ao as Wn, ah as Hn, l as Jt, af as jt, ag as zn, ab as Nn, an as On, aR as ne, aS as Pn } from "./index-D41my0VH.js";
2
+ import { Z as Vn, X as jn, O as Bn, _ as Zn, w as Ue } from "./linear-Dz3m-tA--C2FQ42E0.js";
3
3
  import { t as Gn } from "./init-DjUOC4st-C8Nwz6AJ.js";
4
4
  function qn(t, e) {
5
5
  let n;
@@ -0,0 +1,5 @@
1
+ import { O as a, b as t } from "./mermaid-parser.core-CHAbAGk3-ygdZJxS0.js";
2
+ export {
3
+ a as GitGraphModule,
4
+ t as createGitGraphServices
5
+ };
@@ -1,7 +1,7 @@
1
- import { m as J } from "./chunk-OQCM5LHU-DvAgHiz1-EenYCxhh.js";
2
- import { e as Q } from "./chunk-2RYQ3QTB-CEsfCBgx-CFtk4OUl.js";
3
- import { aC as Z, _ as $, g as tt, aD as rt, aE as et, aF as ot, l as w, a5 as nt, a6 as at, a7 as ct, a8 as it, al as st, am as dt, ab as k, ao as ht, af as mt, an as $t, aG as lt } from "./index-BVoTdxnp.js";
4
- import { X as gt } from "./mermaid-parser.core-CHAbAGk3-c1XgG0S5.js";
1
+ import { m as J } from "./chunk-OQCM5LHU-DvAgHiz1-Bqb_RIPe.js";
2
+ import { e as Q } from "./chunk-2RYQ3QTB-CEsfCBgx-BhRqgy80.js";
3
+ import { aC as Z, _ as $, g as tt, aD as rt, aE as et, aF as ot, l as w, a5 as nt, a6 as at, a7 as ct, a8 as it, al as st, am as dt, ab as k, ao as ht, af as mt, an as $t, aG as lt } from "./index-D41my0VH.js";
4
+ import { X as gt } from "./mermaid-parser.core-CHAbAGk3-ygdZJxS0.js";
5
5
  var x = {
6
6
  NORMAL: 0,
7
7
  REVERSE: 1,
@@ -1,5 +1,5 @@
1
- import { m as D, S as j, L as d, $ as l, E as p, v as u, x as g, R as m, M as F } from "./_baseUniq-DvGKNxK2-CrFHB0Va.js";
2
- import { k as M, n as f, o as b, q as O, r as C } from "./index-BVoTdxnp.js";
1
+ import { m as D, S as j, L as d, $ as l, E as p, v as u, x as g, R as m, M as F } from "./_baseUniq-DvGKNxK2-CYqwMkyH.js";
2
+ import { k as M, n as f, o as b, q as O, r as C } from "./index-D41my0VH.js";
3
3
  var P = M(function(o) {
4
4
  return D(j(o, 1, O, !0));
5
5
  }), y = "\0", a = "\0", L = "";