1import{b as He}from"./chunk-K5Q7DZZC.js";import{a as je}from"./chunk-5GTNSJ7Y.js";import{a as Ke}from"./chunk-M677I57H.js";import{a as Q,b as G,c as O,d as A,e as _e,f as ze,g as Ge}from"./chunk-TTS4H5LB.js";import"./chunk-RKLWHMEL.js";import"./chunk-EGPIZHDW.js";import"./chunk-H5AUVSP5.js";import"./chunk-2F32ZYLF.js";import{b as Re}from"./chunk-X5EBWGEB.js";import{a as H,c as Ie}from"./chunk-NFCIPWVT.js";import"./chunk-SGT26LIS.js";import"./chunk-YOXHLGBR.js";import{a as Oe}from"./chunk-RHYF4LZO.js";import"./chunk-Y354VN2I.js";import{a as B}from"./chunk-TLQAWSVH.js";import"./chunk-6AKN456F.js";import"./chunk-OYRZNWLH.js";import"./chunk-KLDDKXA4.js";import{a as Ae}from"./chunk-LBNG3ATP.js";import"./chunk-KRZRWDDT.js";import{a as qe}from"./chunk-GI7WTO62.js";import"./chunk-B6KOXQUA.js";import{a as Ue}from"./chunk-Z532224M.js";import"./chunk-CIVTKXK5.js";import"./chunk-3OAPHCVQ.js";import"./chunk-OOZELLS6.js";import"./chunk-XD3S45L3.js";import"./chunk-3QFLTH2D.js";import{b as We}from"./chunk-SNNLZ5RF.js";import{a as Qe}from"./chunk-GV2T73LM.js";import"./chunk-5GTHTHUT.js";import"./chunk-GMASQF75.js";import"./chunk-DTA76G74.js";import"./chunk-C5UXLAQL.js";import"./chunk-P6ZGTBNL.js";import"./chunk-UP3NMOYQ.js";import"./chunk-4ZZIBJ4G.js";import"./chunk-X3ZTDRBE.js";import"./chunk-WHGBLVYJ.js";import"./chunk-YAPASWBA.js";import"./chunk-DHNUHK7K.js";import"./chunk-CL4I7X5V.js";import"./chunk-Z2QDD6D4.js";import"./chunk-2S3QWM6N.js";import"./chunk-YGNXBDEV.js";import"./chunk-BQEQCOTH.js";import"./chunk-R4UK2TX5.js";import"./chunk-2CTSN7GV.js";import"./chunk-SWKOIAU4.js";import"./chunk-GIK7UVR6.js";import"./chunk-7MPMQKG7.js";import"./chunk-MVI22RWX.js";import"./chunk-OJSX55YM.js";import"./chunk-LU45CXIE.js";import{a as ce}from"./chunk-GWVSUJ3Q.js";import{a as ge}from"./chunk-E7XFQ57K.js";import{c as le}from"./chunk-HV2J6EUT.js";import"./chunk-CZSCXJB4.js";import"./chunk-7WTBQ4PM.js";import{a as de}from"./chunk-6XSJSIHI.js";import"./chunk-AQFGMO36.js";import"./chunk-TNESBCLA.js";import"./chunk-W76DZ2XB.js";import"./chunk-6HMNIELJ.js";import{b as Pe}from"./chunk-4DRARXHT.js";import"./chunk-ESYDHW5W.js";import"./chunk-WWMNYAX2.js";import"./chunk-I5NY2RMF.js";import{a as he}from"./chunk-UKZJ2YKF.js";import"./chunk-5V5FNPNN.js";import{c as Z}from"./chunk-QDZTGFIM.js";import"./chunk-6VB7VD6J.js";import"./chunk-YHE3APNA.js";import"./chunk-67XQFUAG.js";import{G as z}from"./chunk-OW6Z7FU2.js";import"./chunk-VY6SPNUF.js";import{e as me,i as se}from"./chunk-SBUCGJSZ.js";import"./chunk-4XAV3KNF.js";import"./chunk-AD42GW4V.js";import"./chunk-7FHHHLFY.js";import"./chunk-WGI65ZYX.js";import"./chunk-4KDKWGA7.js";import"./chunk-E5UCSKBX.js";import"./chunk-WOT4CZSS.js";import"./chunk-B6G7JIPU.js";import"./chunk-23FQXV2T.js";import"./chunk-RUX4ZFTW.js";import"./chunk-XPG43UEF.js";import"./chunk-KIOIKC2E.js";import"./chunk-I4UVDTSQ.js";import"./chunk-RWZMOO6Z.js";import"./chunk-23QNP3YT.js";import"./chunk-QUCAWPGY.js";import"./chunk-RGLZ6JVH.js";import"./chunk-KLQLSNW5.js";import"./chunk-4A3ZLOBH.js";import"./chunk-XM724CLR.js";import"./chunk-Q2NLXMTV.js";import"./chunk-4RAGP3ET.js";import"./chunk-R5FILQJL.js";import"./chunk-GHPKYICJ.js";import"./chunk-5DNELMSQ.js";import{Y as Be}from"./chunk-IXPQ4YSX.js";import"./chunk-EMTLGGWS.js";import"./chunk-CFWNEYCF.js";import"./chunk-WCXEBYJG.js";import"./chunk-X3OOVOFF.js";import"./chunk-AXIZ66QO.js";import{P as Ne}from"./chunk-ZRR533S2.js";import"./chunk-VKYVJC25.js";import{a as ke}from"./chunk-BYA7N7SS.js";import"./chunk-B5DEPY7Q.js";import{b as U}from"./chunk-SQRO6BJK.js";import"./chunk-RZU3V7IZ.js";import"./chunk-P5XLCJ4V.js";import"./chunk-GO74C37X.js";import"./chunk-655LOVSB.js";import{b as Ee,c as V}from"./chunk-H7DQXP2B.js";import{u as De,z as Ve}from"./chunk-2LL7AVK7.js";import"./chunk-PXVWTEQG.js";import{e as ee}from"./chunk-KKZS3G5S.js";import"./chunk-ERHERRAM.js";import"./chunk-4NYYINTD.js";import{q as oe,t as Le}from"./chunk-5GJ343PP.js";import"./chunk-CJLZHYZK.js";import{Ac as o,Bc as N,Cc as $,Da as f,Dc as j,Ea as _,Gd as m,H as Se,Hd as g,Id as ne,Jc as y,Pa as q,Pc as x,Rb as M,Sc as p,Sd as u,Td as pe,Ua as W,Xb as R,_d as h,ad as we,cd as Me,de as ae,fa as xe,fd as v,gd as F,hd as J,ld as C,le as Fe,md as b,me as fe,nc as Te,nd as S,sc as T,tc as w,va as k,wc as L,xc as D,xd as Y,yb as a,yc as c,yd as re,zc as s}from"./chunk-RL33O6RN.js";import{a as E,b as P}
1from"./chunk-FQIUDVNS.js";var nt=r=>({category:r}),at=(r,d)=>d.id,ot=(r,d)=>d.label;function st(r,d){if(r&1){let e=y();s(0,"ui-checkbox",14),S("valueChange",function(t){f(e);let n=p(2);return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=d.$implicit,i=p(2);c("label",i.localizedCategoryLabel(e))("data",e.label),C("value",i.selected),c("count",e.hits??0)("reversed",!0)}}function lt(r,d){if(r&1){let e=y();s(0,"ui-checkbox",6),S("valueChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),s(1,"div",7)(2,"ui-icon-button",8),m(3,"translate"),x("click",function(){let t=f(e).$implicit,n=p();return _(n.openCategory(t.id))}),o()()(),s(4,"div",9)(5,"div",10)(6,"div",11),N(7,"div",12),s(8,"div"),L(9,st,1,5,"ui-checkbox",13,ot),o()()()()}if(r&2){let e=d.$implicit,i=p();c("label",i.localizedCategoryLabel(e))("data",e.label),C("value",i.selected),c("count",e.hits??0)("reversed",!0)("indeterminate",i.indeterminate(e)()),a(2),c("icon",i.openCategories().includes(e.id)?"ph ph-caret-down":"ph ph-caret-right")("disabled",!e.hits)("ariaExpanded",i.openCategories().includes(e.id))("ariaLabel",ne(3,12,i.openCategories().includes(e.id)?"search.filters.categories.collapse":"search.filters.categories.expand",re(15,nt,i.localizedCategoryLabel(e)))),a(2),Me("open",i.openCategories().includes(e.id)),a(5),D(e.items)}}function ct(r,d){if(r&1){let e=y();s(0,"ui-search-filter-footer",15),S("selectedChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=p();C("selected",e.selected),c("items",e.itemsSelected())}}var dt="de",Ye=(()=>{class r extends G{constructor(){super(...arguments),this.currentLanguage=ee(k(se).currentLang$),this.fallbackLabel="search.filters.categories.label",this.categoryTree=h([]),this.openCategories=q([]),this._openCategory=q(""),this.openCategory=e=>{this.openCategories.update(i=>i.includes(e)?i.filter(t=>t!==e):[e])},this.tree=u(()=>{let e=this.data();return this.categoryTree().map(t=>{let n=e.find(l=>l.label===t.label);return P(E({},t),{hits:n?.hits??0,items:t.items.map(l=>{let I=e.find(K=>K.label===l.label);return P(E({},l),{hits:I?.hits??0})})})})}),this.indeterminate=e=>u(()=>!this.selected().includes(e.id)&&e.items?.some(i=>this.selected().includes(i.label))),this.itemsSelected=u(()=>{let e=this.selected(),t=this.categoryTree().flatMap(n=>[n,...n.items||[]]).filter(n=>e.includes(n.label)).map(n=>P(E({},n),{id:n.label,hits:this.data().find(l=>l.id===n.label)?.hits??0,label:this.localizedCategoryLabel(n)}));return t.length?t:this.data().filter(n=>e.includes(n.id))})}localizedCategoryLabel(e){let i=this.currentLanguage();return me(this.categoryTranslation(e),i,"label")??e.label??""}categoryTranslation(e){return{label:e.label,language:e.language??dt,i18n:e.i18n}}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=W(r)))(t||r)}})()}static{this.\u0275cmp=M({type:r,selectors:[["search-filter-categories"]],inputs:{categoryTree:[1,"categoryTree"]},features:[R],decls:11,vars:10,consts:[[3,"size","type","color","icon","iconPos","label"],[1,"w-[372px]"],[1,"px-4","py-3"],[1,"flex","flex-col","gap-2"],[1,"flex","max-h-[50dvh]","flex-col","gap-1","overflow-auto"],[3,"selected","items"],["group","cats",3,"valueChange","label","data","value","count","reversed","indeterminate"],["leadingIcon","",1,"flex","h-[22px]","items-center"],["type","ghost","color","dark","size","small",3,"click","icon","disabled","ariaExpanded","ariaLabel"],[1,"children-container"],[1,"content"],[1,"category-children","grid"],[1,"border-list-vertical-divider","border-r","border-solid"],["group","cats",3,"label","data","value","count","reversed"],["group","cats",3,"valueChange","label","data","value","count","reversed"],[3,"selectedChange","selected","items"]],template:function(i,t){i&1&&(s(0,"ui-menu-button",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"ui-search-filter-header"),v(5),m(6,"translate"),o(),s(7,"div",4),L(8,lt,11,17,null,null,at),o()()(),T(10,ct,1,2,"ui-search-filter-footer",5),o()()),i&2&&(c("size","small")("type",t.filterLabelType())("color",t.filterLabelColor())("icon","ph ph-caret-down")("iconPos","right")("label",t.filterLabel()),a(5),F(g(6,8,"search.filters.categories.header")),a(3),D(t.tree()),a(2),w(t.itemsSelected().length>0?10:-1))},dependencies:[Z,le,z,B,U,Q,O,A,ce,ke,V],styles:[`[_nghost-%COMP%]{display:inline-flex}.category[_ngcontent-%COMP%]{grid-template-columns:20px auto 60px}.category-child[_ngcontent-%COMP%]{grid-template-columns:auto 60px}.category-children[_ngcontent-%COMP%]{grid-template-columns:32px auto;gap:23px}.children-container[_ngcontent-%COMP%]{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s}.children-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{min-height:0;transition:visibility .25s;visibility:hidden;overflow:hidden}.children-container.open[_ngcontent-%COMP%]{grid-template-rows:1fr}.children-container.open[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{visibility:visible} 2 3/*# sourceMappingURL=search-filter-categories.component-AZCFNWRS.css.map */`]})}}return r})();var pt=(r,d)=>d.id;function ut(r,d){if(r&1){let e=y();s(0,"div",5)(1,"ui-chart-thumbnail",7),m(2,"translate"),x("primaryEvent",function(){let t=f(e).$implicit,n=p();return _(n.toggleItem(t))}),o(),s(3,"div",8),N(4,"ui-badge",9),m(5,"number"),o()()}if(r&2){let e=d.$implicit,i=p().selected().includes(e.id),t=!i&&!e.hits;a(),c("active",i)("hovered",!0)("id",e.id)("image",e.image)("label",g(2,14,e.label))("muted",t)("liftOnHover",!1)("size",160)("withSecondaryAction",!1),a(3),c("shape","pilled")("type",i?"solid":"white")("color",i?"blue":"white")("label",`${g(5,16,e.hits)}`)("size","small")}}function mt(r,d){if(r&1){let e=y();s(0,"ui-search-filter-footer",10),S("selectedChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=p();C("selected",e.selected),c("items",e.itemsSelected())}}var ye=[{id:"geodata",label:"search.groupedTypes.geodata",image:"/create/charts-thumbn
3ails/choropleth-world-map.svg"},{id:"comparisons",label:"search.groupedTypes.comparisons",image:"/create/charts-thumbnails/grouped-bar-chart.svg"},{id:"timeseries",label:"search.groupedTypes.timeseries",image:"/create/charts-thumbnails/line-chart-with-highlighted-difference.svg"},{id:"distributions",label:"search.groupedTypes.distributions",image:"/create/charts-thumbnails/donut-chart.svg"},{id:"relationships",label:"search.groupedTypes.relationships",image:"/create/charts-thumbnails/sankey.svg"},{id:"tables",label:"search.groupedTypes.tables",image:"/create/charts-thumbnails/table.svg"},{id:"dashboards",label:"search.groupedTypes.dashboards",image:"/create/charts-thumbnails/dashboard.svg"}],Ze=(()=>{class r extends G{constructor(){super(...arguments),this.fallbackLabel="search.filters.chartTypes.label",this.items=u(()=>ye.map(e=>{let i=this.data().find(t=>t.id===e.id);return i?E(E({},i),e):P(E({},e),{hits:0})})),this.itemsSelected=u(()=>this.items().filter(e=>this.selected().includes(e.id))),this.filterLabel=u(()=>{let e=this.itemsSelected();return e.length>0?e[0].label:this.fallbackLabel})}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=W(r)))(t||r)}})()}static{this.\u0275cmp=M({type:r,selectors:[["search-filter-grouped-type"]],features:[R],decls:12,vars:12,consts:[[3,"size","type","color","icon","iconPos","label"],[1,"flex","w-[19rem]","max-w-[calc(100vw-var(--spacing-4))]","flex-col","md:w-[27.5rem]"],[1,"p-4","pt-2"],[1,"flex","w-full","flex-col","gap-2"],[1,"grid","max-h-[50dvh]","w-[17rem]","max-w-[calc(100vw-var(--spacing-4))]","grid-cols-[repeat(2,8rem)]","justify-center","gap-2","overflow-y-auto","p-[2px]","md:max-h-none","md:w-[25.5rem]","md:grid-cols-[repeat(3,8rem)]","md:overflow-visible"],[1,"relative","flex","justify-center"],[3,"selected","items"],[3,"primaryEvent","active","hovered","id","image","label","muted","liftOnHover","size","withSecondaryAction"],[1,"absolute","right-1","top-1","z-10"],[3,"shape","type","color","label","size"],[3,"selectedChange","selected","items"]],template:function(i,t){i&1&&(s(0,"ui-menu-button",0),m(1,"translate"),s(2,"div",1)(3,"div",2)(4,"div",3)(5,"ui-search-filter-header"),v(6),m(7,"translate"),o(),s(8,"div",4),L(9,ut,6,18,"div",5,pt),o()()(),T(11,mt,1,2,"ui-search-filter-footer",6),o()()),i&2&&(c("size","small")("type",t.filterLabelType())("color",t.filterLabelColor())("icon","ph ph-caret-down")("iconPos","right")("label",g(1,8,t.filterLabel())+(t.itemsSelected().length>1?" +"+(t.itemsSelected().length-1):"")),a(6),F(g(7,10,"search.filters.groupedTypes.header")),a(3),D(t.items()),a(2),w(t.itemsSelected().length>0?11:-1))},dependencies:[Qe,B,ge,z,O,A,oe,V],styles:[`[_nghost-%COMP%]{display:inline-flex}.item[_ngcontent-%COMP%]{border:1px solid var(--color-components-button-white-border-color);background-color:var(--color-components-button-soft-gray-bg-color)}.item.selected[_ngcontent-%COMP%]{border:1px solid var(--color-components-button-soft-blue-icon-hover-color);background-color:var(--color-components-button-soft-blue-bg-hover-color);background-color:var(--color-components-button-soft-blue-bg-color, light-dark(var(--color-blue-100), var(--color-soft-blue)));border-color:var(--color-components-button-outline-blue-border-color, var(--color-brand-color))} 4 5/*# sourceMappingURL=search-filter-grouped-type.component-BTWGBD4T.css.map */`]})}}return r})();var ht=(r,d)=>d.id;function gt(r,d){if(r&1){let e=y();s(0,"ui-checkbox",8),S("valueChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=d.$implicit,i=p();c("data",e.id)("label",e.label),C("value",i.selected),c("count",e.hits)("reversed",!0)}}function ft(r,d){if(r&1){let e=y();s(0,"ui-search-filter-footer",9),S("selectedChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=p();c("items",e.itemsSelected()),C("selected",e.selected)}}var Xe=(()=>{class r extends G{constructor(){super(...arguments),this.fallbackLabel="search.filters.sources.label",this.searchQuery=q(""),this.items=u(()=>this.data().filter(e=>e.label.toLowerCase().includes(this.searchQuery().toLowerCase())))}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=W(r)))(t||r)}})()}static{this.\u0275cmp=M({type:r,selectors:[["search-filter-source"]],features:[R],decls:14,vars:20,consts:[[3,"size","type","color","icon","iconPos","label"],[2,"width","372px"],[1,"px-4","py-2"],[1,"flex","flex-col","gap-2"],["fluid","",3,"valueChange","value","placeholder","ariaLabel","icon","size","shape"],[1,"flex","max-h-[50dvh]","flex-col","gap-2","overflow-y-auto"],[3,"data","label","value","count","reversed"],[3,"items","selected"],[3,"valueChange","data","label","value","count","reversed"],[3,"selectedChange","items","selected"]],template:function(i,t){i&1&&(s(0,"ui-menu-button",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"ui-search-filter-header"),v(5),m(6,"translate"),o(),s(7,"ui-input",4),m(8,"translate"),m(9,"translate"),S("valueChange",function(l){return b(t.searchQuery,l)||(t.searchQuery=l),l}),o(),s(10,"div",5),L(11,gt,1,5,"ui-checkbox",6,ht),o()()(),T(13,ft,1,2,"ui-search-filter-footer",7),o()()),i&2&&(c("size","small")("type",t.filterLabelType())("color",t.filterLabelColor())("icon","ph ph-caret-down")("iconPos","right")("label",t.filterLabel()),a(5),F(g(6,14,"search.filters.sources.header")),a(2),C("value",t.searchQuery),c("placeholder",g(8,16,"search.filters.sources.searchSource"))("ariaLabel",g(9,18,"search.filters.sources.searchSource"))("icon","ph ph-magnifying-glass")("size","small")("shape","pilled"),a(4),D(t.items()),a(2),w(t.itemsSelected().length>0?13:-1))},dependencies:[Z,B,U,Q,de,le,z,O,A,ce,V],styles:[`[_nghost-%COMP%]{display:inline-flex} 6 7/*# sourceMappingURL=search-filter-source.component-7VE2S4F4.css.map */`]})}}return r})();var _t=(r,d)=>d.id;function yt(r,d){if(r&1){let e=y();s(0,"ui-button",8),x("click",function(){let t=f(e).$implicit,n=p();return _(n.toggleItem(t))}),N(1,"ui-badge",9),m(2,"number"),o()}if(r&2){let e=d.$implicit;c("size","small")("shape","pilled")("type","soft")("color","gray")("label",e.label),a(),c("shape","rounded")("size","small")("type","white")("color","white")("label",`${g(2,10,e.hits)}`)}}function vt(r,d){if(r&1){let e=y();s(0,"ui-search-filter-footer",10),S("selectedChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=p();C("selected",e.selected),c("items",e.itemsSelected())}}var $e=(()=>{class r extends G{constructor(){super(...arguments),this.fallbackLabel="search.filters.tags.label",this.searchQuery=q(""),this.items=u(()=>{let e=this.searchQuery().trim().toLowerCase();return this.data().filter(i=>this.selected().includes(i.id)?!1:e?i.label.toLowerCase().includes(e):!0)})}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=W(r)))(t||r)}})()}static{this.\u0275cmp=M({type:r,selectors:[["search-filter-tags"]],features:[R],decls:14,vars:20,consts:[[3,"size","type","color","icon","iconPos","label"],[2,"width","372px"],[1,"px-4"],[1,"flex","flex-col","gap-2","pb-4","pt-2"],["fluid","",3,"valueChange","value","placeholder","ariaLabel","icon","size","shape"],[1,"flex","max-h-[50dvh]","flex-wrap","gap-2","overflow-auto"],[3,"size","shape","type","color","label"],[3,"selected","items"],[3,"click","
7size","shape","type","color","label"],["slot","badge",3,"shape","size","type","color","label"],[3,"selectedChange","selected","items"]],template:function(i,t){i&1&&(s(0,"ui-menu-button",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"ui-search-filter-header"),v(5),m(6,"translate"),o(),s(7,"ui-input",4),m(8,"translate"),m(9,"translate"),S("valueChange",function(l){return b(t.searchQuery,l)||(t.searchQuery=l),l}),o(),s(10,"div",5),L(11,yt,3,12,"ui-button",6,_t),o()()(),T(13,vt,1,2,"ui-search-filter-footer",7),o()()),i&2&&(c("size","small")("type",t.filterLabelType())("color",t.filterLabelColor())("icon","ph ph-caret-down")("iconPos","right")("label",t.filterLabel()),a(5),F(g(6,14,"search.filters.tags.header")),a(2),C("value",t.searchQuery),c("placeholder",g(8,16,"search.filters.tags.searchTag"))("ariaLabel",g(9,18,"search.filters.tags.searchTag"))("icon","ph ph-magnifying-glass")("size","small")("shape","pilled"),a(4),D(t.items()),a(2),w(t.itemsSelected().length>0?13:-1))},dependencies:[Z,ge,B,U,Q,z,he,de,O,A,oe,V],styles:[`[_nghost-%COMP%]{display:inline-flex} 8 9/*# sourceMappingURL=search-filter-tags.component-MOYXURZZ.css.map */`]})}}return r})();var Ct=r=>({name:r}),bt=(r,d)=>d.id;function St(r,d){if(r&1){let e=y();s(0,"ui-checkbox",17),S("valueChange",function(t){f(e);let n=p(2);return b(n.selected,t)||(n.selected=t),_(t)}),N(1,"ui-avatar",18),m(2,"translate"),o()}if(r&2){let e=d.$implicit,i=p(2);c("label",e.label)("data",e.id),C("value",i.selected),c("reversed",!0)("count",e.hits),a(),c("image",e.logo)("label",e.label)("ariaLabel",ne(2,9,"search.filters.users.profileAria",re(12,Ct,e.label)))("verified",e.verified)}}function xt(r,d){if(r&1){let e=y();s(0,"div",13)(1,"ui-search-filter-header"),v(2),m(3,"translate"),o(),s(4,"ui-input",14),m(5,"translate"),m(6,"translate"),S("valueChange",function(t){f(e);let n=p();return b(n.searchQuery,t)||(n.searchQuery=t),_(t)}),o()(),s(7,"div",15),L(8,St,3,14,"ui-checkbox",16,bt),o()}if(r&2){let e=p();a(2),F(g(3,7,"search.filters.users.allUsers")),a(2),C("value",e.searchQuery),c("placeholder",g(5,9,"search.filters.users.searchUser"))("ariaLabel",g(6,11,"search.filters.users.searchUser"))("icon","ph ph-magnifying-glass")("size","small")("shape","pilled"),a(4),D(e.items())}}function Tt(r,d){r&1&&N(0,"div",11)}function wt(r,d){if(r&1){let e=y();s(0,"ui-search-filter-footer",19),S("selectedChange",function(t){f(e);let n=p();return b(n.selected,t)||(n.selected=t),_(t)}),o()}if(r&2){let e=p();C("selected",e.selected),c("items",e.itemsSelected())}}var Je=(()=>{class r extends G{constructor(){super(...arguments),this.fallbackLabel="search.filters.users.label",this.verifiedUser=ae(!1),this.searchQuery=q(""),this.items=u(()=>this.data().filter(e=>this.searchQuery()?.length>0?e.label.toLowerCase().includes(this.searchQuery()):!0).filter(e=>this.verifiedUser()?e.verified:!0)),this.setFilterData=e=>{this.verifiedUser.set(e)}}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=W(r)))(t||r)}})()}static{this.\u0275cmp=M({type:r,selectors:[["search-filter-user"]],inputs:{verifiedUser:[1,"verifiedUser"]},outputs:{verifiedUser:"verifiedUserChange"},features:[R],decls:27,vars:24,consts:[[3,"size","type","color","icon","iconPos","label"],[2,"width","372px"],[1,"px-4"],[1,"pt-overlays-dropdowns-header-spacing-y","flex","flex-col"],[1,"border-components-card-border-color","shadow-dropshadow-sm","flex","justify-between","gap-3","rounded-2xl","border","p-3"],["src","/icons/system/verified.svg","alt","",1,"h-[40px]","w-[40px]"],[1,"flex","items-center"],[1,"flex","flex-col","gap-1","text-sm"],[1,"typo-base-semibold","text-components-card-title-color"],["href","#"],[3,"checkedChange","checked","ariaLabel"],[1,"py-overlays-dropdowns-divider-spacing"],[3,"selected","items"],[1,"grid-cols-full","py-overlays-dropdowns-divider-spacing","grid"],["fluid","",3,"valueChange","value","placeholder","ariaLabel","icon","size","shape"],[1,"flex","max-h-[50dvh]","flex-col","overflow-y-auto"],["group","users","fluid","",3,"label","data","value","reversed","count"],["group","users","fluid","",3,"valueChange","label","data","value","reversed","count"],["size","extrasmall","shape","circular","leadingIcon","",3,"image","label","ariaLabel","verified"],[3,"selectedChange","selected","items"]],template:function(i,t){if(i&1&&(s(0,"ui-menu-button",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"ui-search-filter-header"),v(5),m(6,"translate"),o(),s(7,"div",4)(8,"div"),N(9,"
9img",5),o(),s(10,"div",6)(11,"div",7)(12,"div",8),v(13),m(14,"translate"),o(),s(15,"div"),v(16),m(17,"translate"),s(18,"a",9),v(19),m(20,"translate"),o()()(),s(21,"div")(22,"ui-toggle",10),m(23,"translate"),S("checkedChange",function(l){return b(t.verifiedUser,l)||(t.verifiedUser=l),l}),o()()()(),T(24,xt,10,13)(25,Tt,1,0,"div",11),o()(),T(26,wt,1,2,"ui-search-filter-footer",12),o()()),i&2){let n;c("size","small")("type",t.filterLabelType())("color",t.filterLabelColor())("icon","ph ph-caret-down")("iconPos","right")("label",t.filterLabel()),a(5),F(g(6,14,"search.filters.users.verifiedHeader")),a(8),F(g(14,16,"search.filters.users.verifiedOnlyTitle")),a(3),J(" ",g(17,18,"search.filters.users.verifiedOnlyDescription")," "),a(3),F(g(20,20,"search.filters.users.learnMore")),a(3),C("checked",t.verifiedUser),c("ariaLabel",g(23,22,"search.filters.users.verifiedOnlyTitle")),a(2),w(((n=t.data())==null?null:n.length)>0||t.searchQuery()?24:25),a(2),w(t.itemsSelected().length>0?26:-1)}},dependencies:[Z,B,U,Ue,Q,le,z,de,ce,Oe,O,A,V],styles:[`[_nghost-%COMP%]{display:inline-flex} 10 11/*# sourceMappingURL=search-filter-user.component-TRCXDT2S.css.map */`]})}}return r})();var te=()=>[];function Mt(r,d){if(r&1){let e=y();s(0,"ui-button",7),x("click",function(){f(e);let t=p();return _(t.resetFilter())}),o()}}var et=(()=>{class r{constructor(){this.data=h(),this.label=h(),this.ariaLabel=h(),this.disabled=h(!1),this.selection=ae(),this.categoryTree=h([]),this.selectedGeos=h([]),this.isFilterActive=u(()=>{let{regions:e,tags:i,categories:t,dates:n,users:l,sources:I,chartTypes:K,groupedTypes:ie,verified:ue}=this.selection();return e.length>0||i.length>0||t.length>0||n.from||n.to||n.live||n.type!=="all"||l.length>0||I.length>0||K.length>0||ie.length>0||ue})}updateFilter(e,i){this.selection.update(t=>P(E({},t),{[e]:i}))}updateDates(e){this.selection.update(i=>P(E({},i),{dates:e}))}resetFilter(){this.selection.set({regions:[],tags:[],categories:[],dates:{type:"all",from:void 0,to:void 0,live:!1},users:[],sources:[],chartTypes:[],groupedTypes:[],verified:!1})}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275cmp=M({type:r,selectors:[["search-nav"]],inputs:{data:[1,"data"],label:[1,"label"],ariaLabel:[1,"ariaLabel"],disabled:[1,"disabled"],selection:[1,"selection"],categoryTree:[1,"categoryTree"],selectedGeos:[1,"selectedGeos"]},outputs:{selection:"selectionChange"},decls:10,vars:25,consts:[[1,"flex","w-full","flex-wrap","justify-between","gap-2"],[1,"flex","gap-2","overflow-auto"],[3,"selectedChange","data","selected","selectedGeos"],[3,"selectedChange","data","selected"],[3,"selectedChange","selected","data","categoryTree"],[3,"selectedChange","verifiedUserChange","data","selected","verifiedUser"],["size","small","type","ghost","color","blue","leadingIcon","ph ph-funnel-x","label","search.filters.reset"],["size","small","type","ghost","color","blue","leadingIcon","ph ph-funnel-x","label","search.filters.reset",3,"click"]],template:function(i,t){if(i&1&&(s(0,"div",0)(1,"div",1)(2,"search-filter-regions",2),x("selectedChange",function(l){return t.updateFilter("regions",l)}),o(),s(3,"search-filter-tags",3),x("selectedChange",function(l){return t.updateFilter("tags",l)}),o(),s(4,"search-filter-categories",4),x("selectedChange",function(l){return t.updateFilter("categories",l)}),o(),s(5,"search-filter-date",3),x("selectedChange",function(l){return t.updateDates(l)}),o(),s(6,"search-filter-user",5),x("selectedChange",function(l){return t.updateFilter("users",l)})("verifiedUserChange",function(l){return t.updateFilter("verified",l)}),o(),s(7,"search-filter-source",3),x("selectedChange",function(l){return t.updateFilter("sources",l)}),o(),s(8,"search-filter-grouped-type",3),x("selectedChange",function(l){return t.updateFilter("groupedTypes",l)}),o()(),T(9,Mt,1,0,"ui-button",6),o()),i&2){let n,l,I,K,ie,ue,be;a(2),c("data",((n=t.data())==null?null:n.regions)||Y(18,te))("selected",t.selection().regions)("selectedGeos",t.selectedGeos()),a(),c("data",((l=t.data())==null?null:l.tags)||Y(19,te))("selected",t.selection().tags),a(),c("selected",t.selection().categories)("data",((I=t.data())==null?null:I.categories)||Y(20,te))("categoryTree",t.categoryTree()),a(),c("data",((K=t.data())==null?null:K.dates)||Y(21,te))("selected",t.selection().dates),a(),c("data",((ie
11=t.data())==null?null:ie.users)||Y(22,te))("selected",t.selection().users)("verifiedUser",t.selection().verified),a(),c("data",((ue=t.data())==null?null:ue.sources)||Y(23,te))("selected",t.selection().sources),a(),c("data",((be=t.data())==null?null:be.groupedTypes)||Y(24,te))("selected",t.selection().groupedTypes),a(),w(t.isFilterActive()?9:-1)}},dependencies:[U,Q,Je,$e,Xe,Ge,ze,Ze,Ye,he],styles:[`[_nghost-%COMP%]{display:inline-flex} 12 13/*# sourceMappingURL=search-nav.component-HAWQEHV4.css.map */`]})}}return r})();var Ft=(r,d)=>d.id;function Lt(r,d){if(r&1){let e=y();s(0,"ui-radio",5),m(1,"translate"),m(2,"translate"),x("ngModelChange",function(){f(e),p();let t=we(1);return _(t.close())}),S("ngModelChange",function(t){f(e);let n=p();return b(n.selectedValue,t)||(n.selectedValue=t),_(t)}),o()}if(r&2){let e=d.$implicit,i=p();c("name","sort"),C("ngModel",i.selectedValue),c("value",e.id)("label",g(1,5,e.labelKey))("description",g(2,7,e.descriptionKey))}}var tt=(()=>{class r{constructor(){this.selectedValue=ae("relevance"),this.sortOptions=[{id:"relevance",labelKey:"search.sort.relevance.label",descriptionKey:"search.sort.relevance.description"},{id:"latest_updated",labelKey:"search.sort.latestUpdated.label",descriptionKey:"search.sort.latestUpdated.description"},{id:"latest_created",labelKey:"search.sort.latestCreated.label",descriptionKey:"search.sort.latestCreated.description"},{id:"trending",labelKey:"search.sort.trending.label",descriptionKey:"search.sort.trending.description"},{id:"oldest",labelKey:"search.sort.oldest.label",descriptionKey:"search.sort.oldest.description"}],this.label=u(()=>this.sortOptions.find(e=>e.id===this.selectedValue())?.labelKey??"search.sort.relevance.label")}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275cmp=M({type:r,selectors:[["ui-sort-popup"]],inputs:{selectedValue:[1,"selectedValue"]},outputs:{selectedValue:"selectedValueChange"},decls:7,vars:6,consts:[["menuButton",""],["type","ghost","color","dark",3,"icon","iconPos","label"],[2,"width","281px"],["role","radiogroup",1,"grid-cols-full","gap-1-5","grid","p-2"],["type","input","fluid","","trailingIcon","ph ph-check",3,"name","ngModel","value","label","description"],["type","input","fluid","","trailingIcon","ph ph-check",3,"ngModelChange","name","ngModel","value","label","description"]],template:function(i,t){i&1&&(s(0,"ui-menu-button",1,0)(2,"div",2)(3,"div",3),m(4,"translate"),L(5,Lt,3,9,"ui-radio",4,Ft),o()()()),i&2&&(c("icon","ph ph-arrows-down-up")("iconPos","right")("label",t.label()),a(3),Te("aria-label",g(4,4,"search.sort.label")),a(2),D(t.sortOptions))},dependencies:[B,qe,V],encapsulation:2})}}return r})();var Dt=(r,d)=>d.labelKey;function Vt(r,d){if(r&1&&($(0,"span"),v(1),j()),r&2){let e=p();a(),F(e.headline().query)}}function Et(r,d){r&1&&($(0,"span",4),v(1,"\xB7"),j())}function Nt(r,d){if(r&1&&($(0,"span",2)(1,"span",3),v(2),j(),v(3),j(),T(4,Et,2,0,"span",4)),r&2){let e=d.$implicit,i=d.$index,t=d.$count;a(2),J("",e.label,":"),a(),J(" ",e.values," "),a(),w(i!==t-1?4:-1)}}function Bt(r,d){if(r&1&&($(0,"p",1),L(1,Nt,5,3,null,null,Dt),j()),r&2){let e=p();a(),D(e.filterSummary())}}var ve="\0",Ce=3,it=(()=>{class r{constructor(){this.languageService=k(se),this.translateService=k(Ee),this.query=h(),this.geoLabels=h([]),this.activeFilters=h([]),this.headline=u(()=>{let e=this.activeQuery(),i=this.geoSuffix();if(!e)return{before:this.translate("search.title.all"),query:"",after:i};let t=this.translate("search.title.query",{query:ve}),n=t.indexOf(ve);return n<0?{before:this.translate("search.title.query",{query:e}),query:"",after:i}:{before:t.slice(0,n),query:e,after:t.slice(n+ve.length)+i}}),this.filterSummary=u(()=>{let e=this.unitFormatter();return this.activeFilters().filter(i=>i.values.length>0).map(i=>({labelKey:i.labelKey,label:this.translate(i.labelKey),values:this.formatList(i.values.map(t=>this.translate(t)),e)}))}),this.activeQuery=u(()=>{let e=this.query()?.trim()??"";return e==="*"?"":e}),this.geoSuffix=u(()=>{let e=this.geoLabels();return e.length===0?"":` ${this.translate("search.title.in")} ${this.formatList(e,this.conjunctionFormatter())}`}),this.conjunctionFormatter=u(()=>new Intl.ListFormat(this.currentLang(),{style:"long",type:"conjunction"})),this.unitFormatter=u(()=>new Intl.ListFormat(this.currentLang(),{style:"narrow",type:"unit"})),this.currentLang=ee(this.languageService.currentLang$,{initialValue:this.languageService.currentLang}),this.translationsChange=ee(Se(this.translateService.onLangChange,this.translateService.onTranslationChange).pipe(xe(null)))}formatList(e,i){if(e.length<=Ce)return i.format(e);let t=e.slice(0,Ce);return`${i.format(t)} + ${e.length-Ce}`}translate(e,i){this.translationsChange(),this.currentLang();let t=this.translateService.instant(e,i);return typeof t=="string"?t:e}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275cmp=M({type:r,selectors:[["search-title"]],inputs:{query:[1,"query"],geoLabels:[1,"geoLabels"],activeFilters:[1,"activeFilters"]},decls:7,vars:4,consts:[[1,"typo-2xl-bold","lg:typo-3xl-bold","text-primary-color","min-w-0","wrap-break-word"],[1,"typo-sm-regular","text-secondary-color","m-0","flex","min-w-0","flex-wrap","items-baseline","gap-x-2","gap-y-1"],[1,"min-w-0"],[1,"typo-sm-semibold","text-primary-color"],["aria-hidden","true"]],template:function(i,t){i&1&&($(0,"h1",0)(1,"span"),v(2),j(),T(3,Vt,2,1,"span"),$(4,"span"),v(5),j()(),T(6,Bt,3,0,"p",1)),i&2&&(a(2),F(t.headline().before),a(),w(t.headline().query?3:-1),a(2),F(t.headline().after),a(),w(t.filterSummary().length?6:-1))},styles:[`[_nghost-%COMP%]{display:flex;min-width:var(--spacing-0, 0);flex-direction:column;gap:var(--spacing-1, .25rem)} 14 15/*# sourceMappingURL=search-title.component-3RA7DYTY.css.map */`]})}}return r})();var Pt=r=>({count:r});function kt(r,d){if(r&1){let e=y();s(0,"ui-sort-popup",9),S("selectedValueChange",function(t){f(e);let n=p();return b(n.sortValue,t)||(n.sortValue=t),_(t)}),x("selectedValueChange",function(){f(e);let t=p();return t.pageValue.set(1),_(t.updateFilter(t.filterSelection()))}),o()}if(r&2){let e=p();C("selectedValue",e.sortValue)}}function It(r,d){if(r&1){let e=y();s(0,"div",8)(1,"ui-search-pagination",10),S("currentChange",function(t){f(e);let n=p();return b(n.pageValue,t)||(n.pageValue=t),_(t)}),x("currentChange",function(){f(e);let t=p();return _(t.updateFilter(t.filterSelection()))}),o()()}if(r&2){let e=p();a(),C("current",e.pageValue),c("pages",e.pageCount())}}var Wt="de",rt="MM-yyyy",Yr=(()=>
15{class r{constructor(){this.router=k(Ve),this.route=k(De),this.globalService=k(Be),this.languageService=k(se),this.searchInputService=k(je),this.query=h(),this.searchResults=h(),this.menueItemsList=h([]),this.selectedGeoItems=h([],{alias:"geoItems"}),this.regions=h([],{alias:"reg"}),this.tags=h([],{alias:"tag"}),this.categories=h([],{alias:"cat"}),this.users=h([],{alias:"usr"}),this.sources=h([],{alias:"src"}),this.chartTypes=h([],{alias:"type"}),this.groupedTypes=h([],{alias:"grp"}),this.from=h(""),this.to=h(""),this.live=h(!1,{transform:Fe}),this.dateRange=h(void 0,{alias:"range"}),this.sort=h("",{alias:"s"}),this.page=h(H.page,{alias:"p",transform:fe}),this.limit=h(H.per_page,{alias:"l",transform:fe}),this.verified=h(10,{alias:"verified"}),this.pageValue=pe(()=>this.page()??H.page),this.limitValue=pe(()=>this.limit()??H.per_page),this.sortValue=pe(()=>this.sort()??"relevance"),this.filterSelection=pe(()=>({regions:this.parseQuery(this.regions()),tags:this.parseQuery(this.tags()),categories:this.parseQuery(this.categories()),dates:this.dates()??{type:"all",from:void 0,to:void 0,live:!1},users:this.parseQuery(this.users()),sources:this.parseQuery(this.sources()),chartTypes:this.parseQuery(this.chartTypes()),groupedTypes:this.parseQuery(this.groupedTypes()),page:this.page()??H.page,limit:this.limit()??10,sort:this.sort(),verified:!!this.verified()})),this.isNavigating=this.globalService.isQueryNavigating,this.pageSize=u(()=>Math.max(1,Math.floor(Number(this.limitValue()))||H.per_page)),this.pageCount=u(()=>{let e=this.searchResults().found;return Math.max(1,Math.ceil(e/this.pageSize()))}),this.categoryTree=u(()=>this.menueItemsList().find(i=>i.id==="categories")?.items??[]),this.items=u(()=>this.searchResults().hits.map(i=>Ie(i.document))),this.dates=u(()=>{let e=this.dateRange()??"all",i=this.from(),t=this.to(),n=!!this.live();return{from:i,to:t,live:n,type:e}}),this.geoLabels=u(()=>He(this.selectedGeoItems(),this.currentLang())),this.activeFilters=u(()=>[{labelKey:"search.filters.categories.label",values:this.selectedCategoryLabels()},{labelKey:"search.filters.tags.label",values:this.parseQuery(this.tags())},{labelKey:"search.filters.users.label",values:this.selectedUserLabels()},{labelKey:"search.filters.sources.label",values:this.parseQuery(this.sources())},{labelKey:"search.filters.chartTypes.label",values:this.selectedTypeLabelKeys()},{labelKey:"search.filters.date.label",values:this.selectedDateLabels()}].filter(e=>e.values.length>0)),this.selectedUserLabels=u(()=>{let e=this.filterData().users??[];return this.parseQuery(this.users()).map(i=>e.find(t=>t.id===i)?.label??i)}),this.selectedCategoryLabels=u(()=>{let e=this.currentLang(),i=this.categoryTree().flatMap(t=>[t,...t.items??[]]);return this.parseQuery(this.categories()).map(t=>{let n=i.find(I=>I.label===t);if(!n)return t;let l={label:n.label,language:n.language??Wt,i18n:n.i18n};return me(l,e,"label")??n.label??t})}),this.selectedTypeLabelKeys=u(()=>{let e=this.parseQuery(this.chartTypes()),i=this.parseQuery(this.groupedTypes());return[...Ne.filter(t=>e.includes(t.value)).map(t=>t.label),...ye.filter(t=>i.includes(t.id)).map(t=>t.label)]}),this.selectedDateLabels=u(()=>{let{type:e,from:i,to:t,live:n}=this.dates(),l=[];return e==="month"&&l.push("search.filters.date.lastMonth"),e==="year"&&l.push("search.filters.date.lastYear"),e==="custom"&&i&&t&&l.push(`${_e(new Date(i),rt)} \u2013 ${_e(new Date(t),rt)}`),n&&l.push("search.filters.date.liveBadge"),l}),this.filterData=u(()=>{let e=this.searchResults();return{tags:this.facetCounts(e,"tags"),categories:[...this.facetCounts(e,"categories"),...this.facetCounts(e,"subcategories")],charts:this.facetCounts(e,"chartType"),groupedTypes:this.facetCounts(e,"groupedType"),users:this.userFacet(e),regions:[...this.facetCounts(e,"lvl0Geo"),...this.facetCounts(e,"lvl1Geo"),...this.facetCounts(e,"lvl2Geo"),...this.facetCounts(e,"lvl4Geo"),...this.facetCounts(e,"lvl5Geo")],sources:this.facetCounts(e,"dataSource")}}),this.currentLang=ee(this.languageService.currentLang$,{initialValue:this.languageService.currentLang})}ngOnDestroy(){this.searchInputService.reset()}updateFilter(e){this.router.navigate([],{relativeTo:this.route,queryParams:this.mapRouteParam
15s(e),queryParamsHandling:"merge"})}parseQuery(e){return typeof e=="string"?[e]:e??[]}facetCounts(e,i){return e.facet_counts?.find(t=>t.field_name===i)?.counts?.map(t=>({label:t.value,hits:+t.count,id:t.value}))}userFacet(e){let i=e.facet_counts?.find(n=>n.field_name==="userComposite")?.counts;if(!i)return;let t=new Set;return i.flatMap(n=>{let[l,I,K,ie]=n.value.split("|");return!K||t.has(l)?[]:(t.add(l),[{label:I,hits:+n.count,id:l,logo:K,verified:ie==="true"}])})}mapRouteParams(e){let{dates:i}=e,t={range:i.type!=="all"?i.type:void 0,from:i.from,to:i.to,live:i.live||void 0};return P(E({},t),{reg:e.regions??[],tag:e.tags??[],cat:e.categories??[],usr:e.users??[],type:e.chartTypes??[],grp:e.groupedTypes??[],verified:e.verified||void 0,src:e.sources??[],p:this.pageValue()!==H.page?this.pageValue():void 0,l:this.pageSize()!==H.per_page?this.pageSize():void 0,s:this.sortValue()!=="relevance"?this.sortValue():void 0})}static{this.\u0275fac=function(i){return new(i||r)}}static{this.\u0275cmp=M({type:r,selectors:[["page-search"]],hostAttrs:[1,"wrapper-980"],inputs:{query:[1,"query"],searchResults:[1,"searchResults"],menueItemsList:[1,"menueItemsList"],selectedGeoItems:[1,"geoItems","selectedGeoItems"],regions:[1,"reg","regions"],tags:[1,"tag","tags"],categories:[1,"cat","categories"],users:[1,"usr","users"],sources:[1,"src","sources"],chartTypes:[1,"type","chartTypes"],groupedTypes:[1,"grp","groupedTypes"],from:[1,"from"],to:[1,"to"],live:[1,"live"],dateRange:[1,"range","dateRange"],sort:[1,"s","sort"],page:[1,"p","page"],limit:[1,"l","limit"],verified:[1,"verified"]},decls:12,vars:19,consts:[[1,""],[1,"top-header","bg-background-body","sticky","z-10","w-full","rounded","pb-2",3,"selectionChange","selection","data","categoryTree","selectedGeos"],[1,"flex","flex-wrap","items-start","justify-between","gap-4","py-4"],[1,"flex","min-w-0","flex-1","flex-col","gap-3"],[3,"query","geoLabels","activeFilters"],["role","status","aria-live","polite","aria-atomic","true",1,"typo-xs-medium","text-secondary-color"],[1,"shrink-0",3,"selectedValue"],[3,"searchResults","limit"],[1,"bg-background-body","sticky","bottom-0","z-10","flex","justify-center","rounded"],[1,"shrink-0",3,"selectedValueChange","selectedValue"],[3,"currentChange","current","pages"]],template:function(i,t){i&1&&(s(0,"div",0)(1,"search-nav",1),x("selectionChange",function(l){return t.pageValue.set(1),t.updateFilter(l)}),o(),s(2,"header",2)(3,"div",3),N(4,"search-title",4),s(5,"span",5),v(6),m(7,"number"),m(8,"translate"),o()(),T(9,kt,1,1,"ui-sort-popup",6),o(),N(10,"ui-search-results",7),T(11,It,2,2,"div",8),o()),i&2&&(a(),c("selection",t.filterSelection())("data",t.filterData())("categoryTree",t.categoryTree())("selectedGeos",t.selectedGeoItems()),a(3),c("query",t.query())("geoLabels",t.geoLabels())("activeFilters",t.activeFilters()),a(2),J(" ",ne(8,14,"search.results.count",re(17,Pt,g(7,12,t.searchResults().found)))," "),a(3),w(t.searchResults().found>0?9:-1),a(),c("searchResults",t.items())("limit",t.pageSize()),a(),w(t.searchResults().found>0?11:-1))},dependencies:[Le,et,Ae,We,Pe,Re,tt,Ke,it,oe,V],styles:[`[_nghost-%COMP%]{display:block;width:100%} 16 17/*# sourceMappingURL=search.component-VT6HYNHZ.css.map */`]})}}return r})();export{Yr as default}; 18//# sourceMappingURL=search.component-GWLHTBIU.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.