@skill-map/cli 0.48.0 → 0.49.0

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.
@@ -1,2 +0,0 @@
1
- import{$ as v,$a as F,Aa as Ct,Ba as bt,Ca as At,Da as _t,E as ht,Ea as St,Ec as Ve,Fa as j,Fc as Pt,Gc as Lt,Hc as Nt,I as y,Ic as oe,Jc as He,L as l,La as $,M as q,Ma as Tt,Na as ye,O as E,Oa as Ft,P as c,Q as f,Qa as ze,R as Be,Ra as Mt,S as pt,Sa as ne,T as xe,Ta as A,U as gt,Ua as re,Va as Rt,Vb as Ot,Xa as It,_ as H,_a as ie,aa as pe,c as Ne,d as ct,da as Q,ea as Ue,i as ke,ia as mt,ka as ee,n as J,na as te,oa as Dt,pa as je,qa as yt,ra as ge,sa as me,ta as Et,ua as $e,v as dt,va as De,wa as N,x as lt,xa as G,ya as vt,z as ft,za as wt}from"./chunk-HAWX5WNM.js";import{a as U}from"./chunk-WCABR6TI.js";var kt=null;function M(){return kt}function Ge(n){kt??=n}var se=class{},W=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:()=>f(Bt),providedIn:"platform"})}return n})();var Bt=(()=>{class n extends W{_location;_history;_doc=f(v);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return M().getBaseHref(this._doc)}onPopState(e){let t=M().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=M().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,i){this._history.pushState(e,t,i)}replaceState(e,t,i){this._history.replaceState(e,t,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function jt(n,r){return n?r?n.endsWith("/")?r.startsWith("/")?n+r.slice(1):n+r:r.startsWith("/")?n+r:`${n}/${r}`:n:r}function xt(n){let r=n.search(/#|\?|$/);return n[r-1]==="/"?n.slice(0,r-1)+n.slice(r):n}function k(n){return n&&n[0]!=="?"?`?${n}`:n}var Ee=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:()=>f(yn),providedIn:"root"})}return n})(),Dn=new E(""),yn=(()=>{class n extends Ee{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??f(v).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return jt(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+k(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,o){let s=this.prepareExternalUrl(i+k(o));this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,o){let s=this.prepareExternalUrl(i+k(o));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(c(W),c(Dn,8))};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var $t=(()=>{class n{_subject=new ct;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=wn(xt(Ut(t))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+k(t))}normalize(e){return n.stripTrailingSlash(vn(this._basePath,Ut(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._locationStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+k(t)),i)}replaceState(e,t="",i=null){this._locationStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+k(t)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t??void 0,complete:i??void 0})}static normalizeQueryParams=k;static joinWithSlash=jt;static stripTrailingSlash=xt;static \u0275fac=function(t){return new(t||n)(c(Ee))};static \u0275prov=l({token:n,factory:()=>En(),providedIn:"root"})}return n})();function En(){return new $t(c(Ee))}function vn(n,r){if(!n||!r.startsWith(n))return r;let e=r.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Ut(n){return n.replace(/\/index.html$/,"")}function wn(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var We=/\s+/,zt=[],Cn=(()=>{class n{_ngEl;_renderer;initialClasses=zt;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e!=null?e.trim().split(We):zt}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(We):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==t&&(i.changed=!0,i.enabled=t),i.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],i=e[1];i.changed?(this._toggleClass(t,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),i.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(We).forEach(i=>{t?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(t){return new(t||n)(A(te),A(ne))};static \u0275dir=F({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})(),bn=(()=>{class n{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||e.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=It(this.ngComponentOutletNgModule,An(t)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[t,i]of this._inputsUsed)i?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}static \u0275fac=function(t){return new(t||n)(A(re))};static \u0275dir=F({type:n,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[ee]})}return n})();function An(n){return n.get(Rt).injector}var ve=class{$implicit;ngForOf;index;count;constructor(r,e,t,i){this.$implicit=r,this.ngForOf=e,this.index=t,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Gt=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)t.createEmbeddedView(this._template,new ve(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)t.remove(o===null?void 0:o);else if(o!==null){let u=t.get(o);t.move(u,s),Vt(u,i)}});for(let i=0,o=t.length;i<o;i++){let u=t.get(i).context;u.index=i,u.count=o,u.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=t.get(i.currentIndex);Vt(o,i)})}static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(A(re),A(ze),A(Pt))};static \u0275dir=F({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();function Vt(n,r){n.context.$implicit=r.item}var _n=(()=>{class n{_viewContainer;_context=new we;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ht(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ht(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(A(re),A(ze))};static \u0275dir=F({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),we=class{$implicit=null;ngIf=null};function Ht(n,r){if(n&&!n.createEmbeddedView)throw new y(2020,!1)}var Sn=(()=>{class n{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,i){this._ngEl=e,this._differs=t,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:$.DashCase;t!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${t}${o}`:t,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static \u0275fac=function(t){return new(t||n)(A(te),A(Lt),A(ne))};static \u0275dir=F({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return n})(),Tn=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(H);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,i):!1,get:(e,t,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,i)}})}static \u0275fac=function(t){return new(t||n)(A(re))};static \u0275dir=F({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ee]})}return n})();var Wt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ie({type:n});static \u0275inj=q({})}return n})();function ae(n,r){r=encodeURIComponent(r);for(let e of n.split(";")){let t=e.indexOf("="),[i,o]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var V=class{};var Ze="browser",Rn="server";function bo(n){return n===Ze}function Ao(n){return n===Rn}var Zt=n=>n.src,In=new E("",{factory:()=>Zt});var Yt=/^((\s*\d+w\s*(,|$)){1,})$/;var On=[1,2],Pn=640;var Ln=1920,Nn=1080;var _o=(()=>{class n{imageLoader=f(In);config=kn(f($e));renderer=f(ne);imgElement=f(te).nativeElement;injector=f(H);destroyRef=f(pe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){Ft("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Yt.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let t=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(e){let t=e;this.loaderParams&&(t.loaderParams=this.loaderParams);let i=this.getAspectRatio();return i!==null&&t.width&&(t.height=Math.round(t.width/i)),this.imageLoader(t)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=Yt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,t=e;return this.sizes?.trim()==="100vw"&&(t=e.filter(o=>o>=Pn)),t.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let t=this.getRewrittenSrc();this.setHostAttribute("src",t);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return On.map(t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>Ln||this.height>Nn),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Zt&&!e}generatePlaceholder(e){let{placeholderResolution:t}=this.config;return e===!0?`url(${this.callImageLoader({src:this.ngSrc,width:t,isPlaceholder:!0})})`:typeof e=="string"?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let t=()=>{let s=this.injector.get(Ve);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(e,"load",t),o=this.renderer.listen(e,"error",t);this.destroyRef.onDestroy(()=>{i(),o()}),Bn(e,t)}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=F({type:n,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,i){t&2&&Ot("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",xn],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",He],height:[2,"height","height",He],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",oe],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",oe],fill:[2,"fill","fill",oe],placeholder:[2,"placeholder","placeholder",Un],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ee]})}return n})();function kn(n){let r={};return n.breakpoints&&(r.breakpoints=n.breakpoints.sort((e,t)=>e-t)),Object.assign({},Et,n,r)}function Bn(n,r){n.complete&&n.naturalWidth&&r()}function xn(n){return typeof n=="string"?n:N(n)}function Un(n){return typeof n=="string"&&n!=="true"&&n!=="false"&&n!==""?n:oe(n)}var ue=class{_doc;constructor(r){this._doc=r}manager},Ce=(()=>{class n extends ue{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i,o){return e.addEventListener(t,i,o),()=>this.removeEventListener(e,t,i,o)}removeEventListener(e,t,i,o){return e.removeEventListener(t,i,o)}static \u0275fac=function(t){return new(t||n)(c(v))};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})(),_e=new E(""),qe=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Ce));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Ce);o&&this._plugins.push(o)}addEventListener(e,t,i,o){return this._findPluginFor(t).addEventListener(e,t,i,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new y(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(c(_e),c(Q))};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})(),Xe="ng-app-id";function Xt(n){for(let r of n)r.remove()}function Kt(n,r){let e=r.createElement("style");return e.textContent=n,e}function jn(n,r,e,t){let i=n.head?.querySelectorAll(`style[${Xe}="${r}"],link[${Xe}="${r}"]`);if(i)for(let o of i)o.removeAttribute(Xe),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Je(n,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var Qe=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,i,o={}){this.doc=e,this.appId=t,this.nonce=i,jn(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,Kt);t?.forEach(i=>this.addUsage(i,this.external,Je))}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&(Xt(i.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Xt(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,Kt(t,this.doc)));for(let[t,{elements:i}]of this.external)i.push(this.addElement(e,Je(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(c(v),c(je),c(me,8),c(ge))};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})(),Ke={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},et=/%COMP%/g;var qt="%COMP%",$n=`_nghost-${qt}`,zn=`_ngcontent-${qt}`,Vn=!0,Hn=new E("",{factory:()=>Vn});function Gn(n){return zn.replace(et,n)}function Wn(n){return $n.replace(et,n)}function Qt(n,r){return r.map(e=>e.replace(et,n))}var tt=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,i,o,s,u,a=null,d=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=u,this.nonce=a,this.tracingService=d,this.defaultRenderer=new ce(e,s,u,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,t);return i instanceof Ae?i.applyToHost(e):i instanceof de&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,o=i.get(t.id);if(!o){let s=this.doc,u=this.ngZone,a=this.eventManager,d=this.sharedStylesHost,g=this.removeStylesOnCompDestroy,m=this.tracingService;switch(t.encapsulation){case De.Emulated:o=new Ae(a,d,t,this.appId,g,s,u,m);break;case De.ShadowDom:return new be(a,e,t,s,u,this.nonce,m,d);case De.ExperimentalIsolatedShadowDom:return new be(a,e,t,s,u,this.nonce,m);default:o=new de(a,d,t,g,s,u,m);break}i.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||n)(c(qe),c(Qe),c(je),c(Hn),c(v),c(Q),c(me),c(ye,8))};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})(),ce=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,t,i){this.eventManager=r,this.doc=e,this.ngZone=t,this.tracingService=i}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(Ke[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Jt(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(Jt(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){e.remove()}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new y(-5104,!1);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,i){if(i){e=i+":"+e;let o=Ke[i];o?r.setAttributeNS(o,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let i=Ke[t];i?r.removeAttributeNS(i,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,i){i&($.DashCase|$.Important)?r.style.setProperty(e,t,i&$.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&$.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r!=null&&(r[e]=t)}setValue(r,e){r.nodeValue=e}listen(r,e,t,i){if(typeof r=="string"&&(r=M().getGlobalEventTarget(this.doc,r),!r))throw new y(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function Jt(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var be=class extends ce{hostEl;sharedStylesHost;shadowRoot;constructor(r,e,t,i,o,s,u,a){super(r,i,o,u),this.hostEl=e,this.sharedStylesHost=a,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=t.styles;d=Qt(t.id,d);for(let m of d){let C=document.createElement("style");s&&C.setAttribute("nonce",s),C.textContent=m,this.shadowRoot.appendChild(C)}let g=t.getExternalStyles?.();if(g)for(let m of g){let C=Je(m,i);s&&C.setAttribute("nonce",s),this.shadowRoot.appendChild(C)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,t){return super.insertBefore(this.nodeOrShadowRoot(r),e,t)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},de=class extends ce{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,t,i,o,s,u,a){super(r,o,s,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let d=t.styles;this.styles=a?Qt(a,d):d,this.styleUrls=t.getExternalStyles?.(a)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Tt.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ae=class extends de{contentAttr;hostAttr;constructor(r,e,t,i,o,s,u,a){let d=i+"-"+t.id;super(r,e,t,o,s,u,a,d),this.contentAttr=Gn(d),this.hostAttr=Wn(d)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}};var Se=class n extends se{supportsDOMEvents=!0;static makeCurrent(){Ge(new n)}onAndCancel(r,e,t,i){return r.addEventListener(e,t,i),()=>{r.removeEventListener(e,t,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=Zn();return e==null?null:Xn(e)}resetBaseElement(){le=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return ae(document.cookie,r)}},le=null;function Zn(){return le=le||document.head.querySelector("base"),le?le.getAttribute("href"):null}function Xn(n){return new URL(n,document.baseURI).pathname}var Kn=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})(),en=["alt","control","meta","shift"],Jn={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},qn={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},tn=(()=>{class n extends ue{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,i,o){let s=n.parseEventName(t),u=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>M().onAndCancel(e,s.domEventName,u,o))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(t.pop()),s="",u=t.indexOf("code");if(u>-1&&(t.splice(u,1),s="code."),en.forEach(d=>{let g=t.indexOf(d);g>-1&&(t.splice(g,1),s+=d+".")}),s+=o,t.length!=0||o.length===0)return null;let a={};return a.domEventName=i,a.fullKey=s,a}static matchEventFullKeyCode(e,t){let i=Jn[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),en.forEach(s=>{if(s!==i){let u=qn[s];u(e)&&(o+=s+".")}}),o+=i,o===t)}static eventCallback(e,t,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(c(v))};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})();async function Qn(n,r,e){let t=U({rootComponent:n},er(r,e));return Nt(t)}function er(n,r){return{platformRef:r?.platformRef,appProviders:[...or,...n?.providers??[]],platformProviders:ir}}function tr(){Se.makeCurrent()}function nr(){return new Ue}function rr(){return Dt(document),document}var ir=[{provide:ge,useValue:Ze},{provide:yt,useValue:tr,multi:!0},{provide:v,useFactory:rr}];var or=[{provide:pt,useValue:"root"},{provide:Ue,useFactory:nr},{provide:_e,useClass:Ce,multi:!0},{provide:_e,useClass:tn,multi:!0},tt,Qe,qe,{provide:Mt,useExisting:tt},{provide:V,useClass:Kn},[]];var S=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
2
- `).forEach(e=>{let t=e.indexOf(":");if(t>0){let i=e.slice(0,t),o=e.slice(t+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let t=r.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...t),this.headers.set(e,i);break;case"d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(u=>o.indexOf(u)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(r,e){let t=r.toLowerCase();this.maybeSetNormalizedName(r,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(r,e){let t=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var Me=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}},Re=class{encodeKey(r){return nn(r)}encodeValue(r){return nn(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function sr(n,r){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,u]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],a=e.get(s)||[];a.push(u),e.set(s,a)}),e}var ar=/%(\d[a-f0-9])/gi,ur={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nn(n){return encodeURIComponent(n).replace(ar,(r,e)=>ur[e]??r)}function Te(n){return`${n}`}var R=class n{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new Re,r.fromString){if(r.fromObject)throw new y(2805,!1);this.map=sr(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let t=r.fromObject[e],i=Array.isArray(t)?t.map(Te):[Te(t)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(t=>{let i=r[t];Array.isArray(i)?i.forEach(o=>{e.push({param:t,value:o,op:"a"})}):e.push({param:t,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Te(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let t=this.map.get(r.param)||[],i=t.indexOf(Te(r.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(r.param,t):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};function cr(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function rn(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function on(n){return typeof Blob<"u"&&n instanceof Blob}function sn(n){return typeof FormData<"u"&&n instanceof FormData}function dr(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var fe="Content-Type",Ie="Accept",an="text/plain",un="application/json",cn=`${un}, ${an}, */*`,Y=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,t,i){this.url=e,this.method=r.toUpperCase();let o;if(cr(this.method)||i?(this.body=t!==void 0?t:null,o=i):o=t,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new y(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new S,this.context??=new Me,!this.params)this.params=new R,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let u=e.indexOf("?"),a=u===-1?"?":u<e.length-1?"&":"";this.urlWithParams=e+a+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||rn(this.body)||on(this.body)||sn(this.body)||dr(this.body)?this.body:this.body instanceof R?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||sn(this.body)?null:on(this.body)?this.body.type||null:rn(this.body)?null:typeof this.body=="string"?an:this.body instanceof R?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?un:null}clone(r={}){let e=r.method||this.method,t=r.url||this.url,i=r.responseType||this.responseType,o=r.keepalive??this.keepalive,s=r.priority||this.priority,u=r.cache||this.cache,a=r.mode||this.mode,d=r.redirect||this.redirect,g=r.credentials||this.credentials,m=r.referrer||this.referrer,C=r.integrity||this.integrity,B=r.referrerPolicy||this.referrerPolicy,x=r.transferCache??this.transferCache,w=r.timeout??this.timeout,h=r.body!==void 0?r.body:this.body,p=r.withCredentials??this.withCredentials,b=r.reportProgress??this.reportProgress,O=r.headers||this.headers,D=r.params||this.params,P=r.context??this.context;return r.setHeaders!==void 0&&(O=Object.keys(r.setHeaders).reduce((L,T)=>L.set(T,r.setHeaders[T]),O)),r.setParams&&(D=Object.keys(r.setParams).reduce((L,T)=>L.set(T,r.setParams[T]),D)),new n(e,t,h,{params:D,headers:O,context:P,reportProgress:b,responseType:i,withCredentials:p,transferCache:x,keepalive:o,cache:u,priority:s,timeout:w,mode:a,redirect:d,credentials:g,referrer:m,integrity:C,referrerPolicy:B})}},I=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(I||{}),Z=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(r,e=200,t="OK"){this.headers=r.headers||new S,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||t,this.url=r.url||null,this.redirected=r.redirected,this.responseType=r.responseType,this.ok=this.status>=200&&this.status<300}},he=class n extends Z{constructor(r={}){super(r)}type=I.ResponseHeader;clone(r={}){return new n({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},X=class n extends Z{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=I.Response;clone(r={}){return new n({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected,responseType:r.responseType??this.responseType})}},_=class extends Z{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},dn=200,lr=204;var fr=/^\)\]\}',?\n/,ln=new E(""),Fe=(()=>{class n{fetchImpl=f(rt,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=f(Q);destroyRef=f(pe);handle(e){return new Ne(t=>{let i=new AbortController;this.doRequest(e,i.signal,t).then(it,s=>t.error(new _({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}async doRequest(e,t,i){let o=this.createRequestInit(e),s;try{let w=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,U({signal:t},o)));hr(w),i.next({type:I.Sent}),s=await w}catch(w){i.error(new _({error:w,status:w.status??0,statusText:w.statusText,url:e.urlWithParams,headers:w.headers}));return}let u=new S(s.headers),a=s.statusText,d=s.url||e.urlWithParams,g=s.status,m=null;if(e.reportProgress&&i.next(new he({headers:u,status:g,statusText:a,url:d})),s.body){let w=s.headers.get("content-length"),h=[],p=s.body.getReader(),b=0,O,D,P=typeof Zone<"u"&&Zone.current,L=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await p.cancel(),L=!0;break}let{done:K,value:Le}=await p.read();if(K)break;if(h.push(Le),b+=Le.length,e.reportProgress){D=e.responseType==="text"?(D??"")+(O??=new TextDecoder).decode(Le,{stream:!0}):void 0;let ut=()=>i.next({type:I.DownloadProgress,total:w?+w:void 0,loaded:b,partialText:D});P?P.run(ut):ut()}}}),L){i.complete();return}let T=this.concatChunks(h,b);try{let K=s.headers.get(fe)??"";m=this.parseBody(e,T,K,g)}catch(K){i.error(new _({error:K,headers:new S(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}g===0&&(g=m?dn:0);let C=g>=200&&g<300,B=s.redirected,x=s.type;C?(i.next(new X({body:m,headers:u,status:g,statusText:a,url:d,redirected:B,responseType:x})),i.complete()):i.error(new _({error:m,headers:u,status:g,statusText:a,url:d,redirected:B,responseType:x}))}parseBody(e,t,i,o){switch(e.responseType){case"json":let s=new TextDecoder().decode(t).replace(fr,"");if(s==="")return null;try{return JSON.parse(s)}catch(u){if(o<200||o>=300)return s;throw u}case"text":return new TextDecoder().decode(t);case"blob":return new Blob([t],{type:i});case"arraybuffer":return t.buffer}}createRequestInit(e){let t={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEach((o,s)=>t[o]=s.join(",")),e.headers.has(Ie)||(t[Ie]=cn),!e.headers.has(fe)){let o=e.detectContentTypeHeader();o!==null&&(t[fe]=o)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,t){let i=new Uint8Array(t),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:n.\u0275fac})}return n})(),rt=class{};function it(){}function hr(n){n.then(it,it)}var pr=/^\)\]\}',?\n/;var ot=(()=>{class n{xhrFactory;tracingService=f(ye,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new y(-2800,!1);let t=this.xhrFactory;return ke(null).pipe(ht(()=>new Ne(o=>{let s=t.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((h,p)=>s.setRequestHeader(h,p.join(","))),e.headers.has(Ie)||s.setRequestHeader(Ie,cn),!e.headers.has(fe)){let h=e.detectContentTypeHeader();h!==null&&s.setRequestHeader(fe,h)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let h=e.responseType.toLowerCase();s.responseType=h!=="json"?h:"text"}let u=e.serializeBody(),a=null,d=()=>{if(a!==null)return a;let h=s.statusText||"OK",p=new S(s.getAllResponseHeaders()),b=s.responseURL||e.url;return a=new he({headers:p,status:s.status,statusText:h,url:b}),a},g=this.maybePropagateTrace(()=>{let{headers:h,status:p,statusText:b,url:O}=d(),D=null;p!==lr&&(D=typeof s.response>"u"?s.responseText:s.response),p===0&&(p=D?dn:0);let P=p>=200&&p<300;if(e.responseType==="json"&&typeof D=="string"){let L=D;D=D.replace(pr,"");try{D=D!==""?JSON.parse(D):null}catch(T){D=L,P&&(P=!1,D={error:T,text:D})}}P?(o.next(new X({body:D,headers:h,status:p,statusText:b,url:O||void 0})),o.complete()):o.error(new _({error:D,headers:h,status:p,statusText:b,url:O||void 0}))}),m=this.maybePropagateTrace(h=>{let{url:p}=d(),b=new _({error:h,status:s.status||0,statusText:s.statusText||"Unknown Error",url:p||void 0});o.error(b)}),C=m;e.timeout&&(C=this.maybePropagateTrace(h=>{let{url:p}=d(),b=new _({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:p||void 0});o.error(b)}));let B=!1,x=this.maybePropagateTrace(h=>{B||(o.next(d()),B=!0);let p={type:I.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),e.responseType==="text"&&s.responseText&&(p.partialText=s.responseText),o.next(p)}),w=this.maybePropagateTrace(h=>{let p={type:I.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),o.next(p)});return s.addEventListener("load",g),s.addEventListener("error",m),s.addEventListener("timeout",C),s.addEventListener("abort",m),e.reportProgress&&(s.addEventListener("progress",x),u!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(u),o.next({type:I.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",g),s.removeEventListener("timeout",C),e.reportProgress&&(s.removeEventListener("progress",x),u!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(t){return new(t||n)(c(V))};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function gr(n,r){return r(n)}function mr(n,r,e){return(t,i)=>gt(e,()=>r(t,o=>n(o,i)))}var fn=new E("",{factory:()=>[]}),hn=new E(""),pn=new E("",{factory:()=>!0});var Pe=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=c(ot),i},providedIn:"root"})}return n})();var Oe=(()=>{class n{backend;injector;chain=null;pendingTasks=f(mt);contributeToStability=f(pn);constructor(e,t){this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(fn),...this.injector.get(hn,[])]));this.chain=t.reduceRight((i,o)=>mr(i,o,this.injector),gr)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ft(t))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||n)(c(Pe),c(xe))};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),st=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=c(Oe),i},providedIn:"root"})}return n})();function nt(n,r){return{body:r,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer,referrerPolicy:n.referrerPolicy}}var gn=(()=>{class n{handler;constructor(e){this.handler=e}request(e,t,i={}){let o;if(e instanceof Y)o=e;else{let a;i.headers instanceof S?a=i.headers:a=new S(i.headers);let d;i.params&&(i.params instanceof R?d=i.params:d=new R({fromObject:i.params})),o=new Y(e,t,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=ke(o).pipe(lt(a=>this.handler.handle(a)));if(e instanceof Y||i.observe==="events")return s;let u=s.pipe(dt(a=>a instanceof X));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(J(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new y(2806,!1);return a.body}));case"blob":return u.pipe(J(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new y(2807,!1);return a.body}));case"text":return u.pipe(J(a=>{if(a.body!==null&&typeof a.body!="string")throw new y(2808,!1);return a.body}));default:return u.pipe(J(a=>a.body))}case"response":return u;default:throw new y(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new R().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,nt(i,t))}post(e,t,i={}){return this.request("POST",e,nt(i,t))}put(e,t,i={}){return this.request("PUT",e,nt(i,t))}static \u0275fac=function(t){return new(t||n)(c(st))};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Dr=new E("",{factory:()=>!0}),yr="XSRF-TOKEN",Er=new E("",{factory:()=>yr}),vr="X-XSRF-TOKEN",wr=new E("",{factory:()=>vr}),Cr=(()=>{class n{cookieName=f(Er);doc=f(v);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ae(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),mn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=c(Cr),i},providedIn:"root"})}return n})();function br(n,r){if(!f(Dr)||n.method==="GET"||n.method==="HEAD")return r(n);try{let i=f(W).href,{origin:o}=new URL(i),{origin:s}=new URL(n.url,o);if(o!==s)return r(n)}catch{return r(n)}let e=f(mn).getToken(),t=f(wr);return e!=null&&!n.headers.has(t)&&(n=n.clone({headers:n.headers.set(t,e)})),r(n)}var at=(function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n})(at||{});function Ar(n,r){return{\u0275kind:n,\u0275providers:r}}function _r(...n){let r=[gn,Oe,{provide:st,useExisting:Oe},{provide:Pe,useFactory:()=>f(ln,{optional:!0})??f(ot)},{provide:fn,useValue:br,multi:!0}];for(let e of n)r.push(...e.\u0275providers);return Be(r)}function Sr(){return Ar(at.Fetch,[Fe,{provide:ln,useExisting:Fe},{provide:Pe,useExisting:Fe}])}var ea=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(c(v))};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Tr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=l({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=c(Fr),i},providedIn:"root"})}return n})(),Fr=(()=>{class n extends Tr{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case j.NONE:return t;case j.HTML:return G(t,"HTML")?N(t):St(this._doc,String(t)).toString();case j.STYLE:return G(t,"Style")?N(t):t;case j.SCRIPT:if(G(t,"Script"))return N(t);throw new y(5200,!1);case j.URL:return G(t,"URL")?N(t):_t(String(t));case j.RESOURCE_URL:if(G(t,"ResourceURL"))return N(t);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return vt(e)}bypassSecurityTrustStyle(e){return wt(e)}bypassSecurityTrustScript(e){return Ct(e)}bypassSecurityTrustUrl(e){return bt(e)}bypassSecurityTrustResourceUrl(e){return At(e)}static \u0275fac=function(t){return new(t||n)(c(v))};static \u0275prov=l({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();export{M as a,Ee as b,$t as c,Cn as d,bn as e,Gt as f,_n as g,Sn as h,Tn as i,Wt as j,bo as k,Ao as l,_o as m,Qn as n,_ as o,gn as p,_r as q,Sr as r,ea as s,Tr as t};
@@ -1 +0,0 @@
1
- import{d as Oe,e as pt,g as ut}from"./chunk-VW2A6WZ3.js";import{o as De,q as Se,r as dt}from"./chunk-AWNZZYAU.js";import{I as Y,J as K,K as ct}from"./chunk-AVGEDQNI.js";import{b as st,i as lt}from"./chunk-Y6VK27P4.js";import{e as at}from"./chunk-L56QU7EF.js";import{$b as be,Ab as se,Db as et,Gb as tt,Jb as nt,Ka as u,Kb as y,L as pe,Q as te,Vb as ot,W as Xe,Wb as Q,X as We,Yb as Ie,Za as F,Zb as C,_b as N,aa as Qe,cb as Je,ha as ye,ja as xe,jc as it,kc as rt,lb as D,ob as k,pb as E,qb as Ze,sb as U,tb as G,ub as $,uc as g,vb as O,wb as P,xb as re,yb as w,yc as S,zb as M}from"./chunk-HAWX5WNM.js";import{d as Ke}from"./chunk-WCABR6TI.js";var Ce="sm-debug-slots",sn="debug-slots",ln="is-debug-slots",mt=(()=>{class e{visible=ye(!1);constructor(){this.visible.set(this.resolveInitial()),xe(()=>{let t=this.visible();document.documentElement.classList.toggle(ln,t)})}toggle(){let t=!this.visible();this.visible.set(t);try{localStorage.setItem(Ce,t?"1":"0")}catch{}}resolveInitial(){let o=new URLSearchParams(window.location.search).get(sn);if(o==="1"||o==="true"){try{localStorage.setItem(Ce,"1")}catch{}return!0}if(o==="0"||o==="false"){try{localStorage.setItem(Ce,"0")}catch{}return!1}try{return localStorage.getItem(Ce)==="1"}catch{return!1}}static \u0275fac=function(o){return new(o||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ft=(()=>{class e{registry=ye({});setRegistry(t){t&&this.registry.set(t)}get(t){return this.registry()[t]}all(){return this.registry()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function X(e){return typeof e=="object"&&e!==null}function ne(e,n){return X(e)&&Array.isArray(e[n])}function we(e,n){return X(e)&&typeof e[n]=="string"}var B={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 cn=(e,n)=>n.label;function dn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();u(),N(t.label())}}function pn(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();u(),N(t.emptyText())}}function un(e,n){if(e&1&&(w(0,"li",4)(1,"span",5),C(2),M(),w(3,"span",6),se(4,"span",7),M(),w(5,"span",8),C(6),M()()),e&2){let t=n.$implicit,o=y(2);D("title",t.tooltip??""),u(2),N(t.label),u(2),ot("width",o.percent(t.value),"%"),u(2),N(t.value)}}function mn(e,n){if(e&1&&(w(0,"ul",3),U(1,un,7,5,"li",4,cn),M()),e&2){let t=y();u(),G(t.entries())}}var gt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return X(t)?ne(t,"entries")?t:{entries:[]}:{entries:[]}});entries=g(()=>this.typed().entries??[]);label=g(()=>this.inputs().label);emptyText=g(()=>this.inputs().emptyText??B.emptyDefault);maxValue=g(()=>this.entries().reduce((o,i)=>i.value>o?i.value:o,0));percent(t){let o=this.maxValue();return o===0?0:Math.round(t/o*100)}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(w(0,"section",0),k(1,dn,2,1,"h5",1),k(2,pn,2,1,"p",2)(3,mn,3,0,"ul",3),M()),o&2&&(D("data-testid","renderer-node-breakdown"),u(),E(i.label()?1:-1),u(),E(i.entries().length===0?2:3))},styles:[".vc-breakdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);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-surface-700);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-surface-600)}.vc-breakdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function fn(e,n){if(e&1&&(w(0,"span",1),C(1),M()),e&2){let t=y(),o=y();Ie(o.hostClass()),u(),N(t.text)}}function gn(e,n){if(e&1&&se(0,"i",1),e&2){let t=y(),o=y();Ie(o.hostClass()+" "+t.cls)}}function vn(e,n){e&1&&k(0,fn,2,3,"span",0)(1,gn,1,2,"i",0),e&2&&E(n.kind==="emoji"?0:1)}function _n(e){if(!e)return null;let n=e.trim();if(n.length===0)return null;let t=n.codePointAt(0)??0;if(!(t>=65&&t<=90||t>=97&&t<=122))return{kind:"emoji",text:n};if(/^pi pi-[a-z0-9-]+$/.test(n))return{kind:"pi",cls:n};if(/^pi-[a-z0-9-]+$/.test(n))return{kind:"pi",cls:`pi ${n}`};if(/^fa-(?:solid|regular|brands) fa-[a-z0-9-]+$/.test(n))return{kind:"fa",cls:n};if(/^fa-[a-z0-9-]+$/.test(n)){let i=n.slice(3);return i==="solid"||i==="regular"||i==="brands"||i.includes("fa-")?null:{kind:"fa",cls:`fa-solid ${n}`}}return null}var ae=(()=>{class e{icon=S(void 0);hostClass=S("");resolved=g(()=>{let t=this.icon(),o=_n(t);return t&&!o&&console.warn(`[sm-icon] Invalid icon string "${t}". Expected emoji, pi-foo, pi pi-foo, fa-{solid|regular|brands} fa-foo, or fa-foo.`),o});static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){if(o&1&&k(0,vn,2,1),o&2){let r;E((r=i.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 hn(e,n){if(e&1&&(O(0,"span",3),C(1),P()),e&2){let t=y();D("aria-label",t.ariaLabel()),u(),N(t.value())}}var fe=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{value:0}:t});value=g(()=>this.typed().value);icon=g(()=>this.inputs().icon);severity=g(()=>this.typed().severity);resolvedTooltip=g(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=g(()=>this.inputs().label??"");static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(O(0,"span",0)(1,"span",1),re(2,"sm-icon",2),P(),k(3,hn,2,2,"span",3),P()),o&2&&(Q("vc-counter--info",i.severity()==="info")("vc-counter--warn",i.severity()==="warn")("vc-counter--success",i.severity()==="success")("vc-counter--danger",i.severity()==="danger"),$("pTooltip",i.resolvedTooltip()),D("data-testid","renderer-node-counter"),u(2),$("icon",i.icon()),u(),E(i.value()>0?3:-1))},dependencies:[K,Y,ae],styles:[".vc-counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.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 yn=(e,n)=>n.key;function xn(e,n){if(e&1&&(O(0,"h5",1),C(1),P()),e&2){let t=y();u(),N(t.label())}}function bn(e,n){if(e&1&&(O(0,"p",2),C(1),P()),e&2){let t=y();u(),N(t.emptyText())}}function Cn(e,n){if(e&1&&(O(0,"dt",4),C(1),P(),O(2,"dd"),C(3),P()),e&2){let t=n.$implicit,o=y(2);$("pTooltip",t.tooltip??""),u(),N(t.key),u(2),N(o.formatValue(t.value))}}function wn(e,n){if(e&1&&(O(0,"dl",3),U(1,Cn,4,3,null,null,yn),P()),e&2){let t=y();u(),G(t.entries())}}var vt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return X(t)?ne(t,"entries")?t:{entries:[]}:{entries:[]}});entries=g(()=>this.typed().entries??[]);label=g(()=>this.inputs().label);emptyText=g(()=>this.inputs().emptyText??B.emptyDefault);formatValue(t){return t==null?"\xB7":typeof t=="boolean"?t?"true":"false":String(t)}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(O(0,"section",0),k(1,xn,2,1,"h5",1),k(2,bn,2,1,"p",2)(3,wn,3,0,"dl",3),P()),o&2&&(D("data-testid","renderer-node-key-values"),u(),E(i.label()?1:-1),u(),E(i.entries().length===0?2:3))},dependencies:[K,Y],styles:[".vc-kv__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);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-surface-600);font-weight:500}.vc-kv__list[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{color:var(--p-surface-800);margin:0;word-break:break-word}.vc-kv__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var Tn=(e,n)=>n.path;function Mn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();u(),N(t.label())}}function Nn(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();u(),N(t.emptyText())}}function kn(e,n){if(e&1&&(w(0,"span",5),C(1),M()),e&2){let t=y().$implicit;u(),N(t.kind)}}function En(e,n){if(e&1){let t=tt();w(0,"li")(1,"button",4),nt("click",function(){let i=Xe(t).$implicit,r=y(2);return We(r.onOpenPath(i.path))}),k(2,kn,2,1,"span",5),w(3,"span",6),C(4),M()()()}if(e&2){let t=n.$implicit;u(2),E(t.kind?2:-1),u(2),N(t.label??t.path)}}function In(e,n){if(e&1&&(w(0,"ul",3),U(1,En,5,2,"li",null,Tn),M()),e&2){let t=y();u(),G(t.entries())}}var _t=(()=>{class e{openIntent=te(dt);inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return X(t)?ne(t,"entries")?t:{entries:[]}:{entries:[]}});entries=g(()=>this.typed().entries??[]);label=g(()=>this.inputs().label);emptyText=g(()=>this.inputs().emptyText??B.emptyDefault);onOpenPath(t){this.openIntent.open(t)}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(w(0,"section",0),k(1,Mn,2,1,"h5",1),k(2,Nn,2,1,"p",2)(3,In,3,0,"ul",3),M()),o&2&&(D("data-testid","renderer-node-link-list"),u(),E(i.label()?1:-1),u(),E(i.entries().length===0?2:3))},styles:[".vc-links__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);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-600);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-surface-500);font-family:var(--p-font-family-mono);font-size:.75rem}.vc-links__label[_ngcontent-%COMP%]{word-break:break-all}.vc-links__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var ht=(e,n)=>n.key;function Dn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();u(),N(t.label())}}function Sn(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();u(),N(t.emptyText())}}function On(e,n){if(e&1&&(w(0,"th"),C(1),M()),e&2){let t=n.$implicit;u(),N(t.label)}}function Pn(e,n){if(e&1&&se(0,"i",4),e&2){let t=y(4);D("aria-label",t.texts.boolTrue)}}function Fn(e,n){if(e&1&&se(0,"i",5),e&2){let t=y(4);D("aria-label",t.texts.boolFalse)}}function An(e,n){}function Ln(e,n){if(e&1&&C(0),e&2){let t=y().$implicit,o=y().$implicit,i=y(2);be(" ",i.cellText(o[t.key])," ")}}function $n(e,n){if(e&1&&(w(0,"td"),k(1,Pn,1,1,"i",4)(2,Fn,1,1,"i",5)(3,An,0,0)(4,Ln,1,1),M()),e&2){let t,o=n.$implicit,i=y().$implicit,r=y(2);u(),E((t=r.cellKind(i[o.key]))==="bool-true"?1:t==="bool-false"?2:t==="empty"?3:4)}}function zn(e,n){if(e&1&&(w(0,"tr"),U(1,$n,5,1,"td",null,ht),M()),e&2){let t=y(2);u(),G(t.columns())}}function Rn(e,n){if(e&1&&(w(0,"table",3)(1,"thead")(2,"tr"),U(3,On,2,1,"th",null,ht),M()(),w(5,"tbody"),U(6,zn,3,0,"tr",null,Ze),M()()),e&2){let t=y();u(3),G(t.columns()),u(3),G(t.rows())}}var yt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return X(t)?!ne(t,"columns")||!ne(t,"rows")?{columns:[],rows:[]}:t:{columns:[],rows:[]}});columns=g(()=>this.typed().columns??[]);rows=g(()=>this.typed().rows??[]);label=g(()=>this.inputs().label);emptyText=g(()=>this.inputs().emptyText??B.emptyDefault);texts=B.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(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(w(0,"section",0),k(1,Dn,2,1,"h5",1),k(2,Sn,2,1,"p",2)(3,Rn,8,0,"table",3),M()),o&2&&(D("data-testid","renderer-node-records"),u(),E(i.label()?1:-1),u(),E(i.rows().length===0?2:3))},styles:[".vc-records__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);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-surface-700);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-surface-800);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:16rem}.vc-records__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);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 jn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();u(),N(t.label())}}function Bn(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();u(),N(t.emptyText())}}function Vn(e,n){if(e&1&&(w(0,"pre",3),C(1),M()),e&2){let t=y();u(),N(t.markdown())}}var xt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return X(t)?we(t,"markdown")?t:{markdown:""}:{markdown:""}});markdown=g(()=>this.typed().markdown??"");label=g(()=>this.inputs().label);emptyText=g(()=>this.inputs().emptyText??B.emptyDefault);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(w(0,"section",0),k(1,jn,2,1,"h5",1),k(2,Bn,2,1,"p",2)(3,Vn,2,1,"pre",3),M()),o&2&&(D("data-testid","renderer-node-markdown"),u(),E(i.label()?1:-1),u(),E(i.markdown()?3:2))},styles:[".vc-markdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-markdown__body[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-800);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-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function Un(e,n){if(e&1&&(O(0,"span",1),C(1),P()),e&2){let t=y();u(),N(t.icon())}}var bt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{label:""}:t});label=g(()=>this.typed().label||"");icon=g(()=>this.inputs().icon);severity=g(()=>this.typed().severity);resolvedTooltip=g(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({type:e,selectors:[["sm-node-tag"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-tag",3,"pTooltip"],["aria-hidden","true",1,"vc-tag__icon"],[1,"vc-tag__label"]],template:function(o,i){o&1&&(O(0,"span",0),k(1,Un,2,1,"span",1),O(2,"span",2),C(3),P()()),o&2&&(Q("vc-tag--info",i.severity()==="info")("vc-tag--warn",i.severity()==="warn")("vc-tag--success",i.severity()==="success")("vc-tag--danger",i.severity()==="danger"),$("pTooltip",i.resolvedTooltip()),D("data-testid","renderer-node-tag"),u(),E(i.icon()?1:-1),u(2),N(i.label()))},dependencies:[K,Y],styles:[".vc-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-tag__icon[_ngcontent-%COMP%]{font-size:.85em;line-height:1;display:block}.vc-tag__label[_ngcontent-%COMP%]{font-weight:500;line-height:1;display:block}.vc-tag--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}"],changeDetection:0})}return e})();var Gn=()=>[],Ct=(e,n)=>n.label;function Hn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();u(),N(t.label())}}function qn(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();u(),N(t.emptyText())}}function Yn(e,n){if(e&1&&(w(0,"span",5),C(1),M()),e&2){let t=y().$implicit;u(),N(t.marker)}}function Kn(e,n){if(e&1&&(w(0,"span",5),C(1),M()),e&2){let t=y().$implicit;u(),N(t.marker)}}function Xn(e,n){if(e&1&&(w(0,"li",4),k(1,Kn,2,1,"span",5),w(2,"span",6),C(3),M()()),e&2){let t=n.$implicit;D("title",t.tooltip??""),u(),E(t.marker?1:-1),u(2),N(t.label)}}function Wn(e,n){if(e&1&&(w(0,"ul",7),U(1,Xn,4,3,"li",4,Ct),M()),e&2){let t=y().$implicit;u(),G(t.children)}}function Qn(e,n){if(e&1&&(w(0,"li",4),k(1,Yn,2,1,"span",5),w(2,"span",6),C(3),M(),k(4,Wn,3,0,"ul",7),M()),e&2){let t=n.$implicit;D("title",t.tooltip??""),u(),E(t.marker?1:-1),u(2),N(t.label),u(),E(t.children&&t.children.length>0?4:-1)}}function Jn(e,n){if(e&1&&(w(0,"ul",3),U(1,Qn,5,4,"li",4,Ct),M()),e&2){let t=y();u(),G(t.root().children??it(0,Gn))}}var wt=(()=>{class e{inputs=S.required();root=g(()=>{let t=this.inputs().payload;return X(t)?we(t,"label")?t.children!==void 0&&!Array.isArray(t.children)?{label:""}:t:{label:""}:{label:""}});rootIsEmpty=g(()=>{let t=this.root();return!t.children||t.children.length===0});label=g(()=>this.inputs().label);emptyText=g(()=>this.inputs().emptyText??B.emptyDefault);static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(w(0,"section",0),k(1,Hn,2,1,"h5",1),k(2,qn,2,1,"p",2)(3,Jn,3,1,"ul",3),M()),o&2&&(D("data-testid","renderer-node-tree"),u(),E(i.label()?1:-1),u(),E(i.rootIsEmpty()?2:3))},styles:[".vc-tree__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);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-surface-800)}.vc-tree__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function Zn(e,n){if(e&1&&(O(0,"span",2),C(1),P()),e&2){let t=y();u(),N(t.formattedCount())}}var Tt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=g(()=>this.typed().icon??this.inputs().icon);severity=g(()=>this.typed().severity);count=g(()=>this.typed().count??null);resolvedTooltip=g(()=>this.typed().tooltip??this.inputs().tooltip??"");formattedCount=g(()=>{let t=this.count();return t===null?"":t>=99?"99+":String(t)});static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(O(0,"span",0),re(1,"sm-icon",1),k(2,Zn,2,1,"span",2),P()),o&2&&(Q("vc-alert--info",i.severity()==="info")("vc-alert--warn",i.severity()==="warn")("vc-alert--success",i.severity()==="success")("vc-alert--danger",i.severity()==="danger"),$("pTooltip",i.resolvedTooltip()),D("data-testid","renderer-node-alert"),u(),$("icon",i.icon()),u(),E(i.count()!==null?2:-1))},dependencies:[K,Y,ae],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 Mt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=g(()=>this.typed().icon??this.inputs().icon);severity=g(()=>this.typed().severity);resolvedTooltip=g(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=g(()=>this.inputs().label??"");static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(O(0,"span",0),re(1,"sm-icon",1),P()),o&2&&(Q("vc-icon--info",i.severity()==="info")("vc-icon--warn",i.severity()==="warn")("vc-icon--success",i.severity()==="success")("vc-icon--danger",i.severity()==="danger"),$("pTooltip",i.resolvedTooltip()),D("aria-label",i.ariaLabel())("data-testid","renderer-node-icon"),u(),$("icon",i.icon()))},dependencies:[K,Y,ae],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 eo(e,n){if(e&1&&(O(0,"span",3),C(1),P()),e&2){let t=y();u(),N(t.label())}}var Nt=(()=>{class e{inputs=S.required();typed=g(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{value:""}:t});value=g(()=>String(this.typed().value??""));label=g(()=>this.typed().label??this.inputs().label);icon=g(()=>this.inputs().icon);severity=g(()=>this.typed().severity);resolvedTooltip=g(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({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(o,i){o&1&&(O(0,"span",0),re(1,"sm-icon",1),O(2,"span",2),C(3),P(),k(4,eo,2,1,"span",3),P()),o&2&&(Q("vc-stat--info",i.severity()==="info")("vc-stat--warn",i.severity()==="warn")("vc-stat--success",i.severity()==="success")("vc-stat--danger",i.severity()==="danger"),$("pTooltip",i.resolvedTooltip()),D("data-testid","renderer-scope-stat"),u(),$("icon",i.icon()),u(2),N(i.value()),u(),E(i.label()?4:-1))},dependencies:[K,Y,ae],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 Pe={"card.title.right":Mt,"card.subtitle.left":fe,"card.footer.left":fe,"card.footer.right":fe,"graph.node.alert":Tt,"inspector.header.badge.counter":fe,"inspector.header.badge.tag":bt,"inspector.body.panel.breakdown":gt,"inspector.body.panel.records":yt,"inspector.body.panel.tree":wt,"inspector.body.panel.key-values":vt,"inspector.body.panel.link-list":_t,"inspector.body.panel.markdown":xt,"topbar.nav.start":Nt};function kt(e){return e in Pe}var le={"topbar.nav.start":{id:"topbar.nav.start",cardinality:"multi",maxItems:3,order:"alphabetical",strategy:"append"},"inspector.header.badge.counter":{id:"inspector.header.badge.counter",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.header.badge.tag":{id:"inspector.header.badge.tag",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"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}};var to=e=>({inputs:e}),no=(e,n)=>n.qualifiedId;function oo(e,n){e&1&&et(0)}function io(e,n){if(e&1&&(O(0,"span",1),Je(1,oo,1,0,"ng-container",3),P()),e&2){let t=n.$implicit,o=y(2);D("data-testid","contribution-"+t.qualifiedId.replaceAll("/","-")),u(),$("ngComponentOutlet",o.rendererFor(t.slot))("ngComponentOutletInputs",rt(3,to,t.rendererInputs))}}function ro(e,n){if(e&1&&(O(0,"span",2),C(1),P()),e&2){let t=y(2);$("pTooltip",t.overflowTooltip()),u(),be(" ",t.overflowBadge()," ")}}function ao(e,n){if(e&1&&(O(0,"span",0),U(1,io,2,5,"span",1,no),k(3,ro,2,2,"span",2),P()),e&2){let t=y();D("data-testid","view-contributions-host-"+t.testidSuffix()),u(),G(t.visible()),u(2),E(t.overflowCount()>0&&t.showOverflowBadge()?3:-1)}}var hr=(()=>{class e{slot=S.required();node=S(null);debugSlots=te(mt);debugVisible=this.debugSlots.visible;testidSuffix=g(()=>this.slot().replaceAll(".","-"));registry=te(ft);dispatched=g(()=>{let t=this.node();if(!t)return[];let o=t.contributions??[];if(o.length===0)return[];let i=this.slot(),r=o.filter(l=>l.slot===i).filter(l=>kt(l.slot));return this.sortBySlotOrder(r,i).map(l=>({qualifiedId:`${l.pluginId}/${l.extensionId}/${l.contributionId}`,slot:l.slot,rendererInputs:this.buildInputs(l,i)}))});visible=g(()=>{let t=this.dispatched(),o=le[this.slot()].maxItems;return t.slice(0,o)});overflowCount=g(()=>{let t=this.dispatched(),o=le[this.slot()].maxItems;return Math.max(0,t.length-o)});showOverflowBadge=g(()=>le[this.slot()].showOverflowBadge!==!1);overflowBadge=g(()=>B.overflowBadge(this.overflowCount()));overflowTooltip=g(()=>{let t=this.dispatched(),o=le[this.slot()].maxItems,i=t.slice(o).map(r=>r.qualifiedId).join(", ");return B.overflowTooltip(i)});rendererFor(t){return Pe[t]}buildInputs(t,o){let i=`${t.pluginId}/${t.extensionId}/${t.contributionId}`,r=this.registry.get(i),l=le[o].respectSeverity!==!1,a=t.payload;if(!l&&typeof a=="object"&&a!==null&&"severity"in a){let s=a,{severity:m}=s;a=Ke(s,["severity"])}let c={pluginId:t.pluginId,extensionId:t.extensionId,contributionId:t.contributionId,payload:a};return r?.label&&(c.label=r.label),r?.tooltip&&(c.tooltip=r.tooltip),r?.icon&&(c.icon=r.icon),r?.emptyText&&(c.emptyText=r.emptyText),c}sortBySlotOrder(t,o){let i=le[o].order;return i==="fifo"?t.slice():i==="priority"?t.slice().sort((r,l)=>{let a=this.priorityFor(r),c=this.priorityFor(l);return a!==c?a-c:Fe(r,l)}):i==="severity"?t.slice().sort((r,l)=>{let a=Et(r),c=Et(l);return a!==c?c-a:Fe(r,l)}):t.slice().sort(Fe)}priorityFor(t){let o=`${t.pluginId}/${t.extensionId}/${t.contributionId}`;return this.registry.get(o)?.priority??100}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=F({type:e,selectors:[["sm-view-contributions-host"]],hostVars:3,hostBindings:function(o,i){o&2&&(D("data-debug-slot",i.debugVisible()?i.slot():null),Q("sm-debug-slot",i.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(o,i){o&1&&k(0,ao,4,2,"span",0),o&2&&E(i.visible().length>0||i.overflowCount()>0?0:-1)},dependencies:[at,K,Y],styles:[".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 Fe(e,n){let t=`${e.pluginId}/${e.extensionId}/${e.contributionId}`,o=`${n.pluginId}/${n.extensionId}/${n.contributionId}`;return t<o?-1:t>o?1:0}function Et(e){let n=e.payload;if(typeof n!="object"||n===null)return 0;switch(n.severity){case"danger":return 4;case"warn":return 3;case"info":return 2;case"success":return 1;default:return 0}}var kr=(()=>{class e{router=te(lt);theme=te(ut);destroyRef=te(Qe);constructor(){this.router.events.pipe(ct(this.destroyRef)).subscribe(t=>{if(t instanceof st){let o=so(t.urlAfterRedirects);o!==null&&Oe(`ui.view.${o}`)}}),xe(()=>this.syncTheme())}trackFeature(t){Oe(`ui.feature.${t}`)}syncTheme(){pt({theme_base:this.theme.resolved(),theme_extra:this.theme.extraTheme()??"none"})}static \u0275fac=function(o){return new(o||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function so(e){let n=e.split("?")[0]??"";return n==="/"||n.startsWith("/map")?"map":n.startsWith("/files")?"files":null}function Ae(e,n){var t,o=1;e==null&&(e=0),n==null&&(n=0);function i(){var r,l=t.length,a,c=0,s=0;for(r=0;r<l;++r)a=t[r],c+=a.x,s+=a.y;for(c=(c/l-e)*o,s=(s/l-n)*o,r=0;r<l;++r)a=t[r],a.x-=c,a.y-=s}return i.initialize=function(r){t=r},i.x=function(r){return arguments.length?(e=+r,i):e},i.y=function(r){return arguments.length?(n=+r,i):n},i.strength=function(r){return arguments.length?(o=+r,i):o},i}function It(e){let n=+this._x.call(null,e),t=+this._y.call(null,e);return Dt(this.cover(n,t),n,t,e)}function Dt(e,n,t,o){if(isNaN(n)||isNaN(t))return e;var i,r=e._root,l={data:o},a=e._x0,c=e._y0,s=e._x1,m=e._y1,h,_,p,T,f,d,v,x;if(!r)return e._root=l,e;for(;r.length;)if((f=n>=(h=(a+s)/2))?a=h:s=h,(d=t>=(_=(c+m)/2))?c=_:m=_,i=r,!(r=r[v=d<<1|f]))return i[v]=l,e;if(p=+e._x.call(null,r.data),T=+e._y.call(null,r.data),n===p&&t===T)return l.next=r,i?i[v]=l:e._root=l,e;do i=i?i[v]=new Array(4):e._root=new Array(4),(f=n>=(h=(a+s)/2))?a=h:s=h,(d=t>=(_=(c+m)/2))?c=_:m=_;while((v=d<<1|f)===(x=(T>=_)<<1|p>=h));return i[x]=r,i[v]=l,e}function St(e){var n,t,o=e.length,i,r,l=new Array(o),a=new Array(o),c=1/0,s=1/0,m=-1/0,h=-1/0;for(t=0;t<o;++t)isNaN(i=+this._x.call(null,n=e[t]))||isNaN(r=+this._y.call(null,n))||(l[t]=i,a[t]=r,i<c&&(c=i),i>m&&(m=i),r<s&&(s=r),r>h&&(h=r));if(c>m||s>h)return this;for(this.cover(c,s).cover(m,h),t=0;t<o;++t)Dt(this,l[t],a[t],e[t]);return this}function Ot(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var t=this._x0,o=this._y0,i=this._x1,r=this._y1;if(isNaN(t))i=(t=Math.floor(e))+1,r=(o=Math.floor(n))+1;else{for(var l=i-t||1,a=this._root,c,s;t>e||e>=i||o>n||n>=r;)switch(s=(n<o)<<1|e<t,c=new Array(4),c[s]=a,a=c,l*=2,s){case 0:i=t+l,r=o+l;break;case 1:t=i-l,r=o+l;break;case 2:i=t+l,o=r-l;break;case 3:t=i-l,o=r-l;break}this._root&&this._root.length&&(this._root=a)}return this._x0=t,this._y0=o,this._x1=i,this._y1=r,this}function Pt(){var e=[];return this.visit(function(n){if(!n.length)do e.push(n.data);while(n=n.next)}),e}function Ft(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 j(e,n,t,o,i){this.node=e,this.x0=n,this.y0=t,this.x1=o,this.y1=i}function At(e,n,t){var o,i=this._x0,r=this._y0,l,a,c,s,m=this._x1,h=this._y1,_=[],p=this._root,T,f;for(p&&_.push(new j(p,i,r,m,h)),t==null?t=1/0:(i=e-t,r=n-t,m=e+t,h=n+t,t*=t);T=_.pop();)if(!(!(p=T.node)||(l=T.x0)>m||(a=T.y0)>h||(c=T.x1)<i||(s=T.y1)<r))if(p.length){var d=(l+c)/2,v=(a+s)/2;_.push(new j(p[3],d,v,c,s),new j(p[2],l,v,d,s),new j(p[1],d,a,c,v),new j(p[0],l,a,d,v)),(f=(n>=v)<<1|e>=d)&&(T=_[_.length-1],_[_.length-1]=_[_.length-1-f],_[_.length-1-f]=T)}else{var x=e-+this._x.call(null,p.data),I=n-+this._y.call(null,p.data),b=x*x+I*I;if(b<t){var A=Math.sqrt(t=b);i=e-A,r=n-A,m=e+A,h=n+A,o=p.data}}return o}function Lt(e){if(isNaN(m=+this._x.call(null,e))||isNaN(h=+this._y.call(null,e)))return this;var n,t=this._root,o,i,r,l=this._x0,a=this._y0,c=this._x1,s=this._y1,m,h,_,p,T,f,d,v;if(!t)return this;if(t.length)for(;;){if((T=m>=(_=(l+c)/2))?l=_:c=_,(f=h>=(p=(a+s)/2))?a=p:s=p,n=t,!(t=t[d=f<<1|T]))return this;if(!t.length)break;(n[d+1&3]||n[d+2&3]||n[d+3&3])&&(o=n,v=d)}for(;t.data!==e;)if(i=t,!(t=t.next))return this;return(r=t.next)&&delete t.next,i?(r?i.next=r:delete i.next,this):n?(r?n[d]=r:delete n[d],(t=n[0]||n[1]||n[2]||n[3])&&t===(n[3]||n[2]||n[1]||n[0])&&!t.length&&(o?o[v]=t:this._root=t),this):(this._root=r,this)}function $t(e){for(var n=0,t=e.length;n<t;++n)this.remove(e[n]);return this}function zt(){return this._root}function Rt(){var e=0;return this.visit(function(n){if(!n.length)do++e;while(n=n.next)}),e}function jt(e){var n=[],t,o=this._root,i,r,l,a,c;for(o&&n.push(new j(o,this._x0,this._y0,this._x1,this._y1));t=n.pop();)if(!e(o=t.node,r=t.x0,l=t.y0,a=t.x1,c=t.y1)&&o.length){var s=(r+a)/2,m=(l+c)/2;(i=o[3])&&n.push(new j(i,s,m,a,c)),(i=o[2])&&n.push(new j(i,r,m,s,c)),(i=o[1])&&n.push(new j(i,s,l,a,m)),(i=o[0])&&n.push(new j(i,r,l,s,m))}return this}function Bt(e){var n=[],t=[],o;for(this._root&&n.push(new j(this._root,this._x0,this._y0,this._x1,this._y1));o=n.pop();){var i=o.node;if(i.length){var r,l=o.x0,a=o.y0,c=o.x1,s=o.y1,m=(l+c)/2,h=(a+s)/2;(r=i[0])&&n.push(new j(r,l,a,m,h)),(r=i[1])&&n.push(new j(r,m,a,c,h)),(r=i[2])&&n.push(new j(r,l,h,m,s)),(r=i[3])&&n.push(new j(r,m,h,c,s))}t.push(o)}for(;o=t.pop();)e(o.node,o.x0,o.y0,o.x1,o.y1);return this}function Vt(e){return e[0]}function Ut(e){return arguments.length?(this._x=e,this):this._x}function Gt(e){return e[1]}function Ht(e){return arguments.length?(this._y=e,this):this._y}function ce(e,n,t){var o=new Le(n??Vt,t??Gt,NaN,NaN,NaN,NaN);return e==null?o:o.addAll(e)}function Le(e,n,t,o,i,r){this._x=e,this._y=n,this._x0=t,this._y0=o,this._x1=i,this._y1=r,this._root=void 0}function qt(e){for(var n={data:e.data},t=n;e=e.next;)t=t.next={data:e.data};return n}var q=ce.prototype=Le.prototype;q.copy=function(){var e=new Le(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root,t,o;if(!n)return e;if(!n.length)return e._root=qt(n),e;for(t=[{source:n,target:e._root=new Array(4)}];n=t.pop();)for(var i=0;i<4;++i)(o=n.source[i])&&(o.length?t.push({source:o,target:n.target[i]=new Array(4)}):n.target[i]=qt(o));return e};q.add=It;q.addAll=St;q.cover=Ot;q.data=Pt;q.extent=Ft;q.find=At;q.remove=Lt;q.removeAll=$t;q.root=zt;q.size=Rt;q.visit=jt;q.visitAfter=Bt;q.x=Ut;q.y=Ht;function L(e){return function(){return e}}function Z(e){return(e()-.5)*1e-6}function lo(e){return e.x+e.vx}function co(e){return e.y+e.vy}function $e(e){var n,t,o,i=1,r=1;typeof e!="function"&&(e=L(e==null?1:+e));function l(){for(var s,m=n.length,h,_,p,T,f,d,v=0;v<r;++v)for(h=ce(n,lo,co).visitAfter(a),s=0;s<m;++s)_=n[s],f=t[_.index],d=f*f,p=_.x+_.vx,T=_.y+_.vy,h.visit(x);function x(I,b,A,V,W){var z=I.data,J=I.r,R=f+J;if(z){if(z.index>_.index){var oe=p-z.x-z.vx,ie=T-z.y-z.vy,ee=oe*oe+ie*ie;ee<R*R&&(oe===0&&(oe=Z(o),ee+=oe*oe),ie===0&&(ie=Z(o),ee+=ie*ie),ee=(R-(ee=Math.sqrt(ee)))/ee*i,_.vx+=(oe*=ee)*(R=(J*=J)/(d+J)),_.vy+=(ie*=ee)*R,z.vx-=oe*(R=1-R),z.vy-=ie*R)}return}return b>p+R||V<p-R||A>T+R||W<T-R}}function a(s){if(s.data)return s.r=t[s.data.index];for(var m=s.r=0;m<4;++m)s[m]&&s[m].r>s.r&&(s.r=s[m].r)}function c(){if(n){var s,m=n.length,h;for(t=new Array(m),s=0;s<m;++s)h=n[s],t[h.index]=+e(h,s,n)}}return l.initialize=function(s,m){n=s,o=m,c()},l.iterations=function(s){return arguments.length?(r=+s,l):r},l.strength=function(s){return arguments.length?(i=+s,l):i},l.radius=function(s){return arguments.length?(e=typeof s=="function"?s:L(+s),c(),l):e},l}function po(e){return e.index}function Yt(e,n){var t=e.get(n);if(!t)throw new Error("node not found: "+n);return t}function ze(e){var n=po,t=h,o,i=L(30),r,l,a,c,s,m=1;e==null&&(e=[]);function h(d){return 1/Math.min(a[d.source.index],a[d.target.index])}function _(d){for(var v=0,x=e.length;v<m;++v)for(var I=0,b,A,V,W,z,J,R;I<x;++I)b=e[I],A=b.source,V=b.target,W=V.x+V.vx-A.x-A.vx||Z(s),z=V.y+V.vy-A.y-A.vy||Z(s),J=Math.sqrt(W*W+z*z),J=(J-r[I])/J*d*o[I],W*=J,z*=J,V.vx-=W*(R=c[I]),V.vy-=z*R,A.vx+=W*(R=1-R),A.vy+=z*R}function p(){if(l){var d,v=l.length,x=e.length,I=new Map(l.map((A,V)=>[n(A,V,l),A])),b;for(d=0,a=new Array(v);d<x;++d)b=e[d],b.index=d,typeof b.source!="object"&&(b.source=Yt(I,b.source)),typeof b.target!="object"&&(b.target=Yt(I,b.target)),a[b.source.index]=(a[b.source.index]||0)+1,a[b.target.index]=(a[b.target.index]||0)+1;for(d=0,c=new Array(x);d<x;++d)b=e[d],c[d]=a[b.source.index]/(a[b.source.index]+a[b.target.index]);o=new Array(x),T(),r=new Array(x),f()}}function T(){if(l)for(var d=0,v=e.length;d<v;++d)o[d]=+t(e[d],d,e)}function f(){if(l)for(var d=0,v=e.length;d<v;++d)r[d]=+i(e[d],d,e)}return _.initialize=function(d,v){l=d,s=v,p()},_.links=function(d){return arguments.length?(e=d,p(),_):e},_.id=function(d){return arguments.length?(n=d,_):n},_.iterations=function(d){return arguments.length?(m=+d,_):m},_.strength=function(d){return arguments.length?(t=typeof d=="function"?d:L(+d),T(),_):t},_.distance=function(d){return arguments.length?(i=typeof d=="function"?d:L(+d),f(),_):i},_}var uo={value:()=>{}};function Xt(){for(var e=0,n=arguments.length,t={},o;e<n;++e){if(!(o=arguments[e]+"")||o in t||/[\s.]/.test(o))throw new Error("illegal type: "+o);t[o]=[]}return new Te(t)}function Te(e){this._=e}function mo(e,n){return e.trim().split(/^|\s+/).map(function(t){var o="",i=t.indexOf(".");if(i>=0&&(o=t.slice(i+1),t=t.slice(0,i)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:o}})}Te.prototype=Xt.prototype={constructor:Te,on:function(e,n){var t=this._,o=mo(e+"",t),i,r=-1,l=o.length;if(arguments.length<2){for(;++r<l;)if((i=(e=o[r]).type)&&(i=fo(t[i],e.name)))return i;return}if(n!=null&&typeof n!="function")throw new Error("invalid callback: "+n);for(;++r<l;)if(i=(e=o[r]).type)t[i]=Kt(t[i],e.name,n);else if(n==null)for(i in t)t[i]=Kt(t[i],e.name,null);return this},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new Te(e)},call:function(e,n){if((i=arguments.length-2)>0)for(var t=new Array(i),o=0,i,r;o<i;++o)t[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(n,t)},apply:function(e,n,t){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var o=this._[e],i=0,r=o.length;i<r;++i)o[i].value.apply(n,t)}};function fo(e,n){for(var t=0,o=e.length,i;t<o;++t)if((i=e[t]).name===n)return i.value}function Kt(e,n,t){for(var o=0,i=e.length;o<i;++o)if(e[o].name===n){e[o]=uo,e=e.slice(0,o).concat(e.slice(o+1));break}return t!=null&&e.push({name:n,value:t}),e}var Re=Xt;var me=0,ve=0,ge=0,Qt=1e3,Me,_e,Ne=0,de=0,ke=0,he=typeof performance=="object"&&performance.now?performance:Date,Jt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ve(){return de||(Jt(go),de=he.now()+ke)}function go(){de=0}function je(){this._call=this._time=this._next=null}je.prototype=Ee.prototype={constructor:je,restart:function(e,n,t){if(typeof e!="function")throw new TypeError("callback is not a function");t=(t==null?Ve():+t)+(n==null?0:+n),!this._next&&_e!==this&&(_e?_e._next=this:Me=this,_e=this),this._call=e,this._time=t,Be()},stop:function(){this._call&&(this._call=null,this._time=1/0,Be())}};function Ee(e,n,t){var o=new je;return o.restart(e,n,t),o}function Zt(){Ve(),++me;for(var e=Me,n;e;)(n=de-e._time)>=0&&e._call.call(void 0,n),e=e._next;--me}function Wt(){de=(Ne=he.now())+ke,me=ve=0;try{Zt()}finally{me=0,_o(),de=0}}function vo(){var e=he.now(),n=e-Ne;n>Qt&&(ke-=n,Ne=e)}function _o(){for(var e,n=Me,t,o=1/0;n;)n._call?(o>n._time&&(o=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Me=t);_e=e,Be(o)}function Be(e){if(!me){ve&&(ve=clearTimeout(ve));var n=e-de;n>24?(e<1/0&&(ve=setTimeout(Wt,e-he.now()-ke)),ge&&(ge=clearInterval(ge))):(ge||(Ne=he.now(),ge=setInterval(vo,Qt)),me=1,Jt(Wt))}}function en(){let e=1;return()=>(e=(1664525*e+1013904223)%4294967296)/4294967296}function tn(e){return e.x}function nn(e){return e.y}var ho=10,yo=Math.PI*(3-Math.sqrt(5));function Ue(e){var n,t=1,o=.001,i=1-Math.pow(o,1/300),r=0,l=.6,a=new Map,c=Ee(h),s=Re("tick","end"),m=en();e==null&&(e=[]);function h(){_(),s.call("tick",n),t<o&&(c.stop(),s.call("end",n))}function _(f){var d,v=e.length,x;f===void 0&&(f=1);for(var I=0;I<f;++I)for(t+=(r-t)*i,a.forEach(function(b){b(t)}),d=0;d<v;++d)x=e[d],x.fx==null?x.x+=x.vx*=l:(x.x=x.fx,x.vx=0),x.fy==null?x.y+=x.vy*=l:(x.y=x.fy,x.vy=0);return n}function p(){for(var f=0,d=e.length,v;f<d;++f){if(v=e[f],v.index=f,v.fx!=null&&(v.x=v.fx),v.fy!=null&&(v.y=v.fy),isNaN(v.x)||isNaN(v.y)){var x=ho*Math.sqrt(.5+f),I=f*yo;v.x=x*Math.cos(I),v.y=x*Math.sin(I)}(isNaN(v.vx)||isNaN(v.vy))&&(v.vx=v.vy=0)}}function T(f){return f.initialize&&f.initialize(e,m),f}return p(),n={tick:_,restart:function(){return c.restart(h),n},stop:function(){return c.stop(),n},nodes:function(f){return arguments.length?(e=f,p(),a.forEach(T),n):e},alpha:function(f){return arguments.length?(t=+f,n):t},alphaMin:function(f){return arguments.length?(o=+f,n):o},alphaDecay:function(f){return arguments.length?(i=+f,n):+i},alphaTarget:function(f){return arguments.length?(r=+f,n):r},velocityDecay:function(f){return arguments.length?(l=1-f,n):1-l},randomSource:function(f){return arguments.length?(m=f,a.forEach(T),n):m},force:function(f,d){return arguments.length>1?(d==null?a.delete(f):a.set(f,T(d)),n):a.get(f)},find:function(f,d,v){var x=0,I=e.length,b,A,V,W,z;for(v==null?v=1/0:v*=v,x=0;x<I;++x)W=e[x],b=f-W.x,A=d-W.y,V=b*b+A*A,V<v&&(z=W,v=V);return z},on:function(f,d){return arguments.length>1?(s.on(f,d),n):s.on(f)}}}function Ge(){var e,n,t,o,i=L(-30),r,l=1,a=1/0,c=.81;function s(p){var T,f=e.length,d=ce(e,tn,nn).visitAfter(h);for(o=p,T=0;T<f;++T)n=e[T],d.visit(_)}function m(){if(e){var p,T=e.length,f;for(r=new Array(T),p=0;p<T;++p)f=e[p],r[f.index]=+i(f,p,e)}}function h(p){var T=0,f,d,v=0,x,I,b;if(p.length){for(x=I=b=0;b<4;++b)(f=p[b])&&(d=Math.abs(f.value))&&(T+=f.value,v+=d,x+=d*f.x,I+=d*f.y);p.x=x/v,p.y=I/v}else{f=p,f.x=f.data.x,f.y=f.data.y;do T+=r[f.data.index];while(f=f.next)}p.value=T}function _(p,T,f,d){if(!p.value)return!0;var v=p.x-n.x,x=p.y-n.y,I=d-T,b=v*v+x*x;if(I*I/c<b)return b<a&&(v===0&&(v=Z(t),b+=v*v),x===0&&(x=Z(t),b+=x*x),b<l&&(b=Math.sqrt(l*b)),n.vx+=v*p.value*o/b,n.vy+=x*p.value*o/b),!0;if(p.length||b>=a)return;(p.data!==n||p.next)&&(v===0&&(v=Z(t),b+=v*v),x===0&&(x=Z(t),b+=x*x),b<l&&(b=Math.sqrt(l*b)));do p.data!==n&&(I=r[p.data.index]*o/b,n.vx+=v*I,n.vy+=x*I);while(p=p.next)}return s.initialize=function(p,T){e=p,t=T,m()},s.strength=function(p){return arguments.length?(i=typeof p=="function"?p:L(+p),m(),s):i},s.distanceMin=function(p){return arguments.length?(l=p*p,s):Math.sqrt(l)},s.distanceMax=function(p){return arguments.length?(a=p*p,s):Math.sqrt(a)},s.theta=function(p){return arguments.length?(c=p*p,s):Math.sqrt(c)},s}function He(e){var n=L(.1),t,o,i;typeof e!="function"&&(e=L(e==null?0:+e));function r(a){for(var c=0,s=t.length,m;c<s;++c)m=t[c],m.vx+=(i[c]-m.x)*o[c]*a}function l(){if(t){var a,c=t.length;for(o=new Array(c),i=new Array(c),a=0;a<c;++a)o[a]=isNaN(i[a]=+e(t[a],a,t))?0:+n(t[a],a,t)}}return r.initialize=function(a){t=a,l()},r.strength=function(a){return arguments.length?(n=typeof a=="function"?a:L(+a),l(),r):n},r.x=function(a){return arguments.length?(e=typeof a=="function"?a:L(+a),l(),r):e},r}function qe(e){var n=L(.1),t,o,i;typeof e!="function"&&(e=L(e==null?0:+e));function r(a){for(var c=0,s=t.length,m;c<s;++c)m=t[c],m.vy+=(i[c]-m.y)*o[c]*a}function l(){if(t){var a,c=t.length;for(o=new Array(c),i=new Array(c),a=0;a<c;++a)o[a]=isNaN(i[a]=+e(t[a],a,t))?0:+n(t[a],a,t)}}return r.initialize=function(a){t=a,l()},r.strength=function(a){return arguments.length?(n=typeof a=="function"?a:L(+a),l(),r):n},r.y=function(a){return arguments.length?(e=typeof a=="function"?a:L(+a),l(),r):e},r}var xo=["network-simplex","longest-path","force"];function Ga(e){return e!=="force"}function Ha(e){return e!=="force"}var bo=["TOP_BOTTOM","BOTTOM_TOP","LEFT_RIGHT","RIGHT_LEFT"],Co=["compact","normal","spacious"],on={compact:{nodeGap:40,layerGap:56},normal:{nodeGap:64,layerGap:96},spacious:{nodeGap:96,layerGap:144}},qa="network-simplex",Ya="TOP_BOTTOM",Ka="normal";function Xa(e){return typeof e=="string"&&xo.includes(e)}function Wa(e){return typeof e=="string"&&bo.includes(e)}function Qa(e){return typeof e=="string"&&Co.includes(e)}var Ye=260,rn=120;function is(e,n){let t=n?.links??[],o=new Set(e.map(h=>h.path)),i=De(e),r=new Set,l=0,a=0,c=0,s=0,m=0;for(let h of t){if(!o.has(h.source)){l++;continue}let _=Se(h.target,h.trigger?.normalizedTrigger??null,i);if(!o.has(_)){a++;continue}if(h.source===_){c++;continue}let p=an(h.kind,h.source,_);if(r.has(p)){s++;continue}r.add(p),m++}return{raw:t.length,drawn:m,brokenSource:l,brokenTarget:a,selfLoops:c,duplicates:s}}function rs(e,n){let t=e.map(i=>i.path).sort(),o=n.map(i=>i.id).sort();return`${t.length}|${t.join(",")}|${o.length}|${o.join(",")}`}function as(e,n){let t=new Set(e.map(s=>s.path)),o=De(e),i=new Map,r=n?.links??[];for(let s of r){if(!t.has(s.source))continue;let m=Se(s.target,s.trigger?.normalizedTrigger??null,o);if(!t.has(m)||s.source===m)continue;let h=an(s.kind,s.source,m),_=typeof s.confidence=="number"?s.confidence:.6,p=i.get(h);p?_>p.confidence&&(p.confidence=_):i.set(h,{id:h,from:s.source,to:m,kind:s.kind,confidence:_})}let l=[...i.values()],a=new Map;for(let s of e)a.set(s.path,s);let c=new Map;for(let s of n?.nodes??[])c.set(s.path,s);return{nodesByPath:a,apiNodesByPath:c,edges:l}}async function ss(e,n,t,o){let i={width:Ye,height:rn},r=n.map(m=>({id:m.path,size:i})),l=t.map(m=>({source:m.from,target:m.to})),a=on[o.spacing],c=await e.calculate(r,l,{algorithm:o.algorithm,direction:o.direction,nodeGap:a.nodeGap,layerGap:a.layerGap}),s=new Map;for(let{id:m,position:h}of c.nodes)s.set(m,{x:h.x,y:h.y});return s}function ls(e,n){let t=e.map(a=>({id:a.path})),o=n.map(a=>({source:a.from,target:a.to})),i=Ue(t).force("link",ze(o).id(a=>a.id).distance(90).strength(1)).force("charge",Ge().strength(-200)).force("center",Ae(0,0)).force("x",He(0).strength(.06)).force("y",qe(0).strength(.06)).force("collide",$e(Ye/2+12)).stop(),r=400;for(let a=0;a<r;a++)i.tick();let l=new Map;for(let a of t)l.set(a.id,{x:(a.x??0)-Ye/2,y:(a.y??0)-rn/2});return l}function cs(e,n,t,o=null){let i=e.edges.filter(c=>n.has(c.from)&&n.has(c.to)&&(o===null||o.has(c.kind))),r=new Map,l=new Map;for(let c of i)r.set(c.from,(r.get(c.from)??0)+1),l.set(c.to,(l.get(c.to)??0)+1);let a=[];for(let c of n){let s=e.nodesByPath.get(c);if(!s)continue;let m=e.apiNodesByPath.get(c),h=t.get(c),_=e.positions.get(c)??{x:0,y:0},p=h?{x:h.x,y:h.y}:_;a.push({id:c,path:c,view:s,kind:s.kind,position:p,stats:{linksIn:l.get(c)??0,linksOut:r.get(c)??0,bytesTotal:m?.bytes.total,tokensTotal:m?.tokens?.total,externalRefsCount:m?.externalRefsCount},summary:wo(s)})}return{nodes:a,edges:i}}function wo(e){let n={injectionDetected:!1,contentQuality:"clean"},t=(e.frontmatter.description??e.frontmatter.name??"").trim();return{kind:"markdown",confidence:.6,safety:n,whatItCovers:t||`${e.kind} entry`,topics:[],keyFacts:[]}}function an(e,n,t){return`${e}:${n}::${t}`}export{xo as a,Ga as b,Ha as c,bo as d,Co as e,qa as f,Ya as g,Ka as h,Xa as i,Wa as j,Qa as k,mt as l,ft as m,hr as n,kr as o,is as p,rs as q,as as r,ss as s,ls as t,cs as u};
@@ -1,107 +0,0 @@
1
- import{A as pe,R as de,a as se,j as G,k as C,l as le,m as U,p as Y,q as Z,w as g}from"./chunk-AVGEDQNI.js";import{d as Q,g as K,i as H,j as q}from"./chunk-L56QU7EF.js";import{Ab as ee,Bb as k,Cb as E,Gb as S,Ha as ne,Hb as ie,Ib as M,Ic as B,Ka as c,Kb as a,L as b,Lb as P,M as L,Mb as j,Nb as R,O as D,Pb as T,Q as m,Qb as w,Ub as oe,W as h,X as v,Xb as re,Y as V,Yb as l,Za as I,Zb as z,_a as A,_b as O,ab as N,bb as x,ca as W,cb as d,ic as $,la as y,lb as f,rc as ae,ub as r,uc as ce,vb as u,wb as _,xb as F,yb as X,zb as J}from"./chunk-HAWX5WNM.js";var Xe=(()=>{class e{loader=m(de);bySeverity=ce(()=>{let t=this.loader.scan(),i=new Set,n=new Set;if(!t)return{errors:i,warns:n};for(let o of t.issues){let p=o.severity==="error"?i:o.severity==="warn"?n:null;if(p)for(let ye of o.nodeIds)p.add(ye)}return{errors:i,warns:n}});static \u0275fac=function(i){return new(i||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var me=`
2
- .p-tag {
3
- display: inline-flex;
4
- align-items: center;
5
- justify-content: center;
6
- background: dt('tag.primary.background');
7
- color: dt('tag.primary.color');
8
- font-size: dt('tag.font.size');
9
- font-weight: dt('tag.font.weight');
10
- padding: dt('tag.padding');
11
- border-radius: dt('tag.border.radius');
12
- gap: dt('tag.gap');
13
- }
14
-
15
- .p-tag-icon {
16
- font-size: dt('tag.icon.size');
17
- width: dt('tag.icon.size');
18
- height: dt('tag.icon.size');
19
- }
20
-
21
- .p-tag-rounded {
22
- border-radius: dt('tag.rounded.border.radius');
23
- }
24
-
25
- .p-tag-success {
26
- background: dt('tag.success.background');
27
- color: dt('tag.success.color');
28
- }
29
-
30
- .p-tag-info {
31
- background: dt('tag.info.background');
32
- color: dt('tag.info.color');
33
- }
34
-
35
- .p-tag-warn {
36
- background: dt('tag.warn.background');
37
- color: dt('tag.warn.color');
38
- }
39
-
40
- .p-tag-danger {
41
- background: dt('tag.danger.background');
42
- color: dt('tag.danger.color');
43
- }
44
-
45
- .p-tag-secondary {
46
- background: dt('tag.secondary.background');
47
- color: dt('tag.secondary.color');
48
- }
49
-
50
- .p-tag-contrast {
51
- background: dt('tag.contrast.background');
52
- color: dt('tag.contrast.color');
53
- }
54
- `;var Ie=["icon"],xe=["*"];function Te(e,s){if(e&1&&F(0,"span",4),e&2){let t=a(2);l(t.cx("icon")),r("ngClass",t.icon)("pBind",t.ptm("icon"))}}function we(e,s){if(e&1&&(k(0),d(1,Te,1,4,"span",3),E()),e&2){let t=a();c(),r("ngIf",t.icon)}}function ke(e,s){}function Ee(e,s){e&1&&d(0,ke,0,0,"ng-template")}function Se(e,s){if(e&1&&(u(0,"span",2),d(1,Ee,1,0,null,5),_()),e&2){let t=a();l(t.cx("icon")),r("pBind",t.ptm("icon")),c(),r("ngTemplateOutlet",t.iconTemplate||t._iconTemplate)}}var Me={root:({instance:e})=>["p-tag p-component",{"p-tag-info":e.severity==="info","p-tag-success":e.severity==="success","p-tag-warn":e.severity==="warn","p-tag-danger":e.severity==="danger","p-tag-secondary":e.severity==="secondary","p-tag-contrast":e.severity==="contrast","p-tag-rounded":e.rounded}],icon:"p-tag-icon",label:"p-tag-label"},ge=(()=>{class e extends U{name="tag";style=me;classes=Me;static \u0275fac=(()=>{let t;return function(n){return(t||(t=y(e)))(n||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var fe=new D("TAG_INSTANCE"),Be=(()=>{class e extends Z{componentName="Tag";$pcTag=m(fe,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=m(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}styleClass;severity;value;icon;rounded;iconTemplate;templates;_iconTemplate;_componentStyle=m(ge);onAfterContentInit(){this.templates?.forEach(t=>{t.getType()==="icon"&&(this._iconTemplate=t.template)})}get dataP(){return this.cn({rounded:this.rounded,[this.severity]:this.severity})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=y(e)))(n||e)}})();static \u0275cmp=I({type:e,selectors:[["p-tag"]],contentQueries:function(i,n,o){if(i&1&&R(o,Ie,4)(o,G,4),i&2){let p;T(p=w())&&(n.iconTemplate=p.first),T(p=w())&&(n.templates=p)}},hostVars:3,hostBindings:function(i,n){i&2&&(f("data-p",n.dataP),l(n.cn(n.cx("root"),n.styleClass)))},inputs:{styleClass:"styleClass",severity:"severity",value:"value",icon:"icon",rounded:[2,"rounded","rounded",B]},features:[$([ge,{provide:fe,useExisting:e},{provide:Y,useExisting:e}]),N([g]),x],ngContentSelectors:xe,decls:5,vars:6,consts:[[4,"ngIf"],[3,"class","pBind",4,"ngIf"],[3,"pBind"],[3,"class","ngClass","pBind",4,"ngIf"],[3,"ngClass","pBind"],[4,"ngTemplateOutlet"]],template:function(i,n){i&1&&(P(),j(0),d(1,we,2,1,"ng-container",0)(2,Se,2,4,"span",1),u(3,"span",2),z(4),_()),i&2&&(c(),r("ngIf",!n.iconTemplate&&!n._iconTemplate),c(),r("ngIf",n.iconTemplate||n._iconTemplate),c(),l(n.cx("label")),r("pBind",n.ptm("label")),c(),O(n.value))},dependencies:[q,Q,K,H,C,g],encapsulation:2,changeDetection:0})}return e})(),_t=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=A({type:e});static \u0275inj=L({imports:[Be,C,C]})}return e})();var yt={llm:{when:{label:"when",tooltip:"When to use (LLM-inferred)"},style:{label:"style",tooltip:"Interaction style (LLM-inferred)"},does:{label:"does",tooltip:"Capabilities (LLM-inferred)"},steps:{label:"steps",tooltip:"Recipe / ordered steps (LLM-inferred)"},pre:{label:"pre",tooltip:"Preconditions (LLM-inferred)"},out:{label:"out",tooltip:"Outputs / produced artifacts (LLM-inferred)"},fx:{label:"fx",tooltip:"Side effects (LLM-inferred)"},eg:{label:"eg",tooltip:"Invocation example (LLM-inferred)"},topics:{label:"topics",tooltip:"Topics covered (LLM-inferred)"},facts:{label:"facts",tooltip:"Key facts (LLM-inferred discrete claims)"}},meta:{model:"model",allowed:"allowed",tags:"tags"},stats:{errors:e=>`${e} error${e===1?"":"s"}`,warns:e=>`${e} warning${e===1?"":"s"}`,bytes:e=>`${e.toLocaleString("en-US")} bytes`,tokens:e=>`${e.toLocaleString("en-US")} tokens`},stability:{experimental:"experimental",deprecated:"deprecated"},sidecar:{staleBody:"Stale: body content changed since the last bump.",staleFrontmatter:"Stale: frontmatter changed since the last bump.",staleBoth:"Stale: body and frontmatter changed since the last bump."},tagOverflow:e=>`+${e} more`,ariaExpand:"Expand",ariaFavoriteAdd:"Add to favorites",ariaFavoriteRemove:"Remove from favorites",favoriteAddTooltip:"Mark as favorite",favoriteRemoveTooltip:"Unfavorite"};var bt={stable:"success",experimental:"info",deprecated:"warn"},It={invokes:"warn",references:"info",mentions:"secondary",supersedes:"success"};function Le(e){return e>=.75?"high":e>=.45?"medium":"low"}function xt(e){let s=Le(e);return s==="high"?"success":s==="medium"?"info":"warn"}var De=["data-p-icon","times-circle"],ue=(()=>{class e extends pe{pathId;onInit(){this.pathId="url(#"+se()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=y(e)))(n||e)}})();static \u0275cmp=I({type:e,selectors:[["","data-p-icon","times-circle"]],features:[x],attrs:De,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(V(),X(0,"g"),ee(1,"path",0),J(),X(2,"defs")(3,"clipPath",1),ee(4,"rect",2),J()()),i&2&&(f("clip-path",n.pathId),c(3),ie("id",n.pathId))},encapsulation:2})}return e})();var _e=`
55
- .p-chip {
56
- display: inline-flex;
57
- align-items: center;
58
- background: dt('chip.background');
59
- color: dt('chip.color');
60
- border-radius: dt('chip.border.radius');
61
- padding-block: dt('chip.padding.y');
62
- padding-inline: dt('chip.padding.x');
63
- gap: dt('chip.gap');
64
- }
65
-
66
- .p-chip-icon {
67
- color: dt('chip.icon.color');
68
- font-size: dt('chip.icon.size');
69
- width: dt('chip.icon.size');
70
- height: dt('chip.icon.size');
71
- }
72
-
73
- .p-chip-image {
74
- border-radius: 50%;
75
- width: dt('chip.image.width');
76
- height: dt('chip.image.height');
77
- margin-inline-start: calc(-1 * dt('chip.padding.y'));
78
- }
79
-
80
- .p-chip:has(.p-chip-remove-icon) {
81
- padding-inline-end: dt('chip.padding.y');
82
- }
83
-
84
- .p-chip:has(.p-chip-image) {
85
- padding-block-start: calc(dt('chip.padding.y') / 2);
86
- padding-block-end: calc(dt('chip.padding.y') / 2);
87
- }
88
-
89
- .p-chip-remove-icon {
90
- cursor: pointer;
91
- font-size: dt('chip.remove.icon.size');
92
- width: dt('chip.remove.icon.size');
93
- height: dt('chip.remove.icon.size');
94
- color: dt('chip.remove.icon.color');
95
- border-radius: 50%;
96
- transition:
97
- outline-color dt('chip.transition.duration'),
98
- box-shadow dt('chip.transition.duration');
99
- outline-color: transparent;
100
- }
101
-
102
- .p-chip-remove-icon:focus-visible {
103
- box-shadow: dt('chip.remove.icon.focus.ring.shadow');
104
- outline: dt('chip.remove.icon.focus.ring.width') dt('chip.remove.icon.focus.ring.style') dt('chip.remove.icon.focus.ring.color');
105
- outline-offset: dt('chip.remove.icon.focus.ring.offset');
106
- }
107
- `;var Ve=["removeicon"],Ae=["*"];function Ne(e,s){if(e&1){let t=S();u(0,"img",4),M("error",function(n){h(t);let o=a();return v(o.imageError(n))}),_()}if(e&2){let t=a();l(t.cx("image")),r("pBind",t.ptm("image"))("src",t.image,ne)("alt",t.alt)}}function Fe(e,s){if(e&1&&F(0,"span",6),e&2){let t=a(2);l(t.icon),r("pBind",t.ptm("icon"))("ngClass",t.cx("icon"))}}function Pe(e,s){if(e&1&&d(0,Fe,1,4,"span",5),e&2){let t=a();r("ngIf",t.icon)}}function je(e,s){if(e&1&&(u(0,"div",7),z(1),_()),e&2){let t=a();l(t.cx("label")),r("pBind",t.ptm("label")),c(),O(t.label)}}function Re(e,s){if(e&1){let t=S();u(0,"span",11),M("click",function(n){h(t);let o=a(3);return v(o.close(n))})("keydown",function(n){h(t);let o=a(3);return v(o.onKeydown(n))}),_()}if(e&2){let t=a(3);l(t.removeIcon),r("pBind",t.ptm("removeIcon"))("ngClass",t.cx("removeIcon")),f("tabindex",t.disabled?-1:0)("aria-label",t.removeAriaLabel)}}function ze(e,s){if(e&1){let t=S();V(),u(0,"svg",12),M("click",function(n){h(t);let o=a(3);return v(o.close(n))})("keydown",function(n){h(t);let o=a(3);return v(o.onKeydown(n))}),_()}if(e&2){let t=a(3);l(t.cx("removeIcon")),r("pBind",t.ptm("removeIcon")),f("tabindex",t.disabled?-1:0)("aria-label",t.removeAriaLabel)}}function Oe(e,s){if(e&1&&(k(0),d(1,Re,1,6,"span",9)(2,ze,1,5,"svg",10),E()),e&2){let t=a(2);c(),r("ngIf",t.removeIcon),c(),r("ngIf",!t.removeIcon)}}function $e(e,s){}function Qe(e,s){e&1&&d(0,$e,0,0,"ng-template")}function Ke(e,s){if(e&1){let t=S();u(0,"span",13),M("click",function(n){h(t);let o=a(2);return v(o.close(n))})("keydown",function(n){h(t);let o=a(2);return v(o.onKeydown(n))}),d(1,Qe,1,0,null,14),_()}if(e&2){let t=a(2);l(t.cx("removeIcon")),r("pBind",t.ptm("removeIcon")),f("tabindex",t.disabled?-1:0)("aria-label",t.removeAriaLabel),c(),r("ngTemplateOutlet",t.removeIconTemplate||t._removeIconTemplate)}}function He(e,s){if(e&1&&(k(0),d(1,Oe,3,2,"ng-container",3)(2,Ke,2,6,"span",8),E()),e&2){let t=a();c(),r("ngIf",!t.removeIconTemplate&&!t._removeIconTemplate),c(),r("ngIf",t.removeIconTemplate||t._removeIconTemplate)}}var qe={root:({instance:e})=>({display:!e.visible&&"none"})},Ge={root:({instance:e})=>["p-chip p-component",{"p-disabled":e.disabled}],image:"p-chip-image",icon:"p-chip-icon",label:"p-chip-label",removeIcon:"p-chip-remove-icon"},he=(()=>{class e extends U{name="chip";style=_e;classes=Ge;inlineStyles=qe;static \u0275fac=(()=>{let t;return function(n){return(t||(t=y(e)))(n||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var ve=new D("CHIP_INSTANCE"),Ue=(()=>{class e extends Z{componentName="Chip";$pcChip=m(ve,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=m(g,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}label;icon;image;alt;styleClass;disabled=!1;removable=!1;removeIcon;onRemove=new W;onImageError=new W;visible=!0;get removeAriaLabel(){return this.config.getTranslation(le.ARIA).removeLabel}get chipProps(){return this._chipProps}set chipProps(t){this._chipProps=t,t&&typeof t=="object"&&Object.entries(t).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n))}_chipProps;_componentStyle=m(he);removeIconTemplate;templates;_removeIconTemplate;onAfterContentInit(){this.templates.forEach(t=>{t.getType()==="removeicon"?this._removeIconTemplate=t.template:this._removeIconTemplate=t.template})}onChanges(t){if(t.chipProps&&t.chipProps.currentValue){let{currentValue:i}=t.chipProps;i.label!==void 0&&(this.label=i.label),i.icon!==void 0&&(this.icon=i.icon),i.image!==void 0&&(this.image=i.image),i.alt!==void 0&&(this.alt=i.alt),i.styleClass!==void 0&&(this.styleClass=i.styleClass),i.removable!==void 0&&(this.removable=i.removable),i.removeIcon!==void 0&&(this.removeIcon=i.removeIcon)}}close(t){this.visible=!1,this.onRemove.emit(t)}onKeydown(t){(t.key==="Enter"||t.key==="Backspace")&&this.close(t)}imageError(t){this.onImageError.emit(t)}get dataP(){return this.cn({removable:this.removable})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=y(e)))(n||e)}})();static \u0275cmp=I({type:e,selectors:[["p-chip"]],contentQueries:function(i,n,o){if(i&1&&R(o,Ve,4)(o,G,4),i&2){let p;T(p=w())&&(n.removeIconTemplate=p.first),T(p=w())&&(n.templates=p)}},hostVars:6,hostBindings:function(i,n){i&2&&(f("aria-label",n.label)("data-p",n.dataP),re(n.sx("root")),l(n.cn(n.cx("root"),n.styleClass)))},inputs:{label:"label",icon:"icon",image:"image",alt:"alt",styleClass:"styleClass",disabled:[2,"disabled","disabled",B],removable:[2,"removable","removable",B],removeIcon:"removeIcon",chipProps:"chipProps"},outputs:{onRemove:"onRemove",onImageError:"onImageError"},features:[$([he,{provide:ve,useExisting:e},{provide:Y,useExisting:e}]),N([g]),x],ngContentSelectors:Ae,decls:6,vars:4,consts:[["iconTemplate",""],[3,"pBind","class","src","alt","error",4,"ngIf","ngIfElse"],[3,"pBind","class",4,"ngIf"],[4,"ngIf"],[3,"error","pBind","src","alt"],[3,"pBind","class","ngClass",4,"ngIf"],[3,"pBind","ngClass"],[3,"pBind"],["role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"pBind","class","ngClass","click","keydown",4,"ngIf"],["data-p-icon","times-circle","role","button",3,"pBind","class","click","keydown",4,"ngIf"],["role","button",3,"click","keydown","pBind","ngClass"],["data-p-icon","times-circle","role","button",3,"click","keydown","pBind"],["role","button",3,"click","keydown","pBind"],[4,"ngTemplateOutlet"]],template:function(i,n){if(i&1&&(P(),j(0),d(1,Ne,1,5,"img",1)(2,Pe,1,1,"ng-template",null,0,ae)(4,je,2,4,"div",2)(5,He,3,2,"ng-container",3)),i&2){let o=oe(3);c(),r("ngIf",n.image)("ngIfElse",o),c(3),r("ngIf",n.label),c(),r("ngIf",n.removable)}},dependencies:[q,Q,K,H,ue,C,g],encapsulation:2,changeDetection:0})}return e})(),qt=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=A({type:e});static \u0275inj=L({imports:[Ue,C,C]})}return e})();export{Xe as a,yt as b,Ue as c,qt as d,Be as e,_t as f,bt as g,It as h,Le as i,xt as j};