@skill-map/cli 0.67.0 → 0.68.1

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 (105) hide show
  1. package/dist/cli/tutorial/sm-tutorial/SKILL.md +30 -23
  2. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/agents-hub/providers/agent-skills/en/agents-hub.md +2 -0
  3. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/agents-hub/providers/agent-skills/es/agents-hub.md +2 -0
  4. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/content-editor-style/providers/agent-skills/en/content-editor-style.md +1 -0
  5. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/content-editor-style/providers/agent-skills/es/content-editor-style.md +1 -0
  6. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/agent-skills/en/todo-bullet-guideline.md +1 -0
  7. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/agent-skills/en/todo-bullet-guideline2.md +1 -0
  8. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/agent-skills/en/todo-bullet-skill.md +1 -0
  9. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/agent-skills/es/todo-bullet-guideline.md +1 -0
  10. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/agent-skills/es/todo-bullet-guideline2.md +1 -0
  11. package/dist/cli/tutorial/sm-tutorial/fixtures-data/edits/todo-connectors/providers/agent-skills/es/todo-bullet-skill.md +1 -0
  12. package/dist/cli/tutorial/sm-tutorial/fixtures-data/manifest.json +9 -4
  13. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/harness/providers/agent-skills/en/__PROVIDER__/skills/publish/SKILL.md +15 -0
  14. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/harness/providers/agent-skills/es/__PROVIDER__/skills/publish/SKILL.md +16 -0
  15. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/harness/providers/codex/en/__PROVIDER__/skills/publish/SKILL.md +15 -0
  16. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/harness/providers/codex/es/__PROVIDER__/skills/publish/SKILL.md +16 -0
  17. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/master/providers/agent-skills/en/__PROVIDER__/skills/master-agent/SKILL.md +13 -0
  18. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/master/providers/agent-skills/es/__PROVIDER__/skills/master-agent/SKILL.md +14 -0
  19. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/master/providers/codex/en/.codex/agents/master-agent.toml +10 -0
  20. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/master/providers/codex/es/.codex/agents/master-agent.toml +10 -0
  21. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/agent-skills/en/AGENTS.md +7 -0
  22. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/agent-skills/en/__PROVIDER__/skills/content-editor/SKILL.md +20 -0
  23. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/agent-skills/es/AGENTS.md +7 -0
  24. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/agent-skills/es/__PROVIDER__/skills/content-editor/SKILL.md +20 -0
  25. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/agent-skills/shared/CLAUDE.md +1 -0
  26. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/codex/en/.codex/agents/content-editor.toml +19 -0
  27. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/portfolio/providers/codex/es/.codex/agents/content-editor.toml +19 -0
  28. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/prologue/providers/codex/en/.codex/agents/demo-agent.toml +13 -0
  29. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/prologue/providers/codex/en/__PROVIDER__/skills/demo-command/SKILL.md +11 -0
  30. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/prologue/providers/codex/es/.codex/agents/demo-agent.toml +13 -0
  31. package/dist/cli/tutorial/sm-tutorial/fixtures-data/sets/prologue/providers/codex/es/__PROVIDER__/skills/demo-command/SKILL.md +12 -0
  32. package/dist/cli/tutorial/sm-tutorial/references/_core.md +102 -49
  33. package/dist/cli/tutorial/sm-tutorial/references/_manifest.json +168 -20
  34. package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +85 -19
  35. package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +6 -7
  36. package/dist/cli/tutorial/sm-tutorial/references/part-authoring.md +2 -2
  37. package/dist/cli/tutorial/sm-tutorial/references/part-basic-daily.md +241 -0
  38. package/dist/cli/tutorial/sm-tutorial/references/part-basic-fundamentals.md +351 -0
  39. package/dist/cli/tutorial/sm-tutorial/references/part-basic-kickoff.md +285 -0
  40. package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +1 -1
  41. package/dist/cli/tutorial/sm-tutorial/references/part-daily-loop.md +62 -99
  42. package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +35 -34
  43. package/dist/cli/tutorial/sm-tutorial/references/part-mcp.md +3 -6
  44. package/dist/cli/tutorial/sm-tutorial/references/part-plugins.md +1 -1
  45. package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +198 -26
  46. package/dist/cli/tutorial/sm-tutorial/references/part-settings.md +19 -15
  47. package/dist/cli/tutorial/sm-tutorial/scripts/fixtures.js +85 -22
  48. package/dist/cli/tutorial/sm-tutorial/scripts/lib/paths.js +74 -4
  49. package/dist/cli/tutorial/sm-tutorial/scripts/state.js +22 -6
  50. package/dist/cli.js +409 -168
  51. package/dist/conformance/index.js +42 -2
  52. package/dist/index.js +43 -30
  53. package/dist/kernel/index.d.ts +28 -5
  54. package/dist/kernel/index.js +43 -30
  55. package/dist/ui/chunk-22EQLC23.js +1845 -0
  56. package/dist/ui/chunk-3ANNEMV4.js +499 -0
  57. package/dist/ui/{chunk-5BJGO7GH.js → chunk-3U4QZKU2.js} +4 -4
  58. package/dist/ui/chunk-3ZAHOYQ7.js +1 -0
  59. package/dist/ui/{chunk-56CBK7LB.js → chunk-6FGV5O5J.js} +1 -1
  60. package/dist/ui/chunk-7WMT2LX4.js +1 -0
  61. package/dist/ui/{chunk-276RLZR4.js → chunk-BSIR3ADF.js} +14 -14
  62. package/dist/ui/{chunk-FC22ZJQZ.js → chunk-CG25RHMO.js} +1 -1
  63. package/dist/ui/chunk-EFSC6SOL.js +3 -0
  64. package/dist/ui/chunk-EJVWTBMV.js +4 -0
  65. package/dist/ui/chunk-EZI3BXQN.js +1 -0
  66. package/dist/ui/{chunk-JZ2YF7EL.js → chunk-GUPPOK7U.js} +8 -8
  67. package/dist/ui/{chunk-CJURGJTN.js → chunk-HLALESGR.js} +1 -1
  68. package/dist/ui/chunk-I3I4KHR5.js +2 -0
  69. package/dist/ui/{chunk-BOVJVOLH.js → chunk-I6ED2OW7.js} +1 -1
  70. package/dist/ui/chunk-JKPG5PO7.js +375 -0
  71. package/dist/ui/chunk-K3ZRQNN5.js +2 -0
  72. package/dist/ui/chunk-KHDWXSGR.js +1 -0
  73. package/dist/ui/{chunk-HEK4PH5A.js → chunk-KMHXNOFZ.js} +1 -1
  74. package/dist/ui/chunk-KWT7E2RJ.js +16 -0
  75. package/dist/ui/{chunk-WHZVGOS3.js → chunk-MQSU6EFZ.js} +1 -1
  76. package/dist/ui/{chunk-43S72FTV.js → chunk-OGEE252A.js} +1 -1
  77. package/dist/ui/{chunk-J4J42HJ4.js → chunk-PU5OP5RN.js} +1 -1
  78. package/dist/ui/{chunk-UTRZTB6V.js → chunk-QVG7J2MP.js} +1 -1
  79. package/dist/ui/chunk-TLMV4LOQ.js +3 -0
  80. package/dist/ui/chunk-TQBXK5JN.js +1 -0
  81. package/dist/ui/chunk-Z7SOKILO.js +2 -0
  82. package/dist/ui/{chunk-WCABR6TI.js → chunk-ZRJ5ZCFR.js} +1 -1
  83. package/dist/ui/index.html +2 -2
  84. package/dist/ui/main-R7BIU4HU.js +4 -0
  85. package/dist/ui/styles-VEGETYWD.css +1 -0
  86. package/package.json +17 -18
  87. package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +0 -173
  88. package/dist/ui/chunk-34ZZDYNQ.js +0 -1
  89. package/dist/ui/chunk-444BFYGR.js +0 -3
  90. package/dist/ui/chunk-44VNNUSQ.js +0 -2
  91. package/dist/ui/chunk-4SG4352Z.js +0 -7
  92. package/dist/ui/chunk-5ITZXW3A.js +0 -1
  93. package/dist/ui/chunk-7ANZW2OI.js +0 -499
  94. package/dist/ui/chunk-BJ6X6WBO.js +0 -4
  95. package/dist/ui/chunk-CZSLV6YD.js +0 -1
  96. package/dist/ui/chunk-DLYJHLJX.js +0 -2
  97. package/dist/ui/chunk-LGFABCIA.js +0 -16
  98. package/dist/ui/chunk-LPDD2DHE.js +0 -369
  99. package/dist/ui/chunk-P3SNMV4X.js +0 -2
  100. package/dist/ui/chunk-S4S5ZMXJ.js +0 -3
  101. package/dist/ui/chunk-VHEFRMK3.js +0 -1
  102. package/dist/ui/chunk-X6TRIDBI.js +0 -1845
  103. package/dist/ui/main-V77F2KZX.js +0 -4
  104. package/dist/ui/styles-I4ULXD3V.css +0 -1
  105. /package/dist/ui/{chunk-Y2Z26SRI.js → chunk-5RNLC6V4.js} +0 -0
@@ -1,2 +0,0 @@
1
- import{b as Tt,i as Ee}from"./chunk-CZSLV6YD.js";import{a as Mt,c as Nt,d as Be,k as kt}from"./chunk-HEK4PH5A.js";import{b as Et,c as St}from"./chunk-FC22ZJQZ.js";import{K as V,L as H}from"./chunk-LPDD2DHE.js";import{g as wt}from"./chunk-34ZZDYNQ.js";import{$ as pt,$b as w,Ab as T,Bb as S,Cb as de,Fb as _t,Ib as he,Ja as p,K as Q,Kb as Me,Lb as yt,Mb as h,N as lt,P as K,V as me,W as ge,Xb as xt,Yb as te,Za as A,_ as dt,_b as je,ac as M,bc as Ne,cb as ut,db as ft,ga as F,ja as Te,jb as mt,kb as gt,lb as vt,lc as bt,mc as Ct,nb as k,qb as N,rb as E,sb as ht,ub as W,vb as X,wb as $,wc as d,xb as I,yb as D,yc as P,zb as ee}from"./chunk-BJ6X6WBO.js";import{a as we,b as st,d as ct}from"./chunk-WCABR6TI.js";var Hn=new Set(["stale-body","stale-frontmatter","stale-both"]);function Dt(e){return e?Hn.has(e.status??null):!1}function Se(e){let i=e.metadata;return i&&typeof i=="object"&&!Array.isArray(i)?i:null}function Eo(e){if(!e)return null;let i=e.sidecar?.annotations;if(i&&typeof i.version=="number")return`v${i.version}`;let t=Se(e.frontmatter)?.version;return typeof t=="string"&&t.length>0?`v${t}`:null}function So(e){if(!e)return null;let t=e.sidecar?.annotations?.stability;if(t==="stable"||t==="experimental"||t==="deprecated")return t;let n=Se(e.frontmatter)?.stability;return n==="stable"||n==="experimental"||n==="deprecated"?n:null}function ko(e){return Dt(e?.sidecar)}function Ot(e){if(!e)return[];let t=e.sidecar?.annotations?.tags;if(Array.isArray(t))return t.filter(o=>typeof o=="string"&&o.length>0);let n=Se(e.frontmatter)?.tags;return Array.isArray(n)?n.filter(o=>typeof o=="string"&&o.length>0):[]}function Do(e,i){switch(e?.sidecar?.status){case"stale-body":return i.staleBody;case"stale-frontmatter":return i.staleFrontmatter;case"stale-both":return i.staleBoth;default:return""}}function Oo(e){return e<1e3?`${e}`:e<1e4?`${(e/1e3).toFixed(1).replace(/\.0$/,"")}k`:`${Math.round(e/1e3)}k`}function Io(e){let i=new Date(e);if(isNaN(i.getTime()))return e;let t=Date.now()-i.getTime(),n=Math.floor(t/1e3);if(n<60)return"just now";let o=Math.floor(n/60);if(o<60)return`${o} minute${o===1?"":"s"} ago`;let r=Math.floor(o/60);if(r<24)return`${r} hour${r===1?"":"s"} ago`;let s=Math.floor(r/24);if(s<30)return`${s} day${s===1?"":"s"} ago`;let a=Math.floor(s/30);if(a<12)return`${a} month${a===1?"":"s"} ago`;let c=Math.floor(s/365);return`${c} year${c===1?"":"s"} ago`}function Po(e){return Number.isFinite(e)?new Date(e).toISOString().slice(0,10):""}function Ao(e){return Number.isFinite(e)?`${new Date(e).toISOString().slice(0,19).replace("T"," ")}Z`:""}var It=["invokes","references","points","mentions"],Pt="sm.workspace.search-affects-map";function Gn(){if(typeof localStorage>"u")return!1;let e=localStorage.getItem(Pt);return e===null?!1:e==="1"}function Yn(e){if(!(typeof localStorage>"u"))try{localStorage.setItem(Pt,e?"1":"0")}catch{}}var jo=(()=>{class e{_searchText=F("");_selectedKinds=F([]);_kindToggleExplicitEmpty=F(!1);_favoritesOnly=F(!1);_selectedLinkKinds=F([]);_severityErrorActive=F(!1);_severityWarnActive=F(!1);_searchAffectsMap=F(Gn());searchText=this._searchText.asReadonly();searchAffectsMap=this._searchAffectsMap.asReadonly();selectedKinds=this._selectedKinds.asReadonly();favoritesOnly=this._favoritesOnly.asReadonly();selectedLinkKinds=this._selectedLinkKinds.asReadonly();severityErrorActive=this._severityErrorActive.asReadonly();severityWarnActive=this._severityWarnActive.asReadonly();kindToggleExplicitEmpty=this._kindToggleExplicitEmpty.asReadonly();isActive=d(()=>this._searchText().trim().length>0||this._selectedKinds().length>0||this._kindToggleExplicitEmpty()||this._favoritesOnly()||this._selectedLinkKinds().length>0||this._severityErrorActive()||this._severityWarnActive());setSearchText(t){this._searchText.set(t)}toggleSearchAffectsMap(){let t=!this._searchAffectsMap();this._searchAffectsMap.set(t),Yn(t)}setKinds(t){this._kindToggleExplicitEmpty.set(!1),this._selectedKinds.set([...t])}toggleKind(t,n){let o=this._selectedKinds(),r=n,a=this._kindToggleExplicitEmpty()?new Set:o.length===0?new Set(r):new Set(o);a.has(t)?a.delete(t):a.add(t),a.size===r.length?(this._selectedKinds.set([]),this._kindToggleExplicitEmpty.set(!1)):a.size===0?(this._selectedKinds.set([]),this._kindToggleExplicitEmpty.set(!0)):(this._selectedKinds.set([...a]),this._kindToggleExplicitEmpty.set(!1))}isKindActive(t){if(this._kindToggleExplicitEmpty())return!1;let n=this._selectedKinds();return n.length===0?!0:n.includes(t)}setFavoritesOnly(t){this._favoritesOnly.set(t)}setLinkKinds(t){this._selectedLinkKinds.set([...t])}toggleLinkKind(t){let n=this._selectedLinkKinds(),o=n.length===0?new Set(It):new Set(n);o.has(t)?o.delete(t):o.add(t),o.size===It.length?this._selectedLinkKinds.set([]):this._selectedLinkKinds.set([...o])}isLinkKindActive(t){let n=this._selectedLinkKinds();return n.length===0?!0:n.includes(t)}toggleSeverity(t){t==="error"?this._severityErrorActive.set(!this._severityErrorActive()):this._severityWarnActive.set(!this._severityWarnActive())}isSeverityActive(t){return t==="error"?this._severityErrorActive():this._severityWarnActive()}setSeverityFilters(t){let n=new Set(t);this._severityErrorActive.set(n.has("error")),this._severityWarnActive.set(n.has("warn"))}reset(){this._searchText.set(""),this._selectedKinds.set([]),this._kindToggleExplicitEmpty.set(!1),this._favoritesOnly.set(!1),this._selectedLinkKinds.set([]),this._severityErrorActive.set(!1),this._severityWarnActive.set(!1)}apply(t,n,o){let r=o?.includeSearch??!0,s=o?.includeKinds??!0,a=r?this.searchText().trim().toLowerCase():"",c=this.selectedKinds(),l=this._kindToggleExplicitEmpty(),f=this.favoritesOnly(),y=this._severityErrorActive(),_=this._severityWarnActive(),g=(y||_)&&n!==void 0;return t.filter(C=>{if(a){let m=Ot(C).join(" ");if(![C.path,C.frontmatter.name??"",C.frontmatter.description??"",m].join(" ").toLowerCase().includes(a))return!1}return!(s&&(l||c.length>0&&!c.includes(C.kind))||f&&C.isFavorite!==!0||g&&(y&&!n.errors.has(C.path)||_&&!n.warns.has(C.path)))})}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Wn=(()=>{class e{router=K(Ee);open(t){this.router.navigate(["/"],{queryParams:{path:t}})}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),At=new lt("NODE_OPEN_INTENT",{providedIn:"root",factory:()=>K(Wn)});var ke="sm-debug-slots",Xn="debug",qn="is-debug-slots",Ft=(()=>{class e{visible=F(!1);constructor(){this.visible.set(this.resolveInitial()),Te(()=>{let t=this.visible();document.documentElement.classList.toggle(qn,t)})}toggle(){let t=!this.visible();this.visible.set(t);try{localStorage.setItem(ke,t?"1":"0")}catch{}}resolveInitial(){let n=new URLSearchParams(window.location.search).get(Xn);if(n!==null&&n!=="0"&&n!=="false"){try{localStorage.setItem(ke,"1")}catch{}return!0}if(n==="0"||n==="false"){try{localStorage.setItem(ke,"0")}catch{}return!1}try{return localStorage.getItem(ke)==="1"}catch{return!1}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $t=(()=>{class e{registry=F({});setRegistry(t){t&&this.registry.set(t)}get(t){return this.registry()[t]}all(){return this.registry()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Z(e){return typeof e=="object"&&e!==null}function ae(e,i){return Z(e)&&Array.isArray(e[i])}function De(e,i){return Z(e)&&typeof e[i]=="string"}var G={panelHeader:"Plugin contributions",panelCount:e=>`${e} contribution${e===1?"":"s"}`,emptyDefault:"No contributions for this node.",rendererInvalid:"Contribution data failed schema validation.",rendererUnknownSlot:e=>`Unknown slot: ${e}. Update the UI to a newer catalog version.`,overflowBadge:e=>`+${e}`,overflowTooltip:e=>`Hidden: ${e}`,recordsCell:{boolTrue:"yes",boolFalse:"no"}};var Qn=(e,i)=>i.label;function Zn(e,i){if(e&1&&(T(0,"h5",1),w(1),S()),e&2){let t=h();p(),M(t.label())}}function Jn(e,i){if(e&1&&(T(0,"p",2),w(1),S()),e&2){let t=h();p(),M(t.emptyText())}}function ei(e,i){if(e&1&&(T(0,"li",4)(1,"span",5),w(2),S(),T(3,"span",6),de(4,"span",7),S(),T(5,"span",8),w(6),S()()),e&2){let t=i.$implicit,n=h(2);k("title",t.tooltip??""),p(2),M(t.label),p(2),xt("width",n.percent(t.value),"%"),p(2),M(t.value)}}function ti(e,i){if(e&1&&(T(0,"ul",3),W(1,ei,7,5,"li",4,Qn),S()),e&2){let t=h();p(),X(t.bars())}}var Lt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return Z(t)?ae(t,"bars")?t:{bars:[]}:{bars:[]}});bars=d(()=>this.typed().bars??[]);label=d(()=>this.inputs().label);emptyText=d(()=>this.inputs().emptyText??G.emptyDefault);maxValue=d(()=>this.bars().reduce((n,o)=>o.value>n?o.value:n,0));percent(t){let n=this.maxValue();return n===0?0:Math.round(t/n*100)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-breakdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-breakdown"],[1,"vc-breakdown__header"],[1,"vc-breakdown__empty"],[1,"vc-breakdown__rows"],[1,"vc-breakdown__row"],[1,"vc-breakdown__label"],[1,"vc-breakdown__bar-track"],["aria-hidden","true",1,"vc-breakdown__bar"],[1,"vc-breakdown__value"]],template:function(n,o){n&1&&(T(0,"section",0),N(1,Zn,2,1,"h5",1),N(2,Jn,2,1,"p",2)(3,ti,3,0,"ul",3),S()),n&2&&(k("data-testid","renderer-node-breakdown"),p(),E(o.label()?1:-1),p(),E(o.bars().length===0?2:3))},styles:[".vc-breakdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-muted-color);margin:0 0 .5rem}.vc-breakdown__rows[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.vc-breakdown__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(4rem,.4fr) 1fr 3rem;align-items:center;gap:.5rem;font-size:.85rem}.vc-breakdown__label[_ngcontent-%COMP%]{color:var(--p-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-breakdown__bar-track[_ngcontent-%COMP%]{background:var(--p-surface-100);border-radius:var(--sm-radius-md);height:.625rem;overflow:hidden}.vc-breakdown__bar[_ngcontent-%COMP%]{display:block;height:100%;background:var(--p-primary-500)}.vc-breakdown__value[_ngcontent-%COMP%]{text-align:right;color:var(--p-text-color)}.vc-breakdown__empty[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function ni(e,i){if(e&1&&(T(0,"span",1),w(1),S()),e&2){let t=h(),n=h();je(n.hostClass()),p(),M(t.text)}}function ii(e,i){if(e&1&&de(0,"i",1),e&2){let t=h(),n=h();je(n.hostClass()+" "+t.cls)}}function oi(e,i){e&1&&N(0,ni,2,3,"span",0)(1,ii,1,2,"i",0),e&2&&E(i.kind==="emoji"?0:1)}function ze(e){if(!e)return null;let i=e.trim();if(i.length===0)return null;let t=i.codePointAt(0)??0;if(!(t>=65&&t<=90||t>=97&&t<=122))return{kind:"emoji",text:i};if(/^pi pi-[a-z0-9-]+$/.test(i))return{kind:"pi",cls:i};if(/^pi-[a-z0-9-]+$/.test(i))return{kind:"pi",cls:`pi ${i}`};if(/^fa-(?:solid|regular|brands) fa-[a-z0-9-]+$/.test(i))return{kind:"fa",cls:i};if(/^fa-[a-z0-9-]+$/.test(i)){let o=i.slice(3);return o==="solid"||o==="regular"||o==="brands"||o.includes("fa-")?null:{kind:"fa",cls:`fa-solid ${i}`}}return null}var oe=(()=>{class e{icon=P(void 0);hostClass=P("");resolved=d(()=>{let t=this.icon(),n=ze(t);return t&&!n&&console.warn(`[sm-icon] Invalid icon string "${t}". Expected emoji, pi-foo, pi pi-foo, fa-{solid|regular|brands} fa-foo, or fa-foo.`),n});static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-icon"]],inputs:{icon:[1,"icon"],hostClass:[1,"hostClass"]},decls:1,vars:1,consts:[["aria-hidden","true",3,"class"],["aria-hidden","true"]],template:function(n,o){if(n&1&&N(0,oi,2,1),n&2){let r;E((r=o.resolved())?0:-1,r)}},styles:["[_nghost-%COMP%] i[_ngcontent-%COMP%], [_nghost-%COMP%] span[_ngcontent-%COMP%]{font-size:inherit;line-height:inherit}[_nghost-%COMP%] i[_ngcontent-%COMP%]{transform:translateY(1px)}"],changeDetection:0})}return e})();function ri(e,i){if(e&1&&(I(0,"span",3),w(1),D()),e&2){let t=h();k("aria-label",t.ariaLabel()),p(),M(t.value())}}var Oe=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{value:0}:t});value=d(()=>this.typed().value);icon=d(()=>this.inputs().icon);severity=d(()=>this.typed().severity);resolvedTooltip=d(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=d(()=>this.inputs().label??"");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-counter"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-counter",3,"pTooltip"],[1,"vc-counter__icon"],[3,"icon"],[1,"vc-counter__value"]],template:function(n,o){n&1&&(I(0,"span",0)(1,"span",1),ee(2,"sm-icon",2),D(),N(3,ri,2,2,"span",3),D()),n&2&&(te("vc-counter--info",o.severity()==="info")("vc-counter--warn",o.severity()==="warn")("vc-counter--success",o.severity()==="success")("vc-counter--danger",o.severity()==="danger"),$("pTooltip",o.resolvedTooltip()),k("data-testid","renderer-node-counter"),p(2),$("icon",o.icon()),p(),E(o.value()>0?3:-1))},dependencies:[H,V,oe],styles:[".vc-counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1;color:var(--p-text-color)}.vc-counter__icon[_ngcontent-%COMP%]{font-size:.6rem;line-height:1;display:block}.vc-counter__value[_ngcontent-%COMP%]{font-weight:600;color:var(--p-text-color);line-height:1;display:block}.vc-counter--info[_ngcontent-%COMP%], .vc-counter--info[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-counter--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn);opacity:.85}.vc-counter--warn[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-counter--success[_ngcontent-%COMP%], .vc-counter--success[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-counter--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error);opacity:.85}.vc-counter--danger[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})}return e})();var ai=(e,i)=>i.key;function si(e,i){if(e&1&&(I(0,"h5",1),w(1),D()),e&2){let t=h();p(),M(t.label())}}function ci(e,i){if(e&1&&(I(0,"p",2),w(1),D()),e&2){let t=h();p(),M(t.emptyText())}}function li(e,i){if(e&1&&(I(0,"dt",4),w(1),D(),I(2,"dd"),w(3),D()),e&2){let t=i.$implicit,n=h(2);$("pTooltip",t.tooltip??""),p(),M(t.key),p(2),M(n.formatValue(t.value))}}function di(e,i){if(e&1&&(I(0,"dl",3),W(1,li,4,3,null,null,ai),D()),e&2){let t=h();p(),X(t.pairs())}}var Rt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return Z(t)?ae(t,"pairs")?t:{pairs:[]}:{pairs:[]}});pairs=d(()=>this.typed().pairs??[]);label=d(()=>this.inputs().label);emptyText=d(()=>this.inputs().emptyText??G.emptyDefault);formatValue(t){return t==null?"\xB7":typeof t=="boolean"?t?"true":"false":String(t)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-key-values"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-kv"],[1,"vc-kv__header"],[1,"vc-kv__empty"],[1,"vc-kv__list"],[3,"pTooltip"]],template:function(n,o){n&1&&(I(0,"section",0),N(1,si,2,1,"h5",1),N(2,ci,2,1,"p",2)(3,di,3,0,"dl",3),D()),n&2&&(k("data-testid","renderer-node-key-values"),p(),E(o.label()?1:-1),p(),E(o.pairs().length===0?2:3))},dependencies:[H,V],styles:[".vc-kv__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-muted-color);margin:0 0 .5rem}.vc-kv__list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(6rem,max-content) 1fr;gap:.25rem .75rem;margin:0;font-size:.85rem}.vc-kv__list[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-weight:500}.vc-kv__list[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{color:var(--p-text-color);margin:0;word-break:break-word}.vc-kv__empty[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var pi=(e,i)=>i.path;function ui(e,i){if(e&1&&(T(0,"h5",1),w(1),S()),e&2){let t=h();p(),M(t.label())}}function fi(e,i){if(e&1&&(T(0,"p",2),w(1),S()),e&2){let t=h();p(),M(t.emptyText())}}function mi(e,i){if(e&1&&(T(0,"span",5),w(1),S()),e&2){let t=h().$implicit;p(),M(t.kind)}}function gi(e,i){if(e&1){let t=he();T(0,"li")(1,"button",4),yt("click",function(){let o=me(t).$implicit,r=h(2);return ge(r.onOpenPath(o.path))}),N(2,mi,2,1,"span",5),T(3,"span",6),w(4),S()()()}if(e&2){let t=i.$implicit;p(2),E(t.kind?2:-1),p(2),M(t.label??t.path)}}function vi(e,i){if(e&1&&(T(0,"ul",3),W(1,gi,5,2,"li",null,pi),S()),e&2){let t=h();p(),X(t.links())}}var jt=(()=>{class e{openIntent=K(At);inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return Z(t)?ae(t,"links")?t:{links:[]}:{links:[]}});links=d(()=>this.typed().links??[]);label=d(()=>this.inputs().label);emptyText=d(()=>this.inputs().emptyText??G.emptyDefault);onOpenPath(t){this.openIntent.open(t)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-link-list"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-links"],[1,"vc-links__header"],[1,"vc-links__empty"],[1,"vc-links__list"],["type","button",1,"vc-links__btn",3,"click"],[1,"vc-links__kind"],[1,"vc-links__label"]],template:function(n,o){n&1&&(T(0,"section",0),N(1,ui,2,1,"h5",1),N(2,fi,2,1,"p",2)(3,vi,3,0,"ul",3),S()),n&2&&(k("data-testid","renderer-node-link-list"),p(),E(o.label()?1:-1),p(),E(o.links().length===0?2:3))},styles:[".vc-links__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-muted-color);margin:0 0 .5rem}.vc-links__list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.125rem;font-size:.85rem}.vc-links__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:0;padding:.25rem .5rem;border-radius:var(--sm-radius-md);color:var(--p-primary-color);cursor:pointer;text-align:left;width:100%}.vc-links__btn[_ngcontent-%COMP%]:hover{background:var(--p-surface-100)}.vc-links__kind[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-family:var(--sm-font-mono);font-size:.75rem}.vc-links__label[_ngcontent-%COMP%]{word-break:break-all}.vc-links__empty[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var Bt=(e,i)=>i.key;function hi(e,i){if(e&1&&(T(0,"h5",1),w(1),S()),e&2){let t=h();p(),M(t.label())}}function _i(e,i){if(e&1&&(T(0,"p",2),w(1),S()),e&2){let t=h();p(),M(t.emptyText())}}function yi(e,i){if(e&1&&(T(0,"th"),w(1),S()),e&2){let t=i.$implicit;p(),M(t.label)}}function xi(e,i){if(e&1&&de(0,"i",4),e&2){let t=h(4);k("aria-label",t.texts.boolTrue)}}function bi(e,i){if(e&1&&de(0,"i",5),e&2){let t=h(4);k("aria-label",t.texts.boolFalse)}}function Ci(e,i){}function wi(e,i){if(e&1&&w(0),e&2){let t=h().$implicit,n=h().$implicit,o=h(2);Ne(" ",o.cellText(n[t.key])," ")}}function Ti(e,i){if(e&1&&(T(0,"td"),N(1,xi,1,1,"i",4)(2,bi,1,1,"i",5)(3,Ci,0,0)(4,wi,1,1),S()),e&2){let t,n=i.$implicit,o=h().$implicit,r=h(2);p(),E((t=r.cellKind(o[n.key]))==="bool-true"?1:t==="bool-false"?2:t==="empty"?3:4)}}function Mi(e,i){if(e&1&&(T(0,"tr"),W(1,Ti,5,1,"td",null,Bt),S()),e&2){let t=h(2);p(),X(t.columns())}}function Ni(e,i){if(e&1&&(T(0,"table",3)(1,"thead")(2,"tr"),W(3,yi,2,1,"th",null,Bt),S()(),T(5,"tbody"),W(6,Mi,3,0,"tr",null,ht),S()()),e&2){let t=h();p(3),X(t.columns()),p(3),X(t.rows())}}var zt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return Z(t)?!ae(t,"columns")||!ae(t,"rows")?{columns:[],rows:[]}:t:{columns:[],rows:[]}});columns=d(()=>this.typed().columns??[]);rows=d(()=>this.typed().rows??[]);label=d(()=>this.inputs().label);emptyText=d(()=>this.inputs().emptyText??G.emptyDefault);texts=G.recordsCell;cellKind(t){return t==null?"empty":typeof t=="boolean"?t?"bool-true":"bool-false":"text"}cellText(t){return t==null?"":String(t)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-records"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-records"],[1,"vc-records__header"],[1,"vc-records__empty"],[1,"vc-records__table"],["role","img",1,"pi","pi-check","vc-records__bool","vc-records__bool--true"],["role","img",1,"pi","pi-minus","vc-records__bool","vc-records__bool--false"]],template:function(n,o){n&1&&(T(0,"section",0),N(1,hi,2,1,"h5",1),N(2,_i,2,1,"p",2)(3,Ni,8,0,"table",3),S()),n&2&&(k("data-testid","renderer-node-records"),p(),E(o.label()?1:-1),p(),E(o.rows().length===0?2:3))},styles:[".vc-records__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-muted-color);margin:0 0 .5rem}.vc-records__table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.85rem}.vc-records__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-200);color:var(--p-text-muted-color);font-weight:600}.vc-records__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-100);color:var(--p-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:16rem}.vc-records__empty[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-size:.85rem;margin:0}.vc-records__bool[_ngcontent-%COMP%]{font-size:.9rem;line-height:1}.vc-records__bool--true[_ngcontent-%COMP%]{color:var(--p-primary-color)}.vc-records__bool--false[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}"],changeDetection:0})}return e})();function Ei(e,i){if(e&1&&(T(0,"h5",1),w(1),S()),e&2){let t=h();p(),M(t.label())}}function Si(e,i){if(e&1&&(T(0,"p",2),w(1),S()),e&2){let t=h();p(),M(t.emptyText())}}function ki(e,i){if(e&1&&(T(0,"pre",3),w(1),S()),e&2){let t=h();p(),M(t.markdown())}}var Kt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return Z(t)?De(t,"markdown")?t:{markdown:""}:{markdown:""}});markdown=d(()=>this.typed().markdown??"");label=d(()=>this.inputs().label);emptyText=d(()=>this.inputs().emptyText??G.emptyDefault);static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-markdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-markdown"],[1,"vc-markdown__header"],[1,"vc-markdown__empty"],[1,"vc-markdown__body"]],template:function(n,o){n&1&&(T(0,"section",0),N(1,Ei,2,1,"h5",1),N(2,Si,2,1,"p",2)(3,ki,2,1,"pre",3),S()),n&2&&(k("data-testid","renderer-node-markdown"),p(),E(o.label()?1:-1),p(),E(o.markdown()?3:2))},styles:[".vc-markdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-muted-color);margin:0 0 .5rem}.vc-markdown__body[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-color);background:var(--p-surface-50);padding:.5rem;border-radius:var(--sm-radius-md);white-space:pre-wrap;word-break:break-word;margin:0;max-height:12rem;overflow:auto}.vc-markdown__empty[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var Ut={countAriaFallback:"count"};function Di(e,i){if(e&1&&(I(0,"span",1),ee(1,"sm-icon",4),D()),e&2){let t=h();p(),$("icon",t.icon())}}function Oi(e,i){if(e&1&&(I(0,"span",2),w(1),D()),e&2){let t=h();p(),M(t.label())}}function Ii(e,i){if(e&1&&(I(0,"span",3),w(1),D()),e&2){let t=h();k("aria-label",t.countAria()),p(),M(t.count())}}var Vt=(()=>{class e{inputs=P.required();texts=Ut;typed=d(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=d(()=>this.inputs().icon);label=d(()=>{let t=this.typed().label;return typeof t=="string"?t:""});count=d(()=>{let t=this.typed().count;return typeof t=="number"&&Number.isFinite(t)?t:null});severity=d(()=>this.typed().severity);hasTint=d(()=>!!this.severity()&&this.label().length>0);resolvedTooltip=d(()=>this.typed().tooltip??this.inputs().tooltip??"");countAria=d(()=>this.inputs().label??(this.label()||this.texts.countAriaFallback));static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-badge"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:15,consts:[["tooltipPosition","left",1,"vc-badge",3,"pTooltip"],[1,"vc-badge__icon"],[1,"vc-badge__label"],[1,"vc-badge__count"],[3,"icon"]],template:function(n,o){n&1&&(I(0,"span",0),N(1,Di,2,1,"span",1),N(2,Oi,2,1,"span",2),N(3,Ii,2,2,"span",3),D()),n&2&&(te("vc-badge--tinted",o.hasTint())("vc-badge--info",o.severity()==="info")("vc-badge--warn",o.severity()==="warn")("vc-badge--success",o.severity()==="success")("vc-badge--danger",o.severity()==="danger"),$("pTooltip",o.resolvedTooltip()),k("data-testid","renderer-node-badge"),p(),E(o.icon()?1:-1),p(),E(o.label()?2:-1),p(),E(o.count()!==null?3:-1))},dependencies:[H,V,oe],styles:[".vc-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1;color:var(--p-text-color)}.vc-badge__icon[_ngcontent-%COMP%]{font-size:.6rem;line-height:1;display:block}.vc-badge__label[_ngcontent-%COMP%]{font-weight:500;line-height:1;display:block}.vc-badge__count[_ngcontent-%COMP%]{font-weight:600;line-height:1;display:block}.vc-badge--info[_ngcontent-%COMP%]:not(.vc-badge--tinted){color:var(--sm-severity-info)}.vc-badge--warn[_ngcontent-%COMP%]:not(.vc-badge--tinted){color:var(--sm-severity-warn);opacity:.85}.vc-badge--success[_ngcontent-%COMP%]:not(.vc-badge--tinted){color:var(--sm-severity-success)}.vc-badge--danger[_ngcontent-%COMP%]:not(.vc-badge--tinted){color:var(--sm-severity-error);opacity:.85}.vc-badge--tinted[_ngcontent-%COMP%]{padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-badge--tinted.vc-badge--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info)}.vc-badge--tinted.vc-badge--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn)}.vc-badge--tinted.vc-badge--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success)}.vc-badge--tinted.vc-badge--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error)}"],changeDetection:0})}return e})();var Ht={errorPrefix:"Action failed:",errorFresh:"This node is fresh; nothing to do.",errorNotFound:"Node not found on the server.",errorReadonly:"Actions are not available in demo mode.",errorGeneric:"Could not run the action."};var Gt=(()=>{class e{dataSource=K(Nt);texts=Ht;inFlightSig=F(!1);errorSig=F(null);consentOpenSig=F(!1);inFlight=this.inFlightSig.asReadonly();error=this.errorSig.asReadonly();consentOpen=this.consentOpenSig.asReadonly();idle=d(()=>!this.inFlightSig());pending=null;async dispatch(t,n,o){this.inFlightSig()||(this.errorSig.set(null),await this.run(t,n,o,{}))}resolveConsent(t){this.consentOpenSig.set(!1);let n=this.pending;if(this.pending=null,!n||!t.accepted)return;let o=t.always?{confirm:!0,always:!0}:{confirm:!0};this.run(n.actionId,n.nodePath,n.input,o)}dismissError(){this.errorSig.set(null)}async run(t,n,o,r){this.inFlightSig.set(!0);try{await this.dataSource.dispatchAction(t,n,we({input:o},r))}catch(s){if(r.confirm!==!0&&s instanceof Be&&s.code==="confirm-required"&&Pi(s.details)){this.pending={actionId:t,nodePath:n,input:o},this.consentOpenSig.set(!0);return}this.errorSig.set(this.formatError(s))}finally{this.inFlightSig.set(!1)}}formatError(t){if(t instanceof Be)switch(t.code){case"sidecar-fresh":return`${this.texts.errorPrefix} ${this.texts.errorFresh}`;case"not-found":return`${this.texts.errorPrefix} ${this.texts.errorNotFound}`;case"demo-readonly":return`${this.texts.errorPrefix} ${this.texts.errorReadonly}`;default:return`${this.texts.errorPrefix} ${t.message||this.texts.errorGeneric}`}let n=t instanceof Error?t.message:String(t);return`${this.texts.errorPrefix} ${n||this.texts.errorGeneric}`}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pi(e){return typeof e!="object"||e===null?!1:e.key==="allowEditSmFiles"}var Yt={fallbackLabel:"Run action",dismissErrorAriaLabel:"Dismiss",promptDialogHeader:"Provide a value"};var Ai=()=>[import("./chunk-BOVJVOLH.js").then(e=>e.ActionPromptDialog)];function Fi(e,i){if(e&1){let t=he();I(0,"span",2)(1,"span",3),w(2),D(),I(3,"button",4),Me("click",function(){me(t);let o=h();return ge(o.dismissError())}),ee(4,"i",5),D()()}if(e&2){let t=h();p(2),M(i),p(),k("aria-label",t.texts.dismissErrorAriaLabel)}}function $i(e,i){if(e&1){let t=he();I(0,"sm-action-prompt-dialog",7),Me("confirmed",function(o){me(t);let r=h(2);return ge(r.onPromptConfirmed(o))})("closed",function(){me(t);let o=h(2);return ge(o.cancelPrompt())}),D()}if(e&2){let t=h(2);$("open",t.promptOpen())("descriptor",t.promptDescriptor())("headerText",t.dialogHeader())("busy",t.inFlight())}}function Li(e,i){if(e&1&&N(0,$i,1,4,"sm-action-prompt-dialog",6),e&2){let t,n=h();E((t=n.prompt())?0:-1,t)}}var Wt=(()=>{class e{inputs=P.required();texts=Yt;dispatcher=K(Gt);inFlightSig=F(!1);errorSig=F(null);promptOpenSig=F(!1);promptOpenedSig=F(!1);inFlight=this.inFlightSig.asReadonly();error=this.errorSig.asReadonly();promptOpen=this.promptOpenSig.asReadonly();promptOpened=this.promptOpenedSig.asReadonly();typed=d(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{actionId:""}:t});actionId=d(()=>this.typed().actionId||"");label=d(()=>this.typed().label??this.inputs().label??this.texts.fallbackLabel);icon=d(()=>{let t=ze(this.typed().icon??this.inputs().icon);return t&&t.kind!=="emoji"?t.cls:void 0});enabled=d(()=>this.typed().enabled!==!1);severity=d(()=>{switch(this.typed().severity){case"info":return"info";case"warn":return"warn";case"success":return"success";case"danger":return"danger";default:return}});tooltip=d(()=>this.enabled()?this.inputs().tooltip??"":this.typed().disabledReason??"");prompt=d(()=>{let t=this.typed().prompt;return!t||typeof t!="object"||!t.inputType||!t.paramKey?null:t});promptDescriptor=d(()=>{let t=this.prompt();return{inputType:t?.inputType??"",label:t?.label??"",options:t?.options,defaultValue:t?.defaultValue}});dialogHeader=d(()=>this.typed().label??this.texts.promptDialogHeader);run(){if(!(!this.enabled()||this.inFlightSig())){if(this.prompt()){this.openPrompt();return}this.dispatch(this.typed().input)}}openPrompt(){this.errorSig.set(null),this.promptOpenedSig.set(!0),this.promptOpenSig.set(!0)}onPromptConfirmed(t){let n=this.prompt();if(!n)return;this.promptOpenSig.set(!1);let o=st(we({},this.typed().input??{}),{[n.paramKey]:t});this.dispatch(o)}cancelPrompt(){this.promptOpenSig.set(!1)}async dispatch(t){let n=this.actionId(),o=this.inputs().nodePath;if(!(!n||!o)){this.errorSig.set(null),this.inFlightSig.set(!0);try{await this.dispatcher.dispatch(n,o,t);let r=this.dispatcher.error();r&&this.errorSig.set(r)}finally{this.inFlightSig.set(!1)}}}dismissError(){this.errorSig.set(null),this.dispatcher.dismissError()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-action-button"]],inputs:{inputs:[1,"inputs"]},decls:6,vars:9,consts:[["data-testid","renderer-node-action-button",1,"vc-action"],["size","small",3,"onClick","label","icon","severity","disabled","loading","pTooltip"],["role","alert","data-testid","renderer-node-action-button-error",1,"vc-action__error"],[1,"vc-action__error-text"],["type","button","data-testid","renderer-node-action-button-error-dismiss",1,"vc-action__error-dismiss",3,"click"],["aria-hidden","true",1,"pi","pi-times"],[3,"open","descriptor","headerText","busy"],[3,"confirmed","closed","open","descriptor","headerText","busy"]],template:function(n,o){if(n&1&&(I(0,"span",0)(1,"p-button",1),Me("onClick",function(){return o.run()}),D(),N(2,Fi,5,2,"span",2),D(),ft(3,Li,1,1),mt(4,3,Ai),vt()),n&2){let r;p(),$("label",o.label())("icon",o.icon()??"")("severity",o.severity())("disabled",!o.enabled()||o.inFlight())("loading",o.inFlight())("pTooltip",o.tooltip()),k("data-testid","action-"+o.actionId()),p(),E((r=o.error())?2:-1,r),p(2),gt(o.promptOpened())}},dependencies:[St,Et,H,V],styles:[".vc-action[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap}.vc-action__error[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;font-size:.8rem;color:var(--sm-severity-error);background:var(--sm-severity-error-bg);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-action__error-dismiss[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:0;line-height:1;color:var(--sm-severity-error);display:inline-flex}.vc-action__error-dismiss[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:.7rem}"],changeDetection:0})}return e})();var Ri=()=>[],Xt=(e,i)=>i.label;function ji(e,i){if(e&1&&(T(0,"h5",1),w(1),S()),e&2){let t=h();p(),M(t.label())}}function Bi(e,i){if(e&1&&(T(0,"p",2),w(1),S()),e&2){let t=h();p(),M(t.emptyText())}}function zi(e,i){if(e&1&&(T(0,"span",5),w(1),S()),e&2){let t=h().$implicit;p(),M(t.marker)}}function Ki(e,i){if(e&1&&(T(0,"span",5),w(1),S()),e&2){let t=h().$implicit;p(),M(t.marker)}}function Ui(e,i){if(e&1&&(T(0,"li",4),N(1,Ki,2,1,"span",5),T(2,"span",6),w(3),S()()),e&2){let t=i.$implicit;k("title",t.tooltip??""),p(),E(t.marker?1:-1),p(2),M(t.label)}}function Vi(e,i){if(e&1&&(T(0,"ul",7),W(1,Ui,4,3,"li",4,Xt),S()),e&2){let t=h().$implicit;p(),X(t.children)}}function Hi(e,i){if(e&1&&(T(0,"li",4),N(1,zi,2,1,"span",5),T(2,"span",6),w(3),S(),N(4,Vi,3,0,"ul",7),S()),e&2){let t=i.$implicit;k("title",t.tooltip??""),p(),E(t.marker?1:-1),p(2),M(t.label),p(),E(t.children&&t.children.length>0?4:-1)}}function Gi(e,i){if(e&1&&(T(0,"ul",3),W(1,Hi,5,4,"li",4,Xt),S()),e&2){let t=h();p(),X(t.root().children??bt(0,Ri))}}var qt=(()=>{class e{inputs=P.required();root=d(()=>{let t=this.inputs().payload;return Z(t)?De(t,"label")?t.children!==void 0&&!Array.isArray(t.children)?{label:""}:t:{label:""}:{label:""}});rootIsEmpty=d(()=>{let t=this.root();return!t.children||t.children.length===0});label=d(()=>this.inputs().label);emptyText=d(()=>this.inputs().emptyText??G.emptyDefault);static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-tree"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-tree"],[1,"vc-tree__header"],[1,"vc-tree__empty"],["role","tree",1,"vc-tree__list"],["role","treeitem"],["aria-hidden","true",1,"vc-tree__marker"],[1,"vc-tree__label"],["role","group",1,"vc-tree__list"]],template:function(n,o){n&1&&(T(0,"section",0),N(1,ji,2,1,"h5",1),N(2,Bi,2,1,"p",2)(3,Gi,3,1,"ul",3),S()),n&2&&(k("data-testid","renderer-node-tree"),p(),E(o.label()?1:-1),p(),E(o.rootIsEmpty()?2:3))},styles:[".vc-tree__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-text-muted-color);margin:0 0 .5rem}.vc-tree__list[_ngcontent-%COMP%]{list-style:none;padding-left:1rem;margin:0;font-size:.85rem}.vc-tree__list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:.125rem 0}.vc-tree__marker[_ngcontent-%COMP%]{margin-right:.25rem;opacity:.7}.vc-tree__label[_ngcontent-%COMP%]{color:var(--p-text-color)}.vc-tree__empty[_ngcontent-%COMP%]{color:var(--p-text-muted-color);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function Yi(e,i){if(e&1&&(I(0,"span",2),w(1),D()),e&2){let t=h();p(),M(t.formattedCount())}}var Qt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=d(()=>this.typed().icon??this.inputs().icon);severity=d(()=>this.typed().severity);count=d(()=>this.typed().count??null);resolvedTooltip=d(()=>this.typed().tooltip??this.inputs().tooltip??"");formattedCount=d(()=>{let t=this.count();return t===null?"":t>=99?"99+":String(t)});static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-alert"]],inputs:{inputs:[1,"inputs"]},decls:3,vars:12,consts:[[1,"vc-alert",3,"pTooltip"],["hostClass","vc-alert__icon",3,"icon"],[1,"vc-alert__count"]],template:function(n,o){n&1&&(I(0,"span",0),ee(1,"sm-icon",1),N(2,Yi,2,1,"span",2),D()),n&2&&(te("vc-alert--info",o.severity()==="info")("vc-alert--warn",o.severity()==="warn")("vc-alert--success",o.severity()==="success")("vc-alert--danger",o.severity()==="danger"),$("pTooltip",o.resolvedTooltip()),k("data-testid","renderer-node-alert"),p(),$("icon",o.icon()),p(),E(o.count()!==null?2:-1))},dependencies:[H,V,oe],styles:[".vc-alert[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.125rem;min-width:1.1rem;min-height:1.1rem;font-size:.85rem;color:var(--p-surface-700)}.vc-alert--info[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-alert--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-alert--success[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-alert--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})}return e})();var Zt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=d(()=>this.typed().icon??this.inputs().icon);severity=d(()=>this.typed().severity);resolvedTooltip=d(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=d(()=>this.inputs().label??"");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-icon"]],inputs:{inputs:[1,"inputs"]},decls:2,vars:12,consts:[[1,"vc-icon",3,"pTooltip"],["hostClass","vc-icon__glyph",3,"icon"]],template:function(n,o){n&1&&(I(0,"span",0),ee(1,"sm-icon",1),D()),n&2&&(te("vc-icon--info",o.severity()==="info")("vc-icon--warn",o.severity()==="warn")("vc-icon--success",o.severity()==="success")("vc-icon--danger",o.severity()==="danger"),$("pTooltip",o.resolvedTooltip()),k("aria-label",o.ariaLabel())("data-testid","renderer-node-icon"),p(),$("icon",o.icon()))},dependencies:[H,V,oe],styles:[".vc-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;line-height:1;width:22px;height:22px}.vc-icon__glyph[_ngcontent-%COMP%]{font-size:.7rem;line-height:1;display:block}.vc-icon--info[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-icon--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-icon--success[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-icon--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})}return e})();function Wi(e,i){if(e&1&&(I(0,"span",3),w(1),D()),e&2){let t=h();p(),M(t.label())}}var Jt=(()=>{class e{inputs=P.required();typed=d(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{value:""}:t});value=d(()=>String(this.typed().value??""));label=d(()=>this.typed().label??this.inputs().label);icon=d(()=>this.inputs().icon);severity=d(()=>this.typed().severity);resolvedTooltip=d(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-scope-stat"]],inputs:{inputs:[1,"inputs"]},decls:5,vars:13,consts:[[1,"vc-stat",3,"pTooltip"],["hostClass","vc-stat__icon",3,"icon"],[1,"vc-stat__value"],[1,"vc-stat__label"]],template:function(n,o){n&1&&(I(0,"span",0),ee(1,"sm-icon",1),I(2,"span",2),w(3),D(),N(4,Wi,2,1,"span",3),D()),n&2&&(te("vc-stat--info",o.severity()==="info")("vc-stat--warn",o.severity()==="warn")("vc-stat--success",o.severity()==="success")("vc-stat--danger",o.severity()==="danger"),$("pTooltip",o.resolvedTooltip()),k("data-testid","renderer-scope-stat"),p(),$("icon",o.icon()),p(2),M(o.value()),p(),E(o.label()?4:-1))},dependencies:[H,V,oe],styles:[".vc-stat[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:.75rem;font-size:.85rem;background:var(--p-surface-100);color:var(--p-surface-800)}.vc-stat__label[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.8rem}.vc-stat--info[_ngcontent-%COMP%]{background:var(--p-blue-100);color:var(--p-blue-700)}.vc-stat--warn[_ngcontent-%COMP%]{background:var(--p-yellow-100);color:var(--p-yellow-800)}.vc-stat--success[_ngcontent-%COMP%]{background:var(--p-green-100);color:var(--p-green-700)}.vc-stat--danger[_ngcontent-%COMP%]{background:var(--p-red-100);color:var(--p-red-700)}"],changeDetection:0})}return e})();var Ke={"card.title.right":Zt,"card.subtitle.left":Oe,"card.footer.left":Oe,"card.footer.right":Oe,"graph.node.alert":Qt,"inspector.header.badge":Vt,"inspector.action.button":Wt,"inspector.body.panel.breakdown":Lt,"inspector.body.panel.records":zt,"inspector.body.panel.tree":qt,"inspector.body.panel.key-values":Rt,"inspector.body.panel.link-list":jt,"inspector.body.panel.markdown":Kt,"topbar.nav.start":Jt};function en(e){return e in Ke}var Qa=new Set(["inspector.body.panel.breakdown","inspector.body.panel.records","inspector.body.panel.tree","inspector.body.panel.key-values","inspector.body.panel.link-list","inspector.body.panel.markdown"]),le={"topbar.nav.start":{id:"topbar.nav.start",cardinality:"multi",maxItems:3,order:"alphabetical",strategy:"append"},"inspector.header.badge":{id:"inspector.header.badge",cardinality:"multi",maxItems:4,order:"priority",strategy:"append",respectSeverity:!0},"inspector.action.button":{id:"inspector.action.button",cardinality:"multi",order:"priority",strategy:"append",respectSeverity:!0},"inspector.body.panel.breakdown":{id:"inspector.body.panel.breakdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.records":{id:"inspector.body.panel.records",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.tree":{id:"inspector.body.panel.tree",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.key-values":{id:"inspector.body.panel.key-values",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.link-list":{id:"inspector.body.panel.link-list",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.markdown":{id:"inspector.body.panel.markdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"card.footer.left":{id:"card.footer.left",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.footer.right":{id:"card.footer.right",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.subtitle.left":{id:"card.subtitle.left",cardinality:"multi",maxItems:3,order:"priority",strategy:"append",respectSeverity:!0},"card.title.right":{id:"card.title.right",cardinality:"multi",maxItems:2,order:"priority",strategy:"append",respectSeverity:!0},"graph.node.alert":{id:"graph.node.alert",cardinality:"multi",maxItems:1,order:"severity",strategy:"append",showOverflowBadge:!1}};function tn(e,i,t,n){let o=le[i].respectSeverity!==!1,r=e.payload;if(!o&&typeof r=="object"&&r!==null&&"severity"in r){let a=r,{severity:c}=a;r=ct(a,["severity"])}let s={pluginId:e.pluginId,extensionId:e.extensionId,contributionId:e.contributionId,nodePath:t,payload:r};return n?.label&&(s.label=n.label),n?.tooltip&&(s.tooltip=n.tooltip),n?.icon&&(s.icon=n.icon),n?.emptyText&&(s.emptyText=n.emptyText),s}var Xi=e=>({inputs:e}),qi=(e,i)=>i.qualifiedId;function Qi(e,i){e&1&&_t(0)}function Zi(e,i){if(e&1&&(I(0,"span",1),ut(1,Qi,1,0,"ng-container",3),D()),e&2){let t=i.$implicit,n=h(2);k("data-testid","contribution-"+t.qualifiedId.replaceAll("/","-")),p(),$("ngComponentOutlet",n.rendererFor(t.slot))("ngComponentOutletInputs",Ct(3,Xi,t.rendererInputs))}}function Ji(e,i){if(e&1&&(I(0,"span",2),w(1),D()),e&2){let t=h(2);$("pTooltip",t.overflowTooltip()),p(),Ne(" ",t.overflowBadge()," ")}}function eo(e,i){if(e&1&&(I(0,"span",0),W(1,Zi,2,5,"span",1,qi),N(3,Ji,2,2,"span",2),D()),e&2){let t=h();k("data-testid","view-contributions-host-"+t.testidSuffix()),p(),X(t.visible()),p(2),E(t.overflowCount()>0&&t.showOverflowBadge()?3:-1)}}var fs=(()=>{class e{slot=P.required();node=P(null);debugSlots=K(Ft);debugVisible=this.debugSlots.visible;testidSuffix=d(()=>this.slot().replaceAll(".","-"));registry=K($t);dispatched=d(()=>{let t=this.node();if(!t)return[];let n=t.contributions??[];if(n.length===0)return[];let o=this.slot(),r=n.filter(s=>s.slot===o).filter(s=>en(s.slot));return this.sortBySlotOrder(r,o).map(s=>({qualifiedId:`${s.pluginId}/${s.extensionId}/${s.contributionId}`,slot:s.slot,rendererInputs:this.buildInputs(s,o,t.path)}))});visible=d(()=>{let t=this.dispatched(),n=le[this.slot()].maxItems;return n===void 0?t:t.slice(0,n)});debugTitle=d(()=>{if(!this.debugVisible())return null;let t=this.dispatched();return t.length===0?null:t.map(n=>n.qualifiedId).join(`
2
- `)});overflowCount=d(()=>{let t=this.dispatched(),n=le[this.slot()].maxItems;return n===void 0?0:Math.max(0,t.length-n)});showOverflowBadge=d(()=>le[this.slot()].showOverflowBadge!==!1);overflowBadge=d(()=>G.overflowBadge(this.overflowCount()));overflowTooltip=d(()=>{let t=this.dispatched(),n=le[this.slot()].maxItems;if(n===void 0)return"";let o=t.slice(n).map(r=>r.qualifiedId).join(", ");return G.overflowTooltip(o)});rendererFor(t){return Ke[t]}buildInputs(t,n,o){let r=`${t.pluginId}/${t.extensionId}/${t.contributionId}`;return tn(t,n,o,this.registry.get(r))}sortBySlotOrder(t,n){let o=le[n].order;return o==="fifo"?t.slice():o==="priority"?t.slice().sort((r,s)=>{let a=this.priorityFor(r),c=this.priorityFor(s);return a!==c?a-c:Ue(r,s)}):o==="severity"?t.slice().sort((r,s)=>{let a=nn(r),c=nn(s);return a!==c?c-a:Ue(r,s)}):t.slice().sort(Ue)}priorityFor(t){let n=`${t.pluginId}/${t.extensionId}/${t.contributionId}`;return this.registry.get(n)?.priority??100}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=A({type:e,selectors:[["sm-view-contributions-host"]],hostVars:4,hostBindings:function(n,o){n&2&&(k("data-debug-slot",o.debugVisible()?o.slot():null)("title",o.debugTitle()),te("sm-debug-slot",o.debugVisible()))},inputs:{slot:[1,"slot"],node:[1,"node"]},decls:1,vars:1,consts:[[1,"vch"],[1,"vch__slot"],["data-testid","view-contributions-host-overflow",1,"vch__overflow",3,"pTooltip"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(n,o){n&1&&N(0,eo,4,2,"span",0),n&2&&E(o.visible().length>0||o.overflowCount()>0?0:-1)},dependencies:[wt,H,V],styles:["[_nghost-%COMP%]{display:contents}.vch[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.7rem;flex-wrap:wrap}.vch__slot[_ngcontent-%COMP%]{display:inline-flex}.vch__overflow[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:.75rem;background:var(--p-surface-100);color:var(--p-surface-600);font-size:.8rem;cursor:default}"],changeDetection:0})}return e})();function Ue(e,i){let t=`${e.pluginId}/${e.extensionId}/${e.contributionId}`,n=`${i.pluginId}/${i.extensionId}/${i.contributionId}`;return t<n?-1:t>n?1:0}function nn(e){let i=e.payload;if(typeof i!="object"||i===null)return 0;switch(i.severity){case"danger":return 4;case"warn":return 3;case"info":return 2;case"success":return 1;default:return 0}}var gs="https://bb9dce0fd2cb4ab27ac0475aa394aeb4@o4511475590037504.ingest.de.sentry.io/4511475725959248",Ve="phc_vMX3PcNeDsacWNg2hYEbKVXDijSWcjKFzabCkzU7RNEr",on="https://eu.i.posthog.com";var to="<HOME>",no=["server_name","user"],io=[/[A-Za-z]:[\\/]Users[\\/][^\\/\s:*?"<>|]+/g,/\/(?:home|Users)\/[^/\s:]+/g,/\/root(?=\/|\b)/g];function oo(e){let i=e;for(let t of io)i=i.replace(t,to);return i}function rn(e){let i=He(e);if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let t=i;for(let n of no)n in t&&delete t[n]}return i}function He(e){if(typeof e=="string")return oo(e);if(Array.isArray(e))return e.map(i=>He(i));if(e!==null&&typeof e=="object"){let i={};for(let[t,n]of Object.entries(e))i[t]=He(n);return i}return e}var an=!1,_e=null;async function xs(e){if(an||Ve===""||!e.consentEnabled||e.distinctId===null)return;let{default:i}=await import("./chunk-P3SNMV4X.js");i.init(Ve,{api_host:on,autocapture:!1,capture_pageview:!1,capture_pageleave:!1,disable_session_recording:!0,person_profiles:"identified_only",bootstrap:{distinctID:e.distinctId},before_send:t=>t===null?null:rn(t)}),_e=i,an=!0}function Ge(e,i={}){_e!==null&&_e.capture(e,i)}function sn(e){_e!==null&&_e.register(e)}var Ss=(()=>{class e{router=K(Ee);theme=K(kt);destroyRef=K(pt);constructor(){this.router.events.pipe(Mt(this.destroyRef)).subscribe(t=>{if(t instanceof Tt){let n=ro(t.urlAfterRedirects);n!==null&&Ge(`ui.view.${n}`)}}),Te(()=>this.syncTheme())}trackFeature(t){Ge(`ui.feature.${t}`)}syncTheme(){sn({theme_base:this.theme.resolved(),theme_extra:this.theme.extraTheme()??"none"})}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ro(e){return(e.split("?")[0]??"")==="/"?"workspace":null}function Ye(e,i){var t,n=1;e==null&&(e=0),i==null&&(i=0);function o(){var r,s=t.length,a,c=0,l=0;for(r=0;r<s;++r)a=t[r],c+=a.x,l+=a.y;for(c=(c/s-e)*n,l=(l/s-i)*n,r=0;r<s;++r)a=t[r],a.x-=c,a.y-=l}return o.initialize=function(r){t=r},o.x=function(r){return arguments.length?(e=+r,o):e},o.y=function(r){return arguments.length?(i=+r,o):i},o.strength=function(r){return arguments.length?(n=+r,o):n},o}function cn(e){let i=+this._x.call(null,e),t=+this._y.call(null,e);return ln(this.cover(i,t),i,t,e)}function ln(e,i,t,n){if(isNaN(i)||isNaN(t))return e;var o,r=e._root,s={data:n},a=e._x0,c=e._y0,l=e._x1,f=e._y1,y,_,g,C,m,u,v,x;if(!r)return e._root=s,e;for(;r.length;)if((m=i>=(y=(a+l)/2))?a=y:l=y,(u=t>=(_=(c+f)/2))?c=_:f=_,o=r,!(r=r[v=u<<1|m]))return o[v]=s,e;if(g=+e._x.call(null,r.data),C=+e._y.call(null,r.data),i===g&&t===C)return s.next=r,o?o[v]=s:e._root=s,e;do o=o?o[v]=new Array(4):e._root=new Array(4),(m=i>=(y=(a+l)/2))?a=y:l=y,(u=t>=(_=(c+f)/2))?c=_:f=_;while((v=u<<1|m)===(x=(C>=_)<<1|g>=y));return o[x]=r,o[v]=s,e}function dn(e){var i,t,n=e.length,o,r,s=new Array(n),a=new Array(n),c=1/0,l=1/0,f=-1/0,y=-1/0;for(t=0;t<n;++t)isNaN(o=+this._x.call(null,i=e[t]))||isNaN(r=+this._y.call(null,i))||(s[t]=o,a[t]=r,o<c&&(c=o),o>f&&(f=o),r<l&&(l=r),r>y&&(y=r));if(c>f||l>y)return this;for(this.cover(c,l).cover(f,y),t=0;t<n;++t)ln(this,s[t],a[t],e[t]);return this}function pn(e,i){if(isNaN(e=+e)||isNaN(i=+i))return this;var t=this._x0,n=this._y0,o=this._x1,r=this._y1;if(isNaN(t))o=(t=Math.floor(e))+1,r=(n=Math.floor(i))+1;else{for(var s=o-t||1,a=this._root,c,l;t>e||e>=o||n>i||i>=r;)switch(l=(i<n)<<1|e<t,c=new Array(4),c[l]=a,a=c,s*=2,l){case 0:o=t+s,r=n+s;break;case 1:t=o-s,r=n+s;break;case 2:o=t+s,n=r-s;break;case 3:t=o-s,n=r-s;break}this._root&&this._root.length&&(this._root=a)}return this._x0=t,this._y0=n,this._x1=o,this._y1=r,this}function un(){var e=[];return this.visit(function(i){if(!i.length)do e.push(i.data);while(i=i.next)}),e}function fn(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function U(e,i,t,n,o){this.node=e,this.x0=i,this.y0=t,this.x1=n,this.y1=o}function mn(e,i,t){var n,o=this._x0,r=this._y0,s,a,c,l,f=this._x1,y=this._y1,_=[],g=this._root,C,m;for(g&&_.push(new U(g,o,r,f,y)),t==null?t=1/0:(o=e-t,r=i-t,f=e+t,y=i+t,t*=t);C=_.pop();)if(!(!(g=C.node)||(s=C.x0)>f||(a=C.y0)>y||(c=C.x1)<o||(l=C.y1)<r))if(g.length){var u=(s+c)/2,v=(a+l)/2;_.push(new U(g[3],u,v,c,l),new U(g[2],s,v,u,l),new U(g[1],u,a,c,v),new U(g[0],s,a,u,v)),(m=(i>=v)<<1|e>=u)&&(C=_[_.length-1],_[_.length-1]=_[_.length-1-m],_[_.length-1-m]=C)}else{var x=e-+this._x.call(null,g.data),O=i-+this._y.call(null,g.data),b=x*x+O*O;if(b<t){var L=Math.sqrt(t=b);o=e-L,r=i-L,f=e+L,y=i+L,n=g.data}}return n}function gn(e){if(isNaN(f=+this._x.call(null,e))||isNaN(y=+this._y.call(null,e)))return this;var i,t=this._root,n,o,r,s=this._x0,a=this._y0,c=this._x1,l=this._y1,f,y,_,g,C,m,u,v;if(!t)return this;if(t.length)for(;;){if((C=f>=(_=(s+c)/2))?s=_:c=_,(m=y>=(g=(a+l)/2))?a=g:l=g,i=t,!(t=t[u=m<<1|C]))return this;if(!t.length)break;(i[u+1&3]||i[u+2&3]||i[u+3&3])&&(n=i,v=u)}for(;t.data!==e;)if(o=t,!(t=t.next))return this;return(r=t.next)&&delete t.next,o?(r?o.next=r:delete o.next,this):i?(r?i[u]=r:delete i[u],(t=i[0]||i[1]||i[2]||i[3])&&t===(i[3]||i[2]||i[1]||i[0])&&!t.length&&(n?n[v]=t:this._root=t),this):(this._root=r,this)}function vn(e){for(var i=0,t=e.length;i<t;++i)this.remove(e[i]);return this}function hn(){return this._root}function _n(){var e=0;return this.visit(function(i){if(!i.length)do++e;while(i=i.next)}),e}function yn(e){var i=[],t,n=this._root,o,r,s,a,c;for(n&&i.push(new U(n,this._x0,this._y0,this._x1,this._y1));t=i.pop();)if(!e(n=t.node,r=t.x0,s=t.y0,a=t.x1,c=t.y1)&&n.length){var l=(r+a)/2,f=(s+c)/2;(o=n[3])&&i.push(new U(o,l,f,a,c)),(o=n[2])&&i.push(new U(o,r,f,l,c)),(o=n[1])&&i.push(new U(o,l,s,a,f)),(o=n[0])&&i.push(new U(o,r,s,l,f))}return this}function xn(e){var i=[],t=[],n;for(this._root&&i.push(new U(this._root,this._x0,this._y0,this._x1,this._y1));n=i.pop();){var o=n.node;if(o.length){var r,s=n.x0,a=n.y0,c=n.x1,l=n.y1,f=(s+c)/2,y=(a+l)/2;(r=o[0])&&i.push(new U(r,s,a,f,y)),(r=o[1])&&i.push(new U(r,f,a,c,y)),(r=o[2])&&i.push(new U(r,s,y,f,l)),(r=o[3])&&i.push(new U(r,f,y,c,l))}t.push(n)}for(;n=t.pop();)e(n.node,n.x0,n.y0,n.x1,n.y1);return this}function bn(e){return e[0]}function Cn(e){return arguments.length?(this._x=e,this):this._x}function wn(e){return e[1]}function Tn(e){return arguments.length?(this._y=e,this):this._y}function ue(e,i,t){var n=new We(i??bn,t??wn,NaN,NaN,NaN,NaN);return e==null?n:n.addAll(e)}function We(e,i,t,n,o,r){this._x=e,this._y=i,this._x0=t,this._y0=n,this._x1=o,this._y1=r,this._root=void 0}function Mn(e){for(var i={data:e.data},t=i;e=e.next;)t=t.next={data:e.data};return i}var q=ue.prototype=We.prototype;q.copy=function(){var e=new We(this._x,this._y,this._x0,this._y0,this._x1,this._y1),i=this._root,t,n;if(!i)return e;if(!i.length)return e._root=Mn(i),e;for(t=[{source:i,target:e._root=new Array(4)}];i=t.pop();)for(var o=0;o<4;++o)(n=i.source[o])&&(n.length?t.push({source:n,target:i.target[o]=new Array(4)}):i.target[o]=Mn(n));return e};q.add=cn;q.addAll=dn;q.cover=pn;q.data=un;q.extent=fn;q.find=mn;q.remove=gn;q.removeAll=vn;q.root=hn;q.size=_n;q.visit=yn;q.visitAfter=xn;q.x=Cn;q.y=Tn;function j(e){return function(){return e}}function ie(e){return(e()-.5)*1e-6}function ao(e){return e.x+e.vx}function so(e){return e.y+e.vy}function Xe(e){var i,t,n,o=1,r=1;typeof e!="function"&&(e=j(e==null?1:+e));function s(){for(var l,f=i.length,y,_,g,C,m,u,v=0;v<r;++v)for(y=ue(i,ao,so).visitAfter(a),l=0;l<f;++l)_=i[l],m=t[_.index],u=m*m,g=_.x+_.vx,C=_.y+_.vy,y.visit(x);function x(O,b,L,Y,J){var B=O.data,ne=O.r,z=m+ne;if(B){if(B.index>_.index){var se=g-B.x-B.vx,ce=C-B.y-B.vy,re=se*se+ce*ce;re<z*z&&(se===0&&(se=ie(n),re+=se*se),ce===0&&(ce=ie(n),re+=ce*ce),re=(z-(re=Math.sqrt(re)))/re*o,_.vx+=(se*=re)*(z=(ne*=ne)/(u+ne)),_.vy+=(ce*=re)*z,B.vx-=se*(z=1-z),B.vy-=ce*z)}return}return b>g+z||Y<g-z||L>C+z||J<C-z}}function a(l){if(l.data)return l.r=t[l.data.index];for(var f=l.r=0;f<4;++f)l[f]&&l[f].r>l.r&&(l.r=l[f].r)}function c(){if(i){var l,f=i.length,y;for(t=new Array(f),l=0;l<f;++l)y=i[l],t[y.index]=+e(y,l,i)}}return s.initialize=function(l,f){i=l,n=f,c()},s.iterations=function(l){return arguments.length?(r=+l,s):r},s.strength=function(l){return arguments.length?(o=+l,s):o},s.radius=function(l){return arguments.length?(e=typeof l=="function"?l:j(+l),c(),s):e},s}function co(e){return e.index}function Nn(e,i){var t=e.get(i);if(!t)throw new Error("node not found: "+i);return t}function qe(e){var i=co,t=y,n,o=j(30),r,s,a,c,l,f=1;e==null&&(e=[]);function y(u){return 1/Math.min(a[u.source.index],a[u.target.index])}function _(u){for(var v=0,x=e.length;v<f;++v)for(var O=0,b,L,Y,J,B,ne,z;O<x;++O)b=e[O],L=b.source,Y=b.target,J=Y.x+Y.vx-L.x-L.vx||ie(l),B=Y.y+Y.vy-L.y-L.vy||ie(l),ne=Math.sqrt(J*J+B*B),ne=(ne-r[O])/ne*u*n[O],J*=ne,B*=ne,Y.vx-=J*(z=c[O]),Y.vy-=B*z,L.vx+=J*(z=1-z),L.vy+=B*z}function g(){if(s){var u,v=s.length,x=e.length,O=new Map(s.map((L,Y)=>[i(L,Y,s),L])),b;for(u=0,a=new Array(v);u<x;++u)b=e[u],b.index=u,typeof b.source!="object"&&(b.source=Nn(O,b.source)),typeof b.target!="object"&&(b.target=Nn(O,b.target)),a[b.source.index]=(a[b.source.index]||0)+1,a[b.target.index]=(a[b.target.index]||0)+1;for(u=0,c=new Array(x);u<x;++u)b=e[u],c[u]=a[b.source.index]/(a[b.source.index]+a[b.target.index]);n=new Array(x),C(),r=new Array(x),m()}}function C(){if(s)for(var u=0,v=e.length;u<v;++u)n[u]=+t(e[u],u,e)}function m(){if(s)for(var u=0,v=e.length;u<v;++u)r[u]=+o(e[u],u,e)}return _.initialize=function(u,v){s=u,l=v,g()},_.links=function(u){return arguments.length?(e=u,g(),_):e},_.id=function(u){return arguments.length?(i=u,_):i},_.iterations=function(u){return arguments.length?(f=+u,_):f},_.strength=function(u){return arguments.length?(t=typeof u=="function"?u:j(+u),C(),_):t},_.distance=function(u){return arguments.length?(o=typeof u=="function"?u:j(+u),m(),_):o},_}var lo={value:()=>{}};function Sn(){for(var e=0,i=arguments.length,t={},n;e<i;++e){if(!(n=arguments[e]+"")||n in t||/[\s.]/.test(n))throw new Error("illegal type: "+n);t[n]=[]}return new Ie(t)}function Ie(e){this._=e}function po(e,i){return e.trim().split(/^|\s+/).map(function(t){var n="",o=t.indexOf(".");if(o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}Ie.prototype=Sn.prototype={constructor:Ie,on:function(e,i){var t=this._,n=po(e+"",t),o,r=-1,s=n.length;if(arguments.length<2){for(;++r<s;)if((o=(e=n[r]).type)&&(o=uo(t[o],e.name)))return o;return}if(i!=null&&typeof i!="function")throw new Error("invalid callback: "+i);for(;++r<s;)if(o=(e=n[r]).type)t[o]=En(t[o],e.name,i);else if(i==null)for(o in t)t[o]=En(t[o],e.name,null);return this},copy:function(){var e={},i=this._;for(var t in i)e[t]=i[t].slice();return new Ie(e)},call:function(e,i){if((o=arguments.length-2)>0)for(var t=new Array(o),n=0,o,r;n<o;++n)t[n]=arguments[n+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(r=this._[e],n=0,o=r.length;n<o;++n)r[n].value.apply(i,t)},apply:function(e,i,t){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var n=this._[e],o=0,r=n.length;o<r;++o)n[o].value.apply(i,t)}};function uo(e,i){for(var t=0,n=e.length,o;t<n;++t)if((o=e[t]).name===i)return o.value}function En(e,i,t){for(var n=0,o=e.length;n<o;++n)if(e[n].name===i){e[n]=lo,e=e.slice(0,n).concat(e.slice(n+1));break}return t!=null&&e.push({name:i,value:t}),e}var Qe=Sn;var ve=0,xe=0,ye=0,Dn=1e3,Pe,be,Ae=0,fe=0,Fe=0,Ce=typeof performance=="object"&&performance.now?performance:Date,On=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function et(){return fe||(On(fo),fe=Ce.now()+Fe)}function fo(){fe=0}function Ze(){this._call=this._time=this._next=null}Ze.prototype=$e.prototype={constructor:Ze,restart:function(e,i,t){if(typeof e!="function")throw new TypeError("callback is not a function");t=(t==null?et():+t)+(i==null?0:+i),!this._next&&be!==this&&(be?be._next=this:Pe=this,be=this),this._call=e,this._time=t,Je()},stop:function(){this._call&&(this._call=null,this._time=1/0,Je())}};function $e(e,i,t){var n=new Ze;return n.restart(e,i,t),n}function In(){et(),++ve;for(var e=Pe,i;e;)(i=fe-e._time)>=0&&e._call.call(void 0,i),e=e._next;--ve}function kn(){fe=(Ae=Ce.now())+Fe,ve=xe=0;try{In()}finally{ve=0,go(),fe=0}}function mo(){var e=Ce.now(),i=e-Ae;i>Dn&&(Fe-=i,Ae=e)}function go(){for(var e,i=Pe,t,n=1/0;i;)i._call?(n>i._time&&(n=i._time),e=i,i=i._next):(t=i._next,i._next=null,i=e?e._next=t:Pe=t);be=e,Je(n)}function Je(e){if(!ve){xe&&(xe=clearTimeout(xe));var i=e-fe;i>24?(e<1/0&&(xe=setTimeout(kn,e-Ce.now()-Fe)),ye&&(ye=clearInterval(ye))):(ye||(Ae=Ce.now(),ye=setInterval(mo,Dn)),ve=1,On(kn))}}function Pn(){let e=1;return()=>(e=(1664525*e+1013904223)%4294967296)/4294967296}function An(e){return e.x}function Fn(e){return e.y}var vo=10,ho=Math.PI*(3-Math.sqrt(5));function tt(e){var i,t=1,n=.001,o=1-Math.pow(n,1/300),r=0,s=.6,a=new Map,c=$e(y),l=Qe("tick","end"),f=Pn();e==null&&(e=[]);function y(){_(),l.call("tick",i),t<n&&(c.stop(),l.call("end",i))}function _(m){var u,v=e.length,x;m===void 0&&(m=1);for(var O=0;O<m;++O)for(t+=(r-t)*o,a.forEach(function(b){b(t)}),u=0;u<v;++u)x=e[u],x.fx==null?x.x+=x.vx*=s:(x.x=x.fx,x.vx=0),x.fy==null?x.y+=x.vy*=s:(x.y=x.fy,x.vy=0);return i}function g(){for(var m=0,u=e.length,v;m<u;++m){if(v=e[m],v.index=m,v.fx!=null&&(v.x=v.fx),v.fy!=null&&(v.y=v.fy),isNaN(v.x)||isNaN(v.y)){var x=vo*Math.sqrt(.5+m),O=m*ho;v.x=x*Math.cos(O),v.y=x*Math.sin(O)}(isNaN(v.vx)||isNaN(v.vy))&&(v.vx=v.vy=0)}}function C(m){return m.initialize&&m.initialize(e,f),m}return g(),i={tick:_,restart:function(){return c.restart(y),i},stop:function(){return c.stop(),i},nodes:function(m){return arguments.length?(e=m,g(),a.forEach(C),i):e},alpha:function(m){return arguments.length?(t=+m,i):t},alphaMin:function(m){return arguments.length?(n=+m,i):n},alphaDecay:function(m){return arguments.length?(o=+m,i):+o},alphaTarget:function(m){return arguments.length?(r=+m,i):r},velocityDecay:function(m){return arguments.length?(s=1-m,i):1-s},randomSource:function(m){return arguments.length?(f=m,a.forEach(C),i):f},force:function(m,u){return arguments.length>1?(u==null?a.delete(m):a.set(m,C(u)),i):a.get(m)},find:function(m,u,v){var x=0,O=e.length,b,L,Y,J,B;for(v==null?v=1/0:v*=v,x=0;x<O;++x)J=e[x],b=m-J.x,L=u-J.y,Y=b*b+L*L,Y<v&&(B=J,v=Y);return B},on:function(m,u){return arguments.length>1?(l.on(m,u),i):l.on(m)}}}function nt(){var e,i,t,n,o=j(-30),r,s=1,a=1/0,c=.81;function l(g){var C,m=e.length,u=ue(e,An,Fn).visitAfter(y);for(n=g,C=0;C<m;++C)i=e[C],u.visit(_)}function f(){if(e){var g,C=e.length,m;for(r=new Array(C),g=0;g<C;++g)m=e[g],r[m.index]=+o(m,g,e)}}function y(g){var C=0,m,u,v=0,x,O,b;if(g.length){for(x=O=b=0;b<4;++b)(m=g[b])&&(u=Math.abs(m.value))&&(C+=m.value,v+=u,x+=u*m.x,O+=u*m.y);g.x=x/v,g.y=O/v}else{m=g,m.x=m.data.x,m.y=m.data.y;do C+=r[m.data.index];while(m=m.next)}g.value=C}function _(g,C,m,u){if(!g.value)return!0;var v=g.x-i.x,x=g.y-i.y,O=u-C,b=v*v+x*x;if(O*O/c<b)return b<a&&(v===0&&(v=ie(t),b+=v*v),x===0&&(x=ie(t),b+=x*x),b<s&&(b=Math.sqrt(s*b)),i.vx+=v*g.value*n/b,i.vy+=x*g.value*n/b),!0;if(g.length||b>=a)return;(g.data!==i||g.next)&&(v===0&&(v=ie(t),b+=v*v),x===0&&(x=ie(t),b+=x*x),b<s&&(b=Math.sqrt(s*b)));do g.data!==i&&(O=r[g.data.index]*n/b,i.vx+=v*O,i.vy+=x*O);while(g=g.next)}return l.initialize=function(g,C){e=g,t=C,f()},l.strength=function(g){return arguments.length?(o=typeof g=="function"?g:j(+g),f(),l):o},l.distanceMin=function(g){return arguments.length?(s=g*g,l):Math.sqrt(s)},l.distanceMax=function(g){return arguments.length?(a=g*g,l):Math.sqrt(a)},l.theta=function(g){return arguments.length?(c=g*g,l):Math.sqrt(c)},l}function it(e){var i=j(.1),t,n,o;typeof e!="function"&&(e=j(e==null?0:+e));function r(a){for(var c=0,l=t.length,f;c<l;++c)f=t[c],f.vx+=(o[c]-f.x)*n[c]*a}function s(){if(t){var a,c=t.length;for(n=new Array(c),o=new Array(c),a=0;a<c;++a)n[a]=isNaN(o[a]=+e(t[a],a,t))?0:+i(t[a],a,t)}}return r.initialize=function(a){t=a,s()},r.strength=function(a){return arguments.length?(i=typeof a=="function"?a:j(+a),s(),r):i},r.x=function(a){return arguments.length?(e=typeof a=="function"?a:j(+a),s(),r):e},r}function ot(e){var i=j(.1),t,n,o;typeof e!="function"&&(e=j(e==null?0:+e));function r(a){for(var c=0,l=t.length,f;c<l;++c)f=t[c],f.vy+=(o[c]-f.y)*n[c]*a}function s(){if(t){var a,c=t.length;for(n=new Array(c),o=new Array(c),a=0;a<c;++a)n[a]=isNaN(o[a]=+e(t[a],a,t))?0:+i(t[a],a,t)}}return r.initialize=function(a){t=a,s()},r.strength=function(a){return arguments.length?(i=typeof a=="function"?a:j(+a),s(),r):i},r.y=function(a){return arguments.length?(e=typeof a=="function"?a:j(+a),s(),r):e},r}var _o=["network-simplex","longest-path","force"];function Hc(e){return e!=="force"}var yo=["TOP_BOTTOM","BOTTOM_TOP","LEFT_RIGHT","RIGHT_LEFT"];var $n={compact:{nodeGap:40,layerGap:56},normal:{nodeGap:64,layerGap:96},spacious:{nodeGap:96,layerGap:144}},Gc="network-simplex",Yc="LEFT_RIGHT",Wc="normal";function Xc(e){return typeof e=="string"&&_o.includes(e)}function qc(e){return typeof e=="string"&&yo.includes(e)}var rt=260,Ln=120;function Rn(e){return e.resolvedTarget??e.target}function nl(e,i){let t=i?.links??[],n=new Set(e.map(f=>f.path)),o=new Set,r=0,s=0,a=0,c=0,l=0;for(let f of t){if(!n.has(f.source)){r++;continue}let y=Rn(f);if(!n.has(y)){s++;continue}if(f.source===y){a++;continue}let _=jn(f.kind,f.source,y);if(o.has(_)){c++;continue}o.add(_),l++}return{raw:t.length,drawn:l,brokenSource:r,brokenTarget:s,selfLoops:a,duplicates:c}}function il(e,i){let t=e.map(o=>o.path).sort(),n=i.map(o=>o.id).sort();return`${t.length}|${t.join(",")}|${n.length}|${n.join(",")}`}function ol(e,i){let t=new Set(e.map(c=>c.path)),n=new Map,o=i?.links??[];for(let c of o){if(!t.has(c.source))continue;let l=Rn(c);if(!t.has(l)||c.source===l)continue;let f=jn(c.kind,c.source,l),y=typeof c.confidence=="number"?c.confidence:.6,_=n.get(f);_?y>_.confidence&&(_.confidence=y):n.set(f,{id:f,from:c.source,to:l,kind:c.kind,confidence:y})}let r=[...n.values()],s=new Map;for(let c of e)s.set(c.path,c);let a=new Map;for(let c of i?.nodes??[])a.set(c.path,c);return{nodesByPath:s,apiNodesByPath:a,edges:r}}async function rl(e,i,t,n){let o={width:rt,height:Ln},r=i.map(f=>({id:f.path,size:o})),s=t.map(f=>({source:f.from,target:f.to})),a=$n[n.spacing],c=await e.calculate(r,s,{algorithm:n.algorithm,direction:n.direction,nodeGap:a.nodeGap,layerGap:a.layerGap}),l=new Map;for(let{id:f,position:y}of c.nodes)l.set(f,{x:y.x,y:y.y});return l}function al(e,i){let t=e.map(a=>({id:a.path})),n=i.map(a=>({source:a.from,target:a.to})),o=tt(t).force("link",qe(n).id(a=>a.id).distance(90).strength(1)).force("charge",nt().strength(-200)).force("center",Ye(0,0)).force("x",it(0).strength(.06)).force("y",ot(0).strength(.06)).force("collide",Xe(rt/2+12)).stop(),r=400;for(let a=0;a<r;a++)o.tick();let s=new Map;for(let a of t)s.set(a.id,{x:(a.x??0)-rt/2,y:(a.y??0)-Ln/2});return s}function sl(e,i,t,n=null){let o=e.edges.filter(c=>i.has(c.from)&&i.has(c.to)&&(n===null||n.has(c.kind))),r=new Map,s=new Map;for(let c of o)r.set(c.from,(r.get(c.from)??0)+1),s.set(c.to,(s.get(c.to)??0)+1);let a=[];for(let c of i){let l=e.nodesByPath.get(c);if(!l)continue;let f=e.apiNodesByPath.get(c),y=t.get(c),_=e.positions.get(c)??{x:0,y:0},g=y?{x:y.x,y:y.y}:_;a.push({id:c,path:c,view:l,kind:l.kind,position:g,stats:{linksIn:s.get(c)??0,linksOut:r.get(c)??0,bytesTotal:f?.bytes.total,tokensTotal:f?.tokens?.total,externalRefsCount:f?.externalRefsCount},summary:xo(l)})}return{nodes:a,edges:o}}function xo(e){let i={injectionDetected:!1,contentQuality:"clean"},t=(e.frontmatter.description??e.frontmatter.name??"").trim();return{kind:"markdown",confidence:.6,safety:i,whatItCovers:t||`${e.kind} entry`,topics:[],keyFacts:[]}}function jn(e,i,t){return`${e}:${i}::${t}`}var Bn={invalidHex:e=>`deriveTints: invalid hex color "${e}" (expected #RRGGBB)`};function Le(e,i,t){return[Math.round(e[0]+(i[0]-e[0])*t),Math.round(e[1]+(i[1]-e[1])*t),Math.round(e[2]+(i[2]-e[2])*t)]}function bo(e){let i=/^#([0-9a-f]{6})$/i.exec(e);if(!i)throw new Error(Bn.invalidHex(e));let t=parseInt(i[1],16);return[t>>16&255,t>>8&255,t&255]}function Re([e,i,t]){let n=o=>Math.max(0,Math.min(255,o)).toString(16).padStart(2,"0");return`#${n(e)}${n(i)}${n(t)}`}var zn=[255,255,255],Kn=[0,0,0];function at(e,i){let t=bo(e);return i==="light"?{bg:Re(Le(t,zn,.85)),fg:Re(Le(t,Kn,.5))}:{bg:Re(Le(t,Kn,.7)),fg:Re(Le(t,zn,.6))}}var Co=/^[a-zA-Z][a-zA-Z0-9_-]{0,63}$/,Un=/^#[0-9a-f]{6}$/i,vl=(()=>{class e{doc=K(dt);_entries=F([]);kinds=this._entries.asReadonly();index=d(()=>{let t=new Map;for(let n of this._entries())t.set(n.name,n);return t});ingest(t){if(!t)return;let n=[];for(let[r,s]of Object.entries(t)){if(!Co.test(r))continue;let a=s.providers[s.primaryProviderId];if(!a)continue;let c={name:r,primaryProviderId:s.primaryProviderId,providers:s.providers,label:a.label,color:a.color};a.colorDark!==void 0&&(c.colorDark=a.colorDark),a.emoji!==void 0&&(c.emoji=a.emoji),a.icon!==void 0&&(c.icon=a.icon),n.push(c)}let o=this._entries();To(o,n)||(this._entries.set(n),this.applyCssVars())}lookup(t){return this.index().get(t)}labelOf(t){return this.lookup(t)?.label??t}colorOf(t,n="light"){let o=this.lookup(t);return o?n==="dark"?o.colorDark??o.color:o.color:"#9ca3af"}iconOf(t){return this.lookup(t)?.icon}emojiOf(t){return this.lookup(t)?.emoji}providersOf(t){return this.lookup(t)?.providers}applyCssVars(){if(!this.doc.head)return;let t=wo(this.doc),n=[],o=[];for(let r of this._entries()){if(!Un.test(r.color))continue;let s=r.colorDark??r.color;if(Un.test(s))try{let a=at(r.color,"light"),c=at(s,"dark");n.push(`--sm-kind-${r.name}: ${r.color};`),n.push(`--sm-kind-${r.name}-bg: ${a.bg};`),n.push(`--sm-kind-${r.name}-fg: ${a.fg};`),o.push(`--sm-kind-${r.name}: ${s};`),o.push(`--sm-kind-${r.name}-bg: ${c.bg};`),o.push(`--sm-kind-${r.name}-fg: ${c.fg};`)}catch{continue}}t.textContent=`:root { ${n.join(" ")} } .app-dark { ${o.join(" ")} }`}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vn="sm-kind-vars";function wo(e){let i=e.getElementById(Vn);return i||(i=e.createElement("style"),i.id=Vn,e.head.appendChild(i)),i}function To(e,i){if(e.length!==i.length)return!1;for(let t=0;t<e.length;t++){let n=e[t],o=i[t];if(n.name!==o.name||n.primaryProviderId!==o.primaryProviderId||JSON.stringify(n.providers)!==JSON.stringify(o.providers))return!1}return!0}export{Eo as a,So as b,ko as c,Ot as d,Do as e,Oo as f,Io as g,Po as h,Ao as i,It as j,jo as k,At as l,_o as m,Hc as n,yo as o,Gc as p,Yc as q,Wc as r,Xc as s,qc as t,vl as u,Ft as v,$t as w,oe as x,Gt as y,Ke as z,en as A,Qa as B,tn as C,fs as D,gs as E,rn as F,xs as G,sn as H,Ss as I,nl as J,il as K,ol as L,rl as M,al as N,sl as O};
@@ -1,7 +0,0 @@
1
- var ft=Object.defineProperty,ve=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,be=(e,t,n)=>t in e?ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mt=(e,t)=>{for(var n in t||(t={}))pt.call(t,n)&&be(e,n,t[n]);if(ve)for(var n of ve(t))ht.call(t,n)&&be(e,n,t[n]);return e};function V(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function oe(e,t,n=new WeakSet){if(e===t)return!0;if(!e||!t||typeof e!="object"||typeof t!="object"||n.has(e)||n.has(t))return!1;n.add(e).add(t);let r=Array.isArray(e),i=Array.isArray(t),l,o,s;if(r&&i){if(o=e.length,o!=t.length)return!1;for(l=o;l--!==0;)if(!oe(e[l],t[l],n))return!1;return!0}if(r!=i)return!1;let a=e instanceof Date,u=t instanceof Date;if(a!=u)return!1;if(a&&u)return e.getTime()==t.getTime();let d=e instanceof RegExp,p=t instanceof RegExp;if(d!=p)return!1;if(d&&p)return e.toString()==t.toString();let c=Object.keys(e);if(o=c.length,o!==Object.keys(t).length)return!1;for(l=o;l--!==0;)if(!Object.prototype.hasOwnProperty.call(t,c[l]))return!1;for(l=o;l--!==0;)if(s=c[l],!oe(e[s],t[s],n))return!1;return!0}function gt(e,t){return oe(e,t)}function xe(e){return typeof e=="function"&&"call"in e&&"apply"in e}function h(e){return!V(e)}function Se(e,t){if(!e||!t)return null;try{let n=e[t];if(h(n))return n}catch{}if(Object.keys(e).length){if(xe(t))return t(e);if(t.indexOf(".")===-1)return e[t];{let n=t.split("."),r=e;for(let i=0,l=n.length;i<l;++i){if(r==null)return null;r=r[n[i]]}return r}}return null}function yt(e,t,n){return n?Se(e,n)===Se(t,n):gt(e,t)}function Bt(e,t){if(e!=null&&t&&t.length){for(let n of t)if(yt(e,n))return!0}return!1}function C(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function Ce(e={},t={}){let n=mt({},e);return Object.keys(t).forEach(r=>{let i=r;C(t[i])&&i in e&&C(e[i])?n[i]=Ce(e[i],t[i]):n[i]=t[i]}),n}function N(...e){return e.reduce((t,n,r)=>r===0?n:Ce(t,n),{})}function It(e,t){let n=-1;if(h(e))try{n=e.findLastIndex(t)}catch{n=e.lastIndexOf([...e].reverse().find(t))}return n}function $(e,...t){return xe(e)?e(...t):e}function O(e,t=!0){return typeof e=="string"&&(t||e!=="")}function we(e){return O(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function le(e,t="",n={}){let r=we(t).split("."),i=r.shift();if(i){if(C(e)){let l=Object.keys(e).find(o=>we(o)===i)||"";return le($(e[l],n),r.join("."),n)}return}return $(e,n)}function Ee(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function Mt(e){return e instanceof Date}function ne(e){return h(e)&&!isNaN(e)}function Ht(e=""){return h(e)&&e.length===1&&!!e.match(/\S| /)}function w(e,t){if(t){let n=t.test(e);return t.lastIndex=0,n}return!1}function se(...e){return N(...e)}function ae(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function Ut(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){let t={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in t)e=e.replace(t[n],n)}return e}function re(e){return O(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function Kt(e){return e==="auto"?0:typeof e=="number"?e:Number(e.replace(/[^\d.]/g,"").replace(",","."))*1e3}function $e(){let e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){let r=e.get(t);r&&r.forEach(i=>{i(n)})},clear(){e.clear()}}}function vt(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function Oe(e,t){if(e&&t){let n=r=>{vt(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function bt(){return window.innerWidth-document.documentElement.offsetWidth}function Xt(e){typeof e=="string"?Oe(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,bt()+"px"),Oe(document.body,e?.className||"p-overflow-hidden"))}function ke(e,t){if(e&&t){let n=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function Zt(e){typeof e=="string"?ke(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),ke(document.body,e?.className||"p-overflow-hidden"))}function ue(e){for(let t of document?.styleSheets)try{for(let n of t?.cssRules)for(let r of n?.style)if(e.test(r))return{name:r,value:n.style.getPropertyValue(r).trim()}}catch{}return null}function Ae(e){let t={width:0,height:0};if(e){let[n,r]=[e.style.visibility,e.style.display],i=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",t.width=i.width||e.offsetWidth,t.height=i.height||e.offsetHeight,e.style.display=r,e.style.visibility=n}return t}function Ne(){let e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0],i=e.innerWidth||n.clientWidth||r.clientWidth,l=e.innerHeight||n.clientHeight||r.clientHeight;return{width:i,height:l}}function de(e){return e?Math.abs(e.scrollLeft):0}function St(){let e=document.documentElement;return(window.pageXOffset||de(e))-(e.clientLeft||0)}function wt(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function xt(e){return e?getComputedStyle(e).direction==="rtl":!1}function Gt(e,t,n=!0){var r,i,l,o;if(e){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Ae(e),a=s.height,u=s.width,d=t.offsetHeight,p=t.offsetWidth,c=t.getBoundingClientRect(),f=wt(),g=St(),v=Ne(),y,b,S="top";c.top+d+a>v.height?(y=c.top+f-a,S="bottom",y<0&&(y=f)):y=d+c.top+f,c.left+u>v.width?b=Math.max(0,c.left+g+p-u):b=c.left+g,xt(e)?e.style.insetInlineEnd=b+"px":e.style.insetInlineStart=b+"px",e.style.top=y+"px",e.style.transformOrigin=S,n&&(e.style.marginTop=S==="bottom"?`calc(${(i=(r=ue(/-anchor-gutter$/))==null?void 0:r.value)!=null?i:"2px"} * -1)`:(o=(l=ue(/-anchor-gutter$/))==null?void 0:l.value)!=null?o:"")}}function Yt(e,t){e&&(typeof t=="string"?e.style.cssText=t:Object.entries(t||{}).forEach(([n,r])=>e.style[n]=r))}function Jt(e,t){if(e instanceof HTMLElement){let n=e.offsetWidth;if(t){let r=getComputedStyle(e);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}return 0}function Qt(e,t,n=!0,r=void 0){var i;if(e){let l=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Ae(e),o=t.offsetHeight,s=t.getBoundingClientRect(),a=Ne(),u,d,p=r??"top";if(!r&&s.top+o+l.height>a.height?(u=-1*l.height,p="bottom",s.top+u<0&&(u=-1*s.top)):u=o,l.width>a.width?d=s.left*-1:s.left+l.width>a.width?d=(s.left+l.width-a.width)*-1:d=0,e.style.top=u+"px",e.style.insetInlineStart=d+"px",e.style.transformOrigin=p,n){let c=(i=ue(/-anchor-gutter$/))==null?void 0:i.value;e.style.marginTop=p==="bottom"?`calc(${c??"2px"} * -1)`:c??""}}}function Pe(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function Ct(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&Pe(e))}function W(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function je(e){let t=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?t=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?t=e.el.nativeElement:t=e.el)),W(t)?t:void 0}function Et(e,t){var n,r,i;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return t?.nextElementSibling;case"@prev":return t?.previousElementSibling;case"@first":return t?.firstElementChild;case"@last":return t?.lastElementChild;case"@child":return(n=t?.children)==null?void 0:n[0];case"@parent":return t?.parentElement;case"@grandparent":return(r=t?.parentElement)==null?void 0:r.parentElement;default:{if(typeof e=="string"){let s=e.match(/^@child\[(\d+)]/);return s?((i=t?.children)==null?void 0:i[parseInt(s[1],10)])||null:document.querySelector(e)||null}let l=(s=>typeof s=="function"&&"call"in s&&"apply"in s)(e)?e():e,o=je(l);return Ct(o)?o:l?.nodeType===9?l:void 0}}}function en(e,t){let n=Et(e,t);if(n)n.appendChild(t);else throw new Error("Cannot append "+t+" to "+e)}function Te(e,t={}){if(W(e)){let n=(r,i)=>{var l,o;let s=(l=e?.$attrs)!=null&&l[r]?[(o=e?.$attrs)==null?void 0:o[r]]:[];return[i].flat().reduce((a,u)=>{if(u!=null){let d=typeof u;if(d==="string"||d==="number")a.push(u);else if(d==="object"){let p=Array.isArray(u)?n(r,u):Object.entries(u).map(([c,f])=>r==="style"&&(f||f===0)?`${c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?c:void 0);a=p.length?a.concat(p.filter(c=>!!c)):a}}return a},s)};Object.entries(t).forEach(([r,i])=>{if(i!=null){let l=r.match(/^on(.+)/);l?e.addEventListener(l[1].toLowerCase(),i):r==="p-bind"||r==="pBind"?Te(e,i):(i=r==="class"?[...new Set(n("class",i))].join(" ").trim():r==="style"?n("style",i).join(";").trim():i,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=i),e.setAttribute(r,i))}})}}function tn(e,t={},...n){if(e){let r=document.createElement(e);return Te(r,t),r.append(...n),r}}function Le(e,t={}){return e?`<style${Object.entries(t).reduce((n,[r,i])=>n+` ${r}="${i}"`,"")}>${e}</style>`:""}function nn(e,t){if(e){e.style.opacity="0";let n=+new Date,r="0",i=function(){r=`${+e.style.opacity+(new Date().getTime()-n)/t}`,e.style.opacity=r,n=+new Date,+r<1&&("requestAnimationFrame"in window?requestAnimationFrame(i):setTimeout(i,16))};i()}}function $t(e,t){return W(e)?Array.from(e.querySelectorAll(t)):[]}function rn(e,t){return W(e)?e.matches(t)?e:e.querySelector(t):null}function on(e,t){e&&document.activeElement!==e&&e.focus(t)}function _e(e,t=""){let n=$t(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
2
- [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${t},
3
- input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
4
- select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
5
- textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
6
- [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
7
- [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`),r=[];for(let i of n)getComputedStyle(i).display!="none"&&getComputedStyle(i).visibility!="hidden"&&r.push(i);return r}function ln(e,t){let n=_e(e,t);return n.length>0?n[0]:null}function sn(e){if(e){let t=e.offsetHeight,n=getComputedStyle(e);return t-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),t}return 0}function an(e){var t;if(e){let n=(t=Pe(e))==null?void 0:t.childNodes,r=0;if(n)for(let i=0;i<n.length;i++){if(n[i]===e)return r;n[i].nodeType===1&&r++}}return-1}function un(e,t){let n=_e(e,t);return n.length>0?n[n.length-1]:null}function dn(e){if(e){let t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||de(document.documentElement)||de(document.body)||0)}}return{top:"auto",left:"auto"}}function Ot(e,t){if(e){let n=e.offsetHeight;if(t){let r=getComputedStyle(e);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}function cn(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function fn(e){if(e){let t=e.offsetWidth,n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),t}return 0}function pn(e){if(e){let t=e.nodeName,n=e.parentElement&&e.parentElement.nodeName;return t==="INPUT"||t==="TEXTAREA"||t==="BUTTON"||t==="A"||n==="INPUT"||n==="TEXTAREA"||n==="BUTTON"||n==="A"||!!e.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function hn(e){return!!(e&&e.offsetParent!=null)}function mn(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window)}function gn(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function yn(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function vn(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function bn(e){var t;e&&("remove"in Element.prototype?e.remove():(t=e.parentNode)==null||t.removeChild(e))}function Sn(e,t){let n=je(e);if(n)n.removeChild(t);else throw new Error("Cannot remove "+t+" from "+e)}function wn(e,t){let n=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(e).getPropertyValue("paddingTop"),l=i?parseFloat(i):0,o=e.getBoundingClientRect(),s=t.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-r-l,a=e.scrollTop,u=e.clientHeight,d=Ot(t);s<0?e.scrollTop=a+s:s+d>u&&(e.scrollTop=a+s-u+d)}function xn(e,t="",n){W(e)&&n!==null&&n!==void 0&&e.setAttribute(t,n)}function Cn(e,t,n=null,r){var i;t&&((i=e?.style)==null||i.setProperty(t,n,r))}var kt=Object.defineProperty,At=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Fe=(e,t,n)=>t in e?kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))Be.call(t,n)&&Fe(e,n,t[n]);if(ie)for(var n of ie(t))Ie.call(t,n)&&Fe(e,n,t[n]);return e},j=(e,t)=>At(e,Nt(t)),k=(e,t)=>{var n={};for(var r in e)Be.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ie)for(var r of ie(e))t.indexOf(r)<0&&Ie.call(e,r)&&(n[r]=e[r]);return n};function On(...e){return N(...e)}var Pt=$e(),P=Pt,A=/{([^}]*)}/g,Me=/(\d+\s+[\+\-\*\/]\s+\d+)/g,He=/var\([^)]+\)/g;function Re(e){return O(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Pn(e,t){Ee(e)?e.push(...t||[]):C(e)&&Object.assign(e,t)}function jt(e){return C(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function jn(e,t=""){return["opacity","z-index","line-height","font-weight","flex","flex-grow","flex-shrink","order"].some(n=>t.endsWith(n))?e:`${e}`.trim().split(" ").map(n=>ne(n)?`${n}px`:n).join(" ")}function Tt(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function ce(e="",t=""){return Tt(`${O(e,!1)&&O(t,!1)?`${e}-`:e}${t}`)}function Ue(e="",t=""){return`--${ce(e,t)}`}function Lt(e=""){let t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function Ke(e,t="",n="",r=[],i){if(O(e)){let l=e.trim();if(Lt(l))return;if(w(l,A)){let o=l.replaceAll(A,s=>{let a=s.replace(/{|}/g,"").split(".").filter(u=>!r.some(d=>w(u,d)));return`var(${Ue(n,re(a.join("-")))}${h(i)?`, ${i}`:""})`});return w(o.replace(He,"0"),Me)?`calc(${o})`:o}return l}else if(ne(e))return e}function Tn(e={},t){if(O(t)){let n=t.trim();return w(n,A)?n.replaceAll(A,r=>le(e,r.replace(/{|}/g,""))):n}else if(ne(t))return t}function _t(e,t,n){O(t,!1)&&e.push(`${t}:${n};`)}function T(e,t){return e?`${e}{${t}}`:""}function qe(e,t){if(e.indexOf("dt(")===-1)return e;function n(o,s){let a=[],u=0,d="",p=null,c=0;for(;u<=o.length;){let f=o[u];if((f==='"'||f==="'"||f==="`")&&o[u-1]!=="\\"&&(p=p===f?null:f),!p&&(f==="("&&c++,f===")"&&c--,(f===","||u===o.length)&&c===0)){let g=d.trim();g.startsWith("dt(")?a.push(qe(g,s)):a.push(r(g)),d="",u++;continue}f!==void 0&&(d+=f),u++}return a}function r(o){let s=o[0];if((s==='"'||s==="'"||s==="`")&&o[o.length-1]===s)return o.slice(1,-1);let a=Number(o);return isNaN(a)?o:a}let i=[],l=[];for(let o=0;o<e.length;o++)if(e[o]==="d"&&e.slice(o,o+3)==="dt(")l.push(o),o+=2;else if(e[o]===")"&&l.length>0){let s=l.pop();l.length===0&&i.push([s,o])}if(!i.length)return e;for(let o=i.length-1;o>=0;o--){let[s,a]=i[o],u=e.slice(s+3,a),d=n(u,t),p=t(...d);e=e.slice(0,s)+p+e.slice(a+1)}return e}function Ve(e){return e.length===4?`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:e}function We(e){let t=parseInt(e.substring(1),16),n=t>>16&255,r=t>>8&255,i=t&255;return{r:n,g:r,b:i}}function Ft(e,t,n){return`#${e.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}`}var ze=(e,t,n)=>{e=Ve(e),t=Ve(t);let r=(n/100*2-1+1)/2,i=1-r,l=We(e),o=We(t),s=Math.round(l.r*r+o.r*i),a=Math.round(l.g*r+o.g*i),u=Math.round(l.b*r+o.b*i);return Ft(s,a,u)},Rt=(e,t)=>ze("#000000",e,t),Vt=(e,t)=>ze("#ffffff",e,t),De=[50,100,200,300,400,500,600,700,800,900,950],Fn=e=>{if(w(e,A)){let t=e.replace(/{|}/g,"");return De.reduce((n,r)=>(n[r]=`{${t}.${r}}`,n),{})}return typeof e=="string"?De.reduce((t,n,r)=>(t[n]=r<=5?Vt(e,(5-r)*19):Rt(e,(r-5)*15),t),{}):e},Wn=e=>{var t;let n=x.getTheme(),r=fe(n,e,void 0,"variable"),i=(t=r?.match(/--[\w-]+/g))==null?void 0:t[0],l=fe(n,e,void 0,"value");return{name:i,variable:r,value:l}},D=(...e)=>fe(x.getTheme(),...e),fe=(e={},t,n,r)=>{if(t){let{variable:i,options:l}=x.defaults||{},{prefix:o,transform:s}=e?.options||l||{},a=w(t,A)?t:`{${t}}`;return r==="value"||V(r)&&s==="strict"?x.getTokenValue(t):Ke(a,void 0,o,[i.excludedKeyRegex],n)}return""};function Dn(e,...t){if(e instanceof Array){let n=e.reduce((r,i,l)=>{var o;return r+i+((o=$(t[l],{dt:D}))!=null?o:"")},"");return qe(n,D)}return $(e,{dt:D})}var pe=(e={})=>{let{preset:t,options:n}=e;return{preset(r){return t=t?se(t,r):r,this},options(r){return n=n?m(m({},n),r):r,this},primaryPalette(r){let{semantic:i}=t||{};return t=j(m({},t),{semantic:j(m({},i),{primary:r})}),this},surfacePalette(r){var i,l;let{semantic:o}=t||{},s=r&&Object.hasOwn(r,"light")?r.light:r,a=r&&Object.hasOwn(r,"dark")?r.dark:r,u={colorScheme:{light:m(m({},(i=o?.colorScheme)==null?void 0:i.light),!!s&&{surface:s}),dark:m(m({},(l=o?.colorScheme)==null?void 0:l.dark),!!a&&{surface:a})}};return t=j(m({},t),{semantic:m(m({},o),u)}),this},define({useDefaultPreset:r=!1,useDefaultOptions:i=!1}={}){return{preset:r?x.getPreset():t,options:i?x.getOptions():n}},update({mergePresets:r=!0,mergeOptions:i=!0}={}){let l={preset:r?se(x.getPreset(),t):t,options:i?m(m({},x.getOptions()),n):n};return x.setTheme(l),l},use(r){let i=this.define(r);return x.setTheme(i),i}}};function Wt(e,t={}){let n=x.defaults.variable,{prefix:r=n.prefix,selector:i=n.selector,excludedKeyRegex:l=n.excludedKeyRegex}=t,o=[],s=[],a=[{node:e,path:r}];for(;a.length;){let{node:d,path:p}=a.pop();for(let c in d){let f=d[c],g=jt(f),v=w(c,l)?ce(p):ce(p,re(c));if(C(g))a.push({node:g,path:v});else{let y=Ue(v),b=Ke(g,v,r,[l]);_t(s,y,b);let S=v;r&&S.startsWith(r+"-")&&(S=S.slice(r.length+1)),o.push(S.replace(/-/g,"."))}}}let u=s.join("");return{value:s,tokens:o,declarations:u,css:T(i,u)}}var E={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(i=>i.resolve(n)).find(i=>i.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return Wt(e,{prefix:t?.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:i}){var l,o,s,a,u,d,p;let{preset:c,options:f}=t,g,v,y,b,S,L,B;if(h(c)&&f.transform!=="strict"){let{primitive:I,semantic:M,extend:H}=c,_=M||{},{colorScheme:U}=_,K=k(_,["colorScheme"]),q=H||{},{colorScheme:z}=q,F=k(q,["colorScheme"]),R=U||{},{dark:X}=R,Z=k(R,["dark"]),G=z||{},{dark:Y}=G,J=k(G,["dark"]),Q=h(I)?this._toVariables({primitive:I},f):{},ee=h(K)?this._toVariables({semantic:K},f):{},te=h(Z)?this._toVariables({light:Z},f):{},he=h(X)?this._toVariables({dark:X},f):{},me=h(F)?this._toVariables({semantic:F},f):{},ge=h(J)?this._toVariables({light:J},f):{},ye=h(Y)?this._toVariables({dark:Y},f):{},[Xe,Ze]=[(l=Q.declarations)!=null?l:"",Q.tokens],[Ge,Ye]=[(o=ee.declarations)!=null?o:"",ee.tokens||[]],[Je,Qe]=[(s=te.declarations)!=null?s:"",te.tokens||[]],[et,tt]=[(a=he.declarations)!=null?a:"",he.tokens||[]],[nt,rt]=[(u=me.declarations)!=null?u:"",me.tokens||[]],[it,ot]=[(d=ge.declarations)!=null?d:"",ge.tokens||[]],[lt,st]=[(p=ye.declarations)!=null?p:"",ye.tokens||[]];g=this.transformCSS(e,Xe,"light","variable",f,r,i),v=Ze;let at=this.transformCSS(e,`${Ge}${Je}`,"light","variable",f,r,i),ut=this.transformCSS(e,`${et}`,"dark","variable",f,r,i);y=`${at}${ut}`,b=[...new Set([...Ye,...Qe,...tt])];let dt=this.transformCSS(e,`${nt}${it}color-scheme:light`,"light","variable",f,r,i),ct=this.transformCSS(e,`${lt}color-scheme:dark`,"dark","variable",f,r,i);S=`${dt}${ct}`,L=[...new Set([...rt,...ot,...st])],B=$(c.css,{dt:D})}return{primitive:{css:g,tokens:v},semantic:{css:y,tokens:b},global:{css:S,tokens:L},style:B}},getPreset({name:e="",preset:t={},options:n,params:r,set:i,defaults:l,selector:o}){var s,a,u;let d,p,c;if(h(t)&&n.transform!=="strict"){let f=e.replace("-directive",""),g=t,{colorScheme:v,extend:y,css:b}=g,S=k(g,["colorScheme","extend","css"]),L=y||{},{colorScheme:B}=L,I=k(L,["colorScheme"]),M=v||{},{dark:H}=M,_=k(M,["dark"]),U=B||{},{dark:K}=U,q=k(U,["dark"]),z=h(S)?this._toVariables({[f]:m(m({},S),I)},n):{},F=h(_)?this._toVariables({[f]:m(m({},_),q)},n):{},R=h(H)?this._toVariables({[f]:m(m({},H),K)},n):{},[X,Z]=[(s=z.declarations)!=null?s:"",z.tokens||[]],[G,Y]=[(a=F.declarations)!=null?a:"",F.tokens||[]],[J,Q]=[(u=R.declarations)!=null?u:"",R.tokens||[]],ee=this.transformCSS(f,`${X}${G}`,"light","variable",n,i,l,o),te=this.transformCSS(f,J,"dark","variable",n,i,l,o);d=`${ee}${te}`,p=[...new Set([...Z,...Y,...Q])],c=$(b,{dt:D})}return{css:d,tokens:p,style:c}},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:i}){var l;let{preset:o,options:s}=t,a=(l=o?.components)==null?void 0:l[e];return this.getPreset({name:e,preset:a,options:s,params:n,set:r,defaults:i})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:i}){var l,o;let s=e.replace("-directive",""),{preset:a,options:u}=t,d=((l=a?.components)==null?void 0:l[s])||((o=a?.directives)==null?void 0:o[s]);return this.getPreset({name:s,preset:d,options:u,params:n,set:r,defaults:i})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){let{cssLayer:i}=t;return i?`@layer ${$(i.order||i.name||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:i,defaults:l}){let o=this.getCommon({name:e,theme:t,params:n,set:i,defaults:l}),s=Object.entries(r).reduce((a,[u,d])=>a.push(`${u}="${d}"`)&&a,[]).join(" ");return Object.entries(o||{}).reduce((a,[u,d])=>{if(C(d)&&Object.hasOwn(d,"css")){let p=ae(d.css),c=`${u}-variables`;a.push(`<style type="text/css" data-primevue-style-id="${c}" ${s}>${p}</style>`)}return a},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:i,defaults:l}){var o;let s={name:e,theme:t,params:n,set:i,defaults:l},a=(o=e.includes("-directive")?this.getPresetD(s):this.getPresetC(s))==null?void 0:o.css,u=Object.entries(r).reduce((d,[p,c])=>d.push(`${p}="${c}"`)&&d,[]).join(" ");return a?`<style type="text/css" data-primevue-style-id="${e}-variables" ${u}>${ae(a)}</style>`:""},createTokens(e={},t,n="",r="",i={}){let l=function(s,a={},u=[]){if(u.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:s,path:this.path,paths:a,value:void 0};u.push(this.path),a.name=this.path,a.binding||(a.binding={});let d=this.value;if(typeof this.value=="string"&&A.test(this.value)){let p=this.value.trim().replace(A,c=>{var f;let g=c.slice(1,-1),v=this.tokens[g];if(!v)return console.warn(`Token not found for path: ${g}`),"__UNRESOLVED__";let y=v.computed(s,a,u);return Array.isArray(y)&&y.length===2?`light-dark(${y[0].value},${y[1].value})`:(f=y?.value)!=null?f:"__UNRESOLVED__"});d=Me.test(p.replace(He,"0"))?`calc(${p})`:p}return V(a.binding)&&delete a.binding,u.pop(),{colorScheme:s,path:this.path,paths:a,value:d.includes("__UNRESOLVED__")?void 0:d}},o=(s,a,u)=>{Object.entries(s).forEach(([d,p])=>{let c=w(d,t.variable.excludedKeyRegex)?a:a?`${a}.${Re(d)}`:Re(d),f=u?`${u}.${d}`:d;C(p)?o(p,c,f):(i[c]||(i[c]={paths:[],computed:(g,v={},y=[])=>{if(i[c].paths.length===1)return i[c].paths[0].computed(i[c].paths[0].scheme,v.binding,y);if(g&&g!=="none")for(let b=0;b<i[c].paths.length;b++){let S=i[c].paths[b];if(S.scheme===g)return S.computed(g,v.binding,y)}return i[c].paths.map(b=>b.computed(b.scheme,v[b.scheme],y))}}),i[c].paths.push({path:f,value:p,scheme:f.includes("colorScheme.light")?"light":f.includes("colorScheme.dark")?"dark":"none",computed:l,tokens:i}))})};return o(e,n,r),i},getTokenValue(e,t,n){var r;let i=(s=>s.split(".").filter(a=>!w(a.toLowerCase(),n.variable.excludedKeyRegex)).join("."))(t),l=t.includes("colorScheme.light")?"light":t.includes("colorScheme.dark")?"dark":void 0,o=[(r=e[i])==null?void 0:r.computed(l)].flat().filter(s=>s);return o.length===1?o[0].value:o.reduce((s={},a)=>{let u=a,{colorScheme:d}=u,p=k(u,["colorScheme"]);return s[d]=p,s},void 0)},getSelectorRule(e,t,n,r){return n==="class"||n==="attr"?T(h(t)?`${e}${t},${e} ${t}`:e,r):T(e,T(t??":root,:host",r))},transformCSS(e,t,n,r,i={},l,o,s){if(h(t)){let{cssLayer:a}=i;if(r!=="style"){let u=this.getColorSchemeOption(i,o);t=n==="dark"?u.reduce((d,{type:p,selector:c})=>(h(c)&&(d+=c.includes("[CSS]")?c.replace("[CSS]",t):this.getSelectorRule(c,s,p,t)),d),""):T(s??":root,:host",t)}if(a){let u={name:"primeui",order:"primeui"};C(a)&&(u.name=$(a.name,{name:e,type:r})),h(u.name)&&(t=T(`@layer ${u.name}`,t),l?.layerNames(u.name))}return t}return""}},x={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:t}=e;t&&(this._theme=j(m({},t),{options:m(m({},this.defaults.options),t.options)}),this._tokens=E.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),P.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=j(m({},this.theme),{preset:e}),this._tokens=E.createTokens(e,this.defaults),this.clearLoadedStyleNames(),P.emit("preset:change",e),P.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=j(m({},this.theme),{options:e}),this.clearLoadedStyleNames(),P.emit("options:change",e),P.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return E.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return E.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return E.getPresetC(n)},getDirective(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return E.getPresetD(n)},getCustomPreset(e="",t,n,r){let i={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return E.getPreset(i)},getLayerOrderCSS(e=""){return E.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return E.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return E.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return E.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),P.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&P.emit("theme:load"))}};function Mn(...e){let t=N(x.getPreset(),...e);return x.setPreset(t),t}function Hn(e){return pe().primaryPalette(e).update().preset}function Un(e){return pe().surfacePalette(e).update().preset}function qn(...e){let t=N(...e);return x.setPreset(t),t}function zn(e){return pe(e).update({mergePresets:!1})}var Dt=class{constructor({attrs:e}={}){this._styles=new Map,this._attrs=e||{}}get(e){return this._styles.get(e)}has(e){return this._styles.has(e)}delete(e){this._styles.delete(e)}clear(){this._styles.clear()}add(e,t){if(h(t)){let n={name:e,css:t,attrs:this._attrs,markup:Le(t,this._attrs)};this._styles.set(e,j(m({},n),{element:this.createStyleElement(n)}))}}update(){}getStyles(){return this._styles}getAllCSS(){return[...this._styles.values()].map(e=>e.css).filter(String)}getAllMarkup(){return[...this._styles.values()].map(e=>e.markup).filter(String)}getAllElements(){return[...this._styles.values()].map(e=>e.element)}createStyleElement(e={}){}},Zn=Dt;export{vt as a,Oe as b,Xt as c,ke as d,Zt as e,ue as f,Ae as g,Ne as h,St as i,wt as j,Gt as k,Yt as l,Jt as m,Qt as n,Et as o,en as p,Te as q,tn as r,nn as s,$t as t,rn as u,on as v,_e as w,ln as x,sn as y,an as z,un as A,dn as B,Ot as C,cn as D,fn as E,pn as F,hn as G,mn as H,gn as I,yn as J,vn as K,bn as L,Sn as M,wn as N,xn as O,Cn as P,V as Q,gt as R,xe as S,h as T,Se as U,yt as V,Bt as W,It as X,$ as Y,O as Z,we as _,le as $,Ee as aa,Mt as ba,Ht as ca,ae as da,Ut as ea,Kt as fa,On as ga,P as ha,A as ia,Me as ja,He as ka,Re as la,Pn as ma,jt as na,jn as oa,Tt as pa,ce as qa,Ue as ra,Lt as sa,Ke as ta,Tn as ua,_t as va,T as wa,qe as xa,ze as ya,Rt as za,Vt as Aa,Fn as Ba,Wn as Ca,D as Da,fe as Ea,Dn as Fa,pe as Ga,Wt as Ha,E as Ia,x as Ja,Mn as Ka,Hn as La,Un as Ma,qn as Na,zn as Oa,Zn as Pa};
@@ -1 +0,0 @@
1
- import{Aa as q,Ba as w,Ca as z,Da as A,Ea as B,Fa as C,Ga as D,Ha as E,Ia as F,Ja as G,Ka as a,La as r,Ma as s,Na as u,Oa as P,Pa as H,ga as t,ha as p,ia as d,ja as m,ka as f,la as i,ma as o,na as l,oa as c,pa as h,qa as n,ra as x,sa as y,ta as S,ua as T,va as v,wa as b,xa as g,ya as j,za as k}from"./chunk-4SG4352Z.js";import"./chunk-WCABR6TI.js";var J=(...e)=>t(...e),K=(...e)=>a(...e),L=e=>r(e),M=e=>s(e),N=(...e)=>u(...e),O=e=>P(e);export{z as $dt,D as $t,m as CALC_REGEX,d as EXPR_REGEX,H as StyleSheet,G as Theme,p as ThemeService,F as ThemeUtils,f as VAR_REGEX,C as css,J as definePreset,A as dt,B as dtwt,g as evaluateDtExpressions,T as getComputedValue,b as getRule,x as getVariableName,S as getVariableValue,y as hasOddBraces,o as merge,j as mix,w as palette,v as setProperty,k as shade,q as tint,h as toNormalizePrefix,n as toNormalizeVariable,i as toTokenKey,c as toUnit,l as toValue,E as toVariables,K as updatePreset,L as updatePrimaryPalette,M as updateSurfacePalette,N as usePreset,O as useTheme};