bimplus-webcomponents 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,31 @@
1
- var bb=Object.create;var Ca=Object.defineProperty,_b=Object.defineProperties,vb=Object.getOwnPropertyDescriptor,yb=Object.getOwnPropertyDescriptors,Cb=Object.getOwnPropertyNames,qd=Object.getOwnPropertySymbols,wb=Object.getPrototypeOf,Yd=Object.prototype.hasOwnProperty,xb=Object.prototype.propertyIsEnumerable;var Zd=(t,e,i)=>e in t?Ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ce=(t,e)=>{for(var i in e||={})Yd.call(e,i)&&Zd(t,i,e[i]);if(qd)for(var i of qd(e))xb.call(e,i)&&Zd(t,i,e[i]);return t},ht=(t,e)=>_b(t,yb(e));var Db=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Mb=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Cb(e))!Yd.call(t,o)&&o!==i&&Ca(t,o,{get:()=>e[o],enumerable:!(n=vb(e,o))||n.enumerable});return t};var Qd=(t,e,i)=>(i=t!=null?bb(wb(t)):{},Mb(e||!t||!t.__esModule?Ca(i,"default",{value:t,enumerable:!0}):i,t));var wa=(t,e,i)=>new Promise((n,o)=>{var r=l=>{try{a(i.next(l))}catch(c){o(c)}},s=l=>{try{a(i.throw(l))}catch(c){o(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(r,s);a((i=i.apply(t,e)).next())});var Cd=Db((BL,Qg)=>{"use strict";var qD=!!(typeof window<"u"&&window.document&&window.document.createElement);Qg.exports=qD});var Kd=null;var xa=1,Da=Symbol("SIGNAL");function de(t){let e=Kd;return Kd=t,e}var Xd={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ib(t){if(!(Ea(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===xa)){if(!t.producerMustRecompute(t)&&!Ma(t)){t.dirty=!1,t.lastCleanEpoch=xa;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=xa}}function Jd(t){return t&&(t.nextProducerIndex=0),de(t)}function eu(t,e){if(de(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ea(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)Ia(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ma(t){sr(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(Ib(i),n!==i.version))return!0}return!1}function tu(t){if(sr(t),Ea(t))for(let e=0;e<t.producerNode.length;e++)Ia(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Ia(t,e){if(Eb(t),sr(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Ia(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];sr(o),o.producerIndexOfThis[n]=e}}function Ea(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function sr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Eb(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function kb(){throw new Error}var Sb=kb;function nu(t){Sb=t}function W(t){return typeof t=="function"}function ar(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var lr=ar(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
1
+ var wb=Object.create;var Da=Object.defineProperty,xb=Object.defineProperties,Db=Object.getOwnPropertyDescriptor,Mb=Object.getOwnPropertyDescriptors,Ib=Object.getOwnPropertyNames,Yd=Object.getOwnPropertySymbols,Eb=Object.getPrototypeOf,Kd=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable;var Qd=(t,e,i)=>e in t?Da(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ce=(t,e)=>{for(var i in e||={})Kd.call(e,i)&&Qd(t,i,e[i]);if(Yd)for(var i of Yd(e))kb.call(e,i)&&Qd(t,i,e[i]);return t},bt=(t,e)=>xb(t,Mb(e));var Sb=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ob=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ib(e))!Kd.call(t,o)&&o!==i&&Da(t,o,{get:()=>e[o],enumerable:!(n=Db(e,o))||n.enumerable});return t};var Xd=(t,e,i)=>(i=t!=null?wb(Eb(t)):{},Ob(e||!t||!t.__esModule?Da(i,"default",{value:t,enumerable:!0}):i,t));var Ma=(t,e,i)=>new Promise((n,o)=>{var r=l=>{try{a(i.next(l))}catch(c){o(c)}},s=l=>{try{a(i.throw(l))}catch(c){o(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(r,s);a((i=i.apply(t,e)).next())});var xd=Sb((nV,Xg)=>{"use strict";var XD=!!(typeof window<"u"&&window.document&&window.document.createElement);Xg.exports=XD});var Jd=null;var Ia=1,Ea=Symbol("SIGNAL");function de(t){let e=Jd;return Jd=t,e}var eu={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Tb(t){if(!(Oa(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ia)){if(!t.producerMustRecompute(t)&&!ka(t)){t.dirty=!1,t.lastCleanEpoch=Ia;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ia}}function tu(t){return t&&(t.nextProducerIndex=0),de(t)}function nu(t,e){if(de(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Oa(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)Sa(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ka(t){lr(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(Tb(i),n!==i.version))return!0}return!1}function iu(t){if(lr(t),Oa(t))for(let e=0;e<t.producerNode.length;e++)Sa(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Sa(t,e){if(Pb(t),lr(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Sa(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];lr(o),o.producerIndexOfThis[n]=e}}function Oa(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function lr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Pb(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ab(){throw new Error}var Fb=Ab;function ou(t){Fb=t}function G(t){return typeof t=="function"}function cr(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var dr=cr(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
2
2
  ${i.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=i});function On(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var Be=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let r of i)r.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(W(n))try{n()}catch(r){e=r instanceof lr?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{iu(r)}catch(s){e=e??[],s instanceof lr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new lr(e)}}add(e){var i;if(e&&e!==this)if(this.closed)iu(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&On(i,e)}remove(e){let{_finalizers:i}=this;i&&On(i,e),e instanceof t&&e._removeParent(this)}};Be.EMPTY=(()=>{let t=new Be;return t.closed=!0,t})();var ka=Be.EMPTY;function cr(t){return t instanceof Be||t&&"closed"in t&&W(t.remove)&&W(t.add)&&W(t.unsubscribe)}function iu(t){W(t)?t():t.unsubscribe()}var Nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ri={setTimeout(t,e,...i){let{delegate:n}=ri;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=ri;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function dr(t){ri.setTimeout(()=>{let{onUnhandledError:e}=Nt;if(e)e(t);else throw t})}function io(){}var ou=Sa("C",void 0,void 0);function ru(t){return Sa("E",void 0,t)}function su(t){return Sa("N",t,void 0)}function Sa(t,e,i){return{kind:t,value:e,error:i}}var Tn=null;function si(t){if(Nt.useDeprecatedSynchronousErrorHandling){let e=!Tn;if(e&&(Tn={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=Tn;if(Tn=null,i)throw n}}else t()}function au(t){Nt.useDeprecatedSynchronousErrorHandling&&Tn&&(Tn.errorThrown=!0,Tn.error=t)}var Pn=class extends Be{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,cr(e)&&e.add(this)):this.destination=Pb}static create(e,i,n){return new Kt(e,i,n)}next(e){this.isStopped?Ta(su(e),this):this._next(e)}error(e){this.isStopped?Ta(ru(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ta(ou,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ob=Function.prototype.bind;function Oa(t,e){return Ob.call(t,e)}var Pa=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){ur(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){ur(n)}else ur(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){ur(i)}}},Kt=class extends Pn{constructor(e,i,n){super();let o;if(W(e)||!e)o={next:e??void 0,error:i??void 0,complete:n??void 0};else{let r;this&&Nt.useDeprecatedNextContext?(r=Object.create(e),r.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Oa(e.next,r),error:e.error&&Oa(e.error,r),complete:e.complete&&Oa(e.complete,r)}):o=e}this.destination=new Pa(o)}};function ur(t){Nt.useDeprecatedSynchronousErrorHandling?au(t):dr(t)}function Tb(t){throw t}function Ta(t,e){let{onStoppedNotification:i}=Nt;i&&ri.setTimeout(()=>i(t,e))}var Pb={closed:!0,next:io,error:Tb,complete:io};var ai=typeof Symbol=="function"&&Symbol.observable||"@@observable";function jt(t){return t}function lu(t){return t.length===0?jt:t.length===1?t[0]:function(i){return t.reduce((n,o)=>o(n),i)}}var ue=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,o){let r=Fb(i)?i:new Kt(i,n,o);return si(()=>{let{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=cu(n),new n((o,r)=>{let s=new Kt({next:a=>{try{i(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[ai](){return this}pipe(...i){return lu(i)(this)}toPromise(i){return i=cu(i),new i((n,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>n(r))})}}return t.create=e=>new t(e),t})();function cu(t){var e;return(e=t??Nt.Promise)!==null&&e!==void 0?e:Promise}function Ab(t){return t&&W(t.next)&&W(t.error)&&W(t.complete)}function Fb(t){return t&&t instanceof Pn||Ab(t)&&cr(t)}function Aa(t){return W(t?.lift)}function we(t){return e=>{if(Aa(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function he(t,e,i,n,o){return new Fa(t,e,i,n,o)}var Fa=class extends Pn{constructor(e,i,n,o,r,s){super(e),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function du(){return we((t,e)=>{let i=null;t._refCount++;let n=he(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){i=null;return}let o=t._connection,r=i;i=null,o&&(!r||o===r)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}var oo=class extends ue{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,Aa(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Be;let i=this.getSubject();e.add(this.source.subscribe(he(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Be.EMPTY)}return e}refCount(){return du()(this)}};var li={schedule(t){let e=requestAnimationFrame,i=cancelAnimationFrame,{delegate:n}=li;n&&(e=n.requestAnimationFrame,i=n.cancelAnimationFrame);let o=e(r=>{i=void 0,t(r)});return new Be(()=>i?.(o))},requestAnimationFrame(...t){let{delegate:e}=li;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=li;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var uu=ar(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ye=(()=>{class t extends ue{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new mr(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new uu}next(i){si(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){si(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){si(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:o,observers:r}=this;return n||o?ka:(this.currentObservers=null,r.push(i),new Be(()=>{this.currentObservers=null,On(r,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:o,isStopped:r}=this;n?i.error(o):r&&i.complete()}asObservable(){let i=new ue;return i.source=this,i}}return t.create=(e,i)=>new mr(e,i),t})(),mr=class extends ye{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:ka}};var We=class extends ye{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var ro={now(){return(ro.delegate||Date).now()},delegate:void 0};var An=class extends ye{constructor(e=1/0,i=1/0,n=ro){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;i||(n.push(e),!o&&n.push(r.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!e.closed;s+=n?1:2)e.next(r[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:o}=this,r=(o?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!o){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}};var pr=class extends Be{constructor(e,i){super()}schedule(e,i=0){return this}};var so={setInterval(t,e,...i){let{delegate:n}=so;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=so;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var sn=class extends pr{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(r,this.id,i),this}requestAsyncId(e,i,n=0){return so.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&so.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,o;try{this.work(e)}catch(r){n=!0,o=r||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,On(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}};var Nb=1,Na,ja={};function mu(t){return t in ja?(delete ja[t],!0):!1}var pu={setImmediate(t){let e=Nb++;return ja[e]=!0,Na||(Na=Promise.resolve()),Na.then(()=>mu(e)&&t()),e},clearImmediate(t){mu(t)}};var{setImmediate:jb,clearImmediate:Rb}=pu,ao={setImmediate(...t){let{delegate:e}=ao;return(e?.setImmediate||jb)(...t)},clearImmediate(t){let{delegate:e}=ao;return(e?.clearImmediate||Rb)(t)},delegate:void 0};var fr=class extends sn{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return n!==null&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=ao.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,i,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);let{actions:r}=e;i!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==i&&(ao.clearImmediate(i),e._scheduled===i&&(e._scheduled=void 0))}};var ci=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};ci.now=ro.now;var an=class extends ci{constructor(e,i=ci.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}};var gr=class extends an{flush(e){this._active=!0;let i=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw o}}};var Ra=new gr(fr);var lo=new an(sn),fu=lo;var hr=class extends sn{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return n!==null&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=li.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,i,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);let{actions:r}=e;i!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==i&&(li.cancelAnimationFrame(i),e._scheduled=void 0)}};var br=class extends an{flush(e){this._active=!0;let i=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw o}}};var La=new br(hr);var _r=new ue(t=>t.complete());function vr(t){return t&&W(t.schedule)}function Va(t){return t[t.length-1]}function yr(t){return W(Va(t))?t.pop():void 0}function Ht(t){return vr(Va(t))?t.pop():void 0}function gu(t,e){return typeof Va(t)=="number"?t.pop():e}function bu(t,e,i,n){function o(r){return r instanceof i?r:new i(function(s){s(r)})}return new(i||(i=Promise))(function(r,s){function a(u){try{c(n.next(u))}catch(g){s(g)}}function l(u){try{c(n.throw(u))}catch(g){s(g)}}function c(u){u.done?r(u.value):o(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function hu(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fn(t){return this instanceof Fn?(this.v=t,this):new Fn(t)}function _u(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),o,r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(v){n[v]&&(o[v]=function(C){return new Promise(function(T,A){r.push([v,C,T,A])>1||a(v,C)})})}function a(v,C){try{l(n[v](C))}catch(T){g(r[0][3],T)}}function l(v){v.value instanceof Fn?Promise.resolve(v.value.v).then(c,u):g(r[0][2],v)}function c(v){a("next",v)}function u(v){a("throw",v)}function g(v,C){v(C),r.shift(),r.length&&a(r[0][0],r[0][1])}}function vu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof hu=="function"?hu(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(r){i[r]=t[r]&&function(s){return new Promise(function(a,l){s=t[r](s),o(a,l,s.done,s.value)})}}function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}}var di=t=>t&&typeof t.length=="number"&&typeof t!="function";function Cr(t){return W(t?.then)}function wr(t){return W(t[ai])}function xr(t){return Symbol.asyncIterator&&W(t?.[Symbol.asyncIterator])}function Dr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Lb(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mr=Lb();function Ir(t){return W(t?.[Mr])}function Er(t){return _u(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:o}=yield Fn(i.read());if(o)return yield Fn(void 0);yield yield Fn(n)}}finally{i.releaseLock()}})}function kr(t){return W(t?.getReader)}function Se(t){if(t instanceof ue)return t;if(t!=null){if(wr(t))return Vb(t);if(di(t))return Bb(t);if(Cr(t))return zb(t);if(xr(t))return yu(t);if(Ir(t))return Hb(t);if(kr(t))return $b(t)}throw Dr(t)}function Vb(t){return new ue(e=>{let i=t[ai]();if(W(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bb(t){return new ue(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function zb(t){return new ue(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,dr)})}function Hb(t){return new ue(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function yu(t){return new ue(e=>{Ub(t,e).catch(i=>e.error(i))})}function $b(t){return yu(Er(t))}function Ub(t,e){var i,n,o,r;return bu(this,void 0,void 0,function*(){try{for(i=vu(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&(yield r.call(i))}finally{if(o)throw o.error}}e.complete()})}function bt(t,e,i,n=0,o=!1){let r=e.schedule(function(){i(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(r),!o)return r}function Sr(t,e=0){return we((i,n)=>{i.subscribe(he(n,o=>bt(n,t,()=>n.next(o),e),()=>bt(n,t,()=>n.complete(),e),o=>bt(n,t,()=>n.error(o),e)))})}function Or(t,e=0){return we((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}function Cu(t,e){return Se(t).pipe(Or(e),Sr(e))}function wu(t,e){return Se(t).pipe(Or(e),Sr(e))}function xu(t,e){return new ue(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}function Du(t,e){return new ue(i=>{let n;return bt(i,e,()=>{n=t[Mr](),bt(i,e,()=>{let o,r;try{({value:o,done:r}=n.next())}catch(s){i.error(s);return}r?i.complete():i.next(o)},0,!0)}),()=>W(n?.return)&&n.return()})}function Tr(t,e){if(!t)throw new Error("Iterable cannot be null");return new ue(i=>{bt(i,e,()=>{let n=t[Symbol.asyncIterator]();bt(i,e,()=>{n.next().then(o=>{o.done?i.complete():i.next(o.value)})},0,!0)})})}function Mu(t,e){return Tr(Er(t),e)}function Iu(t,e){if(t!=null){if(wr(t))return Cu(t,e);if(di(t))return xu(t,e);if(Cr(t))return wu(t,e);if(xr(t))return Tr(t,e);if(Ir(t))return Du(t,e);if(kr(t))return Mu(t,e)}throw Dr(t)}function Qe(t,e){return e?Iu(t,e):Se(t)}function lt(...t){let e=Ht(t);return Qe(t,e)}function Mt(t){return!!t&&(t instanceof ue||W(t.lift)&&W(t.subscribe))}function Eu(t){return t instanceof Date&&!isNaN(t)}function ze(t,e){return we((i,n)=>{let o=0;i.subscribe(he(n,r=>{n.next(t.call(e,r,o++))}))})}var{isArray:Wb}=Array;function Gb(t,e){return Wb(e)?t(...e):t(e)}function ui(t){return ze(e=>Gb(t,e))}var{isArray:qb}=Array,{getPrototypeOf:Zb,prototype:Yb,keys:Qb}=Object;function Pr(t){if(t.length===1){let e=t[0];if(qb(e))return{args:e,keys:null};if(Kb(e)){let i=Qb(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function Kb(t){return t&&typeof t=="object"&&Zb(t)===Yb}function Ar(t,e){return t.reduce((i,n,o)=>(i[n]=e[o],i),{})}function Ba(...t){let e=Ht(t),i=yr(t),{args:n,keys:o}=Pr(t);if(n.length===0)return Qe([],e);let r=new ue(Xb(n,e,o?s=>Ar(o,s):jt));return i?r.pipe(ui(i)):r}function Xb(t,e,i=jt){return n=>{ku(e,()=>{let{length:o}=t,r=new Array(o),s=o,a=o;for(let l=0;l<o;l++)ku(e,()=>{let c=Qe(t[l],e),u=!1;c.subscribe(he(n,g=>{r[l]=g,u||(u=!0,a--),a||n.next(i(r.slice()))},()=>{--s||n.complete()}))},n)},n)}}function ku(t,e,i){t?bt(i,t,e):e()}function Su(t,e,i,n,o,r,s,a){let l=[],c=0,u=0,g=!1,v=()=>{g&&!l.length&&!c&&e.complete()},C=A=>c<n?T(A):l.push(A),T=A=>{r&&e.next(A),c++;let Y=!1;Se(i(A,u++)).subscribe(he(e,$=>{o?.($),r?C($):e.next($)},()=>{Y=!0},void 0,()=>{if(Y)try{for(c--;l.length&&c<n;){let $=l.shift();s?bt(e,s,()=>T($)):T($)}v()}catch($){e.error($)}}))};return t.subscribe(he(e,C,()=>{g=!0,v()})),()=>{a?.()}}function ln(t,e,i=1/0){return W(e)?ln((n,o)=>ze((r,s)=>e(n,r,o,s))(Se(t(n,o))),i):(typeof e=="number"&&(i=e),we((n,o)=>Su(n,o,t,i)))}function Fr(t=1/0){return ln(jt,t)}function Ou(){return Fr(1)}function Xt(...t){return Ou()(Qe(t,Ht(t)))}function Nr(t){return new ue(e=>{Se(t()).subscribe(e)})}function co(...t){let e=yr(t),{args:i,keys:n}=Pr(t),o=new ue(r=>{let{length:s}=i;if(!s){r.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let g=!1;Se(i[u]).subscribe(he(r,v=>{g||(g=!0,c--),a[u]=v},()=>l--,void 0,()=>{(!l||!g)&&(c||r.next(n?Ar(n,a):a),r.complete())}))}});return e?o.pipe(ui(e)):o}var Jb=["addListener","removeListener"],e_=["addEventListener","removeEventListener"],t_=["on","off"];function cn(t,e,i,n){if(W(i)&&(n=i,i=void 0),n)return cn(t,e,i).pipe(ui(n));let[o,r]=o_(t)?e_.map(s=>a=>t[s](e,a,i)):n_(t)?Jb.map(Tu(t,e)):i_(t)?t_.map(Tu(t,e)):[];if(!o&&di(t))return ln(s=>cn(s,e,i))(Se(t));if(!o)throw new TypeError("Invalid event target");return new ue(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function Tu(t,e){return i=>n=>t[i](e,n)}function n_(t){return W(t.addListener)&&W(t.removeListener)}function i_(t){return W(t.on)&&W(t.off)}function o_(t){return W(t.addEventListener)&&W(t.removeEventListener)}function Pu(t=0,e,i=fu){let n=-1;return e!=null&&(vr(e)?i=e:n=e),new ue(o=>{let r=Eu(t)?+t-i.now():t;r<0&&(r=0);let s=0;return i.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},r)})}function Jt(...t){let e=Ht(t),i=gu(t,1/0),n=t;return n.length?n.length===1?Se(n[0]):Fr(i)(Qe(n,e)):_r}function Nn(t,e){return we((i,n)=>{let o=0;i.subscribe(he(n,r=>t.call(e,r,o++)&&n.next(r)))})}function Au(t){return we((e,i)=>{let n=!1,o=null,r=null,s=!1,a=()=>{if(r?.unsubscribe(),r=null,n){n=!1;let c=o;o=null,i.next(c)}s&&i.complete()},l=()=>{r=null,s&&i.complete()};e.subscribe(he(i,c=>{n=!0,o=c,r||Se(t(c)).subscribe(r=he(i,a,l))},()=>{s=!0,(!n||!r||r.closed)&&i.complete()}))})}function za(t,e=lo){return Au(()=>Pu(t,e))}function Ha(t,e){return W(e)?ln(t,e,1):ln(t,1)}function mi(t,e=lo){return we((i,n)=>{let o=null,r=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=r;r=null,n.next(c)}};function l(){let c=s+t,u=e.now();if(u<c){o=this.schedule(void 0,c-u),n.add(o);return}a()}i.subscribe(he(n,c=>{r=c,s=e.now(),o||(o=e.schedule(l,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{r=o=null}))})}function It(t){return t<=0?()=>_r:we((e,i)=>{let n=0;e.subscribe(he(i,o=>{++n<=t&&(i.next(o),t<=n&&i.complete())}))})}function $a(t,e=jt){return t=t??r_,we((i,n)=>{let o,r=!0;i.subscribe(he(n,s=>{let a=e(s);(r||!t(o,a))&&(r=!1,o=a,n.next(s))}))})}function r_(t,e){return t===e}function Fu(t={}){let{connector:e=()=>new ye,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,u=!1,g=!1,v=()=>{a?.unsubscribe(),a=void 0},C=()=>{v(),s=l=void 0,u=g=!1},T=()=>{let A=s;C(),A?.unsubscribe()};return we((A,Y)=>{c++,!g&&!u&&v();let $=l=l??e();Y.add(()=>{c--,c===0&&!g&&!u&&(a=Ua(T,o))}),$.subscribe(Y),!s&&c>0&&(s=new Kt({next:De=>$.next(De),error:De=>{g=!0,v(),a=Ua(C,i,De),$.error(De)},complete:()=>{u=!0,v(),a=Ua(C,n),$.complete()}}),Se(A).subscribe(s))})(r)}}function Ua(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new Kt({next:()=>{n.unsubscribe(),t()}});return Se(e(...i)).subscribe(n)}function jr(t,e,i){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:i}=t:n=t??1/0,Fu({connector:()=>new An(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function uo(t){return Nn((e,i)=>t<=i)}function mo(...t){let e=Ht(t);return we((i,n)=>{(e?Xt(t,i,e):Xt(t,i)).subscribe(n)})}function pi(t,e){return we((i,n)=>{let o=null,r=0,s=!1,a=()=>s&&!o&&n.complete();i.subscribe(he(n,l=>{o?.unsubscribe();let c=0,u=r++;Se(t(l,u)).subscribe(o=he(n,g=>n.next(e?e(l,g,u,c++):g),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ct(t){return we((e,i)=>{Se(t).subscribe(he(i,()=>i.complete(),io)),!i.closed&&e.subscribe(i)})}function Rr(t,e,i){let n=W(t)||e||i?{next:t,error:e,complete:i}:t;return n?we((o,r)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(he(r,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),r.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),r.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),r.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):jt}var hm="https://g.co/ng/security#xss",pe=class extends Error{constructor(e,i){super(rc(e,i)),this.code=e}};function rc(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function So(t){return{toString:t}.toString()}var Lr="__parameters__";function s_(t){return function(...i){if(t){let n=t(...i);for(let o in n)this[o]=n[o]}}}function bm(t,e,i){return So(()=>{let n=s_(e);function o(...r){if(this instanceof o)return n.apply(this,r),this;let s=new o(...r);return a.annotation=s,a;function a(l,c,u){let g=l.hasOwnProperty(Lr)?l[Lr]:Object.defineProperty(l,Lr,{value:[]})[Lr];for(;g.length<=u;)g.push(null);return(g[u]=g[u]||[]).push(s),l}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var po=globalThis;function Fe(t){for(let e in t)if(t[e]===Fe)return e;throw Error("Could not find renamed property on target object.")}function a_(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function yt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(yt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
- `);return i===-1?e:e.substring(0,i)}function al(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var l_=Fe({__forward_ref__:Fe});function Gn(t){return t.__forward_ref__=Gn,t.toString=function(){return yt(this())},t}function dt(t){return _m(t)?t():t}function _m(t){return typeof t=="function"&&t.hasOwnProperty(l_)&&t.__forward_ref__===Gn}function G(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Oe(t){return{providers:t.providers||[],imports:t.imports||[]}}function sc(t){return Nu(t,vm)||Nu(t,ym)}function Nu(t,e){return t.hasOwnProperty(e)?t[e]:null}function c_(t){let e=t&&(t[vm]||t[ym]);return e||null}function ju(t){return t&&(t.hasOwnProperty(Ru)||t.hasOwnProperty(d_))?t[Ru]:null}var vm=Fe({\u0275prov:Fe}),Ru=Fe({\u0275inj:Fe}),ym=Fe({ngInjectableDef:Fe}),d_=Fe({ngInjectorDef:Fe}),U=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=G({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Cm(t){return t&&!!t.\u0275providers}var u_=Fe({\u0275cmp:Fe}),m_=Fe({\u0275dir:Fe}),p_=Fe({\u0275pipe:Fe});var qr=Fe({\u0275fac:Fe}),fo=Fe({__NG_ELEMENT_ID__:Fe}),Lu=Fe({__NG_ENV_ID__:Fe});function yi(t){return typeof t=="string"?t:t==null?"":String(t)}function f_(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():yi(t)}function g_(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new pe(-200,t)}function ac(t,e){throw new pe(-201,!1)}var me=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(me||{}),ll;function wm(){return ll}function Et(t){let e=ll;return ll=t,e}function xm(t,e,i){let n=sc(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&me.Optional)return null;if(e!==void 0)return e;ac(t,"Injector")}var h_={},go=h_,cl="__NG_DI_FLAG__",Zr="ngTempTokenPath",b_="ngTokenPath",__=/\n/gm,v_="\u0275",Vu="__source",_i;function y_(){return _i}function fi(t){let e=_i;return _i=t,e}function C_(t,e=me.Default){if(_i===void 0)throw new pe(-203,!1);return _i===null?xm(t,void 0,e):_i.get(t,e&me.Optional?null:void 0,e)}function j(t,e=me.Default){return(wm()||C_)(dt(t),e)}function be(t,e=me.Default){return j(t,hs(e))}function hs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function dl(t){let e=[];for(let i=0;i<t.length;i++){let n=dt(t[i]);if(Array.isArray(n)){if(n.length===0)throw new pe(900,!1);let o,r=me.Default;for(let s=0;s<n.length;s++){let a=n[s],l=w_(a);typeof l=="number"?l===-1?o=a.token:r|=l:o=a}e.push(j(o,r))}else e.push(j(n))}return e}function Dm(t,e){return t[cl]=e,t.prototype[cl]=e,t}function w_(t){return t[cl]}function x_(t,e,i,n){let o=t[Zr];throw e[Vu]&&o.unshift(e[Vu]),t.message=D_(`
5
- `+t.message,o,i,n),t[b_]=o,t[Zr]=null,t}function D_(t,e,i,n=null){t=t&&t.charAt(0)===`
6
- `&&t.charAt(1)==v_?t.slice(2):t;let o=yt(e);if(Array.isArray(e))o=e.map(yt).join(" -> ");else if(typeof e=="object"){let r=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):yt(a)))}o=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${o}]: ${t.replace(__,`
7
- `)}`}var lc=Dm(bm("Optional"),8);var Mm=Dm(bm("SkipSelf"),4);function Ln(t,e){let i=t.hasOwnProperty(qr);return i?t[qr]:null}function M_(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],r=e[n];if(i&&(o=i(o),r=i(r)),r!==o)return!1}return!0}function I_(t){return t.flat(Number.POSITIVE_INFINITY)}function cc(t,e){t.forEach(i=>Array.isArray(i)?cc(i,e):e(i))}function Im(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Yr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function E_(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function k_(t,e,i,n){let o=t.length;if(o==e)t.push(i,n);else if(o===1)t.push(n,t[0]),t[0]=i;else{for(o--,t.push(t[o-1],t[o]);o>e;){let r=o-2;t[o]=t[r],o--}t[e]=i,t[e+1]=n}}function dc(t,e,i){let n=Oo(t,e);return n>=0?t[n|1]=i:(n=~n,k_(t,n,e,i)),n}function Wa(t,e){let i=Oo(t,e);if(i>=0)return t[i|1]}function Oo(t,e){return S_(t,e,1)}function S_(t,e,i){let n=0,o=t.length>>i;for(;o!==n;){let r=n+(o-n>>1),s=t[r<<i];if(e===s)return r<<i;s>e?o=r:n=r+1}return~(o<<i)}var Ci={},_t=[],ho=new U(""),Em=new U("",-1),km=new U(""),Qr=class{get(e,i=go){if(i===go){let n=new Error(`NullInjectorError: No provider for ${yt(e)}!`);throw n.name="NullInjectorError",n}return i}},Sm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Sm||{}),Wt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Wt||{}),b=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(b||{});function O_(t,e,i){let n=t.length;for(;;){let o=t.indexOf(e,i);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=e.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}i=o+1}}function ul(t,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let r=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,r)}else{let r=o,s=i[++n];T_(r)?t.setProperty(e,r,s):t.setAttribute(e,r,s),n++}}return n}function Om(t){return t===3||t===4||t===6}function T_(t){return t.charCodeAt(0)===64}function bo(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?Bu(t,i,o,null,e[++n]):Bu(t,i,o,null,null))}}return t}function Bu(t,e,i,n,o){let r=0,s=t.length;if(e===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===i){if(n===null){o!==null&&(t[r+1]=o);return}else if(n===t[r+1]){t[r+2]=o;return}}r++,n!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,e),r=s+1),t.splice(r++,0,i),n!==null&&t.splice(r++,0,n),o!==null&&t.splice(r++,0,o)}var Tm="ng-template";function P_(t,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&O_(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(uc(t))return!1;if(o=e.indexOf(1,o),o>-1){let r;for(;++o<e.length&&typeof(r=e[o])=="string";)if(r.toLowerCase()===i)return!0}return!1}function uc(t){return t.type===4&&t.value!==Tm}function A_(t,e,i){let n=t.type===4&&!i?Tm:t.value;return e===n}function F_(t,e,i){let n=4,o=t.attrs,r=o!==null?R_(o):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Rt(n)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!A_(t,l,i)||l===""&&e.length===1){if(Rt(n))return!1;s=!0}}else if(n&8){if(o===null||!P_(t,o,l,i)){if(Rt(n))return!1;s=!0}}else{let c=e[++a],u=N_(l,o,uc(t),i);if(u===-1){if(Rt(n))return!1;s=!0;continue}if(c!==""){let g;if(u>r?g="":g=o[u+1].toLowerCase(),n&2&&c!==g){if(Rt(n))return!1;s=!0}}}}return Rt(n)||s}function Rt(t){return(t&1)===0}function N_(t,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let r=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return L_(e,t)}function Pm(t,e,i=!1){for(let n=0;n<e.length;n++)if(F_(t,e[n],i))return!0;return!1}function j_(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function R_(t){for(let e=0;e<t.length;e++){let i=t[e];if(Om(i))return e}return t.length}function L_(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function V_(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function zu(t,e){return t?":not("+e.trim()+")":e}function B_(t){let e=t[0],i=1,n=2,o="",r=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Rt(s)&&(e+=zu(r,o),o=""),n=s,r=r||!Rt(n);i++}return o!==""&&(e+=zu(r,o)),e}function z_(t){return t.map(B_).join(",")}function H_(t){let e=[],i=[],n=1,o=2;for(;n<t.length;){let r=t[n];if(typeof r=="string")o===2?r!==""&&e.push(r,t[++n]):o===8&&i.push(r);else{if(!Rt(o))break;o=r}n++}return{attrs:e,classes:i}}function k(t){return So(()=>{let e=Nm(t),i=ht(ce({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Sm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wt.Emulated,styles:t.styles||_t,_:null,schemas:t.schemas||null,tView:null,id:""});jm(i);let n=t.dependencies;return i.directiveDefs=$u(n,!1),i.pipeDefs=$u(n,!0),i.id=G_(i),i})}function $_(t){return wi(t)||Am(t)}function U_(t){return t!==null}function Te(t){return So(()=>({type:t.type,bootstrap:t.bootstrap||_t,declarations:t.declarations||_t,imports:t.imports||_t,exports:t.exports||_t,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Hu(t,e){if(t==null)return Ci;let i={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a=b.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),e?(i[r]=a!==b.None?[n,a]:n,e[r]=s):i[r]=n}return i}function q(t){return So(()=>{let e=Nm(t);return jm(e),e})}function To(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function wi(t){return t[u_]||null}function Am(t){return t[m_]||null}function Fm(t){return t[p_]||null}function W_(t){let e=wi(t)||Am(t)||Fm(t);return e!==null?e.standalone:!1}function Nm(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Ci,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||_t,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Hu(t.inputs,e),outputs:Hu(t.outputs),debugInfo:null}}function jm(t){t.features?.forEach(e=>e(t))}function $u(t,e){if(!t)return null;let i=e?Fm:$_;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(U_)}function G_(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of i)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Rm(t){return{\u0275providers:t}}function mc(...t){return{\u0275providers:Lm(!0,t),\u0275fromNgModule:!0}}function Lm(t,...e){let i=[],n=new Set,o,r=s=>{i.push(s)};return cc(e,s=>{let a=s;ml(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Vm(o,r),i}function Vm(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:o}=t[i];pc(o,r=>{e(r,n)})}}function ml(t,e,i,n){if(t=dt(t),!t)return!1;let o=null,r=ju(t),s=!r&&wi(t);if(!r&&!s){let l=t.ngModule;if(r=ju(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)ml(c,e,i,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let c;try{cc(r.imports,u=>{ml(u,e,i,n)&&(c||=[],c.push(u))})}finally{}c!==void 0&&Vm(c,e)}if(!a){let c=Ln(o)||(()=>new o);e({provide:o,useFactory:c,deps:_t},o),e({provide:km,useValue:o,multi:!0},o),e({provide:ho,useValue:()=>j(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;pc(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function pc(t,e){for(let i of t)Cm(i)&&(i=i.\u0275providers),Array.isArray(i)?pc(i,e):e(i)}var q_=Fe({provide:String,useValue:Fe});function Bm(t){return t!==null&&typeof t=="object"&&q_ in t}function Z_(t){return!!(t&&t.useExisting)}function Y_(t){return!!(t&&t.useFactory)}function xi(t){return typeof t=="function"}function Q_(t){return!!t.useClass}var bs=new U(""),zr={},K_={},Ga;function fc(){return Ga===void 0&&(Ga=new Qr),Ga}var un=class{},Kr=class extends un{get destroyed(){return this._destroyed}constructor(e,i,n,o){super(),this.parent=i,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fl(e,s=>this.processProvider(s)),this.records.set(Em,gi(void 0,this)),o.has("environment")&&this.records.set(un,gi(void 0,this));let r=this.records.get(bs);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(km,_t,me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=de(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),de(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=fi(this),n=Et(void 0),o;try{return e()}finally{fi(i),Et(n)}}get(e,i=go,n=me.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Lu))return e[Lu](this);n=hs(n);let o,r=fi(this),s=Et(void 0);try{if(!(n&me.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=nv(e)&&sc(e);c&&this.injectableDefInScope(c)?l=gi(pl(e),zr):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&me.Self?fc():this.parent;return i=n&me.Optional&&i===go?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(yt(e)),r)throw a;return x_(a,e,"R3InjectorError",this.source)}else throw a}finally{Et(s),fi(r)}}resolveInjectorInitializers(){let e=de(null),i=fi(this),n=Et(void 0),o;try{let r=this.get(ho,_t,me.Self);for(let s of r)s()}finally{fi(i),Et(n),de(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(yt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processProvider(e){e=dt(e);let i=xi(e)?e:dt(e&&e.provide),n=J_(e);if(!xi(e)&&e.multi===!0){let o=this.records.get(i);o||(o=gi(void 0,zr,!0),o.factory=()=>dl(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=de(null);try{return i.value===zr&&(i.value=K_,i.value=i.factory()),typeof i.value=="object"&&i.value&&tv(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{de(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=dt(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function pl(t){let e=sc(t),i=e!==null?e.factory:Ln(t);if(i!==null)return i;if(t instanceof U)throw new pe(204,!1);if(t instanceof Function)return X_(t);throw new pe(204,!1)}function X_(t){if(t.length>0)throw new pe(204,!1);let i=c_(t);return i!==null?()=>i.factory(t):()=>new t}function J_(t){if(Bm(t))return gi(void 0,t.useValue);{let e=zm(t);return gi(e,zr)}}function zm(t,e,i){let n;if(xi(t)){let o=dt(t);return Ln(o)||pl(o)}else if(Bm(t))n=()=>dt(t.useValue);else if(Y_(t))n=()=>t.useFactory(...dl(t.deps||[]));else if(Z_(t))n=()=>j(dt(t.useExisting));else{let o=dt(t&&(t.useClass||t.provide));if(ev(t))n=()=>new o(...dl(t.deps));else return Ln(o)||pl(o)}return n}function gi(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function ev(t){return!!t.deps}function tv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function nv(t){return typeof t=="function"||typeof t=="object"&&t instanceof U}function fl(t,e){for(let i of t)Array.isArray(i)?fl(i,e):i&&Cm(i)?fl(i.\u0275providers,e):e(i)}function iv(){return wm()!==void 0||y_()!=null}function ov(t){return typeof t=="function"}var tn=0,J=1,Z=2,Je=3,Vt=4,Ct=5,Di=6,_o=7,tt=8,Mi=9,Bt=10,je=11,vo=12,Uu=13,Oi=14,kt=15,Po=16,hi=17,en=18,_s=19,Hm=20,dn=21,qa=22,Vn=23,it=25,$m=1;var Bn=7,Xr=8,Ii=9,nt=10,gc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(gc||{});function jn(t){return Array.isArray(t)&&typeof t[$m]=="object"}function nn(t){return Array.isArray(t)&&t[$m]===!0}function hc(t){return(t.flags&4)!==0}function vs(t){return t.componentOffset>-1}function ys(t){return(t.flags&1)===1}function mn(t){return!!t.template}function rv(t){return(t[Z]&512)!==0}var yo=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function Um(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function $e(){return Wm}function Wm(t){return t.type.prototype.ngOnChanges&&(t.setInput=av),sv}$e.ngInherit=!0;function sv(){let t=qm(this),e=t?.current;if(e){let i=t.previous;if(i===Ci)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function av(t,e,i,n,o){let r=this.declaredInputs[n],s=qm(t)||lv(t,{previous:Ci,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new yo(c&&c.currentValue,i,l===Ci),Um(t,e,o,i)}var Gm="__ngSimpleChanges__";function qm(t){return t[Gm]||null}function lv(t,e){return t[Gm]=e}var Wu=null;var $t=function(t,e,i){Wu?.(t,e,i)},Zm="svg",cv="math",dv=!1;function uv(){return dv}function Gt(t){for(;Array.isArray(t);)t=t[tn];return t}function Ym(t,e){return Gt(e[t])}function Ot(t,e){return Gt(e[t.index])}function bc(t,e){return t.data[e]}function Qm(t,e){return t[e]}function fn(t,e){let i=e[t];return jn(i)?i:i[tn]}function mv(t){return(t[Z]&4)===4}function _c(t){return(t[Z]&128)===128}function pv(t){return nn(t[Je])}function Ei(t,e){return e==null?null:t[e]}function Km(t){t[hi]=0}function fv(t){t[Z]&1024||(t[Z]|=1024,_c(t)&&Co(t))}function gv(t,e){for(;t>0;)e=e[Oi],t--;return e}function vc(t){return!!(t[Z]&9216||t[Vn]?.dirty)}function gl(t){t[Bt].changeDetectionScheduler?.notify(1),vc(t)?Co(t):t[Z]&64&&(uv()?(t[Z]|=1024,Co(t)):t[Bt].changeDetectionScheduler?.notify())}function Co(t){t[Bt].changeDetectionScheduler?.notify();let e=wo(t);for(;e!==null&&!(e[Z]&8192||(e[Z]|=8192,!_c(e)));)e=wo(e)}function Xm(t,e){if((t[Z]&256)===256)throw new pe(911,!1);t[dn]===null&&(t[dn]=[]),t[dn].push(e)}function hv(t,e){if(t[dn]===null)return;let i=t[dn].indexOf(e);i!==-1&&t[dn].splice(i,1)}function wo(t){let e=t[Je];return nn(e)?e[Je]:e}var re={lFrame:rp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function bv(){return re.lFrame.elementDepthCount}function _v(){re.lFrame.elementDepthCount++}function vv(){re.lFrame.elementDepthCount--}function Jm(){return re.bindingsEnabled}function ep(){return re.skipHydrationRootTNode!==null}function yv(t){return re.skipHydrationRootTNode===t}function Cv(){re.skipHydrationRootTNode=null}function ee(){return re.lFrame.lView}function He(){return re.lFrame.tView}function M(t){return re.lFrame.contextLView=t,t[tt]}function I(t){return re.lFrame.contextLView=null,t}function ot(){let t=tp();for(;t!==null&&t.type===64;)t=t.parent;return t}function tp(){return re.lFrame.currentTNode}function wv(){let t=re.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function qn(t,e){let i=re.lFrame;i.currentTNode=t,i.isParent=e}function yc(){return re.lFrame.isParent}function Cc(){re.lFrame.isParent=!1}function xv(){return re.lFrame.contextLView}function Ao(){let t=re.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Dv(){return re.lFrame.bindingIndex}function Mv(t){return re.lFrame.bindingIndex=t}function Ti(){return re.lFrame.bindingIndex++}function wc(t){let e=re.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Iv(){return re.lFrame.inI18n}function Ev(t,e){let i=re.lFrame;i.bindingIndex=i.bindingRootIndex=t,hl(e)}function kv(){return re.lFrame.currentDirectiveIndex}function hl(t){re.lFrame.currentDirectiveIndex=t}function Sv(t){let e=re.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function np(){return re.lFrame.currentQueryIndex}function xc(t){re.lFrame.currentQueryIndex=t}function Ov(t){let e=t[J];return e.type===2?e.declTNode:e.type===1?t[Ct]:null}function ip(t,e,i){if(i&me.SkipSelf){let o=e,r=t;for(;o=o.parent,o===null&&!(i&me.Host);)if(o=Ov(r),o===null||(r=r[Oi],o.type&10))break;if(o===null)return!1;e=o,t=r}let n=re.lFrame=op();return n.currentTNode=e,n.lView=t,!0}function Dc(t){let e=op(),i=t[J];re.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function op(){let t=re.lFrame,e=t===null?null:t.child;return e===null?rp(t):e}function rp(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function sp(){let t=re.lFrame;return re.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ap=sp;function Mc(){let t=sp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Tv(t){return(re.lFrame.contextLView=gv(t,re.lFrame.contextLView))[tt]}function on(){return re.lFrame.selectedIndex}function zn(t){re.lFrame.selectedIndex=t}function Cs(){let t=re.lFrame;return bc(t.tView,t.selectedIndex)}function lp(){re.lFrame.currentNamespace=Zm}function Pv(){return re.lFrame.currentNamespace}var cp=!0;function ws(){return cp}function xs(t){cp=t}function Av(t,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=e.type.prototype;if(n){let s=Wm(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}o&&(i.preOrderHooks??=[]).push(0-t,o),r&&((i.preOrderHooks??=[]).push(t,r),(i.preOrderCheckHooks??=[]).push(t,r))}function Ds(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let r=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),u!=null&&(t.destroyHooks??=[]).push(i,u)}}function Hr(t,e,i){dp(t,e,3,i)}function $r(t,e,i,n){(t[Z]&3)===i&&dp(t,e,i,n)}function Za(t,e){let i=t[Z];(i&3)===e&&(i&=16383,i+=1,t[Z]=i)}function dp(t,e,i,n){let o=n!==void 0?t[hi]&65535:0,r=n??-1,s=e.length-1,a=0;for(let l=o;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[hi]+=65536),(a<r||r==-1)&&(Fv(t,i,e,l),t[hi]=(t[hi]&4294901760)+l+2),l++}function Gu(t,e){$t(4,t,e);let i=de(null);try{e.call(t)}finally{de(i),$t(5,t,e)}}function Fv(t,e,i,n){let o=i[n]<0,r=i[n+1],s=o?-i[n]:i[n],a=t[s];o?t[Z]>>14<t[hi]>>16&&(t[Z]&3)===e&&(t[Z]+=16384,Gu(a,r)):Gu(a,r)}var vi=-1,Hn=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function Nv(t){return t instanceof Hn}function jv(t){return(t.flags&8)!==0}function Rv(t){return(t.flags&16)!==0}function up(t){return t!==vi}function Jr(t){return t&32767}function Lv(t){return t>>16}function es(t,e){let i=Lv(t),n=e;for(;i>0;)n=n[Oi],i--;return n}var bl=!0;function ts(t){let e=bl;return bl=t,e}var Vv=256,mp=Vv-1,pp=5,Bv=0,Ut={};function zv(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(fo)&&(n=i[fo]),n==null&&(n=i[fo]=Bv++);let o=n&mp,r=1<<o;e.data[t+(o>>pp)]|=r}function ns(t,e){let i=fp(t,e);if(i!==-1)return i;let n=e[J];n.firstCreatePass&&(t.injectorIndex=e.length,Ya(n.data,t),Ya(e,null),Ya(n.blueprint,null));let o=Ic(t,e),r=t.injectorIndex;if(up(o)){let s=Jr(o),a=es(o,e),l=a[J].data;for(let c=0;c<8;c++)e[r+c]=a[s+c]|l[s+c]}return e[r+8]=o,r}function Ya(t,e){t.push(0,0,0,0,0,0,0,0,e)}function fp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ic(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=vp(o),n===null)return vi;if(i++,o=o[Oi],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return vi}function _l(t,e,i){zv(t,e,i)}function Hv(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,o=0;for(;o<n;){let r=i[o];if(Om(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(r===e)return i[o+1];o=o+2}}}return null}function gp(t,e,i){if(i&me.Optional||t!==void 0)return t;ac(e,"NodeInjector")}function hp(t,e,i,n){if(i&me.Optional&&n===void 0&&(n=null),!(i&(me.Self|me.Host))){let o=t[Mi],r=Et(void 0);try{return o?o.get(e,n,i&me.Optional):xm(e,n,i&me.Optional)}finally{Et(r)}}return gp(n,e,i)}function bp(t,e,i,n=me.Default,o){if(t!==null){if(e[Z]&2048&&!(n&me.Self)){let s=Gv(t,e,i,n,Ut);if(s!==Ut)return s}let r=_p(t,e,i,n,Ut);if(r!==Ut)return r}return hp(e,i,n,o)}function _p(t,e,i,n,o){let r=Uv(i);if(typeof r=="function"){if(!ip(e,t,n))return n&me.Host?gp(o,i,n):hp(e,i,n,o);try{let s;if(s=r(n),s==null&&!(n&me.Optional))ac(i);else return s}finally{ap()}}else if(typeof r=="number"){let s=null,a=fp(t,e),l=vi,c=n&me.Host?e[kt][Ct]:null;for((a===-1||n&me.SkipSelf)&&(l=a===-1?Ic(t,e):e[a+8],l===vi||!Zu(n,!1)?a=-1:(s=e[J],a=Jr(l),e=es(l,e)));a!==-1;){let u=e[J];if(qu(r,a,u.data)){let g=$v(a,e,i,s,n,c);if(g!==Ut)return g}l=e[a+8],l!==vi&&Zu(n,e[J].data[a+8]===c)&&qu(r,a,e)?(s=u,a=Jr(l),e=es(l,e)):a=-1}}return o}function $v(t,e,i,n,o,r){let s=e[J],a=s.data[t+8],l=n==null?vs(a)&&bl:n!=s&&(a.type&3)!==0,c=o&me.Host&&r===a,u=Ur(a,s,i,l,c);return u!==null?$n(e,s,u,a):Ut}function Ur(t,e,i,n,o){let r=t.providerIndexes,s=e.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,u=r>>20,g=n?a:a+u,v=o?a+u:c;for(let C=g;C<v;C++){let T=s[C];if(C<l&&i===T||C>=l&&T.type===i)return C}if(o){let C=s[l];if(C&&mn(C)&&C.type===i)return l}return null}function $n(t,e,i,n){let o=t[i],r=e.data;if(Nv(o)){let s=o;s.resolving&&g_(f_(r[i]));let a=ts(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Et(s.injectImpl):null,u=ip(t,n,me.Default);try{o=t[i]=s.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&Av(i,r[i],e)}finally{c!==null&&Et(c),ts(a),s.resolving=!1,ap()}}return o}function Uv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(fo)?t[fo]:void 0;return typeof e=="number"?e>=0?e&mp:Wv:e}function qu(t,e,i){let n=1<<t;return!!(i[e+(t>>pp)]&n)}function Zu(t,e){return!(t&me.Self)&&!(t&me.Host&&e)}var Rn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return bp(this._tNode,this._lView,e,hs(n),i)}};function Wv(){return new Rn(ot(),ee())}function rt(t){return So(()=>{let e=t.prototype.constructor,i=e[qr]||vl(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[qr]||vl(o);if(r&&r!==i)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function vl(t){return _m(t)?()=>{let e=vl(dt(t));return e&&e()}:Ln(t)}function Gv(t,e,i,n,o){let r=t,s=e;for(;r!==null&&s!==null&&s[Z]&2048&&!(s[Z]&512);){let a=_p(r,s,i,n|me.Self,Ut);if(a!==Ut)return a;let l=r.parent;if(!l){let c=s[Hm];if(c){let u=c.get(i,Ut,n);if(u!==Ut)return u}l=vp(s),s=s[Oi]}r=l}return o}function vp(t){let e=t[J],i=e.type;return i===2?e.declTNode:i===1?t[Ct]:null}function Pi(t){return Hv(ot(),t)}function Yu(t,e=null,i=null,n){let o=qv(t,e,i,n);return o.resolveInjectorInitializers(),o}function qv(t,e=null,i=null,n,o=new Set){let r=[i||_t,mc(t)];return n=n||(typeof t=="object"?void 0:yt(t)),new Kr(r,e||fc(),n||null,o)}var Ai=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Yu({name:""},o,n,"");{let r=n.name??"";return Yu({name:r},n.parent,n.providers,r)}}};e.THROW_IF_NOT_FOUND=go,e.NULL=new Qr,e.\u0275prov=G({token:e,providedIn:"any",factory:()=>j(Em)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Zv="ngOriginalError";function Qa(t){return t[Zv]}var qt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&Qa(e);for(;i&&Qa(i);)i=Qa(i);return i||null}},yp=new U("",{providedIn:"root",factory:()=>be(qt).handleError.bind(void 0)}),Cp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Yv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),yl=class extends Cp{constructor(e){super(),this._lView=e}onDestroy(e){return Xm(this._lView,e),()=>hv(this._lView,e)}};function Yv(){return new yl(ee())}function Qv(){return Fi(ot(),ee())}function Fi(t,e){return new se(Ot(t,e))}var se=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Qv;let t=e;return t})();function Kv(t){return t instanceof se?t.nativeElement:t}var Cl=class extends ye{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,iv()&&(this.destroyRef=be(Cp,{optional:!0})??void 0)}emit(e){let i=de(null);try{super.next(e)}finally{de(i)}}subscribe(e,i,n){let o=e,r=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Ka(r),o&&(o=Ka(o)),s&&(s=Ka(s)));let a=super.subscribe({next:o,error:r,complete:s});return e instanceof Be&&e.add(a),a}};function Ka(t){return e=>{setTimeout(t,void 0,e)}}var x=Cl;function Xv(){return this._results[Symbol.iterator]()}var is=class t{get changes(){return this._changes??=new x}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Xv)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=I_(e);(this._changesDetected=!M_(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function wp(t){return(t.flags&128)===128}var xp=new Map,Jv=0;function e0(){return Jv++}function t0(t){xp.set(t[_s],t)}function n0(t){xp.delete(t[_s])}var Qu="__ngContext__";function pn(t,e){jn(e)?(t[Qu]=e[_s],t0(e)):t[Qu]=e}function Dp(t){return Ip(t[vo])}function Mp(t){return Ip(t[Vt])}function Ip(t){for(;t!==null&&!nn(t);)t=t[Vt];return t}var wl;function Ep(t){wl=t}function i0(){if(wl!==void 0)return wl;if(typeof document<"u")return document;throw new pe(210,!1)}var Ms=new U("",{providedIn:"root",factory:()=>o0}),o0="ng",Ec=new U(""),gn=new U("",{providedIn:"platform",factory:()=>"unknown"});var Fo=new U(""),No=new U("",{providedIn:"root",factory:()=>i0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var r0="h",s0="b";var a0=()=>null;function kc(t,e,i=!1){return a0(t,e,i)}var kp=!1,l0=new U("",{providedIn:"root",factory:()=>kp});var os=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hm})`}};function jo(t){return t instanceof os?t.changingThisBreaksApplicationSecurity:t}function Sp(t,e){let i=c0(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${hm})`)}return i===e}function c0(t){return t instanceof os&&t.getTypeName()||null}var d0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Op(t){return t=String(t),t.match(d0)?t:"unsafe:"+t}var Sc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Sc||{});function Ro(t){let e=u0();return e?e.sanitize(Sc.URL,t)||"":Sp(t,"URL")?jo(t):Op(yi(t))}function u0(){let t=ee();return t&&t[Bt].sanitizer}var m0=/^>|^->|<!--|-->|--!>|<!-$/g,p0=/(<|>)/g,f0="\u200B$1\u200B";function g0(t){return t.replace(m0,e=>e.replace(p0,f0))}function hn(t){return t.ownerDocument}var Zt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Zt||{}),h0;function Oc(t,e){return h0(t,e)}function bi(t,e,i,n,o){if(n!=null){let r,s=!1;nn(n)?r=n:jn(n)&&(s=!0,n=n[tn]);let a=Gt(n);t===0&&i!==null?o==null?Np(e,i,a):rs(e,i,a,o||null,!0):t===1&&i!==null?rs(e,i,a,o||null,!0):t===2?P0(e,a,s):t===3&&e.destroyNode(a),r!=null&&F0(e,t,r,i,o)}}function b0(t,e){return t.createText(e)}function _0(t,e,i){t.setValue(e,i)}function v0(t,e){return t.createComment(g0(e))}function Tp(t,e,i){return t.createElement(e,i)}function y0(t,e){Pp(t,e),e[tn]=null,e[Ct]=null}function C0(t,e,i,n,o,r){n[tn]=o,n[Ct]=e,ks(t,n,i,1,o,r)}function Pp(t,e){e[Bt].changeDetectionScheduler?.notify(1),ks(t,e,e[je],2,null,null)}function w0(t){let e=t[vo];if(!e)return Xa(t[J],t);for(;e;){let i=null;if(jn(e))i=e[vo];else{let n=e[nt];n&&(i=n)}if(!i){for(;e&&!e[Vt]&&e!==t;)jn(e)&&Xa(e[J],e),e=e[Je];e===null&&(e=t),jn(e)&&Xa(e[J],e),i=e&&e[Vt]}e=i}}function x0(t,e,i,n){let o=nt+n,r=i.length;n>0&&(i[o-1][Vt]=e),n<r-nt?(e[Vt]=i[o],Im(i,nt+n,e)):(i.push(e),e[Vt]=null),e[Je]=i;let s=e[Po];s!==null&&i!==s&&D0(s,e);let a=e[en];a!==null&&a.insertView(t),gl(e),e[Z]|=128}function D0(t,e){let i=t[Ii],o=e[Je][Je][kt];e[kt]!==o&&(t[Z]|=gc.HasTransplantedViews),i===null?t[Ii]=[e]:i.push(e)}function Ap(t,e){let i=t[Ii],n=i.indexOf(e);i.splice(n,1)}function xo(t,e){if(t.length<=nt)return;let i=nt+e,n=t[i];if(n){let o=n[Po];o!==null&&o!==t&&Ap(o,n),e>0&&(t[i-1][Vt]=n[Vt]);let r=Yr(t,nt+e);y0(n[J],n);let s=r[en];s!==null&&s.detachView(r[J]),n[Je]=null,n[Vt]=null,n[Z]&=-129}return n}function Is(t,e){if(!(e[Z]&256)){let i=e[je];i.destroyNode&&ks(t,e,i,3,null,null),w0(e)}}function Xa(t,e){if(e[Z]&256)return;let i=de(null);try{e[Z]&=-129,e[Z]|=256,e[Vn]&&tu(e[Vn]),I0(t,e),M0(t,e),e[J].type===1&&e[je].destroy();let n=e[Po];if(n!==null&&nn(e[Je])){n!==e[Je]&&Ap(n,e);let o=e[en];o!==null&&o.detachView(t)}n0(e)}finally{de(i)}}function M0(t,e){let i=t.cleanup,n=e[_o];if(i!==null)for(let r=0;r<i.length-1;r+=2)if(typeof i[r]=="string"){let s=i[r+3];s>=0?n[s]():n[-s].unsubscribe(),r+=2}else{let s=n[i[r+1]];i[r].call(s)}n!==null&&(e[_o]=null);let o=e[dn];if(o!==null){e[dn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function I0(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof Hn)){let r=i[n+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];$t(4,a,l);try{l.call(a)}finally{$t(5,a,l)}}else{$t(4,o,r);try{r.call(o)}finally{$t(5,o,r)}}}}}function Fp(t,e,i){return E0(t,e.parent,i)}function E0(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[tn];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:r}=t.data[n.directiveStart+o];if(r===Wt.None||r===Wt.Emulated)return null}return Ot(n,i)}}function rs(t,e,i,n,o){t.insertBefore(e,i,n,o)}function Np(t,e,i){t.appendChild(e,i)}function Ku(t,e,i,n,o){n!==null?rs(t,e,i,n,o):Np(t,e,i)}function k0(t,e,i,n){t.removeChild(e,i,n)}function Tc(t,e){return t.parentNode(e)}function S0(t,e){return t.nextSibling(e)}function jp(t,e,i){return T0(t,e,i)}function O0(t,e,i){return t.type&40?Ot(t,i):null}var T0=O0,Xu;function Es(t,e,i,n){let o=Fp(t,n,e),r=e[je],s=n.parent||e[Ct],a=jp(s,n,e);if(o!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)Ku(r,o,i[l],a,!1);else Ku(r,o,i,a,!1);Xu!==void 0&&Xu(r,n,e,i,o)}function Wr(t,e){if(e!==null){let i=e.type;if(i&3)return Ot(e,t);if(i&4)return xl(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return Wr(t,n);{let o=t[e.index];return nn(o)?xl(-1,o):Gt(o)}}else{if(i&32)return Oc(e,t)()||Gt(t[e.index]);{let n=Rp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=wo(t[kt]);return Wr(o,n)}else return Wr(t,e.next)}}}return null}function Rp(t,e){if(e!==null){let n=t[kt][Ct],o=e.projection;return n.projection[o]}return null}function xl(t,e){let i=nt+t+1;if(i<e.length){let n=e[i],o=n[J].firstChild;if(o!==null)return Wr(n,o)}return e[Bn]}function P0(t,e,i){let n=Tc(t,e);n&&k0(t,n,e,i)}function Pc(t,e,i,n,o,r,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&pn(Gt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Pc(t,e,i.child,n,o,r,!1),bi(e,t,o,a,r);else if(l&32){let c=Oc(i,n),u;for(;u=c();)bi(e,t,o,u,r);bi(e,t,o,a,r)}else l&16?Lp(t,e,n,i,o,r):bi(e,t,o,a,r);i=s?i.projectionNext:i.next}}function ks(t,e,i,n,o,r){Pc(i,n,t.firstChild,e,o,r,!1)}function A0(t,e,i){let n=e[je],o=Fp(t,i,e),r=i.parent||e[Ct],s=jp(r,i,e);Lp(n,0,e,i,o,s)}function Lp(t,e,i,n,o,r){let s=i[kt],l=s[Ct].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];bi(e,t,o,u,r)}else{let c=l,u=s[Je];wp(n)&&(c.flags|=128),Pc(t,e,c,u,o,r,!0)}}function F0(t,e,i,n,o){let r=i[Bn],s=Gt(i);r!==s&&bi(e,t,n,r,o);for(let a=nt;a<i.length;a++){let l=i[a];ks(l[J],l,t,e,n,r)}}function N0(t,e,i,n,o){if(e)o?t.addClass(i,n):t.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:Zt.DashCase;o==null?t.removeStyle(i,n,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Zt.Important),t.setStyle(i,n,o,r))}}function j0(t,e,i){t.setAttribute(e,"style",i)}function Vp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Bp(t,e,i){let{mergedAttrs:n,classes:o,styles:r}=i;n!==null&&ul(t,e,n),o!==null&&Vp(t,e,o),r!==null&&j0(t,e,r)}var Tt={};function d(t=1){zp(He(),ee(),on()+t,!1)}function zp(t,e,i,n){if(!n)if((e[Z]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Hr(e,r,i)}else{let r=t.preOrderHooks;r!==null&&$r(e,r,0,i)}zn(i)}function y(t,e=me.Default){let i=ee();if(i===null)return j(t,e);let n=ot();return bp(n,i,dt(t),e)}function Hp(){let t="invalid";throw new Error(t)}function $p(t,e,i,n,o,r){let s=de(null);try{let a=null;o&b.SignalBased&&(a=e[n][Da]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&b.HasDecoratorInputTransform&&(r=t.inputTransforms[n].call(e,r)),t.setInput!==null?t.setInput(e,a,r,i,n):Um(e,a,n,r)}finally{de(s)}}function R0(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)zn(~o);else{let r=o,s=i[++n],a=i[++n];Ev(s,r);let l=e[r];a(2,l)}}}finally{zn(-1)}}function Ss(t,e,i,n,o,r,s,a,l,c,u){let g=e.blueprint.slice();return g[tn]=o,g[Z]=n|4|128|8|64,(c!==null||t&&t[Z]&2048)&&(g[Z]|=2048),Km(g),g[Je]=g[Oi]=t,g[tt]=i,g[Bt]=s||t&&t[Bt],g[je]=a||t&&t[je],g[Mi]=l||t&&t[Mi]||null,g[Ct]=r,g[_s]=e0(),g[Di]=u,g[Hm]=c,g[kt]=e.type==2?t[kt]:g,g}function Ni(t,e,i,n,o){let r=t.data[e];if(r===null)r=L0(t,e,i,n,o),Iv()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=o;let s=wv();r.injectorIndex=s===null?-1:s.injectorIndex}return qn(r,!0),r}function L0(t,e,i,n,o){let r=tp(),s=yc(),a=s?r:r&&r.parent,l=t.data[e]=U0(t,a,i,e,n,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Up(t,e,i,n){if(i===0)return-1;let o=e.length;for(let r=0;r<i;r++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Wp(t,e,i,n,o){let r=on(),s=n&2;try{zn(-1),s&&e.length>it&&zp(t,e,it,!1),$t(s?2:0,o),i(n,o)}finally{zn(r),$t(s?3:1,o)}}function Ac(t,e,i){if(hc(e)){let n=de(null);try{let o=e.directiveStart,r=e.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{de(n)}}}function Fc(t,e,i){Jm()&&(Q0(t,e,i,Ot(i,e)),(i.flags&64)===64&&Zp(t,e,i))}function Nc(t,e,i=Ot){let n=e.localNames;if(n!==null){let o=e.index+1;for(let r=0;r<n.length;r+=2){let s=n[r+1],a=s===-1?i(e,t):t[s];t[o++]=a}}}function Gp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=jc(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function jc(t,e,i,n,o,r,s,a,l,c,u){let g=it+n,v=g+o,C=V0(g,v),T=typeof c=="function"?c():c;return C[J]={type:t,blueprint:C,template:i,queries:null,viewQuery:a,declTNode:e,data:C.slice().fill(null,g),bindingStartIndex:g,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:T,incompleteFirstPass:!1,ssrId:u}}function V0(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:Tt);return i}function B0(t,e,i,n){let r=n.get(l0,kp)||i===Wt.ShadowDom,s=t.selectRootElement(e,r);return z0(s),s}function z0(t){H0(t)}var H0=()=>null;function $0(t,e,i,n){let o=Kp(e);o.push(i),t.firstCreatePass&&Xp(t).push(n,o.length-1)}function U0(t,e,i,n,o,r){let s=e?e.injectorIndex:-1,a=0;return ep()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ju(t,e,i,n,o){for(let r in e){if(!e.hasOwnProperty(r))continue;let s=e[r];if(s===void 0)continue;n??={};let a,l=b.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?em(n,i,c,a,l):em(n,i,c,a)}return n}function em(t,e,i,n,o){let r;t.hasOwnProperty(i)?(r=t[i]).push(e,n):r=t[i]=[e,n],o!==void 0&&r.push(o)}function W0(t,e,i){let n=e.directiveStart,o=e.directiveEnd,r=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u<o;u++){let g=r[u],v=i?i.get(g):null,C=v?v.inputs:null,T=v?v.outputs:null;l=Ju(0,g.inputs,u,l,C),c=Ju(1,g.outputs,u,c,T);let A=l!==null&&s!==null&&!uc(e)?ay(l,u,s):null;a.push(A)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function G0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Rc(t,e,i,n,o,r,s,a){let l=Ot(e,i),c=e.inputs,u;!a&&c!=null&&(u=c[n])?(Vc(t,i,u,n,o),vs(e)&&q0(i,e.index)):e.type&3?(n=G0(n),o=s!=null?s(o,e.value||"",n):o,r.setProperty(l,n,o)):e.type&12}function q0(t,e){let i=fn(e,t);i[Z]&16||(i[Z]|=64)}function Lc(t,e,i,n){if(Jm()){let o=n===null?null:{"":-1},r=X0(t,i),s,a;r===null?s=a=null:[s,a]=r,s!==null&&qp(t,e,i,s,o,a),o&&J0(i,n,o)}i.mergedAttrs=bo(i.mergedAttrs,i.attrs)}function qp(t,e,i,n,o,r){for(let c=0;c<n.length;c++)_l(ns(i,e),t,n[c].type);ty(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let u=n[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Up(t,e,n.length,null);for(let c=0;c<n.length;c++){let u=n[c];i.mergedAttrs=bo(i.mergedAttrs,u.hostAttrs),ny(t,i,e,l,u),ey(l,u,o),u.contentQueries!==null&&(i.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(i.flags|=64);let g=u.type.prototype;!s&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(g.ngOnChanges||g.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}W0(t,i,r)}function Z0(t,e,i,n,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;Y0(s)!=a&&s.push(a),s.push(i,n,r)}}function Y0(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function Q0(t,e,i,n){let o=i.directiveStart,r=i.directiveEnd;vs(i)&&iy(e,i,t.data[o+i.componentOffset]),t.firstCreatePass||ns(i,e),pn(n,e);let s=i.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=$n(e,t,a,i);if(pn(c,e),s!==null&&sy(e,a-o,c,l,i,s),mn(l)){let u=fn(i.index,e);u[tt]=$n(e,t,a,i)}}}function Zp(t,e,i){let n=i.directiveStart,o=i.directiveEnd,r=i.index,s=kv();try{zn(r);for(let a=n;a<o;a++){let l=t.data[a],c=e[a];hl(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&K0(l,c)}}finally{zn(-1),hl(s)}}function K0(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function X0(t,e){let i=t.directiveRegistry,n=null,o=null;if(i)for(let r=0;r<i.length;r++){let s=i[r];if(Pm(e,s.selectors,!1))if(n||(n=[]),mn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let l=a.length;Dl(t,e,l)}else n.unshift(s),Dl(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Dl(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function J0(t,e,i){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let r=i[e[o+1]];if(r==null)throw new pe(-301,!1);n.push(e[o],r)}}}function ey(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;mn(e)&&(i[""]=t)}}function ty(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function ny(t,e,i,n,o){t.data[n]=o;let r=o.factory||(o.factory=Ln(o.type,!0)),s=new Hn(r,mn(o),y);t.blueprint[n]=s,i[n]=s,Z0(t,e,n,Up(t,i,o.hostVars,Tt),o)}function iy(t,e,i){let n=Ot(e,t),o=Gp(i),r=t[Bt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Os(t,Ss(t,o,null,s,n,e,null,r.createRenderer(n,i),null,null,null));t[e.index]=a}function oy(t,e,i,n,o,r){let s=Ot(t,e);ry(e[je],s,r,t.value,i,n,o)}function ry(t,e,i,n,o,r,s){if(r==null)t.removeAttribute(e,o,i);else{let a=s==null?yi(r):s(r,n||"",o);t.setAttribute(e,o,a,i)}}function sy(t,e,i,n,o,r){let s=r[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],g=s[a++];$p(n,i,l,c,u,g)}}function ay(t,e,i){let n=null,o=0;for(;o<i.length;){let r=i[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){n===null&&(n=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(r,s[a+1],s[a+2],i[o+1]);break}}o+=2}return n}function Yp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Qp(t,e){let i=t.contentQueries;if(i!==null){let n=de(null);try{for(let o=0;o<i.length;o+=2){let r=i[o],s=i[o+1];if(s!==-1){let a=t.data[s];xc(r),a.contentQueries(2,e[s],s)}}}finally{de(n)}}}function Os(t,e){return t[vo]?t[Uu][Vt]=e:t[vo]=e,t[Uu]=e,e}function Ml(t,e,i){xc(0);let n=de(null);try{e(t,i)}finally{de(n)}}function Kp(t){return t[_o]||(t[_o]=[])}function Xp(t){return t.cleanup||(t.cleanup=[])}function Jp(t,e){let i=t[Mi],n=i?i.get(qt,null):null;n&&n.handleError(e)}function Vc(t,e,i,n,o){for(let r=0;r<i.length;){let s=i[r++],a=i[r++],l=i[r++],c=e[s],u=t.data[s];$p(u,c,n,a,l,o)}}function ef(t,e,i){let n=Ym(e,t);_0(t[je],n,i)}function ly(t,e){let i=fn(e,t),n=i[J];cy(n,i);let o=i[tn];o!==null&&i[Di]===null&&(i[Di]=kc(o,i[Mi])),Bc(n,i,i[tt])}function cy(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Bc(t,e,i){Dc(e);try{let n=t.viewQuery;n!==null&&Ml(1,n,i);let o=t.template;o!==null&&Wp(t,e,o,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[en]?.finishViewCreation(t),t.staticContentQueries&&Qp(t,e),t.staticViewQueries&&Ml(2,t.viewQuery,i);let r=t.components;r!==null&&dy(e,r)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[Z]&=-5,Mc()}}function dy(t,e){for(let i=0;i<e.length;i++)ly(t,e[i])}function Ts(t,e,i,n){let o=de(null);try{let r=e.tView,a=t[Z]&4096?4096:16,l=Ss(t,r,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Po]=c;let u=t[en];return u!==null&&(l[en]=u.createEmbeddedView(r)),Bc(r,l,i),l}finally{de(o)}}function tf(t,e){let i=nt+e;if(i<t.length)return t[i]}function Do(t,e){return!e||e.firstChild===null||wp(t)}function Ps(t,e,i,n=!0){let o=e[J];if(x0(o,e,t,i),n){let s=xl(i,t),a=e[je],l=Tc(a,t[Bn]);l!==null&&C0(o,t[Ct],a,e,l,s)}let r=e[Di];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function nf(t,e){let i=xo(t,e);return i!==void 0&&Is(i[J],i),i}function ss(t,e,i,n,o=!1){for(;i!==null;){let r=e[i.index];r!==null&&n.push(Gt(r)),nn(r)&&uy(r,n);let s=i.type;if(s&8)ss(t,e,i.child,n);else if(s&32){let a=Oc(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=Rp(e,i);if(Array.isArray(a))n.push(...a);else{let l=wo(e[kt]);ss(l[J],l,a,n,!0)}}i=o?i.projectionNext:i.next}return n}function uy(t,e){for(let i=nt;i<t.length;i++){let n=t[i],o=n[J].firstChild;o!==null&&ss(n[J],n,o,e)}t[Bn]!==t[tn]&&e.push(t[Bn])}var of=[];function my(t){return t[Vn]??py(t)}function py(t){let e=of.pop()??Object.create(gy);return e.lView=t,e}function fy(t){t.lView[Vn]!==t&&(t.lView=null,of.push(t))}var gy=ht(ce({},Xd),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Co(t.lView)},consumerOnSignalRead(){this.lView[Vn]=this}}),rf=100;function sf(t,e=!0,i=0){let n=t[Bt],o=n.rendererFactory,r=!1;r||o.begin?.();try{hy(t,i)}catch(s){throw e&&Jp(t,s),s}finally{r||(o.end?.(),n.inlineEffectRunner?.flush())}}function hy(t,e){Il(t,e);let i=0;for(;vc(t);){if(i===rf)throw new pe(103,!1);i++,Il(t,1)}}function by(t,e,i,n){let o=e[Z];if((o&256)===256)return;let r=!1;!r&&e[Bt].inlineEffectRunner?.flush(),Dc(e);let s=null,a=null;!r&&_y(t)&&(a=my(e),s=Jd(a));try{Km(e),Mv(t.bindingStartIndex),i!==null&&Wp(t,e,i,2,n);let l=(o&3)===3;if(!r)if(l){let g=t.preOrderCheckHooks;g!==null&&Hr(e,g,null)}else{let g=t.preOrderHooks;g!==null&&$r(e,g,0,null),Za(e,0)}if(vy(e),af(e,0),t.contentQueries!==null&&Qp(t,e),!r)if(l){let g=t.contentCheckHooks;g!==null&&Hr(e,g)}else{let g=t.contentHooks;g!==null&&$r(e,g,1),Za(e,1)}R0(t,e);let c=t.components;c!==null&&cf(e,c,0);let u=t.viewQuery;if(u!==null&&Ml(2,u,n),!r)if(l){let g=t.viewCheckHooks;g!==null&&Hr(e,g)}else{let g=t.viewHooks;g!==null&&$r(e,g,2),Za(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[qa]){for(let g of e[qa])g();e[qa]=null}r||(e[Z]&=-73)}catch(l){throw Co(e),l}finally{a!==null&&(eu(a,s),fy(a)),Mc()}}function _y(t){return t.type!==2}function af(t,e){for(let i=Dp(t);i!==null;i=Mp(i))for(let n=nt;n<i.length;n++){let o=i[n];lf(o,e)}}function vy(t){for(let e=Dp(t);e!==null;e=Mp(e)){if(!(e[Z]&gc.HasTransplantedViews))continue;let i=e[Ii];for(let n=0;n<i.length;n++){let o=i[n],r=o[Je];fv(o)}}}function yy(t,e,i){let n=fn(e,t);lf(n,i)}function lf(t,e){_c(t)&&Il(t,e)}function Il(t,e){let n=t[J],o=t[Z],r=t[Vn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(r?.dirty&&Ma(r)),r&&(r.dirty=!1),t[Z]&=-9217,s)by(n,t,n.template,t[tt]);else if(o&8192){af(t,1);let a=n.components;a!==null&&cf(t,a,1)}}function cf(t,e,i){for(let n=0;n<e.length;n++)yy(t,e[n],i)}function zc(t){for(t[Bt].changeDetectionScheduler?.notify();t;){t[Z]|=64;let e=wo(t);if(rv(t)&&!e)return t;t=e}return null}var Un=class{get rootNodes(){let e=this._lView,i=e[J];return ss(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[tt]}set context(e){this._lView[tt]=e}get destroyed(){return(this._lView[Z]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Je];if(nn(e)){let i=e[Xr],n=i?i.indexOf(this):-1;n>-1&&(xo(e,n),Yr(i,n))}this._attachedToViewContainer=!1}Is(this._lView[J],this._lView)}onDestroy(e){Xm(this._lView,e)}markForCheck(){zc(this._cdRefInjectingView||this._lView)}detach(){this._lView[Z]&=-129}reattach(){gl(this._lView),this._lView[Z]|=128}detectChanges(){this._lView[Z]|=1024,sf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Pp(this._lView[J],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new pe(902,!1);this._appRef=e,gl(this._lView)}},_e=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xy;let t=e;return t})(),Cy=_e,wy=class extends Cy{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let o=Ts(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Un(o)}};function xy(){return As(ot(),ee())}function As(t,e){return t.type&4?new wy(e,t,Fi(t,e)):null}var h2=new RegExp(`^(\\d+)*(${s0}|${r0})*(.*)`);var Dy=()=>null;function Mo(t,e){return Dy(t,e)}var El=class{},kl=class{},as=class{};function My(t){let e=Error(`No component factory found for ${yt(t)}.`);return e[Iy]=t,e}var Iy="ngComponent";var Sl=class{resolveComponentFactory(e){throw My(e)}},ji=(()=>{let e=class e{};e.NULL=new Sl;let t=e;return t})(),Io=class{},rn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Ey();let t=e;return t})();function Ey(){let t=ee(),e=ot(),i=fn(e.index,t);return(jn(i)?i:t)[je]}var ky=(()=>{let e=class e{};e.\u0275prov=G({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Ja={};var tm=new Set;function Fs(t){tm.has(t)||(tm.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function nm(...t){}function Sy(){let t=typeof po.requestAnimationFrame=="function",e=po[t?"requestAnimationFrame":"setTimeout"],i=po[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var Ce=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new x(!1),this.onMicrotaskEmpty=new x(!1),this.onStable=new x(!1),this.onError=new x(!1),typeof Zone>"u")throw new pe(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Sy().nativeRequestAnimationFrame,Py(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new pe(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,Oy,nm,nm);try{return r.runTask(s,i,n)}finally{r.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},Oy={};function Hc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ty(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(po,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ol(t),t.isCheckStableRunning=!0,Hc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ol(t))}function Py(t){let e=()=>{Ty(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,r,s,a)=>{if(Ay(a))return i.invokeTask(o,r,s,a);try{return im(t),i.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),om(t)}},onInvoke:(i,n,o,r,s,a,l)=>{try{return im(t),i.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),om(t)}},onHasTask:(i,n,o,r)=>{i.hasTask(o,r),n===o&&(r.change=="microTask"?(t._hasPendingMicrotasks=r.microTask,Ol(t),Hc(t)):r.change=="macroTask"&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(i,n,o,r)=>(i.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}function Ol(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function im(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function om(t){t._nesting--,Hc(t)}function Ay(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var df=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=G({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ls(t,e,i){let n=i?t.styles:null,o=i?t.classes:null,r=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")r=a;else if(r==1)o=al(o,a);else if(r==2){let l=a,c=e[++s];n=al(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=o:t.classesWithoutHost=o}var Tl=class extends ji{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=wi(e);return new cs(i,this.ngModule)}};function rm(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function Fy(t){let e=t.toLowerCase();return e==="svg"?Zm:e==="math"?cv:null}var Pl=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=hs(n);let o=this.injector.get(e,Ja,n);return o!==Ja||i===Ja?o:this.parentInjector.get(e,i,n)}},cs=class extends as{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=rm(e.inputs);if(i!==null)for(let o of n)i.hasOwnProperty(o.propName)&&(o.transform=i[o.propName]);return n}get outputs(){return rm(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=z_(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,o){let r=de(null);try{o=o||this.ngModule;let s=o instanceof un?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Pl(e,s):e,l=a.get(Io,null);if(l===null)throw new pe(407,!1);let c=a.get(ky,null),u=a.get(df,null),g=a.get(El,null),v={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:g},C=l.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",A=n?B0(C,n,this.componentDef.encapsulation,a):Tp(C,T,Fy(T)),Y=512;this.componentDef.signals?Y|=4096:this.componentDef.onPush||(Y|=16);let $=null;A!==null&&($=kc(A,a,!0));let De=jc(0,null,null,1,0,null,null,null,null,null,null),Ne=Ss(null,De,null,Y,null,null,v,C,a,null,$);Dc(Ne);let Ye,Xe;try{let le=this.componentDef,qe,at=null;le.findHostDirectiveDefs?(qe=[],at=new Map,le.findHostDirectiveDefs(le,qe,at),qe.push(le)):qe=[le];let rr=Ny(Ne,A),hb=jy(rr,A,le,qe,Ne,v,C);Xe=bc(De,it),A&&Vy(C,le,A,n),i!==void 0&&By(Xe,this.ngContentSelectors,i),Ye=Ly(hb,le,qe,at,Ne,[zy]),Bc(De,Ne,null)}finally{Mc()}return new Al(this.componentType,Ye,Fi(Xe,Ne),Ne,Xe)}finally{de(r)}}},Al=class extends kl{constructor(e,i,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Un(o,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let r=this._rootLView;Vc(r[J],r,o,e,i),this.previousInputValues.set(e,i);let s=fn(this._tNode.index,r);zc(s)}}get injector(){return new Rn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Ny(t,e){let i=t[J],n=it;return t[n]=e,Ni(i,n,2,"#host",null)}function jy(t,e,i,n,o,r,s){let a=o[J];Ry(n,t,e,s);let l=null;e!==null&&(l=kc(e,o[Mi]));let c=r.rendererFactory.createRenderer(e,i),u=16;i.signals?u=4096:i.onPush&&(u=64);let g=Ss(o,Gp(i),null,u,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&Dl(a,t,n.length-1),Os(o,g),o[t.index]=g}function Ry(t,e,i,n){for(let o of t)e.mergedAttrs=bo(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(ls(e,e.mergedAttrs,!0),i!==null&&Bp(n,i,e))}function Ly(t,e,i,n,o,r){let s=ot(),a=o[J],l=Ot(s,o);qp(a,o,s,i,null,n);for(let u=0;u<i.length;u++){let g=s.directiveStart+u,v=$n(o,a,g,s);pn(v,o)}Zp(a,o,s),l&&pn(l,o);let c=$n(o,a,s.directiveStart+s.componentOffset,s);if(t[tt]=o[tt]=c,r!==null)for(let u of r)u(c,e);return Ac(a,s,o),c}function Vy(t,e,i,n){if(n)ul(t,i,["ng-version","17.3.10"]);else{let{attrs:o,classes:r}=H_(e.selectors[0]);o&&ul(t,i,o),r&&r.length>0&&Vp(t,i,r.join(" "))}}function By(t,e,i){let n=t.projection=[];for(let o=0;o<e.length;o++){let r=i[o];n.push(r!=null?Array.from(r):null)}}function zy(){let t=ot();Ds(ee()[J],t)}var Yt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Hy;let t=e;return t})();function Hy(){let t=ot();return mf(t,ee())}var $y=Yt,uf=class extends $y{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Fi(this._hostTNode,this._hostLView)}get injector(){return new Rn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ic(this._hostTNode,this._hostLView);if(up(e)){let i=es(e,this._hostLView),n=Jr(e),o=i[J].data[n+8];return new Rn(o,i)}else return new Rn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=sm(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-nt}createEmbeddedView(e,i,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=Mo(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},r,s);return this.insertImpl(a,o,Do(this._hostTNode,s)),a}createComponent(e,i,n,o,r){let s=e&&!ov(e),a;if(s)a=i;else{let T=i||{};a=T.index,n=T.injector,o=T.projectableNodes,r=T.environmentInjector||T.ngModuleRef}let l=s?e:new cs(wi(e)),c=n||this.parentInjector;if(!r&&l.ngModule==null){let A=(s?c:this.parentInjector).get(un,null);A&&(r=A)}let u=wi(l.componentType??{}),g=Mo(this._lContainer,u?.id??null),v=g?.firstChild??null,C=l.create(c,o,v,r);return this.insertImpl(C.hostView,a,Do(this._hostTNode,g)),C}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let o=e._lView;if(pv(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=o[Je],c=new uf(l,l[Ct],l[Je]);c.detach(c.indexOf(e))}}let r=this._adjustIndex(i),s=this._lContainer;return Ps(s,o,r,n),e.attachToViewContainerRef(),Im(el(s),r,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=sm(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=xo(this._lContainer,i);n&&(Yr(el(this._lContainer),i),Is(n[J],n))}detach(e){let i=this._adjustIndex(e,-1),n=xo(this._lContainer,i);return n&&Yr(el(this._lContainer),i)!=null?new Un(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function sm(t){return t[Xr]}function el(t){return t[Xr]||(t[Xr]=[])}function mf(t,e){let i,n=e[t.index];return nn(n)?i=n:(i=Yp(n,e,null,t),e[t.index]=i,Os(e,i)),Wy(i,e,t,n),new uf(i,t,e)}function Uy(t,e){let i=t[je],n=i.createComment(""),o=Ot(e,t),r=Tc(i,o);return rs(i,r,n,S0(i,o),!1),n}var Wy=Zy,Gy=()=>!1;function qy(t,e,i){return Gy(t,e,i)}function Zy(t,e,i,n){if(t[Bn])return;let o;i.type&8?o=Gt(n):o=Uy(e,i),t[Bn]=o}var Fl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Nl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let r=0;r<n;r++){let s=i.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)$c(e,i).matches!==null&&this.queries[i].setDirty()}},ds=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=nC(e):this.predicate=e}},jl=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Rl=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let r=n[o];this.matchTNodeWithReadOption(e,i,Yy(i,r)),this.matchTNodeWithReadOption(e,i,Ur(i,e,r,!1,!1))}else n===_e?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Ur(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===se||o===Yt||o===_e&&i.type&4)this.addMatch(i.index,-2);else{let r=Ur(i,e,o,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function Yy(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function Qy(t,e){return t.type&11?Fi(t,e):t.type&4?As(t,e):null}function Ky(t,e,i,n){return i===-1?Qy(e,t):i===-2?Xy(t,e,n):$n(t,t[J],i,e)}function Xy(t,e,i){if(i===se)return Fi(e,t);if(i===_e)return As(e,t);if(i===Yt)return mf(e,t)}function pf(t,e,i,n){let o=e[en].queries[n];if(o.matches===null){let r=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=r[c];a.push(Ky(e,u,s[l+1],i.metadata.read))}}o.matches=a}return o.matches}function Ll(t,e,i,n){let o=t.queries.getByIndex(i),r=o.matches;if(r!==null){let s=pf(t,e,o,i);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)n.push(s[a/2]);else{let c=r[a+1],u=e[-l];for(let g=nt;g<u.length;g++){let v=u[g];v[Po]===v[Je]&&Ll(v[J],v,c,n)}if(u[Ii]!==null){let g=u[Ii];for(let v=0;v<g.length;v++){let C=g[v];Ll(C[J],C,c,n)}}}}}return n}function Jy(t,e){return t[en].queries[e].queryList}function ff(t,e,i){let n=new is((i&4)===4);return $0(t,e,n,n.destroy),(e[en]??=new Nl).queries.push(new Fl(n))-1}function eC(t,e,i){let n=He();return n.firstCreatePass&&(gf(n,new ds(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),ff(n,ee(),e)}function tC(t,e,i,n){let o=He();if(o.firstCreatePass){let r=ot();gf(o,new ds(e,i,n),r.index),iC(o,t),(i&2)===2&&(o.staticContentQueries=!0)}return ff(o,ee(),i)}function nC(t){return t.split(",").map(e=>e.trim())}function gf(t,e,i){t.queries===null&&(t.queries=new jl),t.queries.track(new Rl(e,i))}function iC(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function $c(t,e){return t.queries.getByIndex(e)}function oC(t,e){let i=t[J],n=$c(i,e);return n.crossesNgTemplate?Ll(i,t,e,[]):pf(i,t,n,e)}function hf(t){return typeof t=="function"&&t[Da]!==void 0}function bf(t){return hf(t)&&typeof t.set=="function"}function rC(t){return Object.getPrototypeOf(t.prototype).constructor}function B(t){let e=rC(t.type),i=!0,n=[t];for(;e;){let o;if(mn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new pe(903,!1);o=e.\u0275dir}if(o){if(i){n.push(o);let s=t;s.inputs=Vr(t.inputs),s.inputTransforms=Vr(t.inputTransforms),s.declaredInputs=Vr(t.declaredInputs),s.outputs=Vr(t.outputs);let a=o.hostBindings;a&&dC(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&lC(t,l),c&&cC(t,c),sC(t,o),a_(t.outputs,o.outputs),mn(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===B&&(i=!1)}}e=Object.getPrototypeOf(e)}aC(n)}function sC(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function aC(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=bo(o.hostAttrs,i=bo(i,o.hostAttrs))}}function Vr(t){return t===Ci?{}:t===_t?[]:t}function lC(t,e){let i=t.viewQuery;i?t.viewQuery=(n,o)=>{e(n,o),i(n,o)}:t.viewQuery=e}function cC(t,e){let i=t.contentQueries;i?t.contentQueries=(n,o,r)=>{e(n,o,r),i(n,o,r)}:t.contentQueries=e}function dC(t,e){let i=t.hostBindings;i?t.hostBindings=(n,o)=>{e(n,o),i(n,o)}:t.hostBindings=e}function fe(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}t.inputTransforms=i}var ki=class{};var us=class extends ki{constructor(e){super(),this.componentFactoryResolver=new Tl(this),this.instance=null;let i=new Kr([...e.providers,{provide:ki,useValue:this},{provide:ji,useValue:this.componentFactoryResolver}],e.parent||fc(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function uC(t,e,i=null){return new us({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var _f=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new We(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function vf(t){return Uc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mC(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function Uc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Ns(t,e,i){return t[e]=i}function St(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function Eo(t,e,i,n){let o=St(t,e,i);return St(t,e+1,n)||o}function pC(t,e,i,n,o){let r=Eo(t,e,i,n);return St(t,e+2,o)||r}function fC(t,e,i,n,o,r){let s=Eo(t,e,i,n);return Eo(t,e+2,o,r)||s}function gC(t){return(t.flags&32)===32}function hC(t,e,i,n,o,r,s,a,l){let c=e.consts,u=Ni(e,t,4,s||null,Ei(c,a));Lc(e,i,u,Ei(c,l)),Ds(e,u);let g=u.tView=jc(2,u,n,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),g.queries=e.queries.embeddedTView(u)),u}function w(t,e,i,n,o,r,s,a){let l=ee(),c=He(),u=t+it,g=c.firstCreatePass?hC(u,c,l,e,i,n,o,r,s):c.data[u];qn(g,!1);let v=bC(c,l,g,t);ws()&&Es(c,l,v,g),pn(v,l);let C=Yp(v,l,v,g);return l[u]=C,Os(l,C),qy(C,g,l),ys(g)&&Fc(c,l,g),s!=null&&Nc(l,g,a),w}var bC=_C;function _C(t,e,i,n){return xs(!0),e[je].createComment("")}function H(t,e,i,n){let o=ee(),r=Ti();if(St(o,r,e)){let s=He(),a=Cs();oy(a,o,t,e,i,n)}return H}function yf(t,e,i,n){return St(t,Ti(),i)?e+yi(i)+n:Tt}function vC(t,e,i,n,o,r){let s=Dv(),a=Eo(t,s,i,o);return wc(2),a?e+yi(i)+n+yi(o)+r:Tt}function Br(t,e){return t<<17|e<<2}function Wn(t){return t>>17&32767}function yC(t){return(t&2)==2}function CC(t,e){return t&131071|e<<17}function Vl(t){return t|2}function Si(t){return(t&131068)>>2}function tl(t,e){return t&-131069|e<<2}function wC(t){return(t&1)===1}function Bl(t){return t|1}function xC(t,e,i,n,o,r){let s=r?e.classBindings:e.styleBindings,a=Wn(s),l=Si(s);t[n]=i;let c=!1,u;if(Array.isArray(i)){let g=i;u=g[1],(u===null||Oo(g,u)>0)&&(c=!0)}else u=i;if(o)if(l!==0){let v=Wn(t[a+1]);t[n+1]=Br(v,a),v!==0&&(t[v+1]=tl(t[v+1],n)),t[a+1]=CC(t[a+1],n)}else t[n+1]=Br(a,0),a!==0&&(t[a+1]=tl(t[a+1],n)),a=n;else t[n+1]=Br(l,0),a===0?a=n:t[l+1]=tl(t[l+1],n),l=n;c&&(t[n+1]=Vl(t[n+1])),am(t,u,n,!0),am(t,u,n,!1),DC(e,u,t,n,r),s=Br(a,l),r?e.classBindings=s:e.styleBindings=s}function DC(t,e,i,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof e=="string"&&Oo(r,e)>=0&&(i[n+1]=Bl(i[n+1]))}function am(t,e,i,n){let o=t[i+1],r=e===null,s=n?Wn(o):Si(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];MC(l,e)&&(a=!0,t[s+1]=n?Bl(c):Vl(c)),s=n?Wn(c):Si(c)}a&&(t[i+1]=n?Vl(o):Bl(o))}function MC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Oo(t,e)>=0:!1}var Lt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function IC(t){return t.substring(Lt.key,Lt.keyEnd)}function EC(t){return kC(t),Cf(t,wf(t,0,Lt.textEnd))}function Cf(t,e){let i=Lt.textEnd;return i===e?-1:(e=Lt.keyEnd=SC(t,Lt.key=e,i),wf(t,e,i))}function kC(t){Lt.key=0,Lt.keyEnd=0,Lt.value=0,Lt.valueEnd=0,Lt.textEnd=t.length}function wf(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function SC(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function p(t,e,i){let n=ee(),o=Ti();if(St(n,o,e)){let r=He(),s=Cs();Rc(r,s,n,t,e,n[je],i,!1)}return p}function zl(t,e,i,n,o){let r=e.inputs,s=o?"class":"style";Vc(t,i,r[s],s,n)}function Me(t,e,i){return xf(t,e,i,!1),Me}function ie(t,e){return xf(t,e,null,!0),ie}function Lo(t){TC(RC,OC,t,!0)}function OC(t,e){for(let i=EC(e);i>=0;i=Cf(e,i))dc(t,IC(e),!0)}function xf(t,e,i,n){let o=ee(),r=He(),s=wc(2);if(r.firstUpdatePass&&Mf(r,t,s,n),e!==Tt&&St(o,s,e)){let a=r.data[on()];If(r,a,o,o[je],t,o[s+1]=VC(e,i),n,s)}}function TC(t,e,i,n){let o=He(),r=wc(2);o.firstUpdatePass&&Mf(o,null,r,n);let s=ee();if(i!==Tt&&St(s,r,i)){let a=o.data[on()];if(Ef(a,n)&&!Df(o,r)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=al(l,i||"")),zl(o,a,s,i,n)}else LC(o,a,s,s[je],s[r+1],s[r+1]=jC(t,e,i),n,r)}}function Df(t,e){return e>=t.expandoStartIndex}function Mf(t,e,i,n){let o=t.data;if(o[i+1]===null){let r=o[on()],s=Df(t,i);Ef(r,n)&&e===null&&!s&&(e=!1),e=PC(o,r,e,n),xC(o,r,e,i,s,n)}}function PC(t,e,i,n){let o=Sv(t),r=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(i=nl(null,t,e,i,n),i=ko(i,e.attrs,n),r=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(i=nl(o,t,e,i,n),r===null){let l=AC(t,e,n);l!==void 0&&Array.isArray(l)&&(l=nl(null,t,e,l[1],n),l=ko(l,e.attrs,n),FC(t,e,n,l))}else r=NC(t,e,n)}return r!==void 0&&(n?e.residualClasses=r:e.residualStyles=r),i}function AC(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Si(n)!==0)return t[Wn(n)]}function FC(t,e,i,n){let o=i?e.classBindings:e.styleBindings;t[Wn(o)]=n}function NC(t,e,i){let n,o=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;n=ko(n,s,i)}return ko(n,e.attrs,i)}function nl(t,e,i,n,o){let r=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(r=e[a],n=ko(n,r.hostAttrs,o),r!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function ko(t,e,i){let n=i?1:2,o=-1;if(e!==null)for(let r=0;r<e.length;r++){let s=e[r];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),dc(t,s,i?!0:e[++r]))}return t===void 0?null:t}function jC(t,e,i){if(i==null||i==="")return _t;let n=[],o=jo(i);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(n,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(n,r,o[r]);else typeof o=="string"&&e(n,o);return n}function RC(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&dc(t,n,i)}function LC(t,e,i,n,o,r,s,a){o===Tt&&(o=_t);let l=0,c=0,u=0<o.length?o[0]:null,g=0<r.length?r[0]:null;for(;u!==null||g!==null;){let v=l<o.length?o[l+1]:void 0,C=c<r.length?r[c+1]:void 0,T=null,A;u===g?(l+=2,c+=2,v!==C&&(T=g,A=C)):g===null||u!==null&&u<g?(l+=2,T=u):(c+=2,T=g,A=C),T!==null&&If(t,e,i,n,T,A,s,a),u=l<o.length?o[l]:null,g=c<r.length?r[c]:null}}function If(t,e,i,n,o,r,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],u=wC(c)?lm(l,e,i,o,Si(c),s):void 0;if(!ms(u)){ms(r)||yC(c)&&(r=lm(l,null,i,o,a,s));let g=Ym(on(),i);N0(n,s,g,o,r)}}function lm(t,e,i,n,o,r){let s=e===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,g=u===null,v=i[o+1];v===Tt&&(v=g?_t:void 0);let C=g?Wa(v,n):u===n?v:void 0;if(c&&!ms(C)&&(C=Wa(l,n)),ms(C)&&(a=C,s))return a;let T=t[o+1];o=s?Wn(T):Si(T)}if(e!==null){let l=r?e.residualClasses:e.residualStyles;l!=null&&(a=Wa(l,n))}return a}function ms(t){return t!==void 0}function VC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=yt(jo(t)))),t}function Ef(t,e){return(t.flags&(e?8:16))!==0}var Hl=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),o=Math.max(e,i),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(e,i){this.attach(i,this.detach(e))}};function il(t,e,i,n,o){return t===i&&Object.is(e,n)?1:Object.is(o(t,e),o(i,n))?-1:0}function BC(t,e,i){let n,o,r=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;r<=s&&r<=a;){let l=t.at(r),c=e[r],u=il(r,l,r,c,i);if(u!==0){u<0&&t.updateValue(r,c),r++;continue}let g=t.at(s),v=e[a],C=il(s,g,a,v,i);if(C!==0){C<0&&t.updateValue(s,v),s--,a--;continue}let T=i(r,l),A=i(s,g),Y=i(r,c);if(Object.is(Y,A)){let $=i(a,v);Object.is($,T)?(t.swap(r,s),t.updateValue(s,v),a--,s--):t.move(s,r),t.updateValue(r,c),r++;continue}if(n??=new ps,o??=dm(t,r,s,i),$l(t,n,r,Y))t.updateValue(r,c),r++,s++;else if(o.has(Y))n.set(T,t.detach(r)),s--;else{let $=t.create(r,e[r]);t.attach(r,$),r++,s++}}for(;r<=a;)cm(t,n,i,r,e[r]),r++}else if(e!=null){let a=e[Symbol.iterator](),l=a.next();for(;!l.done&&r<=s;){let c=t.at(r),u=l.value,g=il(r,c,r,u,i);if(g!==0)g<0&&t.updateValue(r,u),r++,l=a.next();else{n??=new ps,o??=dm(t,r,s,i);let v=i(r,u);if($l(t,n,r,v))t.updateValue(r,u),r++,s++,l=a.next();else if(!o.has(v))t.attach(r,t.create(r,u)),r++,s++,l=a.next();else{let C=i(r,c);n.set(C,t.detach(r)),s--}}}for(;!l.done;)cm(t,n,i,t.length,l.value),l=a.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function $l(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function cm(t,e,i,n,o){if($l(t,e,n,i(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function dm(t,e,i,n){let o=new Set;for(let r=e;r<=i;r++)o.add(n(r,t.at(r)));return o}var ps=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,i)}}};function Q(t,e,i){Fs("NgControlFlow");let n=ee(),o=Ti(),r=ql(n,it+t),s=0;if(St(n,o,e)){let a=de(null);try{if(nf(r,s),e!==-1){let l=Zl(n[J],it+e),c=Mo(r,l.tView.ssrId),u=Ts(n,l,i,{dehydratedView:c});Ps(r,u,s,Do(l,c))}}finally{de(a)}}else{let a=tf(r,s);a!==void 0&&(a[tt]=i)}}var Ul=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-nt}};function Vo(t,e){return e}var Wl=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function bn(t,e,i,n,o,r,s,a,l,c,u,g,v){Fs("NgControlFlow");let C=l!==void 0,T=ee(),A=a?s.bind(T[kt][tt]):s,Y=new Wl(C,A);T[it+t]=Y,w(t+1,e,i,n,o,r),C&&w(t+2,l,c,u,g,v)}var Gl=class extends Hl{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-nt}at(e){return this.getLView(e)[tt].$implicit}attach(e,i){let n=i[Di];this.needsIndexUpdate||=e!==this.length,Ps(this.lContainer,i,e,Do(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,zC(this.lContainer,e)}create(e,i){let n=Mo(this.lContainer,this.templateTNode.tView.ssrId);return Ts(this.hostLView,this.templateTNode,new Ul(this.lContainer,i,e),{dehydratedView:n})}destroy(e){Is(e[J],e)}updateValue(e,i){this.getLView(e)[tt].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[tt].$index=e}getLView(e){return HC(this.lContainer,e)}};function _n(t){let e=de(null),i=on();try{let n=ee(),o=n[J],r=n[i];if(r.liveCollection===void 0){let a=i+1,l=ql(n,a),c=Zl(o,a);r.liveCollection=new Gl(l,n,c)}else r.liveCollection.reset();let s=r.liveCollection;if(BC(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){let a=Ti(),l=s.length===0;if(St(n,a,l)){let c=i+2,u=ql(n,c);if(l){let g=Zl(o,c),v=Mo(u,g.tView.ssrId),C=Ts(n,g,void 0,{dehydratedView:v});Ps(u,C,0,Do(g,v))}else nf(u,0)}}}finally{de(e)}}function ql(t,e){return t[e]}function zC(t,e){return xo(t,e)}function HC(t,e){return tf(t,e)}function Zl(t,e){return bc(t,e)}function $C(t,e,i,n,o,r){let s=e.consts,a=Ei(s,o),l=Ni(e,t,2,n,a);return Lc(e,i,l,Ei(s,r)),l.attrs!==null&&ls(l,l.attrs,!1),l.mergedAttrs!==null&&ls(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function m(t,e,i,n){let o=ee(),r=He(),s=it+t,a=o[je],l=r.firstCreatePass?$C(s,r,o,e,i,n):r.data[s],c=UC(r,o,l,a,e,t);o[s]=c;let u=ys(l);return qn(l,!0),Bp(a,c,l),!gC(l)&&ws()&&Es(r,o,c,l),bv()===0&&pn(c,o),_v(),u&&(Fc(r,o,l),Ac(r,l,o)),n!==null&&Nc(o,l),m}function f(){let t=ot();yc()?Cc():(t=t.parent,qn(t,!1));let e=t;yv(e)&&Cv(),vv();let i=He();return i.firstCreatePass&&(Ds(i,t),hc(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&jv(e)&&zl(i,e,ee(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Rv(e)&&zl(i,e,ee(),e.stylesWithoutHost,!1),f}function O(t,e,i,n){return m(t,e,i,n),f(),O}var UC=(t,e,i,n,o,r)=>(xs(!0),Tp(n,o,Pv()));function WC(t,e,i,n,o){let r=e.consts,s=Ei(r,n),a=Ni(e,t,8,"ng-container",s);s!==null&&ls(a,s,!0);let l=Ei(r,o);return Lc(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function ut(t,e,i){let n=ee(),o=He(),r=t+it,s=o.firstCreatePass?WC(r,o,n,e,i):o.data[r];qn(s,!0);let a=GC(o,n,s,t);return n[r]=a,ws()&&Es(o,n,a,s),pn(a,n),ys(s)&&(Fc(o,n,s),Ac(o,s,n)),i!=null&&Nc(n,s),ut}function mt(){let t=ot(),e=He();return yc()?Cc():(t=t.parent,qn(t,!1)),e.firstCreatePass&&(Ds(e,t),hc(t)&&e.queries.elementEnd(t)),mt}function pt(t,e,i){return ut(t,e,i),mt(),pt}var GC=(t,e,i,n)=>(xs(!0),v0(e[je],""));function F(){return ee()}var fs="en-US";var qC=fs;function ZC(t){typeof t=="string"&&(qC=t.toLowerCase().replace(/_/g,"-"))}function _(t,e,i,n){let o=ee(),r=He(),s=ot();return kf(r,o,o[je],s,t,e,n),_}function YC(t,e,i,n){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===i&&o[r+1]===n){let a=e[_o],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function kf(t,e,i,n,o,r,s){let a=ys(n),c=t.firstCreatePass&&Xp(t),u=e[tt],g=Kp(e),v=!0;if(n.type&3||s){let A=Ot(n,e),Y=s?s(A):A,$=g.length,De=s?Ye=>s(Gt(Ye[n.index])):n.index,Ne=null;if(!s&&a&&(Ne=YC(t,e,o,n.index)),Ne!==null){let Ye=Ne.__ngLastListenerFn__||Ne;Ye.__ngNextListenerFn__=r,Ne.__ngLastListenerFn__=r,v=!1}else{r=mm(n,e,u,r,!1);let Ye=i.listen(Y,o,r);g.push(r,Ye),c&&c.push(o,De,$,$+1)}}else r=mm(n,e,u,r,!1);let C=n.outputs,T;if(v&&C!==null&&(T=C[o])){let A=T.length;if(A)for(let Y=0;Y<A;Y+=2){let $=T[Y],De=T[Y+1],Xe=e[$][De].subscribe(r),le=g.length;g.push(r,Xe),c&&c.push(o,n.index,le,-(le+1))}}}function um(t,e,i,n){let o=de(null);try{return $t(6,e,i),i(n)!==!1}catch(r){return Jp(t,r),!1}finally{$t(7,e,i),de(o)}}function mm(t,e,i,n,o){return function r(s){if(s===Function)return n;let a=t.componentOffset>-1?fn(t.index,e):e;zc(a);let l=um(e,i,n,s),c=r.__ngNextListenerFn__;for(;c;)l=um(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return o&&l===!1&&s.preventDefault(),l}}function h(t=1){return Tv(t)}function QC(t,e){let i=null,n=j_(t);for(let o=0;o<e.length;o++){let r=e[o];if(r==="*"){i=o;continue}if(n===null?Pm(t,r,!0):V_(n,r))return o}return i}function Ue(t){let e=ee()[kt][Ct];if(!e.projection){let i=t?t.length:1,n=e.projection=E_(i,null),o=n.slice(),r=e.child;for(;r!==null;){let s=t?QC(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:n[s]=r,o[s]=r),r=r.next}}}function Pe(t,e=0,i){let n=ee(),o=He(),r=Ni(o,it+t,16,null,i||null);r.projection===null&&(r.projection=e),Cc(),(!n[Di]||ep())&&(r.flags&32)!==32&&A0(o,n,r)}function ge(t,e,i){return Sf(t,"",e,"",i),ge}function Sf(t,e,i,n,o){let r=ee(),s=yf(r,e,i,n);if(s!==Tt){let a=He(),l=Cs();Rc(a,l,r,t,s,r[je],o,!1)}return Sf}function ft(t,e,i,n){tC(t,e,i,n)}function gt(t,e,i){eC(t,e,i)}function Ie(t){let e=ee(),i=He(),n=np();xc(n+1);let o=$c(i,n);if(t.dirty&&mv(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=oC(e,n);t.reset(r,Kv),t.notifyOnChanges()}return!0}return!1}function Ee(){return Jy(ee(),np())}function KC(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function Ke(t){let e=xv();return Qm(e,it+t)}function E(t,e=""){let i=ee(),n=He(),o=t+it,r=n.firstCreatePass?Ni(n,o,1,e,null):n.data[o],s=XC(n,i,r,e,t);i[o]=s,ws()&&Es(n,i,s,r),qn(r,!1)}var XC=(t,e,i,n,o)=>(xs(!0),b0(e[je],n));function oe(t){return z("",t,""),oe}function z(t,e,i){let n=ee(),o=yf(n,t,e,i);return o!==Tt&&ef(n,on(),o),z}function vn(t,e,i,n,o){let r=ee(),s=vC(r,t,e,i,n,o);return s!==Tt&&ef(r,on(),s),vn}function Zn(t,e,i){bf(e)&&(e=e());let n=ee(),o=Ti();if(St(n,o,e)){let r=He(),s=Cs();Rc(r,s,n,t,e,n[je],i,!1)}return Zn}function Ri(t,e){let i=bf(t);return i&&t.set(e),i}function Yn(t,e){let i=ee(),n=He(),o=ot();return kf(n,i,i[je],o,t,e),Yn}function JC(t,e,i){let n=He();if(n.firstCreatePass){let o=mn(t);Yl(i,n.data,n.blueprint,o,!0),Yl(e,n.data,n.blueprint,o,!1)}}function Yl(t,e,i,n,o){if(t=dt(t),Array.isArray(t))for(let r=0;r<t.length;r++)Yl(t[r],e,i,n,o);else{let r=He(),s=ee(),a=ot(),l=xi(t)?t:dt(t.provide),c=zm(t),u=a.providerIndexes&1048575,g=a.directiveStart,v=a.providerIndexes>>20;if(xi(t)||!t.multi){let C=new Hn(c,o,y),T=rl(l,e,o?u:u+v,g);T===-1?(_l(ns(a,s),r,l),ol(r,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(C),s.push(C)):(i[T]=C,s[T]=C)}else{let C=rl(l,e,u+v,g),T=rl(l,e,u,u+v),A=C>=0&&i[C],Y=T>=0&&i[T];if(o&&!Y||!o&&!A){_l(ns(a,s),r,l);let $=nw(o?tw:ew,i.length,o,n,c);!o&&Y&&(i[T].providerFactory=$),ol(r,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push($),s.push($)}else{let $=Of(i[o?T:C],c,!o&&n);ol(r,t,C>-1?C:T,$)}!o&&n&&Y&&i[T].componentProviders++}}}function ol(t,e,i,n){let o=xi(e),r=Q_(e);if(o||r){let l=(r?dt(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=c.indexOf(i);u===-1?c.push(i,[n,l]):c[u+1].push(n,l)}else c.push(i,l)}}}function Of(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function rl(t,e,i,n){for(let o=i;o<n;o++)if(e[o]===t)return o;return-1}function ew(t,e,i,n){return Ql(this.multi,[])}function tw(t,e,i,n){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=$n(i,i[J],this.providerFactory.index,n);r=a.slice(0,s),Ql(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Ql(o,r);return r}function Ql(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function nw(t,e,i,n,o){let r=new Hn(t,i,y);return r.multi=[],r.index=e,r.componentProviders=0,Of(r,o,n&&!i),r}function K(t,e=[]){return i=>{i.providersResolver=(n,o)=>JC(n,o?o(t):t,e)}}var iw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Lm(!1,n.type),r=o.length>0?uC([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=G({token:e,providedIn:"environment",factory:()=>new e(j(un))});let t=e;return t})();function S(t){Fs("NgStandalone"),t.getStandaloneInjector=e=>e.get(iw).getOrCreateStandaloneInjector(t)}function ke(t,e,i,n){return Pf(ee(),Ao(),t,e,i,n)}function et(t,e,i,n,o){return ow(ee(),Ao(),t,e,i,n,o)}function st(t,e,i,n,o,r){return rw(ee(),Ao(),t,e,i,n,o,r)}function Tf(t,e,i,n,o,r,s){return sw(ee(),Ao(),t,e,i,n,o,r,s)}function js(t,e){let i=t[e];return i===Tt?void 0:i}function Pf(t,e,i,n,o,r){let s=e+i;return St(t,s,o)?Ns(t,s+1,r?n.call(r,o):n(o)):js(t,s+1)}function ow(t,e,i,n,o,r,s){let a=e+i;return Eo(t,a,o,r)?Ns(t,a+2,s?n.call(s,o,r):n(o,r)):js(t,a+2)}function rw(t,e,i,n,o,r,s,a){let l=e+i;return pC(t,l,o,r,s)?Ns(t,l+3,a?n.call(a,o,r,s):n(o,r,s)):js(t,l+3)}function sw(t,e,i,n,o,r,s,a,l){let c=e+i;return fC(t,c,o,r,s,a)?Ns(t,c+4,l?n.call(l,o,r,s,a):n(o,r,s,a)):js(t,c+4)}function R(t,e){let i=He(),n,o=t+it;i.firstCreatePass?(n=aw(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??=[]).push(o,n.onDestroy)):n=i.data[o];let r=n.factory||(n.factory=Ln(n.type,!0)),s,a=Et(y);try{let l=ts(!1),c=r();return ts(l),KC(i,ee(),o,c),c}finally{Et(a)}}function aw(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function L(t,e,i){let n=t+it,o=ee(),r=Qm(o,n);return lw(o,n)?Pf(o,Ao(),e,r.transform,i,r):r.transform(i)}function lw(t,e){return t[J].data[e].pure}function wt(t,e){return As(t,e)}var Af=new U("");function Bo(t){return!!t&&typeof t.then=="function"}function Ff(t){return!!t&&typeof t.subscribe=="function"}var cw=new U(""),Nf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=be(cw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let s=r();if(Bo(s))n.push(s);else if(Ff(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),dw=new U("");function uw(){nu(()=>{throw new pe(600,!1)})}function mw(t){return t.isBoundToModule}function pw(t,e,i){try{let n=i();return Bo(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var zo=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=be(yp),this.afterRenderEffectManager=be(df),this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=be(_f).hasPendingTasks.pipe(ze(n=>!n)),this._injector=be(un)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let r=n instanceof as;if(!this._injector.get(Nf).done){let C=!r&&W_(n),T=!1;throw new pe(405,T)}let a;r?a=n:a=this._injector.get(ji).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=mw(a)?void 0:this._injector.get(ki),c=o||a.selector,u=a.create(Ai.NULL,[],c,l),g=u.location.nativeElement,v=u.injector.get(Af,null);return v?.registerApplication(g),u.onDestroy(()=>{this.detachView(u.hostView),sl(this.components,u),v?.unregisterApplication(g)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new pe(101,!1);let o=de(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,de(o)}}detectChangesInAttachedViews(n){let o=0,r=this.afterRenderEffectManager;for(;;){if(o===rf)throw new pe(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)fw(a,s,l)}if(o++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Kl(s))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Kl(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;sl(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(dw,[]);[...this._bootstrapListeners,...o].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>sl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new pe(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sl(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function fw(t,e,i){!e&&!Kl(t)||gw(t,i,e)}function Kl(t){return vc(t)}function gw(t,e,i){let n;i?(n=0,t[Z]|=1024):t[Z]&64?n=0:n=1,sf(t,e,n)}var hw=(()=>{let e=class e{constructor(){this.zone=be(Ce),this.applicationRef=be(zo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function bw(t){return[{provide:Ce,useFactory:t},{provide:ho,multi:!0,useFactory:()=>{let e=be(hw,{optional:!0});return()=>e.initialize()}},{provide:ho,multi:!0,useFactory:()=>{let e=be(Cw);return()=>{e.initialize()}}},{provide:yp,useFactory:_w}]}function _w(){let t=be(Ce),e=be(qt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function vw(t){let e=bw(()=>new Ce(yw(t)));return Rm([[],e])}function yw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Cw=(()=>{let e=class e{constructor(){this.subscription=new Be,this.initialized=!1,this.zone=be(Ce),this.pendingTasks=be(_f)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ww(){return typeof $localize<"u"&&$localize.locale||fs}var Rs=new U("",{providedIn:"root",factory:()=>be(Rs,me.Optional|me.SkipSelf)||ww()});var jf=new U("");var Gr=null;function xw(t=[],e){return Ai.create({name:e,providers:[{provide:bs,useValue:"platform"},{provide:jf,useValue:new Set([()=>Gr=null])},...t]})}function Dw(t=[]){if(Gr)return Gr;let e=xw(t);return Gr=e,uw(),Mw(e),e}function Mw(t){t.get(Ec,null)?.forEach(i=>i())}var xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Iw;let t=e;return t})();function Iw(t){return Ew(ot(),ee(),(t&16)===16)}function Ew(t,e,i){if(vs(t)&&!i){let n=fn(t.index,e);return new Un(n,n)}else if(t.type&47){let n=e[kt];return new Un(n,e)}return null}var Xl=class{constructor(){}supports(e){return vf(e)}create(e){return new Jl(e)}},kw=(t,e)=>e,Jl=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||kw}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,o=0,r=null;for(;i||n;){let s=!n||i&&i.currentIndex<pm(n,o,r)?i:n,a=pm(s,o,r),l=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,u=l-o;if(c!=u){for(let v=0;v<c;v++){let C=v<r.length?r[v]:r[v]=0,T=C+v;u<=T&&T<c&&(r[v]=C+1)}let g=s.previousIndex;r[g]=u-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!vf(e))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,o,r,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)r=e[a],s=this._trackByFn(a,r),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,r,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,r,s,a)),Object.is(i.item,r)||this._addIdentityChange(i,r)),i=i._next}else o=0,mC(e,a=>{s=this._trackByFn(o,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,o),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,o)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,o){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,r,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,r,o)):e=this._addAfter(new ec(i,n),r,o)),e}_verifyReinsertion(e,i,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,r=e._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let o=i===null?this._itHead:i._next;return e._next=o,e._prev=i,o===null?this._itTail=e:o._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new gs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new gs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ec=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},tc=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},gs=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new tc,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,o=this.map.get(n);return o?o.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function pm(t,e,i){let n=t.previousIndex;if(n===null)return n;let o=0;return i&&n<i.length&&(o=i[n]),n+e+o}var nc=class{constructor(){}supports(e){return e instanceof Map||Uc(e)}create(){return new ic}},ic=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Uc(e)))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(i&&i.key===o)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let r=this._getOrCreateRecordForKey(o,n);i=this._insertBeforeOrAppend(i,r)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,i);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new oc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},oc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function fm(){return new Li([new Xl])}var Li=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||fm()),deps:[[e,new Mm,new lc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o!=null)return o;throw new pe(901,!1)}};e.\u0275prov=G({token:e,providedIn:"root",factory:fm});let t=e;return t})();function gm(){return new Wc([new nc])}var Wc=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||gm()),deps:[[e,new Mm,new lc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new pe(901,!1)}};e.\u0275prov=G({token:e,providedIn:"root",factory:gm});let t=e;return t})();function Rf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,o=Dw(n),r=[vw(),...i||[]],a=new us({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ce);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(qt,null),u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:C=>{c.handleError(C)}})});let g=()=>a.destroy(),v=o.get(jf);return v.add(g),a.onDestroy(()=>{u.unsubscribe(),v.delete(g)}),pw(c,l,()=>{let C=a.get(Nf);return C.runInitializers(),C.donePromise.then(()=>{let T=a.get(Rs,fs);ZC(T||fs);let A=a.get(zo);return e!==void 0&&A.bootstrap(e),A})})})}catch(e){return Promise.reject(e)}}function D(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function yn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var Ls={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Ls.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Ls.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function Sw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Ow(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function Tw(t){return typeof t=="function"}var Gc;function Pw(t,e){if(!Gc){let i=Element.prototype;Gc=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Gc.call(t,e):!1}function Aw(t,e){return t===e||t!==t&&e!==e}function Fw(t){let e={};return t.forEach(({propName:i,templateName:n,transform:o})=>{e[Sw(n)]=[i,o]}),e}function Nw(t,e){return e.get(ji).resolveComponentFactory(t).inputs}function jw(t,e){let i=t.childNodes,n=e.map(()=>[]),o=-1;e.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=i.length;r<s;++r){let a=i[r],l=Rw(a,e,o);l!==-1&&n[l].push(a)}return n}function Rw(t,e,i){let n=i;return Ow(t)&&e.some((o,r)=>o!=="*"&&Pw(t,o)?(n=r,!0):!1),n}var Lw=10,qc=class{constructor(e,i){this.componentFactory=i.get(ji).resolveComponentFactory(e)}create(e){return new Zc(this.componentFactory,e)}},Zc=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new An(1),this.events=this.eventEmitters.pipe(pi(n=>Jt(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(Ce),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Ls.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},Lw))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}Aw(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Ai.create({providers:[],parent:this.injector}),n=jw(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(xt),this.implementsOnChanges=Tw(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(zo).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:o})=>e.instance[n].pipe(ze(s=>({name:o,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ls.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let o=this.unchangedInputs.has(e),r=o?void 0:this.getInputValue(e);this.inputChanges[e]=new yo(r,i,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Yc=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Re(t,e){let i=Nw(t,e.injector),n=e.strategyFactory||new qc(t,e.injector),o=Fw(i),s=class s extends Yc{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let g=this[c];delete this[c],l.setInputValue(c,g,u)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,u,g){let[v,C]=o[l];this.ngElementStrategy.setInputValue(v,u,C)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(o);let r=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(r.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),r}var zf=null;function Vi(){return zf}function Hf(t){zf??=t}var Bs=class{};var Ze=new U("");function $f(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[o,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(r)}return null}var Qc=/\s+/,Lf=[],X=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Lf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Qc):Lf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Qc):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==o&&(r.changed=!0,r.enabled=o),r.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],r=n[1];r.changed?(this._toggleClass(o,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),r.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Qc).forEach(r=>{o?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(o){return new(o||e)(y(se),y(rn))},e.\u0275dir=q({type:e,selectors:[["","ngClass",""]],inputs:{klass:[b.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Kc=class{constructor(e,i,n,o){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ve=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,r){this._viewContainer=n,this._template=o,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((r,s,a)=>{if(r.previousIndex==null)o.createEmbeddedView(this._template,new Kc(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let l=o.get(s);o.move(l,a),Vf(l,r)}});for(let r=0,s=o.length;r<s;r++){let l=o.get(r).context;l.index=r,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let s=o.get(r.currentIndex);Vf(s,r)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(y(Yt),y(_e),y(Li))},e.\u0275dir=q({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Vf(t,e){t.context.$implicit=e.item}var Le=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Xc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Bf("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Bf("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(y(Yt),y(_e))},e.\u0275dir=q({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Xc=class{constructor(){this.$implicit=null,this.ngIf=null}};function Bf(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${yt(e)}'.`)}var Uf=(()=>{let e=class e{constructor(n,o,r){this._ngEl=n,this._differs=o,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[r,s]=n.split("."),a=r.indexOf("-")===-1?void 0:Zt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(y(se),y(Wc),y(rn))},e.\u0275dir=q({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),Qn=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,r):!1,get:(n,o,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,r)}})}};e.\u0275fac=function(o){return new(o||e)(y(Yt))},e.\u0275dir=q({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$e]});let t=e;return t})();var N=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({});let t=e;return t})(),Jc="browser",Vw="server";function Wf(t){return t===Jc}function ed(t){return t===Vw}var zs=class{};var id=class extends Bs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},od=class t extends id{static makeCurrent(){Hf(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=zw();return i==null?null:Hw(i)}resetBaseElement(){Ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return $f(document.cookie,e)}},Ho=null;function zw(){return Ho=Ho||document.querySelector("base"),Ho?Ho.getAttribute("href"):null}function Hw(t){return new URL(t,document.baseURI).pathname}var $w=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})(),rd=new U(""),Yf=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,r){return this._findPluginFor(o).addEventListener(n,o,r)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new pe(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(j(rd),j(Ce))},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})(),Hs=class{constructor(e){this._doc=e}},td="ng-app-id",Qf=(()=>{let e=class e{constructor(n,o,r,s={}){this.doc=n,this.appId=o,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ed(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(r=>r.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${td}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(r=>{r.textContent!=null&&o.set(r.textContent,r)}),o}return null}changeUsageCount(n,o){let r=this.styleRef;if(r.has(n)){let s=r.get(n);return s.usage+=o,s.usage}return r.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let r=this.styleNodesInDOM,s=r?.get(o);if(s?.parentNode===n)return r.delete(o),s.removeAttribute(td),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(td,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let r=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(r):s.set(o,{elements:[r],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(j(Ze),j(Ms),j(No,8),j(gn))},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})(),nd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ad=/%COMP%/g,Kf="%COMP%",Uw=`_nghost-${Kf}`,Ww=`_ngcontent-${Kf}`,Gw=!0,qw=new U("",{providedIn:"root",factory:()=>Gw});function Zw(t){return Ww.replace(ad,t)}function Yw(t){return Uw.replace(ad,t)}function Xf(t,e){return e.map(i=>i.replace(ad,t))}var Gf=(()=>{let e=class e{constructor(n,o,r,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=ed(l),this.defaultRenderer=new $o(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Wt.ShadowDom&&(o=ht(ce({},o),{encapsulation:Wt.Emulated}));let r=this.getOrCreateRenderer(n,o);return r instanceof $s?r.applyToHost(n):r instanceof Uo&&r.applyStyles(),r}getOrCreateRenderer(n,o){let r=this.rendererByCompId,s=r.get(o.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,g=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(o.encapsulation){case Wt.Emulated:s=new $s(c,u,o,this.appId,g,a,l,v);break;case Wt.ShadowDom:return new sd(c,u,n,o,a,l,this.nonce,v);default:s=new Uo(c,u,o,g,a,l,v);break}r.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(j(Yf),j(Qf),j(Ms),j(qw),j(Ze),j(gn),j(Ce),j(No))},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})(),$o=class{constructor(e,i,n,o){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(nd[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(qf(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(qf(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new pe(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,o){if(o){i=o+":"+i;let r=nd[o];r?e.setAttributeNS(r,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let o=nd[n];o?e.removeAttributeNS(o,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,o){o&(Zt.DashCase|Zt.Important)?e.style.setProperty(i,n,o&Zt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Zt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Vi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function qf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var sd=class extends $o{constructor(e,i,n,o,r,s,a,l){super(e,r,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Xf(o.id,o.styles);for(let u of c){let g=document.createElement("style");a&&g.setAttribute("nonce",a),g.textContent=u,this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Uo=class extends $o{constructor(e,i,n,o,r,s,a,l){super(e,r,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=o,this.styles=l?Xf(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},$s=class extends Uo{constructor(e,i,n,o,r,s,a,l){let c=o+"-"+n.id;super(e,i,n,r,s,a,l,c),this.contentAttr=Zw(c),this.hostAttr=Yw(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},Qw=(()=>{let e=class e extends Hs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,r){return n.addEventListener(o,r,!1),()=>this.removeEventListener(n,o,r)}removeEventListener(n,o,r){return n.removeEventListener(o,r)}};e.\u0275fac=function(o){return new(o||e)(j(Ze))},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})(),Zf=["alt","control","meta","shift"],Kw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Xw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Jw=(()=>{let e=class e extends Hs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,r){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),r=o.shift();if(o.length===0||!(r==="keydown"||r==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),Zf.forEach(u=>{let g=o.indexOf(u);g>-1&&(o.splice(g,1),a+=u+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let r=Kw[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(r=n.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Zf.forEach(a=>{if(a!==r){let l=Xw[a];l(n)&&(s+=a+".")}}),s+=r,s===o)}static eventCallback(n,o,r){return s=>{e.matchEventFullKeyCode(s,n)&&r.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(j(Ze))},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})();function Jf(t){return Rf(ex(t))}function ex(t){return{appProviders:[...rx,...t?.providers??[]],platformProviders:ox}}function tx(){od.makeCurrent()}function nx(){return new qt}function ix(){return Ep(document),document}var ox=[{provide:gn,useValue:Jc},{provide:Ec,useValue:tx,multi:!0},{provide:Ze,useFactory:ix,deps:[]}];var rx=[{provide:bs,useValue:"root"},{provide:qt,useFactory:nx,deps:[]},{provide:rd,useClass:Qw,multi:!0,deps:[Ze,Ce,gn]},{provide:rd,useClass:Jw,multi:!0,deps:[Ze]},Gf,Qf,Yf,{provide:Io,useExisting:Gf},{provide:zs,useClass:$w,deps:[]},[]];var ag=(()=>{let e=class e{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(o){return new(o||e)(y(rn),y(se))},e.\u0275dir=q({type:e});let t=e;return t})(),sx=(()=>{let e=class e extends ag{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275dir=q({type:e,features:[B]});let t=e;return t})(),qs=new U("");var ax={provide:qs,useExisting:Gn(()=>lg),multi:!0};function lx(){let t=Vi()?Vi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var cx=new U(""),lg=(()=>{let e=class e extends ag{constructor(n,o,r){super(n,o),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!lx())}writeValue(n){let o=n??"";this.setProperty("value",o)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(o){return new(o||e)(y(rn),y(se),y(cx,8))},e.\u0275dir=q({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,r){o&1&&_("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[K([ax]),B]});let t=e;return t})();var dx=new U(""),ux=new U("");function cg(t){return t!=null}function dg(t){return Bo(t)?Qe(t):t}function ug(t){let e={};return t.forEach(i=>{e=i!=null?ce(ce({},e),i):e}),Object.keys(e).length===0?null:e}function mg(t,e){return e.map(i=>i(t))}function mx(t){return!t.validate}function pg(t){return t.map(e=>mx(e)?e:i=>e.validate(i))}function px(t){if(!t)return null;let e=t.filter(cg);return e.length==0?null:function(i){return ug(mg(i,e))}}function fg(t){return t!=null?px(pg(t)):null}function fx(t){if(!t)return null;let e=t.filter(cg);return e.length==0?null:function(i){let n=mg(i,e).map(dg);return co(n).pipe(ze(ug))}}function gg(t){return t!=null?fx(pg(t)):null}function eg(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function gx(t){return t._rawValidators}function hx(t){return t._rawAsyncValidators}function ld(t){return t?Array.isArray(t)?t:[t]:[]}function Ws(t,e){return Array.isArray(t)?t.includes(e):t===e}function tg(t,e){let i=ld(e);return ld(t).forEach(o=>{Ws(i,o)||i.push(o)}),i}function ng(t,e){return ld(e).filter(i=>!Ws(t,i))}var Gs=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=fg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=gg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},cd=class extends Gs{get formDirective(){return null}get path(){return null}},qo=class extends Gs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},dd=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},bx={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},OF=ht(ce({},bx),{"[class.ng-submitted]":"isSubmitted"}),Zs=(()=>{let e=class e extends dd{constructor(n){super(n)}};e.\u0275fac=function(o){return new(o||e)(y(qo,2))},e.\u0275dir=q({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,r){o&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[B]});let t=e;return t})();var Wo="VALID",Us="INVALID",Bi="PENDING",Go="DISABLED";function _x(t){return(Ys(t)?t.validators:t)||null}function vx(t){return Array.isArray(t)?fg(t):t||null}function yx(t,e){return(Ys(e)?e.asyncValidators:t)||null}function Cx(t){return Array.isArray(t)?gg(t):t||null}function Ys(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var ud=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Wo}get invalid(){return this.status===Us}get pending(){return this.status==Bi}get disabled(){return this.status===Go}get enabled(){return this.status!==Go}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(tg(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(tg(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ng(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ng(e,this._rawAsyncValidators))}hasValidator(e){return Ws(this._rawValidators,e)}hasAsyncValidator(e){return Ws(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Bi,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Go,this.errors=null,this._forEachChild(n=>{n.disable(ht(ce({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Wo,this._forEachChild(n=>{n.enable(ht(ce({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ht(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wo||this.status===Bi)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Go:Wo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Bi,this._hasOwnPendingAsyncValidator=!0;let i=dg(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,o)=>n&&n._find(o),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new x,this.statusChanges=new x}_calculateStatus(){return this._allControlsDisabled()?Go:this.errors?Us:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bi)?Bi:this._anyControlsHaveStatus(Us)?Us:Wo}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ys(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=vx(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Cx(this._rawAsyncValidators)}};var hg=new U("CallSetDisabledState",{providedIn:"root",factory:()=>md}),md="always";function wx(t,e){return[...e.path,t]}function xx(t,e,i=md){Mx(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Ix(t,e),kx(t,e),Ex(t,e),Dx(t,e)}function ig(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function Dx(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Mx(t,e){let i=gx(t);e.validator!==null?t.setValidators(eg(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=hx(t);e.asyncValidator!==null?t.setAsyncValidators(eg(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();ig(e._rawValidators,o),ig(e._rawAsyncValidators,o)}function Ix(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&bg(t,e)})}function Ex(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&bg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function bg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function kx(t,e){let i=(n,o)=>{e.valueAccessor.writeValue(n),o&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function Sx(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function Ox(t){return Object.getPrototypeOf(t.constructor)===sx}function Tx(t,e){if(!e)return null;Array.isArray(e);let i,n,o;return e.forEach(r=>{r.constructor===lg?i=r:Ox(r)?n=r:o=r}),o||n||i||null}function og(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function rg(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Px=class extends ud{constructor(e=null,i,n){super(_x(i),yx(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ys(i)&&(i.nonNullable||i.initialValueIsDefault)&&(rg(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){og(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){og(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){rg(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Ax={provide:qo,useExisting:Gn(()=>Zo)},sg=Promise.resolve(),Zo=(()=>{let e=class e extends qo{constructor(n,o,r,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Px,this._registered=!1,this.name="",this.update=new x,this._parent=n,this._setValidators(o),this._setAsyncValidators(r),this.valueAccessor=Tx(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Sx(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){xx(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){sg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let o=n.isDisabled.currentValue,r=o!==0&&D(o);sg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?wx(n,this._parent):[n]}};e.\u0275fac=function(o){return new(o||e)(y(cd,9),y(dx,10),y(ux,10),y(qs,10),y(xt,8),y(hg,8))},e.\u0275dir=q({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"],options:[b.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[K([Ax]),B,$e]});let t=e;return t})();var Fx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({});let t=e;return t})();var Qs=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:hg,useValue:n.callSetDisabledState??md}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({imports:[Fx]});let t=e;return t})();var Nx=["content"],jx=["scroll"],Rx=["padding"],Cg=["*"],Qo=t=>({searchTerm:t});function Lx(t,e){if(t&1&&(m(0,"div",6),pt(1,7),f()),t&2){let i=h();d(),p("ngTemplateOutlet",i.headerTemplate)("ngTemplateOutletContext",ke(2,Qo,i.filterValue))}}function Vx(t,e){if(t&1&&(m(0,"div",8),pt(1,7),f()),t&2){let i=h();d(),p("ngTemplateOutlet",i.footerTemplate)("ngTemplateOutletContext",ke(2,Qo,i.filterValue))}}var Bx=["searchInput"],zx=["clearButton"],Hx=(t,e,i)=>({item:t,clear:e,label:i}),$x=(t,e)=>({items:t,clear:e}),Ux=(t,e,i,n)=>({item:t,item$:e,index:i,searchTerm:n});function Wx(t,e){if(t&1){let i=F();m(0,"span",22),_("click",function(){M(i);let o=h().$implicit,r=h(2);return I(r.unselect(o))}),E(1,"\xD7"),f(),O(2,"span",23)}if(t&2){let i=h().$implicit,n=h(2);d(2),p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function Gx(t,e){}function qx(t,e){if(t&1&&(m(0,"div",20),w(1,Wx,3,2,"ng-template",null,1,wt)(3,Gx,0,0,"ng-template",21),f()),t&2){let i=e.$implicit,n=Ke(2),o=h(2);ie("ng-value-disabled",i.disabled),d(3),p("ngTemplateOutlet",o.labelTemplate||n)("ngTemplateOutletContext",st(4,Hx,i.value,o.clearItem,i.label))}}function Zx(t,e){if(t&1&&(ut(0),w(1,qx,4,8,"div",19),mt()),t&2){let i=h();d(),p("ngForOf",i.selectedItems)("ngForTrackBy",i.trackByOption)}}function Yx(t,e){}function Qx(t,e){if(t&1&&w(0,Yx,0,0,"ng-template",21),t&2){let i=h();p("ngTemplateOutlet",i.multiLabelTemplate)("ngTemplateOutletContext",et(2,$x,i.selectedValues,i.clearItem))}}function Kx(t,e){t&1&&O(0,"div",25)}function Xx(t,e){}function Jx(t,e){if(t&1&&(ut(0),w(1,Kx,1,0,"ng-template",null,2,wt)(3,Xx,0,0,"ng-template",24),mt()),t&2){let i=Ke(2),n=h();d(3),p("ngTemplateOutlet",n.loadingSpinnerTemplate||i)}}function e1(t,e){if(t&1&&(m(0,"span",26,3)(2,"span",27),E(3,"\xD7"),f()()),t&2){let i=h();ge("title",i.clearAllText)}}function t1(t,e){if(t&1&&O(0,"span",32),t&2){let i=h().$implicit,n=h(2);p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function n1(t,e){}function i1(t,e){if(t&1){let i=F();m(0,"div",31),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r.toggleItem(o))})("mouseover",function(){let o=M(i).$implicit,r=h(2);return I(r.onItemHover(o))}),w(1,t1,1,2,"ng-template",null,4,wt)(3,n1,0,0,"ng-template",21),f()}if(t&2){let i=e.$implicit,n=Ke(2),o=h(2);ie("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===o.itemsList.markedItem),H("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId),d(3),p("ngTemplateOutlet",i.children?o.optgroupTemplate||n:o.optionTemplate||n)("ngTemplateOutletContext",Tf(17,Ux,i.value,i,i.index,o.searchTerm))}}function o1(t,e){if(t&1&&(m(0,"span")(1,"span",34),E(2),f(),E(3),f()),t&2){let i=h(3);d(2),oe(i.addTagText),d(),z('"',i.searchTerm,'"')}}function r1(t,e){}function s1(t,e){if(t&1){let i=F();m(0,"div",33),_("mouseover",function(){M(i);let o=h(2);return I(o.itemsList.unmarkItem())})("click",function(){M(i);let o=h(2);return I(o.selectTag())}),w(1,o1,4,2,"ng-template",null,5,wt)(3,r1,0,0,"ng-template",21),f()}if(t&2){let i=Ke(2),n=h(2);ie("ng-option-marked",!n.itemsList.markedItem),d(3),p("ngTemplateOutlet",n.tagTemplate||i)("ngTemplateOutletContext",ke(4,Qo,n.searchTerm))}}function a1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=h(3);d(),oe(i.notFoundText)}}function l1(t,e){}function c1(t,e){if(t&1&&(ut(0),w(1,a1,2,1,"ng-template",null,6,wt)(3,l1,0,0,"ng-template",21),mt()),t&2){let i=Ke(2),n=h(2);d(3),p("ngTemplateOutlet",n.notFoundTemplate||i)("ngTemplateOutletContext",ke(2,Qo,n.searchTerm))}}function d1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=h(3);d(),oe(i.typeToSearchText)}}function u1(t,e){}function m1(t,e){if(t&1&&(ut(0),w(1,d1,2,1,"ng-template",null,7,wt)(3,u1,0,0,"ng-template",24),mt()),t&2){let i=Ke(2),n=h(2);d(3),p("ngTemplateOutlet",n.typeToSearchTemplate||i)}}function p1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=h(3);d(),oe(i.loadingText)}}function f1(t,e){}function g1(t,e){if(t&1&&(ut(0),w(1,p1,2,1,"ng-template",null,8,wt)(3,f1,0,0,"ng-template",21),mt()),t&2){let i=Ke(2),n=h(2);d(3),p("ngTemplateOutlet",n.loadingTextTemplate||i)("ngTemplateOutletContext",ke(2,Qo,n.searchTerm))}}function h1(t,e){if(t&1){let i=F();m(0,"ng-dropdown-panel",28),_("update",function(o){M(i);let r=h();return I(r.viewPortItems=o)})("scroll",function(o){M(i);let r=h();return I(r.scroll.emit(o))})("scrollToEnd",function(o){M(i);let r=h();return I(r.scrollToEnd.emit(o))})("outsideClick",function(){M(i);let o=h();return I(o.close())}),ut(1),w(2,i1,4,22,"div",29)(3,s1,4,6,"div",30),mt(),w(4,c1,4,4,"ng-container",12)(5,m1,4,1,"ng-container",12)(6,g1,4,4,"ng-container",12),f()}if(t&2){let i=h();ie("ng-select-multiple",i.multiple),p("virtualScroll",i.virtualScroll)("bufferAmount",i.bufferAmount)("appendTo",i.appendTo)("position",i.dropdownPosition)("headerTemplate",i.headerTemplate)("footerTemplate",i.footerTemplate)("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("markedItem",i.itemsList.markedItem)("ngClass",i.appendTo?i.classes:null)("id",i.dropdownId),d(2),p("ngForOf",i.viewPortItems)("ngForTrackBy",i.trackByOption),d(),p("ngIf",i.showAddTag),d(),p("ngIf",i.showNoItemsFound()),d(),p("ngIf",i.showTypeToSearch()),d(),p("ngIf",i.loading&&i.itemsList.filteredItems.length===0)}}var wg=/[&<>"']/g,b1=RegExp(wg.source),_1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function v1(t){return t&&b1.test(t)?t.replace(wg,e=>_1[e]):t}function Ve(t){return t!=null}function Yo(t){return typeof t=="object"&&Ve(t)}function y1(t){return t instanceof Promise}function Xs(t){return t instanceof Function}var C1=(()=>{let e=class e{constructor(n){this.element=n,this.escape=!0}ngOnChanges(n){this.element.nativeElement.innerHTML=this.escape?v1(this.ngItemLabel):this.ngItemLabel}};e.\u0275fac=function(o){return new(o||e)(y(se))},e.\u0275dir=q({type:e,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[$e]});let t=e;return t})(),w1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-option-tmp",""]]});let t=e;return t})(),x1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-optgroup-tmp",""]]});let t=e;return t})(),D1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-label-tmp",""]]});let t=e;return t})(),M1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-multi-label-tmp",""]]});let t=e;return t})(),I1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-header-tmp",""]]});let t=e;return t})(),E1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-footer-tmp",""]]});let t=e;return t})(),k1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-notfound-tmp",""]]});let t=e;return t})(),S1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-typetosearch-tmp",""]]});let t=e;return t})(),O1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-loadingtext-tmp",""]]});let t=e;return t})(),T1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-tag-tmp",""]]});let t=e;return t})(),P1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","ng-loadingspinner-tmp",""]]});let t=e;return t})();function xg(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var A1={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Ks(t){let e=i=>A1[i]||i;return t.replace(/[^\u0000-\u007E]/g,e)}var pd=class{constructor(e,i){this._ngSelect=e,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let e=this.selectedItems.length-1;for(;e>=0;e--){let i=this.selectedItems[e];if(!i.disabled)return i}return null}setItems(e){this._items=e.map((i,n)=>this.mapItem(i,n)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(e){if(e.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple;i||this.clearSelected(),this._selectionModel.select(e,i,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}unselect(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ve(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}findItem(e){let i;return this._ngSelect.compareWith?i=n=>this._ngSelect.compareWith(n.value,e):this._ngSelect.bindValue?i=n=>!n.children&&this.resolveNested(n.value,this._ngSelect.bindValue)===e:i=n=>n.value===e||!n.children&&n.label&&n.label===this.resolveNested(e,this._ngSelect.bindLabel),this._items.find(n=>i(n))}addItem(e){let i=this.mapItem(e,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(e=!1){this._selectionModel.clear(e),this._items.forEach(i=>{i.selected=e&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(e){return e=Ks(e).toLocaleLowerCase(),this.filteredItems.find(i=>Ks(i.label).toLocaleLowerCase().substr(0,e.length)===e)}filter(e){if(!e){this.resetFilteredItems();return}this._filteredItems=[],e=this._ngSelect.searchFn?e:Ks(e).toLocaleLowerCase();let i=this._ngSelect.searchFn||this._defaultSearchFn,n=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(n&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;i(e,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(e=>!e.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(e){this._markedIndex=this._filteredItems.indexOf(e)}markSelectedOrDefault(e){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=e?this.filteredItems.findIndex(n=>!n.disabled):-1}resolveNested(e,i){if(!Yo(e))return e;if(i.indexOf(".")===-1)return e[i];{let n=i.split("."),o=e;for(let r=0,s=n.length;r<s;++r){if(o==null)return null;o=o[n[r]]}return o}}mapItem(e,i){let n=Ve(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),o=Ve(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:i,label:Ve(n)?n.toString():"",value:o,disabled:e.disabled,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let e=this._ngSelect.multiple;for(let i of this.selectedItems){let n=this._ngSelect.bindValue?this.resolveNested(i.value,this._ngSelect.bindValue):i.value,o=Ve(n)?this.findItem(n):null;this._selectionModel.unselect(i,e),this._selectionModel.select(o||i,e,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(e){if(this._filteredItems.push(e),e.parent){let i=e.parent;this._filteredItems.find(o=>o===i)||this._filteredItems.push(i)}else if(e.children)for(let i of e.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,n)=>i.index-n.index)]}_hideSelected(e){this._filteredItems=this._filteredItems.filter(i=>i!==e),e.parent?e.parent.children.every(n=>n.selected)&&(this._filteredItems=this._filteredItems.filter(n=>n!==e.parent)):e.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==e))}_defaultSearchFn(e,i){return Ks(i.label).toLocaleLowerCase().indexOf(e)>-1}_getNextItemIndex(e){return e>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(e){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}_groupBy(e,i){let n=new Map;if(e.length===0)return n;if(Array.isArray(e[0].value[i])){for(let s of e){let a=(s.value[i]||[]).map((l,c)=>this.mapItem(l,c));n.set(s,a)}return n}let o=Xs(this._ngSelect.groupBy),r=s=>{let a=o?i(s.value):s.value[i];return Ve(a)?a:void 0};for(let s of e){let a=r(s),l=n.get(a);l?l.push(s):n.set(a,[s])}return n}_flatten(e){let i=Xs(this._ngSelect.groupBy),n=[];for(let o of Array.from(e.keys())){let r=n.length;if(o===void 0){let g=e.get(void 0)||[];n.push(...g.map(v=>(v.index=r++,v)));continue}let s=Yo(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:xg()},l=i?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),u=e.get(o).map(g=>(g.parent=a,g.children=void 0,g.index=r++,g));a.children=u,a.value=c(o,u.map(g=>g.value)),n.push(a),n.push(...u)}return n}},Qt=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(Qt||{}),Dg=(()=>{let e=class e{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(n,o,r){let s=this._dimensions,a=s.itemHeight*o,c=Math.max(0,n)/a*o,u=Math.min(o,Math.ceil(c)+(s.itemsPerViewport+1)),v=Math.max(0,u-s.itemsPerViewport),C=Math.min(v,Math.floor(c)),T=s.itemHeight*Math.ceil(C)-s.itemHeight*Math.min(C,r);return T=isNaN(T)?0:T,C=isNaN(C)?-1:C,u=isNaN(u)?-1:u,C-=r,C=Math.max(0,C),u+=r,u=Math.min(o,u),{topPadding:T,scrollHeight:a,start:C,end:u}}setDimensions(n,o){let r=Math.max(1,Math.floor(o/n));this._dimensions={itemHeight:n,panelHeight:o,itemsPerViewport:r}}getScrollTo(n,o,r){let{panelHeight:s}=this.dimensions,a=n+o,l=r,c=l+s;return s>=a&&r===n?null:a>c?l+a-c:n<=l?n:null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac});let t=e;return t})(),vg=["top","right","bottom","left"],F1=typeof requestAnimationFrame<"u"?La:Ra,yg=(()=>{let e=class e{constructor(n,o,r,s,a){this._renderer=n,this._zone=o,this._panelService=r,this._document=a,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new x,this.scroll=new x,this.scrollToEnd=new x,this.outsideClick=new x,this._destroy$=new ye,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=s.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(n){n!==this._itemsLength&&(this._itemsLength=n,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:n,panelHeight:o}=this._panelService.dimensions,r=this.markedItem.index*n;return o>r?0:r}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(n){if(n.items){let o=n.items;this._onItemsChange(o.currentValue,o.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(n,o=!1){if(!n)return;let r=this.items.indexOf(n);if(r<0||r>=this.itemsLength)return;let s;if(this.virtualScroll){let a=this._panelService.dimensions.itemHeight;s=this._panelService.getScrollTo(r*a,a,this._lastScrollPosition)}else{let a=this._dropdown.querySelector(`#${n.htmlId}`),l=o?a.offsetTop:this._lastScrollPosition;s=this._panelService.getScrollTo(a.offsetTop,a.clientHeight,l)}Ve(s)&&(this._scrollablePanel.scrollTop=s)}scrollToTag(){let n=this._scrollablePanel;n.scrollTop=n.scrollHeight-n.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),vg.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(n){vg.forEach(r=>{let s=`ng-select-${r}`;this._renderer.removeClass(this._dropdown,s),this._renderer.removeClass(this._select,s)});let o=`ng-select-${n}`;this._renderer.addClass(this._dropdown,o),this._renderer.addClass(this._select,o)}_handleScroll(){this._zone.runOutsideAngular(()=>{cn(this.scrollElementRef.nativeElement,"scroll").pipe(ct(this._destroy$),za(0,F1)).subscribe(n=>{let o=n.path||n.composedPath&&n.composedPath();if(!o||o.length===0&&!n.target)return;let r=!o||o.length===0?n.target.scrollTop:o[0].scrollTop;this._onContentScrolled(r)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Jt(cn(this._document,"touchstart",{capture:!0}),cn(this._document,"mousedown",{capture:!0})).pipe(ct(this._destroy$)).subscribe(n=>this._checkToClose(n))})}_checkToClose(n){if(this._select.contains(n.target)||this._dropdown.contains(n.target))return;let o=n.path||n.composedPath&&n.composedPath();n.target&&n.target.shadowRoot&&o&&o[0]&&this._select.contains(o[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(n,o){this.items=n||[],this._scrollToEndFired=!1,this.itemsLength=n.length,this.virtualScroll?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(n){this.update.emit(this.items),n!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let o=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,o),this._handleDropdownPosition(),this.scrollTo(this.markedItem,n)})})}_updateItemsRange(n){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{n?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(n){this.virtualScroll&&this._renderItemsRange(n),this._lastScrollPosition=n,this._fireScrollToEnd(n)}_updateVirtualHeight(n){this._updateScrollHeight&&(this._virtualPadding.style.height=`${n}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(n=null){if(n&&this._lastScrollPosition===n)return;n=n||this._scrollablePanel.scrollTop;let o=this._panelService.calculateItems(n,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(o.scrollHeight),this._contentPanel.style.transform=`translateY(${o.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(o.start,o.end)),this.scroll.emit({start:o.start,end:o.end})}),Ve(n)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=n,this._lastScrollPosition=n)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[n]=this.items;return this.update.emit([n]),Promise.resolve().then(()=>{let r=this._dropdown.querySelector(`#${n.htmlId}`).clientHeight;this._virtualPadding.style.height=`${r*this.itemsLength}px`;let s=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(r,s),this._panelService.dimensions})}_fireScrollToEnd(n){if(this._scrollToEndFired||n===0)return;let o=this.virtualScroll?this._virtualPadding:this._contentPanel;n+this._dropdown.clientHeight>=o.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(n){if(this.position!=="auto")return this.position;let o=this._select.getBoundingClientRect(),r=document.documentElement.scrollTop||document.body.scrollTop,s=o.top+window.pageYOffset,a=o.height,l=n.getBoundingClientRect().height;return s+a+l>r+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.left-o.left;this._dropdown.style.left=r+"px",this._dropdown.style.width=n.width+"px",this._dropdown.style.minWidth=n.width+"px"}_updateYPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.height;if(this._currentPosition==="top"){let s=o.bottom-n.bottom;this._dropdown.style.bottom=s+r+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let s=n.top-o.top;this._dropdown.style.top=s+r+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{cn(this._dropdown,"mousedown").pipe(ct(this._destroy$)).subscribe(n=>{n.target.tagName!=="INPUT"&&n.preventDefault()})})}};e.\u0275fac=function(o){return new(o||e)(y(rn),y(Ce),y(Dg),y(se),y(Ze,8))},e.\u0275cmp=k({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(o,r){if(o&1&&(gt(Nx,7,se),gt(jx,7,se),gt(Rx,7,se)),o&2){let s;Ie(s=Ee())&&(r.contentElementRef=s.first),Ie(s=Ee())&&(r.scrollElementRef=s.first),Ie(s=Ee())&&(r.paddingElementRef=s.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[$e],ngContentSelectors:Cg,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(o,r){o&1&&(Ue(),w(0,Lx,2,4,"div",3),m(1,"div",4,0),O(3,"div",null,1),m(5,"div",null,2),Pe(7),f()(),w(8,Vx,2,4,"div",5)),o&2&&(p("ngIf",r.headerTemplate),d(3),ie("total-padding",r.virtualScroll),d(2),ie("scrollable-content",r.virtualScroll&&r.items.length),d(3),p("ngIf",r.footerTemplate))},dependencies:[Le,Qn],encapsulation:2,changeDetection:0});let t=e;return t})(),Ko=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){this._disabled=this._isDisabled(n)}constructor(n){this.elementRef=n,this.stateChange$=new ye,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(n){n.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(n){return n!=null&&`${n}`!="false"}};e.\u0275fac=function(o){return new(o||e)(y(se))},e.\u0275cmp=k({type:e,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[$e],ngContentSelectors:Cg,decls:1,vars:0,template:function(o,r){o&1&&(Ue(),Pe(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),N1=(()=>{let e=class e{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),j1=(()=>{let e=class e{warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mg=new U("ng-select-selection-model"),Js=(()=>{let e=class e{get items(){return this._items}set items(n){n===null&&(n=[]),this._itemsAreUsed=!0,this._items=n}get compareWith(){return this._compareWith}set compareWith(n){if(n!=null&&!Xs(n))throw Error("`compareWith` must be a function.");this._compareWith=n}get clearSearchOnAdd(){return Ve(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ve(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(n){this._clearSearchOnAdd=n}get deselectOnClick(){return Ve(this._deselectOnClick)?this._deselectOnClick:Ve(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(n){this._deselectOnClick=n}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(n,o,r,s,a,l,c){this.classes=n,this.autoFocus=o,this.config=r,this._cd=l,this._console=c,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=u=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new x,this.focusEvent=new x,this.changeEvent=new x,this.openEvent=new x,this.closeEvent=new x,this.searchEvent=new x,this.clearEvent=new x,this.addEvent=new x,this.removeEvent=new x,this.scroll=new x,this.scrollToEnd=new x,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=xg(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ye,this._keyPress$=new ye,this._onChange=u=>{},this._onTouched=()=>{},this.clearItem=u=>{let g=this.selectedItems.find(v=>v.value===u);this.unselect(g)},this.trackByOption=(u,g)=>this.trackByFn?this.trackByFn(g.value):g,this._mergeGlobalConfig(r),this.itemsList=new pd(this,s()),this.element=a.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(n=>n.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(n){n.multiple&&this.itemsList.clearSelected(),n.items&&this._setItems(n.items.currentValue||[]),n.isOpen&&(this._manualOpen=Ve(n.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ve(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(n){if(Qt[n.which]){if(this.keyDownFn(n)===!1)return;this.handleKeyCode(n)}else n.key&&n.key.length===1&&this._keyPress$.next(n.key.toLocaleLowerCase())}handleKeyCode(n){let o=n.target;this.clearButton&&this.clearButton.nativeElement===o?this.handleKeyCodeClear(n):this.handleKeyCodeInput(n)}handleKeyCodeInput(n){switch(n.which){case Qt.ArrowDown:this._handleArrowDown(n);break;case Qt.ArrowUp:this._handleArrowUp(n);break;case Qt.Space:this._handleSpace(n);break;case Qt.Enter:this._handleEnter(n);break;case Qt.Tab:this._handleTab(n);break;case Qt.Esc:this.close(),n.preventDefault();break;case Qt.Backspace:this._handleBackspace();break}}handleKeyCodeClear(n){switch(n.which){case Qt.Enter:this.handleClearClick(),n.preventDefault();break}}handleMousedown(n){let o=n.target;if(o.tagName!=="INPUT"&&n.preventDefault(),o.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(o.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}o.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(n){this.itemsList.clearSelected(),this._handleWriteValue(n),this._cd.markForCheck()}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this._disabled=n,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(n){!n||n.disabled||this.disabled||(this.deselectOnClick&&n.selected?this.unselect(n):this.select(n),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(n){n.selected||(this.itemsList.select(n),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(n.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(n){n&&(this.itemsList.unselect(n),this.focus(),this._updateNgModel(),this.removeEvent.emit(n.value))}selectTag(){let n;Xs(this.addTag)?n=this.addTag(this.searchTerm):n=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let o=r=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(r,null):this.itemsList.addItem(r);y1(n)?n.then(r=>this.select(o(r))).catch(()=>{}):n&&this.select(o(n))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;let n=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(o=>o.label.toLowerCase()===n)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(o=>o.label.toLowerCase()===n))&&!this.loading}showNoItemsFound(){let n=this.itemsList.filteredItems.length===0;return(n&&!this._isTypeahead&&!this.loading||n&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(n){this._isComposing=!1,!this.searchWhileComposing&&this.filter(n)}filter(n){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=n,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(n),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:n,items:this.itemsList.filteredItems.map(o=>o.value)}),this.open())}onInputFocus(n){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(n),this.focused=!0)}onInputBlur(n){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(n),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(n){n.disabled||this.itemsList.markItem(n)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let n=this.selectedItems&&this.selectedItems[0];this.searchTerm=n&&n.label||null}_setItems(n){let o=n[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ve(o)?!Yo(o):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(n),n.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ve(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let n=r=>{this.items=r.map(s=>({$ngOptionValue:s.value,$ngOptionLabel:s.elementRef.nativeElement.innerHTML,disabled:s.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},o=()=>{let r=Jt(this.ngOptions.changes,this._destroy$);Jt(...this.ngOptions.map(s=>s.stateChange$)).pipe(ct(r)).subscribe(s=>{let a=this.itemsList.findItem(s.value);a.disabled=s.disabled,a.label=s.label||a.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(mo(this.ngOptions),ct(this._destroy$)).subscribe(r=>{this.bindLabel=this._defaultLabel,n(r),o()})}_isValidWriteValue(n){if(!Ve(n)||this.multiple&&n===""||Array.isArray(n)&&n.length===0)return!1;let o=r=>!Ve(this.compareWith)&&Yo(r)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(r)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(n)?n.every(r=>o(r)):(this._console.warn("Multiple select ngModel should be array."),!1):o(n)}_handleWriteValue(n){if(!this._isValidWriteValue(n))return;let o=r=>{let s=this.itemsList.findItem(r);if(s)this.itemsList.select(s);else{let a=Yo(r),l=!a&&!this.bindValue;a||l?this.itemsList.select(this.itemsList.mapItem(r,null)):this.bindValue&&(s={[this.bindLabel]:null,[this.bindValue]:r},this.itemsList.select(this.itemsList.mapItem(s,null)))}};this.multiple?n.forEach(r=>o(r)):o(n)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(ct(this._destroy$),Rr(n=>this._pressedKeys.push(n)),mi(200),Nn(()=>this._pressedKeys.length>0),ze(()=>this._pressedKeys.join(""))).subscribe(n=>{let o=this.itemsList.findByLabel(n);o&&(this.isOpen?(this.itemsList.markItem(o),this._scrollToMarked(),this._cd.markForCheck()):this.select(o)),this._pressedKeys=[]})}_setInputAttributes(){let n=this.searchInput.nativeElement,o=ce({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let r of Object.keys(o))n.setAttribute(r,o[r])}_updateNgModel(){let n=[];for(let r of this.selectedItems)if(this.bindValue){let s=null;if(r.children){let a=this.groupValue?this.bindValue:this.groupBy;s=r.value[a||this.groupBy]}else s=this.itemsList.resolveNested(r.value,this.bindValue);n.push(s)}else n.push(r.value);let o=this.selectedItems.map(r=>r.value);this.multiple?(this._onChange(n),this.changeEvent.emit(o)):(this._onChange(Ve(n[0])?n[0]:null),this.changeEvent.emit(o[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(n){this.searchTerm=n,this._isTypeahead&&this.typeahead.next(n)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(n){if(this.isOpen===!1){if(this.showClear())this.focusOnClear(),n.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),n.preventDefault()):this.showAddTag?(this.selectTag(),n.preventDefault()):this.close():this.close()}_handleEnter(n){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;n.preventDefault()}_handleSpace(n){this.isOpen||this._manualOpen||(this.open(),n.preventDefault())}_handleArrowDown(n){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),n.preventDefault()}_handleArrowUp(n){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),n.preventDefault())}_nextItemIsTag(n){let o=this.itemsList.markedIndex+n;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(o<0||o===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let n=this.searchTerm&&this.searchTerm.trim();return n&&n.length>=this.minTermLength}_mergeGlobalConfig(n){this.placeholder=this.placeholder||n.placeholder,this.notFoundText=this.notFoundText||n.notFoundText,this.typeToSearchText=this.typeToSearchText||n.typeToSearchText,this.addTagText=this.addTagText||n.addTagText,this.loadingText=this.loadingText||n.loadingText,this.clearAllText=this.clearAllText||n.clearAllText,this.virtualScroll=Ve(this.virtualScroll)?this.virtualScroll:Ve(n.disableVirtualScroll)?!n.disableVirtualScroll:!1,this.openOnEnter=Ve(this.openOnEnter)?this.openOnEnter:n.openOnEnter,this.appendTo=this.appendTo||n.appendTo,this.bindValue=this.bindValue||n.bindValue,this.bindLabel=this.bindLabel||n.bindLabel,this.appearance=this.appearance||n.appearance}};e.\u0275fac=function(o){return new(o||e)(Pi("class"),Pi("autofocus"),y(N1),y(Mg),y(se),y(xt),y(j1))},e.\u0275cmp=k({type:e,selectors:[["ng-select"]],contentQueries:function(o,r,s){if(o&1&&(ft(s,w1,5,_e),ft(s,x1,5,_e),ft(s,D1,5,_e),ft(s,M1,5,_e),ft(s,I1,5,_e),ft(s,E1,5,_e),ft(s,k1,5,_e),ft(s,S1,5,_e),ft(s,O1,5,_e),ft(s,T1,5,_e),ft(s,P1,5,_e),ft(s,Ko,5)),o&2){let a;Ie(a=Ee())&&(r.optionTemplate=a.first),Ie(a=Ee())&&(r.optgroupTemplate=a.first),Ie(a=Ee())&&(r.labelTemplate=a.first),Ie(a=Ee())&&(r.multiLabelTemplate=a.first),Ie(a=Ee())&&(r.headerTemplate=a.first),Ie(a=Ee())&&(r.footerTemplate=a.first),Ie(a=Ee())&&(r.notFoundTemplate=a.first),Ie(a=Ee())&&(r.typeToSearchTemplate=a.first),Ie(a=Ee())&&(r.loadingTextTemplate=a.first),Ie(a=Ee())&&(r.tagTemplate=a.first),Ie(a=Ee())&&(r.loadingSpinnerTemplate=a.first),Ie(a=Ee())&&(r.ngOptions=a)}},viewQuery:function(o,r){if(o&1&&(gt(yg,5),gt(Bx,7),gt(zx,5)),o&2){let s;Ie(s=Ee())&&(r.dropdownPanel=s.first),Ie(s=Ee())&&(r.searchInput=s.first),Ie(s=Ee())&&(r.clearButton=s.first)}},hostVars:20,hostBindings:function(o,r){o&1&&_("keydown",function(a){return r.handleKeyDown(a)}),o&2&&ie("ng-select-typeahead",r.typeahead)("ng-select-multiple",r.multiple)("ng-select-taggable",r.addTag)("ng-select-searchable",r.searchable)("ng-select-clearable",r.clearable)("ng-select-opened",r.isOpen)("ng-select",r.useDefaultClass)("ng-select-disabled",r.disabled)("ng-select-filtered",r.filtered)("ng-select-single",r.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[K([{provide:qs,useExisting:Gn(()=>e),multi:!0},Dg]),$e],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(o,r){if(o&1){let s=F();m(0,"div",9),_("mousedown",function(l){return M(s),I(r.handleMousedown(l))}),m(1,"div",10)(2,"div",11),E(3),f(),w(4,Zx,2,2,"ng-container",12)(5,Qx,1,5,null,12),m(6,"div",13)(7,"input",14,0),_("input",function(){M(s);let l=Ke(8);return I(r.filter(l.value))})("compositionstart",function(){return M(s),I(r.onCompositionStart())})("compositionend",function(){M(s);let l=Ke(8);return I(r.onCompositionEnd(l.value))})("focus",function(l){return M(s),I(r.onInputFocus(l))})("blur",function(l){return M(s),I(r.onInputBlur(l))})("change",function(l){return M(s),I(l.stopPropagation())}),f()()(),w(9,Jx,4,1,"ng-container",12)(10,e1,4,1,"span",15),m(11,"span",16),O(12,"span",17),f()(),w(13,h1,7,19,"ng-dropdown-panel",18)}o&2&&(ie("ng-appearance-outline",r.appearance==="outline")("ng-has-value",r.hasValue),d(3),oe(r.placeholder),d(),p("ngIf",(!r.multiLabelTemplate||!r.multiple)&&r.selectedItems.length>0),d(),p("ngIf",r.multiple&&r.multiLabelTemplate&&r.selectedValues.length>0),d(),H("aria-expanded",r.isOpen)("aria-owns",r.isOpen?r.dropdownId:null),d(),p("readOnly",!r.searchable||r.itemsList.maxItemsSelected)("disabled",r.disabled)("value",r.searchTerm?r.searchTerm:""),H("id",r.labelForId)("tabindex",r.tabIndex)("aria-activedescendant",r.isOpen?r.itemsList==null||r.itemsList.markedItem==null?null:r.itemsList.markedItem.htmlId:null)("aria-controls",r.isOpen?r.dropdownId:null),d(2),p("ngIf",r.loading),d(),p("ngIf",r.showClear()),d(3),p("ngIf",r.isOpen))},dependencies:[X,ve,Le,Qn,yg,C1],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
8
- `],encapsulation:2,changeDetection:0});let t=e;return t})();function R1(){return new fd}var fd=class{constructor(){this._selected=[]}get value(){return this._selected}select(e,i,n){if(e.selected=!0,(!e.children||!i&&n)&&this._selected.push(e),i)if(e.parent){let o=e.parent.children.length,r=e.parent.children.filter(s=>s.selected).length;e.parent.selected=o===r}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),n&&this._activeChildren(e)?this._selected=[...this._selected.filter(o=>o.parent!==e),e]:this._selected=[...this._selected,...e.children.filter(o=>!o.disabled)])}unselect(e,i){if(this._selected=this._selected.filter(n=>n!==e),e.selected=!1,i)if(e.parent&&e.parent.selected){let n=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),this._selected.push(...n.filter(o=>o!==e&&!o.disabled)),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))}clear(e){this._selected=e?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(e,i){for(let n of e)n.disabled||(n.selected=i)}_removeChildren(e){this._selected=[...this._selected.filter(i=>i.parent!==e),...e.children.filter(i=>i.parent===e&&i.disabled&&i.selected)]}_removeParent(e){this._selected=this._selected.filter(i=>i!==e)}_activeChildren(e){return e.children.every(i=>!i.disabled||i.selected)}},ea=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({providers:[{provide:Mg,useValue:R1}],imports:[N]});let t=e;return t})();var zi=class{},Eg=(()=>{class t extends zi{getTranslation(i){return lt({})}static \u0275fac=(()=>{let i;return function(o){return(i||(i=rt(t)))(o||t)}})();static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),Kn=class{},kg=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})();function ta(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,o,r,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((o=t.length)==e.length){for(r=0;r<o;r++)if(!ta(t[r],e[r]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(r in t){if(!ta(t[r],e[r]))return!1;s[r]=!0}for(r in e)if(!(r in s)&&typeof e[r]<"u")return!1;return!0}return!1}function Cn(t){return typeof t<"u"&&t!==null}function gd(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Tg(t,e){let i=Object.assign({},t);return gd(t)&&gd(e)&&Object.keys(e).forEach(n=>{gd(e[n])?n in t?i[n]=Tg(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var Hi=class{},Sg=(()=>{class t extends Hi{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let o;return typeof i=="string"?o=this.interpolateString(i,n):typeof i=="function"?o=this.interpolateFunction(i,n):o=i,o}getValue(i,n){let o=typeof n=="string"?n.split("."):[n];n="";do n+=o.shift(),Cn(i)&&Cn(i[n])&&(typeof i[n]=="object"||!o.length)?(i=i[n],n=""):o.length?n+=".":i=void 0;while(o.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(n,r);return Cn(s)?s:o}):i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=rt(t)))(o||t)}})();static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),$i=class{},Og=(()=>{class t extends $i{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=rt(t)))(o||t)}})();static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),na=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new x;onLangChange=new x;onDefaultLangChange=new x},hd=new U("USE_STORE"),bd=new U("USE_DEFAULT_LANG"),_d=new U("DEFAULT_LANGUAGE"),vd=new U("USE_EXTEND"),P=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new x;_onLangChange=new x;_onDefaultLangChange=new x;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,o,r,s,a=!0,l=!1,c=!1,u){this.store=i,this.currentLoader=n,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(It(1)).subscribe(o=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return lt(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(It(1)).subscribe(o=>{this.changeLang(i)}),n):(this.changeLang(i),lt(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(jr(1),It(1));return this.loadingTranslations=n.pipe(ze(o=>this.compiler.compileTranslations(o,i)),jr(1),It(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[i]=this.extend&&this.translations[i]?ce(ce({},o),this.translations[i]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),n}setTranslation(i,n,o=!1){n=this.compiler.compileTranslations(n,i),(o||this.extend)&&this.translations[i]?this.translations[i]=Tg(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,o){let r;if(n instanceof Array){let s={},a=!1;for(let l of n)s[l]=this.getParsedResult(i,l,o),Mt(s[l])&&(a=!0);if(a){let l=n.map(c=>Mt(s[c])?s[c]:lt(s[c]));return co(l).pipe(ze(c=>{let u={};return c.forEach((g,v)=>{u[n[v]]=g}),u}))}return s}if(i&&(r=this.parser.interpolate(this.parser.getValue(i,n),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),o)),typeof r>"u"){let s={key:n,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:n}get(i,n){if(!Cn(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Ha(o=>(o=this.getParsedResult(o,i,n),Mt(o)?o:lt(o))));{let o=this.getParsedResult(this.translations[this.currentLang],i,n);return Mt(o)?o:lt(o)}}getStreamOnTranslationChange(i,n){if(!Cn(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Nr(()=>this.get(i,n)),this.onTranslationChange.pipe(pi(o=>{let r=this.getParsedResult(o.translations,i,n);return typeof r.subscribe=="function"?r:lt(r)})))}stream(i,n){if(!Cn(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Nr(()=>this.get(i,n)),this.onLangChange.pipe(pi(o=>{let r=this.getParsedResult(o.translations,i,n);return Mt(r)?r:lt(r)})))}instant(i,n){if(!Cn(i)||!i.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],i,n);if(Mt(o)){if(i instanceof Array){let r={};return i.forEach((s,a)=>{r[i[a]]=i[a]}),r}return i}else return o}set(i,n,o=this.currentLang){this.translations[o][i]=this.compiler.compile(n,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(j(na),j(zi),j($i),j(Hi),j(Kn),j(bd),j(hd),j(vd),j(_d))};static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})();var xe=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,o){let r=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,i,n);Mt(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(i,n).subscribe(r)}transform(i,...n){if(!i||!i.length)return i;if(ta(i,this.lastKey)&&ta(n,this.lastParams))return this.value;let o;if(Cn(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let r=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(o=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(y(P,16),y(xt,16))};static \u0275pipe=To({name:"translate",type:t,pure:!1});static \u0275prov=G({token:t,factory:t.\u0275fac})}return t})(),te=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:zi,useClass:Eg},i.compiler||{provide:$i,useClass:Og},i.parser||{provide:Hi,useClass:Sg},i.missingTranslationHandler||{provide:Kn,useClass:kg},na,{provide:hd,useValue:i.isolate},{provide:bd,useValue:i.useDefaultLang},{provide:vd,useValue:i.extend},{provide:_d,useValue:i.defaultLanguage},P]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:zi,useClass:Eg},i.compiler||{provide:$i,useClass:Og},i.parser||{provide:Hi,useClass:Sg},i.missingTranslationHandler||{provide:Kn,useClass:kg},{provide:hd,useValue:i.isolate},{provide:bd,useValue:i.useDefaultLang},{provide:vd,useValue:i.extend},{provide:_d,useValue:i.defaultLanguage},P]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Te({type:t});static \u0275inj=Oe({})}return t})();var ne=(()=>{let e=class e{constructor(n){this.translateService=n,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(n){this._selectedLanguage=n,this.translateService.use(n);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(o){console.error(o)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(n){this._localizedStrings=n,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,n)}catch(o){console.error(o)}}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[K([P]),S],decls:2,vars:0,template:function(o,r){o&1&&(m(0,"p"),E(1," localized widget works! "),f())},dependencies:[N,te],encapsulation:3});let t=e;return t})();var L1=["*"];function V1(t,e){if(t&1&&(m(0,"div",1)(1,"div",3)(2,"span"),E(3),f()()()),t&2){let i=h();d(3),oe(i.header)}}var Ui=(()=>{let e=class e{constructor(){this.header=""}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:"header"},standalone:!0,features:[S],ngContentSelectors:L1,decls:4,vars:1,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-header__title"]],template:function(o,r){o&1&&(Ue(),m(0,"div",0),w(1,V1,4,1,"div",1),m(2,"div",2),Pe(3),f()()),o&2&&(d(),Q(1,r.header?1:-1))},styles:[`.sidenav-drawer-header{width:100%;background-color:#f5f5f5cc;transition:background-color .7s;display:inline-block}.sidenav-drawer-header__title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.sidenav-drawer-content-offset{margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content{width:100%;height:100%}
9
- `],encapsulation:2});let t=e;return t})();function B1(t,e){if(t&1){let i=F();ut(0),m(1,"button",2),_("click",function(){let o=M(i).$implicit,r=h();return I(r._buttonClicked(o))}),E(2),f(),mt()}if(t&2){let i=e.$implicit,n=e.last,o=e.first;d(),ie("last",n)("first",o)("primary-button",i.buttonStyle===void 0||i.buttonStyle==="primary")("secondary-button",i.buttonStyle==="secondary")("text-button",i.buttonType===void 0||i.buttonType==="text")("icon-button",i.buttonType==="icon")("combined-button",i.buttonType==="combined")("disabled",i.disabled===!0),ge("title",i.tooltip),d(),z(" ",i.title," ")}}var ia=(()=>{let e=class e extends ne{constructor(){super(...arguments),this._items=new Array,this.buttonClicked=new x}get items(){return this._items}set items(n){this._items=n}_buttonClicked(n){n.disabled||this.buttonClicked.emit({id:n.id})}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-buttons-row"]],inputs:{items:"items"},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[B,S],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],[3,"click","title"]],template:function(o,r){o&1&&(m(0,"div",0),w(1,B1,3,18,"ng-container",1),f()),o&2&&(d(),p("ngForOf",r._items))},dependencies:[ve],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--button--color, #fe5000);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--button-button-text-color, white);background-color:var(--button--color, #fe5000);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--button-color-hover, #eb4b00);color:var(--button-button-text-color, white);background-color:var(--button-color-hover, #eb4b00);outline:0}.button-row>.primary-button.disabled{border-color:var(--button-color-disabled, #bababa);color:var(--button-button-text-color, white);background-color:var(--button-color-disabled, #bababa);cursor:default}
10
- `],encapsulation:3});let t=e;return t})();var z1=[[["lib-expansion-panel-header"]],"*"],H1=["lib-expansion-panel-header","*"],wn=(()=>{let e=class e{constructor(){this.expanded=!0}toggleExpand(){this.expanded=!this.expanded}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel"]],inputs:{expanded:"expanded"},standalone:!0,features:[S],ngContentSelectors:H1,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],[1,"expansion-panel-expander-icon",3,"click","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(o,r){o&1&&(Ue(z1),m(0,"div",0)(1,"div",1)(2,"div",2),_("click",function(){return r.toggleExpand()}),f(),m(3,"div",3),Pe(4),f()(),m(5,"div",4),Pe(6,1),f()()),o&2&&(d(2),p("ngClass",r.expanded?"open":"closed"),d(3),p("ngClass",r.expanded?"":"collapsed"))},dependencies:[N,X],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./media/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./media/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']});let t=e;return t})();var $1=["*",[["lib-expansion-panel-header-actions"]]],U1=["*","lib-expansion-panel-header-actions"],xn=(()=>{let e=class e{constructor(){this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(o,r){o&2&&ie("expansion-panel-header-container",r.centerMenuButtonClass)},standalone:!0,features:[S],ngContentSelectors:U1,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(o,r){o&1&&(Ue($1),m(0,"div",0),Pe(1),f(),m(2,"div"),Pe(3,1),f())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.expansion-panel-header-container{display:flex;width:100%}
11
- `],encapsulation:2});let t=e;return t})();var W1=["*"],Wi=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel-header-actions"]],standalone:!0,features:[S],ngContentSelectors:W1,decls:1,vars:0,template:function(o,r){o&1&&(Ue(),Pe(0))}});let t=e;return t})();function G1(t,e){if(t&1&&(m(0,"div",1),E(1),f()),t&2){let i=h();d(),z(" ",i.message,`
12
- `)}}var Pg=(()=>{let e=class e{constructor(){this.message=""}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-text-message"]],inputs:{message:"message"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","message",4,"ngIf"],[1,"message"]],template:function(o,r){o&1&&w(0,G1,2,1,"div",0),o&2&&p("ngIf",r.message)},dependencies:[N,Le],styles:[".message[_ngcontent-%COMP%]{background-color:var(--bkg-color, transparent);color:var(--text-color, #444444);padding:.7rem;border:.2rem solid var(--text-color, #444444);border-radius:.5rem;margin-top:var(--text-message-margin, 2.4rem);margin-bottom:var(--text-message-margin, 2.4rem);font-size:var(--font-size, 1.3rem)}"]});let t=e;return t})();var oa=(()=>{let e=class e{set activeStep(n){this._activeStep=n,this.activeStepChange.next(this._activeStep)}get activeStep(){return this._activeStep}constructor(){this._activeStep=0,this.activeStepChange=new ye}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Fg=(t,e,i)=>({visible:t,invisible:e,semivisible:i}),Ng=t=>({visible:t}),q1=(t,e)=>({visible:t,invisible:e});function Z1(t,e){if(t&1){let i=F();m(0,"div",11)(1,"div",12),_("dblclick",function(){let o=M(i).$implicit,r=h(3);return I(r.doubleClickedResult.emit(o))}),E(2),f(),m(3,"div",7),R(4,"translate"),_("click",function(){let o=M(i).$implicit,r=h(3);return I(r.toggleVisibilityResult.emit(o))}),f()()}if(t&2){let i=e.$implicit;d(),p("ngClass",ke(9,Ng,i.isVisible))("title",i.name),H("data-test","result"+i.id),d(),z(" ",i.name," "),d(),p("ngClass",et(11,q1,i.isVisible,!i.isVisible))("title",L(4,7,"_Toggle visibility")),H("data-test","toggle_visibility_result_"+i.id)}}function Y1(t,e){if(t&1){let i=F();m(0,"div")(1,"lib-expansion-panel",3)(2,"lib-expansion-panel-header")(3,"span",9),_("dblclick",function(){let o=M(i).$implicit,r=h(2);return I(r.doubleClickedResultList.emit(o))}),E(4),f(),m(5,"lib-expansion-panel-header-actions")(6,"div",7),R(7,"translate"),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r.toggleVisibilityResultList.emit(o))}),f()()(),w(8,Z1,5,14,"div",10),f()()}if(t&2){let i=e.$implicit,n=h(2);d(),p("expanded",n.expandedResultTrees),d(2),Me("color",i.colorHexCode),p("ngClass",ke(13,Ng,i.isVisible))("title",i.name+" ("+i.results.length+")"),d(),vn(" ",i.name," (",i.results.length,") "),d(2),p("ngClass",st(15,Fg,i.isVisible,!i.isVisible,i.isSemiVisible))("title",L(7,11,"_Toggle visibility")),H("data-test","toggle_visibility_resultlist_"+i.id),d(2),p("ngForOf",i.results)}}function Q1(t,e){if(t&1){let i=F();m(0,"lib-expansion-panel",3)(1,"lib-expansion-panel-header",5),_("dblclick",function(){M(i);let o=h();return I(o.doubleClickedResultsRoot.emit(o.results))}),m(2,"span",6),E(3),f(),m(4,"lib-expansion-panel-header-actions")(5,"div",7),R(6,"translate"),_("click",function(){M(i);let o=h();return I(o.toggleVisibilityResultsRoot.emit(o.results))}),f()()(),w(7,Y1,9,19,"div",8),f()}if(t&2){let i=h();p("expanded",i.expandedTreeRoot),d(),p("title",i.resultTreeRootTitle?i.resultTreeRootTitle:i.results.name+" ("+i.totalResults()+")"),d(2),vn("",i.results.name," (",i.totalResults(),")"),d(2),p("ngClass",st(10,Fg,i.results.isVisible,!i.results.isVisible,i.results.isSemiVisible))("title",L(6,8,"_Toggle visibility")),H("data-test","toggle_visibility_results"),d(2),p("ngForOf",i.results==null?null:i.results.resultList)}}function K1(t,e){if(t&1&&O(0,"lib-bimplus-text-message",15),t&2){let i=h(2);p("message",i.successMessage)}}function X1(t,e){if(t&1&&O(0,"lib-bimplus-text-message",16),t&2){let i=h(2);p("message",i.errorMessage)}}function J1(t,e){if(t&1&&w(0,K1,1,1,"lib-bimplus-text-message",13)(1,X1,1,1,"lib-bimplus-text-message",14),t&2){let i=h();p("ngIf",i.successMessage),d(),p("ngIf",i.errorMessage)}}var jg=(()=>{let e=class e extends ne{constructor(n,o){super(n),this.connectionDesignerService=o,this.buttonRowItems=[],this.errorMessage="",this.successMessage="",this.doneClicked=new x,this.resultTreeRootTitle="",this.resultTreeRootName="",this.expandedTreeRoot=!1,this.expandedResultTrees=!1,this.results=null,this.toggleVisibilityResultsRoot=new x,this.toggleVisibilityResultList=new x,this.toggleVisibilityResult=new x,this.doubleClickedResultsRoot=new x,this.doubleClickedResultList=new x,this.doubleClickedResult=new x}ngOnInit(){this.buttonRowItems=[{id:"done",title:this.translateService.instant("_Done"),tooltip:this.translateService.instant("_Done"),disabled:!1,buttonStyle:"primary"}]}buttonClicked(n){n.id==="done"&&(this.connectionDesignerService.activeStep=0,this.doneClicked.emit())}totalResults(){let n=0;if(!this.results)return n;for(let o of this.results.resultList)n+=o.results.length;return n}};e.\u0275fac=function(o){return new(o||e)(y(P),y(oa))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-connection-designer-results"]],inputs:{errorMessage:"errorMessage",successMessage:"successMessage",resultTreeRootTitle:"resultTreeRootTitle",resultTreeRootName:"resultTreeRootName",expandedTreeRoot:"expandedTreeRoot",expandedResultTrees:"expandedResultTrees",results:"results"},outputs:{doneClicked:"doneClicked",toggleVisibilityResultsRoot:"toggleVisibilityResultsRoot",toggleVisibilityResultList:"toggleVisibilityResultList",toggleVisibilityResult:"toggleVisibilityResult",doubleClickedResultsRoot:"doubleClickedResultsRoot",doubleClickedResultList:"doubleClickedResultList",doubleClickedResult:"doubleClickedResult"},standalone:!0,features:[K([P]),B,S],decls:10,vars:8,consts:[[1,"connection-designer-content-result"],[1,"title"],[1,"description"],[1,"project-navigator-model-panel",3,"expanded"],[3,"buttonClicked","items"],[3,"dblclick","title"],[1,"project-navigator-root-node"],[1,"ui-icon-checkbox-slider","project-navigator-action-buttons",3,"click","ngClass","title"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"dblclick","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"dblclick","ngClass","title"],["class","success-message",3,"message",4,"ngIf"],["class","error-message",3,"message",4,"ngIf"],[1,"success-message",3,"message"],[1,"error-message",3,"message"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1),E(2),R(3,"translate"),f(),m(4,"div",2),E(5),R(6,"translate"),f(),w(7,Q1,8,14,"lib-expansion-panel",3)(8,J1,2,2),m(9,"lib-bimplus-buttons-row",4),_("buttonClicked",function(a){return r.buttonClicked(a)}),f()()),o&2&&(d(2),z(" ",L(3,4,"_Connection_Designer_results_title")," "),d(3),z(" ",L(6,6,"_Connection_Designer_results_description")," "),d(2),Q(7,r.results!==null?7:8),d(2),p("items",r.buttonRowItems))},dependencies:[te,xe,N,X,ve,Le,ia,wn,xn,Wi,Pg],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem #fe5000;color:#fff;background-color:#fe5000;cursor:pointer}.primary-button:hover{border:solid .2rem #eb4b00;color:#fff;background-color:#eb4b00;outline:0}.primary-button.disabled{border:solid .2rem #bababa;color:#fff;background-color:#bababa;cursor:default}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;background-color:var(--bkg-color, transparent);color:var(--default-default-text-color, #444444);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}.connection-designer-content-result{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);display:flex;flex-direction:column}.connection-designer-content-result>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content-result>.title{padding-bottom:1rem;font-weight:700}.connection-designer-content-result>.description{padding-bottom:1rem}lib-expansion-panel{--expansion-panel-content-container-padding-left: var(--tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions{display:flex;flex-direction:row}lib-expansion-panel-header{max-width:100%;flex:1}.project-navigator-action-buttons{width:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--action-icon-size, 1.8rem) var(--action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node{line-height:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);padding-left:var(--tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node{text-transform:var(--tree-root-node-text-transform, uppercase);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);font-weight:var(--tree-root-node-font-weight, 700);font-size:var(--tree-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);max-width:100%}lib-bimplus-text-message.success-message{--text-color: #006400}lib-bimplus-text-message.error-message{--text-color: #b71c1c}
13
- `],encapsulation:3});let t=e;return t})();var eD=[[["lib-bimplus-connection-designer-results"]]],tD=["lib-bimplus-connection-designer-results"];function nD(t,e){if(t&1&&(m(0,"ng-option",11),E(1),f()),t&2){let i=e.$implicit;p("value",i),d(),oe(i.name)}}function iD(t,e){if(t&1){let i=F();m(0,"div",7)(1,"ng-select",9),R(2,"translate"),Yn("ngModelChange",function(o){M(i);let r=h(2);return Ri(r.activeDesignCode,o)||(r.activeDesignCode=o),I(o)}),w(3,nD,2,2,"ng-option",10),f()()}if(t&2){let i=h(2);d(),Zn("ngModel",i.activeDesignCode),p("clearable",!1)("searchable",!1)("placeholder",L(2,5,i.chooseCode)),d(2),p("ngForOf",i.designCodes)}}function oD(t,e){t&1&&(m(0,"div",12),E(1),R(2,"translate"),f()),t&2&&(d(),z(" ",L(2,1,"_No_design_codes_defined")," "))}function rD(t,e){if(t&1){let i=F();m(0,"div",2)(1,"div",3),_("click",function(){M(i);let o=h();return I(o.resetDesignCode())}),f()(),m(2,"div",4),E(3),R(4,"translate"),f(),m(5,"div",5),E(6),R(7,"translate"),f(),m(8,"div",6),E(9),R(10,"translate"),f(),w(11,iD,4,7,"div",7)(12,oD,3,3),m(13,"lib-bimplus-buttons-row",8),_("buttonClicked",function(o){M(i);let r=h();return I(r.buttonClicked(o))}),f()}if(t&2){let i=h();d(3),z(" ",L(4,5,"_Select_the_code")," "),d(3),z(" ",L(7,7,"_Activate_all_objects_to_make_a_connection")," "),d(3),z(" ",L(10,9,"_Activate_all_objects_note")," "),d(2),Q(11,i.designCodes.length>0?11:12),d(2),p("items",i.buttonRowItems)}}function sD(t,e){t&1&&Pe(0)}var Rg=(()=>{let e=class e extends ne{constructor(n,o){super(n),this.connectionDesignerService=o,this.buttonRowItems=[],this.config=[],this.chooseCode="_Choose_a_design_code",this.designCodes=[{id:"0",name:"EN 1993-1-1 (Eurocode 3)"},{id:"1",name:"AISC 360-22 (16th Ed.): LRFD"},{id:"2",name:"AISC 360-22 (16th Ed.): ASD"},{id:"3",name:"CSA S16:19 (CISC 12th Ed.)"}],this.currentDesignCode=null,this.designCodeChanged=new x,this._calculationCanBeStarted=!0,this.startCalculationClicked=new x,o.activeStepChange.subscribe(r=>{r===0&&this.resetDesignCode()})}ngOnInit(){this.config.push({id:"next",title:this.translateService.instant("_Next"),tooltip:this.translateService.instant("_Next"),disabled:!0,buttonStyle:"primary"}),this.buttonRowItems=this.config}set activeDesignCode(n){this.currentDesignCode=n,this.designCodeChanged.emit(this.currentDesignCode)}get activeDesignCode(){return this.currentDesignCode}_updateButtonState(n,o){let r=this.config.find(s=>s.id===n);r&&(r.disabled=o)}set calculationCanBeStarted(n){this._calculationCanBeStarted=n,this._updateButtonState("next",!n)}get calculationCanBeStarted(){return this._calculationCanBeStarted}buttonClicked(n){n.id==="next"&&(this.connectionDesignerService.activeStep=1,this._calculationCanBeStarted&&this.startCalculationClicked.emit())}resetDesignCode(){this.activeDesignCode=null}};e.\u0275fac=function(o){return new(o||e)(y(P),y(oa))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-connection-designer"]],inputs:{designCodes:"designCodes",currentDesignCode:"currentDesignCode",calculationCanBeStarted:"calculationCanBeStarted"},outputs:{designCodeChanged:"designCodeChanged",startCalculationClicked:"startCalculationClicked"},standalone:!0,features:[K([P]),B,S],ngContentSelectors:tD,decls:5,vars:4,consts:[[3,"header"],[1,"connection-designer-content"],[1,"cross-button"],[1,"cross",3,"click"],[1,"title"],[1,"description"],[1,"note"],[1,"design-codes"],[3,"buttonClicked","items"],[1,"design-codes-dropdown",3,"ngModelChange","ngModel","clearable","searchable","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"no-design-codes"]],template:function(o,r){o&1&&(Ue(eD),m(0,"lib-bimplus-sidenav-drawer-content",0),R(1,"translate"),m(2,"div",1),w(3,rD,14,11)(4,sD,1,0),f()()),o&2&&(p("header",L(1,2,"_Connection_designer")),d(3),Q(3,r.connectionDesignerService.activeStep===0?3:4))},dependencies:[N,ve,Qs,Zs,Zo,ea,Js,Ko,te,xe,Ui,ia],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem #fe5000;color:#fff;background-color:#fe5000;cursor:pointer}.primary-button:hover{border:solid .2rem #eb4b00;color:#fff;background-color:#eb4b00;outline:0}.primary-button.disabled{border:solid .2rem #bababa;color:#fff;background-color:#bababa;cursor:default}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;color:var(--project-models-color, #444444);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);margin:1.4rem 2.2rem;display:flex;flex-direction:column}.connection-designer-content>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content>.cross-button{display:flex;flex-direction:row;justify-content:right;width:100%;height:1.6rem}.connection-designer-content>.cross-button>.cross{min-width:1.6rem;min-height:100%;background-image:url("./media/bimplus_WebIcons_Cross.svg");background-repeat:no-repeat;background-position:center center;background-size:cover;cursor:pointer}.connection-designer-content>.title{padding-bottom:1rem;font-weight:700}.connection-designer-content>.description{padding-bottom:1rem}.connection-designer-content>.note{padding-bottom:1rem}.connection-designer-content>.design-codes{padding-bottom:1rem;margin-bottom:.1rem;height:2.4rem}.connection-designer-content>.design-codes>.design-codes-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.connection-designer-content>.no-design-codes{display:block;width:100%;color:#bababa;text-align:left;padding-bottom:.8rem}
14
- `],encapsulation:3});let t=e;return t})();function ae(t,e,i=null){if(!e){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let n="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;n&&typeof n[e]=="function"&&n[e]({detail:i});let o=t;e in o&&o[e].emit(i)}var Lg=(()=>{let e=class e extends ne{constructor(n){super(n),this.bimplusContactClicked=new x}_contactClicked(){ae(this,"bimplusContactClicked","contact")}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},standalone:!0,features:[K([P]),B,S],decls:3,vars:3,consts:[["href","https://www.allplan.com/consulting-sale","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(o,r){o&1&&(m(0,"a",0),R(1,"translate"),_("click",function(){return r._contactClicked()}),O(2,"div",1),f()),o&2&&p("title",L(1,1,"_BimplusContactTitle"))},dependencies:[N,te,xe],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./media/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
15
- `],encapsulation:3});let t=e;return t})();var Dn=(()=>{let e=class e{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new x,this.clicked=new x}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX,r=n.clientY-this.oldY;if(!this.isDragging)if(Math.abs(o)>2||Math.abs(r)>2)this.isDragging=!0,this.wasDragging=!0;else return;ae(this,"dragging",[o,r]),this.oldX=n.clientX,this.oldY=n.clientY}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX,this.oldY=n.clientY}onMouseClick(n){this.wasDragging||ae(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=q({type:e,selectors:[["","libDraggable",""]],hostBindings:function(o,r){o&1&&_("mousemove",function(a){return r.onMouseMove(a)},!1,hn)("mouseup",function(a){return r.onMouseUp(a)},!1,hn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();var Gi=(()=>{let e=class e{constructor(){this.isCollapsed=!1,this.dragElement=new x,this.draggerIcon="ui-icon-drag"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed"},outputs:{dragElement:"dragElement"},standalone:!0,features:[S],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragging","ngClass","className"]],template:function(o,r){o&1&&(m(0,"div",0),_("dragging",function(a){return r.dragElement.emit(a)}),f()),o&2&&p("ngClass",r.isCollapsed?"collapsed":"")("className",r.draggerIcon)},dependencies:[N,X,Dn],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./media/ic_drag.svg")}']});let t=e;return t})();var aD=t=>({active:t});function lD(t,e){if(t&1){let i=F();m(0,"div")(1,"div",3),R(2,"translate"),_("click",function(){let o=M(i).$implicit,r=h();return I(r.onItemClicked(o.buttonId))}),f()()}if(t&2){let i=e.$implicit;d(),p("ngClass",ke(6,aD,i.active))("className",i.iconClass)("title",L(2,4,i.title)),H("data-test","floating_bar_item_"+i.buttonId)}}var qi=(()=>{let e=class e extends ne{constructor(n){super(n),this.isCollapsed=!1,this.actionClicked=new x,this.dragElement=new x,this._items=new Array}get items(){return this._items}set items(n){this._items=n}findItemById(n){return this._items.find(o=>o.buttonId===n)}onItemClicked(n){let o=this.findItemById(n);!o||o?.disabled||this.actionClicked.emit(n)}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",items:"items"},outputs:{actionClicked:"actionClicked",dragElement:"dragElement"},standalone:!0,features:[K([P]),B,S],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","ngClass","className","title"]],template:function(o,r){o&1&&(m(0,"div",0),_("dragging",function(a){return r.dragElement.emit(a)}),m(1,"div",1),w(2,lD,3,8,"div",2),f()()),o&2&&(p("ngClass",r.isCollapsed?"hidden":""),d(2),p("ngForOf",r.items))},dependencies:[N,X,ve,Dn,te,xe],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./media/ic_eye_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./media/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuNormal_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuClipped_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuHidden_orange.svg")}']});let t=e;return t})();var Zi=(()=>{let e=class e extends ne{constructor(n){super(n),this.icon="",this.isCollapsed=!1,this.title="",this.logoClicked=new x,this.dragElement=new x}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(o,r){o&2&&ie("isCollapsed",r.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",title:"title"},outputs:{logoClicked:"logoClicked",dragElement:"dragElement"},standalone:!0,features:[K([P]),B,S],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragging","ngClass","className","title"]],template:function(o,r){o&1&&(m(0,"div",0),R(1,"translate"),_("clicked",function(a){return r.logoClicked.emit(a)})("dragging",function(a){return r.dragElement.emit(a)}),f()),o&2&&p("ngClass",r.isCollapsed?"collapsed":"")("className",r.icon)("title",L(1,3,r.title))},dependencies:[N,X,Dn,te,xe],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']});let t=e;return t})();var cD=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],dD=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],Yi=(()=>{let e=class e extends ne{constructor(n){super(n),this.noBody=!1,this.isCollapsed=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible"},standalone:!0,features:[B,S],ngContentSelectors:dD,decls:5,vars:8,consts:[[1,"floating-panel"]],template:function(o,r){o&1&&(Ue(cD),m(0,"div",0),Pe(1),Pe(2,1),Pe(3,2),Pe(4,3),f()),o&2&&ie("visible",r.isVisible)("no-body",r.noBody)("is-focused",r.isFocused)("collapsed",r.isCollapsed)},dependencies:[N],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']});let t=e;return t})();var Vg=(()=>{let e=class e extends ne{constructor(){super(...arguments),this.actionClicked=new x,this.noBody=!0,this.isCollapsed=!1,this.isFocused=!0,this.items=[],this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.left=300,this.top=600}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-hide-objects"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",items:"items",left:"left",top:"top"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[K([P]),B,S],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","icon","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","dragElement","selectedLanguage","localizedStrings","items","isCollapsed"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),_("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(a){return r.actionClicked.emit(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(3,"lib-bimplus-floating-bar-dragger",3),_("dragElement",function(a){return r.onDragElement(a)}),f()()),o&2&&(p("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("icon",r.icon)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("items",r.items)("isCollapsed",r.isCollapsed),d(),p("isCollapsed",r.isCollapsed))},dependencies:[N,Yi,Gi,qi,Zi,te],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
16
- `],encapsulation:3});let t=e;return t})();var Bg=(()=>{let e=class e extends ne{constructor(){super(...arguments),this.actionClicked=new x,this.noBody=!0,this.isCollapsed=!1,this.isFocused=!0,this.items=[],this.left=200,this.top=600,this.icon="ui-icon-isolation-menu",this.title="",this.focusSelectorId="isolation-menu-id"}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-isolation-objects"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",items:"items",left:"left",top:"top"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[K([P]),B,S],decls:4,vars:17,consts:[["id","isolation-menu-fp-id",1,"isolation-menu",3,"noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","icon","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","dragElement","items","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),_("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(a){return r.actionClicked.emit(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(3,"lib-bimplus-floating-bar-dragger",3),_("dragElement",function(a){return r.onDragElement(a)}),f()()),o&2&&(p("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("icon",r.icon)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("items",r.items)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("isCollapsed",r.isCollapsed))},dependencies:[N,Yi,Gi,qi,Zi,te],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
17
- `],encapsulation:3});let t=e;return t})();var uD=["*"],zg=(()=>{let e=class e extends ne{constructor(n){super(n),this.isCollapsed=!1}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed"},standalone:!0,features:[B,S],ngContentSelectors:uD,decls:2,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(o,r){o&1&&(Ue(),m(0,"div",0),Pe(1),f()),o&2&&p("ngClass",r.isCollapsed?"hidden":"")},dependencies:[N,X,te]});let t=e;return t})();var Hg=t=>({visible:t}),mD=(t,e,i)=>({opaque:t,transparent:e,semiopaque:i}),pD=(t,e,i)=>({visible:t,invisible:e,semivisible:i}),fD=(t,e)=>({opaque:t,transparent:e}),gD=(t,e)=>({visible:t,invisible:e});function hD(t,e){if(t&1){let i=F();m(0,"div",8)(1,"div",9),R(2,"translate"),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r.clickedLayer.emit(o))}),E(3),R(4,"translate"),f(),m(5,"div",5),R(6,"translate"),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r.toggleOpacityOfLayer.emit(o))}),f(),m(7,"div",6),R(8,"translate"),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r.toggleVisibilityOfLayer.emit(o))}),f()()}if(t&2){let i=e.$implicit;d(),p("ngClass",ke(18,Hg,i.isVisible))("title",L(2,10,i.name)),H("data-test","floating_bar_layer"+i.id),d(2),z(" ",L(4,12,i.name)," "),d(2),p("ngClass",et(20,fD,i.isOpaque,!i.isOpaque))("title",L(6,14,"_Toggle opacity")),H("data-test","toggle_opacity_layer_"+i.id),d(2),p("ngClass",et(23,gD,i.isVisible,!i.isVisible))("title",L(8,16,"_Toggle visibility")),H("data-test","toggle_visibility_layer_"+i.id)}}function bD(t,e){if(t&1){let i=F();m(0,"div")(1,"lib-expansion-panel",0)(2,"lib-expansion-panel-header")(3,"span",4),_("click",function(){let o=M(i).$implicit,r=h();return I(r.clickedModel.emit(o))}),E(4),f(),m(5,"lib-expansion-panel-header-actions")(6,"div",5),R(7,"translate"),_("click",function(){let o=M(i).$implicit,r=h();return I(r.toggleOpacityOfModel.emit(o))}),f(),m(8,"div",6),R(9,"translate"),_("click",function(){let o=M(i).$implicit,r=h();return I(r.toggleVisibilityOfModel.emit(o))}),f()()(),w(10,hD,9,26,"div",7),f()()}if(t&2){let i=e.$implicit,n=h();d(),p("expanded",n.expandedModels),d(2),p("ngClass",ke(15,Hg,i.isVisible))("title",i.name),d(),z("",i.name," "),d(2),p("ngClass",st(17,mD,i.isOpaque,!i.isOpaque,i.isSemiOpaque))("title",L(7,11,"_Toggle opacity")),H("data-test","toggle_opacity_model_"+i.id),d(2),p("ngClass",st(21,pD,i.isVisible,!i.isVisible,i.isSemiVisible))("title",L(9,13,"_Toggle visibility")),H("data-test","toggle_visibility_model_"+i.id),d(2),p("ngForOf",i.layers)}}var $g=(()=>{let e=class e extends ne{constructor(n){super(n),this.modelTreeRootTitle="_Divisions",this.modelTreeRootName="_Divisions",this.expandedModelTree=!1,this.expandedModels=!1,this.models=[],this.clickedModel=new x,this.clickedLayer=new x,this.toggleOpacityOfModel=new x,this.toggleOpacityOfLayer=new x,this.toggleVisibilityOfModel=new x,this.toggleVisibilityOfLayer=new x}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-project-models"]],inputs:{modelTreeRootTitle:"modelTreeRootTitle",modelTreeRootName:"modelTreeRootName",expandedModelTree:"expandedModelTree",expandedModels:"expandedModels",models:"models"},outputs:{clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[B,S],decls:7,vars:6,consts:[[1,"project-navigator-model-panel",3,"expanded"],[3,"title"],[1,"project-navigator-root-node"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"click","ngClass","title"],[1,"ui-icon-transparency","project-navigator-action-buttons",3,"click","ngClass","title"],[1,"ui-icon-visibility","project-navigator-action-buttons",3,"click","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","ngClass","title"]],template:function(o,r){o&1&&(m(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header",1)(2,"span",2),E(3),R(4,"translate"),f(),O(5,"lib-expansion-panel-header-actions"),f(),w(6,bD,11,25,"div",3),f()),o&2&&(p("expanded",r.expandedModelTree),d(),p("title",r.modelTreeRootTitle),d(2),oe(L(4,4,r.modelTreeRootName)),d(3),p("ngForOf",r.models))},dependencies:[N,X,ve,wn,xn,Wi,te,xe],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}[_nghost-%COMP%]{background-color:var(--project-models-bkg-color, transparent);color:var(--project-models-color, #444444);font-family:var(--project-models-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--project-models-font-size, 1.3rem);font-weight:400}lib-expansion-panel[_ngcontent-%COMP%]{--expansion-panel-content-container-padding-left: var(--project-models-tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row}lib-expansion-panel-header[_ngcontent-%COMP%]{max-width:100%;flex:1}.project-navigator-action-buttons[_ngcontent-%COMP%]{width:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--project-models-action-icon-size, 1.8rem) var(--project-models-action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node[_ngcontent-%COMP%]{line-height:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);padding-left:var(--project-models-tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name[_ngcontent-%COMP%]{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node[_ngcontent-%COMP%]{text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);font-weight:var(--project-models-root-node-font-weight, 700);font-size:var(--project-models-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);max-width:100%}']});let t=e;return t})();var Ug=(()=>{let e=class e{constructor(){this.isPanelToolbarVisible=!1}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-panel-toolbar"]],inputs:{isPanelToolbarVisible:"isPanelToolbarVisible"},standalone:!0,features:[S],decls:1,vars:1,consts:[[1,"panel-toolbar",3,"ngClass"]],template:function(o,r){o&1&&O(0,"div",0),o&2&&p("ngClass",r.isPanelToolbarVisible?"":"hidden")},dependencies:[N,X],styles:[".panel-toolbar[_ngcontent-%COMP%]{height:3.2rem;display:flex;align-items:flex-end;padding-left:.8rem;flex-shrink:0}.panel-toolbar[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-toolbar[_ngcontent-%COMP%] .tab-icons-container[_ngcontent-%COMP%]{width:95%}.underline-switcher__containerbox[_ngcontent-%COMP%], .underline-switcher__container[_ngcontent-%COMP%]{width:100%}"]});let t=e;return t})();var Wg=(()=>{let e=class e extends ne{constructor(n){super(n),this.noBody=!1,this.isCollapsed=!1,this.left=600,this.top=600,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.items=[],this.actionClicked=new x,this.isPanelToolbarVisible=!1,this.expandedModelTree=!1,this.expandedModels=!1,this.project={id:"",name:"",teamSlug:"",models:[]},this.clickedModel=new x,this.clickedLayer=new x,this.toggleOpacityOfModel=new x,this.toggleOpacityOfLayer=new x,this.toggleVisibilityOfModel=new x,this.toggleVisibilityOfLayer=new x}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-project-navigator"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",left:"left",top:"top",items:"items",isPanelToolbarVisible:"isPanelToolbarVisible",expandedModelTree:"expandedModelTree",expandedModels:"expandedModels",project:"project"},outputs:{actionClicked:"actionClicked",clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[K([P]),B,S],decls:7,vars:24,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp","floating-panel",3,"selectedLanguage","localizedStrings","noBody","isCollapsed","resizeEnabled","isVisible"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","selectedLanguage","localizedStrings","icon","title","isCollapsed"],[1,"floating-bar-header-content",3,"actionClicked","dragElement","selectedLanguage","localizedStrings","items","isCollapsed"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"],[1,"floating-bar-body",3,"isCollapsed"],[3,"isPanelToolbarVisible"],[3,"clickedModel","clickedLayer","toggleOpacityOfModel","toggleOpacityOfLayer","toggleVisibilityOfModel","toggleVisibilityOfLayer","selectedLanguage","localizedStrings","models","modelTreeRootTitle","expandedModelTree","expandedModels"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),_("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(2,"lib-bimplus-floating-bar-header-content",2),_("actionClicked",function(a){return r.actionClicked.emit(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(3,"lib-bimplus-floating-bar-dragger",3),_("dragElement",function(a){return r.onDragElement(a)}),f(),m(4,"lib-bimplus-floating-bar-body",4),O(5,"lib-bimplus-panel-toolbar",5),m(6,"lib-project-models",6),_("clickedModel",function(a){return r.clickedModel.emit(a)})("clickedLayer",function(a){return r.clickedLayer.emit(a)})("toggleOpacityOfModel",function(a){return r.toggleOpacityOfModel.emit(a)})("toggleOpacityOfLayer",function(a){return r.toggleOpacityOfLayer.emit(a)})("toggleVisibilityOfModel",function(a){return r.toggleVisibilityOfModel.emit(a)})("toggleVisibilityOfLayer",function(a){return r.toggleVisibilityOfLayer.emit(a)}),f()()()),o&2&&(p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("noBody",r.noBody)("isCollapsed",r.isCollapsed)("resizeEnabled",!1)("isVisible",!0),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("icon",r.icon)("title",r.title)("isCollapsed",r.isCollapsed),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("items",r.items)("isCollapsed",r.isCollapsed),d(),p("isCollapsed",r.isCollapsed),d(),p("isCollapsed",r.isCollapsed),d(),p("isPanelToolbarVisible",r.isPanelToolbarVisible),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("models",r.project.models)("modelTreeRootTitle",r.project.name+" - "+r.project.teamSlug)("expandedModelTree",r.expandedModelTree)("expandedModels",r.expandedModels))},dependencies:[N,Yi,Gi,qi,Zi,zg,Ug,$g,te],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}lib-project-models{margin-right:1.4rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem #444444!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem #444444!important}.project-navigator-fp .bim-item-refresh{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;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
18
- `],encapsulation:3});let t=e;return t})();function _D(t,e){if(t&1){let i=F();m(0,"li",7),_("click",function(){let o=M(i).$implicit,r=h();return I(r._switchLanguage(o.symbol))}),m(1,"span"),E(2),f()()}if(t&2){let i=e.$implicit,n=h();p("ngClass",n.selectedLanguage===i.symbol?"selected":""),H("data-test","langmenu_item_"+i.text),d(2),oe(i.text)}}var Gg=(()=>{let e=class e{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new x}_switchLanguage(n){ae(this,"bimplusLanguageSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedLanguage:"selectedLanguage",expandUp:[b.HasDecoratorInputTransform,"expandUp","expandUp",D]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[fe,S],decls:7,vars:6,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),_("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),_("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),w(6,_D,3,3,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",r._menuOpened?"open":"")("ngClass",r.isTouch?"is-touch":""),d(4),p("ngClass",r._menuOpened?"open":"")("ngClass",r.expandUp?"expand-up":""),d(),p("ngForOf",r._languagesList))},dependencies:[N,X,ve],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:#555;background-color:#e7e7e7}.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:#777;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:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;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:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-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:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.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-languages{background:url("./media/bimplus_Components_Languages.svg") no-repeat center}
19
- `],encapsulation:3});let t=e;return t})();var qg=(t,e)=>e.id;function vD(t,e){if(t&1){let i=F();m(0,"div",4),R(1,"translate"),_("dblclick",function(o){M(i);let r=h(3);return I(r._menuItemIgnoreAction(o))})("click",function(o){M(i);let r=h().$implicit,s=h(2);return I(s._menuItemClicked(r,"normal",o))}),O(2,"div",5),m(3,"div",6),_("click",function(o){M(i);let r=h().$implicit,s=h(2);return I(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let i=h().$implicit,n=h(2);p("ngClass",n._getPrjItemClassAttributes(i,n.isTouch))("title",L(1,3,n._isDisabled(i)&&i.textIdDisabled?i.textIdDisabled:i.textId)),d(2),p("ngClass",n._getPrjIconClassAttributes(i))}}function yD(t,e){if(t&1&&w(0,vD,4,5,"div",3),t&2){let i=e.$implicit,n=h(2);Q(0,n._isHidden(i)?-1:0)}}function CD(t,e){if(t&1&&bn(0,yD,1,1,null,null,qg),t&2){let i=h();_n(i._menuPrjList)}}function wD(t,e){if(t&1){let i=F();m(0,"div",4),R(1,"translate"),_("dblclick",function(o){M(i);let r=h(3);return I(r._menuItemIgnoreAction(o))})("click",function(o){M(i);let r=h().$implicit,s=h(2);return I(s._menuItemClicked(r,"normal",o))}),O(2,"div",5),m(3,"div",6),_("click",function(o){M(i);let r=h().$implicit,s=h(2);return I(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let i=h().$implicit,n=h(2);p("ngClass",n._getPrjItemClassAttributes(i,n.isTouch))("title",L(1,3,n._isDisabled(i)&&i.textIdDisabled?i.textIdDisabled:i.textId)),d(2),p("ngClass",n._getPrjIconClassAttributes(i))}}function xD(t,e){if(t&1&&w(0,wD,4,5,"div",3),t&2){let i=e.$implicit,n=h(2);Q(0,!n._isHidden(i)&&(n.isCollapsed||i.action!=="processes")?0:-1)}}function DD(t,e){if(t&1&&bn(0,xD,1,1,null,null,qg),t&2){let i=h();_n(i._menuPrjList)}}function MD(t,e){t&1&&pt(0)}function ID(t,e){if(t&1&&w(0,MD,1,0,"ng-container",13),t&2){h(2);let i=Ke(1);p("ngTemplateOutlet",i)}}function ED(t,e){if(t&1&&(m(0,"div",7)(1,"div",8),O(2,"div",9),f(),m(3,"div",10),E(4),f()(),m(5,"div",11)(6,"div",12),w(7,ID,1,1,"ng-container"),f()()),t&2){let i=h();d(),p("ngStyle",i.prjImageOverlayStyle),d(),p("ngStyle",i.prjImageStyle),d(2),z(" ",i.projectName," "),d(),p("ngClass",i.showHorizontalMenuIcons?"":"hidden"),d(2),Q(7,i.showHorizontalMenuIcons?7:-1)}}function kD(t,e){t&1&&pt(0)}function SD(t,e){if(t&1&&w(0,kD,1,0,"ng-container",13),t&2){h(2);let i=Ke(3);p("ngTemplateOutlet",i)}}function OD(t,e){t&1&&pt(0)}function TD(t,e){if(t&1&&w(0,OD,1,0,"ng-container",13),t&2){h(2);let i=Ke(1);p("ngTemplateOutlet",i)}}function PD(t,e){if(t&1){let i=F();m(0,"a",14),R(1,"translate"),_("dblclick",function(){M(i);let o=h();return I(o._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){M(i);let o=h();return I(o._projectMenuItemClicked("prjimageclick","normal"))}),m(2,"div",15),O(3,"div",16),m(4,"div",17),w(5,SD,1,1,"ng-container"),f(),m(6,"div",18),E(7),f()()(),m(8,"div",11)(9,"div",12),w(10,TD,1,1,"ng-container"),f()()}if(t&2){let i=h();ge("href",i.projectExplorerUrl,Ro),p("ngStyle",i.prjImageOverlayStyle)("title",L(1,10,"_ModelThumbnailTooltip")),d(2),p("ngStyle",i.prjImageStyle),d(),p("ngClass",i.hideMenuIcons||i.showHorizontalMenuIcons?"hidden":""),d(),p("ngClass",i.hideMenuIcons||i.showHorizontalMenuIcons?"hidden":""),d(),Q(5,!i.hideMenuIcons&&!i.showHorizontalMenuIcons?5:-1),d(2),z(" ",i.projectName," "),d(),p("ngClass",i.showHorizontalMenuIcons?"":"hidden"),d(2),Q(10,i.showHorizontalMenuIcons?10:-1)}}var ra=(()=>{let e=class e extends ne{constructor(n){super(n),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.prjListThumbnail=[],this.prjList=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/images/bimplus_Components_Project_Pic_Default.png"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/images/bimplus_Components_Project_Pic_Default.png"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}_isHidden(n){if(n){let o=`${n.action?n.action:n.id}Visible`;return!this[o]}return!1}_isDisabled(n){if(n){let o=`${n.action?n.action:n.id}Disabled`;return!!this[o]}return!1}_projectMenuItemClicked(n,o){console.log(n,o)}_menuItemClicked(n,o,r){if(r&&(r.stopPropagation(),r.preventDefault()),console.log(n,o,r),o!="info"&&this._isDisabled(n))return;let s=n.action;ae(this,"bimplusProjectMenuClicked",{action:s,type:o})}_menuItemIgnoreAction(n){n&&(n.stopPropagation(),n.preventDefault())}_getPrjItemClassAttributes(n,o){return`${this._isDisabled(n)?"disabled":""} ${o?"":"hover-show-info"}`}_getPrjIconClassAttributes(n){return`${n.class} ${n.action===this.projectActiveItem?"active ":""} ${this._isDisabled(n)?"disabled":""}`}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[b.HasDecoratorInputTransform,"projectmembersDisabled","projectmembersDisabled",D],modelsDisabled:[b.HasDecoratorInputTransform,"modelsDisabled","modelsDisabled",D],documentsDisabled:[b.HasDecoratorInputTransform,"documentsDisabled","documentsDisabled",D],projectsettingsDisabled:[b.HasDecoratorInputTransform,"projectsettingsDisabled","projectsettingsDisabled",D],processesDisabled:[b.HasDecoratorInputTransform,"processesDisabled","processesDisabled",D],projectmembersVisible:[b.HasDecoratorInputTransform,"projectmembersVisible","projectmembersVisible",D],modelsVisible:[b.HasDecoratorInputTransform,"modelsVisible","modelsVisible",D],documentsVisible:[b.HasDecoratorInputTransform,"documentsVisible","documentsVisible",D],projectsettingsVisible:[b.HasDecoratorInputTransform,"projectsettingsVisible","projectsettingsVisible",D],processesVisible:[b.HasDecoratorInputTransform,"processesVisible","processesVisible",D],isCollapsed:[b.HasDecoratorInputTransform,"isCollapsed","isCollapsed",D],isMiniMode:[b.HasDecoratorInputTransform,"isMiniMode","isMiniMode",D],isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],hideMenuIcons:[b.HasDecoratorInputTransform,"hideMenuIcons","hideMenuIcons",D],showHorizontalMenuIcons:[b.HasDecoratorInputTransform,"showHorizontalMenuIcons","showHorizontalMenuIcons",D]},standalone:!0,features:[K([P]),fe,B,S],decls:7,vars:4,consts:[["prjList",""],["prjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(o,r){o&1&&(w(0,CD,2,0,"ng-template",null,0,wt)(2,DD,2,0,"ng-template",null,1,wt),m(4,"div",2),w(5,ED,8,5)(6,PD,11,12),f()),o&2&&(d(4),p("ngClass",r.isCollapsed?"collapsed":"")("ngClass",r.isMiniMode?"mini-mode":"")("ngClass",r.isTouch?"is-touch":""),d(),Q(5,r.isMiniMode&&!r.isCollapsed?5:6))},dependencies:[N,X,Qn,Uf,te,xe],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:#f5f5f5}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid #E1E1E1}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:#f5f5f5;background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{background-color:#ffe6da;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:#fffc;width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid #E6E6E6}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./media/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./media/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./media/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./media/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./media/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./media/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./media/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./media/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./media/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./media/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./media/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./media/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./media/bimplus_Components_Info_Active.svg") no-repeat center}
20
- `],encapsulation:3});let t=e;return t})();var yd=t=>({$implicit:t});function AD(t,e){if(t&1&&O(0,"div",9),t&2){let i=h().$implicit;Lo(i.item.class),p("id",i.item.id)}}function FD(t,e){if(t&1){let i=F();m(0,"div",10),R(1,"translate"),m(2,"div",11),_("click",function(o){M(i);let r=h().$implicit,s=h();return I(s._mainMenuItemClicked(r.item,"normal",o))}),O(3,"div",12),m(4,"span"),E(5),R(6,"translate"),f()(),m(7,"div",13),_("click",function(o){M(i);let r=h().$implicit,s=h();return I(s._mainMenuItemClicked(r.item,"info",o))}),f()()}if(t&2){let i=h().$implicit,n=h();p("id",i.item.id)("ngClass",n.isTouch?"":"hover-show-info"+(i.active?"active ":" ")+(i.disabled?"disabled ":" ")+(i.clickable?" ":"not-clickable ")+(i.selected?"selected ":" "))("title",i.disabled?L(1,6,i.item.disabledTitle):""),d(2),p("ngClass",i.clickable?"":"not-clickable"),d(),p("ngClass",i.item.class+(i.active?" active":"")+(i.disabled?" disabled ":"")),d(2),oe(L(6,8,i.isDisabled&&i.item.textIdDisabled!==""?i.item.textIdDisabled:i.item.textId))}}function ND(t,e){if(t&1&&w(0,AD,1,3,"div",8)(1,FD,8,10),t&2){let i=e.$implicit;Q(0,i.item.type==="divider"?0:1)}}function jD(t,e){t&1&&pt(0)}function RD(t,e){if(t&1&&w(0,jD,1,0,"ng-container",14),t&2){let i=h(),n=Ke(1);p("ngTemplateOutlet",n)("ngTemplateOutletContext",ke(2,yd,i._getContextData(i._openPrjBtn,i.projectActiveItem==="projectlist",i._isDisabled(i._openPrjBtn),!0,i.projectActiveItem==="projectlist")))}}function LD(t,e){if(t&1&&O(0,"lib-bimplus-project-menu",3),t&2){let i=h();ge("projectName",i.projectName),ge("projectImageUrl",i.projectImageUrl),ge("projectExplorerUrl",i.projectExplorerUrl),ge("projectActiveItem",i.projectActiveItem),ge("projectmembersDisabled",i.projectmembersDisabled),ge("modelsDisabled",i.modelsDisabled),ge("documentsDisabled",i.documentsDisabled),ge("projectsettingsDisabled",i.projectsettingsDisabled),ge("processesDisabled",i.processesDisabled),ge("projectmembersVisible",i.projectmembersVisible),ge("modelsVisible",i.modelsVisible),ge("documentsVisible",i.documentsVisible),ge("projectsettingsVisible",i.projectsettingsVisible),ge("processesVisible",i.processesVisible),ge("isCollapsed",i.isCollapsed),ge("isMiniMode",i.isTouch),ge("isTouch",i.isTouch),ge("hideMenuIcons",i.hideProjectMenuIcons),ge("showHorizontalMenuIcons",i.showHorizontalMenuIcons)}}function VD(t,e){t&1&&pt(0)}function BD(t,e){if(t&1&&(m(0,"div"),w(1,VD,1,0,"ng-container",14),f()),t&2){let i=e.$implicit,n=h(),o=Ke(1);d(),p("ngTemplateOutlet",o)("ngTemplateOutletContext",ke(2,yd,n._getContextData(i,!n._isSubscribed(i),n._isDisabled(i),n._isClickable(i),n.menuActiveItem===i.action)))}}function zD(t,e){t&1&&pt(0)}function HD(t,e){if(t&1&&(m(0,"div"),w(1,zD,1,0,"ng-container",14),f()),t&2){let i=e.$implicit,n=h(),o=Ke(1);d(),p("ngTemplateOutlet",o)("ngTemplateOutletContext",ke(2,yd,n._getContextData(i,n.footerActiveItem===i.action,n._isDisabled(i),!0,!1)))}}var Zg=(()=>{let e=class e extends ne{constructor(n){super(n),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.sciaSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.sciaDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.sciaVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.bimplusMainMenuClicked=new x,this.bimplusMainMenuOverlayClicked=new x,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:"dividerprojectmanagement",type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:"portalBimViewerBtn",type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:"portalCloudViewerBtn",type:"",class:"bim-mm-icon-cloud-viewer",textId:"_Cloud_viewer_title",textIdDisabled:"_Cloud_viewer_title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:"portalConnexisBtn",type:"",class:"bim-mm-icon-connexis",textId:"_Connexis",textIdDisabled:"_Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"scia",id:"portalBimSCIA",type:"",class:"bim-mm-icon-scia",textId:"_Scia",textIdDisabled:"_Scia",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:"dividerapps",type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:"portalTeamManagementBtn",type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:"portalPropertyManagerBtn",type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"shop",id:"portalShopBtn",type:"",class:"bim-mm-icon-shop",textId:"_Shop",textIdDisabled:"_Shop",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}get footerList(){return this._menuFooterList.filter(n=>!(!this._isSubscribed(n)||this._isHidden(n)))}_isSubscribed(n){if(n.checkSubscription){let o=`${n.action}Subscribed`;return!!this[o]}return!0}_isClickable(n){return n.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(n){if(n){let o=`${n.action?n.action:n.id}Visible`;return!this[o]}return!1}_isDisabled(n){let o=`${n.action}Disabled`;return!!this[o]}_getContextData(n,o,r,s,a){return{item:n,active:o,disabled:r,clickable:s,selected:a}}_overlayClicked(){ae(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(n,o,r){if(r&&(r.stopPropagation(),r.preventDefault()),o!="info"&&this._isDisabled(n))return;let s=n.action;ae(this,"bimplusMainMenuClicked",{action:s,type:o})}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[b.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],isIpadApp:[b.HasDecoratorInputTransform,"isIpadApp","isIpadApp",D],isDev:[b.HasDecoratorInputTransform,"isDev","isDev",D],isStage:[b.HasDecoratorInputTransform,"isStage","isStage",D],hideProjectMenuIcons:[b.HasDecoratorInputTransform,"hideProjectMenuIcons","hideProjectMenuIcons",D],showHorizontalMenuIcons:[b.HasDecoratorInputTransform,"showHorizontalMenuIcons","showHorizontalMenuIcons",D],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[b.HasDecoratorInputTransform,"projectmembersDisabled","projectmembersDisabled",D],modelsDisabled:[b.HasDecoratorInputTransform,"modelsDisabled","modelsDisabled",D],documentsDisabled:[b.HasDecoratorInputTransform,"documentsDisabled","documentsDisabled",D],projectsettingsDisabled:[b.HasDecoratorInputTransform,"projectsettingsDisabled","projectsettingsDisabled",D],processesDisabled:[b.HasDecoratorInputTransform,"processesDisabled","processesDisabled",D],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[b.HasDecoratorInputTransform,"isCollapsed","isCollapsed",D],showOverlay:[b.HasDecoratorInputTransform,"showOverlay","showOverlay",D],teammembersSubscribed:[b.HasDecoratorInputTransform,"teammembersSubscribed","teammembersSubscribed",D],propertymanagerSubscribed:[b.HasDecoratorInputTransform,"propertymanagerSubscribed","propertymanagerSubscribed",D],sciaSubscribed:[b.HasDecoratorInputTransform,"sciaSubscribed","sciaSubscribed",D],connexisSubscribed:[b.HasDecoratorInputTransform,"connexisSubscribed","connexisSubscribed",D],openProjectDisabled:[b.HasDecoratorInputTransform,"openProjectDisabled","openProjectDisabled",D],bimexplorerDisabled:[b.HasDecoratorInputTransform,"bimexplorerDisabled","bimexplorerDisabled",D],sciaDisabled:[b.HasDecoratorInputTransform,"sciaDisabled","sciaDisabled",D],connexisDisabled:[b.HasDecoratorInputTransform,"connexisDisabled","connexisDisabled",D],teammembersDisabled:[b.HasDecoratorInputTransform,"teammembersDisabled","teammembersDisabled",D],propertymanagerDisabled:[b.HasDecoratorInputTransform,"propertymanagerDisabled","propertymanagerDisabled",D],shopDisabled:[b.HasDecoratorInputTransform,"shopDisabled","shopDisabled",D],openProjectVisible:[b.HasDecoratorInputTransform,"openProjectVisible","openProjectVisible",D],bimplusProjectMenuVisible:[b.HasDecoratorInputTransform,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",D],projectmembersVisible:[b.HasDecoratorInputTransform,"projectmembersVisible","projectmembersVisible",D],modelsVisible:[b.HasDecoratorInputTransform,"modelsVisible","modelsVisible",D],documentsVisible:[b.HasDecoratorInputTransform,"documentsVisible","documentsVisible",D],projectsettingsVisible:[b.HasDecoratorInputTransform,"projectsettingsVisible","projectsettingsVisible",D],processesVisible:[b.HasDecoratorInputTransform,"processesVisible","processesVisible",D],bimexplorerVisible:[b.HasDecoratorInputTransform,"bimexplorerVisible","bimexplorerVisible",D],sciaVisible:[b.HasDecoratorInputTransform,"sciaVisible","sciaVisible",D],connexisVisible:[b.HasDecoratorInputTransform,"connexisVisible","connexisVisible",D],teammembersVisible:[b.HasDecoratorInputTransform,"teammembersVisible","teammembersVisible",D],propertymanagerVisible:[b.HasDecoratorInputTransform,"propertymanagerVisible","propertymanagerVisible",D],shopVisible:[b.HasDecoratorInputTransform,"shopVisible","shopVisible",D],dividerprojectmanagementVisible:[b.HasDecoratorInputTransform,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",D],dividerappsVisible:[b.HasDecoratorInputTransform,"dividerappsVisible","dividerappsVisible",D]},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[K([P]),fe,B,$e,S],decls:11,vars:6,consts:[["appItemContent",""],[1,"bim-mm-wrapper",3,"click","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item-details",3,"click","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(o,r){if(o&1){let s=F();w(0,ND,2,1,"ng-template",null,0,wt),m(2,"div",1),_("click",function(){return M(s),I(r._overlayClicked())}),m(3,"div",2),w(4,RD,1,4,"ng-container")(5,LD,1,19,"lib-bimplus-project-menu",3),m(6,"div",4)(7,"div",5),w(8,BD,2,4,"div",6),f(),m(9,"div",7),w(10,HD,2,4,"div",6),f()()()()}o&2&&(d(2),p("ngClass",r.showOverlay?"bim-mm-overlay":""),d(2),Q(4,r._isHidden(r._openPrjBtn)?-1:4),d(),Q(5,r.bimplusProjectMenuVisible?5:-1),d(),p("ngClass",r.appsList.length||r.footerList.length?"bim-mm-apps-container":""),d(2),p("ngForOf",r.appsList),d(2),p("ngForOf",r.footerList))},dependencies:[N,X,ve,Qn,te,xe,ra],styles:[`.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:#0000004d}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:#d3d3d3}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:1px solid #E6E6E6;margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:#fff1eb}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:#fe5000}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./media/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./media/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-scia,.bim-mm-app-item.selected .bim-mm-icon-scia{background:url("./media/bimplus_Components_SCIA_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./media/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./media/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./media/bimplus_Components_Property_Manager_Active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:#ffd5c4}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:#fff}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:#444;text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:#d3d3d3}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:#fe5000}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:#f5f5f5;width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:#f5f5f5;flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./media/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./media/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./media/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./media/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./media/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./media/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./media/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./media/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./media/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./media/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./media/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./media/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./media/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./media/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-scia{background:url("./media/bimplus_Components_SCIA.svg") no-repeat center}.bim-mm-icon-scia.active{background:url("./media/bimplus_Components_SCIA.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./media/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./media/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-scia.disabled{background:url("./media/bimplus_Components_SCIA_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./media/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./media/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./media/bimplus_Components_Property_Manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./media/bimplus_Components_Property_Manager_Active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./media/bimplus_Components_Property_Manager_Disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./media/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./media/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./media/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./media/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./media/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./media/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./media/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}
21
- `],encapsulation:3});let t=e;return t})();var Xo=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t}(Xo||{});var $D=(t,e)=>({"model-viewer":t,"connexis-viewer":e}),UD=(t,e,i)=>({active:t,hidden:e,disabled:i}),WD=t=>({hidden:t});function GD(t,e){t&1&&(m(0,"span"),E(1,"\xA0\xA0 -\xA0\xA0"),f())}var Yg=(()=>{let e=class e{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.logoState=Xo.BimplusViewer,this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.selectedLanguage="en",this.bimplusNavbarClicked=new x,this.LogoState=Xo}_menuClicked(){this.isNavbarMenuEnabled&&ae(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.logoState===Xo.BimplusViewer&&ae(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&ae(this,"bimplusNavbarClicked","project")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[b.HasDecoratorInputTransform,"isDev","isDev",D],isStage:[b.HasDecoratorInputTransform,"isStage","isStage",D],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[b.HasDecoratorInputTransform,"isNavbarMenuVisible","isNavbarMenuVisible",D],logoState:"logoState",isNavbarMessageVisible:[b.HasDecoratorInputTransform,"isNavbarMessageVisible","isNavbarMessageVisible",D],isNavbarMenuActive:[b.HasDecoratorInputTransform,"isNavbarMenuActive","isNavbarMenuActive",D],isNavbarMenuEnabled:[b.HasDecoratorInputTransform,"isNavbarMenuEnabled","isNavbarMenuEnabled",D],isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},standalone:!0,features:[fe,S],decls:13,vars:19,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","ngClass"],[1,"bimplus-navbar-menu","icon",3,"click","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","ngClass"],[1,"bimplus-navbar-slot"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),_("click",function(){return r._logoClicked()}),f(),m(3,"div",3),_("click",function(){return r._menuClicked()}),f()(),m(4,"div",4)(5,"div",5)(6,"span",6),E(7),f(),w(8,GD,2,0,"span",7),m(9,"span",8),_("click",function(){return r._projectInfoClicked()}),E(10),f()(),m(11,"div",9),O(12,"slot"),f()()()),o&2&&(p("ngClass",r.isTouch?"is-touch":""),d(2),p("ngClass",et(10,$D,r.logoState===r.LogoState.ModelViewer,r.logoState===r.LogoState.ConnexisViewer)),d(),p("ngClass",st(13,UD,r.isNavbarMenuActive,!r.isNavbarMenuVisible,!r.isNavbarMenuEnabled)),d(2),Me("margin-left",r.teamInfoOffset),p("ngClass",ke(17,WD,!r.isNavbarMenuVisible)),d(2),oe(r.teamInfo),d(),p("ngIf",r.projectInfo&&!r.isTouch),d(),p("ngClass",r.isDev?"clickable":""),d(),z(" ",r.projectInfo," "))},dependencies:[N,X,Le],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:#f5f5f5;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:#444}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:#fff;font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:#0047ab;letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./media/Allplan_Bimplus_Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./media/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./media/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./media/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./media/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./media/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
22
- `],encapsulation:3});let t=e;return t})();var hh=Qd(Cd(),1);var ZD=typeof global=="object"&&global&&global.Object===Object&&global,Kg=ZD;var YD=typeof self=="object"&&self&&self.Object===Object&&self,QD=Kg||YD||Function("return this")(),sa=QD;var KD=sa.Symbol,Qi=KD;var Xg=Object.prototype,XD=Xg.hasOwnProperty,JD=Xg.toString,Jo=Qi?Qi.toStringTag:void 0;function eM(t){var e=XD.call(t,Jo),i=t[Jo];try{t[Jo]=void 0;var n=!0}catch{}var o=JD.call(t);return n&&(e?t[Jo]=i:delete t[Jo]),o}var Jg=eM;var tM=Object.prototype,nM=tM.toString;function iM(t){return nM.call(t)}var eh=iM;var oM="[object Null]",rM="[object Undefined]",th=Qi?Qi.toStringTag:void 0;function sM(t){return t==null?t===void 0?rM:oM:th&&th in Object(t)?Jg(t):eh(t)}var nh=sM;function aM(t){return t!=null&&typeof t=="object"}var ih=aM;var lM="[object Symbol]";function cM(t){return typeof t=="symbol"||ih(t)&&nh(t)==lM}var oh=cM;var dM=/\s/;function uM(t){for(var e=t.length;e--&&dM.test(t.charAt(e)););return e}var rh=uM;var mM=/^\s+/;function pM(t){return t&&t.slice(0,rh(t)+1).replace(mM,"")}var sh=pM;function fM(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Xn=fM;var ah=NaN,gM=/^[-+]0x[0-9a-f]+$/i,hM=/^0b[01]+$/i,bM=/^0o[0-7]+$/i,_M=parseInt;function vM(t){if(typeof t=="number")return t;if(oh(t))return ah;if(Xn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Xn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=sh(t);var i=hM.test(t);return i||bM.test(t)?_M(t.slice(2),i?2:8):gM.test(t)?ah:+t}var wd=vM;var yM=function(){return sa.Date.now()},aa=yM;var CM="Expected a function",wM=Math.max,xM=Math.min;function DM(t,e,i){var n,o,r,s,a,l,c=0,u=!1,g=!1,v=!0;if(typeof t!="function")throw new TypeError(CM);e=wd(e)||0,Xn(i)&&(u=!!i.leading,g="maxWait"in i,r=g?wM(wd(i.maxWait)||0,e):r,v="trailing"in i?!!i.trailing:v);function C(le){var qe=n,at=o;return n=o=void 0,c=le,s=t.apply(at,qe),s}function T(le){return c=le,a=setTimeout($,e),u?C(le):s}function A(le){var qe=le-l,at=le-c,rr=e-qe;return g?xM(rr,r-at):rr}function Y(le){var qe=le-l,at=le-c;return l===void 0||qe>=e||qe<0||g&&at>=r}function $(){var le=aa();if(Y(le))return De(le);a=setTimeout($,A(le))}function De(le){return a=void 0,v&&n?C(le):(n=o=void 0,s)}function Ne(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function Ye(){return a===void 0?s:De(aa())}function Xe(){var le=aa(),qe=Y(le);if(n=arguments,o=this,l=le,qe){if(a===void 0)return T(l);if(g)return clearTimeout(a),a=setTimeout($,e),C(l)}return a===void 0&&(a=setTimeout($,e)),s}return Xe.cancel=Ne,Xe.flush=Ye,Xe}var Jn=DM;var MM="Expected a function";function IM(t,e,i){var n=!0,o=!0;if(typeof t!="function")throw new TypeError(MM);return Xn(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),Jn(t,e,{leading:n,maxWait:e,trailing:o})}var xd=IM;var Md=Qd(Cd(),1),Xi=function(){return Xi=Object.assign||function(e){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},Xi.apply(this,arguments)},Ki=null,lh=null;Md.default&&window.addEventListener("resize",function(){lh!==window.devicePixelRatio&&(lh=window.devicePixelRatio,Ki=null)});function ch(){if(Ki===null){if(typeof document>"u")return Ki=0,Ki;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var i=e.getBoundingClientRect().right;t.removeChild(e),Ki=i}return Ki}function dh(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function uh(t){return!t||!t.ownerDocument?document:t.ownerDocument}var mh=function(t){var e={},i=Array.prototype.reduce.call(t,function(n,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(o.value){case"true":n[s]=!0;break;case"false":n[s]=!1;break;case void 0:n[s]=!0;break;default:n[s]=o.value}}return n},e);return i};function ph(t,e){var i;t&&(i=t.classList).add.apply(i,e.split(" "))}function fh(t,e){t&&e.split(" ").forEach(function(i){t.classList.remove(i)})}function gh(t){return".".concat(t.split(" ").join("."))}var EM=Object.freeze({__proto__:null,addClasses:ph,classNamesToQuery:gh,getElementDocument:uh,getElementWindow:dh,getOptions:mh,removeClasses:fh}),Mn=dh,Dd=uh,kM=mh,In=ph,En=fh,vt=gh,er=function(){function t(e,i){i===void 0&&(i={});var n=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Mn(n.el);n.scrollXTicking||(o.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(o.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,In(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){En(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(In(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){En(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(o){n.mouseX=o.clientX,n.mouseY=o.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var r,s;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(r=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(s=n.isWithinBounds(n.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(o,"x"):n.onTrackClick(o,"x")),s&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(o,"y"):n.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,a,l,c,u,g,v,C,T,A;if(!(!n.draggedAxis||!n.contentWrapperEl)){var Y,$=n.axis[n.draggedAxis].track,De=(s=(r=$.rect)===null||r===void 0?void 0:r[n.axis[n.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,Ne=n.axis[n.draggedAxis].scrollbar,Ye=(l=(a=n.contentWrapperEl)===null||a===void 0?void 0:a[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,Xe=parseInt((u=(c=n.elStyles)===null||c===void 0?void 0:c[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);o.preventDefault(),o.stopPropagation(),n.draggedAxis==="y"?Y=o.pageY:Y=o.pageX;var le=Y-((v=(g=$.rect)===null||g===void 0?void 0:g[n.axis[n.draggedAxis].offsetAttr])!==null&&v!==void 0?v:0)-n.axis[n.draggedAxis].dragOffset;le=n.draggedAxis==="x"&&n.isRtl?((T=(C=$.rect)===null||C===void 0?void 0:C[n.axis[n.draggedAxis].sizeAttr])!==null&&T!==void 0?T:0)-Ne.size-le:le;var qe=le/(De-Ne.size),at=qe*(Ye-Xe);n.draggedAxis==="x"&&n.isRtl&&(at=!((A=t.getRtlHelpers())===null||A===void 0)&&A.isScrollingToNegative?-at:at),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=at}},this.onEndDrag=function(o){n.isDragging=!1;var r=Dd(n.el),s=Mn(n.el);o.preventDefault(),o.stopPropagation(),En(n.el,n.classNames.dragging),n.onStopScrolling(),r.removeEventListener("mousemove",n.drag,!0),r.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",n.preventClick,!0),r.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=e,this.options=Xi(Xi({},t.defaultOptions),i),this.classNames=Xi(Xi({},t.defaultOptions.classNames),i.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=xd(this._onMouseMove,64),this.onWindowResize=Jn(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Jn(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Jn(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=e.firstElementChild,n=i?.firstElementChild;if(!n)return null;document.body.appendChild(i),i.scrollLeft=0;var o=t.getOffset(i),r=t.getOffset(n);i.scrollLeft=-999;var s=t.getOffset(n);return document.body.removeChild(i),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:ch()}catch{return ch()}},t.getOffset=function(e){var i=e.getBoundingClientRect(),n=Dd(e),o=Mn(e);return{top:i.top+(o.pageYOffset||n.documentElement.scrollTop),left:i.left+(o.pageXOffset||n.documentElement.scrollLeft)}},t.prototype.init=function(){Md.default&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,i;this.wrapperEl=this.el.querySelector(vt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(vt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(vt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(vt(this.classNames.offset)),this.maskEl=this.el.querySelector(vt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,vt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(vt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(vt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(vt(this.classNames.track)).concat(vt(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(vt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((i=this.axis.y.track.el)===null||i===void 0?void 0:i.querySelector(vt(this.classNames.scrollbar)))||null,this.options.autoHide||(In(this.axis.x.scrollbar.el,this.classNames.visible),In(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,i,n=Mn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(i=this.contentWrapperEl)===null||i===void 0||i.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=n.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=Mn(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var i=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||i>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=o?"".concat(i||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i!==0&&c>i,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,v=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>r-v,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(e){var i,n;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[e].scrollSizeAttr],r=(n=(i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])!==null&&n!==void 0?n:0,s=r/o,a;return a=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},t.prototype.positionScrollbar=function(e){var i,n,o;e===void 0&&(e="y");var r=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[e].scrollSizeAttr],a=((i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[e].sizeAttr],10),c=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];c=e==="x"&&this.isRtl&&(!((n=t.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-c:c,e==="x"&&this.isRtl&&(c=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?c:-c);var u=c/(s-l),g=~~((a-r.size)*u);g=e==="x"&&this.isRtl?-g+(a-r.size):g,r.el.style.transform=e==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var i=this.axis[e].track.el,n=this.axis[e].scrollbar.el;!i||!n||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(i.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(i.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(In(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(En(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var i=this.axis[e];!i.track.el||!i.scrollbar.el||(i.track.rect=i.track.el.getBoundingClientRect(),i.scrollbar.rect=i.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(i.track.rect)?(this.showScrollbar(e),In(i.track.el,this.classNames.hover),this.isWithinBounds(i.scrollbar.rect)?In(i.scrollbar.el,this.classNames.hover):En(i.scrollbar.el,this.classNames.hover)):(En(i.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),En(this.axis[e].track.el,this.classNames.hover),En(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,i){var n;i===void 0&&(i="y"),this.isDragging=!0;var o=Dd(this.el),r=Mn(this.el),s=this.axis[i].scrollbar,a=i==="y"?e.pageY:e.pageX;this.axis[i].dragOffset=a-(((n=s.rect)===null||n===void 0?void 0:n[this.axis[i].offsetAttr])||0),this.draggedAxis=i,In(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(e,i){var n=this,o,r,s,a;i===void 0&&(i="y");var l=this.axis[i];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var c=Mn(this.el);this.axis[i].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=this.axis[i].scrollbar,g=(r=(o=u.rect)===null||o===void 0?void 0:o[this.axis[i].offsetAttr])!==null&&r!==void 0?r:0,v=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[i].sizeAttr])!==null&&a!==void 0?a:"0px",10),C=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],T=i==="y"?this.mouseY-g:this.mouseX-g,A=T<0?-1:1,Y=A===-1?C-v:C+v,$=40,De=function(){n.contentWrapperEl&&(A===-1?C>Y&&(C-=$,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=C,c.requestAnimationFrame(De)):C<Y&&(C+=$,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=C,c.requestAnimationFrame(De)))};De()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=Mn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,i){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(o){return n.call(o,i)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=kM,t.helpers=EM,t}();var Ed=function(t,e){return Ed=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},Ed(t,e)};function SM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ed(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}var bh=er.helpers,Id=bh.getOptions,Pt=bh.addClasses,kd=function(t){SM(e,t);function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return e.instances.set(i[0],o),o}return e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(i){i.getAttribute("data-simplebar")!=="init"&&!e.instances.has(i)&&new e(i,Id(i.attributes))})},e.removeObserver=function(){var i;(i=e.globalObserver)===null||i===void 0||i.disconnect()},e.prototype.initDOM=function(){var i=this,n,o,r;if(!Array.prototype.filter.call(this.el.children,function(l){return l.classList.contains(i.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Pt(this.wrapperEl,this.classNames.wrapper),Pt(this.contentWrapperEl,this.classNames.contentWrapper),Pt(this.offsetEl,this.classNames.offset),Pt(this.maskEl,this.classNames.mask),Pt(this.contentEl,this.classNames.contentEl),Pt(this.placeholderEl,this.classNames.placeholder),Pt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Pt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(n=this.contentWrapperEl)===null||n===void 0||n.setAttribute("tabindex","0"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),a=document.createElement("div");Pt(s,this.classNames.track),Pt(a,this.classNames.scrollbar),s.appendChild(a),this.axis.x.track.el=s.cloneNode(!0),Pt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Pt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}er.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},e.prototype.unMount=function(){er.prototype.unMount.call(this),e.instances.delete(this.el)},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(e.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},e.handleMutations=function(i){i.forEach(function(n){n.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!e.instances.has(o)&&document.documentElement.contains(o)&&new e(o,Id(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!e.instances.has(r)&&document.documentElement.contains(r)&&new e(r,Id(r.attributes))}))}),n.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=e.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var a;!document.documentElement.contains(s)&&((a=e.instances.get(s))===null||a===void 0||a.unMount())}))})})},e.instances=new WeakMap,e}(er);hh.default&&kd.initHtmlApi();var _h=t=>({capitalize:t}),vh=t=>[t];function OM(t,e){if(t&1){let i=F();m(0,"div",21),_("click",function(){let o=M(i).index,r=h(2).$implicit,s=h(2);return I(s._messageAction(r,o))}),E(1),f()}if(t&2){let i=e.$implicit,n=e.index,o=h(2).$implicit,r=h(2);p("title",r._getItemLinkTitle(o,n)),d(),oe(i)}}function TM(t,e){if(t&1&&w(0,OM,2,2,"div",20),t&2){let i=h().$implicit,n=h(2);p("ngForOf",i.linkText.constructor===n.Array?i.linkText:ke(1,vh,i.linkText))}}function PM(t,e){if(t&1){let i=F();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),E(4),f(),m(5,"div",17),_("click",function(o){let r=M(i).$implicit,s=h(2);return I(s._closeMessage(r,!1,o))}),f()(),m(6,"div",18),E(7),f(),w(8,TM,1,3,"div",19),f()}if(t&2){let i=e.$implicit;d(2),p("ngClass","message-item-icon-"+i.type),d(),p("ngClass",ke(5,_h,i.capitalizedTitle)),d(),z(" ",i.title," "),d(3),oe(i.text),d(),Q(8,i.linkText?8:-1)}}function AM(t,e){if(t&1&&w(0,PM,9,7,"div",13),t&2){let i=h();p("ngForOf",i._messagesList)}}function FM(t,e){t&1&&(m(0,"div",22),O(1,"div",23),m(2,"div",24),E(3),R(4,"translate"),f()()),t&2&&(d(3),oe(L(4,1,"_Notify_No_Messages")))}function NM(t,e){if(t&1){let i=F();m(0,"div",21),_("click",function(){let o=M(i).index,r=h(2).$implicit,s=h();return I(s._messageAction(r,o))}),E(1),f()}if(t&2){let i=e.$implicit,n=e.index,o=h(2).$implicit,r=h();p("title",r._getItemLinkTitle(o,n)),d(),oe(i)}}function jM(t,e){if(t&1&&w(0,NM,2,2,"div",20),t&2){let i=h().$implicit,n=h();p("ngForOf",i.linkText.constructor===n.Array?i.linkText:ke(1,vh,i.linkText))}}function RM(t,e){if(t&1){let i=F();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),E(4),f(),m(5,"div",17),_("click",function(o){let r=M(i).$implicit,s=h();return I(s._closeMessage(r,!0,o))}),f()(),m(6,"div",18),E(7),f(),w(8,jM,1,3,"div",19),f()}if(t&2){let i=e.$implicit;d(2),p("ngClass","message-item-icon-"+i.type),d(),p("ngClass",ke(5,_h,i.capitalizedTitle)),d(),z(" ",i.title," "),d(3),z(" ",i.text," "),d(),Q(8,i.linkText?8:-1)}}var la="bimplus-notify-messages",yh=(()=>{let e=class e extends ne{constructor(n,o){super(n),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new x,this.bimplusNotifyDeleteAllMessages=new x,this.bimplusNotifyMessageAction=new x,this._element=o.nativeElement}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(n){if(n.messages){let o=n.messages.currentValue;this.updateMessages(o)}}updateMessages(n){if(!(n&&typeof n=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let r=JSON.parse(n);this._messagesList=r.messages;let s=this._messagesList.filter(a=>this._oldMessagesList.findIndex(l=>l.id===a.id)<0);s=s.filter(a=>this._messageNotReadYet(a)),s.reverse().forEach(a=>{this._previewMessagesList.findIndex(l=>a.id===l.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}ngAfterViewInit(){let n=this._element?.querySelector(".messages-container");n&&(this._simpleBar=new kd(n))}ngAfterViewChecked(){let n=this._element;if(!n?.querySelector(".messages-container"))return;let r=n?.querySelectorAll(".messages-container > .message-item");!n?.querySelector(".simplebar-content")||!r||this._simpleBar&&this._simpleBar.recalculate()}_closeMessage(n,o,r){if(o)return this._closePreviewMessage(n.id);r&&(r.stopPropagation(),r.preventDefault()),ae(this,"bimplusNotifyDeleteMessage",JSON.stringify(n))}_closePreviewMessage(n,o=!0){n&&(this._previewMessagesList=this._previewMessagesList.filter(r=>r.id!==n),this.storeMessagesAsRead([n]),o&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){ae(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(n,o){n.actionId=o,ae(this,"bimplusNotifyMessageAction",JSON.stringify(n))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(n){if(!n?.id)return!0;let o=window.localStorage.getItem(la);return o?!o.includes(n.id):!0}storeMessagesAsRead(n){if(!n||n.length<1)return;let o=window.localStorage.getItem(la);o||(o=""),n.forEach(r=>{o?.includes(r)||(o+=r+";")}),window.localStorage.setItem(la,o)}clearAllLocalStorageMessages(){window.localStorage.removeItem(la)}_getItemLinkTitle(n,o){let r=[];return n.linkText&&(n.links||n.link)&&(r=Array.isArray(n.links)?n.links:[n.link]),r[o]??""}};e.\u0275fac=function(o){return new(o||e)(y(P),y(se))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(o,r){o&2&&ie("new-messages",r.newMessages)("bim-notify",r.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[b.HasDecoratorInputTransform,"showMessagePreview","showMessagePreview",D],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[K([P]),fe,B,$e,S],decls:19,vars:16,consts:[[1,"dropdown",3,"click","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click"],[1,"messages-container"],[1,"message-item"],[1,"bimcomp-overlay",3,"click","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","title"],[1,"message-item-empty"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(o,r){o&1&&(m(0,"div",0),R(1,"translate"),_("click",function(){return r._toggleOpened()}),m(2,"div",1),O(3,"div",2),f(),m(4,"div",3),O(5,"div",4),m(6,"div",5)(7,"div",6),E(8),f(),m(9,"div",7),_("click",function(){return r._deleteAllMessages()}),E(10),R(11,"translate"),f()(),m(12,"div",8),w(13,AM,1,1,"div",9)(14,FM,5,3),f()()(),m(15,"div",10),_("click",function(){return r._toggleOpened()}),f(),m(16,"div",11)(17,"div",12),w(18,RM,9,7,"div",13),f()()),o&2&&(p("ngClass",r._menuOpened?"open":"")("title",L(1,12,"_BimplusNotifyTitle")),d(3),p("ngClass","icon-notify"+(r._alertActive?"-alert notify":"")),d(),p("ngClass",r._menuOpened?"open":""),d(4),z(" (",r._messagesList.length,") "),d(2),z(" ",L(11,14,"_Notify_Mark_All")," "),d(3),Q(13,r._messagesList.length?13:14),d(2),p("ngClass",r._menuOpened?"open":""),d(),Me("top",r.previewMessagesOffsetY),p("ngClass",r.showMessagePreview&&!r._menuOpened&&r._previewMessagesList.length>0?"visible":""),d(2),p("ngForOf",r._previewMessagesList))},dependencies:[N,X,ve,te,xe],styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:#fff;background-color:#444}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:#f5f5f5}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em;overflow:hidden;overflow-y:visible;scrollbar-width:none}.bim-notify .messages-container::-webkit-scrollbar,.bim-notify .messages-container-preview::-webkit-scrollbar{display:none}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{max-width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./media/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid #D3D3D3;padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./media/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:#fe5000;text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .3em .3em rgba(0,0,0,.175);box-shadow:0 .3em .3em #0000002d;margin-bottom:.5em}.bim-notify .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}.bim-notify .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}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./media/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./media/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./media/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./media/bimplus_Components_Notify_Empty.svg")}
23
- `],encapsulation:2});let t=e;return t})();var Ch=(()=>{let e=class e{transform(n){return n+"px"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=To({name:"pxsuffix",type:e,pure:!0,standalone:!0});let t=e;return t})();var wh=(()=>{let e=class e{constructor(){this.oldX=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new x,this.clicked=new x}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX;if(!this.isDragging)if(Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;ae(this,"dragging",o),this.oldX=n.clientX}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX}onMouseClick(n){this.wasDragging||ae(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=q({type:e,selectors:[["","xDraggable",""]],hostBindings:function(o,r){o&1&&_("mousemove",function(a){return r.onMouseMove(a)},!1,hn)("mouseup",function(a){return r.onMouseUp(a)},!1,hn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();function LM(t,e){if(t&1&&O(0,"div",7),t&2){let i=h().$implicit;Me("background"," no-repeat center center url("+i.iconDisabled+")"),H("data-test","sidenav_item_"+i.id)}}function VM(t,e){if(t&1){let i=F();m(0,"div",8),_("click",function(){M(i);let o=h(3);return I(o._toggleDrawer())}),f()}if(t&2){let i=h(2).$implicit;Me("background"," no-repeat center center url("+i.iconActive+")"),H("data-test","sidenav_item_"+i.id)}}function BM(t,e){if(t&1){let i=F();m(0,"div",8),_("click",function(){M(i);let o=h(2).$implicit,r=h();return I(r._activateItem(o.id))}),f()}if(t&2){let i=h(2).$implicit;Me("background"," no-repeat center center url("+i.icon+")"),H("data-test","sidenav_item_"+i.id)}}function zM(t,e){if(t&1&&w(0,VM,1,3,"div",6)(1,BM,1,3),t&2){let i=h().$implicit,n=h();Q(0,n.activeItem===i.id?0:1)}}function HM(t,e){if(t&1&&(m(0,"div",5),w(1,LM,1,3,"div",6)(2,zM,2,1),f()),t&2){let i=e.$implicit;d(),Q(1,i.disabled?1:2)}}function $M(t,e){if(t&1){let i=F();m(0,"div",5)(1,"div",8),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r._clickAction(o.id))}),f()()}if(t&2){let i=e.$implicit;d(),Me("background"," no-repeat center center url("+i.icon+")"),H("data-test","sidenav_action_item_"+i.id)}}function UM(t,e){if(t&1&&(O(0,"div",9),w(1,$M,2,3,"div",1)),t&2){let i=h();d(),p("ngForOf",i.actionItems)}}function WM(t,e){if(t&1){let i=F();m(0,"div",2)(1,"div",8),_("click",function(){M(i);let o=h();return I(o._clickFooter(o.footerItem.id))}),f()()}if(t&2){let i=h();d(),Me("background"," no-repeat center center url("+i.footerItem.icon+")"),H("data-test","sidenav_footer_item_"+i.footerItem.id)}}function GM(t,e){if(t&1){let i=F();m(0,"div",10),_("dragging",function(o){M(i);let r=h();return I(r._onResizeWidth(o))}),f(),m(1,"div",11),_("dragging",function(o){M(i);let r=h();return I(r._onResizeWidth(o))})("clicked",function(){M(i);let o=h();return I(o._toggleDrawer())}),f()}}function qM(t,e){if(t&1){let i=F();m(0,"div",12),_("click",function(){M(i);let o=h();return I(o._toggleDrawer())}),f()}}var xh=(()=>{let e=class e extends ne{constructor(n){super(n),this.activeItem="",this.drawerWidth=300,this.drawerExpanded=!0,this.activeItemChanged=new x,this.actionClicked=new x,this.footerClicked=new x,this._items=new Array,this._actionItems=new Array,this._footerItem=null}get items(){return this._items}set items(n){this._items.length=0,this._items=n,this.items.length>0&&this._activateItem(this.items[0].id)}get actionItems(){return this._actionItems}set actionItems(n){this._actionItems.length=0,this._actionItems=n}get footerItem(){return this._footerItem}set footerItem(n){this._footerItem=n}_activateItem(n){this.activeItem=n,this._items.find(r=>r.id==n)&&(this.drawerExpanded||this._toggleDrawer(),ae(this,"activeItemChanged",n))}_clickAction(n){ae(this,"actionClicked",n)}_clickFooter(n){ae(this,"footerClicked",n)}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(n){let o=n;this.drawerWidth+=o}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav"]],inputs:{items:"items",actionItems:"actionItems",footerItem:"footerItem"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",footerClicked:"footerClicked"},standalone:!0,features:[K([P]),B,S],decls:9,vars:10,consts:[[1,"sidenav"],["class","sidenav-row",4,"ngFor","ngForOf"],[1,"sidenav-row-footer"],[1,"sidenav-drawer",3,"ngClass"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed"],[1,"sidenav-row"],[1,"sidenav-item",3,"background"],[1,"sidenav-item"],[1,"sidenav-item",3,"click"],[1,"sidenav-separator"],["xDraggable","",1,"sidenav-resize-border-right",3,"dragging"],["xDraggable","","data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left",3,"dragging","clicked"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),w(1,HM,3,1,"div",1)(2,UM,2,1)(3,WM,2,3,"div",2),f(),m(4,"div",3),R(5,"pxsuffix"),O(6,"slot"),w(7,GM,2,0),f(),w(8,qM,1,0,"div",4)),o&2&&(d(),p("ngForOf",r.items),d(),Q(2,r.actionItems.length>0?2:-1),d(),Q(3,r.footerItem?3:-1),d(),Me("width",L(5,8,r.drawerWidth)),p("ngClass",r.drawerExpanded?"":"hidden"),d(3),Q(7,r.drawerExpanded?7:-1),d(),Q(8,r.drawerExpanded?-1:8))},dependencies:[N,X,ve,Ch,wh,te],styles:[`.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav{width:4rem;height:100%;margin:0;padding:0;text-align:center;background-color:#444;border:0 solid #444444;font-size:0;display:flex;flex-direction:column;position:absolute;bottom:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-item{width:3.2rem;height:3.2rem;background-size:2rem 2rem!important;margin:auto;cursor:pointer}.sidenav-separator{width:2rem;height:.1rem;border-top:.1rem solid white;cursor:default;pointer-events:none;margin-top:.8rem;text-align:center;display:inline-block;align-self:center}.sidenav-row{width:4rem;height:3.2rem;margin-top:.8rem;display:inline-block}.sidenav-row-footer{margin-top:auto;margin-bottom:5.2rem;width:4rem;height:3.2rem}.sidenav-row-footer:hover,.sidenav-row:hover{background-color:#555}.sidenav-drawer{min-width:25rem;height:100%;border:0 solid #444444;position:absolute;bottom:0;left:4rem;background-color:#fffc;transition:background-color .7s;border-right:solid thin #d4d4d4;width:300px;display:flex;flex-direction:row}.sidenav-drawer:hover{background-color:#fff}.sidenav-drawer.hidden{display:none}.sidenav-resize-border-right{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left{background-image:url("./media/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);right:-2.1rem;width:2.1rem;height:4.8rem;border-radius:0 .4rem .4rem 0;background-color:#ffffff94;cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left.collapsed{left:4rem!important;border-radius:.4rem 0 0 .4rem;transform:scaleX(-1)}
24
- `],encapsulation:3});let t=e;return t})();var ZM=(t,e,i)=>({red:t,yellow:e,green:i}),Dh=(()=>{let e=class e extends ne{constructor(n){super(n),this.usedStorage=0,this.bimplusStorageInfoClicked=new x}_infoClicked(n){ae(this,"bimplusStorageInfoClicked",n)}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:"usedStorage"},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},standalone:!0,features:[K([P]),B,S],decls:8,vars:13,consts:[[1,"storage-info",3,"click"],[1,"progress-title"],[1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),_("click",function(){return r._infoClicked("storageInfo")}),m(1,"span",1),E(2),R(3,"translate"),m(4,"span",2),E(5),f()(),m(6,"div",3),O(7,"div",4),f()()),o&2&&(d(2),z(" ",L(3,7,"_Common_Data_Environment_Quota")," "),d(3),z(" ",r.usedStorage,"% "),d(2),Me("width",r.usedStorage+"%")("max-width",r.usedStorage+"%"),p("ngClass",st(9,ZM,r.usedStorage>=90,r.usedStorage>=80&&r.usedStorage<90,r.usedStorage<80)))},dependencies:[N,X,te,xe],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:#777;flex-direction:column}.storage-info.hovered,.storage-info:hover{color:#000}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:#000}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:#fff;padding:.125em;border:#777 solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:red}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:#ffd400}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:green}
25
- `],encapsulation:3});let t=e;return t})();var YM=Math.PI/180,Mh=2*Math.PI,At=class t{static pointOnArc(e,i,n){let o=(n-90)*YM;return[e[0]+i*Math.cos(o),e[1]+i*Math.sin(o)]}static arc(e,i,n,o,r,s,a){let l=i-r,c=Math.abs(o-n);s=Math.min(r/2,s),360*(s/(Math.PI*(i-r)))>Math.abs(n-o)&&(s=c/360*l*Math.PI);let u=l+s,g=i-s,v=this.pointOnArc(e,g,n),C=this.pointOnArc(e,g,o),T=this.pointOnArc(e,u,n),A=this.pointOnArc(e,u,o),Y=360*(s/(Mh*l)),$=360*(s/(Mh*i)),De=this.pointOnArc(e,l,n+Y),Ne=this.pointOnArc(e,l,o-Y),Ye=this.pointOnArc(e,i,n+$),Xe=this.pointOnArc(e,i,o-$),le=c>180+2*$?1:0,qe=c>180+2*Y?1:0;return new Array("M",(v[0]/a).toString(),(v[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ye[0]/a).toString(),(Ye[1]/a).toString(),"A",(i/a).toString(),(i/a).toString(),"0",(le/a).toString(),"1",(Xe[0]/a).toString(),(Xe[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(C[0]/a).toString(),(C[1]/a).toString(),"L",(A[0]/a).toString(),(A[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ne[0]/a).toString(),(Ne[1]/a).toString(),"A",(l/a).toString(),(l/a).toString(),"0",(qe/a).toString(),"0",(De[0]/a).toString(),(De[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(T[0]/a).toString(),(T[1]/a).toString(),"Z").join(" ")}static drawMenuItemSvg(e,i,n,o){let r=o?(e-5)*10:e*10,s=o?(i-3)*10:i*10,a=r*2,c=360/(n>0?n:1)*Math.PI/360,u=r-Math.sin(c)*r,g=r-Math.cos(c)*r,v=r+Math.sin(c)*r,C=r-Math.cos(c)*r;return{radius:r/a,radiusInner:s/a,width:1,thick:(r-s)/a,innerEdgeRight:(r+s)/a,leftX:u/a,leftY:g/a,rightX:v/a,rightY:C/a}}static generateAnnularSector(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12,e.subMenuStartAngle,e.subMenuEndAngle,e.subMenuWidth,7,425)}static generateAnnularSectorBorder(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12+1,e.subMenuStartAngle-.5,e.subMenuEndAngle+.5,e.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(e){return t.arc([e.deadZoneCenter[0]*12,e.deadZoneCenter[1]*12],e.deadZoneRadius*12,e.deadZoneStartAngle,e.deadZoneEndAngle,e.deadZoneWidth,7,700)}static getSVGViewBox(e){return`0 0 ${e.width} ${e.width}`}static getSVGCenterMenuPath(e){return`M 0 ${e.radius} A ${e.radius} ${e.radius} 0 0 1 ${e.width} ${e.radius} L ${e.width} ${e.radius} A ${e.radius} ${e.radius} 0 0 1 0 ${e.radius} L ${e.thick} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.innerEdgeRight} ${e.radius} L ${e.innerEdgeRight} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.thick} ${e.radius} Z`}static getSVGCenterMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}static getSVGCenterSubMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}};var QM=(t,e,i)=>({disabled:t,enabled:e,active:i});function KM(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=h();p("ngClass",st(3,QM,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var Ih=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(o,r){o&2&&ie("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","centermenu-button-icon dragger",3,"ngClass","className",4,"ngIf"],[1,"centermenu-button-icon","dragger",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&w(0,KM,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Le],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_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}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var XM=(t,e,i)=>({disabled:t,enabled:e,active:i});function JM(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=h();p("ngClass",st(3,XM,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var Eh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(o,r){o&2&&ie("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)("center-sub-menu-button",r.centerSubMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","center-sub-menu-button-icon",3,"ngClass","className",4,"ngIf"],[1,"center-sub-menu-button-icon",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&w(0,JM,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Le],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_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}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var eI=(t,e)=>({opened:t,active:e});function tI(t,e){if(t&1){let i=F();m(0,"lib-tool-hub-item",16),R(1,"translate"),_("clicked",function(){let o=M(i).$implicit,r=h();return I(r.clickToolHubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",L(1,5,i.tooltip))("item",i)("active",!!i.active)("isEnabled",!i.disabled),H("data-test","toolhub_item_"+i.buttonId)}}function nI(t,e){if(t&1){let i=F();m(0,"lib-tool-hub-sub-item",21),R(1,"translate"),_("click",function(){let o=M(i).$implicit,r=h(2);return I(r.clickToolHubSubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",L(1,3,i.tooltip))("item",i),H("data-test","toolhub_subitem_"+i.buttonId)}}function iI(t,e){if(t&1){let i=F();m(0,"div",17),_("mouseleave",function(){M(i);let o=h();return I(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){M(i);let o=h();return I(o.setHoveredState("submenuBorder",!0))}),f(),m(1,"div",18),_("mouseleave",function(){M(i);let o=h();return I(o.setHoveredState("submenu",!1))})("mouseenter",function(){M(i);let o=h();return I(o.setHoveredState("submenu",!0))}),w(2,nI,2,5,"lib-tool-hub-sub-item",19),f(),m(3,"div",20),_("mouseleave",function(){M(i);let o=h();return I(o.setHoveredState("deadZone",!1))})("mouseenter",function(){M(i);let o=h();return I(o.setHoveredState("deadZone",!0))}),f()}if(t&2){let i=h();p("ngClass",i.isOpened?"":"hidden"),d(),p("ngClass",i.isOpened?"":"hidden"),d(),p("ngForOf",i.activeSubItems),d(),p("ngClass",i.isOpened?"":"hidden")}}function oI(){return{subMenuStartAngle:50,subMenuEndAngle:130,svgRadiusInner:5.75,svgRadius:10.25,subMenuCenter:[17.25,17.5],subMenuRadius:15.5,subMenuWidth:52,deadZoneCenter:[17,18],deadZoneWidth:140,deadZoneRadius:22,deadZoneStartAngle:45,deadZoneEndAngle:135}}function rI(){let t=[{buttonId:"cmButCreateTask",iconClass:"ui-icon-create-task",text:"_Create_issue_center_menu_tooltip",tooltip:"_Create_issue_center_menu_tooltip",tooltipDisabled:"_Create_issue_center_menu_tooltip"},{buttonId:"cmButQuantityTakeOff",iconClass:"ui-icon-quantity-take-off",text:"_Quantity_take_Off_center_menu_tooltip",tooltip:"_Quantity_take_Off_center_menu_tooltip",tooltipDisabled:"_Quantity_take_Off_center_menu_tooltip"},{buttonId:"cmButMarkup",iconClass:"ui-icon-markup",text:"_Markups_center_menu_tooltip",tooltip:"_Markups_center_menu_tooltip",tooltipDisabled:"_Markups_center_menu_tooltip"},{buttonId:"cmButSection",iconClass:"ui-icon-section",text:"_Sectioning_center_menu_tooltip",tooltip:"_Sectioning_center_menu_tooltip",tooltipDisabled:"_Sectioning_center_menu_tooltip"},{buttonId:"cmButObjTranspMenu",iconClass:"ui-icon-obj-transp",text:"_Hide_objects_center_menu_tooltip",tooltip:"_Hide_objects_center_menu_tooltip",tooltipDisabled:"_Hide_objects_center_menu_tooltip"},{buttonId:"cmButObjSel",iconClass:"ui-icon-obj-select",text:"_Isolate_objects_center_menu_tooltip",tooltip:"_Isolate_objects_center_menu_tooltip",tooltipDisabled:"_Isolate_objects_center_menu_tooltip"},{buttonId:"cmButNavigationMap",iconClass:"ui-icon-navigation-map",text:"_Navigation_nap_center_menu_tooltip",tooltip:"_Navigation_nap_center_menu_tooltip",tooltipDisabled:"_Navigation_nap_center_menu_tooltip"},{buttonId:"cmButFullScreen",iconClass:"ui-icon-fullscreen",text:"_Fullscreen_node_center_menu_tooltip",tooltip:"_Fullscreen_node_center_menu_tooltip",tooltipDisabled:"_Fullscreen_node_center_menu_tooltip"},{buttonId:"cmButProjectNavigator",iconClass:"ui-icon-project-navigator",text:"_Project_navigator_center_menu_tooltip",tooltip:"_Project_navigator_center_menu_tooltip",tooltipDisabled:"_Project_navigator_center_menu_tooltip"},{iconClass:"ui-icon-obj-reset",buttonId:"cmButResetObj",text:"_Reset_viewport_center_menu_tooltip",tooltip:"_Reset_viewport_center_menu_tooltip",tooltipDisabled:"_Reset_viewport_center_menu_tooltip"},{buttonId:"cmButResetVp",iconClass:"ui-icon-reset-vp",text:"_Select_view_center_menu_tooltip",tooltip:"_Select_view_center_menu_tooltip",tooltipDisabled:"_Select_view_center_menu_tooltip",subMenuId:"cmb-view-submenu",subItems:[{buttonId:"cmButFrontView",iconClass:"ui-icon-front-view",text:"_Front_view_center_menu_tooltip",tooltip:"_Front_view_center_menu_tooltip",tooltipDisabled:"_Front_view_center_menu_tooltip",actionClick:"centerMenuFrontViewClick"},{buttonId:"cmButTopView",iconClass:"ui-icon-top-view",text:"_Top_view_center_menu_tooltip",tooltip:"_Top_view_center_menu_tooltip",tooltipDisabled:"_Top_view_center_menu_tooltip",actionClick:"centerMenuTopViewClick"},{buttonId:"cmButSideView",iconClass:"ui-icon-side-view",text:"_Side_view_center_menu_tooltip",tooltip:"_Side_view_center_menu_tooltip",tooltipDisabled:"_Side_view_center_menu_tooltip",actionClick:"centerMenuSideViewClick"},{buttonId:"cmButPerspectiveView",iconClass:"ui-icon-perspective-view",text:"_Perspective_view_center_menu_tooltip",tooltip:"_Perspective_view_center_menu_tooltip",tooltipDisabled:"_Perspective_view_center_menu_tooltip",actionClick:"centerMenuPerspectiveViewClick"}]}];return t.map(e=>{e.active=!1,e.disabled=!0}),t}var kh=(()=>{let e=class e extends ne{constructor(n){super(n),this.left=500,this.top=500,this.title="",this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new x,this.subItemClicked=new x,this._isOpened=!0,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._hoveredElements=Array(),this.items=rI(),this._visualSettings=oI(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=At.generateAnnularSector(this._visualSettings),this._annularSectorBorder=At.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=At.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(n){this._itemStates=n,this.setItemStates(this._itemStates)}setItemStates(n){for(let o of n){let r=this._items.find(s=>s.buttonId===o.buttonId);r&&(o.active!=null&&(r.active=o.active),o.disabled!==void 0&&(r.disabled=o.disabled))}}get items(){return this._items}set items(n){this._items=n;let o=this._items?.length>0?this._items.length:1,r=document?.documentElement?.style;if(r){let s=r.getPropertyValue("--menu-items");parseInt(s)!=o&&r.setProperty("--menu-items",o.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isOpened(){return this._isOpened}set isOpened(n){this._isOpened=n,this.title=this._isOpened?this.translateService.instant("_Minimize_toolhub_tooltip"):this.translateService.instant("_Show_toolhub_tooltip")}get units(){return this._units}get subMenuUnits(){return this._subMenuUnits}get annularSector(){return this._annularSector}get annularSectorBorder(){return this._annularSectorBorder}get deadZoneAnnularSector(){return this._deadZoneAnnularSector}getSVGViewBox(){return At.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return At.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return At.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return At.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.isOpened=!this.isOpened}findToolHubItemById(n){return this._items.find(o=>o.buttonId===n)}clickToolHubItem(n){let o=this.findToolHubItemById(n);!o||o?.disabled||this.itemClicked.emit(n)}clickToolHubSubItem(n){!this._activeSubItems||!this._activeSubItems.find(r=>r.buttonId===n)||(this.subItemClicked.emit(n),this.closeActiveSubItemsView())}toggleToolHubItemActive(n){let o=this.findToolHubItemById(n);!o||o.disabled||(o.active=!o.active)}toggleSubItemsView(n){let o=this.findToolHubItemById(n);!o||o.disabled||!o.subItems||(o.active=!o.active,o.active?(this._activeSubItemsView=o,this._activeSubItems=o.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(n,o){let r=this._hoveredElements.indexOf(n),s=this._hoveredElements.length;r>=0&&!o&&this._hoveredElements.splice(r,1),r<0&&o&&this._hoveredElements.push(n),s>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}dragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}calculateCurrentMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-tool-hub"]],hostVars:4,hostBindings:function(o,r){o&2&&Me("left",r.left,"px")("top",r.top,"px")},inputs:{left:"left",top:"top",itemStates:"itemStates",items:"items",isOpened:[b.HasDecoratorInputTransform,"isOpened","isOpened",D],isEmbedded:[b.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isFocused:[b.HasDecoratorInputTransform,"isFocused","isFocused",D],isActive:[b.HasDecoratorInputTransform,"isActive","isActive",D]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[K([P]),fe,B,S],decls:22,vars:20,consts:[[1,"center-menu"],["id","center-menu-fp-id",1,"center-menu-fp",3,"ngClass"],["libDraggable","","id","center-menu-controller","data-test","toolhub_controller",1,"center-menu-controller","dragger",3,"clicked","dragging","ngClass","title"],[1,"center-menu-circle-border-inner",3,"ngClass"],[1,"center-menu-circle-border-outer",3,"mouseleave","mouseenter","ngClass"],["libDraggable","",1,"center-menu-circle",3,"mouseleave","mouseenter","dragging","ngClass"],["libDraggable","",3,"title","item","active","isEnabled","clicked",4,"ngFor","ngForOf"],["fill","none",1,"centermenu-button-svg"],["id","svgCenterMenu","clipPathUnits","objectBoundingBox"],["fill","white"],["id","svgCenterMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterSubMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenu","clipPathUnits","objectBoundingBox"],["fill","none"],["id","svgCenterMenuSubMenuBorder","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenuDeadZone","clipPathUnits","objectBoundingBox"],["libDraggable","",3,"clicked","title","item","active","isEnabled"],[1,"center-menu-sub-menu-border",3,"mouseleave","mouseenter","ngClass"],[1,"center-menu-sub-menu",3,"mouseleave","mouseenter","ngClass"],[3,"title","item","click",4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"click","title","item"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),R(3,"translate"),_("clicked",function(){return r.toggleMenu()})("dragging",function(a){return r.dragElement(a)}),f(),O(4,"div",3),m(5,"div",4),_("mouseleave",function(){return r.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return r.setHoveredState("menuCircleBorderOuter",!0)}),f(),m(6,"div",5),_("mouseleave",function(){return r.setHoveredState("menuCircle",!1)})("mouseenter",function(){return r.setHoveredState("menuCircle",!0)})("dragging",function(a){return r.dragElement(a)}),w(7,tI,2,7,"lib-tool-hub-item",6),lp(),m(8,"svg",7)(9,"clipPath",8),O(10,"path",9),f(),m(11,"clipPath",10),O(12,"path",9),f(),m(13,"clipPath",11),O(14,"path",9),f(),m(15,"clipPath",12),O(16,"path",13),f(),m(17,"clipPath",14),O(18,"path",13),f(),m(19,"clipPath",15),O(20,"path",13),f()()(),w(21,iI,4,4),f()()),o&2&&(d(),p("ngClass",r.activeSubItems?"submenu-active":""),d(),p("ngClass",et(17,eI,r.isOpened,r.isActive))("title",L(3,15,"_Minimize_toolhub_tooltip")),d(2),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngForOf",r.items),d(),H("viewBox",r.getSVGViewBox()),d(2),H("d",r.getSVGCenterMenuPath()),d(2),H("d",r.getSVGCenterMenuItemPath()),d(2),H("d",r.getSVGCenterSubMenuItemPath()),d(2),H("d",r.annularSector),d(2),H("d",r.annularSectorBorder),d(2),H("d",r.deadZoneAnnularSector),d(),Q(21,r.activeSubItems?21:-1))},dependencies:[te,xe,N,X,ve,Ih,Eh,Dn],styles:[`.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.shadow{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch .center-menu .submenu-container{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch #cmb-view-submenu{display:none;top:19rem}.is-touch #cmb-view-submenu .bim-ui-popupwin-tick-down{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position{left:-35rem}}#center-menu-fp-id{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded{min-width:16.5rem;min-height:16.5rem}.center-menu{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu>*{pointer-events:all}.center-menu .hidden{display:none!important}.center-menu .center-menu-fp.submenu-active{width:27rem}.center-menu .center-menu-controller{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu .center-menu-controller.opened{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu .center-menu-controller:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu .center-menu-sub-menu-dead-zone{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu .center-menu-sub-menu-border{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu .center-menu-sub-menu{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-sub-menu .centermenu-button{width:35rem;height:35rem;left:auto;right:0}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-text{display:none}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-icon{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .center-sub-menu-button{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu .center-menu-sub-menu .center-sub-menu-button.active:not(.disabled){background-color:#fe5000}.center-menu .center-menu-sub-menu .center-sub-menu-button .center-sub-menu-button-icon{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu .center-menu-circle-border-outer,.center-menu .center-menu-circle-border-inner{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu .center-menu-circle-border-outer{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu .center-menu-circle-border-inner{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu .center-menu-circle{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-circle .centermenu-button-text{display:none}.center-menu .center-menu-circle .bim-ui-popupwin-content{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu .center-menu-circle .bim-ui-popupwin-content .section-menu-item,.center-menu .center-menu-circle .bim-ui-popupwin-content .annotation-menu-item{text-align:center}.center-menu .center-menu-circle .bim-ui-popupwin-item{min-width:7.125em}.center-menu .center-menu-circle .submenu-container{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu .center-menu-circle .centermenu-button:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5) .centermenu-button-icon{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7) .centermenu-button-icon{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8) .centermenu-button-icon{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9) .centermenu-button-icon{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10) .centermenu-button-icon{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11) .centermenu-button-icon{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu .centermenu-button{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu .centermenu-button.active:not(.disabled){background-color:#fe5000}.center-menu .centermenu-button .centermenu-button-icon{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button:nth-child(1) .center-sub-menu-button-icon{transform:rotate(-65deg)}.center-sub-menu-button:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button:nth-child(2) .center-sub-menu-button-icon{transform:rotate(-85deg)}.center-sub-menu-button:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button:nth-child(3) .center-sub-menu-button-icon{transform:rotate(-105deg)}.center-sub-menu-button:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button:nth-child(4) .center-sub-menu-button-icon{transform:rotate(-125deg)}@-webkit-keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu .center-menu-fp.is-dragging .center-menu-controller,.center-menu .center-menu-fp.is-dragging .centermenu-button{cursor:move}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-controller,.center-menu .center-menu-fp:not(.is-dragging) .centermenu-button{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button:not(.active):hover{background-color:#8d8d8d}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button.pulse:not(.disabled){-webkit-animation:highlight .25s linear;animation:highlight .25s linear}#cmb-view-submenu{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu{display:none;text-align:left;position:absolute}.center-menu{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .embedded .center-menu-circle{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-controller{left:5.8rem;top:5.8rem}.center-menu .embedded .centermenu-button,.center-menu .embedded .center-menu-circle-border-outer,.center-menu .embedded .center-menu-circle-border-inner{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-sub-menu{width:30rem;height:31rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button{width:30rem;height:30rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu-border{width:30rem;height:31rem}.ui-icon-create-task{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./media/cm_view_top_orange.svg")}
26
- `],encapsulation:3});let t=e;return t})();var sI=(t,e)=>({open:t,"is-touch":e}),aI=t=>({open:t}),lI=t=>({selected:t});function cI(t,e){if(t&1){let i=F();m(0,"li",7),_("click",function(){let o=M(i).$implicit,r=h();return I(r._menuItemClicked(o.mode))}),O(1,"div",8),m(2,"span"),E(3),R(4,"translate"),f()()}if(t&2){let i=e.$implicit,n=h();p("ngClass",ke(5,lI,n.selectedMode===i.mode)),d(),p("ngClass",i.class),d(2),oe(L(4,3,i.textId))}}var Sh=(()=>{let e=class e extends ne{constructor(n){super(n),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new x}get _selectedItem(){return this._menuItemsList.find(n=>n.mode==this.selectedMode)}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}_menuItemClicked(n){ae(this,"bimplusTouchModeSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},standalone:!0,features:[K([P]),fe,B,$e,S],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"click","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"],[1,"icon",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),_("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),_("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),w(6,cI,5,7,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",et(5,sI,r._menuOpened,r.isTouch)),d(2),p("ngClass",r._selectedItem!=null&&r._selectedItem.class?r._selectedItem==null?null:r._selectedItem.class:""),d(2),p("ngClass",ke(8,aI,r._menuOpened)),d(),p("ngForOf",r._menuItemsList))},dependencies:[N,X,ve,te,xe],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:#555;background-color:#e7e7e7}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:#777;min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;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 .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:#333}.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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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 2.2em .2em 2em;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}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:#e5e5e5;cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.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-touch-mode-toolbar{background:url("./media/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./media/bimplus_Components_Desktop_Mode.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}
27
- `],encapsulation:3});let t=e;return t})();var dI=(t,e)=>({divider:t,languageMenuItem:e});function uI(t,e){if(t&1&&E(0),t&2){let i=h();z(" ",i.userName," ")}}function mI(t,e){if(t&1){let i=F();m(0,"div",16),_("click",function(){let o=M(i).$implicit,r=h(4);return I(r._switchLanguage(o.symbol))}),E(1),f()}if(t&2){let i=e.$implicit,n=h(4);ge("id",n._getLangId(i)),p("ngClass",i.symbol===n.selectedLanguage?"selected":""),H("key",n._getLangId(i)),d(),z(" ",i.text," ")}}function pI(t,e){if(t&1&&(O(0,"div",10)(1,"div",11),m(2,"span",12),E(3),R(4,"translate"),f(),m(5,"div",13)(6,"div",14),w(7,mI,2,4,"div",15),f()()),t&2){let i=h(2).$implicit,n=h();d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),z(" ",L(4,5,i.textId)," "),d(2),p("ngClass",n._languagesMenuOpened?"open":""),d(2),p("ngForOf",n._languagesList)}}function fI(t,e){if(t&1&&(O(0,"div",17)(1,"div",11),m(2,"span",12),E(3),R(4,"translate"),f()),t&2){let i=h(2).$implicit;d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),z(" ",L(4,3,i.textId)," ")}}function gI(t,e){if(t&1&&(O(0,"div",17),m(1,"a",18),O(2,"div",11),m(3,"span",12),E(4),R(5,"translate"),f()()),t&2){let i=h(2).$implicit,n=h();d(),ge("href",n._buildUrl(i),Ro),d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),z(" ",L(5,4,i.textId)," ")}}function hI(t,e){if(t&1){let i=F();m(0,"li",9),_("click",function(){M(i);let o=h(),r=o.$implicit,s=o.index,a=h();return I(a._menuItemClicked(r,s))}),w(1,pI,8,7)(2,fI,5,5)(3,gI,6,6),f()}if(t&2){let i=h().$implicit;p("ngClass",et(4,dI,i.type==="divider",i.action==="submenu")),H("key",i.id)("role",i.type==="divider"?"separator":""),d(),Q(1,i.action==="submenu"?1:!i.url||i.url.slice(0,2)==="#/"?2:!i.type||i.type!=="divider"?3:-1)}}function bI(t,e){if(t&1&&(ut(0),w(1,hI,4,7,"li",8),mt()),t&2){let i=e.$implicit;d(),p("ngIf",i)}}var Oh=(()=>{let e=class e extends ne{constructor(n){super(n),this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",url:"",textClass:"",queryParams:""},{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",url:"https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",type:"",checkState:"",textClass:"",queryParams:""},{id:"supportLink",action:"support",class:"icon-support",textId:"_Support",url:"https://connect.allplan.com/en/support/contact.ct",queryParams:"no_cache=1",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",url:"https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",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:""}],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.bimplusUserMenuClicked=new x,this.bimplusLanguageSelected=new x}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}_menuItemClicked(n,o){!n||n.type==="divider"||(n.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,ae(this,"bimplusUserMenuClicked",{index:o,action:n.action?n.action:""})))}_switchLanguage(n){this._languagesMenuOpened=!1,this._menuOpened=!1,ae(this,"bimplusLanguageSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(n){return n?!this[`${n.action?n.action:n.id}Visible`]:!1}_buildUrl(n){let o=n?.url,s=this._languagesList.find(l=>l.symbol===this.selectedLanguage)?.lCode,a=n?.url?.endsWith?.(".ct")&&s;return(n?.queryParams||a)&&(o=o+"?",a&&(o=o+"L="+s,n?.queryParams&&(o=o+"&")),n?.queryParams&&(o=o+n.queryParams)),o}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(o=>{if(!(this._isHidden(o)||o.checkState&&!this[o.checkState]))return o})}_getLangId(n){return"portalLanguage"+n?.symbol.charAt(0).toUpperCase()+n?.symbol.slice(1)}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[b.HasDecoratorInputTransform,"accountSettingsVisible","accountSettingsVisible",D],removeConnectedAppsVisible:[b.HasDecoratorInputTransform,"removeConnectedAppsVisible","removeConnectedAppsVisible",D],userGuideVisible:[b.HasDecoratorInputTransform,"userGuideVisible","userGuideVisible",D],supportVisible:[b.HasDecoratorInputTransform,"supportVisible","supportVisible",D],forumVisible:[b.HasDecoratorInputTransform,"forumVisible","forumVisible",D],submenuVisible:[b.HasDecoratorInputTransform,"submenuVisible","submenuVisible",D],clearCacheVisible:[b.HasDecoratorInputTransform,"clearCacheVisible","clearCacheVisible",D],dividerLoggedInVisible:[b.HasDecoratorInputTransform,"dividerLoggedInVisible","dividerLoggedInVisible",D],logoutVisible:[b.HasDecoratorInputTransform,"logoutVisible","logoutVisible",D],isEmbedded:[b.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],allowRcaItem:[b.HasDecoratorInputTransform,"allowRcaItem","allowRcaItem",D],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[K([P]),fe,B,$e,S],decls:9,vars:10,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click",4,"ngIf"],[3,"click","ngClass"],[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",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","id","ngClass"],[1,"submenu"],["rel","noopener","target","_blank",3,"href"]],template:function(o,r){o&1&&(m(0,"div",0),_("click",function(){return r._toggleOpened()}),f(),m(1,"div",1)(2,"div",2),_("click",function(){return r._toggleOpened()}),O(3,"img",3),m(4,"div",4),w(5,uI,1,1),f(),O(6,"span",5),f(),m(7,"ul",6),w(8,bI,2,1,"ng-container",7),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),H("key","bimcompOverlay"),d(),p("ngClass",r._menuOpened?"open":""),H("key","userMenu"),d(),p("title",r.buttonTitle?r.buttonTitle:""),d(),ge("src",r.userPhotoUrl?r.userPhotoUrl:"",Ro),ge("alt",r.buttonTitle?r.buttonTitle:""),d(2),Q(5,r.isTouch?-1:5),d(2),p("ngClass",r._menuOpened?"open":""),d(),p("ngForOf",r._getMenuItems()))},dependencies:[N,X,ve,Le,te,xe],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:#555;background-color:#e7e7e7}.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:#777}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./media/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:#333}.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 rgba(0,0,0,.15);box-shadow:0 1px 2px #00000040;background-color:#fff}.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:#fff;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:#ffe6da}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:#fff;border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:#fff;border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:#f5f5f5}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:#f5f5f5;border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:#f5f5f5;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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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 2.2em .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}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./media/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:#e5e5e5;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:#555;text-decoration-color:#333;text-decoration-line:none}.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("./media/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./media/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./media/bimplus_Components_User_Guide.svg") no-repeat center}.icon-support{background:url("./media/bimplus_Components_Support.svg") no-repeat center}.icon-forum{background:url("./media/bimplus_Components_Forum.svg") no-repeat center}.icon-clear-cache{background:url("./media/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./media/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./media/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}
28
- `],encapsulation:3});let t=e;return t})();var _I=(t,e)=>({open:t,"is-touch":e});function vI(t,e){if(t&1){let i=F();m(0,"li",7),_("click",function(){let o=M(i).$implicit,r=h();return I(r._switchZoom(o.symbol))}),m(1,"span"),E(2),f()()}if(t&2){let i=e.$implicit,n=h();p("ngClass",n._getZoomClassObject(i.symbol)),d(2),oe(i.text)}}var Th=(()=>{let e=class e{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 x}_switchZoom(n){ae(this,"bimplusZoomSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(n){return{selected:this.selectedZoom===n,["bimzoom-"+n]:!0}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[b.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},standalone:!0,features:[fe,S],decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"click","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",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),_("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),_("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),w(6,vI,3,2,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",et(4,_I,r._menuOpened,r.isTouch)),d(4),p("ngClass",r._menuOpened?"open":""),d(),p("ngForOf",r._zoomList))},dependencies:[N,X,ve],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:#555;background-color:#e7e7e7}.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:#777;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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.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("./media/bimplus_Components_Zoom.svg")}
29
- `],encapsulation:3});let t=e;return t})();var Od;try{Od=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Od=!1}var Dt=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Wf(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||Od)&&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}};e.\u0275fac=function(o){return new(o||e)(j(gn))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var tr;function yI(){if(tr==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>tr=!0}))}finally{tr=tr||!1}return tr}function Ji(t){return yI()?t:!!t.capture}var Sd;function CI(){if(Sd==null){let t=typeof document<"u"?document.head:null;Sd=!!(t&&(t.createShadowRoot||t.attachShadow))}return Sd}function Ph(t){if(CI()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function kn(t){return t.composedPath?t.composedPath()[0]:t.target}function Ah(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Td(t){return Array.isArray(t)?t:[t]}function ei(t){return t instanceof se?t.nativeElement:t}var Fh=new Set,ti,wI=(()=>{let e=class e{constructor(n,o){this._platform=n,this._nonce=o,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):DI}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&xI(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(No,8))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function xI(t,e){if(!Fh.has(t))try{ti||(ti=document.createElement("style"),e&&ti.setAttribute("nonce",e),ti.setAttribute("type","text/css"),document.head.appendChild(ti)),ti.sheet&&(ti.sheet.insertRule(`@media ${t} {body{ }}`,0),Fh.add(t))}catch(i){console.error(i)}}function DI(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var jh=(()=>{let e=class e{constructor(n,o){this._mediaMatcher=n,this._zone=o,this._queries=new Map,this._destroySubject=new ye}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Nh(Td(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let r=Nh(Td(n)).map(a=>this._registerQuery(a).observable),s=Ba(r);return s=Xt(s.pipe(It(1)),s.pipe(uo(1),mi(0))),s.pipe(ze(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let o=this._mediaMatcher.matchMedia(n),s={observable:new ue(a=>{let l=c=>this._zone.run(()=>a.next(c));return o.addListener(l),()=>{o.removeListener(l)}}).pipe(mo(o),ze(({matches:a})=>({query:n,matches:a})),ct(this._destroySubject)),mql:o};return this._queries.set(n,s),s}};e.\u0275fac=function(o){return new(o||e)(j(wI),j(Ce))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Nh(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}function Ad(t){return t.buttons===0||t.detail===0}function Fd(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var MI=new U("cdk-input-modality-detector-options"),II={ignoreKeys:[18,17,224,91,16]},Vh=650,eo=Ji({passive:!0,capture:!0}),EI=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,o,r,s){this._platform=n,this._mostRecentTarget=null,this._modality=new We(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=kn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<Vh||(this._modality.next(Ad(a)?"keyboard":"mouse"),this._mostRecentTarget=kn(a))},this._onTouchstart=a=>{if(Fd(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=kn(a)},this._options=ce(ce({},II),s),this.modalityDetected=this._modality.pipe(uo(1)),this.modalityChanged=this.modalityDetected.pipe($a()),n.isBrowser&&o.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,eo),r.addEventListener("mousedown",this._onMousedown,eo),r.addEventListener("touchstart",this._onTouchstart,eo)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,eo),document.removeEventListener("mousedown",this._onMousedown,eo),document.removeEventListener("touchstart",this._onTouchstart,eo))}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(Ce),j(Ze),j(MI,8))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ua=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(ua||{}),kI=new U("cdk-focus-monitor-default-options"),da=Ji({passive:!0,capture:!0}),Bh=(()=>{let e=class e{constructor(n,o,r,s,a){this._ngZone=n,this._platform=o,this._inputModalityDetector=r,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 ye,this._rootNodeFocusAndBlurListener=l=>{let c=kn(l);for(let u=c;u;u=u.parentElement)l.type==="focus"?this._onFocus(l,u):this._onBlur(l,u)},this._document=s,this._detectionMode=a?.detectionMode||ua.IMMEDIATE}monitor(n,o=!1){let r=ei(n);if(!this._platform.isBrowser||r.nodeType!==1)return lt();let s=Ph(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return o&&(a.checkChildren=!0),a.subject;let l={checkChildren:o,subject:new ye,rootNode:s};return this._elementInfo.set(r,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let o=ei(n),r=this._elementInfo.get(o);r&&(r.subject.complete(),this._setClasses(o),this._elementInfo.delete(o),this._removeGlobalListeners(r))}focusVia(n,o,r){let s=ei(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,o,c)):(this._setOrigin(o),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((n,o)=>this.stopMonitoring(o))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===ua.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,o){n.classList.toggle("cdk-focused",!!o),n.classList.toggle("cdk-touch-focused",o==="touch"),n.classList.toggle("cdk-keyboard-focused",o==="keyboard"),n.classList.toggle("cdk-mouse-focused",o==="mouse"),n.classList.toggle("cdk-program-focused",o==="program")}_setOrigin(n,o=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&o,this._detectionMode===ua.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?Vh:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(n,o){let r=this._elementInfo.get(o),s=kn(n);!r||!r.checkChildren&&o!==s||this._originChanged(o,this._getFocusOrigin(s),r)}_onBlur(n,o){let r=this._elementInfo.get(o);!r||r.checkChildren&&n.relatedTarget instanceof Node&&o.contains(n.relatedTarget)||(this._setClasses(o),this._emitOrigin(r,null))}_emitOrigin(n,o){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(o))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let o=n.rootNode,r=this._rootNodeFocusListenerCount.get(o)||0;r||this._ngZone.runOutsideAngular(()=>{o.addEventListener("focus",this._rootNodeFocusAndBlurListener,da),o.addEventListener("blur",this._rootNodeFocusAndBlurListener,da)}),this._rootNodeFocusListenerCount.set(o,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ct(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let o=n.rootNode;if(this._rootNodeFocusListenerCount.has(o)){let r=this._rootNodeFocusListenerCount.get(o);r>1?this._rootNodeFocusListenerCount.set(o,r-1):(o.removeEventListener("focus",this._rootNodeFocusAndBlurListener,da),o.removeEventListener("blur",this._rootNodeFocusAndBlurListener,da),this._rootNodeFocusListenerCount.delete(o))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,o,r){this._setClasses(n,o),this._emitOrigin(r,o),this._lastFocusOrigin=o}_getClosestElementsInfo(n){let o=[];return this._elementInfo.forEach((r,s)=>{(s===n||r.checkChildren&&s.contains(n))&&o.push([s,r])}),o}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:o,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!o||o===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(o))return!0}return!1}};e.\u0275fac=function(o){return new(o||e)(j(Ce),j(Dt),j(EI),j(Ze,8),j(kI,8))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ni=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(ni||{}),Rh="cdk-high-contrast-black-on-white",Lh="cdk-high-contrast-white-on-black",Pd="cdk-high-contrast-active",zh=(()=>{let e=class e{constructor(n,o){this._platform=n,this._document=o,this._breakpointSubscription=be(jh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ni.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let o=this._document.defaultView||window,r=o&&o.getComputedStyle?o.getComputedStyle(n):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ni.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ni.BLACK_ON_WHITE}return ni.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Pd,Rh,Lh),this._hasCheckedHighContrastMode=!0;let o=this.getHighContrastMode();o===ni.BLACK_ON_WHITE?n.add(Pd,Rh):o===ni.WHITE_ON_BLACK&&n.add(Pd,Lh)}}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(Ze))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var OI=new U("cdk-dir-doc",{providedIn:"root",factory:TI});function TI(){return be(Ze)}var PI=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function AI(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?PI.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Hh=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new x,n){let o=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=AI(o||r||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(o){return new(o||e)(j(OI,8))},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Nd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({});let t=e;return t})();function NI(){return!0}var jI=new U("mat-sanity-checks",{providedIn:"root",factory:NI}),zt=(()=>{let e=class e{constructor(n,o,r){this._sanityChecks=o,this._document=r,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return Ah()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(o){return new(o||e)(j(zh),j(jI,8),j(Ze))},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({imports:[Nd,Nd]});let t=e;return t})();var Ft=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Ft||{}),Ld=class{constructor(e,i,n,o=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=o,this.state=Ft.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},$h=Ji({passive:!0,capture:!0}),Vd=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=kn(e);i&&this._events.get(e.type)?.forEach((n,o)=>{(o===i||o.contains(i))&&n.forEach(r=>r.handleEvent(e))})}}addHandler(e,i,n,o){let r=this._events.get(i);if(r){let s=r.get(n);s?s.add(o):r.set(n,new Set([o]))}else this._events.set(i,new Map([[n,new Set([o])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,$h)})}removeHandler(e,i,n){let o=this._events.get(e);if(!o)return;let r=o.get(i);r&&(r.delete(n),r.size===0&&o.delete(i),o.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,$h)))}},Uh={enterDuration:225,exitDuration:150},RI=800,Wh=Ji({passive:!0,capture:!0}),Gh=["mousedown","touchstart"],qh=["mouseup","mouseleave","touchend","touchcancel"],nr=class nr{constructor(e,i,n,o){this._target=e,this._ngZone=i,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=ei(n))}fadeInRipple(e,i,n={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ce(ce({},Uh),n.animation);n.centered&&(e=o.left+o.width/2,i=o.top+o.height/2);let s=n.radius||LI(e,i,o),a=e-o.left,l=i-o.top,c=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${l-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,n.color!=null&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let g=window.getComputedStyle(u),v=g.transitionProperty,C=g.transitionDuration,T=v==="none"||C==="0s"||C==="0s, 0s"||o.width===0&&o.height===0,A=new Ld(this,u,n,T);u.style.transform="scale3d(1, 1, 1)",A.state=Ft.FADING_IN,n.persistent||(this._mostRecentTransientRipple=A);let Y=null;return!T&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let $=()=>this._finishRippleTransition(A),De=()=>this._destroyRipple(A);u.addEventListener("transitionend",$),u.addEventListener("transitioncancel",De),Y={onTransitionEnd:$,onTransitionCancel:De}}),this._activeRipples.set(A,Y),(T||!c)&&this._finishRippleTransition(A),A}fadeOutRipple(e){if(e.state===Ft.FADING_OUT||e.state===Ft.HIDDEN)return;let i=e.element,n=ce(ce({},Uh),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=Ft.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=ei(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,Gh.forEach(n=>{nr._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{qh.forEach(i=>{this._triggerElement.addEventListener(i,this,Wh)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Ft.FADING_IN?this._startFadeOutTransition(e):e.state===Ft.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=Ft.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Ft.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=Ad(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+RI;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Fd(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===Ft.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ft.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Gh.forEach(i=>nr._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&qh.forEach(i=>e.removeEventListener(i,this,Wh)))}};nr._eventManager=new Vd;var Bd=nr;function LI(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),o=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+o*o)}var Kh=new U("mat-ripple-global-options"),VI=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,o,r,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Bd(this,o,n,r)}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:ce(ce(ce({},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(n,o=0,r){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,o,ce(ce({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,ce(ce({},this.rippleConfig),n))}};e.\u0275fac=function(o){return new(o||e)(y(se),y(Ce),y(Dt),y(Kh,8),y(Fo,8))},e.\u0275dir=q({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(o,r){o&2&&ie("mat-ripple-unbounded",r.unbounded)},inputs:{color:[b.None,"matRippleColor","color"],unbounded:[b.None,"matRippleUnbounded","unbounded"],centered:[b.None,"matRippleCentered","centered"],radius:[b.None,"matRippleRadius","radius"],animation:[b.None,"matRippleAnimation","animation"],disabled:[b.None,"matRippleDisabled","disabled"],trigger:[b.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),Xh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({imports:[zt,zt]});let t=e;return t})();var Zh={capture:!0},Yh=["focus","click","mouseenter","touchstart"],jd="mat-ripple-loader-uninitialized",Rd="mat-ripple-loader-class-name",Qh="mat-ripple-loader-centered",ma="mat-ripple-loader-disabled",Jh=(()=>{let e=class e{constructor(){this._document=be(Ze,{optional:!0}),this._animationMode=be(Fo,{optional:!0}),this._globalRippleOptions=be(Kh,{optional:!0}),this._platform=be(Dt),this._ngZone=be(Ce),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let r=n.target.closest(`[${jd}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(let n of Yh)this._document?.addEventListener(n,this._onInteraction,Zh)})}ngOnDestroy(){let n=this._hosts.keys();for(let o of n)this.destroyRipple(o);for(let o of Yh)this._document?.removeEventListener(o,this._onInteraction,Zh)}configureRipple(n,o){n.setAttribute(jd,""),(o.className||!n.hasAttribute(Rd))&&n.setAttribute(Rd,o.className||""),o.centered&&n.setAttribute(Qh,""),o.disabled&&n.setAttribute(ma,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,o){let r=this._hosts.get(n);if(r){r.disabled=o;return}o?n.setAttribute(ma,""):n.removeAttribute(ma)}_createRipple(n){if(!this._document)return;let o=this._hosts.get(n);if(o)return o;n.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",n.getAttribute(Rd)),n.append(r);let s=new VI(new se(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(Qh),s.disabled=n.hasAttribute(ma),this.attachRipple(n,s),s}attachRipple(n,o){n.removeAttribute(jd),this._hosts.set(n,o)}destroyRipple(n){let o=this._hosts.get(n);o&&(o.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var eb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({imports:[zt,zt]});let t=e;return t})();var BI=".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 zI=["mat-icon-button",""],HI=["*"];var $I=new U("MAT_BUTTON_CONFIG");var UI=[{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"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],WI=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,o,r,s){this._elementRef=n,this._platform=o,this._ngZone=r,this._animationMode=s,this._focusMonitor=be(Bh),this._rippleLoader=be(Jh),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=be($I,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:u,mdcClasses:g}of UI)l.hasAttribute(u)&&c.add(...g)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",o){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,o):this._elementRef.nativeElement.focus(o)}_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)}};e.\u0275fac=function(o){Hp()},e.\u0275dir=q({type:e,inputs:{color:"color",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",D],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",D],ariaDisabled:[b.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",D],disabledInteractive:[b.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",D]},features:[fe]});let t=e;return t})();var tb=(()=>{let e=class e extends WI{constructor(n,o,r,s){super(n,o,r,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(o){return new(o||e)(y(se),y(Dt),y(Ce),y(Fo,8))},e.\u0275cmp=k({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(o,r){o&2&&(H("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Lo(r.color?"mat-"+r.color:""),ie("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[B,S],attrs:zI,ngContentSelectors:HI,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(o,r){o&1&&(Ue(),O(0,"span",0),Pe(1),O(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{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);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.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 .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{z-index:1}.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)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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.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}',BI],encapsulation:2,changeDetection:0});let t=e;return t})();var nb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({imports:[zt,Xh,zt]});let t=e;return t})();var pa=class{};function ib(t){return t&&typeof t.connect=="function"&&!(t instanceof oo)}var ii=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,o){this._multiple=e,this._emitChanges=n,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ye,i&&i.length&&(e?i.forEach(r=>this._markSelected(r)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(r=>this._markSelected(r)),i.filter(r=>!n.has(this._getConcreteValue(r,n))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}};var zd=class{constructor(){this.expansionModel=new ii(!0)}toggle(e){this.expansionModel.toggle(this._trackByValue(e))}expand(e){this.expansionModel.select(this._trackByValue(e))}collapse(e){this.expansionModel.deselect(this._trackByValue(e))}isExpanded(e){return this.expansionModel.isSelected(this._trackByValue(e))}toggleDescendants(e){this.expansionModel.isSelected(this._trackByValue(e))?this.collapseDescendants(e):this.expandDescendants(e)}collapseAll(){this.expansionModel.clear()}expandDescendants(e){let i=[e];i.push(...this.getDescendants(e)),this.expansionModel.select(...i.map(n=>this._trackByValue(n)))}collapseDescendants(e){let i=[e];i.push(...this.getDescendants(e)),this.expansionModel.deselect(...i.map(n=>this._trackByValue(n)))}_trackByValue(e){return this.trackBy?this.trackBy(e):e}},fa=class extends zd{constructor(e,i,n){super(),this.getLevel=e,this.isExpandable=i,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(e){let i=this.dataNodes.indexOf(e),n=[];for(let o=i+1;o<this.dataNodes.length&&this.getLevel(e)<this.getLevel(this.dataNodes[o]);o++)n.push(this.dataNodes[o]);return n}expandAll(){this.expansionModel.select(...this.dataNodes.map(e=>this._trackByValue(e)))}};var ob=new U("CDK_TREE_NODE_OUTLET_NODE"),Hd=(()=>{let e=class e{constructor(n,o){this.viewContainer=n,this._node=o}};e.\u0275fac=function(o){return new(o||e)(y(Yt),y(ob,8))},e.\u0275dir=q({type:e,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0});let t=e;return t})(),$d=class{constructor(e){this.$implicit=e}},ga=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(y(_e))},e.\u0275dir=q({type:e,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[b.None,"cdkTreeNodeDefWhen","when"]},standalone:!0});let t=e;return t})();var to=(()=>{let e=class e{get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}constructor(n,o){this._differs=n,this._changeDetectorRef=o,this._onDestroy=new ye,this._levels=new Map,this.viewChange=new We({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy),this.treeControl}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)}ngAfterContentChecked(){let n=this._nodeDefs.filter(o=>!o.when);n.length>1,this._defaultNodeDef=n[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(n){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),n||this._nodeOutlet.viewContainer.clear(),this._dataSource=n,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let n;ib(this._dataSource)?n=this._dataSource.connect(this):Mt(this._dataSource)?n=this._dataSource:Array.isArray(this._dataSource)&&(n=lt(this._dataSource)),n&&(this._dataSubscription=n.pipe(ct(this._onDestroy)).subscribe(o=>this.renderNodeChanges(o)))}renderNodeChanges(n,o=this._dataDiffer,r=this._nodeOutlet.viewContainer,s){let a=o.diff(n);a&&(a.forEachOperation((l,c,u)=>{if(l.previousIndex==null)this.insertNode(n[u],u,r,s);else if(u==null)r.remove(c),this._levels.delete(l.item);else{let g=r.get(c);r.move(g,u)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,o){if(this._nodeDefs.length===1)return this._nodeDefs.first;let r=this._nodeDefs.find(s=>s.when&&s.when(o,n))||this._defaultNodeDef;return r}insertNode(n,o,r,s){let a=this._getNodeDef(n,o),l=new $d(n);this.treeControl.getLevel?l.level=this.treeControl.getLevel(n):typeof s<"u"&&this._levels.has(s)?l.level=this._levels.get(s)+1:l.level=0,this._levels.set(n,l.level),(r||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,l,o),oi.mostRecentTreeNode&&(oi.mostRecentTreeNode.data=n)}};e.\u0275fac=function(o){return new(o||e)(y(Li),y(xt))},e.\u0275cmp=k({type:e,selectors:[["cdk-tree"]],contentQueries:function(o,r,s){if(o&1&&ft(s,ga,5),o&2){let a;Ie(a=Ee())&&(r._nodeDefs=a)}},viewQuery:function(o,r){if(o&1&&gt(Hd,7),o&2){let s;Ie(s=Ee())&&(r._nodeOutlet=s.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(o,r){o&1&&pt(0,0)},dependencies:[Hd],encapsulation:2});let t=e;return t})(),oi=(()=>{let e=class e{get role(){return"treeitem"}set role(n){this._elementRef.nativeElement.setAttribute("role",n)}get data(){return this._data}set data(n){n!==this._data&&(this._data=n,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(n,o){this._elementRef=n,this._tree=o,this._destroyed=new ye,this._dataChanges=new ye,e.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=qI(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){e.mostRecentTreeNode===this&&(e.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){!this._tree.treeControl.isExpandable&&this._tree.treeControl.getChildren,this.role="treeitem"}};e.mostRecentTreeNode=null,e.\u0275fac=function(o){return new(o||e)(y(se),y(to))},e.\u0275dir=q({type:e,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(o,r){o&2&&H("aria-expanded",r.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0});let t=e;return t})();function qI(t){let e=t.parentElement;for(;e&&!ZI(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?yn(e.getAttribute("aria-level")):0:-1}function ZI(t){let e=t.classList;return!!(e?.contains("cdk-nested-tree-node")||e?.contains("cdk-tree"))}var YI=/([A-Za-z%]+)$/,Ud=(()=>{let e=class e{get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}constructor(n,o,r,s){this._treeNode=n,this._tree=o,this._element=r,this._dir=s,this._destroyed=new ye,this.indentUnits="px",this._indent=40,this._setPadding(),s&&s.change.pipe(ct(this._destroyed)).subscribe(()=>this._setPadding(!0)),n._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let n=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,o=this._level==null?n:this._level;return typeof o=="number"?`${o*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){let o=this._paddingIndent();if(o!==this._currentPadding||n){let r=this._element.nativeElement,s=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",a=s==="paddingLeft"?"paddingRight":"paddingLeft";r.style[s]=o||"",r.style[a]="",this._currentPadding=o}}_setLevelInput(n){this._level=isNaN(n)?null:n,this._setPadding()}_setIndentInput(n){let o=n,r="px";if(typeof n=="string"){let s=n.split(YI);o=s[0],r=s[1]||r}this.indentUnits=r,this._indent=yn(o),this._setPadding()}};e.\u0275fac=function(o){return new(o||e)(y(oi),y(to),y(se),y(Hh,8))},e.\u0275dir=q({type:e,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[b.HasDecoratorInputTransform,"cdkTreeNodePadding","level",yn],indent:[b.None,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[fe]});let t=e;return t})(),Wd=(()=>{let e=class e{constructor(n,o){this._tree=n,this._treeNode=o,this.recursive=!1}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}};e.\u0275fac=function(o){return new(o||e)(y(to),y(oi))},e.\u0275dir=q({type:e,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(o,r){o&1&&_("click",function(a){return r._toggle(a)})},inputs:{recursive:[b.HasDecoratorInputTransform,"cdkTreeNodeToggleRecursive","recursive",D]},standalone:!0,features:[fe]});let t=e;return t})();var ha=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({});let t=e;return t})();var rb=(()=>{let e=class e extends ga{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275dir=q({type:e,selectors:[["","matTreeNodeDef",""]],inputs:{when:[b.None,"matTreeNodeDefWhen","when"],data:[b.None,"matTreeNode","data"]},standalone:!0,features:[K([{provide:ga,useExisting:e}]),B]});let t=e;return t})();var sb=(()=>{let e=class e extends Ud{get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275dir=q({type:e,selectors:[["","matTreeNodePadding",""]],inputs:{level:[b.HasDecoratorInputTransform,"matTreeNodePadding","level",yn],indent:[b.None,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[K([{provide:Ud,useExisting:e}]),fe,B]});let t=e;return t})();var ab=(()=>{let e=class e extends Wd{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rt(e)))(r||e)}})(),e.\u0275dir=q({type:e,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[b.None,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[K([{provide:Wd,useExisting:e}]),B]});let t=e;return t})();var lb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Te({type:e}),e.\u0275inj=Oe({imports:[ha,zt,zt]});let t=e;return t})(),ba=class{constructor(e,i,n,o){this.transformFunction=e,this.getLevel=i,this.isExpandable=n,this.getChildren=o}_flattenNode(e,i,n,o){let r=this.transformFunction(e,i);if(n.push(r),this.isExpandable(r)){let s=this.getChildren(e);s&&(Array.isArray(s)?this._flattenChildren(s,i,n,o):s.pipe(It(1)).subscribe(a=>{this._flattenChildren(a,i,n,o)}))}return n}_flattenChildren(e,i,n,o){e.forEach((r,s)=>{let a=o.slice();a.push(s!=e.length-1),this._flattenNode(r,i+1,n,a)})}flattenNodes(e){let i=[];return e.forEach(n=>this._flattenNode(n,0,i,[])),i}expandFlattenedNodes(e,i){let n=[],o=[];return o[0]=!0,e.forEach(r=>{let s=!0;for(let a=0;a<=this.getLevel(r);a++)s=s&&o[a];s&&n.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=i.isExpanded(r))}),n}},_a=class extends pa{get data(){return this._data.value}set data(e){this._data.next(e),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(e,i,n){super(),this._treeControl=e,this._treeFlattener=i,this._flattenedData=new We([]),this._expandedData=new We([]),this._data=new We([]),n&&(this.data=n)}connect(e){return Jt(e.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ze(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var cb=(()=>{let e=class e{constructor(n){this.elementRef=n,this.clickOutside=new x}onClick(n){this.elementRef.nativeElement.contains(n)||this.clickOutside.emit()}};e.\u0275fac=function(o){return new(o||e)(y(se))},e.\u0275dir=q({type:e,selectors:[["","libClickOutside",""]],hostBindings:function(o,r){o&1&&_("click",function(a){return r.onClick(a.target)},!1,hn)},outputs:{clickOutside:"clickOutside"},standalone:!0});let t=e;return t})();function XI(t,e){if(t&1&&O(0,"div",10),t&2){let i=h(2).$implicit;Me("background-image","url("+i.icon+")")}}function JI(t,e){if(t&1){let i=F();m(0,"li",7),_("click",function(){M(i);let o=h().$implicit,r=h(2);return I(r._actionClick(o))}),w(1,XI,1,2,"div",8),m(2,"div",9),E(3),f()()}if(t&2){let i=h().$implicit,n=h(2);ie("basic-context-menu__item--disabled",n._disabled(i)),d(),p("ngIf",n.showIcons),d(),ge("title",i.tooltip?i.tooltip:i.title),d(),z(" ",i.title," ")}}function eE(t,e){t&1&&O(0,"div",11)}function tE(t,e){if(t&1&&(ut(0),w(1,JI,4,5,"li",5)(2,eE,1,0,"div",6),mt()),t&2){let i=e.$implicit;d(),p("ngIf",i.id!=="separator"),d(),p("ngIf",i.id==="separator")}}function nE(t,e){if(t&1&&(m(0,"ul",3),w(1,tE,3,2,"ng-container",4),f()),t&2){let i=h();d(),p("ngForOf",i._items)}}var no=(()=>{let e=class e{constructor(){this.showIcons=!0,this.triggerTitle="",this._showDropdown=!1,this._items=new Array,this._data=void 0}get items(){return this._items}set items(n){n&&(this._items=n)}get data(){return this._data}set data(n){this._data=n}_clickOutside(){this._showDropdown=!1}_actionClick(n){if(this._showDropdown=!1,typeof n.disabled=="function"){if(n.disabled?.(this._data))return;n.action?.(this._data);return}n.disabled||n.action?.(this._data)}_disabled(n){return n.disabled?typeof n.disabled=="function"?n.disabled?.(this._data):n.disabled:!1}_toggleDropdown(n){this._showDropdown=!this._showDropdown,n.stopPropagation()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[b.HasDecoratorInputTransform,"showIcons","showIcons",D],triggerTitle:"triggerTitle",items:"items",data:"data"},standalone:!0,features:[fe,S],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],[1,"context-menu-trigger",3,"click","title"],["class","basic-context-menu__list",4,"ngIf"],[1,"basic-context-menu__list"],[4,"ngFor","ngForOf"],["class","basic-context-menu__item",3,"basic-context-menu__item--disabled","click",4,"ngIf"],["class","basic-context-menu__item__separator",4,"ngIf"],[1,"basic-context-menu__item",3,"click"],["class","basic-context-menu__item__icon",3,"background-image",4,"ngIf"],[1,"basic-context-menu__item__label",3,"title"],[1,"basic-context-menu__item__icon"],[1,"basic-context-menu__item__separator"]],template:function(o,r){o&1&&(m(0,"div",0),_("clickOutside",function(){return r._clickOutside()}),m(1,"div",1),_("click",function(a){return r._toggleDropdown(a)}),f(),w(2,nE,2,1,"ul",2),f()),o&2&&(d(),ge("title",r.triggerTitle),d(),p("ngIf",r._showDropdown))},dependencies:[ve,Le,cb],styles:[`.text-selected{color:#fe5000}.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("./media/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./media/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:absolute;translate:var(--context-menu-trigger-width, 2.5rem) calc(0rem - var(--context-menu-trigger-height, 2.5rem));border:thin solid var(--context-menu-border-color, #E0E0E0);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 rgba(0,0,0,.5);-moz-box-shadow:0 .2rem .6rem rgba(0,0,0,.5);box-shadow:0 .2rem .6rem #00000080;width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-bkg-color, #ffffff)}.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:#333}.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("./media/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-hover-color, #F5F5F5)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-separator-color, #f5f5f5)}.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-hover-color, #F5F5F5)}
30
- `],encapsulation:3});let t=e;return t})();function iE(t,e){if(t&1&&(m(0,"div",5),E(1),f()),t&2){let i=h();d(),oe(i.treeTitle)}}function oE(t,e){t&1&&O(0,"div",12)}function rE(t,e){t&1&&O(0,"div",13)}function sE(t,e){if(t&1&&O(0,"lib-bimplus-context-menu",14),t&2){let i=h().$implicit,n=h();p("items",n.contextMenus==null?null:n.contextMenus.objectContextMenuitems)("data",i)}}function aE(t,e){if(t&1){let i=F();m(0,"cdk-tree-node",6),_("click",function(o){let r=M(i).$implicit,s=h();return I(s._togleNode(o,r))}),O(1,"button",7),w(2,oE,1,0,"div",8),m(3,"span",9),w(4,rE,1,0,"div",10),m(5,"div"),E(6),f()(),w(7,sE,1,2,"lib-bimplus-context-menu",11),f()}if(t&2){let i=e.$implicit,n=h();ie("dragable-node",n.enableDragAndDrop&&i.level>0)("selected-node",n._isSelected(i)),p("matTreeNodePaddingIndent",n.paddingIndent)("title",i.name),H("data-test",n.dataTestPrefix+i.id)("node-id",i.id),d(2),p("ngIf",n.showObjectsIcons),d(),ie("selected-node",n._isSelected(i)),d(3),z(" ",i.name," "),d(),p("ngIf",n.contextMenus==null||n.contextMenus.objectContextMenuitems==null?null:n.contextMenus.objectContextMenuitems.length)}}function lE(t,e){t&1&&O(0,"div",19)}function cE(t,e){t&1&&O(0,"div",13)}function dE(t,e){if(t&1&&O(0,"lib-bimplus-context-menu",14),t&2){let i=h().$implicit,n=h();p("items",n.contextMenus==null?null:n.contextMenus.folderContextMenuitems)("data",i)}}function uE(t,e){if(t&1){let i=F();m(0,"cdk-tree-node",15),_("click",function(o){let r=M(i).$implicit,s=h();return I(s._togleNode(o,r))}),m(1,"button",16),O(2,"div",17),f(),w(3,lE,1,0,"div",18),m(4,"span",9),w(5,cE,1,0,"div",10),m(6,"div",9),E(7),f()(),w(8,dE,1,2,"lib-bimplus-context-menu",11),f()}if(t&2){let i=e.$implicit,n=h();ie("dragable-node",n.enableDragAndDrop&&i.level>0)("selected-node",n._isSelected(i)),p("matTreeNodePaddingIndent",n.paddingIndent)("title",i.name),H("data-test",n.dataTestPrefix+i.id)("node-id",i.id),d(),H("aria-label","Toggle "+i.name),d(),ie("expand-more-icon",n._hasChildren(i)&&!n._treeControl.isExpanded(i))("collapse-icon",n._hasChildren(i)&&n._treeControl.isExpanded(i)),d(),p("ngIf",n.showFoldersIcons),d(),ie("selected-node",n._isSelected(i))("selected-all-descendants-nodes",n._descendantsAllSelected(i)&&n._isSelected(i)&&n.enableParentHighlighting)("selected-partially-descendants-nodes",n._descendantsPartiallySelected(i)&&n.enableParentHighlighting),d(3),z(" ",i.name," "),d(),p("ngIf",n.contextMenus==null||n.contextMenus.folderContextMenuitems==null?null:n.contextMenus.folderContextMenuitems.length)}}var Sn=(()=>{let e=class e{constructor(n){this.el=n,this.treeDataStringified=null,this.treeTitle="",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.selectedNodes=new x,this._selectionList=void 0,this._transformer=(o,r)=>({expandable:o.children!==void 0,children_count:o.children?.length,name:o.name,id:o.id,level:r,parent:o.parent}),this._treeControl=new fa(o=>o.level,o=>o.expandable),this._treeFlattener=new ba(this._transformer,o=>o.level,o=>o.expandable,o=>o.children),this._dataSource=new _a(this._treeControl,this._treeFlattener),this._isExpendable=(o,r)=>r.expandable}get treeData(){return this._dataSource.data}set treeData(n){this.treeDataStringified=null,this._dataSource.data=n}ngOnInit(){let n=this.el.nativeElement;n&&(n.get_node=this.get_node.bind(this),n.select_node=this.select_node.bind(this)),this._selectionList=new ii(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(n,o){for(let r of o){if(r.id===n)return r;if(r.children){let s=this._getNode(n,r.children);if(s)return s}}return null}get_node(n,o=!1){return typeof n=="string"?this._getNode(n,this._dataSource.data):o?this.el.nativeElement.querySelector(`[node-id='${n.id}']`):this._getNode(n.id,this._dataSource.data)}select_node(n){let o=this._treeControl.dataNodes.find(r=>r.id===n);if(o&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),!this._selectionList.isSelected(o))){if(this._selectionList.select(o),!this.multiSelect&&!this.oneLevelMultiSelect){ae(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),ae(this,"selectedNodes",this._selectionList.selected)}}_setNewData(n){let o=JSON.parse(n);this._dataSource.data=o}_changedTreeData(n){this._setNewData(n.currentValue)}ngOnChanges(n){(n.multiSelect||n.oneLevelMultiSelect)&&(this._selectionList=new ii(this.multiSelect||this.oneLevelMultiSelect)),n.treeDataStringified&&this._changedTreeData(n.treeDataStringified)}_hasChildren(n){return!n.expandable||n.children_count===void 0?!1:n.children_count>0}_descendantsAllSelected(n){if(!this._selectionList)return!1;let o=this._selectionList,r=this._treeControl.getDescendants(n);return r.length===0?!0:r.length>0&&r.every(a=>o.isSelected(a))}_descendantsPartiallySelected(n){if(!this._selectionList)return!1;let o=this._selectionList;return this._treeControl.getDescendants(n).some(a=>o.isSelected(a))&&!this._descendantsAllSelected(n)}_toggleDescendantsNodes(n){if(!this._selectionList)return;this._selectionList.isSelected(n)?this._selectionList.select(...this._treeControl.getDescendants(n)):this._selectionList.deselect(...this._treeControl.getDescendants(n))}_updateParentSelections(n){if(!this._selectionList)return;let o=n.parent,r=this._treeControl.dataNodes.find(s=>s.id===o);for(;r;)this._descendantsAllSelected(r)?this._selectionList.select(r):this._selectionList.deselect(r),o=r.parent,r=this._treeControl.dataNodes.find(s=>s.id===o)}_togleNode(n,o){if(o&&this.enableSelect&&this._selectionList){if(n?.ctrlKey||this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),this._selectionList.toggle(o),!this.multiSelect&&!this.oneLevelMultiSelect){ae(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),ae(this,"selectedNodes",this._selectionList.selected)}}_isSelected(n){return this._selectionList?this._selectionList?.isSelected(n):!1}};e.\u0275fac=function(o){return new(o||e)(y(se))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitle:"treeTitle",paddingIndent:"paddingIndent",multiSelect:[b.HasDecoratorInputTransform,"multiSelect","multiSelect",D],oneLevelMultiSelect:[b.HasDecoratorInputTransform,"oneLevelMultiSelect","oneLevelMultiSelect",D],showFoldersIcons:[b.HasDecoratorInputTransform,"showFoldersIcons","showFoldersIcons",D],showObjectsIcons:[b.HasDecoratorInputTransform,"showObjectsIcons","showObjectsIcons",D],enableSelect:[b.HasDecoratorInputTransform,"enableSelect","enableSelect",D],enableParentHighlighting:[b.HasDecoratorInputTransform,"enableParentHighlighting","enableParentHighlighting",D],enableDragAndDrop:[b.HasDecoratorInputTransform,"enableDragAndDrop","enableDragAndDrop",D],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",treeData:"treeData"},outputs:{selectedNodes:"selectedNodes"},standalone:!0,features:[fe,$e,S],decls:5,vars:4,consts:[[1,"tree-container"],["class","tree-title",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"tree-title"],["matTreeNodePadding","",1,"object-node",3,"click","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[3,"items","data",4,"ngIf"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"items","data"],["matTreeNodePadding","",1,"folder-node",3,"click","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(o,r){o&1&&(m(0,"div",0),w(1,iE,2,1,"div",1),m(2,"cdk-tree",2),w(3,aE,8,13,"cdk-tree-node",3)(4,uE,9,22,"cdk-tree-node",4),f()()),o&2&&(d(),p("ngIf",r.treeTitle),d(),p("dataSource",r._dataSource)("treeControl",r._treeControl),d(2),p("matTreeNodeDefWhen",r._isExpendable))},dependencies:[lb,rb,sb,ab,nb,tb,eb,ha,to,oi,Le,no],styles:['.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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-bkg-color, #ffffff);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-color, #444444)}.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%]{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}.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-hover-color, #F5F5F5);background-image:url("./media/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-color, #2188ca);font-weight:var(--flat-tree-selected-node-font-weight, 700)}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-color, #2188ca)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-node-color, rgba(0, 71, 171, .55))}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.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("./media/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("./media/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("./media/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("./media/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']});let t=e;return t})();var ir=function(t){return t[t.None=0]="None",t[t.SelectObjectProperties=1]="SelectObjectProperties",t[t.SelectAttributes=2]="SelectAttributes",t}(ir||{}),or=5;function mE(t,e){if(t&1&&(m(0,"span",1),E(1),f()),t&2){let i=h();d(),vn("",i.criterium.name," \xA0(",i.criterium.value,")")}}function pE(t,e){if(t&1&&(m(0,"span",1),E(1),f()),t&2){let i=h();d(),oe(i.criterium.name)}}var db=(()=>{let e=class e{constructor(){this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new x}clickedDelete(){this.deleteCriterium.emit()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(o,r){o&2&&Me("margin-left",r.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[S],decls:4,vars:1,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),w(1,mE,2,2,"span",1)(2,pE,2,1),m(3,"div",2),_("click",function(){return r.clickedDelete()}),f()()),o&2&&(d(),Q(1,r.criterium.value?1:2))},styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./media/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}']});let t=e;return t})();var ub=(()=>{let e=class e{constructor(){this._objectStructure={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new x}set objectStructure(n){this._objectStructure=n,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(n){let o={name:n.name,id:n.id,parent:n.parent};if(n.children){o.children=[];for(let r of n.children){let s=this._convertObjectStructureNodeToTreeNode(r);o.children.push(s)}}return o}_updateTreeData(){if(!this._objectStructure)return;let n=this._convertObjectStructureNodeToTreeNode(this._objectStructure);n&&(this._treeData=[],this._treeData=[n])}get treeData(){return this._treeData}_findNode(n,o){if(o.id==n)return o;if(o.children)for(let r of o.children){let s=this._findNode(n,r);if(s)return s}return null}handleSelectedNodes(n){if(n.length===1){let o=this._findNode(n[0].id,this._objectStructure);o&&this.nodeSelected.emit(o)}}expandTree(){this.treeComponent?.expandTree()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(o,r){if(o&1&&gt(Sn,5),o&2){let s;Ie(s=Ee())&&(r.treeComponent=s.first)}},inputs:{objectStructure:"objectStructure"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","treeData"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-flat-tree",0),_("selectedNodes",function(a){return r.handleSelectedNodes(a)}),f()),o&2&&p("treeData",r.treeData)},dependencies:[Sn],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-bkg-color: transparent}"]});let t=e;return t})();var mb=(()=>{let e=class e{constructor(){this._complexProperties={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new x}set complexProperties(n){this._complexProperties=n,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(n){let o={name:n.name,id:n.id,parent:n.parent};if(n.children){o.children=[];for(let r of n.children){let s=this._convertObjectStructureNodeToTreeNode(r);o.children.push(s)}}return o}_updateTreeData(){if(!this._complexProperties)return;let n=this._convertObjectStructureNodeToTreeNode(this._complexProperties);n&&(this._treeData=[],this._treeData=[n])}get treeData(){return this._treeData}_findNode(n,o){if(o.id==n)return o;if(o.children)for(let r of o.children){let s=this._findNode(n,r);if(s)return s}return null}handleSelectedNodes(n){if(n.length===1){let o=this._findNode(n[0].id,this._complexProperties);o&&this.nodeSelected.emit(o)}}expandTree(){this.treeComponent?.expandTree()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(o,r){if(o&1&&gt(Sn,5),o&2){let s;Ie(s=Ee())&&(r.treeComponent=s.first)}},inputs:{complexProperties:"complexProperties"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-flat-tree",0),_("selectedNodes",function(a){return r.handleSelectedNodes(a)}),f()),o&2&&p("treeData",r.treeData)},dependencies:[Sn],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-bkg-color: transparent}"]});let t=e;return t})();var va=class t{static createFromResponse(e){let i={id:e.id,name:e.name?`${e.type}(${e.name})`:e.type,parent:e.parent};if(e.children){i.children=[];for(let n of e.children)i.children.push(t.createFromResponse(n))}return i}};var ya=class t{static createFromResponse(e){let i={id:e.id,name:e.type?e.type:e.name,parent:e.parent};if(e.children){i.children=[];for(let n of e.children)i.children.push(t.createFromResponse(n))}return i}};function fE(t,e){if(t&1){let i=F();m(0,"lib-bimplus-object-structure",2),_("nodeSelected",function(o){M(i);let r=h();return I(r.handleObjectStructureNodeSelected(o))}),f()}if(t&2){let i=h();p("objectStructure",i.objectStructure)}}function gE(t,e){if(t&1){let i=F();m(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),E(3),R(4,"translate"),f()(),m(5,"lib-bimplus-object-complex-properties",3),_("nodeSelected",function(o){M(i);let r=h();return I(r.handleComplexPropertyNodeSelected(o))}),f()()}if(t&2){let i=h();d(3),z(" ",L(4,2,"_Object multiproperties tree"),""),d(2),p("complexProperties",i.complexProperties)}}function hE(t,e){if(t&1&&(m(0,"div",11),E(1),f()),t&2){let i=h().$implicit;d(),oe(i.value)}}function bE(t,e){t&1&&(m(0,"div",11),E(1,"..."),f())}function _E(t,e){if(t&1){let i=F();m(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),_("click",function(){let o=M(i).$implicit,r=h(3);return I(r.toggleAttribute(o))}),f(),O(5,"span"),f(),m(6,"div",11),E(7),f()(),m(8,"div",8)(9,"label",9)(10,"input",10),_("click",function(){let o=M(i).$implicit,r=h(3);return I(r.toggleAttributeValue(o))}),f(),O(11,"span"),f(),w(12,hE,2,1,"div",11)(13,bE,2,0),f()()()}if(t&2){let i=e.$implicit,n=h(3);d(4),p("checked",i.checked)("disabled",n.filterCriteria.length===n.MaxFilterCriteria&&!i.checked),d(3),oe(i.name),d(3),p("checked",i.valueChecked)("disabled",n.filterCriteria.length===n.MaxFilterCriteria&&!i.checked),d(2),Q(12,i.value?12:13)}}function vE(t,e){if(t&1&&(m(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),E(3),f()(),m(4,"div"),bn(5,_E,14,6,"div",6,Vo),f()()),t&2){let i=e.$implicit;p("expanded",i.expanded),d(3),z(" ",i.name,""),d(2),_n(i.attributes)}}function yE(t,e){if(t&1&&(m(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),E(3),R(4,"translate"),f()(),bn(5,vE,7,2,"lib-expansion-panel",4,Vo),f()),t&2){let i=h();d(3),z(" ",L(4,1,"_Object properties"),""),d(2),_n(i.objectAttributeGroups)}}var pb=(()=>{let e=class e extends ne{constructor(n){super(n),this.api=null,this.revision=void 0,this._currentObjectId$=new We(""),this._currentPropertiesObjectId$=new We(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=or,this._rootObjectId="",this.filterCriteriaChange=new x,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:n=>{n&&this._createObjectProperties(n,this.revision)}}),this._currentObjectId$.subscribe({next:n=>{this._currentPropertiesObjectId$.next(n),this._createComplexPropertiestructure(n,this.revision)}})}set rootObjectId(n){this._currentObjectId$.next(n),this._createObjectStructure(n,this.revision),this._rootObjectId=n}get rootObjectId(){return this._rootObjectId}set filterCriteria(n){this._filterCriteria=n,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(n){n.checked=!n.checked,n.checked===!1&&(n.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(n)}toggleAttributeValue(n){n.valueChecked=!n.valueChecked,n.checked=n.valueChecked,this.handleFilterCriteriumAttributeStateChange(n)}handleFilterCriteriumAttributeStateChange(n){let o=this.filterCriteria.findIndex(r=>r.id===n.id);if(o>=0)(n.checked===!1||n.valueChecked===!1)&&(this.filterCriteria.splice(o,1),this.filterCriteriaChange.emit(this.filterCriteria));else if(this.filterCriteria.length<or){let r=`[${n.id}].Value`;n.valueChecked&&(r+=`[F][0]=${n.value}`),this.filterCriteria.push({name:n.name,value:n.valueChecked?n.value:void 0,id:n.id,subString:r}),this.filterCriteriaChange.emit(this.filterCriteria)}}handleObjectStructureNodeSelected(n){this._currentObjectId$.next(n.id)}handleComplexPropertyNodeSelected(n){this._currentPropertiesObjectId$.next(n.id)}_createObjectProperties(n,o){this._loadObjectProperties(n,o)?.subscribe({next:r=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(r),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(n){let o=[],r=null;if(n.localizedAttributeGroups&&(r=n.localizedAttributeGroups),!n.attributes)return o;let s=n.attributes;for(let[a,l]of Object.entries(s)){let c={name:a,expanded:!1,attributes:[]};if(r&&r[a]&&(c.name=r[a]),!!l){for(let u of Object.values(l)){let g={id:u.id,name:u.name,description:u.description,value:u.value,checked:!1,valueChecked:!1,group:u.group};c.attributes.push(g)}o.push(c)}}return o}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(n=>{n.attributes.forEach(o=>{let r=this._filterCriteria.find(s=>s.id==o.id);r?(o.checked=!0,o.valueChecked=r.value!==void 0):(o.checked=!1,o.valueChecked=!1)})})}_loadObjectProperties(n,o){if(this.api)return Qe(this.api.objects.get(n,o,"8",void 0,!1,void 0))}_loadObjectStructure(n,o){if(this.api)return Qe(this.api.objects.getTopology(n,o,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(n,o){if(this.api)return Qe(this.api.objects.getComplexPropertiesTopology(n,o))}_createComplexPropertiestructure(n,o){this._loadObjectComplexPropertiesStructure(n,o)?.subscribe({next:r=>{if(r){let s=ya.createFromResponse(r);s?.children?.length?this._complexProperties=s:this._complexProperties=null}}})}_createObjectStructure(n,o){this._loadObjectStructure(n,o)?.subscribe({next:r=>{r&&(this._objectStructure=va.createFromResponse(r))}})}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[B,S],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","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"]],template:function(o,r){o&1&&(m(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),E(3),R(4,"translate"),f()(),w(5,fE,1,1,"lib-bimplus-object-structure",1),f(),w(6,gE,6,4,"lib-expansion-panel")(7,yE,7,3,"lib-expansion-panel")),o&2&&(d(3),z(" ",L(4,4,"_Object structure"),""),d(2),Q(5,r.objectStructure?5:-1),d(),Q(6,r.complexProperties?6:-1),d(),Q(7,r.objectAttributeGroups.length>0?7:-1))},dependencies:[xn,wn,te,xe,ub,mb],styles:['.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:#f5f5f5}.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("./media/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./media/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./media/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./media/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./media/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("./media/checkbox_off_hovered.svg")}']});let t=e;return t})();function CE(t,e){if(t&1&&(m(0,"ng-option",17),E(1),f()),t&2){let i=e.$implicit;p("value",i),d(),oe(i.name)}}function wE(t,e){if(t&1&&(m(0,"ng-option",17),E(1),f()),t&2){let i=e.$implicit;p("value",i),d(),oe(i.name)}}function xE(t,e){if(t&1&&O(0,"lib-bimplus-context-menu",18),t&2){let i=h(2);p("items",i.filterContextMenu)}}function DE(t,e){if(t&1){let i=F();m(0,"app-filter-criterium",19),_("deleteCriterium",function(){let o=M(i).$index,r=h(2);return I(r.deleteFilterCriterium(o))}),f()}if(t&2){let i=e.$implicit,n=e.$index;p("criterium",i)("indent",n*.8)}}function ME(t,e){t&1&&(m(0,"p",20),E(1),R(2,"translate"),f()),t&2&&(d(),oe(L(2,1,"_NoObjectSelected")))}function IE(t,e){if(t&1){let i=F();m(0,"lib-criteria-select-object-properties",21),Yn("filterCriteriaChange",function(o){M(i);let r=h(3);return Ri(r.filterCriteria,o)||(r.filterCriteria=o),I(o)}),f()}if(t&2){let i=h(3);p("api",i.api)("selectedLanguage",i.selectedLanguage)("localizedStrings",i.localizedStrings),Zn("filterCriteria",i.filterCriteria),p("rootObjectId",i.selectedObjectId)}}function EE(t,e){if(t&1&&w(0,ME,3,3,"p",20)(1,IE,1,5),t&2){let i=h(2);Q(0,i.selectedObjectId?1:0)}}function kE(t,e){}function SE(t,e){}function OE(t,e){if(t&1){let i=F();m(0,"div",2)(1,"ng-select",3),Yn("ngModelChange",function(o){M(i);let r=h();return Ri(r.activeFilterType,o)||(r.activeFilterType=o),I(o)}),w(2,CE,2,2,"ng-option",4),f()(),m(3,"div",5)(4,"ng-select",6),Yn("ngModelChange",function(o){M(i);let r=h();return Ri(r.activeFilter,o)||(r.activeFilter=o),I(o)}),w(5,wE,2,2,"ng-option",4),f(),w(6,xE,1,1,"lib-bimplus-context-menu",7),f(),m(7,"lib-expansion-panel",8)(8,"lib-expansion-panel-header")(9,"span",9),E(10),R(11,"translate"),f(),m(12,"lib-expansion-panel-header-actions")(13,"div",10),_("click",function(){M(i);let o=h();return I(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))}),f(),m(14,"div",11),_("click",function(){M(i);let o=h();return I(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectAttributes))}),f()()(),m(15,"div",12),bn(16,DE,1,2,"app-filter-criterium",13,Vo),f()(),m(18,"div",14)(19,"button",15),E(20),R(21,"translate"),f()(),O(22,"div",16),w(23,EE,2,1)(24,kE,0,0)(25,SE,0,0)}if(t&2){let i,n=h();d(),Zn("ngModel",n.activeFilterType),p("clearable",!1)("searchable",!1),d(),p("ngForOf",n.filterTypes),d(2),Zn("ngModel",n.activeFilter),p("clearable",!1)("disabled",!n.filters)("searchable",!1),d(),p("ngForOf",n.filters),d(),p("ngIf",n.filterContextMenu==null?null:n.filterContextMenu.length),d(4),vn(" ",L(11,17,"_Assign_Objects_Selection_Mode")," (",n.filterCriteria.length,") "),d(3),p("ngClass",n.filterCriteriaSelectionMode$.getValue()===n.FilterCriteriaSelectionMode.SelectObjectProperties?"active":""),d(),p("ngClass",n.filterCriteriaSelectionMode$.getValue()===n.FilterCriteriaSelectionMode.SelectAttributes?"active":""),d(2),_n(n.filterCriteria),d(3),p("ngClass",n.filterCriteria.length===0?"disabled":""),d(),z(" ",L(21,19,"_Apply filter")," "),d(3),Q(23,(i=n.filterCriteriaSelectionMode$.getValue())===n.FilterCriteriaSelectionMode.SelectObjectProperties?23:i===n.FilterCriteriaSelectionMode.SelectAttributes?24:25)}}function TE(t,e){t&1&&(m(0,"div",22),E(1),R(2,"translate"),f()),t&2&&(d(),z(" ",L(2,1,"_No visible models found")," "))}var PE="tabAttribElement.DivisionID",fb=(()=>{let e=class e extends ne{constructor(n){super(n),this.filterContextMenu=[],this.filterTypes=[],this.activeFilterTypeSubject$=new We(null),this.activeFilterSubject$=new We(null),this.filters=null,this.filterCriteria=[],this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new We(ir.None),this.filterCriteriaSelectionModeChanged=new x,this.selectedObjectId=null,this.FilterCriteriaSelectionMode=ir}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:n=>{!this.projectId||!this.api||!n||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,n.id)?.subscribe({next:o=>{this.filters=o},error:o=>{throw new Error(o)}}))}}),this.activeFilterSubject$.subscribe({next:n=>{n&&(this.filterCriteria=this.parseFilterString(n))}}),this.filterCriteriaSelectionMode$.subscribe({next:n=>{this.filterCriteriaSelectionModeChanged.emit(n)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}set activeFilterType(n){this.activeFilterTypeSubject$.next(n)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(n){this.activeFilterSubject$.next(n)}get activeFilter(){return this.activeFilterSubject$.getValue()}loadCurrentLayerFilters(n,o){if(this.api)return Qe(this.api.objectFilters.get(o,n))}parseFilterString(n){let o=[],r=!1,s=n.filterString.split("[I]");for(let a of s)if(a.length!==0){if(a.includes(PE)&&!r){r=!0;continue}if(o.push(this.parseFilterSubstring(n,a)),o.length===or)break}return o}deleteFilterCriterium(n){this.filterCriteria.splice(n,1),this.filterCriteria=[...this.filterCriteria]}setFilterCriteriaSelectionMode(n){if(this.filterCriteriaSelectionMode$.getValue()==n){this.filterCriteriaSelectionMode$.next(ir.None);return}this.filterCriteriaSelectionMode$.next(n)}parseFilterSubstring(n,o){let r=o,s,a=o.indexOf("["),l=o.indexOf("]");if(a>=0&&l>=0&&l>a){let c=o.slice(a+1,l);if(s=c,c&&n?.readableValues){let u=n.readableValues[c];u&&(r=u)}}else if(o.includes(".")){let c=o.split(".");r=c[c.length-1]}return{name:r,subString:o,id:s}}};e.\u0275fac=function(o){return new(o||e)(y(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(o,r){o&2&&ie("object-navigator",r.objNavClassClass)},inputs:{filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged"},standalone:!0,features:[B,S],decls:5,vars:4,consts:[[3,"header"],[1,"object-navigator-content-container"],[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"],[1,"object-navigator-dropdown",3,"ngModelChange","ngModel","clearable","disabled","searchable"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[1,"object-navigator-filter-criteria-panel"],[1,"object-navigator-filter-criteria-header"],[1,"object-navigator-pick-object-button",3,"click","ngClass"],[1,"object-navigator-select-attributes-button",3,"click","ngClass"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"ngClass"],[1,"object-navigator-separator"],[3,"value"],[1,"object-navigator-filters-name-context-menu",3,"items"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-sidenav-drawer-content",0),R(1,"translate"),m(2,"div",1),w(3,OE,26,21)(4,TE,3,3),f()()),o&2&&(p("header",L(1,2,"_Object navigator")),d(3),Q(3,r.filterTypes.length>0?3:4))},dependencies:[N,X,ve,Le,Qs,Zs,Zo,ea,Js,Ko,db,wn,xn,Wi,Ui,te,xe,pb,no],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem #fe5000;color:#fff;background-color:#fe5000;cursor:pointer}.primary-button:hover{border:solid .2rem #eb4b00;color:#fff;background-color:#eb4b00;outline:0}.primary-button.disabled{border:solid .2rem #bababa;color:#fff;background-color:#bababa;cursor:default}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:14.4rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-content-container{display:flex;flex-direction:column}.object-navigator-content-container>.object-navigator-filters-type{margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}.object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.object-navigator-content-container>.object-navigator-filters-name{margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}.object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}.object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.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}.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:#39aef2;margin-left:.4rem}.object-navigator-filter-criteria-panel{padding-top:.8rem}.object-navigator-select-attributes-button{background-image:url("./media/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:#39aef2;margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./media/Properties_18_orange.svg")}.object-navigator-pick-object-button{background-image:url("./media/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:#39aef2;margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./media/Pipette_18_orange.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%}.object-navigator-apply-button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.object-navigator-separator{border-top:solid .078125em #d4d4d4;padding-bottom:.8rem}.object-navigator-no-filter-types{display:block;width:100%;color:#bababa;text-align:left;padding-bottom:.8rem}
31
- `],encapsulation:3});let t=e;return t})();function AE(t,e){if(t&1&&(m(0,"div",4),E(1),f()),t&2){let i=h();d(),z(" ",i.spinnerText," ")}}var gb=(()=>{let e=class e{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[b.HasDecoratorInputTransform,"spinnerSpinActive","spinnerSpinActive",D],spinnerHoverEnabled:[b.HasDecoratorInputTransform,"spinnerHoverEnabled","spinnerHoverEnabled",D],spinnerDisabled:[b.HasDecoratorInputTransform,"spinnerDisabled","spinnerDisabled",D],spinnerText:"spinnerText"},standalone:!0,features:[fe,S],decls:4,vars:7,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["class","spinner-text",4,"ngIf"],[1,"spinner-text"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1),O(2,"div",2),w(3,AE,2,1,"div",3),f()()),o&2&&(d(2),ie("spinner-spin-active",r.spinnerSpinActive)("spinner-disabled",r.spinnerDisabled)("hover-enabled",r.spinnerHoverEnabled&&!r.spinnerDisabled),d(),p("ngIf",r.spinnerText))},dependencies:[N,Le],styles:['.loading-spinner[_ngcontent-%COMP%]{position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-color, rgba(128, 128, 128, .3));display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./media/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./media/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./media/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']});let t=e;return t})();var Gd=class{handle(e){return console.warn("Missing translation string "+e.key),e.key}};wa(void 0,null,function*(){let t=yield Jf({providers:[mc(te.forRoot({missingTranslationHandler:{provide:Kn,useClass:Gd},isolate:!0,defaultLanguage:"en"}))]}),e=Re(Rg,{injector:t.injector});customElements.define("bimplus-connection-designer",e);let i=Re(jg,{injector:t.injector});customElements.define("bimplus-connection-designer-result",i);let n=Re(Lg,{injector:t.injector});customElements.define("bimplus-contact",n);let o=Re(Vg,{injector:t.injector});customElements.define("bimplus-floating-bar-hide-objects",o);let r=Re(Bg,{injector:t.injector});customElements.define("bimplus-floating-bar-isolation-objects",r);let s=Re(Wg,{injector:t.injector});customElements.define("bimplus-floating-bar-project-navigator",s);let a=Re(Gg,{injector:t.injector});customElements.define("bimplus-language-menu",a);let l=Re(Zg,{injector:t.injector});customElements.define("bimplus-main-menu",l);let c=Re(Yg,{injector:t.injector});customElements.define("bimplus-navbar",c);let u=Re(yh,{injector:t.injector});customElements.define("bimplus-notify",u);let g=Re(ra,{injector:t.injector});customElements.define("bimplus-project-menu",g);let v=Re(xh,{injector:t.injector});customElements.define("bimplus-sidenav",v);let C=Re(Ui,{injector:t.injector});customElements.define("bimplus-sidenav-drawer-content",C);let T=Re(Dh,{injector:t.injector});customElements.define("bimplus-storage-info",T);let A=Re(kh,{injector:t.injector});customElements.define("bimplus-tool-hub",A);let Y=Re(Sh,{injector:t.injector});customElements.define("bimplus-touch-menu",Y);let $=Re(Oh,{injector:t.injector});customElements.define("bimplus-user-menu",$);let De=Re(Th,{injector:t.injector});customElements.define("bimplus-zoom",De);let Ne=Re(fb,{injector:t.injector});customElements.define("bimplus-object-navigator",Ne);let Ye=Re(Sn,{injector:t.injector});customElements.define("bimplus-flat-tree",Ye);let Xe=Re(no,{injector:t.injector});customElements.define("bimplus-context-menu",Xe);let le=Re(gb,{injector:t.injector});customElements.define("bimplus-context-menu",le)});export{Gd as BimplusMissingTranslationHandler};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=i});function Pn(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var He=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let r of i)r.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(G(n))try{n()}catch(r){e=r instanceof dr?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{ru(r)}catch(s){e=e??[],s instanceof dr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new dr(e)}}add(e){var i;if(e&&e!==this)if(this.closed)ru(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Pn(i,e)}remove(e){let{_finalizers:i}=this;i&&Pn(i,e),e instanceof t&&e._removeParent(this)}};He.EMPTY=(()=>{let t=new He;return t.closed=!0,t})();var Ta=He.EMPTY;function ur(t){return t instanceof He||t&&"closed"in t&&G(t.remove)&&G(t.add)&&G(t.unsubscribe)}function ru(t){G(t)?t():t.unsubscribe()}var Nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var si={setTimeout(t,e,...i){let{delegate:n}=si;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=si;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function mr(t){si.setTimeout(()=>{let{onUnhandledError:e}=Nt;if(e)e(t);else throw t})}function ro(){}var su=Pa("C",void 0,void 0);function au(t){return Pa("E",void 0,t)}function lu(t){return Pa("N",t,void 0)}function Pa(t,e,i){return{kind:t,value:e,error:i}}var An=null;function ai(t){if(Nt.useDeprecatedSynchronousErrorHandling){let e=!An;if(e&&(An={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=An;if(An=null,i)throw n}}else t()}function cu(t){Nt.useDeprecatedSynchronousErrorHandling&&An&&(An.errorThrown=!0,An.error=t)}var Fn=class extends He{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ur(e)&&e.add(this)):this.destination=Rb}static create(e,i,n){return new Jt(e,i,n)}next(e){this.isStopped?Fa(lu(e),this):this._next(e)}error(e){this.isStopped?Fa(au(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Fa(su,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Nb=Function.prototype.bind;function Aa(t,e){return Nb.call(t,e)}var Na=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){pr(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){pr(n)}else pr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){pr(i)}}},Jt=class extends Fn{constructor(e,i,n){super();let o;if(G(e)||!e)o={next:e??void 0,error:i??void 0,complete:n??void 0};else{let r;this&&Nt.useDeprecatedNextContext?(r=Object.create(e),r.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Aa(e.next,r),error:e.error&&Aa(e.error,r),complete:e.complete&&Aa(e.complete,r)}):o=e}this.destination=new Na(o)}};function pr(t){Nt.useDeprecatedSynchronousErrorHandling?cu(t):mr(t)}function jb(t){throw t}function Fa(t,e){let{onStoppedNotification:i}=Nt;i&&si.setTimeout(()=>i(t,e))}var Rb={closed:!0,next:ro,error:jb,complete:ro};var li=typeof Symbol=="function"&&Symbol.observable||"@@observable";function jt(t){return t}function du(t){return t.length===0?jt:t.length===1?t[0]:function(i){return t.reduce((n,o)=>o(n),i)}}var ue=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,o){let r=Vb(i)?i:new Jt(i,n,o);return ai(()=>{let{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=uu(n),new n((o,r)=>{let s=new Jt({next:a=>{try{i(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[li](){return this}pipe(...i){return du(i)(this)}toPromise(i){return i=uu(i),new i((n,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>n(r))})}}return t.create=e=>new t(e),t})();function uu(t){var e;return(e=t??Nt.Promise)!==null&&e!==void 0?e:Promise}function Lb(t){return t&&G(t.next)&&G(t.error)&&G(t.complete)}function Vb(t){return t&&t instanceof Fn||Lb(t)&&ur(t)}function ja(t){return G(t?.lift)}function xe(t){return e=>{if(ja(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function he(t,e,i,n,o){return new Ra(t,e,i,n,o)}var Ra=class extends Fn{constructor(e,i,n,o,r,s){super(e),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function mu(){return xe((t,e)=>{let i=null;t._refCount++;let n=he(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){i=null;return}let o=t._connection,r=i;i=null,o&&(!r||o===r)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}var so=class extends ue{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,ja(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new He;let i=this.getSubject();e.add(this.source.subscribe(he(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=He.EMPTY)}return e}refCount(){return mu()(this)}};var ci={schedule(t){let e=requestAnimationFrame,i=cancelAnimationFrame,{delegate:n}=ci;n&&(e=n.requestAnimationFrame,i=n.cancelAnimationFrame);let o=e(r=>{i=void 0,t(r)});return new He(()=>i?.(o))},requestAnimationFrame(...t){let{delegate:e}=ci;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=ci;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var pu=cr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ye=(()=>{class t extends ue{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new fr(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new pu}next(i){ai(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){ai(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){ai(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:o,observers:r}=this;return n||o?Ta:(this.currentObservers=null,r.push(i),new He(()=>{this.currentObservers=null,Pn(r,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:o,isStopped:r}=this;n?i.error(o):r&&i.complete()}asObservable(){let i=new ue;return i.source=this,i}}return t.create=(e,i)=>new fr(e,i),t})(),fr=class extends ye{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:Ta}};var Ge=class extends ye{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var ao={now(){return(ao.delegate||Date).now()},delegate:void 0};var Nn=class extends ye{constructor(e=1/0,i=1/0,n=ao){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;i||(n.push(e),!o&&n.push(r.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!e.closed;s+=n?1:2)e.next(r[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:o}=this,r=(o?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!o){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}};var gr=class extends He{constructor(e,i){super()}schedule(e,i=0){return this}};var lo={setInterval(t,e,...i){let{delegate:n}=lo;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=lo;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var cn=class extends gr{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let o=this.id,r=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(r,o,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(r,this.id,i),this}requestAsyncId(e,i,n=0){return lo.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&lo.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,o;try{this.work(e)}catch(r){n=!0,o=r||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Pn(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}};var Bb=1,La,Va={};function fu(t){return t in Va?(delete Va[t],!0):!1}var gu={setImmediate(t){let e=Bb++;return Va[e]=!0,La||(La=Promise.resolve()),La.then(()=>fu(e)&&t()),e},clearImmediate(t){fu(t)}};var{setImmediate:zb,clearImmediate:Hb}=gu,co={setImmediate(...t){let{delegate:e}=co;return(e?.setImmediate||zb)(...t)},clearImmediate(t){let{delegate:e}=co;return(e?.clearImmediate||Hb)(t)},delegate:void 0};var hr=class extends cn{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return n!==null&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=co.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,i,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);let{actions:r}=e;i!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==i&&(co.clearImmediate(i),e._scheduled===i&&(e._scheduled=void 0))}};var di=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};di.now=ao.now;var dn=class extends di{constructor(e,i=di.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}};var br=class extends dn{flush(e){this._active=!0;let i=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw o}}};var Ba=new br(hr);var uo=new dn(cn),hu=uo;var _r=class extends cn{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return n!==null&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=ci.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,i,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);let{actions:r}=e;i!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==i&&(ci.cancelAnimationFrame(i),e._scheduled=void 0)}};var vr=class extends dn{flush(e){this._active=!0;let i=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw o}}};var za=new vr(_r);var yr=new ue(t=>t.complete());function Cr(t){return t&&G(t.schedule)}function Ha(t){return t[t.length-1]}function wr(t){return G(Ha(t))?t.pop():void 0}function Ut(t){return Cr(Ha(t))?t.pop():void 0}function bu(t,e){return typeof Ha(t)=="number"?t.pop():e}function vu(t,e,i,n){function o(r){return r instanceof i?r:new i(function(s){s(r)})}return new(i||(i=Promise))(function(r,s){function a(u){try{c(n.next(u))}catch(h){s(h)}}function l(u){try{c(n.throw(u))}catch(h){s(h)}}function c(u){u.done?r(u.value):o(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function _u(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function jn(t){return this instanceof jn?(this.v=t,this):new jn(t)}function yu(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),o,r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(v){n[v]&&(o[v]=function(x){return new Promise(function(T,F){r.push([v,x,T,F])>1||a(v,x)})})}function a(v,x){try{l(n[v](x))}catch(T){h(r[0][3],T)}}function l(v){v.value instanceof jn?Promise.resolve(v.value.v).then(c,u):h(r[0][2],v)}function c(v){a("next",v)}function u(v){a("throw",v)}function h(v,x){v(x),r.shift(),r.length&&a(r[0][0],r[0][1])}}function Cu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof _u=="function"?_u(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(r){i[r]=t[r]&&function(s){return new Promise(function(a,l){s=t[r](s),o(a,l,s.done,s.value)})}}function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}}var ui=t=>t&&typeof t.length=="number"&&typeof t!="function";function xr(t){return G(t?.then)}function Dr(t){return G(t[li])}function Mr(t){return Symbol.asyncIterator&&G(t?.[Symbol.asyncIterator])}function Ir(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function $b(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Er=$b();function kr(t){return G(t?.[Er])}function Sr(t){return yu(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:o}=yield jn(i.read());if(o)return yield jn(void 0);yield yield jn(n)}}finally{i.releaseLock()}})}function Or(t){return G(t?.getReader)}function Se(t){if(t instanceof ue)return t;if(t!=null){if(Dr(t))return Ub(t);if(ui(t))return Wb(t);if(xr(t))return Gb(t);if(Mr(t))return wu(t);if(kr(t))return qb(t);if(Or(t))return Zb(t)}throw Ir(t)}function Ub(t){return new ue(e=>{let i=t[li]();if(G(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Wb(t){return new ue(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function Gb(t){return new ue(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,mr)})}function qb(t){return new ue(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function wu(t){return new ue(e=>{Yb(t,e).catch(i=>e.error(i))})}function Zb(t){return wu(Sr(t))}function Yb(t,e){var i,n,o,r;return vu(this,void 0,void 0,function*(){try{for(i=Cu(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&(yield r.call(i))}finally{if(o)throw o.error}}e.complete()})}function _t(t,e,i,n=0,o=!1){let r=e.schedule(function(){i(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(r),!o)return r}function Tr(t,e=0){return xe((i,n)=>{i.subscribe(he(n,o=>_t(n,t,()=>n.next(o),e),()=>_t(n,t,()=>n.complete(),e),o=>_t(n,t,()=>n.error(o),e)))})}function Pr(t,e=0){return xe((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}function xu(t,e){return Se(t).pipe(Pr(e),Tr(e))}function Du(t,e){return Se(t).pipe(Pr(e),Tr(e))}function Mu(t,e){return new ue(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}function Iu(t,e){return new ue(i=>{let n;return _t(i,e,()=>{n=t[Er](),_t(i,e,()=>{let o,r;try{({value:o,done:r}=n.next())}catch(s){i.error(s);return}r?i.complete():i.next(o)},0,!0)}),()=>G(n?.return)&&n.return()})}function Ar(t,e){if(!t)throw new Error("Iterable cannot be null");return new ue(i=>{_t(i,e,()=>{let n=t[Symbol.asyncIterator]();_t(i,e,()=>{n.next().then(o=>{o.done?i.complete():i.next(o.value)})},0,!0)})})}function Eu(t,e){return Ar(Sr(t),e)}function ku(t,e){if(t!=null){if(Dr(t))return xu(t,e);if(ui(t))return Mu(t,e);if(xr(t))return Du(t,e);if(Mr(t))return Ar(t,e);if(kr(t))return Iu(t,e);if(Or(t))return Eu(t,e)}throw Ir(t)}function Re(t,e){return e?ku(t,e):Se(t)}function dt(...t){let e=Ut(t);return Re(t,e)}function Mt(t){return!!t&&(t instanceof ue||G(t.lift)&&G(t.subscribe))}function Su(t){return t instanceof Date&&!isNaN(t)}function Fe(t,e){return xe((i,n)=>{let o=0;i.subscribe(he(n,r=>{n.next(t.call(e,r,o++))}))})}var{isArray:Qb}=Array;function Kb(t,e){return Qb(e)?t(...e):t(e)}function mi(t){return Fe(e=>Kb(t,e))}var{isArray:Xb}=Array,{getPrototypeOf:Jb,prototype:e_,keys:t_}=Object;function Fr(t){if(t.length===1){let e=t[0];if(Xb(e))return{args:e,keys:null};if(n_(e)){let i=t_(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function n_(t){return t&&typeof t=="object"&&Jb(t)===e_}function Nr(t,e){return t.reduce((i,n,o)=>(i[n]=e[o],i),{})}function $a(...t){let e=Ut(t),i=wr(t),{args:n,keys:o}=Fr(t);if(n.length===0)return Re([],e);let r=new ue(i_(n,e,o?s=>Nr(o,s):jt));return i?r.pipe(mi(i)):r}function i_(t,e,i=jt){return n=>{Ou(e,()=>{let{length:o}=t,r=new Array(o),s=o,a=o;for(let l=0;l<o;l++)Ou(e,()=>{let c=Re(t[l],e),u=!1;c.subscribe(he(n,h=>{r[l]=h,u||(u=!0,a--),a||n.next(i(r.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Ou(t,e,i){t?_t(i,t,e):e()}function Tu(t,e,i,n,o,r,s,a){let l=[],c=0,u=0,h=!1,v=()=>{h&&!l.length&&!c&&e.complete()},x=F=>c<n?T(F):l.push(F),T=F=>{r&&e.next(F),c++;let Q=!1;Se(i(F,u++)).subscribe(he(e,U=>{o?.(U),r?x(U):e.next(U)},()=>{Q=!0},void 0,()=>{if(Q)try{for(c--;l.length&&c<n;){let U=l.shift();s?_t(e,s,()=>T(U)):T(U)}v()}catch(U){e.error(U)}}))};return t.subscribe(he(e,x,()=>{h=!0,v()})),()=>{a?.()}}function un(t,e,i=1/0){return G(e)?un((n,o)=>Fe((r,s)=>e(n,r,o,s))(Se(t(n,o))),i):(typeof e=="number"&&(i=e),xe((n,o)=>Tu(n,o,t,i)))}function jr(t=1/0){return un(jt,t)}function Pu(){return jr(1)}function en(...t){return Pu()(Re(t,Ut(t)))}function Rr(t){return new ue(e=>{Se(t()).subscribe(e)})}function mo(...t){let e=wr(t),{args:i,keys:n}=Fr(t),o=new ue(r=>{let{length:s}=i;if(!s){r.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let h=!1;Se(i[u]).subscribe(he(r,v=>{h||(h=!0,c--),a[u]=v},()=>l--,void 0,()=>{(!l||!h)&&(c||r.next(n?Nr(n,a):a),r.complete())}))}});return e?o.pipe(mi(e)):o}var o_=["addListener","removeListener"],r_=["addEventListener","removeEventListener"],s_=["on","off"];function mn(t,e,i,n){if(G(i)&&(n=i,i=void 0),n)return mn(t,e,i).pipe(mi(n));let[o,r]=c_(t)?r_.map(s=>a=>t[s](e,a,i)):a_(t)?o_.map(Au(t,e)):l_(t)?s_.map(Au(t,e)):[];if(!o&&ui(t))return un(s=>mn(s,e,i))(Se(t));if(!o)throw new TypeError("Invalid event target");return new ue(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function Au(t,e){return i=>n=>t[i](e,n)}function a_(t){return G(t.addListener)&&G(t.removeListener)}function l_(t){return G(t.on)&&G(t.off)}function c_(t){return G(t.addEventListener)&&G(t.removeEventListener)}function Fu(t=0,e,i=hu){let n=-1;return e!=null&&(Cr(e)?i=e:n=e),new ue(o=>{let r=Su(t)?+t-i.now():t;r<0&&(r=0);let s=0;return i.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},r)})}function tn(...t){let e=Ut(t),i=bu(t,1/0),n=t;return n.length?n.length===1?Se(n[0]):jr(i)(Re(n,e)):yr}function Rn(t,e){return xe((i,n)=>{let o=0;i.subscribe(he(n,r=>t.call(e,r,o++)&&n.next(r)))})}function Nu(t){return xe((e,i)=>{let n=!1,o=null,r=null,s=!1,a=()=>{if(r?.unsubscribe(),r=null,n){n=!1;let c=o;o=null,i.next(c)}s&&i.complete()},l=()=>{r=null,s&&i.complete()};e.subscribe(he(i,c=>{n=!0,o=c,r||Se(t(c)).subscribe(r=he(i,a,l))},()=>{s=!0,(!n||!r||r.closed)&&i.complete()}))})}function Ua(t,e=uo){return Nu(()=>Fu(t,e))}function pn(t,e){return G(e)?un(t,e,1):un(t,1)}function pi(t,e=uo){return xe((i,n)=>{let o=null,r=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=r;r=null,n.next(c)}};function l(){let c=s+t,u=e.now();if(u<c){o=this.schedule(void 0,c-u),n.add(o);return}a()}i.subscribe(he(n,c=>{r=c,s=e.now(),o||(o=e.schedule(l,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{r=o=null}))})}function It(t){return t<=0?()=>yr:xe((e,i)=>{let n=0;e.subscribe(he(i,o=>{++n<=t&&(i.next(o),t<=n&&i.complete())}))})}function Wa(t,e=jt){return t=t??d_,xe((i,n)=>{let o,r=!0;i.subscribe(he(n,s=>{let a=e(s);(r||!t(o,a))&&(r=!1,o=a,n.next(s))}))})}function d_(t,e){return t===e}function ju(t={}){let{connector:e=()=>new ye,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,u=!1,h=!1,v=()=>{a?.unsubscribe(),a=void 0},x=()=>{v(),s=l=void 0,u=h=!1},T=()=>{let F=s;x(),F?.unsubscribe()};return xe((F,Q)=>{c++,!h&&!u&&v();let U=l=l??e();Q.add(()=>{c--,c===0&&!h&&!u&&(a=Ga(T,o))}),U.subscribe(Q),!s&&c>0&&(s=new Jt({next:Ee=>U.next(Ee),error:Ee=>{h=!0,v(),a=Ga(x,i,Ee),U.error(Ee)},complete:()=>{u=!0,v(),a=Ga(x,n),U.complete()}}),Se(F).subscribe(s))})(r)}}function Ga(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new Jt({next:()=>{n.unsubscribe(),t()}});return Se(e(...i)).subscribe(n)}function Lr(t,e,i){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:i}=t:n=t??1/0,ju({connector:()=>new Nn(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function po(t){return Rn((e,i)=>t<=i)}function fo(...t){let e=Ut(t);return xe((i,n)=>{(e?en(t,i,e):en(t,i)).subscribe(n)})}function fi(t,e){return xe((i,n)=>{let o=null,r=0,s=!1,a=()=>s&&!o&&n.complete();i.subscribe(he(n,l=>{o?.unsubscribe();let c=0,u=r++;Se(t(l,u)).subscribe(o=he(n,h=>n.next(e?e(l,h,u,c++):h),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ut(t){return xe((e,i)=>{Se(t).subscribe(he(i,()=>i.complete(),ro)),!i.closed&&e.subscribe(i)})}function Vr(t,e,i){let n=G(t)||e||i?{next:t,error:e,complete:i}:t;return n?xe((o,r)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(he(r,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),r.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),r.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),r.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):jt}var _m="https://g.co/ng/security#xss",pe=class extends Error{constructor(e,i){super(ac(e,i)),this.code=e}};function ac(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function To(t){return{toString:t}.toString()}var Br="__parameters__";function u_(t){return function(...i){if(t){let n=t(...i);for(let o in n)this[o]=n[o]}}}function vm(t,e,i){return To(()=>{let n=u_(e);function o(...r){if(this instanceof o)return n.apply(this,r),this;let s=new o(...r);return a.annotation=s,a;function a(l,c,u){let h=l.hasOwnProperty(Br)?l[Br]:Object.defineProperty(l,Br,{value:[]})[Br];for(;h.length<=u;)h.push(null);return(h[u]=h[u]||[]).push(s),l}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var go=globalThis;function Ne(t){for(let e in t)if(t[e]===Ne)return e;throw Error("Could not find renamed property on target object.")}function m_(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Ct(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ct).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
+ `);return i===-1?e:e.substring(0,i)}function cl(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var p_=Ne({__forward_ref__:Ne});function Zn(t){return t.__forward_ref__=Zn,t.toString=function(){return Ct(this())},t}function mt(t){return ym(t)?t():t}function ym(t){return typeof t=="function"&&t.hasOwnProperty(p_)&&t.__forward_ref__===Zn}function q(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Te(t){return{providers:t.providers||[],imports:t.imports||[]}}function lc(t){return Ru(t,Cm)||Ru(t,wm)}function Ru(t,e){return t.hasOwnProperty(e)?t[e]:null}function f_(t){let e=t&&(t[Cm]||t[wm]);return e||null}function Lu(t){return t&&(t.hasOwnProperty(Vu)||t.hasOwnProperty(g_))?t[Vu]:null}var Cm=Ne({\u0275prov:Ne}),Vu=Ne({\u0275inj:Ne}),wm=Ne({ngInjectableDef:Ne}),g_=Ne({ngInjectorDef:Ne}),W=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=q({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xm(t){return t&&!!t.\u0275providers}var h_=Ne({\u0275cmp:Ne}),b_=Ne({\u0275dir:Ne}),__=Ne({\u0275pipe:Ne});var Yr=Ne({\u0275fac:Ne}),ho=Ne({__NG_ELEMENT_ID__:Ne}),Bu=Ne({__NG_ENV_ID__:Ne});function Ci(t){return typeof t=="string"?t:t==null?"":String(t)}function v_(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ci(t)}function y_(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new pe(-200,t)}function cc(t,e){throw new pe(-201,!1)}var me=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(me||{}),dl;function Dm(){return dl}function Et(t){let e=dl;return dl=t,e}function Mm(t,e,i){let n=lc(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&me.Optional)return null;if(e!==void 0)return e;cc(t,"Injector")}var C_={},bo=C_,ul="__NG_DI_FLAG__",Qr="ngTempTokenPath",w_="ngTokenPath",x_=/\n/gm,D_="\u0275",zu="__source",vi;function M_(){return vi}function gi(t){let e=vi;return vi=t,e}function I_(t,e=me.Default){if(vi===void 0)throw new pe(-203,!1);return vi===null?Mm(t,void 0,e):vi.get(t,e&me.Optional?null:void 0,e)}function j(t,e=me.Default){return(Dm()||I_)(mt(t),e)}function be(t,e=me.Default){return j(t,_s(e))}function _s(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ml(t){let e=[];for(let i=0;i<t.length;i++){let n=mt(t[i]);if(Array.isArray(n)){if(n.length===0)throw new pe(900,!1);let o,r=me.Default;for(let s=0;s<n.length;s++){let a=n[s],l=E_(a);typeof l=="number"?l===-1?o=a.token:r|=l:o=a}e.push(j(o,r))}else e.push(j(n))}return e}function Im(t,e){return t[ul]=e,t.prototype[ul]=e,t}function E_(t){return t[ul]}function k_(t,e,i,n){let o=t[Qr];throw e[zu]&&o.unshift(e[zu]),t.message=S_(`
5
+ `+t.message,o,i,n),t[w_]=o,t[Qr]=null,t}function S_(t,e,i,n=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==D_?t.slice(2):t;let o=Ct(e);if(Array.isArray(e))o=e.map(Ct).join(" -> ");else if(typeof e=="object"){let r=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];r.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ct(a)))}o=`{${r.join(", ")}}`}return`${i}${n?"("+n+")":""}[${o}]: ${t.replace(x_,`
7
+ `)}`}var dc=Im(vm("Optional"),8);var Em=Im(vm("SkipSelf"),4);function Bn(t,e){let i=t.hasOwnProperty(Yr);return i?t[Yr]:null}function O_(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],r=e[n];if(i&&(o=i(o),r=i(r)),r!==o)return!1}return!0}function T_(t){return t.flat(Number.POSITIVE_INFINITY)}function uc(t,e){t.forEach(i=>Array.isArray(i)?uc(i,e):e(i))}function km(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Kr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function P_(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function A_(t,e,i,n){let o=t.length;if(o==e)t.push(i,n);else if(o===1)t.push(n,t[0]),t[0]=i;else{for(o--,t.push(t[o-1],t[o]);o>e;){let r=o-2;t[o]=t[r],o--}t[e]=i,t[e+1]=n}}function mc(t,e,i){let n=Po(t,e);return n>=0?t[n|1]=i:(n=~n,A_(t,n,e,i)),n}function qa(t,e){let i=Po(t,e);if(i>=0)return t[i|1]}function Po(t,e){return F_(t,e,1)}function F_(t,e,i){let n=0,o=t.length>>i;for(;o!==n;){let r=n+(o-n>>1),s=t[r<<i];if(e===s)return r<<i;s>e?o=r:n=r+1}return~(o<<i)}var wi={},vt=[],_o=new W(""),Sm=new W("",-1),Om=new W(""),Xr=class{get(e,i=bo){if(i===bo){let n=new Error(`NullInjectorError: No provider for ${Ct(e)}!`);throw n.name="NullInjectorError",n}return i}},Tm=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Tm||{}),qt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(qt||{}),_=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(_||{});function N_(t,e,i){let n=t.length;for(;;){let o=t.indexOf(e,i);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let r=e.length;if(o+r===n||t.charCodeAt(o+r)<=32)return o}i=o+1}}function pl(t,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let r=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,r)}else{let r=o,s=i[++n];j_(r)?t.setProperty(e,r,s):t.setAttribute(e,r,s),n++}}return n}function Pm(t){return t===3||t===4||t===6}function j_(t){return t.charCodeAt(0)===64}function vo(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?Hu(t,i,o,null,e[++n]):Hu(t,i,o,null,null))}}return t}function Hu(t,e,i,n,o){let r=0,s=t.length;if(e===-1)s=-1;else for(;r<t.length;){let a=t[r++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=r-1;break}}}for(;r<t.length;){let a=t[r];if(typeof a=="number")break;if(a===i){if(n===null){o!==null&&(t[r+1]=o);return}else if(n===t[r+1]){t[r+2]=o;return}}r++,n!==null&&r++,o!==null&&r++}s!==-1&&(t.splice(s,0,e),r=s+1),t.splice(r++,0,i),n!==null&&t.splice(r++,0,n),o!==null&&t.splice(r++,0,o)}var Am="ng-template";function R_(t,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&N_(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(pc(t))return!1;if(o=e.indexOf(1,o),o>-1){let r;for(;++o<e.length&&typeof(r=e[o])=="string";)if(r.toLowerCase()===i)return!0}return!1}function pc(t){return t.type===4&&t.value!==Am}function L_(t,e,i){let n=t.type===4&&!i?Am:t.value;return e===n}function V_(t,e,i){let n=4,o=t.attrs,r=o!==null?H_(o):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!Rt(n)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!L_(t,l,i)||l===""&&e.length===1){if(Rt(n))return!1;s=!0}}else if(n&8){if(o===null||!R_(t,o,l,i)){if(Rt(n))return!1;s=!0}}else{let c=e[++a],u=B_(l,o,pc(t),i);if(u===-1){if(Rt(n))return!1;s=!0;continue}if(c!==""){let h;if(u>r?h="":h=o[u+1].toLowerCase(),n&2&&c!==h){if(Rt(n))return!1;s=!0}}}}return Rt(n)||s}function Rt(t){return(t&1)===0}function B_(t,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let r=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)r=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=r?1:2}return-1}else return $_(e,t)}function Fm(t,e,i=!1){for(let n=0;n<e.length;n++)if(V_(t,e[n],i))return!0;return!1}function z_(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function H_(t){for(let e=0;e<t.length;e++){let i=t[e];if(Pm(i))return e}return t.length}function $_(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function U_(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function $u(t,e){return t?":not("+e.trim()+")":e}function W_(t){let e=t[0],i=1,n=2,o="",r=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Rt(s)&&(e+=$u(r,o),o=""),n=s,r=r||!Rt(n);i++}return o!==""&&(e+=$u(r,o)),e}function G_(t){return t.map(W_).join(",")}function q_(t){let e=[],i=[],n=1,o=2;for(;n<t.length;){let r=t[n];if(typeof r=="string")o===2?r!==""&&e.push(r,t[++n]):o===8&&i.push(r);else{if(!Rt(o))break;o=r}n++}return{attrs:e,classes:i}}function k(t){return To(()=>{let e=Rm(t),i=bt(ce({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Tm.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qt.Emulated,styles:t.styles||vt,_:null,schemas:t.schemas||null,tView:null,id:""});Lm(i);let n=t.dependencies;return i.directiveDefs=Wu(n,!1),i.pipeDefs=Wu(n,!0),i.id=K_(i),i})}function Z_(t){return xi(t)||Nm(t)}function Y_(t){return t!==null}function Pe(t){return To(()=>({type:t.type,bootstrap:t.bootstrap||vt,declarations:t.declarations||vt,imports:t.imports||vt,exports:t.exports||vt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Uu(t,e){if(t==null)return wi;let i={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],r,s,a=_.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),e?(i[r]=a!==_.None?[n,a]:n,e[r]=s):i[r]=n}return i}function Z(t){return To(()=>{let e=Rm(t);return Lm(e),e})}function Ao(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function xi(t){return t[h_]||null}function Nm(t){return t[b_]||null}function jm(t){return t[__]||null}function Q_(t){let e=xi(t)||Nm(t)||jm(t);return e!==null?e.standalone:!1}function Rm(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||wi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||vt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uu(t.inputs,e),outputs:Uu(t.outputs),debugInfo:null}}function Lm(t){t.features?.forEach(e=>e(t))}function Wu(t,e){if(!t)return null;let i=e?jm:Z_;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(Y_)}function K_(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of i)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Vm(t){return{\u0275providers:t}}function fc(...t){return{\u0275providers:Bm(!0,t),\u0275fromNgModule:!0}}function Bm(t,...e){let i=[],n=new Set,o,r=s=>{i.push(s)};return uc(e,s=>{let a=s;fl(a,r,[],n)&&(o||=[],o.push(a))}),o!==void 0&&zm(o,r),i}function zm(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:o}=t[i];gc(o,r=>{e(r,n)})}}function fl(t,e,i,n){if(t=mt(t),!t)return!1;let o=null,r=Lu(t),s=!r&&xi(t);if(!r&&!s){let l=t.ngModule;if(r=Lu(l),r)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)fl(c,e,i,n)}}else if(r){if(r.imports!=null&&!a){n.add(o);let c;try{uc(r.imports,u=>{fl(u,e,i,n)&&(c||=[],c.push(u))})}finally{}c!==void 0&&zm(c,e)}if(!a){let c=Bn(o)||(()=>new o);e({provide:o,useFactory:c,deps:vt},o),e({provide:Om,useValue:o,multi:!0},o),e({provide:_o,useValue:()=>j(o),multi:!0},o)}let l=r.providers;if(l!=null&&!a){let c=t;gc(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function gc(t,e){for(let i of t)xm(i)&&(i=i.\u0275providers),Array.isArray(i)?gc(i,e):e(i)}var X_=Ne({provide:String,useValue:Ne});function Hm(t){return t!==null&&typeof t=="object"&&X_ in t}function J_(t){return!!(t&&t.useExisting)}function ev(t){return!!(t&&t.useFactory)}function Di(t){return typeof t=="function"}function tv(t){return!!t.useClass}var vs=new W(""),$r={},nv={},Za;function hc(){return Za===void 0&&(Za=new Xr),Za}var gn=class{},Jr=class extends gn{get destroyed(){return this._destroyed}constructor(e,i,n,o){super(),this.parent=i,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hl(e,s=>this.processProvider(s)),this.records.set(Sm,hi(void 0,this)),o.has("environment")&&this.records.set(gn,hi(void 0,this));let r=this.records.get(vs);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Om,vt,me.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=de(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),de(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=gi(this),n=Et(void 0),o;try{return e()}finally{gi(i),Et(n)}}get(e,i=bo,n=me.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Bu))return e[Bu](this);n=_s(n);let o,r=gi(this),s=Et(void 0);try{if(!(n&me.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=av(e)&&lc(e);c&&this.injectableDefInScope(c)?l=hi(gl(e),$r):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&me.Self?hc():this.parent;return i=n&me.Optional&&i===bo?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[Qr]=a[Qr]||[]).unshift(Ct(e)),r)throw a;return k_(a,e,"R3InjectorError",this.source)}else throw a}finally{Et(s),gi(r)}}resolveInjectorInitializers(){let e=de(null),i=gi(this),n=Et(void 0),o;try{let r=this.get(_o,vt,me.Self);for(let s of r)s()}finally{gi(i),Et(n),de(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(Ct(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new pe(205,!1)}processProvider(e){e=mt(e);let i=Di(e)?e:mt(e&&e.provide),n=ov(e);if(!Di(e)&&e.multi===!0){let o=this.records.get(i);o||(o=hi(void 0,$r,!0),o.factory=()=>ml(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=de(null);try{return i.value===$r&&(i.value=nv,i.value=i.factory()),typeof i.value=="object"&&i.value&&sv(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{de(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=mt(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function gl(t){let e=lc(t),i=e!==null?e.factory:Bn(t);if(i!==null)return i;if(t instanceof W)throw new pe(204,!1);if(t instanceof Function)return iv(t);throw new pe(204,!1)}function iv(t){if(t.length>0)throw new pe(204,!1);let i=f_(t);return i!==null?()=>i.factory(t):()=>new t}function ov(t){if(Hm(t))return hi(void 0,t.useValue);{let e=$m(t);return hi(e,$r)}}function $m(t,e,i){let n;if(Di(t)){let o=mt(t);return Bn(o)||gl(o)}else if(Hm(t))n=()=>mt(t.useValue);else if(ev(t))n=()=>t.useFactory(...ml(t.deps||[]));else if(J_(t))n=()=>j(mt(t.useExisting));else{let o=mt(t&&(t.useClass||t.provide));if(rv(t))n=()=>new o(...ml(t.deps));else return Bn(o)||gl(o)}return n}function hi(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function rv(t){return!!t.deps}function sv(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function av(t){return typeof t=="function"||typeof t=="object"&&t instanceof W}function hl(t,e){for(let i of t)Array.isArray(i)?hl(i,e):i&&xm(i)?hl(i.\u0275providers,e):e(i)}function lv(){return Dm()!==void 0||M_()!=null}function cv(t){return typeof t=="function"}var on=0,J=1,Y=2,et=3,Vt=4,wt=5,Mi=6,yo=7,it=8,Ii=9,Bt=10,Le=11,Co=12,Gu=13,Ti=14,kt=15,Fo=16,bi=17,nn=18,ys=19,Um=20,fn=21,Ya=22,zn=23,rt=25,Wm=1;var Hn=7,es=8,Ei=9,ot=10,bc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bc||{});function Ln(t){return Array.isArray(t)&&typeof t[Wm]=="object"}function rn(t){return Array.isArray(t)&&t[Wm]===!0}function _c(t){return(t.flags&4)!==0}function Cs(t){return t.componentOffset>-1}function ws(t){return(t.flags&1)===1}function hn(t){return!!t.template}function dv(t){return(t[Y]&512)!==0}var wo=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function Gm(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function Ue(){return qm}function qm(t){return t.type.prototype.ngOnChanges&&(t.setInput=mv),uv}Ue.ngInherit=!0;function uv(){let t=Ym(this),e=t?.current;if(e){let i=t.previous;if(i===wi)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function mv(t,e,i,n,o){let r=this.declaredInputs[n],s=Ym(t)||pv(t,{previous:wi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new wo(c&&c.currentValue,i,l===wi),Gm(t,e,o,i)}var Zm="__ngSimpleChanges__";function Ym(t){return t[Zm]||null}function pv(t,e){return t[Zm]=e}var qu=null;var Wt=function(t,e,i){qu?.(t,e,i)},Qm="svg",fv="math",gv=!1;function hv(){return gv}function Zt(t){for(;Array.isArray(t);)t=t[on];return t}function Km(t,e){return Zt(e[t])}function Ot(t,e){return Zt(e[t.index])}function vc(t,e){return t.data[e]}function Xm(t,e){return t[e]}function _n(t,e){let i=e[t];return Ln(i)?i:i[on]}function bv(t){return(t[Y]&4)===4}function yc(t){return(t[Y]&128)===128}function _v(t){return rn(t[et])}function ki(t,e){return e==null?null:t[e]}function Jm(t){t[bi]=0}function vv(t){t[Y]&1024||(t[Y]|=1024,yc(t)&&xo(t))}function yv(t,e){for(;t>0;)e=e[Ti],t--;return e}function Cc(t){return!!(t[Y]&9216||t[zn]?.dirty)}function bl(t){t[Bt].changeDetectionScheduler?.notify(1),Cc(t)?xo(t):t[Y]&64&&(hv()?(t[Y]|=1024,xo(t)):t[Bt].changeDetectionScheduler?.notify())}function xo(t){t[Bt].changeDetectionScheduler?.notify();let e=Do(t);for(;e!==null&&!(e[Y]&8192||(e[Y]|=8192,!yc(e)));)e=Do(e)}function ep(t,e){if((t[Y]&256)===256)throw new pe(911,!1);t[fn]===null&&(t[fn]=[]),t[fn].push(e)}function Cv(t,e){if(t[fn]===null)return;let i=t[fn].indexOf(e);i!==-1&&t[fn].splice(i,1)}function Do(t){let e=t[et];return rn(e)?e[et]:e}var re={lFrame:ap(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function wv(){return re.lFrame.elementDepthCount}function xv(){re.lFrame.elementDepthCount++}function Dv(){re.lFrame.elementDepthCount--}function tp(){return re.bindingsEnabled}function np(){return re.skipHydrationRootTNode!==null}function Mv(t){return re.skipHydrationRootTNode===t}function Iv(){re.skipHydrationRootTNode=null}function ee(){return re.lFrame.lView}function $e(){return re.lFrame.tView}function M(t){return re.lFrame.contextLView=t,t[it]}function I(t){return re.lFrame.contextLView=null,t}function st(){let t=ip();for(;t!==null&&t.type===64;)t=t.parent;return t}function ip(){return re.lFrame.currentTNode}function Ev(){let t=re.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Yn(t,e){let i=re.lFrame;i.currentTNode=t,i.isParent=e}function wc(){return re.lFrame.isParent}function xc(){re.lFrame.isParent=!1}function kv(){return re.lFrame.contextLView}function No(){let t=re.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Sv(){return re.lFrame.bindingIndex}function Ov(t){return re.lFrame.bindingIndex=t}function Pi(){return re.lFrame.bindingIndex++}function Dc(t){let e=re.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function Tv(){return re.lFrame.inI18n}function Pv(t,e){let i=re.lFrame;i.bindingIndex=i.bindingRootIndex=t,_l(e)}function Av(){return re.lFrame.currentDirectiveIndex}function _l(t){re.lFrame.currentDirectiveIndex=t}function Fv(t){let e=re.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function op(){return re.lFrame.currentQueryIndex}function Mc(t){re.lFrame.currentQueryIndex=t}function Nv(t){let e=t[J];return e.type===2?e.declTNode:e.type===1?t[wt]:null}function rp(t,e,i){if(i&me.SkipSelf){let o=e,r=t;for(;o=o.parent,o===null&&!(i&me.Host);)if(o=Nv(r),o===null||(r=r[Ti],o.type&10))break;if(o===null)return!1;e=o,t=r}let n=re.lFrame=sp();return n.currentTNode=e,n.lView=t,!0}function Ic(t){let e=sp(),i=t[J];re.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function sp(){let t=re.lFrame,e=t===null?null:t.child;return e===null?ap(t):e}function ap(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function lp(){let t=re.lFrame;return re.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var cp=lp;function Ec(){let t=lp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function jv(t){return(re.lFrame.contextLView=yv(t,re.lFrame.contextLView))[it]}function sn(){return re.lFrame.selectedIndex}function $n(t){re.lFrame.selectedIndex=t}function xs(){let t=re.lFrame;return vc(t.tView,t.selectedIndex)}function dp(){re.lFrame.currentNamespace=Qm}function Rv(){return re.lFrame.currentNamespace}var up=!0;function Ds(){return up}function Ms(t){up=t}function Lv(t,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:r}=e.type.prototype;if(n){let s=qm(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}o&&(i.preOrderHooks??=[]).push(0-t,o),r&&((i.preOrderHooks??=[]).push(t,r),(i.preOrderCheckHooks??=[]).push(t,r))}function Is(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let r=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),u!=null&&(t.destroyHooks??=[]).push(i,u)}}function Ur(t,e,i){mp(t,e,3,i)}function Wr(t,e,i,n){(t[Y]&3)===i&&mp(t,e,i,n)}function Qa(t,e){let i=t[Y];(i&3)===e&&(i&=16383,i+=1,t[Y]=i)}function mp(t,e,i,n){let o=n!==void 0?t[bi]&65535:0,r=n??-1,s=e.length-1,a=0;for(let l=o;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[bi]+=65536),(a<r||r==-1)&&(Vv(t,i,e,l),t[bi]=(t[bi]&4294901760)+l+2),l++}function Zu(t,e){Wt(4,t,e);let i=de(null);try{e.call(t)}finally{de(i),Wt(5,t,e)}}function Vv(t,e,i,n){let o=i[n]<0,r=i[n+1],s=o?-i[n]:i[n],a=t[s];o?t[Y]>>14<t[bi]>>16&&(t[Y]&3)===e&&(t[Y]+=16384,Zu(a,r)):Zu(a,r)}var yi=-1,Un=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function Bv(t){return t instanceof Un}function zv(t){return(t.flags&8)!==0}function Hv(t){return(t.flags&16)!==0}function pp(t){return t!==yi}function ts(t){return t&32767}function $v(t){return t>>16}function ns(t,e){let i=$v(t),n=e;for(;i>0;)n=n[Ti],i--;return n}var vl=!0;function is(t){let e=vl;return vl=t,e}var Uv=256,fp=Uv-1,gp=5,Wv=0,Gt={};function Gv(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(ho)&&(n=i[ho]),n==null&&(n=i[ho]=Wv++);let o=n&fp,r=1<<o;e.data[t+(o>>gp)]|=r}function os(t,e){let i=hp(t,e);if(i!==-1)return i;let n=e[J];n.firstCreatePass&&(t.injectorIndex=e.length,Ka(n.data,t),Ka(e,null),Ka(n.blueprint,null));let o=kc(t,e),r=t.injectorIndex;if(pp(o)){let s=ts(o),a=ns(o,e),l=a[J].data;for(let c=0;c<8;c++)e[r+c]=a[s+c]|l[s+c]}return e[r+8]=o,r}function Ka(t,e){t.push(0,0,0,0,0,0,0,0,e)}function hp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function kc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=Cp(o),n===null)return yi;if(i++,o=o[Ti],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return yi}function yl(t,e,i){Gv(t,e,i)}function qv(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,o=0;for(;o<n;){let r=i[o];if(Pm(r))break;if(r===0)o=o+2;else if(typeof r=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(r===e)return i[o+1];o=o+2}}}return null}function bp(t,e,i){if(i&me.Optional||t!==void 0)return t;cc(e,"NodeInjector")}function _p(t,e,i,n){if(i&me.Optional&&n===void 0&&(n=null),!(i&(me.Self|me.Host))){let o=t[Ii],r=Et(void 0);try{return o?o.get(e,n,i&me.Optional):Mm(e,n,i&me.Optional)}finally{Et(r)}}return bp(n,e,i)}function vp(t,e,i,n=me.Default,o){if(t!==null){if(e[Y]&2048&&!(n&me.Self)){let s=Kv(t,e,i,n,Gt);if(s!==Gt)return s}let r=yp(t,e,i,n,Gt);if(r!==Gt)return r}return _p(e,i,n,o)}function yp(t,e,i,n,o){let r=Yv(i);if(typeof r=="function"){if(!rp(e,t,n))return n&me.Host?bp(o,i,n):_p(e,i,n,o);try{let s;if(s=r(n),s==null&&!(n&me.Optional))cc(i);else return s}finally{cp()}}else if(typeof r=="number"){let s=null,a=hp(t,e),l=yi,c=n&me.Host?e[kt][wt]:null;for((a===-1||n&me.SkipSelf)&&(l=a===-1?kc(t,e):e[a+8],l===yi||!Qu(n,!1)?a=-1:(s=e[J],a=ts(l),e=ns(l,e)));a!==-1;){let u=e[J];if(Yu(r,a,u.data)){let h=Zv(a,e,i,s,n,c);if(h!==Gt)return h}l=e[a+8],l!==yi&&Qu(n,e[J].data[a+8]===c)&&Yu(r,a,e)?(s=u,a=ts(l),e=ns(l,e)):a=-1}}return o}function Zv(t,e,i,n,o,r){let s=e[J],a=s.data[t+8],l=n==null?Cs(a)&&vl:n!=s&&(a.type&3)!==0,c=o&me.Host&&r===a,u=Gr(a,s,i,l,c);return u!==null?Wn(e,s,u,a):Gt}function Gr(t,e,i,n,o){let r=t.providerIndexes,s=e.data,a=r&1048575,l=t.directiveStart,c=t.directiveEnd,u=r>>20,h=n?a:a+u,v=o?a+u:c;for(let x=h;x<v;x++){let T=s[x];if(x<l&&i===T||x>=l&&T.type===i)return x}if(o){let x=s[l];if(x&&hn(x)&&x.type===i)return l}return null}function Wn(t,e,i,n){let o=t[i],r=e.data;if(Bv(o)){let s=o;s.resolving&&y_(v_(r[i]));let a=is(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Et(s.injectImpl):null,u=rp(t,n,me.Default);try{o=t[i]=s.factory(void 0,r,t,n),e.firstCreatePass&&i>=n.directiveStart&&Lv(i,r[i],e)}finally{c!==null&&Et(c),is(a),s.resolving=!1,cp()}}return o}function Yv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ho)?t[ho]:void 0;return typeof e=="number"?e>=0?e&fp:Qv:e}function Yu(t,e,i){let n=1<<t;return!!(i[e+(t>>gp)]&n)}function Qu(t,e){return!(t&me.Self)&&!(t&me.Host&&e)}var Vn=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return vp(this._tNode,this._lView,e,_s(n),i)}};function Qv(){return new Vn(st(),ee())}function at(t){return To(()=>{let e=t.prototype.constructor,i=e[Yr]||Cl(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let r=o[Yr]||Cl(o);if(r&&r!==i)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Cl(t){return ym(t)?()=>{let e=Cl(mt(t));return e&&e()}:Bn(t)}function Kv(t,e,i,n,o){let r=t,s=e;for(;r!==null&&s!==null&&s[Y]&2048&&!(s[Y]&512);){let a=yp(r,s,i,n|me.Self,Gt);if(a!==Gt)return a;let l=r.parent;if(!l){let c=s[Um];if(c){let u=c.get(i,Gt,n);if(u!==Gt)return u}l=Cp(s),s=s[Ti]}r=l}return o}function Cp(t){let e=t[J],i=e.type;return i===2?e.declTNode:i===1?t[wt]:null}function Ai(t){return qv(st(),t)}function Ku(t,e=null,i=null,n){let o=Xv(t,e,i,n);return o.resolveInjectorInitializers(),o}function Xv(t,e=null,i=null,n,o=new Set){let r=[i||vt,fc(t)];return n=n||(typeof t=="object"?void 0:Ct(t)),new Jr(r,e||hc(),n||null,o)}var Fi=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Ku({name:""},o,n,"");{let r=n.name??"";return Ku({name:r},n.parent,n.providers,r)}}};e.THROW_IF_NOT_FOUND=bo,e.NULL=new Xr,e.\u0275prov=q({token:e,providedIn:"any",factory:()=>j(Sm)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var Jv="ngOriginalError";function Xa(t){return t[Jv]}var Yt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&Xa(e);for(;i&&Xa(i);)i=Xa(i);return i||null}},wp=new W("",{providedIn:"root",factory:()=>be(Yt).handleError.bind(void 0)}),xp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=e0,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),wl=class extends xp{constructor(e){super(),this._lView=e}onDestroy(e){return ep(this._lView,e),()=>Cv(this._lView,e)}};function e0(){return new wl(ee())}function t0(){return Ni(st(),ee())}function Ni(t,e){return new se(Ot(t,e))}var se=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=t0;let t=e;return t})();function n0(t){return t instanceof se?t.nativeElement:t}var xl=class extends ye{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,lv()&&(this.destroyRef=be(xp,{optional:!0})??void 0)}emit(e){let i=de(null);try{super.next(e)}finally{de(i)}}subscribe(e,i,n){let o=e,r=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Ja(r),o&&(o=Ja(o)),s&&(s=Ja(s)));let a=super.subscribe({next:o,error:r,complete:s});return e instanceof He&&e.add(a),a}};function Ja(t){return e=>{setTimeout(t,void 0,e)}}var y=xl;function i0(){return this._results[Symbol.iterator]()}var rs=class t{get changes(){return this._changes??=new y}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=i0)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=T_(e);(this._changesDetected=!O_(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Dp(t){return(t.flags&128)===128}var Mp=new Map,o0=0;function r0(){return o0++}function s0(t){Mp.set(t[ys],t)}function a0(t){Mp.delete(t[ys])}var Xu="__ngContext__";function bn(t,e){Ln(e)?(t[Xu]=e[ys],s0(e)):t[Xu]=e}function Ip(t){return kp(t[Co])}function Ep(t){return kp(t[Vt])}function kp(t){for(;t!==null&&!rn(t);)t=t[Vt];return t}var Dl;function Sp(t){Dl=t}function l0(){if(Dl!==void 0)return Dl;if(typeof document<"u")return document;throw new pe(210,!1)}var Es=new W("",{providedIn:"root",factory:()=>c0}),c0="ng",Sc=new W(""),vn=new W("",{providedIn:"platform",factory:()=>"unknown"});var jo=new W(""),Ro=new W("",{providedIn:"root",factory:()=>l0().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var d0="h",u0="b";var m0=()=>null;function Oc(t,e,i=!1){return m0(t,e,i)}var Op=!1,p0=new W("",{providedIn:"root",factory:()=>Op});var ss=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_m})`}};function Lo(t){return t instanceof ss?t.changingThisBreaksApplicationSecurity:t}function Tp(t,e){let i=f0(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${_m})`)}return i===e}function f0(t){return t instanceof ss&&t.getTypeName()||null}var g0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pp(t){return t=String(t),t.match(g0)?t:"unsafe:"+t}var Tc=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Tc||{});function Vo(t){let e=h0();return e?e.sanitize(Tc.URL,t)||"":Tp(t,"URL")?Lo(t):Pp(Ci(t))}function h0(){let t=ee();return t&&t[Bt].sanitizer}var b0=/^>|^->|<!--|-->|--!>|<!-$/g,_0=/(<|>)/g,v0="\u200B$1\u200B";function y0(t){return t.replace(b0,e=>e.replace(_0,v0))}function yn(t){return t.ownerDocument}var Qt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qt||{}),C0;function Pc(t,e){return C0(t,e)}function _i(t,e,i,n,o){if(n!=null){let r,s=!1;rn(n)?r=n:Ln(n)&&(s=!0,n=n[on]);let a=Zt(n);t===0&&i!==null?o==null?Rp(e,i,a):as(e,i,a,o||null,!0):t===1&&i!==null?as(e,i,a,o||null,!0):t===2?R0(e,a,s):t===3&&e.destroyNode(a),r!=null&&V0(e,t,r,i,o)}}function w0(t,e){return t.createText(e)}function x0(t,e,i){t.setValue(e,i)}function D0(t,e){return t.createComment(y0(e))}function Ap(t,e,i){return t.createElement(e,i)}function M0(t,e){Fp(t,e),e[on]=null,e[wt]=null}function I0(t,e,i,n,o,r){n[on]=o,n[wt]=e,Os(t,n,i,1,o,r)}function Fp(t,e){e[Bt].changeDetectionScheduler?.notify(1),Os(t,e,e[Le],2,null,null)}function E0(t){let e=t[Co];if(!e)return el(t[J],t);for(;e;){let i=null;if(Ln(e))i=e[Co];else{let n=e[ot];n&&(i=n)}if(!i){for(;e&&!e[Vt]&&e!==t;)Ln(e)&&el(e[J],e),e=e[et];e===null&&(e=t),Ln(e)&&el(e[J],e),i=e&&e[Vt]}e=i}}function k0(t,e,i,n){let o=ot+n,r=i.length;n>0&&(i[o-1][Vt]=e),n<r-ot?(e[Vt]=i[o],km(i,ot+n,e)):(i.push(e),e[Vt]=null),e[et]=i;let s=e[Fo];s!==null&&i!==s&&S0(s,e);let a=e[nn];a!==null&&a.insertView(t),bl(e),e[Y]|=128}function S0(t,e){let i=t[Ei],o=e[et][et][kt];e[kt]!==o&&(t[Y]|=bc.HasTransplantedViews),i===null?t[Ei]=[e]:i.push(e)}function Np(t,e){let i=t[Ei],n=i.indexOf(e);i.splice(n,1)}function Mo(t,e){if(t.length<=ot)return;let i=ot+e,n=t[i];if(n){let o=n[Fo];o!==null&&o!==t&&Np(o,n),e>0&&(t[i-1][Vt]=n[Vt]);let r=Kr(t,ot+e);M0(n[J],n);let s=r[nn];s!==null&&s.detachView(r[J]),n[et]=null,n[Vt]=null,n[Y]&=-129}return n}function ks(t,e){if(!(e[Y]&256)){let i=e[Le];i.destroyNode&&Os(t,e,i,3,null,null),E0(e)}}function el(t,e){if(e[Y]&256)return;let i=de(null);try{e[Y]&=-129,e[Y]|=256,e[zn]&&iu(e[zn]),T0(t,e),O0(t,e),e[J].type===1&&e[Le].destroy();let n=e[Fo];if(n!==null&&rn(e[et])){n!==e[et]&&Np(n,e);let o=e[nn];o!==null&&o.detachView(t)}a0(e)}finally{de(i)}}function O0(t,e){let i=t.cleanup,n=e[yo];if(i!==null)for(let r=0;r<i.length-1;r+=2)if(typeof i[r]=="string"){let s=i[r+3];s>=0?n[s]():n[-s].unsubscribe(),r+=2}else{let s=n[i[r+1]];i[r].call(s)}n!==null&&(e[yo]=null);let o=e[fn];if(o!==null){e[fn]=null;for(let r=0;r<o.length;r++){let s=o[r];s()}}}function T0(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof Un)){let r=i[n+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){let a=o[r[s]],l=r[s+1];Wt(4,a,l);try{l.call(a)}finally{Wt(5,a,l)}}else{Wt(4,o,r);try{r.call(o)}finally{Wt(5,o,r)}}}}}function jp(t,e,i){return P0(t,e.parent,i)}function P0(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[on];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:r}=t.data[n.directiveStart+o];if(r===qt.None||r===qt.Emulated)return null}return Ot(n,i)}}function as(t,e,i,n,o){t.insertBefore(e,i,n,o)}function Rp(t,e,i){t.appendChild(e,i)}function Ju(t,e,i,n,o){n!==null?as(t,e,i,n,o):Rp(t,e,i)}function A0(t,e,i,n){t.removeChild(e,i,n)}function Ac(t,e){return t.parentNode(e)}function F0(t,e){return t.nextSibling(e)}function Lp(t,e,i){return j0(t,e,i)}function N0(t,e,i){return t.type&40?Ot(t,i):null}var j0=N0,em;function Ss(t,e,i,n){let o=jp(t,n,e),r=e[Le],s=n.parent||e[wt],a=Lp(s,n,e);if(o!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)Ju(r,o,i[l],a,!1);else Ju(r,o,i,a,!1);em!==void 0&&em(r,n,e,i,o)}function qr(t,e){if(e!==null){let i=e.type;if(i&3)return Ot(e,t);if(i&4)return Ml(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return qr(t,n);{let o=t[e.index];return rn(o)?Ml(-1,o):Zt(o)}}else{if(i&32)return Pc(e,t)()||Zt(t[e.index]);{let n=Vp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Do(t[kt]);return qr(o,n)}else return qr(t,e.next)}}}return null}function Vp(t,e){if(e!==null){let n=t[kt][wt],o=e.projection;return n.projection[o]}return null}function Ml(t,e){let i=ot+t+1;if(i<e.length){let n=e[i],o=n[J].firstChild;if(o!==null)return qr(n,o)}return e[Hn]}function R0(t,e,i){let n=Ac(t,e);n&&A0(t,n,e,i)}function Fc(t,e,i,n,o,r,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&bn(Zt(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Fc(t,e,i.child,n,o,r,!1),_i(e,t,o,a,r);else if(l&32){let c=Pc(i,n),u;for(;u=c();)_i(e,t,o,u,r);_i(e,t,o,a,r)}else l&16?Bp(t,e,n,i,o,r):_i(e,t,o,a,r);i=s?i.projectionNext:i.next}}function Os(t,e,i,n,o,r){Fc(i,n,t.firstChild,e,o,r,!1)}function L0(t,e,i){let n=e[Le],o=jp(t,i,e),r=i.parent||e[wt],s=Lp(r,i,e);Bp(n,0,e,i,o,s)}function Bp(t,e,i,n,o,r){let s=i[kt],l=s[wt].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let u=l[c];_i(e,t,o,u,r)}else{let c=l,u=s[et];Dp(n)&&(c.flags|=128),Fc(t,e,c,u,o,r,!0)}}function V0(t,e,i,n,o){let r=i[Hn],s=Zt(i);r!==s&&_i(e,t,n,r,o);for(let a=ot;a<i.length;a++){let l=i[a];Os(l[J],l,t,e,n,r)}}function B0(t,e,i,n,o){if(e)o?t.addClass(i,n):t.removeClass(i,n);else{let r=n.indexOf("-")===-1?void 0:Qt.DashCase;o==null?t.removeStyle(i,n,r):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Qt.Important),t.setStyle(i,n,o,r))}}function z0(t,e,i){t.setAttribute(e,"style",i)}function zp(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function Hp(t,e,i){let{mergedAttrs:n,classes:o,styles:r}=i;n!==null&&pl(t,e,n),o!==null&&zp(t,e,o),r!==null&&z0(t,e,r)}var Tt={};function d(t=1){$p($e(),ee(),sn()+t,!1)}function $p(t,e,i,n){if(!n)if((e[Y]&3)===3){let r=t.preOrderCheckHooks;r!==null&&Ur(e,r,i)}else{let r=t.preOrderHooks;r!==null&&Wr(e,r,0,i)}$n(i)}function w(t,e=me.Default){let i=ee();if(i===null)return j(t,e);let n=st();return vp(n,i,mt(t),e)}function Up(){let t="invalid";throw new Error(t)}function Wp(t,e,i,n,o,r){let s=de(null);try{let a=null;o&_.SignalBased&&(a=e[n][Ea]),a!==null&&a.transformFn!==void 0&&(r=a.transformFn(r)),o&_.HasDecoratorInputTransform&&(r=t.inputTransforms[n].call(e,r)),t.setInput!==null?t.setInput(e,a,r,i,n):Gm(e,a,n,r)}finally{de(s)}}function H0(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)$n(~o);else{let r=o,s=i[++n],a=i[++n];Pv(s,r);let l=e[r];a(2,l)}}}finally{$n(-1)}}function Ts(t,e,i,n,o,r,s,a,l,c,u){let h=e.blueprint.slice();return h[on]=o,h[Y]=n|4|128|8|64,(c!==null||t&&t[Y]&2048)&&(h[Y]|=2048),Jm(h),h[et]=h[Ti]=t,h[it]=i,h[Bt]=s||t&&t[Bt],h[Le]=a||t&&t[Le],h[Ii]=l||t&&t[Ii]||null,h[wt]=r,h[ys]=r0(),h[Mi]=u,h[Um]=c,h[kt]=e.type==2?t[kt]:h,h}function ji(t,e,i,n,o){let r=t.data[e];if(r===null)r=$0(t,e,i,n,o),Tv()&&(r.flags|=32);else if(r.type&64){r.type=i,r.value=n,r.attrs=o;let s=Ev();r.injectorIndex=s===null?-1:s.injectorIndex}return Yn(r,!0),r}function $0(t,e,i,n,o){let r=ip(),s=wc(),a=s?r:r&&r.parent,l=t.data[e]=Y0(t,a,i,e,n,o);return t.firstChild===null&&(t.firstChild=l),r!==null&&(s?r.child==null&&l.parent!==null&&(r.child=l):r.next===null&&(r.next=l,l.prev=r)),l}function Gp(t,e,i,n){if(i===0)return-1;let o=e.length;for(let r=0;r<i;r++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function qp(t,e,i,n,o){let r=sn(),s=n&2;try{$n(-1),s&&e.length>rt&&$p(t,e,rt,!1),Wt(s?2:0,o),i(n,o)}finally{$n(r),Wt(s?3:1,o)}}function Nc(t,e,i){if(_c(e)){let n=de(null);try{let o=e.directiveStart,r=e.directiveEnd;for(let s=o;s<r;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{de(n)}}}function jc(t,e,i){tp()&&(ty(t,e,i,Ot(i,e)),(i.flags&64)===64&&Qp(t,e,i))}function Rc(t,e,i=Ot){let n=e.localNames;if(n!==null){let o=e.index+1;for(let r=0;r<n.length;r+=2){let s=n[r+1],a=s===-1?i(e,t):t[s];t[o++]=a}}}function Zp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Lc(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Lc(t,e,i,n,o,r,s,a,l,c,u){let h=rt+n,v=h+o,x=U0(h,v),T=typeof c=="function"?c():c;return x[J]={type:t,blueprint:x,template:i,queries:null,viewQuery:a,declTNode:e,data:x.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:v,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof r=="function"?r():r,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:T,incompleteFirstPass:!1,ssrId:u}}function U0(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:Tt);return i}function W0(t,e,i,n){let r=n.get(p0,Op)||i===qt.ShadowDom,s=t.selectRootElement(e,r);return G0(s),s}function G0(t){q0(t)}var q0=()=>null;function Z0(t,e,i,n){let o=Jp(e);o.push(i),t.firstCreatePass&&ef(t).push(n,o.length-1)}function Y0(t,e,i,n,o,r){let s=e?e.injectorIndex:-1,a=0;return np()&&(a|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function tm(t,e,i,n,o){for(let r in e){if(!e.hasOwnProperty(r))continue;let s=e[r];if(s===void 0)continue;n??={};let a,l=_.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(o!==null){if(!o.hasOwnProperty(r))continue;c=o[r]}t===0?nm(n,i,c,a,l):nm(n,i,c,a)}return n}function nm(t,e,i,n,o){let r;t.hasOwnProperty(i)?(r=t[i]).push(e,n):r=t[i]=[e,n],o!==void 0&&r.push(o)}function Q0(t,e,i){let n=e.directiveStart,o=e.directiveEnd,r=t.data,s=e.attrs,a=[],l=null,c=null;for(let u=n;u<o;u++){let h=r[u],v=i?i.get(h):null,x=v?v.inputs:null,T=v?v.outputs:null;l=tm(0,h.inputs,u,l,x),c=tm(1,h.outputs,u,c,T);let F=l!==null&&s!==null&&!pc(e)?my(l,u,s):null;a.push(F)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function K0(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Vc(t,e,i,n,o,r,s,a){let l=Ot(e,i),c=e.inputs,u;!a&&c!=null&&(u=c[n])?(zc(t,i,u,n,o),Cs(e)&&X0(i,e.index)):e.type&3?(n=K0(n),o=s!=null?s(o,e.value||"",n):o,r.setProperty(l,n,o)):e.type&12}function X0(t,e){let i=_n(e,t);i[Y]&16||(i[Y]|=64)}function Bc(t,e,i,n){if(tp()){let o=n===null?null:{"":-1},r=iy(t,i),s,a;r===null?s=a=null:[s,a]=r,s!==null&&Yp(t,e,i,s,o,a),o&&oy(i,n,o)}i.mergedAttrs=vo(i.mergedAttrs,i.attrs)}function Yp(t,e,i,n,o,r){for(let c=0;c<n.length;c++)yl(os(i,e),t,n[c].type);sy(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let u=n[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Gp(t,e,n.length,null);for(let c=0;c<n.length;c++){let u=n[c];i.mergedAttrs=vo(i.mergedAttrs,u.hostAttrs),ay(t,i,e,l,u),ry(l,u,o),u.contentQueries!==null&&(i.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(i.flags|=64);let h=u.type.prototype;!s&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(h.ngOnChanges||h.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}Q0(t,i,r)}function J0(t,e,i,n,o){let r=o.hostBindings;if(r){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;ey(s)!=a&&s.push(a),s.push(i,n,r)}}function ey(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function ty(t,e,i,n){let o=i.directiveStart,r=i.directiveEnd;Cs(i)&&ly(e,i,t.data[o+i.componentOffset]),t.firstCreatePass||os(i,e),bn(n,e);let s=i.initialInputs;for(let a=o;a<r;a++){let l=t.data[a],c=Wn(e,t,a,i);if(bn(c,e),s!==null&&uy(e,a-o,c,l,i,s),hn(l)){let u=_n(i.index,e);u[it]=Wn(e,t,a,i)}}}function Qp(t,e,i){let n=i.directiveStart,o=i.directiveEnd,r=i.index,s=Av();try{$n(r);for(let a=n;a<o;a++){let l=t.data[a],c=e[a];_l(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&ny(l,c)}}finally{$n(-1),_l(s)}}function ny(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function iy(t,e){let i=t.directiveRegistry,n=null,o=null;if(i)for(let r=0;r<i.length;r++){let s=i[r];if(Fm(e,s.selectors,!1))if(n||(n=[]),hn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let l=a.length;Il(t,e,l)}else n.unshift(s),Il(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Il(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function oy(t,e,i){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let r=i[e[o+1]];if(r==null)throw new pe(-301,!1);n.push(e[o],r)}}}function ry(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;hn(e)&&(i[""]=t)}}function sy(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function ay(t,e,i,n,o){t.data[n]=o;let r=o.factory||(o.factory=Bn(o.type,!0)),s=new Un(r,hn(o),w);t.blueprint[n]=s,i[n]=s,J0(t,e,n,Gp(t,i,o.hostVars,Tt),o)}function ly(t,e,i){let n=Ot(e,t),o=Zp(i),r=t[Bt].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=Ps(t,Ts(t,o,null,s,n,e,null,r.createRenderer(n,i),null,null,null));t[e.index]=a}function cy(t,e,i,n,o,r){let s=Ot(t,e);dy(e[Le],s,r,t.value,i,n,o)}function dy(t,e,i,n,o,r,s){if(r==null)t.removeAttribute(e,o,i);else{let a=s==null?Ci(r):s(r,n||"",o);t.setAttribute(e,o,a,i)}}function uy(t,e,i,n,o,r){let s=r[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],u=s[a++],h=s[a++];Wp(n,i,l,c,u,h)}}function my(t,e,i){let n=null,o=0;for(;o<i.length;){let r=i[o];if(r===0){o+=4;continue}else if(r===5){o+=2;continue}if(typeof r=="number")break;if(t.hasOwnProperty(r)){n===null&&(n=[]);let s=t[r];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(r,s[a+1],s[a+2],i[o+1]);break}}o+=2}return n}function Kp(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function Xp(t,e){let i=t.contentQueries;if(i!==null){let n=de(null);try{for(let o=0;o<i.length;o+=2){let r=i[o],s=i[o+1];if(s!==-1){let a=t.data[s];Mc(r),a.contentQueries(2,e[s],s)}}}finally{de(n)}}}function Ps(t,e){return t[Co]?t[Gu][Vt]=e:t[Co]=e,t[Gu]=e,e}function El(t,e,i){Mc(0);let n=de(null);try{e(t,i)}finally{de(n)}}function Jp(t){return t[yo]||(t[yo]=[])}function ef(t){return t.cleanup||(t.cleanup=[])}function tf(t,e){let i=t[Ii],n=i?i.get(Yt,null):null;n&&n.handleError(e)}function zc(t,e,i,n,o){for(let r=0;r<i.length;){let s=i[r++],a=i[r++],l=i[r++],c=e[s],u=t.data[s];Wp(u,c,n,a,l,o)}}function nf(t,e,i){let n=Km(e,t);x0(t[Le],n,i)}function py(t,e){let i=_n(e,t),n=i[J];fy(n,i);let o=i[on];o!==null&&i[Mi]===null&&(i[Mi]=Oc(o,i[Ii])),Hc(n,i,i[it])}function fy(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Hc(t,e,i){Ic(e);try{let n=t.viewQuery;n!==null&&El(1,n,i);let o=t.template;o!==null&&qp(t,e,o,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[nn]?.finishViewCreation(t),t.staticContentQueries&&Xp(t,e),t.staticViewQueries&&El(2,t.viewQuery,i);let r=t.components;r!==null&&gy(e,r)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[Y]&=-5,Ec()}}function gy(t,e){for(let i=0;i<e.length;i++)py(t,e[i])}function As(t,e,i,n){let o=de(null);try{let r=e.tView,a=t[Y]&4096?4096:16,l=Ts(t,r,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Fo]=c;let u=t[nn];return u!==null&&(l[nn]=u.createEmbeddedView(r)),Hc(r,l,i),l}finally{de(o)}}function of(t,e){let i=ot+e;if(i<t.length)return t[i]}function Io(t,e){return!e||e.firstChild===null||Dp(t)}function Fs(t,e,i,n=!0){let o=e[J];if(k0(o,e,t,i),n){let s=Ml(i,t),a=e[Le],l=Ac(a,t[Hn]);l!==null&&I0(o,t[wt],a,e,l,s)}let r=e[Mi];r!==null&&r.firstChild!==null&&(r.firstChild=null)}function rf(t,e){let i=Mo(t,e);return i!==void 0&&ks(i[J],i),i}function ls(t,e,i,n,o=!1){for(;i!==null;){let r=e[i.index];r!==null&&n.push(Zt(r)),rn(r)&&hy(r,n);let s=i.type;if(s&8)ls(t,e,i.child,n);else if(s&32){let a=Pc(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=Vp(e,i);if(Array.isArray(a))n.push(...a);else{let l=Do(e[kt]);ls(l[J],l,a,n,!0)}}i=o?i.projectionNext:i.next}return n}function hy(t,e){for(let i=ot;i<t.length;i++){let n=t[i],o=n[J].firstChild;o!==null&&ls(n[J],n,o,e)}t[Hn]!==t[on]&&e.push(t[Hn])}var sf=[];function by(t){return t[zn]??_y(t)}function _y(t){let e=sf.pop()??Object.create(yy);return e.lView=t,e}function vy(t){t.lView[zn]!==t&&(t.lView=null,sf.push(t))}var yy=bt(ce({},eu),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{xo(t.lView)},consumerOnSignalRead(){this.lView[zn]=this}}),af=100;function lf(t,e=!0,i=0){let n=t[Bt],o=n.rendererFactory,r=!1;r||o.begin?.();try{Cy(t,i)}catch(s){throw e&&tf(t,s),s}finally{r||(o.end?.(),n.inlineEffectRunner?.flush())}}function Cy(t,e){kl(t,e);let i=0;for(;Cc(t);){if(i===af)throw new pe(103,!1);i++,kl(t,1)}}function wy(t,e,i,n){let o=e[Y];if((o&256)===256)return;let r=!1;!r&&e[Bt].inlineEffectRunner?.flush(),Ic(e);let s=null,a=null;!r&&xy(t)&&(a=by(e),s=tu(a));try{Jm(e),Ov(t.bindingStartIndex),i!==null&&qp(t,e,i,2,n);let l=(o&3)===3;if(!r)if(l){let h=t.preOrderCheckHooks;h!==null&&Ur(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Wr(e,h,0,null),Qa(e,0)}if(Dy(e),cf(e,0),t.contentQueries!==null&&Xp(t,e),!r)if(l){let h=t.contentCheckHooks;h!==null&&Ur(e,h)}else{let h=t.contentHooks;h!==null&&Wr(e,h,1),Qa(e,1)}H0(t,e);let c=t.components;c!==null&&uf(e,c,0);let u=t.viewQuery;if(u!==null&&El(2,u,n),!r)if(l){let h=t.viewCheckHooks;h!==null&&Ur(e,h)}else{let h=t.viewHooks;h!==null&&Wr(e,h,2),Qa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ya]){for(let h of e[Ya])h();e[Ya]=null}r||(e[Y]&=-73)}catch(l){throw xo(e),l}finally{a!==null&&(nu(a,s),vy(a)),Ec()}}function xy(t){return t.type!==2}function cf(t,e){for(let i=Ip(t);i!==null;i=Ep(i))for(let n=ot;n<i.length;n++){let o=i[n];df(o,e)}}function Dy(t){for(let e=Ip(t);e!==null;e=Ep(e)){if(!(e[Y]&bc.HasTransplantedViews))continue;let i=e[Ei];for(let n=0;n<i.length;n++){let o=i[n],r=o[et];vv(o)}}}function My(t,e,i){let n=_n(e,t);df(n,i)}function df(t,e){yc(t)&&kl(t,e)}function kl(t,e){let n=t[J],o=t[Y],r=t[zn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(r?.dirty&&ka(r)),r&&(r.dirty=!1),t[Y]&=-9217,s)wy(n,t,n.template,t[it]);else if(o&8192){cf(t,1);let a=n.components;a!==null&&uf(t,a,1)}}function uf(t,e,i){for(let n=0;n<e.length;n++)My(t,e[n],i)}function $c(t){for(t[Bt].changeDetectionScheduler?.notify();t;){t[Y]|=64;let e=Do(t);if(dv(t)&&!e)return t;t=e}return null}var Gn=class{get rootNodes(){let e=this._lView,i=e[J];return ls(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[it]}set context(e){this._lView[it]=e}get destroyed(){return(this._lView[Y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[et];if(rn(e)){let i=e[es],n=i?i.indexOf(this):-1;n>-1&&(Mo(e,n),Kr(i,n))}this._attachedToViewContainer=!1}ks(this._lView[J],this._lView)}onDestroy(e){ep(this._lView,e)}markForCheck(){$c(this._cdRefInjectingView||this._lView)}detach(){this._lView[Y]&=-129}reattach(){bl(this._lView),this._lView[Y]|=128}detectChanges(){this._lView[Y]|=1024,lf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new pe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Fp(this._lView[J],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new pe(902,!1);this._appRef=e,bl(this._lView)}},_e=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ky;let t=e;return t})(),Iy=_e,Ey=class extends Iy{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let o=As(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Gn(o)}};function ky(){return Ns(st(),ee())}function Ns(t,e){return t.type&4?new Ey(e,t,Ni(t,e)):null}var P2=new RegExp(`^(\\d+)*(${u0}|${d0})*(.*)`);var Sy=()=>null;function Eo(t,e){return Sy(t,e)}var Sl=class{},Ol=class{},cs=class{};function Oy(t){let e=Error(`No component factory found for ${Ct(t)}.`);return e[Ty]=t,e}var Ty="ngComponent";var Tl=class{resolveComponentFactory(e){throw Oy(e)}},Ri=(()=>{let e=class e{};e.NULL=new Tl;let t=e;return t})(),ko=class{},an=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Py();let t=e;return t})();function Py(){let t=ee(),e=st(),i=_n(e.index,t);return(Ln(i)?i:t)[Le]}var Ay=(()=>{let e=class e{};e.\u0275prov=q({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),tl={};var im=new Set;function js(t){im.has(t)||(im.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function om(...t){}function Fy(){let t=typeof go.requestAnimationFrame=="function",e=go[t?"requestAnimationFrame":"setTimeout"],i=go[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var Ce=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new y(!1),this.onMicrotaskEmpty=new y(!1),this.onStable=new y(!1),this.onError=new y(!1),typeof Zone>"u")throw new pe(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Fy().nativeRequestAnimationFrame,Ry(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new pe(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new pe(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,Ny,om,om);try{return r.runTask(s,i,n)}finally{r.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},Ny={};function Uc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function jy(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(go,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Pl(t),t.isCheckStableRunning=!0,Uc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Pl(t))}function Ry(t){let e=()=>{jy(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,r,s,a)=>{if(Ly(a))return i.invokeTask(o,r,s,a);try{return rm(t),i.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&r.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),sm(t)}},onInvoke:(i,n,o,r,s,a,l)=>{try{return rm(t),i.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),sm(t)}},onHasTask:(i,n,o,r)=>{i.hasTask(o,r),n===o&&(r.change=="microTask"?(t._hasPendingMicrotasks=r.microTask,Pl(t),Uc(t)):r.change=="macroTask"&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(i,n,o,r)=>(i.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}function Pl(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function rm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function sm(t){t._nesting--,Uc(t)}function Ly(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var mf=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function ds(t,e,i){let n=i?t.styles:null,o=i?t.classes:null,r=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")r=a;else if(r==1)o=cl(o,a);else if(r==2){let l=a,c=e[++s];n=cl(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=o:t.classesWithoutHost=o}var Al=class extends Ri{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=xi(e);return new us(i,this.ngModule)}};function am(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function Vy(t){let e=t.toLowerCase();return e==="svg"?Qm:e==="math"?fv:null}var Fl=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=_s(n);let o=this.injector.get(e,tl,n);return o!==tl||i===tl?o:this.parentInjector.get(e,i,n)}},us=class extends cs{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=am(e.inputs);if(i!==null)for(let o of n)i.hasOwnProperty(o.propName)&&(o.transform=i[o.propName]);return n}get outputs(){return am(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=G_(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,o){let r=de(null);try{o=o||this.ngModule;let s=o instanceof gn?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Fl(e,s):e,l=a.get(ko,null);if(l===null)throw new pe(407,!1);let c=a.get(Ay,null),u=a.get(mf,null),h=a.get(Sl,null),v={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:h},x=l.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",F=n?W0(x,n,this.componentDef.encapsulation,a):Ap(x,T,Vy(T)),Q=512;this.componentDef.signals?Q|=4096:this.componentDef.onPush||(Q|=16);let U=null;F!==null&&(U=Oc(F,a,!0));let Ee=Lc(0,null,null,1,0,null,null,null,null,null,null),je=Ts(null,Ee,null,Q,null,null,v,x,a,null,U);Ic(je);let Ke,Je;try{let le=this.componentDef,Ye,ct=null;le.findHostDirectiveDefs?(Ye=[],ct=new Map,le.findHostDirectiveDefs(le,Ye,ct),Ye.push(le)):Ye=[le];let ar=By(je,F),Cb=zy(ar,F,le,Ye,je,v,x);Je=vc(Ee,rt),F&&Uy(x,le,F,n),i!==void 0&&Wy(Je,this.ngContentSelectors,i),Ke=$y(Cb,le,Ye,ct,je,[Gy]),Hc(Ee,je,null)}finally{Ec()}return new Nl(this.componentType,Ke,Ni(Je,je),je,Je)}finally{de(r)}}},Nl=class extends Ol{constructor(e,i,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Gn(o,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let r=this._rootLView;zc(r[J],r,o,e,i),this.previousInputValues.set(e,i);let s=_n(this._tNode.index,r);$c(s)}}get injector(){return new Vn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function By(t,e){let i=t[J],n=rt;return t[n]=e,ji(i,n,2,"#host",null)}function zy(t,e,i,n,o,r,s){let a=o[J];Hy(n,t,e,s);let l=null;e!==null&&(l=Oc(e,o[Ii]));let c=r.rendererFactory.createRenderer(e,i),u=16;i.signals?u=4096:i.onPush&&(u=64);let h=Ts(o,Zp(i),null,u,o[t.index],t,r,c,null,null,l);return a.firstCreatePass&&Il(a,t,n.length-1),Ps(o,h),o[t.index]=h}function Hy(t,e,i,n){for(let o of t)e.mergedAttrs=vo(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(ds(e,e.mergedAttrs,!0),i!==null&&Hp(n,i,e))}function $y(t,e,i,n,o,r){let s=st(),a=o[J],l=Ot(s,o);Yp(a,o,s,i,null,n);for(let u=0;u<i.length;u++){let h=s.directiveStart+u,v=Wn(o,a,h,s);bn(v,o)}Qp(a,o,s),l&&bn(l,o);let c=Wn(o,a,s.directiveStart+s.componentOffset,s);if(t[it]=o[it]=c,r!==null)for(let u of r)u(c,e);return Nc(a,s,o),c}function Uy(t,e,i,n){if(n)pl(t,i,["ng-version","17.3.10"]);else{let{attrs:o,classes:r}=q_(e.selectors[0]);o&&pl(t,i,o),r&&r.length>0&&zp(t,i,r.join(" "))}}function Wy(t,e,i){let n=t.projection=[];for(let o=0;o<e.length;o++){let r=i[o];n.push(r!=null?Array.from(r):null)}}function Gy(){let t=st();Is(ee()[J],t)}var Kt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=qy;let t=e;return t})();function qy(){let t=st();return ff(t,ee())}var Zy=Kt,pf=class extends Zy{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Ni(this._hostTNode,this._hostLView)}get injector(){return new Vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=kc(this._hostTNode,this._hostLView);if(pp(e)){let i=ns(e,this._hostLView),n=ts(e),o=i[J].data[n+8];return new Vn(o,i)}else return new Vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=lm(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-ot}createEmbeddedView(e,i,n){let o,r;typeof n=="number"?o=n:n!=null&&(o=n.index,r=n.injector);let s=Eo(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},r,s);return this.insertImpl(a,o,Io(this._hostTNode,s)),a}createComponent(e,i,n,o,r){let s=e&&!cv(e),a;if(s)a=i;else{let T=i||{};a=T.index,n=T.injector,o=T.projectableNodes,r=T.environmentInjector||T.ngModuleRef}let l=s?e:new us(xi(e)),c=n||this.parentInjector;if(!r&&l.ngModule==null){let F=(s?c:this.parentInjector).get(gn,null);F&&(r=F)}let u=xi(l.componentType??{}),h=Eo(this._lContainer,u?.id??null),v=h?.firstChild??null,x=l.create(c,o,v,r);return this.insertImpl(x.hostView,a,Io(this._hostTNode,h)),x}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let o=e._lView;if(_v(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=o[et],c=new pf(l,l[wt],l[et]);c.detach(c.indexOf(e))}}let r=this._adjustIndex(i),s=this._lContainer;return Fs(s,o,r,n),e.attachToViewContainerRef(),km(nl(s),r,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=lm(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Mo(this._lContainer,i);n&&(Kr(nl(this._lContainer),i),ks(n[J],n))}detach(e){let i=this._adjustIndex(e,-1),n=Mo(this._lContainer,i);return n&&Kr(nl(this._lContainer),i)!=null?new Gn(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function lm(t){return t[es]}function nl(t){return t[es]||(t[es]=[])}function ff(t,e){let i,n=e[t.index];return rn(n)?i=n:(i=Kp(n,e,null,t),e[t.index]=i,Ps(e,i)),Qy(i,e,t,n),new pf(i,t,e)}function Yy(t,e){let i=t[Le],n=i.createComment(""),o=Ot(e,t),r=Ac(i,o);return as(i,r,n,F0(i,o),!1),n}var Qy=Jy,Ky=()=>!1;function Xy(t,e,i){return Ky(t,e,i)}function Jy(t,e,i,n){if(t[Hn])return;let o;i.type&8?o=Zt(n):o=Yy(e,i),t[Hn]=o}var jl=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Rl=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let r=0;r<n;r++){let s=i.getByIndex(r),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Wc(e,i).matches!==null&&this.queries[i].setDirty()}},ms=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=aC(e):this.predicate=e}},Ll=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,i!==null?i.push(r):i=[r])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Vl=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let r=n[o];this.matchTNodeWithReadOption(e,i,eC(i,r)),this.matchTNodeWithReadOption(e,i,Gr(i,e,r,!1,!1))}else n===_e?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Gr(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===se||o===Kt||o===_e&&i.type&4)this.addMatch(i.index,-2);else{let r=Gr(i,e,o,!1,!1);r!==null&&this.addMatch(i.index,r)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function eC(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function tC(t,e){return t.type&11?Ni(t,e):t.type&4?Ns(t,e):null}function nC(t,e,i,n){return i===-1?tC(e,t):i===-2?iC(t,e,n):Wn(t,t[J],i,e)}function iC(t,e,i){if(i===se)return Ni(e,t);if(i===_e)return Ns(e,t);if(i===Kt)return ff(e,t)}function gf(t,e,i,n){let o=e[nn].queries[n];if(o.matches===null){let r=t.data,s=i.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let u=r[c];a.push(nC(e,u,s[l+1],i.metadata.read))}}o.matches=a}return o.matches}function Bl(t,e,i,n){let o=t.queries.getByIndex(i),r=o.matches;if(r!==null){let s=gf(t,e,o,i);for(let a=0;a<r.length;a+=2){let l=r[a];if(l>0)n.push(s[a/2]);else{let c=r[a+1],u=e[-l];for(let h=ot;h<u.length;h++){let v=u[h];v[Fo]===v[et]&&Bl(v[J],v,c,n)}if(u[Ei]!==null){let h=u[Ei];for(let v=0;v<h.length;v++){let x=h[v];Bl(x[J],x,c,n)}}}}}return n}function oC(t,e){return t[nn].queries[e].queryList}function hf(t,e,i){let n=new rs((i&4)===4);return Z0(t,e,n,n.destroy),(e[nn]??=new Rl).queries.push(new jl(n))-1}function rC(t,e,i){let n=$e();return n.firstCreatePass&&(bf(n,new ms(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),hf(n,ee(),e)}function sC(t,e,i,n){let o=$e();if(o.firstCreatePass){let r=st();bf(o,new ms(e,i,n),r.index),lC(o,t),(i&2)===2&&(o.staticContentQueries=!0)}return hf(o,ee(),i)}function aC(t){return t.split(",").map(e=>e.trim())}function bf(t,e,i){t.queries===null&&(t.queries=new Ll),t.queries.track(new Vl(e,i))}function lC(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Wc(t,e){return t.queries.getByIndex(e)}function cC(t,e){let i=t[J],n=Wc(i,e);return n.crossesNgTemplate?Bl(i,t,e,[]):gf(i,t,n,e)}function _f(t){return typeof t=="function"&&t[Ea]!==void 0}function vf(t){return _f(t)&&typeof t.set=="function"}function dC(t){return Object.getPrototypeOf(t.prototype).constructor}function z(t){let e=dC(t.type),i=!0,n=[t];for(;e;){let o;if(hn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new pe(903,!1);o=e.\u0275dir}if(o){if(i){n.push(o);let s=t;s.inputs=zr(t.inputs),s.inputTransforms=zr(t.inputTransforms),s.declaredInputs=zr(t.declaredInputs),s.outputs=zr(t.outputs);let a=o.hostBindings;a&&gC(t,a);let l=o.viewQuery,c=o.contentQueries;if(l&&pC(t,l),c&&fC(t,c),uC(t,o),m_(t.outputs,o.outputs),hn(o)&&o.data.animation){let u=t.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let s=0;s<r.length;s++){let a=r[s];a&&a.ngInherit&&a(t),a===z&&(i=!1)}}e=Object.getPrototypeOf(e)}mC(n)}function uC(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function mC(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=vo(o.hostAttrs,i=vo(i,o.hostAttrs))}}function zr(t){return t===wi?{}:t===vt?[]:t}function pC(t,e){let i=t.viewQuery;i?t.viewQuery=(n,o)=>{e(n,o),i(n,o)}:t.viewQuery=e}function fC(t,e){let i=t.contentQueries;i?t.contentQueries=(n,o,r)=>{e(n,o,r),i(n,o,r)}:t.contentQueries=e}function gC(t,e){let i=t.hostBindings;i?t.hostBindings=(n,o)=>{e(n,o),i(n,o)}:t.hostBindings=e}function fe(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}t.inputTransforms=i}var Si=class{};var ps=class extends Si{constructor(e){super(),this.componentFactoryResolver=new Al(this),this.instance=null;let i=new Jr([...e.providers,{provide:Si,useValue:this},{provide:Ri,useValue:this.componentFactoryResolver}],e.parent||hc(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function hC(t,e,i=null){return new ps({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var yf=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ge(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Cf(t){return Gc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function bC(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function Gc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Rs(t,e,i){return t[e]=i}function St(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function So(t,e,i,n){let o=St(t,e,i);return St(t,e+1,n)||o}function _C(t,e,i,n,o){let r=So(t,e,i,n);return St(t,e+2,o)||r}function vC(t,e,i,n,o,r){let s=So(t,e,i,n);return So(t,e+2,o,r)||s}function yC(t){return(t.flags&32)===32}function CC(t,e,i,n,o,r,s,a,l){let c=e.consts,u=ji(e,t,4,s||null,ki(c,a));Bc(e,i,u,ki(c,l)),Is(e,u);let h=u.tView=Lc(2,u,n,o,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}function C(t,e,i,n,o,r,s,a){let l=ee(),c=$e(),u=t+rt,h=c.firstCreatePass?CC(u,c,l,e,i,n,o,r,s):c.data[u];Yn(h,!1);let v=wC(c,l,h,t);Ds()&&Ss(c,l,v,h),bn(v,l);let x=Kp(v,l,v,h);return l[u]=x,Ps(l,x),Xy(x,h,l),ws(h)&&jc(c,l,h),s!=null&&Rc(l,h,a),C}var wC=xC;function xC(t,e,i,n){return Ms(!0),e[Le].createComment("")}function H(t,e,i,n){let o=ee(),r=Pi();if(St(o,r,e)){let s=$e(),a=xs();cy(a,o,t,e,i,n)}return H}function wf(t,e,i,n){return St(t,Pi(),i)?e+Ci(i)+n:Tt}function DC(t,e,i,n,o,r){let s=Sv(),a=So(t,s,i,o);return Dc(2),a?e+Ci(i)+n+Ci(o)+r:Tt}function Hr(t,e){return t<<17|e<<2}function qn(t){return t>>17&32767}function MC(t){return(t&2)==2}function IC(t,e){return t&131071|e<<17}function zl(t){return t|2}function Oi(t){return(t&131068)>>2}function il(t,e){return t&-131069|e<<2}function EC(t){return(t&1)===1}function Hl(t){return t|1}function kC(t,e,i,n,o,r){let s=r?e.classBindings:e.styleBindings,a=qn(s),l=Oi(s);t[n]=i;let c=!1,u;if(Array.isArray(i)){let h=i;u=h[1],(u===null||Po(h,u)>0)&&(c=!0)}else u=i;if(o)if(l!==0){let v=qn(t[a+1]);t[n+1]=Hr(v,a),v!==0&&(t[v+1]=il(t[v+1],n)),t[a+1]=IC(t[a+1],n)}else t[n+1]=Hr(a,0),a!==0&&(t[a+1]=il(t[a+1],n)),a=n;else t[n+1]=Hr(l,0),a===0?a=n:t[l+1]=il(t[l+1],n),l=n;c&&(t[n+1]=zl(t[n+1])),cm(t,u,n,!0),cm(t,u,n,!1),SC(e,u,t,n,r),s=Hr(a,l),r?e.classBindings=s:e.styleBindings=s}function SC(t,e,i,n,o){let r=o?t.residualClasses:t.residualStyles;r!=null&&typeof e=="string"&&Po(r,e)>=0&&(i[n+1]=Hl(i[n+1]))}function cm(t,e,i,n){let o=t[i+1],r=e===null,s=n?qn(o):Oi(o),a=!1;for(;s!==0&&(a===!1||r);){let l=t[s],c=t[s+1];OC(l,e)&&(a=!0,t[s+1]=n?Hl(c):zl(c)),s=n?qn(c):Oi(c)}a&&(t[i+1]=n?zl(o):Hl(o))}function OC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Po(t,e)>=0:!1}var Lt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function TC(t){return t.substring(Lt.key,Lt.keyEnd)}function PC(t){return AC(t),xf(t,Df(t,0,Lt.textEnd))}function xf(t,e){let i=Lt.textEnd;return i===e?-1:(e=Lt.keyEnd=FC(t,Lt.key=e,i),Df(t,e,i))}function AC(t){Lt.key=0,Lt.keyEnd=0,Lt.value=0,Lt.valueEnd=0,Lt.textEnd=t.length}function Df(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function FC(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function p(t,e,i){let n=ee(),o=Pi();if(St(n,o,e)){let r=$e(),s=xs();Vc(r,s,n,t,e,n[Le],i,!1)}return p}function $l(t,e,i,n,o){let r=e.inputs,s=o?"class":"style";zc(t,i,r[s],s,n)}function ke(t,e,i){return Mf(t,e,i,!1),ke}function ie(t,e){return Mf(t,e,null,!0),ie}function Bo(t){jC(HC,NC,t,!0)}function NC(t,e){for(let i=PC(e);i>=0;i=xf(e,i))mc(t,TC(e),!0)}function Mf(t,e,i,n){let o=ee(),r=$e(),s=Dc(2);if(r.firstUpdatePass&&Ef(r,t,s,n),e!==Tt&&St(o,s,e)){let a=r.data[sn()];kf(r,a,o,o[Le],t,o[s+1]=UC(e,i),n,s)}}function jC(t,e,i,n){let o=$e(),r=Dc(2);o.firstUpdatePass&&Ef(o,null,r,n);let s=ee();if(i!==Tt&&St(s,r,i)){let a=o.data[sn()];if(Sf(a,n)&&!If(o,r)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=cl(l,i||"")),$l(o,a,s,i,n)}else $C(o,a,s,s[Le],s[r+1],s[r+1]=zC(t,e,i),n,r)}}function If(t,e){return e>=t.expandoStartIndex}function Ef(t,e,i,n){let o=t.data;if(o[i+1]===null){let r=o[sn()],s=If(t,i);Sf(r,n)&&e===null&&!s&&(e=!1),e=RC(o,r,e,n),kC(o,r,e,i,s,n)}}function RC(t,e,i,n){let o=Fv(t),r=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(i=ol(null,t,e,i,n),i=Oo(i,e.attrs,n),r=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(i=ol(o,t,e,i,n),r===null){let l=LC(t,e,n);l!==void 0&&Array.isArray(l)&&(l=ol(null,t,e,l[1],n),l=Oo(l,e.attrs,n),VC(t,e,n,l))}else r=BC(t,e,n)}return r!==void 0&&(n?e.residualClasses=r:e.residualStyles=r),i}function LC(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Oi(n)!==0)return t[qn(n)]}function VC(t,e,i,n){let o=i?e.classBindings:e.styleBindings;t[qn(o)]=n}function BC(t,e,i){let n,o=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<o;r++){let s=t[r].hostAttrs;n=Oo(n,s,i)}return Oo(n,e.attrs,i)}function ol(t,e,i,n,o){let r=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(r=e[a],n=Oo(n,r.hostAttrs,o),r!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Oo(t,e,i){let n=i?1:2,o=-1;if(e!==null)for(let r=0;r<e.length;r++){let s=e[r];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),mc(t,s,i?!0:e[++r]))}return t===void 0?null:t}function zC(t,e,i){if(i==null||i==="")return vt;let n=[],o=Lo(i);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(n,o[r],!0);else if(typeof o=="object")for(let r in o)o.hasOwnProperty(r)&&t(n,r,o[r]);else typeof o=="string"&&e(n,o);return n}function HC(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&mc(t,n,i)}function $C(t,e,i,n,o,r,s,a){o===Tt&&(o=vt);let l=0,c=0,u=0<o.length?o[0]:null,h=0<r.length?r[0]:null;for(;u!==null||h!==null;){let v=l<o.length?o[l+1]:void 0,x=c<r.length?r[c+1]:void 0,T=null,F;u===h?(l+=2,c+=2,v!==x&&(T=h,F=x)):h===null||u!==null&&u<h?(l+=2,T=u):(c+=2,T=h,F=x),T!==null&&kf(t,e,i,n,T,F,s,a),u=l<o.length?o[l]:null,h=c<r.length?r[c]:null}}function kf(t,e,i,n,o,r,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],u=EC(c)?dm(l,e,i,o,Oi(c),s):void 0;if(!fs(u)){fs(r)||MC(c)&&(r=dm(l,null,i,o,a,s));let h=Km(sn(),i);B0(n,s,h,o,r)}}function dm(t,e,i,n,o,r){let s=e===null,a;for(;o>0;){let l=t[o],c=Array.isArray(l),u=c?l[1]:l,h=u===null,v=i[o+1];v===Tt&&(v=h?vt:void 0);let x=h?qa(v,n):u===n?v:void 0;if(c&&!fs(x)&&(x=qa(l,n)),fs(x)&&(a=x,s))return a;let T=t[o+1];o=s?qn(T):Oi(T)}if(e!==null){let l=r?e.residualClasses:e.residualStyles;l!=null&&(a=qa(l,n))}return a}function fs(t){return t!==void 0}function UC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ct(Lo(t)))),t}function Sf(t,e){return(t.flags&(e?8:16))!==0}var Ul=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),o=Math.max(e,i),r=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,r),this.attach(o,s)}else this.attach(n,r)}move(e,i){this.attach(i,this.detach(e))}};function rl(t,e,i,n,o){return t===i&&Object.is(e,n)?1:Object.is(o(t,e),o(i,n))?-1:0}function WC(t,e,i){let n,o,r=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;r<=s&&r<=a;){let l=t.at(r),c=e[r],u=rl(r,l,r,c,i);if(u!==0){u<0&&t.updateValue(r,c),r++;continue}let h=t.at(s),v=e[a],x=rl(s,h,a,v,i);if(x!==0){x<0&&t.updateValue(s,v),s--,a--;continue}let T=i(r,l),F=i(s,h),Q=i(r,c);if(Object.is(Q,F)){let U=i(a,v);Object.is(U,T)?(t.swap(r,s),t.updateValue(s,v),a--,s--):t.move(s,r),t.updateValue(r,c),r++;continue}if(n??=new gs,o??=mm(t,r,s,i),Wl(t,n,r,Q))t.updateValue(r,c),r++,s++;else if(o.has(Q))n.set(T,t.detach(r)),s--;else{let U=t.create(r,e[r]);t.attach(r,U),r++,s++}}for(;r<=a;)um(t,n,i,r,e[r]),r++}else if(e!=null){let a=e[Symbol.iterator](),l=a.next();for(;!l.done&&r<=s;){let c=t.at(r),u=l.value,h=rl(r,c,r,u,i);if(h!==0)h<0&&t.updateValue(r,u),r++,l=a.next();else{n??=new gs,o??=mm(t,r,s,i);let v=i(r,u);if(Wl(t,n,r,v))t.updateValue(r,u),r++,s++,l=a.next();else if(!o.has(v))t.attach(r,t.create(r,u)),r++,s++,l=a.next();else{let x=i(r,c);n.set(x,t.detach(r)),s--}}}for(;!l.done;)um(t,n,i,t.length,l.value),l=a.next()}for(;r<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function Wl(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function um(t,e,i,n,o){if(Wl(t,e,n,i(n,o)))t.updateValue(n,o);else{let r=t.create(n,o);t.attach(n,r)}}function mm(t,e,i,n){let o=new Set;for(let r=e;r<=i;r++)o.add(n(r,t.at(r)));return o}var gs=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,i)}}};function $(t,e,i){js("NgControlFlow");let n=ee(),o=Pi(),r=Yl(n,rt+t),s=0;if(St(n,o,e)){let a=de(null);try{if(rf(r,s),e!==-1){let l=Ql(n[J],rt+e),c=Eo(r,l.tView.ssrId),u=As(n,l,i,{dehydratedView:c});Fs(r,u,s,Io(l,c))}}finally{de(a)}}else{let a=of(r,s);a!==void 0&&(a[it]=i)}}var Gl=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-ot}};function zo(t,e){return e}var ql=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function Cn(t,e,i,n,o,r,s,a,l,c,u,h,v){js("NgControlFlow");let x=l!==void 0,T=ee(),F=a?s.bind(T[kt][it]):s,Q=new ql(x,F);T[rt+t]=Q,C(t+1,e,i,n,o,r),x&&C(t+2,l,c,u,h,v)}var Zl=class extends Ul{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ot}at(e){return this.getLView(e)[it].$implicit}attach(e,i){let n=i[Mi];this.needsIndexUpdate||=e!==this.length,Fs(this.lContainer,i,e,Io(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,GC(this.lContainer,e)}create(e,i){let n=Eo(this.lContainer,this.templateTNode.tView.ssrId);return As(this.hostLView,this.templateTNode,new Gl(this.lContainer,i,e),{dehydratedView:n})}destroy(e){ks(e[J],e)}updateValue(e,i){this.getLView(e)[it].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[it].$index=e}getLView(e){return qC(this.lContainer,e)}};function wn(t){let e=de(null),i=sn();try{let n=ee(),o=n[J],r=n[i];if(r.liveCollection===void 0){let a=i+1,l=Yl(n,a),c=Ql(o,a);r.liveCollection=new Zl(l,n,c)}else r.liveCollection.reset();let s=r.liveCollection;if(WC(s,t,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){let a=Pi(),l=s.length===0;if(St(n,a,l)){let c=i+2,u=Yl(n,c);if(l){let h=Ql(o,c),v=Eo(u,h.tView.ssrId),x=As(n,h,void 0,{dehydratedView:v});Fs(u,x,0,Io(h,v))}else rf(u,0)}}}finally{de(e)}}function Yl(t,e){return t[e]}function GC(t,e){return Mo(t,e)}function qC(t,e){return of(t,e)}function Ql(t,e){return vc(t,e)}function ZC(t,e,i,n,o,r){let s=e.consts,a=ki(s,o),l=ji(e,t,2,n,a);return Bc(e,i,l,ki(s,r)),l.attrs!==null&&ds(l,l.attrs,!1),l.mergedAttrs!==null&&ds(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function m(t,e,i,n){let o=ee(),r=$e(),s=rt+t,a=o[Le],l=r.firstCreatePass?ZC(s,r,o,e,i,n):r.data[s],c=YC(r,o,l,a,e,t);o[s]=c;let u=ws(l);return Yn(l,!0),Hp(a,c,l),!yC(l)&&Ds()&&Ss(r,o,c,l),wv()===0&&bn(c,o),xv(),u&&(jc(r,o,l),Nc(r,l,o)),n!==null&&Rc(o,l),m}function f(){let t=st();wc()?xc():(t=t.parent,Yn(t,!1));let e=t;Mv(e)&&Iv(),Dv();let i=$e();return i.firstCreatePass&&(Is(i,t),_c(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&zv(e)&&$l(i,e,ee(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Hv(e)&&$l(i,e,ee(),e.stylesWithoutHost,!1),f}function O(t,e,i,n){return m(t,e,i,n),f(),O}var YC=(t,e,i,n,o,r)=>(Ms(!0),Ap(n,o,Rv()));function QC(t,e,i,n,o){let r=e.consts,s=ki(r,n),a=ji(e,t,8,"ng-container",s);s!==null&&ds(a,s,!0);let l=ki(r,o);return Bc(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function pt(t,e,i){let n=ee(),o=$e(),r=t+rt,s=o.firstCreatePass?QC(r,o,n,e,i):o.data[r];Yn(s,!0);let a=KC(o,n,s,t);return n[r]=a,Ds()&&Ss(o,n,a,s),bn(a,n),ws(s)&&(jc(o,n,s),Nc(o,s,n)),i!=null&&Rc(n,s),pt}function ft(){let t=st(),e=$e();return wc()?xc():(t=t.parent,Yn(t,!1)),e.firstCreatePass&&(Is(e,t),_c(t)&&e.queries.elementEnd(t)),ft}function Xe(t,e,i){return pt(t,e,i),ft(),Xe}var KC=(t,e,i,n)=>(Ms(!0),D0(e[Le],""));function A(){return ee()}var hs="en-US";var XC=hs;function JC(t){typeof t=="string"&&(XC=t.toLowerCase().replace(/_/g,"-"))}function b(t,e,i,n){let o=ee(),r=$e(),s=st();return Of(r,o,o[Le],s,t,e,n),b}function ew(t,e,i,n){let o=t.cleanup;if(o!=null)for(let r=0;r<o.length-1;r+=2){let s=o[r];if(s===i&&o[r+1]===n){let a=e[yo],l=o[r+2];return a.length>l?a[l]:null}typeof s=="string"&&(r+=2)}return null}function Of(t,e,i,n,o,r,s){let a=ws(n),c=t.firstCreatePass&&ef(t),u=e[it],h=Jp(e),v=!0;if(n.type&3||s){let F=Ot(n,e),Q=s?s(F):F,U=h.length,Ee=s?Ke=>s(Zt(Ke[n.index])):n.index,je=null;if(!s&&a&&(je=ew(t,e,o,n.index)),je!==null){let Ke=je.__ngLastListenerFn__||je;Ke.__ngNextListenerFn__=r,je.__ngLastListenerFn__=r,v=!1}else{r=fm(n,e,u,r,!1);let Ke=i.listen(Q,o,r);h.push(r,Ke),c&&c.push(o,Ee,U,U+1)}}else r=fm(n,e,u,r,!1);let x=n.outputs,T;if(v&&x!==null&&(T=x[o])){let F=T.length;if(F)for(let Q=0;Q<F;Q+=2){let U=T[Q],Ee=T[Q+1],Je=e[U][Ee].subscribe(r),le=h.length;h.push(r,Je),c&&c.push(o,n.index,le,-(le+1))}}}function pm(t,e,i,n){let o=de(null);try{return Wt(6,e,i),i(n)!==!1}catch(r){return tf(t,r),!1}finally{Wt(7,e,i),de(o)}}function fm(t,e,i,n,o){return function r(s){if(s===Function)return n;let a=t.componentOffset>-1?_n(t.index,e):e;$c(a);let l=pm(e,i,n,s),c=r.__ngNextListenerFn__;for(;c;)l=pm(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return o&&l===!1&&s.preventDefault(),l}}function g(t=1){return jv(t)}function tw(t,e){let i=null,n=z_(t);for(let o=0;o<e.length;o++){let r=e[o];if(r==="*"){i=o;continue}if(n===null?Fm(t,r,!0):U_(n,r))return o}return i}function We(t){let e=ee()[kt][wt];if(!e.projection){let i=t?t.length:1,n=e.projection=P_(i,null),o=n.slice(),r=e.child;for(;r!==null;){let s=t?tw(r,t):0;s!==null&&(o[s]?o[s].projectionNext=r:n[s]=r,o[s]=r),r=r.next}}}function Ae(t,e=0,i){let n=ee(),o=$e(),r=ji(o,rt+t,16,null,i||null);r.projection===null&&(r.projection=e),xc(),(!n[Mi]||np())&&(r.flags&32)!==32&&L0(o,n,r)}function ge(t,e,i){return Tf(t,"",e,"",i),ge}function Tf(t,e,i,n,o){let r=ee(),s=wf(r,e,i,n);if(s!==Tt){let a=$e(),l=xs();Vc(a,l,r,t,s,r[Le],o,!1)}return Tf}function gt(t,e,i,n){sC(t,e,i,n)}function tt(t,e,i){rC(t,e,i)}function De(t){let e=ee(),i=$e(),n=op();Mc(n+1);let o=Wc(i,n);if(t.dirty&&bv(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let r=cC(e,n);t.reset(r,n0),t.notifyOnChanges()}return!0}return!1}function Me(){return oC(ee(),op())}function nw(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function qe(t){let e=kv();return Xm(e,rt+t)}function E(t,e=""){let i=ee(),n=$e(),o=t+rt,r=n.firstCreatePass?ji(n,o,1,e,null):n.data[o],s=iw(n,i,r,e,t);i[o]=s,Ds()&&Ss(n,i,s,r),Yn(r,!1)}var iw=(t,e,i,n,o)=>(Ms(!0),w0(e[Le],n));function oe(t){return B("",t,""),oe}function B(t,e,i){let n=ee(),o=wf(n,t,e,i);return o!==Tt&&nf(n,sn(),o),B}function zt(t,e,i,n,o){let r=ee(),s=DC(r,t,e,i,n,o);return s!==Tt&&nf(r,sn(),s),zt}function Qn(t,e,i){vf(e)&&(e=e());let n=ee(),o=Pi();if(St(n,o,e)){let r=$e(),s=xs();Vc(r,s,n,t,e,n[Le],i,!1)}return Qn}function Li(t,e){let i=vf(t);return i&&t.set(e),i}function Kn(t,e){let i=ee(),n=$e(),o=st();return Of(n,i,i[Le],o,t,e),Kn}function ow(t,e,i){let n=$e();if(n.firstCreatePass){let o=hn(t);Kl(i,n.data,n.blueprint,o,!0),Kl(e,n.data,n.blueprint,o,!1)}}function Kl(t,e,i,n,o){if(t=mt(t),Array.isArray(t))for(let r=0;r<t.length;r++)Kl(t[r],e,i,n,o);else{let r=$e(),s=ee(),a=st(),l=Di(t)?t:mt(t.provide),c=$m(t),u=a.providerIndexes&1048575,h=a.directiveStart,v=a.providerIndexes>>20;if(Di(t)||!t.multi){let x=new Un(c,o,w),T=al(l,e,o?u:u+v,h);T===-1?(yl(os(a,s),r,l),sl(r,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(x),s.push(x)):(i[T]=x,s[T]=x)}else{let x=al(l,e,u+v,h),T=al(l,e,u,u+v),F=x>=0&&i[x],Q=T>=0&&i[T];if(o&&!Q||!o&&!F){yl(os(a,s),r,l);let U=aw(o?sw:rw,i.length,o,n,c);!o&&Q&&(i[T].providerFactory=U),sl(r,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),i.push(U),s.push(U)}else{let U=Pf(i[o?T:x],c,!o&&n);sl(r,t,x>-1?x:T,U)}!o&&n&&Q&&i[T].componentProviders++}}}function sl(t,e,i,n){let o=Di(e),r=tv(e);if(o||r){let l=(r?mt(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let u=c.indexOf(i);u===-1?c.push(i,[n,l]):c[u+1].push(n,l)}else c.push(i,l)}}}function Pf(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function al(t,e,i,n){for(let o=i;o<n;o++)if(e[o]===t)return o;return-1}function rw(t,e,i,n){return Xl(this.multi,[])}function sw(t,e,i,n){let o=this.multi,r;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Wn(i,i[J],this.providerFactory.index,n);r=a.slice(0,s),Xl(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Xl(o,r);return r}function Xl(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function aw(t,e,i,n,o){let r=new Un(t,i,w);return r.multi=[],r.index=e,r.componentProviders=0,Pf(r,o,n&&!i),r}function K(t,e=[]){return i=>{i.providersResolver=(n,o)=>ow(n,o?o(t):t,e)}}var lw=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Bm(!1,n.type),r=o.length>0?hC([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(j(gn))});let t=e;return t})();function S(t){js("NgStandalone"),t.getStandaloneInjector=e=>e.get(lw).getOrCreateStandaloneInjector(t)}function we(t,e,i,n){return Ff(ee(),No(),t,e,i,n)}function nt(t,e,i,n,o){return cw(ee(),No(),t,e,i,n,o)}function lt(t,e,i,n,o,r){return dw(ee(),No(),t,e,i,n,o,r)}function Af(t,e,i,n,o,r,s){return uw(ee(),No(),t,e,i,n,o,r,s)}function Ls(t,e){let i=t[e];return i===Tt?void 0:i}function Ff(t,e,i,n,o,r){let s=e+i;return St(t,s,o)?Rs(t,s+1,r?n.call(r,o):n(o)):Ls(t,s+1)}function cw(t,e,i,n,o,r,s){let a=e+i;return So(t,a,o,r)?Rs(t,a+2,s?n.call(s,o,r):n(o,r)):Ls(t,a+2)}function dw(t,e,i,n,o,r,s,a){let l=e+i;return _C(t,l,o,r,s)?Rs(t,l+3,a?n.call(a,o,r,s):n(o,r,s)):Ls(t,l+3)}function uw(t,e,i,n,o,r,s,a,l){let c=e+i;return vC(t,c,o,r,s,a)?Rs(t,c+4,l?n.call(l,o,r,s,a):n(o,r,s,a)):Ls(t,c+4)}function R(t,e){let i=$e(),n,o=t+rt;i.firstCreatePass?(n=mw(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??=[]).push(o,n.onDestroy)):n=i.data[o];let r=n.factory||(n.factory=Bn(n.type,!0)),s,a=Et(w);try{let l=is(!1),c=r();return is(l),nw(i,ee(),o,c),c}finally{Et(a)}}function mw(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function L(t,e,i){let n=t+rt,o=ee(),r=Xm(o,n);return pw(o,n)?Ff(o,No(),e,r.transform,i,r):r.transform(i)}function pw(t,e){return t[J].data[e].pure}function ht(t,e){return Ns(t,e)}var Nf=new W("");function Ho(t){return!!t&&typeof t.then=="function"}function jf(t){return!!t&&typeof t.subscribe=="function"}var fw=new W(""),Rf=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=be(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let s=r();if(Ho(s))n.push(s);else if(jf(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gw=new W("");function hw(){ou(()=>{throw new pe(600,!1)})}function bw(t){return t.isBoundToModule}function _w(t,e,i){try{let n=i();return Ho(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var $o=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=be(wp),this.afterRenderEffectManager=be(mf),this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=be(yf).hasPendingTasks.pipe(Fe(n=>!n)),this._injector=be(gn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let r=n instanceof cs;if(!this._injector.get(Rf).done){let x=!r&&Q_(n),T=!1;throw new pe(405,T)}let a;r?a=n:a=this._injector.get(Ri).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=bw(a)?void 0:this._injector.get(Si),c=o||a.selector,u=a.create(Fi.NULL,[],c,l),h=u.location.nativeElement,v=u.injector.get(Nf,null);return v?.registerApplication(h),u.onDestroy(()=>{this.detachView(u.hostView),ll(this.components,u),v?.unregisterApplication(h)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new pe(101,!1);let o=de(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,de(o)}}detectChangesInAttachedViews(n){let o=0,r=this.afterRenderEffectManager;for(;;){if(o===af)throw new pe(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)vw(a,s,l)}if(o++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Jl(s))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Jl(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;ll(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(gw,[]);[...this._bootstrapListeners,...o].forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ll(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new pe(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ll(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function vw(t,e,i){!e&&!Jl(t)||yw(t,i,e)}function Jl(t){return Cc(t)}function yw(t,e,i){let n;i?(n=0,t[Y]|=1024):t[Y]&64?n=0:n=1,lf(t,e,n)}var Cw=(()=>{let e=class e{constructor(){this.zone=be(Ce),this.applicationRef=be($o)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ww(t){return[{provide:Ce,useFactory:t},{provide:_o,multi:!0,useFactory:()=>{let e=be(Cw,{optional:!0});return()=>e.initialize()}},{provide:_o,multi:!0,useFactory:()=>{let e=be(Iw);return()=>{e.initialize()}}},{provide:wp,useFactory:xw}]}function xw(){let t=be(Ce),e=be(Yt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function Dw(t){let e=ww(()=>new Ce(Mw(t)));return Vm([[],e])}function Mw(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Iw=(()=>{let e=class e{constructor(){this.subscription=new He,this.initialized=!1,this.zone=be(Ce),this.pendingTasks=be(yf)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ce.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ew(){return typeof $localize<"u"&&$localize.locale||hs}var Vs=new W("",{providedIn:"root",factory:()=>be(Vs,me.Optional|me.SkipSelf)||Ew()});var Lf=new W("");var Zr=null;function kw(t=[],e){return Fi.create({name:e,providers:[{provide:vs,useValue:"platform"},{provide:Lf,useValue:new Set([()=>Zr=null])},...t]})}function Sw(t=[]){if(Zr)return Zr;let e=kw(t);return Zr=e,hw(),Ow(e),e}function Ow(t){t.get(Sc,null)?.forEach(i=>i())}var xt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Tw;let t=e;return t})();function Tw(t){return Pw(st(),ee(),(t&16)===16)}function Pw(t,e,i){if(Cs(t)&&!i){let n=_n(t.index,e);return new Gn(n,n)}else if(t.type&47){let n=e[kt];return new Gn(n,e)}return null}var ec=class{constructor(){}supports(e){return Cf(e)}create(e){return new tc(e)}},Aw=(t,e)=>e,tc=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Aw}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,o=0,r=null;for(;i||n;){let s=!n||i&&i.currentIndex<gm(n,o,r)?i:n,a=gm(s,o,r),l=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)o++;else{r||(r=[]);let c=a-o,u=l-o;if(c!=u){for(let v=0;v<c;v++){let x=v<r.length?r[v]:r[v]=0,T=x+v;u<=T&&T<c&&(r[v]=x+1)}let h=s.previousIndex;r[h]=u-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!Cf(e))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,o,r,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)r=e[a],s=this._trackByFn(a,r),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,r,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,r,s,a)),Object.is(i.item,r)||this._addIdentityChange(i,r)),i=i._next}else o=0,bC(e,a=>{s=this._trackByFn(o,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,o),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,o)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,o){let r;return e===null?r=this._itTail:(r=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,r,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,r,o)):e=this._addAfter(new nc(i,n),r,o)),e}_verifyReinsertion(e,i,n,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return r!==null?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,r=e._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let o=i===null?this._itHead:i._next;return e._next=o,e._prev=i,o===null?this._itTail=e:o._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new bs),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new bs),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},nc=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ic=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},bs=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new ic,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,o=this.map.get(n);return o?o.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function gm(t,e,i){let n=t.previousIndex;if(n===null)return n;let o=0;return i&&n<i.length&&(o=i[n]),n+e+o}var oc=class{constructor(){}supports(e){return e instanceof Map||Gc(e)}create(){return new rc}},rc=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Gc(e)))throw new pe(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(i&&i.key===o)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let r=this._getOrCreateRecordForKey(o,n);i=this._insertBeforeOrAppend(i,r)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,i);let r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}let n=new sc(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},sc=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function hm(){return new Vi([new ec])}var Vi=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||hm()),deps:[[e,new Em,new dc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o!=null)return o;throw new pe(901,!1)}};e.\u0275prov=q({token:e,providedIn:"root",factory:hm});let t=e;return t})();function bm(){return new qc([new oc])}var qc=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bm()),deps:[[e,new Em,new dc]]}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new pe(901,!1)}};e.\u0275prov=q({token:e,providedIn:"root",factory:bm});let t=e;return t})();function Vf(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,o=Sw(n),r=[Dw(),...i||[]],a=new ps({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ce);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(Yt,null),u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:x=>{c.handleError(x)}})});let h=()=>a.destroy(),v=o.get(Lf);return v.add(h),a.onDestroy(()=>{u.unsubscribe(),v.delete(h)}),_w(c,l,()=>{let x=a.get(Rf);return x.runInitializers(),x.donePromise.then(()=>{let T=a.get(Vs,hs);JC(T||hs);let F=a.get($o);return e!==void 0&&F.bootstrap(e),F})})})}catch(e){return Promise.reject(e)}}function D(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function xn(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}var Bs={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return Bs.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Bs.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function Fw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Nw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function jw(t){return typeof t=="function"}var Zc;function Rw(t,e){if(!Zc){let i=Element.prototype;Zc=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Zc.call(t,e):!1}function Lw(t,e){return t===e||t!==t&&e!==e}function Vw(t){let e={};return t.forEach(({propName:i,templateName:n,transform:o})=>{e[Fw(n)]=[i,o]}),e}function Bw(t,e){return e.get(Ri).resolveComponentFactory(t).inputs}function zw(t,e){let i=t.childNodes,n=e.map(()=>[]),o=-1;e.some((r,s)=>r==="*"?(o=s,!0):!1);for(let r=0,s=i.length;r<s;++r){let a=i[r],l=Hw(a,e,o);l!==-1&&n[l].push(a)}return n}function Hw(t,e,i){let n=i;return Nw(t)&&e.some((o,r)=>o!=="*"&&Rw(t,o)?(n=r,!0):!1),n}var $w=10,Yc=class{constructor(e,i){this.componentFactory=i.get(Ri).resolveComponentFactory(e)}create(e){return new Qc(this.componentFactory,e)}},Qc=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Nn(1),this.events=this.eventEmitters.pipe(fi(n=>tn(...n))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:n})=>n)),this.ngZone=this.injector.get(Ce),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Bs.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},$w))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}Lw(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Fi.create({providers:[],parent:this.injector}),n=zw(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(xt),this.implementsOnChanges=jw(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get($o).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:o})=>e.instance[n].pipe(Fe(s=>({name:o,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Bs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let o=this.unchangedInputs.has(e),r=o?void 0:this.getInputValue(e);this.inputChanges[e]=new wo(r,i,o)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Kc=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function Ve(t,e){let i=Bw(t,e.injector),n=e.strategyFactory||new Yc(t,e.injector),o=Vw(i),s=class s extends Kc{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;let h=this[c];delete this[c],l.setInputValue(c,h,u)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,u,h){let[v,x]=o[l];this.ngElementStrategy.setInputValue(v,u,x)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(o);let r=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(r.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),r}var $f=null;function Bi(){return $f}function Uf(t){$f??=t}var Hs=class{};var Qe=new W("");function Wf(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[o,r]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(r)}return null}var Xc=/\s+/,Bf=[],X=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Bf,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Xc):Bf}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Xc):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let r=this.stateMap.get(n);r!==void 0?(r.enabled!==o&&(r.changed=!0,r.enabled=o),r.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],r=n[1];r.changed?(this._toggleClass(o,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),r.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Xc).forEach(r=>{o?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}};e.\u0275fac=function(o){return new(o||e)(w(se),w(an))},e.\u0275dir=Z({type:e,selectors:[["","ngClass",""]],inputs:{klass:[_.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Jc=class{constructor(e,i,n,o){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},ve=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,r){this._viewContainer=n,this._template=o,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((r,s,a)=>{if(r.previousIndex==null)o.createEmbeddedView(this._template,new Jc(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let l=o.get(s);o.move(l,a),zf(l,r)}});for(let r=0,s=o.length;r<s;r++){let l=o.get(r).context;l.index=r,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(r=>{let s=o.get(r.currentIndex);zf(s,r)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(_e),w(Vi))},e.\u0275dir=Z({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function zf(t,e){t.context.$implicit=e.item}var Be=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new ed,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Hf("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Hf("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),ed=class{constructor(){this.$implicit=null,this.ngIf=null}};function Hf(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ct(e)}'.`)}var Gf=(()=>{let e=class e{constructor(n,o,r){this._ngEl=n,this._differs=o,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[r,s]=n.split("."),a=r.indexOf("-")===-1?void 0:Qt.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(w(se),w(qc),w(an))},e.\u0275dir=Z({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),ln=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,r):!1,get:(n,o,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,r)}})}};e.\u0275fac=function(o){return new(o||e)(w(Kt))},e.\u0275dir=Z({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ue]});let t=e;return t})();var N=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})(),td="browser",Uw="server";function qf(t){return t===td}function nd(t){return t===Uw}var $s=class{};var rd=class extends Hs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},sd=class t extends rd{static makeCurrent(){Uf(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=Gw();return i==null?null:qw(i)}resetBaseElement(){Uo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Wf(document.cookie,e)}},Uo=null;function Gw(){return Uo=Uo||document.querySelector("base"),Uo?Uo.getAttribute("href"):null}function qw(t){return new URL(t,document.baseURI).pathname}var Zw=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),ad=new W(""),Kf=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(r=>{r.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,r){return this._findPluginFor(o).addEventListener(n,o,r)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new pe(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(j(ad),j(Ce))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Us=class{constructor(e){this._doc=e}},id="ng-app-id",Xf=(()=>{let e=class e{constructor(n,o,r,s={}){this.doc=n,this.appId=o,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=nd(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(r=>r.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${id}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(r=>{r.textContent!=null&&o.set(r.textContent,r)}),o}return null}changeUsageCount(n,o){let r=this.styleRef;if(r.has(n)){let s=r.get(n);return s.usage+=o,s.usage}return r.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let r=this.styleNodesInDOM,s=r?.get(o);if(s?.parentNode===n)return r.delete(o),s.removeAttribute(id),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(id,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let r=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(r):s.set(o,{elements:[r],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(j(Qe),j(Es),j(Ro,8),j(vn))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),od={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},cd=/%COMP%/g,Jf="%COMP%",Yw=`_nghost-${Jf}`,Qw=`_ngcontent-${Jf}`,Kw=!0,Xw=new W("",{providedIn:"root",factory:()=>Kw});function Jw(t){return Qw.replace(cd,t)}function ex(t){return Yw.replace(cd,t)}function eg(t,e){return e.map(i=>i.replace(cd,t))}var Zf=(()=>{let e=class e{constructor(n,o,r,s,a,l,c,u=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=nd(l),this.defaultRenderer=new Wo(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===qt.ShadowDom&&(o=bt(ce({},o),{encapsulation:qt.Emulated}));let r=this.getOrCreateRenderer(n,o);return r instanceof Ws?r.applyToHost(n):r instanceof Go&&r.applyStyles(),r}getOrCreateRenderer(n,o){let r=this.rendererByCompId,s=r.get(o.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(o.encapsulation){case qt.Emulated:s=new Ws(c,u,o,this.appId,h,a,l,v);break;case qt.ShadowDom:return new ld(c,u,n,o,a,l,this.nonce,v);default:s=new Go(c,u,o,h,a,l,v);break}r.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(j(Kf),j(Xf),j(Es),j(Xw),j(Qe),j(vn),j(Ce),j(Ro))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Wo=class{constructor(e,i,n,o){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(od[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Yf(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Yf(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new pe(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,o){if(o){i=o+":"+i;let r=od[o];r?e.setAttributeNS(r,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let o=od[n];o?e.removeAttributeNS(o,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,o){o&(Qt.DashCase|Qt.Important)?e.style.setProperty(i,n,o&Qt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Qt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=Bi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Yf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ld=class extends Wo{constructor(e,i,n,o,r,s,a,l){super(e,r,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=eg(o.id,o.styles);for(let u of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=u,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Go=class extends Wo{constructor(e,i,n,o,r,s,a,l){super(e,r,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=o,this.styles=l?eg(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Ws=class extends Go{constructor(e,i,n,o,r,s,a,l){let c=o+"-"+n.id;super(e,i,n,r,s,a,l,c),this.contentAttr=Jw(c),this.hostAttr=ex(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},tx=(()=>{let e=class e extends Us{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,r){return n.addEventListener(o,r,!1),()=>this.removeEventListener(n,o,r)}removeEventListener(n,o,r){return n.removeEventListener(o,r)}};e.\u0275fac=function(o){return new(o||e)(j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Qf=["alt","control","meta","shift"],nx={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ix={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ox=(()=>{let e=class e extends Us{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,r){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Bi().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),r=o.shift();if(o.length===0||!(r==="keydown"||r==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),Qf.forEach(u=>{let h=o.indexOf(u);h>-1&&(o.splice(h,1),a+=u+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=r,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let r=nx[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(r=n.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Qf.forEach(a=>{if(a!==r){let l=ix[a];l(n)&&(s+=a+".")}}),s+=r,s===o)}static eventCallback(n,o,r){return s=>{e.matchEventFullKeyCode(s,n)&&r.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})();function tg(t){return Vf(rx(t))}function rx(t){return{appProviders:[...dx,...t?.providers??[]],platformProviders:cx}}function sx(){sd.makeCurrent()}function ax(){return new Yt}function lx(){return Sp(document),document}var cx=[{provide:vn,useValue:td},{provide:Sc,useValue:sx,multi:!0},{provide:Qe,useFactory:lx,deps:[]}];var dx=[{provide:vs,useValue:"root"},{provide:Yt,useFactory:ax,deps:[]},{provide:ad,useClass:tx,multi:!0,deps:[Qe,Ce,vn]},{provide:ad,useClass:ox,multi:!0,deps:[Qe]},Zf,Xf,Kf,{provide:ko,useExisting:Zf},{provide:$s,useClass:Zw,deps:[]},[]];var cg=(()=>{let e=class e{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(o){return new(o||e)(w(an),w(se))},e.\u0275dir=Z({type:e});let t=e;return t})(),ux=(()=>{let e=class e extends cg{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275dir=Z({type:e,features:[z]});let t=e;return t})(),Ys=new W("");var mx={provide:Ys,useExisting:Zn(()=>dg),multi:!0};function px(){let t=Bi()?Bi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var fx=new W(""),dg=(()=>{let e=class e extends cg{constructor(n,o,r){super(n,o),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!px())}writeValue(n){let o=n??"";this.setProperty("value",o)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(o){return new(o||e)(w(an),w(se),w(fx,8))},e.\u0275dir=Z({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(o,r){o&1&&b("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[K([mx]),z]});let t=e;return t})();var gx=new W(""),hx=new W("");function ug(t){return t!=null}function mg(t){return Ho(t)?Re(t):t}function pg(t){let e={};return t.forEach(i=>{e=i!=null?ce(ce({},e),i):e}),Object.keys(e).length===0?null:e}function fg(t,e){return e.map(i=>i(t))}function bx(t){return!t.validate}function gg(t){return t.map(e=>bx(e)?e:i=>e.validate(i))}function _x(t){if(!t)return null;let e=t.filter(ug);return e.length==0?null:function(i){return pg(fg(i,e))}}function hg(t){return t!=null?_x(gg(t)):null}function vx(t){if(!t)return null;let e=t.filter(ug);return e.length==0?null:function(i){let n=fg(i,e).map(mg);return mo(n).pipe(Fe(pg))}}function bg(t){return t!=null?vx(gg(t)):null}function ng(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function yx(t){return t._rawValidators}function Cx(t){return t._rawAsyncValidators}function dd(t){return t?Array.isArray(t)?t:[t]:[]}function qs(t,e){return Array.isArray(t)?t.includes(e):t===e}function ig(t,e){let i=dd(e);return dd(t).forEach(o=>{qs(i,o)||i.push(o)}),i}function og(t,e){return dd(e).filter(i=>!qs(t,i))}var Zs=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=hg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=bg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},ud=class extends Zs{get formDirective(){return null}get path(){return null}},Yo=class extends Zs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},md=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},wx={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},GF=bt(ce({},wx),{"[class.ng-submitted]":"isSubmitted"}),Qs=(()=>{let e=class e extends md{constructor(n){super(n)}};e.\u0275fac=function(o){return new(o||e)(w(Yo,2))},e.\u0275dir=Z({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,r){o&2&&ie("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[z]});let t=e;return t})();var qo="VALID",Gs="INVALID",zi="PENDING",Zo="DISABLED";function xx(t){return(Ks(t)?t.validators:t)||null}function Dx(t){return Array.isArray(t)?hg(t):t||null}function Mx(t,e){return(Ks(e)?e.asyncValidators:t)||null}function Ix(t){return Array.isArray(t)?bg(t):t||null}function Ks(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var pd=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===qo}get invalid(){return this.status===Gs}get pending(){return this.status==zi}get disabled(){return this.status===Zo}get enabled(){return this.status!==Zo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ig(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ig(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(og(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(og(e,this._rawAsyncValidators))}hasValidator(e){return qs(this._rawValidators,e)}hasAsyncValidator(e){return qs(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=zi,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=Zo,this.errors=null,this._forEachChild(n=>{n.disable(bt(ce({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(bt(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=qo,this._forEachChild(n=>{n.enable(bt(ce({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(bt(ce({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qo||this.status===zi)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zo:qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=zi,this._hasOwnPendingAsyncValidator=!0;let i=mg(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,o)=>n&&n._find(o),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new y,this.statusChanges=new y}_calculateStatus(){return this._allControlsDisabled()?Zo:this.errors?Gs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zi)?zi:this._anyControlsHaveStatus(Gs)?Gs:qo}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ks(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Dx(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Ix(this._rawAsyncValidators)}};var _g=new W("CallSetDisabledState",{providedIn:"root",factory:()=>fd}),fd="always";function Ex(t,e){return[...e.path,t]}function kx(t,e,i=fd){Ox(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Tx(t,e),Ax(t,e),Px(t,e),Sx(t,e)}function rg(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function Sx(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Ox(t,e){let i=yx(t);e.validator!==null?t.setValidators(ng(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=Cx(t);e.asyncValidator!==null?t.setAsyncValidators(ng(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let o=()=>t.updateValueAndValidity();rg(e._rawValidators,o),rg(e._rawAsyncValidators,o)}function Tx(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&vg(t,e)})}function Px(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&vg(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function vg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Ax(t,e){let i=(n,o)=>{e.valueAccessor.writeValue(n),o&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function Fx(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function Nx(t){return Object.getPrototypeOf(t.constructor)===ux}function jx(t,e){if(!e)return null;Array.isArray(e);let i,n,o;return e.forEach(r=>{r.constructor===dg?i=r:Nx(r)?n=r:o=r}),o||n||i||null}function sg(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function ag(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Rx=class extends pd{constructor(e=null,i,n){super(xx(i),Mx(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ks(i)&&(i.nonNullable||i.initialValueIsDefault)&&(ag(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){sg(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){sg(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){ag(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Lx={provide:Yo,useExisting:Zn(()=>Qo)},lg=Promise.resolve(),Qo=(()=>{let e=class e extends Yo{constructor(n,o,r,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Rx,this._registered=!1,this.name="",this.update=new y,this._parent=n,this._setValidators(o),this._setAsyncValidators(r),this.valueAccessor=jx(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),Fx(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){kx(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){lg.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let o=n.isDisabled.currentValue,r=o!==0&&D(o);lg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?Ex(n,this._parent):[n]}};e.\u0275fac=function(o){return new(o||e)(w(ud,9),w(gx,10),w(hx,10),w(Ys,10),w(xt,8),w(_g,8))},e.\u0275dir=Z({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[_.None,"disabled","isDisabled"],model:[_.None,"ngModel","model"],options:[_.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[K([Lx]),z,Ue]});let t=e;return t})();var Vx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})();var Xs=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:_g,useValue:n.callSetDisabledState??fd}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Vx]});let t=e;return t})();var Bx=["content"],zx=["scroll"],Hx=["padding"],xg=["*"],Xo=t=>({searchTerm:t});function $x(t,e){if(t&1&&(m(0,"div",6),Xe(1,7),f()),t&2){let i=g();d(),p("ngTemplateOutlet",i.headerTemplate)("ngTemplateOutletContext",we(2,Xo,i.filterValue))}}function Ux(t,e){if(t&1&&(m(0,"div",8),Xe(1,7),f()),t&2){let i=g();d(),p("ngTemplateOutlet",i.footerTemplate)("ngTemplateOutletContext",we(2,Xo,i.filterValue))}}var Wx=["searchInput"],Gx=["clearButton"],qx=(t,e,i)=>({item:t,clear:e,label:i}),Zx=(t,e)=>({items:t,clear:e}),Yx=(t,e,i,n)=>({item:t,item$:e,index:i,searchTerm:n});function Qx(t,e){if(t&1){let i=A();m(0,"span",22),b("click",function(){M(i);let o=g().$implicit,r=g(2);return I(r.unselect(o))}),E(1,"\xD7"),f(),O(2,"span",23)}if(t&2){let i=g().$implicit,n=g(2);d(2),p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function Kx(t,e){}function Xx(t,e){if(t&1&&(m(0,"div",20),C(1,Qx,3,2,"ng-template",null,1,ht)(3,Kx,0,0,"ng-template",21),f()),t&2){let i=e.$implicit,n=qe(2),o=g(2);ie("ng-value-disabled",i.disabled),d(3),p("ngTemplateOutlet",o.labelTemplate||n)("ngTemplateOutletContext",lt(4,qx,i.value,o.clearItem,i.label))}}function Jx(t,e){if(t&1&&(pt(0),C(1,Xx,4,8,"div",19),ft()),t&2){let i=g();d(),p("ngForOf",i.selectedItems)("ngForTrackBy",i.trackByOption)}}function e1(t,e){}function t1(t,e){if(t&1&&C(0,e1,0,0,"ng-template",21),t&2){let i=g();p("ngTemplateOutlet",i.multiLabelTemplate)("ngTemplateOutletContext",nt(2,Zx,i.selectedValues,i.clearItem))}}function n1(t,e){t&1&&O(0,"div",25)}function i1(t,e){}function o1(t,e){if(t&1&&(pt(0),C(1,n1,1,0,"ng-template",null,2,ht)(3,i1,0,0,"ng-template",24),ft()),t&2){let i=qe(2),n=g();d(3),p("ngTemplateOutlet",n.loadingSpinnerTemplate||i)}}function r1(t,e){if(t&1&&(m(0,"span",26,3)(2,"span",27),E(3,"\xD7"),f()()),t&2){let i=g();ge("title",i.clearAllText)}}function s1(t,e){if(t&1&&O(0,"span",32),t&2){let i=g().$implicit,n=g(2);p("ngItemLabel",i.label)("escape",n.escapeHTML)}}function a1(t,e){}function l1(t,e){if(t&1){let i=A();m(0,"div",31),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.toggleItem(o))})("mouseover",function(){let o=M(i).$implicit,r=g(2);return I(r.onItemHover(o))}),C(1,s1,1,2,"ng-template",null,4,ht)(3,a1,0,0,"ng-template",21),f()}if(t&2){let i=e.$implicit,n=qe(2),o=g(2);ie("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===o.itemsList.markedItem),H("role",i.children?"group":"option")("aria-selected",i.selected)("id",i==null?null:i.htmlId),d(3),p("ngTemplateOutlet",i.children?o.optgroupTemplate||n:o.optionTemplate||n)("ngTemplateOutletContext",Af(17,Yx,i.value,i,i.index,o.searchTerm))}}function c1(t,e){if(t&1&&(m(0,"span")(1,"span",34),E(2),f(),E(3),f()),t&2){let i=g(3);d(2),oe(i.addTagText),d(),B('"',i.searchTerm,'"')}}function d1(t,e){}function u1(t,e){if(t&1){let i=A();m(0,"div",33),b("mouseover",function(){M(i);let o=g(2);return I(o.itemsList.unmarkItem())})("click",function(){M(i);let o=g(2);return I(o.selectTag())}),C(1,c1,4,2,"ng-template",null,5,ht)(3,d1,0,0,"ng-template",21),f()}if(t&2){let i=qe(2),n=g(2);ie("ng-option-marked",!n.itemsList.markedItem),d(3),p("ngTemplateOutlet",n.tagTemplate||i)("ngTemplateOutletContext",we(4,Xo,n.searchTerm))}}function m1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.notFoundText)}}function p1(t,e){}function f1(t,e){if(t&1&&(pt(0),C(1,m1,2,1,"ng-template",null,6,ht)(3,p1,0,0,"ng-template",21),ft()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.notFoundTemplate||i)("ngTemplateOutletContext",we(2,Xo,n.searchTerm))}}function g1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.typeToSearchText)}}function h1(t,e){}function b1(t,e){if(t&1&&(pt(0),C(1,g1,2,1,"ng-template",null,7,ht)(3,h1,0,0,"ng-template",24),ft()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.typeToSearchTemplate||i)}}function _1(t,e){if(t&1&&(m(0,"div",35),E(1),f()),t&2){let i=g(3);d(),oe(i.loadingText)}}function v1(t,e){}function y1(t,e){if(t&1&&(pt(0),C(1,_1,2,1,"ng-template",null,8,ht)(3,v1,0,0,"ng-template",21),ft()),t&2){let i=qe(2),n=g(2);d(3),p("ngTemplateOutlet",n.loadingTextTemplate||i)("ngTemplateOutletContext",we(2,Xo,n.searchTerm))}}function C1(t,e){if(t&1){let i=A();m(0,"ng-dropdown-panel",28),b("update",function(o){M(i);let r=g();return I(r.viewPortItems=o)})("scroll",function(o){M(i);let r=g();return I(r.scroll.emit(o))})("scrollToEnd",function(o){M(i);let r=g();return I(r.scrollToEnd.emit(o))})("outsideClick",function(){M(i);let o=g();return I(o.close())}),pt(1),C(2,l1,4,22,"div",29)(3,u1,4,6,"div",30),ft(),C(4,f1,4,4,"ng-container",12)(5,b1,4,1,"ng-container",12)(6,y1,4,4,"ng-container",12),f()}if(t&2){let i=g();ie("ng-select-multiple",i.multiple),p("virtualScroll",i.virtualScroll)("bufferAmount",i.bufferAmount)("appendTo",i.appendTo)("position",i.dropdownPosition)("headerTemplate",i.headerTemplate)("footerTemplate",i.footerTemplate)("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("markedItem",i.itemsList.markedItem)("ngClass",i.appendTo?i.classes:null)("id",i.dropdownId),d(2),p("ngForOf",i.viewPortItems)("ngForTrackBy",i.trackByOption),d(),p("ngIf",i.showAddTag),d(),p("ngIf",i.showNoItemsFound()),d(),p("ngIf",i.showTypeToSearch()),d(),p("ngIf",i.loading&&i.itemsList.filteredItems.length===0)}}var Dg=/[&<>"']/g,w1=RegExp(Dg.source),x1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function D1(t){return t&&w1.test(t)?t.replace(Dg,e=>x1[e]):t}function ze(t){return t!=null}function Ko(t){return typeof t=="object"&&ze(t)}function M1(t){return t instanceof Promise}function ea(t){return t instanceof Function}var I1=(()=>{let e=class e{constructor(n){this.element=n,this.escape=!0}ngOnChanges(n){this.element.nativeElement.innerHTML=this.escape?D1(this.ngItemLabel):this.ngItemLabel}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275dir=Z({type:e,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[Ue]});let t=e;return t})(),E1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-option-tmp",""]]});let t=e;return t})(),k1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-optgroup-tmp",""]]});let t=e;return t})(),S1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-label-tmp",""]]});let t=e;return t})(),O1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-multi-label-tmp",""]]});let t=e;return t})(),T1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-header-tmp",""]]});let t=e;return t})(),P1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-footer-tmp",""]]});let t=e;return t})(),A1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-notfound-tmp",""]]});let t=e;return t})(),F1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-typetosearch-tmp",""]]});let t=e;return t})(),N1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-loadingtext-tmp",""]]});let t=e;return t})(),j1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-tag-tmp",""]]});let t=e;return t})(),R1=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","ng-loadingspinner-tmp",""]]});let t=e;return t})();function Mg(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var L1={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function Js(t){let e=i=>L1[i]||i;return t.replace(/[^\u0000-\u007E]/g,e)}var gd=class{constructor(e,i){this._ngSelect=e,this._selectionModel=i,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let e=this.selectedItems.length-1;for(;e>=0;e--){let i=this.selectedItems[e];if(!i.disabled)return i}return null}setItems(e){this._items=e.map((i,n)=>this.mapItem(i,n)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(e){if(e.selected||this.maxItemsSelected)return;let i=this._ngSelect.multiple;i||this.clearSelected(),this._selectionModel.select(e,i,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}unselect(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&ze(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}findItem(e){let i;return this._ngSelect.compareWith?i=n=>this._ngSelect.compareWith(n.value,e):this._ngSelect.bindValue?i=n=>!n.children&&this.resolveNested(n.value,this._ngSelect.bindValue)===e:i=n=>n.value===e||!n.children&&n.label&&n.label===this.resolveNested(e,this._ngSelect.bindLabel),this._items.find(n=>i(n))}addItem(e){let i=this.mapItem(e,this._items.length);return this._items.push(i),this._filteredItems.push(i),i}clearSelected(e=!1){this._selectionModel.clear(e),this._items.forEach(i=>{i.selected=e&&i.selected&&i.disabled,i.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(e){return e=Js(e).toLocaleLowerCase(),this.filteredItems.find(i=>Js(i.label).toLocaleLowerCase().substr(0,e.length)===e)}filter(e){if(!e){this.resetFilteredItems();return}this._filteredItems=[],e=this._ngSelect.searchFn?e:Js(e).toLocaleLowerCase();let i=this._ngSelect.searchFn||this._defaultSearchFn,n=this._ngSelect.hideSelected;for(let o of Array.from(this._groups.keys())){let r=[];for(let s of this._groups.get(o)){if(n&&(s.parent&&s.parent.selected||s.selected))continue;let a=this._ngSelect.searchFn?s.value:s;i(e,a)&&r.push(s)}if(r.length>0){let[s]=r.slice(-1);if(s.parent){let a=this._items.find(l=>l===s.parent);this._filteredItems.push(a)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(e=>!e.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(e){this._markedIndex=this._filteredItems.indexOf(e)}markSelectedOrDefault(e){if(this._filteredItems.length===0)return;let i=this._getLastMarkedIndex();i>-1?this._markedIndex=i:this._markedIndex=e?this.filteredItems.findIndex(n=>!n.disabled):-1}resolveNested(e,i){if(!Ko(e))return e;if(i.indexOf(".")===-1)return e[i];{let n=i.split("."),o=e;for(let r=0,s=n.length;r<s;++r){if(o==null)return null;o=o[n[r]]}return o}}mapItem(e,i){let n=ze(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),o=ze(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:i,label:ze(n)?n.toString():"",value:o,disabled:e.disabled,htmlId:`${this._ngSelect.dropdownId}-${i}`}}mapSelectedItems(){let e=this._ngSelect.multiple;for(let i of this.selectedItems){let n=this._ngSelect.bindValue?this.resolveNested(i.value,this._ngSelect.bindValue):i.value,o=ze(n)?this.findItem(n):null;this._selectionModel.unselect(i,e),this._selectionModel.select(o||i,e,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(i=>this.selectedItems.indexOf(i)===-1))}_showSelected(e){if(this._filteredItems.push(e),e.parent){let i=e.parent;this._filteredItems.find(o=>o===i)||this._filteredItems.push(i)}else if(e.children)for(let i of e.children)i.selected=!1,this._filteredItems.push(i);this._filteredItems=[...this._filteredItems.sort((i,n)=>i.index-n.index)]}_hideSelected(e){this._filteredItems=this._filteredItems.filter(i=>i!==e),e.parent?e.parent.children.every(n=>n.selected)&&(this._filteredItems=this._filteredItems.filter(n=>n!==e.parent)):e.children&&(this._filteredItems=this.filteredItems.filter(i=>i.parent!==e))}_defaultSearchFn(e,i){return Js(i.label).toLocaleLowerCase().indexOf(e)>-1}_getNextItemIndex(e){return e>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(e){this._filteredItems.length===0||this._filteredItems.every(i=>i.disabled)||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}_groupBy(e,i){let n=new Map;if(e.length===0)return n;if(Array.isArray(e[0].value[i])){for(let s of e){let a=(s.value[i]||[]).map((l,c)=>this.mapItem(l,c));n.set(s,a)}return n}let o=ea(this._ngSelect.groupBy),r=s=>{let a=o?i(s.value):s.value[i];return ze(a)?a:void 0};for(let s of e){let a=r(s),l=n.get(a);l?l.push(s):n.set(a,[s])}return n}_flatten(e){let i=ea(this._ngSelect.groupBy),n=[];for(let o of Array.from(e.keys())){let r=n.length;if(o===void 0){let h=e.get(void 0)||[];n.push(...h.map(v=>(v.index=r++,v)));continue}let s=Ko(o),a={label:s?"":String(o),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:Mg()},l=i?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>s?o.value:{[l]:o}),u=e.get(o).map(h=>(h.parent=a,h.children=void 0,h.index=r++,h));a.children=u,a.value=c(o,u.map(h=>h.value)),n.push(a),n.push(...u)}return n}},Xt=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}(Xt||{}),Ig=(()=>{let e=class e{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(n,o,r){let s=this._dimensions,a=s.itemHeight*o,c=Math.max(0,n)/a*o,u=Math.min(o,Math.ceil(c)+(s.itemsPerViewport+1)),v=Math.max(0,u-s.itemsPerViewport),x=Math.min(v,Math.floor(c)),T=s.itemHeight*Math.ceil(x)-s.itemHeight*Math.min(x,r);return T=isNaN(T)?0:T,x=isNaN(x)?-1:x,u=isNaN(u)?-1:u,x-=r,x=Math.max(0,x),u+=r,u=Math.min(o,u),{topPadding:T,scrollHeight:a,start:x,end:u}}setDimensions(n,o){let r=Math.max(1,Math.floor(o/n));this._dimensions={itemHeight:n,panelHeight:o,itemsPerViewport:r}}getScrollTo(n,o,r){let{panelHeight:s}=this.dimensions,a=n+o,l=r,c=l+s;return s>=a&&r===n?null:a>c?l+a-c:n<=l?n:null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac});let t=e;return t})(),Cg=["top","right","bottom","left"],V1=typeof requestAnimationFrame<"u"?za:Ba,wg=(()=>{let e=class e{constructor(n,o,r,s,a){this._renderer=n,this._zone=o,this._panelService=r,this._document=a,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new y,this.scroll=new y,this.scrollToEnd=new y,this.outsideClick=new y,this._destroy$=new ye,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=s.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(n){n!==this._itemsLength&&(this._itemsLength=n,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:n,panelHeight:o}=this._panelService.dimensions,r=this.markedItem.index*n;return o>r?0:r}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(n){if(n.items){let o=n.items;this._onItemsChange(o.currentValue,o.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(n,o=!1){if(!n)return;let r=this.items.indexOf(n);if(r<0||r>=this.itemsLength)return;let s;if(this.virtualScroll){let a=this._panelService.dimensions.itemHeight;s=this._panelService.getScrollTo(r*a,a,this._lastScrollPosition)}else{let a=this._dropdown.querySelector(`#${n.htmlId}`),l=o?a.offsetTop:this._lastScrollPosition;s=this._panelService.getScrollTo(a.offsetTop,a.clientHeight,l)}ze(s)&&(this._scrollablePanel.scrollTop=s)}scrollToTag(){let n=this._scrollablePanel;n.scrollTop=n.scrollHeight-n.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Cg.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(n){Cg.forEach(r=>{let s=`ng-select-${r}`;this._renderer.removeClass(this._dropdown,s),this._renderer.removeClass(this._select,s)});let o=`ng-select-${n}`;this._renderer.addClass(this._dropdown,o),this._renderer.addClass(this._select,o)}_handleScroll(){this._zone.runOutsideAngular(()=>{mn(this.scrollElementRef.nativeElement,"scroll").pipe(ut(this._destroy$),Ua(0,V1)).subscribe(n=>{let o=n.path||n.composedPath&&n.composedPath();if(!o||o.length===0&&!n.target)return;let r=!o||o.length===0?n.target.scrollTop:o[0].scrollTop;this._onContentScrolled(r)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{tn(mn(this._document,"touchstart",{capture:!0}),mn(this._document,"mousedown",{capture:!0})).pipe(ut(this._destroy$)).subscribe(n=>this._checkToClose(n))})}_checkToClose(n){if(this._select.contains(n.target)||this._dropdown.contains(n.target))return;let o=n.path||n.composedPath&&n.composedPath();n.target&&n.target.shadowRoot&&o&&o[0]&&this._select.contains(o[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(n,o){this.items=n||[],this._scrollToEndFired=!1,this.itemsLength=n.length,this.virtualScroll?this._updateItemsRange(o):(this._setVirtualHeight(),this._updateItems(o))}_updateItems(n){this.update.emit(this.items),n!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let o=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,o),this._handleDropdownPosition(),this.scrollTo(this.markedItem,n)})})}_updateItemsRange(n){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{n?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(n){this.virtualScroll&&this._renderItemsRange(n),this._lastScrollPosition=n,this._fireScrollToEnd(n)}_updateVirtualHeight(n){this._updateScrollHeight&&(this._virtualPadding.style.height=`${n}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(n=null){if(n&&this._lastScrollPosition===n)return;n=n||this._scrollablePanel.scrollTop;let o=this._panelService.calculateItems(n,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(o.scrollHeight),this._contentPanel.style.transform=`translateY(${o.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(o.start,o.end)),this.scroll.emit({start:o.start,end:o.end})}),ze(n)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=n,this._lastScrollPosition=n)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[n]=this.items;return this.update.emit([n]),Promise.resolve().then(()=>{let r=this._dropdown.querySelector(`#${n.htmlId}`).clientHeight;this._virtualPadding.style.height=`${r*this.itemsLength}px`;let s=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(r,s),this._panelService.dimensions})}_fireScrollToEnd(n){if(this._scrollToEndFired||n===0)return;let o=this.virtualScroll?this._virtualPadding:this._contentPanel;n+this._dropdown.clientHeight>=o.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(n){if(this.position!=="auto")return this.position;let o=this._select.getBoundingClientRect(),r=document.documentElement.scrollTop||document.body.scrollTop,s=o.top+window.pageYOffset,a=o.height,l=n.getBoundingClientRect().height;return s+a+l>r+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.left-o.left;this._dropdown.style.left=r+"px",this._dropdown.style.width=n.width+"px",this._dropdown.style.minWidth=n.width+"px"}_updateYPosition(){let n=this._select.getBoundingClientRect(),o=this._parent.getBoundingClientRect(),r=n.height;if(this._currentPosition==="top"){let s=o.bottom-n.bottom;this._dropdown.style.bottom=s+r+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let s=n.top-o.top;this._dropdown.style.top=s+r+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{mn(this._dropdown,"mousedown").pipe(ut(this._destroy$)).subscribe(n=>{n.target.tagName!=="INPUT"&&n.preventDefault()})})}};e.\u0275fac=function(o){return new(o||e)(w(an),w(Ce),w(Ig),w(se),w(Qe,8))},e.\u0275cmp=k({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(o,r){if(o&1&&(tt(Bx,7,se),tt(zx,7,se),tt(Hx,7,se)),o&2){let s;De(s=Me())&&(r.contentElementRef=s.first),De(s=Me())&&(r.scrollElementRef=s.first),De(s=Me())&&(r.paddingElementRef=s.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[Ue],ngContentSelectors:xg,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(o,r){o&1&&(We(),C(0,$x,2,4,"div",3),m(1,"div",4,0),O(3,"div",null,1),m(5,"div",null,2),Ae(7),f()(),C(8,Ux,2,4,"div",5)),o&2&&(p("ngIf",r.headerTemplate),d(3),ie("total-padding",r.virtualScroll),d(2),ie("scrollable-content",r.virtualScroll&&r.items.length),d(3),p("ngIf",r.footerTemplate))},dependencies:[Be,ln],encapsulation:2,changeDetection:0});let t=e;return t})(),Jo=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){this._disabled=this._isDisabled(n)}constructor(n){this.elementRef=n,this.stateChange$=new ye,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(n){n.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(n){return n!=null&&`${n}`!="false"}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275cmp=k({type:e,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[Ue],ngContentSelectors:xg,decls:1,vars:0,template:function(o,r){o&1&&(We(),Ae(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),B1=(()=>{let e=class e{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),z1=(()=>{let e=class e{warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Eg=new W("ng-select-selection-model"),ta=(()=>{let e=class e{get items(){return this._items}set items(n){n===null&&(n=[]),this._itemsAreUsed=!0,this._items=n}get compareWith(){return this._compareWith}set compareWith(n){if(n!=null&&!ea(n))throw Error("`compareWith` must be a function.");this._compareWith=n}get clearSearchOnAdd(){return ze(this._clearSearchOnAdd)?this._clearSearchOnAdd:ze(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(n){this._clearSearchOnAdd=n}get deselectOnClick(){return ze(this._deselectOnClick)?this._deselectOnClick:ze(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(n){this._deselectOnClick=n}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(n,o,r,s,a,l,c){this.classes=n,this.autoFocus=o,this.config=r,this._cd=l,this._console=c,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=u=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new y,this.focusEvent=new y,this.changeEvent=new y,this.openEvent=new y,this.closeEvent=new y,this.searchEvent=new y,this.clearEvent=new y,this.addEvent=new y,this.removeEvent=new y,this.scroll=new y,this.scrollToEnd=new y,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Mg(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ye,this._keyPress$=new ye,this._onChange=u=>{},this._onTouched=()=>{},this.clearItem=u=>{let h=this.selectedItems.find(v=>v.value===u);this.unselect(h)},this.trackByOption=(u,h)=>this.trackByFn?this.trackByFn(h.value):h,this._mergeGlobalConfig(r),this.itemsList=new gd(this,s()),this.element=a.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(n=>n.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(n){n.multiple&&this.itemsList.clearSelected(),n.items&&this._setItems(n.items.currentValue||[]),n.isOpen&&(this._manualOpen=ze(n.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),ze(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(n){if(Xt[n.which]){if(this.keyDownFn(n)===!1)return;this.handleKeyCode(n)}else n.key&&n.key.length===1&&this._keyPress$.next(n.key.toLocaleLowerCase())}handleKeyCode(n){let o=n.target;this.clearButton&&this.clearButton.nativeElement===o?this.handleKeyCodeClear(n):this.handleKeyCodeInput(n)}handleKeyCodeInput(n){switch(n.which){case Xt.ArrowDown:this._handleArrowDown(n);break;case Xt.ArrowUp:this._handleArrowUp(n);break;case Xt.Space:this._handleSpace(n);break;case Xt.Enter:this._handleEnter(n);break;case Xt.Tab:this._handleTab(n);break;case Xt.Esc:this.close(),n.preventDefault();break;case Xt.Backspace:this._handleBackspace();break}}handleKeyCodeClear(n){switch(n.which){case Xt.Enter:this.handleClearClick(),n.preventDefault();break}}handleMousedown(n){let o=n.target;if(o.tagName!=="INPUT"&&n.preventDefault(),o.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(o.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}o.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(n){this.itemsList.clearSelected(),this._handleWriteValue(n),this._cd.markForCheck()}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this._disabled=n,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(n){!n||n.disabled||this.disabled||(this.deselectOnClick&&n.selected?this.unselect(n):this.select(n),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(n){n.selected||(this.itemsList.select(n),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(n.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(n){n&&(this.itemsList.unselect(n),this.focus(),this._updateNgModel(),this.removeEvent.emit(n.value))}selectTag(){let n;ea(this.addTag)?n=this.addTag(this.searchTerm):n=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let o=r=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(r,null):this.itemsList.addItem(r);M1(n)?n.then(r=>this.select(o(r))).catch(()=>{}):n&&this.select(o(n))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;let n=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(o=>o.label.toLowerCase()===n)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(o=>o.label.toLowerCase()===n))&&!this.loading}showNoItemsFound(){let n=this.itemsList.filteredItems.length===0;return(n&&!this._isTypeahead&&!this.loading||n&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(n){this._isComposing=!1,!this.searchWhileComposing&&this.filter(n)}filter(n){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=n,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(n),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:n,items:this.itemsList.filteredItems.map(o=>o.value)}),this.open())}onInputFocus(n){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(n),this.focused=!0)}onInputBlur(n){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(n),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(n){n.disabled||this.itemsList.markItem(n)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let n=this.selectedItems&&this.selectedItems[0];this.searchTerm=n&&n.label||null}_setItems(n){let o=n[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=ze(o)?!Ko(o):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(n),n.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&ze(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let n=r=>{this.items=r.map(s=>({$ngOptionValue:s.value,$ngOptionLabel:s.elementRef.nativeElement.innerHTML,disabled:s.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},o=()=>{let r=tn(this.ngOptions.changes,this._destroy$);tn(...this.ngOptions.map(s=>s.stateChange$)).pipe(ut(r)).subscribe(s=>{let a=this.itemsList.findItem(s.value);a.disabled=s.disabled,a.label=s.label||a.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(fo(this.ngOptions),ut(this._destroy$)).subscribe(r=>{this.bindLabel=this._defaultLabel,n(r),o()})}_isValidWriteValue(n){if(!ze(n)||this.multiple&&n===""||Array.isArray(n)&&n.length===0)return!1;let o=r=>!ze(this.compareWith)&&Ko(r)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(r)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(n)?n.every(r=>o(r)):(this._console.warn("Multiple select ngModel should be array."),!1):o(n)}_handleWriteValue(n){if(!this._isValidWriteValue(n))return;let o=r=>{let s=this.itemsList.findItem(r);if(s)this.itemsList.select(s);else{let a=Ko(r),l=!a&&!this.bindValue;a||l?this.itemsList.select(this.itemsList.mapItem(r,null)):this.bindValue&&(s={[this.bindLabel]:null,[this.bindValue]:r},this.itemsList.select(this.itemsList.mapItem(s,null)))}};this.multiple?n.forEach(r=>o(r)):o(n)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(ut(this._destroy$),Vr(n=>this._pressedKeys.push(n)),pi(200),Rn(()=>this._pressedKeys.length>0),Fe(()=>this._pressedKeys.join(""))).subscribe(n=>{let o=this.itemsList.findByLabel(n);o&&(this.isOpen?(this.itemsList.markItem(o),this._scrollToMarked(),this._cd.markForCheck()):this.select(o)),this._pressedKeys=[]})}_setInputAttributes(){let n=this.searchInput.nativeElement,o=ce({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let r of Object.keys(o))n.setAttribute(r,o[r])}_updateNgModel(){let n=[];for(let r of this.selectedItems)if(this.bindValue){let s=null;if(r.children){let a=this.groupValue?this.bindValue:this.groupBy;s=r.value[a||this.groupBy]}else s=this.itemsList.resolveNested(r.value,this.bindValue);n.push(s)}else n.push(r.value);let o=this.selectedItems.map(r=>r.value);this.multiple?(this._onChange(n),this.changeEvent.emit(o)):(this._onChange(ze(n[0])?n[0]:null),this.changeEvent.emit(o[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(n){this.searchTerm=n,this._isTypeahead&&this.typeahead.next(n)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(n){if(this.isOpen===!1){if(this.showClear())this.focusOnClear(),n.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),n.preventDefault()):this.showAddTag?(this.selectTag(),n.preventDefault()):this.close():this.close()}_handleEnter(n){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;n.preventDefault()}_handleSpace(n){this.isOpen||this._manualOpen||(this.open(),n.preventDefault())}_handleArrowDown(n){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),n.preventDefault()}_handleArrowUp(n){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),n.preventDefault())}_nextItemIsTag(n){let o=this.itemsList.markedIndex+n;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(o<0||o===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let n=this.searchTerm&&this.searchTerm.trim();return n&&n.length>=this.minTermLength}_mergeGlobalConfig(n){this.placeholder=this.placeholder||n.placeholder,this.notFoundText=this.notFoundText||n.notFoundText,this.typeToSearchText=this.typeToSearchText||n.typeToSearchText,this.addTagText=this.addTagText||n.addTagText,this.loadingText=this.loadingText||n.loadingText,this.clearAllText=this.clearAllText||n.clearAllText,this.virtualScroll=ze(this.virtualScroll)?this.virtualScroll:ze(n.disableVirtualScroll)?!n.disableVirtualScroll:!1,this.openOnEnter=ze(this.openOnEnter)?this.openOnEnter:n.openOnEnter,this.appendTo=this.appendTo||n.appendTo,this.bindValue=this.bindValue||n.bindValue,this.bindLabel=this.bindLabel||n.bindLabel,this.appearance=this.appearance||n.appearance}};e.\u0275fac=function(o){return new(o||e)(Ai("class"),Ai("autofocus"),w(B1),w(Eg),w(se),w(xt),w(z1))},e.\u0275cmp=k({type:e,selectors:[["ng-select"]],contentQueries:function(o,r,s){if(o&1&&(gt(s,E1,5,_e),gt(s,k1,5,_e),gt(s,S1,5,_e),gt(s,O1,5,_e),gt(s,T1,5,_e),gt(s,P1,5,_e),gt(s,A1,5,_e),gt(s,F1,5,_e),gt(s,N1,5,_e),gt(s,j1,5,_e),gt(s,R1,5,_e),gt(s,Jo,5)),o&2){let a;De(a=Me())&&(r.optionTemplate=a.first),De(a=Me())&&(r.optgroupTemplate=a.first),De(a=Me())&&(r.labelTemplate=a.first),De(a=Me())&&(r.multiLabelTemplate=a.first),De(a=Me())&&(r.headerTemplate=a.first),De(a=Me())&&(r.footerTemplate=a.first),De(a=Me())&&(r.notFoundTemplate=a.first),De(a=Me())&&(r.typeToSearchTemplate=a.first),De(a=Me())&&(r.loadingTextTemplate=a.first),De(a=Me())&&(r.tagTemplate=a.first),De(a=Me())&&(r.loadingSpinnerTemplate=a.first),De(a=Me())&&(r.ngOptions=a)}},viewQuery:function(o,r){if(o&1&&(tt(wg,5),tt(Wx,7),tt(Gx,5)),o&2){let s;De(s=Me())&&(r.dropdownPanel=s.first),De(s=Me())&&(r.searchInput=s.first),De(s=Me())&&(r.clearButton=s.first)}},hostVars:20,hostBindings:function(o,r){o&1&&b("keydown",function(a){return r.handleKeyDown(a)}),o&2&&ie("ng-select-typeahead",r.typeahead)("ng-select-multiple",r.multiple)("ng-select-taggable",r.addTag)("ng-select-searchable",r.searchable)("ng-select-clearable",r.clearable)("ng-select-opened",r.isOpen)("ng-select",r.useDefaultClass)("ng-select-disabled",r.disabled)("ng-select-filtered",r.filtered)("ng-select-single",r.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[K([{provide:Ys,useExisting:Zn(()=>e),multi:!0},Ig]),Ue],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(o,r){if(o&1){let s=A();m(0,"div",9),b("mousedown",function(l){return M(s),I(r.handleMousedown(l))}),m(1,"div",10)(2,"div",11),E(3),f(),C(4,Jx,2,2,"ng-container",12)(5,t1,1,5,null,12),m(6,"div",13)(7,"input",14,0),b("input",function(){M(s);let l=qe(8);return I(r.filter(l.value))})("compositionstart",function(){return M(s),I(r.onCompositionStart())})("compositionend",function(){M(s);let l=qe(8);return I(r.onCompositionEnd(l.value))})("focus",function(l){return M(s),I(r.onInputFocus(l))})("blur",function(l){return M(s),I(r.onInputBlur(l))})("change",function(l){return M(s),I(l.stopPropagation())}),f()()(),C(9,o1,4,1,"ng-container",12)(10,r1,4,1,"span",15),m(11,"span",16),O(12,"span",17),f()(),C(13,C1,7,19,"ng-dropdown-panel",18)}o&2&&(ie("ng-appearance-outline",r.appearance==="outline")("ng-has-value",r.hasValue),d(3),oe(r.placeholder),d(),p("ngIf",(!r.multiLabelTemplate||!r.multiple)&&r.selectedItems.length>0),d(),p("ngIf",r.multiple&&r.multiLabelTemplate&&r.selectedValues.length>0),d(),H("aria-expanded",r.isOpen)("aria-owns",r.isOpen?r.dropdownId:null),d(),p("readOnly",!r.searchable||r.itemsList.maxItemsSelected)("disabled",r.disabled)("value",r.searchTerm?r.searchTerm:""),H("id",r.labelForId)("tabindex",r.tabIndex)("aria-activedescendant",r.isOpen?r.itemsList==null||r.itemsList.markedItem==null?null:r.itemsList.markedItem.htmlId:null)("aria-controls",r.isOpen?r.dropdownId:null),d(2),p("ngIf",r.loading),d(),p("ngIf",r.showClear()),d(3),p("ngIf",r.isOpen))},dependencies:[X,ve,Be,ln,wg,I1],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
8
+ `],encapsulation:2,changeDetection:0});let t=e;return t})();function H1(){return new hd}var hd=class{constructor(){this._selected=[]}get value(){return this._selected}select(e,i,n){if(e.selected=!0,(!e.children||!i&&n)&&this._selected.push(e),i)if(e.parent){let o=e.parent.children.length,r=e.parent.children.filter(s=>s.selected).length;e.parent.selected=o===r}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),n&&this._activeChildren(e)?this._selected=[...this._selected.filter(o=>o.parent!==e),e]:this._selected=[...this._selected,...e.children.filter(o=>!o.disabled)])}unselect(e,i){if(this._selected=this._selected.filter(n=>n!==e),e.selected=!1,i)if(e.parent&&e.parent.selected){let n=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),this._selected.push(...n.filter(o=>o!==e&&!o.disabled)),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))}clear(e){this._selected=e?this._selected.filter(i=>i.disabled):[]}_setChildrenSelectedState(e,i){for(let n of e)n.disabled||(n.selected=i)}_removeChildren(e){this._selected=[...this._selected.filter(i=>i.parent!==e),...e.children.filter(i=>i.parent===e&&i.disabled&&i.selected)]}_removeParent(e){this._selected=this._selected.filter(i=>i!==e)}_activeChildren(e){return e.children.every(i=>!i.disabled||i.selected)}},na=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({providers:[{provide:Eg,useValue:H1}],imports:[N]});let t=e;return t})();var Hi=class{},Sg=(()=>{class t extends Hi{getTranslation(i){return dt({})}static \u0275fac=(()=>{let i;return function(o){return(i||(i=at(t)))(o||t)}})();static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),Xn=class{},Og=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})();function ia(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,o,r,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((o=t.length)==e.length){for(r=0;r<o;r++)if(!ia(t[r],e[r]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(r in t){if(!ia(t[r],e[r]))return!1;s[r]=!0}for(r in e)if(!(r in s)&&typeof e[r]<"u")return!1;return!0}return!1}function Dn(t){return typeof t<"u"&&t!==null}function bd(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Ag(t,e){let i=Object.assign({},t);return bd(t)&&bd(e)&&Object.keys(e).forEach(n=>{bd(e[n])?n in t?i[n]=Ag(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var $i=class{},Tg=(()=>{class t extends $i{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let o;return typeof i=="string"?o=this.interpolateString(i,n):typeof i=="function"?o=this.interpolateFunction(i,n):o=i,o}getValue(i,n){let o=typeof n=="string"?n.split("."):[n];n="";do n+=o.shift(),Dn(i)&&Dn(i[n])&&(typeof i[n]=="object"||!o.length)?(i=i[n],n=""):o.length?n+=".":i=void 0;while(o.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(o,r)=>{let s=this.getValue(n,r);return Dn(s)?s:o}):i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=at(t)))(o||t)}})();static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),Ui=class{},Pg=(()=>{class t extends Ui{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(o){return(i||(i=at(t)))(o||t)}})();static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),oa=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new y;onLangChange=new y;onDefaultLangChange=new y},_d=new W("USE_STORE"),vd=new W("USE_DEFAULT_LANG"),yd=new W("DEFAULT_LANGUAGE"),Cd=new W("USE_EXTEND"),P=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new y;_onLangChange=new y;_onDefaultLangChange=new y;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,o,r,s,a=!0,l=!1,c=!1,u){this.store=i,this.currentLoader=n,this.compiler=o,this.parser=r,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(It(1)).subscribe(o=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return dt(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(It(1)).subscribe(o=>{this.changeLang(i)}),n):(this.changeLang(i),dt(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(Lr(1),It(1));return this.loadingTranslations=n.pipe(Fe(o=>this.compiler.compileTranslations(o,i)),Lr(1),It(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[i]=this.extend&&this.translations[i]?ce(ce({},o),this.translations[i]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),n}setTranslation(i,n,o=!1){n=this.compiler.compileTranslations(n,i),(o||this.extend)&&this.translations[i]?this.translations[i]=Ag(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,o){let r;if(n instanceof Array){let s={},a=!1;for(let l of n)s[l]=this.getParsedResult(i,l,o),Mt(s[l])&&(a=!0);if(a){let l=n.map(c=>Mt(s[c])?s[c]:dt(s[c]));return mo(l).pipe(Fe(c=>{let u={};return c.forEach((h,v)=>{u[n[v]]=h}),u}))}return s}if(i&&(r=this.parser.interpolate(this.parser.getValue(i,n),o)),typeof r>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),o)),typeof r>"u"){let s={key:n,translateService:this};typeof o<"u"&&(s.interpolateParams=o),r=this.missingTranslationHandler.handle(s)}return typeof r<"u"?r:n}get(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(pn(o=>(o=this.getParsedResult(o,i,n),Mt(o)?o:dt(o))));{let o=this.getParsedResult(this.translations[this.currentLang],i,n);return Mt(o)?o:dt(o)}}getStreamOnTranslationChange(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');return en(Rr(()=>this.get(i,n)),this.onTranslationChange.pipe(fi(o=>{let r=this.getParsedResult(o.translations,i,n);return typeof r.subscribe=="function"?r:dt(r)})))}stream(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');return en(Rr(()=>this.get(i,n)),this.onLangChange.pipe(fi(o=>{let r=this.getParsedResult(o.translations,i,n);return Mt(r)?r:dt(r)})))}instant(i,n){if(!Dn(i)||!i.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],i,n);if(Mt(o)){if(i instanceof Array){let r={};return i.forEach((s,a)=>{r[i[a]]=i[a]}),r}return i}else return o}set(i,n,o=this.currentLang){this.translations[o][i]=this.compiler.compile(n,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(j(oa),j(Hi),j(Ui),j($i),j(Xn),j(vd),j(_d),j(Cd),j(yd))};static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})();var Ie=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,o){let r=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,i,n);Mt(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(i,n).subscribe(r)}transform(i,...n){if(!i||!i.length)return i;if(ia(i,this.lastKey)&&ia(n,this.lastParams))return this.value;let o;if(Dn(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let r=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(r)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(o=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{this.lastKey&&r.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o,r.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(w(P,16),w(xt,16))};static \u0275pipe=Ao({name:"translate",type:t,pure:!1});static \u0275prov=q({token:t,factory:t.\u0275fac})}return t})(),te=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:Hi,useClass:Sg},i.compiler||{provide:Ui,useClass:Pg},i.parser||{provide:$i,useClass:Tg},i.missingTranslationHandler||{provide:Xn,useClass:Og},oa,{provide:_d,useValue:i.isolate},{provide:vd,useValue:i.useDefaultLang},{provide:Cd,useValue:i.extend},{provide:yd,useValue:i.defaultLanguage},P]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:Hi,useClass:Sg},i.compiler||{provide:Ui,useClass:Pg},i.parser||{provide:$i,useClass:Tg},i.missingTranslationHandler||{provide:Xn,useClass:Og},{provide:_d,useValue:i.isolate},{provide:vd,useValue:i.useDefaultLang},{provide:Cd,useValue:i.extend},{provide:yd,useValue:i.defaultLanguage},P]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=Pe({type:t});static \u0275inj=Te({})}return t})();var ne=(()=>{let e=class e{constructor(n){this.translateService=n,this._selectedLanguage="en",this._localizedStrings={}}get selectedLanguage(){return this._selectedLanguage}set selectedLanguage(n){this._selectedLanguage=n,this.translateService.use(n);try{this.translateService.setTranslation(this.selectedLanguage,this._localizedStrings)}catch(o){console.error(o)}}get localizedStrings(){return this._localizedStrings}set localizedStrings(n){this._localizedStrings=n,this.translateService.use(this.selectedLanguage);try{this.translateService.setTranslation(this.selectedLanguage,n)}catch(o){console.error(o)}}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-localized-widget"]],inputs:{selectedLanguage:"selectedLanguage",localizedStrings:"localizedStrings"},standalone:!0,features:[K([P]),S],decls:2,vars:0,template:function(o,r){o&1&&(m(0,"p"),E(1," localized widget works! "),f())},dependencies:[N,te],encapsulation:3});let t=e;return t})();var $1=["*"];function U1(t,e){if(t&1&&(m(0,"div",1)(1,"div",3)(2,"span"),E(3),f()()()),t&2){let i=g();d(3),oe(i.header)}}var Wi=(()=>{let e=class e{constructor(){this.header=""}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav-drawer-content"]],inputs:{header:"header"},standalone:!0,features:[S],ngContentSelectors:$1,decls:4,vars:1,consts:[[1,"sidenav-drawer-content-layout"],[1,"sidenav-drawer-header"],[1,"sidenav-drawer-content-offset"],[1,"sidenav-drawer-header__title"]],template:function(o,r){o&1&&(We(),m(0,"div",0),C(1,U1,4,1,"div",1),m(2,"div",2),Ae(3),f()()),o&2&&(d(),$(1,r.header?1:-1))},styles:[`.sidenav-drawer-header{width:100%;background-color:#f5f5f5cc;transition:background-color .7s;display:inline-block}.sidenav-drawer-header__title{font-size:1.8rem;flex-shrink:0;height:2.4rem;line-height:2.4rem;font-weight:600;padding-left:1.4rem;padding-bottom:0;margin-top:1rem;margin-bottom:1.2rem;overflow:hidden}.sidenav-drawer-content-layout{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.sidenav-drawer-content-offset{margin:var(--sidenav-drawer-content-offset, .8rem)}.sidenav-drawer-content{width:100%;height:100%}
9
+ `],encapsulation:2});let t=e;return t})();function W1(t,e){if(t&1){let i=A();pt(0),m(1,"button",2),b("click",function(){let o=M(i).$implicit,r=g();return I(r._buttonClicked(o))}),E(2),f(),ft()}if(t&2){let i=e.$implicit,n=e.last,o=e.first;d(),ie("last",n)("first",o)("primary-button",i.buttonStyle===void 0||i.buttonStyle==="primary")("secondary-button",i.buttonStyle==="secondary")("text-button",i.buttonType===void 0||i.buttonType==="text")("icon-button",i.buttonType==="icon")("combined-button",i.buttonType==="combined")("disabled",i.disabled===!0),ge("title",i.tooltip),d(),B(" ",i.title," ")}}var ra=(()=>{let e=class e extends ne{constructor(){super(...arguments),this._items=new Array,this.buttonClicked=new y}get items(){return this._items}set items(n){this._items=n}_buttonClicked(n){n.disabled||this.buttonClicked.emit({id:n.id})}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-buttons-row"]],inputs:{items:"items"},outputs:{buttonClicked:"buttonClicked"},standalone:!0,features:[z,S],decls:2,vars:1,consts:[[1,"button-row"],[4,"ngFor","ngForOf"],[3,"click","title"]],template:function(o,r){o&1&&(m(0,"div",0),C(1,W1,3,18,"ng-container",1),f()),o&2&&(d(),p("ngForOf",r._items))},dependencies:[ve],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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}.button-row{display:flex;margin-left:var(--button-row-margin-left, 0);margin-right:var(--button-row-margin-right, 0);margin-top:var(--button-row-margin-top, .8rem);margin-bottom:var(--button-row-margin-bottom, .8rem);justify-content:flex-end}.button-row>.primary-button{text-transform:uppercase;font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.2rem);font-weight:var(--font-weight, 700);display:inline-block;height:var(--button-height, 2.4rem);white-space:nowrap;border-radius:var(--button-border-style, .2rem);vertical-align:middle;border-color:var(--button--color, #fe5000);border-style:var(--button-border-style, solid);border-width:var(--button-border-style, .2rem);color:var(--button-button-text-color, white);background-color:var(--button--color, #fe5000);cursor:pointer;margin-right:var(--buttons-spacing, .8rem)}.button-row>.primary-button.last{margin-right:0}.button-row>.primary-button:hover{border-color:var(--button-color-hover, #eb4b00);color:var(--button-button-text-color, white);background-color:var(--button-color-hover, #eb4b00);outline:0}.button-row>.primary-button.disabled{border-color:var(--button-color-disabled, #bababa);color:var(--button-button-text-color, white);background-color:var(--button-color-disabled, #bababa);cursor:default}
10
+ `],encapsulation:3});let t=e;return t})();var G1=[[["lib-expansion-panel-header"]],"*"],q1=["lib-expansion-panel-header","*"],Mn=(()=>{let e=class e{constructor(){this.expanded=!0}toggleExpand(){this.expanded=!this.expanded}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel"]],inputs:{expanded:"expanded"},standalone:!0,features:[S],ngContentSelectors:q1,decls:7,vars:2,consts:[[1,"expansion-panel"],[1,"expansion-panel-header-row"],[1,"expansion-panel-expander-icon",3,"click","ngClass"],[1,"expansion-panel-header-content"],[1,"expansion-panel-content-container",3,"ngClass"]],template:function(o,r){o&1&&(We(G1),m(0,"div",0)(1,"div",1)(2,"div",2),b("click",function(){return r.toggleExpand()}),f(),m(3,"div",3),Ae(4),f()(),m(5,"div",4),Ae(6,1),f()()),o&2&&(d(2),p("ngClass",r.expanded?"open":"closed"),d(3),p("ngClass",r.expanded?"":"collapsed"))},dependencies:[N,X],styles:['.expansion-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%;height:2.4rem}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon[_ngcontent-%COMP%]{width:var(--expansion-panel-header-height, 2.4rem);height:var(--expansion-panel-header-height, 2.4rem);display:inline-block;background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--expansion-panel-expander-icon-size, 1.8rem) var(--expansion-panel-expander-icon-size, 1.8rem);min-width:var(--expansion-panel-header-height, 2.4rem);max-width:var(--expansion-panel-header-height, 2.4rem)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.open[_ngcontent-%COMP%]{background-image:url("./media/expanded_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-expander-icon.closed[_ngcontent-%COMP%]{background-image:url("./media/collapsed_18.svg")}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-header-row[_ngcontent-%COMP%] > .expansion-panel-header-content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;line-height:var(--expansion-panel-header-height, 2.4rem);min-width:0}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;padding-left:var(--expansion-panel-content-container-padding-left, 0)}.expansion-panel[_ngcontent-%COMP%] > .expansion-panel-content-container.collapsed[_ngcontent-%COMP%]{display:none}']});let t=e;return t})();var Z1=["*",[["lib-expansion-panel-header-actions"]]],Y1=["*","lib-expansion-panel-header-actions"],In=(()=>{let e=class e{constructor(){this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel-header"]],hostVars:2,hostBindings:function(o,r){o&2&&ie("expansion-panel-header-container",r.centerMenuButtonClass)},standalone:!0,features:[S],ngContentSelectors:Y1,decls:4,vars:0,consts:[[1,"expansion-panel-header-title"]],template:function(o,r){o&1&&(We(Z1),m(0,"div",0),Ae(1),f(),m(2,"div"),Ae(3,1),f())},styles:[`.expansion-panel-header-title{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.expansion-panel-header-container{display:flex;width:100%}
11
+ `],encapsulation:2});let t=e;return t})();var Q1=["*"],Gi=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-expansion-panel-header-actions"]],standalone:!0,features:[S],ngContentSelectors:Q1,decls:1,vars:0,template:function(o,r){o&1&&(We(),Ae(0))}});let t=e;return t})();function K1(t,e){if(t&1&&(m(0,"div",1),E(1),f()),t&2){let i=g();d(),B(" ",i.message,`
12
+ `)}}var Fg=(()=>{let e=class e{constructor(){this.message=""}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-text-message"]],inputs:{message:"message"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","message",4,"ngIf"],[1,"message"]],template:function(o,r){o&1&&C(0,K1,2,1,"div",0),o&2&&p("ngIf",r.message)},dependencies:[N,Be],styles:[".message[_ngcontent-%COMP%]{background-color:var(--bkg-color, transparent);color:var(--text-color, #444444);padding:.7rem;border:.2rem solid var(--text-color, #444444);border-radius:.5rem;margin-top:var(--text-message-margin, 2.4rem);margin-bottom:var(--text-message-margin, 2.4rem);font-size:var(--font-size, 1.3rem)}"]});let t=e;return t})();var sa=(()=>{let e=class e{set activeStep(n){this._activeStep=n,this.activeStepChange.next(this._activeStep)}get activeStep(){return this._activeStep}constructor(){this._activeStep=0,this.activeStepChange=new ye}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var jg=(t,e,i)=>({visible:t,invisible:e,semivisible:i}),Rg=t=>({visible:t}),X1=(t,e)=>({visible:t,invisible:e});function J1(t,e){if(t&1){let i=A();m(0,"div",11)(1,"div",12),b("dblclick",function(){let o=M(i).$implicit,r=g(3);return I(r.doubleClickedResult.emit(o))}),E(2),f(),m(3,"div",7),R(4,"translate"),b("click",function(){let o=M(i).$implicit,r=g(3);return I(r.toggleVisibilityResult.emit(o))}),f()()}if(t&2){let i=e.$implicit;d(),p("ngClass",we(9,Rg,i.isVisible))("title",i.name),H("data-test","result"+i.id),d(),B(" ",i.name," "),d(),p("ngClass",nt(11,X1,i.isVisible,!i.isVisible))("title",L(4,7,"_Toggle visibility")),H("data-test","toggle_visibility_result_"+i.id)}}function eD(t,e){if(t&1){let i=A();m(0,"div")(1,"lib-expansion-panel",3)(2,"lib-expansion-panel-header")(3,"span",9),b("dblclick",function(){let o=M(i).$implicit,r=g(2);return I(r.doubleClickedResultList.emit(o))}),E(4),f(),m(5,"lib-expansion-panel-header-actions")(6,"div",7),R(7,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.toggleVisibilityResultList.emit(o))}),f()()(),C(8,J1,5,14,"div",10),f()()}if(t&2){let i=e.$implicit,n=g(2);d(),p("expanded",n.expandedResultTrees),d(2),ke("color",i.colorHexCode),p("ngClass",we(13,Rg,i.isVisible))("title",i.name+" ("+i.results.length+")"),d(),zt(" ",i.name," (",i.results.length,") "),d(2),p("ngClass",lt(15,jg,i.isVisible,!i.isVisible,i.isSemiVisible))("title",L(7,11,"_Toggle visibility")),H("data-test","toggle_visibility_resultlist_"+i.id),d(2),p("ngForOf",i.results)}}function tD(t,e){if(t&1){let i=A();m(0,"lib-expansion-panel",3)(1,"lib-expansion-panel-header",5),b("dblclick",function(){M(i);let o=g();return I(o.doubleClickedResultsRoot.emit(o.results))}),m(2,"span",6),E(3),f(),m(4,"lib-expansion-panel-header-actions")(5,"div",7),R(6,"translate"),b("click",function(){M(i);let o=g();return I(o.toggleVisibilityResultsRoot.emit(o.results))}),f()()(),C(7,eD,9,19,"div",8),f()}if(t&2){let i=g();p("expanded",i.expandedTreeRoot),d(),p("title",i.resultTreeRootTitle?i.resultTreeRootTitle:i.results.name+" ("+i.totalResults()+")"),d(2),zt("",i.results.name," (",i.totalResults(),")"),d(2),p("ngClass",lt(10,jg,i.results.isVisible,!i.results.isVisible,i.results.isSemiVisible))("title",L(6,8,"_Toggle visibility")),H("data-test","toggle_visibility_results"),d(2),p("ngForOf",i.results==null?null:i.results.resultList)}}function nD(t,e){if(t&1&&O(0,"lib-bimplus-text-message",15),t&2){let i=g(2);p("message",i.successMessage)}}function iD(t,e){if(t&1&&O(0,"lib-bimplus-text-message",16),t&2){let i=g(2);p("message",i.errorMessage)}}function oD(t,e){if(t&1&&C(0,nD,1,1,"lib-bimplus-text-message",13)(1,iD,1,1,"lib-bimplus-text-message",14),t&2){let i=g();p("ngIf",i.successMessage),d(),p("ngIf",i.errorMessage)}}var Lg=(()=>{let e=class e extends ne{constructor(n,o){super(n),this.connectionDesignerService=o,this.buttonRowItems=[],this.errorMessage="",this.successMessage="",this.doneClicked=new y,this.resultTreeRootTitle="",this.resultTreeRootName="",this.expandedTreeRoot=!1,this.expandedResultTrees=!1,this.results=null,this.toggleVisibilityResultsRoot=new y,this.toggleVisibilityResultList=new y,this.toggleVisibilityResult=new y,this.doubleClickedResultsRoot=new y,this.doubleClickedResultList=new y,this.doubleClickedResult=new y}ngOnInit(){this.buttonRowItems=[{id:"done",title:this.translateService.instant("_Done"),tooltip:this.translateService.instant("_Done"),disabled:!1,buttonStyle:"primary"}]}buttonClicked(n){n.id==="done"&&(this.connectionDesignerService.activeStep=0,this.doneClicked.emit())}totalResults(){let n=0;if(!this.results)return n;for(let o of this.results.resultList)n+=o.results.length;return n}};e.\u0275fac=function(o){return new(o||e)(w(P),w(sa))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-connection-designer-results"]],inputs:{errorMessage:"errorMessage",successMessage:"successMessage",resultTreeRootTitle:"resultTreeRootTitle",resultTreeRootName:"resultTreeRootName",expandedTreeRoot:"expandedTreeRoot",expandedResultTrees:"expandedResultTrees",results:"results"},outputs:{doneClicked:"doneClicked",toggleVisibilityResultsRoot:"toggleVisibilityResultsRoot",toggleVisibilityResultList:"toggleVisibilityResultList",toggleVisibilityResult:"toggleVisibilityResult",doubleClickedResultsRoot:"doubleClickedResultsRoot",doubleClickedResultList:"doubleClickedResultList",doubleClickedResult:"doubleClickedResult"},standalone:!0,features:[K([P]),z,S],decls:10,vars:8,consts:[[1,"connection-designer-content-result"],[1,"title"],[1,"description"],[1,"project-navigator-model-panel",3,"expanded"],[3,"buttonClicked","items"],[3,"dblclick","title"],[1,"project-navigator-root-node"],[1,"ui-icon-checkbox-slider","project-navigator-action-buttons",3,"click","ngClass","title"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"dblclick","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"dblclick","ngClass","title"],["class","success-message",3,"message",4,"ngIf"],["class","error-message",3,"message",4,"ngIf"],[1,"success-message",3,"message"],[1,"error-message",3,"message"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1),E(2),R(3,"translate"),f(),m(4,"div",2),E(5),R(6,"translate"),f(),C(7,tD,8,14,"lib-expansion-panel",3)(8,oD,2,2),m(9,"lib-bimplus-buttons-row",4),b("buttonClicked",function(a){return r.buttonClicked(a)}),f()()),o&2&&(d(2),B(" ",L(3,4,"_Connection_Designer_results_title")," "),d(3),B(" ",L(6,6,"_Connection_Designer_results_description")," "),d(2),$(7,r.results!==null?7:8),d(2),p("items",r.buttonRowItems))},dependencies:[te,Ie,N,X,ve,Be,ra,Mn,In,Gi,Fg],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem #fe5000;color:#fff;background-color:#fe5000;cursor:pointer}.primary-button:hover{border:solid .2rem #eb4b00;color:#fff;background-color:#eb4b00;outline:0}.primary-button.disabled{border:solid .2rem #bababa;color:#fff;background-color:#bababa;cursor:default}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;background-color:var(--bkg-color, transparent);color:var(--default-default-text-color, #444444);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}.connection-designer-content-result{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);display:flex;flex-direction:column}.connection-designer-content-result>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content-result>.title{padding-bottom:1rem;font-weight:700}.connection-designer-content-result>.description{padding-bottom:1rem}lib-expansion-panel{--expansion-panel-content-container-padding-left: var(--tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions{display:flex;flex-direction:row}lib-expansion-panel-header{max-width:100%;flex:1}.project-navigator-action-buttons{width:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--action-icon-size, 1.8rem) var(--action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node{line-height:var(--tree-node-line-height, 2.4rem);height:var(--tree-node-line-height, 2.4rem);padding-left:var(--tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node{text-transform:var(--tree-root-node-text-transform, uppercase);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);font-weight:var(--tree-root-node-font-weight, 700);font-size:var(--tree-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--tree-node-line-height, 2.4rem);max-width:100%}lib-bimplus-text-message.success-message{--text-color: #006400}lib-bimplus-text-message.error-message{--text-color: #b71c1c}
13
+ `],encapsulation:3});let t=e;return t})();var rD=[[["lib-bimplus-connection-designer-results"]]],sD=["lib-bimplus-connection-designer-results"];function aD(t,e){if(t&1&&(m(0,"ng-option",11),E(1),f()),t&2){let i=e.$implicit;p("value",i),d(),oe(i.name)}}function lD(t,e){if(t&1){let i=A();m(0,"div",7)(1,"ng-select",9),R(2,"translate"),Kn("ngModelChange",function(o){M(i);let r=g(2);return Li(r.activeDesignCode,o)||(r.activeDesignCode=o),I(o)}),C(3,aD,2,2,"ng-option",10),f()()}if(t&2){let i=g(2);d(),Qn("ngModel",i.activeDesignCode),p("clearable",!1)("searchable",!1)("placeholder",L(2,5,i.chooseCode)),d(2),p("ngForOf",i.designCodes)}}function cD(t,e){t&1&&(m(0,"div",12),E(1),R(2,"translate"),f()),t&2&&(d(),B(" ",L(2,1,"_No_design_codes_defined")," "))}function dD(t,e){if(t&1){let i=A();m(0,"div",2)(1,"div",3),b("click",function(){M(i);let o=g();return I(o.resetDesignCode())}),f()(),m(2,"div",4),E(3),R(4,"translate"),f(),m(5,"div",5),E(6),R(7,"translate"),f(),m(8,"div",6),E(9),R(10,"translate"),f(),C(11,lD,4,7,"div",7)(12,cD,3,3),m(13,"lib-bimplus-buttons-row",8),b("buttonClicked",function(o){M(i);let r=g();return I(r.buttonClicked(o))}),f()}if(t&2){let i=g();d(3),B(" ",L(4,5,"_Select_the_code")," "),d(3),B(" ",L(7,7,"_Activate_all_objects_to_make_a_connection")," "),d(3),B(" ",L(10,9,"_Activate_all_objects_note")," "),d(2),$(11,i.designCodes.length>0?11:12),d(2),p("items",i.buttonRowItems)}}function uD(t,e){t&1&&Ae(0)}var Vg=(()=>{let e=class e extends ne{constructor(n,o){super(n),this.connectionDesignerService=o,this.buttonRowItems=[],this.config=[],this.chooseCode="_Choose_a_design_code",this.designCodes=[{id:"0",name:"EN 1993-1-1 (Eurocode 3)"},{id:"1",name:"AISC 360-22 (16th Ed.): LRFD"},{id:"2",name:"AISC 360-22 (16th Ed.): ASD"},{id:"3",name:"CSA S16:19 (CISC 12th Ed.)"}],this.currentDesignCode=null,this.designCodeChanged=new y,this._calculationCanBeStarted=!0,this.startCalculationClicked=new y,o.activeStepChange.subscribe(r=>{r===0&&this.resetDesignCode()})}ngOnInit(){this.config.push({id:"next",title:this.translateService.instant("_Next"),tooltip:this.translateService.instant("_Next"),disabled:!0,buttonStyle:"primary"}),this.buttonRowItems=this.config}set activeDesignCode(n){this.currentDesignCode=n,this.designCodeChanged.emit(this.currentDesignCode)}get activeDesignCode(){return this.currentDesignCode}_updateButtonState(n,o){let r=this.config.find(s=>s.id===n);r&&(r.disabled=o)}set calculationCanBeStarted(n){this._calculationCanBeStarted=n,this._updateButtonState("next",!n)}get calculationCanBeStarted(){return this._calculationCanBeStarted}buttonClicked(n){n.id==="next"&&(this.connectionDesignerService.activeStep=1,this._calculationCanBeStarted&&this.startCalculationClicked.emit())}resetDesignCode(){this.activeDesignCode=null}};e.\u0275fac=function(o){return new(o||e)(w(P),w(sa))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-connection-designer"]],inputs:{designCodes:"designCodes",currentDesignCode:"currentDesignCode",calculationCanBeStarted:"calculationCanBeStarted"},outputs:{designCodeChanged:"designCodeChanged",startCalculationClicked:"startCalculationClicked"},standalone:!0,features:[K([P]),z,S],ngContentSelectors:sD,decls:5,vars:4,consts:[[3,"header"],[1,"connection-designer-content"],[1,"cross-button"],[1,"cross",3,"click"],[1,"title"],[1,"description"],[1,"note"],[1,"design-codes"],[3,"buttonClicked","items"],[1,"design-codes-dropdown",3,"ngModelChange","ngModel","clearable","searchable","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"no-design-codes"]],template:function(o,r){o&1&&(We(rD),m(0,"lib-bimplus-sidenav-drawer-content",0),R(1,"translate"),m(2,"div",1),C(3,dD,14,11)(4,uD,1,0),f()()),o&2&&(p("header",L(1,2,"_Connection_designer")),d(3),$(3,r.connectionDesignerService.activeStep===0?3:4))},dependencies:[N,ve,Xs,Qs,Qo,na,ta,Jo,te,Ie,Wi,ra],styles:[`@charset "UTF-8";.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem #fe5000;color:#fff;background-color:#fe5000;cursor:pointer}.primary-button:hover{border:solid .2rem #eb4b00;color:#fff;background-color:#eb4b00;outline:0}.primary-button.disabled{border:solid .2rem #bababa;color:#fff;background-color:#bababa;cursor:default}.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}:host{--sidenav-drawer-content-offset: 0;color:var(--project-models-color, #444444);font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);font-weight:400}.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content{font-family:var(--font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--font-size, 1.3rem);margin:1.4rem 2.2rem;display:flex;flex-direction:column}.connection-designer-content>.button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.connection-designer-content>.cross-button{display:flex;flex-direction:row;justify-content:right;width:100%;height:1.6rem}.connection-designer-content>.cross-button>.cross{min-width:1.6rem;min-height:100%;background-image:url("./media/bimplus_WebIcons_Cross.svg");background-repeat:no-repeat;background-position:center center;background-size:cover;cursor:pointer}.connection-designer-content>.title{padding-bottom:1rem;font-weight:700}.connection-designer-content>.description{padding-bottom:1rem}.connection-designer-content>.note{padding-bottom:1rem}.connection-designer-content>.design-codes{padding-bottom:1rem;margin-bottom:.1rem;height:2.4rem}.connection-designer-content>.design-codes>.design-codes-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.connection-designer-content>.no-design-codes{display:block;width:100%;color:#bababa;text-align:left;padding-bottom:.8rem}
14
+ `],encapsulation:3});let t=e;return t})();function ae(t,e,i=null){if(!e){console.error("ERROR: Missing event name in fireEvent function in Bimplus components!");return}let n="BimPlus"in window&&typeof window.BimPlus=="object"&&window.BimPlus;n&&typeof n[e]=="function"&&n[e]({detail:i});let o=t;e in o&&o[e].emit(i)}var Bg=(()=>{let e=class e extends ne{constructor(n){super(n),this.bimplusContactClicked=new y}_contactClicked(){ae(this,"bimplusContactClicked","contact")}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-contact"]],outputs:{bimplusContactClicked:"bimplusContactClicked"},standalone:!0,features:[K([P]),z,S],decls:3,vars:3,consts:[["href","https://www.allplan.com/consulting-sale","rel","noopener","target","_blank",1,"bimplus-contact-link",3,"click","title"],[1,"bimplus-contact"]],template:function(o,r){o&1&&(m(0,"a",0),R(1,"translate"),b("click",function(){return r._contactClicked()}),O(2,"div",1),f()),o&2&&p("title",L(1,1,"_BimplusContactTitle"))},dependencies:[N,te,Ie],styles:[`.bimplus-contact{height:1.375em;width:4em;background:url("./media/bimplus_Components_Contact.svg") no-repeat;background-size:1.375em;background-repeat:no-repeat;background-position:center;cursor:pointer}.bimplus-contact a{width:100%;height:100%}
15
+ `],encapsulation:3});let t=e;return t})();var En=(()=>{let e=class e{constructor(){this.oldX=0,this.oldY=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new y,this.clicked=new y}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX,r=n.clientY-this.oldY;if(!this.isDragging)if(Math.abs(o)>2||Math.abs(r)>2)this.isDragging=!0,this.wasDragging=!0;else return;ae(this,"dragging",[o,r]),this.oldX=n.clientX,this.oldY=n.clientY}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX,this.oldY=n.clientY}onMouseClick(n){this.wasDragging||ae(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Z({type:e,selectors:[["","libDraggable",""]],hostBindings:function(o,r){o&1&&b("mousemove",function(a){return r.onMouseMove(a)},!1,yn)("mouseup",function(a){return r.onMouseUp(a)},!1,yn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();var qi=(()=>{let e=class e{constructor(){this.isCollapsed=!1,this.dragElement=new y,this.draggerIcon="ui-icon-drag"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-dragger"]],inputs:{isCollapsed:"isCollapsed"},outputs:{dragElement:"dragElement"},standalone:!0,features:[S],decls:1,vars:2,consts:[["libDraggable","",1,"floating-panel__dragger","dragger",3,"dragging","ngClass","className"]],template:function(o,r){o&1&&(m(0,"div",0),b("dragging",function(a){return r.dragElement.emit(a)}),f()),o&2&&p("ngClass",r.isCollapsed?"collapsed":"")("className",r.draggerIcon)},dependencies:[N,X,En],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}.ui-icon-drag[_ngcontent-%COMP%]{background-repeat:no-repeat;background-image:url("./media/ic_drag.svg")}']});let t=e;return t})();var mD=t=>({active:t});function pD(t,e){if(t&1){let i=A();m(0,"div")(1,"div",3),R(2,"translate"),b("click",function(){let o=M(i).$implicit,r=g();return I(r.onItemClicked(o.buttonId))}),f()()}if(t&2){let i=e.$implicit;d(),p("ngClass",we(6,mD,i.active))("className",i.iconClass)("title",L(2,4,i.title)),H("data-test","floating_bar_item_"+i.buttonId)}}var Zi=(()=>{let e=class e extends ne{constructor(n){super(n),this.isCollapsed=!1,this.actionClicked=new y,this.dragElement=new y,this._items=new Array}get items(){return this._items}set items(n){this._items=n}findItemById(n){return this._items.find(o=>o.buttonId===n)}onItemClicked(n){let o=this.findItemById(n);!o||o?.disabled||this.actionClicked.emit(n)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-header-content"]],inputs:{isCollapsed:"isCollapsed",items:"items"},outputs:{actionClicked:"actionClicked",dragElement:"dragElement"},standalone:!0,features:[K([P]),z,S],decls:3,vars:2,consts:[["libDraggable","",1,"floating-panel__header-content","dragger",3,"dragging","ngClass"],[1,"menu-content"],[4,"ngFor","ngForOf"],[1,"fp-block-item","fp-block-icon-item",3,"click","ngClass","className","title"]],template:function(o,r){o&1&&(m(0,"div",0),b("dragging",function(a){return r.dragElement.emit(a)}),m(1,"div",1),C(2,pD,3,8,"div",2),f()()),o&2&&(p("ngClass",r.isCollapsed?"hidden":""),d(2),p("ngForOf",r.items))},dependencies:[N,X,ve,En,te,Ie],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[_ngcontent-%COMP%]:after, [_ngcontent-%COMP%]:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.menu-content[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center;-webkit-box-align-items:center;-moz-box-align-items:center;-webkit-align-items:center;-ms-align-items:center;align-items:center;padding-left:.5rem;padding-right:.5rem}.menu-content[_ngcontent-%COMP%] .block-icon-item[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_eye_black.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-hide-object.active[_ngcontent-%COMP%]{background-image:url("./media/ic_eye_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_make_transparent.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-transparent-object.active[_ngcontent-%COMP%]{background-image:url("./media/ic_make_transparent_active.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-restore-hide-object[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/ic_reset.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuNormal.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-normal.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuNormal_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuClipped.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-clipped.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuClipped_orange.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuHidden.svg")}.menu-content[_ngcontent-%COMP%] .ui-icon-isolate-menu-hidden.active[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-image:url("./media/IsolateMenuHidden_orange.svg")}']});let t=e;return t})();var Yi=(()=>{let e=class e extends ne{constructor(n){super(n),this.icon="",this.isCollapsed=!1,this.title="",this.logoClicked=new y,this.dragElement=new y}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-header-logo"]],hostVars:2,hostBindings:function(o,r){o&2&&ie("isCollapsed",r.isCollapsed)},inputs:{icon:"icon",isCollapsed:"isCollapsed",title:"title"},outputs:{logoClicked:"logoClicked",dragElement:"dragElement"},standalone:!0,features:[K([P]),z,S],decls:2,vars:5,consts:[["libDraggable","",1,"floating-panel__header-logo",3,"clicked","dragging","ngClass","className","title"]],template:function(o,r){o&1&&(m(0,"div",0),R(1,"translate"),b("clicked",function(a){return r.logoClicked.emit(a)})("dragging",function(a){return r.dragElement.emit(a)}),f()),o&2&&p("ngClass",r.isCollapsed?"collapsed":"")("className",r.icon)("title",L(1,3,r.title))},dependencies:[N,X,En,te,Ie],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']});let t=e;return t})();var fD=[[["",8,"floating-bar-header-logo"]],[["",8,"floating-bar-header-content"]],[["",8,"floating-bar-dragger"]],[["",8,"floating-bar-body"]]],gD=[".floating-bar-header-logo",".floating-bar-header-content",".floating-bar-dragger",".floating-bar-body"],Qi=(()=>{let e=class e extends ne{constructor(n){super(n),this.noBody=!1,this.isCollapsed=!1,this.isFocused=!1,this.resizeEnabled=!1,this.autoCollapse=!1,this.focusSelector="",this.isVisible=!1}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar"]],inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",resizeEnabled:"resizeEnabled",autoCollapse:"autoCollapse",focusSelector:"focusSelector",isVisible:"isVisible"},standalone:!0,features:[z,S],ngContentSelectors:gD,decls:5,vars:8,consts:[[1,"floating-panel"]],template:function(o,r){o&1&&(We(fD),m(0,"div",0),Ae(1),Ae(2,1),Ae(3,2),Ae(4,3),f()),o&2&&ie("visible",r.isVisible)("no-body",r.noBody)("is-focused",r.isFocused)("collapsed",r.isCollapsed)},dependencies:[N],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*[_ngcontent-%COMP%]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body[_ngcontent-%COMP%]{display:contents}.panel-background[_ngcontent-%COMP%]{background-color:#fffc;transition:background-color .5s}.panel-background[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_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;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel[_ngcontent-%COMP%]:hover{background-color:#fff}.floating-panel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.floating-panel.visible[_ngcontent-%COMP%]{visibility:initial}.floating-panel__header-logo[_ngcontent-%COMP%], .floating-panel__header-content[_ngcontent-%COMP%], .floating-panel__dragger[_ngcontent-%COMP%], .floating-panel__body[_ngcontent-%COMP%]{pointer-events:auto}.floating-panel__header-logo[_ngcontent-%COMP%]{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content[_ngcontent-%COMP%]{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger[_ngcontent-%COMP%]{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body[_ngcontent-%COMP%]{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator[_ngcontent-%COMP%]{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE[_ngcontent-%COMP%]{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE[_ngcontent-%COMP%]{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS[_ngcontent-%COMP%]{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__header-content[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3}.floating-panel.no-body[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%]{width:auto!important;height:auto!important}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__header-logo[_ngcontent-%COMP%]{border-bottom-left-radius:10px}.floating-panel.collapsed[_ngcontent-%COMP%] .floating-panel__dragger[_ngcontent-%COMP%]{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerSE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .floating-panel__resizerNE[_ngcontent-%COMP%]{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch[_ngcontent-%COMP%] .fp-block-item[_ngcontent-%COMP%]{height:3rem}.fp-block-icon[_ngcontent-%COMP%]{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item[_ngcontent-%COMP%]{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled[_ngcontent-%COMP%]{opacity:.19;cursor:default}.fp-block-item[_ngcontent-%COMP%]{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item[_ngcontent-%COMP%]{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last[_ngcontent-%COMP%]{padding-right:.2rem}']});let t=e;return t})();var zg=(()=>{let e=class e extends ne{constructor(){super(...arguments),this.actionClicked=new y,this.noBody=!0,this.isCollapsed=!1,this.isFocused=!0,this.items=[],this.icon="ui-icon-hide-menu",this.title="",this.focusSelectorId="hide-menu-id",this.left=300,this.top=600}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-hide-objects"]],hostVars:4,hostBindings:function(o,r){o&2&&ke("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",items:"items",left:"left",top:"top"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[K([P]),z,S],decls:4,vars:17,consts:[["id","hide-menu-fp-id",1,"hide-menu",3,"noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","icon","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","dragElement","selectedLanguage","localizedStrings","items","isCollapsed"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),b("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(2,"lib-bimplus-floating-bar-header-content",2),b("actionClicked",function(a){return r.actionClicked.emit(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(3,"lib-bimplus-floating-bar-dragger",3),b("dragElement",function(a){return r.onDragElement(a)}),f()()),o&2&&(p("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("icon",r.icon)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("items",r.items)("isCollapsed",r.isCollapsed),d(),p("isCollapsed",r.isCollapsed))},dependencies:[N,Qi,qi,Zi,Yi,te],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
16
+ `],encapsulation:3});let t=e;return t})();var Hg=(()=>{let e=class e extends ne{constructor(){super(...arguments),this.actionClicked=new y,this.noBody=!0,this.isCollapsed=!1,this.isFocused=!0,this.items=[],this.left=200,this.top=600,this.icon="ui-icon-isolation-menu",this.title="",this.focusSelectorId="isolation-menu-id"}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-isolation-objects"]],hostVars:4,hostBindings:function(o,r){o&2&&ke("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",isFocused:"isFocused",items:"items",left:"left",top:"top"},outputs:{actionClicked:"actionClicked"},standalone:!0,features:[K([P]),z,S],decls:4,vars:17,consts:[["id","isolation-menu-fp-id",1,"isolation-menu",3,"noBody","isCollapsed","isFocused","resizeEnabled","focusSelector","isVisible","selectedLanguage","localizedStrings"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","icon","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-header-content",3,"actionClicked","dragElement","items","isCollapsed","selectedLanguage","localizedStrings"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),b("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(2,"lib-bimplus-floating-bar-header-content",2),b("actionClicked",function(a){return r.actionClicked.emit(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(3,"lib-bimplus-floating-bar-dragger",3),b("dragElement",function(a){return r.onDragElement(a)}),f()()),o&2&&(p("noBody",r.noBody)("isCollapsed",r.isCollapsed)("isFocused",r.isFocused)("resizeEnabled",!1)("focusSelector",r.focusSelectorId)("isVisible",!0)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("icon",r.icon)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("items",r.items)("isCollapsed",r.isCollapsed)("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings),d(),p("isCollapsed",r.isCollapsed))},dependencies:[N,Qi,qi,Zi,Yi,te],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}
17
+ `],encapsulation:3});let t=e;return t})();var hD=["*"],$g=(()=>{let e=class e extends ne{constructor(n){super(n),this.isCollapsed=!1}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-body"]],inputs:{isCollapsed:"isCollapsed"},standalone:!0,features:[z,S],ngContentSelectors:hD,decls:2,vars:1,consts:[["libDraggable","",1,"floating-panel__body",3,"ngClass"]],template:function(o,r){o&1&&(We(),m(0,"div",0),Ae(1),f()),o&2&&p("ngClass",r.isCollapsed?"hidden":"")},dependencies:[N,X,te]});let t=e;return t})();var Ug=t=>({visible:t}),bD=(t,e,i)=>({opaque:t,transparent:e,semiopaque:i}),_D=(t,e,i)=>({visible:t,invisible:e,semivisible:i}),vD=(t,e)=>({opaque:t,transparent:e}),yD=(t,e)=>({visible:t,invisible:e});function CD(t,e){if(t&1){let i=A();m(0,"div",8)(1,"div",9),R(2,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.clickedLayer.emit(o))}),E(3),R(4,"translate"),f(),m(5,"div",5),R(6,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.toggleOpacityOfLayer.emit(o))}),f(),m(7,"div",6),R(8,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.toggleVisibilityOfLayer.emit(o))}),f()()}if(t&2){let i=e.$implicit;d(),p("ngClass",we(18,Ug,i.isVisible))("title",L(2,10,i.name)),H("data-test","floating_bar_layer"+i.id),d(2),B(" ",L(4,12,i.name)," "),d(2),p("ngClass",nt(20,vD,i.isOpaque,!i.isOpaque))("title",L(6,14,"_Toggle opacity")),H("data-test","toggle_opacity_layer_"+i.id),d(2),p("ngClass",nt(23,yD,i.isVisible,!i.isVisible))("title",L(8,16,"_Toggle visibility")),H("data-test","toggle_visibility_layer_"+i.id)}}function wD(t,e){if(t&1){let i=A();m(0,"div")(1,"lib-expansion-panel",0)(2,"lib-expansion-panel-header")(3,"span",4),b("click",function(){let o=M(i).$implicit,r=g();return I(r.clickedModel.emit(o))}),E(4),f(),m(5,"lib-expansion-panel-header-actions")(6,"div",5),R(7,"translate"),b("click",function(){let o=M(i).$implicit,r=g();return I(r.toggleOpacityOfModel.emit(o))}),f(),m(8,"div",6),R(9,"translate"),b("click",function(){let o=M(i).$implicit,r=g();return I(r.toggleVisibilityOfModel.emit(o))}),f()()(),C(10,CD,9,26,"div",7),f()()}if(t&2){let i=e.$implicit,n=g();d(),p("expanded",n.expandedModels),d(2),p("ngClass",we(15,Ug,i.isVisible))("title",i.name),d(),B("",i.name," "),d(2),p("ngClass",lt(17,bD,i.isOpaque,!i.isOpaque,i.isSemiOpaque))("title",L(7,11,"_Toggle opacity")),H("data-test","toggle_opacity_model_"+i.id),d(2),p("ngClass",lt(21,_D,i.isVisible,!i.isVisible,i.isSemiVisible))("title",L(9,13,"_Toggle visibility")),H("data-test","toggle_visibility_model_"+i.id),d(2),p("ngForOf",i.layers)}}var Wg=(()=>{let e=class e extends ne{constructor(n){super(n),this.modelTreeRootTitle="_Divisions",this.modelTreeRootName="_Divisions",this.expandedModelTree=!1,this.expandedModels=!1,this.models=[],this.clickedModel=new y,this.clickedLayer=new y,this.toggleOpacityOfModel=new y,this.toggleOpacityOfLayer=new y,this.toggleVisibilityOfModel=new y,this.toggleVisibilityOfLayer=new y}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-project-models"]],inputs:{modelTreeRootTitle:"modelTreeRootTitle",modelTreeRootName:"modelTreeRootName",expandedModelTree:"expandedModelTree",expandedModels:"expandedModels",models:"models"},outputs:{clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[z,S],decls:7,vars:6,consts:[[1,"project-navigator-model-panel",3,"expanded"],[3,"title"],[1,"project-navigator-root-node"],[4,"ngFor","ngForOf"],[1,"project-navigator-model-node",3,"click","ngClass","title"],[1,"ui-icon-transparency","project-navigator-action-buttons",3,"click","ngClass","title"],[1,"ui-icon-visibility","project-navigator-action-buttons",3,"click","ngClass","title"],["class","project-navigator-layer-node",4,"ngFor","ngForOf"],[1,"project-navigator-layer-node"],[1,"project-navigator-layer-node-name",3,"click","ngClass","title"]],template:function(o,r){o&1&&(m(0,"lib-expansion-panel",0)(1,"lib-expansion-panel-header",1)(2,"span",2),E(3),R(4,"translate"),f(),O(5,"lib-expansion-panel-header-actions"),f(),C(6,wD,11,25,"div",3),f()),o&2&&(p("expanded",r.expandedModelTree),d(),p("title",r.modelTreeRootTitle),d(2),oe(L(4,4,r.modelTreeRootName)),d(3),p("ngForOf",r.models))},dependencies:[N,X,ve,Mn,In,Gi,te,Ie],styles:['@charset "UTF-8";.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.ui-icon46px[_ngcontent-%COMP%]{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon[_ngcontent-%COMP%]{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed[_ngcontent-%COMP%]{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque[_ngcontent-%COMP%]{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent[_ngcontent-%COMP%]{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible[_ngcontent-%COMP%]{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active[_ngcontent-%COMP%]{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible[_ngcontent-%COMP%]{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible[_ngcontent-%COMP%]{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}[_nghost-%COMP%]{background-color:var(--project-models-bkg-color, transparent);color:var(--project-models-color, #444444);font-family:var(--project-models-font-family, "Source Sans Pro", Helvetica, Arial, tahoma, sans-serif);font-size:var(--project-models-font-size, 1.3rem);font-weight:400}lib-expansion-panel[_ngcontent-%COMP%]{--expansion-panel-content-container-padding-left: var(--project-models-tree-node-indent, 1.6rem)}lib-expansion-panel-header-actions[_ngcontent-%COMP%]{display:flex;flex-direction:row}lib-expansion-panel-header[_ngcontent-%COMP%]{max-width:100%;flex:1}.project-navigator-action-buttons[_ngcontent-%COMP%]{width:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);background-position:center center;background-repeat:no-repeat;cursor:pointer;background-size:var(--project-models-action-icon-size, 1.8rem) var(--project-models-action-icon-size, 1.8rem);margin-left:.4rem}.project-navigator-layer-node[_ngcontent-%COMP%]{line-height:var(--project-models-node-line-height, 2.4rem);height:var(--project-models-node-line-height, 2.4rem);padding-left:var(--project-models-tree-node-indent, 1.6rem);display:flex;flex-direction:row;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.project-navigator-layer-node-name[_ngcontent-%COMP%]{flex:1;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-navigator-root-node[_ngcontent-%COMP%]{text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);font-weight:var(--project-models-root-node-font-weight, 700);font-size:var(--project-models-root-node-font-size, 1.4rem);max-width:100%;width:100%}.project-navigator-model-node[_ngcontent-%COMP%]{display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:var(--project-models-node-line-height, 2.4rem);max-width:100%}']});let t=e;return t})();var Gg=(()=>{let e=class e{constructor(){this.isPanelToolbarVisible=!1}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-panel-toolbar"]],inputs:{isPanelToolbarVisible:"isPanelToolbarVisible"},standalone:!0,features:[S],decls:1,vars:1,consts:[[1,"panel-toolbar",3,"ngClass"]],template:function(o,r){o&1&&O(0,"div",0),o&2&&p("ngClass",r.isPanelToolbarVisible?"":"hidden")},dependencies:[N,X],styles:[".panel-toolbar[_ngcontent-%COMP%]{height:3.2rem;display:flex;align-items:flex-end;padding-left:.8rem;flex-shrink:0}.panel-toolbar[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.panel-toolbar[_ngcontent-%COMP%] .tab-icons-container[_ngcontent-%COMP%]{width:95%}.underline-switcher__containerbox[_ngcontent-%COMP%], .underline-switcher__container[_ngcontent-%COMP%]{width:100%}"]});let t=e;return t})();var qg=(()=>{let e=class e extends ne{constructor(n){super(n),this.noBody=!1,this.isCollapsed=!1,this.left=600,this.top=600,this.icon="ui-icon-project-navigator",this.title="_Project_navigator",this.items=[],this.actionClicked=new y,this.isPanelToolbarVisible=!1,this.expandedModelTree=!1,this.expandedModels=!1,this.project={id:"",name:"",teamSlug:"",models:[]},this.clickedModel=new y,this.clickedLayer=new y,this.toggleOpacityOfModel=new y,this.toggleOpacityOfLayer=new y,this.toggleVisibilityOfModel=new y,this.toggleVisibilityOfLayer=new y}onLogoClicked(n){this.isCollapsed=!this.isCollapsed,n.stopPropagation()}onDragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-floating-bar-project-navigator"]],hostVars:4,hostBindings:function(o,r){o&2&&ke("left",r.left,"px")("top",r.top,"px")},inputs:{noBody:"noBody",isCollapsed:"isCollapsed",left:"left",top:"top",items:"items",isPanelToolbarVisible:"isPanelToolbarVisible",expandedModelTree:"expandedModelTree",expandedModels:"expandedModels",project:"project"},outputs:{actionClicked:"actionClicked",clickedModel:"clickedModel",clickedLayer:"clickedLayer",toggleOpacityOfModel:"toggleOpacityOfModel",toggleOpacityOfLayer:"toggleOpacityOfLayer",toggleVisibilityOfModel:"toggleVisibilityOfModel",toggleVisibilityOfLayer:"toggleVisibilityOfLayer"},standalone:!0,features:[K([P]),z,S],decls:7,vars:24,consts:[["id","project-navigator-fp-id",1,"project-navigator-fp","floating-panel",3,"selectedLanguage","localizedStrings","noBody","isCollapsed","resizeEnabled","isVisible"],[1,"floating-bar-header-logo",3,"logoClicked","dragElement","selectedLanguage","localizedStrings","icon","title","isCollapsed"],[1,"floating-bar-header-content",3,"actionClicked","dragElement","selectedLanguage","localizedStrings","items","isCollapsed"],[1,"floating-bar-dragger",3,"dragElement","isCollapsed"],[1,"floating-bar-body",3,"isCollapsed"],[3,"isPanelToolbarVisible"],[3,"clickedModel","clickedLayer","toggleOpacityOfModel","toggleOpacityOfLayer","toggleVisibilityOfModel","toggleVisibilityOfLayer","selectedLanguage","localizedStrings","models","modelTreeRootTitle","expandedModelTree","expandedModels"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-floating-bar",0)(1,"lib-bimplus-floating-bar-header-logo",1),b("logoClicked",function(a){return r.onLogoClicked(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(2,"lib-bimplus-floating-bar-header-content",2),b("actionClicked",function(a){return r.actionClicked.emit(a)})("dragElement",function(a){return r.onDragElement(a)}),f(),m(3,"lib-bimplus-floating-bar-dragger",3),b("dragElement",function(a){return r.onDragElement(a)}),f(),m(4,"lib-bimplus-floating-bar-body",4),O(5,"lib-bimplus-panel-toolbar",5),m(6,"lib-project-models",6),b("clickedModel",function(a){return r.clickedModel.emit(a)})("clickedLayer",function(a){return r.clickedLayer.emit(a)})("toggleOpacityOfModel",function(a){return r.toggleOpacityOfModel.emit(a)})("toggleOpacityOfLayer",function(a){return r.toggleOpacityOfLayer.emit(a)})("toggleVisibilityOfModel",function(a){return r.toggleVisibilityOfModel.emit(a)})("toggleVisibilityOfLayer",function(a){return r.toggleVisibilityOfLayer.emit(a)}),f()()()),o&2&&(p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("noBody",r.noBody)("isCollapsed",r.isCollapsed)("resizeEnabled",!1)("isVisible",!0),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("icon",r.icon)("title",r.title)("isCollapsed",r.isCollapsed),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("items",r.items)("isCollapsed",r.isCollapsed),d(),p("isCollapsed",r.isCollapsed),d(),p("isCollapsed",r.isCollapsed),d(),p("isPanelToolbarVisible",r.isPanelToolbarVisible),d(),p("selectedLanguage",r.selectedLanguage)("localizedStrings",r.localizedStrings)("models",r.project.models)("modelTreeRootTitle",r.project.name+" - "+r.project.teamSlug)("expandedModelTree",r.expandedModelTree)("expandedModels",r.expandedModels))},dependencies:[N,Qi,qi,Zi,Yi,$g,Gg,Wg,te],styles:[`@charset "UTF-8";.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.ui-icon46px{padding:5.6rem 0 .3rem;width:6rem;margin:-.1rem .3rem .6rem .1rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-position:center 1rem;background-repeat:no-repeat;background-size:4.2rem 4.2rem;cursor:pointer}.ui-icon18px{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move}.left-menu-icon{height:4rem;width:4rem;background-size:2.2rem 2.2rem;line-height:2.2rem;margin:0;padding:0;border-width:0}.ui-icon-isolation-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/IsolationMenuParams.svg")}.ui-icon-isolation-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/IsolationMenuParamsOrange.svg")}.ui-icon-hide-menu{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;background-image:url("./media/icon-hide-param-white.svg")}.ui-icon-hide-menu.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/icon-hide-param-orange.svg")}.ui-icon-project-navigator{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_white.svg")}.ui-icon-project-navigator.collapsed{width:2rem;color:#000;vertical-align:bottom;text-align:center;display:inline-block;background-repeat:no-repeat;background-size:2rem 2rem;cursor:move;cursor:pointer;width:4.2rem;background-image:url("./media/ProjectNavigation_20_orange.svg")}.ui-icon-transparency{background-repeat:no-repeat;background-position:center center}.ui-icon-transparency.opaque{background-image:url("./media/visibility_active.svg")}.ui-icon-transparency.opaque.semiopaque{background-image:url("./media/visibility_semiactive.svg")}.ui-icon-transparency.transparent{background-image:url("./media/visibility_inactive.svg")}.ui-icon-visibility.visible{background-image:url("./media/eye_active.svg")}.ui-icon-visibility.visible.active{background-color:#eb4b00}.ui-icon-visibility.visible.semivisible{background-image:url("./media/eye_semiactive.svg")}.ui-icon-visibility.invisible{background-image:url("./media/eye_inactive.svg");visibility:inherit!important}.ui-icon-checkbox-slider.visible{background-image:url("./media/ic_toggle_on_green.svg")}.ui-icon-checkbox-slider.visible.semivisible{background-image:url("./media/ic_toggle_on_light_green.svg")}.ui-icon-checkbox-slider.invisible{background-image:url("./media/ic_toggle_off_gray.svg");visibility:inherit!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.floating-bar-body{display:contents}.panel-background{background-color:#fffc;transition:background-color .5s}.panel-background:hover{background-color:#fff}.floating-panel{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fffc;transition:background-color .5s;pointer-events:none;position:relative;visibility:hidden;min-height:4.2rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"header-logo header-content dragger" "body body body";border-radius:10px}.floating-panel:hover{background-color:#fff}.floating-panel .hidden{display:none!important}.floating-panel.visible{visibility:initial}.floating-panel__header-logo,.floating-panel__header-content,.floating-panel__dragger,.floating-panel__body{pointer-events:auto}.floating-panel__header-logo{grid-area:header-logo;height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;cursor:pointer;overflow:hidden;border-top-left-radius:10px}.floating-panel__header-content{grid-area:header-content;width:auto;height:4.2rem;display:flex;align-items:center;overflow:hidden;border-top:thin solid #c3c3c3}.floating-panel__dragger{grid-area:dragger;cursor:move;height:4.2rem;width:3.2rem;background-size:2rem;background-position:center;border-top:thin solid #c3c3c3;border-right:thin solid #c3c3c3;border-top-right-radius:10px}.floating-panel__body{grid-area:body;display:flex;flex-direction:column;border-right:thin solid #c3c3c3;border-bottom:thin solid #c3c3c3;border-left:thin solid #c3c3c3;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.floating-panel__vertical-separator{border-left:solid .078125em #d4d4d4;margin-left:2px;margin-right:2px;width:2px;height:2.4rem}.floating-panel__resizerNE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;top:-.6rem}.floating-panel__resizerE{position:absolute;width:.6rem;height:calc(100% - 1.8rem);right:-.6rem}.floating-panel__resizerSE{position:absolute;width:1.8rem;height:1.8rem;right:-.6rem;bottom:-.6rem}.floating-panel__resizerS{position:absolute;height:.6rem;width:calc(100% - 1.8rem);bottom:-.6rem}.floating-panel.no-body .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.no-body .floating-panel__header-content{border-bottom:thin solid #c3c3c3}.floating-panel.no-body .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.floating-panel.collapsed{width:auto!important;height:auto!important}.floating-panel.collapsed .floating-panel__header-logo{border-bottom-left-radius:10px}.floating-panel.collapsed .floating-panel__dragger{border-bottom:thin solid #c3c3c3;border-bottom-right-radius:10px}.is-touch .floating-panel__resizerSE{width:2.8rem;height:2.8rem;right:-1.1rem;bottom:-1.1rem;background:url("./media/resize_handle_se.svg") no-repeat center center}.is-touch .floating-panel__resizerNE{width:2.8rem;height:2.8rem;right:-1.1rem;top:-1.1rem;background:url("./media/resize_handle_ne.svg") no-repeat center center}.is-touch .fp-block-item{height:3rem}.fp-block-icon{height:4.2rem;width:4.2rem;background-color:#444;background-position:center;background-size:2rem;border-top-left-radius:9px;border-bottom-left-radius:9px}.fp-block-icon-item{background-position:center center!important;background-repeat:no-repeat!important;background-size:2rem;width:3.6rem;cursor:pointer}.fp-block-icon-item.disabled{opacity:.19;cursor:default}.fp-block-item{text-align:center;height:2rem;color:#000;white-space:nowrap;padding-left:1rem;padding-right:1rem}.fp-block-combobox-item{text-align:left;min-width:8.6rem;height:auto}.fp-block-combobox-item-last{padding-right:.2rem}lib-project-models{margin-right:1.4rem}.project-navigator-fp{pointer-events:none;position:absolute;top:0;left:0}.project-navigator-fp .scene-selector{padding-left:.6rem;padding-right:.9rem;margin-bottom:.6rem}.project-navigator-fp .saved-scenes-select{margin-left:.6rem;margin-right:.6rem}.project-navigator-fp .scene-options{display:flex;flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center}.project-navigator-fp .scene-options .secondary-button{border:solid .1rem #444444!important}.project-navigator-fp .scene-options .only-icon-button{flex:1 1 auto}.project-navigator-fp .secondary-button{border:solid .1rem #444444!important}.project-navigator-fp .bim-item-refresh{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;background-size:2rem 2rem;cursor:pointer}.project-navigator-fp .bim-item-refresh.disabled{cursor:default}.project-navigator-fp.floating-panel{min-width:32.5rem;min-height:14rem;max-width:52.9rem}.project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.project-navigator-fp.floating-panel .floating-panel__body{padding-bottom:1.2rem;-webkit-user-select:none;user-select:none}.project-navigator-fp.floating-panel .floating-panel__body .bim-divisions-view .jstree-component{margin-top:0}.project-navigator-fp.floating-panel .floating-panel__header-content{justify-content:flex-end}.project-navigator-fp.floating-panel .ifc-export-container{height:3.2rem;width:3rem}.project-navigator-fp .model-topology-container{height:100%}.project-navigator-fp .model-topology-container.nodisplay{display:none}.is-touch .project-navigator-fp.floating-panel{min-width:27.5rem}.is-touch .project-navigator-fp.floating-panel.collapsed{min-width:auto;min-height:auto}.is-touch .project-navigator-fp.floating-panel .floating-panel__resizerNE{background:transparent}
18
+ `],encapsulation:3});let t=e;return t})();function xD(t,e){if(t&1){let i=A();m(0,"li",7),b("click",function(){let o=M(i).$implicit,r=g();return I(r._switchLanguage(o.symbol))}),m(1,"span"),E(2),f()()}if(t&2){let i=e.$implicit,n=g();p("ngClass",n.selectedLanguage===i.symbol?"selected":""),H("data-test","langmenu_item_"+i.text),d(2),oe(i.text)}}var Zg=(()=>{let e=class e{constructor(){this._languagesList=[{symbol:"cs",text:"\u010Ce\u0161tina"},{symbol:"de",text:"Deutsch"},{symbol:"en",text:"English (UK)"},{symbol:"us",text:"English (US)"},{symbol:"es",text:"Espa\xF1ol"},{symbol:"fr",text:"Fran\xE7ais"},{symbol:"it",text:"Italiano"},{symbol:"ru",text:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{symbol:"ro",text:"Romana"},{symbol:"tr",text:"T\xFCrk\xE7e"}],this.isTouch=!1,this.selectedLanguage="en",this.expandUp=!1,this._menuOpened=!1,this.bimplusLanguageSelected=new y}_switchLanguage(n){ae(this,"bimplusLanguageSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-language-menu"]],inputs:{isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedLanguage:"selectedLanguage",expandUp:[_.HasDecoratorInputTransform,"expandUp","expandUp",D]},outputs:{bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[fe,S],decls:7,vars:6,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],["data-test","language-menu-dropdown",1,"dropdown",3,"click","ngClass"],[1,"dropdown-toggle"],[1,"main-icon","icon-languages"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),b("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),C(6,xD,3,3,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",r._menuOpened?"open":"")("ngClass",r.isTouch?"is-touch":""),d(4),p("ngClass",r._menuOpened?"open":"")("ngClass",r.expandUp?"expand-up":""),d(),p("ngForOf",r._languagesList))},dependencies:[N,X,ve],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:#555;background-color:#e7e7e7}.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:#777;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:11.43em;padding:.5em 0 .57em;margin:0;font-size:.875em;list-style:none;background-color:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.4em;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:0 2.1em}.bimcomp-dropdown-menu li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-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:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu.expand-up{top:-24rem;right:-13.5rem}.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-languages{background:url("./media/bimplus_Components_Languages.svg") no-repeat center}
19
+ `],encapsulation:3});let t=e;return t})();var Yg=(t,e)=>e.id;function DD(t,e){if(t&1){let i=A();m(0,"div",4),R(1,"translate"),b("dblclick",function(o){M(i);let r=g(3);return I(r._menuItemIgnoreAction(o))})("click",function(o){M(i);let r=g().$implicit,s=g(2);return I(s._menuItemClicked(r,"normal",o))}),O(2,"div",5),m(3,"div",6),b("click",function(o){M(i);let r=g().$implicit,s=g(2);return I(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let i=g().$implicit,n=g(2);p("ngClass",n._getPrjItemClassAttributes(i,n.isTouch))("title",L(1,3,n._isDisabled(i)&&i.textIdDisabled?i.textIdDisabled:i.textId)),d(2),p("ngClass",n._getPrjIconClassAttributes(i))}}function MD(t,e){if(t&1&&C(0,DD,4,5,"div",3),t&2){let i=e.$implicit,n=g(2);$(0,n._isHidden(i)?-1:0)}}function ID(t,e){if(t&1&&Cn(0,MD,1,1,null,null,Yg),t&2){let i=g();wn(i._menuPrjList)}}function ED(t,e){if(t&1){let i=A();m(0,"div",4),R(1,"translate"),b("dblclick",function(o){M(i);let r=g(3);return I(r._menuItemIgnoreAction(o))})("click",function(o){M(i);let r=g().$implicit,s=g(2);return I(s._menuItemClicked(r,"normal",o))}),O(2,"div",5),m(3,"div",6),b("click",function(o){M(i);let r=g().$implicit,s=g(2);return I(s._menuItemClicked(r,"info",o))}),f()()}if(t&2){let i=g().$implicit,n=g(2);p("ngClass",n._getPrjItemClassAttributes(i,n.isTouch))("title",L(1,3,n._isDisabled(i)&&i.textIdDisabled?i.textIdDisabled:i.textId)),d(2),p("ngClass",n._getPrjIconClassAttributes(i))}}function kD(t,e){if(t&1&&C(0,ED,4,5,"div",3),t&2){let i=e.$implicit,n=g(2);$(0,!n._isHidden(i)&&(n.isCollapsed||i.action!=="processes")?0:-1)}}function SD(t,e){if(t&1&&Cn(0,kD,1,1,null,null,Yg),t&2){let i=g();wn(i._menuPrjList)}}function OD(t,e){t&1&&Xe(0)}function TD(t,e){if(t&1&&C(0,OD,1,0,"ng-container",13),t&2){g(2);let i=qe(1);p("ngTemplateOutlet",i)}}function PD(t,e){if(t&1&&(m(0,"div",7)(1,"div",8),O(2,"div",9),f(),m(3,"div",10),E(4),f()(),m(5,"div",11)(6,"div",12),C(7,TD,1,1,"ng-container"),f()()),t&2){let i=g();d(),p("ngStyle",i.prjImageOverlayStyle),d(),p("ngStyle",i.prjImageStyle),d(2),B(" ",i.projectName," "),d(),p("ngClass",i.showHorizontalMenuIcons?"":"hidden"),d(2),$(7,i.showHorizontalMenuIcons?7:-1)}}function AD(t,e){t&1&&Xe(0)}function FD(t,e){if(t&1&&C(0,AD,1,0,"ng-container",13),t&2){g(2);let i=qe(3);p("ngTemplateOutlet",i)}}function ND(t,e){t&1&&Xe(0)}function jD(t,e){if(t&1&&C(0,ND,1,0,"ng-container",13),t&2){g(2);let i=qe(1);p("ngTemplateOutlet",i)}}function RD(t,e){if(t&1){let i=A();m(0,"a",14),R(1,"translate"),b("dblclick",function(){M(i);let o=g();return I(o._projectMenuItemClicked("prjimagedblclick","normal"))})("click",function(){M(i);let o=g();return I(o._projectMenuItemClicked("prjimageclick","normal"))}),m(2,"div",15),O(3,"div",16),m(4,"div",17),C(5,FD,1,1,"ng-container"),f(),m(6,"div",18),E(7),f()()(),m(8,"div",11)(9,"div",12),C(10,jD,1,1,"ng-container"),f()()}if(t&2){let i=g();ge("href",i.projectExplorerUrl,Vo),p("ngStyle",i.prjImageOverlayStyle)("title",L(1,10,"_ModelThumbnailTooltip")),d(2),p("ngStyle",i.prjImageStyle),d(),p("ngClass",i.hideMenuIcons||i.showHorizontalMenuIcons?"hidden":""),d(),p("ngClass",i.hideMenuIcons||i.showHorizontalMenuIcons?"hidden":""),d(),$(5,!i.hideMenuIcons&&!i.showHorizontalMenuIcons?5:-1),d(2),B(" ",i.projectName," "),d(),p("ngClass",i.showHorizontalMenuIcons?"":"hidden"),d(2),$(10,i.showHorizontalMenuIcons?10:-1)}}var aa=(()=>{let e=class e extends ne{constructor(n){super(n),this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.isCollapsed=!1,this.isMiniMode=!1,this.isTouch=!1,this.hideMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.prjListThumbnail=[],this.prjList=[],this._menuPrjList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-pm-icon-users",textId:"_Project_members_tooltip",textIdDisabled:"_Insufficient rights title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-pm-icon-models",textId:"_Models_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-pm-icon-documents",textId:"_Documents_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-pm-icon-project-settings",textId:"_Project_settings_tooltip",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-pm-icon-processes",textId:"_Approvals",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}get prjImgUrl(){return this.projectImageUrl?this.projectImageUrl:"./assets/images/bimplus_Components_Project_Pic_Default.png"}get backgroundValue(){return`linear-gradient(rgba(245, 245, 245, 0.8),rgba(245, 245, 245, 0.5) 25%, 75%, rgba(245, 245, 245, 0.8)), url(${this.projectImageUrl?this.projectImageUrl:"./assets/images/bimplus_Components_Project_Pic_Default.png"})`}get prjImageOverlayStyle(){return{background:`${this.backgroundValue}`}}get prjImageStyle(){return{background:`url(${this.prjImgUrl})`}}_isHidden(n){if(n){let o=`${n.action?n.action:n.id}Visible`;return!this[o]}return!1}_isDisabled(n){if(n){let o=`${n.action?n.action:n.id}Disabled`;return!!this[o]}return!1}_projectMenuItemClicked(n,o){console.log(n,o)}_menuItemClicked(n,o,r){if(r&&(r.stopPropagation(),r.preventDefault()),console.log(n,o,r),o!="info"&&this._isDisabled(n))return;let s=n.action;ae(this,"bimplusProjectMenuClicked",{action:s,type:o})}_menuItemIgnoreAction(n){n&&(n.stopPropagation(),n.preventDefault())}_getPrjItemClassAttributes(n,o){return`${this._isDisabled(n)?"disabled":""} ${o?"":"hover-show-info"}`}_getPrjIconClassAttributes(n){return`${n.class} ${n.action===this.projectActiveItem?"active ":""} ${this._isDisabled(n)?"disabled":""}`}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-project-menu"]],inputs:{projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[_.HasDecoratorInputTransform,"projectmembersDisabled","projectmembersDisabled",D],modelsDisabled:[_.HasDecoratorInputTransform,"modelsDisabled","modelsDisabled",D],documentsDisabled:[_.HasDecoratorInputTransform,"documentsDisabled","documentsDisabled",D],projectsettingsDisabled:[_.HasDecoratorInputTransform,"projectsettingsDisabled","projectsettingsDisabled",D],processesDisabled:[_.HasDecoratorInputTransform,"processesDisabled","processesDisabled",D],projectmembersVisible:[_.HasDecoratorInputTransform,"projectmembersVisible","projectmembersVisible",D],modelsVisible:[_.HasDecoratorInputTransform,"modelsVisible","modelsVisible",D],documentsVisible:[_.HasDecoratorInputTransform,"documentsVisible","documentsVisible",D],projectsettingsVisible:[_.HasDecoratorInputTransform,"projectsettingsVisible","projectsettingsVisible",D],processesVisible:[_.HasDecoratorInputTransform,"processesVisible","processesVisible",D],isCollapsed:[_.HasDecoratorInputTransform,"isCollapsed","isCollapsed",D],isMiniMode:[_.HasDecoratorInputTransform,"isMiniMode","isMiniMode",D],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],hideMenuIcons:[_.HasDecoratorInputTransform,"hideMenuIcons","hideMenuIcons",D],showHorizontalMenuIcons:[_.HasDecoratorInputTransform,"showHorizontalMenuIcons","showHorizontalMenuIcons",D]},standalone:!0,features:[K([P]),fe,z,S],decls:7,vars:4,consts:[["prjList",""],["prjListThumbnail",""],[1,"bim-pm-prj-container",3,"ngClass"],[1,"bim-pm-prj-item",3,"ngClass","title"],[1,"bim-pm-prj-item",3,"dblclick","click","ngClass","title"],[1,"bim-pm-prj-icon",3,"ngClass"],[1,"bim-pm-app-item-info","bim-pm-icon","bim-pm-icon-info",3,"click"],[1,"bim-pm-prj-details-mini"],[1,"bim-pm-prj-image-bkg-mini",3,"ngStyle"],[1,"bim-pm-prj-image-thumbnail",3,"ngStyle"],[1,"bim-pm-prj-name-mini"],[1,"bim-pm-prj-items-horizontal",3,"ngClass"],[1,"bim-pm-prj-items-list"],[4,"ngTemplateOutlet"],[1,"bim-pm-prj-details",3,"dblclick","click","href","ngStyle","title"],[1,"bim-pm-prj-image",3,"ngStyle"],[1,"bim-pm-prj-items-overlay",3,"ngClass"],[1,"bim-pm-prj-items-list",3,"ngClass"],[1,"bim-pm-prj-name"]],template:function(o,r){o&1&&(C(0,ID,2,0,"ng-template",null,0,ht)(2,SD,2,0,"ng-template",null,1,ht),m(4,"div",2),C(5,PD,8,5)(6,RD,11,12),f()),o&2&&(d(4),p("ngClass",r.isCollapsed?"collapsed":"")("ngClass",r.isMiniMode?"mini-mode":"")("ngClass",r.isTouch?"is-touch":""),d(),$(5,r.isMiniMode&&!r.isCollapsed?5:6))},dependencies:[N,X,ln,Gf,te,Ie],styles:[`.bim-pm-prj-container{display:flex;flex-direction:column;justify-content:flex-start;background-color:#f5f5f5}.bim-pm-prj-container:not(.collapsed).mini-mode{border-bottom:thin solid #E1E1E1}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-horizontal{padding-left:.5em;padding-bottom:.5em}.bim-pm-prj-container:not(.collapsed).mini-mode .bim-pm-prj-items-list{height:2.3em}.bim-pm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em}div:not(.collapsed) .bim-pm-prj-details{height:10em}div:not(.collapsed) .bim-pm-prj-details .bim-pm-prj-image{height:10em}.bim-pm-prj-details{color:inherit;background-size:100% auto!important;background-color:#f5f5f5;background-repeat:no-repeat!important;overflow:hidden}.bim-pm-prj-details .bim-pm-prj-image{background-size:auto 10em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;display:flex;flex-direction:column;position:relative;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list{width:4.6875em;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;flex:1 0 auto;position:absolute}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item{padding-top:.88em;width:100%;display:flex;justify-content:space-around;cursor:pointer}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-item:first-child{padding-top:.43em}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin-left:.875em;margin-right:auto}.bim-pm-prj-details .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-details .bim-pm-prj-items-list .hover-show-info:hover .bim-pm-app-item-info{display:block}.bim-pm-prj-details .bim-pm-prj-name{background-color:#ffe6da;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:1em;font-weight:400;padding-left:.875em;padding-top:.375em;padding-right:1rem;height:1.625em;box-sizing:content-box;position:absolute;bottom:0;left:0;right:0}.bim-pm-prj-details .bim-pm-prj-items-overlay{position:absolute;background-color:#fffc;width:2.8125em;height:calc(100% - 2em)}.bim-pm-prj-details .bim-pm-prj-items-overlay.hidden{display:none}.bim-pm-prj-items-horizontal{border-bottom:1px solid #E6E6E6}.bim-pm-prj-items-horizontal.hidden{display:none}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list{width:auto;height:3.44em;position:relative;display:inline-flex;flex-direction:row;justify-content:center;align-items:center}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em;margin:auto}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item{margin-left:.875em;margin-right:auto;cursor:pointer}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item~.bim-pm-prj-item{margin-left:1.13em}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-prj-item.disabled{cursor:default}.bim-pm-prj-items-horizontal .bim-pm-prj-items-list .bim-pm-app-item-info{display:none}.bim-pm-prj-container.collapsed .bim-pm-prj-details,.bim-pm-prj-container.collapsed .bim-pm-prj-image{background:none transparent!important;min-height:7.589em}.bim-pm-prj-container.collapsed .bim-pm-prj-items-list{position:static}.bim-pm-prj-container.collapsed .bim-pm-prj-items-overlay,.bim-pm-prj-container.collapsed .bim-pm-prj-name,.bim-pm-prj-container.collapsed .bim-pm-app-item-details span{display:none}.bim-pm-prj-details-mini{display:grid;grid-template-columns:2.25em auto;grid-template-rows:min-content;row-gap:.4em;grid-gap:.8em;margin:.5em .9em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini{grid-column:1;grid-row:1;width:2.25em;height:2.25em;background-size:auto 2.25em!important;background-position:center center!important;background-repeat:no-repeat!important;background-origin:padding-box!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-image-bkg-mini .bim-pm-prj-image-thumbnail{width:2.25em;height:2.25em;background-size:auto 2.25em!important;border-radius:.3em}.bim-pm-prj-details-mini .bim-pm-prj-name-mini{font-weight:700;grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;align-self:center}.bim-pm-prj-items-list.hidden{display:none}.bim-pm-icon-users{background:url("./media/bimplus_Components_Users.svg") no-repeat center}.bim-pm-icon-users.active{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.bim-pm-icon-users.disabled{background:url("./media/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-pm-icon-models{background:url("./media/bimplus_Components_Models.svg") no-repeat center}.bim-pm-icon-models.active{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.bim-pm-icon-models.disabled{background:url("./media/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-pm-icon-documents{background:url("./media/bimplus_Components_Documents.svg") no-repeat center}.bim-pm-icon-documents.active{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-pm-icon-documents.disabled{background:url("./media/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-pm-icon-processes{background:url("./media/bimplus_Components_ISO.svg") no-repeat center}.bim-pm-icon-processes.active{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-pm-icon-processes.disabled{background:url("./media/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-pm-icon-project-settings{background:url("./media/bimplus_Components_Settings.svg") no-repeat center}.bim-pm-icon-project-settings.active{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-pm-icon-project-settings.disabled{background:url("./media/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-pm-icon-shop{background:url("./media/bimplus_Components_Shop.svg") no-repeat center}.bim-pm-icon-info{background:url("./media/bimplus_Components_Info.svg") no-repeat center}.bim-pm-icon-info:hover{background:url("./media/bimplus_Components_Info_Active.svg") no-repeat center}
20
+ `],encapsulation:3});let t=e;return t})();var wd=t=>({$implicit:t});function LD(t,e){if(t&1&&O(0,"div",9),t&2){let i=g().$implicit;Bo(i.item.class),p("id",i.item.id)}}function VD(t,e){if(t&1){let i=A();m(0,"div",10),R(1,"translate"),m(2,"div",11),b("click",function(o){M(i);let r=g().$implicit,s=g();return I(s._mainMenuItemClicked(r.item,"normal",o))}),O(3,"div",12),m(4,"span"),E(5),R(6,"translate"),f()(),m(7,"div",13),b("click",function(o){M(i);let r=g().$implicit,s=g();return I(s._mainMenuItemClicked(r.item,"info",o))}),f()()}if(t&2){let i=g().$implicit,n=g();p("id",i.item.id)("ngClass",n.isTouch?"":"hover-show-info"+(i.active?"active ":" ")+(i.disabled?"disabled ":" ")+(i.clickable?" ":"not-clickable ")+(i.selected?"selected ":" "))("title",i.disabled?L(1,6,i.item.disabledTitle):""),d(2),p("ngClass",i.clickable?"":"not-clickable"),d(),p("ngClass",i.item.class+(i.active?" active":"")+(i.disabled?" disabled ":"")),d(2),oe(L(6,8,i.isDisabled&&i.item.textIdDisabled!==""?i.item.textIdDisabled:i.item.textId))}}function BD(t,e){if(t&1&&C(0,LD,1,3,"div",8)(1,VD,8,10),t&2){let i=e.$implicit;$(0,i.item.type==="divider"?0:1)}}function zD(t,e){t&1&&Xe(0)}function HD(t,e){if(t&1&&C(0,zD,1,0,"ng-container",14),t&2){let i=g(),n=qe(1);p("ngTemplateOutlet",n)("ngTemplateOutletContext",we(2,wd,i._getContextData(i._openPrjBtn,i.projectActiveItem==="projectlist",i._isDisabled(i._openPrjBtn),!0,i.projectActiveItem==="projectlist")))}}function $D(t,e){if(t&1&&O(0,"lib-bimplus-project-menu",3),t&2){let i=g();ge("projectName",i.projectName),ge("projectImageUrl",i.projectImageUrl),ge("projectExplorerUrl",i.projectExplorerUrl),ge("projectActiveItem",i.projectActiveItem),ge("projectmembersDisabled",i.projectmembersDisabled),ge("modelsDisabled",i.modelsDisabled),ge("documentsDisabled",i.documentsDisabled),ge("projectsettingsDisabled",i.projectsettingsDisabled),ge("processesDisabled",i.processesDisabled),ge("projectmembersVisible",i.projectmembersVisible),ge("modelsVisible",i.modelsVisible),ge("documentsVisible",i.documentsVisible),ge("projectsettingsVisible",i.projectsettingsVisible),ge("processesVisible",i.processesVisible),ge("isCollapsed",i.isCollapsed),ge("isMiniMode",i.isTouch),ge("isTouch",i.isTouch),ge("hideMenuIcons",i.hideProjectMenuIcons),ge("showHorizontalMenuIcons",i.showHorizontalMenuIcons)}}function UD(t,e){t&1&&Xe(0)}function WD(t,e){if(t&1&&(m(0,"div"),C(1,UD,1,0,"ng-container",14),f()),t&2){let i=e.$implicit,n=g(),o=qe(1);d(),p("ngTemplateOutlet",o)("ngTemplateOutletContext",we(2,wd,n._getContextData(i,!n._isSubscribed(i),n._isDisabled(i),n._isClickable(i),n.menuActiveItem===i.action)))}}function GD(t,e){t&1&&Xe(0)}function qD(t,e){if(t&1&&(m(0,"div"),C(1,GD,1,0,"ng-container",14),f()),t&2){let i=e.$implicit,n=g(),o=qe(1);d(),p("ngTemplateOutlet",o)("ngTemplateOutletContext",we(2,wd,n._getContextData(i,n.footerActiveItem===i.action,n._isDisabled(i),!0,!1)))}}var Qg=(()=>{let e=class e extends ne{constructor(n){super(n),this.isEmbedded=!1,this.isTouch=!1,this.isIpadApp=!1,this.isDev=!1,this.isStage=!1,this.hideProjectMenuIcons=!1,this.showHorizontalMenuIcons=!1,this.projectName="",this.projectImageUrl="",this.projectExplorerUrl="",this.projectActiveItem="",this.projectmembersDisabled=!1,this.modelsDisabled=!1,this.documentsDisabled=!1,this.projectsettingsDisabled=!1,this.processesDisabled=!1,this.footerActiveItem="",this.menuActiveItem="",this.isCollapsed=!1,this.showOverlay=!1,this.teammembersSubscribed=!1,this.propertymanagerSubscribed=!1,this.sciaSubscribed=!1,this.connexisSubscribed=!1,this.openProjectDisabled=!1,this.bimexplorerDisabled=!1,this.sciaDisabled=!1,this.connexisDisabled=!1,this.teammembersDisabled=!1,this.propertymanagerDisabled=!1,this.shopDisabled=!1,this.openProjectVisible=!0,this.bimplusProjectMenuVisible=!0,this.projectmembersVisible=!0,this.modelsVisible=!0,this.documentsVisible=!0,this.projectsettingsVisible=!0,this.processesVisible=!0,this.bimexplorerVisible=!0,this.sciaVisible=!0,this.connexisVisible=!0,this.teammembersVisible=!0,this.propertymanagerVisible=!0,this.shopVisible=!0,this.dividerprojectmanagementVisible=!0,this.dividerappsVisible=!0,this.bimplusMainMenuClicked=new y,this.bimplusMainMenuOverlayClicked=new y,this._openPrjBtn={action:"openProject",id:"portalSelectProjectBtn",type:"",class:"bim-mm-icon-folder",textId:"_Portal_Menu_Open_Project",textIdDisabled:"_Portal_Menu_Open_Project",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},this.contextData={item:"haha",active:!0,disabled:!0,clickable:!0,selected:!0},this.appsList=[{action:"projectmembers",id:"portalBimUsers",type:"",class:"bim-mm-icon-users",textId:"_projectStatisticsMembers",textIdDisabled:"_projectStatisticsMembers",disabledTitle:"_Insufficient rights title",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"models",id:"portalBimModels",type:"",class:"bim-mm-icon-models",textId:"_Divisions",textIdDisabled:"_Divisions",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"documents",id:"portalBimDocuments",type:"",class:"bim-mm-icon-documents",textId:"_Files",textIdDisabled:"_Files",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"projectsettings",id:"portalBimProjectSettings",type:"",class:"bim-mm-icon-project-settings",textId:"_Settings",textIdDisabled:"_Settings",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"processes",id:"portalBimProcesses",type:"",class:"bim-mm-icon-processes",textId:"_Approvals",textIdDisabled:"_Approvals",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"",id:"dividerprojectmanagement",type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"bimexplorer",id:"portalBimViewerBtn",type:"",class:"bim-mm-icon-bim-explorer",textId:"_Portal_Menu_BIM_Explorer",textIdDisabled:"_Portal_Menu_BIM_Explorer",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"cloudviewer",id:"portalCloudViewerBtn",type:"",class:"bim-mm-icon-cloud-viewer",textId:"_Cloud_viewer_title",textIdDisabled:"_Cloud_viewer_title",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"connexis",id:"portalConnexisBtn",type:"",class:"bim-mm-icon-connexis",textId:"_Connexis",textIdDisabled:"_Connexis",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"scia",id:"portalBimSCIA",type:"",class:"bim-mm-icon-scia",textId:"_Scia",textIdDisabled:"_Scia",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:"noProjectNoSubscription"},{action:"",id:"dividerapps",type:"divider",class:"bim-mm-app-item-divider",textId:"",textIdDisabled:"",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""},{action:"teammembers",id:"portalTeamManagementBtn",type:"",class:"bim-mm-icon-team-members",textId:"_Portal_Menu_Team_Members",textIdDisabled:"_Portal_Menu_Team_Members",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""},{action:"propertymanager",id:"portalPropertyManagerBtn",type:"",class:"bim-mm-icon-property-manager",textId:"_Portal_Menu_Properties",textIdDisabled:"_Portal_Menu_Properties",disabledTitle:"",checkSubscription:!0,devOrStageOnly:!1,clickPolicy:""}],this._menuFooterList=[{action:"shop",id:"portalShopBtn",type:"",class:"bim-mm-icon-shop",textId:"_Shop",textIdDisabled:"_Shop",disabledTitle:"",checkSubscription:!1,devOrStageOnly:!1,clickPolicy:""}]}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}get footerList(){return this._menuFooterList.filter(n=>!(!this._isSubscribed(n)||this._isHidden(n)))}_isSubscribed(n){if(n.checkSubscription){let o=`${n.action}Subscribed`;return!!this[o]}return!0}_isClickable(n){return n.clickPolicy==="noProjectNoSubscription"?this.projectName!=="":!0}_isHidden(n){if(n){let o=`${n.action?n.action:n.id}Visible`;return!this[o]}return!1}_isDisabled(n){let o=`${n.action}Disabled`;return!!this[o]}_getContextData(n,o,r,s,a){return{item:n,active:o,disabled:r,clickable:s,selected:a}}_overlayClicked(){ae(this,"bimplusMainMenuOverlayClicked")}_mainMenuItemClicked(n,o,r){if(r&&(r.stopPropagation(),r.preventDefault()),o!="info"&&this._isDisabled(n))return;let s=n.action;ae(this,"bimplusMainMenuClicked",{action:s,type:o})}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-main-menu"]],inputs:{isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],isIpadApp:[_.HasDecoratorInputTransform,"isIpadApp","isIpadApp",D],isDev:[_.HasDecoratorInputTransform,"isDev","isDev",D],isStage:[_.HasDecoratorInputTransform,"isStage","isStage",D],hideProjectMenuIcons:[_.HasDecoratorInputTransform,"hideProjectMenuIcons","hideProjectMenuIcons",D],showHorizontalMenuIcons:[_.HasDecoratorInputTransform,"showHorizontalMenuIcons","showHorizontalMenuIcons",D],projectName:"projectName",projectImageUrl:"projectImageUrl",projectExplorerUrl:"projectExplorerUrl",projectActiveItem:"projectActiveItem",projectmembersDisabled:[_.HasDecoratorInputTransform,"projectmembersDisabled","projectmembersDisabled",D],modelsDisabled:[_.HasDecoratorInputTransform,"modelsDisabled","modelsDisabled",D],documentsDisabled:[_.HasDecoratorInputTransform,"documentsDisabled","documentsDisabled",D],projectsettingsDisabled:[_.HasDecoratorInputTransform,"projectsettingsDisabled","projectsettingsDisabled",D],processesDisabled:[_.HasDecoratorInputTransform,"processesDisabled","processesDisabled",D],footerActiveItem:"footerActiveItem",menuActiveItem:"menuActiveItem",isCollapsed:[_.HasDecoratorInputTransform,"isCollapsed","isCollapsed",D],showOverlay:[_.HasDecoratorInputTransform,"showOverlay","showOverlay",D],teammembersSubscribed:[_.HasDecoratorInputTransform,"teammembersSubscribed","teammembersSubscribed",D],propertymanagerSubscribed:[_.HasDecoratorInputTransform,"propertymanagerSubscribed","propertymanagerSubscribed",D],sciaSubscribed:[_.HasDecoratorInputTransform,"sciaSubscribed","sciaSubscribed",D],connexisSubscribed:[_.HasDecoratorInputTransform,"connexisSubscribed","connexisSubscribed",D],openProjectDisabled:[_.HasDecoratorInputTransform,"openProjectDisabled","openProjectDisabled",D],bimexplorerDisabled:[_.HasDecoratorInputTransform,"bimexplorerDisabled","bimexplorerDisabled",D],sciaDisabled:[_.HasDecoratorInputTransform,"sciaDisabled","sciaDisabled",D],connexisDisabled:[_.HasDecoratorInputTransform,"connexisDisabled","connexisDisabled",D],teammembersDisabled:[_.HasDecoratorInputTransform,"teammembersDisabled","teammembersDisabled",D],propertymanagerDisabled:[_.HasDecoratorInputTransform,"propertymanagerDisabled","propertymanagerDisabled",D],shopDisabled:[_.HasDecoratorInputTransform,"shopDisabled","shopDisabled",D],openProjectVisible:[_.HasDecoratorInputTransform,"openProjectVisible","openProjectVisible",D],bimplusProjectMenuVisible:[_.HasDecoratorInputTransform,"bimplusProjectMenuVisible","bimplusProjectMenuVisible",D],projectmembersVisible:[_.HasDecoratorInputTransform,"projectmembersVisible","projectmembersVisible",D],modelsVisible:[_.HasDecoratorInputTransform,"modelsVisible","modelsVisible",D],documentsVisible:[_.HasDecoratorInputTransform,"documentsVisible","documentsVisible",D],projectsettingsVisible:[_.HasDecoratorInputTransform,"projectsettingsVisible","projectsettingsVisible",D],processesVisible:[_.HasDecoratorInputTransform,"processesVisible","processesVisible",D],bimexplorerVisible:[_.HasDecoratorInputTransform,"bimexplorerVisible","bimexplorerVisible",D],sciaVisible:[_.HasDecoratorInputTransform,"sciaVisible","sciaVisible",D],connexisVisible:[_.HasDecoratorInputTransform,"connexisVisible","connexisVisible",D],teammembersVisible:[_.HasDecoratorInputTransform,"teammembersVisible","teammembersVisible",D],propertymanagerVisible:[_.HasDecoratorInputTransform,"propertymanagerVisible","propertymanagerVisible",D],shopVisible:[_.HasDecoratorInputTransform,"shopVisible","shopVisible",D],dividerprojectmanagementVisible:[_.HasDecoratorInputTransform,"dividerprojectmanagementVisible","dividerprojectmanagementVisible",D],dividerappsVisible:[_.HasDecoratorInputTransform,"dividerappsVisible","dividerappsVisible",D]},outputs:{bimplusMainMenuClicked:"bimplusMainMenuClicked",bimplusMainMenuOverlayClicked:"bimplusMainMenuOverlayClicked"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:11,vars:6,consts:[["appItemContent",""],[1,"bim-mm-wrapper",3,"click","ngClass"],[1,"bim-mm-container"],[3,"projectName","projectImageUrl","projectExplorerUrl","projectActiveItem","projectmembersDisabled","modelsDisabled","documentsDisabled","projectsettingsDisabled","processesDisabled","projectmembersVisible","modelsVisible","documentsVisible","projectsettingsVisible","processesVisible","isCollapsed","isMiniMode","isTouch","hideMenuIcons","showHorizontalMenuIcons"],[3,"ngClass"],[1,"bim-mm-apps-list"],[4,"ngFor","ngForOf"],[1,"bim-mm-footer-container"],[1,"bim-mm-app-item",3,"class","id"],[1,"bim-mm-app-item",3,"id"],[1,"bim-mm-app-item",3,"id","ngClass","title"],[1,"bim-mm-app-item-details",3,"click","ngClass"],[1,"bim-mm-icon",3,"ngClass"],[1,"bim-mm-app-item-info","bim-mm-icon","bim-mm-icon-info",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(o,r){if(o&1){let s=A();C(0,BD,2,1,"ng-template",null,0,ht),m(2,"div",1),b("click",function(){return M(s),I(r._overlayClicked())}),m(3,"div",2),C(4,HD,1,4,"ng-container")(5,$D,1,19,"lib-bimplus-project-menu",3),m(6,"div",4)(7,"div",5),C(8,WD,2,4,"div",6),f(),m(9,"div",7),C(10,qD,2,4,"div",6),f()()()()}o&2&&(d(2),p("ngClass",r.showOverlay?"bim-mm-overlay":""),d(2),$(4,r._isHidden(r._openPrjBtn)?-1:4),d(),$(5,r.bimplusProjectMenuVisible?5:-1),d(),p("ngClass",r.appsList.length||r.footerList.length?"bim-mm-apps-container":""),d(2),p("ngForOf",r.appsList),d(2),p("ngForOf",r.footerList))},dependencies:[N,X,ve,ln,te,Ie,aa],styles:[`.bim-mm-container,.bim-mm-apps-container,.bim-mm-footer-container{display:flex;flex-direction:column;justify-content:flex-start}.bim-mm-wrapper{height:100%;font-size:1.6rem}.bim-mm-overlay{position:relative;height:100%;width:100vw;z-index:1;background-color:#0000004d}.bim-mm-icon{flex-shrink:0;display:inline-block;vertical-align:middle;width:1.13em;height:1.13em;background-size:1.13em 1.13em!important}.bim-mm-app-item{display:flex;flex-direction:row;justify-content:space-between;align-items:center;cursor:pointer;line-height:2em;min-height:2.5em;position:relative}.bim-mm-app-item.disabled{cursor:default;color:#d3d3d3}.bim-mm-app-item .bim-mm-app-item-details{display:flex;align-items:center;width:100%}.bim-mm-app-item .bim-mm-app-item-info{position:absolute;right:.375em;display:none}.bim-mm-app-item .not-clickable{pointer-events:none}.bim-mm-app-item-divider{width:100%;height:1px;min-height:1px;border-bottom:1px solid #E6E6E6;margin-top:.75em;margin-bottom:.75em}.hover-show-info:hover{background-color:#fff1eb}.hover-show-info:hover .bim-mm-app-item-info{display:block}.hover-show-info.selected,.bim-mm-app-item.selected{color:#fe5000}.hover-show-info.selected .bim-mm-icon-bim-explorer,.bim-mm-app-item.selected .bim-mm-icon-bim-explorer{background:url("./media/bimplus_Components_BIM_Explorer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-cloud-viewer,.bim-mm-app-item.selected .bim-mm-icon-cloud-viewer{background:url("./media/bimplus_Components_IFC_viewer_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-scia,.bim-mm-app-item.selected .bim-mm-icon-scia{background:url("./media/bimplus_Components_SCIA_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-connexis,.bim-mm-app-item.selected .bim-mm-icon-connexis{background:url("./media/bimplus_Components_Connexis_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-users,.bim-mm-app-item.selected .bim-mm-icon-users{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-models,.bim-mm-app-item.selected .bim-mm-icon-models{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-documents,.bim-mm-app-item.selected .bim-mm-icon-documents{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-project-settings,.bim-mm-app-item.selected .bim-mm-icon-project-settings{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-processes,.bim-mm-app-item.selected .bim-mm-icon-processes{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-team-members,.bim-mm-app-item.selected .bim-mm-icon-team-members{background:url("./media/bimplus_Components_Team_Members_Active.svg") no-repeat center}.hover-show-info.selected .bim-mm-icon-property-manager,.bim-mm-app-item.selected .bim-mm-icon-property-manager{background:url("./media/bimplus_Components_Property_Manager_Active.svg") no-repeat center}.bim-mm-footer-container .bim-mm-app-item.active{background-color:#ffd5c4}#portalSelectProjectBtn{padding:.36em 0 .52em;line-height:2em;font-size:1em;background-color:#fff}#portalSelectProjectBtn .bim-mm-icon{box-sizing:border-box;width:2.8125em;margin:0 0 0 .0625em}#portalSelectProjectBtn .bim-mm-app-item-info{width:1.13em;margin-right:.375em}#portalSelectProjectBtn .bim-mm-app-item-details span{font-weight:600;color:#444;text-transform:capitalize}#portalSelectProjectBtn.disabled .bim-mm-app-item-details span{font-weight:600;color:#d3d3d3}#portalSelectProjectBtn.selected .bim-mm-app-item-details span{font-weight:600;color:#fe5000}#portalTeamManagementBtn,#portalPropertyManagerBtn{text-transform:capitalize}#portalShopBtn .bim-mm-app-item-info,#portalBimProcesses .bim-mm-app-item-info,#portalCloudViewerBtn .bim-mm-app-item-info,#portalConnexisBtn .bim-mm-app-item-info{display:none}.bim-mm-container{background-color:#f5f5f5;width:15.31em;min-height:100%;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.bim-mm-apps-container{justify-content:space-between;background-color:#f5f5f5;flex:1 0 auto;margin-top:.5em}.bim-mm-apps-container .bim-mm-icon{margin:0 .8125em 0 .9375em}.bim-mm-icon-users{background:url("./media/bimplus_Components_Users.svg") no-repeat center}.bim-mm-icon-users.active{background:url("./media/bimplus_Components_Users_Active.svg") no-repeat center}.bim-mm-icon-users.disabled{background:url("./media/bimplus_Components_Users_Disabled.svg") no-repeat center}.bim-mm-icon-models{background:url("./media/bimplus_Components_Models.svg") no-repeat center}.bim-mm-icon-models.active{background:url("./media/bimplus_Components_Models_Active.svg") no-repeat center}.bim-mm-icon-models.disabled{background:url("./media/bimplus_Components_Models_Disabled.svg") no-repeat center}.bim-mm-icon-documents{background:url("./media/bimplus_Components_Documents.svg") no-repeat center}.bim-mm-icon-documents.active{background:url("./media/bimplus_Components_Documents_Active.svg") no-repeat center}.bim-mm-icon-documents.disabled{background:url("./media/bimplus_Components_Documents_Disabled.svg") no-repeat center}.bim-mm-icon-project-settings{background:url("./media/bimplus_Components_Settings.svg") no-repeat center}.bim-mm-icon-project-settings.active{background:url("./media/bimplus_Components_Setting_Active.svg") no-repeat center}.bim-mm-icon-project-settings.disabled{background:url("./media/bimplus_Components_Settings_Disabled.svg") no-repeat center}.bim-mm-icon-processes{background:url("./media/bimplus_Components_ISO.svg") no-repeat center}.bim-mm-icon-processes.active{background:url("./media/bimplus_Components_ISO_Active.svg") no-repeat center}.bim-mm-icon-processes.disabled{background:url("./media/bimplus_Components_ISO_Disabled.svg") no-repeat center}.bim-mm-icon-bim-explorer{background:url("./media/bimplus_Components_BIM_Explorer.svg") no-repeat center}.bim-mm-icon-bim-explorer.disabled{background:url("./media/bimplus_Components_BIM_Explorer_Disabled.svg") no-repeat center}.bim-mm-icon-cloud-viewer{background:url("./media/bimplus_Components_IFC_viewer.svg") no-repeat center}.bim-mm-icon-cloud-viewer.disabled{background:url("./media/bimplus_Components_IFC_viewer_Disabled.svg") no-repeat center}.bim-mm-icon-scia{background:url("./media/bimplus_Components_SCIA.svg") no-repeat center}.bim-mm-icon-scia.active{background:url("./media/bimplus_Components_SCIA.svg") no-repeat center}.bim-mm-icon-connexis{background:url("./media/bimplus_Components_Connexis.svg") no-repeat center}.bim-mm-icon-connexis.disabled{background:url("./media/bimplus_Components_Connexis_Disabled.svg") no-repeat center}.bim-mm-icon-scia.disabled{background:url("./media/bimplus_Components_SCIA_Disabled.svg") no-repeat center}.bim-mm-icon-team-members{background:url("./media/bimplus_Components_Team_Members.svg") no-repeat center}.bim-mm-icon-team-members.active{background:url("./media/bimplus_Components_Team_Members_Active.svg") no-repeat center}.bim-mm-icon-property-manager{background:url("./media/bimplus_Components_Property_Manager.svg") no-repeat center}.bim-mm-icon-property-manager.active{background:url("./media/bimplus_Components_Property_Manager_Active.svg") no-repeat center}.bim-mm-icon-property-manager.disabled{background:url("./media/bimplus_Components_Property_Manager_Disabled.svg") no-repeat center}.bim-mm-icon-shop{background:url("./media/bimplus_Components_Shop.svg") no-repeat center}.bim-mm-icon-shop.disabled{background:url("./media/bimplus_Components_Shop_Disabled.svg") no-repeat center}.bim-mm-icon-info{background:url("./media/bimplus_Components_Info.svg") no-repeat center;background-size:auto!important}.bim-mm-icon-info:hover{background:url("./media/bimplus_Components_Info_Active.svg") no-repeat center;background-size:auto!important;cursor:pointer}.bim-mm-icon-folder{background:url("./media/bimplus_Components_Projects_Folder.svg") no-repeat center}.bim-mm-icon-folder.active{background:url("./media/bimplus_Components_Projects_Folder_Active.svg") no-repeat center}.bim-mm-icon-folder.disabled{background:url("./media/bimplus_Components_Projects_Folder_Disabled.svg") no-repeat center}
21
+ `],encapsulation:3});let t=e;return t})();var er=function(t){return t.BimplusViewer="bimplusViewer",t.ModelViewer="modelViewer",t.ConnexisViewer="connexisViewer",t}(er||{});var ZD=(t,e)=>({"model-viewer":t,"connexis-viewer":e}),YD=(t,e,i)=>({active:t,hidden:e,disabled:i}),QD=t=>({hidden:t});function KD(t,e){t&1&&(m(0,"span"),E(1,"\xA0\xA0 -\xA0\xA0"),f())}var Kg=(()=>{let e=class e{constructor(){this.projectInfo="",this.teamInfo="",this.isDev=!1,this.isStage=!1,this.teamInfoOffset="",this.isNavbarMenuVisible=!1,this.logoState=er.BimplusViewer,this.isNavbarMessageVisible=!1,this.isNavbarMenuActive=!1,this.isNavbarMenuEnabled=!0,this.isTouch=!1,this.selectedLanguage="en",this.bimplusNavbarClicked=new y,this.LogoState=er}_menuClicked(){this.isNavbarMenuEnabled&&ae(this,"bimplusNavbarClicked","menu")}_logoClicked(){this.logoState===er.BimplusViewer&&ae(this,"bimplusNavbarClicked","logo")}_projectInfoClicked(){this.isDev&&ae(this,"bimplusNavbarClicked","project")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-navbar"]],inputs:{projectInfo:"projectInfo",teamInfo:"teamInfo",isDev:[_.HasDecoratorInputTransform,"isDev","isDev",D],isStage:[_.HasDecoratorInputTransform,"isStage","isStage",D],teamInfoOffset:"teamInfoOffset",isNavbarMenuVisible:[_.HasDecoratorInputTransform,"isNavbarMenuVisible","isNavbarMenuVisible",D],logoState:"logoState",isNavbarMessageVisible:[_.HasDecoratorInputTransform,"isNavbarMessageVisible","isNavbarMessageVisible",D],isNavbarMenuActive:[_.HasDecoratorInputTransform,"isNavbarMenuActive","isNavbarMenuActive",D],isNavbarMenuEnabled:[_.HasDecoratorInputTransform,"isNavbarMenuEnabled","isNavbarMenuEnabled",D],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedLanguage:"selectedLanguage"},outputs:{bimplusNavbarClicked:"bimplusNavbarClicked"},standalone:!0,features:[fe,S],decls:13,vars:19,consts:[[1,"bimplus-navbar",3,"ngClass"],[1,"bimplus-navbar-logo-container"],[1,"bimplus-logo",3,"click","ngClass"],[1,"bimplus-navbar-menu","icon",3,"click","ngClass"],[1,"bimplus-navbar-container"],[1,"bimplus-navbar-info",3,"ngClass"],[1,"team"],[4,"ngIf"],[1,"project",3,"click","ngClass"],[1,"bimplus-navbar-slot"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),b("click",function(){return r._logoClicked()}),f(),m(3,"div",3),b("click",function(){return r._menuClicked()}),f()(),m(4,"div",4)(5,"div",5)(6,"span",6),E(7),f(),C(8,KD,2,0,"span",7),m(9,"span",8),b("click",function(){return r._projectInfoClicked()}),E(10),f()(),m(11,"div",9),O(12,"slot"),f()()()),o&2&&(p("ngClass",r.isTouch?"is-touch":""),d(2),p("ngClass",nt(10,ZD,r.logoState===r.LogoState.ModelViewer,r.logoState===r.LogoState.ConnexisViewer)),d(),p("ngClass",lt(13,YD,r.isNavbarMenuActive,!r.isNavbarMenuVisible,!r.isNavbarMenuEnabled)),d(2),ke("margin-left",r.teamInfoOffset),p("ngClass",we(17,QD,!r.isNavbarMenuVisible)),d(2),oe(r.teamInfo),d(),p("ngIf",r.projectInfo&&!r.isTouch),d(),p("ngClass",r.isDev?"clickable":""),d(),B(" ",r.projectInfo," "))},dependencies:[N,X,Be],styles:[`.bimplus-navbar{height:5.2rem;padding-left:0;padding-right:1em;background-color:#f5f5f5;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;font-size:1.6rem;font-weight:600;color:#444}.bimplus-navbar .bimplus-navbar-preview-mode{display:flex;justify-content:center;align-items:center;color:#fff;font-size:.8125em;line-height:.8125em;height:2.308em;font-weight:700;text-transform:uppercase;padding-left:.99em;padding-right:.99em;background-color:#0047ab;letter-spacing:.383em;margin:auto}.bimplus-navbar .bimplus-navbar-preview-mode__container{position:absolute;left:0;right:0;display:inline-flex;cursor:default}.bimplus-logo{height:100%;min-width:9em;margin-left:2.8em;margin-right:1.53em;background:url("./media/Allplan_Bimplus_Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;cursor:pointer}.bimplus-logo.model-viewer{background:url("./media/Allplan-Cloud-Viewer-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.bimplus-logo.connexis-viewer{background:url("./media/Allplan-Connexis-Logo.svg") no-repeat;background-position:center;background-size:9em 2.3em;margin-left:.4em;cursor:default}.icon{width:1.125em;height:1.125em;background-size:1.125em 1.125em!important;background-position:center;background-repeat:no-repeat}.bimplus-navbar-menu{height:100%;width:3.125em;background:url("./media/bimplus_Components_navbar_menu.svg") no-repeat center;background-size:1.125em 1.125em!important;cursor:pointer;margin-right:.4em}.bimplus-navbar-menu.active{background:url("./media/bimplus_Components_navbar_menu_active.svg") no-repeat center}.bimplus-navbar-menu.hidden{visibility:hidden;width:1.2rem}.bimplus-navbar-menu.disabled{background:url("./media/bimplus_Components_navbar_menu_disabled.svg") no-repeat center;cursor:default}.bimplus-navbar-logo-container{height:100%;display:flex;justify-content:flex-start;align-items:center;flex-direction:row-reverse;position:relative}.bimplus-navbar-container{display:flex;justify-content:space-between;align-items:center;flex:1 1 auto;position:relative}.bimplus-navbar-container .bimplus-navbar-info{display:inline-flex;flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:4em;min-width:0}.bimplus-navbar-container .bimplus-navbar-info .clickable{cursor:pointer}.bimplus-navbar-container .bimplus-navbar-info.hidden{visibility:hidden}.bimplus-navbar-container .bimplus-navbar-slot{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;white-space:nowrap;text-overflow:ellipsis}.is-touch .bimplus-navbar-info{display:flex;flex-direction:column;line-height:normal}.is-touch .bimplus-navbar-info .team{font-size:1em;font-weight:400}.is-touch .bimplus-navbar-info .project{font-size:1em;font-weight:700}
22
+ `],encapsulation:3});let t=e;return t})();var _h=Xd(xd(),1);var JD=typeof global=="object"&&global&&global.Object===Object&&global,Jg=JD;var eM=typeof self=="object"&&self&&self.Object===Object&&self,tM=Jg||eM||Function("return this")(),la=tM;var nM=la.Symbol,Ki=nM;var eh=Object.prototype,iM=eh.hasOwnProperty,oM=eh.toString,tr=Ki?Ki.toStringTag:void 0;function rM(t){var e=iM.call(t,tr),i=t[tr];try{t[tr]=void 0;var n=!0}catch{}var o=oM.call(t);return n&&(e?t[tr]=i:delete t[tr]),o}var th=rM;var sM=Object.prototype,aM=sM.toString;function lM(t){return aM.call(t)}var nh=lM;var cM="[object Null]",dM="[object Undefined]",ih=Ki?Ki.toStringTag:void 0;function uM(t){return t==null?t===void 0?dM:cM:ih&&ih in Object(t)?th(t):nh(t)}var oh=uM;function mM(t){return t!=null&&typeof t=="object"}var rh=mM;var pM="[object Symbol]";function fM(t){return typeof t=="symbol"||rh(t)&&oh(t)==pM}var sh=fM;var gM=/\s/;function hM(t){for(var e=t.length;e--&&gM.test(t.charAt(e)););return e}var ah=hM;var bM=/^\s+/;function _M(t){return t&&t.slice(0,ah(t)+1).replace(bM,"")}var lh=_M;function vM(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Jn=vM;var ch=NaN,yM=/^[-+]0x[0-9a-f]+$/i,CM=/^0b[01]+$/i,wM=/^0o[0-7]+$/i,xM=parseInt;function DM(t){if(typeof t=="number")return t;if(sh(t))return ch;if(Jn(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Jn(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=lh(t);var i=CM.test(t);return i||wM.test(t)?xM(t.slice(2),i?2:8):yM.test(t)?ch:+t}var Dd=DM;var MM=function(){return la.Date.now()},ca=MM;var IM="Expected a function",EM=Math.max,kM=Math.min;function SM(t,e,i){var n,o,r,s,a,l,c=0,u=!1,h=!1,v=!0;if(typeof t!="function")throw new TypeError(IM);e=Dd(e)||0,Jn(i)&&(u=!!i.leading,h="maxWait"in i,r=h?EM(Dd(i.maxWait)||0,e):r,v="trailing"in i?!!i.trailing:v);function x(le){var Ye=n,ct=o;return n=o=void 0,c=le,s=t.apply(ct,Ye),s}function T(le){return c=le,a=setTimeout(U,e),u?x(le):s}function F(le){var Ye=le-l,ct=le-c,ar=e-Ye;return h?kM(ar,r-ct):ar}function Q(le){var Ye=le-l,ct=le-c;return l===void 0||Ye>=e||Ye<0||h&&ct>=r}function U(){var le=ca();if(Q(le))return Ee(le);a=setTimeout(U,F(le))}function Ee(le){return a=void 0,v&&n?x(le):(n=o=void 0,s)}function je(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function Ke(){return a===void 0?s:Ee(ca())}function Je(){var le=ca(),Ye=Q(le);if(n=arguments,o=this,l=le,Ye){if(a===void 0)return T(l);if(h)return clearTimeout(a),a=setTimeout(U,e),x(l)}return a===void 0&&(a=setTimeout(U,e)),s}return Je.cancel=je,Je.flush=Ke,Je}var ei=SM;var OM="Expected a function";function TM(t,e,i){var n=!0,o=!0;if(typeof t!="function")throw new TypeError(OM);return Jn(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),ei(t,e,{leading:n,maxWait:e,trailing:o})}var Md=TM;var Ed=Xd(xd(),1),Ji=function(){return Ji=Object.assign||function(e){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},Ji.apply(this,arguments)},Xi=null,dh=null;Ed.default&&window.addEventListener("resize",function(){dh!==window.devicePixelRatio&&(dh=window.devicePixelRatio,Xi=null)});function uh(){if(Xi===null){if(typeof document>"u")return Xi=0,Xi;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var i=e.getBoundingClientRect().right;t.removeChild(e),Xi=i}return Xi}function mh(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function ph(t){return!t||!t.ownerDocument?document:t.ownerDocument}var fh=function(t){var e={},i=Array.prototype.reduce.call(t,function(n,o){var r=o.name.match(/data-simplebar-(.+)/);if(r){var s=r[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(o.value){case"true":n[s]=!0;break;case"false":n[s]=!1;break;case void 0:n[s]=!0;break;default:n[s]=o.value}}return n},e);return i};function gh(t,e){var i;t&&(i=t.classList).add.apply(i,e.split(" "))}function hh(t,e){t&&e.split(" ").forEach(function(i){t.classList.remove(i)})}function bh(t){return".".concat(t.split(" ").join("."))}var PM=Object.freeze({__proto__:null,addClasses:gh,classNamesToQuery:bh,getElementDocument:ph,getElementWindow:mh,getOptions:fh,removeClasses:hh}),kn=mh,Id=ph,AM=fh,Sn=gh,On=hh,yt=bh,nr=function(){function t(e,i){i===void 0&&(i={});var n=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=kn(n.el);n.scrollXTicking||(o.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(o.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,Sn(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){On(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(Sn(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){On(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(o){n.mouseX=o.clientX,n.mouseY=o.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var r,s;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(r=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(s=n.isWithinBounds(n.axis.y.track.rect)),(r||s)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(r&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(o,"x"):n.onTrackClick(o,"x")),s&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(o,"y"):n.onTrackClick(o,"y"))))}},this.drag=function(o){var r,s,a,l,c,u,h,v,x,T,F;if(!(!n.draggedAxis||!n.contentWrapperEl)){var Q,U=n.axis[n.draggedAxis].track,Ee=(s=(r=U.rect)===null||r===void 0?void 0:r[n.axis[n.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,je=n.axis[n.draggedAxis].scrollbar,Ke=(l=(a=n.contentWrapperEl)===null||a===void 0?void 0:a[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,Je=parseInt((u=(c=n.elStyles)===null||c===void 0?void 0:c[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);o.preventDefault(),o.stopPropagation(),n.draggedAxis==="y"?Q=o.pageY:Q=o.pageX;var le=Q-((v=(h=U.rect)===null||h===void 0?void 0:h[n.axis[n.draggedAxis].offsetAttr])!==null&&v!==void 0?v:0)-n.axis[n.draggedAxis].dragOffset;le=n.draggedAxis==="x"&&n.isRtl?((T=(x=U.rect)===null||x===void 0?void 0:x[n.axis[n.draggedAxis].sizeAttr])!==null&&T!==void 0?T:0)-je.size-le:le;var Ye=le/(Ee-je.size),ct=Ye*(Ke-Je);n.draggedAxis==="x"&&n.isRtl&&(ct=!((F=t.getRtlHelpers())===null||F===void 0)&&F.isScrollingToNegative?-ct:ct),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=ct}},this.onEndDrag=function(o){n.isDragging=!1;var r=Id(n.el),s=kn(n.el);o.preventDefault(),o.stopPropagation(),On(n.el,n.classNames.dragging),n.onStopScrolling(),r.removeEventListener("mousemove",n.drag,!0),r.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=s.setTimeout(function(){r.removeEventListener("click",n.preventClick,!0),r.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=e,this.options=Ji(Ji({},t.defaultOptions),i),this.classNames=Ji(Ji({},t.defaultOptions.classNames),i.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Md(this._onMouseMove,64),this.onWindowResize=ei(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=ei(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=ei(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=e.firstElementChild,n=i?.firstElementChild;if(!n)return null;document.body.appendChild(i),i.scrollLeft=0;var o=t.getOffset(i),r=t.getOffset(n);i.scrollLeft=-999;var s=t.getOffset(n);return document.body.removeChild(i),t.rtlHelpers={isScrollOriginAtZero:o.left!==r.left,isScrollingToNegative:r.left!==s.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:uh()}catch{return uh()}},t.getOffset=function(e){var i=e.getBoundingClientRect(),n=Id(e),o=kn(e);return{top:i.top+(o.pageYOffset||n.documentElement.scrollTop),left:i.left+(o.pageXOffset||n.documentElement.scrollLeft)}},t.prototype.init=function(){Ed.default&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,i;this.wrapperEl=this.el.querySelector(yt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(yt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(yt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(yt(this.classNames.offset)),this.maskEl=this.el.querySelector(yt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,yt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(yt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(yt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(yt(this.classNames.track)).concat(yt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(yt(this.classNames.track)).concat(yt(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(yt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((i=this.axis.y.track.el)===null||i===void 0?void 0:i.querySelector(yt(this.classNames.scrollbar)))||null,this.options.autoHide||(Sn(this.axis.x.scrollbar.el,this.classNames.visible),Sn(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,i,n=kn(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(i=this.contentWrapperEl)===null||i===void 0||i.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,r=n.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){o&&n.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=kn(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var i=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||i>0,r=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=o?"".concat(i||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=i!==0&&c>i,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,v=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>r-v,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(e){var i,n;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[e].scrollSizeAttr],r=(n=(i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])!==null&&n!==void 0?n:0,s=r/o,a;return a=Math.max(~~(s*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},t.prototype.positionScrollbar=function(e){var i,n,o;e===void 0&&(e="y");var r=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!r.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[e].scrollSizeAttr],a=((i=this.axis[e].track.el)===null||i===void 0?void 0:i[this.axis[e].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[e].sizeAttr],10),c=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];c=e==="x"&&this.isRtl&&(!((n=t.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-c:c,e==="x"&&this.isRtl&&(c=!((o=t.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?c:-c);var u=c/(s-l),h=~~((a-r.size)*u);h=e==="x"&&this.isRtl?-h+(a-r.size):h,r.el.style.transform=e==="x"?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var i=this.axis[e].track.el,n=this.axis[e].scrollbar.el;!i||!n||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(i.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(i.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(Sn(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),!this.isDragging&&this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(On(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var i=this.axis[e];!i.track.el||!i.scrollbar.el||(i.track.rect=i.track.el.getBoundingClientRect(),i.scrollbar.rect=i.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(i.track.rect)?(this.showScrollbar(e),Sn(i.track.el,this.classNames.hover),this.isWithinBounds(i.scrollbar.rect)?Sn(i.scrollbar.el,this.classNames.hover):On(i.scrollbar.el,this.classNames.hover)):(On(i.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),On(this.axis[e].track.el,this.classNames.hover),On(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,i){var n;i===void 0&&(i="y"),this.isDragging=!0;var o=Id(this.el),r=kn(this.el),s=this.axis[i].scrollbar,a=i==="y"?e.pageY:e.pageX;this.axis[i].dragOffset=a-(((n=s.rect)===null||n===void 0?void 0:n[this.axis[i].offsetAttr])||0),this.draggedAxis=i,Sn(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(e,i){var n=this,o,r,s,a;i===void 0&&(i="y");var l=this.axis[i];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var c=kn(this.el);this.axis[i].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=this.axis[i].scrollbar,h=(r=(o=u.rect)===null||o===void 0?void 0:o[this.axis[i].offsetAttr])!==null&&r!==void 0?r:0,v=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[i].sizeAttr])!==null&&a!==void 0?a:"0px",10),x=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],T=i==="y"?this.mouseY-h:this.mouseX-h,F=T<0?-1:1,Q=F===-1?x-v:x+v,U=40,Ee=function(){n.contentWrapperEl&&(F===-1?x>Q&&(x-=U,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=x,c.requestAnimationFrame(Ee)):x<Q&&(x+=U,n.contentWrapperEl[n.axis[i].scrollOffsetAttr]=x,c.requestAnimationFrame(Ee)))};Ee()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=kn(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,i){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(o){return n.call(o,i)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=AM,t.helpers=PM,t}();var Sd=function(t,e){return Sd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o])},Sd(t,e)};function FM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Sd(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}var vh=nr.helpers,kd=vh.getOptions,Pt=vh.addClasses,Od=function(t){FM(e,t);function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return e.instances.set(i[0],o),o}return e.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(i){i.getAttribute("data-simplebar")!=="init"&&!e.instances.has(i)&&new e(i,kd(i.attributes))})},e.removeObserver=function(){var i;(i=e.globalObserver)===null||i===void 0||i.disconnect()},e.prototype.initDOM=function(){var i=this,n,o,r;if(!Array.prototype.filter.call(this.el.children,function(l){return l.classList.contains(i.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Pt(this.wrapperEl,this.classNames.wrapper),Pt(this.contentWrapperEl,this.classNames.contentWrapper),Pt(this.offsetEl,this.classNames.offset),Pt(this.maskEl,this.classNames.mask),Pt(this.contentEl,this.classNames.contentEl),Pt(this.placeholderEl,this.classNames.placeholder),Pt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Pt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(n=this.contentWrapperEl)===null||n===void 0||n.setAttribute("tabindex","0"),(o=this.contentWrapperEl)===null||o===void 0||o.setAttribute("role","region"),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var s=document.createElement("div"),a=document.createElement("div");Pt(s,this.classNames.track),Pt(a,this.classNames.scrollbar),s.appendChild(a),this.axis.x.track.el=s.cloneNode(!0),Pt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=s.cloneNode(!0),Pt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}nr.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},e.prototype.unMount=function(){nr.prototype.unMount.call(this),e.instances.delete(this.el)},e.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(e.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},e.handleMutations=function(i){i.forEach(function(n){n.addedNodes.forEach(function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!e.instances.has(o)&&document.documentElement.contains(o)&&new e(o,kd(o.attributes)):o.querySelectorAll("[data-simplebar]").forEach(function(r){r.getAttribute("data-simplebar")!=="init"&&!e.instances.has(r)&&document.documentElement.contains(r)&&new e(r,kd(r.attributes))}))}),n.removedNodes.forEach(function(o){var r;o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(o)&&((r=e.instances.get(o))===null||r===void 0||r.unMount()):Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(s){var a;!document.documentElement.contains(s)&&((a=e.instances.get(s))===null||a===void 0||a.unMount())}))})})},e.instances=new WeakMap,e}(nr);_h.default&&Od.initHtmlApi();var yh=t=>({capitalize:t}),Ch=t=>[t];function NM(t,e){if(t&1){let i=A();m(0,"div",21),b("click",function(){let o=M(i).index,r=g(2).$implicit,s=g(2);return I(s._messageAction(r,o))}),E(1),f()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g(2);p("title",r._getItemLinkTitle(o,n)),d(),oe(i)}}function jM(t,e){if(t&1&&C(0,NM,2,2,"div",20),t&2){let i=g().$implicit,n=g(2);p("ngForOf",i.linkText.constructor===n.Array?i.linkText:we(1,Ch,i.linkText))}}function RM(t,e){if(t&1){let i=A();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),E(4),f(),m(5,"div",17),b("click",function(o){let r=M(i).$implicit,s=g(2);return I(s._closeMessage(r,!1,o))}),f()(),m(6,"div",18),E(7),f(),C(8,jM,1,3,"div",19),f()}if(t&2){let i=e.$implicit;d(2),p("ngClass","message-item-icon-"+i.type),d(),p("ngClass",we(5,yh,i.capitalizedTitle)),d(),B(" ",i.title," "),d(3),oe(i.text),d(),$(8,i.linkText?8:-1)}}function LM(t,e){if(t&1&&C(0,RM,9,7,"div",13),t&2){let i=g();p("ngForOf",i._messagesList)}}function VM(t,e){t&1&&(m(0,"div",22),O(1,"div",23),m(2,"div",24),E(3),R(4,"translate"),f()()),t&2&&(d(3),oe(L(4,1,"_Notify_No_Messages")))}function BM(t,e){if(t&1){let i=A();m(0,"div",21),b("click",function(){let o=M(i).index,r=g(2).$implicit,s=g();return I(s._messageAction(r,o))}),E(1),f()}if(t&2){let i=e.$implicit,n=e.index,o=g(2).$implicit,r=g();p("title",r._getItemLinkTitle(o,n)),d(),oe(i)}}function zM(t,e){if(t&1&&C(0,BM,2,2,"div",20),t&2){let i=g().$implicit,n=g();p("ngForOf",i.linkText.constructor===n.Array?i.linkText:we(1,Ch,i.linkText))}}function HM(t,e){if(t&1){let i=A();m(0,"div",9)(1,"div",14),O(2,"div",15),m(3,"div",16),E(4),f(),m(5,"div",17),b("click",function(o){let r=M(i).$implicit,s=g();return I(s._closeMessage(r,!0,o))}),f()(),m(6,"div",18),E(7),f(),C(8,zM,1,3,"div",19),f()}if(t&2){let i=e.$implicit;d(2),p("ngClass","message-item-icon-"+i.type),d(),p("ngClass",we(5,yh,i.capitalizedTitle)),d(),B(" ",i.title," "),d(3),B(" ",i.text," "),d(),$(8,i.linkText?8:-1)}}var da="bimplus-notify-messages",wh=(()=>{let e=class e extends ne{constructor(n,o){super(n),this.Array=Array,this._messagesList=[],this.messagePreviewTime=3e3,this.showMessagePreview=!0,this.previewMessagesLimit=3,this.previewMessagesOffsetY="2.7em",this.messages="",this._menuOpened=!1,this._alertActive=!1,this._oldMessagesList=[],this._previewMessagesList=[],this.bimplusNotifyDeleteMessage=new y,this.bimplusNotifyDeleteAllMessages=new y,this.bimplusNotifyMessageAction=new y,this._element=o.nativeElement}get newMessages(){return this._alertActive}get bimNotify(){return!0}ngOnChanges(n){if(n.messages){let o=n.messages.currentValue;this.updateMessages(o)}}updateMessages(n){if(!(n&&typeof n=="string")){this._messagesList=[],this._previewMessagesList=[],this._alertActive=!1;return}let r=JSON.parse(n);this._messagesList=r.messages;let s=this._messagesList.filter(a=>this._oldMessagesList.findIndex(l=>l.id===a.id)<0);s=s.filter(a=>this._messageNotReadYet(a)),s.reverse().forEach(a=>{this._previewMessagesList.findIndex(l=>a.id===l.id)<0&&(this._previewMessagesList.unshift(a),this.messagePreviewTime>0&&setTimeout(()=>{this._closePreviewMessage(a.id,!1)},this.messagePreviewTime))}),this._previewMessagesList.length=this._previewMessagesList.length>this.previewMessagesLimit?this.previewMessagesLimit:this._previewMessagesList.length,this._oldMessagesList=this._messagesList,this._alertActive=this._messagesList.length!=0}ngOnInit(){this.updateMessages(this.messages)}ngAfterViewInit(){let n=this._element?.querySelector(".messages-container");n&&(this._simpleBar=new Od(n))}ngAfterViewChecked(){let n=this._element;if(!n?.querySelector(".messages-container"))return;let r=n?.querySelectorAll(".messages-container > .message-item");!n?.querySelector(".simplebar-content")||!r||this._simpleBar&&this._simpleBar.recalculate()}_closeMessage(n,o,r){if(o)return this._closePreviewMessage(n.id);r&&(r.stopPropagation(),r.preventDefault()),ae(this,"bimplusNotifyDeleteMessage",JSON.stringify(n))}_closePreviewMessage(n,o=!0){n&&(this._previewMessagesList=this._previewMessagesList.filter(r=>r.id!==n),this.storeMessagesAsRead([n]),o&&this._previewMessagesList.length===0&&(this._alertActive=!1))}_deleteAllMessages(){ae(this,"bimplusNotifyDeleteAllMessages"),this.clearAllLocalStorageMessages()}_messageAction(n,o){n.actionId=o,ae(this,"bimplusNotifyMessageAction",JSON.stringify(n))}_toggleOpened(){this._menuOpened=!this._menuOpened,this._alertActive=!1,this._previewMessagesList=[]}_messageNotReadYet(n){if(!n?.id)return!0;let o=window.localStorage.getItem(da);return o?!o.includes(n.id):!0}storeMessagesAsRead(n){if(!n||n.length<1)return;let o=window.localStorage.getItem(da);o||(o=""),n.forEach(r=>{o?.includes(r)||(o+=r+";")}),window.localStorage.setItem(da,o)}clearAllLocalStorageMessages(){window.localStorage.removeItem(da)}_getItemLinkTitle(n,o){let r=[];return n.linkText&&(n.links||n.link)&&(r=Array.isArray(n.links)?n.links:[n.link]),r[o]??""}};e.\u0275fac=function(o){return new(o||e)(w(P),w(se))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-notify"]],hostVars:4,hostBindings:function(o,r){o&2&&ie("new-messages",r.newMessages)("bim-notify",r.bimNotify)},inputs:{messagePreviewTime:"messagePreviewTime",showMessagePreview:[_.HasDecoratorInputTransform,"showMessagePreview","showMessagePreview",D],previewMessagesLimit:"previewMessagesLimit",previewMessagesOffsetY:"previewMessagesOffsetY",messages:"messages"},outputs:{bimplusNotifyDeleteMessage:"bimplusNotifyDeleteMessage",bimplusNotifyDeleteAllMessages:"bimplusNotifyDeleteAllMessages",bimplusNotifyMessageAction:"bimplusNotifyMessageAction"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:19,vars:16,consts:[[1,"dropdown",3,"click","ngClass","title"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[1,"notify-tick"],[1,"messages-title"],[1,"messages-count"],[1,"messages-delete-all",3,"click"],[1,"messages-container"],[1,"message-item"],[1,"bimcomp-overlay",3,"click","ngClass"],[1,"bimcomp-messages-preview",3,"ngClass"],[1,"messages-container-preview"],["class","message-item",4,"ngFor","ngForOf"],[1,"message-item-title"],[3,"ngClass"],[1,"message-item-title-text",3,"ngClass"],[1,"message-item-icon-close",3,"click"],[1,"message-item-body-text"],[1,"message-item-link",3,"title"],["class","message-item-link",3,"title","click",4,"ngFor","ngForOf"],[1,"message-item-link",3,"click","title"],[1,"message-item-empty"],[1,"message-item-empty-icon"],[1,"message-item-empty-text"]],template:function(o,r){o&1&&(m(0,"div",0),R(1,"translate"),b("click",function(){return r._toggleOpened()}),m(2,"div",1),O(3,"div",2),f(),m(4,"div",3),O(5,"div",4),m(6,"div",5)(7,"div",6),E(8),f(),m(9,"div",7),b("click",function(){return r._deleteAllMessages()}),E(10),R(11,"translate"),f()(),m(12,"div",8),C(13,LM,1,1,"div",9)(14,VM,5,3),f()()(),m(15,"div",10),b("click",function(){return r._toggleOpened()}),f(),m(16,"div",11)(17,"div",12),C(18,HM,9,7,"div",13),f()()),o&2&&(p("ngClass",r._menuOpened?"open":"")("title",L(1,12,"_BimplusNotifyTitle")),d(3),p("ngClass","icon-notify"+(r._alertActive?"-alert notify":"")),d(),p("ngClass",r._menuOpened?"open":""),d(4),B(" (",r._messagesList.length,") "),d(2),B(" ",L(11,14,"_Notify_Mark_All")," "),d(3),$(13,r._messagesList.length?13:14),d(2),p("ngClass",r._menuOpened?"open":""),d(),ke("top",r.previewMessagesOffsetY),p("ngClass",r.showMessagePreview&&!r._menuOpened&&r._previewMessagesList.length>0?"visible":""),d(2),p("ngForOf",r._previewMessagesList))},dependencies:[N,X,ve,te,Ie],styles:[`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.bim-notify{position:relative}.bim-notify .dropdown{position:relative;width:3.25em;display:flex;flex-direction:column;justify-content:space-around;align-items:center}.bim-notify .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;background-size:1.4em 1.4em;cursor:pointer}.bim-notify .bimcomp-dropdown-menu,.bim-notify .bimcomp-messages-preview{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;position:absolute;top:100%;right:0;z-index:2;display:none;width:19em;margin:0;padding:.5em .65em .57em 0}.bim-notify .bimcomp-dropdown-menu .messages-title,.bim-notify .bimcomp-messages-preview .messages-title{height:2em;display:flex;flex-direction:row;justify-content:space-between;align-items:center;color:#fff;background-color:#444}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-count,.bim-notify .bimcomp-messages-preview .messages-title .messages-count,.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{cursor:pointer;font-size:.8125em;font-weight:400;margin:0 .8125em}.bim-notify .bimcomp-dropdown-menu .messages-title .messages-delete-all,.bim-notify .bimcomp-messages-preview .messages-title .messages-delete-all{text-decoration:underline}.bim-notify .bimcomp-dropdown-menu div,.bim-notify .bimcomp-messages-preview div{font-size:1em}.bim-notify .bimcomp-dropdown-menu .noselect,.bim-notify .bimcomp-messages-preview .noselect{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{display:flex;flex-direction:row;align-items:center;box-sizing:content-box;padding:.21em 2.1em}.bim-notify .bimcomp-dropdown-menu li span,.bim-notify .bimcomp-messages-preview li span{display:inline-block;flex:1 0 auto;margin-right:1.43em;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.bim-notify .bimcomp-dropdown-menu li:hover,.bim-notify .bimcomp-messages-preview li:hover{background-color:#f5f5f5}.bim-notify .bimcomp-dropdown-menu ul,.bim-notify .bimcomp-messages-preview ul,.bim-notify .bimcomp-dropdown-menu li,.bim-notify .bimcomp-messages-preview li{list-style:none}.bim-notify .bimcomp-dropdown-menu .notify-tick,.bim-notify .bimcomp-messages-preview .notify-tick{width:2em;height:1em;align-self:flex-end;background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg");background-size:cover}.bim-notify .bimcomp-dropdown-menu.open,.bim-notify .bimcomp-messages-preview.visible{display:flex;flex-direction:column}.bim-notify .messages-container,.bim-notify .messages-container-preview{list-style:none;background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;text-decoration-line:none;text-decoration-style:solid;line-height:2.71em;font-weight:400;max-height:16em;overflow:hidden;overflow-y:visible;scrollbar-width:none}.bim-notify .messages-container::-webkit-scrollbar,.bim-notify .messages-container-preview::-webkit-scrollbar{display:none}.bim-notify .messages-container .message-item-empty,.bim-notify .messages-container-preview .message-item-empty{max-width:19em;max-height:6em;padding:.6em .8125em 0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.bim-notify .messages-container .message-item-empty-icon,.bim-notify .messages-container-preview .message-item-empty-icon{width:2.5em;height:2.5em;background-image:url("./media/bimplus_Components_Notify_Empty.svg");background-size:cover}.bim-notify .messages-container .message-item-empty-text,.bim-notify .messages-container-preview .message-item-empty-text{font-size:.8125em;line-height:2.2em}.bim-notify .messages-container .message-item,.bim-notify .messages-container-preview .message-item{max-width:19em;border-bottom:1px solid #D3D3D3;padding:.6em .8125em;box-sizing:border-box}.bim-notify .messages-container .message-item-title,.bim-notify .messages-container-preview .message-item-title{display:flex;align-items:center;line-height:1.5em}.bim-notify .messages-container .message-item-title-text,.bim-notify .messages-container-preview .message-item-title-text{font-size:.8125em;font-weight:700;flex:1 1 auto;margin-left:.8125em}.bim-notify .messages-container .message-item-icon-info,.bim-notify .messages-container-preview .message-item-icon-info{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-failure,.bim-notify .messages-container-preview .message-item-icon-failure{width:1.125em;height:1.125em;background-image:url("./media/bimplus_Components_Info.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-icon-close,.bim-notify .messages-container-preview .message-item-icon-close{cursor:pointer;width:1.125em;height:1.125em;background-repeat:no-repeat;background-size:auto;background-position:center;background-image:url("./media/bimplus_Components_Notify_Close.svg");flex:0 0 auto}.bim-notify .messages-container .message-item-body-text,.bim-notify .messages-container-preview .message-item-body-text{font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal}.bim-notify .messages-container .message-item-link,.bim-notify .messages-container-preview .message-item-link{color:#fe5000;text-decoration:underline;font-size:.8125em;line-height:1.3em;margin-top:.5em;word-wrap:break-word;white-space:normal;cursor:pointer}.bim-notify .messages-container .message-item:last-child,.bim-notify .messages-container-preview .message-item:last-child{border-bottom:none}.bim-notify .messages-container-preview{max-height:none;background-color:transparent;border:none;-webkit-box-shadow:none;box-shadow:none}.bim-notify .messages-container-preview .message-item{background-color:#fff;border:thin solid rgba(0,0,0,.15);-webkit-box-shadow:0 .3em .3em rgba(0,0,0,.175);box-shadow:0 .3em .3em #0000002d;margin-bottom:.5em}.bim-notify .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}.bim-notify .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}.bim-notify .main-icon.notify{transform-origin:center top}@keyframes ringbell{0%{transform:rotate(0)}5%{transform:rotate(35deg)}15%{transform:rotate(-30deg)}25%{transform:rotate(25deg)}35%{transform:rotate(-20deg)}45%{transform:rotate(15deg)}55%{transform:rotate(-10deg)}65%{transform:rotate(5deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}.bim-notify .bimcomp-overlay{position:fixed;width:100vw;height:100vh;left:0;top:0;display:none}.bim-notify .bimcomp-overlay.open{display:block;z-index:1}.bim-notify .icon-notify{background-image:url("./media/bimplus_Components_Notify_Main.svg")}.bim-notify .icon-notify-alert{background-image:url("./media/bimplus_Components_Notify_Alert.svg")}.bim-notify .icon-notify-tick-up{background-image:url("./media/bimplus_Components_Notify_Tick_Up.svg")}.bim-notify .icon-notify-info{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-failure{background-image:url("./media/bimplus_Components_Info.svg")}.bim-notify .icon-notify-close{background-image:url("./media/bimplus_Components_Notify_Close.svg")}.bim-notify .icon-notify-empty{background-image:url("./media/bimplus_Components_Notify_Empty.svg")}
23
+ `],encapsulation:2});let t=e;return t})();var xh=(()=>{let e=class e{transform(n){return n+"px"}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Ao({name:"pxsuffix",type:e,pure:!0,standalone:!0});let t=e;return t})();var Dh=(()=>{let e=class e{constructor(){this.oldX=0,this.isDragging=!1,this.wasDragging=!1,this.isMouseDown=!1,this.dragging=new y,this.clicked=new y}onMouseMove(n){if(!this.isDragging&&!this.isMouseDown)return;let o=n.clientX-this.oldX;if(!this.isDragging)if(Math.abs(o)>2)this.isDragging=!0,this.wasDragging=!0;else return;ae(this,"dragging",o),this.oldX=n.clientX}onMouseUp(){this.isDragging=!1,this.isMouseDown=!1}onMouseDown(n){this.isMouseDown=!0,this.wasDragging=!1,this.oldX=n.clientX}onMouseClick(n){this.wasDragging||ae(this,"clicked",n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Z({type:e,selectors:[["","xDraggable",""]],hostBindings:function(o,r){o&1&&b("mousemove",function(a){return r.onMouseMove(a)},!1,yn)("mouseup",function(a){return r.onMouseUp(a)},!1,yn)("mousedown",function(a){return r.onMouseDown(a)})("click",function(a){return r.onMouseClick(a)})},outputs:{dragging:"dragging",clicked:"clicked"},standalone:!0});let t=e;return t})();function $M(t,e){if(t&1&&O(0,"div",7),t&2){let i=g().$implicit;ke("background"," no-repeat center center url("+i.iconDisabled+")"),H("data-test","sidenav_item_"+i.id)}}function UM(t,e){if(t&1){let i=A();m(0,"div",8),b("click",function(){M(i);let o=g(3);return I(o._toggleDrawer())}),f()}if(t&2){let i=g(2).$implicit;ke("background"," no-repeat center center url("+i.iconActive+")"),H("data-test","sidenav_item_"+i.id)}}function WM(t,e){if(t&1){let i=A();m(0,"div",8),b("click",function(){M(i);let o=g(2).$implicit,r=g();return I(r._activateItem(o.id))}),f()}if(t&2){let i=g(2).$implicit;ke("background"," no-repeat center center url("+i.icon+")"),H("data-test","sidenav_item_"+i.id)}}function GM(t,e){if(t&1&&C(0,UM,1,3,"div",6)(1,WM,1,3),t&2){let i=g().$implicit,n=g();$(0,n.activeItem===i.id?0:1)}}function qM(t,e){if(t&1&&(m(0,"div",5),C(1,$M,1,3,"div",6)(2,GM,2,1),f()),t&2){let i=e.$implicit;d(),$(1,i.disabled?1:2)}}function ZM(t,e){if(t&1){let i=A();m(0,"div",5)(1,"div",8),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r._clickAction(o.id))}),f()()}if(t&2){let i=e.$implicit;d(),ke("background"," no-repeat center center url("+i.icon+")"),H("data-test","sidenav_action_item_"+i.id)}}function YM(t,e){if(t&1&&(O(0,"div",9),C(1,ZM,2,3,"div",1)),t&2){let i=g();d(),p("ngForOf",i.actionItems)}}function QM(t,e){if(t&1){let i=A();m(0,"div",2)(1,"div",8),b("click",function(){M(i);let o=g();return I(o._clickFooter(o.footerItem.id))}),f()()}if(t&2){let i=g();d(),ke("background"," no-repeat center center url("+i.footerItem.icon+")"),H("data-test","sidenav_footer_item_"+i.footerItem.id)}}function KM(t,e){if(t&1){let i=A();m(0,"div",10),b("dragging",function(o){M(i);let r=g();return I(r._onResizeWidth(o))}),f(),m(1,"div",11),b("dragging",function(o){M(i);let r=g();return I(r._onResizeWidth(o))})("clicked",function(){M(i);let o=g();return I(o._toggleDrawer())}),f()}}function XM(t,e){if(t&1){let i=A();m(0,"div",12),b("click",function(){M(i);let o=g();return I(o._toggleDrawer())}),f()}}var Mh=(()=>{let e=class e extends ne{constructor(n){super(n),this.activeItem="",this.drawerWidth=300,this.drawerExpanded=!0,this.activeItemChanged=new y,this.actionClicked=new y,this.footerClicked=new y,this._items=new Array,this._actionItems=new Array,this._footerItem=null}get items(){return this._items}set items(n){this._items.length=0,this._items=n,this.items.length>0&&this._activateItem(this.items[0].id)}get actionItems(){return this._actionItems}set actionItems(n){this._actionItems.length=0,this._actionItems=n}get footerItem(){return this._footerItem}set footerItem(n){this._footerItem=n}_activateItem(n){this.activeItem=n,this._items.find(r=>r.id==n)&&(this.drawerExpanded||this._toggleDrawer(),ae(this,"activeItemChanged",n))}_clickAction(n){ae(this,"actionClicked",n)}_clickFooter(n){ae(this,"footerClicked",n)}_toggleDrawer(){this.drawerExpanded=!this.drawerExpanded}_onResizeWidth(n){let o=n;this.drawerWidth+=o}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-sidenav"]],inputs:{items:"items",actionItems:"actionItems",footerItem:"footerItem"},outputs:{activeItemChanged:"activeItemChanged",actionClicked:"actionClicked",footerClicked:"footerClicked"},standalone:!0,features:[K([P]),z,S],decls:9,vars:10,consts:[[1,"sidenav"],["class","sidenav-row",4,"ngFor","ngForOf"],[1,"sidenav-row-footer"],[1,"sidenav-drawer",3,"ngClass"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed"],[1,"sidenav-row"],[1,"sidenav-item",3,"background"],[1,"sidenav-item"],[1,"sidenav-item",3,"click"],[1,"sidenav-separator"],["xDraggable","",1,"sidenav-resize-border-right",3,"dragging"],["xDraggable","","data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left",3,"dragging","clicked"],["data-test","sidenav-resize-handle",1,"sidenav-resize-handle-left","collapsed",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),C(1,qM,3,1,"div",1)(2,YM,2,1)(3,QM,2,3,"div",2),f(),m(4,"div",3),R(5,"pxsuffix"),O(6,"slot"),C(7,KM,2,0),f(),C(8,XM,1,0,"div",4)),o&2&&(d(),p("ngForOf",r.items),d(),$(2,r.actionItems.length>0?2:-1),d(),$(3,r.footerItem?3:-1),d(),ke("width",L(5,8,r.drawerWidth)),p("ngClass",r.drawerExpanded?"":"hidden"),d(3),$(7,r.drawerExpanded?7:-1),d(),$(8,r.drawerExpanded?-1:8))},dependencies:[N,X,ve,xh,Dh,te],styles:[`.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav{width:4rem;height:100%;margin:0;padding:0;text-align:center;background-color:#444;border:0 solid #444444;font-size:0;display:flex;flex-direction:column;position:absolute;bottom:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-item{width:3.2rem;height:3.2rem;background-size:2rem 2rem!important;margin:auto;cursor:pointer}.sidenav-separator{width:2rem;height:.1rem;border-top:.1rem solid white;cursor:default;pointer-events:none;margin-top:.8rem;text-align:center;display:inline-block;align-self:center}.sidenav-row{width:4rem;height:3.2rem;margin-top:.8rem;display:inline-block}.sidenav-row-footer{margin-top:auto;margin-bottom:5.2rem;width:4rem;height:3.2rem}.sidenav-row-footer:hover,.sidenav-row:hover{background-color:#555}.sidenav-drawer{min-width:25rem;height:100%;border:0 solid #444444;position:absolute;bottom:0;left:4rem;background-color:#fffc;transition:background-color .7s;border-right:solid thin #d4d4d4;width:300px;display:flex;flex-direction:row}.sidenav-drawer:hover{background-color:#fff}.sidenav-drawer.hidden{display:none}.sidenav-resize-border-right{right:-5px;position:absolute;height:100%;cursor:col-resize;width:5px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left{background-image:url("./media/ic_thin_arrow_left.svg");position:absolute;top:calc(50% - 2.4rem);right:-2.1rem;width:2.1rem;height:4.8rem;border-radius:0 .4rem .4rem 0;background-color:#ffffff94;cursor:pointer;pointer-events:all;background-position:center center;background-repeat:no-repeat;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sidenav-resize-handle-left.collapsed{left:4rem!important;border-radius:.4rem 0 0 .4rem;transform:scaleX(-1)}
24
+ `],encapsulation:3});let t=e;return t})();var JM=(t,e,i)=>({red:t,yellow:e,green:i}),Ih=(()=>{let e=class e extends ne{constructor(n){super(n),this.usedStorage=0,this.bimplusStorageInfoClicked=new y}_infoClicked(n){ae(this,"bimplusStorageInfoClicked",n)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-storage-info"]],inputs:{usedStorage:"usedStorage"},outputs:{bimplusStorageInfoClicked:"bimplusStorageInfoClicked"},standalone:!0,features:[K([P]),z,S],decls:8,vars:13,consts:[[1,"storage-info",3,"click"],[1,"progress-title"],[1,"progress-text"],[1,"storage-info-bar-container"],[1,"storage-info-bar",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._infoClicked("storageInfo")}),m(1,"span",1),E(2),R(3,"translate"),m(4,"span",2),E(5),f()(),m(6,"div",3),O(7,"div",4),f()()),o&2&&(d(2),B(" ",L(3,7,"_Common_Data_Environment_Quota")," "),d(3),B(" ",r.usedStorage,"% "),d(2),ke("width",r.usedStorage+"%")("max-width",r.usedStorage+"%"),p("ngClass",lt(9,JM,r.usedStorage>=90,r.usedStorage>=80&&r.usedStorage<90,r.usedStorage<80)))},dependencies:[N,X,te,Ie],styles:[`.storage-info{font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif;display:flex;cursor:pointer;color:#777;flex-direction:column}.storage-info.hovered,.storage-info:hover{color:#000}.storage-info.hovered .storage-info-bar .progress,.storage-info:hover .storage-info-bar .progress{border-color:#000}.storage-info .progress-title{line-height:1em;text-align:center;margin:auto .5em .19em;font-weight:600}.storage-info .progress-text{margin-left:.31em}.storage-info .storage-info-bar-container{width:auto;margin:0 .5em auto;background-color:#fff;padding:.125em;border:#777 solid thin}.storage-info .storage-info-bar-container .storage-info-bar{height:.31em}.storage-info .storage-info-bar-container .storage-info-bar.red{background-color:red}.storage-info .storage-info-bar-container .storage-info-bar.yellow{background-color:#ffd400}.storage-info .storage-info-bar-container .storage-info-bar.green{background-color:green}
25
+ `],encapsulation:3});let t=e;return t})();var eI=Math.PI/180,Eh=2*Math.PI,At=class t{static pointOnArc(e,i,n){let o=(n-90)*eI;return[e[0]+i*Math.cos(o),e[1]+i*Math.sin(o)]}static arc(e,i,n,o,r,s,a){let l=i-r,c=Math.abs(o-n);s=Math.min(r/2,s),360*(s/(Math.PI*(i-r)))>Math.abs(n-o)&&(s=c/360*l*Math.PI);let u=l+s,h=i-s,v=this.pointOnArc(e,h,n),x=this.pointOnArc(e,h,o),T=this.pointOnArc(e,u,n),F=this.pointOnArc(e,u,o),Q=360*(s/(Eh*l)),U=360*(s/(Eh*i)),Ee=this.pointOnArc(e,l,n+Q),je=this.pointOnArc(e,l,o-Q),Ke=this.pointOnArc(e,i,n+U),Je=this.pointOnArc(e,i,o-U),le=c>180+2*U?1:0,Ye=c>180+2*Q?1:0;return new Array("M",(v[0]/a).toString(),(v[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(Ke[0]/a).toString(),(Ke[1]/a).toString(),"A",(i/a).toString(),(i/a).toString(),"0",(le/a).toString(),"1",(Je[0]/a).toString(),(Je[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(x[0]/a).toString(),(x[1]/a).toString(),"L",(F[0]/a).toString(),(F[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(je[0]/a).toString(),(je[1]/a).toString(),"A",(l/a).toString(),(l/a).toString(),"0",(Ye/a).toString(),"0",(Ee[0]/a).toString(),(Ee[1]/a).toString(),"A",(s/a).toString(),(s/a).toString(),"0","0","1",(T[0]/a).toString(),(T[1]/a).toString(),"Z").join(" ")}static drawMenuItemSvg(e,i,n,o){let r=o?(e-5)*10:e*10,s=o?(i-3)*10:i*10,a=r*2,c=360/(n>0?n:1)*Math.PI/360,u=r-Math.sin(c)*r,h=r-Math.cos(c)*r,v=r+Math.sin(c)*r,x=r-Math.cos(c)*r;return{radius:r/a,radiusInner:s/a,width:1,thick:(r-s)/a,innerEdgeRight:(r+s)/a,leftX:u/a,leftY:h/a,rightX:v/a,rightY:x/a}}static generateAnnularSector(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12,e.subMenuStartAngle,e.subMenuEndAngle,e.subMenuWidth,7,425)}static generateAnnularSectorBorder(e){return t.arc([e.subMenuCenter[0]*12,e.subMenuCenter[1]*12],e.subMenuRadius*12+1,e.subMenuStartAngle-.5,e.subMenuEndAngle+.5,e.subMenuWidth+2,7,425)}static generateDeadZoneAnnularSector(e){return t.arc([e.deadZoneCenter[0]*12,e.deadZoneCenter[1]*12],e.deadZoneRadius*12,e.deadZoneStartAngle,e.deadZoneEndAngle,e.deadZoneWidth,7,700)}static getSVGViewBox(e){return`0 0 ${e.width} ${e.width}`}static getSVGCenterMenuPath(e){return`M 0 ${e.radius} A ${e.radius} ${e.radius} 0 0 1 ${e.width} ${e.radius} L ${e.width} ${e.radius} A ${e.radius} ${e.radius} 0 0 1 0 ${e.radius} L ${e.thick} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.innerEdgeRight} ${e.radius} L ${e.innerEdgeRight} ${e.radius} A ${e.radiusInner} ${e.radiusInner} 0 0 0 ${e.thick} ${e.radius} Z`}static getSVGCenterMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}static getSVGCenterSubMenuItemPath(e){return`M ${e.radius} ${e.radius} L ${e.leftX} ${e.leftY} A ${e.radius} ${e.radius} 0 0 1 ${e.rightX} ${e.rightY} L ${e.rightX} ${e.rightY} L ${e.radius} ${e.radius} Z`}};var tI=(t,e,i)=>({disabled:t,enabled:e,active:i});function nI(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=g();p("ngClass",lt(3,tI,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var kh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-item"]],hostVars:6,hostBindings:function(o,r){o&2&&ie("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","centermenu-button-icon dragger",3,"ngClass","className",4,"ngIf"],[1,"centermenu-button-icon","dragger",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&C(0,nI,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Be],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_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}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var iI=(t,e,i)=>({disabled:t,enabled:e,active:i});function oI(t,e){if(t&1&&(m(0,"div",1)(1,"span",2),E(2),f()()),t&2){let i=g();p("ngClass",lt(3,iI,!i.isEnabled,i.isEnabled,i.active))("className",i.item.iconClass),d(2),oe(i.item.text)}}var Sh=(()=>{let e=class e{constructor(){this.item=null,this.active=!1,this.isEnabled=!0,this.centerMenuButtonClass=!0,this.centerSubMenuButtonClass=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-tool-hub-sub-item"]],hostVars:8,hostBindings:function(o,r){o&2&&ie("active",r.active)("enabled",r.isEnabled)("centermenu-button",r.centerMenuButtonClass)("center-sub-menu-button",r.centerSubMenuButtonClass)},inputs:{item:"item",active:"active",isEnabled:"isEnabled"},standalone:!0,features:[S],decls:1,vars:1,consts:[["class","center-sub-menu-button-icon",3,"ngClass","className",4,"ngIf"],[1,"center-sub-menu-button-icon",3,"ngClass","className"],[1,"centermenu-button-text"]],template:function(o,r){o&1&&C(0,oI,3,7,"div",0),o&2&&p("ngIf",r.item)},dependencies:[N,X,Be],styles:['.flexbox[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.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}.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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}.shadow[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch[_ngcontent-%COMP%] .center-menu[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%]{display:none;top:19rem}.is-touch[_ngcontent-%COMP%] #cmb-view-submenu[_ngcontent-%COMP%] .bim-ui-popupwin-tick-down[_ngcontent-%COMP%]{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position[_ngcontent-%COMP%]{left:-35rem}}#center-menu-fp-id[_ngcontent-%COMP%]{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded[_ngcontent-%COMP%]{min-width:16.5rem;min-height:16.5rem}.center-menu[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:all}.center-menu[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none!important}.center-menu[_ngcontent-%COMP%] .center-menu-fp.submenu-active[_ngcontent-%COMP%]{width:27rem}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu[_ngcontent-%COMP%] .center-menu-controller.opened[_ngcontent-%COMP%]{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-dead-zone[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:35rem;height:35rem;left:auto;right:0}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%]{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .center-sub-menu-button[_ngcontent-%COMP%] .center-sub-menu-button-icon[_ngcontent-%COMP%]{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button-text[_ngcontent-%COMP%]{display:none}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%]{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .section-menu-item[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-content[_ngcontent-%COMP%] .annotation-menu-item[_ngcontent-%COMP%]{text-align:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .bim-ui-popupwin-item[_ngcontent-%COMP%]{min-width:7.125em}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .submenu-container[_ngcontent-%COMP%]{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(5) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(6) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(7) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(8) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(9) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(10) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(11) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu[_ngcontent-%COMP%] .centermenu-button.active[_ngcontent-%COMP%]:not(.disabled){background-color:#fe5000}.center-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(1) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-65deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(2) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-85deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(3) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-105deg)}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button[_ngcontent-%COMP%]:nth-child(4) .center-sub-menu-button-icon[_ngcontent-%COMP%]{transform:rotate(-125deg)}@-webkit-keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes _ngcontent-%COMP%_highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:move}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp.is-dragging[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-controller[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .centermenu-button[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{cursor:auto}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%] .centermenu-button-icon[_ngcontent-%COMP%]{cursor:pointer}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button[_ngcontent-%COMP%]:not(.active):hover{background-color:#8d8d8d}.center-menu[_ngcontent-%COMP%] .center-menu-fp[_ngcontent-%COMP%]:not(.is-dragging) div[_ngcontent-%COMP%]:not(.center-menu-sub-menu) .centermenu-button.pulse[_ngcontent-%COMP%]:not(.disabled){-webkit-animation:_ngcontent-%COMP%_highlight .25s linear;animation:_ngcontent-%COMP%_highlight .25s linear}#cmb-view-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu[_ngcontent-%COMP%]{display:none;text-align:left;position:absolute}.center-menu[_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}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-controller[_ngcontent-%COMP%]{left:5.8rem;top:5.8rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-outer[_ngcontent-%COMP%], .center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-circle-border-inner[_ngcontent-%COMP%]{width:16.5rem;height:16.5rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%]{width:30rem;height:31rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]{width:30rem;height:30rem}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(1) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(2) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(3) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu[_ngcontent-%COMP%] .centermenu-button[_ngcontent-%COMP%]:nth-child(4) .centermenu-button-icon[_ngcontent-%COMP%]{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu[_ngcontent-%COMP%] .embedded[_ngcontent-%COMP%] .center-menu-sub-menu-border[_ngcontent-%COMP%]{width:30rem;height:31rem}.ui-icon-create-task[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled[_ngcontent-%COMP%]{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off[_ngcontent-%COMP%]{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled[_ngcontent-%COMP%]{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup[_ngcontent-%COMP%]{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled[_ngcontent-%COMP%]{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section[_ngcontent-%COMP%]{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled[_ngcontent-%COMP%]{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp[_ngcontent-%COMP%]{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled[_ngcontent-%COMP%]{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select[_ngcontent-%COMP%]{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled[_ngcontent-%COMP%]{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled[_ngcontent-%COMP%]{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled[_ngcontent-%COMP%]{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled[_ngcontent-%COMP%]{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset[_ngcontent-%COMP%]{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled[_ngcontent-%COMP%]{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp[_ngcontent-%COMP%]{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled[_ngcontent-%COMP%]{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view[_ngcontent-%COMP%]{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view[_ngcontent-%COMP%]:hover{background-image:url("./media/cm_view_top_orange.svg")}']});let t=e;return t})();var rI=(t,e)=>({opened:t,active:e});function sI(t,e){if(t&1){let i=A();m(0,"lib-tool-hub-item",16),R(1,"translate"),b("clicked",function(){let o=M(i).$implicit,r=g();return I(r.clickToolHubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",L(1,5,i.tooltip))("item",i)("active",!!i.active)("isEnabled",!i.disabled),H("data-test","toolhub_item_"+i.buttonId)}}function aI(t,e){if(t&1){let i=A();m(0,"lib-tool-hub-sub-item",21),R(1,"translate"),b("click",function(){let o=M(i).$implicit,r=g(2);return I(r.clickToolHubSubItem(o.buttonId))}),f()}if(t&2){let i=e.$implicit;p("title",L(1,3,i.tooltip))("item",i),H("data-test","toolhub_subitem_"+i.buttonId)}}function lI(t,e){if(t&1){let i=A();m(0,"div",17),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("submenuBorder",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("submenuBorder",!0))}),f(),m(1,"div",18),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("submenu",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("submenu",!0))}),C(2,aI,2,5,"lib-tool-hub-sub-item",19),f(),m(3,"div",20),b("mouseleave",function(){M(i);let o=g();return I(o.setHoveredState("deadZone",!1))})("mouseenter",function(){M(i);let o=g();return I(o.setHoveredState("deadZone",!0))}),f()}if(t&2){let i=g();p("ngClass",i.isOpened?"":"hidden"),d(),p("ngClass",i.isOpened?"":"hidden"),d(),p("ngForOf",i.activeSubItems),d(),p("ngClass",i.isOpened?"":"hidden")}}function cI(){return{subMenuStartAngle:50,subMenuEndAngle:130,svgRadiusInner:5.75,svgRadius:10.25,subMenuCenter:[17.25,17.5],subMenuRadius:15.5,subMenuWidth:52,deadZoneCenter:[17,18],deadZoneWidth:140,deadZoneRadius:22,deadZoneStartAngle:45,deadZoneEndAngle:135}}function dI(){let t=[{buttonId:"cmButCreateTask",iconClass:"ui-icon-create-task",text:"_Create_issue_center_menu_tooltip",tooltip:"_Create_issue_center_menu_tooltip",tooltipDisabled:"_Create_issue_center_menu_tooltip"},{buttonId:"cmButQuantityTakeOff",iconClass:"ui-icon-quantity-take-off",text:"_Quantity_take_Off_center_menu_tooltip",tooltip:"_Quantity_take_Off_center_menu_tooltip",tooltipDisabled:"_Quantity_take_Off_center_menu_tooltip"},{buttonId:"cmButMarkup",iconClass:"ui-icon-markup",text:"_Markups_center_menu_tooltip",tooltip:"_Markups_center_menu_tooltip",tooltipDisabled:"_Markups_center_menu_tooltip"},{buttonId:"cmButSection",iconClass:"ui-icon-section",text:"_Sectioning_center_menu_tooltip",tooltip:"_Sectioning_center_menu_tooltip",tooltipDisabled:"_Sectioning_center_menu_tooltip"},{buttonId:"cmButObjTranspMenu",iconClass:"ui-icon-obj-transp",text:"_Hide_objects_center_menu_tooltip",tooltip:"_Hide_objects_center_menu_tooltip",tooltipDisabled:"_Hide_objects_center_menu_tooltip"},{buttonId:"cmButObjSel",iconClass:"ui-icon-obj-select",text:"_Isolate_objects_center_menu_tooltip",tooltip:"_Isolate_objects_center_menu_tooltip",tooltipDisabled:"_Isolate_objects_center_menu_tooltip"},{buttonId:"cmButNavigationMap",iconClass:"ui-icon-navigation-map",text:"_Navigation_nap_center_menu_tooltip",tooltip:"_Navigation_nap_center_menu_tooltip",tooltipDisabled:"_Navigation_nap_center_menu_tooltip"},{buttonId:"cmButFullScreen",iconClass:"ui-icon-fullscreen",text:"_Fullscreen_node_center_menu_tooltip",tooltip:"_Fullscreen_node_center_menu_tooltip",tooltipDisabled:"_Fullscreen_node_center_menu_tooltip"},{buttonId:"cmButProjectNavigator",iconClass:"ui-icon-project-navigator",text:"_Project_navigator_center_menu_tooltip",tooltip:"_Project_navigator_center_menu_tooltip",tooltipDisabled:"_Project_navigator_center_menu_tooltip"},{iconClass:"ui-icon-obj-reset",buttonId:"cmButResetObj",text:"_Reset_viewport_center_menu_tooltip",tooltip:"_Reset_viewport_center_menu_tooltip",tooltipDisabled:"_Reset_viewport_center_menu_tooltip"},{buttonId:"cmButResetVp",iconClass:"ui-icon-reset-vp",text:"_Select_view_center_menu_tooltip",tooltip:"_Select_view_center_menu_tooltip",tooltipDisabled:"_Select_view_center_menu_tooltip",subMenuId:"cmb-view-submenu",subItems:[{buttonId:"cmButFrontView",iconClass:"ui-icon-front-view",text:"_Front_view_center_menu_tooltip",tooltip:"_Front_view_center_menu_tooltip",tooltipDisabled:"_Front_view_center_menu_tooltip",actionClick:"centerMenuFrontViewClick"},{buttonId:"cmButTopView",iconClass:"ui-icon-top-view",text:"_Top_view_center_menu_tooltip",tooltip:"_Top_view_center_menu_tooltip",tooltipDisabled:"_Top_view_center_menu_tooltip",actionClick:"centerMenuTopViewClick"},{buttonId:"cmButSideView",iconClass:"ui-icon-side-view",text:"_Side_view_center_menu_tooltip",tooltip:"_Side_view_center_menu_tooltip",tooltipDisabled:"_Side_view_center_menu_tooltip",actionClick:"centerMenuSideViewClick"},{buttonId:"cmButPerspectiveView",iconClass:"ui-icon-perspective-view",text:"_Perspective_view_center_menu_tooltip",tooltip:"_Perspective_view_center_menu_tooltip",tooltipDisabled:"_Perspective_view_center_menu_tooltip",actionClick:"centerMenuPerspectiveViewClick"}]}];return t.map(e=>{e.active=!1,e.disabled=!0}),t}var Oh=(()=>{let e=class e extends ne{constructor(n){super(n),this.left=500,this.top=500,this.title="",this.isEmbedded=!1,this.isFocused=!1,this.isActive=!0,this.itemClicked=new y,this.subItemClicked=new y,this._isOpened=!0,this._itemStates=Array(),this._items=Array(),this._activeSubItemsView=null,this._activeSubItems=null,this._hoveredElements=Array(),this.items=dI(),this._visualSettings=cI(),this._units=this.calculateCurrentMenuItemUnits(),this._subMenuUnits=this.calculateCurrentSubMenuItemUnits(),this._annularSector=At.generateAnnularSector(this._visualSettings),this._annularSectorBorder=At.generateAnnularSectorBorder(this._visualSettings),this._deadZoneAnnularSector=At.generateDeadZoneAnnularSector(this._visualSettings)}get itemStates(){return this._itemStates}set itemStates(n){this._itemStates=n,this.setItemStates(this._itemStates)}setItemStates(n){for(let o of n){let r=this._items.find(s=>s.buttonId===o.buttonId);r&&(o.active!=null&&(r.active=o.active),o.disabled!==void 0&&(r.disabled=o.disabled))}}get items(){return this._items}set items(n){this._items=n;let o=this._items?.length>0?this._items.length:1,r=document?.documentElement?.style;if(r){let s=r.getPropertyValue("--menu-items");parseInt(s)!=o&&r.setProperty("--menu-items",o.toString())}this.setItemStates(this._itemStates)}get activeSubItems(){return this._activeSubItems}get isOpened(){return this._isOpened}set isOpened(n){this._isOpened=n,this.title=this._isOpened?this.translateService.instant("_Minimize_toolhub_tooltip"):this.translateService.instant("_Show_toolhub_tooltip")}get units(){return this._units}get subMenuUnits(){return this._subMenuUnits}get annularSector(){return this._annularSector}get annularSectorBorder(){return this._annularSectorBorder}get deadZoneAnnularSector(){return this._deadZoneAnnularSector}getSVGViewBox(){return At.getSVGViewBox(this._units)}getSVGCenterMenuPath(){return At.getSVGCenterMenuPath(this._units)}getSVGCenterMenuItemPath(){return At.getSVGCenterMenuItemPath(this._units)}getSVGCenterSubMenuItemPath(){return At.getSVGCenterSubMenuItemPath(this._subMenuUnits)}toggleMenu(){this.isOpened=!this.isOpened}findToolHubItemById(n){return this._items.find(o=>o.buttonId===n)}clickToolHubItem(n){let o=this.findToolHubItemById(n);!o||o?.disabled||this.itemClicked.emit(n)}clickToolHubSubItem(n){!this._activeSubItems||!this._activeSubItems.find(r=>r.buttonId===n)||(this.subItemClicked.emit(n),this.closeActiveSubItemsView())}toggleToolHubItemActive(n){let o=this.findToolHubItemById(n);!o||o.disabled||(o.active=!o.active)}toggleSubItemsView(n){let o=this.findToolHubItemById(n);!o||o.disabled||!o.subItems||(o.active=!o.active,o.active?(this._activeSubItemsView=o,this._activeSubItems=o.subItems):(this._activeSubItemsView=null,this._activeSubItems=null))}closeActiveSubItemsView(){this._activeSubItemsView&&(this._activeSubItemsView.active=!1,this._activeSubItemsView=null),this._activeSubItems=null}setHoveredState(n,o){let r=this._hoveredElements.indexOf(n),s=this._hoveredElements.length;r>=0&&!o&&this._hoveredElements.splice(r,1),r<0&&o&&this._hoveredElements.push(n),s>0&&this._hoveredElements.length===0&&setInterval(()=>{this._hoveredElements.length===0&&this.closeActiveSubItemsView()},1e3)}dragElement(n){let o=n[0],r=n[1];this.left+=o,this.top+=r}calculateCurrentMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,this._items.length,this.isEmbedded)}calculateCurrentSubMenuItemUnits(){return At.drawMenuItemSvg(this._visualSettings.svgRadius,this._visualSettings.svgRadiusInner,20,this.isEmbedded)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-tool-hub"]],hostVars:4,hostBindings:function(o,r){o&2&&ke("left",r.left,"px")("top",r.top,"px")},inputs:{left:"left",top:"top",itemStates:"itemStates",items:"items",isOpened:[_.HasDecoratorInputTransform,"isOpened","isOpened",D],isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isFocused:[_.HasDecoratorInputTransform,"isFocused","isFocused",D],isActive:[_.HasDecoratorInputTransform,"isActive","isActive",D]},outputs:{itemClicked:"itemClicked",subItemClicked:"subItemClicked"},standalone:!0,features:[K([P]),fe,z,S],decls:22,vars:20,consts:[[1,"center-menu"],["id","center-menu-fp-id",1,"center-menu-fp",3,"ngClass"],["libDraggable","","id","center-menu-controller","data-test","toolhub_controller",1,"center-menu-controller","dragger",3,"clicked","dragging","ngClass","title"],[1,"center-menu-circle-border-inner",3,"ngClass"],[1,"center-menu-circle-border-outer",3,"mouseleave","mouseenter","ngClass"],["libDraggable","",1,"center-menu-circle",3,"mouseleave","mouseenter","dragging","ngClass"],["libDraggable","",3,"title","item","active","isEnabled","clicked",4,"ngFor","ngForOf"],["fill","none",1,"centermenu-button-svg"],["id","svgCenterMenu","clipPathUnits","objectBoundingBox"],["fill","white"],["id","svgCenterMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterSubMenuItem","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenu","clipPathUnits","objectBoundingBox"],["fill","none"],["id","svgCenterMenuSubMenuBorder","clipPathUnits","objectBoundingBox"],["id","svgCenterMenuSubMenuDeadZone","clipPathUnits","objectBoundingBox"],["libDraggable","",3,"clicked","title","item","active","isEnabled"],[1,"center-menu-sub-menu-border",3,"mouseleave","mouseenter","ngClass"],[1,"center-menu-sub-menu",3,"mouseleave","mouseenter","ngClass"],[3,"title","item","click",4,"ngFor","ngForOf"],[1,"center-menu-sub-menu-dead-zone",3,"mouseleave","mouseenter","ngClass"],[3,"click","title","item"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1)(2,"div",2),R(3,"translate"),b("clicked",function(){return r.toggleMenu()})("dragging",function(a){return r.dragElement(a)}),f(),O(4,"div",3),m(5,"div",4),b("mouseleave",function(){return r.setHoveredState("menuCircleBorderOuter",!1)})("mouseenter",function(){return r.setHoveredState("menuCircleBorderOuter",!0)}),f(),m(6,"div",5),b("mouseleave",function(){return r.setHoveredState("menuCircle",!1)})("mouseenter",function(){return r.setHoveredState("menuCircle",!0)})("dragging",function(a){return r.dragElement(a)}),C(7,sI,2,7,"lib-tool-hub-item",6),dp(),m(8,"svg",7)(9,"clipPath",8),O(10,"path",9),f(),m(11,"clipPath",10),O(12,"path",9),f(),m(13,"clipPath",11),O(14,"path",9),f(),m(15,"clipPath",12),O(16,"path",13),f(),m(17,"clipPath",14),O(18,"path",13),f(),m(19,"clipPath",15),O(20,"path",13),f()()(),C(21,lI,4,4),f()()),o&2&&(d(),p("ngClass",r.activeSubItems?"submenu-active":""),d(),p("ngClass",nt(17,rI,r.isOpened,r.isActive))("title",L(3,15,"_Minimize_toolhub_tooltip")),d(2),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngClass",r.isOpened?"":"hidden"),d(),p("ngForOf",r.items),d(),H("viewBox",r.getSVGViewBox()),d(2),H("d",r.getSVGCenterMenuPath()),d(2),H("d",r.getSVGCenterMenuItemPath()),d(2),H("d",r.getSVGCenterSubMenuItemPath()),d(2),H("d",r.annularSector),d(2),H("d",r.annularSectorBorder),d(2),H("d",r.deadZoneAnnularSector),d(),$(21,r.activeSubItems?21:-1))},dependencies:[te,Ie,N,X,ve,kh,Sh,En],styles:[`.flexbox{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.text-selected{color:#fe5000}.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}.shadow{box-shadow:.3rem .3rem .7rem #0000004d}.is-touch .center-menu .submenu-container{-webkit-box-justify-content:flex-end;-moz-box-justify-content:flex-end;-webkit-justify-content:flex-end;-ms-justify-content:flex-end;justify-content:flex-end}.is-touch #cmb-view-submenu{display:none;top:19rem}.is-touch #cmb-view-submenu .bim-ui-popupwin-tick-down{display:none}@media (max-width: 75.8rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 76.8rem) and (max-width: 98.2rem){.touch-center-menu-left-position{left:-29rem}}@media (min-width: 99.2rem) and (max-width: 119rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 120rem) and (max-width: 159rem){.touch-center-menu-left-position{left:-35rem}}@media (min-width: 160rem){.touch-center-menu-left-position{left:-35rem}}#center-menu-fp-id{background-color:transparent;pointer-events:none;min-width:20.5rem;min-height:20.5rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;z-index:3;position:relative}#center-menu-fp-id.embedded{min-width:16.5rem;min-height:16.5rem}.center-menu{position:absolute;height:100%;width:100%;bottom:22.1rem;pointer-events:none}.center-menu>*{pointer-events:all}.center-menu .hidden{display:none!important}.center-menu .center-menu-fp.submenu-active{width:27rem}.center-menu .center-menu-controller{cursor:pointer;pointer-events:all;position:absolute;width:4.9rem;height:4.9rem;left:7.8rem;top:7.9rem;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:2.7rem 2.7rem;background-color:#fff;background-image:url("./media/27_Center_Menu.svg");border:1px solid #8D8D8D}.center-menu .center-menu-controller.opened{background-image:url("./media/27_Center_Menu_opened.svg");transition:width .5s ease-in-out,height .5s ease-in-out}.center-menu .center-menu-controller:not(.opened).active{background-color:#fe5000;background-image:url("./media/27_Center_Menu_active.svg");border-color:transparent}.center-menu .center-menu-sub-menu-dead-zone{position:absolute;top:-7rem;left:-7rem;width:55rem;height:55rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#fff0;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuDeadZone);clip-path:url(#svgCenterMenuSubMenuDeadZone);font-size:0;z-index:-1}.center-menu .center-menu-sub-menu-border{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#c3c3c3;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenuSubMenuBorder);clip-path:url(#svgCenterMenuSubMenuBorder);font-size:0}.center-menu .center-menu-sub-menu{position:absolute;top:-7rem;left:-7rem;width:35rem;height:35rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#ffffffe6;pointer-events:all;overflow:hidden;-webkit-clip-path:url(#svgCenterMenuSubMenu);clip-path:url(#svgCenterMenuSubMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-sub-menu .centermenu-button{width:35rem;height:35rem;left:auto;right:0}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-text{display:none}.center-menu .center-menu-sub-menu .centermenu-button .centermenu-button-icon{width:2rem;height:3rem;background-size:1.8rem 1.8rem}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(62.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(82.5deg) translate(-1rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(102.5deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(122.5deg) translate(-.7rem,3.8rem)}.center-menu .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .center-menu-sub-menu .center-sub-menu-button{position:absolute;width:35rem;height:35rem;overflow:hidden;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterSubMenuItem);clip-path:url(#svgCenterSubMenuItem);font-size:0;background-position:center top}.center-menu .center-menu-sub-menu .center-sub-menu-button.active:not(.disabled){background-color:#fe5000}.center-menu .center-menu-sub-menu .center-sub-menu-button .center-sub-menu-button-icon{width:2rem;height:2rem;display:inline-block;margin:0;padding:0;background-position:center;background-repeat:no-repeat;background-size:2rem 2rem;cursor:pointer}.center-menu .center-menu-circle-border-outer,.center-menu .center-menu-circle-border-inner{position:absolute;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#8d8d8d80;opacity:.9;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0}.center-menu .center-menu-circle-border-outer{width:20.5rem;height:20.5rem;transform:translate(0) scale(1.01)}.center-menu .center-menu-circle-border-inner{width:20.5rem;height:20.5rem;transform:scale(.97)}.center-menu .center-menu-circle{width:20.5rem;height:20.5rem;margin:auto;vertical-align:bottom;text-align:center;white-space:nowrap;background-color:#444444e6;pointer-events:all;-webkit-clip-path:url(#svgCenterMenu);clip-path:url(#svgCenterMenu);font-size:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .center-menu-circle .centermenu-button-text{display:none}.center-menu .center-menu-circle .bim-ui-popupwin-content{box-shadow:.3rem .3rem .7rem #0000004d}.center-menu .center-menu-circle .bim-ui-popupwin-content .section-menu-item,.center-menu .center-menu-circle .bim-ui-popupwin-content .annotation-menu-item{text-align:center}.center-menu .center-menu-circle .bim-ui-popupwin-item{min-width:7.125em}.center-menu .center-menu-circle .submenu-container{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-justify-content:center;-moz-box-justify-content:center;-webkit-justify-content:center;-ms-justify-content:center;justify-content:center}.center-menu .center-menu-circle .centermenu-button:nth-child(1){transform:rotate(calc(90deg + 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(calc(-90deg - 1 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2){transform:rotate(calc(90deg + 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(calc(-90deg - 2 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3){transform:rotate(calc(90deg + 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(calc(-90deg - 3 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4){transform:rotate(calc(90deg + 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(calc(-90deg - 4 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5){transform:rotate(calc(90deg + 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(5) .centermenu-button-icon{transform:rotate(calc(-90deg - 5 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6){transform:rotate(calc(90deg + 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(6) .centermenu-button-icon{transform:rotate(calc(-90deg - 6 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7){transform:rotate(calc(90deg + 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(7) .centermenu-button-icon{transform:rotate(calc(-90deg - 7 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8){transform:rotate(calc(90deg + 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(8) .centermenu-button-icon{transform:rotate(calc(-90deg - 8 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9){transform:rotate(calc(90deg + 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(9) .centermenu-button-icon{transform:rotate(calc(-90deg - 9 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10){transform:rotate(calc(90deg + 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(10) .centermenu-button-icon{transform:rotate(calc(-90deg - 10 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11){transform:rotate(calc(90deg + 11 * 360deg / var(--menu-items)))}.center-menu .center-menu-circle .centermenu-button:nth-child(11) .centermenu-button-icon{transform:rotate(calc(-90deg - 11 * 360deg / var(--menu-items)))}.center-menu .centermenu-button{position:absolute;width:20.5rem;height:20.5rem;top:0;left:0;margin:0;padding:0;-webkit-clip-path:url(#svgCenterMenuItem);clip-path:url(#svgCenterMenuItem);font-size:0;overflow:hidden;background-position:center top}.center-menu .centermenu-button.active:not(.disabled){background-color:#fe5000}.center-menu .centermenu-button .centermenu-button-icon{width:5.8rem;height:5.8rem;margin:-.6rem;display:inline-block;padding:0;background-position:center;background-repeat:no-repeat;background-size:1.8rem 1.8rem}.center-sub-menu-button:nth-child(1){transform:rotate(65deg);left:auto;right:0}.center-sub-menu-button:nth-child(1) .center-sub-menu-button-icon{transform:rotate(-65deg)}.center-sub-menu-button:nth-child(2){transform:rotate(80deg);left:auto;right:0}.center-sub-menu-button:nth-child(2) .center-sub-menu-button-icon{transform:rotate(-85deg)}.center-sub-menu-button:nth-child(3){transform:rotate(95deg);left:auto;right:0}.center-sub-menu-button:nth-child(3) .center-sub-menu-button-icon{transform:rotate(-105deg)}.center-sub-menu-button:nth-child(4){transform:rotate(110deg);left:auto;right:0}.center-sub-menu-button:nth-child(4) .center-sub-menu-button-icon{transform:rotate(-125deg)}@-webkit-keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}@keyframes highlight{0%{background-color:#d84500}to{background-color:#d84500}}.center-menu .center-menu-fp.is-dragging .center-menu-controller,.center-menu .center-menu-fp.is-dragging .centermenu-button{cursor:move}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp.is-dragging .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-controller,.center-menu .center-menu-fp:not(.is-dragging) .centermenu-button{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button{cursor:auto}.center-menu .center-menu-fp:not(.is-dragging) .center-menu-sub-menu .centermenu-button .centermenu-button-icon{cursor:pointer}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button:not(.active):hover{background-color:#8d8d8d}.center-menu .center-menu-fp:not(.is-dragging) div:not(.center-menu-sub-menu) .centermenu-button.pulse:not(.disabled){-webkit-animation:highlight .25s linear;animation:highlight .25s linear}#cmb-view-submenu{display:none;text-align:left;position:absolute;bottom:7.4rem;width:35rem;left:25.5rem}.bim-bottom-submenu{display:none;text-align:left;position:absolute}.center-menu{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.center-menu .embedded .center-menu-circle{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-controller{left:5.8rem;top:5.8rem}.center-menu .embedded .centermenu-button,.center-menu .embedded .center-menu-circle-border-outer,.center-menu .embedded .center-menu-circle-border-inner{width:16.5rem;height:16.5rem}.center-menu .embedded .center-menu-sub-menu{width:30rem;height:31rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button{width:30rem;height:30rem}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1){transform:rotate(64.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(1) .centermenu-button-icon{transform:rotate(-50deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2){transform:rotate(84.5deg) translate(-1rem,3.1rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(2) .centermenu-button-icon{transform:rotate(-60deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3){transform:rotate(105.5deg) translate(-1rem,3rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(3) .centermenu-button-icon{transform:rotate(-70deg) translate(-.8rem,4rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4){transform:rotate(124.5deg) translate(-.7rem,2.7rem)}.center-menu .embedded .center-menu-sub-menu .centermenu-button:nth-child(4) .centermenu-button-icon{transform:rotate(-80deg) translate(-1rem,4rem)}.center-menu .embedded .center-menu-sub-menu-border{width:30rem;height:31rem}.ui-icon-create-task{background-image:url("./media/Add_Issue_active.svg")}.ui-icon-create-task.disabled{background-image:url("./media/Add_Issue_disabled.svg")}.ui-icon-quantity-take-off{background-image:url("./media/Quantity_active.svg")}.ui-icon-quantity-take-off.disabled{background-image:url("./media/Quantity_disabled.svg")}.ui-icon-markup{background-image:url("./media/Markup_active.svg")}.ui-icon-markup.disabled{background-image:url("./media/Markup_disabled.svg")}.ui-icon-section{background-image:url("./media/Section_active.svg")}.ui-icon-section.disabled{background-image:url("./media/Section_disabled.svg")}.ui-icon-obj-transp{background-image:url("./media/Hide_active.svg")}.ui-icon-obj-transp.disabled{background-image:url("./media/Hide_disabled.svg")}.ui-icon-obj-select{background-image:url("./media/Isolation_active.svg")}.ui-icon-obj-select.disabled{background-image:url("./media/Isolation_disabled.svg")}.ui-icon-navigation-map{background-image:url("./media/Navigation_Map_active.svg")}.ui-icon-navigation-map.disabled{background-image:url("./media/Navigation_Map_disabled.svg")}.ui-icon-fullscreen{background-image:url("./media/Fullscreen_active.svg")}.ui-icon-fullscreen.disabled{background-image:url("./media/Fullscreen_disabled.svg")}.ui-icon-project-navigator{background-image:url("./media/Project_Navigation_active.svg")}.ui-icon-project-navigator.disabled{background-image:url("./media/Project_Navigation_disabled.svg")}.ui-icon-obj-reset{background-image:url("./media/Reset_active.svg")}.ui-icon-obj-reset.disabled{background-image:url("./media/Reset_disabled.svg")}.ui-icon-reset-vp{background-image:url("./media/View_active.svg")}.ui-icon-reset-vp.disabled{background-image:url("./media/View_disabled.svg")}.ui-icon-front-view{background-image:url("./media/cm_view_front_black.svg")}.ui-icon-front-view:hover{background-image:url("./media/cm_view_front_orange.svg")}.ui-icon-perspective-view{background-image:url("./media/cm_view_perspective_black.svg")}.ui-icon-perspective-view:hover{background-image:url("./media/cm_view_perspective_orange.svg")}.ui-icon-side-view{background-image:url("./media/cm_view_side_black.svg")}.ui-icon-side-view:hover{background-image:url("./media/cm_view_side_orange.svg")}.ui-icon-top-view{background-image:url("./media/cm_view_top_black.svg")}.ui-icon-top-view:hover{background-image:url("./media/cm_view_top_orange.svg")}
26
+ `],encapsulation:3});let t=e;return t})();var uI=(t,e)=>({open:t,"is-touch":e}),mI=t=>({open:t}),pI=t=>({selected:t});function fI(t,e){if(t&1){let i=A();m(0,"li",7),b("click",function(){let o=M(i).$implicit,r=g();return I(r._menuItemClicked(o.mode))}),O(1,"div",8),m(2,"span"),E(3),R(4,"translate"),f()()}if(t&2){let i=e.$implicit,n=g();p("ngClass",we(5,pI,n.selectedMode===i.mode)),d(),p("ngClass",i.class),d(2),oe(L(4,3,i.textId))}}var Th=(()=>{let e=class e extends ne{constructor(n){super(n),this._menuItemsList=[{mode:"touch",class:"icon-touch-mode-toolbar",textId:"_Touch_Mode"},{mode:"desktop",class:"icon-desktop-mode-toolbar",textId:"_Desktop_Mode"}],this._menuOpened=!1,this.isTouch=!1,this.selectedMode="desktop",this.bimplusTouchModeSelected=new y}get _selectedItem(){return this._menuItemsList.find(n=>n.mode==this.selectedMode)}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}_menuItemClicked(n){ae(this,"bimplusTouchModeSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-touch-menu"]],inputs:{isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedMode:"selectedMode"},outputs:{bimplusTouchModeSelected:"bimplusTouchModeSelected"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:7,vars:10,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"click","ngClass"],[1,"dropdown-toggle"],[1,"main-icon",3,"ngClass"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],["class","bimcomp-dropdown-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"],[1,"icon",3,"ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),b("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),C(6,fI,5,7,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",nt(5,uI,r._menuOpened,r.isTouch)),d(2),p("ngClass",r._selectedItem!=null&&r._selectedItem.class?r._selectedItem==null?null:r._selectedItem.class:""),d(2),p("ngClass",we(8,mI,r._menuOpened)),d(),p("ngForOf",r._menuItemsList))},dependencies:[N,X,ve,te,Ie],styles:[`.dropdown{position:relative;cursor:pointer;display:flex;justify-content:space-around;align-items:center;width:4em;height:3.25em;font-family:Source Sans Pro,Helvetica,Arial,tahoma,sans-serif}.dropdown.open{color:#555;background-color:#e7e7e7}.dropdown-toggle{position:relative;margin-left:1em;margin-right:.3em;background-size:1.4em 1.4em;padding-top:.31em;display:flex;flex-direction:row;align-items:center;font-weight:600;color:#777;min-width:2.8em;min-height:2.81em}.dropdown-toggle .caret{display:inline-block;width:0;height:0;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 .main-icon{padding-top:.1em}.dropdown-toggle .icon{margin:0}.is-touch .dropdown-toggle{position:relative;margin-left:.44em;margin-right:.44em;padding-bottom:.22em;min-width:0;min-height:0;padding-top:0;padding-left:0}.is-touch .dropdown-toggle .caret{display:none}.dropdown-toggle:hover{color:#333}.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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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 2.2em .2em 2em;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}.bimcomp-dropdown-menu li.selected,.bimcomp-dropdown-menu li.selected:hover{background-color:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:#e5e5e5;cursor:auto;padding:0}.bimcomp-dropdown-menu.open{display:flex;flex-direction:column}.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-touch-mode-toolbar{background:url("./media/bimplus_Components_Touch_Mode.svg") no-repeat center}.icon-desktop-mode-toolbar{background:url("./media/bimplus_Components_Desktop_Mode.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}
27
+ `],encapsulation:3});let t=e;return t})();var gI=(t,e)=>({divider:t,languageMenuItem:e});function hI(t,e){if(t&1&&E(0),t&2){let i=g();B(" ",i.userName," ")}}function bI(t,e){if(t&1){let i=A();m(0,"div",16),b("click",function(){let o=M(i).$implicit,r=g(4);return I(r._switchLanguage(o.symbol))}),E(1),f()}if(t&2){let i=e.$implicit,n=g(4);ge("id",n._getLangId(i)),p("ngClass",i.symbol===n.selectedLanguage?"selected":""),H("key",n._getLangId(i)),d(),B(" ",i.text," ")}}function _I(t,e){if(t&1&&(O(0,"div",10)(1,"div",11),m(2,"span",12),E(3),R(4,"translate"),f(),m(5,"div",13)(6,"div",14),C(7,bI,2,4,"div",15),f()()),t&2){let i=g(2).$implicit,n=g();d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),B(" ",L(4,5,i.textId)," "),d(2),p("ngClass",n._languagesMenuOpened?"open":""),d(2),p("ngForOf",n._languagesList)}}function vI(t,e){if(t&1&&(O(0,"div",17)(1,"div",11),m(2,"span",12),E(3),R(4,"translate"),f()),t&2){let i=g(2).$implicit;d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),B(" ",L(4,3,i.textId)," ")}}function yI(t,e){if(t&1&&(O(0,"div",17),m(1,"a",18),O(2,"div",11),m(3,"span",12),E(4),R(5,"translate"),f()()),t&2){let i=g(2).$implicit,n=g();d(),ge("href",n._buildUrl(i),Vo),d(),p("ngClass",i.class),d(),p("ngClass",i.textClass?i.textClass:""),d(),B(" ",L(5,4,i.textId)," ")}}function CI(t,e){if(t&1){let i=A();m(0,"li",9),b("click",function(){M(i);let o=g(),r=o.$implicit,s=o.index,a=g();return I(a._menuItemClicked(r,s))}),C(1,_I,8,7)(2,vI,5,5)(3,yI,6,6),f()}if(t&2){let i=g().$implicit;p("ngClass",nt(4,gI,i.type==="divider",i.action==="submenu")),H("key",i.id)("role",i.type==="divider"?"separator":""),d(),$(1,i.action==="submenu"?1:!i.url||i.url.slice(0,2)==="#/"?2:!i.type||i.type!=="divider"?3:-1)}}function wI(t,e){if(t&1&&(pt(0),C(1,CI,4,7,"li",8),ft()),t&2){let i=e.$implicit;d(),p("ngIf",i)}}var Ph=(()=>{let e=class e extends ne{constructor(n){super(n),this._menuItemsList=[{id:"accountSettingsPage",action:"accountSettings",class:"icon-account-settings",textId:"_Edit_profile",type:"",checkState:"",url:"",textClass:"",queryParams:""},{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",url:"https://doc.allplan.com/display/BIMPLUSMANUAL/Bimplus+Benutzerhandbuch",type:"",checkState:"",textClass:"",queryParams:""},{id:"supportLink",action:"support",class:"icon-support",textId:"_Support",url:"https://connect.allplan.com/en/support/contact.ct",queryParams:"no_cache=1",type:"",checkState:"",textClass:""},{id:"forumLink",action:"forum",class:"icon-forum",textId:"_Forum",url:"https://connect.allplan.com/de/forum/themen/bim-benutzer-forum.ct",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:""}],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.bimplusUserMenuClicked=new y,this.bimplusLanguageSelected=new y}ngOnChanges(n){n.localizedStrings&&(this.localizedStrings=n.localizedStrings.currentValue)}_menuItemClicked(n,o){!n||n.type==="divider"||(n.action==="submenu"?this._toggleLanguagesSubmenuOpened():(this._languagesMenuOpened=!1,this._menuOpened=!1,ae(this,"bimplusUserMenuClicked",{index:o,action:n.action?n.action:""})))}_switchLanguage(n){this._languagesMenuOpened=!1,this._menuOpened=!1,ae(this,"bimplusLanguageSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened,this._menuOpened||(this._languagesMenuOpened=!1)}_toggleLanguagesSubmenuOpened(){this._menuOpened&&(this._languagesMenuOpened=!this._languagesMenuOpened)}_isHidden(n){return n?!this[`${n.action?n.action:n.id}Visible`]:!1}_buildUrl(n){let o=n?.url,s=this._languagesList.find(l=>l.symbol===this.selectedLanguage)?.lCode,a=n?.url?.endsWith?.(".ct")&&s;return(n?.queryParams||a)&&(o=o+"?",a&&(o=o+"L="+s,n?.queryParams&&(o=o+"&")),n?.queryParams&&(o=o+n.queryParams)),o}_getMenuItems(){return(this.isEmbedded?this._menuItemsList.slice(0,-3):this._menuItemsList).map(o=>{if(!(this._isHidden(o)||o.checkState&&!this[o.checkState]))return o})}_getLangId(n){return"portalLanguage"+n?.symbol.charAt(0).toUpperCase()+n?.symbol.slice(1)}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-user-menu"]],inputs:{accountSettingsVisible:[_.HasDecoratorInputTransform,"accountSettingsVisible","accountSettingsVisible",D],removeConnectedAppsVisible:[_.HasDecoratorInputTransform,"removeConnectedAppsVisible","removeConnectedAppsVisible",D],userGuideVisible:[_.HasDecoratorInputTransform,"userGuideVisible","userGuideVisible",D],supportVisible:[_.HasDecoratorInputTransform,"supportVisible","supportVisible",D],forumVisible:[_.HasDecoratorInputTransform,"forumVisible","forumVisible",D],submenuVisible:[_.HasDecoratorInputTransform,"submenuVisible","submenuVisible",D],clearCacheVisible:[_.HasDecoratorInputTransform,"clearCacheVisible","clearCacheVisible",D],dividerLoggedInVisible:[_.HasDecoratorInputTransform,"dividerLoggedInVisible","dividerLoggedInVisible",D],logoutVisible:[_.HasDecoratorInputTransform,"logoutVisible","logoutVisible",D],isEmbedded:[_.HasDecoratorInputTransform,"isEmbedded","isEmbedded",D],isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],allowRcaItem:[_.HasDecoratorInputTransform,"allowRcaItem","allowRcaItem",D],buttonTitle:"buttonTitle",userName:"userName",userPhotoUrl:"userPhotoUrl"},outputs:{bimplusUserMenuClicked:"bimplusUserMenuClicked",bimplusLanguageSelected:"bimplusLanguageSelected"},standalone:!0,features:[K([P]),fe,z,Ue,S],decls:9,vars:10,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"ngClass"],[1,"dropdown-toggle",3,"click","title"],[1,"user-photo",3,"src","alt"],[1,"user-name"],[1,"caret"],[1,"bimcomp-dropdown-menu",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"ngClass","click",4,"ngIf"],[3,"click","ngClass"],[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",4,"ngFor","ngForOf"],[1,"languageSubmenuItem",3,"click","id","ngClass"],[1,"submenu"],["rel","noopener","target","_blank",3,"href"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1)(2,"div",2),b("click",function(){return r._toggleOpened()}),O(3,"img",3),m(4,"div",4),C(5,hI,1,1),f(),O(6,"span",5),f(),m(7,"ul",6),C(8,wI,2,1,"ng-container",7),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),H("key","bimcompOverlay"),d(),p("ngClass",r._menuOpened?"open":""),H("key","userMenu"),d(),p("title",r.buttonTitle?r.buttonTitle:""),d(),ge("src",r.userPhotoUrl?r.userPhotoUrl:"",Vo),ge("alt",r.buttonTitle?r.buttonTitle:""),d(2),$(5,r.isTouch?-1:5),d(2),p("ngClass",r._menuOpened?"open":""),d(),p("ngForOf",r._getMenuItems()))},dependencies:[N,X,ve,Be,te,Ie],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:#555;background-color:#e7e7e7}.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:#777}.dropdown-toggle .user-photo{width:2.25em;height:2.25em;margin:auto;border-radius:50%;object-fit:cover;background:url("./media/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:#333}.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 rgba(0,0,0,.15);box-shadow:0 1px 2px #00000040;background-color:#fff}.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:#fff;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:#ffe6da}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child{background-color:#fff;border-radius:.29em .29em 0 0;margin-top:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child{background-color:#fff;border-radius:0 0 .29em .29em;margin-bottom:.5em}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:hover{background-color:#f5f5f5}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:first-child:hover{background-color:#f5f5f5;border-radius:.29em .29em 0 0}.languageMenuItem .languagesSubmenu .languageSubmenuItems .languageSubmenuItem:last-child:hover{background-color:#f5f5f5;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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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 2.2em .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}.bimcomp-dropdown-menu li .submenu{min-width:2.8em;width:2.8em;min-height:2.8em;height:2.8em}.bimcomp-dropdown-menu li .submenu.arrow{background:url("./media/bimplus_Components_submenu_arrow.svg");background-position:center center;background-repeat:no-repeat;background-size:.7em .7em}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.bimcomp-dropdown-menu ul,.bimcomp-dropdown-menu li{list-style:none}.bimcomp-dropdown-menu .divider{height:1px;margin:.5em 0;overflow:hidden;background-color:#e5e5e5;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:#555;text-decoration-color:#333;text-decoration-line:none}.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("./media/bimplus_Components_Edit_Profile.svg") no-repeat center}.icon-rca{background:url("./media/bimplus_Remove_Conection.svg") no-repeat center}.icon-user-guide{background:url("./media/bimplus_Components_User_Guide.svg") no-repeat center}.icon-support{background:url("./media/bimplus_Components_Support.svg") no-repeat center}.icon-forum{background:url("./media/bimplus_Components_Forum.svg") no-repeat center}.icon-clear-cache{background:url("./media/bimplus_Components_Clear_Cache.svg") no-repeat center}.icon-languages{background:url("./media/bimplus_Components_Languages.svg") no-repeat center}.icon-log-out{background:url("./media/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}
28
+ `],encapsulation:3});let t=e;return t})();var xI=(t,e)=>({open:t,"is-touch":e});function DI(t,e){if(t&1){let i=A();m(0,"li",7),b("click",function(){let o=M(i).$implicit,r=g();return I(r._switchZoom(o.symbol))}),m(1,"span"),E(2),f()()}if(t&2){let i=e.$implicit,n=g();p("ngClass",n._getZoomClassObject(i.symbol)),d(2),oe(i.text)}}var Ah=(()=>{let e=class e{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 y}_switchZoom(n){ae(this,"bimplusZoomSelected",n)}_toggleOpened(){this._menuOpened=!this._menuOpened}_getZoomClassObject(n){return{selected:this.selectedZoom===n,["bimzoom-"+n]:!0}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-zoom"]],inputs:{isTouch:[_.HasDecoratorInputTransform,"isTouch","isTouch",D],selectedZoom:"selectedZoom"},outputs:{bimplusZoomSelected:"bimplusZoomSelected"},standalone:!0,features:[fe,S],decls:7,vars:7,consts:[[1,"bimcomp-overlay",3,"click","ngClass"],[1,"dropdown",3,"click","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",4,"ngFor","ngForOf"],[1,"bimcomp-dropdown-menu-item",3,"click","ngClass"]],template:function(o,r){o&1&&(m(0,"div",0),b("click",function(){return r._toggleOpened()}),f(),m(1,"div",1),b("click",function(){return r._toggleOpened()}),m(2,"div",2),O(3,"div",3)(4,"span",4),f(),m(5,"ul",5),C(6,DI,3,2,"li",6),f()()),o&2&&(p("ngClass",r._menuOpened?"open":""),d(),p("ngClass",nt(4,xI,r._menuOpened,r.isTouch)),d(4),p("ngClass",r._menuOpened?"open":""),d(),p("ngForOf",r._zoomList))},dependencies:[N,X,ve],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:#555;background-color:#e7e7e7}.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:#777;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:#fff;border:thin solid rgba(0,0,0,.15);border-radius:0 0 .29em .29em;-webkit-box-shadow:0 .43em .86em rgba(0,0,0,.175);box-shadow:0 .43em .86em #0000002d;text-decoration-color:#333;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:#ffe6da}.bimcomp-dropdown-menu li:hover{background-color:#f5f5f5}.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("./media/bimplus_Components_Zoom.svg")}
29
+ `],encapsulation:3});let t=e;return t})();var Pd;try{Pd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Pd=!1}var Dt=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?qf(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||Pd)&&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}};e.\u0275fac=function(o){return new(o||e)(j(vn))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ir;function MI(){if(ir==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ir=!0}))}finally{ir=ir||!1}return ir}function eo(t){return MI()?t:!!t.capture}var Td;function II(){if(Td==null){let t=typeof document<"u"?document.head:null;Td=!!(t&&(t.createShadowRoot||t.attachShadow))}return Td}function Fh(t){if(II()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Tn(t){return t.composedPath?t.composedPath()[0]:t.target}function Nh(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Ad(t){return Array.isArray(t)?t:[t]}function ti(t){return t instanceof se?t.nativeElement:t}var jh=new Set,ni,EI=(()=>{let e=class e{constructor(n,o){this._platform=n,this._nonce=o,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):SI}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&kI(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(Ro,8))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kI(t,e){if(!jh.has(t))try{ni||(ni=document.createElement("style"),e&&ni.setAttribute("nonce",e),ni.setAttribute("type","text/css"),document.head.appendChild(ni)),ni.sheet&&(ni.sheet.insertRule(`@media ${t} {body{ }}`,0),jh.add(t))}catch(i){console.error(i)}}function SI(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Lh=(()=>{let e=class e{constructor(n,o){this._mediaMatcher=n,this._zone=o,this._queries=new Map,this._destroySubject=new ye}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Rh(Ad(n)).some(r=>this._registerQuery(r).mql.matches)}observe(n){let r=Rh(Ad(n)).map(a=>this._registerQuery(a).observable),s=$a(r);return s=en(s.pipe(It(1)),s.pipe(po(1),pi(0))),s.pipe(Fe(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let o=this._mediaMatcher.matchMedia(n),s={observable:new ue(a=>{let l=c=>this._zone.run(()=>a.next(c));return o.addListener(l),()=>{o.removeListener(l)}}).pipe(fo(o),Fe(({matches:a})=>({query:n,matches:a})),ut(this._destroySubject)),mql:o};return this._queries.set(n,s),s}};e.\u0275fac=function(o){return new(o||e)(j(EI),j(Ce))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Rh(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}function Nd(t){return t.buttons===0||t.detail===0}function jd(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var OI=new W("cdk-input-modality-detector-options"),TI={ignoreKeys:[18,17,224,91,16]},zh=650,to=eo({passive:!0,capture:!0}),PI=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,o,r,s){this._platform=n,this._mostRecentTarget=null,this._modality=new Ge(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Tn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<zh||(this._modality.next(Nd(a)?"keyboard":"mouse"),this._mostRecentTarget=Tn(a))},this._onTouchstart=a=>{if(jd(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Tn(a)},this._options=ce(ce({},TI),s),this.modalityDetected=this._modality.pipe(po(1)),this.modalityChanged=this.modalityDetected.pipe(Wa()),n.isBrowser&&o.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,to),r.addEventListener("mousedown",this._onMousedown,to),r.addEventListener("touchstart",this._onTouchstart,to)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,to),document.removeEventListener("mousedown",this._onMousedown,to),document.removeEventListener("touchstart",this._onTouchstart,to))}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(Ce),j(Qe),j(OI,8))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var pa=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(pa||{}),AI=new W("cdk-focus-monitor-default-options"),ma=eo({passive:!0,capture:!0}),Hh=(()=>{let e=class e{constructor(n,o,r,s,a){this._ngZone=n,this._platform=o,this._inputModalityDetector=r,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 ye,this._rootNodeFocusAndBlurListener=l=>{let c=Tn(l);for(let u=c;u;u=u.parentElement)l.type==="focus"?this._onFocus(l,u):this._onBlur(l,u)},this._document=s,this._detectionMode=a?.detectionMode||pa.IMMEDIATE}monitor(n,o=!1){let r=ti(n);if(!this._platform.isBrowser||r.nodeType!==1)return dt();let s=Fh(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return o&&(a.checkChildren=!0),a.subject;let l={checkChildren:o,subject:new ye,rootNode:s};return this._elementInfo.set(r,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let o=ti(n),r=this._elementInfo.get(o);r&&(r.subject.complete(),this._setClasses(o),this._elementInfo.delete(o),this._removeGlobalListeners(r))}focusVia(n,o,r){let s=ti(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,o,c)):(this._setOrigin(o),typeof s.focus=="function"&&s.focus(r))}ngOnDestroy(){this._elementInfo.forEach((n,o)=>this.stopMonitoring(o))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===pa.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,o){n.classList.toggle("cdk-focused",!!o),n.classList.toggle("cdk-touch-focused",o==="touch"),n.classList.toggle("cdk-keyboard-focused",o==="keyboard"),n.classList.toggle("cdk-mouse-focused",o==="mouse"),n.classList.toggle("cdk-program-focused",o==="program")}_setOrigin(n,o=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&o,this._detectionMode===pa.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?zh:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(n,o){let r=this._elementInfo.get(o),s=Tn(n);!r||!r.checkChildren&&o!==s||this._originChanged(o,this._getFocusOrigin(s),r)}_onBlur(n,o){let r=this._elementInfo.get(o);!r||r.checkChildren&&n.relatedTarget instanceof Node&&o.contains(n.relatedTarget)||(this._setClasses(o),this._emitOrigin(r,null))}_emitOrigin(n,o){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(o))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let o=n.rootNode,r=this._rootNodeFocusListenerCount.get(o)||0;r||this._ngZone.runOutsideAngular(()=>{o.addEventListener("focus",this._rootNodeFocusAndBlurListener,ma),o.addEventListener("blur",this._rootNodeFocusAndBlurListener,ma)}),this._rootNodeFocusListenerCount.set(o,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ut(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let o=n.rootNode;if(this._rootNodeFocusListenerCount.has(o)){let r=this._rootNodeFocusListenerCount.get(o);r>1?this._rootNodeFocusListenerCount.set(o,r-1):(o.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ma),o.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ma),this._rootNodeFocusListenerCount.delete(o))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,o,r){this._setClasses(n,o),this._emitOrigin(r,o),this._lastFocusOrigin=o}_getClosestElementsInfo(n){let o=[];return this._elementInfo.forEach((r,s)=>{(s===n||r.checkChildren&&s.contains(n))&&o.push([s,r])}),o}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:o,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!o||o===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(o))return!0}return!1}};e.\u0275fac=function(o){return new(o||e)(j(Ce),j(Dt),j(PI),j(Qe,8),j(AI,8))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ii=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(ii||{}),Vh="cdk-high-contrast-black-on-white",Bh="cdk-high-contrast-white-on-black",Fd="cdk-high-contrast-active",$h=(()=>{let e=class e{constructor(n,o){this._platform=n,this._document=o,this._breakpointSubscription=be(Lh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ii.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let o=this._document.defaultView||window,r=o&&o.getComputedStyle?o.getComputedStyle(n):null,s=(r&&r.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ii.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ii.BLACK_ON_WHITE}return ii.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Fd,Vh,Bh),this._hasCheckedHighContrastMode=!0;let o=this.getHighContrastMode();o===ii.BLACK_ON_WHITE?n.add(Fd,Vh):o===ii.WHITE_ON_BLACK&&n.add(Fd,Bh)}}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(Qe))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var NI=new W("cdk-dir-doc",{providedIn:"root",factory:jI});function jI(){return be(Qe)}var RI=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function LI(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?RI.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Uh=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new y,n){let o=n.body?n.body.dir:null,r=n.documentElement?n.documentElement.dir:null;this.value=LI(o||r||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(o){return new(o||e)(j(NI,8))},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Rd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})();function BI(){return!0}var zI=new W("mat-sanity-checks",{providedIn:"root",factory:BI}),Ht=(()=>{let e=class e{constructor(n,o,r){this._sanityChecks=o,this._document=r,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return Nh()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(o){return new(o||e)(j($h),j(zI,8),j(Qe))},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Rd,Rd]});let t=e;return t})();var Ft=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(Ft||{}),Bd=class{constructor(e,i,n,o=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=o,this.state=Ft.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Wh=eo({passive:!0,capture:!0}),zd=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=Tn(e);i&&this._events.get(e.type)?.forEach((n,o)=>{(o===i||o.contains(i))&&n.forEach(r=>r.handleEvent(e))})}}addHandler(e,i,n,o){let r=this._events.get(i);if(r){let s=r.get(n);s?s.add(o):r.set(n,new Set([o]))}else this._events.set(i,new Map([[n,new Set([o])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,Wh)})}removeHandler(e,i,n){let o=this._events.get(e);if(!o)return;let r=o.get(i);r&&(r.delete(n),r.size===0&&o.delete(i),o.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Wh)))}},Gh={enterDuration:225,exitDuration:150},HI=800,qh=eo({passive:!0,capture:!0}),Zh=["mousedown","touchstart"],Yh=["mouseup","mouseleave","touchend","touchcancel"],or=class or{constructor(e,i,n,o){this._target=e,this._ngZone=i,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=ti(n))}fadeInRipple(e,i,n={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=ce(ce({},Gh),n.animation);n.centered&&(e=o.left+o.width/2,i=o.top+o.height/2);let s=n.radius||$I(e,i,o),a=e-o.left,l=i-o.top,c=r.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${l-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,n.color!=null&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let h=window.getComputedStyle(u),v=h.transitionProperty,x=h.transitionDuration,T=v==="none"||x==="0s"||x==="0s, 0s"||o.width===0&&o.height===0,F=new Bd(this,u,n,T);u.style.transform="scale3d(1, 1, 1)",F.state=Ft.FADING_IN,n.persistent||(this._mostRecentTransientRipple=F);let Q=null;return!T&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let U=()=>this._finishRippleTransition(F),Ee=()=>this._destroyRipple(F);u.addEventListener("transitionend",U),u.addEventListener("transitioncancel",Ee),Q={onTransitionEnd:U,onTransitionCancel:Ee}}),this._activeRipples.set(F,Q),(T||!c)&&this._finishRippleTransition(F),F}fadeOutRipple(e){if(e.state===Ft.FADING_OUT||e.state===Ft.HIDDEN)return;let i=e.element,n=ce(ce({},Gh),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=Ft.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=ti(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,Zh.forEach(n=>{or._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Yh.forEach(i=>{this._triggerElement.addEventListener(i,this,qh)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Ft.FADING_IN?this._startFadeOutTransition(e):e.state===Ft.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=Ft.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Ft.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=Nd(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+HI;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!jd(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===Ft.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ft.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Zh.forEach(i=>or._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&Yh.forEach(i=>e.removeEventListener(i,this,qh)))}};or._eventManager=new zd;var Hd=or;function $I(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),o=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+o*o)}var Jh=new W("mat-ripple-global-options"),UI=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,o,r,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Hd(this,o,n,r)}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:ce(ce(ce({},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(n,o=0,r){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,o,ce(ce({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,ce(ce({},this.rippleConfig),n))}};e.\u0275fac=function(o){return new(o||e)(w(se),w(Ce),w(Dt),w(Jh,8),w(jo,8))},e.\u0275dir=Z({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(o,r){o&2&&ie("mat-ripple-unbounded",r.unbounded)},inputs:{color:[_.None,"matRippleColor","color"],unbounded:[_.None,"matRippleUnbounded","unbounded"],centered:[_.None,"matRippleCentered","centered"],radius:[_.None,"matRippleRadius","radius"],animation:[_.None,"matRippleAnimation","animation"],disabled:[_.None,"matRippleDisabled","disabled"],trigger:[_.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),eb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Ht,Ht]});let t=e;return t})();var Qh={capture:!0},Kh=["focus","click","mouseenter","touchstart"],Ld="mat-ripple-loader-uninitialized",Vd="mat-ripple-loader-class-name",Xh="mat-ripple-loader-centered",fa="mat-ripple-loader-disabled",tb=(()=>{let e=class e{constructor(){this._document=be(Qe,{optional:!0}),this._animationMode=be(jo,{optional:!0}),this._globalRippleOptions=be(Jh,{optional:!0}),this._platform=be(Dt),this._ngZone=be(Ce),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let r=n.target.closest(`[${Ld}]`);r&&this._createRipple(r)},this._ngZone.runOutsideAngular(()=>{for(let n of Kh)this._document?.addEventListener(n,this._onInteraction,Qh)})}ngOnDestroy(){let n=this._hosts.keys();for(let o of n)this.destroyRipple(o);for(let o of Kh)this._document?.removeEventListener(o,this._onInteraction,Qh)}configureRipple(n,o){n.setAttribute(Ld,""),(o.className||!n.hasAttribute(Vd))&&n.setAttribute(Vd,o.className||""),o.centered&&n.setAttribute(Xh,""),o.disabled&&n.setAttribute(fa,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,o){let r=this._hosts.get(n);if(r){r.disabled=o;return}o?n.setAttribute(fa,""):n.removeAttribute(fa)}_createRipple(n){if(!this._document)return;let o=this._hosts.get(n);if(o)return o;n.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",n.getAttribute(Vd)),n.append(r);let s=new UI(new se(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(Xh),s.disabled=n.hasAttribute(fa),this.attachRipple(n,s),s}attachRipple(n,o){n.removeAttribute(Ld),this._hosts.set(n,o)}destroyRipple(n){let o=this._hosts.get(n);o&&(o.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var nb=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Ht,Ht]});let t=e;return t})();var WI=".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 GI=["mat-icon-button",""],qI=["*"];var ZI=new W("MAT_BUTTON_CONFIG");var YI=[{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"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],QI=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,o,r,s){this._elementRef=n,this._platform=o,this._ngZone=r,this._animationMode=s,this._focusMonitor=be(Hh),this._rippleLoader=be(tb),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=be(ZI,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:u,mdcClasses:h}of YI)l.hasAttribute(u)&&c.add(...h)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",o){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,o):this._elementRef.nativeElement.focus(o)}_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)}};e.\u0275fac=function(o){Up()},e.\u0275dir=Z({type:e,inputs:{color:"color",disableRipple:[_.HasDecoratorInputTransform,"disableRipple","disableRipple",D],disabled:[_.HasDecoratorInputTransform,"disabled","disabled",D],ariaDisabled:[_.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",D],disabledInteractive:[_.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",D]},features:[fe]});let t=e;return t})();var ib=(()=>{let e=class e extends QI{constructor(n,o,r,s){super(n,o,r,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(o){return new(o||e)(w(se),w(Dt),w(Ce),w(jo,8))},e.\u0275cmp=k({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(o,r){o&2&&(H("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),Bo(r.color?"mat-"+r.color:""),ie("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[z,S],attrs:GI,ngContentSelectors:qI,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(o,r){o&1&&(We(),O(0,"span",0),Ae(1),O(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{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);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.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 .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{z-index:1}.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)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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.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}',WI],encapsulation:2,changeDetection:0});let t=e;return t})();var ob=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[Ht,eb,Ht]});let t=e;return t})();var ga=class{};function rb(t){return t&&typeof t.connect=="function"&&!(t instanceof so)}var oi=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,o){this._multiple=e,this._emitChanges=n,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new ye,i&&i.length&&(e?i.forEach(r=>this._markSelected(r)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(r=>this._markSelected(r)),i.filter(r=>!n.has(this._getConcreteValue(r,n))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}};var $d=class{constructor(){this.expansionModel=new oi(!0)}toggle(e){this.expansionModel.toggle(this._trackByValue(e))}expand(e){this.expansionModel.select(this._trackByValue(e))}collapse(e){this.expansionModel.deselect(this._trackByValue(e))}isExpanded(e){return this.expansionModel.isSelected(this._trackByValue(e))}toggleDescendants(e){this.expansionModel.isSelected(this._trackByValue(e))?this.collapseDescendants(e):this.expandDescendants(e)}collapseAll(){this.expansionModel.clear()}expandDescendants(e){let i=[e];i.push(...this.getDescendants(e)),this.expansionModel.select(...i.map(n=>this._trackByValue(n)))}collapseDescendants(e){let i=[e];i.push(...this.getDescendants(e)),this.expansionModel.deselect(...i.map(n=>this._trackByValue(n)))}_trackByValue(e){return this.trackBy?this.trackBy(e):e}},ha=class extends $d{constructor(e,i,n){super(),this.getLevel=e,this.isExpandable=i,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(e){let i=this.dataNodes.indexOf(e),n=[];for(let o=i+1;o<this.dataNodes.length&&this.getLevel(e)<this.getLevel(this.dataNodes[o]);o++)n.push(this.dataNodes[o]);return n}expandAll(){this.expansionModel.select(...this.dataNodes.map(e=>this._trackByValue(e)))}};var sb=new W("CDK_TREE_NODE_OUTLET_NODE"),Ud=(()=>{let e=class e{constructor(n,o){this.viewContainer=n,this._node=o}};e.\u0275fac=function(o){return new(o||e)(w(Kt),w(sb,8))},e.\u0275dir=Z({type:e,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0});let t=e;return t})(),Wd=class{constructor(e){this.$implicit=e}},ba=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(o){return new(o||e)(w(_e))},e.\u0275dir=Z({type:e,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[_.None,"cdkTreeNodeDefWhen","when"]},standalone:!0});let t=e;return t})();var no=(()=>{let e=class e{get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}constructor(n,o){this._differs=n,this._changeDetectorRef=o,this._onDestroy=new ye,this._levels=new Map,this.viewChange=new Ge({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy),this.treeControl}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)}ngAfterContentChecked(){let n=this._nodeDefs.filter(o=>!o.when);n.length>1,this._defaultNodeDef=n[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(n){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),n||this._nodeOutlet.viewContainer.clear(),this._dataSource=n,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let n;rb(this._dataSource)?n=this._dataSource.connect(this):Mt(this._dataSource)?n=this._dataSource:Array.isArray(this._dataSource)&&(n=dt(this._dataSource)),n&&(this._dataSubscription=n.pipe(ut(this._onDestroy)).subscribe(o=>this.renderNodeChanges(o)))}renderNodeChanges(n,o=this._dataDiffer,r=this._nodeOutlet.viewContainer,s){let a=o.diff(n);a&&(a.forEachOperation((l,c,u)=>{if(l.previousIndex==null)this.insertNode(n[u],u,r,s);else if(u==null)r.remove(c),this._levels.delete(l.item);else{let h=r.get(c);r.move(h,u)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,o){if(this._nodeDefs.length===1)return this._nodeDefs.first;let r=this._nodeDefs.find(s=>s.when&&s.when(o,n))||this._defaultNodeDef;return r}insertNode(n,o,r,s){let a=this._getNodeDef(n,o),l=new Wd(n);this.treeControl.getLevel?l.level=this.treeControl.getLevel(n):typeof s<"u"&&this._levels.has(s)?l.level=this._levels.get(s)+1:l.level=0,this._levels.set(n,l.level),(r||this._nodeOutlet.viewContainer).createEmbeddedView(a.template,l,o),ri.mostRecentTreeNode&&(ri.mostRecentTreeNode.data=n)}};e.\u0275fac=function(o){return new(o||e)(w(Vi),w(xt))},e.\u0275cmp=k({type:e,selectors:[["cdk-tree"]],contentQueries:function(o,r,s){if(o&1&&gt(s,ba,5),o&2){let a;De(a=Me())&&(r._nodeDefs=a)}},viewQuery:function(o,r){if(o&1&&tt(Ud,7),o&2){let s;De(s=Me())&&(r._nodeOutlet=s.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(o,r){o&1&&Xe(0,0)},dependencies:[Ud],encapsulation:2});let t=e;return t})(),ri=(()=>{let e=class e{get role(){return"treeitem"}set role(n){this._elementRef.nativeElement.setAttribute("role",n)}get data(){return this._data}set data(n){n!==this._data&&(this._data=n,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(n,o){this._elementRef=n,this._tree=o,this._destroyed=new ye,this._dataChanges=new ye,e.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=XI(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){e.mostRecentTreeNode===this&&(e.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){!this._tree.treeControl.isExpandable&&this._tree.treeControl.getChildren,this.role="treeitem"}};e.mostRecentTreeNode=null,e.\u0275fac=function(o){return new(o||e)(w(se),w(no))},e.\u0275dir=Z({type:e,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(o,r){o&2&&H("aria-expanded",r.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0});let t=e;return t})();function XI(t){let e=t.parentElement;for(;e&&!JI(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?xn(e.getAttribute("aria-level")):0:-1}function JI(t){let e=t.classList;return!!(e?.contains("cdk-nested-tree-node")||e?.contains("cdk-tree"))}var eE=/([A-Za-z%]+)$/,Gd=(()=>{let e=class e{get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}constructor(n,o,r,s){this._treeNode=n,this._tree=o,this._element=r,this._dir=s,this._destroyed=new ye,this.indentUnits="px",this._indent=40,this._setPadding(),s&&s.change.pipe(ut(this._destroyed)).subscribe(()=>this._setPadding(!0)),n._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let n=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,o=this._level==null?n:this._level;return typeof o=="number"?`${o*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){let o=this._paddingIndent();if(o!==this._currentPadding||n){let r=this._element.nativeElement,s=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",a=s==="paddingLeft"?"paddingRight":"paddingLeft";r.style[s]=o||"",r.style[a]="",this._currentPadding=o}}_setLevelInput(n){this._level=isNaN(n)?null:n,this._setPadding()}_setIndentInput(n){let o=n,r="px";if(typeof n=="string"){let s=n.split(eE);o=s[0],r=s[1]||r}this.indentUnits=r,this._indent=xn(o),this._setPadding()}};e.\u0275fac=function(o){return new(o||e)(w(ri),w(no),w(se),w(Uh,8))},e.\u0275dir=Z({type:e,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[_.HasDecoratorInputTransform,"cdkTreeNodePadding","level",xn],indent:[_.None,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[fe]});let t=e;return t})(),qd=(()=>{let e=class e{constructor(n,o){this._tree=n,this._treeNode=o,this.recursive=!1}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}};e.\u0275fac=function(o){return new(o||e)(w(no),w(ri))},e.\u0275dir=Z({type:e,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(o,r){o&1&&b("click",function(a){return r._toggle(a)})},inputs:{recursive:[_.HasDecoratorInputTransform,"cdkTreeNodeToggleRecursive","recursive",D]},standalone:!0,features:[fe]});let t=e;return t})();var _a=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({});let t=e;return t})();var ab=(()=>{let e=class e extends ba{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matTreeNodeDef",""]],inputs:{when:[_.None,"matTreeNodeDefWhen","when"],data:[_.None,"matTreeNode","data"]},standalone:!0,features:[K([{provide:ba,useExisting:e}]),z]});let t=e;return t})();var lb=(()=>{let e=class e extends Gd{get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matTreeNodePadding",""]],inputs:{level:[_.HasDecoratorInputTransform,"matTreeNodePadding","level",xn],indent:[_.None,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[K([{provide:Gd,useExisting:e}]),fe,z]});let t=e;return t})();var cb=(()=>{let e=class e extends qd{};e.\u0275fac=(()=>{let n;return function(r){return(n||(n=at(e)))(r||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[_.None,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[K([{provide:qd,useExisting:e}]),z]});let t=e;return t})();var db=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Pe({type:e}),e.\u0275inj=Te({imports:[_a,Ht,Ht]});let t=e;return t})(),va=class{constructor(e,i,n,o){this.transformFunction=e,this.getLevel=i,this.isExpandable=n,this.getChildren=o}_flattenNode(e,i,n,o){let r=this.transformFunction(e,i);if(n.push(r),this.isExpandable(r)){let s=this.getChildren(e);s&&(Array.isArray(s)?this._flattenChildren(s,i,n,o):s.pipe(It(1)).subscribe(a=>{this._flattenChildren(a,i,n,o)}))}return n}_flattenChildren(e,i,n,o){e.forEach((r,s)=>{let a=o.slice();a.push(s!=e.length-1),this._flattenNode(r,i+1,n,a)})}flattenNodes(e){let i=[];return e.forEach(n=>this._flattenNode(n,0,i,[])),i}expandFlattenedNodes(e,i){let n=[],o=[];return o[0]=!0,e.forEach(r=>{let s=!0;for(let a=0;a<=this.getLevel(r);a++)s=s&&o[a];s&&n.push(r),this.isExpandable(r)&&(o[this.getLevel(r)+1]=i.isExpanded(r))}),n}},ya=class extends ga{get data(){return this._data.value}set data(e){this._data.next(e),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(e,i,n){super(),this._treeControl=e,this._treeFlattener=i,this._flattenedData=new Ge([]),this._expandedData=new Ge([]),this._data=new Ge([]),n&&(this.data=n)}connect(e){return tn(e.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(Fe(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var ub=(()=>{let e=class e{constructor(n){this.elementRef=n,this.clickOutside=new y}onClick(n){this.elementRef.nativeElement.contains(n)||this.clickOutside.emit()}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275dir=Z({type:e,selectors:[["","libClickOutside",""]],hostBindings:function(o,r){o&1&&b("click",function(a){return r.onClick(a.target)},!1,yn)},outputs:{clickOutside:"clickOutside"},standalone:!0});let t=e;return t})();function iE(t,e){if(t&1&&O(0,"div",10),t&2){let i=g(2).$implicit;ke("background-image","url("+i.icon+")")}}function oE(t,e){if(t&1){let i=A();m(0,"li",7),b("click",function(){M(i);let o=g().$implicit,r=g(2);return I(r._actionClick(o))}),C(1,iE,1,2,"div",8),m(2,"div",9),E(3),f()()}if(t&2){let i=g().$implicit,n=g(2);ie("basic-context-menu__item--disabled",n._disabled(i)),d(),p("ngIf",n.showIcons),d(),ge("title",i.tooltip?i.tooltip:i.title),d(),B(" ",i.title," ")}}function rE(t,e){t&1&&O(0,"div",11)}function sE(t,e){if(t&1&&(pt(0),C(1,oE,4,5,"li",5)(2,rE,1,0,"div",6),ft()),t&2){let i=e.$implicit;d(),p("ngIf",i.id!=="separator"),d(),p("ngIf",i.id==="separator")}}function aE(t,e){if(t&1&&(m(0,"ul",3),C(1,sE,3,2,"ng-container",4),f()),t&2){let i=g();d(),p("ngForOf",i._items)}}var io=(()=>{let e=class e{constructor(){this.showIcons=!0,this.triggerTitle="",this._showDropdown=!1,this._items=new Array,this._data=void 0}get items(){return this._items}set items(n){n&&(this._items=n)}get data(){return this._data}set data(n){this._data=n}_clickOutside(){this._showDropdown=!1}_actionClick(n){if(this._showDropdown=!1,typeof n.disabled=="function"){if(n.disabled?.(this._data))return;n.action?.(this._data);return}n.disabled||n.action?.(this._data)}_disabled(n){return n.disabled?typeof n.disabled=="function"?n.disabled?.(this._data):n.disabled:!1}_toggleDropdown(n){this._showDropdown=!this._showDropdown,n.stopPropagation()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-context-menu"]],inputs:{showIcons:[_.HasDecoratorInputTransform,"showIcons","showIcons",D],triggerTitle:"triggerTitle",items:"items",data:"data"},standalone:!0,features:[fe,S],decls:3,vars:2,consts:[["libClickOutside","",1,"basic-context-menu",3,"clickOutside"],[1,"context-menu-trigger",3,"click","title"],["class","basic-context-menu__list",4,"ngIf"],[1,"basic-context-menu__list"],[4,"ngFor","ngForOf"],["class","basic-context-menu__item",3,"basic-context-menu__item--disabled","click",4,"ngIf"],["class","basic-context-menu__item__separator",4,"ngIf"],[1,"basic-context-menu__item",3,"click"],["class","basic-context-menu__item__icon",3,"background-image",4,"ngIf"],[1,"basic-context-menu__item__label",3,"title"],[1,"basic-context-menu__item__icon"],[1,"basic-context-menu__item__separator"]],template:function(o,r){o&1&&(m(0,"div",0),b("clickOutside",function(){return r._clickOutside()}),m(1,"div",1),b("click",function(a){return r._toggleDropdown(a)}),f(),C(2,aE,2,1,"ul",2),f()),o&2&&(d(),ge("title",r.triggerTitle),d(),p("ngIf",r._showDropdown))},dependencies:[ve,Be,ub],styles:[`.text-selected{color:#fe5000}.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("./media/3_dots.svg");background-color:var(--context-menu-trigger-bkg-color, transparent)}.basic-context-menu>.context-menu-trigger:hover{background-image:url("./media/3_dots_active.svg")}.basic-context-menu>.basic-context-menu__list{z-index:1;margin:0;position:absolute;translate:var(--context-menu-trigger-width, 2.5rem) calc(0rem - var(--context-menu-trigger-height, 2.5rem));border:thin solid var(--context-menu-border-color, #E0E0E0);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 rgba(0,0,0,.5);-moz-box-shadow:0 .2rem .6rem rgba(0,0,0,.5);box-shadow:0 .2rem .6rem #00000080;width:fit-content;min-width:var(--context-menu-min-width, 10rem);max-width:var(--context-menu-max-width, 30rem);background-color:var(--context-menu-bkg-color, #ffffff)}.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:#333}.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("./media/bimplus_Components_Info_Active.svg")}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item:hover{background-color:var(--context-menu-hover-color, #F5F5F5)}.basic-context-menu>.basic-context-menu__list>.basic-context-menu__item__separator{border-top:solid .2rem var(--context-menu-separator-color, #f5f5f5)}.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-hover-color, #F5F5F5)}
30
+ `],encapsulation:3});let t=e;return t})();var mb=t=>({node:t});function lE(t,e){if(t&1&&(m(0,"div",5),E(1),f()),t&2){let i=g();d(),oe(i.treeTitle)}}function cE(t,e){if(t&1&&Xe(0,8),t&2){let i=g().$implicit,n=g();p("ngTemplateOutlet",n.customNodeTemplate)("ngTemplateOutletContext",we(2,mb,i))}}function dE(t,e){t&1&&O(0,"div",13)}function uE(t,e){t&1&&O(0,"div",14)}function mE(t,e){if(t&1&&(C(0,dE,1,0,"div",10),m(1,"span",11),C(2,uE,1,0,"div",12),m(3,"div"),E(4),f()()),t&2){let i=g().$implicit,n=g();p("ngIf",n.showObjectsIcons),d(),ie("selected-node",n._isSelected(i)),d(3),B(" ",i.name," ")}}function pE(t,e){if(t&1&&O(0,"lib-bimplus-context-menu",15),t&2){let i=g().$implicit,n=g();p("items",n.contextMenus==null?null:n.contextMenus.objectContextMenuitems)("data",i)}}function fE(t,e){if(t&1){let i=A();m(0,"cdk-tree-node",6),b("click",function(o){let r=M(i).$implicit,s=g();return I(s._togleNode(o,r))}),O(1,"button",7),C(2,cE,1,4,"ng-container",8)(3,mE,5,4)(4,pE,1,2,"lib-bimplus-context-menu",9),f()}if(t&2){let i=e.$implicit,n=g();ie("dragable-node",n.enableDragAndDrop&&i.level>0)("selected-node",n._isSelected(i)),p("matTreeNodePaddingIndent",n.paddingIndent)("title",i.name),H("data-test",n.dataTestPrefix+i.id)("node-id",i.id),d(2),$(2,n.customNodeTemplate&&n._isCustomNodeType(i)?2:3),d(2),p("ngIf",n.contextMenus==null||n.contextMenus.objectContextMenuitems==null?null:n.contextMenus.objectContextMenuitems.length)}}function gE(t,e){if(t&1&&Xe(0,8),t&2){let i=g().$implicit,n=g();p("ngTemplateOutlet",n.customNodeTemplate)("ngTemplateOutletContext",we(2,mb,i))}}function hE(t,e){t&1&&O(0,"div",20)}function bE(t,e){t&1&&O(0,"div",14)}function _E(t,e){if(t&1&&(C(0,hE,1,0,"div",19),m(1,"span",11),C(2,bE,1,0,"div",12),m(3,"div",11),E(4),f()()),t&2){let i=g().$implicit,n=g();p("ngIf",n.showFoldersIcons),d(),ie("selected-node",n._isSelected(i))("selected-all-descendants-nodes",n._descendantsAllSelected(i)&&n._isSelected(i)&&n.enableParentHighlighting)("selected-partially-descendants-nodes",n._descendantsPartiallySelected(i)&&n.enableParentHighlighting),d(3),B(" ",i.name," ")}}function vE(t,e){if(t&1&&O(0,"lib-bimplus-context-menu",15),t&2){let i=g().$implicit,n=g();p("items",n.contextMenus==null?null:n.contextMenus.folderContextMenuitems)("data",i)}}function yE(t,e){if(t&1){let i=A();m(0,"cdk-tree-node",16),b("click",function(o){let r=M(i).$implicit,s=g();return I(s._togleNode(o,r))}),m(1,"button",17),O(2,"div",18),f(),C(3,gE,1,4,"ng-container",8)(4,_E,5,8)(5,vE,1,2,"lib-bimplus-context-menu",9),f()}if(t&2){let i=e.$implicit,n=g();ie("dragable-node",n.enableDragAndDrop&&i.level>0)("selected-node",n._isSelected(i)),p("matTreeNodePaddingIndent",n.paddingIndent)("title",i.name),H("data-test",n.dataTestPrefix+i.id)("node-id",i.id),d(),H("aria-label","Toggle "+i.name),d(),ie("expand-more-icon",n._hasChildren(i)&&!n._treeControl.isExpanded(i))("collapse-icon",n._hasChildren(i)&&n._treeControl.isExpanded(i)),d(),$(3,n.customNodeTemplate&&n._isCustomNodeType(i)?3:4),d(2),p("ngIf",n.contextMenus==null||n.contextMenus.folderContextMenuitems==null?null:n.contextMenus.folderContextMenuitems.length)}}var $t=(()=>{let e=class e{constructor(n){this.el=n,this.treeDataStringified=null,this.treeTitle="",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.customNodeTemplate=null,this.selectedNodes=new y,this._selectionList=void 0,this._transformer=(o,r)=>({expandable:o.children!==void 0,children_count:o.children?.length,name:o.name,id:o.id,level:r,parent:o.parent,nodeType:o.nodeType}),this._treeControl=new ha(o=>o.level,o=>o.expandable),this._treeFlattener=new va(this._transformer,o=>o.level,o=>o.expandable,o=>o.children),this._dataSource=new ya(this._treeControl,this._treeFlattener),this._isExpendable=(o,r)=>r.expandable}get treeData(){return this._dataSource.data}set treeData(n){this.treeDataStringified=null,this._dataSource.data=n}ngOnInit(){let n=this.el.nativeElement;n&&(n.get_node=this.get_node.bind(this),n.select_node=this.select_node.bind(this)),this._selectionList=new oi(this.multiSelect||this.oneLevelMultiSelect),this.treeDataStringified&&this._setNewData(this.treeDataStringified)}expandTree(){this._treeControl.expandAll()}_getNode(n,o){for(let r of o){if(r.id===n)return r;if(r.children){let s=this._getNode(n,r.children);if(s)return s}}return null}get_node(n,o=!1){return typeof n=="string"?this._getNode(n,this._dataSource.data):o?this.el.nativeElement.querySelector(`[node-id='${n.id}']`):this._getNode(n.id,this._dataSource.data)}select_node(n,o=!1){let r=this._treeControl.dataNodes.find(s=>s.id===n);if(r&&this._selectionList&&(this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==r.parent&&this._selectionList.clear(),!this._selectionList.isSelected(r))){if(this._selectionList.select(r),!this.multiSelect&&!this.oneLevelMultiSelect&&!o){ae(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(r),this.enableParentHighlighting&&this._updateParentSelections(r),o||ae(this,"selectedNodes",this._selectionList.selected)}}reset_selection(){this._selectionList?.clear()}expand_node(n){let o=this._treeControl.dataNodes.find(r=>r.id===n);o&&this._treeControl.expand(o)}_setNewData(n){let o=JSON.parse(n);this._dataSource.data=o}_changedTreeData(n){this._setNewData(n.currentValue)}ngOnChanges(n){(n.multiSelect||n.oneLevelMultiSelect)&&(this._selectionList=new oi(this.multiSelect||this.oneLevelMultiSelect)),n.treeDataStringified&&this._changedTreeData(n.treeDataStringified)}_isCustomNodeType(n){return n.nodeType!=null&&n.nodeType!=""}_hasChildren(n){return!n.expandable||n.children_count===void 0?!1:n.children_count>0}_descendantsAllSelected(n){if(!this._selectionList)return!1;let o=this._selectionList,r=this._treeControl.getDescendants(n);return r.length===0?!0:r.length>0&&r.every(a=>o.isSelected(a))}_descendantsPartiallySelected(n){if(!this._selectionList)return!1;let o=this._selectionList;return this._treeControl.getDescendants(n).some(a=>o.isSelected(a))&&!this._descendantsAllSelected(n)}_toggleDescendantsNodes(n){if(!this._selectionList)return;this._selectionList.isSelected(n)?this._selectionList.select(...this._treeControl.getDescendants(n)):this._selectionList.deselect(...this._treeControl.getDescendants(n))}_updateParentSelections(n){if(!this._selectionList)return;let o=n.parent,r=this._treeControl.dataNodes.find(s=>s.id===o);for(;r;)this._descendantsAllSelected(r)?this._selectionList.select(r):this._selectionList.deselect(r),o=r.parent,r=this._treeControl.dataNodes.find(s=>s.id===o)}_togleNode(n,o){if(o&&this.enableSelect&&this._selectionList){if(n?.ctrlKey||this._selectionList.clear(),this.oneLevelMultiSelect&&this._selectionList.selected.length>0&&this._selectionList.selected[0].parent!==o.parent&&this._selectionList.clear(),this._selectionList.toggle(o),!this.multiSelect&&!this.oneLevelMultiSelect){ae(this,"selectedNodes",this._selectionList.selected);return}this.oneLevelMultiSelect||this._toggleDescendantsNodes(o),this.enableParentHighlighting&&this._updateParentSelections(o),ae(this,"selectedNodes",this._selectionList.selected)}}_isSelected(n){return this._selectionList?this._selectionList?.isSelected(n):!1}};e.\u0275fac=function(o){return new(o||e)(w(se))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-flat-tree"]],inputs:{treeDataStringified:"treeDataStringified",treeTitle:"treeTitle",paddingIndent:"paddingIndent",multiSelect:[_.HasDecoratorInputTransform,"multiSelect","multiSelect",D],oneLevelMultiSelect:[_.HasDecoratorInputTransform,"oneLevelMultiSelect","oneLevelMultiSelect",D],showFoldersIcons:[_.HasDecoratorInputTransform,"showFoldersIcons","showFoldersIcons",D],showObjectsIcons:[_.HasDecoratorInputTransform,"showObjectsIcons","showObjectsIcons",D],enableSelect:[_.HasDecoratorInputTransform,"enableSelect","enableSelect",D],enableParentHighlighting:[_.HasDecoratorInputTransform,"enableParentHighlighting","enableParentHighlighting",D],enableDragAndDrop:[_.HasDecoratorInputTransform,"enableDragAndDrop","enableDragAndDrop",D],dataTestPrefix:"dataTestPrefix",contextMenus:"contextMenus",treeData:"treeData",customNodeTemplate:"customNodeTemplate"},outputs:{selectedNodes:"selectedNodes"},standalone:!0,features:[fe,Ue,S],decls:5,vars:4,consts:[[1,"tree-container"],["class","tree-title",4,"ngIf"],[3,"dataSource","treeControl"],["matTreeNodePadding","","class","object-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click",4,"matTreeNodeDef"],["matTreeNodePadding","","class","folder-node",3,"matTreeNodePaddingIndent","dragable-node","selected-node","title","click",4,"matTreeNodeDef","matTreeNodeDefWhen"],[1,"tree-title"],["matTreeNodePadding","",1,"object-node",3,"click","matTreeNodePaddingIndent","title"],["mat-icon-button","","disabled",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"items","data",4,"ngIf"],["class","icon object-icon",4,"ngIf"],[1,"node-label"],["class","custom-drag-placeholder",4,"cdkDragPlaceholder"],[1,"icon","object-icon"],[1,"custom-drag-placeholder"],[3,"items","data"],["matTreeNodePadding","",1,"folder-node",3,"click","matTreeNodePaddingIndent","title"],["mat-icon-button","","matTreeNodeToggle",""],[1,"icon","expand-collapse-icon"],["class","icon folder-icon",4,"ngIf"],[1,"icon","folder-icon"]],template:function(o,r){o&1&&(m(0,"div",0),C(1,lE,2,1,"div",1),m(2,"cdk-tree",2),C(3,fE,5,10,"cdk-tree-node",3)(4,yE,6,15,"cdk-tree-node",4),f()()),o&2&&(d(),p("ngIf",r.treeTitle),d(),p("dataSource",r._dataSource)("treeControl",r._treeControl),d(2),p("matTreeNodeDefWhen",r._isExpendable))},dependencies:[db,ab,lb,cb,ob,ib,nb,_a,no,ri,io,N,Be,ln],styles:['.text-selected[_ngcontent-%COMP%]{color:#fe5000}.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-bkg-color, #ffffff);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-color, #444444)}.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%]{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}.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-hover-color, #F5F5F5);background-image:url("./media/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-color, #2188ca);font-weight:var(--flat-tree-selected-node-font-weight, 700)!important}.selected-all-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-selected-node-color, #2188ca)}.selected-partially-descendants-nodes[_ngcontent-%COMP%]{color:var(--flat-tree-partially-selected-node-color, rgba(0, 71, 171, .55))}.custom-drag-placeholder[_ngcontent-%COMP%]{height:0px}.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("./media/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("./media/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("./media/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("./media/expanded_18_small.svg") no-repeat);background-size:var(--flat-tree-expand-collapse-icon-size, 1.8rem);background-position:center}']});let t=e;return t})();var oo=function(t){return t[t.None=0]="None",t[t.SelectObjectProperties=1]="SelectObjectProperties",t[t.SelectAttributes=2]="SelectAttributes",t}(oo||{}),rr=5;function CE(t,e){if(t&1&&(m(0,"span",1),E(1),f()),t&2){let i=g();d(),zt("",i.criterium.name," \xA0(",i.criterium.value,")")}}function wE(t,e){if(t&1&&(m(0,"span",1),E(1),f()),t&2){let i=g();d(),oe(i.criterium.name)}}var pb=(()=>{let e=class e{constructor(){this.criterium={name:"",subString:""},this.indent=0,this.deleteCriterium=new y}clickedDelete(){this.deleteCriterium.emit()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["app-filter-criterium"]],hostVars:2,hostBindings:function(o,r){o&2&&ke("margin-left",r.indent,"em")},inputs:{criterium:"criterium",indent:"indent"},outputs:{deleteCriterium:"deleteCriterium"},standalone:!0,features:[S],decls:4,vars:1,consts:[[1,"filter-criterium-row"],[1,"filter-criterium-item"],[1,"filter-criterium-icon-delete",3,"click"]],template:function(o,r){o&1&&(m(0,"div",0),C(1,CE,2,2,"span",1)(2,wE,2,1),m(3,"div",2),b("click",function(){return r.clickedDelete()}),f()()),o&2&&(d(),$(1,r.criterium.value?1:2))},styles:['.filter-criterium-icon-delete[_ngcontent-%COMP%]{background:url("./media/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}']});let t=e;return t})();var fb=(()=>{let e=class e{constructor(){this._objectStructure={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new y}set objectStructure(n){this._objectStructure=n,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(n){let o={name:n.name,id:n.id,parent:n.parent};if(n.children){o.children=[];for(let r of n.children){let s=this._convertObjectStructureNodeToTreeNode(r);o.children.push(s)}}return o}_updateTreeData(){if(!this._objectStructure)return;let n=this._convertObjectStructureNodeToTreeNode(this._objectStructure);n&&(this._treeData=[],this._treeData=[n])}get treeData(){return this._treeData}_findNode(n,o){if(o.id==n)return o;if(o.children)for(let r of o.children){let s=this._findNode(n,r);if(s)return s}return null}handleSelectedNodes(n){if(n.length===1){let o=this._findNode(n[0].id,this._objectStructure);o&&this.nodeSelected.emit(o)}}expandTree(){this.treeComponent?.expandTree()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-object-structure"]],viewQuery:function(o,r){if(o&1&&tt($t,5),o&2){let s;De(s=Me())&&(r.treeComponent=s.first)}},inputs:{objectStructure:"objectStructure"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-structure-tree-",3,"selectedNodes","treeData"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-flat-tree",0),b("selectedNodes",function(a){return r.handleSelectedNodes(a)}),f()),o&2&&p("treeData",r.treeData)},dependencies:[$t],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-bkg-color: transparent}"]});let t=e;return t})();var gb=(()=>{let e=class e{constructor(){this._complexProperties={id:"",name:"",parent:""},this.treeComponent=null,this._treeData=[],this.nodeSelected=new y}set complexProperties(n){this._complexProperties=n,this._updateTreeData()}_convertObjectStructureNodeToTreeNode(n){let o={name:n.name,id:n.id,parent:n.parent};if(n.children){o.children=[];for(let r of n.children){let s=this._convertObjectStructureNodeToTreeNode(r);o.children.push(s)}}return o}_updateTreeData(){if(!this._complexProperties)return;let n=this._convertObjectStructureNodeToTreeNode(this._complexProperties);n&&(this._treeData=[],this._treeData=[n])}get treeData(){return this._treeData}_findNode(n,o){if(o.id==n)return o;if(o.children)for(let r of o.children){let s=this._findNode(n,r);if(s)return s}return null}handleSelectedNodes(n){if(n.length===1){let o=this._findNode(n[0].id,this._complexProperties);o&&this.nodeSelected.emit(o)}}expandTree(){this.treeComponent?.expandTree()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-object-complex-properties"]],viewQuery:function(o,r){if(o&1&&tt($t,5),o&2){let s;De(s=Me())&&(r.treeComponent=s.first)}},inputs:{complexProperties:"complexProperties"},outputs:{nodeSelected:"nodeSelected"},standalone:!0,features:[S],decls:1,vars:1,consts:[["paddingIndent","1.4rem","enableParentHighlighting","false","dataTestPrefix","object-complex-properties-tree-",3,"selectedNodes","treeData"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-flat-tree",0),b("selectedNodes",function(a){return r.handleSelectedNodes(a)}),f()),o&2&&p("treeData",r.treeData)},dependencies:[$t],styles:["lib-bimplus-flat-tree[_ngcontent-%COMP%]{--flat-tree-node-indent: 0;--flat-tree-folder-font-weight: 400;--flat-tree-bkg-color: transparent}"]});let t=e;return t})();var Ca=class t{static createFromResponse(e){let i={id:e.id,name:e.name?`${e.type}(${e.name})`:e.type,parent:e.parent};if(e.children){i.children=[];for(let n of e.children)i.children.push(t.createFromResponse(n))}return i}};var wa=class t{static createFromResponse(e){let i={id:e.id,name:e.type?e.type:e.name,parent:e.parent};if(e.children){i.children=[];for(let n of e.children)i.children.push(t.createFromResponse(n))}return i}};function xE(t,e){if(t&1){let i=A();m(0,"lib-bimplus-object-structure",2),b("nodeSelected",function(o){M(i);let r=g();return I(r.handleObjectStructureNodeSelected(o))}),f()}if(t&2){let i=g();p("objectStructure",i.objectStructure)}}function DE(t,e){if(t&1){let i=A();m(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),E(3),R(4,"translate"),f()(),m(5,"lib-bimplus-object-complex-properties",3),b("nodeSelected",function(o){M(i);let r=g();return I(r.handleComplexPropertyNodeSelected(o))}),f()()}if(t&2){let i=g();d(3),B(" ",L(4,2,"_Object multiproperties tree"),""),d(2),p("complexProperties",i.complexProperties)}}function ME(t,e){if(t&1&&(m(0,"div",11),E(1),f()),t&2){let i=g().$implicit;d(),oe(i.value)}}function IE(t,e){t&1&&(m(0,"div",11),E(1,"..."),f())}function EE(t,e){if(t&1){let i=A();m(0,"div",6)(1,"div",7)(2,"div",8)(3,"label",9)(4,"input",10),b("click",function(){let o=M(i).$implicit,r=g(3);return I(r.toggleAttribute(o))}),f(),O(5,"span"),f(),m(6,"div",11),E(7),f()(),m(8,"div",8)(9,"label",9)(10,"input",10),b("click",function(){let o=M(i).$implicit,r=g(3);return I(r.toggleAttributeValue(o))}),f(),O(11,"span"),f(),C(12,ME,2,1,"div",11)(13,IE,2,0),f()()()}if(t&2){let i=e.$implicit,n=g(3);d(4),p("checked",i.checked)("disabled",n.filterCriteria.length===n.MaxFilterCriteria&&!i.checked),d(3),oe(i.name),d(3),p("checked",i.valueChecked)("disabled",n.filterCriteria.length===n.MaxFilterCriteria&&!i.checked),d(2),$(12,i.value?12:13)}}function kE(t,e){if(t&1&&(m(0,"lib-expansion-panel",4)(1,"lib-expansion-panel-header")(2,"span",5),E(3),f()(),m(4,"div"),Cn(5,EE,14,6,"div",6,zo),f()()),t&2){let i=e.$implicit;p("expanded",i.expanded),d(3),B(" ",i.name,""),d(2),wn(i.attributes)}}function SE(t,e){if(t&1&&(m(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),E(3),R(4,"translate"),f()(),Cn(5,kE,7,2,"lib-expansion-panel",4,zo),f()),t&2){let i=g();d(3),B(" ",L(4,1,"_Object properties"),""),d(2),wn(i.objectAttributeGroups)}}var hb=(()=>{let e=class e extends ne{constructor(n){super(n),this.api=null,this.revision=void 0,this._currentObjectId$=new Ge(""),this._currentPropertiesObjectId$=new Ge(""),this.objectAttributeGroups=[],this.MaxFilterCriteria=rr,this._rootObjectId="",this.filterCriteriaChange=new y,this._filterCriteria=[],this._objectStructure=null,this._complexProperties=null}ngOnInit(){this._currentPropertiesObjectId$.subscribe({next:n=>{n&&this._createObjectProperties(n,this.revision)}}),this._currentObjectId$.subscribe({next:n=>{this._currentPropertiesObjectId$.next(n),this._createComplexPropertiestructure(n,this.revision)}})}set rootObjectId(n){this._currentObjectId$.next(n),this._createObjectStructure(n,this.revision),this._rootObjectId=n}get rootObjectId(){return this._rootObjectId}set filterCriteria(n){this._filterCriteria=n,this._syncAttributeStatesFromCriteria()}get filterCriteria(){return this._filterCriteria}get objectStructure(){return this._objectStructure}get complexProperties(){return this._complexProperties}toggleAttribute(n){n.checked=!n.checked,n.checked===!1&&(n.valueChecked=!1),this.handleFilterCriteriumAttributeStateChange(n)}toggleAttributeValue(n){n.valueChecked=!n.valueChecked,n.checked=n.valueChecked,this.handleFilterCriteriumAttributeStateChange(n)}handleFilterCriteriumAttributeStateChange(n){let o=this.filterCriteria.findIndex(r=>r.id===n.id);if(o>=0)(n.checked===!1||n.valueChecked===!1)&&(this.filterCriteria.splice(o,1),this.filterCriteriaChange.emit(this.filterCriteria));else if(this.filterCriteria.length<rr){let r=`[I][${n.id}].Value`;n.valueChecked&&(r+=`[F][0]=${n.value}`),this.filterCriteria.push({name:n.name,value:n.valueChecked?n.value:void 0,id:n.id,subString:r}),this.filterCriteriaChange.emit(this.filterCriteria)}}handleObjectStructureNodeSelected(n){this._currentObjectId$.next(n.id)}handleComplexPropertyNodeSelected(n){this._currentPropertiesObjectId$.next(n.id)}_createObjectProperties(n,o){this._loadObjectProperties(n,o)?.subscribe({next:r=>{this.objectAttributeGroups=this._createAttributeGroupsFromResponse(r),this._syncAttributeStatesFromCriteria()},error:()=>{this.objectAttributeGroups=[]}})}_createAttributeGroupsFromResponse(n){let o=[],r=null;if(n.localizedAttributeGroups&&(r=n.localizedAttributeGroups),!n.attributes)return o;let s=n.attributes;for(let[a,l]of Object.entries(s)){let c={name:a,expanded:!1,attributes:[]};if(r&&r[a]&&(c.name=r[a]),!!l){for(let u of Object.values(l)){let h={id:u.id,name:u.name,description:u.description,value:u.value,checked:!1,valueChecked:!1,group:u.group};c.attributes.push(h)}o.push(c)}}return o}_syncAttributeStatesFromCriteria(){this.objectAttributeGroups.forEach(n=>{n.attributes.forEach(o=>{let r=this._filterCriteria.find(s=>s.id==o.id);r?(o.checked=!0,o.valueChecked=r.value!==void 0):(o.checked=!1,o.valueChecked=!1)})})}_loadObjectProperties(n,o){if(this.api)return Re(this.api.objects.get(n,o,"8",void 0,!1,void 0))}_loadObjectStructure(n,o){if(this.api)return Re(this.api.objects.getTopology(n,o,!1,!1,void 0))}_loadObjectComplexPropertiesStructure(n,o){if(this.api)return Re(this.api.objects.getComplexPropertiesTopology(n,o))}_createComplexPropertiestructure(n,o){this._loadObjectComplexPropertiesStructure(n,o)?.subscribe({next:r=>{if(r){let s=wa.createFromResponse(r);s?.children?.length?this._complexProperties=s:this._complexProperties=null}}})}_createObjectStructure(n,o){this._loadObjectStructure(n,o)?.subscribe({next:r=>{r&&(this._objectStructure=Ca.createFromResponse(r))}})}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-criteria-select-object-properties"]],inputs:{api:"api",rootObjectId:"rootObjectId",revision:"revision",filterCriteria:"filterCriteria"},outputs:{filterCriteriaChange:"filterCriteriaChange"},standalone:!0,features:[z,S],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","checked","disabled"],[1,"criteria-select-object-properties-attrib-row-cell-text"]],template:function(o,r){o&1&&(m(0,"lib-expansion-panel")(1,"lib-expansion-panel-header")(2,"span",0),E(3),R(4,"translate"),f()(),C(5,xE,1,1,"lib-bimplus-object-structure",1),f(),C(6,DE,6,4,"lib-expansion-panel")(7,SE,7,3,"lib-expansion-panel")),o&2&&(d(3),B(" ",L(4,4,"_Object structure"),""),d(2),$(5,r.objectStructure?5:-1),d(),$(6,r.complexProperties?6:-1),d(),$(7,r.objectAttributeGroups.length>0?7:-1))},dependencies:[In,Mn,te,Ie,fb,gb],styles:['.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:#f5f5f5}.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("./media/checkbox_on.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:hover{background-image:url("./media/checkbox_on_hovered.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked:disabled + span[_ngcontent-%COMP%]{background-image:url("./media/checkbox_on_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:disabled + span[_ngcontent-%COMP%]{background-image:url("./media/checkbox_off_disabled.svg")}.criteria-select-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-image:url("./media/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("./media/checkbox_off_hovered.svg")}']});let t=e;return t})();function OE(t,e){if(t&1&&(m(0,"div",2),E(1),f()),t&2){let i=g().node,n=g();d(),zt(" ",i.name," \xA0( ",n.getNodeObjectCounter(i.id)," )")}}function TE(t,e){if(t&1&&(m(0,"div",3),E(1),f()),t&2){let i=g().node,n=g();d(),zt(" ",i.name," \xA0( ",n.getNodeObjectCounter(i.id)," )")}}function PE(t,e){if(t&1){let i=A();m(0,"span",3)(1,"div",4),b("dblclick",function(){M(i);let o=g().node,r=g();return I(r.dblClickedObjectNode(o))})("mouseenter",function(){M(i);let o=g().node,r=g();return I(r.mouseEnterObjectNode(o))})("mouseleave",function(){M(i);let o=g().node,r=g();return I(r.mouseLeaveObjectNode(o))}),E(2),f()()}if(t&2){let i=g().node;d(2),B(" ",i.name," ")}}function AE(t,e){if(t&1&&C(0,OE,2,2)(1,TE,2,2)(2,PE,3,1),t&2){let i,n=e.node;$(0,(i=n.nodeType)==="rootNode"?0:i==="structureNode"?1:i==="objectNode"?2:-1)}}var bb=(()=>{let e=class e{constructor(){this.treeComponent=null,this.nodeSelectionChanged=new y,this.nodeDoubleClicked=new y,this.nodeMouseEntered=new y,this.nodeMouseLeft=new y,this._filterResult=null,this._treeData=[],this._treeNodesLookup={},this._treeNodeObjectCounts={},this._selectedObjects=[]}set filterResult(n){this._filterResult=n,this._updateTreeData()}set selectedObjects(n){this._selectedObjects=n,this._syncSelectedObjects()}get treeData(){return this._treeData}ngAfterViewInit(){this._treeData&&this._treeData.length>0&&this._expandToObjectLevel(this._treeData[0])}handleSelectedNodes(n){this.nodeSelectionChanged.emit(n.map(o=>o.id))}getNodeObjectCounter(n){return this._treeNodeObjectCounts[n]}dblClickedObjectNode(n){this.nodeDoubleClicked.emit(n.id)}mouseEnterObjectNode(n){this.nodeMouseEntered.emit(n.id)}mouseLeaveObjectNode(n){this.nodeMouseLeft.emit(n.id)}_syncSelectedObjects(){let n=[];for(let o of this._selectedObjects){let r=this._treeNodesLookup[o];r&&n.push(r)}this.treeComponent?.reset_selection();for(let o of n)this.treeComponent?.select_node(o.id)}_updateObjectCounters(){this._treeNodeObjectCounts={},this._countObjects(this.treeData[0])}_countObjects(n){if(n.nodeType&&n.nodeType==="objectNode")return 1;let o=0;if(!n.children)return 0;for(let r of n.children)r&&(o+=this._countObjects(r));return this._treeNodeObjectCounts[n.id]=o,o}_updateTreeData(){this._filterResult&&(this._treeNodesLookup={},this._treeData=[this._convertFilterResultToTreeNode(this._filterResult.structure,this._treeNodesLookup)],this._updateObjectCounters())}_convertFilterResultToTreeNode(n,o=void 0){let r={name:n.name,id:n.id,parent:n.parent};if(n.children){r.children=[];for(let s of n.children){let a=this._convertFilterResultToTreeNode(s,o);r.children.push(a)}}return r.parent?n.type==="Structure"?r.nodeType="structureNode":r.nodeType="objectNode":r.nodeType="rootNode",o&&(o[r.id]=r),r}_expandToObjectLevel(n){if(n.children)for(let o of n.children){if(o.nodeType&&o.nodeType==="objectNode")return;this._expandToObjectLevel(o)}this.treeComponent?.expand_node(n.id)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-object-filter-result"]],viewQuery:function(o,r){if(o&1&&tt($t,5),o&2){let s;De(s=Me())&&(r.treeComponent=s.first)}},inputs:{filterResult:"filterResult",selectedObjects:"selectedObjects"},outputs:{nodeSelectionChanged:"nodeSelectionChanged",nodeDoubleClicked:"nodeDoubleClicked",nodeMouseEntered:"nodeMouseEntered",nodeMouseLeft:"nodeMouseLeft"},standalone:!0,features:[S],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(o,r){if(o&1){let s=A();m(0,"lib-bimplus-flat-tree",1),b("selectedNodes",function(l){return M(s),I(r.handleSelectedNodes(l))}),f(),C(1,AE,3,1,"ng-template",null,0,ht)}if(o&2){let s=qe(2);p("treeData",r.treeData)("customNodeTemplate",s)}},dependencies:[$t],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-bkg-color: transparent;--flat-tree-selected-node-font-weight: 700}.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%}"]});let t=e;return t})();var _b="tabAttribElement.DivisionID",sr=class{constructor(e="",i=5){this._filterString="",this._maxFilterCriteria=5,this._filterString=e,this._maxFilterCriteria=i}get filterString(){return this._filterString}fromFilterCriteria(e){this._filterString=`[I]${_b}`;for(let i of e)this._filterString+=i.subString;return this._filterString}toFilterCriteria(e=void 0){let i=[],n=!1,o=this._filterString.split("[I]");for(let r of o)if(r.length!==0){if(r.includes(_b)&&!n){n=!0;continue}if(i.push(this._parseFilterSubstring(r,e)),i.length===this._maxFilterCriteria)break}return i}_parseFilterSubstring(e,i=void 0){let n=e,o,r=e.indexOf("["),s=e.indexOf("]");if(r>=0&&s>=0&&s>r){let a=e.slice(r+1,s);if(o=a,a&&i){let l=i[a];l&&(n=l)}}else if(e.includes(".")){let a=e.split(".");n=a[a.length-1]}return{name:n,subString:"[I]"+e,id:o}}};var xa=class{static fetchObjectFilterStructureFromSelection(e,i,n,o){let r=!i.id,s=i.id?i.id:"",a=null;return r?a=Re(o.objectFilters.post(JSON.stringify(i),e)).pipe(pn(l=>{if(!l?.id)throw new Error("Failed to create temporary filter object");return s=l.id,Re(o.exportService.createExportSelection(e,JSON.stringify(n)))}),pn(l=>{if(!l?.id)throw new Error("Failed to create selection object");return Re(o.objectFilters.getSelectionFilteredObjects(l.id,s,void 0,void 0)).pipe(Fe(c=>(o.objectFilters.delete(s),c)))})):a=Re(o.exportService.createExportSelection(e,JSON.stringify(n))).pipe(pn(l=>{if(!l?.id)throw new Error("Failed to create selection object");return Re(o.objectFilters.getSelectionFilteredObjects(l.id,s,void 0,void 0))})),a}};function FE(t,e){if(t&1&&(m(0,"ng-option",17),E(1),f()),t&2){let i=e.$implicit;p("value",i),d(),oe(i.name)}}function NE(t,e){if(t&1&&(m(0,"ng-option",17),E(1),f()),t&2){let i=e.$implicit;p("value",i),d(),oe(i.name)}}function jE(t,e){if(t&1&&O(0,"lib-bimplus-context-menu",7),t&2){let i=g(3);p("items",i.filterContextMenu)}}function RE(t,e){if(t&1&&C(0,jE,1,1,"lib-bimplus-context-menu",18),t&2){let i=g(2);p("ngIf",i.filterContextMenu==null?null:i.filterContextMenu.length)}}function LE(t,e){if(t&1){let i=A();m(0,"app-filter-criterium",19),b("deleteCriterium",function(){let o=M(i).$index,r=g(2);return I(r.deleteFilterCriterium(o))}),f()}if(t&2){let i=e.$implicit,n=e.$index;p("criterium",i)("indent",n*.8)}}function VE(t,e){t&1&&(m(0,"p",20),E(1),R(2,"translate"),f()),t&2&&(d(),oe(L(2,1,"_NoObjectSelected")))}function BE(t,e){if(t&1){let i=A();m(0,"lib-criteria-select-object-properties",21),Kn("filterCriteriaChange",function(o){M(i);let r=g(3);return Li(r.filterCriteria,o)||(r.filterCriteria=o),I(o)}),b("filterCriteriaChange",function(){M(i);let o=g(3);return I(o.resetActiveFilter())}),f()}if(t&2){let i=g(3);p("api",i.api)("selectedLanguage",i.selectedLanguage)("localizedStrings",i.localizedStrings),Qn("filterCriteria",i.filterCriteria),p("rootObjectId",i.selectedObjectId)}}function zE(t,e){if(t&1&&C(0,VE,3,3,"p",20)(1,BE,1,5),t&2){let i=g(2);$(0,i.selectedObjectId?1:0)}}function HE(t,e){}function $E(t,e){if(t&1){let i=A();m(0,"lib-object-filter-result",23),b("nodeSelectionChanged",function(o){M(i);let r=g(3);return I(r.handleFilterResultSelectionChanged(o))})("nodeDoubleClicked",function(o){M(i);let r=g(3);return I(r.handleFilterResulObjectDoubleClicked(o))})("nodeMouseEntered",function(o){M(i);let r=g(3);return I(r.handleFilterResulObjectMouseEntered(o))})("nodeMouseLeft",function(o){M(i);let r=g(3);return I(r.handleFilterResulObjectMouseLeft(o))}),f()}if(t&2){let i=g(3);p("filterResult",i.filterResult)("selectedObjects",i.selectedObjects)}}function UE(t,e){if(t&1&&C(0,$E,1,2,"lib-object-filter-result",22),t&2){let i=g(2);$(0,i.filterResult?0:-1)}}function WE(t,e){if(t&1){let i=A();m(0,"div",2)(1,"ng-select",3),Kn("ngModelChange",function(o){M(i);let r=g();return Li(r.activeFilterType,o)||(r.activeFilterType=o),I(o)}),C(2,FE,2,2,"ng-option",4),f()(),m(3,"div",5)(4,"ng-select",6),Kn("ngModelChange",function(o){M(i);let r=g();return Li(r.activeFilter,o)||(r.activeFilter=o),I(o)}),C(5,NE,2,2,"ng-option",4),f(),C(6,RE,1,1,"lib-bimplus-context-menu",7),f(),m(7,"lib-expansion-panel",8)(8,"lib-expansion-panel-header")(9,"span",9),E(10),R(11,"translate"),f(),m(12,"lib-expansion-panel-header-actions")(13,"div",10),b("click",function(){M(i);let o=g();return I(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectObjectProperties))}),f(),m(14,"div",11),b("click",function(){M(i);let o=g();return I(o.setFilterCriteriaSelectionMode(o.FilterCriteriaSelectionMode.SelectAttributes))}),f()()(),m(15,"div",12),Cn(16,LE,1,2,"app-filter-criterium",13,zo),f()(),m(18,"div",14)(19,"button",15),b("click",function(){M(i);let o=g();return I(o.applyFilter())}),E(20),R(21,"translate"),f()(),O(22,"div",16),C(23,zE,2,1)(24,HE,0,0)(25,UE,1,1)}if(t&2){let i,n=g();d(),Qn("ngModel",n.activeFilterType),p("clearable",!1)("searchable",!1),d(),p("ngForOf",n.filterTypes),d(2),Qn("ngModel",n.activeFilter),p("clearable",!1)("disabled",!n.filters)("searchable",!1),d(),p("ngForOf",n.filters),d(),$(6,n.hideFilterContextMenu?-1:6),d(4),zt(" ",L(11,17,"_Assign_Objects_Selection_Mode")," (",n.filterCriteria.length,") "),d(3),p("ngClass",n.filterCriteriaSelectionMode$.getValue()===n.FilterCriteriaSelectionMode.SelectObjectProperties?"active":""),d(),p("ngClass",n.filterCriteriaSelectionMode$.getValue()===n.FilterCriteriaSelectionMode.SelectAttributes?"active":""),d(2),wn(n.filterCriteria),d(3),p("ngClass",n.filterCriteria.length===0?"disabled":""),d(),B(" ",L(21,19,"_Apply filter")," "),d(3),$(23,(i=n.filterCriteriaSelectionMode$.getValue())===n.FilterCriteriaSelectionMode.SelectObjectProperties?23:i===n.FilterCriteriaSelectionMode.SelectAttributes?24:25)}}function GE(t,e){t&1&&(m(0,"div",24),E(1),R(2,"translate"),f()),t&2&&(d(),B(" ",L(2,1,"_No visible models found")," "))}var vb=(()=>{let e=class e extends ne{constructor(n){super(n),this.hideFilterContextMenu=!1,this.filterContextMenu=[],this.filterTypes=[],this.activeFilterTypeSubject$=new Ge(null),this.activeFilterSubject$=new Ge(null),this.filters=null,this.filterCriteria=[],this.api=null,this.projectId="",this.objNavClassClass=!0,this.filterCriteriaSelectionMode$=new Ge(oo.None),this.filterCriteriaSelectionModeChanged=new y,this.selectedObjectId=null,this.selectedObjects=[],this.selectionObject=null,this.filterResultObjectSelectionChanged=new y,this.filterResultObjectDoubleClicked=new y,this.filterResultObjectMouseEntered=new y,this.filterResultObjectMouseLeft=new y,this.FilterCriteriaSelectionMode=oo,this._filterResult=null}set activeFilterType(n){this.activeFilterTypeSubject$.next(n)}get activeFilterType(){return this.activeFilterTypeSubject$.getValue()}set activeFilter(n){this.activeFilterSubject$.next(n)}get activeFilter(){return this.activeFilterSubject$.getValue()}get filterResult(){return this._filterResult}ngOnInit(){this.activeFilterTypeSubject$.subscribe({next:n=>{!this.projectId||!this.api||!n||(this.activeFilter=null,this.loadCurrentLayerFilters(this.projectId,n.id)?.subscribe({next:o=>{this.filters=o},error:o=>{throw new Error(o)}}))}}),this.activeFilterSubject$.subscribe({next:n=>{n&&(this.filterCriteria=this.parseFilterString(n),this.applyFilter())}}),this.filterCriteriaSelectionMode$.subscribe({next:n=>{this.filterCriteriaSelectionModeChanged.emit(n)}}),this.filterTypes.length>0&&(this.activeFilterType=this.filterTypes[0])}loadCurrentLayerFilters(n,o){if(this.api)return Re(this.api.objectFilters.get(o,n))}parseFilterString(n){return new sr(n.filterString,rr).toFilterCriteria(n.readableValues)}deleteFilterCriterium(n){this.filterCriteria.splice(n,1),this.filterCriteria=[...this.filterCriteria],this.resetActiveFilter()}setFilterCriteriaSelectionMode(n){if(this.filterCriteriaSelectionMode$.getValue()==n){this.filterCriteriaSelectionMode$.next(oo.None);return}this.filterCriteriaSelectionMode$.next(n)}applyFilter(){this.filterCriteriaSelectionMode$.next(oo.None),this._filterResult=null,this.selectionObject&&this._applySelectionObjectFilter(this.activeFilter)}handleFilterResultSelectionChanged(n){this.filterResultObjectSelectionChanged.emit(n)}handleFilterResulObjectDoubleClicked(n){this.filterResultObjectDoubleClicked.emit(n)}handleFilterResulObjectMouseEntered(n){this.filterResultObjectMouseEntered.emit(n)}handleFilterResulObjectMouseLeft(n){this.filterResultObjectMouseLeft.emit(n)}resetActiveFilter(){this.activeFilter=null}_applySelectionObjectFilter(n){if(!this.api||!this.selectionObject)return;let o=n||{module:"00000000-0000-0000-0000-000000000000",category:"",disciplineID:this.activeFilterType?this.activeFilterType.id:"00000000-0000-0000-0000-000000000000",name:"Custom Filter",filterString:new sr().fromFilterCriteria(this.filterCriteria),isDefault:!1,disableSortByModels:!1};this.selectionObject.singleUse=!0,this.selectionObject.selection.singleuse=!0,xa.fetchObjectFilterStructureFromSelection(this.projectId,o,this.selectionObject,this.api).subscribe({next:r=>{this._filterResult=r}})}};e.\u0275fac=function(o){return new(o||e)(w(P))},e.\u0275cmp=k({type:e,selectors:[["lib-bimplus-object-navigator"]],hostVars:2,hostBindings:function(o,r){o&2&&ie("object-navigator",r.objNavClassClass)},inputs:{hideFilterContextMenu:"hideFilterContextMenu",filterContextMenu:"filterContextMenu",filterTypes:"filterTypes",filters:"filters",api:"api",projectId:"projectId",selectedObjectId:"selectedObjectId",selectedObjects:"selectedObjects",selectionObject:"selectionObject"},outputs:{filterCriteriaSelectionModeChanged:"filterCriteriaSelectionModeChanged",filterResultObjectSelectionChanged:"filterResultObjectSelectionChanged",filterResultObjectDoubleClicked:"filterResultObjectDoubleClicked",filterResultObjectMouseEntered:"filterResultObjectMouseEntered",filterResultObjectMouseLeft:"filterResultObjectMouseLeft"},standalone:!0,features:[z,S],decls:5,vars:4,consts:[[3,"header"],[1,"object-navigator-content-container"],[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"],[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","ngClass"],[1,"object-navigator-select-attributes-button",3,"click","ngClass"],[1,"filter-criteria-container"],[3,"criterium","indent"],[1,"object-navigator-apply-button-row"],[1,"primary-button",3,"click","ngClass"],[1,"object-navigator-separator"],[3,"value"],["class","object-navigator-filters-name-context-menu",3,"items",4,"ngIf"],[3,"deleteCriterium","criterium","indent"],["id","NoObjectSelected"],[3,"filterCriteriaChange","api","selectedLanguage","localizedStrings","filterCriteria","rootObjectId"],[3,"filterResult","selectedObjects"],[3,"nodeSelectionChanged","nodeDoubleClicked","nodeMouseEntered","nodeMouseLeft","filterResult","selectedObjects"],["data-test","object-navigator-no-filter-types-message",1,"object-navigator-no-filter-types"]],template:function(o,r){o&1&&(m(0,"lib-bimplus-sidenav-drawer-content",0),R(1,"translate"),m(2,"div",1),C(3,WE,26,21)(4,GE,3,3),f()()),o&2&&(p("header",L(1,2,"_Object navigator")),d(3),$(3,r.filterTypes.length>0?3:4))},dependencies:[N,X,ve,Be,Xs,Qs,Qo,na,ta,Jo,pb,Mn,In,Gi,Wi,te,Ie,hb,io,bb],styles:[`.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.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 #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.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:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:0;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px #0000000f;background-color:#f5f5f5}.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:#999}.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:#f9f9f9;border:1px solid #e6e6e6}.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:#333;background-color:#fff1eb;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:#f9f9f9}.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:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[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 #b8dbff}.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:#000}.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:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#d0021b}.ng-select .ng-clear-wrapper:focus .ng-clear{color:#d0021b}.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:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px #0000000f;left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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:#e6e6e6;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 #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;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:#0000008a;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:#f5f5f5}.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:#0000008a;background-color:#fff1eb;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:#000000de;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:#333;background-color:#fff1eb}.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:#f5f5f5;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.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;height:2.4rem;white-space:nowrap;border-radius:.2rem;vertical-align:middle;font-size:1.2rem;border:solid .2rem #fe5000;color:#fff;background-color:#fe5000;cursor:pointer}.primary-button:hover{border:solid .2rem #eb4b00;color:#fff;background-color:#eb4b00;outline:0}.primary-button.disabled{border:solid .2rem #bababa;color:#fff;background-color:#bababa;cursor:default}.filter-criteria-container{display:flex;flex-direction:column;width:calc(100% - 2.4rem);padding-left:2.4rem;height:14.4rem}:host(.object-navigator){height:100%;width:100%}.object-navigator-content-container{display:flex;flex-direction:column}.object-navigator-content-container>.object-navigator-filters-type{margin-top:.1rem;margin-bottom:.1rem;height:2.4rem}.object-navigator-content-container>.object-navigator-filters-type>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.object-navigator-content-container>.object-navigator-filters-name{margin-top:.1rem;margin-bottom:.1rem;height:2.4rem;display:flex;flex-direction:row}.object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown{flex:1}.object-navigator-content-container>.object-navigator-filters-name>.object-navigator-dropdown .ng-select-container{height:2.4rem;min-height:2.4rem}.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}.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:#39aef2;margin-left:.4rem}.object-navigator-filter-criteria-panel{padding-top:.8rem}.object-navigator-select-attributes-button{background-image:url("./media/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:#39aef2;margin-left:.4rem}.object-navigator-select-attributes-button.active{background-image:url("./media/Properties_18_orange.svg")}.object-navigator-pick-object-button{background-image:url("./media/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:#39aef2;margin-left:.4rem}.object-navigator-pick-object-button.active{background-image:url("./media/Pipette_18_orange.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%}.object-navigator-apply-button-row{display:flex;margin-top:.8rem;margin-bottom:.8rem;justify-content:flex-end}.object-navigator-separator{border-top:solid .078125em #d4d4d4;padding-bottom:.8rem}.object-navigator-no-filter-types{display:block;width:100%;color:#bababa;text-align:left;padding-bottom:.8rem}
31
+ `],encapsulation:3});let t=e;return t})();function qE(t,e){if(t&1&&(m(0,"div",4),E(1),f()),t&2){let i=g();d(),B(" ",i.spinnerText," ")}}var yb=(()=>{let e=class e{constructor(){this.spinnerSpinActive=!1,this.spinnerHoverEnabled=!1,this.spinnerDisabled=!1,this.spinnerText=null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=k({type:e,selectors:[["lib-loading-spinner"]],inputs:{spinnerSpinActive:[_.HasDecoratorInputTransform,"spinnerSpinActive","spinnerSpinActive",D],spinnerHoverEnabled:[_.HasDecoratorInputTransform,"spinnerHoverEnabled","spinnerHoverEnabled",D],spinnerDisabled:[_.HasDecoratorInputTransform,"spinnerDisabled","spinnerDisabled",D],spinnerText:"spinnerText"},standalone:!0,features:[fe,S],decls:4,vars:7,consts:[[1,"loading-spinner"],[1,"spinner-conatiner"],[1,"spinner-icon"],["class","spinner-text",4,"ngIf"],[1,"spinner-text"]],template:function(o,r){o&1&&(m(0,"div",0)(1,"div",1),O(2,"div",2),C(3,qE,2,1,"div",3),f()()),o&2&&(d(2),ie("spinner-spin-active",r.spinnerSpinActive)("spinner-disabled",r.spinnerDisabled)("hover-enabled",r.spinnerHoverEnabled&&!r.spinnerDisabled),d(),p("ngIf",r.spinnerText))},dependencies:[N,Be],styles:['.loading-spinner[_ngcontent-%COMP%]{position:absolute;min-width:100%;min-height:100%;background-color:var(--loading-spinner-color, rgba(128, 128, 128, .3));display:flex;justify-content:center;align-items:center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%]{display:flex;flex-direction:column}@keyframes _ngcontent-%COMP%_spin_icon{to{transform:rotate(360deg)}}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon[_ngcontent-%COMP%]{min-width:var(--loading-spinner-size, 1rem);min-height:var(--loading-spinner-size, 1rem);background-image:var(--loading-spinner-icon, url("./media/Spinner_18_gray.svg"));background-size:var(--loading-spinner-size, 1rem);background-repeat:no-repeat;background-position:center center}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.hover-enabled[_ngcontent-%COMP%]:hover{background-image:var(--loading-spinner-hover-icon, url("./media/Spinner_18_active.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-icon.spinner-disabled[_ngcontent-%COMP%]{background-image:var(--loading-spinner-disabled-icon, url("./media/Spinner_18_disabled.svg"));background-size:var(--loading-spinner-size, 1rem)}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-spin-active[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin_icon var(--loading-spinner-time, 1.8s) infinite linear}.loading-spinner[_ngcontent-%COMP%] .spinner-conatiner[_ngcontent-%COMP%] > .spinner-text[_ngcontent-%COMP%]{text-align:center}']});let t=e;return t})();var Zd=class{handle(e){return console.warn("Missing translation string "+e.key),e.key}};Ma(void 0,null,function*(){let t=yield tg({providers:[fc(te.forRoot({missingTranslationHandler:{provide:Xn,useClass:Zd},isolate:!0,defaultLanguage:"en"}))]}),e=Ve(Vg,{injector:t.injector});customElements.define("bimplus-connection-designer",e);let i=Ve(Lg,{injector:t.injector});customElements.define("bimplus-connection-designer-result",i);let n=Ve(Bg,{injector:t.injector});customElements.define("bimplus-contact",n);let o=Ve(zg,{injector:t.injector});customElements.define("bimplus-floating-bar-hide-objects",o);let r=Ve(Hg,{injector:t.injector});customElements.define("bimplus-floating-bar-isolation-objects",r);let s=Ve(qg,{injector:t.injector});customElements.define("bimplus-floating-bar-project-navigator",s);let a=Ve(Zg,{injector:t.injector});customElements.define("bimplus-language-menu",a);let l=Ve(Qg,{injector:t.injector});customElements.define("bimplus-main-menu",l);let c=Ve(Kg,{injector:t.injector});customElements.define("bimplus-navbar",c);let u=Ve(wh,{injector:t.injector});customElements.define("bimplus-notify",u);let h=Ve(aa,{injector:t.injector});customElements.define("bimplus-project-menu",h);let v=Ve(Mh,{injector:t.injector});customElements.define("bimplus-sidenav",v);let x=Ve(Wi,{injector:t.injector});customElements.define("bimplus-sidenav-drawer-content",x);let T=Ve(Ih,{injector:t.injector});customElements.define("bimplus-storage-info",T);let F=Ve(Oh,{injector:t.injector});customElements.define("bimplus-tool-hub",F);let Q=Ve(Th,{injector:t.injector});customElements.define("bimplus-touch-menu",Q);let U=Ve(Ph,{injector:t.injector});customElements.define("bimplus-user-menu",U);let Ee=Ve(Ah,{injector:t.injector});customElements.define("bimplus-zoom",Ee);let je=Ve(vb,{injector:t.injector});customElements.define("bimplus-object-navigator",je);let Ke=Ve($t,{injector:t.injector});customElements.define("bimplus-flat-tree",Ke);let Je=Ve(io,{injector:t.injector});customElements.define("bimplus-context-menu",Je);let le=Ve(yb,{injector:t.injector});customElements.define("bimplus-context-menu",le)});export{Zd as BimplusMissingTranslationHandler};