PageSourceSearch

https://library.skillscommons.org/2816.2f599433a1f06ce2.js

js skillscommons.org collected 2026-10-02 05:25:09 UTC 3,316 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[2816],{82816:(b,c,l)=>{l.r(c),l.d(c,{SearchFiltersComponent:()=>D});var h=l(60177),d=l(7901),_=l(68018),u=l(72234),p=l(40473),m=l(50553),f=l(96222),C=l(99719),e=l(54438);const E=(t,s)=>s.name,g=t=>[t];function F(t,s){if(1&t&&(e.j41(0,"h3"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&t){const n=e.XpG();e.R7$(),e.JRh(e.bMT(2,1,n.filterLabel+".filters.head"))}}function M(t,s){if(1&t&&(e.j41(0,"h2"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&t){const n=e.XpG();e.R7$(),e.JRh(e.bMT(2,1,n.filterLabel+".filters.head"))}}function P(t,s){if(1&t){const n=e.RV6();e.j41(0,"ds-search-filter",4),e.bIt("isVisibilityComputed",function(r){e.eBV(n);const i=e.XpG(2);return e.Njj(i.countFiltersWithComputedVisibility(r))}),e.k0s()}if(2&t){const n=s.$implicit,a=e.XpG(2);e.Y8G("scope",a.currentScope)("filter",n)("inPlaceSearch",a.inPlaceSearch)("refreshFilters",a.refreshFilters)}}function y(t,s){if(1&t&&(e.j41(0,"div"),e.nI1(1,"async"),e.Z7z(2,P,1,4,"ds-search-filter",3,E),e.nI1(4,"async"),e.k0s()),2&t){let n,a;const r=e.XpG();e.AVh("visually-hidden",r.getCurrentFiltersComputed(r.currentConfiguration)<(null==(n=e.bMT(1,2,r.filters))||null==n.payload?null:n.payload.length)),e.R7$(2),e.Dyx(null==(a=e.bMT(4,4,r.filters))?null:a.payload)}}function T(t,s){if(1&t&&e.nrm(0,"ngx-skeleton-loader",1),2&t){const n=e.XpG();e.Y8G("count",n.defaultFilterCount)}}function v(t,s){if(1&t){const n=e.RV6();e.j41(0,"button",5),e.nI1(1,"async"),e.bIt("click",function(){e.eBV(n);const r=e.XpG();return e.Njj(r.minimizeFilters())}),e.nrm(2,"i",6),e.EFF(3),e.nI1(4,"translate"),e.k0s()}if(2&t){const n=e.XpG();e.Y8G("routerLink",e.eq3(7,g,n.searchLink))("queryParams",e.bMT(1,3,n.clearParams)),e.R7$(3),e.SpI(" ",e.bMT(4,5,"search.filters.reset")," ")}}let D=(()=>{class t extends C.SearchFiltersComponent{static{this.\u0275fac=(()=>{let n;return function(r){return(n||(n=e.xGo(t)))(r||t)}})()}static{this.\u0275cmp=e.VBU({type:t,selectors:[["ds-themed-search-filters"]],standalone:!0,features:[e.Jv_([{provide:m.EN,useClass:p.g}]),e.Vt3,e.aNF],decls:7,vars:8,consts:[[3,"visually-hidden"],[3,"count"],["queryParamsHandling","merge","role","button",1,"btn","btn-primary",3,"routerLink","queryParams"],[3,"scope","filter","inPlaceSearch","refreshFilters"],[3,"isVisibilityComputed","scope","filter","inPlaceSearch","refreshFilters"],["queryParamsHandling","merge","role","button",1,"btn","btn-primary",3,"click","routerLink","queryParams"],[1,"fas","fa-undo"]],template:function(a,r){if(1&a&&(e.DNE(0,F,3,3,"h3")(1,M,3,3,"h2")(2,y,5,6,"div",0),e.nI1(3,"async"),e.DNE(4,T,1,1,"ngx-skeleton-loader",1),e.nI1(5,"async"),e.DNE(6,v,5,9,"button",2)),2&a){let i,o;e.vxM(r.inPlaceSearch?0:1),e.R7$(2),e.vxM(null!=(i=e.bMT(3,4,r.filters))&&i.hasSucceeded?2:-1),e.R7$(2),e.vxM(r.getCurrentFiltersComputed(r.currentConfiguration)<(null==(o=e.bMT(5,6,r.filters))||null==o.payload?null:o.payload.length)?4:-1),e.R7$(2),e.vxM(r.inPlaceSearch?6:-1)}},dependencies:[h.Jj,u.Yq,u.Zm,d.Wk,f.a,_.h,_.D9],styles:["[_nghost-%COMP%]     ngx-skeleton-loader .skeleton-loader{height:var(--ds-filters-skeleton-height);margin-bottom:var(--ds-filters-skeleton-spacing);padding:var(--ds-filters-skeleton-spacing);background-color:var(--bs-light);box-shadow:none}"]})}}return t})()}}]);

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.