1import{$ as te,$a as H,A as he,Aa as S,Ab as x,Ac as De,Ba as C,Bc as re,Cb as _e,Cc as W,Da as A,Dc as w,E as p,Ec as T,Fb as Q,G as J,Ge as B,L as v,La as fe,M as F,Nf as Ce,Oa as u,P as ee,Pb as k,Rb as g,Rf as oe,Tb as D,Vb as U,Vc as m,Y as ue,a as le,ac as ge,b as ce,ca as ie,dc as z,eb as se,fa as M,fe as G,gd as I,hd as K,i as r,ib as V,id as $,jb as j,jd as q,ka as pe,sc as ye,t as E,u as b,uc as ve,ue as me,wc as N,za as ne,zc as xe}from"./chunk-CPOZEFYP.js";var X=class{constructor(){r(this,"dataNodes");r(this,"expansionModel",new oe(!0));r(this,"trackBy");r(this,"getLevel");r(this,"isExpandable");r(this,"getChildren")}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let h=[n];h.push(...this.getDescendants(n)),this.expansionModel.select(...h.map(e=>this._trackByValue(e)))}collapseDescendants(n){let h=[n];h.push(...this.getDescendants(n)),this.expansionModel.deselect(...h.map(e=>this._trackByValue(e)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},Ee=class extends X{constructor(h,e,t){super();r(this,"getLevel");r(this,"isExpandable");r(this,"options");this.getLevel=h,this.isExpandable=e,this.options=t,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(h){let e=this.dataNodes.indexOf(h),t=[];for(let i=e+1;i<this.dataNodes.length&&this.getLevel(h)<this.getLevel(this.dataNodes[i]);i++)t.push(this.dataNodes[i]);return t}expandAll(){this.expansionModel.select(...this.dataNodes.map(h=>this._trackByValue(h)))}},be=class extends X{constructor(h,e){var t;super();r(this,"getChildren");r(this,"options");this.getChildren=h,this.options=e,this.options&&(this.trackBy=this.options.trackBy),(t=this.options)!=null&&t.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();let h=this.dataNodes.reduce((e,t)=>[...e,...this.getDescendants(t),t],[]);this.expansionModel.select(...h.map(e=>this._trackByValue(e)))}getDescendants(h){let e=[];return this._getDescendants(e,h),e.splice(1)}_getDescendants(h,e){h.push(e);let t=this.getChildren(e);Array.isArray(t)?t.forEach(i=>this._getDescendants(h,i)):J(t)&&t.pipe(M(1),ue(Boolean)).subscribe(i=>{for(let s of i)this._getDescendants(h,s)})}},Y=new fe("CDK_TREE_NODE_OUTLET_NODE"),O=(()=>{let n=class n{constructor(){r(this,"viewContainer",u(Q));r(this,"_node",u(Y,{optional:!0}))}};r(n,"\u0275fac",function(t){return new(t||n)}),r(n,"\u0275dir",g({type:n,selectors:[["","cdkTreeNodeOutlet",""]]}));let a=n;return a})(),ae=class{constructor(n){r(this,"$implicit");r(this,"level");r(this,"index");r(this,"count");this.$implicit=n}},Z=(()=>{let n=class n{constructor(){r(this,"template",u(_e));r(this,"when")}};r(n,"\u0275fac",function(t){return new(t||n)}),r(n,"\u0275dir",g({type:n,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]}}));let a=n;return a})();function Me(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var P=(()=>{let n=class n{constructor(){r(this,"_differs",u(K));r(this,"_changeDetectorRef",u(I));r(this,"_elementRef",u(j));r(this,"_dir",u(B));r(this,"_onDestroy",new E);r(this,"_dataDiffer");r(this,"_defaultNodeDef");r(this,"_dataSubscription");r(this,"_levels",new Map);r(this,"_parents",new Map);r(this,"_ariaSets",new Map);r(this,"_dataSource");r(this,"treeControl");r(this,"levelAccessor");r(this,"childrenAccessor");r(this,"trackBy");r(this,"expansionKey");r(this,"_nodeOutlet");r(this,"_nodeDefs");r(this,"viewChange",new b({start:0,end:Number.MAX_VALUE}));r(this,"_expansionModel");r(this,"_flattenedNodes",new b([]));r(this,"_nodeType",new b(null));r(this,"_nodes",new b(new Map));r(this,"_keyManagerNodes",new b([]));r(this,"_keyManagerFactory",u(me));r(this,"_keyManager");r(this,"_viewInit",!1)}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){var e;this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),(e=this._keyManager)==null||e.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(t=>!t.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){var e;return this.treeControl?this.treeControl.expansionModel:((e=this._expansionModel)!=null||(this._expansionModel=new oe(!0)),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;Ce(this._dataSource)?e=this._dataSource.connect(this):J(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=p(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(C(this._onDestroy)).subscribe(t=>{this._renderDataChanges(t)}))}_getRenderData(e){let t=this._getExpansionModel();return F([e,this._nodeType,t.changed.pipe(ne(null),A(i=>{this._emitExpansionChanges(i)}))]).pipe(S(([i,s])=>s===null?p({renderNodes:i,flattenedNodes:null,nodeType:s}):this._computeRenderingData(i,s).pipe(v(o=>ce(le({},o),{nodeType:s})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let t=this._nodes.value;for(let i of e.added){let s=t.get(i);s==null||s._emitExpansionState(!0)}for(let i of e.removed){let s=t.get(i);s==null||s._emitExpansionState(!1)}}_initializeKeyManager(){let e=F([this._keyManagerNodes,this._nodes]).pipe(v(([i,s])=>i.reduce((o,c)=>{let d=s.get(this._getExpansionKey(c));return d&&o.push(d),o},[]))),t={trackBy:i=>this._getExpansionKey(i.data),skipPredicate:i=>!!i.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,t)}_initializeDataDiffer(){var t;let e=(t=this.trackBy)!=null?t:(i,s)=>this._getExpansionKey(s);this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,t=this._dataDiffer,i=this._nodeOutlet.viewContainer,s){let o=t.diff(e);!o&&!this._viewInit||(o==null||o.forEachOperation((c,d,l)=>{if(c.previousIndex==null)this.insertNode(e[l],l,i,s);else if(l==null)i.remove(d);else{let f=i.get(d);i.move(f,l)}}),o==null||o.forEachIdentityChange(c=>{let d=c.item;if(c.currentIndex!=null){let l=i.get(c.currentIndex);l.context.$implicit=d}}),s?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,t){if(this._nodeDefs.length===1)return this._nodeDefs.first;let i=this._nodeDefs.find(s=>s.when&&s.when(t,e))||this._defaultNodeDef;return i}insertNode(e,t,i,s){var _;let o=this._getLevelAccessor(),c=this._getNodeDef(e,t),d=this._getExpansionKey(e),l=new ae(e);s!=null||(s=(_=this._parents.get(d))!=null?_:void 0),o?l.level=o(e):s!==void 0&&this._levels.has(this._getExpansionKey(s))?l.level=this._levels.get(this._getExpansionKey(s))+1:l.level=0,this._levels.set(d,l.level),(i||this._nodeOutlet.viewContainer).createEmbeddedView(c.template,l,t),y.mostRecentTreeNode&&(y.mostRecentTreeNode.data=e)}isExpanded(e){var t,i;return!!((t=this.treeControl)!=null&&t.isExpanded(e)||(i=this._expansionModel)!=null&&i.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let t=this._expansionModel;t.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(M(1),C(this._onDestroy)).subscribe(i=>{t.select(...i.map(s=>this._getExpansionKey(s)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let t=this._expansionModel;t.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(M(1),C(this._onDestroy)).subscribe(i=>{t.deselect(...i.map(s=>this._getExpansionKey(s)))})}}
1expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(t=>this._getExpansionKey(t)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(t=>this._getExpansionKey(t)))}_getLevelAccessor(){var e,t,i;return(i=(t=(e=this.treeControl)==null?void 0:e.getLevel)==null?void 0:t.bind(this.treeControl))!=null?i:this.levelAccessor}_getChildrenAccessor(){var e,t,i;return(i=(t=(e=this.treeControl)==null?void 0:e.getChildren)==null?void 0:t.bind(this.treeControl))!=null?i:this.childrenAccessor}_getDirectChildren(e){var d,l,f;let t=this._getLevelAccessor(),i=(l=this._expansionModel)!=null?l:(d=this.treeControl)==null?void 0:d.expansionModel;if(!i)return p([]);let s=this._getExpansionKey(e),o=i.changed.pipe(S(_=>_.added.includes(s)?p(!0):_.removed.includes(s)?p(!1):he),ne(this.isExpanded(e)));if(t)return F([o,this._flattenedNodes]).pipe(v(([_,L])=>_?this._findChildrenByLevel(t,L,e,1):[]));let c=this._getChildrenAccessor();if(c)return G((f=c(e))!=null?f:[]);throw Me()}_findChildrenByLevel(e,t,i,s){let o=this._getExpansionKey(i),c=t.findIndex(_=>this._getExpansionKey(_)===o),d=e(i),l=d+s,f=[];for(let _=c+1;_<t.length;_++){let L=e(t[_]);if(L<=d)break;L<=l&&f.push(t[_])}return f}_registerNode(e){this._nodes.value.set(this._getExpansionKey(e.data),e),this._nodes.next(this._nodes.value)}_unregisterNode(e){this._nodes.value.delete(this._getExpansionKey(e.data)),this._nodes.next(this._nodes.value)}_getLevel(e){return this._levels.get(this._getExpansionKey(e))}_getSetSize(e){return this._getAriaSet(e).length}_getPositionInSet(e){let t=this._getAriaSet(e),i=this._getExpansionKey(e);return t.findIndex(s=>this._getExpansionKey(s)===i)+1}_getNodeParent(e){let t=this._parents.get(this._getExpansionKey(e.data));return t&&this._nodes.value.get(this._getExpansionKey(t))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(v(t=>t.reduce((i,s)=>{let o=this._nodes.value.get(this._getExpansionKey(s));return o&&i.push(o),i},[])))}_sendKeydownToKeyManager(e){if(e.target===this._elementRef.nativeElement)this._keyManager.onKeydown(e);else{let t=this._nodes.getValue();for(let[,i]of t)if(e.target===i._elementRef.nativeElement){this._keyManager.onKeydown(e);break}}}_getDescendants(e){if(this.treeControl)return p(this.treeControl.getDescendants(e));if(this.levelAccessor){let t=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return p(t)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(te((t,i)=>(t.push(...i),t),[]));throw Me()}_getAllChildrenRecursively(e){return this.childrenAccessor?G(this.childrenAccessor(e)).pipe(M(1),S(t=>{for(let i of t)this._parents.set(this._getExpansionKey(i),e);return p(...t).pipe(ie(i=>ee(p([i]),this._getAllChildrenRecursively(i))))})):p([])}_getExpansionKey(e){var t,i;return(i=(t=this.expansionKey)==null?void 0:t.call(this,e))!=null?i:e}_getAriaSet(e){let t=this._getExpansionKey(e),i=this._parents.get(t),s=i?this._getExpansionKey(i):null,o=this._ariaSets.get(s);return o!=null?o:[e]}_findParentForNode(e,t,i){var o,c;if(!i.length)return null;let s=(o=this._levels.get(this._getExpansionKey(e)))!=null?o:0;for(let d=t-1;d>=0;d--){let l=i[d];if(((c=this._levels.get(this._getExpansionKey(l)))!=null?c:0)<s)return l}return null}_flattenNestedNodesWithExpansion(e,t=0){let i=this._getChildrenAccessor();return i?p(...e).pipe(ie(s=>{let o=this._getExpansionKey(s);this._parents.has(o)||this._parents.set(o,null),this._levels.set(o,t);let c=G(i(s));return ee(p([s]),c.pipe(M(1),A(d=>{this._ariaSets.set(o,[...d!=null?d:[]]);for(let l of d!=null?d:[]){let f=this._getExpansionKey(l);this._parents.set(f,s),this._levels.set(f,t+1)}}),S(d=>d?this._flattenNestedNodesWithExpansion(d,t+1).pipe(v(l=>this.isExpanded(s)?l:[])):p([]))))}),te((s,o)=>(s.push(...o),s),[])):p([...e])}_computeRenderingData(e,t){if(this.childrenAccessor&&t==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(v(i=>({renderNodes:i,flattenedNodes:i})));if(this.levelAccessor&&t==="nested"){let i=this.levelAccessor;
1return p(e.filter(s=>i(s)===0)).pipe(v(s=>({renderNodes:s,flattenedNodes:e})),A(({flattenedNodes:s})=>{this._calculateParents(s)}))}else return t==="flat"?p({renderNodes:e,flattenedNodes:e}).pipe(A(({flattenedNodes:i})=>{this._calculateParents(i)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(v(i=>({renderNodes:e,flattenedNodes:i}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){var i;let t=this._getLevelAccessor();if(t){this._parents.clear(),this._ariaSets.clear();for(let s=0;s<e.length;s++){let o=e[s],c=this._getExpansionKey(o);this._levels.set(c,t(o));let d=this._findParentForNode(o,s,e);this._parents.set(c,d);let l=d?this._getExpansionKey(d):null,f=(i=this._ariaSets.get(l))!=null?i:[];f.splice(s,0,o),this._ariaSets.set(l,f)}}}};r(n,"\u0275fac",function(t){return new(t||n)}),r(n,"\u0275cmp",k({type:n,selectors:[["cdk-tree"]],contentQueries:function(t,i,s){if(t&1&&re(s,Z,5),t&2){let o;w(o=T())&&(i._nodeDefs=o)}},viewQuery:function(t,i){if(t&1&&W(O,7),t&2){let s;w(s=T())&&(i._nodeOutlet=s.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(t,i){t&1&&N("keydown",function(o){return i._sendKeydownToKeyManager(o)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,i){t&1&&ye(0,0)},dependencies:[O],encapsulation:2}));let a=n;return a})(),y=(()=>{let n=class n{constructor(){r(this,"_elementRef",u(j));r(this,"_tree",u(P));r(this,"_tabindex",-1);r(this,"_type","flat");r(this,"isDisabled");r(this,"typeaheadLabel");r(this,"activation",new se);r(this,"expandedChange",new se);r(this,"_destroyed",new E);r(this,"_dataChanges",new E);r(this,"_inputIsExpandable",!1);r(this,"_inputIsExpanded");r(this,"_shouldFocus",!0);r(this,"_parentNodeAriaLevel");r(this,"_data");r(this,"_changeDetectorRef",u(I));n.mostRecentTreeNode=this}get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){var e;return this.typeaheadLabel||((e=this._elementRef.nativeElement.textContent)==null?void 0:e.trim())||""}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){var e,t,i;return((e=this._tree.treeControl)==null?void 0:e.isExpandable)!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:((t=this._tree.treeControl)==null?void 0:t.isExpandable)===void 0&&((i=this._tree.treeControl)==null?void 0:i.getDescendants(this._data).length)===0}get level(){var e;return(e=this._tree._getLevel(this._data))!=null?e:this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}ngOnInit(){this._parentNodeAriaLevel=we(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(v(()=>this.isExpanded),pe()).subscribe(()=>this._changeDetectorRef.markForCheck()),this._tree._setNodeTypeIfUnset(this._type),this._tree._registerNode(this)}ngOnDestroy(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){var e;return(e=this._tree._getNodeParent(this))!=null?e:null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}};r(n,"mostRecentTreeNode",null),r(n,"\u0275fac",function(t){return new(t||n)}),r(n,"\u0275dir",g({type:n,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(t,i){t&1&&N("click",function(){return i._setA
1ctiveItem()})("focus",function(){return i._focusItem()}),t&2&&(ve("tabindex",i._tabindex),ge("aria-expanded",i._getAriaExpanded())("aria-level",i.level+1)("aria-posinset",i._getPositionInSet())("aria-setsize",i._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",$],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",$],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],features:[U]}));let a=n;return a})();function we(a){let n=a.parentElement;for(;n&&!Te(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?q(n.getAttribute("aria-level")):0:-1}function Te(a){let n=a.classList;return!!(n!=null&&n.contains("cdk-nested-tree-node")||n!=null&&n.contains("cdk-tree"))}var Ze=(()=>{let n=class n extends y{constructor(){super();r(this,"_type","nested");r(this,"_differs",u(K));r(this,"_dataDiffer");r(this,"_children");r(this,"nodeOutlet")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe(C(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(C(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){let i=this._getNodeOutlet();if(t&&(this._children=t),i&&this._children){let s=i.viewContainer;this._tree.renderNodeChanges(this._children,this._dataDiffer,s,this._data)}else this._dataDiffer.diff([])}_clear(){let t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){let t=this.nodeOutlet;return t&&t.find(i=>!i._node||i._node===this)}};r(n,"\u0275fac",function(i){return new(i||n)}),r(n,"\u0275dir",g({type:n,selectors:[["cdk-nested-tree-node"]],contentQueries:function(i,s,o){if(i&1&&re(o,O,5),i&2){let c;w(c=T())&&(s.nodeOutlet=c)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],features:[m([{provide:y,useExisting:n},{provide:Y,useExisting:n}]),D]}));let a=n;return a})(),Se=/([A-Za-z%]+)$/,Je=(()=>{let n=class n{constructor(){r(this,"_treeNode",u(y));r(this,"_tree",u(P));r(this,"_element",u(j));r(this,"_dir",u(B,{optional:!0}));r(this,"_currentPadding");r(this,"_destroyed",new E);r(this,"indentUnits","px");r(this,"_level");r(this,"_indent",40);var e;this._setPadding(),(e=this._dir)==null||e.change.pipe(C(this._destroyed)).subscribe(()=>this._setPadding(!0)),this._treeNode._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){var i;let e=(i=this._treeNode.data&&this._tree._getLevel(this._treeNode.data))!=null?i:null,t=this._level==null?e:this._level;return typeof t=="number"?"".concat(t*this._indent).concat(this.indentUnits):null}_setPadding(e=!1){let t=this._paddingIndent();if(t!==this._currentPadding||e){let i=this._element.nativeElement,s=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",o=s==="paddingLeft"?"paddingRight":"paddingLeft";i.style[s]=t||"",i.style[o]="",this._currentPadding=t}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let t=e,i="px";if(typeof e=="string"){let s=e.split(Se);t=s[0],i=s[1]||i}this.indentUnits=i,this._indent=q(t),this._setPadding()}};r(n,"\u0275fac",function(t){return new(t||n)}),r(n,"\u0275dir",g({type:n,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",q],indent:[0,"cdkTreeNodePaddingIndent","indent"]},features:[U]}));let a=n;return a})(),de=(()=>{let n=class n{constructor(){r(this,"_tree",u(P));r(this,"_treeNode",u(y));r(this,"recursive",!1)}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}};r(n,"\u0275fac",function(t){return new(t||n)}),r(n,"\u0275dir",g({type:n,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(t,i){t&1&&N("click",function(o){return i._toggle(),o.stopPropagation()})("keydown.Enter",function(o){return i._toggle(),o.preventDefault()})("keydown.Space",function(o){return i._toggle(),o.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",$]},features:[U]}));let a=n;return a})();var Ie=["*"],ot=(()=>{let n=class n extends y{constructor(){super(...arguments),this.treeNodeDefDataSource=V()}get getClass(){return!0}};n.\u0275fac=(()=>{let e;return function(i){return(e||(e=H(n)))(i||n)}})(),n.\u0275cmp=k({type:n,selectors:[["ix-tree-node"]],hostVars:2,hostBindings:function(t,i){t&2&&z("ix-tree-node",i.getClass)},inputs:{treeNodeDefDataSource:[1,"treeNodeDefDataSource"]},exportAs:["ixTreeNode"],features:[m([{provide:y,useExisting:n}]),D],ngContentSelectors:Ie,decls:1,vars:0,template:function(t,i){t&1&&(xe(),De(0))},styles:['[_nghost-%COMP%]{align-items:center;border-bottom:1px solid var(--lines);box-sizing:border-box;display:flex;flex-direction:row;min-height:51px;min-width:fit-content;position:relative}[routerlinkactive][_nghost-%COMP%]{cursor:pointer}[_nghost-%COMP%]:hover{background-color:var(--hover-bg)}.selected[_nghost-%COMP%]{background-color:var(--hover-bg);color:var(--fg2)}.selected[_nghost-%COMP%]:before{background-color:var(--primary);content:"";height:100%;left:0;opacity:1;position:absolute;top:0;width:6px}[_nghost-%COMP%] button[disabled]{pointer-events:none;z-index:-1}\n/*# sourceMappingURL=tree-node.component-PNRLMP4E.css.map */'],changeDetection:0});let a=n;return a})();var ke=(()=>{let n=class n{constructor(e,t){this.viewContainer=e,this._node=t}};n.\u0275fac=function(t){return new(t||n)(x(Q),x(Y,8))},n.\u0275dir=g({type:n,selectors:[["","treeNodeOutlet",""]],features:[m([{provide:O,useExisting:n}])]});let a=n;return a})();var ft=(()=>{let n=class n extends Z{constructor(){super(...arguments),this.treeNodeDefDataSource=V()}static ngTemplateContextGuard(e,t){return!0}};n.\u0275fac=(()=>{let e;return function(i){return(e||(e=H(n)))(i||n)}})(),n.\u0275dir=g({type:n,selectors:[["","treeNodeDef",""]],inputs:{treeNodeDefDataSource:[1,"treeNodeDefDataSource"],when:[0,"treeNodeDefWhen","when"]},features:[m([{provide:Z,useExisting:n}]),D]});let a=n;return a})();var Ne=(()=>{let n=class n extends P{get dataSource(){return super.dataSource}set dataSource(e){super.dataSource=e}constructor(e,t,i){super(e,t),this.differs=e,this.changeDetectorRef=t,this.directionality=i,this.dir="ltr",this._dataSourceChanged=new E,this.destroy$=new E}ngOnInit(){var e;super.ngOnInit(),this.directionality&&(this.dir=this.directionality.value,(e=this.directionality.change)==null||e.pipe(C(this.destroy$)).subscribe(t=>{this.dir=t,this.changeDetectorRef.detectChanges()}))}ngOnDestroy(){super.ngOnDestroy(),this.destroy$.next(),this.destroy$.complete()}renderNodeChanges(e,t,i,s){super.renderNodeChanges(e,t,i,s),this._dataSourceChanged.next()}};n.\u0275fac=function(t){return new(t||n)(x(K),x(I),x(B,8))},n.\u0275cmp=k({type:n,selectors:[["ng-component"]],viewQuery:function(t,i){if(t&1&&W(ke,7),t&2){let s;w(s=T())&&(i._nodeOutlet=s.first)}}
1,inputs:{treeControl:[0,"ixTreeControl","treeControl"],dataSource:[0,"ixDataSource","dataSource"]},features:[D],decls:0,vars:0,template:function(t,i){},encapsulation:2,changeDetection:0});let a=n;return a})();var mt=(()=>{let n=class n extends de{get hostClass(){return!0}constructor(e,t){super(e,t),this._tree=e,this._treeNode=t}toggleWithAlt(e){e.altKey&&(this._tree.treeControl.toggle(this._treeNode.data),this._tree.treeControl.toggleDescendants(this._treeNode.data))}};n.\u0275fac=function(t){return new(t||n)(x(Ne),x(y))},n.\u0275dir=g({type:n,selectors:[["","treeNodeToggle",""]],hostVars:2,hostBindings:function(t,i){t&1&&N("click",function(o){return i.toggleWithAlt(o),o.stopPropagation()})("keydown.Enter",function(o){return i.toggleWithAlt(o),o.preventDefault()})("keydown.Space",function(o){return i.toggleWithAlt(o),o.preventDefault()}),t&2&&z("ix-tree-node-toggle",i.hostClass)},inputs:{recursive:[0,"treeNodeToggleRecursive","recursive"]},features:[m([{provide:de,useExisting:n}]),D]});let a=n;return a})();export{Ee as a,be as b,Y as c,ae as d,P as e,y as f,Ze as g,Je as h,ot as i,ke as j,Ne as k,ft as l,mt as m}; 2//# sourceMappingURL=chunk-IIQCOMJF.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.