PageSourceSearch

https://anton.in.ua/assets/webpack/commons-pages.admin.groups.inde…ndex-pages.dashb-6a77819a.f9ac62e5.chunk.js

js anton.in.ua collected 2026-10-06 07:02:34 UTC 27,252 bytes, 2 lines download raw bytes

1(this.webpackJsonp=this.webpackJsonp||[]).push([["commons-pages.admin.groups.index-pages.admin.projects.index-pages.dashboard.groups.index-pages.dashb-6a77819a"],{"1TR3":function(e,t,s){"use strict";var i=s("ho4C"),r={name:"GlListboxGroup",props:{name:{type:String,required:!0},textSrOnly:{type:Boolean,required:!1,default:!1}},created(){this.nameId=Object(i.a)("gl-listbox-group-")}},n=s("tBpV"),l=Object(n.a)(r,(function(){var e=this,t=e._self._c;return t("ul",{staticClass:"gl-mb-0 gl-pl-0",attrs:{role:"group","aria-labelledby":e.nameId}},[t("li",{staticClass:"gl-pb-2 gl-pl-4 gl-pt-3 gl-text-sm gl-font-bold gl-text-strong",class:{"gl-sr-only":e.textSrOnly},attrs:{id:e.nameId,role:"presentation"}},[e._t("group-label",(function(){return[e._v(e._s(e.name))]}))],2),e._v(" "),e._t("default")],2)}),[],!1,null,null,null);t.a=l.exports},"93nq":function(e,t,s){"use strict";s("IdsT"),s("z4I3"),s("Tznw"),s("IYH6"),s("6yen"),s("OeRx"),s("l/dT"),s("RqS2"),s("Zy7a"),s("cjZU"),s("OAhk"),s("X42P"),s("mHhP"),s("fn0I"),s("UB/6"),s("imhG"),s("orcL"),s("B++/"),s("z6RN"),s("47t/"),s("7Ong"),s("UezY"),s("hG7+"),s("3UXl"),s("iyoE"),s("v2fZ"),s("TPye"),s("aFm2"),s("R9qC"),s("bvNv"),s("ZzK0"),s("BzOf");var i=s("ho4C"),r=s("dLPT"),n=s("RqKJ"),l=s("mpVB"),o=s("RK7s"),a=s("q3oM"),d=s("CbCZ"),c=s("NnjE"),u=s("gFTu"),h=s("1I5c"),p=s("b1NL"),g=s("4qOP"),b=s("vx36"),f=s("7e18"),m=s("d85j");function y(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,i)}return s}function v(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?y(Object(s),!0).forEach((function(t){x(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):y(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}function x(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var i=s.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var I={name:"GlListboxSearchInput",components:{GlClearIconButton:f.a,GlIcon:m.a},inheritAttrs:!1,model:{prop:"value",event:"input"},props:{value:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:"Search"}},computed:{hasValue(){return Boolean(this.value.length)},inputListeners(){var e=this;return v(v({},this.$listeners),{},{input:function(t){e.$emit("input",t.target.value)}})}},methods:{clearInput(){this.$emit("input",""),this.focusInput()},focusInput(){this.$refs.input.focus()}}},S=s("tBpV"),O=Object(S.a)(I,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"gl-listbox-search"},[t("gl-icon",{staticClass:"gl-listbox-search-icon",attrs:{name:"search-sm",size:12}}),e._v(" "),t("input",e._g(e._b({ref:"input",staticClass:"gl-listbox-search-input",attrs:{type:"search","aria-label":e.placeholder,placeholder:e.placeholder},domProps:{value:e.value}},"input",e.$attrs,!1),e.inputListeners)),e._v(" "),e.hasValue?t("gl-clear-icon-button",{staticClass:"gl-listbox-search-clear-button",on:{click:function(t){return t.stopPropagation(),e.clearInput.apply(null,arguments)}}}):e._e()],1)}),[],!1,null,null,null).exports,_=s("1TR3"),w=s("Mb0h");function C(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,i)}return s}function B(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var i=s.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}const T=Symbol("null-key"),j=["gl-border-t-1","gl-border-t-solid","gl-border-t-dropdown-divider","gl-pt-1","gl-mt-2"];var L={name:"GlCollapsibleListbox",HEADER_ITEMS_BORDER_CLASSES:["gl-border-b-1","gl-border-b-solid","gl-border-b-dropdown-divider"],events:{GL_DROPDOWN_SHOWN:o.i,GL_DROPDOWN_HIDDEN:o.h,GL_DROPDOWN_FOCUS_CONTENT:o.g},components:{GlBaseDropdown:p.a,GlListboxItem:b.a,GlListboxGroup:_.a,GlButton:d.a,GlSearchBoxByType:h.a,GlListboxSearchInput:O,GlLoadingIcon:c.a,GlIntersectionObserver:u.a},inject:{getFormGroupInstance:{default:function(){return function(){}}}},model:{prop:"selected",event:"select"},props:{items:{type:Array,required:!1,default:function(){return[]},validator:w.c},selected:{type:[Array,String,Number,null],required:!1,default:function(){return[]}},multiple:{type:Boolean,required:!1,default:!1},toggleText:{type:String,required:!1,default:""},textSrOnly:{type:Boolean,required:!1,default:!1},headerText:{type:String,required:!1,default:""},category:{type:String,required:!1,default:a.q.primary,validator:function(e){return e in a.q}},variant:{type:String,required:!1,default:a.z.default,validator:function(e){return e in a.z}},size:{type:String,required:!1,default:"medium",validator:function(e){return e in a.r}},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},state:{type:Boolean,required:!1,default:null},loading:{type:Boolean,required:!1,default:!1},toggleClass:{type:[String,Array,Object],required:!1,default:null},noCaret:{type:Boolean,required:!1,default:!1},placement:{type:String,required:!1,default:"bottom-start",validator:function(e){return Object.keys(a.y).includes(e)}},isCheckCentered:{type:Boolean,required:!1,default:!1},toggleId:{type:String,required:!1,default:null},toggleAriaLabelledBy:{type:String,required:!1,default:null},listAriaLabelledBy:{type:String,required:!1,default:null},searchable:{type:Boolean,required:!1,default:!1},searching:{type:Boolean,required:!1,default:!1},infiniteScroll:{type:Boolean,required:!1,default:!1},totalItems:{type:Number,required:!1,default:null},infiniteScrollLoading:{type:Boolean,required:!1,default:!1},noResultsText:{type:String,required:!1,default:"No results found"},searchPlaceholder:{type:String,required:!1,default:"Search"},resetButtonLabel:{type:String,required:!1,default:""},showSelectAllButtonLabel:{type:String,required:!1,default:""},block:{type:Boolean,required:!1,default:!1},dropdownOffset:{type:[Number,Object],required:!1,default:void 0},fluidWidth:{type:Boolean,required:!1,default:!1},panelMatchTriggerWidth:{type:Boolean,required:!1,default:!1},positioningStrategy:{type:String,required:!1,default:o.l,validator:function(e){return[o.l,o.m].includes(e)}},startOpened:{type:Boolean,required:!1,default:!1},srOnlyResultsLabel:{type:Function,required:!1,default:Object(g.c)("GlCollapsibleListbox.srOnlyResultsLabel","%d result","%d results")}},data:()=>({selectedValues:[],listboxId:Object(i.a)("listbox-"),searchInputId:Object(i.a)("listbox-search-input-"),nextFocusedItemIndex:null,searchStr:"",topBoundaryVisible:!0,bottomBoundaryVisible:!0,activeItemId:null,itemIds:new Map}),computed:{listboxAriaLabelledByID(){return this.headerId&&this.searchable?""+this.headerId:this.searchable?this.searchInputId:this.isInFormGroup?this.listboxIdComputed:this.listAriaLabelledBy||this.headerId||this.toggleIdComputed},isInFormGroup(){return Boolean(this.getFormGroupInstance())},toggleIdComputed(){return this.toggleId||Object(i.a)("dropdown-toggle-btn-")},listboxIdComputed(){if(this.isInFormGroup)return this.listAriaLabelledBy?this.listAriaLabelledBy:this.toggleId?this.toggleId+"-span":Object(i.a)("dropdown-toggle-span-")},listboxTag(){return!this.hasItems||Object(w.b)(this.items[0])?"ul":"div"},listboxClasses(){return{"top-scrim-visible":!this.topBoundaryVisible,"bottom-scrim-visible":!this.bottomBoundaryVisible,[o.f]:!0}},itemTag(){return"ul"===this.listboxTag?"li":"div"},flattenedOptions(){return Object(w.a)(this.items)},searchHasOptions(){return this.flattenedOptions.length>0&&this.searchStr},hasItems(){return this.items.length>0},listboxToggleText(){var e,t=this;return this.toggleText?this.toggleText:!this.multiple&&this.selectedValues.length?null===(e=this.flattenedOptions.find((function({value:e}){return e===t.selectedValues[0]})))||void 0===e?void 0:e.text:""},selectedIndices(){var e=this;return this.selectedValues.map((function(t){return e.flattenedOptions.findIndex((function({value:e}){return e===t}))})).filter((function(e){return-1!==e})).sort()},showList(){return this.flattenedOptions.length&&!this.searching},showNoResultsText(){return!this.flattenedOptions.length&&!this.searching},announceSRSearchResults(){return this.searchable&&!this.showNoResultsText},headerId(){return this.headerText&&Object(i.a)("listbox-header-")},showResetButton(){return!!this.resetButtonLabel&&(!!this.hasItems&&(!(!this.selected||0===this.selected.length)&&!this.showSelectAllButton))},showSelectAllButton(){return!!this.showSelectAllButtonLabel&&(!!this.multiple&&(!!this.hasItems&&this.selected.length!==this.flattenedOptions.length))},showIntersectionObserver(){return this.infiniteScroll&&!this.infiniteScrollLoading&&!this.loading&&!this.searching},isBusy(){return this.infiniteScrollLoading||this.loading||this.searching},hasCustomToggle(){return Boolean(this.$scopedSlots.toggle)},hasSelection(){return Boolean(this.selectedValues.length)}
1,toggleButtonClasses(){const e=[this.toggleClass];return this.hasSelection||e.push("!gl-text-subtle"),e},hasHeader(){return this.headerText||this.searchable},hasFooter(){return Boolean(this.$scopedSlots.footer)},loadingAnnouncementText(){return this.infiniteScrollLoading?Object(g.b)("GlCollapsibleListbox.loadingAnnouncementText.loadingMoreItems","Loading more items"):this.searching?Object(g.b)("GlCollapsibleListbox.loadingAnnouncementText.searching","Searching"):this.loading?Object(g.b)("GlCollapsibleListbox.loadingAnnouncementText.loadingItems","Loading items"):""}},watch:function(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?C(Object(s),!0).forEach((function(t){B(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):C(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}({selected:{immediate:!0,handler(e,t){Array.isArray(e)?this.selectedValues=[...e]:this.selectedValues=[e],void 0===t||Object(r.a)(e,t)||this.$emit("change")}},items:{handler(){var e=this;this.$nextTick((function(){e.observeScroll(),e.searchHasOptions?e.nextFocusedItemIndex=e.getFirstEnabledIndex():e.nextFocusedItemIndex=null}))}}},{}),mounted(){this.startOpened&&this.open(),this.observeScroll()},beforeDestroy(){var e;null===(e=this.scrollObserver)||void 0===e||e.disconnect()},methods:{onFocusContent(e){e.preventDefault(),this.open()},open(){this.$refs.baseDropdown.open()},close(){this.$refs.baseDropdown.close()},groupClasses:e=>0===e?null:j,onShow(){if(this.searchable){if(this.focusSearchInput(),this.searchHasOptions){const e=this.getFirstEnabledIndex();this.nextFocusedItemIndex=e;const t=this.flattenedOptions[e];this.activeItemId=this.generateItemId(t)}}else{var e;const t=this.selectedIndices[0],s=void 0===t||null!==(e=this.flattenedOptions[t])&&void 0!==e&&e.disabled?this.getFirstEnabledIndex():t;this.focusItem(s,this.getFocusableListItemElements())}this.$emit(o.i)},onHide(e){this.$emit(o.h),this.nextFocusedItemIndex=null,this.$emit("blur",e)},getNextIndex(e,t,s){const i=t===o.b?-1:1;let r=e;for(let e=0;e<s;e+=1){var n;if(r+=i,r<0&&(r=s-1),r>=s&&(r=0),null===(n=this.flattenedOptions[r])||void 0===n||!n.disabled)return r}return e},getFirstEnabledIndex(){return this.flattenedOptions.findIndex((function(e){return!e.disabled}))},getLastEnabledIndex(){return this.flattenedOptions.findLastIndex((function(e){return!e.disabled}))},handleListNavigation(e,t){var s;const i=null!==(s=this.nextFocusedItemIndex)&&void 0!==s?s:-1,r=this.getNextIndex(i,e,t.length);this.focusItem(r,t,this.searchable)},onKeydown(e){const{code:t,target:s}=e,i=this.getFocusableListItemElements();if(i.length<1)return;const r=s.matches(".gl-listbox-search-input");let n=!0;switch(t){case o.j:!this.searchable&&r||this.focusItem(this.getFirstEnabledIndex(),i,this.searchable);break;case o.c:!this.searchable&&r||this.focusItem(this.getLastEnabledIndex(),i,this.searchable);break;case o.b:if(r&&!this.searchable)return;this.handleListNavigation(o.b,i);break;case o.a:r&&!this.searchable?this.focusItem(this.getFirstEnabledIndex(),i):this.handleListNavigation(o.a,i);break;case o.d:if(r){if(i.length>0&&null!==this.nextFocusedItemIndex){const e=this.flattenedOptions[this.nextFocusedItemIndex];null!=e&&e.disabled||this.onSelect(e,!this.isSelected(e))}}else n=!1;break;default:n=!1}n&&Object(l.k)(e)},getFocusableListItemElements(){var e;const t=null===(e=this.$refs.list)||void 0===e?void 0:e.querySelectorAll('[role="option"]');return Array.from(t||[])},focusNextItem(e,t,s){const{target:i}=e,r=t.indexOf(i),l=Object(n.a)(r+s,0,t.length-1);this.focusItem(l,t)},focusItem(e,t,s=!1){var i=this;this.nextFocusedItemIndex=e;const r=this.flattenedOptions[e];var n;(this.activeItemId=r?this.generateItemId(r):null,s)||(null===(n=t[e])||void 0===n||n.focus());this.$nextTick((function(){i.scrollActiveItemIntoView()}))},focusSearchInput(){this.$refs.searchBox.focusInput()},onSelect(e,t){this.multiple?this.onMultiSelect(e.value,t):this.onSingleSelect(e.value,t)},isHighlighted(e){return this.nextFocusedItemIndex===this.flattenedOptions.indexOf(e)},isSelected(e){return this.selectedValues.some((function(t){return t===e.value}))},isFocused(e){return this.nextFocusedItemIndex===this.flattenedOptions.indexOf(e)},isDisabled:e=>e.disabled,onSingleSelect(e,t){t&&this.$emit("select",e),this.closeAndFocus()},onMultiSelect(e,t){t?this.$emit("select",[...this.selectedValues,e]):this.$emit("select",this.selectedValues.filter((function(t){return t!==e})))},search(e){this.$emit("search",e)},onResetButtonClicked(){this.$emit("reset")},onSelectAllButtonClicked(){this.$emit("select-all")},closeAndFocus(){this.$refs.baseDropdown.closeAndFocus()},onIntersectionObserverAppear(){this.$emit("bottom-reached")},listboxItemKey:e=>null===e.value?T:e.value,listboxItemMoreItemsAriaAttributes(e){return null===this.totalItems?{}:{"aria-setsize":this.totalItems,"aria-posinset":e+1}},observeScroll(){var e,t=this;const s={rootMargin:"8px",root:this.$refs.list,threshold:1};null===(e=this.scrollObserver)||void 0===e||e.disconnect();const i=new IntersectionObserver((function(e){e.forEach((function(e){var s;t[null===(s=e.target)||void 0===s?void 0:s.$__visibilityProp]=e.isIntersecting}))}),s),r=this.$refs["top-boundary"],n=this.$refs["bottom-boundary"];r&&(r.$__visibilityProp="topBoundaryVisible",i.observe(r)),n&&(n.$__visibilityProp="bottomBoundaryVisible",i.observe(n)),this.scrollObserver=i},isOption:w.b,generateItemId(e){const t=null===e.value?T:e.value;return this.itemIds.has(t)||this.itemIds.set(t,Object(i.a)("listbox-item-")),this.itemIds.get(t)},scrollActiveItemIntoView(){const e=this.$refs.list;if(!this.activeItemId||!this.searchable||!e)return;const t=document.getElementById(this.activeItemId);if(!t)return;const s=e.getBoundingClientRect(),i=t.getBoundingClientRect(),r=t.offsetTop;i.top<s.top?e.scrollTo({top:r-30,behavior:"smooth"}):i.bottom>s.bottom&&e.scrollTo({top:r-s.height+t.offsetHeight+30,behavior:"smooth"})}}},k=Object(S.a)(L,(function(){var e=this,t=e._self._c;return t("gl-base-dropdown",{ref:"baseDropdown",attrs:{"aria-haspopup":"listbox","active-item-id":e.activeItemId,"aria-labelledby":e.toggleAriaLabelledBy,block:e.block,"has-searchable-listbox":e.searchable,"has-external-label":e.isInFormGroup,"listbox-id":e.listboxIdComputed,state:e.state,"toggle-id":e.toggleIdComputed,"toggle-text":e.listboxToggleText,"toggle-class":e.toggleButtonClasse
1s,"text-sr-only":e.textSrOnly,category:e.category,variant:e.variant,size:e.size,icon:e.icon,disabled:e.disabled,loading:e.loading,"no-caret":e.noCaret,placement:e.placement,offset:e.dropdownOffset,"fluid-width":e.fluidWidth,"panel-match-trigger-width":e.panelMatchTriggerWidth,"positioning-strategy":e.positioningStrategy},on:e._d({},[e.$options.events.GL_DROPDOWN_FOCUS_CONTENT,e.onFocusContent,e.$options.events.GL_DROPDOWN_SHOWN,e.onShow,e.$options.events.GL_DROPDOWN_HIDDEN,e.onHide]),scopedSlots:e._u([e.hasCustomToggle?{key:"toggle",fn:function(t){return[e._t("toggle",null,null,t)]}}:null,{key:"default",fn:function({visible:s}){return[e.headerText?t("div",{staticClass:"gl-flex gl-min-h-8 gl-shrink-0 gl-items-center gl-px-4 gl-py-3",class:e.$options.HEADER_ITEMS_BORDER_CLASSES},[t("div",{staticClass:"gl-grow gl-pr-2 gl-text-sm gl-font-bold gl-text-strong",attrs:{id:e.headerId,"data-testid":"listbox-header-text"}},[e._v("\n        "+e._s(e.headerText)+"\n      ")]),e._v(" "),e.showResetButton?t("gl-button",{staticClass:"!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus:!gl-focus-inset",attrs:{category:"tertiary",size:"small","data-testid":"listbox-reset-button"},on:{click:e.onResetButtonClicked}},[e._v("\n        "+e._s(e.resetButtonLabel)+"\n      ")]):e._e(),e._v(" "),e.showSelectAllButton?t("gl-button",{staticClass:"!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus:!gl-focus-inset",attrs:{category:"tertiary",size:"small","data-testid":"listbox-select-all-button"},on:{click:e.onSelectAllButtonClicked}},[e._v("\n        "+e._s(e.showSelectAllButtonLabel)+"\n      ")]):e._e()],1):e._e(),e._v(" "),e.searchable?t("div",{staticClass:"gl-shrink-0",class:e.$options.HEADER_ITEMS_BORDER_CLASSES},[t("gl-listbox-search-input",{ref:"searchBox",class:{"gl-listbox-topmost":!e.headerText},attrs:{id:e.searchInputId,"data-testid":"listbox-search-input",role:"combobox","aria-expanded":String(s),"aria-controls":e.listboxId,"aria-activedescendant":e.activeItemId,"aria-haspopup":"listbox",placeholder:e.searchPlaceholder},on:{input:e.search,keydown:[function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()},e.onKeydown]},model:{value:e.searchStr,callback:function(t){e.searchStr=t},expression:"searchStr"}}),e._v(" "),e.searching?t("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-search-loader",size:"md"}}):e._e()],1):e._e(),e._v(" "),e.showList?t(e.listboxTag,{ref:"list",tag:"component",staticClass:"gl-new-dropdown-contents gl-new-dropdown-contents-with-scrim-overlay",class:e.listboxClasses,attrs:{id:e.listboxId,"aria-busy":e.isBusy,"aria-labelledby":e.listboxAriaLabelledByID,"aria-multiselectable":e.multiple?"true":void 0,role:"listbox",tabindex:"0"},on:{keydown:e.onKeydown}},[t(e.itemTag,{tag:"component",staticClass:"top-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"top-scrim"}},[t("div",{staticClass:"top-scrim",class:{"top-scrim-light":!e.hasHeader,"top-scrim-dark":e.hasHeader}})]),e._v(" "),t(e.itemTag,{ref:"top-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),e._v(" "),e._l(e.items,(function(s,i){return[e.isOption(s)?[t("gl-listbox-item",e._b({key:e.listboxItemKey(s),attrs:{id:e.generateItemId(s),"data-testid":"listbox-item-"+s.value,"is-highlighted":e.isHighlighted(s),"is-selected":e.isSelected(s),"is-focused":e.isFocused(s),"is-check-centered":e.isCheckCentered,"is-disabled":e.isDisabled(s)},on:{select:function(t){return e.onSelect(s,t)}}},"gl-listbox-item",e.listboxItemMoreItemsAriaAttributes(i),!1),[e._t("list-item",(function(){return[e._v("\n              "+e._s(s.text)+"\n            ")]}),{item:s})],2)]:[t("gl-listbox-group",{key:s.text,class:e.groupClasses(i),attrs:{name:s.text,"text-sr-only":s.textSrOnly},scopedSlots:e._u([e.$scopedSlots["group-label"]?{key:"group-label",fn:function(){return[e._t("group-label",null,{group:s})]},proxy:!0}:null],null,!0)}
1,[e._v(" "),e._l(s.options,(function(s){return t("gl-listbox-item",{key:e.listboxItemKey(s),attrs:{id:e.generateItemId(s),"data-testid":"listbox-item-"+s.value,"is-highlighted":e.isHighlighted(s),"is-selected":e.isSelected(s),"is-focused":e.isFocused(s),"is-check-centered":e.isCheckCentered,"is-disabled":e.isDisabled(s)},on:{select:function(t){return e.onSelect(s,t)}}},[e._t("list-item",(function(){return[e._v("\n                "+e._s(s.text)+"\n              ")]}),{item:s})],2)}))],2)]]})),e._v(" "),e.infiniteScrollLoading?t(e.itemTag,{tag:"component"},[t("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-infinite-scroll-loader",size:"md"}})],1):e._e(),e._v(" "),e.showIntersectionObserver?t("gl-intersection-observer",{on:{appear:e.onIntersectionObserverAppear}}):e._e(),e._v(" "),t(e.itemTag,{ref:"bottom-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),e._v(" "),t(e.itemTag,{tag:"component",staticClass:"bottom-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"bottom-scrim"}},[t("div",{staticClass:"bottom-scrim",class:{"!gl-rounded-none":e.hasFooter}})])],2):e._e(),e._v(" "),e.announceSRSearchResults?t("span",{staticClass:"gl-sr-only",attrs:{"data-testid":"listbox-number-of-results","aria-live":"assertive"}},[e._t("search-summary-sr-only",(function(){return[e._v("\n        "+e._s(e.srOnlyResultsLabel(e.flattenedOptions.length))+"\n      ")]}))],2):e._e(),e._v(" "),e.isBusy?t("span",{staticClass:"gl-sr-only",attrs:{"aria-live":"polite","data-testid":"listbox-loading-announcement"}},[e._v("\n      "+e._s(e.loadingAnnouncementText)+"\n    ")]):e.showNoResultsText?t("div",{staticClass:"gl-py-3 gl-pl-7 gl-pr-5 gl-text-base gl-text-subtle",attrs:{"aria-live":"assertive","data-testid":"listbox-no-results-text"}},[e._v("\n      "+e._s(e.noResultsText)+"\n    ")]):e._e(),e._v(" "),e._t("footer")]}}],null,!0)})}),[],!1,null,null,null);t.a=k.exports},Mb0h:function(e,t,s){"use strict";s.d(t,"b",(function(){return n})),s.d(t,"c",(function(){return d})),s.d(t,"a",(function(){return a}));s("LdIe"),s("z6RN"),s("PTOk"),s("dHQd"),s("yoDG"),s("KeS/"),s("tWNI"),s("8d6S"),s("VwWG"),s("IYHS"),s("rIA9"),s("MViX"),s("zglm"),s("GDOA"),s("hlbI"),s("a0mT"),s("u3H1"),s("ta8/"),s("IKCR"),s("nmTw"),s("W2kU"),s("58fc"),s("7dtT"),s("Rhav"),s("uhEP"),s("eppl"),s("orcL"),s("QzWB"),s("TXLM"),s("YSE1"),s("b+iX"),s("3UXl"),s("iyoE"),s("UezY"),s("hG7+");var i=s("v1ID"),r=s("Kq5r");const n=function(e){return Boolean(e)&&(Object(i.a)(e.value)||Object(r.a)(e.value)||null===e.value)},l=function({options:e}={}){return Array.isArray(e)&&e.every(n)},o=function(e){return e.length===new Set(e).size},a=function(e){return e.flatMap((function(e){return n(e)?e:e.options}))},d=function(e){return function(e){return e.every(n)||e.every(l)}(e)&&function(e){return o(a(e).map((function({value:e}){return e})))}(e)&&function(e){return o(e.filter(l).map((function({text:e}){return e})))}(e)}},UfBS:function(e,t,s){"use strict";t.a=s.p+"empty-search-md.e1a55bfa.svg"},bvNv:function(e,t,s){"use strict";var i=s("ZfjD"),r=s("+XYt").findLastIndex,n=s("x5C5");i({target:"Array",proto:!0},{findLastIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},vx36:function(e,t,s){"use strict";var i=s("d85j"),r=s("RK7s"),n=s("mpVB"),l={name:"GlListboxItem",components:{GlIcon:i.a},props:{isSelected:{type:Boolean,default:!1,required:!1},isFocused:{type:Boolean,default:!1,required:!1},isCheckCentered:{type:Boolean,required:!1,default:!1},isHighlighted:{type:Boolean,default:!1,required:!1},isDisabled:{type:Boolean,default:!1,required:!1}},computed:{checkedClasses(){return this.isCheckCentered?"":"gl-mt-3 gl-self-start"}},methods:{onMousedown(e){this.isDisabled&&Object(n.k)(e)},toggleSelection(){this.isDisabled||this.$emit("select",!this.isSelected)},onKeydown(e){const{code:t}=e;t!==r.d&&t!==r.n||(Object(n.k)(e),this.toggleSelection())}}},o=s("tBpV"),a=Object(o.a)(l,(function(){var e=this,t=e._self._c;return t("li",{class:["gl-new-dropdown-item",{"gl-new-dropdown-item-highlighted":e.isHighlighted,disabled:e.isDisabled}],attrs:{role:"option",tabindex:e.isFocused?0:-1,"aria-selected":e.isSelected,"aria-disabled":e.isDisabled},on:{mousedown:e.onMousedown,click:e.toggleSelection,keydown:e.onKeydown}},[t("span",{staticClass:"gl-new-dropdown-item-content"},[t("gl-icon",{class:["gl-new-dropdown-item-check-icon",{"gl-invisible":!e.isSelected}
1,e.checkedClasses],attrs:{name:"check","data-testid":"dropdown-item-checkbox"}}),e._v(" "),t("span",{staticClass:"gl-new-dropdown-item-text-wrapper"},[e._t("default")],2)],1)])}),[],!1,null,null,null);t.a=a.exports},xYWK:function(e,t,s){"use strict";s("orcL"),s("3UXl"),s("iyoE");var i=s("P3VF"),r=s("/lV4"),n=s("C1Tf"),l=s("rl6x"),o=s("RXYC"),a=s("W4cT"),d={components:{FilteredSearchBar:n.a,GlSorting:i.a},props:{filteredSearchTokens:{type:Array,required:!0},filteredSearchQuery:{type:Object,required:!0},filteredSearchTermKey:{type:String,required:!0},filteredSearchNamespace:{type:String,required:!0},filteredSearchRecentSearchesStorageKey:{type:String,required:!0,validator:e=>[l.a,l.b].includes(e)},sortOptions:{type:Array,required:!1,default:()=>[]},activeSortOption:{type:Object,required:!0},isAscending:{type:Boolean,required:!0},searchInputPlaceholder:{type:String,required:!1,default:Object(r.a)("Filter or search (3 character minimum)")}},computed:{filteredSearchValue(){const e=Object(o.d)(Object(o.h)(this.filteredSearchQuery,{filteredSearchTermKey:this.filteredSearchTermKey,filterNamesAllowList:[a.d,...this.filteredSearchTokens.map((function({type:e}){return e}))]}));return e.length?e:[a.A]},shouldShowSort(){return this.sortOptions.length}},methods:{onFilter(e){this.$emit("filter",Object(o.b)(Object(o.e)(e),{filteredSearchTermKey:this.filteredSearchTermKey,shouldExcludeEmpty:!0}))}}},c=s("tBpV"),u=Object(c.a)(d,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"gl-border-t gl-bg-subtle gl-p-5"},[t("div",{staticClass:"gl-flex gl-flex-col gl-gap-3 @md/panel:gl-flex-row"},[t("div",{staticClass:"gl-grow"},[t("filtered-search-bar",{attrs:{namespace:e.filteredSearchNamespace,tokens:e.filteredSearchTokens,"initial-filter-value":e.filteredSearchValue,"sync-filter-and-sort":"","recent-searches-storage-key":e.filteredSearchRecentSearchesStorageKey,"search-input-placeholder":e.searchInputPlaceholder,"terms-as-tokens":""},on:{onFilter:e.onFilter}})],1),e._v(" "),e.$scopedSlots.default?t("div",[e._t("default")],2):e._e(),e._v(" "),e.shouldShowSort?t("div",{attrs:{"data-testid":"groups-projects-sort"}},[t("gl-sorting",{staticClass:"gl-flex",attrs:{"dropdown-class":"gl-w-full",block:"",text:e.activeSortOption.text,"is-ascending":e.isAscending,"sort-options":e.sortOptions,"sort-by":e.activeSortOption.value},on:{sortDirectionChange:function(t){return e.$emit("sort-direction-change",t)},sortByChange:function(t){return e.$emit("sort-by-change",t)}}})],1):e._e()])])}),[],!1,null,null,null);t.a=u.exports}}]);
2//# sourceMappingURL=commons-pages.admin.groups.index-pages.admin.projects.index-pages.dashboard.groups.index-pages.dashb-6a77819a.f9ac62e5.chunk.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.