bimplus-webcomponents 0.0.156-28779-1 → 0.0.156-28779-2

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.
@@ -9899,7 +9899,7 @@ ${r.map((h,m)=>`${m+1}) ${h.toString()}`).join(`
9899
9899
  `],encapsulation:3})}}return p})();var xLe=(p,l,r)=>({divider:p,languageMenuItem:l,"submenu-hidden":r});function RLe(p,l){if(p&1&&ts(0),p&2){let r=dn();to(" ",r.userName," ")}}function NLe(p,l){if(p&1){let r=Js();fn(0,"div",17),ji("click",function(){let m=$i(r).$implicit,O=dn(4);return er(O._switchLanguage(m.symbol))})("keypress",function(){let m=$i(r).$implicit,O=dn(4);return er(O._switchLanguage(m.symbol))}),ts(1),wn()}if(p&2){let r=l.$implicit,h=dn(4);Zl("id",h._getLangId(r)),Vn("ngClass",r.symbol===h.selectedLanguage?"selected":""),K0("key",h._getLangId(r)),ln(),to(" ",r.text," ")}}function PLe(p,l){if(p&1&&(fs(0,"div",11)(1,"div",12),fn(2,"span",13),ts(3),pa(4,"translate"),wn(),fn(5,"div",14)(6,"div",15),Dr(7,NLe,2,4,"div",16),wn()()),p&2){let r=dn(2).$implicit,h=dn();ln(),Vn("ngClass",r.class),ln(),Vn("ngClass",r.textClass?r.textClass:""),ln(),to(" ",da(4,5,r.textId)," "),ln(2),Vn("ngClass",h._languagesMenuOpened?"open":""),ln(2),Vn("ngForOf",h._languagesList)}}function BLe(p,l){if(p&1&&(fs(0,"div",12),fn(1,"span",13),ts(2),pa(3,"translate"),wn()),p&2){let r=dn(2).$implicit;Vn("ngClass",r.class),ln(),Vn("ngClass",r.textClass?r.textClass:""),ln(),to(" ",da(3,3,r.textId)," ")}}function HLe(p,l){if(p&1&&(fn(0,"a",10),fs(1,"div",12),fn(2,"span",13),ts(3),pa(4,"translate"),wn()()),p&2){let r=dn(2).$implicit,h=dn();Zl("href",h._buildUrl(r),sz),ln(),Vn("ngClass",r.class),ln(),Vn("ngClass",r.textClass?r.textClass:""),ln(),to(" ",da(4,4,r.textId)," ")}}function FLe(p,l){if(p&1){let r=Js();fn(0,"li",9),ji("click",function(){$i(r);let m=dn(),O=m.$implicit,C=m.index,G=dn();return er(G._menuItemClicked(O,C))})("keypress",function(){$i(r);let m=dn(),O=m.$implicit,C=m.index,G=dn();return er(G._menuItemClicked(O,C))}),Dr(1,PLe,8,7)(2,BLe,4,5)(3,HLe,5,6,"a",10),wn()}if(p&2){let r=dn().$implicit;Vn("ngClass",Wg(4,xLe,r.type==="divider",r.action==="submenu",(!r.url||r.url.slice(0,2)==="#/")&&r.action!=="submenu")),K0("key",r.id)("role",r.type==="divider"?"separator":""),ln(),_s(r.action==="submenu"?1:!r.url||r.url.slice(0,2)==="#/"?2:!r.type||r.type!=="divider"?3:-1)}}function kLe(p,l){if(p&1&&(wz(0),Dr(1,FLe,4,8,"li",8),Oz()),p&2){let r=l.$implicit;ln(),Vn("ngIf",r)}}var rJ=(()=>{class p extends w1{constructor(r){super(r),this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina",lCode:"3"},{symbol:"de",text:"Deutsch",lCode:"1"},{symbol:"en",text:"English (UK)",lCode:"0"},{symbol:"us",text:"English (US)",lCode:void 0},{symbol:"es",text:"Espa\xF1ol",lCode:"18"},{symbol:"fr",text:"Fran\xE7ais",lCode:"4"},{symbol:"it",text:"Italiano",lCode:"2"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",lCode:"14"},{symbol:"ro",text:"Romana",lCode:void 0},{symbol:"tr",text:"T\xFCrk\xE7e",lCode:void 0}],this._menuOpened=!1,this._languagesMenuOpened=!1,this.accountSettingsVisible=!0,this.removeConnectedAppsVisible=!1,this.userGuideVisible=!0,this.supportVisible=!0,this.forumVisible=!0,this.submenuVisible=!0,this.clearCacheVisible=!0,this.dividerLoggedInVisible=!0,this.logoutVisible=!0,this.isEmbedded=!1,this.isTouch=!1,this.allowRcaItem=!1,this.buttonTitle="",this.userName="Unknown user",this.userPhotoUrl="",this.userGuideLinkUrl="https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",this.supportLinkUrl="https://connect2.allplan.com/services/support",this.forumLinkUrl="https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",this.bimplusUserMenuClicked=new Br,this.bimplusLanguageSelected=new Br,this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",textClass:"",queryParams:"",url:""},{id:"removeConnectedApps",action:"removeConnectedApps",checkState:"allowRcaItem",class:"icon-rca",textClass:"text-capitalized",textId:"_Remove_connected_apps",type:"",url:"",queryParams:""},{id:"userGuideLink",action:"userGuide",class:"icon-user-guide",textId:"_UserGuide",get url(){return this._url?.()??""},_url:()=>this.userGuideLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"supportLink",action:"support",class:"icon-support",textId:"_Support",get url(){return this._url?.()??""},_url:()=>this.supportLinkUrl,queryParams:"no_cache=1",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",get url(){return this._url?.()??""},_url:()=>this.forumLinkUrl,type:"",checkState:"",textClass:"",queryParams:""},{id:"languagesSubmenu",action:"submenu",class:"icon-languages",textId:"_Languages",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"clearCache",action:"clearCache",class:"icon-clear-cache",textId:"_Clear cache",type:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"dividerLoggedIn",type:"divider",action:"",class:"",textId:"",checkState:"",url:"",textClass:"",queryParams:""},{id:"logout",action:"logout",class:"icon-log-out",textId:"_Logout",type:"",checkState:"",url:"",textClass:"",queryParams:""}]}ngOnChanges(r){r.localizedStrings&&this._localizedStrings.set(r.localizedStrings.currentValue)}_menuItemClicked(r,h){!r||r.type==="divider"||(r.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,lc(this,"bimplusUserMenuClicked",{index:h,action:r.action?r.action:""})))}_switchLanguage(r){this._languagesMenuOpened=!1,this._menuOpened=!1,lc(this,"bimplusLanguageSelected",r)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(r){return r?!this[`${r.action?r.action:r.id}Visible`]:!1}_buildUrl(r){let h=r?.url,O=this._languagesList.find(G=>G.symbol===this.selectedLanguage)?.lCode,C=h?.endsWith?.(".ct")&&O;return(r?.queryParams||C)&&(h=h+"?",C&&(h=h+"L="+O,r?.queryParams&&(h=h+"&")),r?.queryParams&&(h=h+r.queryParams)),h}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(h=>{if(!(this._isHidden(h)||h.checkState&&!this[h.checkState]))return h})}_getLangId(r){return"portalLanguage"+r?.symbol.charAt(0).toUpperCase()+r?.symbol.slice(1)}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[2,"accountSettingsVisible","accountSettingsVisible",ss],removeConnectedAppsVisible:[2,"removeConnectedAppsVisible","removeConnectedAppsVisible",ss],userGuideVisible:[2,"userGuideVisible","userGuideVisible",ss],supportVisible:[2,"supportVisible","supportVisible",ss],forumVisible:[2,"forumVisible","forumVisible",ss],submenuVisible:[2,"submenuVisible","submenuVisible",ss],clearCacheVisible:[2,"clearCacheVisible","clearCacheVisible",ss],dividerLoggedInVisible:[2,"dividerLoggedInVisible","dividerLoggedInVisible",ss],logoutVisible:[2,"logoutVisible","logoutVisible",ss],isEmbedded:[2,"isEmbedded","isEmbedded",ss],isTouch:[2,"isTouch","isTouch",ss],allowRcaItem:[2,"allowRcaItem","allowRcaItem",ss],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl",userGuideLinkUrl:"userGuideLinkUrl",supportLinkUrl:"supportLinkUrl",forumLinkUrl:"forumLinkUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[O0([Ba]),ap,xl,p2,bs],decls:9,vars:10,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","keypress","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click","keypress",4,"ngIf"],[3,"click","keypress","ngClass"],["rel","noopener","target","_blank",1,"submenu-hidden",3,"href"],[1,"submenu","arrow"],[1,"icon",3,"ngClass"],[1,"menu-item-text",3,"ngClass"],[1,"languagesSubmenu",3,"ngClass"],[1,"languageSubmenuItems"],["class","languageSubmenuItem",3,"id","ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","keypress","id","ngClass"]],template:function(h,m){h&1&&(fn(0,"div",0),ji("click",function(){return m._toggleOpened()})("keypress",function(){return m._toggleOpened()}),wn(),fn(1,"div",1)(2,"div",2),ji("click",function(){return m._toggleOpened()})("keypress",function(){return m._toggleOpened()}),fs(3,"img",3),fn(4,"div",4),Dr(5,RLe,1,1),wn(),fs(6,"span",5),wn(),fn(7,"ul",6),Dr(8,kLe,2,1,"ng-container",7),wn()()),h&2&&(Vn("ngClass",m._menuOpened?"open":""),K0("key","bimcompOverlay"),ln(),Vn("ngClass",m._menuOpened?"open":""),K0("key","userMenu"),ln(),Vn("title",m.buttonTitle?m.buttonTitle:""),ln(),Zl("src",m.userPhotoUrl?m.userPhotoUrl:"",sz),Zl("alt",m.buttonTitle?m.buttonTitle:""),ln(2),_s(m.isTouch?-1:5),ln(2),Vn("ngClass",m._menuOpened?"open":""),ln(),Vn("ngForOf",m._getMenuItems()))},dependencies:[Dl,X1,h2,iM,Rl,f1],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:var(--user-menu-dropdown-open-text-color-enabled);background-color:var(--user-menu-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-right:.2em;padding-left:.2em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:var(--user-menu-dropdown-toggle-text-color-enabled)}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./assets/bimplus_Components_User_Pic_Default.png") no-repeat center}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.4em;vertical-align:middle;border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.dropdown-toggle .user-name{margin-left:.2em}.dropdown-toggle:hover{color:var(--user-menu-dropdown-toggle-text-color-hovered)}.languageMenuItem{position:relative}.languageMenuItem .languagesSubmenu{position:absolute;display:none;transform-origin:left;transform:rotate(180deg) translateY(calc(-50% + 1.605em));border-radius:.29em;border:thin solid var(--user-menu-language-submenu-border-color-enabled);box-shadow:0 1px 2px var(--user-menu-language-submenu-box-shadow-color-enabled);background-color:var(--user-menu-language-submenu-background-color-enabled)}.languageMenuItem .languagesSubmenu .languageSubmenuItems{display:flex;flex-direction:column;transform-origin:center;transform:rotate(180deg);font-size:1em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem{border:none;background-color:var(--user-menu-language-submenu-item-background-color-enabled);padding-left:2em;padding-right:5em;line-height:2.4em;height:2.4em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:first-child,.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem.selected:last-child{background-color:var(--language-submenu-item-background-color-selected)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:var(--user-menu-language-submenu-item-background-color-enabled);border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered)}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:var(--user-menu-language-submenu-item-background-color-hovered);border-radius:0 0 .29em .29em}.languageMenuItem .languagesSubmenu.open{display:block}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--user-menu-dropdown-menu-background-color-enabled);border:thin solid var(--user-menu-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--user-menu-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.2em 0;white-space:nowrap}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;padding-right:2.2em}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li.submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./assets/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li .submenu-hidden{padding-left:2.8em}.bimcomp-dropdown-menu li:hover{background-color:var(--user-menu-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:var(--user-menu-dropdown-menu-divider-background-color-enabled);cursor:auto;padding:0}.bimcomp-dropdown-menu a:link,.bimcomp-dropdown-menu a:visited,.bimcomp-dropdown-menu a:hover,.bimcomp-dropdown-menu a:active{color:var(--user-menu-dropdown-menu-link-text-color-enabled);text-decoration-color:var(--user-menu-dropdown-menu-link-text-decoration-color-enabled);text-decoration-line:none;width:100%;padding-right:2.2em}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.text-capitalized{text-transform:capitalize}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.57em;height:1.57em;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.icon-account-settings{background:url("./assets/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./assets/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./assets/bimplus_Components_User_Guide.svg") no-repeat center}.icon-support{background:url("./assets/bimplus_Components_Support.svg") no-repeat center}.icon-forum{background:url("./assets/bimplus_Components_Forum.svg") no-repeat center}.icon-clear-cache{background:url("./assets/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./assets/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./assets/bimplus_Components_Logout.svg") no-repeat center}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}
9900
9900
  `],encapsulation:3})}}return p})();var qLe=(p,l)=>({open:p,"is-touch":l});function WLe(p,l){if(p&1){let r=Js();fn(0,"li",7),ji("click",function(){let m=$i(r).$implicit,O=dn();return er(O._switchZoom(m.symbol))})("keypress",function(){let m=$i(r).$implicit,O=dn();return er(O._switchZoom(m.symbol))}),fn(1,"span"),ts(2),wn()()}if(p&2){let r=l.$implicit,h=dn();Vn("ngClass",h._getZoomClassObject(r.symbol)),ln(2),Z0(r.text)}}var sJ=(()=>{class p{constructor(){this._zoomList=[{symbol:"100",text:"100%"},{symbol:"105",text:"105%"},{symbol:"110",text:"110%"},{symbol:"115",text:"115%"},{symbol:"120",text:"120%"},{symbol:"125",text:"125%"},{symbol:"130",text:"130%"},{symbol:"135",text:"135%"},{symbol:"140",text:"140%"},{symbol:"145",text:"145%"},{symbol:"150",text:"150%"}],this._menuOpened=!1,this.isTouch=!1,this.selectedZoom="125",this.bimplusZoomSelected=new Br}_switchZoom(r){lc(this,"bimplusZoomSelected",r)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(r){return{selected:this.selectedZoom===r,["bimzoom-"+r]:!0}}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[2,"isTouch","isTouch",ss],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},standalone:!0,features:[ap,bs],decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","keypress","ngClass"],[1,"dropdown",3,"click","keypress","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-zoom"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click","keypress",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","keypress","ngClass"]],template:function(h,m){h&1&&(fn(0,"div",0),ji("click",function(){return m._toggleOpened()})("keypress",function(){return m._toggleOpened()}),wn(),fn(1,"div",1),ji("click",function(){return m._toggleOpened()})("keypress",function(){return m._toggleOpened()}),fn(2,"div",2),fs(3,"div",3)(4,"span",4),wn(),fn(5,"ul",5),Dr(6,WLe,3,2,"li",6),wn()()),h&2&&(Vn("ngClass",m._menuOpened?"open":""),ln(),Vn("ngClass",Yg(4,qLe,m._menuOpened,m.isTouch)),ln(4),Vn("ngClass",m._menuOpened?"open":""),ln(),Vn("ngForOf",m._zoomList))},dependencies:[Dl,X1,h2],styles:[`.dropdown{position:relative;width:4.2em;height:3.25em;cursor:pointer;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.dropdown.open{color:var(--zoom-dropdown-open-text-color-enabled);background-color:var(--zoom-dropdown-open-background-color-enabled)}.dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;padding-bottom:.22em;padding-left:.2em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;margin-top:.19em;margin-left:.5em;vertical-align:middle;color:var(--zoom-dropdown-toggle-caret-text-color-enabled);border-top:.25em dashed;border-top:.25em solid;border-right:.25em solid transparent;border-left:.25em solid transparent}.is-touch .dropdown-toggle{padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.bimcomp-dropdown-menu{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:1;display:none;min-width:6.5em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:var(--zoom-dropdown-menu-background-color-enabled);border:thin solid var(--zoom-dropdown-menu-border-color-enabled);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);box-shadow:0 .43em .86em var(--zoom-dropdown-menu-box-shadow-color-enabled);text-decoration-color:var(--zoom-dropdown-menu-text-decoration-color-enabled);text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400}.bimcomp-dropdown-menu div{font-size:1em}.bimcomp-dropdown-menu .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li{display:flex;flex-direction:row;align-items:center;cursor:pointer;box-sizing:content-box;padding:.21em 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:var(--dropdown-menu-item-background-color-selected)}.bimcomp-dropdown-menu li:hover{background-color:var(--zoom-dropdown-menu-item-background-color-hovered)}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.open{display:inline-block}.icon{flex-shrink:0;display:inline-block;vertical-align:middle;margin:0 1.36em 0 0;width:1.64em;height:1.64em;background-size:contain;background-position:center;background-repeat:no-repeat}.main-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.375em;height:1.375em;background-size:contain;background-position:center;background-repeat:no-repeat}.bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bimcomp-overlay.open{display:block;z-index:1}.icon-zoom{background-image:url("./assets/bimplus_Components_Zoom.svg")}
9901
9901
  `],encapsulation:3})}}return p})();var qce;try{qce=typeof Intl<"u"&&Intl.v8BreakIterator}catch{qce=!1}var dz=(()=>{class p{constructor(r){this._platformId=r,this.isBrowser=this._platformId?Lbe(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||qce)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(h){return new(h||p)(el(fL))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var iX;function ULe(){if(iX==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>iX=!0}))}finally{iX=iX||!1}return iX}function xH(p){return ULe()?p:!!p.capture}var kce;function GLe(){if(kce==null){let p=typeof document<"u"?document.head:null;kce=!!(p&&(p.createShadowRoot||p.attachShadow))}return kce}function T3e(p){if(GLe()){let l=p.getRootNode?p.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&l instanceof ShadowRoot)return l}return null}function S8(p){return p.composedPath?p.composedPath()[0]:p.target}function E3e(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function pB(p){return C_(p)?p:zf(p)}function Wce(p){return Array.isArray(p)?p:[p]}function dB(p){return p instanceof m0?p.nativeElement:p}var z3e=new Set,hB,jLe=(()=>{class p{constructor(r,h){this._platform=r,this._nonce=h,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):YLe}matchMedia(r){return(this._platform.WEBKIT||this._platform.BLINK)&&VLe(r,this._nonce),this._matchMedia(r)}static{this.\u0275fac=function(h){return new(h||p)(el(dz),el(EY,8))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function VLe(p,l){if(!z3e.has(p))try{hB||(hB=document.createElement("style"),l&&hB.setAttribute("nonce",l),hB.setAttribute("type","text/css"),document.head.appendChild(hB)),hB.sheet&&(hB.sheet.insertRule(`@media ${p} {body{ }}`,0),z3e.add(p))}catch(r){console.error(r)}}function YLe(p){return{matches:p==="all"||p==="",media:p,addListener:()=>{},removeListener:()=>{}}}var D3e=(()=>{class p{constructor(r,h){this._mediaMatcher=r,this._zone=h,this._queries=new Map,this._destroySubject=new ad}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(r){return C3e(Wce(r)).some(m=>this._registerQuery(m).mql.matches)}observe(r){let m=C3e(Wce(r)).map(C=>this._registerQuery(C).observable),O=H9(m);return O=vz(O.pipe(SI(1)),O.pipe(cY(1),F9(0))),O.pipe(ip(C=>{let G={matches:!1,breakpoints:{}};return C.forEach(({matches:S,query:H})=>{G.matches=G.matches||S,G.breakpoints[H]=S}),G}))}_registerQuery(r){if(this._queries.has(r))return this._queries.get(r);let h=this._mediaMatcher.matchMedia(r),O={observable:new sd(C=>{let G=S=>this._zone.run(()=>C.next(S));return h.addListener(G),()=>{h.removeListener(G)}}).pipe(X8(h),ip(({matches:C})=>({query:r,matches:C})),_w(this._destroySubject)),mql:h};return this._queries.set(r,O),O}static{this.\u0275fac=function(h){return new(h||p)(el(jLe),el(Cf))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();function C3e(p){return p.map(l=>l.split(",")).reduce((l,r)=>l.concat(r)).map(l=>l.trim())}var XLe=200,Gce=class{constructor(l,r){this._letterKeyStream=new ad,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new ad,this.selectedItem=this._selectedItem;let h=typeof r?.debounceInterval=="number"?r.debounceInterval:XLe;r?.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(l),this._setupKeyHandler(h)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(l){this._selectedItemIndex=l}setItems(l){this._items=l}handleKey(l){let r=l.keyCode;l.key&&l.key.length===1?this._letterKeyStream.next(l.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(l){this._letterKeyStream.pipe(kD(r=>this._pressedLetters.push(r)),F9(l),gz(()=>this._pressedLetters.length>0),ip(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{for(let h=1;h<this._items.length+1;h++){let m=(this._selectedItemIndex+h)%this._items.length,O=this._items[m];if(!this._skipPredicateFn?.(O)&&O.getLabel?.().toLocaleUpperCase().trim().indexOf(r)===0){this._selectedItem.next(O);break}}this._pressedLetters=[]})}};var jce=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let l=0;for(let h=0;h<this._items.length;h++)if(!this._skipPredicateFn(this._items[h])&&!this._isItemDisabled(this._items[h])){l=h;break}let r=this._items[l];r.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=l,this._activeItem=r,this._typeahead?.setCurrentSelectedItemIndex(l),r.makeFocusable()):this.focusItem(l),this._hasInitialFocused=!0}constructor(l,r){this._activeItemIndex=-1,this._activeItem=null,this._shouldActivationFollowFocus=!1,this._horizontalOrientation="ltr",this._skipPredicateFn=h=>!1,this._trackByFn=h=>h,this._items=[],this._typeaheadSubscription=jg.EMPTY,this._hasInitialFocused=!1,this.change=new ad,l instanceof yY?(this._items=l.toArray(),l.changes.subscribe(h=>{this._items=h.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):C_(l)?l.subscribe(h=>{this._items=h,this._typeahead?.setItems(h),this._updateActiveItemIndex(h),this._initializeFocus()}):(this._items=l,this._initializeFocus()),typeof r.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=r.shouldActivationFollowFocus),r.horizontalOrientation&&(this._horizontalOrientation=r.horizontalOrientation),r.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),r.trackBy&&(this._trackByFn=r.trackBy),typeof r.typeAheadDebounceInterval<"u"&&this._setTypeAhead(r.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(l){switch(l.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(l.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(l);return}this._typeahead?.reset(),l.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(l,r={}){r.emitChangeEvent??=!0;let h=typeof l=="number"?l:this._items.findIndex(C=>this._trackByFn(C)===this._trackByFn(l));if(h<0||h>=this._items.length)return;let m=this._items[h];if(this._activeItem!==null&&this._trackByFn(m)===this._trackByFn(this._activeItem))return;let O=this._activeItem;this._activeItem=m??null,this._activeItemIndex=h,this._typeahead?.setCurrentSelectedItemIndex(h),this._activeItem?.focus(),O?.unfocus(),r.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(l){let r=this._activeItem;if(!r)return;let h=l.findIndex(m=>this._trackByFn(m)===this._trackByFn(r));h>-1&&h!==this._activeItemIndex&&(this._activeItemIndex=h,this._typeahead?.setCurrentSelectedItemIndex(h))}_setTypeAhead(l){this._typeahead=new Gce(this._items,{debounceInterval:typeof l=="number"?l:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.focusItem(r)})}_findNextAvailableItemIndex(l){for(let r=l+1;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r]))return r;return l}_findPreviousAvailableItemIndex(l){for(let r=l-1;r>=0;r--)if(!this._skipPredicateFn(this._items[r]))return r;return l}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let l=this._activeItem.getParent();if(!l||this._skipPredicateFn(l))return;this.focusItem(l)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?pB(this._activeItem.getChildren()).pipe(SI(1)).subscribe(l=>{let r=l.find(h=>!this._skipPredicateFn(h));r&&this.focusItem(r)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(l){return typeof l.isDisabled=="boolean"?l.isDisabled:l.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let l=this._activeItem.getParent(),r;l?r=pB(l.getChildren()):r=zf(this._items.filter(h=>h.getParent()===null)),r.pipe(SI(1)).subscribe(h=>{for(let m of h)m.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function QLe(){return(p,l)=>new jce(p,l)}var x3e=new Sl("tree-key-manager",{providedIn:"root",factory:QLe});function Vce(p){return p.buttons===0||p.detail===0}function Yce(p){let l=p.touches&&p.touches[0]||p.changedTouches&&p.changedTouches[0];return!!l&&l.identifier===-1&&(l.radiusX==null||l.radiusX===1)&&(l.radiusY==null||l.radiusY===1)}var ZLe=new Sl("cdk-input-modality-detector-options"),KLe={ignoreKeys:[18,17,224,91,16]},R3e=650,RH=xH({passive:!0,capture:!0}),JLe=(()=>{class p{get mostRecentModality(){return this._modality.value}constructor(r,h,m,O){this._platform=r,this._mostRecentTarget=null,this._modality=new Lu(null),this._lastTouchMs=0,this._onKeydown=C=>{this._options?.ignoreKeys?.some(G=>G===C.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=S8(C))},this._onMousedown=C=>{Date.now()-this._lastTouchMs<R3e||(this._modality.next(Vce(C)?"keyboard":"mouse"),this._mostRecentTarget=S8(C))},this._onTouchstart=C=>{if(Yce(C)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=S8(C)},this._options=P1(P1({},KLe),O),this.modalityDetected=this._modality.pipe(cY(1)),this.modalityChanged=this.modalityDetected.pipe(lY()),r.isBrowser&&h.runOutsideAngular(()=>{m.addEventListener("keydown",this._onKeydown,RH),m.addEventListener("mousedown",this._onMousedown,RH),m.addEventListener("touchstart",this._onTouchstart,RH)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,RH),document.removeEventListener("mousedown",this._onMousedown,RH),document.removeEventListener("touchstart",this._onTouchstart,RH))}static{this.\u0275fac=function(h){return new(h||p)(el(dz),el(Cf),el(DI),el(ZLe,8))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var lJ=function(p){return p[p.IMMEDIATE=0]="IMMEDIATE",p[p.EVENTUAL=1]="EVENTUAL",p}(lJ||{}),$Le=new Sl("cdk-focus-monitor-default-options"),oJ=xH({passive:!0,capture:!0}),N3e=(()=>{class p{constructor(r,h,m,O,C){this._ngZone=r,this._platform=h,this._inputModalityDetector=m,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ad,this._rootNodeFocusAndBlurListener=G=>{let S=S8(G);for(let H=S;H;H=H.parentElement)G.type==="focus"?this._onFocus(G,H):this._onBlur(G,H)},this._document=O,this._detectionMode=C?.detectionMode||lJ.IMMEDIATE}monitor(r,h=!1){let m=dB(r);if(!this._platform.isBrowser||m.nodeType!==1)return zf();let O=T3e(m)||this._getDocument(),C=this._elementInfo.get(m);if(C)return h&&(C.checkChildren=!0),C.subject;let G={checkChildren:h,subject:new ad,rootNode:O};return this._elementInfo.set(m,G),this._registerGlobalListeners(G),G.subject}stopMonitoring(r){let h=dB(r),m=this._elementInfo.get(h);m&&(m.subject.complete(),this._setClasses(h),this._elementInfo.delete(h),this._removeGlobalListeners(m))}focusVia(r,h,m){let O=dB(r),C=this._getDocument().activeElement;O===C?this._getClosestElementsInfo(O).forEach(([G,S])=>this._originChanged(G,h,S)):(this._setOrigin(h),typeof O.focus=="function"&&O.focus(m))}ngOnDestroy(){this._elementInfo.forEach((r,h)=>this.stopMonitoring(h))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(r){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(r)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:r&&this._isLastInteractionFromInputLabel(r)?"mouse":"program"}_shouldBeAttributedToTouch(r){return this._detectionMode===lJ.EVENTUAL||!!r?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(r,h){r.classList.toggle("cdk-focused",!!h),r.classList.toggle("cdk-touch-focused",h==="touch"),r.classList.toggle("cdk-keyboard-focused",h==="keyboard"),r.classList.toggle("cdk-mouse-focused",h==="mouse"),r.classList.toggle("cdk-program-focused",h==="program")}_setOrigin(r,h=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=r,this._originFromTouchInteraction=r==="touch"&&h,this._detectionMode===lJ.IMMEDIATE){clearTimeout(this._originTimeoutId);let m=this._originFromTouchInteraction?R3e:1;this._originTimeoutId=setTimeout(()=>this._origin=null,m)}})}_onFocus(r,h){let m=this._elementInfo.get(h),O=S8(r);!m||!m.checkChildren&&h!==O||this._originChanged(h,this._getFocusOrigin(O),m)}_onBlur(r,h){let m=this._elementInfo.get(h);!m||m.checkChildren&&r.relatedTarget instanceof Node&&h.contains(r.relatedTarget)||(this._setClasses(h),this._emitOrigin(m,null))}_emitOrigin(r,h){r.subject.observers.length&&this._ngZone.run(()=>r.subject.next(h))}_registerGlobalListeners(r){if(!this._platform.isBrowser)return;let h=r.rootNode,m=this._rootNodeFocusListenerCount.get(h)||0;m||this._ngZone.runOutsideAngular(()=>{h.addEventListener("focus",this._rootNodeFocusAndBlurListener,oJ),h.addEventListener("blur",this._rootNodeFocusAndBlurListener,oJ)}),this._rootNodeFocusListenerCount.set(h,m+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(_w(this._stopInputModalityDetector)).subscribe(O=>{this._setOrigin(O,!0)}))}_removeGlobalListeners(r){let h=r.rootNode;if(this._rootNodeFocusListenerCount.has(h)){let m=this._rootNodeFocusListenerCount.get(h);m>1?this._rootNodeFocusListenerCount.set(h,m-1):(h.removeEventListener("focus",this._rootNodeFocusAndBlurListener,oJ),h.removeEventListener("blur",this._rootNodeFocusAndBlurListener,oJ),this._rootNodeFocusListenerCount.delete(h))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(r,h,m){this._setClasses(r,h),this._emitOrigin(m,h),this._lastFocusOrigin=h}_getClosestElementsInfo(r){let h=[];return this._elementInfo.forEach((m,O)=>{(O===r||m.checkChildren&&O.contains(r))&&h.push([O,m])}),h}_isLastInteractionFromInputLabel(r){let{_mostRecentTarget:h,mostRecentModality:m}=this._inputModalityDetector;if(m!=="mouse"||!h||h===r||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA"||r.disabled)return!1;let O=r.labels;if(O){for(let C=0;C<O.length;C++)if(O[C].contains(h))return!0}return!1}static{this.\u0275fac=function(h){return new(h||p)(el(Cf),el(dz),el(JLe),el(DI,8),el($Le,8))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var fB=function(p){return p[p.NONE=0]="NONE",p[p.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",p[p.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",p}(fB||{}),L3e="cdk-high-contrast-black-on-white",S3e="cdk-high-contrast-white-on-black",Uce="cdk-high-contrast-active",P3e=(()=>{class p{constructor(r,h){this._platform=r,this._document=h,this._breakpointSubscription=ml(D3e).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return fB.NONE;let r=this._document.createElement("div");r.style.backgroundColor="rgb(1,2,3)",r.style.position="absolute",this._document.body.appendChild(r);let h=this._document.defaultView||window,m=h&&h.getComputedStyle?h.getComputedStyle(r):null,O=(m&&m.backgroundColor||"").replace(/ /g,"");switch(r.remove(),O){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return fB.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return fB.BLACK_ON_WHITE}return fB.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let r=this._document.body.classList;r.remove(Uce,L3e,S3e),this._hasCheckedHighContrastMode=!0;let h=this.getHighContrastMode();h===fB.BLACK_ON_WHITE?r.add(Uce,L3e):h===fB.WHITE_ON_BLACK&&r.add(Uce,S3e)}}static{this.\u0275fac=function(h){return new(h||p)(el(dz),el(DI))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var tSe=new Sl("cdk-dir-doc",{providedIn:"root",factory:nSe});function nSe(){return ml(DI)}var iSe=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function rSe(p){let l=p?.toLowerCase()||"";return l==="auto"&&typeof navigator<"u"&&navigator?.language?iSe.test(navigator.language)?"rtl":"ltr":l==="rtl"?"rtl":"ltr"}var cJ=(()=>{class p{constructor(r){if(this.value="ltr",this.change=new Br,r){let h=r.body?r.body.dir:null,m=r.documentElement?r.documentElement.dir:null;this.value=rSe(h||m||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(h){return new(h||p)(el(tSe,8))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var Xce=(()=>{class p{static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({})}}return p})();function aSe(){return!0}var oSe=new Sl("mat-sanity-checks",{providedIn:"root",factory:aSe}),QD=(()=>{class p{constructor(r,h,m){this._sanityChecks=h,this._document=m,this._hasDoneGlobalChecks=!1,r._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(r){return E3e()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[r]}static{this.\u0275fac=function(h){return new(h||p)(el(P3e),el(oSe,8),el(DI))}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({imports:[Xce,Xce]})}}return p})();var Cz=function(p){return p[p.FADING_IN=0]="FADING_IN",p[p.VISIBLE=1]="VISIBLE",p[p.FADING_OUT=2]="FADING_OUT",p[p.HIDDEN=3]="HIDDEN",p}(Cz||{}),Kce=class{constructor(l,r,h,m=!1){this._renderer=l,this.element=r,this.config=h,this._animationForciblyDisabledThroughCss=m,this.state=Cz.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},B3e=xH({passive:!0,capture:!0}),Jce=class{constructor(){this._events=new Map,this._delegateEventHandler=l=>{let r=S8(l);r&&this._events.get(l.type)?.forEach((h,m)=>{(m===r||m.contains(r))&&h.forEach(O=>O.handleEvent(l))})}}addHandler(l,r,h,m){let O=this._events.get(r);if(O){let C=O.get(h);C?C.add(m):O.set(h,new Set([m]))}else this._events.set(r,new Map([[h,new Set([m])]])),l.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,B3e)})}removeHandler(l,r,h){let m=this._events.get(l);if(!m)return;let O=m.get(r);O&&(O.delete(h),O.size===0&&m.delete(r),m.size===0&&(this._events.delete(l),document.removeEventListener(l,this._delegateEventHandler,B3e)))}},H3e={enterDuration:225,exitDuration:150},lSe=800,F3e=xH({passive:!0,capture:!0}),k3e=["mousedown","touchstart"],q3e=["mouseup","mouseleave","touchend","touchcancel"],$ce=class p{static{this._eventManager=new Jce}constructor(l,r,h,m){this._target=l,this._ngZone=r,this._platform=m,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,m.isBrowser&&(this._containerElement=dB(h))}fadeInRipple(l,r,h={}){let m=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),O=P1(P1({},H3e),h.animation);h.centered&&(l=m.left+m.width/2,r=m.top+m.height/2);let C=h.radius||cSe(l,r,m),G=l-m.left,S=r-m.top,H=O.enterDuration,ee=document.createElement("div");ee.classList.add("mat-ripple-element"),ee.style.left=`${G-C}px`,ee.style.top=`${S-C}px`,ee.style.height=`${C*2}px`,ee.style.width=`${C*2}px`,h.color!=null&&(ee.style.backgroundColor=h.color),ee.style.transitionDuration=`${H}ms`,this._containerElement.appendChild(ee);let te=window.getComputedStyle(ee),Ae=te.transitionProperty,Ne=te.transitionDuration,Ze=Ae==="none"||Ne==="0s"||Ne==="0s, 0s"||m.width===0&&m.height===0,ft=new Kce(this,ee,h,Ze);ee.style.transform="scale3d(1, 1, 1)",ft.state=Cz.FADING_IN,h.persistent||(this._mostRecentTransientRipple=ft);let Nt=null;return!Ze&&(H||O.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Dt=()=>{Nt&&(Nt.fallbackTimer=null),clearTimeout(Zn),this._finishRippleTransition(ft)},Ct=()=>this._destroyRipple(ft),Zn=setTimeout(Ct,H+100);ee.addEventListener("transitionend",Dt),ee.addEventListener("transitioncancel",Ct),Nt={onTransitionEnd:Dt,onTransitionCancel:Ct,fallbackTimer:Zn}}),this._activeRipples.set(ft,Nt),(Ze||!H)&&this._finishRippleTransition(ft),ft}fadeOutRipple(l){if(l.state===Cz.FADING_OUT||l.state===Cz.HIDDEN)return;let r=l.element,h=P1(P1({},H3e),l.config.animation);r.style.transitionDuration=`${h.exitDuration}ms`,r.style.opacity="0",l.state=Cz.FADING_OUT,(l._animationForciblyDisabledThroughCss||!h.exitDuration)&&this._finishRippleTransition(l)}fadeOutAll(){this._getActiveRipples().forEach(l=>l.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(l=>{l.config.persistent||l.fadeOut()})}setupTriggerEvents(l){let r=dB(l);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,k3e.forEach(h=>{p._eventManager.addHandler(this._ngZone,h,r,this)}))}handleEvent(l){l.type==="mousedown"?this._onMousedown(l):l.type==="touchstart"?this._onTouchStart(l):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{q3e.forEach(r=>{this._triggerElement.addEventListener(r,this,F3e)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(l){l.state===Cz.FADING_IN?this._startFadeOutTransition(l):l.state===Cz.FADING_OUT&&this._destroyRipple(l)}_startFadeOutTransition(l){let r=l===this._mostRecentTransientRipple,{persistent:h}=l.config;l.state=Cz.VISIBLE,!h&&(!r||!this._isPointerDown)&&l.fadeOut()}_destroyRipple(l){let r=this._activeRipples.get(l)??null;this._activeRipples.delete(l),this._activeRipples.size||(this._containerRect=null),l===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),l.state=Cz.HIDDEN,r!==null&&(l.element.removeEventListener("transitionend",r.onTransitionEnd),l.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),l.element.remove()}_onMousedown(l){let r=Vce(l),h=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+lSe;!this._target.rippleDisabled&&!r&&!h&&(this._isPointerDown=!0,this.fadeInRipple(l.clientX,l.clientY,this._target.rippleConfig))}_onTouchStart(l){if(!this._target.rippleDisabled&&!Yce(l)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=l.changedTouches;if(r)for(let h=0;h<r.length;h++)this.fadeInRipple(r[h].clientX,r[h].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(l=>{let r=l.state===Cz.VISIBLE||l.config.terminateOnPointerUp&&l.state===Cz.FADING_IN;!l.config.persistent&&r&&l.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let l=this._triggerElement;l&&(k3e.forEach(r=>p._eventManager.removeHandler(r,l,this)),this._pointerUpEventsRegistered&&(q3e.forEach(r=>l.removeEventListener(r,this,F3e)),this._pointerUpEventsRegistered=!1))}};function cSe(p,l,r){let h=Math.max(Math.abs(p-r.left),Math.abs(p-r.right)),m=Math.max(Math.abs(l-r.top),Math.abs(l-r.bottom));return Math.sqrt(h*h+m*m)}var j3e=new Sl("mat-ripple-global-options"),uSe=(()=>{class p{get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}constructor(r,h,m,O,C){this._elementRef=r,this._animationMode=C,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=O||{},this._rippleRenderer=new $ce(this,h,r,m)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:P1(P1(P1({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(r,h=0,m){return typeof r=="number"?this._rippleRenderer.fadeInRipple(r,h,P1(P1({},this.rippleConfig),m)):this._rippleRenderer.fadeInRipple(0,0,P1(P1({},this.rippleConfig),r))}static{this.\u0275fac=function(h){return new(h||p)(tr(m0),tr(Cf),tr(dz),tr(j3e,8),tr(TY,8))}}static{this.\u0275dir=H0({type:p,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(h,m){h&2&&h1("mat-ripple-unbounded",m.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return p})(),V3e=(()=>{class p{static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({imports:[QD,QD]})}}return p})();var W3e={capture:!0},U3e=["focus","mousedown","mouseenter","touchstart"],Qce="mat-ripple-loader-uninitialized",Zce="mat-ripple-loader-class-name",G3e="mat-ripple-loader-centered",uJ="mat-ripple-loader-disabled",Y3e=(()=>{class p{constructor(){this._document=ml(DI,{optional:!0}),this._animationMode=ml(TY,{optional:!0}),this._globalRippleOptions=ml(j3e,{optional:!0}),this._platform=ml(dz),this._ngZone=ml(Cf),this._hosts=new Map,this._onInteraction=r=>{let h=S8(r);if(h instanceof HTMLElement){let m=h.closest(`[${Qce}="${this._globalRippleOptions?.namespace??""}"]`);m&&this._createRipple(m)}},this._ngZone.runOutsideAngular(()=>{for(let r of U3e)this._document?.addEventListener(r,this._onInteraction,W3e)})}ngOnDestroy(){let r=this._hosts.keys();for(let h of r)this.destroyRipple(h);for(let h of U3e)this._document?.removeEventListener(h,this._onInteraction,W3e)}configureRipple(r,h){r.setAttribute(Qce,this._globalRippleOptions?.namespace??""),(h.className||!r.hasAttribute(Zce))&&r.setAttribute(Zce,h.className||""),h.centered&&r.setAttribute(G3e,""),h.disabled&&r.setAttribute(uJ,"")}getRipple(r){return this._hosts.get(r)||this._createRipple(r)}setDisabled(r,h){let m=this._hosts.get(r);if(m){m.disabled=h;return}h?r.setAttribute(uJ,""):r.removeAttribute(uJ)}_createRipple(r){if(!this._document)return;let h=this._hosts.get(r);if(h)return h;r.querySelector(".mat-ripple")?.remove();let m=this._document.createElement("span");m.classList.add("mat-ripple",r.getAttribute(Zce)),r.append(m);let O=new uSe(new m0(m),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return O._isInitialized=!0,O.trigger=r,O.centered=r.hasAttribute(G3e),O.disabled=r.hasAttribute(uJ),this.attachRipple(r,O),O}attachRipple(r,h){r.removeAttribute(Qce),this._hosts.set(r,h)}destroyRipple(r){let h=this._hosts.get(r);h&&(h.ngOnDestroy(),this._hosts.delete(r))}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var X3e=(()=>{class p{static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({imports:[QD,QD]})}}return p})();var pSe=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var dSe=["mat-icon-button",""],hSe=["*"];var fSe=new Sl("MAT_BUTTON_CONFIG");var mSe=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],bSe=(()=>{class p{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(r){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,r)}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=r,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._updateRippleDisabled()}constructor(r,h,m,O){this._elementRef=r,this._platform=h,this._ngZone=m,this._animationMode=O,this._focusMonitor=ml(N3e),this._rippleLoader=ml(Y3e),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let C=ml(fSe,{optional:!0}),G=r.nativeElement,S=G.classList;this.disabledInteractive=C?.disabledInteractive??!1,this.color=C?.color??null,this._rippleLoader?.configureRipple(G,{className:"mat-mdc-button-ripple"});for(let{attribute:H,mdcClasses:ee}of mSe)G.hasAttribute(H)&&S.add(...ee)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(r="program",h){r?this._focusMonitor.focusVia(this._elementRef.nativeElement,r,h):this._elementRef.nativeElement.focus(h)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(h){y2e()}}static{this.\u0275dir=H0({type:p,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ss],disabled:[2,"disabled","disabled",ss],ariaDisabled:[2,"aria-disabled","ariaDisabled",ss],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ss]},features:[ap]})}}return p})();var Q3e=(()=>{class p extends bSe{constructor(r,h,m,O){super(r,h,m,O),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(h){return new(h||p)(tr(m0),tr(dz),tr(Cf),tr(TY,8))}}static{this.\u0275cmp=ms({type:p,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(h,m){h&2&&(K0("disabled",m._getDisabledAttribute())("aria-disabled",m._getAriaDisabled()),nB(m.color?"mat-"+m.color:""),h1("mat-mdc-button-disabled",m.disabled)("mat-mdc-button-disabled-interactive",m.disabledInteractive)("_mat-animation-noopable",m._animationMode==="NoopAnimations")("mat-unthemed",!m.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[xl,bs],attrs:dSe,ngContentSelectors:hSe,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(h,m){h&1&&(iv(),fs(0,"span",0),rf(1),fs(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',pSe],encapsulation:2,changeDetection:0})}}return p})();var Z3e=(()=>{class p{static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({imports:[QD,V3e,QD]})}}return p})();var pJ=class{};function K3e(p){return p&&typeof p.connect=="function"&&!(p instanceof nY)}var yR=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(l=!1,r,h=!0,m){this._multiple=l,this._emitChanges=h,this.compareWith=m,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ad,r&&r.length&&(l?r.forEach(O=>this._markSelected(O)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...l){this._verifyValueAssignment(l),l.forEach(h=>this._markSelected(h));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...l){this._verifyValueAssignment(l),l.forEach(h=>this._unmarkSelected(h));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...l){this._verifyValueAssignment(l);let r=this.selected,h=new Set(l);l.forEach(O=>this._markSelected(O)),r.filter(O=>!h.has(this._getConcreteValue(O,h))).forEach(O=>this._unmarkSelected(O));let m=this._hasQueuedChanges();return this._emitChangeEvent(),m}toggle(l){return this.isSelected(l)?this.deselect(l):this.select(l)}clear(l=!0){this._unmarkAll();let r=this._hasQueuedChanges();return l&&this._emitChangeEvent(),r}isSelected(l){return this._selection.has(this._getConcreteValue(l))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(l){this._multiple&&this.selected&&this._selected.sort(l)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(l){l=this._getConcreteValue(l),this.isSelected(l)||(this._multiple||this._unmarkAll(),this.isSelected(l)||this._selection.add(l),this._emitChanges&&this._selectedToEmit.push(l))}_unmarkSelected(l){l=this._getConcreteValue(l),this.isSelected(l)&&(this._selection.delete(l),this._emitChanges&&this._deselectedToEmit.push(l))}_unmarkAll(){this.isEmpty()||this._selection.forEach(l=>this._unmarkSelected(l))}_verifyValueAssignment(l){l.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(l,r){if(this.compareWith){r=r??this._selection;for(let h of r)if(this.compareWith(l,h))return h;return l}else return l}};var eue=class{constructor(){this.expansionModel=new yR(!0)}toggle(l){this.expansionModel.toggle(this._trackByValue(l))}expand(l){this.expansionModel.select(this._trackByValue(l))}collapse(l){this.expansionModel.deselect(this._trackByValue(l))}isExpanded(l){return this.expansionModel.isSelected(this._trackByValue(l))}toggleDescendants(l){this.expansionModel.isSelected(this._trackByValue(l))?this.collapseDescendants(l):this.expandDescendants(l)}collapseAll(){this.expansionModel.clear()}expandDescendants(l){let r=[l];r.push(...this.getDescendants(l)),this.expansionModel.select(...r.map(h=>this._trackByValue(h)))}collapseDescendants(l){let r=[l];r.push(...this.getDescendants(l)),this.expansionModel.deselect(...r.map(h=>this._trackByValue(h)))}_trackByValue(l){return this.trackBy?this.trackBy(l):l}},dJ=class extends eue{constructor(l,r,h){super(),this.getLevel=l,this.isExpandable=r,this.options=h,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(l){let r=this.dataNodes.indexOf(l),h=[];for(let m=r+1;m<this.dataNodes.length&&this.getLevel(l)<this.getLevel(this.dataNodes[m]);m++)h.push(this.dataNodes[m]);return h}expandAll(){this.expansionModel.select(...this.dataNodes.map(l=>this._trackByValue(l)))}};var $3e=new Sl("CDK_TREE_NODE_OUTLET_NODE"),tue=(()=>{class p{constructor(r,h){this.viewContainer=r,this._node=h}static{this.\u0275fac=function(h){return new(h||p)(tr(mL),tr($3e,8))}}static{this.\u0275dir=H0({type:p,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return p})(),nue=class{constructor(l){this.$implicit=l}},hJ=(()=>{class p{constructor(r){this.template=r}static{this.\u0275fac=function(h){return new(h||p)(tr(Df))}}static{this.\u0275dir=H0({type:p,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return p})();function J3e(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var NH=(()=>{class p{get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}constructor(r,h){this._differs=r,this._changeDetectorRef=h,this._elementRef=ml(m0),this._dir=ml(cJ),this._onDestroy=new ad,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new Lu({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new Lu([]),this._nodeType=new Lu(null),this._nodes=new Lu(new Map),this._keyManagerNodes=new Lu([]),this._keyManagerFactory=ml(x3e),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){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),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let r=this._nodeDefs.filter(h=>!h.when);r.length>1,this._defaultNodeDef=r[0]}_setNodeTypeIfUnset(r){this._nodeType.value===null&&this._nodeType.next(r)}_switchDataSource(r){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),r||this._nodeOutlet.viewContainer.clear(),this._dataSource=r,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new yR(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let r;K3e(this._dataSource)?r=this._dataSource.connect(this):C_(this._dataSource)?r=this._dataSource:Array.isArray(this._dataSource)&&(r=zf(this._dataSource)),r&&(this._dataSubscription=this._getRenderData(r).pipe(_w(this._onDestroy)).subscribe(h=>{this._renderDataChanges(h)}))}_getRenderData(r){let h=this._getExpansionModel();return H9([r,this._nodeType,h.changed.pipe(X8(null),kD(m=>{this._emitExpansionChanges(m)}))]).pipe(Ky(([m,O])=>O===null?zf({renderNodes:m,flattenedNodes:null,nodeType:O}):this._computeRenderingData(m,O).pipe(ip(C=>sb(P1({},C),{nodeType:O})))))}_renderDataChanges(r){if(r.nodeType===null){this.renderNodeChanges(r.renderNodes);return}this._updateCachedData(r.flattenedNodes),this.renderNodeChanges(r.renderNodes),this._updateKeyManagerItems(r.flattenedNodes)}_emitExpansionChanges(r){if(!r)return;let h=this._nodes.value;for(let m of r.added)h.get(m)?._emitExpansionState(!0);for(let m of r.removed)h.get(m)?._emitExpansionState(!1)}_initializeKeyManager(){let r=H9([this._keyManagerNodes,this._nodes]).pipe(ip(([m,O])=>m.reduce((C,G)=>{let S=O.get(this._getExpansionKey(G));return S&&C.push(S),C},[]))),h={trackBy:m=>this._getExpansionKey(m.data),skipPredicate:m=>!!m.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(r,h)}_initializeDataDiffer(){let r=this.trackBy??((h,m)=>this._getExpansionKey(m));this._dataDiffer=this._differs.find([]).create(r)}_checkTreeControlUsage(){}renderNodeChanges(r,h=this._dataDiffer,m=this._nodeOutlet.viewContainer,O){let C=h.diff(r);!C&&!this._viewInit||(C?.forEachOperation((G,S,H)=>{if(G.previousIndex==null)this.insertNode(r[H],H,m,O);else if(H==null)m.remove(S);else{let ee=m.get(S);m.move(ee,H)}}),C?.forEachIdentityChange(G=>{let S=G.item;if(G.currentIndex!=null){let H=m.get(G.currentIndex);H.context.$implicit=S}}),O?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(r,h){if(this._nodeDefs.length===1)return this._nodeDefs.first;let m=this._nodeDefs.find(O=>O.when&&O.when(h,r))||this._defaultNodeDef;return m}insertNode(r,h,m,O){let C=this._getLevelAccessor(),G=this._getNodeDef(r,h),S=this._getExpansionKey(r),H=new nue(r);O??=this._parents.get(S)??void 0,C?H.level=C(r):O!==void 0&&this._levels.has(this._getExpansionKey(O))?H.level=this._levels.get(this._getExpansionKey(O))+1:H.level=0,this._levels.set(S,H.level),(m||this._nodeOutlet.viewContainer).createEmbeddedView(G.template,H,h),mB.mostRecentTreeNode&&(mB.mostRecentTreeNode.data=r)}isExpanded(r){return!!(this.treeControl?.isExpanded(r)||this._expansionModel?.isSelected(this._getExpansionKey(r)))}toggle(r){this.treeControl?this.treeControl.toggle(r):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(r))}expand(r){this.treeControl?this.treeControl.expand(r):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(r))}collapse(r){this.treeControl?this.treeControl.collapse(r):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(r))}toggleDescendants(r){this.treeControl?this.treeControl.toggleDescendants(r):this._expansionModel&&(this.isExpanded(r)?this.collapseDescendants(r):this.expandDescendants(r))}expandDescendants(r){if(this.treeControl)this.treeControl.expandDescendants(r);else if(this._expansionModel){let h=this._expansionModel;h.select(this._getExpansionKey(r)),this._getDescendants(r).pipe(SI(1),_w(this._onDestroy)).subscribe(m=>{h.select(...m.map(O=>this._getExpansionKey(O)))})}}collapseDescendants(r){if(this.treeControl)this.treeControl.collapseDescendants(r);else if(this._expansionModel){let h=this._expansionModel;h.deselect(this._getExpansionKey(r)),this._getDescendants(r).pipe(SI(1),_w(this._onDestroy)).subscribe(m=>{h.deselect(...m.map(O=>this._getExpansionKey(O)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(h=>this._getExpansionKey(h)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(h=>this._getExpansionKey(h)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(r){let h=this._getLevelAccessor(),m=this._expansionModel??this.treeControl?.expansionModel;if(!m)return zf([]);let O=this._getExpansionKey(r),C=m.changed.pipe(Ky(S=>S.added.includes(O)?zf(!0):S.removed.includes(O)?zf(!1):P9),X8(this.isExpanded(r)));if(h)return H9([C,this._flattenedNodes]).pipe(ip(([S,H])=>S?this._findChildrenByLevel(h,H,r,1):[]));let G=this._getChildrenAccessor();if(G)return pB(G(r)??[]);throw J3e()}_findChildrenByLevel(r,h,m,O){let C=this._getExpansionKey(m),G=h.findIndex(te=>this._getExpansionKey(te)===C),S=r(m),H=S+O,ee=[];for(let te=G+1;te<h.length;te++){let Ae=r(h[te]);if(Ae<=S)break;Ae<=H&&ee.push(h[te])}return ee}_registerNode(r){this._nodes.value.set(this._getExpansionKey(r.data),r),this._nodes.next(this._nodes.value)}_unregisterNode(r){this._nodes.value.delete(this._getExpansionKey(r.data)),this._nodes.next(this._nodes.value)}_getLevel(r){return this._levels.get(this._getExpansionKey(r))}_getSetSize(r){return this._getAriaSet(r).length}_getPositionInSet(r){let h=this._getAriaSet(r),m=this._getExpansionKey(r);return h.findIndex(O=>this._getExpansionKey(O)===m)+1}_getNodeParent(r){let h=this._parents.get(this._getExpansionKey(r.data));return h&&this._nodes.value.get(this._getExpansionKey(h))}_getNodeChildren(r){return this._getDirectChildren(r.data).pipe(ip(h=>h.reduce((m,O)=>{let C=this._nodes.value.get(this._getExpansionKey(O));return C&&m.push(C),m},[])))}_sendKeydownToKeyManager(r){if(r.target===this._elementRef.nativeElement)this._keyManager.onKeydown(r);else{let h=this._nodes.getValue();for(let[,m]of h)if(r.target===m._elementRef.nativeElement){this._keyManager.onKeydown(r);break}}}_getDescendants(r){if(this.treeControl)return zf(this.treeControl.getDescendants(r));if(this.levelAccessor){let h=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,r,1/0);return zf(h)}if(this.childrenAccessor)return this._getAllChildrenRecursively(r).pipe(RQ((h,m)=>(h.push(...m),h),[]));throw J3e()}_getAllChildrenRecursively(r){return this.childrenAccessor?pB(this.childrenAccessor(r)).pipe(SI(1),Ky(h=>{for(let m of h)this._parents.set(this._getExpansionKey(m),r);return zf(...h).pipe(w_(m=>vz(zf([m]),this._getAllChildrenRecursively(m))))})):zf([])}_getExpansionKey(r){return this.expansionKey?.(r)??r}_getAriaSet(r){let h=this._getExpansionKey(r),m=this._parents.get(h),O=m?this._getExpansionKey(m):null;return this._ariaSets.get(O)??[r]}_findParentForNode(r,h,m){if(!m.length)return null;let O=this._levels.get(this._getExpansionKey(r))??0;for(let C=h-1;C>=0;C--){let G=m[C];if((this._levels.get(this._getExpansionKey(G))??0)<O)return G}return null}_flattenNestedNodesWithExpansion(r,h=0){let m=this._getChildrenAccessor();return m?zf(...r).pipe(w_(O=>{let C=this._getExpansionKey(O);this._parents.has(C)||this._parents.set(C,null),this._levels.set(C,h);let G=pB(m(O));return vz(zf([O]),G.pipe(SI(1),kD(S=>{this._ariaSets.set(C,[...S??[]]);for(let H of S??[]){let ee=this._getExpansionKey(H);this._parents.set(ee,O),this._levels.set(ee,h+1)}}),Ky(S=>S?this._flattenNestedNodesWithExpansion(S,h+1).pipe(ip(H=>this.isExpanded(O)?H:[])):zf([]))))}),RQ((O,C)=>(O.push(...C),O),[])):zf([...r])}_computeRenderingData(r,h){if(this.childrenAccessor&&h==="flat")return this._ariaSets.set(null,[...r]),this._flattenNestedNodesWithExpansion(r).pipe(ip(m=>({renderNodes:m,flattenedNodes:m})));if(this.levelAccessor&&h==="nested"){let m=this.levelAccessor;return zf(r.filter(O=>m(O)===0)).pipe(ip(O=>({renderNodes:O,flattenedNodes:r})),kD(({flattenedNodes:O})=>{this._calculateParents(O)}))}else return h==="flat"?zf({renderNodes:r,flattenedNodes:r}).pipe(kD(({flattenedNodes:m})=>{this._calculateParents(m)})):(this._ariaSets.set(null,[...r]),this._flattenNestedNodesWithExpansion(r).pipe(ip(m=>({renderNodes:r,flattenedNodes:m}))))}_updateCachedData(r){this._flattenedNodes.next(r)}_updateKeyManagerItems(r){this._keyManagerNodes.next(r)}_calculateParents(r){let h=this._getLevelAccessor();if(h){this._parents.clear(),this._ariaSets.clear();for(let m=0;m<r.length;m++){let O=r[m],C=this._getExpansionKey(O);this._levels.set(C,h(O));let G=this._findParentForNode(O,m,r);this._parents.set(C,G);let S=G?this._getExpansionKey(G):null,H=this._ariaSets.get(S)??[];H.splice(m,0,O),this._ariaSets.set(S,H)}}}static{this.\u0275fac=function(h){return new(h||p)(tr(cH),tr(Ug))}}static{this.\u0275cmp=ms({type:p,selectors:[["cdk-tree"]],contentQueries:function(h,m,O){if(h&1&&WA(O,hJ,5),h&2){let C;Su(C=xu())&&(m._nodeDefs=C)}},viewQuery:function(h,m){if(h&1&&d2(tue,7),h&2){let O;Su(O=xu())&&(m._nodeOutlet=O.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(h,m){h&1&&ji("keydown",function(C){return m._sendKeydownToKeyManager(C)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],standalone:!0,features:[bs],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(h,m){h&1&&Vg(0,0)},dependencies:[tue],encapsulation:2})}}return p})(),mB=(()=>{class p{get role(){return"treeitem"}set role(r){}get isExpandable(){return this._isExpandable()}set isExpandable(r){this._inputIsExpandable=r,!(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(r){this._inputIsExpanded=r,r?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(r){r!==this._data&&(this._data=r,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??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)}constructor(r,h){this._elementRef=r,this._tree=h,this._tabindex=-1,this.activation=new Br,this.expandedChange=new Br,this._destroyed=new ad,this._dataChanges=new ad,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=ml(Ug),p.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=gSe(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(ip(()=>this.isExpanded),lY()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){p.mostRecentTreeNode===this&&(p.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??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(r){this.expandedChange.emit(r)}static{this.\u0275fac=function(h){return new(h||p)(tr(m0),tr(NH))}}static{this.\u0275dir=H0({type:p,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(h,m){h&1&&ji("click",function(){return m._setActiveItem()})("focus",function(){return m._focusItem()}),h&2&&(xY("tabindex",m._tabindex),K0("aria-expanded",m._getAriaExpanded())("aria-level",m.level+1)("aria-posinset",m._getPositionInSet())("aria-setsize",m._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",ss],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",ss],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[ap]})}}return p})();function gSe(p){let l=p.parentElement;for(;l&&!ySe(l);)l=l.parentElement;return l?l.classList.contains("cdk-nested-tree-node")?lz(l.getAttribute("aria-level")):0:-1}function ySe(p){let l=p.classList;return!!(l?.contains("cdk-nested-tree-node")||l?.contains("cdk-tree"))}var MSe=/([A-Za-z%]+)$/,iue=(()=>{class p{get level(){return this._level}set level(r){this._setLevelInput(r)}get indent(){return this._indent}set indent(r){this._setIndentInput(r)}constructor(r,h,m,O){this._treeNode=r,this._tree=h,this._element=m,this._dir=O,this._destroyed=new ad,this.indentUnits="px",this._indent=40,this._setPadding(),O&&O.change.pipe(_w(this._destroyed)).subscribe(()=>this._setPadding(!0)),r._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let r=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,h=this._level==null?r:this._level;return typeof h=="number"?`${h*this._indent}${this.indentUnits}`:null}_setPadding(r=!1){let h=this._paddingIndent();if(h!==this._currentPadding||r){let m=this._element.nativeElement,O=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",C=O==="paddingLeft"?"paddingRight":"paddingLeft";m.style[O]=h||"",m.style[C]="",this._currentPadding=h}}_setLevelInput(r){this._level=isNaN(r)?null:r,this._setPadding()}_setIndentInput(r){let h=r,m="px";if(typeof r=="string"){let O=r.split(MSe);h=O[0],m=O[1]||m}this.indentUnits=m,this._indent=lz(h),this._setPadding()}static{this.\u0275fac=function(h){return new(h||p)(tr(mB),tr(NH),tr(m0),tr(cJ,8))}}static{this.\u0275dir=H0({type:p,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",lz],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[ap]})}}return p})(),rue=(()=>{class p{constructor(r,h){this._tree=r,this._treeNode=h,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(h){return new(h||p)(tr(NH),tr(mB))}}static{this.\u0275dir=H0({type:p,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(h,m){h&1&&ji("click",function(C){return m._toggle(),C.stopPropagation()})("keydown.Enter",function(C){return m._toggle(),C.preventDefault()})("keydown.Space",function(C){return m._toggle(),C.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",ss]},standalone:!0,features:[ap]})}}return p})();var fJ=(()=>{class p{static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({})}}return p})();var ege=(()=>{class p extends hJ{static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RA(p)))(m||p)}})()}static{this.\u0275dir=H0({type:p,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[O0([{provide:hJ,useExisting:p}]),xl]})}}return p})();var tge=(()=>{class p extends iue{get level(){return this._level}set level(r){this._setLevelInput(r)}get indent(){return this._indent}set indent(r){this._setIndentInput(r)}static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RA(p)))(m||p)}})()}static{this.\u0275dir=H0({type:p,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",lz],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[O0([{provide:iue,useExisting:p}]),ap,xl]})}}return p})();var nge=(()=>{class p extends rue{static{this.\u0275fac=(()=>{let r;return function(m){return(r||(r=RA(p)))(m||p)}})()}static{this.\u0275dir=H0({type:p,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[O0([{provide:rue,useExisting:p}]),xl]})}}return p})();var ige=(()=>{class p{static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275mod=av({type:p})}static{this.\u0275inj=sv({imports:[fJ,QD,QD]})}}return p})(),mJ=class{constructor(l,r,h,m){this.transformFunction=l,this.getLevel=r,this.isExpandable=h,this.getChildren=m}_flattenNode(l,r,h,m){let O=this.transformFunction(l,r);if(h.push(O),this.isExpandable(O)){let C=this.getChildren(l);C&&(Array.isArray(C)?this._flattenChildren(C,r,h,m):C.pipe(SI(1)).subscribe(G=>{this._flattenChildren(G,r,h,m)}))}return h}_flattenChildren(l,r,h,m){l.forEach((O,C)=>{let G=m.slice();G.push(C!=l.length-1),this._flattenNode(O,r+1,h,G)})}flattenNodes(l){let r=[];return l.forEach(h=>this._flattenNode(h,0,r,[])),r}expandFlattenedNodes(l,r){let h=[],m=[];return m[0]=!0,l.forEach(O=>{let C=!0;for(let G=0;G<=this.getLevel(O);G++)C=C&&m[G];C&&h.push(O),this.isExpandable(O)&&(m[this.getLevel(O)+1]=r.isExpanded(O))}),h}},bJ=class extends pJ{get data(){return this._data.value}set data(l){this._data.next(l),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(l,r,h){super(),this._treeControl=l,this._treeFlattener=r,this._flattenedData=new Lu([]),this._expandedData=new Lu([]),this._data=new Lu([]),h&&(this.data=h)}connect(l){return I8(l.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ip(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var vJ=(()=>{class p{constructor(r){this.elementRef=r,this.clickOutside=new Br}onClick(r){this.elementRef.nativeElement.contains(r)||this.clickOutside.emit()}static{this.\u0275fac=function(h){return new(h||p)(tr(m0))}}static{this.\u0275dir=H0({type:p,selectors:[["","libClickOutside",""]],hostBindings:function(h,m){h&1&&ji("click",function(C){return m.onClick(C.target)},!1,zI)},outputs:{clickOutside:"clickOutside"},standalone:!0})}}return p})();var OSe=(p,l)=>({"top.px":p,"left.px":l});function ASe(p,l){if(p&1&&fs(0,"div",8),p&2){let r=dn(2).$implicit;Wv("background-image","url("+r.icon+")")}}function _Se(p,l){if(p&1){let r=Js();fn(0,"li",5),ji("click",function(){$i(r);let m=dn().$implicit,O=dn(2);return er(O._actionClick(m))})("keypress",function(){$i(r);let m=dn().$implicit,O=dn(2);return er(O._actionClick(m))}),Dr(1,ASe,1,2,"div",6),fn(2,"div",7),ts(3),wn()()}if(p&2){let r=dn().$implicit,h=dn(2);h1("basic-context-menu__item--disabled",h._disabled(r)),ln(),_s(h.showIcons?1:-1),ln(),Zl("title",r.tooltip?r.tooltip:r.title),ln(),to(" ",r.title," ")}}function TSe(p,l){p&1&&fs(0,"div",4)}function ESe(p,l){if(p&1&&Dr(0,_Se,4,5,"li",3)(1,TSe,1,0,"div",4),p&2){let r=l.$implicit;_s(r.id!=="separator"?0:1)}}function zSe(p,l){if(p&1&&(fn(0,"ul",2),Lf(1,ESe,2,1,null,null,tM),wn()),p&2){let r=dn();Vn("ngStyle",Yg(1,OSe,r._position().posY,r._position().posX)),ln(),Sf(r.items())}}var MR=(()=>{class p{set itemsValue(r){r&&this.items.set(r)}constructor(r){this.el=r,this.triggerSelected=new Br,this.showIcons=!0,this.triggerTitle="",this._showDropdown=Vo(!1),this._data=void 0,this._position=Vo({posX:-2e3,posY:-2e3}),this.items=Vo([]),this._element=this.el.nativeElement.shadowRoot}get data(){return this._data}set data(r){this._data=r}_clickOutside(){this._stopTriggerPositionTracking(),this._showDropdown.set(!1)}_actionClick(r){if(this._showDropdown.set(!1),typeof r.disabled=="function"){if(r.disabled?.(this._data))return;r.action?.(this._data);return}r.disabled||r.action?.(this._data)}_disabled(r){return r.disabled?typeof r.disabled=="function"?r.disabled?.(this._data):r.disabled:!1}_calculateContextMenuPosition(){let r=this._element.querySelector(".context-menu-trigger");if(!r)return;let{right:h,top:m}=r.getBoundingClientRect();this._position.set({posX:h,posY:m})}_stopTriggerPositionTracking(){this._interval&&(clearInterval(this._interval),this._interval=void 0)}_startTriggerPositionTracking(){this._interval||(this._interval=setInterval(()=>{this._calculateContextMenuPosition()},50))}_toggleDropdown(r){this._showDropdown.update(h=>!h),this._calculateContextMenuPosition(),this._startTriggerPositionTracking(),lc(this,"triggerSelected"),r.stopPropagation()}static{this.\u0275fac=function(h){return new(h||p)(tr(m0))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[2,"showIcons","showIcons",ss],triggerTitle:"triggerTitle",itemsValue:[0,"items","itemsValue"],data:"data"},outputs:{triggerSelected:"triggerSelected"},standalone:!0,features:[ap,bs],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],["data-test","context-menu",1,"context-menu-trigger",3,"click","keypress","title"],["data-test","basic-context-menu__list",1,"basic-context-menu__list",3,"ngStyle"],["data-test","basic-context-menu__item",1,"basic-context-menu__item",3,"basic-context-menu__item--disabled"],["data-test","basic-context-menu__item__separator",1,"basic-context-menu__item__separator"],["data-test","basic-context-menu__item",1,"basic-context-menu__item",3,"click","keypress"],["data-test","basic-context-menu__item__icon",1,"basic-context-menu__item__icon",3,"background-image"],["data-test","basic-context-menu__item__label",1,"basic-context-menu__item__label",3,"title"],["data-test","basic-context-menu__item__icon",1,"basic-context-menu__item__icon"]],template:function(h,m){h&1&&(fn(0,"div",0),ji("clickOutside",function(){return m._clickOutside()}),fn(1,"div",1),ji("click",function(C){return m._toggleDropdown(C)})("keypress",function(C){return m._toggleDropdown(C)}),Dr(2,zSe,3,4,"ul",2),wn()()),h&2&&(ln(),Zl("title",m.triggerTitle),ln(),_s(m._showDropdown()?2:-1))},dependencies:[dH,vJ],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.no-transition{-moz-transition:none;-webkit-transition:none;-o-transition:color 0 ease-in;transition:none}.ml-1{margin-left:1rem}.mr-1{margin-right:1rem}.h-full{height:100%}.fixed{position:fixed}.basic-context-menu{display:block;font-family:var(--context-menu-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--context-menu-font-size, 1.4rem)}.basic-context-menu>.context-menu-trigger{min-width:var(--context-menu-trigger-width, 2.5rem);max-width:var(--context-menu-trigger-width, 2.5rem);min-height:var(--context-menu-trigger-height, 2.5rem);max-height:var(--context-menu-trigger-height, 2.5rem);background-repeat:no-repeat;background-position:center;background-image:url("./assets/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./assets/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:fixed;top:-2000;left:-2000;translate:var(--context-menu-translate-x, 0) var(--context-menu-translate-y, 0);border:thin solid var(--context-menu-list-border-color-enabled);border-top-width:0;padding-top:.8rem;padding-bottom:.8rem;padding-left:0;padding-right:0;border-bottom-left-radius:var(--context-menu-border-radius, .6rem);border-bottom-right-radius:var(--context-menu-border-radius, .6rem);border-top-left-radius:var(--context-menu-border-radius, .6rem);border-top-right-radius:var(--context-menu-border-radius, .6rem);-webkit-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);-moz-box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);box-shadow:0 .2rem .6rem var(--context-menu-list-box-shadow-color-enabled);width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-list-background-color)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item{display:flex;flex-direction:row;cursor:pointer;line-height:var(--context-menu-item-line-height, 3.2rem);list-style-type:none;padding-left:1.2rem;padding-right:2.1rem}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--context-menu-font-weight, 700);color:var(--context-menu-item-label-text-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item>.basic-context-menu__item__icon{height:var(--context-menu-item-line-height, 3.2rem);width:var(--context-menu-item-line-height, 3.2rem);min-width:var(--context-menu-item-line-height, 3.2rem);background-repeat:no-repeat;background-size:var(--context-menu-item-icon-size, 1.8rem);margin-right:.6rem;background-position:center;background-image:url("./assets/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-item-background-color-hovered)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-item-seperator-border-color-enabled)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled{background-color:transparent;cursor:default}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled>*{opacity:var(--context-menu-item-disabled-opacity, .3)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item--disabled:hover{cursor:default;background-color:var(--context-menu-item-background-color-disabled)}
9902
- `],encapsulation:3})}}return p})();var rge=p=>({node:p}),sge=(p,l)=>({"icon-checked":p,"icon-unchecked":l}),age=(p,l,r)=>({"icon-undetermined":p,"icon-checked":l,"icon-unchecked":r});function CSe(p,l){p&1&&(fn(0,"div",1),ts(1),wn()),p&2&&(ln(),Z0(l))}function DSe(p,l){if(p&1&&Vg(0,7),p&2){let r=dn().$implicit,h=dn();Vn("ngTemplateOutlet",h.customNodeTemplate())("ngTemplateOutletContext",$h(2,rge,r))}}function LSe(p,l){p&1&&fs(0,"div",14)}function SSe(p,l){p&1&&fs(0,"div",15)}function xSe(p,l){if(p&1&&(Dr(0,LSe,1,0,"div",11),fn(1,"span",12),Dr(2,SSe,1,0,"div",13),fn(3,"div"),ts(4),wn()()),p&2){let r=dn().$implicit,h=dn();Vn("ngIf",h.showObjectsIcons),ln(),h1("selected-node",h._isSelected(r)),ln(3),to(" ",r.name," ")}}function RSe(p,l){if(p&1){let r=Js();fn(0,"lib-bimplus-context-menu",16),ji("triggerSelected",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleNode(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("items",h.contextMenus==null?null:h.contextMenus.objectContextMenuitems)("data",r)}}function NSe(p,l){if(p&1){let r=Js();fn(0,"div",17),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Yg(1,sge,h._isChecked1(r),!h._isChecked1(r)))}}function PSe(p,l){if(p&1){let r=Js();fn(0,"div",18),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Yg(1,sge,h._isChecked2(r),!h._isChecked2(r)))}}function BSe(p,l){if(p&1){let r=Js();fn(0,"cdk-tree-node",5),ji("click",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))})("keypress",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))}),fs(1,"button",6),Dr(2,DSe,1,4,"ng-container",7)(3,xSe,5,4)(4,RSe,1,2,"lib-bimplus-context-menu",8)(5,NSe,1,4,"div",9)(6,PSe,1,4,"div",10),wn()}if(p&2){let r=l.$implicit,h=dn();h1("dragable-node",h.enableDragAndDrop&&r.level>0)("selected-node",h._isSelected(r)),Vn("matTreeNodePaddingIndent",h.paddingIndent)("title",r.name),K0("data-test",h.dataTestPrefix+r.id)("node-id",r.id),ln(2),_s(h.customNodeTemplate()&&h._isCustomNodeType(r)?2:3),ln(2),Vn("ngIf",h.contextMenus==null||h.contextMenus.objectContextMenuitems==null?null:h.contextMenus.objectContextMenuitems.length),ln(),_s(h.hasCheckBox1?5:-1),ln(),_s(h.hasCheckBox2?6:-1)}}function HSe(p,l){if(p&1&&Vg(0,7),p&2){let r=dn().$implicit,h=dn();Vn("ngTemplateOutlet",h.customNodeTemplate())("ngTemplateOutletContext",$h(2,rge,r))}}function FSe(p,l){p&1&&fs(0,"div",23)}function kSe(p,l){p&1&&fs(0,"div",15)}function qSe(p,l){if(p&1&&(Dr(0,FSe,1,0,"div",22),fn(1,"span",12),Dr(2,kSe,1,0,"div",13),fn(3,"div",12),ts(4),wn()()),p&2){let r=dn().$implicit,h=dn();Vn("ngIf",h.showFoldersIcons),ln(),h1("selected-node",h._isSelected(r))("selected-all-descendants-nodes",h._descendantsAllSelected(r)&&h._isSelected(r)&&h.enableParentHighlighting)("selected-partially-descendants-nodes",h._descendantsPartiallySelected(r)&&h.enableParentHighlighting),ln(3),to(" ",r.name," ")}}function WSe(p,l){if(p&1){let r=Js();fn(0,"lib-bimplus-context-menu",16),ji("triggerSelected",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleNode(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("items",h.contextMenus==null?null:h.contextMenus.folderContextMenuitems)("data",r)}}function USe(p,l){if(p&1){let r=Js();fn(0,"div",17),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Wg(1,age,h._isUndetermined1(r),!h._isUndetermined1(r)&&h._isChecked1(r),!h._isUndetermined1(r)&&!h._isChecked1(r)))}}function GSe(p,l){if(p&1){let r=Js();fn(0,"div",18),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Wg(1,age,h._isUndetermined2(r),!h._isUndetermined2(r)&&h._isChecked2(r),!h._isUndetermined2(r)&&!h._isChecked2(r)))}}function jSe(p,l){if(p&1){let r=Js();fn(0,"cdk-tree-node",19),ji("click",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))})("keypress",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))}),fn(1,"button",20),fs(2,"div",21),wn(),Dr(3,HSe,1,4,"ng-container",7)(4,qSe,5,8)(5,WSe,1,2,"lib-bimplus-context-menu",8)(6,USe,1,5,"div",9)(7,GSe,1,5,"div",10),wn()}if(p&2){let r=l.$implicit,h=dn();h1("dragable-node",h.enableDragAndDrop&&r.level>0)("selected-node",h._isSelected(r)),Vn("matTreeNodePaddingIndent",h.paddingIndent)("title",r.name),K0("data-test",h.dataTestPrefix+r.id)("node-id",r.id),ln(),K0("aria-label","Toggle "+r.name),ln(),h1("expand-more-icon",h._hasChildren(r)&&!h._treeControl.isExpanded(r))("collapse-icon",h._hasChildren(r)&&h._treeControl.isExpanded(r)),ln(),_s(h.customNodeTemplate()&&h._isCustomNodeType(r)?3:4),ln(2),Vn("ngIf",h.contextMenus==null||h.contextMenus.folderContextMenuitems==null?null:h.contextMenus.folderContextMenuitems.length),ln(),_s(h.hasCheckBox1?6:-1),ln(),_s(h.hasCheckBox2?7:-1)}}var hz=(()=>{class p{set treeTitleValue(r){this.treeTitle.set(r)}constructor(r){this.el=r,this.treeDataStringified=null,this.treeTitle=Vo(void 0),this.paddingIndent="2.8rem",this.multiSelect=!1,this.oneLevelMultiSelect=!1,this.showFoldersIcons=!1,this.showObjectsIcons=!1,this.enableSelect=!0,this.enableParentHighlighting=!0,this.enableDragAndDrop=!1,this.dataTestPrefix="",this.contextMenus=null,this.hasCheckBox1=!0,this.hasCheckBox2=!0,this.customNodeTemplate=Vo(null),this.selectedNodes=new Br,this.checked1Nodes=new Br,this.checked2Nodes=new Br,this._selectionList=void 0,this._transformer=(h,m)=>({expandable:h.children!==void 0&&h.children.length>0,children_count:h.children?.length,name:h.name,id:h.id,level:m,parent:h.parent,nodeType:h.nodeType,isChecked1:!0,isChecked2:!0,isUndetermined1:!1,isUndetermined2:!1}),this._treeControl=new dJ(h=>h.level,h=>h.expandable),this._treeFlattener=new mJ(this._transformer,h=>h.level,h=>h.expandable,h=>h.children),this._dataSource=new bJ(this._treeControl,this._treeFlattener),this._isExpandable=(h,m)=>m.expandable}get treeData(){return this._dataSource.data}set treeData(r){this.treeDataStringified=null,this._dataSource.data=r}set customNodeTemplateValue(r){this.customNodeTemplate.set(r)}ngOnInit(){let r=this.el.nativeElement;r&&(r.get_node=this.get_node.bind(this),r.select_node=this.select_node.bind(this)),this._selectionList=new yR(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(r,h){for(let m of h){if(m.id===r)return m;if(m.children){let O=this._getNode(r,m.children);if(O)return O}}return null}get_node(r,h=!1){return typeof r=="string"?this._getNode(r,this._dataSource.data):h?this.el.nativeElement.querySelector(`[node-id='${r.id}']`):this._getNode(r.id,this._dataSource.data)}select_node(r,h=!1){let m=this._treeControl.dataNodes.find(O=>O.id===r);if(m&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==m.parent&&this._selectionList.clear(),!this._selectionList.isSelected(m))){if(this._selectionList.select(m),!this.multiSelect&&!this.oneLevelMultiSelect&&!h){lc(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(m),this.enableParentHighlighting&&this._updateParentSelections(m),h||lc(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(r){let h=this._treeControl.dataNodes.find(m=>m.id===r);h&&this._treeControl.expand(h)}is_expanded(r){let h=this._treeControl.dataNodes.find(m=>m.id===r);return h?this._treeControl.isExpanded(h):!1}is_selected(r){if(!this._selectionList)return;let h=this._treeControl.dataNodes.find(m=>m.id===r);return h?this._selectionList?.isSelected(h):!1}_setNewData(r){let h=JSON.parse(r);this._dataSource.data=h??[]}_changedTreeData(r){this._setNewData(r.currentValue)}ngOnChanges(r){(r.multiSelect||r.oneLevelMultiSelect)&&(this._selectionList=new yR(this.multiSelect||this.oneLevelMultiSelect)),r.treeDataStringified&&this._changedTreeData(r.treeDataStringified)}_isCustomNodeType(r){return r.nodeType!=null&&r.nodeType!=""}_hasChildren(r){return!r.expandable||r.children_count===void 0?!1:r.children_count>0}_descendantsAllSelected(r){if(!this._selectionList)return!1;let h=this._selectionList,m=this._treeControl.getDescendants(r);return m.length===0?!0:m.length>0&&m.every(C=>h.isSelected(C))}_descendantsPartiallySelected(r){if(!this._selectionList)return!1;let h=this._selectionList;return this._treeControl.getDescendants(r).some(C=>h.isSelected(C))&&!this._descendantsAllSelected(r)}_toggleDescendantsNodes(r){if(!this._selectionList)return;this._selectionList.isSelected(r)?this._selectionList.select(...this._treeControl.getDescendants(r)):this._selectionList.deselect(...this._treeControl.getDescendants(r))}_updateParentSelections(r){if(!this._selectionList)return;let h=r.parent,m=this._treeControl.dataNodes.find(O=>O.id===h);for(;m;)this._descendantsAllSelected(m)?this._selectionList.select(m):this._selectionList.deselect(m),h=m.parent,m=this._treeControl.dataNodes.find(O=>O.id===h)}_toggleNode(r,h){if(!h||!this.enableSelect||!this._selectionList)return;if(r!=null&&r instanceof MouseEvent&&!r?.ctrlKey&&this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==h.parent&&this._selectionList.clear(),this._selectionList.toggle(h),!this.multiSelect&&!this.oneLevelMultiSelect){lc(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(h),this.enableParentHighlighting&&this._updateParentSelections(h),lc(this,"selectedNodes",this._selectionList.selected)}_isSelected(r){return this._selectionList?this._selectionList?.isSelected(r):!1}_toggleCheckBox1(r,h){r&&(r.stopPropagation(),r.preventDefault()),h.isChecked1=!h.isChecked1,h.expandable&&this._treeControl.getDescendants(h).forEach(m=>{m.isChecked1=h.isChecked1}),h.isUndetermined1=!1,this.checkUndetermined(h,1),lc(this,"checked1Nodes",[h])}_toggleCheckBox2(r,h){r&&(r.stopPropagation(),r.preventDefault()),h.isChecked2=!h.isChecked2,h.expandable&&this._treeControl.getDescendants(h).forEach(m=>{m.isChecked2=h.isChecked2}),h.isUndetermined2=!1,this.checkUndetermined(h,2),lc(this,"checked2Nodes",[h])}checkUndetermined(r,h){if(!this.hasCheckBox1&&h===1||!this.hasCheckBox2&&h===2||!r.parent)return;let m=r;for(;m&&m.parent;){let O=this._treeControl.dataNodes.find(H=>H.id===m.parent);if(!O)return;let C=0,G=0,S=!1;this._treeControl.getDescendants(O).forEach(H=>{(h===1?H.isChecked1:H.isChecked2)?C++:G++,(h===1?H.isUndetermined1:H.isUndetermined2)&&(S=!0),C>0&&G>0&&(S=!0)}),h===1?(O.isUndetermined1=S,O.isChecked1=!G):(O.isUndetermined2=S,O.isChecked2=!G),m=O}}_isUndetermined1(r){return r.isUndetermined1}_isUndetermined2(r){return r.isUndetermined2}_isChecked1(r){return r.isChecked1}_isChecked2(r){return r.isChecked2}static{this.\u0275fac=function(h){return new(h||p)(tr(m0))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitleValue:[0,"treeTitle","treeTitleValue"],paddingIndent:"paddingIndent",multiSelect:[2,"multiSelect","multiSelect",ss],oneLevelMultiSelect:[2,"oneLevelMultiSelect","oneLevelMultiSelect",ss],showFoldersIcons:[2,"showFoldersIcons","showFoldersIcons",ss],showObjectsIcons:[2,"showObjectsIcons","showObjectsIcons",ss],enableSelect:[2,"enableSelect","enableSelect",ss],enableParentHighlighting:[2,"enableParentHighlighting","enableParentHighlighting",ss],enableDragAndDrop:[2,"enableDragAndDrop","enableDragAndDrop",ss],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",hasCheckBox1:[2,"hasCheckBox1","hasCheckBox1",ss],hasCheckBox2:[2,"hasCheckBox2","hasCheckBox2",ss],treeData:"treeData",customNodeTemplateValue:[0,"customNodeTemplate","customNodeTemplateValue"]},outputs:{selectedNodes:"selectedNodes",checked1Nodes:"checked1Nodes",checked2Nodes:"checked2Nodes"},standalone:!0,features:[ap,p2,bs],decls:5,vars:4,consts:[[1,"tree-container"],[1,"tree-title"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding","",1,"object-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data","triggerSelected",4,"ngIf"],[1,"custom-checkbox1",3,"ngClass"],[1,"custom-checkbox2",3,"ngClass"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"triggerSelected","items","data"],[1,"custom-checkbox1",3,"click","keypress","ngClass"],[1,"custom-checkbox2",3,"click","keypress","ngClass"],["matTreeNodePadding","",1,"folder-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(h,m){if(h&1&&(fn(0,"div",0),Dr(1,CSe,2,1,"div",1),fn(2,"cdk-tree",2),Dr(3,BSe,7,12,"cdk-tree-node",3)(4,jSe,8,17,"cdk-tree-node",4),wn()()),h&2){let O;ln(),_s((O=m.treeTitle())?1:-1,O),ln(),Vn("dataSource",m._dataSource)("treeControl",m._treeControl),ln(2),Vn("matTreeNodeDefWhen",m._isExpandable)}},dependencies:[ige,ege,tge,nge,Z3e,Q3e,X3e,fJ,NH,mB,MR,Dl,X1,iM,pz],styles:['.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.tree-container[_ngcontent-%COMP%]{background-color:var(--flat-tree-background-color, var(--flat-tree-container-background-color-enabled));width:calc(100% - 2 * var(--flat-tree-node-indent, 1rem));padding:var(--flat-tree-node-indent, 1rem);font-family:var(--flat-tree-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--flat-tree-font-size, 1.3rem);font-weight:var(--flat-tree-font-weight, 700);color:var(--flat-tree-container-text-color-enabled)}.tree-container[_ngcontent-%COMP%] > .tree-title[_ngcontent-%COMP%]{background-color:transparent;font-size:var(--flat-tree-title-font-size, 1.6rem);margin-bottom:1rem}.cdk-tree[_ngcontent-%COMP%]{background-color:transparent;width:100%}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;background-color:transparent;display:flex;align-items:center;cursor:pointer;line-height:var(--flat-tree-node-line-height, 2.4rem)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.folder-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-folder-font-weight, 700)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.object-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-object-font-weight, 400)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%]{overflow:hidden;flex:1}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%] > div.node-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] lib-bimplus-context-menu[_ngcontent-%COMP%]{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: var(--flat-tree-node-line-height, 2.4rem);--context-menu-trigger-bkg-color: transparent;--context-menu-translate-x: 1rem}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]:not(.selected-node):not(:hover) lib-bimplus-context-menu[_ngcontent-%COMP%]{display:none}.cdk-tree-node.dragable-node[_ngcontent-%COMP%]:hover{background-color:var(--flat-tree-draggable-node-background-color-hovered);background-image:url("./assets/6_dots_gray.svg");background-repeat:no-repeat;background-size:var(--flat-tree-node-icon-size, 1.8rem);background-position:left center}.mat-mdc-icon-button[_ngcontent-%COMP%]{padding:.2rem;width:var(--flat-tree-node-line-height, 2.4rem);height:var(--flat-tree-node-line-height, 2.4rem)}.selected-node[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-nodes-text-color-enabled)}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.custom-checkbox1[_ngcontent-%COMP%], .custom-checkbox2[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;padding-left:.2rem;padding-right:.2rem;cursor:pointer;background-size:1.8rem 1.8rem!important}.custom-checkbox1.icon-checked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/visibility_active.svg") no-repeat center}.custom-checkbox1.icon-unchecked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/visibility_inactive.svg") no-repeat center}.custom-checkbox1.icon-undetermined[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/visibility_semiactive.svg") no-repeat center}.custom-checkbox2.icon-checked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/eye_active.svg") no-repeat center}.custom-checkbox2.icon-unchecked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/eye_inactive.svg") no-repeat center}.custom-checkbox2.icon-undetermined[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/eye_semiactive.svg") no-repeat center}.icon[_ngcontent-%COMP%]{width:var(--flat-tree-node-icon-size, 1.8rem);height:var(--flat-tree-node-icon-size, 1.8rem);margin-right:.4rem;background-position:center;background-size:var(--flat-tree-node-icon-size, 1.8rem)}.icon.folder-icon[_ngcontent-%COMP%]{background:var(--flat-tree-folder-icon, url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat);background-size:var(--flat-tree-folder-icon-size, 1.6rem);background-position:center}.icon.object-icon[_ngcontent-%COMP%]{background:var(--flat-tree-object-icon, url("./assets/bimplus_Components_Documents.svg") no-repeat);background-size:var(--flat-tree-object-icon-size, 1.6rem);background-position:center}.icon.expand-collapse-icon.expand-more-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-expand-icon, url("./assets/collapsed_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}.icon.expand-collapse-icon.collapse-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-collapse-icon, url("./assets/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']})}}return p})();var PH=function(p){return p[p.None=0]="None",p[p.SelectObjectProperties=1]="SelectObjectProperties",p[p.SelectAttributes=2]="SelectAttributes",p}(PH||{}),rX=5;function VSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",r.criterium.value.toString().toUpperCase(),") ")}}function YSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",r.criterium.value,") ")}}function XSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),pa(2,"translate"),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",da(2,2,"_Not_defined"),") ")}}function QSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),pa(2,"translate"),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",da(2,2,"_Empty_value"),") ")}}function ZSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),wn()),p&2){let r=dn();ln(),to(" ",r.criterium.name,"")}}var oge=(()=>{class p extends w1{constructor(r){super(r),this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new Br}clickedDelete(){this.deleteCriterium.emit()}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba))}}static{this.\u0275cmp=ms({type:p,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(h,m){h&2&&Wv("margin-left",m.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[xl,bs],decls:7,vars:1,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click","keypress"]],template:function(h,m){h&1&&(fn(0,"div",0),Dr(1,VSe,2,2,"span",1)(2,YSe,2,2,"span",1)(3,XSe,3,4,"span",1)(4,QSe,3,4,"span",1)(5,ZSe,2,1,"span",1),fn(6,"div",2),ji("click",function(){return m.clickedDelete()})("keypress",function(){return m.clickedDelete()}),wn()()),h&2&&(ln(),_s(m.criterium.value===!1||m.criterium.value===!0?1:m.criterium.value||m.criterium.value===0?2:m.criterium.value===null?3:m.criterium.value===""?4:5))},dependencies:[Rl,f1],styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:1.8rem;width:1.8rem;cursor:pointer}.filter-criterium-item[_ngcontent-%COMP%]{flex-grow:1}.filter-criterium-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}']})}}return p})();var gJ=(()=>{class p{constructor(){this._objectStructure=Vo({id:"",name:"",parent:"",visible:!0,opaque:!0}),this.treeComponent=null,this.treeData=CI(()=>{let r=this._objectStructure();if(!r)return[];let h=this._convertObjectStructureNodeToTreeNode(r);return h?[h]:[]}),this.nodeSelected=new Br,this.nodeVisible=new Br,this.nodeOpaque=new Br}set objectStructureValue(r){this._objectStructure.set(r)}_convertObjectStructureNodeToTreeNode(r){let h={name:r.name,id:r.id,parent:r.parent};if(r.children){h.children=[];for(let m of r.children){let O=this._convertObjectStructureNodeToTreeNode(m);h.children.push(O)}}return h}_findNode(r,h){if(h.id==r)return h;if(h.children)for(let m of h.children){let O=this._findNode(r,m);if(O)return O}return null}handleSelectedNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._objectStructure());h&&this.nodeSelected.emit(h)}}handleVisibleNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._objectStructure());if(h){let m={name:h.name,parent:h.parent,id:h.id,visible:r[0].isChecked2,opaque:r[0].isChecked1};this.nodeVisible.emit(m)}}}handleOpaqueNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._objectStructure());if(h){let m={name:h.name,parent:h.parent,id:h.id,visible:r[0].isChecked2,opaque:r[0].isChecked1};this.nodeOpaque.emit(m)}}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(h,m){if(h&1&&d2(hz,5),h&2){let O;Su(O=xu())&&(m.treeComponent=O.first)}},inputs:{objectStructureValue:[0,"objectStructure","objectStructureValue"]},outputs:{nodeSelected:"nodeSelected",nodeVisible:"nodeVisible",nodeOpaque:"nodeOpaque"},standalone:!0,features:[bs],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","checked2Nodes","checked1Nodes","treeData"]],template:function(h,m){h&1&&(fn(0,"lib-bimplus-flat-tree",0),ji("selectedNodes",function(C){return m.handleSelectedNodes(C)})("checked2Nodes",function(C){return m.handleVisibleNodes(C)})("checked1Nodes",function(C){return m.handleOpaqueNodes(C)}),wn()),h&2&&Vn("treeData",m.treeData())},dependencies:[hz],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-background-color: var(--bimplus-object-structure-background-color, var(--flat-tree-container-background-color-enabled))}"]})}}return p})();var yJ=(()=>{class p{constructor(){this._complexProperties=Vo({id:"",name:"",parent:""}),this.treeComponent=null,this.treeData=CI(()=>{let r=this._complexProperties();if(!r)return[];let h=this._convertObjectStructureNodeToTreeNode(r);return h?[h]:[]}),this.nodeSelected=new Br}set complexPropertiesValue(r){this._complexProperties.set(r)}_convertObjectStructureNodeToTreeNode(r){let h={name:r.name,id:r.id,parent:r.parent};if(r.children){h.children=[];for(let m of r.children){let O=this._convertObjectStructureNodeToTreeNode(m);h.children.push(O)}}return h}_findNode(r,h){if(h.id==r)return h;if(h.children)for(let m of h.children){let O=this._findNode(r,m);if(O)return O}return null}handleSelectedNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._complexProperties());h&&this.nodeSelected.emit(h)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(h,m){if(h&1&&d2(hz,5),h&2){let O;Su(O=xu())&&(m.treeComponent=O.first)}},inputs:{complexPropertiesValue:[0,"complexProperties","complexPropertiesValue"]},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[bs],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(h,m){h&1&&(fn(0,"lib-bimplus-flat-tree",0),ji("selectedNodes",function(C){return m.handleSelectedNodes(C)}),wn()),h&2&&Vn("treeData",m.treeData())},dependencies:[hz],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-background-color: var(--bimplus-object-complex-properties-background-color, var(--flat-tree-container-background-color-enabled))}"]})}}return p})();var BH=class p{static createFromResponse(l){let r={id:l.id,name:l.name?`${l.type}(${l.name})`:l.type,parent:l.parent,visible:!0,opaque:!0};if(l.children){r.children=[];for(let h of l.children)r.children.push(p.createFromResponse(h))}return r}};var HH=class p{static createFromResponse(l){let r={id:l.id,name:l.type?l.type:l.name,parent:l.parent};if(l.children){r.children=[];for(let h of l.children)r.children.push(p.createFromResponse(h))}return r}};var MJ=(()=>{class p{transform(r){return r==null?"[null]":r===""?"[empty]":typeof r=="boolean"?r?"TRUE":"FALSE":r.toString()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275pipe=qA({name:"formatValue",type:p,pure:!0,standalone:!0})}}return p})();function JSe(p,l){if(p&1){let r=Js();fn(0,"lib-bimplus-object-structure",2),ji("nodeSelected",function(m){$i(r);let O=dn();return er(O.handleObjectStructureNodeSelected(m))}),wn()}if(p&2){let r=dn();Vn("objectStructure",r.objectStructure)}}function $Se(p,l){if(p&1){let r=Js();fn(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),ts(3),pa(4,"translate"),wn()(),fn(5,"lib-bimplus-object-complex-properties",3),ji("nodeSelected",function(m){$i(r);let O=dn();return er(O.handleComplexPropertyNodeSelected(m))}),wn()()}if(p&2){let r=dn();ln(3),to(" ",da(4,2,"_Object multiproperties tree"),""),ln(2),Vn("complexProperties",r.complexProperties)}}function exe(p,l){if(p&1){let r=Js();fn(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),ji("click",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttribute(m))})("keypress",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttribute(m))}),wn(),fs(5,"span"),wn(),fn(6,"div",11),ts(7),wn()(),fn(8,"div",8)(9,"label",9)(10,"input",10),ji("click",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttributeValue(m))})("keypress",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttributeValue(m))}),wn(),fs(11,"span"),wn(),fn(12,"div",12),pa(13,"translate"),ts(14),wn()()()()}if(p&2){let r=l.$implicit,h=dn(3);ln(4),Vn("checked",r.checked)("disabled",h.filterCriteria.length===h.MaxFilterCriteria&&!r.checked),ln(3),to(" ",r.name," "),ln(3),Vn("checked",r.valueChecked)("disabled",h.filterCriteria.length===h.MaxFilterCriteria&&!r.checked),ln(2),Zl("title",da(13,7,h.titleForValue(r.value))),ln(2),to(" ",h.normalizedValue(r.value)," ")}}function txe(p,l){if(p&1&&(fn(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),ts(3),wn()(),fn(4,"div"),Lf(5,exe,15,9,"div",6,tM),wn()()),p&2){let r=l.$implicit;Vn("expanded",r.expanded),ln(3),to(" ",r.name," "),ln(2),Sf(r.attributes)}}function nxe(p,l){if(p&1&&(fn(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),ts(3),pa(4,"translate"),wn()(),Lf(5,txe,7,2,"lib-expansion-panel",4,tM),wn()),p&2){let r=dn();ln(3),to(" ",da(4,1,"_Object properties"),""),ln(2),Sf(r.objectAttributeGroups)}}var lge=(()=>{class p extends w1{constructor(r,h){super(r),this.formatValuePipe=h,this.api=null,this.revision=void 0,this._currentObjectId$=new Lu(""),this._currentPropertiesObjectId$=new Lu(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=rX,this._rootObjectId="",this.filterCriteriaChange=new Br,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:r=>{r&&this._createObjectProperties(r,this.revision)}}),this._currentObjectId$.subscribe({next:r=>{this._currentPropertiesObjectId$.next(r),this._createComplexPropertiestructure(r,this.revision)}})}set rootObjectId(r){this._currentObjectId$.next(r),this._createObjectStructure(r,this.revision),this._rootObjectId=r}get rootObjectId(){return this._rootObjectId}set filterCriteria(r){this._filterCriteria=r,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(r){r.checked=!r.checked,r.checked===!1&&(r.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(r)}toggleAttributeValue(r){r.valueChecked=!r.valueChecked,r.checked=r.valueChecked,this.handleFilterCriteriumAttributeStateChange(r)}_defineFilterString(r){let h=`[I][${r.id}].Value`;return r.valueChecked&&(h+=`[F][0]=${this.formatValuePipe.transform(r.value)}`),h}_addFilterCriteria(r){this.filterCriteria.push({name:r.name,value:r.valueChecked?r.value:void 0,id:r.id,subString:this._defineFilterString(r)})}_updateFilterCriteria(r,h){this.filterCriteria[h]=sb(P1({},this.filterCriteria[h]),{name:r.name,value:r.valueChecked?r.value:void 0,subString:this._defineFilterString(r)})}titleForValue(r){return r==null?"_Not_defined":r===""?"_Empty_value":""}normalizedValue(r){let h=String(r).toLowerCase();return r==null?"...":h===""?"''":h==="true"?"TRUE":h==="false"?"FALSE":r}handleFilterCriteriumAttributeStateChange(r){let h=this.filterCriteria.findIndex(m=>m.id===r.id);h>=0?(r.checked===!1&&r.valueChecked===!1?this.filterCriteria.splice(h,1):this._updateFilterCriteria(r,h),this.filterCriteriaChange.emit(this.filterCriteria)):this.filterCriteria.length<rX&&(this._addFilterCriteria(r),this.filterCriteriaChange.emit(this.filterCriteria))}handleObjectStructureNodeSelected(r){this._currentObjectId$.next(r.id)}handleComplexPropertyNodeSelected(r){this._currentPropertiesObjectId$.next(r.id)}_createObjectProperties(r,h){this._loadObjectProperties(r,h)?.subscribe({next:m=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(m),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(r){let h=[],m=null;if(r.localizedAttributeGroups&&(m=r.localizedAttributeGroups),!r.attributes)return h;let O=r.attributes;for(let[C,G]of Object.entries(O)){let S={name:C,expanded:!1,attributes:[]};if(m?.[C]&&(S.name=m[C]),!!G){for(let H of Object.values(G)){let ee={id:H.id,name:H.name,description:H.description,value:H.value,checked:!1,valueChecked:!1,group:H.group};S.attributes.push(ee)}h.push(S)}}return h}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(r=>{r.attributes.forEach(h=>{let m=this._filterCriteria.find(O=>O.id==h.id);m?(h.checked=!0,h.valueChecked=m.value!==void 0):(h.checked=!1,h.valueChecked=!1)})})}_loadObjectProperties(r,h){if(this.api)return Up(this.api.objects.get(r,h,"8",void 0,!1,void 0))}_loadObjectStructure(r,h){if(this.api)return Up(this.api.objects.getTopology(r,h,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(r,h){if(this.api)return Up(this.api.objects.getComplexPropertiesTopology(r,h))}_createComplexPropertiestructure(r,h){this._loadObjectComplexPropertiesStructure(r,h)?.subscribe({next:m=>{if(m){let O=HH.createFromResponse(m);O?.children?.length?this._complexProperties=O:this._complexProperties=null}}})}_createObjectStructure(r,h){this._loadObjectStructure(r,h)?.subscribe({next:m=>{m&&(this._objectStructure=BH.createFromResponse(m))}})}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba),tr(MJ))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[O0([MJ]),xl,bs],decls:8,vars:6,consts:[[1,"criteria-select-object-properties-header"],[3,"objectStructure"],[3,"nodeSelected","objectStructure"],[3,"nodeSelected","complexProperties"],[3,"expanded"],[1,"criteria-select-object-properties-group-header"],[1,"criteria-select-object-properties-attrib-row"],[1,"criteria-select-object-properties-attrib-row-content"],[1,"criteria-select-object-properties-attrib-row-cell","criteria-select-checkbox"],[1,"criteria-select-object-properties-attrib-row-cell-label"],["type","checkbox",3,"click","keypress","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"],[1,"criteria-select-object-properties-attrib-row-cell-text",3,"title"]],template:function(h,m){h&1&&(fn(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),ts(3),pa(4,"translate"),wn()(),Dr(5,JSe,1,1,"lib-bimplus-object-structure",1),wn(),Dr(6,$Se,6,4,"lib-expansion-panel")(7,nxe,7,3,"lib-expansion-panel")),h&2&&(ln(3),to(" ",da(4,4,"_Object structure"),""),ln(2),_s(m.objectStructure?5:-1),ln(),_s(m.complexProperties?6:-1),ln(),_s(m.objectAttributeGroups.length>0?7:-1))},dependencies:[IL,ML,Rl,f1,gJ,yJ],styles:['lib-bimplus-object-structure[_ngcontent-%COMP%]{--bimplus-object-structure-background-color: transparent}lib-bimplus-object-complex-properties[_ngcontent-%COMP%]{--bimplus-object-complex-properties-background-color: transparent}.criteria-select-object-properties-header[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:1.4rem}.criteria-select-object-properties-group-header[_ngcontent-%COMP%]{line-height:2.4rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]{display:flex;width:calc(100% - 2rem);flex-direction:row;flex-wrap:nowrap;overflow:hidden;padding-left:2rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]:hover{background-color:var(--object-navigator-criteria-select-object-properties-attribute-row-background-color-hovered)}.criteria-select-object-properties-attrib-row-content[_ngcontent-%COMP%]{display:inline-flex;width:100%}.criteria-select-object-properties-attrib-row-cell[_ngcontent-%COMP%]{flex-basis:50%;display:flex;overflow:hidden;text-overflow:ellipsis}.criteria-select-object-properties-attrib-row-cell-label[_ngcontent-%COMP%]{display:inline-flex}.criteria-select-object-properties-attrib-row-cell-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off.svg");width:1.8rem;height:1.8rem;margin-top:.1rem;vertical-align:middle;border:0;background-color:transparent;background-position:-.3rem center;background-size:100% 100%;background-repeat:no-repeat}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_off_hovered.svg")}lib-bimplus-object-structure[_ngcontent-%COMP%]{--flat-tree-container-background-color-enabled: transparent}']})}}return p})();function ixe(p,l){if(p&1&&(fn(0,"div",2),ts(1),wn()),p&2){let r=dn().node,h=dn();ln(),Az(" ",r.name," \xA0( ",h.getNodeObjectCounter(r.id)," )")}}function rxe(p,l){if(p&1&&(fn(0,"div",3),ts(1),wn()),p&2){let r=dn().node,h=dn();ln(),Az(" ",r.name," \xA0( ",h.getNodeObjectCounter(r.id)," )")}}function sxe(p,l){if(p&1){let r=Js();fn(0,"span",3)(1,"div",4),ji("dblclick",function(){$i(r);let m=dn().node,O=dn();return er(O.dblClickedObjectNode(m))})("mouseenter",function(){$i(r);let m=dn().node,O=dn();return er(O.mouseEnterObjectNode(m))})("mouseleave",function(){$i(r);let m=dn().node,O=dn();return er(O.mouseLeaveObjectNode(m))}),ts(2),wn()()}if(p&2){let r=dn().node;ln(2),to(" ",r.name," ")}}function axe(p,l){if(p&1&&Dr(0,ixe,2,2,"div",2)(1,rxe,2,2,"div",3)(2,sxe,3,1,"span",3),p&2){let r,h=l.node;_s((r=h.nodeType)==="rootNode"?0:r==="structureNode"?1:r==="objectNode"?2:-1)}}var cge=(()=>{class p{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new Br,this.nodeDoubleClicked=new Br,this.nodeMouseEntered=new Br,this.nodeMouseLeft=new Br,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(r){this._filterResult=r,this._updateTreeData()}set selectedObjects(r){this._selectedObjects=r,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(r){this.nodeSelectionChanged.emit(r.map(h=>h.id))}getNodeObjectCounter(r){return this._treeNodeObjectCounts[r]}dblClickedObjectNode(r){this.nodeDoubleClicked.emit(r.id)}mouseEnterObjectNode(r){this.nodeMouseEntered.emit(r.id)}mouseLeaveObjectNode(r){this.nodeMouseLeft.emit(r.id)}expandToObjectLevel(){this.treeData.length!==0&&this._expandToObjectLevel(this._treeData[0])}_syncSelectedObjects(){let r=[];for(let h of this._selectedObjects){let m=this._treeNodesLookup[h];m&&r.push(m)}this.treeComponent?.reset_selection();for(let h of r)this.treeComponent?.select_node(h.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(r){if(r.nodeType&&r.nodeType==="objectNode")return 1;let h=0;if(!r.children)return 0;for(let m of r.children)m&&(h+=this._countObjects(m));return this._treeNodeObjectCounts[r.id]=h,h}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(r,h=void 0){let m={name:r.name,id:r.id,parent:r.parent};if(r.children){m.children=[];for(let O of r.children){let C=this._convertFilterResultToTreeNode(O,h);m.children.push(C)}}return m.parent?r.type==="Structure"?m.nodeType="structureNode":m.nodeType="objectNode":m.nodeType="rootNode",h&&(h[m.id]=m),m}_expandToObjectLevel(r){if(r.children)for(let h of r.children){if(h.nodeType&&h.nodeType==="objectNode")return;this._expandToObjectLevel(h)}this.treeComponent?.expand_node(r.id)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-object-filter-result"]],viewQuery:function(h,m){if(h&1&&d2(hz,5),h&2){let O;Su(O=xu())&&(m.treeComponent=O.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[bs],decls:3,vars:2,consts:[["objFilterResultNode",""],["paddingIndent","1.4rem","enableParentHighlighting","false","oneLevelMultiSelect","false","multiSelect","true","dataTestPrefix","object-filter-result-tree-",3,"selectedNodes","treeData","customNodeTemplate"],[1,"object-navigator-filter-result-root-node","noselect"],[1,"noselect"],[1,"noselect",3,"dblclick","mouseenter","mouseleave"]],template:function(h,m){if(h&1){let O=Js();fn(0,"lib-bimplus-flat-tree",1),ji("selectedNodes",function(G){return $i(O),er(m.handleSelectedNodes(G))}),wn(),Dr(1,axe,3,1,"ng-template",null,0,Tw)}if(h&2){let O=xf(2);Vn("treeData",m.treeData)("customNodeTemplate",O)}},dependencies:[hz],styles:[".noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-selected-node-font-weight: 700;--flat-tree-background-color: var(--bimplus-object-filter-result-background-color, var(--flat-tree-container-background-color-enabled))}.object-navigator-filter-result-root-node[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}"]})}}return p})();var uge="tabAttribElement.DivisionID",bB=class{constructor(l="",r=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=l,this._maxFilterCriteria=r}get filterString(){return this._filterString}fromFilterCriteria(l){this._filterString=`[I]${uge}`;for(let r of l)this._filterString+=r.subString;return this._filterString}getReadableValuesFromFilterCriteria(l){let r={};for(let h of l)h.id&&h.name&&(r[h.id]=h.name);return r}toFilterCriteria(l=void 0){let r=[],h=!1,m=this._filterString.split("[I]");for(let O of m)if(O.length!==0){if(O.includes(uge)&&!h){h=!0;continue}if(r.push(this._parseFilterSubstring(O,l)),r.length===this._maxFilterCriteria)break}return r}_parseFilterSubstring(l,r=void 0){let h=l,m,O=l.indexOf("["),C=l.indexOf("]");if(O>=0&&C>=0&&C>O){let G=l.slice(O+1,C);if(m=G,G&&r){let S=r[G];S&&(h=S)}}else if(l.includes(".")){let G=l.split(".");h=G[G.length-1]}return{name:h,subString:"[I]"+l,id:m}}};var IJ=class{static fetchObjectFilterStructureFromSelection(l,r,h,m){let O=!r.id,C=r.id?r.id:"",G=null;return O?G=Up(m.objectFilters.post(JSON.stringify(r),l)).pipe(w_(S=>{if(!S?.id)throw new Error("Failed to create temporary filter object");return C=S.id,Up(m.exportService.createExportSelection(l,JSON.stringify(h)))}),w_(S=>{if(!S?.id)throw new Error("Failed to create selection object");return Up(m.objectFilters.getSelectionFilteredObjects(S.id,C,void 0,void 0)).pipe(ip(H=>(m.objectFilters.delete(C),H)))})):G=Up(m.exportService.createExportSelection(l,JSON.stringify(h))).pipe(w_(S=>{if(!S?.id)throw new Error("Failed to create selection object");return Up(m.objectFilters.getSelectionFilteredObjects(S.id,C,void 0,void 0))})),G}};var oxe=p=>({disabled:p});function lxe(p,l){if(p&1&&(fn(0,"ng-option",18),ts(1),wn()),p&2){let r=l.$implicit;Vn("value",r),ln(),Z0(r.name)}}function cxe(p,l){if(p&1&&(fn(0,"ng-option",18),ts(1),wn()),p&2){let r=l.$implicit;Vn("value",r),ln(),Z0(r.name)}}function uxe(p,l){if(p&1&&fs(0,"lib-bimplus-context-menu",9),p&2){let r=dn(3);Vn("items",r.filterContextMenu)}}function pxe(p,l){if(p&1&&Dr(0,uxe,1,1,"lib-bimplus-context-menu",19),p&2){let r=dn(2);Vn("ngIf",r.filterContextMenu==null?null:r.filterContextMenu.length)}}function dxe(p,l){if(p&1){let r=Js();fn(0,"app-filter-criterium",20),ji("deleteCriterium",function(){let m=$i(r).$index,O=dn(2);return er(O.deleteFilterCriterium(m))}),wn()}if(p&2){let r=l.$implicit,h=l.$index;Vn("criterium",r)("indent",h*.8)}}function hxe(p,l){p&1&&(fn(0,"p",21),ts(1),pa(2,"translate"),wn()),p&2&&(ln(),Z0(da(2,1,"_NoObjectSelected")))}function fxe(p,l){if(p&1&&Dr(0,hxe,3,3,"p",21),p&2){let r=dn(2);_s(r.selectedObjectId?-1:0)}}function mxe(p,l){if(p&1){let r=Js();fn(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-criteria-select-object-properties",23),YD("filterCriteriaChange",function(m){$i(r);let O=dn(3);return bL(O.filterCriteria,m)||(O.filterCriteria=m),er(m)}),ji("filterCriteriaChange",function(){$i(r);let m=dn(3);return er(m.activateModifiedCustomFilter())}),wn()()()}if(p&2){let r=dn(3);ln(2),Vn("api",r.api)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),VD("filterCriteria",r.filterCriteria),Vn("rootObjectId",r.selectedObjectId)("revision",r.selectedRevision)}}function bxe(p,l){if(p&1&&Dr(0,mxe,3,6,"div",22),p&2){let r=dn(2);_s(r.selectedObjectId?0:-1)}}function vxe(p,l){}function gxe(p,l){if(p&1){let r=Js();fn(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-object-filter-result",24),ji("nodeSelectionChanged",function(m){$i(r);let O=dn(3);return er(O.handleFilterResultSelectionChanged(m))})("nodeDoubleClicked",function(m){$i(r);let O=dn(3);return er(O.handleFilterResulObjectDoubleClicked(m))})("nodeMouseEntered",function(m){$i(r);let O=dn(3);return er(O.handleFilterResulObjectMouseEntered(m))})("nodeMouseLeft",function(m){$i(r);let O=dn(3);return er(O.handleFilterResulObjectMouseLeft(m))}),wn()()()}if(p&2){let r=dn(3);ln(2),Vn("filterResult",r.filterResult)("selectedObjects",r.selectedObjects)}}function yxe(p,l){if(p&1&&Dr(0,gxe,3,2,"div",22),p&2){let r=dn(2);_s(r.filterResult?0:-1)}}function Mxe(p,l){if(p&1){let r=Js();fn(0,"div",3),ts(1),pa(2,"translate"),wn(),fn(3,"div",4)(4,"ng-select",5),YD("ngModelChange",function(m){$i(r);let O=dn();return bL(O.activeFilterType,m)||(O.activeFilterType=m),er(m)}),Dr(5,lxe,2,2,"ng-option",6),wn()(),fn(6,"div",7)(7,"ng-select",8),YD("ngModelChange",function(m){$i(r);let O=dn();return bL(O.activeFilter,m)||(O.activeFilter=m),er(m)}),Dr(8,cxe,2,2,"ng-option",6),wn(),Dr(9,pxe,1,1,"lib-bimplus-context-menu",9),wn(),fn(10,"lib-expansion-panel",10)(11,"lib-expansion-panel-header")(12,"span",11),ts(13),pa(14,"translate"),wn(),fn(15,"lib-expansion-panel-header-actions")(16,"div",12),pa(17,"translate"),ji("click",function(){$i(r);let m=dn();return er(m.setFilterCriteriaSelectionMode(m.FilterCriteriaSelectionMode.SelectObjectProperties))})("keypress",function(){$i(r);let m=dn();return er(m.setFilterCriteriaSelectionMode(m.FilterCriteriaSelectionMode.SelectObjectProperties))}),wn()()(),fn(18,"div",13),Lf(19,dxe,1,2,"app-filter-criterium",14,tM),wn()(),Dr(21,fxe,1,1),fn(22,"div",15)(23,"button",16),ji("click",function(){$i(r);let m=dn();return er(m.applyFilter())}),ts(24),pa(25,"translate"),wn()(),fs(26,"div",17),Dr(27,bxe,1,1)(28,vxe,0,0)(29,yxe,1,1)}if(p&2){let r,h,m=dn();ln(),to(" ",da(2,21,"_Select_an_object_using_Object_Picker")," "),ln(3),VD("ngModel",m.activeFilterType),Vn("clearable",!1)("searchable",!1),ln(),Vn("ngForOf",m.filterTypes),ln(2),VD("ngModel",m.activeFilter),Vn("clearable",!1)("disabled",!m.filters)("searchable",!1),ln(),Vn("ngForOf",m.filters),ln(),_s(m.hideFilterContextMenu?-1:9),ln(4),E1e(" ",da(14,23,"_Assign_Objects_Selection_Mode")," (",m.filterCriteria.length,"/",m.maxFilterCriteria,") "),ln(3),Vn("ngClass",m.filterCriteriaSelectionMode$.getValue()===m.FilterCriteriaSelectionMode.SelectObjectProperties?"active":"")("title",da(17,25,"_Object_Picker")),ln(3),Sf(m.filterCriteria),ln(2),_s((r=m.filterCriteriaSelectionMode$.getValue())===m.FilterCriteriaSelectionMode.SelectObjectProperties?21:-1),ln(2),Vn("ngClass",$h(29,oxe,m.filterCriteria.length===0))("disabled",m.filterCriteria.length===0),ln(),to(" ",da(25,27,"_Apply filter")," "),ln(3),_s((h=m.filterCriteriaSelectionMode$.getValue())===m.FilterCriteriaSelectionMode.SelectObjectProperties?27:h===m.FilterCriteriaSelectionMode.SelectAttributes?28:29)}}function Ixe(p,l){p&1&&(fn(0,"div",2),ts(1),pa(2,"translate"),wn()),p&2&&(ln(),to(" ",da(2,1,"_No_visible_models_found")," "))}var pge=(()=>{class p extends w1{constructor(r){super(r),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.activeFilterTypeSubject$=new Lu(null),this.activeFilterSubject$=new Lu(null),this.filters=null,this.filterCriteria=[],this.maxFilterCriteria=rX,this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Lu(PH.None),this.filterCriteriaSelectionModeChanged=new Br,this.selectedObjectId=null,this.selectedRevision=void 0,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new Br,this.filterResultObjectDoubleClicked=new Br,this.filterResultObjectMouseEntered=new Br,this.filterResultObjectMouseLeft=new Br,this.pipetteActiveStatus=new Br,this.FilterCriteriaSelectionMode=PH,this.isLoadingResults=!1,this._filterResult=null,this._filterTypes=[]}set filterTypes(r){this._filterTypes=r,this._filterTypes.length>0&&(this.activeFilterType=this._filterTypes[0])}get filterTypes(){return this._filterTypes}set activeFilterType(r){this.activeFilterTypeSubject$.next(r)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(r){r&&!r.id&&this._setDefaultCustomFilterString(r),this.activeFilterSubject$.next(r)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:r=>{!this.projectId||!this.api||!r||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,r.id)?.subscribe({next:h=>{this.filters=[this._createDefaultCustomFilter(r.id),...h],this.activeFilter=this.filters[0]},error:h=>{throw new Error(h)}}))}}),this.activeFilterSubject$.subscribe({next:r=>{r&&(this.filterCriteria=this.parseFilterString(r))}}),this.filterCriteriaSelectionMode$.subscribe({next:r=>{this.filterCriteriaSelectionModeChanged.emit(r)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(r,h){if(this.api)return Up(this.api.objectFilters.get(h,r))}parseFilterString(r){return new bB(r.filterString,this.maxFilterCriteria).toFilterCriteria(r.readableValues)}deleteFilterCriterium(r){this.filterCriteria.splice(r,1),this.filterCriteria=[...this.filterCriteria],this.activateModifiedCustomFilter()}setFilterCriteriaSelectionMode(r){let h=this.filterCriteriaSelectionMode$.getValue()===r;this.filterCriteriaSelectionMode$.next(h?PH.None:r),this.handlePipetteActiveStatus(!h)}applyFilter(){this.handlePipetteActiveStatus(!1),this.filterCriteriaSelectionMode$.next(PH.None),this._filterResult=null,this.activeFilter&&!this.activeFilter.id&&(this.activeFilter.filterString=new bB().fromFilterCriteria(this.filterCriteria)),this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(r){this.filterResultObjectSelectionChanged.emit(r)}handleFilterResulObjectDoubleClicked(r){this.filterResultObjectDoubleClicked.emit(r)}handleFilterResulObjectMouseEntered(r){this.filterResultObjectMouseEntered.emit(r)}handleFilterResulObjectMouseLeft(r){this.filterResultObjectMouseLeft.emit(r)}handlePipetteActiveStatus(r){this.pipetteActiveStatus.emit(r)}activateModifiedCustomFilter(){this.activeFilter?.id&&this.filters&&(this.filters[0].filterString=new bB().fromFilterCriteria(this.filterCriteria),this.filters[0].readableValues=new bB().getReadableValuesFromFilterCriteria(this.filterCriteria),this.activeFilterSubject$.next(this.filters[0]))}_applySelectionObjectFilter(r){!this.api||!this.selectionObject||!r||(this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,this.isLoadingResults=!0,IJ.fetchObjectFilterStructureFromSelection(this.projectId,r,this.selectionObject,this.api).subscribe({next:h=>{this._filterResult=h,this.isLoadingResults=!1}}))}_setDefaultCustomFilterString(r){let h="a0e8ae2c-c869-4ec3-9019-25d3704be707";r.filterString=`[I][${h}].Value`,r.readableValues={},r.readableValues[h]="Type"}_createDefaultCustomFilter(r){let h={module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:r,name:"Custom filter",filterString:"",isDefault:!1,disableSortByModels:!1};return this._setDefaultCustomFilterString(h),h}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(h,m){h&2&&h1("object-navigator",m.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedRevision:"selectedRevision",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft",pipetteActiveStatus:"pipetteActiveStatus"},standalone:!0,features:[xl,bs],decls:6,vars:8,consts:[[3,"header","isLoading","loadingSpinnerText"],[1,"object-navigator-content-container"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"],[1,"description"],[1,"object-navigator-filters-type"],["data-test","object-navigator-filter-types-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-navigator-filters-name"],["data-test","object-navigator-filters-name-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],[1,"object-navigator-filters-name-context-menu",3,"items"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","keypress","ngClass","title"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","ngClass","disabled"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[1,"scrollable-content-container"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId","revision"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"]],template:function(h,m){h&1&&(fn(0,"lib-bimplus-sidenav-drawer-content",0),pa(1,"translate"),pa(2,"translate"),fn(3,"div",1),Dr(4,Mxe,30,31)(5,Ixe,3,3,"div",2),wn()()),h&2&&(Vn("header",da(1,4,"_Object navigator"))("isLoading",m.isLoadingResults)("loadingSpinnerText",da(2,6,"_Loading_Filter_Results")),ln(4),_s(m.filterTypes.length>0?4:5))},dependencies:[Dl,X1,h2,iM,pR,gL,aB,yH,gH,oB,oge,ML,IL,OH,wH,Rl,f1,lge,MR,cge,zw],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;padding:.2rem 1rem .4rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}:host{display:flex}lib-bimplus-sidenav-drawer-content{width:100%;max-height:100%;display:flex;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container{display:flex;flex-direction:column;width:100%;max-height:100%;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container lib-object-filter-result{--bimplus-object-filter-result-background-color: transparent}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.description{margin-bottom:.8rem;font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-no-filter-types{font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-filters-name-context-menu{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: 2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filter-criteria-panel{flex:0;padding-top:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-apply-button-row{flex:0;display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-separator{flex:0;border-top:solid .078125em var(--object-navigator-separator-border-color-enabled);padding-bottom:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container{position:relative;flex:1;width:100%;display:flex;flex-direction:column}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container>lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:12rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-filter-action-buttons{width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button{background-image:url("./assets/Properties_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./assets/Properties_18_maincolor.svg")}.object-navigator-pick-object-button{background-image:url("./assets/Pipette_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./assets/Pipette_18_maincolor.svg")}.object-navigator-filter-criteria-header{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}lib-object-filter-result{--flat-tree-container-background-color-enabled: transparent}#NoObjectSelected{margin:.8rem;line-height:.72rem;font-size:1.2rem}#NoObjectSelected+.object-navigator-apply-button-row{margin-top:0}
9902
+ `],encapsulation:3})}}return p})();var rge=p=>({node:p}),sge=(p,l)=>({"icon-checked":p,"icon-unchecked":l}),age=(p,l,r)=>({"icon-undetermined":p,"icon-checked":l,"icon-unchecked":r});function CSe(p,l){p&1&&(fn(0,"div",1),ts(1),wn()),p&2&&(ln(),Z0(l))}function DSe(p,l){if(p&1&&Vg(0,7),p&2){let r=dn().$implicit,h=dn();Vn("ngTemplateOutlet",h.customNodeTemplate())("ngTemplateOutletContext",$h(2,rge,r))}}function LSe(p,l){p&1&&fs(0,"div",14)}function SSe(p,l){p&1&&fs(0,"div",15)}function xSe(p,l){if(p&1&&(Dr(0,LSe,1,0,"div",11),fn(1,"span",12),Dr(2,SSe,1,0,"div",13),fn(3,"div"),ts(4),wn()()),p&2){let r=dn().$implicit,h=dn();Vn("ngIf",h.showObjectsIcons),ln(),h1("selected-node",h._isSelected(r)),ln(3),to(" ",r.name," ")}}function RSe(p,l){if(p&1){let r=Js();fn(0,"lib-bimplus-context-menu",16),ji("triggerSelected",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleNode(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("items",h.contextMenus==null?null:h.contextMenus.objectContextMenuitems)("data",r)}}function NSe(p,l){if(p&1){let r=Js();fn(0,"div",17),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Yg(1,sge,h._isChecked1(r),!h._isChecked1(r)))}}function PSe(p,l){if(p&1){let r=Js();fn(0,"div",18),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Yg(1,sge,h._isChecked2(r),!h._isChecked2(r)))}}function BSe(p,l){if(p&1){let r=Js();fn(0,"cdk-tree-node",5),ji("click",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))})("keypress",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))}),fs(1,"button",6),Dr(2,DSe,1,4,"ng-container",7)(3,xSe,5,4)(4,RSe,1,2,"lib-bimplus-context-menu",8)(5,NSe,1,4,"div",9)(6,PSe,1,4,"div",10),wn()}if(p&2){let r=l.$implicit,h=dn();h1("dragable-node",h.enableDragAndDrop&&r.level>0)("selected-node",h._isSelected(r)),Vn("matTreeNodePaddingIndent",h.paddingIndent)("title",r.name),K0("data-test",h.dataTestPrefix+r.id)("node-id",r.id),ln(2),_s(h.customNodeTemplate()&&h._isCustomNodeType(r)?2:3),ln(2),Vn("ngIf",h.contextMenus==null||h.contextMenus.objectContextMenuitems==null?null:h.contextMenus.objectContextMenuitems.length),ln(),_s(h.hasCheckBox1?5:-1),ln(),_s(h.hasCheckBox2?6:-1)}}function HSe(p,l){if(p&1&&Vg(0,7),p&2){let r=dn().$implicit,h=dn();Vn("ngTemplateOutlet",h.customNodeTemplate())("ngTemplateOutletContext",$h(2,rge,r))}}function FSe(p,l){p&1&&fs(0,"div",23)}function kSe(p,l){p&1&&fs(0,"div",15)}function qSe(p,l){if(p&1&&(Dr(0,FSe,1,0,"div",22),fn(1,"span",12),Dr(2,kSe,1,0,"div",13),fn(3,"div",12),ts(4),wn()()),p&2){let r=dn().$implicit,h=dn();Vn("ngIf",h.showFoldersIcons),ln(),h1("selected-node",h._isSelected(r))("selected-all-descendants-nodes",h._descendantsAllSelected(r)&&h._isSelected(r)&&h.enableParentHighlighting)("selected-partially-descendants-nodes",h._descendantsPartiallySelected(r)&&h.enableParentHighlighting),ln(3),to(" ",r.name," ")}}function WSe(p,l){if(p&1){let r=Js();fn(0,"lib-bimplus-context-menu",16),ji("triggerSelected",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleNode(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("items",h.contextMenus==null?null:h.contextMenus.folderContextMenuitems)("data",r)}}function USe(p,l){if(p&1){let r=Js();fn(0,"div",17),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox1(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Wg(1,age,h._isUndetermined1(r),!h._isUndetermined1(r)&&h._isChecked1(r),!h._isUndetermined1(r)&&!h._isChecked1(r)))}}function GSe(p,l){if(p&1){let r=Js();fn(0,"div",18),ji("click",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))})("keypress",function(m){$i(r);let O=dn().$implicit,C=dn();return er(C._toggleCheckBox2(m,O))}),wn()}if(p&2){let r=dn().$implicit,h=dn();Vn("ngClass",Wg(1,age,h._isUndetermined2(r),!h._isUndetermined2(r)&&h._isChecked2(r),!h._isUndetermined2(r)&&!h._isChecked2(r)))}}function jSe(p,l){if(p&1){let r=Js();fn(0,"cdk-tree-node",19),ji("click",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))})("keypress",function(m){let O=$i(r).$implicit,C=dn();return er(C._toggleNode(m,O))}),fn(1,"button",20),fs(2,"div",21),wn(),Dr(3,HSe,1,4,"ng-container",7)(4,qSe,5,8)(5,WSe,1,2,"lib-bimplus-context-menu",8)(6,USe,1,5,"div",9)(7,GSe,1,5,"div",10),wn()}if(p&2){let r=l.$implicit,h=dn();h1("dragable-node",h.enableDragAndDrop&&r.level>0)("selected-node",h._isSelected(r)),Vn("matTreeNodePaddingIndent",h.paddingIndent)("title",r.name),K0("data-test",h.dataTestPrefix+r.id)("node-id",r.id),ln(),K0("aria-label","Toggle "+r.name),ln(),h1("expand-more-icon",h._hasChildren(r)&&!h._treeControl.isExpanded(r))("collapse-icon",h._hasChildren(r)&&h._treeControl.isExpanded(r)),ln(),_s(h.customNodeTemplate()&&h._isCustomNodeType(r)?3:4),ln(2),Vn("ngIf",h.contextMenus==null||h.contextMenus.folderContextMenuitems==null?null:h.contextMenus.folderContextMenuitems.length),ln(),_s(h.hasCheckBox1?6:-1),ln(),_s(h.hasCheckBox2?7:-1)}}var hz=(()=>{class p{set treeTitleValue(r){this.treeTitle.set(r)}constructor(r){this.el=r,this.treeDataStringified=null,this.treeTitle=Vo(void 0),this.paddingIndent="2.8rem",this.multiSelect=!1,this.oneLevelMultiSelect=!1,this.showFoldersIcons=!1,this.showObjectsIcons=!1,this.enableSelect=!0,this.enableParentHighlighting=!0,this.enableDragAndDrop=!1,this.dataTestPrefix="",this.contextMenus=null,this.hasCheckBox1=!1,this.hasCheckBox2=!1,this.customNodeTemplate=Vo(null),this.selectedNodes=new Br,this.checked1Nodes=new Br,this.checked2Nodes=new Br,this._selectionList=void 0,this._transformer=(h,m)=>({expandable:h.children!==void 0&&h.children.length>0,children_count:h.children?.length,name:h.name,id:h.id,level:m,parent:h.parent,nodeType:h.nodeType,isChecked1:!0,isChecked2:!0,isUndetermined1:!1,isUndetermined2:!1}),this._treeControl=new dJ(h=>h.level,h=>h.expandable),this._treeFlattener=new mJ(this._transformer,h=>h.level,h=>h.expandable,h=>h.children),this._dataSource=new bJ(this._treeControl,this._treeFlattener),this._isExpandable=(h,m)=>m.expandable}get treeData(){return this._dataSource.data}set treeData(r){this.treeDataStringified=null,this._dataSource.data=r}set customNodeTemplateValue(r){this.customNodeTemplate.set(r)}ngOnInit(){let r=this.el.nativeElement;r&&(r.get_node=this.get_node.bind(this),r.select_node=this.select_node.bind(this)),this._selectionList=new yR(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(r,h){for(let m of h){if(m.id===r)return m;if(m.children){let O=this._getNode(r,m.children);if(O)return O}}return null}get_node(r,h=!1){return typeof r=="string"?this._getNode(r,this._dataSource.data):h?this.el.nativeElement.querySelector(`[node-id='${r.id}']`):this._getNode(r.id,this._dataSource.data)}select_node(r,h=!1){let m=this._treeControl.dataNodes.find(O=>O.id===r);if(m&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==m.parent&&this._selectionList.clear(),!this._selectionList.isSelected(m))){if(this._selectionList.select(m),!this.multiSelect&&!this.oneLevelMultiSelect&&!h){lc(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(m),this.enableParentHighlighting&&this._updateParentSelections(m),h||lc(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(r){let h=this._treeControl.dataNodes.find(m=>m.id===r);h&&this._treeControl.expand(h)}is_expanded(r){let h=this._treeControl.dataNodes.find(m=>m.id===r);return h?this._treeControl.isExpanded(h):!1}is_selected(r){if(!this._selectionList)return;let h=this._treeControl.dataNodes.find(m=>m.id===r);return h?this._selectionList?.isSelected(h):!1}_setNewData(r){let h=JSON.parse(r);this._dataSource.data=h??[]}_changedTreeData(r){this._setNewData(r.currentValue)}ngOnChanges(r){(r.multiSelect||r.oneLevelMultiSelect)&&(this._selectionList=new yR(this.multiSelect||this.oneLevelMultiSelect)),r.treeDataStringified&&this._changedTreeData(r.treeDataStringified)}_isCustomNodeType(r){return r.nodeType!=null&&r.nodeType!=""}_hasChildren(r){return!r.expandable||r.children_count===void 0?!1:r.children_count>0}_descendantsAllSelected(r){if(!this._selectionList)return!1;let h=this._selectionList,m=this._treeControl.getDescendants(r);return m.length===0?!0:m.length>0&&m.every(C=>h.isSelected(C))}_descendantsPartiallySelected(r){if(!this._selectionList)return!1;let h=this._selectionList;return this._treeControl.getDescendants(r).some(C=>h.isSelected(C))&&!this._descendantsAllSelected(r)}_toggleDescendantsNodes(r){if(!this._selectionList)return;this._selectionList.isSelected(r)?this._selectionList.select(...this._treeControl.getDescendants(r)):this._selectionList.deselect(...this._treeControl.getDescendants(r))}_updateParentSelections(r){if(!this._selectionList)return;let h=r.parent,m=this._treeControl.dataNodes.find(O=>O.id===h);for(;m;)this._descendantsAllSelected(m)?this._selectionList.select(m):this._selectionList.deselect(m),h=m.parent,m=this._treeControl.dataNodes.find(O=>O.id===h)}_toggleNode(r,h){if(!h||!this.enableSelect||!this._selectionList)return;if(r!=null&&r instanceof MouseEvent&&!r?.ctrlKey&&this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==h.parent&&this._selectionList.clear(),this._selectionList.toggle(h),!this.multiSelect&&!this.oneLevelMultiSelect){lc(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(h),this.enableParentHighlighting&&this._updateParentSelections(h),lc(this,"selectedNodes",this._selectionList.selected)}_isSelected(r){return this._selectionList?this._selectionList?.isSelected(r):!1}_toggleCheckBox1(r,h){r&&(r.stopPropagation(),r.preventDefault()),h.isChecked1=!h.isChecked1,h.expandable&&this._treeControl.getDescendants(h).forEach(m=>{m.isChecked1=h.isChecked1}),h.isUndetermined1=!1,this.checkUndetermined(h,1),lc(this,"checked1Nodes",[h])}_toggleCheckBox2(r,h){r&&(r.stopPropagation(),r.preventDefault()),h.isChecked2=!h.isChecked2,h.expandable&&this._treeControl.getDescendants(h).forEach(m=>{m.isChecked2=h.isChecked2}),h.isUndetermined2=!1,this.checkUndetermined(h,2),lc(this,"checked2Nodes",[h])}checkUndetermined(r,h){if(!this.hasCheckBox1&&h===1||!this.hasCheckBox2&&h===2||!r.parent)return;let m=r;for(;m&&m.parent;){let O=this._treeControl.dataNodes.find(H=>H.id===m.parent);if(!O)return;let C=0,G=0,S=!1;this._treeControl.getDescendants(O).forEach(H=>{(h===1?H.isChecked1:H.isChecked2)?C++:G++,(h===1?H.isUndetermined1:H.isUndetermined2)&&(S=!0),C>0&&G>0&&(S=!0)}),h===1?(O.isUndetermined1=S,O.isChecked1=!G):(O.isUndetermined2=S,O.isChecked2=!G),m=O}}_isUndetermined1(r){return r.isUndetermined1}_isUndetermined2(r){return r.isUndetermined2}_isChecked1(r){return r.isChecked1}_isChecked2(r){return r.isChecked2}static{this.\u0275fac=function(h){return new(h||p)(tr(m0))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitleValue:[0,"treeTitle","treeTitleValue"],paddingIndent:"paddingIndent",multiSelect:[2,"multiSelect","multiSelect",ss],oneLevelMultiSelect:[2,"oneLevelMultiSelect","oneLevelMultiSelect",ss],showFoldersIcons:[2,"showFoldersIcons","showFoldersIcons",ss],showObjectsIcons:[2,"showObjectsIcons","showObjectsIcons",ss],enableSelect:[2,"enableSelect","enableSelect",ss],enableParentHighlighting:[2,"enableParentHighlighting","enableParentHighlighting",ss],enableDragAndDrop:[2,"enableDragAndDrop","enableDragAndDrop",ss],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",hasCheckBox1:[2,"hasCheckBox1","hasCheckBox1",ss],hasCheckBox2:[2,"hasCheckBox2","hasCheckBox2",ss],treeData:"treeData",customNodeTemplateValue:[0,"customNodeTemplate","customNodeTemplateValue"]},outputs:{selectedNodes:"selectedNodes",checked1Nodes:"checked1Nodes",checked2Nodes:"checked2Nodes"},standalone:!0,features:[ap,p2,bs],decls:5,vars:4,consts:[[1,"tree-container"],[1,"tree-title"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click","keypress",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodePadding","",1,"object-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data","triggerSelected",4,"ngIf"],[1,"custom-checkbox1",3,"ngClass"],[1,"custom-checkbox2",3,"ngClass"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"triggerSelected","items","data"],[1,"custom-checkbox1",3,"click","keypress","ngClass"],[1,"custom-checkbox2",3,"click","keypress","ngClass"],["matTreeNodePadding","",1,"folder-node",3,"click","keypress","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(h,m){if(h&1&&(fn(0,"div",0),Dr(1,CSe,2,1,"div",1),fn(2,"cdk-tree",2),Dr(3,BSe,7,12,"cdk-tree-node",3)(4,jSe,8,17,"cdk-tree-node",4),wn()()),h&2){let O;ln(),_s((O=m.treeTitle())?1:-1,O),ln(),Vn("dataSource",m._dataSource)("treeControl",m._treeControl),ln(2),Vn("matTreeNodeDefWhen",m._isExpandable)}},dependencies:[ige,ege,tge,nge,Z3e,Q3e,X3e,fJ,NH,mB,MR,Dl,X1,iM,pz],styles:['.text-selected[_ngcontent-%COMP%]{color:var(--text-highlight-text-color-enabled)}.ui-icon22px[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important[_ngcontent-%COMP%]{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.tree-container[_ngcontent-%COMP%]{background-color:var(--flat-tree-background-color, var(--flat-tree-container-background-color-enabled));width:calc(100% - 2 * var(--flat-tree-node-indent, 1rem));padding:var(--flat-tree-node-indent, 1rem);font-family:var(--flat-tree-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--flat-tree-font-size, 1.3rem);font-weight:var(--flat-tree-font-weight, 700);color:var(--flat-tree-container-text-color-enabled)}.tree-container[_ngcontent-%COMP%] > .tree-title[_ngcontent-%COMP%]{background-color:transparent;font-size:var(--flat-tree-title-font-size, 1.6rem);margin-bottom:1rem}.cdk-tree[_ngcontent-%COMP%]{background-color:transparent;width:100%}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display: none;background-color:transparent;display:flex;align-items:center;cursor:pointer;line-height:var(--flat-tree-node-line-height, 2.4rem)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.folder-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-folder-font-weight, 700)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node.object-node[_ngcontent-%COMP%]{font-weight:var(--flat-tree-object-font-weight, 400)}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%]{overflow:hidden;flex:1}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] > span.node-label[_ngcontent-%COMP%] > div.node-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%] lib-bimplus-context-menu[_ngcontent-%COMP%]{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: var(--flat-tree-node-line-height, 2.4rem);--context-menu-trigger-bkg-color: transparent;--context-menu-translate-x: 1rem}.cdk-tree[_ngcontent-%COMP%] > .cdk-tree-node[_ngcontent-%COMP%]:not(.selected-node):not(:hover) lib-bimplus-context-menu[_ngcontent-%COMP%]{display:none}.cdk-tree-node.dragable-node[_ngcontent-%COMP%]:hover{background-color:var(--flat-tree-draggable-node-background-color-hovered);background-image:url("./assets/6_dots_gray.svg");background-repeat:no-repeat;background-size:var(--flat-tree-node-icon-size, 1.8rem);background-position:left center}.mat-mdc-icon-button[_ngcontent-%COMP%]{padding:.2rem;width:var(--flat-tree-node-line-height, 2.4rem);height:var(--flat-tree-node-line-height, 2.4rem)}.selected-node[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-text-color-enabled)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-nodes-text-color-enabled)}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.custom-checkbox1[_ngcontent-%COMP%], .custom-checkbox2[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;padding-left:.2rem;padding-right:.2rem;cursor:pointer;background-size:1.8rem 1.8rem!important}.custom-checkbox1.icon-checked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/visibility_active.svg") no-repeat center}.custom-checkbox1.icon-unchecked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/visibility_inactive.svg") no-repeat center}.custom-checkbox1.icon-undetermined[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/visibility_semiactive.svg") no-repeat center}.custom-checkbox2.icon-checked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/eye_active.svg") no-repeat center}.custom-checkbox2.icon-unchecked[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/eye_inactive.svg") no-repeat center}.custom-checkbox2.icon-undetermined[_ngcontent-%COMP%]{display:inline-block;background:url("./assets/eye_semiactive.svg") no-repeat center}.icon[_ngcontent-%COMP%]{width:var(--flat-tree-node-icon-size, 1.8rem);height:var(--flat-tree-node-icon-size, 1.8rem);margin-right:.4rem;background-position:center;background-size:var(--flat-tree-node-icon-size, 1.8rem)}.icon.folder-icon[_ngcontent-%COMP%]{background:var(--flat-tree-folder-icon, url("./assets/bimplus_Components_Projects_Folder.svg") no-repeat);background-size:var(--flat-tree-folder-icon-size, 1.6rem);background-position:center}.icon.object-icon[_ngcontent-%COMP%]{background:var(--flat-tree-object-icon, url("./assets/bimplus_Components_Documents.svg") no-repeat);background-size:var(--flat-tree-object-icon-size, 1.6rem);background-position:center}.icon.expand-collapse-icon.expand-more-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-expand-icon, url("./assets/collapsed_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}.icon.expand-collapse-icon.collapse-icon[_ngcontent-%COMP%]{background:var(--flat-tree-node-collapse-icon, url("./assets/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']})}}return p})();var PH=function(p){return p[p.None=0]="None",p[p.SelectObjectProperties=1]="SelectObjectProperties",p[p.SelectAttributes=2]="SelectAttributes",p}(PH||{}),rX=5;function VSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",r.criterium.value.toString().toUpperCase(),") ")}}function YSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",r.criterium.value,") ")}}function XSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),pa(2,"translate"),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",da(2,2,"_Not_defined"),") ")}}function QSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),pa(2,"translate"),wn()),p&2){let r=dn();ln(),Az("",r.criterium.name," \xA0(",da(2,2,"_Empty_value"),") ")}}function ZSe(p,l){if(p&1&&(fn(0,"span",1),ts(1),wn()),p&2){let r=dn();ln(),to(" ",r.criterium.name,"")}}var oge=(()=>{class p extends w1{constructor(r){super(r),this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new Br}clickedDelete(){this.deleteCriterium.emit()}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba))}}static{this.\u0275cmp=ms({type:p,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(h,m){h&2&&Wv("margin-left",m.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[xl,bs],decls:7,vars:1,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click","keypress"]],template:function(h,m){h&1&&(fn(0,"div",0),Dr(1,VSe,2,2,"span",1)(2,YSe,2,2,"span",1)(3,XSe,3,4,"span",1)(4,QSe,3,4,"span",1)(5,ZSe,2,1,"span",1),fn(6,"div",2),ji("click",function(){return m.clickedDelete()})("keypress",function(){return m.clickedDelete()}),wn()()),h&2&&(ln(),_s(m.criterium.value===!1||m.criterium.value===!0?1:m.criterium.value||m.criterium.value===0?2:m.criterium.value===null?3:m.criterium.value===""?4:5))},dependencies:[Rl,f1],styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./assets/bimplus_WebIcons_Cross.svg") no-repeat center;background-size:1.8rem;height:1.8rem;width:1.8rem;cursor:pointer}.filter-criterium-item[_ngcontent-%COMP%]{flex-grow:1}.filter-criterium-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}']})}}return p})();var gJ=(()=>{class p{constructor(){this._objectStructure=Vo({id:"",name:"",parent:"",visible:!0,opaque:!0}),this.treeComponent=null,this.treeData=CI(()=>{let r=this._objectStructure();if(!r)return[];let h=this._convertObjectStructureNodeToTreeNode(r);return h?[h]:[]}),this.nodeSelected=new Br,this.nodeVisible=new Br,this.nodeOpaque=new Br}set objectStructureValue(r){this._objectStructure.set(r)}_convertObjectStructureNodeToTreeNode(r){let h={name:r.name,id:r.id,parent:r.parent};if(r.children){h.children=[];for(let m of r.children){let O=this._convertObjectStructureNodeToTreeNode(m);h.children.push(O)}}return h}_findNode(r,h){if(h.id==r)return h;if(h.children)for(let m of h.children){let O=this._findNode(r,m);if(O)return O}return null}handleSelectedNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._objectStructure());h&&this.nodeSelected.emit(h)}}handleVisibleNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._objectStructure());if(h){let m={name:h.name,parent:h.parent,id:h.id,visible:r[0].isChecked2,opaque:r[0].isChecked1};this.nodeVisible.emit(m)}}}handleOpaqueNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._objectStructure());if(h){let m={name:h.name,parent:h.parent,id:h.id,visible:r[0].isChecked2,opaque:r[0].isChecked1};this.nodeOpaque.emit(m)}}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(h,m){if(h&1&&d2(hz,5),h&2){let O;Su(O=xu())&&(m.treeComponent=O.first)}},inputs:{objectStructureValue:[0,"objectStructure","objectStructureValue"]},outputs:{nodeSelected:"nodeSelected",nodeVisible:"nodeVisible",nodeOpaque:"nodeOpaque"},standalone:!0,features:[bs],decls:1,vars:3,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","checked2Nodes","checked1Nodes","treeData","hasCheckBox1","hasCheckBox2"]],template:function(h,m){h&1&&(fn(0,"lib-bimplus-flat-tree",0),ji("selectedNodes",function(C){return m.handleSelectedNodes(C)})("checked2Nodes",function(C){return m.handleVisibleNodes(C)})("checked1Nodes",function(C){return m.handleOpaqueNodes(C)}),wn()),h&2&&Vn("treeData",m.treeData())("hasCheckBox1",!0)("hasCheckBox2",!0)},dependencies:[hz],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-background-color: var(--bimplus-object-structure-background-color, var(--flat-tree-container-background-color-enabled))}"]})}}return p})();var yJ=(()=>{class p{constructor(){this._complexProperties=Vo({id:"",name:"",parent:""}),this.treeComponent=null,this.treeData=CI(()=>{let r=this._complexProperties();if(!r)return[];let h=this._convertObjectStructureNodeToTreeNode(r);return h?[h]:[]}),this.nodeSelected=new Br}set complexPropertiesValue(r){this._complexProperties.set(r)}_convertObjectStructureNodeToTreeNode(r){let h={name:r.name,id:r.id,parent:r.parent};if(r.children){h.children=[];for(let m of r.children){let O=this._convertObjectStructureNodeToTreeNode(m);h.children.push(O)}}return h}_findNode(r,h){if(h.id==r)return h;if(h.children)for(let m of h.children){let O=this._findNode(r,m);if(O)return O}return null}handleSelectedNodes(r){if(r.length===1){let h=this._findNode(r[0].id,this._complexProperties());h&&this.nodeSelected.emit(h)}}expandTree(){this.treeComponent?.expandTree()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(h,m){if(h&1&&d2(hz,5),h&2){let O;Su(O=xu())&&(m.treeComponent=O.first)}},inputs:{complexPropertiesValue:[0,"complexProperties","complexPropertiesValue"]},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[bs],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(h,m){h&1&&(fn(0,"lib-bimplus-flat-tree",0),ji("selectedNodes",function(C){return m.handleSelectedNodes(C)}),wn()),h&2&&Vn("treeData",m.treeData())},dependencies:[hz],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-background-color: var(--bimplus-object-complex-properties-background-color, var(--flat-tree-container-background-color-enabled))}"]})}}return p})();var BH=class p{static createFromResponse(l){let r={id:l.id,name:l.name?`${l.type}(${l.name})`:l.type,parent:l.parent,visible:!0,opaque:!0};if(l.children){r.children=[];for(let h of l.children)r.children.push(p.createFromResponse(h))}return r}};var HH=class p{static createFromResponse(l){let r={id:l.id,name:l.type?l.type:l.name,parent:l.parent};if(l.children){r.children=[];for(let h of l.children)r.children.push(p.createFromResponse(h))}return r}};var MJ=(()=>{class p{transform(r){return r==null?"[null]":r===""?"[empty]":typeof r=="boolean"?r?"TRUE":"FALSE":r.toString()}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275pipe=qA({name:"formatValue",type:p,pure:!0,standalone:!0})}}return p})();function JSe(p,l){if(p&1){let r=Js();fn(0,"lib-bimplus-object-structure",2),ji("nodeSelected",function(m){$i(r);let O=dn();return er(O.handleObjectStructureNodeSelected(m))}),wn()}if(p&2){let r=dn();Vn("objectStructure",r.objectStructure)}}function $Se(p,l){if(p&1){let r=Js();fn(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),ts(3),pa(4,"translate"),wn()(),fn(5,"lib-bimplus-object-complex-properties",3),ji("nodeSelected",function(m){$i(r);let O=dn();return er(O.handleComplexPropertyNodeSelected(m))}),wn()()}if(p&2){let r=dn();ln(3),to(" ",da(4,2,"_Object multiproperties tree"),""),ln(2),Vn("complexProperties",r.complexProperties)}}function exe(p,l){if(p&1){let r=Js();fn(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),ji("click",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttribute(m))})("keypress",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttribute(m))}),wn(),fs(5,"span"),wn(),fn(6,"div",11),ts(7),wn()(),fn(8,"div",8)(9,"label",9)(10,"input",10),ji("click",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttributeValue(m))})("keypress",function(){let m=$i(r).$implicit,O=dn(3);return er(O.toggleAttributeValue(m))}),wn(),fs(11,"span"),wn(),fn(12,"div",12),pa(13,"translate"),ts(14),wn()()()()}if(p&2){let r=l.$implicit,h=dn(3);ln(4),Vn("checked",r.checked)("disabled",h.filterCriteria.length===h.MaxFilterCriteria&&!r.checked),ln(3),to(" ",r.name," "),ln(3),Vn("checked",r.valueChecked)("disabled",h.filterCriteria.length===h.MaxFilterCriteria&&!r.checked),ln(2),Zl("title",da(13,7,h.titleForValue(r.value))),ln(2),to(" ",h.normalizedValue(r.value)," ")}}function txe(p,l){if(p&1&&(fn(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),ts(3),wn()(),fn(4,"div"),Lf(5,exe,15,9,"div",6,tM),wn()()),p&2){let r=l.$implicit;Vn("expanded",r.expanded),ln(3),to(" ",r.name," "),ln(2),Sf(r.attributes)}}function nxe(p,l){if(p&1&&(fn(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),ts(3),pa(4,"translate"),wn()(),Lf(5,txe,7,2,"lib-expansion-panel",4,tM),wn()),p&2){let r=dn();ln(3),to(" ",da(4,1,"_Object properties"),""),ln(2),Sf(r.objectAttributeGroups)}}var lge=(()=>{class p extends w1{constructor(r,h){super(r),this.formatValuePipe=h,this.api=null,this.revision=void 0,this._currentObjectId$=new Lu(""),this._currentPropertiesObjectId$=new Lu(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=rX,this._rootObjectId="",this.filterCriteriaChange=new Br,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:r=>{r&&this._createObjectProperties(r,this.revision)}}),this._currentObjectId$.subscribe({next:r=>{this._currentPropertiesObjectId$.next(r),this._createComplexPropertiestructure(r,this.revision)}})}set rootObjectId(r){this._currentObjectId$.next(r),this._createObjectStructure(r,this.revision),this._rootObjectId=r}get rootObjectId(){return this._rootObjectId}set filterCriteria(r){this._filterCriteria=r,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(r){r.checked=!r.checked,r.checked===!1&&(r.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(r)}toggleAttributeValue(r){r.valueChecked=!r.valueChecked,r.checked=r.valueChecked,this.handleFilterCriteriumAttributeStateChange(r)}_defineFilterString(r){let h=`[I][${r.id}].Value`;return r.valueChecked&&(h+=`[F][0]=${this.formatValuePipe.transform(r.value)}`),h}_addFilterCriteria(r){this.filterCriteria.push({name:r.name,value:r.valueChecked?r.value:void 0,id:r.id,subString:this._defineFilterString(r)})}_updateFilterCriteria(r,h){this.filterCriteria[h]=sb(P1({},this.filterCriteria[h]),{name:r.name,value:r.valueChecked?r.value:void 0,subString:this._defineFilterString(r)})}titleForValue(r){return r==null?"_Not_defined":r===""?"_Empty_value":""}normalizedValue(r){let h=String(r).toLowerCase();return r==null?"...":h===""?"''":h==="true"?"TRUE":h==="false"?"FALSE":r}handleFilterCriteriumAttributeStateChange(r){let h=this.filterCriteria.findIndex(m=>m.id===r.id);h>=0?(r.checked===!1&&r.valueChecked===!1?this.filterCriteria.splice(h,1):this._updateFilterCriteria(r,h),this.filterCriteriaChange.emit(this.filterCriteria)):this.filterCriteria.length<rX&&(this._addFilterCriteria(r),this.filterCriteriaChange.emit(this.filterCriteria))}handleObjectStructureNodeSelected(r){this._currentObjectId$.next(r.id)}handleComplexPropertyNodeSelected(r){this._currentPropertiesObjectId$.next(r.id)}_createObjectProperties(r,h){this._loadObjectProperties(r,h)?.subscribe({next:m=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(m),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(r){let h=[],m=null;if(r.localizedAttributeGroups&&(m=r.localizedAttributeGroups),!r.attributes)return h;let O=r.attributes;for(let[C,G]of Object.entries(O)){let S={name:C,expanded:!1,attributes:[]};if(m?.[C]&&(S.name=m[C]),!!G){for(let H of Object.values(G)){let ee={id:H.id,name:H.name,description:H.description,value:H.value,checked:!1,valueChecked:!1,group:H.group};S.attributes.push(ee)}h.push(S)}}return h}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(r=>{r.attributes.forEach(h=>{let m=this._filterCriteria.find(O=>O.id==h.id);m?(h.checked=!0,h.valueChecked=m.value!==void 0):(h.checked=!1,h.valueChecked=!1)})})}_loadObjectProperties(r,h){if(this.api)return Up(this.api.objects.get(r,h,"8",void 0,!1,void 0))}_loadObjectStructure(r,h){if(this.api)return Up(this.api.objects.getTopology(r,h,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(r,h){if(this.api)return Up(this.api.objects.getComplexPropertiesTopology(r,h))}_createComplexPropertiestructure(r,h){this._loadObjectComplexPropertiesStructure(r,h)?.subscribe({next:m=>{if(m){let O=HH.createFromResponse(m);O?.children?.length?this._complexProperties=O:this._complexProperties=null}}})}_createObjectStructure(r,h){this._loadObjectStructure(r,h)?.subscribe({next:m=>{m&&(this._objectStructure=BH.createFromResponse(m))}})}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba),tr(MJ))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[O0([MJ]),xl,bs],decls:8,vars:6,consts:[[1,"criteria-select-object-properties-header"],[3,"objectStructure"],[3,"nodeSelected","objectStructure"],[3,"nodeSelected","complexProperties"],[3,"expanded"],[1,"criteria-select-object-properties-group-header"],[1,"criteria-select-object-properties-attrib-row"],[1,"criteria-select-object-properties-attrib-row-content"],[1,"criteria-select-object-properties-attrib-row-cell","criteria-select-checkbox"],[1,"criteria-select-object-properties-attrib-row-cell-label"],["type","checkbox",3,"click","keypress","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"],[1,"criteria-select-object-properties-attrib-row-cell-text",3,"title"]],template:function(h,m){h&1&&(fn(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),ts(3),pa(4,"translate"),wn()(),Dr(5,JSe,1,1,"lib-bimplus-object-structure",1),wn(),Dr(6,$Se,6,4,"lib-expansion-panel")(7,nxe,7,3,"lib-expansion-panel")),h&2&&(ln(3),to(" ",da(4,4,"_Object structure"),""),ln(2),_s(m.objectStructure?5:-1),ln(),_s(m.complexProperties?6:-1),ln(),_s(m.objectAttributeGroups.length>0?7:-1))},dependencies:[IL,ML,Rl,f1,gJ,yJ],styles:['lib-bimplus-object-structure[_ngcontent-%COMP%]{--bimplus-object-structure-background-color: transparent}lib-bimplus-object-complex-properties[_ngcontent-%COMP%]{--bimplus-object-complex-properties-background-color: transparent}.criteria-select-object-properties-header[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;font-size:1.4rem}.criteria-select-object-properties-group-header[_ngcontent-%COMP%]{line-height:2.4rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]{display:flex;width:calc(100% - 2rem);flex-direction:row;flex-wrap:nowrap;overflow:hidden;padding-left:2rem}.criteria-select-object-properties-attrib-row[_ngcontent-%COMP%]:hover{background-color:var(--object-navigator-criteria-select-object-properties-attribute-row-background-color-hovered)}.criteria-select-object-properties-attrib-row-content[_ngcontent-%COMP%]{display:inline-flex;width:100%}.criteria-select-object-properties-attrib-row-cell[_ngcontent-%COMP%]{flex-basis:50%;display:flex;overflow:hidden;text-overflow:ellipsis}.criteria-select-object-properties-attrib-row-cell-label[_ngcontent-%COMP%]{display:inline-flex}.criteria-select-object-properties-attrib-row-cell-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./assets/checkbox_off.svg");width:1.8rem;height:1.8rem;margin-top:.1rem;vertical-align:middle;border:0;background-color:transparent;background-position:-.3rem center;background-size:100% 100%;background-repeat:no-repeat}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{background-image:url("./assets/checkbox_off_hovered.svg")}lib-bimplus-object-structure[_ngcontent-%COMP%]{--flat-tree-container-background-color-enabled: transparent}']})}}return p})();function ixe(p,l){if(p&1&&(fn(0,"div",2),ts(1),wn()),p&2){let r=dn().node,h=dn();ln(),Az(" ",r.name," \xA0( ",h.getNodeObjectCounter(r.id)," )")}}function rxe(p,l){if(p&1&&(fn(0,"div",3),ts(1),wn()),p&2){let r=dn().node,h=dn();ln(),Az(" ",r.name," \xA0( ",h.getNodeObjectCounter(r.id)," )")}}function sxe(p,l){if(p&1){let r=Js();fn(0,"span",3)(1,"div",4),ji("dblclick",function(){$i(r);let m=dn().node,O=dn();return er(O.dblClickedObjectNode(m))})("mouseenter",function(){$i(r);let m=dn().node,O=dn();return er(O.mouseEnterObjectNode(m))})("mouseleave",function(){$i(r);let m=dn().node,O=dn();return er(O.mouseLeaveObjectNode(m))}),ts(2),wn()()}if(p&2){let r=dn().node;ln(2),to(" ",r.name," ")}}function axe(p,l){if(p&1&&Dr(0,ixe,2,2,"div",2)(1,rxe,2,2,"div",3)(2,sxe,3,1,"span",3),p&2){let r,h=l.node;_s((r=h.nodeType)==="rootNode"?0:r==="structureNode"?1:r==="objectNode"?2:-1)}}var cge=(()=>{class p{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new Br,this.nodeDoubleClicked=new Br,this.nodeMouseEntered=new Br,this.nodeMouseLeft=new Br,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(r){this._filterResult=r,this._updateTreeData()}set selectedObjects(r){this._selectedObjects=r,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(r){this.nodeSelectionChanged.emit(r.map(h=>h.id))}getNodeObjectCounter(r){return this._treeNodeObjectCounts[r]}dblClickedObjectNode(r){this.nodeDoubleClicked.emit(r.id)}mouseEnterObjectNode(r){this.nodeMouseEntered.emit(r.id)}mouseLeaveObjectNode(r){this.nodeMouseLeft.emit(r.id)}expandToObjectLevel(){this.treeData.length!==0&&this._expandToObjectLevel(this._treeData[0])}_syncSelectedObjects(){let r=[];for(let h of this._selectedObjects){let m=this._treeNodesLookup[h];m&&r.push(m)}this.treeComponent?.reset_selection();for(let h of r)this.treeComponent?.select_node(h.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(r){if(r.nodeType&&r.nodeType==="objectNode")return 1;let h=0;if(!r.children)return 0;for(let m of r.children)m&&(h+=this._countObjects(m));return this._treeNodeObjectCounts[r.id]=h,h}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(r,h=void 0){let m={name:r.name,id:r.id,parent:r.parent};if(r.children){m.children=[];for(let O of r.children){let C=this._convertFilterResultToTreeNode(O,h);m.children.push(C)}}return m.parent?r.type==="Structure"?m.nodeType="structureNode":m.nodeType="objectNode":m.nodeType="rootNode",h&&(h[m.id]=m),m}_expandToObjectLevel(r){if(r.children)for(let h of r.children){if(h.nodeType&&h.nodeType==="objectNode")return;this._expandToObjectLevel(h)}this.treeComponent?.expand_node(r.id)}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-object-filter-result"]],viewQuery:function(h,m){if(h&1&&d2(hz,5),h&2){let O;Su(O=xu())&&(m.treeComponent=O.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[bs],decls:3,vars:2,consts:[["objFilterResultNode",""],["paddingIndent","1.4rem","enableParentHighlighting","false","oneLevelMultiSelect","false","multiSelect","true","dataTestPrefix","object-filter-result-tree-",3,"selectedNodes","treeData","customNodeTemplate"],[1,"object-navigator-filter-result-root-node","noselect"],[1,"noselect"],[1,"noselect",3,"dblclick","mouseenter","mouseleave"]],template:function(h,m){if(h&1){let O=Js();fn(0,"lib-bimplus-flat-tree",1),ji("selectedNodes",function(G){return $i(O),er(m.handleSelectedNodes(G))}),wn(),Dr(1,axe,3,1,"ng-template",null,0,Tw)}if(h&2){let O=xf(2);Vn("treeData",m.treeData)("customNodeTemplate",O)}},dependencies:[hz],styles:[".noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-selected-node-font-weight: 700;--flat-tree-background-color: var(--bimplus-object-filter-result-background-color, var(--flat-tree-container-background-color-enabled))}.object-navigator-filter-result-root-node[_ngcontent-%COMP%]{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}"]})}}return p})();var uge="tabAttribElement.DivisionID",bB=class{constructor(l="",r=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=l,this._maxFilterCriteria=r}get filterString(){return this._filterString}fromFilterCriteria(l){this._filterString=`[I]${uge}`;for(let r of l)this._filterString+=r.subString;return this._filterString}getReadableValuesFromFilterCriteria(l){let r={};for(let h of l)h.id&&h.name&&(r[h.id]=h.name);return r}toFilterCriteria(l=void 0){let r=[],h=!1,m=this._filterString.split("[I]");for(let O of m)if(O.length!==0){if(O.includes(uge)&&!h){h=!0;continue}if(r.push(this._parseFilterSubstring(O,l)),r.length===this._maxFilterCriteria)break}return r}_parseFilterSubstring(l,r=void 0){let h=l,m,O=l.indexOf("["),C=l.indexOf("]");if(O>=0&&C>=0&&C>O){let G=l.slice(O+1,C);if(m=G,G&&r){let S=r[G];S&&(h=S)}}else if(l.includes(".")){let G=l.split(".");h=G[G.length-1]}return{name:h,subString:"[I]"+l,id:m}}};var IJ=class{static fetchObjectFilterStructureFromSelection(l,r,h,m){let O=!r.id,C=r.id?r.id:"",G=null;return O?G=Up(m.objectFilters.post(JSON.stringify(r),l)).pipe(w_(S=>{if(!S?.id)throw new Error("Failed to create temporary filter object");return C=S.id,Up(m.exportService.createExportSelection(l,JSON.stringify(h)))}),w_(S=>{if(!S?.id)throw new Error("Failed to create selection object");return Up(m.objectFilters.getSelectionFilteredObjects(S.id,C,void 0,void 0)).pipe(ip(H=>(m.objectFilters.delete(C),H)))})):G=Up(m.exportService.createExportSelection(l,JSON.stringify(h))).pipe(w_(S=>{if(!S?.id)throw new Error("Failed to create selection object");return Up(m.objectFilters.getSelectionFilteredObjects(S.id,C,void 0,void 0))})),G}};var oxe=p=>({disabled:p});function lxe(p,l){if(p&1&&(fn(0,"ng-option",18),ts(1),wn()),p&2){let r=l.$implicit;Vn("value",r),ln(),Z0(r.name)}}function cxe(p,l){if(p&1&&(fn(0,"ng-option",18),ts(1),wn()),p&2){let r=l.$implicit;Vn("value",r),ln(),Z0(r.name)}}function uxe(p,l){if(p&1&&fs(0,"lib-bimplus-context-menu",9),p&2){let r=dn(3);Vn("items",r.filterContextMenu)}}function pxe(p,l){if(p&1&&Dr(0,uxe,1,1,"lib-bimplus-context-menu",19),p&2){let r=dn(2);Vn("ngIf",r.filterContextMenu==null?null:r.filterContextMenu.length)}}function dxe(p,l){if(p&1){let r=Js();fn(0,"app-filter-criterium",20),ji("deleteCriterium",function(){let m=$i(r).$index,O=dn(2);return er(O.deleteFilterCriterium(m))}),wn()}if(p&2){let r=l.$implicit,h=l.$index;Vn("criterium",r)("indent",h*.8)}}function hxe(p,l){p&1&&(fn(0,"p",21),ts(1),pa(2,"translate"),wn()),p&2&&(ln(),Z0(da(2,1,"_NoObjectSelected")))}function fxe(p,l){if(p&1&&Dr(0,hxe,3,3,"p",21),p&2){let r=dn(2);_s(r.selectedObjectId?-1:0)}}function mxe(p,l){if(p&1){let r=Js();fn(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-criteria-select-object-properties",23),YD("filterCriteriaChange",function(m){$i(r);let O=dn(3);return bL(O.filterCriteria,m)||(O.filterCriteria=m),er(m)}),ji("filterCriteriaChange",function(){$i(r);let m=dn(3);return er(m.activateModifiedCustomFilter())}),wn()()()}if(p&2){let r=dn(3);ln(2),Vn("api",r.api)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),VD("filterCriteria",r.filterCriteria),Vn("rootObjectId",r.selectedObjectId)("revision",r.selectedRevision)}}function bxe(p,l){if(p&1&&Dr(0,mxe,3,6,"div",22),p&2){let r=dn(2);_s(r.selectedObjectId?0:-1)}}function vxe(p,l){}function gxe(p,l){if(p&1){let r=Js();fn(0,"div",22)(1,"lib-bimplus-scrollable-container")(2,"lib-object-filter-result",24),ji("nodeSelectionChanged",function(m){$i(r);let O=dn(3);return er(O.handleFilterResultSelectionChanged(m))})("nodeDoubleClicked",function(m){$i(r);let O=dn(3);return er(O.handleFilterResulObjectDoubleClicked(m))})("nodeMouseEntered",function(m){$i(r);let O=dn(3);return er(O.handleFilterResulObjectMouseEntered(m))})("nodeMouseLeft",function(m){$i(r);let O=dn(3);return er(O.handleFilterResulObjectMouseLeft(m))}),wn()()()}if(p&2){let r=dn(3);ln(2),Vn("filterResult",r.filterResult)("selectedObjects",r.selectedObjects)}}function yxe(p,l){if(p&1&&Dr(0,gxe,3,2,"div",22),p&2){let r=dn(2);_s(r.filterResult?0:-1)}}function Mxe(p,l){if(p&1){let r=Js();fn(0,"div",3),ts(1),pa(2,"translate"),wn(),fn(3,"div",4)(4,"ng-select",5),YD("ngModelChange",function(m){$i(r);let O=dn();return bL(O.activeFilterType,m)||(O.activeFilterType=m),er(m)}),Dr(5,lxe,2,2,"ng-option",6),wn()(),fn(6,"div",7)(7,"ng-select",8),YD("ngModelChange",function(m){$i(r);let O=dn();return bL(O.activeFilter,m)||(O.activeFilter=m),er(m)}),Dr(8,cxe,2,2,"ng-option",6),wn(),Dr(9,pxe,1,1,"lib-bimplus-context-menu",9),wn(),fn(10,"lib-expansion-panel",10)(11,"lib-expansion-panel-header")(12,"span",11),ts(13),pa(14,"translate"),wn(),fn(15,"lib-expansion-panel-header-actions")(16,"div",12),pa(17,"translate"),ji("click",function(){$i(r);let m=dn();return er(m.setFilterCriteriaSelectionMode(m.FilterCriteriaSelectionMode.SelectObjectProperties))})("keypress",function(){$i(r);let m=dn();return er(m.setFilterCriteriaSelectionMode(m.FilterCriteriaSelectionMode.SelectObjectProperties))}),wn()()(),fn(18,"div",13),Lf(19,dxe,1,2,"app-filter-criterium",14,tM),wn()(),Dr(21,fxe,1,1),fn(22,"div",15)(23,"button",16),ji("click",function(){$i(r);let m=dn();return er(m.applyFilter())}),ts(24),pa(25,"translate"),wn()(),fs(26,"div",17),Dr(27,bxe,1,1)(28,vxe,0,0)(29,yxe,1,1)}if(p&2){let r,h,m=dn();ln(),to(" ",da(2,21,"_Select_an_object_using_Object_Picker")," "),ln(3),VD("ngModel",m.activeFilterType),Vn("clearable",!1)("searchable",!1),ln(),Vn("ngForOf",m.filterTypes),ln(2),VD("ngModel",m.activeFilter),Vn("clearable",!1)("disabled",!m.filters)("searchable",!1),ln(),Vn("ngForOf",m.filters),ln(),_s(m.hideFilterContextMenu?-1:9),ln(4),E1e(" ",da(14,23,"_Assign_Objects_Selection_Mode")," (",m.filterCriteria.length,"/",m.maxFilterCriteria,") "),ln(3),Vn("ngClass",m.filterCriteriaSelectionMode$.getValue()===m.FilterCriteriaSelectionMode.SelectObjectProperties?"active":"")("title",da(17,25,"_Object_Picker")),ln(3),Sf(m.filterCriteria),ln(2),_s((r=m.filterCriteriaSelectionMode$.getValue())===m.FilterCriteriaSelectionMode.SelectObjectProperties?21:-1),ln(2),Vn("ngClass",$h(29,oxe,m.filterCriteria.length===0))("disabled",m.filterCriteria.length===0),ln(),to(" ",da(25,27,"_Apply filter")," "),ln(3),_s((h=m.filterCriteriaSelectionMode$.getValue())===m.FilterCriteriaSelectionMode.SelectObjectProperties?27:h===m.FilterCriteriaSelectionMode.SelectAttributes?28:29)}}function Ixe(p,l){p&1&&(fn(0,"div",2),ts(1),pa(2,"translate"),wn()),p&2&&(ln(),to(" ",da(2,1,"_No_visible_models_found")," "))}var pge=(()=>{class p extends w1{constructor(r){super(r),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.activeFilterTypeSubject$=new Lu(null),this.activeFilterSubject$=new Lu(null),this.filters=null,this.filterCriteria=[],this.maxFilterCriteria=rX,this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Lu(PH.None),this.filterCriteriaSelectionModeChanged=new Br,this.selectedObjectId=null,this.selectedRevision=void 0,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new Br,this.filterResultObjectDoubleClicked=new Br,this.filterResultObjectMouseEntered=new Br,this.filterResultObjectMouseLeft=new Br,this.pipetteActiveStatus=new Br,this.FilterCriteriaSelectionMode=PH,this.isLoadingResults=!1,this._filterResult=null,this._filterTypes=[]}set filterTypes(r){this._filterTypes=r,this._filterTypes.length>0&&(this.activeFilterType=this._filterTypes[0])}get filterTypes(){return this._filterTypes}set activeFilterType(r){this.activeFilterTypeSubject$.next(r)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(r){r&&!r.id&&this._setDefaultCustomFilterString(r),this.activeFilterSubject$.next(r)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:r=>{!this.projectId||!this.api||!r||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,r.id)?.subscribe({next:h=>{this.filters=[this._createDefaultCustomFilter(r.id),...h],this.activeFilter=this.filters[0]},error:h=>{throw new Error(h)}}))}}),this.activeFilterSubject$.subscribe({next:r=>{r&&(this.filterCriteria=this.parseFilterString(r))}}),this.filterCriteriaSelectionMode$.subscribe({next:r=>{this.filterCriteriaSelectionModeChanged.emit(r)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(r,h){if(this.api)return Up(this.api.objectFilters.get(h,r))}parseFilterString(r){return new bB(r.filterString,this.maxFilterCriteria).toFilterCriteria(r.readableValues)}deleteFilterCriterium(r){this.filterCriteria.splice(r,1),this.filterCriteria=[...this.filterCriteria],this.activateModifiedCustomFilter()}setFilterCriteriaSelectionMode(r){let h=this.filterCriteriaSelectionMode$.getValue()===r;this.filterCriteriaSelectionMode$.next(h?PH.None:r),this.handlePipetteActiveStatus(!h)}applyFilter(){this.handlePipetteActiveStatus(!1),this.filterCriteriaSelectionMode$.next(PH.None),this._filterResult=null,this.activeFilter&&!this.activeFilter.id&&(this.activeFilter.filterString=new bB().fromFilterCriteria(this.filterCriteria)),this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(r){this.filterResultObjectSelectionChanged.emit(r)}handleFilterResulObjectDoubleClicked(r){this.filterResultObjectDoubleClicked.emit(r)}handleFilterResulObjectMouseEntered(r){this.filterResultObjectMouseEntered.emit(r)}handleFilterResulObjectMouseLeft(r){this.filterResultObjectMouseLeft.emit(r)}handlePipetteActiveStatus(r){this.pipetteActiveStatus.emit(r)}activateModifiedCustomFilter(){this.activeFilter?.id&&this.filters&&(this.filters[0].filterString=new bB().fromFilterCriteria(this.filterCriteria),this.filters[0].readableValues=new bB().getReadableValuesFromFilterCriteria(this.filterCriteria),this.activeFilterSubject$.next(this.filters[0]))}_applySelectionObjectFilter(r){!this.api||!this.selectionObject||!r||(this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,this.isLoadingResults=!0,IJ.fetchObjectFilterStructureFromSelection(this.projectId,r,this.selectionObject,this.api).subscribe({next:h=>{this._filterResult=h,this.isLoadingResults=!1}}))}_setDefaultCustomFilterString(r){let h="a0e8ae2c-c869-4ec3-9019-25d3704be707";r.filterString=`[I][${h}].Value`,r.readableValues={},r.readableValues[h]="Type"}_createDefaultCustomFilter(r){let h={module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:r,name:"Custom filter",filterString:"",isDefault:!1,disableSortByModels:!1};return this._setDefaultCustomFilterString(h),h}static{this.\u0275fac=function(h){return new(h||p)(tr(Ba))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(h,m){h&2&&h1("object-navigator",m.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedRevision:"selectedRevision",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft",pipetteActiveStatus:"pipetteActiveStatus"},standalone:!0,features:[xl,bs],decls:6,vars:8,consts:[[3,"header","isLoading","loadingSpinnerText"],[1,"object-navigator-content-container"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"],[1,"description"],[1,"object-navigator-filters-type"],["data-test","object-navigator-filter-types-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","searchable"],[3,"value",4,"ngFor","ngForOf"],[1,"object-navigator-filters-name"],["data-test","object-navigator-filters-name-dropdown",1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],[1,"object-navigator-filters-name-context-menu",3,"items"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","keypress","ngClass","title"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","ngClass","disabled"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[1,"scrollable-content-container"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId","revision"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"]],template:function(h,m){h&1&&(fn(0,"lib-bimplus-sidenav-drawer-content",0),pa(1,"translate"),pa(2,"translate"),fn(3,"div",1),Dr(4,Mxe,30,31)(5,Ixe,3,3,"div",2),wn()()),h&2&&(Vn("header",da(1,4,"_Object navigator"))("isLoading",m.isLoadingResults)("loadingSpinnerText",da(2,6,"_Loading_Filter_Results")),ln(4),_s(m.filterTypes.length>0?4:5))},dependencies:[Dl,X1,h2,iM,pR,gL,aB,yH,gH,oB,oge,ML,IL,OH,wH,Rl,f1,lge,MR,cge,zw],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.primary-button{text-transform:uppercase;font: 700 1rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:inline-block;margin-left:.8rem;padding:.2rem 1rem .4rem;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem var(--primary-button-border-color-enabled);color:var(--primary-button-text-color-enabled);background-color:var(--primary-button-background-color-enabled);cursor:pointer}.primary-button:hover{border:solid .2rem var(--primary-button-border-color-hovered);color:var(--primary-button-text-color-hovered);background-color:var(--primary-button-background-color-hovered);outline:0}.primary-button:disabled,.primary-button:disabled:active,.primary-button.disabled{border:solid .2rem var(--primary-button-border-color-disabled);color:var(--primary-button-text-color-disabled);background-color:var(--primary-button-background-color-disabled);cursor:default}.primary-button:active{border:solid .2rem var(--primary-button-border-color-pressed);color:var(--primary-button-text-color-pressed);background-color:var(--primary-button-background-color-pressed);cursor:default}:host{display:flex}lib-bimplus-sidenav-drawer-content{width:100%;max-height:100%;display:flex;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container{display:flex;flex-direction:column;width:100%;max-height:100%;flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container lib-object-filter-result{--bimplus-object-filter-result-background-color: transparent}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.description{margin-bottom:.8rem;font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-no-filter-types{font-size:1.2rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name{flex:0;margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filters-name>.object-navigator-filters-name-context-menu{--context-menu-trigger-width: 2.4rem;--context-menu-trigger-height: 2.4rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-filter-criteria-panel{flex:0;padding-top:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-apply-button-row{flex:0;display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.object-navigator-separator{flex:0;border-top:solid .078125em var(--object-navigator-separator-border-color-enabled);padding-bottom:.8rem}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container{position:relative;flex:1;width:100%;display:flex;flex-direction:column}lib-bimplus-sidenav-drawer-content .object-navigator-content-container>.scrollable-content-container>lib-bimplus-scrollable-container{position:absolute;top:0;bottom:0;flex:1;width:100%}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:12rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-filter-action-buttons{width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button{background-image:url("./assets/Properties_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./assets/Properties_18_maincolor.svg")}.object-navigator-pick-object-button{background-image:url("./assets/Pipette_18_gray.svg");width:2.4rem;height:2.4rem;display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:1.8rem 1.8rem;color:var(--object-navigator-filter-action-buttons-text-color);margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./assets/Pipette_18_maincolor.svg")}.object-navigator-filter-criteria-header{display:inline-block;text-transform:uppercase;line-height:2.4rem;font-weight:700;font-size:.9375em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}lib-object-filter-result{--flat-tree-container-background-color-enabled: transparent}#NoObjectSelected{margin:.8rem;line-height:.72rem;font-size:1.2rem}#NoObjectSelected+.object-navigator-apply-button-row{margin-top:0}
9903
9903
  `],encapsulation:3})}}return p})();var wxe=[[["",8,"tooltip-message-title-content"]],[["",8,"tooltip-message-messages-content"]],[["",8,"tooltip-message-footer-content"]]],Oxe=[".tooltip-message-title-content",".tooltip-message-messages-content",".tooltip-message-footer-content"],Axe=(p,l)=>({"top.px":p,"left.px":l});function _xe(p,l){if(p&1&&(fn(0,"div",5),ts(1),wn()),p&2){let r=dn(2);ln(),to(" ",r.messageData.title," ")}}function Txe(p,l){p&1&&(wz(0),fs(1,"div",12),Oz())}function Exe(p,l){if(p&1&&(fn(0,"span",13),ts(1),wn()),p&2){let r=dn().$implicit;h1("failed",r.type==="failed")("success",r.type==="success"),ln(),to(" ",r.label," ")}}function zxe(p,l){p&1&&(wz(0),ts(1,":"),Oz())}function Cxe(p,l){if(p&1&&(fn(0,"span",14),Dr(1,zxe,2,0,"ng-container",8),ts(2),wn()),p&2){let r=dn().$implicit;ln(),Vn("ngIf",r.label),ln(),to(" ",r.value," ")}}function Dxe(p,l){if(p&1&&(wz(0),Dr(1,Txe,2,0,"ng-container",8),fn(2,"div",9),Dr(3,Exe,2,5,"span",10)(4,Cxe,3,2,"span",11),wn(),Oz()),p&2){let r=l.$implicit;ln(),Vn("ngIf",r.separatingLine),ln(2),Vn("ngIf",r.label),ln(),Vn("ngIf",r.value)}}function Lxe(p,l){if(p&1&&(fn(0,"div",6),Dr(1,Dxe,5,3,"ng-container",7),wn()),p&2){let r=dn(2);ln(),Vn("ngForOf",r.messageData.messages)}}function Sxe(p,l){if(p&1&&(fn(0,"div",15),ts(1),wn()),p&2){let r=dn(2);ln(),to(" ",r.messageData.footer," ")}}function xxe(p,l){if(p&1){let r=Js();fn(0,"div",1),ji("clickOutside",function(){$i(r);let m=dn();return er(m._clickOutside())}),rf(1),Dr(2,_xe,2,1,"div",2),rf(3,1),Dr(4,Lxe,2,1,"div",3),rf(5,2),Dr(6,Sxe,2,1,"div",4),wn()}if(p&2){let r=dn();Vn("ngStyle",Yg(4,Axe,r.messagePosition.posY,r.messagePosition.posX)),ln(2),Vn("ngIf",r.messageData&&r.messageData.title),ln(2),Vn("ngIf",r.messageData&&r.messageData.messages),ln(2),Vn("ngIf",r.messageData&&r.messageData.footer)}}var dge=(()=>{class p{constructor(r){this.el=r,this.messagePosition={posX:0,posY:0},this.messageData={},this.messageVisibility=!1,this.messageVisibilityChange=new Br,this._parentWidth=0,this._parentHeight=0,this._element=this.el.nativeElement.shadowRoot}get element(){return this._element}_clickOutside(){this.messageVisibility=!1,this.messageVisibilityChange.emit(this.messageVisibility)}get messageParent(){return this._messageParentElement}set messageParent(r){this._messageParentElement=r,this._messageParentElement&&(this._resizeObserver=new ResizeObserver(h=>{for(let m of h){let{width:O,height:C}=m.contentRect;this._parentWidth=O,this._parentHeight=C}}),this._resizeObserver.observe(this._messageParentElement.nativeElement))}tooltipRectangleIsOutOfParentRectangleX(r,h){return r.x+r.width-h.x-h.width>0}tooltipRectangleIsOutOfParentRectangleY(r,h){return r.y+r.height-h.y-h.height>0}correctTooltipPositionX(r,h,m,O){if(!this._messageParentElement)return;let C=this._element.querySelector(".tooltip-message");if(!C)return;let G=C.getBoundingClientRect(),S=this._messageParentElement.nativeElement.getBoundingClientRect();Math.abs(G.x+G.width-r-S.left)>3?(this.messagePosition.posX=this.messagePosition.posX+r-(G.x+G.width),setTimeout(()=>{this.correctTooltipPositionX(r,h,m,O)},0)):O&&Math.abs(G.y+G.height-m-S.top)>3?setTimeout(()=>{this.correctTooltipPositionY(r,h,m,O)},0):this.tooltipRectangleIsOutOfParentRectangleY(G,S)&&(this.messagePosition.posY=this.messagePosition.posY-G.height,setTimeout(()=>{this.correctTooltipPositionY(r,h,m,!0)},0))}correctTooltipPositionY(r,h,m,O){if(!this._messageParentElement)return;let C=this._element.querySelector(".tooltip-message");if(!C)return;let G=C.getBoundingClientRect(),S=this._messageParentElement.nativeElement.getBoundingClientRect();Math.abs(G.y+G.height-m-S.top)>3?(this.messagePosition.posY=this.messagePosition.posY+m-(G.y+G.height),setTimeout(()=>{this.correctTooltipPositionY(r,h,m,O)},0)):h&&Math.abs(G.x+G.width-r-S.left)>3?setTimeout(()=>{this.correctTooltipPositionX(r,h,m,O)},0):this.tooltipRectangleIsOutOfParentRectangleX(G,S)&&(this.messagePosition.posX=this.messagePosition.posX-G.width,setTimeout(()=>{this.correctTooltipPositionX(r,!0,m,O)},0))}ngOnChanges(r){if(r.messageVisibility){if(!r.messageVisibility.currentValue)return;setTimeout(()=>{if(!this._messageParentElement)return;let h=this.messagePosition.posX,m=this.messagePosition.posY,O=this._element.querySelector(".tooltip-message");if(!O)return;let C=O.getBoundingClientRect(),G=this._messageParentElement.nativeElement.getBoundingClientRect();this.tooltipRectangleIsOutOfParentRectangleX(C,G)?(this.messagePosition.posX=this.messagePosition.posX-C.width,setTimeout(()=>{this.correctTooltipPositionX(h,!0,m,!1)},0)):this.tooltipRectangleIsOutOfParentRectangleY(C,G)&&(this.messagePosition.posY=this.messagePosition.posY-C.height,setTimeout(()=>{this.correctTooltipPositionY(h,!1,m,!0)},0))},0)}}static{this.\u0275fac=function(h){return new(h||p)(tr(m0))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-tooltip-message"]],inputs:{messagePosition:"messagePosition",messageData:"messageData",messageVisibility:"messageVisibility",messageParent:"messageParent"},outputs:{messageVisibilityChange:"messageVisibilityChange"},standalone:!0,features:[p2,bs],ngContentSelectors:Oxe,decls:1,vars:1,consts:[["class","tooltip-message","libClickOutside","",3,"ngStyle","clickOutside",4,"ngIf"],["libClickOutside","",1,"tooltip-message",3,"clickOutside","ngStyle"],["class","tooltip-message-title",4,"ngIf"],["class","tooltip-message-messages",4,"ngIf"],["class","tooltip-message-footer",4,"ngIf"],[1,"tooltip-message-title"],[1,"tooltip-message-messages"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"tooltip-message-message"],["class","label",3,"failed","success",4,"ngIf"],["class","value",4,"ngIf"],[1,"separating-line"],[1,"label"],[1,"value"],[1,"tooltip-message-footer"]],template:function(h,m){h&1&&(iv(wxe),Dr(0,xxe,7,7,"div",0)),h&2&&Vn("ngIf",m.messageVisibility)},dependencies:[Dl,h2,iM,dH,vJ],styles:[`.text-selected{color:var(--text-highlight-text-color-enabled)}.ui-icon22px{width:2.2rem;height:2.2rem;display:inline-block;float:right;border-radius:.4rem;background-position:center center;background-repeat:no-repeat;cursor:pointer}.ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat}.touch-ui-icon-sidemenu{width:2.4rem;height:2.4rem;background-size:1.8rem 1.8rem;background-position:center center;background-repeat:no-repeat;width:3.2rem;height:3.2rem}.ui-icon-sidemenu-important{width:2.4rem!important;height:2.4rem!important;background-size:1.8rem 1.8rem!important;background-position:center center;background-repeat:no-repeat}.tooltip-message{border-style:solid;border-width:var(--tooltip-message-border-width, .1rem);border-color:var(--tooltip-message-border-color-enabled);position:absolute;min-width:var(--tooltip-message-min-width, 10rem);max-width:var(--tooltip-message-max-width, 30rem);left:0;top:0;cursor:default;background-color:var(--tooltip-message-background-color-enabled);display:flex;flex-direction:column}.tooltip-message>.tooltip-message-title{font-family:var(--tooltip-message-title-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--tooltip-message-title-font-size, 1.4rem);font-weight:var(--tooltip-message-title-font-weight, 700);background-color:var(--tooltip-message-title-background-color-enabled);padding:var(--tooltip-message-title-padding, .5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tooltip-message>.tooltip-message-messages{display:flex;flex-direction:column;padding:var(--tooltip-message-body-padding, .5rem)}.tooltip-message>.tooltip-message-messages>.tooltip-message-message{padding-top:.25rem;padding-bottom:.25rem}.tooltip-message>.tooltip-message-messages>.tooltip-message-message>.label.success{color:var(--tooltip-message-text-color-success);font-weight:var(--success-message-font-weight, 700)}.tooltip-message>.tooltip-message-messages>.tooltip-message-message>.label.failed{color:var(--tooltip-message-text-color-error);font-weight:var(--error-message-font-weight, 700)}.tooltip-message>.tooltip-message-messages>.separating-line{width:100%;border-top:var(--tooltip-message-separating-line-width, .1rem) solid var(--tooltip-message-separator-border-color-enabled)}.tooltip-message>.tooltip-message-footer{font-family:var(--tooltip-message-footer-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--tooltip-message-footer-font-size, 1.4rem);font-weight:var(--tooltip-message-footer-font-weight, 700);background-color:var(--tooltip-message-footer-background-color-enabled);padding:var(--tooltip-message-footer-padding, .5rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
9904
9904
  `],encapsulation:3})}}return p})();var wJ=class{http;prefix;suffix;constructor(l,r="/assets/i18n/",h=".json"){this.http=l,this.prefix=r,this.suffix=h}getTranslation(l){return this.http.get(`${this.prefix}${l}${this.suffix}`)}};var hge=(()=>{class p{constructor(){this.defaultLang="en",this.currentLanguage$=new Lu(this.defaultLang),this.currentLanguageStrings$=new Lu({}),this._languageFilesUri="/assets"}set languageFilesUri(r){this._languageFilesUri=r}get currentLanguage(){return this.currentLanguage$.getValue()}set currentLanguageStrings(r){this.currentLanguageStrings$.next(r)}get currentLanguageStrings(){return this.currentLanguageStrings$.getValue()}setCurrentLanguage(r){return HA(this,null,function*(){this.currentLanguage$.next(r),yield this.fetchLanguageStrings(r)})}extractLocalizedStrings(r){let h={};for(let[m,O]of Object.entries(this.currentLanguageStrings))typeof O=="string"&&r.find(C=>C===m)&&(h[m]=O);return h}fetchLanguageStrings(r){return HA(this,null,function*(){let m=yield(yield fetch(`${this._languageFilesUri}/strings_${r}.json`)).json();if(r!==this.defaultLang){let C=yield(yield fetch(`${this._languageFilesUri}/strings_en.json`))?.json?.(),G=C&&Object.keys(C);if(G?.length)for(let S in G){let H=G[S];m[H]||(m[H]=C[H])}}this.currentLanguageStrings$.next(m)})}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var fge=(()=>{class p{constructor(r,h){this.el=r,this.renderer=h,this._isDraggingActive=!1,this._isDragging=!1,this.startX=0,this.startY=0,this._isDraggingActive&&(this.renderer.setStyle(this.el.nativeElement,"cursor","grab"),this.renderer.setStyle(this.el.nativeElement,"user-drag","none"))}set libDraggableComponent(r){let h=this.el.nativeElement;this._isDraggingActive=r,r?(this.renderer.setStyle(h,"cursor","grab"),this.renderer.setStyle(h,"user-drag","none")):(this.renderer.setStyle(h,"cursor","unset"),this.renderer.setStyle(h,"user-drag","auto"))}onMouseDown(r){this._isDraggingActive&&(this.startX=r.clientX,this.startY=r.clientY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"),r.preventDefault())}onMouseUp(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}onMouseMove(r){if(this._isDraggingActive&&this._isDragging){let h=this.startX-r.clientX,m=this.startY-r.clientY;this.startX=r.clientX,this.startY=r.clientY;let O=this.el.nativeElement.offsetTop-m,C=this.el.nativeElement.offsetLeft-h;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${C}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${O}px`)}}onTouchStart(r){this._isDraggingActive&&(this.startX=r.targetTouches[0].pageX,this.startY=r.targetTouches[0].pageY,this._isDragging=!0,this.renderer.setStyle(this.el.nativeElement,"cursor","grabbing"))}onTouchMove(r){if(this._isDraggingActive&&this._isDragging){let h=this.startX-r.targetTouches[0].pageX,m=this.startY-r.targetTouches[0].pageY;this.startX=r.targetTouches[0].pageX,this.startY=r.targetTouches[0].pageY;let O=this.el.nativeElement.offsetTop-m,C=this.el.nativeElement.offsetLeft-h;this.renderer.setStyle(this.el.nativeElement,"position","absolute"),this.renderer.setStyle(this.el.nativeElement,"left",`${C}px`),this.renderer.setStyle(this.el.nativeElement,"top",`${O}px`)}}onTouchEnd(){this._isDraggingActive&&this._isDragging&&(this._isDragging=!1,this.renderer.setStyle(this.el.nativeElement,"cursor","grab"))}static{this.\u0275fac=function(h){return new(h||p)(tr(m0),tr(az))}}static{this.\u0275dir=H0({type:p,selectors:[["","libDraggableComponent",""]],hostBindings:function(h,m){h&1&&ji("mousedown",function(C){return m.onMouseDown(C)})("mouseup",function(){return m.onMouseUp()},!1,zI)("mousemove",function(C){return m.onMouseMove(C)},!1,zI)("touchstart",function(C){return m.onTouchStart(C)})("touchmove",function(C){return m.onTouchMove(C)},!1,zI)("touchend",function(C){return m.onTouchEnd(C)},!1,zI)},inputs:{libDraggableComponent:"libDraggableComponent"},standalone:!0})}}return p})();var Rxe=["dialogRefContainer"],Nxe=["dialogOverlay"],Pxe=["*"];function Bxe(p,l){if(p&1){let r=Js();fn(0,"div",4,0)(2,"section",5,1),rf(4),wn(),fn(5,"div",6,2),ji("click",function(){$i(r);let m=dn();return er(m.onClose())})("keypress",function(m){$i(r);let O=dn();return er(O.onKeyPress(m))}),wn()()}if(p&2){let r=dn();ln(2),Vn("libDraggableComponent",!!r.options.draggable),ln(3),Wv("display",r.options.overlayVisibilityEnabled?"block":"none")}}var mge=(()=>{class p{constructor(r,h){this.dialogService=r,this.cdref=h,this.units="rem"}ngOnInit(){this.options=this.dialogService.options}onClose(){this.dialogService.close()}ngAfterContentInit(){this.options&&(this.cdref.detectChanges(),this.setOptions())}setOptions(){this.options&&(this.setDimensions(),this.setPosition(),this.setOverlay())}setDimensions(){let r=this.options?.width&&this.options.width.length>0?this.options.width:"auto",h=this.options?.height&&this.options.height.length>0?this.options.height:"auto";this.genDialogRefContainer.nativeElement.style.width=r,this.genDialogRefContainer.nativeElement.style.height=h}setPosition(){this.options?.position==="middle"?this.setPositionsMiddle():this.options?.position==="unset"&&this.setPositionsUnset()}setPositionsUnset(){if(this.options){this.genDialogRefContainer.nativeElement.style.position="fixed";let r=this.options?.positionOptions?.top??"0"+this.units,h=this.options?.positionOptions?.bottom??"0"+this.units,m=this.options?.positionOptions?.left??"0"+this.units,O=this.options?.positionOptions?.right??"0"+this.units;this.genDialogRefContainer.nativeElement.style.position="absolute",this.genDialogRefContainer.nativeElement.style.top=r,this.genDialogRefContainer.nativeElement.style.left=m,this.genDialogRefContainer.nativeElement.style.bottom=h,this.genDialogRefContainer.nativeElement.style.right=O,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!1,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1}}setPositionsMiddle(){this.options&&(this.genDialogRefContainer.nativeElement.className=this.genDialogRefContainer.nativeElement.className+" middle",this.options.draggable=!1,this.options.overlayVisibilityEnabled=this.options.overlayVisibilityEnabled?this.options.overlayVisibilityEnabled:!0,this.options.overlayClickEnabled=this.options.overlayVisibilityEnabled&&this.options.overlayClickEnabled?this.options.overlayClickEnabled:!1)}setOverlay(){this.options?.overlayVisibilityEnabled&&(this.dialogOverlay.nativeElement.style.backgroundColor="var(--modal-fade-in-background-color)")}onKeyPress(r){(r.key==="Escape"||r.key==="Esc")&&this.options?.overlayClickEnabled&&this.dialogService.close()}static{this.\u0275fac=function(h){return new(h||p)(tr(H_),tr(Ug))}}static{this.\u0275cmp=ms({type:p,selectors:[["app-general-overlay-dialog"]],viewQuery:function(h,m){if(h&1&&(d2(Rxe,5),d2(Nxe,5)),h&2){let O;Su(O=xu())&&(m.genDialogRefContainer=O.first),Su(O=xu())&&(m.dialogOverlay=O.first)}},standalone:!0,features:[bs],ngContentSelectors:Pxe,decls:1,vars:1,consts:[["generalDialogWrapper",""],["dialogRefContainer",""],["dialogOverlay",""],["class","general-dialog-wrapper",4,"ngIf"],[1,"general-dialog-wrapper"],[1,"general-dialog-content",3,"libDraggableComponent"],[1,"general-dialog-overlay",3,"click","keypress"]],template:function(h,m){h&1&&(iv(),Dr(0,Bxe,7,3,"div",3)),h&2&&Vn("ngIf",m.options)},dependencies:[fge,Dl,iM],styles:[`.general-dialog-wrapper{--button-row-margin-top: 0;--button-row-margin-bottom: 0}.general-dialog-wrapper .general-dialog-overlay{height:100%;width:100%;position:fixed;z-index:5;left:0;top:0;overflow-x:hidden;transition:.5s}.general-dialog-wrapper .general-dialog-content{z-index:12}.general-dialog-wrapper .general-dialog-content.middle{position:fixed;inset:0;justify-content:center;display:flex;align-items:center}
9905
9905
  `],encapsulation:3})}}return p})();var H_=(()=>{class p{constructor(r,h){this.appRef=r,this.injector=h,this._isDialogOpen=!1,this.outputData=new ad}open(r,h){h?.options&&(this.initializeSettings(h),this.createComponentsRef(r))}initializeSettings(r){try{this.inputData=r?.data,this.options=r.options}catch(h){console.log("Missing data in open method",h)}}createComponentsRef(r){this.generalDialogComponentBody=KZ(r,{environmentInjector:this.injector}),this.generalDialog=KZ(mge,{environmentInjector:this.injector,projectableNodes:[[this.generalDialogComponentBody.location.nativeElement]]}),document.body.appendChild(this.generalDialog.location.nativeElement),this.appRef.attachView(this.generalDialogComponentBody.hostView),this.appRef.attachView(this.generalDialog.hostView),this._isDialogOpen=!0}close(r){r?this.setOutputData(r):this.resetSettings(),this.generalDialogComponentBody.location.nativeElement.remove(),this.generalDialog.location.nativeElement.remove(),this._isDialogOpen=!1}resetSettings(){this.inputData=null,this.options=void 0}isDialogOpened(){return this._isDialogOpen}setOutputData(r){this._isDialogOpen&&this.outputData.next(r)}getOutputData(){return this.outputData}static{this.\u0275fac=function(h){return new(h||p)(el(vL),el(Mz))}}static{this.\u0275prov=tl({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();var Hxe=p=>({close:p});function Fxe(p,l){p&1&&Vg(0)}function kxe(p,l){if(p&1&&Dr(0,Fxe,1,0,"ng-container",9),p&2){let r=dn();Vn("ngTemplateOutlet",r.buttonsRef)("ngTemplateOutletContext",$h(2,Hxe,r.close.bind(r)))}}function qxe(p,l){if(p&1){let r=Js();fn(0,"div",8)(1,"lib-bimplus-buttons-row",10),ji("buttonClicked",function(){$i(r);let m=dn();return er(m.buttonRowButtonClicked())}),wn()()}if(p&2){let r=dn();ln(),Vn("items",r.buttons)}}var bge=(()=>{class p{get title(){return this._title}set title(r){this._title=r}get message(){return this._message}set message(r){this._message=r}constructor(r,h){this.dialogService=r,this.translateService=h,this._title="",this._message="",this.buttonsRef=null,this.buttons=[{id:"warningDialogAcceptButton",title:this.translateService.instant("_Ok"),tooltip:this.translateService.instant("_Ok"),disabled:!1,buttonStyle:"primary"}],this._data=this.dialogService.inputData,this.buttonsRef=this._data?.buttonsRef??null,this._title=this._data?.title||"",this._message=this._data?.message||""}close(){this.dialogService.close()}keypressClose(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}buttonRowButtonClicked(){this.close(),this.acceptCallback?.()}handleKeydown(r){(r.key==="Escape"||r.key==="Esc")&&this.close()}static{this.\u0275fac=function(h){return new(h||p)(tr(H_),tr(Ba))}}static{this.\u0275cmp=ms({type:p,selectors:[["lib-bimplus-overlay-dialog-warning"]],hostBindings:function(h,m){h&1&&ji("keydown",function(C){return m.handleKeydown(C)},!1,zI)},inputs:{title:"title",message:"message"},standalone:!0,features:[bs],decls:11,vars:3,consts:[[1,"overlay-dialog-container"],[1,"overlay-dialog-container_title"],[1,"overlay-dialog-container_title_icon"],[1,"overlay-dialog-container_title_msg"],[1,"overlay-dialog-container_title_close",3,"click","keypress"],[1,"overlay-dialog-container_content"],[1,"overlay-dialog-container_content_msg",3,"innerHTML"],[1,"overlay-dialog-container_content_buttons"],[1,"buttons"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"buttonClicked","items"]],template:function(h,m){h&1&&(fn(0,"div",0)(1,"div",1),fs(2,"div",2),fn(3,"div",3),ts(4),wn(),fn(5,"div",4),ji("click",function(){return m.close()})("keypress",function(C){return m.keypressClose(C)}),wn()(),fn(6,"div",5),fs(7,"div",6),fn(8,"section",7),Dr(9,kxe,1,4,"ng-container")(10,qxe,2,1,"div",8),wn()()()),h&2&&(ln(4),to(" ",m.title," "),ln(3),Vn("innerHTML",m.message,P_),ln(2),_s(m.buttonsRef?9:10))},dependencies:[Dl,pz,Rl,RI],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:var(--select-container-open-background-color-enabled);border-color:var(--select-container-open-border-color-enabled)}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent var(--select-container-open-arrow-border-color-enabled);border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent var(--select-container-open-arrow-border-color-hovered)}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-disabled>.ng-select-container{background-color:var(--select-container-background-color-disabled)}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:var(--select-container-text-color-enabled);background-color:var(--select-container-background-color-enabled);border-radius:0;border:1px solid var(--select-container-border-color-enabled);min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 var(--select-container-box-shadow-color-hovered);background-color:var(--select-container-background-color-hovered)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=rtl] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:var(--select-container-placeholder-text-color-enabled)}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=rtl] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:var(--select-multiple-disabled-container-value-background-color-enabled);border:1px solid var(--select-multiple-disabled-container-value-border-color-enabled)}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:var(--select-multiple-container-value-text-color-enabled);background-color:var(--select-multiple-container-value-background-color-enabled);border-radius:2px;margin-right:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:var(--select-multiple-container-value-background-color-disabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label,.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:var(--select-multiple-container-value-icon-background-color-hovered)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid var(--select-multiple-container-value-icon-left-border-color-enbabled);border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid var(--select-multiple-container-value-icon-right-border-color-enbabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:var(--select-multiple-container-value-input-text-color-enabled)}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:var(--select-clear-wrapper-text-color-enabled)}.ng-select .ng-clear-wrapper:hover .ng-clear{color:var(--select-clear-wrapper-text-color-hovered)}.ng-select .ng-clear-wrapper:focus .ng-clear{color:var(--select-clear-wrapper-text-color-focused)}.ng-select .ng-clear-wrapper:focus{outline:none}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=rtl] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=rtl] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:var(--select-arrow-wrapper-border-color-hovored)}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:var(--select-arrow-wrapper-border-color-enabled) transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:var(--dropdown-panel-background-color-enabled);border:1px solid var(--dropdown-panel-border-color-enabled);box-shadow:0 1px 0 var(--dropdown-panel-box-shadow-color-enabled);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-top-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-right-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-color:var(--dropdown-panel-select-bottom-border-color-enabled);margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:var(--dropdown-panel-select-left-border-color-enabled);margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid var(--dropdown-panel-header-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid var(--dropdown-panel-footer-border-color-enabled);padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:var(--dropdown-panel-items-text-color-enabled);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected-background-color-enabled);font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:var(--dropdown-panel-items-option-background-color-enabled);color:var(--dropdown-panel-items-option-text-color-enabled);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:var(--dropdown-panel-items-option-selected2-text-color-enabled);background-color:var(--dropdown-panel-items-option-selected2-background-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:var(--dropdown-panel-items-marked-background-color-enabled);color:var(--dropdown-panel-items-marked-text-color-enabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:var(--dropdown-panel-items-text-color-disabled)}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=rtl] .ng-dropdown-panel{direction:rtl;text-align:right}.overlay-dialog-container{display:inline-flex;flex-direction:column;box-shadow:0 .4rem .8rem 0 var(--card-box-shadow-color),0 .6rem 2rem 0 var(--card-box-shadow-color)}.overlay-dialog-container .overlay-dialog-container_title{background-color:var(--color-help-popup-title-background);height:3.2rem;display:inline-flex;align-items:center}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_icon{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Warning_Title.svg") no-repeat center center;padding:0 1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_msg{color:var(--main-menu-text-default);font:700 1.3832rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;text-transform:capitalize;margin-bottom:.2rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close{width:1.8rem;height:1.8rem;background:url("./assets/bimplus_Components_Overlay_Dialog_Cross_White.svg") no-repeat center center;cursor:default;margin:0 0 0 auto;padding-right:1.6rem}.overlay-dialog-container .overlay-dialog-container_title .overlay-dialog-container_title_close:hover{cursor:pointer}.overlay-dialog-container .content .warning-title{line-height:2.4rem}.overlay-dialog-container .content .warning-message{line-height:1.6rem}.overlay-dialog-container .overlay-dialog-container_content{background-color:var(--main-menu-text-default);flex-grow:1;display:flex;flex-direction:column;gap:10px}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_msg{color:var(--color-help-popup-title-background);font:400 1.28rem Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;padding-top:.8rem;padding-left:1.6rem}.overlay-dialog-container .overlay-dialog-container_content .overlay-dialog-container_content_buttons{display:flex;flex-direction:row-reverse;align-items:center}.overlay-dialog-container .overlay-dialog-container_content .buttons{padding:1.6rem}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimplus-webcomponents",
3
- "version": "0.0.156-28779-1",
3
+ "version": "0.0.156-28779-2",
4
4
  "license": "MIT",
5
5
  "author": "",
6
6
  "description": "bim+ webcomponents library",