1import{K as Je,n as Ke,p as qe,q as je,u as Ye,y as Ze}from"./chunk-TC6KNNL6.js";import{A as $e,g as Ue,i as Ne,j as ve,m as Qe,w as Se}from"./chunk-WJC4Z27V.js";import{$a as De,$c as re,Fc as x,Gb as Oe,Hb as ie,Hc as c,Ib as a,Ic as Be,Jc as Ge,Kb as ne,Mb as ke,Mc as B,Na as ge,Nb as O,Nc as Q,Oa as g,Oc as T,Pa as m,Pb as Ve,Pc as E,Qa as q,Qc as X,Rc as C,Sc as b,Tc as _e,Ub as N,Vb as me,W as Te,Wb as ze,Xb as Fe,Zb as _,Zc as le,_a as I,_c as se,ad as He,ba as Ee,cb as W,cd as k,dd as $,e as ut,ed as oe,g as pt,hc as Re,ic as r,jb as Pe,jc as V,kc as Le,mc as We,n as ue,ra as Me,tc as h,td as xe,uc as p,va as pe,vc as f,wa as Ae,xa as fe,zc as S}from"./chunk-FD5XSWSL.js";var Xe=ut((we,ye)=>{"use strict";var Ce=function(){this._tweens={},this._tweensAddedDuringUpdate={}};Ce.prototype={getAll:function(){return Object.keys(this._tweens).map(function(t){return this._tweens[t]}.bind(this))},removeAll:function(){this._tweens={}},add:function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},remove:function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},update:function(t,s){var e=Object.keys(this._tweens);if(e.length===0)return!1;for(t=t!==void 0?t:w.now();e.length>0;){this._tweensAddedDuringUpdate={};for(var i=0;i<e.length;i++){var n=this._tweens[e[i]];n&&n.update(t)===!1&&(n._isPlaying=!1,s||delete this._tweens[e[i]])}e=Object.keys(this._tweensAddedDuringUpdate)}return!0}};var w=new Ce;w.Group=Ce;w._nextId=0;w.nextId=function(){return w._nextId++};typeof self>"u"&&typeof process<"u"&&process.hrtime?w.now=function(){var t=process.hrtime();return t[0]*1e3+t[1]/1e6}:typeof self<"u"&&self.performance!==void 0&&self.performance.now!==void 0?w.now=self.performance.now.bind(self.performance):Date.now!==void 0?w.now=Date.now:w.now=function(){return new Date().getTime()};w.Tween=function(t,s){this._object=t,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._repeat=0,this._repeatDelayTime=void 0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=null,this._easingFunction=w.Easing.Linear.None,this._interpolationFunction=w.Interpolation.Linear,this._chainedTweens=[],this._onStartCallback=null,this._onStartCallbackFired=!1,this._onUpdateCallback=null,this._onRepeatCallback=null,this._onCompleteCallback=null,this._onStopCallback=null,this._group=s||w,this._id=w.nextId()};w.Tween.prototype={getId:function(){return this._id},isPlaying:function(){return this._isPlaying},to:function(t,s){return this._valuesEnd=t,s!==void 0&&(this._duration=s),this},duration:function(s){return this._duration=s,this},start:function(t){this._group.add(this),this._isPlaying=!0,this._onStartCallbackFired=!1,this._startTime=t!==void 0?typeof t=="string"?w.now()+parseFloat(t):t:w.now(),this._startTime+=this._delayTime;for(var s in this._valuesEnd){if(this._valuesEnd[s]instanceof Array){if(this._valuesEnd[s].length===0)continue;this._valuesEnd[s]=[this._object[s]].concat(this._valuesEnd[s])}this._object[s]!==void 0&&(this._valuesStart[s]=this._object[s],this._valuesStart[s]instanceof Array||(this._valuesStart[s]*=1),this._valuesStartRepeat[s]=this._valuesStart[s]||0)}return this},stop:function(){return this._isPlaying?(this._group.remove(this),this._isPlaying=!1,this._onStopCallback!==null&&this._onStopCallback(this._object),this.stopChainedTweens(),this):this},end:function(){return this.update(1/0),this},stopChainedTweens:function(){for(var t=0,s=this._chainedTweens.length;t<s;t++)this._chainedTweens[t].stop()},group:function(t){return this._group=t,this},delay:function(t){return this._delayTime=t,this},repeat:function(t){return this._repeat=t,this},repeatDelay:function(t){return this._repeatDelayTime=t,this},yoyo:function(t){return this._yoyo=t,this},easing:function(t){return this._easingFunction=t,this},interpolation:function(t){return this._interpolationFunction=t,this},chain:function(){return this._chainedTweens=arguments,this},onStart:function(t){return this._onStartCallback=t,this},onUpdate:function(t){return this._onUpdateCallback=t,this},onRepeat:function(s){return this._onRepeatCallback=s,this},onComplete:function(t){return this._onCompleteCallback=t,this},onStop:function(t){return this._onStopCallback=t,this},update:function(t){var s,e,i;if(t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback!==null&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),e=(t-this._startTime)/this._duration,e=this._duration===0||e>1?1:e,i=this._easingFunction(e);for(s in this._valuesEnd)if(this._valuesStart[s]!==void 0){var n=this._valuesStart[s]||0,l=this._valuesEnd[s];l instanceof Array?this._object[s]=this._interpolationFunction(l,i):(typeof l=="string"&&(l.charAt(0)==="
1+"||l.charAt(0)==="-"?l=n+parseFloat(l):l=parseFloat(l)),typeof l=="number"&&(this._object[s]=n+(l-n)*i))}if(this._onUpdateCallback!==null&&this._onUpdateCallback(this._object,e),e===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(s in this._valuesStartRepeat){if(typeof this._valuesEnd[s]=="string"&&(this._valuesStartRepeat[s]=this._valuesStartRepeat[s]+parseFloat(this._valuesEnd[s])),this._yoyo){var o=this._valuesStartRepeat[s];this._valuesStartRepeat[s]=this._valuesEnd[s],this._valuesEnd[s]=o}this._valuesStart[s]=this._valuesStartRepeat[s]}return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,this._onRepeatCallback!==null&&this._onRepeatCallback(this._object),!0}else{this._onCompleteCallback!==null&&this._onCompleteCallback(this._object);for(var d=0,u=this._chainedTweens.length;d<u;d++)this._chainedTweens[d].start(this._startTime+this._duration);return!1}return!0}};w.Easing={Linear:{None:function(t){return t}},Quadratic:{In:function(t){return t*t},Out:function(t){return t*(2-t)},InOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)}},Cubic:{In:function(t){return t*t*t},Out:function(t){return--t*t*t+1},InOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)}},Quartic:{In:function(t){return t*t*t*t},Out:function(t){return 1- --t*t*t*t},InOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)}},Quintic:{In:function(t){return t*t*t*t*t},Out:function(t){return--t*t*t*t*t+1},InOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)}},Sinusoidal:{In:function(t){return 1-Math.cos(t*Math.PI/2)},Out:function(t){return Math.sin(t*Math.PI/2)},InOut:function(t){return .5*(1-Math.cos(Math.PI*t))}},Exponential:{In:function(t){return t===0?0:Math.pow(1024,t-1)},Out:function(t){return t===1?1:1-Math.pow(2,-10*t)},InOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)}},Circular:{In:function(t){return 1-Math.sqrt(1-t*t)},Out:function(t){return Math.sqrt(1- --t*t)},InOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}},Elastic:{In:function(t){return t===0?0:t===1?1:-Math.pow(2,10*(t-1))*Math.sin((t-1.1)*5*Math.PI)},Out:function(t){return t===0?0:t===1?1:Math.pow(2,-10*t)*Math.sin((t-.1)*5*Math.PI)+1},InOut:function(t){return t===0?0:t===1?1:(t*=2,t<1?-.5*Math.pow(2,10*(t-1))*Math.sin((t-1.1)*5*Math.PI):.5*Math.pow(2,-10*(t-1))*Math.sin((t-1.1)*5*Math.PI)+1)}},Back:{In:function(t){var s=1.70158;return t*t*((s+1)*t-s)},Out:function(t){var s=1.70158;return--t*t*((s+1)*t+s)+1},InOut:function(t){var s=2.5949095;return(t*=2)<1?.5*(t*t*((s+1)*t-s)):.5*((t-=2)*t*((s+1)*t+s)+2)}},Bounce:{In:function(t){return 1-w.Easing.Bounce.Out(1-t)},Out:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},InOut:function(t){return t<.5?w.Easing.Bounce.In(t*2)*.5:w.Easing.Bounce.Out(t*2-1)*.5+.5}}};w.Interpolation={Linear:function(t,s){var e=t.length-1,i=e*s,n=Math.floor(i),l=w.Interpolation.Utils.Linear;return s<0?l(t[0],t[1],i):s>1?l(t[e],t[e-1],e-i):l(t[n],t[n+1>e?e:n+1],i-n)},Bezier:function(t,s){for(var e=0,i=t.length-1,n=Math.pow,l=w.Interpolation.Utils.Bernstein,o=0;o<=i;o++)e+=n(1-s,i-o)*n(s,o)*t[o]*l(i,o);return e},CatmullRom:function(t,s){var e=t.length-1,i=e*s,n=Math.floor(i),l=w.Interpolation.Utils.CatmullRom;return t[0]===t[e]?(s<0&&(n=Math.floor(i=e*(1+s))),l(t[(n-1+e)%e],t[n],t[(n+1)%e],t[(n+2)%e],i-n)):s<0?t[0]-(l(t[0],t[0],t[1],t[1],-i)-t[0]):s>1?t[e]-(l(t[e],t[e],t[e-1],t[e-1],i-e)-t[e]):l(t[n?n-1:0],t[n],t[e<n+1?e:n+1],t[e<n+2?e:n+2],i-n)},Utils:{Linear:function(t,s,e){return(s-t)*e+t},Bernstein:function(t,s){var e=w.Interpolation.Utils.Factorial;return e(t)/e(s)/e(t-s)},Factorial:function(){var t=[1];return function(s){var e=1;if(t[s])return t[s];for(var i=s;i>1;i--)e*=i;return t[s]=e,e}}(),CatmullRom:function(t,s,e,i,n){var l=(e-t)*.5,o=(i-s)*.5,d=n*n,u=n*d;return(2*s-2*e+l+o)*u+(-3*s+3*e-2*l-o)*d+l*n+s}}};(function(t){typeof define=="function"&&define.amd?define([],function(){return w}
1):typeof ye<"u"&&typeof we=="object"?ye.exports=w:t!==void 0&&(t.TWEEN=w)})(we)});var ae=pt(Xe(),1);function ft(t,s){t&1&&(q(),h(0,"svg",4)(1,"g"),f(2,"path",5),p()())}function gt(t,s){t&1&&(q(),h(0,"svg",6)(1,"g")(2,"g",7)(3,"g"),f(4,"path",8),p()()()())}function mt(t,s){t&1&&(q(),h(0,"svg",6)(1,"g")(2,"g",9)(3,"g"),f(4,"path",10),p()()()())}function _t(t,s){t&1&&(q(),h(0,"svg",11)(1,"g")(2,"g")(3,"g",12)(4,"g"),f(5,"path",13),p()()()()())}function xt(t,s){t&1&&(q(),h(0,"svg",14)(1,"g"),f(2,"path",15),p()())}var vt=["header"],St=["container"],wt=["content"],yt=["invisiblePadding"],Ct=["*"],bt=["searchInput"],It=["selectedList"],Tt=["dropdownList"],Et=["cuppaDropdown"],Mt=t=>({disabled:t}),At=t=>({tagToBody:t}),et=(t,s)=>({"arrow-up":t,"arrow-down":s}),Dt=t=>({"single-select-mode":t}),ce=t=>({"selected-item":t}),ee=t=>({height:t}),te=(t,s)=>({"grp-title":t,"grp-item":s}),nt=(t,s,e)=>({"grp-title":t,"grp-item":s,"selected-item":e}),Pt=(t,s,e)=>({"selected-item":t,"grp-title":s,"grp-item":e});function Ot(t,s){if(t&1&&(h(0,"span"),C(1),p()),t&2){let e=c();a(),b(e.settings.text)}}function kt(t,s){if(t&1&&(h(0,"span"),C(1),p()),t&2){let e=s.$implicit,i=c(2);a(),_e(" ",e[i.settings.labelKey]," ")}}function Vt(t,s){if(t&1&&(h(0,"span"),_(1,kt,2,1,"span",27),p()),t&2){let e=c();a(),r("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByFn.bind(e))}}function zt(t,s){if(t&1&&(h(0,"span",34),C(1),p()),t&2){let e=c().$implicit,i=c(2);a(),b(e[i.settings.labelKey])}}function Ft(t,s){if(t&1&&(h(0,"span",34),f(1,"c-templateRenderer",35),p()),t&2){let e=c().$implicit,i=c(2);a(),r("data",i.badgeTempl)("item",e)}}function Rt(t,s){if(t&1){let e=S();h(0,"div",30),_(1,zt,2,1,"span",31)(2,Ft,2,2,"span",31),h(3,"span",32),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index;return c(2).onItemClick(o,d,n),m(n.stopPropagation())}),f(4,"c-icon",33),p()()}if(t&2){let e=c(2);a(),r("ngIf",!e.badgeTempl),a(),r("ngIf",e.badgeTempl),a(2),r("name","remove")}}function Lt(t,s){if(t&1&&(h(0,"span",28),_(1,Rt,5,3,"div",29),p()),t&2){let e=c();a(),r("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByFn.bind(e))}}function Wt(t,s){if(t&1&&(h(0,"span",34),C(1),p()),t&2){let e=c().$implicit,i=c(2);a(),b(e[i.settings.labelKey])}}function Bt(t,s){if(t&1&&(h(0,"span",34),f(1,"c-templateRenderer",35),p()),t&2){let e=c().$implicit,i=c(2);a(),r("data",i.badgeTempl)("item",e)}}function Gt(t,s){if(t&1){let e=S();h(0,"div",37),_(1,Wt,2,1,"span",31)(2,Bt,2,2,"span",31),h(3,"span",32),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index;return c(2).onItemClick(o,d,n),m(n.stopPropagation())}),f(4,"c-icon",33),p()()}if(t&2){let e=s.index,i=c(2);r("hidden",e>i.settings.badgeShowLimit-1),a(),r("ngIf",!i.badgeTempl),a(),r("ngIf",i.badgeTempl),a(2),r("name","remove")}}function Ht(t,s){if(t&1&&(h(0,"div",28),_(1,Gt,5,4,"div",36),p()),t&2){let e=c();a(),r("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByFn.bind(e))}}function Ut(t,s){if(t&1&&(h(0,"span",38),C(1),p()),t&2){let e=c();a(),_e("+",(e.selectedItems==null?null:e.selectedItems.length)-e.settings.badgeShowLimit,"")}}function Nt(t,s){if(t&1){let e=S();h(0,"span",39),x("click",function(n){return g(e),c().clearSelection(n),m(n.stopPropagation())}),f(1,"c-icon",33),p()}t&2&&(a(),r("name","remove"))}function Qt(t,s){t&1&&(h(0,"span",40),f(1,"c-icon",33),p()),t&2&&(a(),r("name","angle-down"))}function $t(t,s){t&1&&(h(0,"span",41),f(1,"c-icon",33),p()),t&2&&(a(),r("name","angle-up"))}function Kt(t,s){if(t&1){let e=S();h(0,"input",46),x("change",function(n){g(e);let l=c(2);return m(l.toggleSelectAll(n))}),p()}if(t&2){let e=c(2);r("checked",e.isSelectAll)("disabled",e.settings.limitSelection==(e.selectedItems==null?null:e.selectedItems.length))("id",e.id)}}function qt(t,s){if(t&1&&(h(0,"div",42),_(1,Kt,1,3,"input",43),h(2,"label",44)(3,"span",45),C(4),p(),h(5,"span",45),C(6),p()()()),t&2){let e=c();a(),r("ngIf",e.settings.showCheckbox),a(),r("for",e.id),a(),r("hidden",e.isSelectAll),a(),b(e.settings.selectAllText),a(),r("hidden",!e.isSelectAll),a(),b(e.settings.unSelectAllText)}}function jt(t,s){t&1&&f(0,"img",47)}function Yt(t,s){if(t&1){let e=S();h(0,"span",53),x("click",function(){g(e);let n=c(2);return m(n.clearSearch())}),f(1,"c-icon",33),p()}if(t&2){let e=c(2);r("hidden",e.filter==null||(e.filter==null?null:e.filter.length)==0),a(),r("name","clear")}}function Zt(t,s){if(t&1){let e=S();h(0,"span",53),x("click",function(){g(e);let n=c(2);return m(n.resetInfiniteSearch())}),f(1,"c-icon",33),p()}if(t&2){let e=c(2);r("hidden",e.filter==null||(e.filter==null?null:e.filter.length)==0),a(),r("name","clear")}}function Jt(t,s){if(t&1){let e=S();h(0,"input",54,3),re("ngModelChange",function(n){g(e);let l=c(2);return se(l.filter,n)||(l.filter=n),m(n)}),x("keyup",function(){g(e);let n=c(2);return m(n.filterGroupedList())}),p()}if(t&2){let e=c(2);r("placeholder",e.settings.searchPlaceholderText),le("ngModel",e.filter)}}function Xt(t,s){if(t&1){let e=S();h(0,"input",54,3),re("ngModelChange",function(n){g(e);let l=c(2);return se(l.filter,n)||(l.filter=n),m(n)}),x("keyup",function(n){g(e);let l=c(2);return m(l.filteritems(n))}),p()}if(t&2){let e=c(2);r("placeholder",e.settings.searchPlaceholderText),le("ngModel",e.filter)}}function ei(t,s){if(t&1){let e=S();h(0,"input",54,3),re("ngModelChange",function(n){g(e);let l=c(2);return se(l.filter,n)||(l.filter=n),m(n)}),x("keyup",function(n){g(e);let l=c(2);return m(l.onKeyUp(n))}),p()}if(t&2){let e=c(2);r("placeholder",e.settings.searchPlaceholderText),le("ngModel",e.filter)}}function ti(t,s){if(t&1&&f(0,"c-templateRenderer",35),t&2){let e=c(2);r("data",e.searchTempl)("item",e.item)}}function ii(t,s){if(t&1&&(h(0,"div",48)(1,"span",49),f(2,"c-icon",33),p(),_(3,Yt,2,2,"span",50)(4,Zt,2,2,"span",50)(5,Jt,2,2,"input",51)(6,Xt,2,2,"input",51)(7,ei,2,2,"input",51)(8,ti,1,2,"c-templateRenderer",52),p()),t&2){let e=c();a(2),r("name","search"),a(),r("ngIf",!e.settings.lazyLoading),a(),r("ngIf",e.settings.lazyLoading),a(),r("ngIf",e.settings.groupBy&&!e.settings.lazyLoading&&!e.searchTempl),a(),r("ngIf",!e.settings.groupBy&&!e.settings.lazyLoading&&!e.searchTempl),a(),r("ngIf",e.settings.lazyLoading&&!e.searchTempl),a(),r("ngIf",e.searchTempl)}}function ni(t,s){if(t&1){let e=S();h(0,"div",57),x("click",function(){g(e);let n=c(2);return m(n.toggleFilterSelectAll())}
1),f(1,"input",58),h(2,"label")(3,"span",45),C(4),p(),h(5,"span",45),C(6),p()()()}if(t&2){let e=c(2);a(),r("checked",e.isFilterSelectAll)("disabled",e.settings.limitSelection==(e.selectedItems==null?null:e.selectedItems.length)),a(2),r("hidden",e.isFilterSelectAll),a(),b(e.settings.filterSelectAllText),a(),r("hidden",!e.isFilterSelectAll),a(),b(e.settings.filterUnSelectAllText)}}function li(t,s){if(t&1){let e=S();h(0,"div",57),x("click",function(){g(e);let n=c(2);return m(n.toggleFilterSelectAll())}),f(1,"input",59),h(2,"label")(3,"span",45),C(4),p(),h(5,"span",45),C(6),p()()()}if(t&2){let e=c(2);a(),r("checked",e.isFilterSelectAll&&(e.filter==null?null:e.filter.length)>0)("disabled",e.settings.limitSelection==(e.selectedItems==null?null:e.selectedItems.length)),a(2),r("hidden",e.isFilterSelectAll),a(),b(e.settings.filterSelectAllText),a(),r("hidden",!e.isFilterSelectAll),a(),b(e.settings.filterUnSelectAllText)}}function si(t,s){if(t&1&&(h(0,"div",55),_(1,ni,7,6,"div",56)(2,li,7,6,"div",56),p()),t&2){let e=c();a(),r("ngIf",!e.settings.groupBy&&(e.filter==null?null:e.filter.length)>0&&e.filterLength>0&&!e.settings.singleSelection),a(),r("ngIf",e.settings.groupBy&&(e.filter==null?null:e.filter.length)>0&&(e.groupedData==null?null:e.groupedData.length)>0&&!e.settings.singleSelection)}}function ri(t,s){if(t&1){let e=S();h(0,"div",57),x("click",function(){g(e);let n=c(2);return m(n.toggleInfiniteFilterSelectAll())}),f(1,"input",59),h(2,"label")(3,"span",45),C(4),p(),h(5,"span",45),C(6),p()()()}if(t&2){let e=c(2);a(),r("checked",e.isInfiniteFilterSelectAll)("disabled",e.settings.limitSelection==(e.selectedItems==null?null:e.selectedItems.length)),a(2),r("hidden",e.isInfiniteFilterSelectAll),a(),b(e.settings.filterSelectAllText),a(),r("hidden",!e.isInfiniteFilterSelectAll),a(),b(e.settings.filterUnSelectAllText)}}function oi(t,s){if(t&1&&(h(0,"div",55),_(1,ri,7,6,"div",56),p()),t&2){let e=c();a(),r("ngIf",(e.filter==null?null:e.filter.length)>0&&e.infiniteFilterLength>0)}}function ai(t,s){if(t&1){let e=S();h(0,"div",61)(1,"button",62),x("click",function(){g(e);let n=c(2);return m(n.addFilterNewItem())}),C(2),p()()}if(t&2){let e=c(2);a(2),b(e.settings.addNewButtonText)}}function ci(t,s){if(t&1&&(h(0,"div",55),_(1,ai,3,1,"div",60),p()),t&2){let e=c();a(),r("ngIf",e.settings.addNewItemOnFilter)}}function di(t,s){if(t&1&&f(0,"input",59),t&2){let e=c().$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function hi(t,s){if(t&1){let e=S();h(0,"li",66),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index,u=c(2);return m(u.onItemClick(o,d,n))}),_(1,di,1,2,"input",67),h(2,"label"),C(3),p()()}if(t&2){let e=s.$implicit,i=c(2);r("ngClass",k(3,ce,i.isSelected(e)==!0)),a(),r("ngIf",i.settings.showCheckbox),a(2),b(e[i.settings.labelKey])}}function ui(t,s){if(t&1&&(h(0,"div",63)(1,"ul",64),_(2,hi,4,5,"li",65),p()()),t&2){let e=c();V("max-height",e.settings.maxHeight+"px"),a(2),r("ngForOf",e.data)}}function pi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function fi(t,s){if(t&1){let e=S();h(0,"li",66),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index,u=c(2);return m(u.onItemClick(o,d,n))}),_(1,pi,1,2,"input",69),h(2,"label"),C(3),p()()}if(t&2){let e=s.$implicit,i=c(2);r("ngClass",k(3,ce,i.isSelected(e)==!0)),a(),r("ngIf",i.settings.showCheckbox),a(2),b(e[i.settings.labelKey])}}function gi(t,s){if(t&1){let e=S();h(0,"div",63)(1,"ul",68,4),x("vsStart",function(n){g(e);let l=c();return m(l.onScrollEnd(n))})("vsEnd",function(n){g(e);let l=c();return m(l.onScrollEnd(n))}),_(3,fi,4,5,"li",65),p()()}if(t&2){let e=X(2),i=c();V("max-height",i.settings.maxHeight+"px"),a(),r("enableUnequalChildrenSizes",i.randomSize)("items",i.virtualdata)("ngStyle",k(6,ee,i.settings.maxHeight+"px")),a(2),r("ngForOf",e.viewPortItems)}}function mi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function _i(t,s){if(t&1){let e=S();h(0,"li",66),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index,u=c(2);return m(u.onItemClick(o,d,n))}),_(1,mi,1,2,"input",69),f(2,"label")(3,"c-templateRenderer",35),p()}if(t&2){let e=s.$implicit,i=c(2);r("ngClass",k(4,ce,i.isSelected(e)==!0)),a(),r("ngIf",i.settings.showCheckbox),a(2),r("data",i.itemTempl)("item",e)}}function xi(t,s){if(t&1&&(h(0,"div",63)(1,"ul",64),_(2,_i,4,6,"li",65),p()()),t&2){let e=c();V("max-height",e.settings.maxHeight+"px"),a(2),r("ngForOf",e.data)}}function vi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Si(t,s){if(t&1){let e=S();h(0,"li",66),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index,u=c(2);return m(u.onItemClick(o,d,n))}),_(1,vi,1,2,"input",69),f(2,"label")(3,"c-templateRenderer",35),p()}if(t&2){let e=s.$implicit,i=c(2);r("ngClass",k(4,ce,i.isSelected(e)==!0)),a(),r("ngIf",i.settings.showCheckbox),a(2),r("data",i.itemTempl)("item",e)}}function wi(t,s){if(t&1){let e=S();h(0,"div",63)(1,"ul",68,5),x("vsStart",function(n){g(e);let l=c();return m(l.onScrollEnd(n))})("vsEnd",function(n){g(e);let l=c();return m(l.onScrollEnd(n))}
1),_(3,Si,4,6,"li",65),p()()}if(t&2){let e=X(2),i=c();V("max-height",i.settings.maxHeight+"px"),a(),r("enableUnequalChildrenSizes",i.randomSize)("items",i.virtualdata)("ngStyle",k(6,ee,i.settings.maxHeight+"px")),a(2),r("ngForOf",e.viewPortItems)}}function yi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c(2).$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Ci(t,s){if(t&1){let e=S();h(0,"li",66),x("click",function(n){g(e);let l=c(),o=l.$implicit,d=l.index,u=c(2);return m(u.onItemClick(o,d,n))}),_(1,yi,1,2,"input",69),f(2,"label")(3,"c-templateRenderer",35),p()}if(t&2){let e=c().$implicit,i=c(2);r("ngClass",$(4,te,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection)),a(),r("ngIf",i.settings.showCheckbox&&!i.settings.singleSelection),a(2),r("data",i.itemTempl)("item",e)}}function bi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c(2).$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Ii(t,s){if(t&1&&(h(0,"li",74),_(1,bi,1,2,"input",69),f(2,"label")(3,"c-templateRenderer",35),p()),t&2){let e=c().$implicit,i=c(2);r("ngClass",$(4,te,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection)),a(),r("ngIf",i.settings.showCheckbox),a(2),r("data",i.itemTempl)("item",e)}}function Ti(t,s){if(t&1&&(h(0,"span"),_(1,Ci,4,7,"li",72)(2,Ii,4,7,"li",73),p()),t&2){let e=s.$implicit;a(),r("ngIf",!e.grpTitle),a(),r("ngIf",e.grpTitle)}}function Ei(t,s){if(t&1){let e=S();h(0,"div",63)(1,"ul",68,6),x("vsStart",function(n){g(e);let l=c();return m(l.onScrollEnd(n))})("vsEnd",function(n){g(e);let l=c();return m(l.onScrollEnd(n))}),_(3,Ti,3,2,"span",71),p()()}if(t&2){let e=X(2),i=c();V("max-height",i.settings.maxHeight+"px"),a(),r("enableUnequalChildrenSizes",i.randomSize)("items",i.virtualdata)("ngStyle",k(6,ee,i.settings.maxHeight+"px")),a(2),r("ngForOf",e.viewPortItems)}}function Mi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(2);r("checked",e.selected)("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Ai(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(3);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Di(t,s){if(t&1){let e=S();h(0,"span")(1,"li",66),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index;return c(3).onItemClick(o,d,n),m(n.stopPropagation())}),_(2,Ai,1,2,"input",69),f(3,"label")(4,"c-templateRenderer",35),p()()}if(t&2){let e=s.$implicit,i=c(3);a(),r("ngClass",$(4,te,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection)),a(),r("ngIf",i.settings.showCheckbox),a(2),r("data",i.itemTempl)("item",e)}}function Pi(t,s){if(t&1){let e=S();h(0,"span")(1,"li",66),x("click",function(){let n=g(e).$implicit,l=c(2);return m(l.selectGroup(n))}),_(2,Mi,1,2,"input",69),h(3,"label"),C(4),p(),h(5,"ul",64),_(6,Di,5,7,"span",71),p()()()}if(t&2){let e=s.$implicit,i=c(2);a(),r("ngClass",$(4,te,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection)),a(),r("ngIf",i.settings.showCheckbox&&!i.settings.singleSelection),a(2),b(e[i.settings.labelKey]),a(2),r("ngForOf",e.list)}}function Oi(t,s){if(t&1&&(h(0,"div",63)(1,"ul",64),_(2,Pi,7,7,"span",71),p()()),t&2){let e=c();V("max-height",e.settings.maxHeight+"px"),a(2),r("ngForOf",e.groupedData)}}function ki(t,s){if(t&1&&f(0,"input",70),t&2){let e=c(2).$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Vi(t,s){if(t&1&&(h(0,"li",74),_(1,ki,1,2,"input",69),h(2,"label"),C(3),p()()),t&2){let e=c().$implicit,i=c(2);r("ngClass",oe(3,nt,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection,i.isSelected(e)==!0)),a(),r("ngIf",i.settings.showCheckbox&&!e.grpTitle&&!i.settings.singleSelection),a(2),b(e[i.settings.labelKey])}}function zi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c(2).$implicit,i=c(2);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Fi(t,s){if(t&1){let e=S();h(0,"li",66),x("click",function(n){g(e);let l=c(),o=l.$implicit,d=l.index,u=c(2);return m(u.onItemClick(o,d,n))}),_(1,zi,1,2,"input",69),h(2,"label"),C(3),p()()}if(t&2){let e=c().$implicit,i=c(2);r("ngClass",oe(3,nt,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection,i.isSelected(e)==!0)),a(),r("ngIf",i.settings.showCheckbox&&!e.grpTitle),a(2),b(e[i.settings.labelKey])}}function Ri(t,s){if(t&1&&(h(0,"span"),_(1,Vi,4,7,"li",73)(2,Fi,4,7,"li",72),p()),t&2){let e=s.$implicit;a(),r("ngIf",e.grpTitle),a(),r("ngIf",!e.grpTitle)}}function Li(t,s){if(t&1){let e=S();h(0,"div",63)(1,"virtual-scroller",75),x("vsUpdate",function(n){g(e);let l=c();return m(l.viewPortItems=n)})("vsEnd",function(n){g(e);let l=c();return m(l.onScrollEnd(n))}),h(2,"ul",68,7),x("vsStart",function(n){g(e);let l=c();return m(l.onScrollEnd(n))})("vsEnd",function(n){g(e);let l=c();return m(l.onScrollEnd(n))}),_(4,Ri,3,2,"span",71),p()()()}if(t&2){let e=X(3),i=c();V("max-height",i.settings.maxHeight+"px"),a(),r("items",i.groupedData)("ngStyle",k(8,ee,i.settings.maxHeight+"px")),a(),r("enableUnequalChildrenSizes",i.randomSize)("items",i.virtualdata)("ngStyle",k(10,ee,i.settings.maxHeight+"px")),a(2),r("ngForOf",e.viewPortItems)}}function Wi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(2);r("checked",e.selected)("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Bi(t,s){if(t&1&&f(0,"input",70),t&2){let e=c().$implicit,i=c(3);r("checked",i.isSelected(e))("disabled",i.settings.limitSelection==(i.selectedItems==null?null:i.selectedItems.length)&&!i.isSelected(e)||e.disabled)}}function Gi(t,s){if(t&1){let e=S();h(0,"span")(1,"li",66),x("click",function(n){let l=g(e),o=l.$implicit,d=l.index;return c(3).onItemClick(o,d,n),m(n.stopPropagation())}),_(2,Bi,1,2,"input",69),h(3,"label"),C(4),p()()()}if(t&2){let e=s.$implicit,i=c(3);a(),r("ngClass",oe(3,Pt,i.isSelected(e)==!0,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection)),a(),r("ngIf",i.settings.showCheckbox),a(2),b(e[i.settings.labelKey])}}function Hi(t,s){if(t&1){let e=S();h(0,"span")(1,"li",66),x("click",function(){let n=g(e).$implicit,l=c(2);return m(l.selectGroup(n))}
1),_(2,Wi,1,2,"input",69),h(3,"label"),C(4),p(),h(5,"ul",64),_(6,Gi,5,7,"span",71),p()()()}if(t&2){let e=s.$implicit,i=c(2);a(),r("ngClass",$(4,te,e.grpTitle,!e.grpTitle&&!i.settings.singleSelection)),a(),r("ngIf",i.settings.showCheckbox&&!i.settings.singleSelection),a(2),b(e[i.settings.labelKey]),a(2),r("ngForOf",e.list)}}function Ui(t,s){if(t&1&&(h(0,"div",63)(1,"ul",64),_(2,Hi,7,7,"span",71),p()()),t&2){let e=c();V("max-height",e.settings.maxHeight+"px"),a(2),r("ngForOf",e.groupedData)}}function Ni(t,s){if(t&1&&(h(0,"h5",76),C(1),p()),t&2){let e=c();a(),b(e.settings.noDataLabel)}}var be=class{status;body;constructor(s,e){this.status=s,this.body=e}},Qi=(()=>{class t{_elementRef;constructor(e){this._elementRef=e}clickOutside=new I;onClick(e,i){if(!i)return;this._elementRef.nativeElement.contains(i)||this.clickOutside.emit(e)}static \u0275fac=function(i){return new(i||t)(O(W))};static \u0275dir=ze({type:t,selectors:[["","clickOutside",""]],hostBindings:function(i,n){i&1&&x("pointerdown",function(o){return n.onClick(o,o.target)},!1,ie)("touchstart",function(o){return n.onClick(o,o.target)},!1,ie)},outputs:{clickOutside:"clickOutside"},standalone:!1})}return t})();var lt=(()=>{class t{filteredData=[];subject=new ue;setData(e){this.filteredData=e,this.subject.next(e)}getData(){return this.subject.asObservable()}getFilteredData(){return this.filteredData&&this.filteredData.length>0?this.filteredData:[]}static \u0275fac=function(i){return new(i||t)};static \u0275prov=Ae({token:t,factory:t.\u0275fac})}return t})(),st=(()=>{class t{ds;filteredList=[];constructor(e){this.ds=e}transform(e,i,n){return!e||!i||i==""?e:(this.filteredList=e.filter(l=>this.applyFilter(l,i,n)),this.filteredList)}applyFilter(e,i,n){let l=!1;if(n.length>0)if(e.grpTitle)l=!0;else for(var o=0;o<n.length;o++)i&&e[n[o]]&&e[n[o]]!=""&&e[n[o]].toString().toLowerCase().indexOf(i.toLowerCase())>=0&&(l=!0);else if(e.grpTitle)l=!0;else for(var d in e)i&&e[d]&&e[d].toString().toLowerCase().indexOf(i.toLowerCase())>=0&&(l=!0);return l}static \u0275fac=function(i){return new(i||t)(O(lt,16))};static \u0275pipe=Fe({name:"listFilter",type:t,pure:!0,standalone:!1})}return t})(),$i=(()=>{class t{template;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=N({type:t,selectors:[["c-item"]],contentQueries:function(i,n,l){if(i&1&&B(l,ne,7),i&2){let o;T(o=E())&&(n.template=o.first)}},standalone:!1,decls:0,vars:0,template:function(i,n){},encapsulation:2})}return t})(),Ki=(()=>{class t{template;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=N({type:t,selectors:[["c-badge"]],contentQueries:function(i,n,l){if(i&1&&B(l,ne,7),i&2){let o;T(o=E())&&(n.template=o.first)}},standalone:!1,decls:0,vars:0,template:function(i,n){},encapsulation:2})}return t})(),qi=(()=>{class t{template;constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=N({type:t,selectors:[["c-search"]],contentQueries:function(i,n,l){if(i&1&&B(l,ne,7),i&2){let o;T(o=E())&&(n.template=o.first)}},standalone:!1,decls:0,vars:0,template:function(i,n){},encapsulation:2})}return t})(),ji=(()=>{class t{viewContainer;data;item;view;constructor(e){this.viewContainer=e}ngOnInit(){this.view=this.viewContainer.createEmbeddedView(this.data.template,{$implicit:this.data,item:this.item})}ngOnDestroy(){this.view.destroy()}static \u0275fac=function(i){return new(i||t)(O(Ve))};static \u0275cmp=N({type:t,selectors:[["c-templateRenderer"]],inputs:{data:"data",item:"item"},standalone:!1,decls:0,vars:0,template:function(i,n){},encapsulation:2})}return t})(),Yi=(()=>{class t{name;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=N({type:t,selectors:[["c-icon"]],inputs:{name:"name"},standalone:!1,decls:5,vars:5,consts:[["width","100%","height","100%","version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 47.971 47.971","style","enable-background:new 0 0 47.971 47.971;",0,"xml","space","preserve",4,"ngIf"],["version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","width","100%","height","100%","viewBox","0 0 612 612","style","enable-background:new 0 0 612 612;
1",0,"xml","space","preserve",4,"ngIf"],["version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","width","100%","height","100%","viewBox","0 0 615.52 615.52","style","enable-background:new 0 0 615.52 615.52;",0,"xml","space","preserve",4,"ngIf"],["version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 51.976 51.976","style","enable-background:new 0 0 51.976 51.976;",0,"xml","space","preserve",4,"ngIf"],["width","100%","height","100%","version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 47.971 47.971",0,"xml","space","preserve",2,"enable-background","new 0 0 47.971 47.971"],["d",`M28.228,23.986L47.092,5.122c1.172-1.171,1.172-3.071,0-4.242c-1.172-1.172-3.07-1.172-4.242,0L23.986,19.744L5.121,0.88 2 c-1.172-1.172-3.07-1.172-4.242,0c-1.172,1.171-1.172,3.071,0,4.242l18.865,18.864L0.879,42.85c-1.172,1.171-1.172,3.071,0,4.242 3 C1.465,47.677,2.233,47.97,3,47.97s1.535-0.293,2.121-0.879l18.865-18.864L42.85,47.091c0.586,0.586,1.354,0.879,2.121,0.879 4 s1.535-0.293,2.121-0.879c1.172-1.171,1.172-3.071,0-4.242L28.228,23.986z`],["version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","width","100%","height","100%","viewBox","0 0 612 612",0,"xml","space","preserve",2,"enable-background","new 0 0 612 612"],["id","_x31_0_34_"],["d",`M604.501,134.782c-9.999-10.05-26.222-10.05-36.221,0L306.014,422.558L43.721,134.782 5 c-9.999-10.05-26.223-10.05-36.222,0s-9.999,26.35,0,36.399l279.103,306.241c5.331,5.357,12.422,7.652,19.386,7.296 6 c6.988,0.356,14.055-1.939,19.386-7.296l279.128-306.268C614.5,161.106,614.5,144.832,604.501,134.782z`],["id","_x39__30_"],["d",`M604.501,440.509L325.398,134.956c-5.331-5.357-12.423-7.627-19.386-7.27c-6.989-0.357-14.056,1.913-19.387,7.27 7 L7.499,440.509c-9.999,10.024-9.999,26.298,0,36.323s26.223,10.024,36.222,0l262.293-287.164L568.28,476.832 8 c9.999,10.024,26.222,10.024,36.221,0C614.5,466.809,614.5,450.534,604.501,440.509z`],["version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","width","100%","height","100%","viewBox","0 0 615.52 615.52",0,"xml","space","preserve",2,"enable-background","new 0 0 615.52 615.52"],["id","Search__x28_and_thou_shall_find_x29_"],["d",`M602.531,549.736l-184.31-185.368c26.679-37.72,42.528-83.729,42.528-133.548C460.75,103.35,357.997,0,231.258,0 9 C104.518,0,1.765,103.35,1.765,230.82c0,127.47,102.753,230.82,229.493,230.82c49.53,0,95.271-15.944,132.78-42.777 10 l184.31,185.366c7.482,7.521,17.292,11.291,27.102,11.291c9.812,0,19.62-3.77,27.083-11.291 11 C617.496,589.188,617.496,564.777,602.531,549.736z M355.9,319.763l-15.042,21.273L319.7,356.174 12 c-26.083,18.658-56.667,28.526-88.442,28.526c-84.365,0-152.995-69.035-152.995-153.88c0-84.846,68.63-153.88,152.995-153.88 13 s152.996,69.034,152.996,153.88C384.271,262.769,374.462,293.526,355.9,319.763z`],["version","1.1","id","Capa_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 51.976 51.976",0,"xml","space","preserve",2,"enable-background","new 0 0 51.976 51.976"],["d",`M44.373,7.603c-10.137-10.137-26.632-10.138-36.77,0c-10.138,10.138-10.137,26.632,0,36.77s26.632,10.138,36.77,0 14 C54.51,34.235,54.51,17.74,44.373,7.603z M36.241,36.241c-0.781,0.781-2.047,0.781-2.828,0l-7.425-7.425l-7.778,7.778 15 c-0.781,0.781-2.047,0.781-2.828,0c-0.781-0.781-0.781-2.047,0-2.828l7.778-7.778l-7.425-7.425c-0.781-0.781-0.781-2.048,0-2.828 16 c0.781-0.781,2.047-0.781,2.828,0l7.425,7.425l7.071-7.071c0.781-0.781,2.047-0.781,2.828,0c0.781,0.781,0.781,2.047,0,2.828 17 l-7.071,7.071l7.425,7.425C37.022,34.194,37.022,35.46,36.241,36.241z`]],template:function(i,n){i&1&&_(0,ft,3,0,"svg",0)(1,gt,5,
170,"svg",1)(2,mt,5,0,"svg",1)(3,_t,6,0,"svg",2)(4,xt,3,0,"svg",3),i&2&&(r("ngIf",n.name=="remove"),a(),r("ngIf",n.name=="angle-down"),a(),r("ngIf",n.name=="angle-up"),a(),r("ngIf",n.name=="search"),a(),r("ngIf",n.name=="clear"))},dependencies:[ve],encapsulation:2})}return t})();function Zi(){return{scrollThrottlingTime:0,scrollDebounceTime:0,scrollAnimationTime:750,checkResizeInterval:1e3,resizeBypassRefreshThreshold:5,modifyOverflowStyleOfParentScroll:!0,stripedTable:!1}}var tt=(()=>{class t{element;renderer;zone;changeDetectorRef;viewPortItems;window=window;get viewPortInfo(){let e=this.previousViewPort||{};return{startIndex:e.startIndex||0,endIndex:e.endIndex||0,scrollStartPosition:e.scrollStartPosition||0,scrollEndPosition:e.scrollEndPosition||0,maxScrollPosition:e.maxScrollPosition||0,startIndexWithBuffer:e.startIndexWithBuffer||0,endIndexWithBuffer:e.endIndexWithBuffer||0}}executeRefreshOutsideAngularZone=!1;_enableUnequalChildrenSizes=!1;get enableUnequalChildrenSizes(){return this._enableUnequalChildrenSizes}set enableUnequalChildrenSizes(e){this._enableUnequalChildrenSizes!==e&&(this._enableUnequalChildrenSizes=e,this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0)}useMarginInsteadOfTranslate=!1;modifyOverflowStyleOfParentScroll;stripedTable;scrollbarWidth;scrollbarHeight;childWidth;childHeight;ssrChildWidth;ssrChildHeight;ssrViewportWidth=1920;
17ssrViewportHeight=1080;_bufferAmount=0;get bufferAmount(){return typeof this._bufferAmount=="number"&&this._bufferAmount>=0?this._bufferAmount:this.enableUnequalChildrenSizes?5:0}set bufferAmount(e){this._bufferAmount=e}scrollAnimationTime;resizeBypassRefreshThreshold;_scrollThrottlingTime;get scrollThrottlingTime(){return this._scrollThrottlingTime}set scrollThrottlingTime(e){this._scrollThrottlingTime=e,this.updateOnScrollFunction()}_scrollDebounceTime;get scrollDebounceTime(){return this._scrollDebounceTime}set scrollDebounceTime(e){this._scrollDebounceTime=e,this.updateOnScrollFunction()}onScroll;updateOnScrollFunction(){this.scrollDebounceTime?this.onScroll=this.debounce(()=>{this.refresh_internal(!1)},this.scrollDebounceTime):this.scrollThrottlingTime?this.onScroll=this.throttleTrailing(()=>{this.refresh_internal(!1)},this.scrollThrottlingTime):this.onScroll=()=>{this.refresh_internal(!1)}}checkScrollElementResizedTimer;_checkResizeInterval;get checkResizeInterval(){return this._checkResizeInterval}set checkResizeInterval(e){this._checkResizeInterval!==e&&(this._checkResizeInterval=e,this.addScrollEventHandlers())}_items=[];get items(){return this._items}set items(e){e!==this._items&&(this._items=e||[],this.refresh_internal(!0))}compareItems=(e,i)=>e===i;_horizontal;get horizontal(){return this._horizontal}set horizontal(e){this._horizontal=e,this.updateDirection()}revertParentOverscroll(){let e=this.getScrollElement();e&&this.oldParentScrollOverflow&&(e.style["overflow-y"]=this.oldParentScrollOverflow.y,e.style["overflow-x"]=this.oldParentScrollOverflow.x),this.oldParentScrollOverflow=void 0}oldParentScrollOverflow;_parentScroll;get parentScroll(){return this._parentScroll}set parentScroll(e){if(this._parentScroll===e)return;this.revertParentOverscroll(),this._parentScroll=e,this.addScrollEventHandlers();let i=this.getScrollElement();this.modifyOverflowStyleOfParentScroll&&i!==this.element.nativeElement&&(this.oldParentScrollOverflow={x:i.style["overflow-x"],y:i.style["overflow-y"]},i.style["overflow-y"]=this.horizontal?"visible":"auto",i.style["overflow-x"]=this.horizontal?"auto":"visible")}vsUpdate=new I;vsChange=new I;vsStart=new I;vsEnd=new I;contentElementRef;invisiblePaddingElementRef;headerElementRef;containerElementRef;ngOnInit(){this.addScrollEventHandlers()}ngOnDestroy(){this.removeScrollEventHandlers(),this.revertParentOverscroll()}ngOnChanges(e){let i=this.cachedItemsLength!==this.items.length;this.cachedItemsLength=this.items.length;let n=!e.items||!e.items.previousValue||e.items.previousValue.length===0;this.refresh_internal(i||n)}ngDoCheck(){if(this.cachedItemsLength!==this.items.length){this.cachedItemsLength=this.items.length,this.refresh_internal(!0);return}if(this.previousViewPort&&this.viewPortItems&&this.viewPortItems.length>0){let e=!1;for(let i=0;i<this.viewPortItems.length;++i)if(!this.compareItems(this.items[this.previousViewPort.startIndexWithBuffer+i],this.viewPortItems[i])){e=!0;break}e&&this.refresh_internal(!0)}}refresh(){this.refresh_internal(!0)}invalidateAllCachedMeasurements(){this.wrapGroupDimensions={maxChildSizePerWrapGroup:[],numberOfKnownWrapGroupChildSizes:0,sumOfKnownWrapGroupChildWidths:0,sumOfKnownWrapGroupChildHeights:0},this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0,this.refresh_internal(!1)}invalidateCachedMeasurementForItem(e){if(this.enableUnequalChildrenSizes){let i=this.items&&this.items.indexOf(e);i>=0&&this.invalidateCachedMeasurementAtIndex(i)}else this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0;this.refresh_internal(!1)}invalidateCachedMeasurementAtIndex(e){if(this.enableUnequalChildrenSizes){let i=this.wrapGroupDimensions.maxChildSizePerWrapGroup[e];i&&(this.wrapGroupDimensions.maxChildSizePerWrapGroup[e]=void 0,--this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths-=i.childWidth||0,this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights-=i.childHeight||0)}else this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0;this.refresh_internal(!1)}scrollInto(e,i=!0,n=0,l=void 0,o=void 0){let d=this.items.indexOf(e);d!==-1&&this.scrollToIndex(d,i,n,l,o)}scrollToIndex(e,i=!0,n=0,l=void 0,o=void 0){let d=5,u=()=>{if(--d,d<=0){o&&o();return}let y=this.calculateDimensions(),v=Math.min(Math.max(e,0),y.itemCount-1);if(this.previousViewPort.startIndex===v){o&&o();return}this.scrollToIndex_internal(e,i,n,0,u)};this.scrollToIndex_internal(e,i,n,l,u)}scrollToIndex_internal(e,i=!0,n=0,l=void 0,o=void 0){l=l===void 0?this.scrollAnimationTime:l;let d=this.calculateDimensions(),u=this.calculatePadding(e,d)+n;i||(u-=d.wrapGroupsPerPage*d[this._childScrollDim]),this.scrollToPosition(u,l,o)}scrollToPosition(e,i=void 0,n=void 0){e+=this.getElementsOffset(),i=i===void 0?this.scrollAnimationTime:i;let l=this.getScrollElement(),o;if(this.currentTween&&(this.currentTween.stop(),this.currentTween=void 0),!i){this.renderer.setProperty(l,this._scrollType,e),this.refresh_internal(!1,n);return}let d={scrollPosition:l[this._scrollType]},u=new ae.Tween(d).to({scrollPosition:e},i).easing(ae.Easing.Quadratic.Out).onUpdate(v=>{isNaN(v.scrollPosition)||(this.renderer.setProperty(l,this._scrollType,v.scrollPosition),this.refresh_internal(!1))}).onStop(()=>{cancelAnimationFrame(o)}).start(),y=v=>{if(u.isPlaying()){if(u.update(v),d.scrollPosition===e){this.refresh_internal(!1,n);return}this.zone.runOutsideAngular(()=>{o=requestAnimationFrame(y)})}};y(),this.currentTween=u}isAngularUniversalSSR;constructor(e,i,n,l,o,d){this.element=e,this.renderer=i,this.zone=n,this.changeDetectorRef=l,this.isAngularUniversalSSR=$e(o),this.scrollThrottlingTime=d.scrollThrottlingTime,this.scrollDebounceTime=d.scrollDebounceTime,this.scrollAnimationTime=d.scrollAnimationTime,this.scrollbarWidth=d.scrollbarWidth,this.scrollbarHeight=d.scrollbarHeight,this.checkResizeInterval=d.checkResizeInterval,this.resizeBypassRefreshThreshold=d.resizeBypassRefreshThreshold,this.modifyOverflowStyleOfParentScroll=d.modifyOverflowStyleOfParentScroll,this.stripedTable=d.stripedTable,this.horizontal=!1,this.resetWrapGroupDimensions()}getElementSize(e){let i=e.getBoundingClientRect(),n=getComputedStyle(e),l=parseInt(n["margin-top"],10)||0,o=parseInt(n["margin-bottom"],10)||0,d=parseInt(n["margin-left"],10)||0,u=parseInt(n["margin-right"],10)||0;return{top:i.top+l,bottom:i.bottom+o,left:i.left+d,right:i.right+u,width:i.width+d+u,height:i.height+l+o,y:i.top+l,x:i.left+d,toJSON(){i.toJSON()}}}previousScrollBoundingRect;checkScrollElementResized(){let e=this.getElementSize(this.getScrollElement()),i;if(!this.previousScrollBoundingRect)i=!0;else{let n=Math.abs(e.width-this.previousScrollBoundingRect.width),l=Math.abs(e.height-this.previousScrollBoundingRect.height);i=n>this.resizeBypassRefreshThreshold||l>this.resizeBypassRefreshThreshold}i&&(this.previousScrollBoundingRect=e,e.width>0&&e.height>0&&this.refresh_internal(!1))}_invisiblePaddingProperty;_offsetType;_scrollType;_pageOffsetType;_childScrollDim;_translateDir;_marginDir;updateDirection(){this.horizontal?(this._invisiblePaddingProperty="width",this._offsetType="offsetLeft",this._pageOffsetType="pageXOffset",this._childScrollDim="childWidth",this._marginDir="margin-left",this._translateDir="translateX",this._scrollType="scrollLeft"):(this._invisiblePaddingProperty="height",this._offsetType="offsetTop",this._pageOffsetType="pageYOffset",this._childScrollDim="childHeight",this._marginDir="margin-top",this._translateDir="translateY",this._scrollType="scrollTop")}debounce(e,i){let n=this.throttleTrailing(e,i),l=function(){n.cancel(),n.apply(this,arguments)};return l.cancel=function(){n.cancel()},l}throttleTrailing(e,i){let n,l=arguments,o=function(){let d=this;l=arguments,!n&&(i<=0?e.apply(d,l):n=setTimeout(function(){n=void 0,e.apply(d,l)},i))};return o.cancel=function(){n&&(clearTimeout(n),n=void 0)},o}calculatedScrollbarWidth=0;calculatedScrollbarHeight=0;padding=0;previousViewPort={};currentTween;cachedItemsLength;disposeScrollHandler;disposeResizeHandler;refresh_internal(e,i=void 0,n=2){if(e&&this.previousViewPort&&this.previousViewPort.scrollStartPosition>0){let l=this.previousViewPort,o=this.viewPortItems,d=i;i=()=>{let u=this.previousViewPort.scrollLength-l.scrollLength;if(u>0&&this.viewPortItems){let y=o[0],v=this.items.findIndex(M=>this.compareItems(y,M));if(v>this.previousViewPort.startIndexWithBuffer){let M=!1;for(let A=1;A<this.viewPortItems.length;++A)if(!this.compareItems(this.items[v+A],o[A])){M=!0;break}if(!M){this.scrollToPosition(this.previousViewPort.scrollStartPosition+u,0,d);return}}}d&&d()}}this.zone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e&&this.resetWrapGroupDimensions();let l=this.calculateViewport(),o=e||l.startIndex!==this.previousViewPort.startIndex,d=e||l.endIndex!==this.previousViewPort.endIndex,u=l.scrollLength!==this.previousViewPort.scrollLength,y=l.padding!==this.previousViewPort.padding,v=l.scrollStartPosition!==this.previousViewPort.scrollStartPosition||l.scrollEndPosition!==this.previousViewPort.scrollEndPosition||l.maxScrollPosition!==this.previousViewPort.maxScrollPosition;if(this.previousViewPort=l,u&&this.renderer.setStyle(this.invisiblePaddingElementRef.nativeElement,this._invisiblePaddingProperty,`${l.scrollLength}px`),y&&(this.useMarginInsteadOfTranslate?this.renderer.setStyle(this.contentElementRef.nativeElement,this._marginDir,`${l.padding}px`):(this.renderer.setStyle(this.contentElementRef.nativeElement,"transform",`${this._translateDir}(${l.padding}px)`),this.renderer.setStyle(this.contentElementRef.nativeElement,"webkitTransform",`${this._translateDir}(${l.padding}px)`))),this.headerElementRef){let A=this.getScrollElement()[this._scrollType],z=this.getElementsOffset(),F=Math.max(A-l.padding-z+this.headerElementRef.nativeElement.clientHeight,0);this.renderer.setStyle(this.headerElementRef.nativeElement,"transform",`${this._translateDir}(${F}px)`),this.renderer.setStyle(this.headerElementRef.nativeElement,"webkitTransform",`${this._translateDir}(${F}px)`)}let M=o||d?{startIndex:l.startIndex,endIndex:l.endIndex,scrollStartPosition:l.scrollStartPosition,scrollEndPosition:l.scrollEndPosition,startIndexWithBuffer:l.startIndexWithBuffer,endIndexWithBuffer:l.endIndexWithBuffer,maxScrollPosition:l.maxScrollPosition}:void 0;if(o||d||v){let A=()=>{if(this.viewPortItems=l.startIndexWithBuffer>=0&&l.endIndexWithBuffer>=0?this.items.slice(l.startIndexWithBuffer,l.endIndexWithBuffer+1):[],this.vsUpdate.emit(this.viewPortItems),o&&this.vsStart.emit(M
17),d&&this.vsEnd.emit(M),(o||d)&&(this.changeDetectorRef.markForCheck(),this.vsChange.emit(M)),n>0){this.refresh_internal(!1,i,n-1);return}i&&i()};this.executeRefreshOutsideAngularZone?A():this.zone.run(A)}else{if(n>0&&(u||y)){this.refresh_internal(!1,i,n-1);return}i&&i()}})})}getScrollElement(){return this.parentScroll instanceof Window?document.scrollingElement||document.documentElement||document.body:this.parentScroll||this.element.nativeElement}addScrollEventHandlers(){if(this.isAngularUniversalSSR)return;let e=this.getScrollElement();this.removeScrollEventHandlers(),this.zone.runOutsideAngular(()=>{this.parentScroll instanceof Window?(this.disposeScrollHandler=this.renderer.listen("window","scroll",this.onScroll),this.disposeResizeHandler=this.renderer.listen("window","resize",this.onScroll)):(this.disposeScrollHandler=this.renderer.listen(e,"scroll",this.onScroll),this._checkResizeInterval>0&&(this.checkScrollElementResizedTimer=setInterval(()=>{this.checkScrollElementResized()},this._checkResizeInterval)))})}removeScrollEventHandlers(){this.checkScrollElementResizedTimer&&clearInterval(this.checkScrollElementResizedTimer),this.disposeScrollHandler&&(this.disposeScrollHandler(),this.disposeScrollHandler=void 0),this.disposeResizeHandler&&(this.disposeResizeHandler(),this.disposeResizeHandler=void 0)}getElementsOffset(){if(this.isAngularUniversalSSR)return 0;let e=0;if(this.containerElementRef&&this.containerElementRef.nativeElement&&(e+=this.containerElementRef.nativeElement[this._offsetType]),this.parentScroll){let i=this.getScrollElement(),n=this.getElementSize(this.element.nativeElement),l=this.getElementSize(i);this.horizontal?e+=n.left-l.left:e+=n.top-l.top,this.parentScroll instanceof Window||(e+=i[this._scrollType])}return e}countItemsPerWrapGroup(){if(this.isAngularUniversalSSR)return Math.round(this.horizontal?this.ssrViewportHe
17ight/this.ssrChildHeight:this.ssrViewportWidth/this.ssrChildWidth);let e=this.horizontal?"offsetLeft":"offsetTop",i=(this.containerElementRef&&this.containerElementRef.nativeElement||this.contentElementRef.nativeElement).children,n=i?i.length:0;if(n===0)return 1;let l=i[0][e],o=1;for(;o<n&&l===i[o][e];)++o;return o}getScrollStartPosition(){let e;return this.parentScroll instanceof Window&&(e=window[this._pageOffsetType]),e||this.getScrollElement()[this._scrollType]||0}minMeasuredChildWidth;minMeasuredChildHeight;wrapGroupDimensions;resetWrapGroupDimensions(){let e=this.wrapGroupDimensions;if(this.invalidateAllCachedMeasurements(),!this.enableUnequalChildrenSizes||!e||e.numberOfKnownWrapGroupChildSizes===0)return;let i=this.countItemsPerWrapGroup();for(let n=0;n<e.maxChildSizePerWrapGroup.length;++n){let l=e.maxChildSizePerWrapGroup[n];if(!l||!l.items||!l.items.length)continue;if(l.items.length!==i)return;let o=!1,d=i*n;for(let u=0;u<i;++u)if(!this.compareItems(l.items[u],this.items[d+u])){o=!0;break}o||(++this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths+=l.childWidth||0,this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights+=l.childHeight||0,this.wrapGroupDimensions.maxChildSizePerWrapGroup[n]=l)}}calculateDimensions(){let e=this.getScrollElement(),i=25;this.calculatedScrollbarHeight=Math.max(Math.min(e.offsetHeight-e.clientHeight,i),this.calculatedScrollbarHeight),this.calculatedScrollbarWidth=Math.max(Math.min(e.offsetWidth-e.clientWidth,i),this.calculatedScrollbarWidth);let n=e.offsetWidth-(this.scrollbarWidth||this.calculatedScrollbarWidth||(this.horizontal?0:i)),l=e.offsetHeight-(this.scrollbarHeight||this.calculatedScrollbarHeight||(this.horizontal?i:0)),o=this.containerElementRef&&this.containerElementRef.nativeElement||this.contentElementRef.nativeElement,d=this.countItemsPerWrapGroup(),u,y,v;if(this.isAngularUniversalSSR){n=this.ssrViewportWidth,l=this.ssrViewportHe
17ight,y=this.ssrChildWidth,v=this.ssrChildHeight;let P=Math.max(Math.ceil(n/y),1),D=Math.max(Math.ceil(l/v),1);u=this.horizontal?P:D}else if(this.enableUnequalChildrenSizes){let P=e[this._scrollType]-(this.previousViewPort?this.previousViewPort.padding:0),D=this.previousViewPort.startIndexWithBuffer||0,U=Math.ceil(D/d),R=0,K=0,Y=0,Z=0;u=0;for(let de=0;de<o.children.length;++de){++D;let dt=o.children[de],Ie=this.getElementSize(dt);if(R=Math.max(R,Ie.width),K=Math.max(K,Ie.height),D%d===0){let he=this.wrapGroupDimensions.maxChildSizePerWrapGroup[U];he&&(--this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths-=he.childWidth||0,this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights-=he.childHeight||0),++this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes;let ht=this.items.slice(D-d,D);if(this.wrapGroupDimensions.maxChildSizePerWrapGroup[U]={childWidth:R,childHeight:K,items:ht},this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths+=R,this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights+=K,this.horizontal){let L=Math.min(R,Math.max(n-Y,0));if(P>0){let J=Math.min(P,L);L-=J,P-=J}Y+=L,L>0&&n>=Y&&++u}else{let L=Math.min(K,Math.max(l-Z,0));if(P>0){let J=Math.min(P,L);L-=J,P-=J}Z+=L,L>0&&l>=Z&&++u}++U,R=0,K=0}}let at=this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,ct=this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes;y=this.childWidth||at||n,v=this.childHeight||ct||l,this.horizontal?n>Y&&(u+=Math.ceil((n-Y)/y)):l>Z&&(u+=Math.ceil((l-Z)/v))}else{if(o.children.length>0){(!this.childWidth||!this.childHeight)&&(!this.minMeasuredChildWidth&&n>0&&(this.minMeasuredChildWidth=n),!this.minMeasuredChildHeight&&l>0&&(this.minMeasuredChildHeight=l));let U=o.children[0],R=this.getElementSize(U);this.minMeasuredChildWidth=Math.min(this.minMeasuredChildWidth,R.width),this.minMeasuredChildHeight=Math.min(this.minMeasuredChildHeight,R.height)}y=this.childWidth||this.minMeasuredChildWidth||n,v=this.childHeight||this.minMeasuredChildHeight||l;let P=Math.max(Math.ceil(n/y),1),D=Math.max(Math.ceil(l/v),1);u=this.horizontal?P:D}let M=this.items.length,A=d*u,z=M/A,F=Math.ceil(M/d),G=0,H=this.horizontal?y:v;if(this.enableUnequalChildrenSizes){let P=0;for(let D=0;D<F;++D){let U=this.wrapGroupDimensions.maxChildSizePerWrapGroup[D]&&this.wrapGroupDimensions.maxChildSizePerWrapGroup[D][this._childScrollDim];U?G+=U:++P}G+=Math.round(P*H)}else G=F*H;this.headerElementRef&&(G+=this.headerElementRef.nativeElement.clientHeight);let j=this.horizontal?n:l,ot=Math.max(G-j,0);return{itemCount:M,itemsPerWrapGroup:d,wrapGroupsPerPage:u,itemsPerPage:A,pageCount_fractional:z,childWidth:y,childHeight:v,scrollLength:G,viewportLength:j,maxScrollPosition:ot}}cachedPageSize=0;previousScrollNumberElements=0;calculatePadding(e,i){if(i.itemCount===0)return 0;let n=i[this._childScrollDim],l=Math.floor(e/i.itemsPerWrapGroup)||0;if(!this.enableUnequalChildrenSizes)return n*l;let o=0,d=0;for(let u=0;u<l;++u){let y=this.wrapGroupDimensions.maxChildSizePerWrapGroup[u]&&this.wrapGroupDimensions.maxChildSizePerWrapGroup[u][this._childScrollDim];y?d+=y:++o}return d+=Math.round(o*n),d}calculatePageInfo(e,i){let n=0;if(this.enableUnequalChildrenSizes){let z=Math.ceil(i.itemCount/i.itemsPerWrapGroup),F=0,G=i[this._childScrollDim];for(let H=0;H<z;++H){let j=this.wrapGroupDimensions.maxChildSizePerWrapGroup[H]&&this.wrapGroupDimensions.maxChildSizePerWrapGroup[H][this._childScrollDim];if(j?F+=j:F+=G,e<F){n=H/z;break}}}else n=e/i.scrollLength;let l=Math.min(Math.max(n*i.pageCount_fractional,0),i.pageCount_fractional)*i.itemsPerPage,o=i.itemCount-i.itemsPerPage-1,d=Math.min(Math.floor(l),o);if(d-=d%i.itemsPerWrapGroup,this.stripedTable){let z=2*i.itemsPerWrapGroup;d%z!==0&&(d=Math.max(d-d%z,0))}let u=Math.ceil(l)+i.itemsPerPage-1,y=(u+1)%i.itemsPerWrapGroup;y>0&&(u+=i.itemsPerWrapGroup-y),isNaN(d)&&(d=0),isNaN(u)&&(u=0),d=Math.min(Math.max(d,0),i.itemCount-1),u=Math.min(Math.max(u,0),i.itemCount-1);let v=this.bufferAmount*i.itemsPerWrapGroup,M=Math.min(Math.max(d-v,0),i.itemCount-1),A=Math.min(Math.max(u+v,0),i.itemCount-1);return{startIndex:d,endIndex:u,startIndexWithBuffer:M,endIndexWithBuffer:A,scrollStartPosition:e,scrollEndPosition:e+i.viewportLength,maxScrollPosition:i.maxScrollPosition}}calculateViewport(){let e=this.calculateDimensions(),i=this.getElementsOffset(),n=this.getScrollStartPosition();n>e.scrollLength+i&&!(this.parentScroll instanceof Window)?n=e.scrollLength:n-=i,n=Math.max(0,n);let l=this.calculatePageInfo(n,e),o=this.calculatePadding(l.startIndexWithBuffer,e),d=e.scrollLength;return{startIndex:l.startIndex,endIndex:l.endIndex,startIndexWithBuffer:l.startIndexWithBuffer,endIndexWithBuffer:l.endIndexWithBuffer,padding:Math.round(o),scrollLength:Math.round(d),scrollStartPosition:l.scrollStartPosition,scrollEndPosition:l.scrollEndPosition,maxScrollPosition:l.maxScrollPosition}}static \u0275fac=function(i){return new(i||t)(O(W),O(ke),O(De),O(xe),O(Pe),O("virtual-scroller-default-options",8))};static \u0275cmp=N({type:t,selectors:[["virtual-scroller"],["","virtualScroller",""]],contentQueries:function(i,n,l){if(i&1&&(B(l,vt,5,W),B(l,St,5,W)),i&2){let o;T(o=E())&&(n.headerElementRef=o.first),T(o=E())&&(n.containerElementRef=o.first)}},viewQuery:function(i,n){if(i&1&&(Q(wt,5,W),Q(yt,5,W)),i&2){let l;T(l=E())&&(n.contentElementRef=l.first),T(l=E())&&(n.invisiblePaddingElementRef=l.first)}},hostVars:6,hostBindings:function(i,n){i&2&&Le("horizontal",n.horizontal)("vertical",!n.horizontal)("selfScroll",!n.parentScroll)},inputs:{executeRefreshOutsideAngularZone:"executeRefreshOutsideAngularZone",enableUnequalChildrenSizes:"enableUnequalChildrenSizes",useMarginInsteadOfTranslate:"useMarginInsteadOfTranslate",modifyOverflowStyleOfParentScroll:"modifyOverflowStyleOfParentScroll",stripedTable:"stripedTable",scrollbarWidth:"scrollbarWidth",scrollbarHeight:"scrollbarHeight",childWidth:"childWidth",childHeight:"childHeight",ssrChildWidth:"ssrChildWidth",ssrChildHeight:"ssrChildHeight",ssrViewportWidth:"ssrViewportWidth",ssrViewportHe
17ight:"ssrViewportHeight",bufferAmount:"bufferAmount",scrollAnimationTime:"scrollAnimationTime",resizeBypassRefreshThreshold:"resizeBypassRefreshThreshold",scrollThrottlingTime:"scrollThrottlingTime",scrollDebounceTime:"scrollDebounceTime",checkResizeInterval:"checkResizeInterval",items:"items",compareItems:"compareItems",horizontal:"horizontal",parentScroll:"parentScroll"},outputs:{vsUpdate:"vsUpdate",vsChange:"vsChange",vsStart:"vsStart",vsEnd:"vsEnd"},exportAs:["virtualScroller"],standalone:!1,features:[ge],ngContentSelectors:Ct,decls:5,vars:0,consts:[["invisiblePadding",""],["content",""],[1,"total-padding"],[1,"scrollable-content"]],template:function(i,n){i&1&&(Be(),f(0,"div",2,0),h(2,"div",3,1),Ge(4),p())},styles:["[_nghost-%COMP%]{position:relative;display:block;-webkit-overflow-scrolling:touch}.horizontal.selfScroll[_nghost-%COMP%]{overflow-y:visible;overflow-x:auto}.vertical.selfScroll[_nghost-%COMP%]{overflow-y:auto;overflow-x:visible}.scrollable-content[_ngcontent-%COMP%]{top:0;left:0;width:100%;height:100%;max-width:100vw;max-height:100vh;position:absolute}.scrollable-content[_ngcontent-%COMP%] >*{box-sizing:border-box}.horizontal[_nghost-%COMP%]{white-space:nowrap}.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%]{display:flex}.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] >*{flex-shrink:0;flex-grow:0;white-space:initial}.total-padding[_ngcontent-%COMP%]{width:1px;opacity:0}.horizontal[_nghost-%COMP%] .total-padding[_ngcontent-%COMP%]{height:100%}"]})}return t})(),Ji=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=me({type:t});static \u0275inj=fe({providers:[{provide:"virtual-scroller-default-options",useFactory:Zi}],imports:[Se]})}return t})(),Xi={provide:Ke,useExisting:pe(()=>rt),multi:!0},en={provide:je,useExisting:pe(()=>rt),multi:!0},it=()=>{},rt=(()=>{class t{_elementRef;cdr;filterPipe;data;settings;loading;onSelect=new I;onDeSelect=new I;onSelectAll=new I;onDeSelectAll=new I;onOpen=new I;onClose=new I;onScrollToEnd=new I;onFilterSelectAll=new I;onFilterDeSelectAll=new I;onAddFilterNewItem=new I;onGroupSelect=new I;onGroupDeSelect=new I;itemTempl;badgeTempl;searchTempl;searchInput;selectedListElem;dropdownListElem;cuppaDropdown;onEscapeDown(e){this.settings.escapeToClose&&this.closeDropdown()}onScroll(e){this.isActive&&this.settings.tagToBody&&this.closeDropdown()}virtualdata=[];searchTerm$=new ue;selectedItems;isActive=!1;isSelectAll=!1;isFilterSelectAll=!1;isInfiniteFilterSelectAll=!1;groupedData;filter;chunkArray;scrollTop;chunkIndex=[];cachedItems=[];groupCachedItems=[];totalRows;itemHeight=41.6;screenItemsLen;cachedItemsLen;totalHeight;scroller;maxBuffer;lastScrolled;lastRepaintY;selectedListHeight;filterLength=0;infiniteFilterLength=0;viewPortItems;item;dropdownListYOffset=0;subscription;dropDownWidth=0;dropDownTop="";dropDownBottom="unset";dropDownLeft=0;id=Math.random().toString(36).substring(2);defaultSettings={singleSelection:!1,text:"Select",enableCheckAll:!0,selectAllText:"Select All",unSelectAllText:"UnSelect All",filterSelectAllText:"Select all filtered results",filterUnSelectAllText:"UnSelect all filtered results",enableSearchFilter:!1,searchBy:[],maxHeight:300,badgeShowLimit:999999999999,classes:"",disabled:!1,searchPlaceholderText:"Search",showCheckbox:!0,noDataLabel:"No Data Available",searchAutofocus:!0,lazyLoading:!1,labelKey:"itemName",primaryKey:"id",position:"bottom",autoPosition:!0,enableFilterSelectAll:!0,selectGroup:!1,addNewItemOnFilter:!1,addNewButtonText:"Add",escapeToClose:!0,clearAll:!0,tagToBody:!0};randomSize=!0;parseError;filteredList=[];virtualScroollInit=!1;virtualScroller;isDisabledItemPresent=!1;constructor(e,i,n){this._elementRef=e,this.cdr=i,this.filterPipe=n,this.searchTerm$.asObservable().pipe(Te(1e3),Ee(),Me(l=>l)).subscribe(l=>{this.filterInfiniteList(l)})}ngOnInit(){this.settings=Object.assign(this.defaultSettings,this.settings),this.cachedItems=this.cloneArray(this.data),this.settings.position=="top"&&setTimeout(()=>{this.selectedListHeight={val:0},this.selectedListHeight.val=this.selectedListElem.nativeElement.clientHeight}),setTimeout(()=>{this.calculateDropdownDirection()}),this.virtualScroollInit=!1}onKeyUp(e){this.searchTerm$.next(e.target.value)}ngOnChanges(e){e.data&&!e.data.firstChange&&(this.settings.groupBy&&(this.groupedData=this.transformData(this.data,this.settings.groupBy),this.data.length==0&&(this.selectedItems=[]),this.groupCachedItems=this.cloneArray(this.groupedData)),this.cachedItems=this.cloneArray(this.data)),e.settings&&!e.settings.firstChange&&(this.settings=Object.assign(this.defaultSettings,this.settings)),e.loading,this.settings.lazyLoading&&this.virtualScroollInit&&e.data&&(this.virtualdata=e.data.currentValue)}ngDoCheck(){this.selectedItems&&(this.selectedItems.length==0||this.data.length==0||this.selectedItems.length<this.data.length)&&(this.isSelectAll=!1)}ngAfterViewInit(){this.settings.lazyLoading}ngAfterViewChecked(){this.selectedListElem.nativeElement.clientHeight&&this.settings.position=="top"&&this.selectedListHeight&&(this.selectedListHeight.val=this.selectedListElem.nativeElement.clientHeight,this.cdr.detectChanges())}onItemClick(e,i,n){if(e.disabled||this.settings.disabled)return;let l=this.isSelected(e),o=this.selectedItems.length<this.settings.limitSelection;l?(this.removeSelected(e),this.onDeSelect.emit(e)):this.settings.limitSelection?o&&(this.addSelected(e),this.onSelect.emit(e)):(this.addSelected(e),this.onSelect.emit(e)),(this.isSelectAll||this.data.length>this.selectedItems.length)&&(this.isSelectAll=!1),this.data.length==this.selectedItems.length&&(this.isSelectAll=!0),this.settings.groupBy&&this.updateGroupInfo(e)}validate(e){return null}onTouchedCallback=it;onChangeCallback=it;writeValue(e){if(e!=null&&e!=="")if(this.settings.singleSelection)if(this.settings.groupBy)this.groupedData=this.transformData(this.data,this.settings.groupBy),this.groupCachedItems=this.cloneArray(this.groupedData),this.selectedItems=[e[0]];else try{if(e.length>1)throw this.selectedItems=[e[0]],new be(404,{msg:"Single Selection Mode, Selected Items cannot have more than one item."});this.selectedItems=e}catch(i){console.error(i.body.msg)}
17else this.settings.limitSelection?this.selectedItems=e.slice(0,this.settings.limitSelection):this.selectedItems=e,this.selectedItems!=null&&this.selectedItems.length===this.data.length&&this.data.length>0&&(this.isSelectAll=!0),this.settings.groupBy&&(this.groupedData=this.transformData(this.data,this.settings.groupBy),this.groupCachedItems=this.cloneArray(this.groupedData));else this.selectedItems=[]}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}trackByFn(e,i){return i[this.settings.primaryKey]}isSelected(e){if(e.disabled)return!1;let i=!1;return this.selectedItems&&this.selectedItems.forEach(n=>{e[this.settings.primaryKey]===n[this.settings.primaryKey]&&(i=!0)}),i}addSelected(e){e.disabled||(this.settings.singleSelection?(this.selectedItems=[],this.selectedItems.push(e),this.closeDropdown()):this.selectedItems=[...this.selectedItems,e],this.onChangeCallback(this.selectedItems),this.onTouchedCallback(this.selectedItems))}removeSelected(e){this.selectedItems&&this.selectedItems.forEach(i=>{e[this.settings.primaryKey]===i[this.settings.primaryKey]&&this.selectedItems.splice(this.selectedItems.indexOf(i),1)}),this.onChangeCallback(this.selectedItems),this.onTouchedCallback(this.selectedItems)}toggleDropdown(e){this.settings.disabled||(this.isActive=!this.isActive,this.isActive?this.openDropdown():this.closeDropdown(),this.settings.lazyLoading&&(this.virtualdata=this.data,this.virtualScroollInit=!0),e.preventDefault())}openDropdown(){this.settings.disabled||(this.isActive=!0,this.calculateDropdownDirection(),this.settings.searchAutofocus&&this.searchInput&&this.settings.enableSearchFilter&&!this.searchTempl&&setTimeout(()=>{this.searchInput.nativeElement.focus()},0),this.onOpen.emit(!0))}closeDropdown(){this.searchInput&&this.settings.lazyLoading&&(this.searchInput.nativeElement.value=""),this.searchInput&&(this.searchInput.nativeElement.value=""),this.filter="",this.isActive=!1,this.searchTerm$.next(""),this.onClose.emit(!1)}closeDropdownOnClickOut(){this.isActive&&(this.searchInput&&this.settings.lazyLoading&&(this.searchInput.nativeElement.value=""),this.searchInput&&(this.searchInput.nativeElement.value=""),this.filter="",this.isActive=!1,this.clearSearch(),this.searchTerm$.next(""),this.onClose.emit(!1))}toggleSelectAll(e){this.isSelectAll?(this.settings.groupBy&&(this.groupedData.forEach(i=>{i.selected=!1}),this.groupCachedItems.forEach(i=>{i.selected=!1})),this.selectedItems=[],this.isSelectAll=!1,this.onChangeCallback(this.selectedItems),this.onTouchedCallback(this.selectedItems),this.onDeSelectAll.emit(this.selectedItems)):(this.selectedItems=[],this.settings.groupBy&&(this.groupedData.forEach(i=>{i.selected=!i.disabled}),this.groupCachedItems.forEach(i=>{i.selected=!i.disabled})),this.selectedItems=this.data.filter(i=>!i.disabled),this.isSelectAll=!0,this.onChangeCallback(this.selectedItems),this.onTouchedCallback(this.selectedItems),this.onSelectAll.emit(this.selectedItems)),setTimeout(()=>{this.calculateDropdownDirection()}),e.stopPropagation()}filterGroupedList(){if(this.filter==""||this.filter==null){this.clearSearch();return}this.groupedData=this.cloneArray(this.groupCachedItems),this.groupedData=this.groupedData.filter(e=>{let i=[];return e[this.settings.labelKey].toLowerCase().indexOf(this.filter.toLowerCase())>-1?i=e.list:i=e.list.filter(n=>n[this.settings.labelKey].toLowerCase().indexOf(this.filter.toLowerCase())>-1),e.list=i,e[this.settings.labelKey].toLowerCase().indexOf(this.filter.toLowerCase())>-1?i:i.some(n=>n[this.settings.labelKey].toLowerCase().indexOf(this.filter.toLowerCase())>-1)})}toggleFilterSelectAll(){if(this.isFilterSelectAll){let e=[];this.settings.groupBy?(this.groupedData.forEach(i=>{i.list&&i.list.forEach(n=>{this.isSelected(n)&&(this.removeSelected(n),e.push(n))}),this.updateGroupInfo(i)}),this.filteredList.forEach(i=>{this.isSelected(i)&&(this.removeSelected(i),e.push(i))})):this.filteredList.forEach(i=>{this.isSelected(i)&&(this.removeSelected(i),e.push(i))}),this.isFilterSelectAll=!1,this.onFilterDeSelectAll.emit(e)}else{let e=[];this.settings.groupBy?(this.groupedData.forEach(i=>
17{i.sele,i.list&&i.list.forEach(n=>{this.isSelected(n)||(this.addSelected(n),e.push(n))}),this.updateGroupInfo(i)}),this.filteredList.forEach(i=>{!this.isSelected(i)&&!i.hasOwnProperty("grpTitle")&&(this.addSelected(i),e.push(i))})):this.filteredList.forEach(i=>{this.isSelected(i)||(this.addSelected(i),e.push(i))}),this.isFilterSelectAll=!0,this.onFilterSelectAll.emit(e)}}toggleInfiniteFilterSelectAll(){this.isInfiniteFilterSelectAll?(this.virtualdata.forEach(e=>{this.isSelected(e)&&this.removeSelected(e)}),this.isInfiniteFilterSelectAll=!1):(this.virtualdata.forEach(e=>{this.isSelected(e)||this.addSelected(e)}),this.isInfiniteFilterSelectAll=!0)}clearSearch(){this.settings.groupBy&&(this.groupedData=[],this.groupedData=this.cloneArray(this.groupCachedItems)),this.filter="",this.isFilterSelectAll=!1,this.searchTerm$.next(""),this.data=this.cachedItems}onFilterChange(e){(this.filter&&this.filter==""||e.length==0)&&(this.isFilterSelectAll=!1,this.data=this.cachedItems.slice());let i=0;e.forEach(n=>{!n.hasOwnProperty("grpTitle")&&this.isSelected(n)&&i++}),i>0&&this.filterLength==i?this.isFilterSelectAll=!0:i>0&&this.filterLength!=i&&(this.isFilterSelectAll=!1),this.data=e}cloneArray(e){let i,n;if(Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e=="object")throw"Cannot clone array containing an object!";return e}updateGroupInfo(e){if(e.disabled)return;let i=this.settings.groupBy;this.groupedData.forEach(n=>{let l=0;n.grpTitle&&e[i]==n[i]&&n.list&&n.list.forEach(o=>{this.isSelected(o)&&l++}),n.list&&l===n.list.length&&e[i]==n[i]?n.selected=!0:n.list&&l!=n.list.length&&e[i]==n[i]&&(n.selected=!1)}),this.groupCachedItems.forEach(n=>{let l=0;n.grpTitle&&e[i]==n[i]&&n.list&&n.list.forEach(o=>{this.isSelected(o)&&l++}),n.list&&l===n.list.length&&e[i]==n[i]?n.selected=!0:n.list&&l!=n.list.length&&e[i]==n[i]&&(n.selected=!1)})}transformData(e,i){let n=e.reduce((o,d)=>(o[d[i]]?o[d[i]].push(d):o[d[i]]=[d],o),{}),l=[];return Object.keys(n).map(o=>{let d={},u=[];d.grpTitle=!0,d[this.settings.labelKey]=o,d[this.settings.groupBy]=o,d.selected=!1,d.list=[];let y=0;n[o].forEach(v=>{v.list=[],v.disabled&&(this.isDisabledItemPresent=!0,u.push(v)),d.list.push(v),this.isSelected(v)&&y++}),y==d.list.length?d.selected=!0:d.selected=!1,d.disabled=u.length===n[o].length,l.push(d)}),l}filterInfiniteList(e){let i=[];if(this.settings.groupBy?this.groupedData=this.groupCachedItems.slice():(this.data=this.cachedItems.slice(),this.virtualdata=this.cachedItems.slice()),(e!=null||e!="")&&!this.settings.groupBy){if(this.settings.searchBy.length>0)for(let n=0;n<this.settings.searchBy.length;n++)this.virtualdata.filter(l=>{l[this.settings.searchBy[n].toString()].toString().toLowerCase().indexOf(e.toString().toLowerCase())>=0&&i.push(l)});else this.virtualdata.filter(function(n){for(let l in n)if(n[l].toString().toLowerCase().indexOf(e.toString().toLowerCase())>=0){i.push(n);break}});this.virtualdata=[],this.virtualdata=i,this.infiniteFilterLength=this.virtualdata.length}e.toString()!=""&&this.settings.groupBy?(this.groupedData.filter(function(n){if(n.hasOwnProperty("grpTitle"))i.push(n);else for(let l in n)if(n[l].toString().toLowerCase().indexOf(e.toString().toLowerCase())>=0){i.push(n);break}}),this.groupedData=[],this.groupedData=i,this.infiniteFilterLength=this.groupedData.length):e.toString()==""&&this.cachedItems.length>0&&(this.virtualdata=[],this.virtualdata=this.cachedItems,this.infiniteFilterLength=0),this.virtualScroller&&this.virtualScroller.refresh()}resetInfiniteSearch(){this.filter="",this.isInfiniteFilterSelectAll=!1,this.virtualdata=[],this.virtualdata=this.cachedItems,this.groupedData=this.groupCachedItems,this.searchTerm$.next(""),this.infiniteFilterLength=0}onScrollEnd(e){e.endIndex===this.data.length-1||e.startIndex,this.onScrollToEnd.emit(e)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}selectGroup(e){e.disabled||(e.selected?(e.selected=!1,e.list.forEach(i=>{this.removeSelected(i)}),this.onGroupDeSelect.emit(e),this.updateGroupInfo(e)):(e.selected=!0,e.list.forEach(i=>{this.isSelected(i)||this.addSelected(i)}),this.onGroupSelect.emit(e),this.updateGroupInfo(e)))}addFilterNewItem(){this.onAddFilterNewItem.emit(this.filter),this.filterPipe.transform(this.data,this.filter,this.settings.searchBy)}calculateDropdownDirection(){let e=this.settings.position=="top",i=this.cuppaDropdown.nativeElement,n=i.clientWidth;if(this.dropDownWidth=n,this.dropDownLeft=this.settings.tagToBody?i.getBoundingClientRect().x:"unset",this.settings.position=="top"&&!this.settings.autoPosition?this.openTowardsTo
17p(!0):this.settings.position=="bottom"&&!this.settings.autoPosition&&this.openTowardsTop(!1),this.settings.autoPosition){let l=this.defaultSettings.maxHeight,o=document.documentElement.clientHeight,d=this.selectedListElem.nativeElement.getBoundingClientRect(),u=d.top;o-d.top<u&&l<u?this.openTowardsTop(!0):this.openTowardsTop(!1)}}openTowardsTop(e){let i=this.cuppaDropdown.nativeElement;e&&this.selectedListElem.nativeElement.clientHeight?(this.dropdownListYOffset=15-this.selectedListElem.nativeElement.clientHeight,this.settings.tagToBody?this.dropDownTop=i.getBoundingClientRect().y-this.selectedListElem.nativeElement.clientHeight*2-15-this.defaultSettings.maxHeight+"px":this.dropDownBottom=this.selectedListElem.nativeElement.clientHeight+15+"px",this.settings.position="top"):(this.settings.tagToBody?this.dropDownTop=i.getBoundingClientRect().y+i.clientHeight+1+"px":(this.dropDownTop="unset",this.dropDownBottom="unset"),this.dropdownListYOffset=0,this.settings.position="bottom")}clearSelection(e){this.settings.groupBy&&this.groupCachedItems.forEach(i=>{i.selected=!1}),this.clearSearch(),this.selectedItems=[],this.isSelectAll=!1,this.onChangeCallback(this.selectedItems),this.onTouchedCallback(this.selectedItems),this.onDeSelectAll.emit(this.selectedItems)}filteritems(e){if(this.filteredList=this.filterPipe.transform(this.cachedItems,e.target.value,this.settings.searchBy),this.filteredList){let i=0;this.filteredList.forEach((n,l)=>{n.disabled&&(this.isDisabledItemPresent=!0),n.hasOwnProperty("grpTitle")||i++}),this.filterLength=i}this.onFilterChange(this.filteredList)}static \u0275fac=function(i){return new(i||t)(O(W),O(xe),O(st))};static \u0275cmp=N({type:t,selectors:[["angular2-multiselect"]],contentQueries:function(i,n,l){if(i&1&&(B(l,$i,5),B(l,Ki,5),B(l,qi,5)),i&2){let o;T(o=E())&&(n.itemTempl=o.first),T(o=E())&&(n.badgeTempl=o.first),T(o=E())&&(n.searchTempl=o.first)}},viewQuery:function(i,n){if(i&1&&(Q(bt,5),Q(It,5),Q(Tt,5),Q(Et,5),Q(tt,5)),i&2){let l;T(l=E())&&(n.searchInput=l.first),T(l=E())&&(n.selectedListElem=l.first),T(l=E())&&(n.dropdownListElem=l.first),T(l=E())&&(n.cuppaDropdown=l.first),T(l=E())&&(n.virtualScroller=l.first)}},hostVars:2,hostBindings:function(i,n){i&1&&x("keyup.escape",function(o){return n.onEscapeDown(o)},!1,ie)("scroll",function(o){return n.onScroll(o)},!1,Oe),i&2&&We(n.defaultSettings.classes)},inputs:{data:"data",settings:"settings",loading:"loading"},outputs:{onSelect:"onSelect",onDeSelect:"onDeSelect",onSelectAll:"onSelectAll",onDeSelectAll:"onDeSelectAll",onOpen:"onOpen",onClose:"onClose",onScrollToEnd:"onScrollToEnd",onFilterSelectAll:"onFilterSelectAll",onFilterDeSelectAll:"onFilterDeSelectAll",onAddFilterNewItem:"onAddFilterNewItem",onGroupSelect:"onGroupSelect",onGroupDeSelect:"onGroupDeSelect"},standalone:!1,features:[He([Xi,en]),ge],decls:33,vars:50,consts:[["cuppaDropdown",""],["selectedList",""],["dropdownList",""],["searchInput",""],["scroll",""],["scroll2",""],["scroll3",""],["scroll4",""],[1,"cuppa-dropdown",3,"clickOutside"],[1,"selected-list"],[1,"c-btn",3,"click","ngClass"],[4,"ngIf"],["class","c-list",4,"ngIf"],["class","countplaceholder",4,"ngIf"],["class","c-remove clear-all",3,"click",4,"ngIf"],["class","c-angle-down",4,"ngIf"],["class","c-angle-up",4,"ngIf"],[1,"dropdown-list","animated","fadeIn",3,"ngClass","hidden"],[1,"arrow-2",3,"ngClass"],[3,"ngClass"],[1,"list-area",3,"ngClass"],["class","pure-checkbox select-all",4,"ngIf"],["class","loading-icon","src","assets/img/loading.gif",4,"ngIf"],["class","list-filter",4,"ngIf"],["class","filter-select-all",4,"ngIf"],["style","overflow: auto;",3,"maxHeight",4,"ngIf"],["class","list-message",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"c-list"],["class","c-token",4,"ngFor","ngForOf","ngForTrackBy"],[1,"c-token"],["class","c-label",4,"ngIf"],[1,"c-remove",3,"click"],[3,"name"],[1,"c-label"],[3,"data","item"],["class","c-token",3,"hidden",4,"ngFor","ngForOf","ngForTrackBy"],[1,"c-token",3,"hidden"],[1,"countplaceholder"],[1,"c-remove","clear-all",3,"click"],[1,"c-angle-down"],[1,"c-angle-up"],[1,"pure-checkbox","select-all"],["type","checkbox",3,"checked","disabled","id","change",4,"ngIf"],[3,"for"],[3,"hidden"],["type","checkbox",3,"change","checked","disabled","id"],["src","assets/img/loading.gif",1,"loading-icon"],[1,"list-filter"],["id","searchIcon",1,"c-search"],["class","c-clear",3,"hidden","click",4,"ngIf"],["class","c-input","type","text","aria-labelledby","searchIcon",3,"placeholder","ngModel","ngModelChange","keyup",4,"ngIf"],[3,"data","item",4,"ngIf"],[1,"c-clear",3,"click","hidden"],["type","text","aria-labelledby","searchIcon",1,"c-input",3,"ngModelChange","keyup","placeholder","ngModel"],[1,"filter-select-all"],["class","pure-checkbox select-all",3,"click",4,"ngIf"],[1,"pure-checkbox","select-all",3,"click"],["type","checkbox","aria-labelledby","optionName","aria-label","option",3,"checked","disabled"],["type","checkbox","aria-labelledby","option",3,"checked","disabled"],["class","btn-container",4,"ngIf"],[1,"btn-container"],[1,"c-btn","btn-iceblue",3,"click"],[2,"overflow","auto"],[1,"lazyContainer"],["class","pure-checkbox",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"pure-checkbox",3,"click","ngClass"],["type","checkbox","aria-labelledby","option",3,"checked","disabled",4,"ngIf"],["virtualScroller","",1,"lazyContainer",3,"vsStart","vsEnd","enableUnequalChildrenSizes","items","ngStyle"],["type","checkbox",3,"checked","disabled",4,"ngIf"],["type","checkbox",3,"checked","disabled"],[4,"ngFor","ngForOf"],["class","pure-checkbox",3,"ngClass","click",4,"ngIf"],["class","pure-checkbox",3,"ngClass",4,"ngIf"],[1,"pure-checkbox",3,"ngClass"],[3,"vsUpdate","vsEnd","items","ngStyle"],[1,"list-message"]],template:function(i,n){if(i&1){let l=S();h(0,"div",8,0),x("clickOutside",function(){return g(l),m(n.closeDropdownOnClickOut())}),h(2,"div",9,1)(4,"div",10),x("click",function(d){return g(l),m(n.toggleDropdown(d))}),_(5,Ot,2,1,"span",11)(6,Vt,2,2,"span",11)(7,Lt,2,2,"span",12)(8,Ht,2,2,"div",12)(9,Ut,2,1,"span",13)(10,Nt,2,1,"span",14)(11,Qt,2,1,"span",15)(12,$t,2,1,"span",16),p()(),h(13,"div",17,2),f(15,"div",18)(16,"div",19),h(17,"div",20),_(18,qt,7,6,"div",21)(19,jt,1,0,"img",22)(20,ii,9,7,"div",23)(21,si,3,2,"div",24)(22,oi,2,1,"div",24)(23,ci,2,1,"div",24)(24,ui,3,3,"div",25)(25,gi,4,8,"div",25)(26,xi,3,3,"div",25)(27,wi,4,8,"div",25)(28,Ei,4,8,"div",25)(29,Oi,3,3,"div",25)(30,Li,5,12,"div",25)(31,Ui,3,3,"div",25)(32,Ni,2,1,"h5",26),p()()()}i&2&&(a(4),r("ngClass",k(38,Mt,n.settings.disabled)),Re("tabindex",0),a(),r("ngIf",(n.selectedItems==null?null:n.selectedItems.length)==0),a(),r("ngIf",n.settings.singleSelection&&!n.badgeTempl),a(),r("ngIf",(n.selectedItems==null?null:n.selectedItems.length)>0&&n.settings.singleSelection&&n.badgeTempl),a(),r("ngIf",(n.selectedItems==null?null:n.selectedItems.length)>0&&!n.settings.singleSelection),a(),r("ngIf",(n.selectedItems==null?null:n.selectedItems.length)>n.settings.badgeShowLimit),a(),r("ngIf",n.settings.clearAll&&(n.selectedItems==null?null:n.selectedItems.length)>0&&!n.settings.disabled),a(),r("ngIf",!n.isActive),a(),r("ngIf",n.isActive),a(),V("width",n.dropDownWidth,"px")("top",n.dropDownTop)("bottom",n.dropDownBottom)("left",n.dropDownLeft,"px"),r("ngClass",k(40,At,n.settings.tagToBody))("hidden",!n.isActive),a(2),r("ngClass",$(42,et,n.settings.position=="bottom",n.settings.position=="top")),a(),r("ngClass",$(45,et,n.settings.position=="bottom",n.settings.position=="top")),a(),r("ngClass",k(48,Dt,n.settings.singleSelection)),a(),r("ngIf",n.settings.enableCheckAll&&!n.settings.singleSelection&&!n.settings.limitSelection&&(n.data==null?null:n.data.length)>0&&!n.isDisabledItemPresent),a(),r("ngIf",n.loading),a(),r("ngIf",n.settings.enableSearchFilter),a(),r("ngIf",!n.settings.lazyLoading&&n.settings.enableFilterSelectAll&&!n.isDisabledItemPresent),a(),r("ngIf",n.settings.lazyLoading&&n.settings.enableFilterSelectAll&&!n.isDisabledItemPresent&&!n.settings.singleSelection),a(),r("ngIf",n.filter==null?null:n.filter.length),a(),r("ngIf",!n.settings.groupBy&&!n.settings.lazyLoading&&n.itemTempl
17==null),a(),r("ngIf",!n.settings.groupBy&&n.settings.lazyLoading&&n.itemTempl==null),a(),r("ngIf",!n.settings.groupBy&&!n.settings.lazyLoading&&n.itemTempl!=null),a(),r("ngIf",!n.settings.groupBy&&n.settings.lazyLoading&&n.itemTempl!=null),a(),r("ngIf",n.settings.groupBy&&n.settings.lazyLoading&&n.itemTempl!=null),a(),r("ngIf",n.settings.groupBy&&!n.settings.lazyLoading&&n.itemTempl!=null),a(),r("ngIf",n.settings.groupBy&&n.settings.lazyLoading&&n.itemTempl==null),a(),r("ngIf",n.settings.groupBy&&!n.settings.lazyLoading&&n.itemTempl==null),a(),r("ngIf",(n.data==null?null:n.data.length)==0))},dependencies:()=>[Ue,Ne,ve,Qe,qe,Ye,Ze,tt,Qi,ji,Yi],styles:[`virtual-scroll{display:block;width:100%}.cuppa-dropdown{position:relative}.c-btn{display:inline-block;border-width:1px;line-height:1.25;border-radius:3px;font-size:.85rem;padding:5px 10px;cursor:pointer;align-items:center;min-height:38px}.c-btn.disabled{background:#ccc}.selected-list .c-list{float:left;padding:0;margin:0;width:calc(100% - 20px)}.selected-list .c-list .c-token{list-style:none;padding:4px 22px 4px 8px;border-radius:2px;margin-right:4px;margin-top:2px;float:left;position:relative}.selected-list .c-list .c-token .c-label{display:block;float:left}.selected-list .c-list .c-token .c-remove{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:8px}.selected-list .c-list .c-token .c-remove svg{fill:#fff}.selected-list .fa-angle-down,.selected-list .fa-angle-up{font-size:15pt;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.selected-list .c-angle-down,.selected-list .c-angle-up{width:12px;height:12px;position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}.selected-list .c-angle-down svg,.selected-list .c-angle-up svg{fill:#333}.selected-list .countplaceholder{position:absolute;right:45px;top:50%;transform:translateY(-50%)}.selected-list .c-btn{width:100%;padding:5px 10px;cursor:pointer;display:flex;position:relative}.selected-list .c-btn .c-icon{position:absolute;right:5px;top:50%;transform:translateY(-50%)}.dropdown-list.tagToBody{position:fixed}.dropdown-list{position:absolute;padding-top:14px;width:100%;z-index:99999}.dropdown-list ul{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list ul li{padding:10px;cursor:pointer;text-align:left}.dropdown-list ul li:first-child{padding-top:10px}.dropdown-list ul li:last-child{padding-bottom:10px}.dropdown-list ::-webkit-scrollbar{width:8px}.dropdown-list ::-webkit-scrollbar-thumb{background:#ccc;border-radius:5px}.dropdown-list ::-webkit-scrollbar-track{background:#f2f2f2}.arrow-up,.arrow-down{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:15px solid #fff;margin-left:15px;position:absolute;top:0}.arrow-down{bottom:-14px;top:unset;transform:rotate(180deg)}.arrow-2{border-bottom:15px solid #ccc;top:-1px}.arrow-down.arrow-2{top:unset;bottom:-16px}.list-area{border:1px solid #ccc;border-radius:3px;background:#fff;margin:0}.select-all{padding:10px;border-bottom:1px solid #ccc;text-align:left}.list-filter{border-bottom:1px solid #ccc;position:relative;padding-left:35px;height:35px}.list-filter input{border:0px;width:100%;height:100%;padding:0}.list-filter input:focus{outline:none}.list-filter .c-search{position:absolute;top:4px;left:10px;width:15px;height:15px}.list-filter .c-search svg{fill:#888}.list-filter .c-clear{position:absolute;top:4px;right:10px;width:15px;height:15px}.list-filter .c-clear svg{fill:#888}.pure-checkbox input[type=checkbox]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.pure-checkbox input[type=checkbox]:focus+label:before,.pure-checkbox input[type=checkbox]:hover+label:before{background-color:none}.pure-checkbox input[type=checkbox]:active+label:before{transition-duration:0s}.pure-checkbox input[type=checkbox]:disabled+label{color:#ccc}.pure-checkbox input[type=checkbox]+label{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;font-weight:300}.pure-checkbox input[type=checkbox]+label:before{box-sizing:content-box;content:"";position:absolute;top:50%;left:0;width:15px;height:15px;margin-top:-9px;text-align:center;transition:all .4s ease;border-radius:3px}.pure-checkbox input[type=checkbox]+label:after{box-sizing:content-box;content:"";position:absolute;top:50%;left:0;width:15px;height:15px;margin-top:-9px;transform:scale(0);transform-origin:50%;transition:transform .2s ease-out}.pure-checkbox input[type=checkbox]:disabled+label:before{border-color:#ccc}.pure-checkbox input[type=checkbox]:disabled:focus+label:before .pure-checkbox input[type=checkbox]:disabled:hover+label:before{background-color:inherit}.pure-checkbox input[type=checkbox]:disabled:checked+label:before{background-color:#ccc}.pure-checkbox input[type=checkbox]+label:after{background-color:transparent;top:50%;left:3px;width:9px;height:4px;margin-top:-5px;border-style:solid;border-width:0 0 2px 2px;border-image:none;transform:rotate(-45deg) scale(0)}.pure-checkbox input[type=checkbox]:checked+label:after{content:"";transform:rotate(-45deg) scale(1);transition:transform .2s ease-out}.pure-checkbox input[type=radio]:checked+label:before{background-color:#fff}.pure-checkbox input[type=radio]:checked+label:after{transform:scale(1)}.pure-checkbox input[type=radio]+label:before{border-radius:50%}.pure-checkbox input[type=checkbox]:checked+label:after{transform:rotate(-45deg) scale(1)}.list-message{text-align:center;margin:0;padding:15px 0;font-size:initial}.list-grp{padding:0 15px!important}.list-grp h4{text-transform:capitalize;margin:15px 0 0;font-size:14px;font-weight:700}.list-grp>li{padding-left:15px!important}.grp-item{padding-left:30px!important}.grp-title{padding-bottom:0!important}.grp-title label{margin-bottom:0!important;font-weight:800;text-transform:capitalize}.grp-title:hover{background:none!important}.loading-icon{width:20px;position:absolute;right:10px;top:23px;z-index:1}.nodata-label{width:100%;text-align:center;padding:10px 0 0}
17.btn-container{text-align:center;padding:5px}.clear-all{width:8px;position:absolute;top:50%;right:30px;transform:translateY(-50%)} 18`],encapsulation:2})}return t})(),Cn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=me({type:t});static \u0275inj=fe({providers:[lt,st],imports:[Se,Je,Ji]})}return t})();export{rt as a,Cn as b};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.