(this.webpackJsonp=this.webpackJsonp||[]).push([[954,23,42,48,53,114,136,330,359,1207,1259,1288,1413],{"+GAp":function(e,t,n){var i=n("4O6w"),r=n("QPeP"),a=n("GY8p"),s=n("90g9"),o=n("wJPF"),l=n("5PFN"),u=Math.min;e.exports=function(e,t,n){for(var c=n?a:r,d=e[0].length,h=e.length,p=h,f=Array(h),m=1/0,b=[];p--;){var g=e[p];p&&t&&(g=s(g,o(t))),m=u(g.length,m),f[p]=!n&&(t||d>=120&&g.length>=120)?new i(p&&g):void 0}g=e[0];var v=-1,y=f[0];e:for(;++v<d&&b.length<m;){var k=g[v],w=t?t(k):k;if(k=n||0!==k?k:0,!(y?l(y,w):c(b,w,n))){for(p=h;--p;){var S=f[p];if(!(S?l(S,w):c(e[p],w,n)))continue e}y&&y.push(w),b.push(k)}}return b}},"+XPY":function(e,t,n){
/*!
 * Pikaday
 *
 * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday
 */
!function(t,i){"use strict";var r;try{r=n(!function(){var e=new Error("Cannot find module 'moment'");throw e.code="MODULE_NOT_FOUND",e}())}catch(e){}e.exports=function(e){var t="function"==typeof e,n=!!window.addEventListener,i=window.document,r=window.setTimeout,a=function(e,t,i,r){n?e.addEventListener(t,i,!!r):e.attachEvent("on"+t,i)},s=function(e,t,i,r){n?e.removeEventListener(t,i,!!r):e.detachEvent("on"+t,i)},o=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},l=function(e,t){o(e,t)||(e.className=""===e.className?t:e.className+" "+t)},u=function(e,t){var n;e.className=(n=(" "+e.className+" ").replace(" "+t+" "," ")).trim?n.trim():n.replace(/^\s+|\s+$/g,"")},c=function(e){return/Array/.test(Object.prototype.toString.call(e))},d=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},h=function(e){var t=e.getDay();return 0===t||6===t},p=function(e){return e%4==0&&e%100!=0||e%400==0},f=function(e,t){return[31,p(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},m=function(e){d(e)&&e.setHours(0,0,0,0)},b=function(e,t){return e.getTime()===t.getTime()},g=function(e,t,n){var i,r;for(i in t)(r=void 0!==e[i])&&"object"==typeof t[i]&&null!==t[i]&&void 0===t[i].nodeName?d(t[i])?n&&(e[i]=new Date(t[i].getTime())):c(t[i])?n&&(e[i]=t[i].slice(0)):e[i]=g({},t[i],n):!n&&r||(e[i]=t[i]);return e},v=function(e,t,n){var r;i.createEvent?((r=i.createEvent("HTMLEvents")).initEvent(t,!0,!1),r=g(r,n),e.dispatchEvent(r)):i.createEventObject&&(r=i.createEventObject(),r=g(r,n),e.fireEvent("on"+t,r))},y=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},k={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},w=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},S=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+n+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+e.day+"</button></td>"},O=function(e,t,n,i){return'<tr class="pika-row'+(n?" pick-whole-week":"")+(i?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"},x=function(e,t,n,i,r,a){var s,o,l,u,d,h=e._o,p=n===h.minYear,f=n===h.maxYear,m='<div id="'+a+'" class="pika-title" role="heading" aria-live="assertive">',b=!0,g=!0;for(l=[],s=0;s<12;s++)l.push('<option value="'+(n===r?s-t:12+s-t)+'"'+(s===i?' selected="selected"':"")+(p&&s<h.minMonth||f&&s>h.maxMonth?'disabled="disabled"':"")+">"+h.i18n.months[s]+"</option>");for(u='<div class="pika-label">'+h.i18n.months[i]+'<select class="pika-select pika-select-month" tabindex="-1">'+l.join("")+"</select></div>",c(h.yearRange)?(s=h.yearRange[0],o=h.yearRange[1]+1):(s=n-h.yearRange,o=1+n+h.yearRange),l=[];s<o&&s<=h.maxYear;s++)s>=h.minYear&&l.push('<option value="'+s+'"'+(s===n?' selected="selected"':"")+">"+s+"</option>");return d='<div class="pika-label">'+n+h.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+l.join("")+"</select></div>",h.showMonthAfterYear?m+=d+u:m+=u+d,p&&(0===i||h.minMonth>=i)&&(b=!1),f&&(11===i||h.maxMonth<=i)&&(g=!1),0===t&&(m+='<button class="pika-prev'+(b?"":" is-disabled")+'" type="button">'+h.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(m+='<button class="pika-next'+(g?"":" is-disabled")+'" type="button">'+h.i18n.nextMonth+"</button>"),m+"</div>"},T=function(s){var l=this,u=l.config(s);l._onMouseDown=function(e){if(l._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(o(t,"is-disabled")||(!o(t,"pika-button")||o(t,"is-empty")||o(t.parentNode,"is-disabled")?o(t,"pika-prev")?l.prevMonth():o(t,"pika-next")&&l.nextMonth():(l.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),u.bound&&r((function(){l.hide(),u.blurFieldOnSelect&&u.field&&u.field.blur()}),100))),o(t,"pika-select"))l._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},l._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(o(t,"pika-select-month")?l.gotoMonth(t.value):o(t,"pika-select-year")&&l.gotoYear(t.value))},l._onKeyChange=function(e){if(e=e||window.event,l.isVisible())switch(e.keyCode){case 13:case 27:u.field&&u.field.blur();break;case 37:e.preventDefault(),l.adjustDate("subtract",1);break;case 38:l.adjustDate("subtract",7);break;case 39:l.adjustDate("add",1);break;case 40:l.adjustDate("add",7)}},l._onInputChange=function(n){var i;n.firedBy!==l&&(i=u.parse?u.parse(u.field.value,u.format):t?(i=e(u.field.value,u.format,u.formatStrict))&&i.isValid()?i.toDate():null:new Date(Date.parse(u.field.value)),d(i)&&l.setDate(i),l._v||l.show())},l._onInputFocus=function(){l.show()},l._onInputClick=function(){l.show()},l._onInputBlur=function(){var e=i.activeElement;do{if(o(e,"pika-single"))return}while(e=e.parentNode);l._c||(l._b=r((function(){l.hide()}),50)),l._c=!1},l._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,i=t;if(t){!n&&o(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),a(t,"change",l._onChange)));do{if(o(i,"pika-single")||i===u.trigger)return}while(i=i.parentNode);l._v&&t!==u.trigger&&i!==u.trigger&&l.hide()}},l.el=i.createElement("div"),l.el.className="pika-single"+(u.isRTL?" is-rtl":"")+(u.theme?" "+u.theme:""),a(l.el,"mousedown",l._onMouseDown,!0),a(l.el,"touchend",l._onMouseDown,!0),a(l.el,"change",l._onChange),u.keyboardInput&&a(i,"keydown",l._onKeyChange),u.field&&(u.container?u.container.appendChild(l.el):u.bound?i.body.appendChild(l.el):u.field.parentNode.insertBefore(l.el,u.field.nextSibling),a(u.field,"change",l._onInputChange),u.defaultDate||(t&&u.field.value?u.defaultDate=e(u.field.value,u.format).toDate():u.defaultDate=new Date(Date.parse(u.field.value)),u.setDefaultDate=!0));var c=u.defaultDate;d(c)?u.setDefaultDate?l.setDate(c,!0):l.gotoDate(c):l.gotoDate(new Date),u.bound?(this.hide(),l.el.className+=" is-bound",a(u.trigger,"click",l._onInputClick),a(u.trigger,"focus",l._onInputFocus),a(u.trigger,"blur",l._onInputBlur)):this.show()};return T.prototype={config:function(e){this._o||(this._o=g({},k,!0));var t=g(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,d(t.minDate)||(t.minDate=!1),d(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&this.setMaxDate(t.maxDate),c(t.yearRange)){var i=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||i,t.yearRange[1]=parseInt(t.yearRange[1],10)||i}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||k.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,d(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,i){t&&e.isMoment(n)&&this.setDate(n.toDate(),i)},getDate:function(){return d(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",v(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),d(e)){var n=this._o.minDate,i=this._o.maxDate;d(n)&&e<n?e=n:d(i)&&e>i&&(e=i),this._d=new Date(e.getTime()),m(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),v(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(e){var t=!0;if(d(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),i=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),r=e.getTime();i.setMonth(i.getMonth()+1),i.setDate(i.getDate()-1),t=r<n.getTime()||i.getTime()<r}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustDate:function(e,t){var n,i=this.getDate()||new Date,r=24*parseInt(t)*60*60*1e3;"add"===e?n=new Date(i.valueOf()+r):"subtract"===e&&(n=new Date(i.valueOf()-r)),this.setDate(n)},adjustCalendars:function(){this.calendars[0]=y(this.calendars[0]);for(var e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=y({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(m(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=k.minDate,this._o.minYear=k.minYear,this._o.minMonth=k.minMonth,this._o.startRange=k.startRange),this.draw()},setMaxDate:function(e){e instanceof Date?(m(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=k.maxDate,this._o.maxYear=k.maxYear,this._o.maxMonth=k.maxMonth,this._o.endRange=k.endRange),this.draw()},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var t,n=this._o,i=n.minYear,a=n.maxYear,s=n.minMonth,o=n.maxMonth,l="";this._y<=i&&(this._y=i,!isNaN(s)&&this._m<s&&(this._m=s)),this._y>=a&&(this._y=a,!isNaN(o)&&this._m>o&&(this._m=o)),t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var u=0;u<n.numberOfMonths;u++)l+='<div class="pika-lendar">'+x(this,u,this.calendars[u].year,this.calendars[u].month,this.calendars[0].year,t)+this.render(this.calendars[u].year,this.calendars[u].month,t)+"</div>";this.el.innerHTML=l,n.bound&&"hidden"!==n.field.type&&r((function(){n.trigger.focus()}),1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,r,a,s,o,c,d,h,p,f;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,r=this.el.offsetHeight,a=window.innerWidth||i.documentElement.clientWidth,s=window.innerHeight||i.documentElement.clientHeight,o=window.pageYOffset||i.body.scrollTop||i.documentElement.scrollTop,p=!0,f=!0,"function"==typeof e.getBoundingClientRect)c=(h=e.getBoundingClientRect()).left+window.pageXOffset,d=h.bottom+window.pageYOffset;else for(c=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)c+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&c+n>a||this._o.position.indexOf("right")>-1&&c-n+e.offsetWidth>0)&&(c=c-n+e.offsetWidth,p=!1),(this._o.reposition&&d+r>s+o||this._o.position.indexOf("top")>-1&&d-r-e.offsetHeight>0)&&(d=d-r-e.offsetHeight,f=!1),this.el.style.left=c+"px",this.el.style.top=d+"px",l(this.el,p?"left-aligned":"right-aligned"),l(this.el,f?"bottom-aligned":"top-aligned"),u(this.el,p?"right-aligned":"left-aligned"),u(this.el,f?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var i=this._o,r=new Date,a=f(e,t),s=new Date(e,t,1).getDay(),o=[],l=[];m(r),i.firstDay>0&&(s-=i.firstDay)<0&&(s+=7);for(var u=0===t?11:t-1,c=11===t?0:t+1,p=0===t?e-1:e,g=11===t?e+1:e,v=f(p,u),y=a+s,k=y;k>7;)k-=7;y+=7-k;for(var x,T,_,j,C=!1,I=0,D=0;I<y;I++){var A=new Date(e,t,I-s+1),$=!!d(this._d)&&b(A,this._d),N=b(A,r),P=-1!==i.events.indexOf(A.toDateString()),E=I<s||I>=a+s,R=I-s+1,B=t,q=e,V=i.startRange&&b(i.startRange,A),F=i.endRange&&b(i.endRange,A),L=i.startRange&&i.endRange&&i.startRange<A&&A<i.endRange;E&&(I<s?(R=v+R,B=u,q=p):(R-=a,B=c,q=g));var M={day:R,month:B,year:q,hasEvent:P,isSelected:$,isToday:N,isDisabled:i.minDate&&A<i.minDate||i.maxDate&&A>i.maxDate||i.disableWeekends&&h(A)||i.disableDayFn&&i.disableDayFn(A),isEmpty:E,isStartRange:V,isEndRange:F,isInRange:L,showDaysInNextAndPreviousMonths:i.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:i.enableSelectionDaysInNextAndPreviousMonths};i.pickWholeWeek&&$&&(C=!0),l.push(S(M)),7==++D&&(i.showWeekNumber&&l.unshift((x=I-s,T=t,_=e,j=void 0,void 0,j=new Date(_,0,1),'<td class="pika-week">'+Math.ceil(((new Date(_,T,x)-j)/864e5+j.getDay()+1)/7)+"</td>")),o.push(O(l,i.isRTL,i.pickWholeWeek,C)),l=[],D=0,C=!1)}return function(e,t,n){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+n+'">'+function(e){var t,n=[];e.showWeekNumber&&n.push("<th></th>");for(t=0;t<7;t++)n.push('<th scope="col"><abbr title="'+w(e,t)+'">'+w(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?n.reverse():n).join("")+"</tr></thead>"}(e)+(i=t,"<tbody>"+i.join("")+"</tbody></table>");var i}(i,o,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),u(this.el,"is-hidden"),this._o.bound&&(a(i,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&s(i,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",l(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),s(this.el,"mousedown",this._onMouseDown,!0),s(this.el,"touchend",this._onMouseDown,!0),s(this.el,"change",this._onChange),e.keyboardInput&&s(i,"keydown",this._onKeyChange),e.field&&(s(e.field,"change",this._onInputChange),e.bound&&(s(e.trigger,"click",this._onInputClick),s(e.trigger,"focus",this._onInputFocus),s(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},T}(r)}()},"+p8b":function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},"/CIc":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return s}));const i=(e,t)=>e+t,r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(i)},a=function(){return r(...arguments)/arguments.length};function s(e,t){const n=(e%t+t)%t;return 0===n?0:n}const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const n=[NaN,1/0,-1/0],i=Number(e);if(n.includes(i)||n.includes(Number(t)))return i.toString();const r={"-24":"y","-21":"z","-18":"a","-15":"f","-12":"p","-9":"n","-6":"μ","-3":"m",0:"",3:"k",6:"M",9:"G",12:"T",15:"P",18:"E",21:"Z",24:"Y"},a=i.toExponential(t),s=a.split("e").map(Number)[1]||0;if(s<-24||s>24)return a;const o=3*Math.floor(s/3),l=(a/10**o).toFixed(t).replace(/\.([1-9]*)0+$/,(e,t)=>t?"."+t:"");return`${l}${r[o]}`},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return Number.isNaN(Number(e))?e:new Intl.NumberFormat(n,t).format(e)}},"17OG":function(e,t,n){var i=n("DbBu")((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=i},"1fc5":function(e,t,n){"use strict";var i=n("9k56"),r=n("lgrP"),a=n("3hkr"),s=n("jIK5"),o=n("VuSA"),l=n("hII5"),u=n("XREi");const c=Object(l.c)(Object(o.m)({...Object(o.k)(u.b,["size"]),ariaRole:Object(l.b)(s.r,"group"),size:Object(l.b)(s.r),tag:Object(l.b)(s.r,"div"),vertical:Object(l.b)(s.g,!1)}),a.g),d=Object(i.c)({name:a.g,functional:!0,props:c,render(e,t){let{props:n,data:i,children:a}=t;return e(n.tag,Object(r.a)(i,{class:{"btn-group":!n.vertical,"btn-group-vertical":n.vertical,["btn-group-"+n.size]:n.size},attrs:{role:n.ariaRole}}),a)}});var h=n("Pyw5");const p={name:"GlButtonGroup",components:{BButtonGroup:d}};const f=n.n(h)()({render:function(){var e=this.$createElement;return(this._self._c||e)("b-button-group",this._g(this._b({},"b-button-group",this.$attrs,!1),this.$listeners),[this._t("default")],2)},staticRenderFns:[]},void 0,p,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=f},247:function(e,t,n){n("HVBj"),n("tGlJ"),e.exports=n("kFdu")},"2mBx":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("oTzT");const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=Object(i.l)();return!!(t&&""!==t.toString().trim()&&t.containsNode&&Object(i.s)(e))&&t.containsNode(e,!0)}},"3CjL":function(e,t,n){var i=n("6+df"),r=n("3ftC");e.exports=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=r(n))==n?n:0),void 0!==t&&(t=(t=r(t))==t?t:0),i(r(e),t,n)}},"3fen":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return d}));var i=n("6npM"),r=n.n(i),a=n("lx39"),s=n.n(a);const o=e=>Boolean(e)&&(s()(e.value)||r()(e.value)),l=function(){let{options:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e)&&e.every(o)},u=e=>e.length===new Set(e).size,c=e=>e.flatMap(e=>o(e)?e:e.options),d=e=>(e=>e.every(o)||e.every(l))(e)&&(e=>u(c(e).map(e=>{let{value:t}=e;return t})))(e)&&(e=>u(e.filter(l).map(e=>{let{text:t}=e;return t})))(e)},"59DU":function(e,t){e.exports=function(e){return null==e}},"5Hgz":function(e,t,n){"use strict";var i=n("gAdM"),r=n.n(i),a=n("onSc"),s=n("XBTk"),o=n("Mi8i"),l=n("FzbX"),u=n("Pyw5"),c=n.n(u);const d={name:"GlFilteredSearchSuggestionList",inject:["suggestionsListClass","termsAsTokens"],provide(){return{filteredSearchSuggestionListInstance:this}},props:{initialValue:{required:!1,validator:()=>!0,default:null}},data:()=>({activeIdx:-1,registeredItems:[]}),computed:{initialActiveIdx(){return this.registeredItems.findIndex(e=>this.valuesMatch(e.value,this.initialValue))},initialActiveItem(){return this.registeredItems[this.initialActiveIdx]},activeItem(){return this.termsAsTokens()||-2!==this.activeIdx?-1===this.activeIdx?this.initialActiveItem:this.registeredItems[this.activeIdx]:null},listClasses(){return[this.suggestionsListClass(),"dropdown-menu gl-filtered-search-suggestion-list"]}},watch:{initialValue(){this.activeIdx=-1}},methods:{valuesMatch:(e,t)=>null!=e&&null!=t&&("string"==typeof e&&"string"==typeof t?e.toLowerCase()===t.toLowerCase():e===t),register(e){this.registeredItems.push(e)},unregister(e){const t=this.registeredItems.indexOf(e);-1!==t&&(this.registeredItems.splice(t,1),t===this.activeIdx&&(this.activeIdx=-1))},nextItem(){this.termsAsTokens()?this.stepItem(1):this.stepItem(1,this.registeredItems.length-1)},prevItem(){this.termsAsTokens()?this.stepItem(-1):this.stepItem(-1,0)},stepItem(e,t){if(this.termsAsTokens()||this.activeIdx!==t&&(-1!==this.activeIdx||this.initialActiveIdx!==t)){const t=-1===this.activeIdx?this.initialActiveIdx:this.activeIdx;this.activeIdx=Object(l.l)(t,e,this.registeredItems.length)}else this.activeIdx=-2},getValue(){return this.activeItem?this.activeItem.value:null}}};var h=c()({render:function(){var e=this.$createElement;return(this._self._c||e)("ul",{class:this.listClasses},[this._t("default")],2)},staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0);const p=e=>(e=>{var t,n;return"Symbol(Fragment)"===(null==e||null===(t=e.type)||void 0===t||null===(n=t.toString)||void 0===n?void 0:n.call(t))})(e)?Array.isArray(e.children)?e.children.every(p):p(e.children):!!(e=>{var t,n;return"Symbol(Comment)"===(null==e||null===(t=e.type)||void 0===t||null===(n=t.toString)||void 0===n?void 0:n.call(t))})(e);const f={name:"GlFilteredSearchTokenSegment",components:{Portal:a.Portal,GlFilteredSearchSuggestionList:h,GlFilteredSearchSuggestion:o.a},inject:["portalName","alignSuggestions","termsAsTokens"],inheritAttrs:!1,props:{active:{type:Boolean,required:!1,default:!1},isTerm:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"Search"},multiSelect:{type:Boolean,required:!1,default:!1},options:{type:Array,required:!1,default:()=>null},optionTextField:{type:String,required:!1,default:"title"},customInputKeydownHandler:{type:Function,required:!1,default:()=>()=>!1},value:{required:!0,validator:()=>!0},searchInputAttributes:{type:Object,required:!1,default:()=>({})},isLastToken:{type:Boolean,required:!1,default:!1},currentValue:{type:Array,required:!1,default:()=>[]},cursorPosition:{type:String,required:!1,default:"end",validator:e=>["start","end"].includes(e)},viewOnly:{type:Boolean,required:!1,default:!1}},data(){return{fallbackValue:this.value}},computed:{hasTermSuggestion(){return!!this.termsAsTokens()&&(!!this.options&&this.options.some(e=>{let{value:t}=e;return t===l.b}))},matchingOption(){var e;return null===(e=this.options)||void 0===e?void 0:e.find(e=>e.value===this.value)},nonMultipleValue(){return Array.isArray(this.value)?r()(this.value):this.value},inputValue:{get(){return this.isTerm?this.nonMultipleValue:this.matchingOption?this.matchingOption[this.optionTextField]:this.nonMultipleValue},set(e){this.$emit("input",e)}},hasOptionsOrSuggestions(){var e;return(null===(e=this.options)||void 0===e?void 0:e.length)||(e=>{if(!e)return!1;const t="function"==typeof e?e():e;return!(Array.isArray(t)?t.every(p):p(t))})(this.$slots.suggestions)},defaultSuggestedValue(){var e;if(!this.options)return this.nonMultipleValue;if(this.value){const e=this.getMatchingOptionForInputValue(this.inputValue)||this.getMatchingOptionForInputValue(this.inputValue,{loose:!0});return e?e.value:this.hasTermSuggestion?l.b:null}const t=this.options.find(e=>e.default);return t?t.value:this.isTerm||null===(e=this.options[0])||void 0===e?void 0:e.value},containerAttributes(){return this.isLastToken&&!this.active&&this.currentValue.length>1&&this.searchInputAttributes}},watch:{active:{immediate:!0,handler(e){e?this.activate():this.deactivate()}},inputValue(e){if(this.termsAsTokens())return;if(this.multiSelect)return;const t=e.split('"').length%2==0;if(-1===e.indexOf(" ")||t)return;const[n,...i]=Object(l.k)(e).filter((e,t,n)=>Boolean(e)||t===n.length-1);this.$emit("input",n),i.length&&this.$emit("split",i)}},methods:{emitIfInactive(e){e.button!==s.c||this.active||(this.$emit("activate"),e.preventDefault())},getMatchingOptionForInputValue(e){var t;let{loose:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loose:!1};return null===(t=this.options)||void 0===t?void 0:t.find(t=>n?Object(l.h)(t[this.optionTextField],e):t[this.optionTextField]===e)},activate(){this.fallbackValue=this.value,this.$nextTick(()=>{const{input:e}=this.$refs;e&&(e.focus(),e.scrollIntoView({block:"nearest",inline:"end"}),this.alignSuggestions(e),"start"===this.cursorPosition&&(null==e||e.setSelectionRange(0,0)))})},deactivate(){var e;this.options&&!this.isTerm&&(null===(e=this.matchingOption)||void 0===e?void 0:e.value)!==this.value&&this.$emit("input",this.fallbackValue)},applySuggestion(e){const t=this.termsAsTokens()?e:Object(l.o)(e);this.$emit("select",t),this.multiSelect||(this.$emit("input",t===l.b?this.inputValue:t),this.$emit("complete",t))},handleInputKeydown(e){const{key:t}=e,{suggestions:n,input:i}=this.$refs,r=null==n?void 0:n.getValue(),a={ArrowLeft:()=>{0===i.selectionStart&&(e.preventDefault(),this.$emit("previous"))},ArrowRight:()=>{i.selectionEnd===this.inputValue.length&&(e.preventDefault(),this.$emit("next"))},Backspace:()=>{""===this.inputValue&&(e.preventDefault(),this.$emit("backspace"))},Enter:()=>{e.preventDefault(),null!=r?this.applySuggestion(r):this.$emit("submit")},":":()=>{null!=r&&(e.preventDefault(),this.applySuggestion(r))},Escape:()=>{e.preventDefault(),this.$emit("complete")}},s={ArrowDown:()=>n.nextItem(),Down:()=>n.nextItem(),ArrowUp:()=>n.prevItem(),Up:()=>n.prevItem()};this.hasOptionsOrSuggestions&&Object.assign(a,s),Object.keys(a).includes(t)?a[t]():this.customInputKeydownHandler(e,{suggestedValue:r,inputValue:this.inputValue,applySuggestion:e=>this.applySuggestion(e)})},handleBlur(){this.multiSelect?this.$emit("complete"):this.active&&this.$emit("deactivate")}}};const m=c()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._g(e._b({staticClass:"gl-filtered-search-token-segment",class:{"gl-filtered-search-token-segment-active":e.active,"!gl-cursor-text":e.viewOnly},attrs:{"data-testid":"filtered-search-token-segment"}},"div",e.containerAttributes,!1),e.viewOnly?{}:{mousedown:e.emitIfInactive}),[e.active?[e._t("before-input",null,null,{submitValue:e.applySuggestion}),e._v(" "),"checkbox"===e.searchInputAttributes.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.inputValue,expression:"inputValue"}],ref:"input",staticClass:"gl-filtered-search-token-segment-input",attrs:{"data-testid":"filtered-search-token-segment-input","aria-label":e.label,readonly:e.viewOnly,type:"checkbox"},domProps:{checked:Array.isArray(e.inputValue)?e._i(e.inputValue,null)>-1:e.inputValue},on:{keydown:e.handleInputKeydown,blur:e.handleBlur,change:function(t){var n=e.inputValue,i=t.target,r=!!i.checked;if(Array.isArray(n)){var a=e._i(n,null);i.checked?a<0&&(e.inputValue=n.concat([null])):a>-1&&(e.inputValue=n.slice(0,a).concat(n.slice(a+1)))}else e.inputValue=r}}},"input",e.searchInputAttributes,!1)):"radio"===e.searchInputAttributes.type?n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.inputValue,expression:"inputValue"}],ref:"input",staticClass:"gl-filtered-search-token-segment-input",attrs:{"data-testid":"filtered-search-token-segment-input","aria-label":e.label,readonly:e.viewOnly,type:"radio"},domProps:{checked:e._q(e.inputValue,null)},on:{keydown:e.handleInputKeydown,blur:e.handleBlur,change:function(t){e.inputValue=null}}},"input",e.searchInputAttributes,!1)):n("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.inputValue,expression:"inputValue"}],ref:"input",staticClass:"gl-filtered-search-token-segment-input",attrs:{"data-testid":"filtered-search-token-segment-input","aria-label":e.label,readonly:e.viewOnly,type:e.searchInputAttributes.type},domProps:{value:e.inputValue},on:{keydown:e.handleInputKeydown,blur:e.handleBlur,input:function(t){t.target.composing||(e.inputValue=t.target.value)}}},"input",e.searchInputAttributes,!1)),e._v(" "),n("portal",{key:"operator-"+e._uid,attrs:{to:e.portalName}},[e.hasOptionsOrSuggestions?n("gl-filtered-search-suggestion-list",{key:"operator-"+e._uid,ref:"suggestions",attrs:{"initial-value":e.defaultSuggestedValue},on:{suggestion:e.applySuggestion}},[e.options?e._l(e.options,(function(t,i){return n("gl-filtered-search-suggestion",{key:t.value+"-"+i,attrs:{value:t.value,"icon-name":t.icon}},[e._t("option",(function(){return[t.component?[n(t.component,{tag:"component",attrs:{option:t}})]:[e._v("\n                "+e._s(t[e.optionTextField])+"\n              ")]]}),null,{option:t})],2)})):e._t("suggestions")],2):e._e()],1)]:e._t("view",(function(){return[e._v(e._s(e.inputValue))]}),null,{label:e.label,inputValue:e.inputValue})],2)},staticRenderFns:[]},void 0,f,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=m},"5Jof":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("9k56"),r=n("3hkr"),a=n("jIK5"),s=n("hII5"),o=n("g+RJ"),l=n("GeBT"),u=n("aBA8");const c=Object(s.c)({footVariant:Object(s.b)(a.r)},r.bb),d=Object(i.c)({name:r.bb,mixins:[o.a,l.a,u.a],provide(){return{getBvTableRowGroup:()=>this}},inject:{getBvTable:{default:()=>()=>({})}},inheritAttrs:!1,props:c,computed:{bvTable(){return this.getBvTable()},isTfoot:()=>!0,isDark(){return this.bvTable.dark},isStacked(){return this.bvTable.isStacked},isResponsive(){return this.bvTable.isResponsive},isStickyHeader:()=>!1,hasStickyHeader(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant(){return this.bvTable.tableVariant},tfootClasses(){return[this.footVariant?"thead-"+this.footVariant:null]},tfootAttrs(){return{...this.bvAttrs,role:"rowgroup"}}},render(e){return e("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}})},"5QKO":function(e,t,n){"use strict";var i=n("bOix");t.a={methods:{timeFormatted:(e,t)=>Object(i.M)(t).format(e,i.qb),tooltipTitle:e=>i.W.asDateTimeFull.format(e)}}},"5wtN":function(e,t){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"PageInfo"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PageInfo"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasPreviousPage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endCursor"},arguments:[],directives:[]}]}}],loc:{start:0,end:92}};n.loc.source={body:"fragment PageInfo on PageInfo {\n  hasNextPage\n  hasPreviousPage\n  startCursor\n  endCursor\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function r(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.PageInfo=function(e,t){var n={kind:e.kind,definitions:[r(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=i[t]||new Set,s=new Set,o=new Set;for(a.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){s.has(e)||(s.add(e),(i[e]||new Set).forEach((function(e){o.add(e)})))}))}return s.forEach((function(t){var i=r(e,t);i&&n.definitions.push(i)})),n}(n,"PageInfo")},"6+df":function(e,t){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},"7Gq8":function(e,t,n){var i=n("BZxG");e.exports=function(e,t,n){for(var r=-1,a=e.criteria,s=t.criteria,o=a.length,l=n.length;++r<o;){var u=i(a[r],s[r]);if(u)return r>=l?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}},"7z1+":function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d}));var i=n("ewH8"),r=n("KFC0"),a=n.n(r),s=n("lx39"),o=n.n(s),l=n("BglX");const u=e=>Boolean(e)&&(e=>{var t;return(null==e||null===(t=e.text)||void 0===t?void 0:t.length)>0&&!Array.isArray(null==e?void 0:e.items)})(e),c=e=>Boolean(e)&&Array.isArray(e.items)&&Boolean(e.items.length)&&e.items.every(u),d=e=>e.every(u)||e.every(c),h=e=>{const t=e();if(!Array.isArray(t))return!1;const n=t.filter(e=>e.tag);return n.length&&n.every(e=>(e=>{var t,n;return Boolean(e)&&(n=(null===(t=e.componentOptions)||void 0===t?void 0:t.tag)||e.tag,["gl-disclosure-dropdown-group","gl-disclosure-dropdown-item","li"].includes(n))})(e))},p=e=>{const t=e(),n=t.find(e=>Array.isArray(e.children)&&e.children.length);return(n?n.children:t).filter(e=>!o()(e.text)||e.text.trim().length>0).every(e=>(e=>{var t;return[l.c,l.b].includes(null===(t=e.type)||void 0===t?void 0:t.name)||"li"===e.type})(e))},f=e=>!!a()(e)&&(i.default.version.startsWith("3")?p(e):h(e))},"8DVS":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o}));var i=n("9k56"),r=n("jIK5"),a=n("hII5");const s={stacked:Object(a.b)(r.i,!1)},o=Object(i.c)({props:s,computed:{isStacked(){const{stacked:e}=this;return""===e||e},isStackedAlways(){return!0===this.isStacked},stackedTableClasses(){const{isStackedAlways:e}=this;return{"b-table-stacked":e,["b-table-stacked-"+this.stacked]:!e&&this.isStacked}}}})},"95R8":function(e,t,n){var i=n("90g9"),r=n("aEqC"),a=n("nHTl"),s=n("QwWC"),o=n("uHqx"),l=n("wJPF"),u=n("7Gq8"),c=n("uYOL"),d=n("P/Kr");e.exports=function(e,t,n){t=t.length?i(t,(function(e){return d(e)?function(t){return r(t,1===e.length?e[0]:e)}:e})):[c];var h=-1;t=i(t,l(a));var p=s(e,(function(e,n,r){return{criteria:i(t,(function(t){return t(e)})),index:++h,value:e}}));return o(p,(function(e,t){return u(e,t,n)}))}},"99pJ":function(e,t,n){e.exports=n("NFDe")},"9ZSa":function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return O}));var i=n("9k56"),r=n("CU79"),a=n("jIK5"),s=n("4z8A"),o=n("gZSI"),l=n("C+ps"),u=n("9Dxz"),c=n("i8zK"),d=n("KZ4l"),h=n("VuSA"),p=n("hII5"),f=n("idLb"),m=n("I3xC"),b=n("TnX6"),g=n("S8CU");const v=(e,t)=>{const n=[];if(Object(o.a)(e)&&e.filter(m.a).forEach(e=>{if(Object(o.m)(e))n.push({key:e,label:Object(b.e)(e)});else if(Object(o.i)(e)&&e.key&&Object(o.m)(e.key))n.push(Object(h.b)(e));else if(Object(o.i)(e)&&1===Object(h.h)(e).length){const t=Object(h.h)(e)[0],i=((e,t)=>{let n=null;return Object(o.m)(t)?n={key:e,label:t}:Object(o.e)(t)?n={key:e,formatter:t}:Object(o.i)(t)?(n=Object(h.b)(t),n.key=n.key||e):!1!==t&&(n={key:e}),n})(t,e[t]);i&&n.push(i)}}),0===n.length&&Object(o.a)(t)&&t.length>0){const e=t[0];Object(h.h)(e).forEach(e=>{g.e[e]||n.push({key:e,label:Object(b.e)(e)})})}const i={};return n.filter(e=>!i[e.key]&&(i[e.key]=!0,e.label=Object(o.m)(e.label)?e.label:Object(b.e)(e.key),!0))},{mixin:y,props:k,prop:w,event:S}=Object(c.a)("value",{type:a.b,defaultValue:[]}),O=Object(h.m)({...k,fields:Object(p.b)(a.b,null),items:Object(p.b)(a.b,[]),primaryKey:Object(p.b)(a.r),[w]:Object(p.b)(a.b,[])}),x=Object(i.c)({mixins:[y,s.a],props:O,data(){const{items:e}=this;return{localItems:Object(o.a)(e)?e.slice():[]}},computed:{computedFields(){return v(this.fields,this.localItems)},computedFieldsObj(){const{bvParent:e}=this;return this.computedFields.reduce((t,n)=>{if(t[n.key]=Object(h.b)(n),n.formatter){let i=n.formatter;Object(o.m)(i)&&Object(o.e)(e[i])?i=e[i]:Object(o.e)(i)||(i=void 0),t[n.key].formatter=i}return t},{})},computedItems(){const{paginatedItems:e,sortedItems:t,filteredItems:n,localItems:i}=Object(f.a)(this);return(e||t||n||i||[]).slice()},context(){const{perPage:e,currentPage:t}=Object(f.a)(this);return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Object(u.b)(Object(d.c)(e,0),0),currentPage:Object(u.b)(Object(d.c)(t,0),1),apiUrl:this.apiUrl}}},watch:{items(e){this.localItems=Object(o.a)(e)?e.slice():[]},computedItems(e,t){Object(l.a)(e,t)||this.$emit(S,e)},context(e,t){Object(l.a)(e,t)||this.$emit(r.h,e)}},mounted(){this.$emit(S,this.computedItems)},methods:{getFieldFormatter(e){const t=this.computedFieldsObj[e];return t?t.formatter:void 0}}})},"9ZrP":function(e,t,n){"use strict";n.r(t),n.d(t,"initBulkUpdateSidebar",(function(){return y})),n.d(t,"initCsvImportExportButtons",(function(){return k})),n.d(t,"initIssuableByEmail",(function(){return w})),n.d(t,"initIssuableSidebar",(function(){return S}));var i=n("yWhq"),r=n("ewH8"),a=n("NmEs"),s=n("i3lA"),o=n("q/Yt"),l=n("XoYy"),u=n("Df1p"),c=n("EH6T"),d=(n("B++/"),n("z6RN"),n("47t/"),n("3UXl"),n("iyoE"),n("EmJ/")),h=n.n(d),p=n("D4cA"),f=n("goDm");class m{constructor(){this.initDomElements(),this.bindEvents(),this.initDropdowns(),this.setupBulkUpdateActions()}initDomElements(){this.$page=h()(".layout-page"),this.$sidebar=h()(".right-sidebar"),this.$sidebarInnerContainer=this.$sidebar.find(".issuable-sidebar"),this.$bulkEditCancelBtn=h()(".js-bulk-update-menu-hide"),this.$bulkEditSubmitBtn=h()(".js-update-selected-issues"),this.$bulkUpdateEnableBtn=h()(".js-bulk-update-toggle"),this.$otherFilters=h()(".issues-other-filters"),this.$checkAllContainer=h()(".check-all-holder"),this.$issueChecks=h()(".issue-check"),this.$issuesList=h()('.issuable-list input[type="checkbox"]'),this.$issuableIdsInput=h()("#update_issuable_ids")}bindEvents(){var e=this;this.$bulkUpdateEnableBtn.on("click",(function(t){return e.toggleBulkEdit(t,!0)})),this.$bulkEditCancelBtn.on("click",(function(t){return e.toggleBulkEdit(t,!1)})),this.$checkAllContainer.on("click",(function(t){return e.selectAll(t)})),this.$issuesList.on("change",(function(){return e.updateFormState()})),this.$bulkEditSubmitBtn.on("click",(function(){return e.prepForSubmit()})),this.$checkAllContainer.on("click",(function(){return e.updateFormState()})),p.a.$on("issuables:enableBulkEdit",(function(){return e.toggleBulkEdit(null,!0)})),p.a.$on("issuables:updateBulkEdit",(function(){return e.updateFormState()})),p.a.$on("issuables:bulkMoveStarted",(function(){return e.toggleSubmitButtonDisabled(!0)})),p.a.$on("issuables:bulkMoveEnded",(function(){return e.updateFormState()}))}initDropdowns(){new f.a,Object(o.mountMilestoneDropdown)(),Object(o.mountMoveIssuesButton)(),Object(o.mountStatusDropdown)(),Object(o.mountSubscriptionsDropdown)(),Object(o.mountAssigneesDropdown)(),Object(o.mountConfidentialityDropdown)(),window.gon&&window.gon.ee&&n.e(1184).then(n.bind(null,"ZL6I")).then((function({mountEpicDropdown:e,mountHealthStatusDropdown:t,mountIterationDropdown:n}){e(),t(),n()})).catch((function(){}))}setupBulkUpdateActions(){c.a.setOriginalDropdownData()}updateFormState(){const e=!h()('.issuable-list input[type="checkbox"]:checked').length;this.toggleSubmitButtonDisabled(e),this.updateSelectedIssuableIds(),c.a.setOriginalDropdownData(),p.a.$emit("issuables:selectionChanged",!e)}prepForSubmit(){var e=this;setTimeout((function(){return e.$bulkEditSubmitBtn.disable()})),this.updateSelectedIssuableIds()}toggleBulkEdit(e,t){null==e||e.preventDefault(),p.a.$emit("issuables:toggleBulkEdit",t),this.toggleSidebarDisplay(t),this.toggleBulkEditButtonDisabled(t),this.toggleOtherFiltersDisabled(t),this.toggleCheckboxDisplay(t)}updateSelectedIssuableIds(){this.$issuableIdsInput.val(m.getCheckedIssueIds())}selectAll(){const e=this.$checkAllContainer.find("input").prop("checked");this.$issuesList.prop("checked",e)}toggleSidebarDisplay(e){this.$page.toggleClass("right-sidebar-expanded issuable-bulk-update-sidebar",e),this.$page.toggleClass("right-sidebar-collapsed issuable-bulk-update-sidebar",!e),this.$sidebarInnerContainer.toggleClass("hidden",!e),this.$sidebar.toggleClass("right-sidebar-expanded issuable-bulk-update-sidebar",e),this.$sidebar.toggleClass("right-sidebar-collapsed issuable-bulk-update-sidebar",!e)}toggleBulkEditButtonDisabled(e){e?this.$bulkUpdateEnableBtn.disable():this.$bulkUpdateEnableBtn.enable()}toggleCheckboxDisplay(e){this.$checkAllContainer.toggleClass("hidden",!e),this.$issueChecks.toggleClass("hidden",!e)}toggleOtherFiltersDisabled(e){this.$otherFilters.toggleClass("disabled-content",e)}toggleSubmitButtonDisabled(e){e?this.$bulkEditSubmitBtn.disable():this.$bulkEditSubmitBtn.enable()}static getCheckedIssueIds(){const e=h()('.issuable-list input[type="checkbox"]:checked');return e.length>0?h.a.map(e,(function(e){return h()(e).data("id")})):[]}}n("ZzK0"),n("BzOf");var b=n("eVUo"),g=n("yYhH");class v{constructor(e){this.reviewersSelect=new g.a(e,".js-reviewer-search"),this.reviewersSelect.dropdowns.forEach((function(e){const t=e.dropdown,n=t[0],i=n.querySelector(".dropdown-content"),r=n.querySelector(".dropdown-loading"),a=r.querySelector(".gl-spinner-container"),s=r.parentNode;n.classList.add("non-blocking-loader"),a.classList.remove("gl-mt-7"),a.classList.add("gl-mt-2"),t.on("shown.bs.dropdown",(function(){e.filterInput.focus()})),t.on("toggle.on.loading.gl.dropdown filtering.gl.dropdown",(function(){i.appendChild(r)})),t.on("done.remote.loading.gl.dropdown done.filtering.gl.dropdown",(function(){s.appendChild(r)}))})),h()(".issuable-sidebar .inline-update").on("change","select",(function(){return h()(this).submit()})),h()(document).off("click",".issuable-sidebar .dropdown-content a").on("click",".issuable-sidebar .dropdown-content a",(function(e){return e.preventDefault()})),h()(document).off("click",".edit-link").on("click",".edit-link",(function(e){e.preventDefault();const t=h()(this).parents(".block"),n=t.find(".selectbox");n.is(":visible")?(n.hide(),t.find(".value:not(.dont-hide)").show()):(n.show(),t.find(".value:not(.dont-hide)").hide()),n.is(":visible")&&setTimeout((function(){return t.find(".dropdown-menu-toggle").trigger("click")}),0)})),window.addEventListener("beforeunload",(function(){const e=b.a.getBreakpointSize();["xs","sm","md"].includes(e)&&Object(a.Q)("collapsed_gutter",!0)}))}}function y(e){document.querySelector(".issues-bulk-update")&&(c.a.init({prefixId:e}),new m)}function k(){const e=document.querySelector(".js-csv-import-export-buttons");if(!e)return null;const{showExportButton:t,showImportButton:n,issuableType:i,issuableCount:s,email:o,exportCsvPath:u,importCsvIssuesPath:c,canEdit:d,projectImportJiraPath:h,maxAttachmentSize:p}=e.dataset;return new r.default({el:e,name:"CsvImportExportButtonsRoot",provide:{showExportButton:Object(a.I)(t),showImportButton:Object(a.I)(n),issuableType:i,email:o,importCsvIssuesPath:c,canEdit:Object(a.I)(d),projectImportJiraPath:h,maxAttachmentSize:p},render:function(e){return e(l.a,{props:{exportCsvPath:u,issuableCount:parseInt(s,10)}})}})}function w(){const e=document.querySelector(".js-issuable-by-email");if(!e)return null;r.default.use(i.a);const{initialEmail:t,issuableType:n,emailsHelpPagePath:a,quickActionsHelpPath:s,markdownHelpPath:o,resetPath:l}=e.dataset;return new r.default({el:e,name:"IssuableByEmailRoot",provide:{initialEmail:t,issuableType:n,emailsHelpPagePath:a,quickActionsHelpPath:s,markdownHelpPath:o,resetPath:l},render:function(e){return e(u.a)}})}function S(){const e=document.querySelector(".js-sidebar-options");if(!e)return;const t=Object(o.getSidebarOptions)(e);new v(t.currentUser),s.a.initialize()}},AVGv:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getMergeRequestsCount"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullPath"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}},type:{kind:"NamedType",name:{kind:"Name",value:"AssigneeWildcardId"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}},type:{kind:"NamedType",name:{kind:"Name",value:"MilestoneWildcardId"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"not"}},type:{kind:"NamedType",name:{kind:"Name",value:"MergeRequestsResolverNegatedParams"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullPath"},value:{kind:"Variable",name:{kind:"Name",value:"fullPath"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"openedMergeRequests"},name:{kind:"Name",value:"mergeRequests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"state"},value:{kind:"EnumValue",value:"opened"}},{kind:"Argument",name:{kind:"Name",value:"assigneeUsername"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}}},{kind:"Argument",name:{kind:"Name",value:"assigneeWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneTitle"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"not"},value:{kind:"Variable",name:{kind:"Name",value:"not"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"mergedMergeRequests"},name:{kind:"Name",value:"mergeRequests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"state"},value:{kind:"EnumValue",value:"merged"}},{kind:"Argument",name:{kind:"Name",value:"assigneeUsername"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}}},{kind:"Argument",name:{kind:"Name",value:"assigneeWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneTitle"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"not"},value:{kind:"Variable",name:{kind:"Name",value:"not"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"closedMergeRequests"},name:{kind:"Name",value:"mergeRequests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"state"},value:{kind:"EnumValue",value:"closed"}},{kind:"Argument",name:{kind:"Name",value:"assigneeUsername"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}}},{kind:"Argument",name:{kind:"Name",value:"assigneeWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneTitle"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"not"},value:{kind:"Variable",name:{kind:"Name",value:"not"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"allMergeRequests"},name:{kind:"Name",value:"mergeRequests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"state"},value:{kind:"EnumValue",value:"all"}},{kind:"Argument",name:{kind:"Name",value:"assigneeUsername"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}}},{kind:"Argument",name:{kind:"Name",value:"assigneeWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneTitle"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"not"},value:{kind:"Variable",name:{kind:"Name",value:"not"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:1382}};n.loc.source={body:"query getMergeRequestsCount(\n  $fullPath: ID!\n  $assigneeWildcardId: AssigneeWildcardId\n  $assigneeUsernames: String\n  $milestoneTitle: String\n  $milestoneWildcardId: MilestoneWildcardId\n  $not: MergeRequestsResolverNegatedParams\n) {\n  project(fullPath: $fullPath) {\n    id\n    openedMergeRequests: mergeRequests(\n      state: opened\n      assigneeUsername: $assigneeUsernames\n      assigneeWildcardId: $assigneeWildcardId\n      milestoneTitle: $milestoneTitle\n      milestoneWildcardId: $milestoneWildcardId\n      not: $not\n    ) {\n      count\n    }\n    mergedMergeRequests: mergeRequests(\n      state: merged\n      assigneeUsername: $assigneeUsernames\n      assigneeWildcardId: $assigneeWildcardId\n      milestoneTitle: $milestoneTitle\n      milestoneWildcardId: $milestoneWildcardId\n      not: $not\n    ) {\n      count\n    }\n    closedMergeRequests: mergeRequests(\n      state: closed\n      assigneeUsername: $assigneeUsernames\n      assigneeWildcardId: $assigneeWildcardId\n      milestoneTitle: $milestoneTitle\n      milestoneWildcardId: $milestoneWildcardId\n      not: $not\n    ) {\n      count\n    }\n    allMergeRequests: mergeRequests(\n      state: all\n      assigneeUsername: $assigneeUsernames\n      assigneeWildcardId: $assigneeWildcardId\n      milestoneTitle: $milestoneTitle\n      milestoneWildcardId: $milestoneWildcardId\n      not: $not\n    ) {\n      count\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function r(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.getMergeRequestsCount=function(e,t){var n={kind:e.kind,definitions:[r(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=i[t]||new Set,s=new Set,o=new Set;for(a.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){s.has(e)||(s.add(e),(i[e]||new Set).forEach((function(e){o.add(e)})))}))}return s.forEach((function(t){var i=r(e,t);i&&n.definitions.push(i)})),n}(n,"getMergeRequestsCount")},Agcx:function(e,t,n){"use strict";var i=n("o4PY"),r=n.n(i),a=n("4lAS"),s=n("z1xw"),o=n("VpDa"),l=n.n(o),u=n("/lV4"),c=n("GuZl"),d={components:{GlButton:a.a},directives:{GlTooltip:s.a},props:{text:{type:String,required:!1,default:""},id:{type:String,required:!1,default:function(){return r()("modal-copy-button-")}},container:{type:String,required:!1,default:""},cssClasses:{type:String,required:!1,default:""},modalId:{type:String,required:!1,default:""},target:{type:String,required:!1,default:""},title:{type:String,required:!1,default:Object(u.__)("Copy")},tooltipPlacement:{type:String,required:!1,default:"top"},tooltipContainer:{type:String,required:!1,default:null},category:{type:String,required:!1,default:"primary"}},computed:{modalDomId(){return this.modalId?"#"+this.modalId:""}},mounted(){var e=this;this.$nextTick((function(){e.clipboard=new l.a(e.$el,{container:document.querySelector(e.modalDomId+" div.modal-content")||document.getElementById(e.container)||document.body}),e.clipboard.on("success",(function(t){e.$root.$emit(c.b,e.id),e.$emit("success",t),t.clearSelection(),t.trigger.blur()})).on("error",(function(t){return e.$emit("error",t)}))}))},destroyed(){this.clipboard&&this.clipboard.destroy()}},h=n("tBpV"),p=Object(h.a)(d,(function(){var e=this;return(0,e._self._c)("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip",value:{placement:e.tooltipPlacement,container:e.tooltipContainer},expression:"{ placement: tooltipPlacement, container: tooltipContainer }"}],class:e.cssClasses,attrs:{id:e.id,"data-clipboard-target":e.target,"data-clipboard-text":e.text,title:e.title,"aria-label":e.title,category:e.category,icon:"copy-to-clipboard"}})}),[],!1,null,null,null);t.a=p.exports},BAFT:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var i=n("9k56"),r=n("jIK5"),a=n("BBKf"),s=n("hII5"),o=n("5Jof");const l={footClone:Object(s.b)(r.g,!1),footRowVariant:Object(s.b)(r.r),footVariant:Object(s.b)(r.r),tfootClass:Object(s.b)(r.e),tfootTrClass:Object(s.b)(r.e)},u=Object(i.c)({props:l,methods:{renderTFootCustom(){const e=this.$createElement;return this.hasNormalizedSlot(a.d)?e(o.a,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(a.d,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):e()},renderTfoot(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}})},BZxG:function(e,t,n){var i=n("G1mR");e.exports=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,a=e==e,s=i(e),o=void 0!==t,l=null===t,u=t==t,c=i(t);if(!l&&!c&&!s&&e>t||s&&o&&u&&!l&&!c||r&&o&&u||!n&&u||!a)return 1;if(!r&&!s&&!c&&e<t||c&&n&&a&&!r&&!s||l&&n&&a||!o&&a||!u)return-1}return 0}},BglX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i}));const i="GlDisclosureDropdownItem",r="GlDisclosureDropdownGroup",a={top:"top",bottom:"bottom"}},Bo17:function(e,t,n){"use strict";var i=n("3CjL"),r=n.n(i),a=n("o4PY"),s=n.n(a),o=n("Qog8"),l=n("ntxz"),u=n("V5u/"),c=n("XBTk"),d=n("qaCH"),h=n("XiQx"),p=n("fSQg"),f=n("7z1+"),m=n("Pyw5"),b=n.n(m);const g="."+d.a,v="."+h.a;const y={name:"GlDisclosureDropdown",events:{GL_DROPDOWN_SHOWN:u.i,GL_DROPDOWN_HIDDEN:u.h,GL_DROPDOWN_BEFORE_CLOSE:u.e,GL_DROPDOWN_FOCUS_CONTENT:u.g},components:{GlBaseDropdown:d.b,GlDisclosureDropdownItem:h.b,GlDisclosureDropdownGroup:p.a},props:{items:{type:Array,required:!1,default:()=>[],validator:f.d},toggleText:{type:String,required:!1,default:""},textSrOnly:{type:Boolean,required:!1,default:!1},category:{type:String,required:!1,default:c.m.primary,validator:e=>e in c.m},variant:{type:String,required:!1,default:c.w.default,validator:e=>e in c.w},size:{type:String,required:!1,default:"medium",validator:e=>e in c.n},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},toggleId:{type:String,required:!1,default:()=>s()("dropdown-toggle-btn-")},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:e=>Object.keys(c.v).includes(e)},toggleAriaLabelledBy:{type:String,required:!1,default:null},listAriaLabelledBy:{type:String,required:!1,default:null},block:{type:Boolean,required:!1,default:!1},dropdownOffset:{type:[Number,Object],required:!1,default:void 0},fluidWidth:{type:Boolean,required:!1,default:!1},autoClose:{type:Boolean,required:!1,default:!0},positioningStrategy:{type:String,required:!1,default:u.k,validator:e=>[u.k,u.l].includes(e)},startOpened:{type:Boolean,required:!1,default:!1},improvedHideHeuristics:{type:Boolean,required:!1,default:()=>Boolean(l.b.useImprovedHideHeuristics)}},data:()=>({disclosureId:s()("disclosure-"),nextFocusedItemIndex:null}),computed:{disclosureTag(){var e;return null!==(e=this.items)&&void 0!==e&&e.length||Object(f.a)(this.$scopedSlots.default||this.$slots.default)?"ul":"div"},hasCustomToggle(){return Boolean(this.$scopedSlots.toggle)}},mounted(){this.startOpened&&this.open()},methods:{open(){this.$refs.baseDropdown.open()},close(){this.$refs.baseDropdown.close()},onShow(){this.$emit(u.i)},onBeforeClose(e){this.$emit(u.e,e)},onHide(){this.$emit(u.h),this.nextFocusedItemIndex=null},onKeydown(e){const{code:t}=e,n=this.getFocusableListItemElements();if(n.length<1)return;let i=!0;t===u.j?this.focusItem(0,n):t===u.c?this.focusItem(n.length-1,n):t===u.b?this.focusNextItem(e,n,-1):t===u.a?this.focusNextItem(e,n,1):t===u.d||t===u.m?this.handleAutoClose(e):i=!1,i&&Object(o.k)(e)},getFocusableListItemElements(){var e;const t=null===(e=this.$refs.content)||void 0===e?void 0:e.querySelectorAll(v);return Object(o.c)(Array.from(t||[]))},focusNextItem(e,t,n){const{target:i}=e,a=t.indexOf(i),s=r()(a+n,0,t.length-1);this.focusItem(s,t)},focusItem(e,t){var n;this.nextFocusedItemIndex=e,null===(n=t[e])||void 0===n||n.focus()},closeAndFocus(){this.$refs.baseDropdown.closeAndFocus()},handleAction(e){window.requestAnimationFrame(()=>{this.$emit("action",e)})},handleAutoClose(e){this.autoClose&&e.target.closest(v)&&e.target.closest(g)===this.$refs.baseDropdown.$el&&this.closeAndFocus()},uniqueItemId:()=>s()("disclosure-item-"),isItem:f.c},GL_DROPDOWN_CONTENTS_CLASS:u.f};const k=b()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("gl-base-dropdown",{ref:"baseDropdown",staticClass:"gl-disclosure-dropdown",attrs:{"aria-labelledby":e.toggleAriaLabelledBy,"toggle-id":e.toggleId,"toggle-text":e.toggleText,"toggle-class":e.toggleClass,"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,block:e.block,offset:e.dropdownOffset,"fluid-width":e.fluidWidth,"positioning-strategy":e.positioningStrategy,"improved-hide-heuristics":e.improvedHideHeuristics},on:e._d({},[e.$options.events.GL_DROPDOWN_SHOWN,e.onShow,e.$options.events.GL_DROPDOWN_HIDDEN,e.onHide,e.$options.events.GL_DROPDOWN_BEFORE_CLOSE,e.onBeforeClose,e.$options.events.GL_DROPDOWN_FOCUS_CONTENT,e.onKeydown]),scopedSlots:e._u([e.hasCustomToggle?{key:"toggle",fn:function(){return[e._t("toggle")]},proxy:!0}:null],null,!0)},[e._v(" "),e._t("header"),e._v(" "),n(e.disclosureTag,{ref:"content",tag:"component",class:e.$options.GL_DROPDOWN_CONTENTS_CLASS,attrs:{id:e.disclosureId,"aria-labelledby":e.listAriaLabelledBy||e.toggleId,"data-testid":"disclosure-content",tabindex:"-1"},on:{keydown:e.onKeydown,click:e.handleAutoClose}},[e._t("default",(function(){return[e._l(e.items,(function(t,i){return[e.isItem(t)?[n("gl-disclosure-dropdown-item",{key:e.uniqueItemId(),attrs:{item:t},on:{action:e.handleAction},scopedSlots:e._u(["list-item"in e.$scopedSlots?{key:"list-item",fn:function(){return[e._t("list-item",null,{item:t})]},proxy:!0}:null],null,!0)})]:[n("gl-disclosure-dropdown-group",{key:t.name,attrs:{bordered:0!==i,group:t},on:{action:e.handleAction},scopedSlots:e._u([e.$scopedSlots["group-label"]?{key:"group-label",fn:function(){return[e._t("group-label",null,{group:t})]},proxy:!0}:null],null,!0)},[e._v(" "),e.$scopedSlots["list-item"]?e._l(t.items,(function(t){return n("gl-disclosure-dropdown-item",{key:e.uniqueItemId(),attrs:{item:t},on:{action:e.handleAction},scopedSlots:e._u([{key:"list-item",fn:function(){return[e._t("list-item",null,{item:t})]},proxy:!0}],null,!0)})})):e._e()],2)]]}))]}))],2),e._v(" "),e._t("footer")],2)},staticRenderFns:[]},void 0,y,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=k},DKFa:function(e,t,n){var i=n("Fv5L");e.exports=function(e,t,n){return null==e?e:i(e,t,n)}},DbBu:function(e,t,n){var i=n("5N3H"),r=n("rRem"),a=n("J0jI"),s=RegExp("['’]","g");e.exports=function(e){return function(t){return i(a(r(t).replace(s,"")),e,"")}}},Df1p:function(e,t,n){"use strict";var i=n("4lAS"),r=n("1cpz"),a=n("30su"),s=n("MV2A"),o=n("Lb36"),l=n("s1D3"),u=n("Mq5L"),c=n("z1xw"),d=n("AxUD"),h=n("2ibD"),p=n("/lV4"),f=n("Agcx"),m={i18n:{sendEmail:Object(p.__)("Send email")},name:"IssuableByEmail",components:{GlButton:i.a,GlModal:r.a,GlSprintf:a.a,GlLink:s.a,GlFormInputGroup:o.a,GlIcon:l.a,ModalCopyButton:f.a},directives:{GlModal:u.a,GlTooltip:c.a},inject:{initialEmail:{default:null},issuableType:{default:d.TYPE_ISSUE},emailsHelpPagePath:{default:""},quickActionsHelpPath:{default:""},markdownHelpPath:{default:""},resetPath:{default:""}},data(){return{email:this.initialEmail,issuableName:this.issuableType===d.TYPE_ISSUE?Object(p.__)("issue"):Object(p.__)("merge request")}},computed:{mailToLink(){const e=Object(p.sprintf)(Object(p.__)("Enter the %{name} title"),{name:this.issuableName}),t=Object(p.sprintf)(Object(p.__)("Enter the %{name} description"),{name:this.issuableName});return`mailto:${this.email}?subject=${e}&body=${t}`}},methods:{async resetIncomingEmailToken(){try{const{data:{new_address:e}}=await h.a.put(this.resetPath);this.email=e}catch{this.$toast.show(Object(p.__)("There was an error when reseting email token."))}},cancelHandler(){this.$refs.modal.hide()}},modalId:"issuable-email-modal"},b=n("tBpV"),g=Object(b.a)(m,(function(){var e=this,t=e._self._c;return t("div",[t("gl-button",{directives:[{name:"gl-modal",rawName:"v-gl-modal",value:e.$options.modalId,expression:"$options.modalId"}],attrs:{variant:"link"}},[t("gl-sprintf",{attrs:{message:e.__("Email a new %{name} to this project")},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(e._s(e.issuableName))]},proxy:!0}])})],1),e._v(" "),t("gl-modal",{ref:"modal",attrs:{"modal-id":e.$options.modalId},scopedSlots:e._u([{key:"modal-title",fn:function(){return[t("gl-sprintf",{attrs:{message:e.__("Create new %{name} by email")},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(e._s(e.issuableName))]},proxy:!0}])})]},proxy:!0},{key:"modal-footer",fn:function(){return[t("gl-button",{attrs:{category:"secondary"},on:{click:e.cancelHandler}},[e._v(e._s(e.__("Cancel")))])]},proxy:!0}])},[e._v(" "),t("p",[t("gl-sprintf",{attrs:{message:e.__("You can create a new %{name} inside this project by sending an email to the following email address:")},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(e._s(e.issuableName))]},proxy:!0}])})],1),e._v(" "),t("gl-form-input-group",{staticClass:"gl-mb-4",attrs:{value:e.email,readonly:"","select-on-click":""},scopedSlots:e._u([{key:"append",fn:function(){return[t("modal-copy-button",{attrs:{text:e.email,title:e.__("Copy"),"modal-id":e.$options.modalId}}),e._v(" "),t("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.hover",modifiers:{hover:!0}}],attrs:{href:e.mailToLink,title:e.$options.i18n.sendEmail,"aria-label":e.$options.i18n.sendEmail,icon:"mail"}})]},proxy:!0}])}),e._v(" "),t("p",[t("gl-sprintf",{attrs:{message:e.__("The subject will be used as the title of the new issue, and the message will be the description. %{quickActionsLinkStart}Quick actions%{quickActionsLinkEnd} and styling with %{markdownLinkStart}Markdown%{markdownLinkEnd} are supported.")},scopedSlots:e._u([{key:"quickActionsLink",fn:function({content:n}){return[t("gl-link",{attrs:{href:e.quickActionsHelpPath,target:"_blank"}},[e._v(e._s(n))])]}},{key:"markdownLink",fn:function({content:n}){return[t("gl-link",{attrs:{href:e.markdownHelpPath,target:"_blank"}},[e._v(e._s(n))])]}}])})],1),e._v(" "),t("p",[t("gl-sprintf",{attrs:{message:e.__("This is a private email address %{helpIcon} generated just for you. Anyone who has it can create issues or merge requests as if they were you. If that happens, %{resetLinkStart}reset this token%{resetLinkEnd}.")},scopedSlots:e._u([{key:"helpIcon",fn:function(){return[t("gl-link",{attrs:{href:e.emailsHelpPagePath,target:"_blank"}},[t("gl-icon",{staticClass:"gl-text-blue-600",attrs:{name:"question-o"}})],1)]},proxy:!0},{key:"resetLink",fn:function({content:n}){return[t("gl-button",{attrs:{variant:"link","data-testid":"reset_email_token_link"},on:{click:e.resetIncomingEmailToken}},[e._v("\n            "+e._s(n)+"\n          ")])]}}])})],1)],1)],1)}),[],!1,null,null,null);t.a=g.exports},FDgU:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"searchLabelsForMergeRequests"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullPath"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"search"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullPath"},value:{kind:"Variable",name:{kind:"Name",value:"fullPath"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"persist"},arguments:[]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"labels"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}},{kind:"Argument",name:{kind:"Name",value:"includeAncestorGroups"},value:{kind:"BooleanValue",value:!0}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__persist"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__persist"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"textColor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:307}};n.loc.source={body:"query searchLabelsForMergeRequests($fullPath: ID!, $search: String) {\n  project(fullPath: $fullPath) @persist {\n    id\n    labels(searchTerm: $search, includeAncestorGroups: true) {\n      __persist\n      nodes {\n        __persist\n        id\n        color\n        textColor\n        title\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function r(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.searchLabelsForMergeRequests=function(e,t){var n={kind:e.kind,definitions:[r(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=i[t]||new Set,s=new Set,o=new Set;for(a.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){s.has(e)||(s.add(e),(i[e]||new Set).forEach((function(e){o.add(e)})))}))}return s.forEach((function(t){var i=r(e,t);i&&n.definitions.push(i)})),n}(n,"searchLabelsForMergeRequests")},FIzW:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setSortPreference"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserPreferencesUpdateInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userPreferencesUpdate"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:124}};n.loc.source={body:"mutation setSortPreference($input: UserPreferencesUpdateInput!) {\n  userPreferencesUpdate(input: $input) {\n    errors\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function r(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.setSortPreference=function(e,t){var n={kind:e.kind,definitions:[r(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var a=i[t]||new Set,s=new Set,o=new Set;for(a.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){s.has(e)||(s.add(e),(i[e]||new Set).forEach((function(e){o.add(e)})))}))}return s.forEach((function(t){var i=r(e,t);i&&n.definitions.push(i)})),n}(n,"setSortPreference")},FxFN:function(e,t,n){"use strict";n.d(t,"h",(function(){return o})),n.d(t,"e",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return g}));var i=n("P/Kr"),r=n.n(i),a=(n("3UXl"),n("iyoE"),n("99pJ")),s=n.n(a);const o=function(e){return!("string"!=typeof e||!e.startsWith("gid://gitlab/"))},l=function(e){const[t,n]=(""+e).replace(/gid:\/\/gitlab\//g,"").split("/");return{type:t,id:n}},u=function(e=""){const t=o(e)?l(e).id:e,n=parseInt(t,10);return Number.isInteger(n)?n:null},c=function(e=""){if(!o(e))return null;const{type:t}=l(e);return t||null},d={append:"APPEND",remove:"REMOVE",replace:"REPLACE"},h=function(e,t){if("string"!=typeof e)throw new TypeError("type must be a string; got "+typeof e);if(!["number","string"].includes(typeof t))throw new TypeError("id must be a number or string; got "+typeof t);return o(t)?t:`gid://gitlab/${e}/${t}`},p=function(e,t){return t.map((function(t){return h(e,t)}))},f=function(e){if(!r()(e))throw new TypeError("nodes must be an array; got "+typeof e);return e.map((function(e){return e.id?{...e,id:u(e.id)}:e}))},m=function(e,t="nodes"){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:[]},b=function(e,t=1e4){const n=function(e){s.a.hidden()?e.stopPolling():e.startPolling(t)};n(e),s.a.change(n.bind(null,e))},g=function(e,t=""){return{fetchOptions:{method:"GET"},headers:{"X-GITLAB-GRAPHQL-FEATURE-CORRELATION":e,"X-GITLAB-GRAPHQL-RESOURCE-ETAG":t,"X-Requested-With":"XMLHttpRequest"}}}},FzbX:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return O})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return x})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return _})),n.d(t,"l",(function(){return g})),n.d(t,"m",(function(){return T})),n.d(t,"n",(function(){return v})),n.d(t,"o",(function(){return j}));var i=n("bta6"),r=n.n(i),a=n("gAdM"),s=n.n(a),o=n("lx39"),l=n.n(o),u=n("/CIc");const c="filtered-search-term",d="intent-activate-previous",h=".gl-token-close";function p(e){return e.type===c&&""===e.value.data.trim()}function f(e){const t=[];return e.forEach(e=>{p(e)||(e.type!==c?t.push({...e}):t.length>0&&"string"==typeof t[t.length-1]?t[t.length-1]+=" "+e.value.data:t.push(e.value.data))}),t}function m(e){Array.isArray(e),0}function b(e){return"string"==typeof e||(m(e),e.some(e=>"string"==typeof e||!e.id))}function g(e,t,n){if(0===t)return e;let i;return i=e>=0&&e<n?e:t>0?-1:n,Object(u.d)(i+t,n)}function v(e){let{icon:t,title:n,type:i,optionComponent:r}=e;return{icon:t,title:n,value:i,component:r}}let y=0;const k=()=>{const e="token-"+y;return y+=1,e};function w(e){return e.id?e:{...e,id:k()}}function S(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{id:k(),type:c,value:{data:e}}}function O(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m(e);const n=Array.isArray(e)?e:[e];return n.reduce((e,n)=>{if("string"==typeof n)if(t){const t=n.trim();t&&e.push(S(t))}else{n.split(" ").filter(Boolean).forEach(t=>e.push(S(t)))}else e.push(w(n));return e},[])}function x(e,t){return e.toLowerCase().includes(t.toLowerCase())}const T={type:c,icon:"title",title:"Search for this text"};function _(e){if("'"===r()(e)&&"'"===s()(e))return[e];if('"'===r()(e)&&'"'===s()(e))return[e];const t=e.split(" "),n=[];let i=!1,a="";for(;t.length;){const e=t.shift();if(-1===e.indexOf('"'))i?a+=" "+e:n.push(e);else{const[r,s]=e.split('"',2);i?(i=!1,a+=` ${r}"`,n.push(a),a="",s.length&&t.unshift(s)):(i=!0,r.length&&n.push(r),a='"'+s)}}return n}function j(e){if(!l()(e))return e;if(!e.includes(" "))return e;return["'",'"'].some(t=>r()(e)===t&&s()(e)===t)?e:`"${e}"`}},HJBN:function(e,t,n){var i=n("TTsI"),r=n("4ips"),a=n("Opi0"),s=n("QFSp"),o=a((function(e,t){return s(e)?i(e,r(t,1,s,!0)):[]}));e.exports=o},HnlB:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return r}));const i=e=>e instanceof Date?new Date(e.getTime()):new Date,r=(e,t)=>{const n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),i=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate());return Math.floor((i-n)/864e5)},a=(e,t)=>new Date(i(e).setDate(e.getDate()-t)),s=(e,t)=>new Date(i(e).setDate(e.getDate()+t)),o=(e,t)=>Boolean(e&&t&&new Date(e).getTime()===new Date(t).getTime())},IAil:function(e,t,n){var i=n("ERvI")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"});e.exports=i},INJE:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var i=n("UNrv"),r=n("+rsL");function a(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t){return e?Object(i.f)(Object(i.f)([],e,!0),t,!0):t}}}function s(e){return void 0===e&&(e=!1),{keyArgs:e,read:function(e,t){var n=t.canRead,r=t.readField;if(!e)return e;var a=[],s="",l="";e.edges.forEach((function(e){n(r("node",e))&&(a.push(e),e.cursor&&(s=s||e.cursor||"",l=e.cursor||l))}));var u=e.pageInfo||{},c=u.startCursor,d=u.endCursor;return Object(i.a)(Object(i.a)({},o(e)),{edges:a,pageInfo:Object(i.a)(Object(i.a)({},e.pageInfo),{startCursor:c||s,endCursor:d||l})})},merge:function(e,t,n){var a=n.args,s=n.isReference,l=n.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var u=t.edges?t.edges.map((function(e){return s(e=Object(i.a)({},e))&&(e.cursor=l("cursor",e)),e})):[];if(t.pageInfo){var c=t.pageInfo,d=c.startCursor,h=c.endCursor,p=u[0],f=u[u.length-1];p&&d&&(p.cursor=d),f&&h&&(f.cursor=h);var m=p&&p.cursor;m&&!d&&(t=Object(r.b)(t,{pageInfo:{startCursor:m}}));var b=f&&f.cursor;b&&!h&&(t=Object(r.b)(t,{pageInfo:{endCursor:b}}))}var g=e.edges,v=[];if(a&&a.after)(y=g.findIndex((function(e){return e.cursor===a.after})))>=0&&(g=g.slice(0,y+1));else if(a&&a.before){var y;v=(y=g.findIndex((function(e){return e.cursor===a.before})))<0?g:g.slice(y),g=[]}else t.edges&&(g=[]);var k=Object(i.f)(Object(i.f)(Object(i.f)([],g,!0),u,!0),v,!0),w=Object(i.a)(Object(i.a)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var S=t.pageInfo,O=S.hasPreviousPage,x=S.hasNextPage,T=(d=S.startCursor,h=S.endCursor,Object(i.e)(S,["hasPreviousPage","hasNextPage","startCursor","endCursor"]));Object.assign(w,T),g.length||(void 0!==O&&(w.hasPreviousPage=O),void 0!==d&&(w.startCursor=d)),v.length||(void 0!==x&&(w.hasNextPage=x),void 0!==h&&(w.endCursor=h))}return Object(i.a)(Object(i.a)(Object(i.a)({},o(e)),o(t)),{edges:k,pageInfo:w})}}}var o=function(e){return Object(i.e)(e,l)},l=["edges","pageInfo"]},Idy0:function(e,t,n){var i=n("4ips"),r=n("Opi0"),a=n("dA+0"),s=n("QFSp"),o=r((function(e){return a(i(e,1,s,!0))}));e.exports=o},J0jI:function(e,t,n){var i=n("JIXF"),r=n("lxj7"),a=n("rhmX"),s=n("qxsN");e.exports=function(e,t,n){return e=a(e),void 0===(t=n?void 0:t)?r(e)?s(e):i(e):e.match(t)||[]}},"J6+Z":function(e,t,n){"use strict";var i=n("9k56"),r=n("3hkr"),a=n("jIK5"),s=n("VuSA"),o=n("hII5"),l=n("aBA8"),u=n("Xhk9"),c=n("gZSI"),d=n("9Dxz"),h=n("KZ4l"),p=n("TnX6");const f=Object(o.c)({animated:Object(o.b)(a.g,null),label:Object(o.b)(a.r),labelHtml:Object(o.b)(a.r),max:Object(o.b)(a.m,null),precision:Object(o.b)(a.m,null),showProgress:Object(o.b)(a.g,null),showValue:Object(o.b)(a.g,null),striped:Object(o.b)(a.g,null),value:Object(o.b)(a.m,0),variant:Object(o.b)(a.r)},r.T),m=Object(i.c)({name:r.T,mixins:[l.a],inject:{getBvProgress:{default:()=>()=>({})}},props:f,computed:{bvProgress(){return this.getBvProgress()},progressBarClasses(){const{computedAnimated:e,computedVariant:t}=this;return[t?"bg-"+t:"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue(){return Object(h.b)(this.value,0)},computedMax(){const e=Object(h.b)(this.max)||Object(h.b)(this.bvProgress.max,0);return e>0?e:100},computedPrecision(){return Object(d.b)(Object(h.c)(this.precision,Object(h.c)(this.bvProgress.precision,0)),0)},computedProgress(){const e=this.computedPrecision,t=Object(d.d)(10,e);return Object(h.a)(100*t*this.computedValue/this.computedMax/t,e)},computedVariant(){return this.variant||this.bvProgress.variant},computedStriped(){return Object(c.b)(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated(){return Object(c.b)(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress(){return Object(c.b)(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue(){return Object(c.b)(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render(e){const{label:t,labelHtml:n,computedValue:i,computedPrecision:r}=this;let a,s={};return this.hasNormalizedSlot()?a=this.normalizeSlot():t||n?s=Object(u.a)(n,t):this.computedShowProgress?a=this.computedProgress:this.computedShowValue&&(a=Object(h.a)(i,r)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":Object(p.f)(this.computedMax),"aria-valuenow":Object(h.a)(i,r)},domProps:s},a)}}),b=Object(s.j)(f,["label","labelHtml"]),g=Object(o.c)(Object(s.m)({...b,animated:Object(o.b)(a.g,!1),height:Object(o.b)(a.r),max:Object(o.b)(a.m,100),precision:Object(o.b)(a.m,0),showProgress:Object(o.b)(a.g,!1),showValue:Object(o.b)(a.g,!1),striped:Object(o.b)(a.g,!1)}),r.S),v=Object(i.c)({name:r.S,mixins:[l.a],provide(){return{getBvProgress:()=>this}},props:g,computed:{progressHeight(){return{height:this.height||null}}},render(e){let t=this.normalizeSlot();return t||(t=e(m,{props:Object(o.d)(b,this.$props)})),e("div",{staticClass:"progress",style:this.progressHeight},[t])}});var y=n("Pyw5");const k={name:"GlProgressBar",components:{BProgress:v},inheritAttrs:!1};const w=n.n(y)()({render:function(){var e=this.$createElement;return(this._self._c||e)("b-progress",this._b({},"b-progress",this.$attrs,!1))},staticRenderFns:[]},void 0,k,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=w},JIXF:function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},KnFb:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));const i=new Map,r=new Set;let a=null;const s=e=>{i.forEach((t,n)=>{let{callback:i,eventTypes:r}=t;const s="click"===e.type&&a||e;if(!n.contains(s.target)&&r.includes(e.type))try{i(e)}catch(e){0}}),"click"===e.type&&(a=null)},o=e=>{a=e};const l={bind:(e,t)=>{const{callback:n,eventTypes:l}=function(e){let{arg:t,value:n,modifiers:i}=e;const r=Object.keys(i);return{callback:n,eventTypes:r.length>0?r:["click"]}}(t);i.has(e)||(i.set(e,{callback:n,eventTypes:l}),(e=>{e.forEach(e=>{r.has(e)||("click"===e&&document.addEventListener("mousedown",o),document.addEventListener(e,s,{capture:!0}),r.add(e))}),a=null})(l))},unbind:e=>{const t=i.get(e);var n;t&&(i.delete(e),(n=t.eventTypes).forEach(e=>{r.has(e)&&[...i.values()].every(t=>{let{eventTypes:n}=t;return!n.includes(e)})&&(document.removeEventListener(e,s),r.delete(e))}),n.includes("click")&&!r.has("click")&&document.removeEventListener("mousedown",o))}}},M76R:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("oTzT"),r=n("S8CU");const a=["TD","TH","TR"],s=e=>{if(!e||!e.target)return!1;const t=e.target;if(t.disabled||-1!==a.indexOf(t.tagName))return!1;if(Object(i.e)(".dropdown-menu",t))return!0;const n="LABEL"===t.tagName?t:Object(i.e)("label",t);if(n){const e=Object(i.h)(n,"for"),t=e?Object(i.j)(e):Object(i.C)("input, select, textarea",n);if(t&&!t.disabled)return!0}return Object(i.v)(t,r.a)}},Mi8i:function(e,t,n){"use strict";var i=n("wP8z"),r=n("Pyw5"),a=n.n(r);const s={name:"GlFilteredSearchSuggestion",components:{GlDropdownItem:i.a},inject:["filteredSearchSuggestionListInstance"],inheritAttrs:!1,props:{value:{required:!0,validator:()=>!0}},computed:{isActive(){return this.filteredSearchSuggestionListInstance.activeItem===this}},watch:{isActive(e){e&&window.requestAnimationFrame(()=>{var e,t;null===(e=this.$refs.item)||void 0===e||null===(t=e.$el)||void 0===t||t.scrollIntoView({block:"nearest",inline:"end"})})}},created(){this.filteredSearchSuggestionListInstance.register(this)},beforeDestroy(){this.filteredSearchSuggestionListInstance.unregister(this)},methods:{emitValue(){this.filteredSearchSuggestionListInstance.$emit("suggestion",this.value)}}};const o=a()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("gl-dropdown-item",e._b({ref:"item",staticClass:"gl-filtered-search-suggestion",class:{"gl-filtered-search-suggestion-active":e.isActive},attrs:{"data-testid":"filtered-search-suggestion",tabindex:"-1",href:"#"},nativeOn:{mousedown:function(t){return t.preventDefault(),e.emitValue.apply(null,arguments)}}},"gl-dropdown-item",e.$attrs,!1),[e._t("default")],2)},staticRenderFns:[]},void 0,s,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=o},N50s:function(e,t,n){"use strict";var i=n("Q33P"),r=n.n(i),a=n("XBTk"),s=n("4lAS"),o=n("Pyw5"),l=n.n(o);const u={name:"GlDrawer",components:{GlButton:s.a},props:{open:{type:Boolean,required:!0},headerHeight:{type:String,required:!1,default:""},headerSticky:{type:Boolean,required:!1,default:!1},zIndex:{type:Number,required:!1,default:a.D},variant:{type:String,required:!1,default:a.t.default,validator:e=>Object.keys(a.t).includes(e)}},computed:{positionFromTop(){return r()(this.headerHeight)?0:this.headerHeight},drawerStyles(){const e={top:this.positionFromTop,zIndex:this.zIndex};return this.positionFromTop&&(e.maxHeight=`calc(100vh - ${this.positionFromTop})`),e},drawerHeaderStyles(){return{zIndex:this.headerSticky?a.D:null}},shouldRenderFooter(){return Boolean(this.$slots.footer)},variantClass(){return"gl-drawer-"+this.variant}},watch:{open:{immediate:!0,handler(e){e?document.addEventListener("keydown",this.handleEscape):document.removeEventListener("keydown",this.handleEscape)}}},beforeDestroy(){document.removeEventListener("keydown",this.handleEscape)},methods:{emitOpened(){this.$emit("opened")},handleEscape(e){this.open&&27===e.keyCode&&this.$emit("close")}}};const c=l()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"gl-drawer"},on:{"after-enter":e.emitOpened}},[e.open?n("aside",{staticClass:"gl-drawer",class:e.variantClass,style:e.drawerStyles},[n("div",{staticClass:"gl-drawer-header",class:{"gl-drawer-header-sticky":e.headerSticky},style:e.drawerHeaderStyles},[n("div",{staticClass:"gl-drawer-title"},[e._t("title"),e._v(" "),n("gl-button",{staticClass:"gl-drawer-close-button",attrs:{category:"tertiary",size:"small",icon:"close","aria-label":"Close drawer"},on:{click:function(t){return e.$emit("close")}}})],2),e._v(" "),e._t("header")],2),e._v(" "),n("div",{staticClass:"gl-drawer-body",class:{"gl-drawer-body-scrim":!e.shouldRenderFooter}},[e._t("default")],2),e._v(" "),e.shouldRenderFooter?n("div",{staticClass:"gl-drawer-footer gl-drawer-footer-sticky",class:{"gl-drawer-body-scrim-on-footer":e.shouldRenderFooter},style:{zIndex:e.zIndex}},[e._t("footer")],2):e._e()]):e._e()])},staticRenderFns:[]},void 0,u,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=c},N7sJ:function(e,t,n){"use strict";t.a=n.p+"add-user-sm.df052c13.svg"},NFDe:function(e,t,n){!function(t){"use strict";var i=-1,r=function(e){return e.every=function(t,n,r){e._time(),r||(r=n,n=null);var a=i+=1;return e._timers[a]={visible:t,hidden:n,callback:r},e._run(a,!1),e.isSupported()&&e._listen(),a},e.stop=function(t){return!!e._timers[t]&&(e._stop(t),delete e._timers[t],!0)},e._timers={},e._time=function(){e._timed||(e._timed=!0,e._wasHidden=e.hidden(),e.change((function(){e._stopRun(),e._wasHidden=e.hidden()})))},e._run=function(n,i){var r,a=e._timers[n];if(e.hidden()){if(null===a.hidden)return;r=a.hidden}else r=a.visible;var s=function(){a.last=new Date,a.callback.call(t)};if(i){var o=new Date-a.last;r>o?a.delay=setTimeout((function(){a.id=setInterval(s,r),s()}),r-o):(a.id=setInterval(s,r),s())}else a.id=setInterval(s,r)},e._stop=function(t){var n=e._timers[t];clearInterval(n.id),clearTimeout(n.delay),delete n.id,delete n.delay},e._stopRun=function(t){var n=e.hidden(),i=e._wasHidden;if(n&&!i||!n&&i)for(var r in e._timers)e._stop(r),e._run(r,!n)},e};e.exports?e.exports=r(n("lNHW")):r(t.Visibility)}(window)},OQy4:function(e,t,n){"use strict";var i=n("O1VG"),r=n("Pyw5"),a=n.n(r);const{model:s}=i.a.options;const o={name:"GlFormRadio",components:{BFormRadio:i.a},inheritAttrs:!1,model:{prop:s.prop,event:s.event},props:{checked:{type:[String,Number,Boolean,Object],required:!1,default:!1}}};const l=a()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("b-form-radio",e._b({staticClass:"gl-form-radio",attrs:{checked:e.checked},on:{input:function(t){return e.$emit("input",t)},change:function(t){return e.$emit("change",t)}}},"b-form-radio",e.$attrs,!1),[e._t("default"),e._v(" "),e.$scopedSlots.help?n("p",{staticClass:"help-text"},[e._t("help")],2):e._e()],2)},staticRenderFns:[]},void 0,o,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=l},QwWC:function(e,t,n){var i=n("2v8U"),r=n("20jF");e.exports=function(e,t){var n=-1,a=r(e)?Array(e.length):[];return i(e,(function(e,i,r){a[++n]=t(e,i,r)})),a}},S8CU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return s}));const i="_cellVariants",r="_rowVariant",a="_showDetails",s=[i,r,a].reduce((e,t)=>({...e,[t]:!0}),{}),o=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(",")},S9bi:function(e,t,n){var i=n("QFSp");e.exports=function(e){return i(e)?e:[]}},SGlG:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n("9k56"),r=n("BBKf");const a={},s=Object(i.c)({methods:{renderColgroup(){const{computedFields:e}=this,t=this.$createElement;let n=t();return this.hasNormalizedSlot(r.w)&&(n=t("colgroup",{key:"colgroup"},[this.normalizeSlot(r.w,{columns:e.length,fields:e})])),n}}})},SN6w:function(e,t,n){"use strict";var i=n("l9Jy"),r=n.n(i),a=n("VNnR"),s=n.n(a),o=n("e67P"),l=n("Qog8"),u=n("5Hgz"),c=n("FzbX"),d=n("Pyw5"),h=n.n(d);const p=[{value:"=",description:"is",default:!0},{value:"!=",description:"is not"}];const f={name:"GlFilteredSearchToken",__v_skip:!0,components:{GlToken:o.a,GlFilteredSearchTokenSegment:u.a},inheritAttrs:!1,props:{availableTokens:{type:Array,required:!1,default:()=>[]},config:{type:Object,required:!1,default:()=>({})},active:{type:Boolean,required:!1,default:!1},multiSelectValues:{type:Array,required:!1,default:()=>[]},value:{type:Object,required:!1,default:()=>({operator:"",data:""})},showFriendlyText:{type:Boolean,required:!1,default:!1},cursorPosition:{type:String,required:!1,default:"end",validator:e=>["start","end"].includes(e)},viewOnly:{type:Boolean,required:!1,default:!1},dataSegmentInputAttributes:{type:Object,required:!1,default:()=>({})}},data(){return{activeSegment:null,tokenValue:r()(this.value),intendedCursorPosition:this.cursorPosition}},computed:{operators(){return this.config.operators||p},tokenEmpty(){var e;return 0===(null===(e=this.tokenValue.data)||void 0===e?void 0:e.length)},hasDataOrDataSegmentIsCurrentlyActive(){return!this.tokenEmpty||this.isSegmentActive("DATA")},availableTokensWithSelf(){return[this.config,...this.availableTokens.filter(e=>e!==this.config)].map(c.n)},operatorDescription(){const e=this.operators.find(e=>e.value===this.tokenValue.operator);return this.showFriendlyText?null==e?void 0:e.description:null==e?void 0:e.value},eventListeners(){return this.viewOnly?{}:{mousedown:this.stopMousedownOnCloseButton,close:this.destroyByClose}}},segments:{SEGMENT_TITLE:"TYPE",SEGMENT_DATA:"DATA",SEGMENT_OPERATOR:"OPERATOR"},watch:{tokenValue:{deep:!0,handler(e){this.$emit("input",e)}},value:{handler(e,t){s()(null==e?void 0:e.data,null==t?void 0:t.data)&&(null==e?void 0:e.operator)===(null==t?void 0:t.operator)||(this.tokenValue=r()(e))}},active:{immediate:!0,handler(e){e?(this.intendedCursorPosition=this.cursorPosition,this.activeSegment||this.activateSegment(this.tokenEmpty?"OPERATOR":"DATA")):(this.activeSegment=null,this.config.multiSelect&&this.$emit("input",{...this.tokenValue,data:this.multiSelectValues||""}),this.tokenEmpty&&0===this.multiSelectValues.length&&this.$emit("destroy"))}}},created(){if(!("operator"in this.tokenValue))if(1===this.operators.length){const e=this.operators[0].value;this.$emit("input",{...this.tokenValue,operator:e}),this.activeSegment="DATA"}else this.$emit("input",{...this.tokenValue,operator:""})},methods:{activateSegment(e){this.viewOnly||(this.activeSegment=e,this.active||this.$emit("activate"))},getAdditionalSegmentClasses(e){return this.viewOnly?"gl-cursor-text":{"gl-cursor-pointer":!this.isSegmentActive(e)}},isSegmentActive(e){return this.active&&this.activeSegment===e},replaceWithTermIfEmpty(){""===this.tokenValue.operator&&this.tokenEmpty&&this.$emit("replace",Object(c.d)(this.config.title))},replaceToken(e){const t=this.availableTokens.find(t=>{let{type:n}=t;return n===e});if(t!==this.config){if(t){const e=this.config.dataType&&this.config.dataType===t.dataType;this.$emit("replace",{type:t.type,value:e?this.tokenValue:{data:""}})}}else this.$nextTick(()=>{this.$emit("deactivate")})},handleOperatorKeydown(e,t){let{inputValue:n,suggestedValue:i,applySuggestion:r}=t;const{key:a}=e;if(" "===a||"Spacebar"===a)return void r(i);const s=`${n}${a}`;1!==a.length||this.operators.find(e=>{let{value:t}=e;return t.startsWith(s)})||(this.tokenEmpty?r(i):e.preventDefault())},activateDataSegment(){this.config.multiSelect&&this.$emit("input",{...this.tokenValue,data:""}),this.activateSegment(this.$options.segments.SEGMENT_DATA)},activatePreviousOperatorSegment(){this.activateSegment(this.$options.segments.SEGMENT_OPERATOR),this.intendedCursorPosition="end"},activatePreviousTitleSegment(){this.activateSegment(this.$options.segments.SEGMENT_TITLE),this.intendedCursorPosition="end"},activateNextDataSegment(){this.activateDataSegment(),this.intendedCursorPosition="start"},activateNextOperatorSegment(){this.activateSegment(this.$options.segments.SEGMENT_OPERATOR),this.intendedCursorPosition="start"},handleComplete(e){this.$emit("complete",e)},stopMousedownOnCloseButton(e){e.target.closest(c.c)&&Object(l.k)(e)},destroyByClose(){this.$emit("destroy")}}};const m=h()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"gl-filtered-search-token",class:{"gl-filtered-search-token-active":e.active,"gl-filtered-search-token-hover":!e.viewOnly,"gl-cursor-default":e.viewOnly},attrs:{"data-testid":"filtered-search-token"}},[n("gl-filtered-search-token-segment",{key:"title-segment",attrs:{value:e.config.title,active:e.isSegmentActive(e.$options.segments.SEGMENT_TITLE),"cursor-position":e.intendedCursorPosition,options:e.availableTokensWithSelf,"view-only":e.viewOnly},on:{activate:function(t){return e.activateSegment(e.$options.segments.SEGMENT_TITLE)},deactivate:function(t){return e.$emit("deactivate")},complete:e.replaceToken,backspace:function(t){return e.$emit("destroy")},submit:function(t){return e.$emit("submit")},previous:function(t){return e.$emit("previous")},next:e.activateNextOperatorSegment},scopedSlots:e._u([{key:"view",fn:function(t){var i=t.inputValue;return[n("gl-token",{staticClass:"gl-filtered-search-token-type",class:e.getAdditionalSegmentClasses(e.$options.segments.SEGMENT_TITLE),attrs:{"view-only":""}},[e._v("\n        "+e._s(i)+"\n      ")])]}}])}),e._v(" "),n("gl-filtered-search-token-segment",{key:"operator-segment",attrs:{active:e.isSegmentActive(e.$options.segments.SEGMENT_OPERATOR),"cursor-position":e.intendedCursorPosition,options:e.operators,"option-text-field":"value","custom-input-keydown-handler":e.handleOperatorKeydown,"view-only":e.viewOnly},on:{activate:function(t){return e.activateSegment(e.$options.segments.SEGMENT_OPERATOR)},backspace:e.replaceWithTermIfEmpty,complete:function(t){return e.activateSegment(e.$options.segments.SEGMENT_DATA)},deactivate:function(t){return e.$emit("deactivate")},previous:e.activatePreviousTitleSegment,next:e.activateNextDataSegment},scopedSlots:e._u([{key:"view",fn:function(){return[n("gl-token",{staticClass:"gl-filtered-search-token-operator",class:e.getAdditionalSegmentClasses(e.$options.segments.SEGMENT_OPERATOR),attrs:{variant:"search-value","view-only":""}},[e._v("\n        "+e._s(e.operatorDescription)+"\n      ")])]},proxy:!0},{key:"option",fn:function(t){var i=t.option;return[n("div",{staticClass:"gl-flex"},[e._v("\n        "+e._s(e.showFriendlyText?i.description:i.value)+"\n        "),i.description?n("span",{staticClass:"gl-filtered-search-token-operator-description"},[e._v("\n          "+e._s(e.showFriendlyText?i.value:i.description)+"\n        ")]):e._e()])]}}]),model:{value:e.tokenValue.operator,callback:function(t){e.$set(e.tokenValue,"operator",t)},expression:"tokenValue.operator"}}),e._v(" "),e.hasDataOrDataSegmentIsCurrentlyActive?n("gl-filtered-search-token-segment",{key:"data-segment",attrs:{active:e.isSegmentActive(e.$options.segments.SEGMENT_DATA),"cursor-position":e.intendedCursorPosition,"multi-select":e.config.multiSelect,options:e.config.options,"view-only":e.viewOnly,"search-input-attributes":e.dataSegmentInputAttributes},on:{activate:e.activateDataSegment,backspace:function(t){return e.activateSegment(e.$options.segments.SEGMENT_OPERATOR)},complete:e.handleComplete,select:function(t){return e.$emit("select",t)},submit:function(t){return e.$emit("submit")},deactivate:function(t){return e.$emit("deactivate")},split:function(t){return e.$emit("split",t)},previous:e.activatePreviousOperatorSegment,next:function(t){return e.$emit("next")}},scopedSlots:e._u([{key:"before-input",fn:function(t){return[e._t("before-data-segment-input",null,null,t)]}},{key:"suggestions",fn:function(){return[e._t("suggestions")]},proxy:!0},{key:"view",fn:function(t){var i=t.inputValue;return[e._t("view-token",(function(){return[n("gl-token",e._g({staticClass:"gl-filtered-search-token-data",class:e.getAdditionalSegmentClasses(e.$options.segments.SEGMENT_DATA),attrs:{variant:"search-value","view-only":e.viewOnly}},e.eventListeners),[n("span",{staticClass:"gl-filtered-search-token-data-content"},[e._t("view",(function(){return[e._v(e._s(i))]}),null,{inputValue:i})],2)])]}),null,{inputValue:i,listeners:e.eventListeners,cssClasses:Object.assign({},{"gl-filtered-search-token-data":!0},e.getAdditionalSegmentClasses(e.$options.segments.SEGMENT_DATA))})]}}],null,!0),model:{value:e.tokenValue.data,callback:function(t){e.$set(e.tokenValue,"data",t)},expression:"tokenValue.data"}}):e._e()],1)},staticRenderFns:[]},void 0,f,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=m},SnPb:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return D}));var i=n("9k56"),r=n("CU79"),a=n("n6Wd"),s=n("jIK5"),o=n("BBKf"),l=n("ZdEn"),u=n("Xhk9"),c=n("I3xC"),d=n("gZSI"),h=n("o0f2"),p=n("hII5"),f=n("idLb"),m=n("TnX6"),b=n("3hkr"),g=n("g+RJ"),v=n("GeBT"),y=n("aBA8");const k=Object(p.c)({headVariant:Object(p.b)(s.r)},b.db),w=Object(i.c)({name:b.db,mixins:[g.a,v.a,y.a],provide(){return{getBvTableRowGroup:()=>this}},inject:{getBvTable:{default:()=>()=>({})}},inheritAttrs:!1,props:k,computed:{bvTable(){return this.getBvTable()},isThead:()=>!0,isDark(){return this.bvTable.dark},isStacked(){return this.bvTable.isStacked},isResponsive(){return this.bvTable.isResponsive},isStickyHeader(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant(){return this.bvTable.tableVariant},theadClasses(){return[this.headVariant?"thead-"+this.headVariant:null]},theadAttrs(){return{role:"rowgroup",...this.bvAttrs}}},render(e){return e("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}});var S=n("5Jof"),O=n("mIkX"),x=n("YUwJ"),T=n("M76R"),_=n("2mBx");const j=e=>`head(${e||""})`,C=e=>`foot(${e||""})`,I={headRowVariant:Object(p.b)(s.r),headVariant:Object(p.b)(s.r),theadClass:Object(p.b)(s.e),theadTrClass:Object(p.b)(s.e)},D=Object(i.c)({props:I,methods:{fieldClasses:e=>[e.class?e.class:"",e.thClass?e.thClass:""],headClicked(e,t,n){this.stopIfBusy&&this.stopIfBusy(e)||Object(T.a)(e)||Object(_.a)(this.$el)||(Object(l.f)(e),this.$emit(r.r,t.key,t,e,n))},renderThead(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{computedFields:t,isSortable:n,isSelectable:i,headVariant:s,footVariant:l,headRowVariant:p,footRowVariant:b}=Object(f.a)(this),g=this.$createElement;if(this.isStackedAlways||0===t.length)return g();const v=n||this.hasListener(r.r),y=i?this.selectAllRows:h.a,k=i?this.clearSelected:h.a,T=t.map((t,i)=>{const{label:r,labelHtml:s,variant:o,stickyColumn:l,key:d}=t;let h=null;t.label.trim()||t.headerTitle||(h=Object(m.e)(t.key));const p={};v&&(p.click=n=>{this.headClicked(n,t,e)},p.keydown=n=>{const i=n.keyCode;i!==a.c&&i!==a.h||this.headClicked(n,t,e)});const f=n?this.sortTheadThAttrs(d,t,e):{},b=n?this.sortTheadThClasses(d,t,e):null,w=n?this.sortTheadThLabel(d,t,e):null,S={class:[{"position-relative":w},this.fieldClasses(t),b],props:{variant:o,stickyColumn:l},style:t.thStyle||{},attrs:{tabindex:v&&t.sortable?"0":null,abbr:t.headerAbbr||null,title:t.headerTitle||null,"aria-colindex":i+1,"aria-label":h,...this.getThValues(null,d,t.thAttr,e?"foot":"head",{}),...f},on:p,key:d};let O=[j(d),j(d.toLowerCase()),j()];e&&(O=[C(d),C(d.toLowerCase()),C(),...O]);const T={label:r,column:d,field:t,isFoot:e,selectAllRows:y,clearSelected:k},_=this.normalizeSlot(O,T)||g("div",{domProps:Object(u.a)(s,r)}),I=w?g("span",{staticClass:"sr-only"},` (${w})`):null;return g(x.a,S,[_,I].filter(c.a))}).filter(c.a),_=[];if(e)_.push(g(O.a,{class:this.tfootTrClass,props:{variant:Object(d.o)(b)?p:b}},T));else{const e={columns:t.length,fields:t,selectAllRows:y,clearSelected:k};_.push(this.normalizeSlot(o.z,e)||g()),_.push(g(O.a,{class:this.theadTrClass,props:{variant:p}},T))}return g(e?S.a:w,{class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:l||s||null}:{headVariant:s||null},key:e?"bv-tfoot":"bv-thead"},_)}}})},TKCn:function(e,t,n){var i=n("4ips"),r=n("95R8"),a=n("Opi0"),s=n("etTJ"),o=a((function(e,t){if(null==e)return[];var n=t.length;return n>1&&s(e,t[0],t[1])?t=[]:n>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),r(e,i(t,1),[])}));e.exports=o},TTsI:function(e,t,n){var i=n("4O6w"),r=n("QPeP"),a=n("GY8p"),s=n("90g9"),o=n("wJPF"),l=n("5PFN");e.exports=function(e,t,n,u){var c=-1,d=r,h=!0,p=e.length,f=[],m=t.length;if(!p)return f;n&&(t=s(t,o(n))),u?(d=a,h=!1):t.length>=200&&(d=l,h=!1,t=new i(t));e:for(;++c<p;){var b=e[c],g=null==n?b:n(b);if(b=u||0!==b?b:0,h&&g==g){for(var v=m;v--;)if(t[v]===g)continue e;f.push(b)}else d(t,g,u)||f.push(b)}return f}},U29U:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(e,t)=>e.map((e,t)=>[t,e]).sort(function(e,t){return this(e[1],t[1])||e[0]-t[0]}.bind(t)).map(e=>e[1])},U6io:function(e,t){!function(e){var t=e.prototype.stopCallback;e.prototype.stopCallback=function(e,n,i){return!!this.paused||t.call(this,e,n,i)},e.prototype.pause=function(){this.paused=!0},e.prototype.unpause=function(){this.paused=!1},e.init()}(Mousetrap)},"V5u/":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return h}));const i="shown",r="hidden",a="beforeClose",s="focusContent",o="ArrowDown",l="ArrowUp",u="End",c="Enter",d="Home",h="Space",p="absolute",f="fixed",m="gl-new-dropdown-contents"},WrwP:function(e,t,n){"use strict";n.d(t,"a",(function(){return V})),n.d(t,"b",(function(){return F}));var i=n("Xz+w"),r=n("tlyx");function a(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){return a(e).getComputedStyle(e)}function o(e){return e instanceof a(e).Node}function l(e){return o(e)?(e.nodeName||"").toLowerCase():"#document"}function u(e){return e instanceof a(e).HTMLElement}function c(e){return e instanceof a(e).Element}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof a(e).ShadowRoot||e instanceof ShadowRoot)}function h(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=s(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function p(e){return["table","td","th"].includes(l(e))}function f(e){const t=m(),n=s(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function m(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function b(e){return["html","body","#document"].includes(l(e))}const g=Math.min,v=Math.max,y=Math.round,k=Math.floor,w=e=>({x:e,y:e});function S(e){const t=s(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=u(e),a=r?e.offsetWidth:n,o=r?e.offsetHeight:i,l=y(n)!==a||y(i)!==o;return l&&(n=a,i=o),{width:n,height:i,$:l}}function O(e){return c(e)?e:e.contextElement}function x(e){const t=O(e);if(!u(t))return w(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:a}=S(t);let s=(a?y(n.width):n.width)/i,o=(a?y(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}const T=w(0);function _(e,t,n){var i,r;if(void 0===t&&(t=!0),!m())return T;const s=e?a(e):window;return!n||t&&n!==s?T:{x:(null==(i=s.visualViewport)?void 0:i.offsetLeft)||0,y:(null==(r=s.visualViewport)?void 0:r.offsetTop)||0}}function j(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect(),o=O(e);let l=w(1);t&&(r?c(r)&&(l=x(r)):l=x(e));const u=_(o,n,r);let d=(s.left+u.x)/l.x,h=(s.top+u.y)/l.y,p=s.width/l.x,f=s.height/l.y;if(o){const e=a(o),t=r&&c(r)?a(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=x(n),t=n.getBoundingClientRect(),i=getComputedStyle(n),r=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;d*=e.x,h*=e.y,p*=e.x,f*=e.y,d+=r,h+=s,n=a(n).frameElement}}return Object(i.r)({width:p,height:f,x:d,y:h})}function C(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function D(e){return j(C(e)).left+I(e).scrollLeft}function A(e){if("html"===l(e))return e;const t=e.assignedSlot||e.parentNode||d(e)&&e.host||C(e);return d(t)?t.host:t}function $(e,t){var n;void 0===t&&(t=[]);const i=function e(t){const n=A(t);return b(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&h(n)?n:e(n)}(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),s=a(i);return r?t.concat(s,s.visualViewport||[],h(i)?i:[]):t.concat(i,$(i))}function N(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=a(e),i=C(e),r=n.visualViewport;let s=i.clientWidth,o=i.clientHeight,l=0,u=0;if(r){s=r.width,o=r.height;const e=m();(!e||e&&"fixed"===t)&&(l=r.offsetLeft,u=r.offsetTop)}return{width:s,height:o,x:l,y:u}}(e,n);else if("document"===t)r=function(e){const t=C(e),n=I(e),i=e.ownerDocument.body,r=v(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=v(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let o=-n.scrollLeft+D(e);const l=-n.scrollTop;return"rtl"===s(i).direction&&(o+=v(t.clientWidth,i.clientWidth)-r),{width:r,height:a,x:o,y:l}}(C(e));else if(c(t))r=function(e,t){const n=j(e,!0,"fixed"===t),i=n.top+e.clientTop,r=n.left+e.clientLeft,a=u(e)?x(e):w(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:r*a.x,y:i*a.y}}(t,n);else{const n=_(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Object(i.r)(r)}function P(e,t){const n=A(e);return!(n===t||!c(n)||b(n))&&("fixed"===s(n).position||P(n,t))}function E(e,t){return u(e)&&"fixed"!==s(e).position?t?t(e):e.offsetParent:null}function R(e,t){const n=a(e);if(!u(e))return n;let i=E(e,t);for(;i&&p(i)&&"static"===s(i).position;)i=E(i,t);return i&&("html"===l(i)||"body"===l(i)&&"static"===s(i).position&&!f(i))?n:i||function(e){let t=A(e);for(;u(t)&&!b(t);){if(f(t))return t;t=A(t)}return null}(e)||n}function B(e,t,n){const i=u(t),r=C(t),a="fixed"===n,s=j(e,!0,a,t);let o={scrollLeft:0,scrollTop:0};const c=w(0);if(i||!i&&!a)if(("body"!==l(t)||h(r))&&(o=I(t)),u(t)){const e=j(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else r&&(c.x=D(r));return{x:s.left+o.scrollLeft-c.x,y:s.top+o.scrollTop-c.y,width:s.width,height:s.height}}const q={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const a=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let i=$(e).filter(e=>c(e)&&"body"!==l(e)),r=null;const a="fixed"===s(e).position;let o=a?A(e):e;for(;c(o)&&!b(o);){const t=s(o),n=f(o);n||"fixed"!==t.position||(r=null);(a?!n&&!r:!n&&"static"===t.position&&!!r&&["absolute","fixed"].includes(r.position)||h(o)&&!n&&P(e,o))?i=i.filter(e=>e!==o):r=t,o=A(o)}return t.set(e,i),i}(t,this._c):[].concat(n),i],o=a[0],u=a.reduce((e,n)=>{const i=N(t,n,r);return e.top=v(i.top,e.top),e.right=g(i.right,e.right),e.bottom=g(i.bottom,e.bottom),e.left=v(i.left,e.left),e},N(t,o,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const r=u(n),a=C(n);if(n===a)return t;let s={scrollLeft:0,scrollTop:0},o=w(1);const c=w(0);if((r||!r&&"fixed"!==i)&&(("body"!==l(n)||h(a))&&(s=I(n)),u(n))){const e=j(n);o=x(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*o.x,height:t.height*o.y,x:t.x*o.x-s.scrollLeft*o.x+c.x,y:t.y*o.y-s.scrollTop*o.y+c.y}},isElement:c,getDimensions:function(e){return S(e)},getOffsetParent:R,getDocumentElement:C,getScale:x,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const r=this.getOffsetParent||R,a=this.getDimensions;return{reference:B(t,await r(n),i),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===s(e).direction};function V(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,u=O(e),c=r||a?[...u?$(u):[],...$(t)]:[];c.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});const d=u&&o?function(e,t){let n,i=null;const r=C(e);function a(){clearTimeout(n),i&&i.disconnect(),i=null}return function s(o,l){void 0===o&&(o=!1),void 0===l&&(l=1),a();const{left:u,top:c,width:d,height:h}=e.getBoundingClientRect();if(o||t(),!d||!h)return;const p={rootMargin:-k(c)+"px "+-k(r.clientWidth-(u+d))+"px "+-k(r.clientHeight-(c+h))+"px "+-k(u)+"px",threshold:v(0,g(1,l))||1};let f=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!f)return s();t?s(!1,t):n=setTimeout(()=>{s(!1,1e-7)},100)}f=!1}try{i=new IntersectionObserver(m,{...p,root:r.ownerDocument})}catch(e){i=new IntersectionObserver(m,p)}i.observe(e)}(!0),a}(u,n):null;let h,p=-1,f=null;s&&(f=new ResizeObserver(e=>{let[i]=e;i&&i.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{f&&f.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let m=l?j(e):null;return l&&function t(){const i=j(e);!m||i.x===m.x&&i.y===m.y&&i.width===m.width&&i.height===m.height||n();m=i,h=requestAnimationFrame(t)}(),n(),()=>{c.forEach(e=>{r&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),d&&d(),f&&f.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const F=(e,t,n)=>{const i=new Map,a={platform:q,...n},s={...a.platform,_c:i};return Object(r.b)(e,t,{...a,platform:s})}},X80m:function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return b}));var i=n("9k56"),r=n("3hkr"),a=n("jIK5"),s=n("oTzT"),o=n("gZSI"),l=n("KZ4l"),u=n("hII5"),c=n("TnX6"),d=n("g+RJ"),h=n("GeBT"),p=n("aBA8");const f=e=>(e=Object(l.c)(e,0))>0?e:null,m=e=>Object(o.o)(e)||f(e)>0,b=Object(u.c)({colspan:Object(u.b)(a.m,null,m),rowspan:Object(u.b)(a.m,null,m),stackedHeading:Object(u.b)(a.r),stickyColumn:Object(u.b)(a.g,!1),variant:Object(u.b)(a.r)},r.W),g=Object(i.c)({name:r.W,mixins:[d.a,h.a,p.a],inject:{getBvTableTr:{default:()=>()=>({})}},inheritAttrs:!1,props:b,computed:{bvTableTr(){return this.getBvTableTr()},tag:()=>"td",inTbody(){return this.bvTableTr.inTbody},inThead(){return this.bvTableTr.inThead},inTfoot(){return this.bvTableTr.inTfoot},isDark(){return this.bvTableTr.isDark},isStacked(){return this.bvTableTr.isStacked},isStackedCell(){return this.inTbody&&this.isStacked},isResponsive(){return this.bvTableTr.isResponsive},isStickyHeader(){return this.bvTableTr.isStickyHeader},hasStickyHeader(){return this.bvTableTr.hasStickyHeader},isStickyColumn(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant(){return this.bvTableTr.variant},headVariant(){return this.bvTableTr.headVariant},footVariant(){return this.bvTableTr.footVariant},tableVariant(){return this.bvTableTr.tableVariant},computedColspan(){return f(this.colspan)},computedRowspan(){return f(this.rowspan)},cellClasses(){let{variant:e,headVariant:t,isStickyColumn:n}=this;return(!e&&this.isStickyHeader&&!t||!e&&n&&this.inTfoot&&!this.footVariant||!e&&n&&this.inThead&&!t||!e&&n&&this.inTbody)&&(e=this.rowVariant||this.tableVariant||"b-table-default"),[e?`${this.isDark?"bg":"table"}-${e}`:null,n?"b-table-sticky-column":null]},cellAttrs(){const{stackedHeading:e}=this,t=this.inThead||this.inTfoot,n=this.computedColspan,i=this.computedRowspan;let r="cell",a=null;return t?(r="columnheader",a=n>0?"colspan":"col"):Object(s.t)(this.tag,"th")&&(r="rowheader",a=i>0?"rowgroup":"row"),{colspan:n,rowspan:i,role:r,scope:a,...this.bvAttrs,"data-label":this.isStackedCell&&!Object(o.o)(e)?Object(c.f)(e):null}}},render(e){const t=[this.normalizeSlot()];return e(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?e("div",[t]):t])}})},XiQx:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("0M2I"),r=n("V5u/"),a=n("Qog8"),s=n("7z1+"),o=n("BglX"),l=n("Pyw5"),u=n.n(l);const c="gl-new-dropdown-item";const d={name:o.c,ITEM_CLASS:c,components:{BLink:i.a},props:{item:{type:Object,required:!1,default:null,validator:s.c}},computed:{isLink(){var e,t;return"string"==typeof(null===(e=this.item)||void 0===e?void 0:e.href)||"string"==typeof(null===(t=this.item)||void 0===t?void 0:t.to)},isCustomContent(){return Boolean(this.$scopedSlots.default)},itemComponent(){const{item:e}=this;return this.isLink?{is:i.a,attrs:{href:e.href,to:e.to,...e.extraAttrs},listeners:{click:this.action}}:{is:"button",attrs:{...null==e?void 0:e.extraAttrs,type:"button"},listeners:{click:()=>{var t;null==e||null===(t=e.action)||void 0===t||t.call(void 0,e),this.action()}}}},listIndex(){var e,t;return null!==(e=this.item)&&void 0!==e&&null!==(t=e.extraAttrs)&&void 0!==t&&t.disabled?null:0},componentIndex(){var e,t;return null!==(e=this.item)&&void 0!==e&&null!==(t=e.extraAttrs)&&void 0!==t&&t.disabled?null:-1},wrapperClass(){var e,t;return null!==(e=null===(t=this.item)||void 0===t?void 0:t.wrapperClass)&&void 0!==e?e:""},wrapperListeners(){const e={keydown:this.onKeydown};return this.isCustomContent&&(e.click=this.action),e}},methods:{onKeydown(e){const{code:t}=e;if(t===r.d||t===r.m)if(this.isCustomContent)this.action();else{Object(a.k)(e);const t=new MouseEvent("click",{bubbles:!0,cancelable:!0});var n;if(this.isLink)this.$refs.item.$el.dispatchEvent(t);else null===(n=this.$refs.item)||void 0===n||n.dispatchEvent(t)}},action(){this.$emit("action",this.item)}}};const h=u()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",e._g({class:[e.$options.ITEM_CLASS,e.wrapperClass],attrs:{tabindex:e.listIndex,"data-testid":"disclosure-dropdown-item"}},e.wrapperListeners),[e._t("default",(function(){return[n(e.itemComponent.is,e._g(e._b({ref:"item",tag:"component",staticClass:"gl-new-dropdown-item-content",attrs:{tabindex:e.componentIndex}},"component",e.itemComponent.attrs,!1),e.itemComponent.listeners),[n("span",{staticClass:"gl-new-dropdown-item-text-wrapper"},[e._t("list-item",(function(){return[e._v("\n          "+e._s(e.item.text)+"\n        ")]}))],2)])]}))],2)},staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0);t.b=h},XoYy:function(e,t,n){"use strict";var i=n("XiQx"),r=n("Mq5L"),a=n("AxUD"),s=n("/lV4"),o=n("1cpz"),l=n("30su"),u=n("s1D3"),c={actionCancel:{text:Object(s.__)("Cancel")},i18n:{exportText:Object(s.__)("The CSV export will be created in the background. Once finished, it will be sent to %{email} in an attachment.")},components:{GlModal:o.a,GlSprintf:l.a,GlIcon:u.a},inject:{issuableType:{default:a.TYPE_ISSUE},email:{default:""}},props:{exportCsvPath:{type:String,required:!0},issuableCount:{type:Number,required:!0},modalId:{type:String,required:!0}},computed:{actionPrimary(){return{text:this.exportText,attributes:{href:this.exportCsvPath,variant:"confirm","data-method":"post","data-testid":"export-issues-button","data-track-action":"click_button","data-track-label":this.dataTrackLabel}}},isIssue(){return this.issuableType===a.TYPE_ISSUE},dataTrackLabel(){return this.isIssue?"export_issues_csv":"export_merge-requests_csv"},exportText(){return this.isIssue?Object(s.__)("Export issues"):Object(s.__)("Export merge requests")},issuableCountText(){return this.isIssue?Object(s.n__)("1 issue selected","%d issues selected",this.issuableCount):Object(s.n__)("1 merge request selected","%d merge requests selected",this.issuableCount)}}},d=n("tBpV"),h=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("gl-modal",{attrs:{"modal-id":e.modalId,"action-primary":e.actionPrimary,"action-cancel":e.$options.actionCancel,"body-class":"!gl-p-0",title:e.exportText,"data-testid":"export-issuable-modal"}},[t("div",{staticClass:"gl-items-center gl-justify-start gl-border-1 gl-border-gray-50 gl-p-4 gl-border-b-solid"},[t("gl-icon",{staticClass:"gl-color-green-400",attrs:{name:"check"}}),e._v(" "),t("strong",{staticClass:"gl-m-3"},[e._v(e._s(e.issuableCountText))])],1),e._v(" "),t("div",{staticClass:"modal-text gl-px-4 gl-py-5"},[t("gl-sprintf",{attrs:{message:e.$options.i18n.exportText},scopedSlots:e._u([{key:"email",fn:function(){return[t("strong",[e._v(e._s(e.email))])]},proxy:!0}])})],1)])}),[],!1,null,null,null).exports,p=n("l5WF"),f=n("Qhxq"),m={i18n:{maximumFileSizeText:Object(s.__)("The maximum file size allowed is %{size}."),importIssuesText:Object(s.__)("Import issues"),uploadCsvFileText:Object(s.__)("Upload CSV file"),mainText:Object(s.__)("Your issues will be imported in the background. Once finished, you'll get a confirmation email."),helpText:Object(s.__)("It must have a header row and at least two columns: the first column is the issue title and the second column is the issue description. The separator is automatically detected.")},actionPrimary:{text:Object(s.__)("Import issues")},actionCancel:{text:Object(s.__)("Cancel")},components:{GlModal:o.a,GlFormGroup:p.a},inject:{importCsvIssuesPath:{default:""},maxAttachmentSize:{default:0}},props:{modalId:{type:String,required:!0}},computed:{maxFileSizeText(){return Object(s.sprintf)(this.$options.i18n.maximumFileSizeText,{size:this.maxAttachmentSize})}},methods:{submitForm(){this.$refs.form.submit()}},csrf:f.a},b=Object(d.a)(m,(function(){var e=this,t=e._self._c;return t("gl-modal",{attrs:{"modal-id":e.modalId,title:e.$options.i18n.importIssuesText,"action-primary":e.$options.actionPrimary,"action-cancel":e.$options.actionCancel},on:{primary:e.submitForm}},[t("form",{ref:"form",attrs:{action:e.importCsvIssuesPath,enctype:"multipart/form-data",method:"post"}},[t("input",{attrs:{type:"hidden",name:"authenticity_token"},domProps:{value:e.$options.csrf.token}}),e._v(" "),t("p",[e._v(e._s(e.$options.i18n.mainText))]),e._v(" "),t("gl-form-group",{staticClass:"gl-truncate",attrs:{label:e.$options.i18n.uploadCsvFileText,"label-for":"file"}},[t("input",{attrs:{id:"file",type:"file",name:"file",accept:".csv,text/csv"}})]),e._v(" "),t("p",{staticClass:"text-secondary"},[e._v("\n      "+e._s(e.$options.i18n.helpText)+"\n      "+e._s(e.maxFileSizeText)+"\n    ")])],1)])}),[],!1,null,null,null).exports,g={components:{GlDisclosureDropdownItem:i.b,CsvExportModal:h,CsvImportModal:b},directives:{GlModal:r.a},inject:{issuableType:{default:a.TYPE_ISSUE},showExportButton:{default:!1},showImportButton:{default:!1},canEdit:{default:!1},projectImportJiraPath:{default:null}},props:{exportCsvPath:{type:String,required:!1,default:""},issuableCount:{type:Number,required:!1,default:void 0},trackImportClick:{type:Boolean,required:!1,default:null}},data(){return{dropdownItems:{exportAsCSV:{text:Object(s.__)("Export as CSV")},importCSV:{text:Object(s.__)("Import CSV")},importFromJIRA:{text:Object(s.__)("Import from Jira"),href:this.projectImportJiraPath}}}},computed:{exportModalId(){return this.issuableType+"-export-modal"},importModalId(){return this.issuableType+"-import-modal"}}},v=Object(d.a)(g,(function(){var e=this,t=e._self._c;return t("ul",{staticClass:"gl-contents"},[e.showExportButton?t("gl-disclosure-dropdown-item",{directives:[{name:"gl-modal",rawName:"v-gl-modal",value:e.exportModalId,expression:"exportModalId"}],attrs:{"data-testid":"export-as-csv-button",item:e.dropdownItems.exportAsCSV}}):e._e(),e._v(" "),e.showImportButton?t("gl-disclosure-dropdown-item",{directives:[{name:"gl-modal",rawName:"v-gl-modal",value:e.importModalId,expression:"importModalId"}],attrs:{"data-testid":"import-from-csv-button",item:e.dropdownItems.importCSV}}):e._e(),e._v(" "),e.showImportButton&&e.canEdit?t("gl-disclosure-dropdown-item",{attrs:{"data-testid":"import-from-jira-link",item:e.dropdownItems.importFromJIRA}}):e._e(),e._v(" "),e.showExportButton?t("csv-export-modal",{attrs:{"modal-id":e.exportModalId,"export-csv-path":e.exportCsvPath,"issuable-count":e.issuableCount}}):e._e(),e._v(" "),e.showImportButton?t("csv-import-modal",{attrs:{"modal-id":e.importModalId}}):e._e()],1)}),[],!1,null,null,null);t.a=v.exports},"Xz+w":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return y})),n.d(t,"h",(function(){return k})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return w})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return o})),n.d(t,"p",(function(){return s})),n.d(t,"q",(function(){return a})),n.d(t,"r",(function(){return x})),n.d(t,"s",(function(){return i}));const i=["top","right","bottom","left"],r=["start","end"],a=i.reduce((e,t)=>e.concat(t,t+"-"+r[0],t+"-"+r[1]),[]),s=Math.min,o=Math.max,l=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),u={start:"end",end:"start"};function c(e,t,n){return o(e,s(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function f(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function b(e){return["top","bottom"].includes(h(e))?"y":"x"}function g(e){return f(b(e))}function v(e,t,n){void 0===n&&(n=!1);const i=p(e),r=g(e),a=m(r);let s="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=S(s)),[s,S(s)]}function y(e){const t=S(e);return[k(e),t,k(t)]}function k(e){return e.replace(/start|end/g,e=>u[e])}function w(e,t,n,i){const r=p(e);let a=function(e,t,n){const i=["left","right"],r=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:i:t?i:r;case"left":case"right":return t?a:s;default:return[]}}(h(e),"start"===n,i);return r&&(a=a.map(e=>e+"-"+r),t&&(a=a.concat(a.map(k)))),a}function S(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function O(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function x(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},YUwJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("9k56"),r=n("3hkr"),a=n("hII5"),s=n("X80m");const o=Object(a.c)(s.b,r.cb),l=Object(i.c)({name:r.cb,extends:s.a,props:o,computed:{tag:()=>"th"}})},YqVM:function(e,t,n){var i=n("nHTl"),r=n("dA+0");e.exports=function(e,t){return e&&e.length?r(e,i(t,2)):[]}},awnp:function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return P}));var i=n("9k56"),r=n("CU79"),a=n("n6Wd"),s=n("jIK5"),o=n("QiCN"),l=n("oTzT"),u=n("idLb"),c=n("ZdEn"),d=n("VuSA"),h=n("hII5"),p=n("3hkr"),f=n("g+RJ"),m=n("GeBT"),b=n("aBA8");const g=Object(h.c)({tbodyTransitionHandlers:Object(h.b)(s.n),tbodyTransitionProps:Object(h.b)(s.n)},p.ab),v=Object(i.c)({name:p.ab,mixins:[f.a,m.a,b.a],provide(){return{getBvTableRowGroup:()=>this}},inject:{getBvTable:{default:()=>()=>({})}},inheritAttrs:!1,props:g,computed:{bvTable(){return this.getBvTable()},isTbody:()=>!0,isDark(){return this.bvTable.dark},isStacked(){return this.bvTable.isStacked},isResponsive(){return this.bvTable.isResponsive},isStickyHeader:()=>!1,hasStickyHeader(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant(){return this.bvTable.tableVariant},isTransitionGroup(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs(){return{role:"rowgroup",...this.bvAttrs}},tbodyProps(){const{tbodyTransitionProps:e}=this;return e?{...e,tag:"tbody"}:{}}},render(e){const t={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(t.on=this.tbodyTransitionHandlers||{},t.nativeOn=this.bvListeners):t.on=this.bvListeners,e(this.isTransitionGroup?"transition-group":"tbody",t,this.normalizeSlot())}});var y=n("M76R"),k=n("2mBx"),w=n("BBKf"),S=n("4z8A"),O=n("oJ9E"),x=n("gZSI"),T=n("TnX6"),_=n("mIkX"),j=n("X80m"),C=n("YUwJ"),I=n("S8CU");const D={detailsTdClass:Object(h.b)(s.e),tbodyTrAttr:Object(h.b)(s.o),tbodyTrClass:Object(h.b)([...s.e,s.j])},A=Object(i.c)({mixins:[S.a],props:D,methods:{getTdValues(e,t,n,i){const{bvParent:r}=this;if(n){const i=Object(O.a)(e,t,"");return Object(x.e)(n)?n(i,t,e):Object(x.m)(n)&&Object(x.e)(r[n])?r[n](i,t,e):n}return i},getThValues(e,t,n,i,r){const{bvParent:a}=this;if(n){const r=Object(O.a)(e,t,"");return Object(x.e)(n)?n(r,t,e,i):Object(x.m)(n)&&Object(x.e)(a[n])?a[n](r,t,e,i):n}return r},getFormattedValue(e,t){const{key:n}=t,i=this.getFieldFormatter(n);let r=Object(O.a)(e,n,null);return Object(x.e)(i)&&(r=i(r,n,e)),Object(x.o)(r)?"":r},toggleDetailsFactory(e,t){return()=>{e&&this.$set(t,I.d,!t[I.d])}},rowHovered(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(r.H,e)},rowUnhovered(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(r.K,e)},renderTbodyRowCell(e,t,n,i){const{isStacked:r}=this,{key:a,label:s,isRowHeader:o}=e,l=this.$createElement,c=this.hasNormalizedSlot(w.t),d=this.getFormattedValue(n,e),h=!r&&(this.isResponsive||this.stickyHeader)&&e.stickyColumn,p=h?o?C.a:j.a:o?"th":"td",f=n[I.b]&&n[I.b][a]?n[I.b][a]:e.variant||null,m={class:[e.class?e.class:"",this.getTdValues(n,a,e.tdClass,"")],props:{},attrs:{"aria-colindex":String(t+1),...o?this.getThValues(n,a,e.thAttr,"row",{}):this.getTdValues(n,a,e.tdAttr,{})},key:`row-${i}-cell-${t}-${a}`};h?m.props={stackedHeading:r?s:null,stickyColumn:!0,variant:f}:(m.attrs["data-label"]=r&&!Object(x.o)(s)?Object(T.f)(s):null,m.attrs.role=o?"rowheader":"cell",m.attrs.scope=o?"row":null,f&&m.class.push(`${this.dark?"bg":"table"}-${f}`));const b={item:n,index:i,field:e,unformatted:Object(O.a)(n,a,""),value:d,toggleDetails:this.toggleDetailsFactory(c,n),detailsShowing:Boolean(n[I.d])};Object(u.a)(this).supportsSelectableRows&&(b.rowSelected=this.isRowSelected(i),b.selectRow=()=>this.selectRow(i),b.unselectRow=()=>this.unselectRow(i));const g=this.$_bodyFieldSlotNameCache[a];let v=g?this.normalizeSlot(g,b):Object(T.f)(d);return this.isStacked&&(v=[l("div",[v])]),l(p,m,[v])},renderTbodyRow(e,t){const{computedFields:n,striped:a,primaryKey:s,currentPage:o,perPage:l,tbodyTrClass:c,tbodyTrAttr:d,hasSelectableRowClick:h}=Object(u.a)(this),p=this.$createElement,f=this.hasNormalizedSlot(w.t),m=e[I.d]&&f,b=this.$listeners[r.E]||h,g=[],v=m?this.safeId(`_details_${t}_`):null,y=n.map((n,i)=>this.renderTbodyRowCell(n,i,e,t));let k=null;o&&l&&l>0&&(k=String((o-1)*l+t+1));const S=Object(T.f)(Object(O.a)(e,s))||null,C=S||Object(T.f)(t),D=S?this.safeId("_row_"+S):null,A=Object(u.a)(this).selectableRowClasses?this.selectableRowClasses(t):{},$=Object(u.a)(this).selectableRowAttrs?this.selectableRowAttrs(t):{},N=Object(x.e)(c)?c(e,"row"):c,P=Object(x.e)(d)?d(e,"row"):d;if(g.push(p(_.a,{class:[N,A,m?"b-table-has-details":""],props:{variant:e[I.c]||null},attrs:{id:D,...P,tabindex:b?"0":null,"data-pk":S||null,"aria-details":v,"aria-owns":v,"aria-rowindex":k,...$},on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:`__b-table-row-${C}__`,ref:"item-rows",[i.b]:!0},y)),m){const i={item:e,index:t,fields:n,toggleDetails:this.toggleDetailsFactory(f,e)};Object(u.a)(this).supportsSelectableRows&&(i.rowSelected=this.isRowSelected(t),i.selectRow=()=>this.selectRow(t),i.unselectRow=()=>this.unselectRow(t));const r=p(j.a,{props:{colspan:n.length},class:this.detailsTdClass},[this.normalizeSlot(w.t,i)]);a&&g.push(p("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__"+C}));const s=Object(x.e)(this.tbodyTrClass)?this.tbodyTrClass(e,w.t):this.tbodyTrClass,o=Object(x.e)(this.tbodyTrAttr)?this.tbodyTrAttr(e,w.t):this.tbodyTrAttr;g.push(p(_.a,{staticClass:"b-table-details",class:[s],props:{variant:e[I.c]||null},attrs:{...o,id:v,tabindex:"-1"},key:"__b-table-details__"+C},[r]))}else f&&(g.push(p()),a&&g.push(p()));return g}}}),$=e=>`cell(${e||""})`,N=Object(d.m)({...g,...D,tbodyClass:Object(h.b)(s.e)}),P=Object(i.c)({mixins:[A],props:N,beforeDestroy(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs(){const{$refs:e}=this,t=e.tbody?e.tbody.$el||e.tbody:null,n=(e["item-rows"]||[]).map(e=>e.$el||e);return t&&t.children&&t.children.length>0&&n&&n.length>0?Object(o.d)(t.children).filter(e=>Object(o.a)(n,e)):[]},getTbodyTrIndex(e){if(!Object(l.s)(e))return-1;const t="TR"===e.tagName?e:Object(l.e)("tr",e,!0);return t?this.getTbodyTrs().indexOf(t):-1},emitTbodyRowEvent(e,t){if(e&&this.hasListener(e)&&t&&t.target){const n=this.getTbodyTrIndex(t.target);if(n>-1){const i=this.computedItems[n];this.$emit(e,i,n,t)}}},tbodyRowEventStopped(e){return this.stopIfBusy&&this.stopIfBusy(e)},onTbodyRowKeydown(e){const{target:t,keyCode:n}=e;if(!this.tbodyRowEventStopped(e)&&"TR"===t.tagName&&Object(l.q)(t)&&0===t.tabIndex)if(Object(o.a)([a.c,a.h],n))Object(c.f)(e),this.onTBodyRowClicked(e);else if(Object(o.a)([a.i,a.a,a.e,a.b],n)){const i=this.getTbodyTrIndex(t);if(i>-1){Object(c.f)(e);const t=this.getTbodyTrs(),r=e.shiftKey;n===a.e||r&&n===a.i?Object(l.d)(t[0]):n===a.b||r&&n===a.a?Object(l.d)(t[t.length-1]):n===a.i&&i>0?Object(l.d)(t[i-1]):n===a.a&&i<t.length-1&&Object(l.d)(t[i+1])}}},onTBodyRowClicked(e){const{$refs:t}=this,n=t.tbody?t.tbody.$el||t.tbody:null;this.tbodyRowEventStopped(e)||Object(y.a)(e)||Object(k.a)(n||this.$el)||this.emitTbodyRowEvent(r.E,e)},onTbodyRowMiddleMouseRowClicked(e){this.tbodyRowEventStopped(e)||2!==e.which||this.emitTbodyRowEvent(r.I,e)},onTbodyRowContextmenu(e){this.tbodyRowEventStopped(e)||this.emitTbodyRowEvent(r.F,e)},onTbodyRowDblClicked(e){this.tbodyRowEventStopped(e)||Object(y.a)(e)||this.emitTbodyRowEvent(r.G,e)},renderTbody(){const{computedItems:e,renderBusy:t,renderTopRow:n,renderEmpty:i,renderBottomRow:a,hasSelectableRowClick:s}=Object(u.a)(this),o=this.$createElement,l=this.hasListener(r.E)||s,c=[],d=t?t():null;if(d)c.push(d);else{const t={};let r=$();r=this.hasNormalizedSlot(r)?r:null,this.computedFields.forEach(e=>{const{key:n}=e,i=$(n),a=$(n.toLowerCase());t[n]=this.hasNormalizedSlot(i)?i:this.hasNormalizedSlot(a)?a:r}),this.$_bodyFieldSlotNameCache=t,c.push(n?n():o()),e.forEach((e,t)=>{c.push(this.renderTbodyRow(e,t))}),c.push(i?i():o()),c.push(a?a():o())}const p={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};l&&(p.click=this.onTBodyRowClicked,p.keydown=this.onTbodyRowKeydown);return o(v,{class:this.tbodyClass||null,props:Object(h.d)(g,this.$props),on:p,ref:"tbody"},c)}}})},b9Gi:function(e,t,n){"use strict";function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[G]}function a(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===U}(e)||Array.isArray(e)||!!e[z]||!!e.constructor[z]||h(e)||p(e))}function s(e,t,n){void 0===n&&(n=!1),0===o(e)?(n?Object.keys:W)(e).forEach((function(i){n&&"symbol"==typeof i||t(i,e[i],e)})):e.forEach((function(n,i){return t(i,n,e)}))}function o(e){var t=e[G];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:h(e)?2:p(e)?3:0}function l(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===o(e)?e.get(t):e[t]}function c(e,t,n){var i=o(e);2===i?e.set(t,n):3===i?(e.delete(t),e.add(n)):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e){return F&&e instanceof Map}function p(e){return L&&e instanceof Set}function f(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=K(e);delete t[G];for(var n=W(t),i=0;i<n.length;i++){var r=n[i],a=t[r];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[r]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[r]})}return Object.create(Object.getPrototypeOf(e),t)}function b(e,t){return void 0===t&&(t=!1),v(e)||r(e)||!a(e)||(o(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&s(e,(function(e,t){return b(t,!0)}),!0)),e}function g(){i(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function y(e){var t=Y[e];return t||i(18,e),t}function k(){return q}function w(e,t){t&&(y("Patches"),e.u=[],e.s=[],e.v=t)}function S(e){O(e),e.p.forEach(T),e.p=null}function O(e){e===q&&(q=e.l)}function x(e){return q={p:[],l:q,h:e,m:!0,_:0}}function T(e){var t=e[G];0===t.i||1===t.i?t.j():t.O=!0}function _(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||y("ES5").S(t,e,r),r?(n[G].P&&(S(t),i(4)),a(e)&&(e=j(t,e),t.l||I(t,e)),t.u&&y("Patches").M(n[G].t,e,t.u,t.s)):e=j(t,n,[]),S(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function j(e,t,n){if(v(t))return t;var i=t[G];if(!i)return s(t,(function(r,a){return C(e,i,t,r,a,n)}),!0),t;if(i.A!==e)return t;if(!i.P)return I(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=m(i.k):i.o;s(3===i.i?new Set(r):r,(function(t,a){return C(e,i,r,t,a,n)})),I(e,r,!1),n&&e.u&&y("Patches").R(i,n,e.u,e.s)}return i.o}function C(e,t,n,i,s,o){if(r(s)){var u=j(e,s,o&&t&&3!==t.i&&!l(t.D,i)?o.concat(i):void 0);if(c(n,i,u),!r(u))return;e.m=!1}if(a(s)&&!v(s)){if(!e.h.F&&e._<1)return;j(e,s),t&&t.A.l||I(e,s)}}function I(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&b(t,n)}function D(e,t){var n=e[G];return(n?f(n):e)[t]}function A(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function $(e){e.P||(e.P=!0,e.l&&$(e.l))}function N(e){e.o||(e.o=m(e.t))}function P(e,t,n){var i=h(t)?y("MapSet").N(t,n):p(t)?y("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),i={i:n?1:0,A:t?t.A:k(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},r=i,a=Q;n&&(r=[i],a=X);var s=Proxy.revocable(r,a),o=s.revoke,l=s.proxy;return i.k=l,i.j=o,l}(t,n):y("ES5").J(t,n);return(n?n.A:k()).p.push(i),i}function E(e){return r(e)||i(22,e),function e(t){if(!a(t))return t;var n,i=t[G],r=o(t);if(i){if(!i.P&&(i.i<4||!y("ES5").K(i)))return i.t;i.I=!0,n=R(t,r),i.I=!1}else n=R(t,r);return s(n,(function(t,r){i&&u(i.t,t)===r||c(n,t,e(r))})),3===r?new Set(n):n}(e)}function R(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}n.d(t,"b",(function(){return Z}));var B,q,V="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),F="undefined"!=typeof Map,L="undefined"!=typeof Set,M="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=V?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),z=V?Symbol.for("immer-draftable"):"__$immer_draftable",G=V?Symbol.for("immer-state"):"__$immer_state",U=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,K=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Y={},Q={get:function(e,t){if(t===G)return e;var n=f(e);if(!l(n,t))return function(e,t,n){var i,r=A(t,n);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(e.k):void 0}(e,n,t);var i=n[t];return e.I||!a(i)?i:i===D(e.t,t)?(N(e),e.o[t]=P(e.A.h,i,e)):i},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var i=A(f(e),t);if(null==i?void 0:i.set)return i.set.call(e.k,n),!0;if(!e.P){var r=D(f(e),t),a=null==r?void 0:r[G];if(a&&a.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(d(n,r)&&(void 0!==n||l(e.t,t)))return!0;N(e),$(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==D(e.t,t)||t in e.t?(e.D[t]=!1,N(e),$(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:i.enumerable,value:n[t]}:i},defineProperty:function(){i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){i(12)}},X={};s(Q,(function(e,t){X[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),X.deleteProperty=function(e,t){return X.set.call(this,e,t,void 0)},X.set=function(e,t,n){return Q.set.call(this,e[0],t,n,e[0])};var J=new(function(){function e(e){var t=this;this.g=M,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var s=n;n=e;var o=t;return function(e){var t=this;void 0===e&&(e=s);for(var i=arguments.length,r=Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];return o.produce(e,(function(e){var i;return(i=n).call.apply(i,[t,e].concat(r))}))}}var l;if("function"!=typeof n&&i(6),void 0!==r&&"function"!=typeof r&&i(7),a(e)){var u=x(t),c=P(t,e,void 0),d=!0;try{l=n(c),d=!1}finally{d?S(u):O(u)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return w(u,r),_(e,u)}),(function(e){throw S(u),e})):(w(u,r),_(l,u))}if(!e||"object"!=typeof e){if(void 0===(l=n(e))&&(l=e),l===H&&(l=void 0),t.F&&b(l,!0),r){var h=[],p=[];y("Patches").M(e,l,h,p),r(h,p)}return l}i(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var i=arguments.length,r=Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(r))}))};var i,r,a=t.produce(e,n,(function(e,t){i=e,r=t}));return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return[e,i,r]})):[a,i,r]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){a(e)||i(8),r(e)&&(e=E(e));var t=x(this),n=P(this,e,void 0);return n[G].C=!0,O(t),n},t.finishDraft=function(e,t){var n=(e&&e[G]).A;return w(n,t),_(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!M&&i(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var a=y("Patches").$;return r(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))},e}()),Z=J.produce;J.produceWithPatches.bind(J),J.setAutoFreeze.bind(J),J.setUseProxies.bind(J),J.applyPatches.bind(J),J.createDraft.bind(J),J.finishDraft.bind(J);t.a=Z},bta6:function(e,t,n){e.exports=n("+p8b")},crTv:function(e,t,n){"use strict";var i=n("3CjL"),r=n.n(i),a=n("o4PY"),s=n.n(a),o=n("59DU"),l=n.n(o),u=n("Qog8"),c=n("ntxz"),d=n("V5u/"),h=n("XBTk"),p=n("4lAS"),f=n("FkSe"),m=n("ehHk"),b=n("iN9h"),g=n("qaCH"),v=n("EldY"),y=n("zjrD"),k=n("3A1J"),w=n("s1D3"),S=n("Pyw5"),O=n.n(S);const x={name:"GlListboxSearchInput",components:{GlClearIconButton:k.a,GlIcon:w.a},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(){return{...this.$listeners,input:e=>{this.$emit("input",e.target.value)}}}},methods:{clearInput(){this.$emit("input",""),this.focusInput()},focusInput(){this.$refs.input.focus()}}};var T=O()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"gl-listbox-search"},[n("gl-icon",{staticClass:"gl-listbox-search-icon",attrs:{name:"search-sm",size:12}}),e._v(" "),n("input",e._g({ref:"input",staticClass:"gl-listbox-search-input",attrs:{type:"search","aria-label":e.placeholder,placeholder:e.placeholder},domProps:{value:e.value}},e.inputListeners)),e._v(" "),e.hasValue?n("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)},staticRenderFns:[]},void 0,x,void 0,!1,void 0,!1,void 0,void 0,void 0);const _={name:"GlListboxGroup",props:{name:{type:String,required:!0},textSrOnly:{type:Boolean,required:!1,default:!1}},created(){this.nameId=s()("gl-listbox-group-")}};var j=O()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"gl-mb-0 gl-pl-0",attrs:{role:"group","aria-labelledby":e.nameId}},[n("li",{staticClass:"gl-pb-2 gl-pl-4 gl-pt-3 gl-text-sm gl-font-bold",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)},staticRenderFns:[]},void 0,_,void 0,!1,void 0,!1,void 0,void 0,void 0),C=n("3fen");const I=["gl-border-t","gl-border-t-gray-200","gl-pt-1","gl-mt-2"];const D={name:"GlCollapsibleListbox",HEADER_ITEMS_BORDER_CLASSES:["gl-border-b-1","gl-border-b-solid","gl-border-b-gray-200"],events:{GL_DROPDOWN_SHOWN:d.i,GL_DROPDOWN_HIDDEN:d.h},components:{GlBaseDropdown:g.b,GlListboxItem:y.a,GlListboxGroup:j,GlButton:p.a,GlSearchBoxByType:b.a,GlListboxSearchInput:T,GlLoadingIcon:f.a,GlIntersectionObserver:m.a},model:{prop:"selected",event:"select"},props:{items:{type:Array,required:!1,default:()=>[],validator:C.c},selected:{type:[Array,String,Number],required:!1,default:()=>[]},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:h.m.primary,validator:e=>e in h.m},variant:{type:String,required:!1,default:h.w.default,validator:e=>e in h.w},size:{type:String,required:!1,default:"medium",validator:e=>e in h.n},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},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:e=>Object.keys(h.v).includes(e)},isCheckCentered:{type:Boolean,required:!1,default:!1},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},positioningStrategy:{type:String,required:!1,default:d.k,validator:e=>[d.k,d.l].includes(e)},startOpened:{type:Boolean,required:!1,default:!1},srOnlyResultsLabel:{type:Function,required:!1,default:Object(v.c)("GlCollapsibleListbox.srOnlyResultsLabel","%d result","%d results")},improvedHideHeuristics:{type:Boolean,required:!1,default:()=>Boolean(c.b.useImprovedHideHeuristics)}},data:()=>({selectedValues:[],toggleId:s()("dropdown-toggle-btn-"),listboxId:s()("listbox-"),nextFocusedItemIndex:null,searchStr:"",topBoundaryVisible:!0,bottomBoundaryVisible:!0}),computed:{listboxTag(){return!this.hasItems||Object(C.b)(this.items[0])?"ul":"div"},listboxClasses(){return{"top-scrim-visible":!this.topBoundaryVisible,"bottom-scrim-visible":!this.bottomBoundaryVisible,[d.f]:!0}},itemTag(){return"ul"===this.listboxTag?"li":"div"},flattenedOptions(){return Object(C.a)(this.items)},hasItems(){return this.items.length>0},listboxToggleText(){var e;return this.toggleText?this.toggleText:!this.multiple&&this.selectedValues.length?null===(e=this.flattenedOptions.find(e=>{let{value:t}=e;return t===this.selectedValues[0]}))||void 0===e?void 0:e.text:""},selectedIndices(){return this.selectedValues.map(e=>this.flattenedOptions.findIndex(t=>{let{value:n}=t;return n===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&&s()("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},hasCustomToggle(){return Boolean(this.$scopedSlots.toggle)},hasSelection(){return Boolean(this.selectedValues.length)},toggleButtonClasses(){const e=[this.toggleClass];return this.hasSelection||e.push("!gl-text-gray-500"),e},hasHeader(){return this.headerText||this.searchable},hasFooter(){return Boolean(this.$scopedSlots.footer)}},watch:{selected:{immediate:!0,handler(e){Array.isArray(e)?this.selectedValues=[...e]:this.selectedValues=l()(e)?[]:[e]}},items:{handler(){this.$nextTick(()=>{this.observeScroll()})}}},mounted(){this.startOpened&&this.open(),this.observeScroll()},beforeDestroy(){var e;null===(e=this.scrollObserver)||void 0===e||e.disconnect()},methods:{open(){this.$refs.baseDropdown.open()},close(){this.$refs.baseDropdown.close()},groupClasses:e=>0===e?null:I,onShow(){var e;this.searchable?this.focusSearchInput():this.focusItem(null!==(e=this.selectedIndices[0])&&void 0!==e?e:0,this.getFocusableListItemElements());this.$emit(d.i)},onHide(){this.$emit(d.h),this.nextFocusedItemIndex=null},onKeydown(e){const{code:t,target:n}=e,i=this.getFocusableListItemElements();if(i.length<1)return;let r=!0;const a=n.matches(".gl-listbox-search-input");if(t===d.j){if(a)return;this.focusItem(0,i)}else if(t===d.c){if(a)return;this.focusItem(i.length-1,i)}else if(t===d.b){if(a)return;this.searchable&&0===i.indexOf(n)?this.focusSearchInput():this.focusNextItem(e,i,-1)}else t===d.a?a?this.focusItem(0,i):this.focusNextItem(e,i,1):r=!1;r&&Object(u.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,n){const{target:i}=e,a=t.indexOf(i),s=r()(a+n,0,t.length-1);this.focusItem(s,t)},focusItem(e,t){var n;this.nextFocusedItemIndex=e,null===(n=t[e])||void 0===n||n.focus()},focusSearchInput(){this.$refs.searchBox.focusInput()},onSelect(e,t){this.multiple?this.onMultiSelect(e.value,t):this.onSingleSelect(e.value,t)},isSelected(e){return this.selectedValues.some(t=>t===e.value)},isFocused(e){return this.nextFocusedItemIndex===this.flattenedOptions.indexOf(e)},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(t=>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")},listboxItemMoreItemsAriaAttributes(e){return null===this.totalItems?{}:{"aria-setsize":this.totalItems,"aria-posinset":e+1}},observeScroll(){var e;const t={rootMargin:"8px",root:this.$refs.list,threshold:1};null===(e=this.scrollObserver)||void 0===e||e.disconnect();const n=new IntersectionObserver(e=>{e.forEach(e=>{var t;this[null===(t=e.target)||void 0===t?void 0:t.$__visibilityProp]=e.isIntersecting})},t),i=this.$refs["top-boundary"],r=this.$refs["bottom-boundary"];i&&(i.$__visibilityProp="topBoundaryVisible",n.observe(i)),r&&(r.$__visibilityProp="bottomBoundaryVisible",n.observe(r)),this.scrollObserver=n},isOption:C.b}};const A=O()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("gl-base-dropdown",{ref:"baseDropdown",attrs:{"aria-haspopup":"listbox","aria-labelledby":e.toggleAriaLabelledBy,block:e.block,"toggle-id":e.toggleId,"toggle-text":e.listboxToggleText,"toggle-class":e.toggleButtonClasses,"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,"positioning-strategy":e.positioningStrategy,"improved-hide-heuristics":e.improvedHideHeuristics},on:e._d({},[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(){return[e._t("toggle")]},proxy:!0}:null],null,!0)},[e._v(" "),e.headerText?n("div",{staticClass:"gl-flex gl-min-h-8 gl-items-center !gl-p-4",class:e.$options.HEADER_ITEMS_BORDER_CLASSES},[n("div",{staticClass:"gl-grow gl-pr-2 gl-text-sm gl-font-bold",attrs:{id:e.headerId,"data-testid":"listbox-header-text"}},[e._v("\n      "+e._s(e.headerText)+"\n    ")]),e._v(" "),e.showResetButton?n("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-py-2 !gl-text-sm focus:!gl-shadow-inner-2-blue-400",attrs:{category:"tertiary","data-testid":"listbox-reset-button"},on:{click:e.onResetButtonClicked}},[e._v("\n      "+e._s(e.resetButtonLabel)+"\n    ")]):e._e(),e._v(" "),e.showSelectAllButton?n("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-py-2 !gl-text-sm focus:!gl-shadow-inner-2-blue-400",attrs:{category:"tertiary","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?n("div",{class:e.$options.HEADER_ITEMS_BORDER_CLASSES},[n("gl-listbox-search-input",{ref:"searchBox",class:{"gl-listbox-topmost":!e.headerText},attrs:{"data-testid":"listbox-search-input",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?n("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-search-loader",size:"md"}}):e._e()],1):e._e(),e._v(" "),e.showList?n(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-labelledby":e.listAriaLabelledBy||e.headerId||e.toggleId,role:"listbox",tabindex:"0"},on:{keydown:e.onKeydown}},[n(e.itemTag,{tag:"component",staticClass:"top-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"top-scrim"}},[n("div",{staticClass:"top-scrim",class:{"top-scrim-light":!e.hasHeader,"top-scrim-dark":e.hasHeader}})]),e._v(" "),n(e.itemTag,{ref:"top-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),e._v(" "),e._l(e.items,(function(t,i){return[e.isOption(t)?[n("gl-listbox-item",e._b({key:t.value,attrs:{"data-testid":"listbox-item-"+t.value,"is-selected":e.isSelected(t),"is-focused":e.isFocused(t),"is-check-centered":e.isCheckCentered},on:{select:function(n){return e.onSelect(t,n)}}},"gl-listbox-item",e.listboxItemMoreItemsAriaAttributes(i),!1),[e._t("list-item",(function(){return[e._v("\n            "+e._s(t.text)+"\n          ")]}),{item:t})],2)]:[n("gl-listbox-group",{key:t.text,class:e.groupClasses(i),attrs:{name:t.text,"text-sr-only":t.textSrOnly},scopedSlots:e._u([e.$scopedSlots["group-label"]?{key:"group-label",fn:function(){return[e._t("group-label",null,{group:t})]},proxy:!0}:null],null,!0)},[e._v(" "),e._l(t.options,(function(t){return n("gl-listbox-item",{key:t.value,attrs:{"data-testid":"listbox-item-"+t.value,"is-selected":e.isSelected(t),"is-focused":e.isFocused(t),"is-check-centered":e.isCheckCentered},on:{select:function(n){return e.onSelect(t,n)}}},[e._t("list-item",(function(){return[e._v("\n              "+e._s(t.text)+"\n            ")]}),{item:t})],2)}))],2)]]})),e._v(" "),e.infiniteScrollLoading?n(e.itemTag,{tag:"component"},[n("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-infinite-scroll-loader",size:"md"}})],1):e._e(),e._v(" "),e.showIntersectionObserver?n("gl-intersection-observer",{on:{appear:e.onIntersectionObserverAppear}}):e._e(),e._v(" "),n(e.itemTag,{ref:"bottom-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),e._v(" "),n(e.itemTag,{tag:"component",staticClass:"bottom-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"bottom-scrim"}},[n("div",{staticClass:"bottom-scrim",class:{"!gl-rounded-none":e.hasFooter}})])],2):e._e(),e._v(" "),e.announceSRSearchResults?n("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.showNoResultsText?n("div",{staticClass:"gl-py-3 gl-pl-7 gl-pr-5 gl-text-base gl-text-gray-600",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")],2)},staticRenderFns:[]},void 0,D,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=A},e67P:function(e,t,n){"use strict";var i=n("XBTk"),r=n("Ge+5"),a=n("Pyw5"),s=n.n(a);const o={name:"GlToken",components:{CloseButton:r.a},props:{viewOnly:{type:Boolean,required:!1,default:!1},variant:{type:String,required:!1,default:"default",validator:e=>i.K.includes(e)}},computed:{variantClass(){return`gl-token-${this.variant}-variant`},viewOnlyClass(){return{"gl-token-view-only":this.viewOnly}}},methods:{close(e){this.$emit("close",e)}}};const l=s()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._g({class:["gl-token",e.variantClass,e.viewOnlyClass]},e.$listeners),[n("span",{staticClass:"gl-token-content"},[e._t("default"),e._v(" "),e.viewOnly?e._e():n("close-button",{staticClass:"gl-token-close gl-close-btn-color-inherit",on:{click:e.close}})],2)])},staticRenderFns:[]},void 0,o,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=l},ehHk:function(e,t,n){"use strict";var i=n("htNe"),r=n.n(i),a=n("Pyw5"),s=n.n(a);const o=r()(e=>new IntersectionObserver(e=>{e.forEach(e=>{e.target.$_gl_intersectionHandler(e)})},e||{}));const l={name:"GlIntersectionObserver",props:{options:{type:Object,required:!1,default:null}},mounted(){const e=o(this.options);this.$el.$_gl_intersectionHandler=e=>{this.$emit("update",e),e.isIntersecting?this.$emit("appear"):this.$emit("disappear")},this.$el.$_gl_intersectionObserver=e,e.observe(this.$el)},destroyed(){this.$el.$_gl_intersectionObserver.unobserve(this.$el),delete this.$el.$_gl_intersectionHandler,delete this.$el.$_gl_intersectionObserver},getObserver:o};const u=s()({render:function(){var e=this.$createElement;return(this._self._c||e)("div",[this._t("default")],2)},staticRenderFns:[]},void 0,l,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=u},fSQg:function(e,t,n){"use strict";var i=n("o4PY"),r=n.n(i),a=n("XiQx"),s=n("7z1+"),o=n("BglX"),l=n("Pyw5"),u=n.n(l);const c={[o.a.top]:"gl-border-t gl-border-t-gray-200 gl-pt-2 gl-mt-2",[o.a.bottom]:"gl-border-b gl-border-b-gray-200 gl-pb-2 gl-mb-2"};const d={name:o.b,components:{GlDisclosureDropdownItem:a.b},props:{group:{type:Object,required:!1,default:null,validator:s.b},bordered:{type:Boolean,required:!1,default:!1},borderPosition:{type:String,required:!1,default:o.a.top,validator:e=>Object.keys(o.a).includes(e)}},computed:{borderClass(){return this.bordered?c[this.borderPosition]:null},showHeader(){var e;return this.$scopedSlots["group-label"]||(null===(e=this.group)||void 0===e?void 0:e.name)},groupLabeledBy(){return this.showHeader?this.nameId:null}},created(){this.nameId=r()("gl-disclosure-dropdown-group-")},methods:{handleAction(e){this.$emit("action",e)},uniqueItemId:()=>r()("disclosure-item-")}};const h=u()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:e.borderClass},[e.showHeader?n("div",{staticClass:"gl-py-2 gl-pl-4 gl-text-sm gl-font-bold",attrs:{id:e.nameId,"aria-hidden":"true"}},[e._t("group-label",(function(){return[e._v(e._s(e.group.name))]}))],2):e._e(),e._v(" "),n("ul",{staticClass:"gl-mb-0 gl-list-none gl-pl-0",attrs:{"aria-labelledby":e.groupLabeledBy}},[e._t("default",(function(){return e._l(e.group.items,(function(t){return n("gl-disclosure-dropdown-item",{key:e.uniqueItemId(),attrs:{item:t},on:{action:e.handleAction},scopedSlots:e._u([{key:"list-item",fn:function(){return[e._t("list-item",null,{item:t})]},proxy:!0}],null,!0)})}))}))],2)])},staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=h},i3lA:function(e,t,n){"use strict";n("B++/"),n("z6RN"),n("47t/");var i=n("EmJ/"),r=n.n(i),a=n("NmEs"),s=n("nc9B"),o=n("/lV4");const l=function(e,t){window.innerWidth>=992?(e.classList.remove("right-sidebar-expanded","right-sidebar-collapsed"),t.classList.remove("right-sidebar-collapsed"),t.classList.add("right-sidebar-expanded")):(e.classList.add("right-sidebar-collapsed","is-merge-request"),t.classList.add("right-sidebar-collapsed"),t.classList.remove("right-sidebar-expanded"))};function u(){this.sidebar=r()("aside"),this.isMR=/projects:merge_requests:/.test(document.body.dataset.page),this.removeListeners(),this.addEventListeners()}u.initialize=function(){this.instance||(this.instance=new u)},u.prototype.removeListeners=function(){this.sidebar.off("click",".sidebar-collapsed-icon"),this.sidebar.off("hidden.gl.dropdown"),this.sidebar.off("hiddenGlDropdown"),r()(".dropdown").off("loading.gl.dropdown"),r()(".dropdown").off("loaded.gl.dropdown"),r()(document).off("click",".js-sidebar-toggle")},u.prototype.addEventListeners=function(){const e=r()(document);this.sidebar.on("click",".sidebar-collapsed-icon",this,this.sidebarCollapseClicked),this.sidebar.on("hidden.gl.dropdown",this,this.onSidebarDropdownHidden),this.sidebar.on("hiddenGlDropdown",this,this.onSidebarDropdownHidden),e.on("click",".js-sidebar-toggle",this.sidebarToggleClicked);const t=document.querySelector(".layout-page"),n=document.querySelector(".js-right-sidebar");n.classList.contains("right-sidebar-merge-requests")&&(l(t,n),window.addEventListener("resize",(function(){return l(t,n)})))},u.prototype.sidebarToggleClicked=function(e,t){const n=r()(".js-sidebar-toggle"),i=r()(".js-sidebar-collapse"),l=r()(".js-sidebar-expand"),u=r()(".js-sidebar-toggle-container"),c=u.data("is-expanded"),d=c?Object(o.__)("Expand sidebar"):Object(o.__)("Collapse sidebar");e.preventDefault(),c?(u.data("is-expanded",!1),i.addClass("hidden"),l.removeClass("hidden"),r()("aside.right-sidebar").removeClass("right-sidebar-expanded").addClass("right-sidebar-collapsed"),this.isMR||r()(".layout-page").removeClass("right-sidebar-expanded").addClass("right-sidebar-collapsed")):(u.data("is-expanded",!0),l.addClass("hidden"),i.removeClass("hidden"),r()("aside.right-sidebar").removeClass("right-sidebar-collapsed").addClass("right-sidebar-expanded"),this.isMR||r()(".layout-page").removeClass("right-sidebar-collapsed").addClass("right-sidebar-expanded")),n.attr("data-original-title",d),n.attr("title",d),Object(s.c)(n),Object(s.d)(n),t||Object(a.Q)("collapsed_gutter",r()(".right-sidebar").hasClass("right-sidebar-collapsed"))},u.prototype.sidebarCollapseClicked=function(e){if(r()(e.currentTarget).hasClass("js-dont-change-state"))return;const t=e.data;e.preventDefault();const n=r()(this).closest(".block");return t.openDropdown(n)},u.prototype.openDropdown=function(e){const t="string"==typeof e?this.getBlock(e):e;this.isOpen()||(this.setCollapseAfterUpdate(t),this.toggleSidebar("open"))},u.prototype.setCollapseAfterUpdate=function(e){return e.addClass("collapse-after-update"),r()(".layout-page").addClass("with-overlay")},u.prototype.onSidebarDropdownHidden=function(e){const t=e.data;e.preventDefault();const n=r()(e.target).closest(".block");return t.sidebarDropdownHidden(n)},u.prototype.sidebarDropdownHidden=function(e){if(e.hasClass("collapse-after-update"))return e.removeClass("collapse-after-update"),r()(".layout-page").removeClass("with-overlay"),this.toggleSidebar("hide")},u.prototype.triggerOpenSidebar=function(){return this.sidebar.find(".js-sidebar-toggle").trigger("click")},u.prototype.toggleSidebar=function(e){if(null==e&&(e="toggle"),"toggle"===e&&this.triggerOpenSidebar(),"open"===e&&(this.isOpen()||this.triggerOpenSidebar()),"hide"===e&&this.isOpen())return this.triggerOpenSidebar()},u.prototype.isOpen=function(){return this.sidebar.is(".right-sidebar-expanded")},u.prototype.getBlock=function(e){return this.sidebar.find(".block."+e)},t.a=u},iM2x:function(e,t,n){"use strict";var i=n("Lzak"),r=n("s1D3"),a=n("z1xw"),s=n("/lV4"),o={components:{GlBadge:i.a,GlIcon:r.a},directives:{GlTooltip:a.a},props:{status:{type:Object,required:!0,validator(e){const{icon:t}=e;return"string"==typeof t&&t.startsWith("status")}},showStatusText:{type:Boolean,required:!1,default:!1},showTooltip:{type:Boolean,required:!1,default:!0},useLink:{type:Boolean,default:!0,required:!1}},computed:{title(){var e;return this.showTooltip?this.showStatusText?null:null===(e=this.status)||void 0===e?void 0:e.text:null},ariaLabel(){var e;return Object(s.sprintf)(Object(s.__)("Status: %{status}"),{status:null===(e=this.status)||void 0===e?void 0:e.text})},href(){return this.useLink?this.status.detailsPath||this.status.details_path:null},icon(){return this.status.icon?this.status.icon+"_borderless":null},variant(){switch(this.status.icon){case"status_success":return"success";case"status_warning":case"status_pending":return"warning";case"status_failed":return"danger";case"status_running":return"info";default:return"neutral"}}}},l=n("tBpV"),u=Object(l.a)(o,(function(){var e=this,t=e._self._c;return t("gl-badge",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.viewport.left",modifiers:{viewport:!0,left:!0}}],staticClass:"ci-icon !gl-p-2",class:"ci-icon-variant-"+e.variant,attrs:{variant:e.variant,title:e.title,"aria-label":e.ariaLabel,href:e.href,"data-testid":"ci-icon"},on:{click:function(t){return e.$emit("ciStatusBadgeClick")}}},[t("span",{staticClass:"ci-icon-gl-icon-wrapper"},[t("gl-icon",{attrs:{name:e.icon}})],1),e.showStatusText?t("span",{staticClass:"gl-mx-2 gl-whitespace-nowrap",attrs:{"data-testid":"ci-icon-text"}},[e._v(e._s(e.status.text))]):e._e()])}),[],!1,null,null,null);t.a=u.exports},j00k:function(e,t,n){"use strict";var i=n("o4PY"),r=n.n(i),a=n("XBTk"),s=n("s1D3"),o=n("FkSe"),l=n("Pyw5"),u=n.n(l);let c=0;const d={name:"GlToggle",components:{GlIcon:s.a,GlLoadingIcon:o.a},model:{prop:"value",event:"change"},props:{name:{type:String,required:!1,default:null},value:{type:Boolean,required:!1,default:null},disabled:{type:Boolean,required:!1,default:!1},isLoading:{type:Boolean,required:!1,default:!1},label:{type:String,required:!0},description:{type:String,required:!1,default:void 0},help:{type:String,required:!1,default:void 0},labelPosition:{type:String,required:!1,default:"top",validator:e=>Object.values(a.J).includes(e)}},data:()=>({labelId:r()("toggle-label-")}),computed:{shouldRenderDescription(){return Boolean(this.$scopedSlots.description||this.description)&&this.isVerticalLayout},shouldRenderHelp(){return Boolean(this.$slots.help||this.help)&&this.isVerticalLayout},toggleClasses(){return[{"gl-sr-only":"hidden"===this.labelPosition},this.shouldRenderDescription?"gl-mb-2":"gl-mb-3"]},icon(){return this.value?"mobile-issue-close":"close"},helpId(){return this.shouldRenderHelp?"toggle-help-"+this.uuid:void 0},isChecked(){return this.value?"true":"false"},isVerticalLayout(){return"top"===this.labelPosition||"hidden"===this.labelPosition}},beforeCreate(){this.uuid=c,c+=1},methods:{toggleFeature(){this.disabled||this.$emit("change",!this.value)}}};const h=u()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"gl-toggle-wrapper gl-mb-0 gl-flex",class:{"gl-flex-col":e.isVerticalLayout,"gl-toggle-label-inline":!e.isVerticalLayout,"is-disabled":e.disabled},attrs:{"data-testid":"toggle-wrapper"}},[n("span",{staticClass:"gl-toggle-label gl-flex-shrink-0",class:e.toggleClasses,attrs:{id:e.labelId,"data-testid":"toggle-label"}},[e._t("label",(function(){return[e._v(e._s(e.label))]}))],2),e._v(" "),e.shouldRenderDescription?n("span",{staticClass:"gl-description-label gl-mb-3",attrs:{"data-testid":"toggle-description"}},[e._t("description",(function(){return[e._v(e._s(e.description))]}))],2):e._e(),e._v(" "),e.name?n("input",{attrs:{name:e.name,type:"hidden"},domProps:{value:e.value}}):e._e(),e._v(" "),n("button",{staticClass:"gl-flex-shrink-0",class:{"gl-toggle":!0,"is-checked":e.value,"is-disabled":e.disabled},attrs:{role:"switch","aria-checked":e.isChecked,"aria-labelledby":e.labelId,"aria-describedby":e.helpId,"aria-disabled":e.disabled,type:"button"},on:{click:function(t){return t.preventDefault(),e.toggleFeature.apply(null,arguments)}}},[e.isLoading?n("gl-loading-icon",{staticClass:"toggle-loading",attrs:{color:"light"}}):n("span",{class:{"toggle-icon":!0,disabled:e.disabled}},[n("gl-icon",{attrs:{name:e.icon,size:16}})],1)],1),e._v(" "),e.shouldRenderHelp?n("span",{staticClass:"gl-help-label",attrs:{id:e.helpId,"data-testid":"toggle-help"}},[e._t("help",(function(){return[e._v(e._s(e.help))]}))],2):e._e()])},staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=h},jl6Z:function(e,t,n){"use strict";var i=n("XBTk"),r=n("Qog8"),a=n("4lAS"),s=n("s1D3"),o=n("MV2A"),l=n("DZUU"),u=n("Pyw5"),c=n.n(u);const d={name:"GlLabel",components:{GlButton:a.a,GlIcon:s.a,GlLink:o.a,GlTooltip:l.a},props:{backgroundColor:{type:String,required:!0,validator:e=>/^(#|rgb|rgba)/.test(e)},title:{type:String,required:!0,default:""},description:{type:String,required:!1,default:""},tooltipPlacement:{type:String,required:!1,default:"top"},target:{type:String,required:!1,default:""},scoped:{type:Boolean,required:!1,default:!1},showCloseButton:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1}},data(){return{splitScopedLabelIndex:this.title.lastIndexOf("::")}},computed:{cssClasses(){const e=Object(r.a)(this.backgroundColor);return{"gl-label-scoped":this.scoped,"gl-label-text-dark":e===i.C.dark,"gl-label-text-light":e===i.C.light}},cssVariables(){return{"--label-background-color":this.backgroundColor,"--label-inset-border":"inset 0 0 0 2px "+this.backgroundColor}},scopedKey(){return this.scoped?this.title.slice(0,this.splitScopedLabelIndex):this.title},scopedValue(){return this.title.slice(this.splitScopedLabelIndex+2)},labelComponent(){return this.target?o.a:"span"},tooltipTarget(){return this.target?this.$refs.labelTitle.$el:this.$refs.labelTitle}},watch:{title(){this.splitScopedLabelIndex=this.title.lastIndexOf("::")}},methods:{onClick(e){this.$emit("click",e)},onClose(e){this.$emit("close",e)}}};const h=c()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",e._b({staticClass:"gl-label",class:e.cssClasses,style:e.cssVariables,on:{click:e.onClick}},"span",e.$attrs,!1),[n(e.labelComponent,{ref:"labelTitle",tag:"component",staticClass:"gl-label-link",class:{"gl-label-link-underline":e.target},attrs:{href:!!e.target&&e.target,tabindex:"0"}},[n("span",{staticClass:"gl-label-text"},[e._v("\n      "+e._s(e.scopedKey)+"\n    ")]),e._v(" "),e.scoped&&e.scopedValue?n("span",{staticClass:"gl-label-text-scoped"},[e._v("\n      "+e._s(e.scopedValue)+"\n    ")]):e._e()]),e._v(" "),e.showCloseButton?n("gl-button",{staticClass:"gl-label-close !gl-p-0",attrs:{category:"tertiary",size:"small",variant:"reset","aria-label":"Remove label",disabled:e.disabled},on:{click:e.onClose}},[n("gl-icon",{attrs:{name:"close-xs",size:12}})],1):e._e(),e._v(" "),e.description?n("gl-tooltip",{attrs:{target:function(){return e.tooltipTarget},placement:e.tooltipPlacement,boundary:"viewport"}},[e.scoped?n("span",{staticClass:"gl-label-tooltip-title"},[e._v("Scoped label")]):e._e(),e._v("\n    "+e._s(e.description)+"\n  ")]):e._e()],1)},staticRenderFns:[]},void 0,d,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=h},jw83:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("9k56"),r=n("gZSI");const a=Object(i.c)({methods:{hasListener(e){if(i.d)return!0;const t=this.$listeners||{},n=this._events||{};return!Object(r.n)(t[e])||Object(r.a)(n[e])&&n[e].length>0}}})},kFdu:function(e,t,n){"use strict";n.r(t);var i=n("mPh/"),r=n("Erny"),a=n("CX32"),s=n("lLWD"),o=n("n7eE"),l=n("9ZrP"),u=n("6ld1"),c=n("ewH8"),d=n("GiFX"),h=n("lRsd"),p=n("NmEs"),f=n("w8i/"),m=n("Q33P"),b=n.n(m),g=(n("v2fZ"),n("UezY"),n("z6RN"),n("hG7+"),n("4lAS")),v=n("SN6w"),y=n("jlnU"),k=n("qPgm"),w=n("7F3p"),S=n("AxUD"),O=n("5v28"),x=n("SNRI"),T=n("qjHl"),_=n("3twG"),j=n("4wgn"),C=n("FxFN"),I=n("jcQM"),D=n("LxhL"),A=n("W4cT"),$=n("/9qn"),N=n("bXWw"),P=n("iM2x"),E=n("FIzW"),R=n.n(E),B=n("/lV4");const q={closed:Object(B.__)("Closed"),merged:Object(B.__)("Merged"),yes:Object(B.__)("Yes"),no:Object(B.__)("No"),errorFetchingBranches:Object(B.__)("Failed to load branches. Please try again."),errorFetchingCounts:Object(B.__)("An error occurred while getting merge request counts"),errorFetchingMergeRequests:Object(B.__)("An error occurred while loading merge requests"),upvotes:Object(B.__)("Upvotes"),downvots:Object(B.__)("Downvotes"),newMergeRequest:Object(B.__)("New merge request")};var V=n("oK7g"),F=n.n(V),L=n("AVGv"),M=n.n(L),H=n("FDgU"),z=n.n(H),G=n("s1D3"),U=n("z1xw"),W={i18n:q,components:{GlIcon:G.a},directives:{GlTooltip:U.a},props:{mergeRequest:{type:Object,required:!0}}},K=n("tBpV"),Y=Object(K.a)(W,(function(){var e=this,t=e._self._c;return t("ul",{staticClass:"gl-contents"},[e.mergeRequest.upvotes?t("li",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-hidden sm:gl-block",attrs:{title:e.$options.i18n.upvotes,"data-testid":"issuable-upvotes"}},[t("gl-icon",{attrs:{name:"thumb-up"}}),e._v("\n    "+e._s(e.mergeRequest.upvotes)+"\n  ")],1):e._e(),e._v(" "),e.mergeRequest.downvotes?t("li",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-hidden sm:gl-block",attrs:{title:e.$options.i18n.downvotes,"data-testid":"issuable-downvotes"}},[t("gl-icon",{attrs:{name:"thumb-down"}}),e._v("\n    "+e._s(e.mergeRequest.downvotes)+"\n  ")],1):e._e()])}),[],!1,null,null,null).exports,Q=n("Bo17"),X=n("XiQx"),J=n("fSQg"),Z=n("XoYy"),ee={components:{GlButton:g.a,GlIcon:G.a,GlDisclosureDropdown:Q.a,GlDisclosureDropdownItem:X.b,GlDisclosureDropdownGroup:J.a,CsvImportExportButtons:Z.a},directives:{GlTooltip:U.a},provide:{showExportButton:!0},inject:["isSignedIn","issuableType","issuableCount","email","exportCsvPath","rssUrl"],data:()=>({isDropdownVisible:!1}),computed:{moreActionsTooltip(){return this.isDropdownVisible?"":this.$options.i18n.toggleText},subscribeToRSSItem(){return{text:this.$options.i18n.subscribeToRSS,href:this.rssUrl}}},methods:{showDropdown(){this.isDropdownVisible=!0},hideDropdown(){this.isDropdownVisible=!1}},i18n:{toggleText:Object(B.__)("Actions"),subscribeToRSS:Object(B.__)("Subscribe to RSS feed")}},te=Object(K.a)(ee,(function(){var e=this,t=e._self._c;return t("gl-disclosure-dropdown",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.top.viewport",value:e.moreActionsTooltip,expression:"moreActionsTooltip",modifiers:{top:!0,viewport:!0}}],attrs:{block:"",placement:"bottom-end"},on:{shown:e.showDropdown,hidden:e.hideDropdown},scopedSlots:e._u([{key:"toggle",fn:function(){return[t("div",{staticClass:"gl-min-h-7"},[t("gl-button",{staticClass:"gl-w-full md:!gl-hidden",attrs:{"button-text-classes":"gl-flex gl-justify-between gl-w-full",category:"secondary","aria-label":e.$options.i18n.toggleText}},[t("span",[e._v(e._s(e.$options.i18n.toggleText))]),e._v(" "),t("gl-icon",{staticClass:"dropdown-chevron",attrs:{name:"chevron-down"}})],1),e._v(" "),t("gl-button",{staticClass:"!gl-hidden md:!gl-flex",attrs:{category:"tertiary",icon:"ellipsis_v","aria-label":e.$options.i18n.toggleText,title:e.$options.i18n.toggleText}})],1)]},proxy:!0}])},[e._v(" "),e.isSignedIn?t("csv-import-export-buttons",{attrs:{"issuable-count":e.issuableCount,"export-csv-path":e.exportCsvPath}}):e._e(),e._v(" "),t("gl-disclosure-dropdown-group",{attrs:{bordered:e.isSignedIn}},[t("gl-disclosure-dropdown-item",{attrs:{item:e.subscribeToRSSItem}})],1)],1)}),[],!1,null,null,null).exports;const ne=function(){return Promise.all([n.e(37),n.e(315)]).then(n.bind(null,"w63v"))},ie=function(){return n.e(1255).then(n.bind(null,"ZFmQ"))},re=function(){return Promise.all([n.e(45),n.e(334)]).then(n.bind(null,"o1cG"))},ae=function(){return Promise.all([n.e(37),n.e(317)]).then(n.bind(null,"4SqF"))},se=function(){return n.e(1254).then(n.bind(null,"VY9P"))};var oe={name:"MergeRequestsListApp",i18n:q,mergeRequestListTabs:D.f,components:{GlButton:g.a,IssuableList:I.a,CiIcon:P.a,MergeRequestStatistics:Y,MergeRequestMoreActionsDropdown:te},inject:["fullPath","hasAnyMergeRequests","hasScopedLabelsFeature","initialSort","isPublicVisibilityRestricted","isSignedIn","newMergeRequestPath","releasesEndpoint"],data:()=>({filterTokens:[],mergeRequests:[],mergeRequestCounts:{},mergeRequestsError:null,pageInfo:{},pageParams:{},sortKey:N.j,state:S.STATUS_OPEN,pageSize:D.a}),apollo:{mergeRequests:{query:F.a,variables(){return this.queryVariables},update(e){var t,n;return null!==(t=null===(n=e.project.mergeRequests)||void 0===n?void 0:n.nodes)&&void 0!==t?t:[]},fetchPolicy:O.c.CACHE_AND_NETWORK,nextFetchPolicy:O.c.CACHE_FIRST,notifyOnNetworkStatusChange:!0,result({data:e}){var t,n;e&&(this.pageInfo=null!==(t=null===(n=e.project.mergeRequests)||void 0===n?void 0:n.pageInfo)&&void 0!==t?t:{})},error(e){this.mergeRequestsError=this.$options.i18n.errorFetchingMergeRequests,w.a(e)},skip(){return!this.hasAnyMergeRequests||b()(this.pageParams)}},mergeRequestCounts:{query:M.a,variables(){return this.queryVariables},update(e){var t;return null!==(t=e.project)&&void 0!==t?t:{}},error(e){this.mergeRequestsError=this.$options.i18n.errorFetchingCounts,w.a(e)},skip(){return!this.hasAnyMergeRequests||b()(this.pageParams)}}},computed:{queryVariables(){return{fullPath:this.fullPath,hideUsers:this.isPublicVisibilityRestricted&&!this.isSignedIn,isSignedIn:this.isSignedIn,sort:this.sortKey,state:this.state,...this.pageParams,...this.apiFilterParams,search:this.searchQuery}},hasSearch(){return Boolean(this.searchQuery||Object.keys(this.urlFilterParams).length||this.pageParams.afterCursor||this.pageParams.beforeCursor)},apiFilterParams(){return Object($.a)(this.filterTokens)},urlFilterParams(){return Object($.c)(this.filterTokens)},searchQuery(){return Object($.b)(this.filterTokens)},searchTokens(){const e=[];return gon.current_user_id&&e.push({id:Object(C.b)(j.D,gon.current_user_id),name:gon.current_user_fullname,username:gon.current_username,avatar_url:gon.current_user_avatar_url}),[{type:A.ab,title:A.B,icon:"user",token:ne,dataType:"user",operators:A.m,fullPath:this.fullPath,isProject:!0,recentSuggestionsStorageKey:this.fullPath+"-merge-requests-recent-tokens-assignee",preloadedUsers:e,multiSelect:!1,unique:!0},{type:A.ub,title:A.S,icon:"user",token:ne,dataType:"user",operators:A.m,fullPath:this.fullPath,isProject:!0,recentSuggestionsStorageKey:this.fullPath+"-merge-requests-recent-tokens-reviewer",preloadedUsers:e,multiSelect:!1,unique:!0},{type:A.bb,title:A.C,icon:"pencil",token:ne,dataType:"user",defaultUsers:[],operators:A.l,fullPath:this.fullPath,isProject:!0,recentSuggestionsStorageKey:this.fullPath+"-merge-requests-recent-tokens-author",preloadedUsers:e,multiselect:!1},{type:A.gb,title:A.H,icon:"pencil-square",token:v.a,operators:A.l,fullPath:this.fullPath,isProject:!0,multiselect:!1,options:[{value:"yes",title:this.$options.i18n.yes},{value:"no",title:this.$options.i18n.no}],unique:!0},{type:A.pb,title:A.N,icon:"milestone",token:re,operators:A.l,recentSuggestionsStorageKey:this.fullPath+"-merge-requests-recent-tokens-milestone",shouldSkipSort:!0,fullPath:this.fullPath,isProject:!0,multiselect:!1,unique:!0},{type:A.yb,title:A.W,icon:"arrow-right",token:ie,operators:A.l,fullPath:this.fullPath,isProject:!0,fetchBranches:this.fetchBranches},{type:A.wb,title:A.U,icon:"branch",token:ie,operators:A.l,fullPath:this.fullPath,isProject:!0,fetchBranches:this.fetchBranches},{type:A.nb,title:A.L,icon:"labels",token:ae,operators:A.m,fetchLabels:this.fetchLabels,recentSuggestionsStorageKey:this.fullPath+"-merge_requests-recent-tokens-label"},{type:A.tb,title:A.R,icon:"rocket",token:se,operators:A.m,releasesEndpoint:this.releasesEndpoint}]},showPaginationControls(){return this.mergeRequests.length>0&&(this.pageInfo.hasNextPage||this.pageInfo.hasPreviousPage)},sortOptions:()=>Object($.i)({hasManualSort:!1}),tabCounts(){const{openedMergeRequests:e,closedMergeRequests:t,mergedMergeRequests:n,allMergeRequests:i}=this.mergeRequestCounts;return{[S.STATUS_OPEN]:null==e?void 0:e.count,[S.STATUS_MERGED]:null==n?void 0:n.count,[S.STATUS_CLOSED]:null==t?void 0:t.count,[S.STATUS_ALL]:null==i?void 0:i.count}},urlParams(){var e,t;return{sort:N.U[this.sortKey],state:this.state,...this.urlFilterParams,first_page_size:this.pageParams.firstPageSize,last_page_size:this.pageParams.lastPageSize,page_after:null!==(e=this.pageParams.afterCursor)&&void 0!==e?e:void 0,page_before:null!==(t=this.pageParams.beforeCursor)&&void 0!==t?t:void 0}},isLoading(){return this.$apollo.queries.mergeRequests.loading&&!this.$apollo.provider.clients.defaultClient.readQuery({query:F.a,variables:this.queryVariables})}},created(){this.updateData(this.initialSort)},methods:{fetchBranches(e){var t=this;return k.b.branches(this.fullPath,e).then((function(e){return e})).catch((function(){Object(y.createAlert)({message:t.$options.i18n.errorFetchingBranches})}))},fetchLabelsWithFetchPolicy(e,t=O.c.CACHE_FIRST){return this.$apollo.query({query:z.a,variables:{fullPath:this.fullPath,search:e},fetchPolicy:t}).then((function({data:e}){return e.project.labels.nodes})).then((function(t){return t.filter((function(t){return t.title.toLowerCase().includes(e.toLowerCase())}))}))},fetchLabels(e){return this.fetchLabelsWithFetchPolicy(e)},getStatus(e){return e.state===S.STATUS_CLOSED?this.$options.i18n.closed:e.state===S.STATUS_MERGED?this.$options.i18n.merged:void 0},handleClickTab(e){this.state!==e&&(this.state=e,this.pageParams=Object($.h)(this.pageSize),this.$router.push({query:this.urlParams}))},handleNextPage(){this.pageParams={afterCursor:this.pageInfo.endCursor,firstPageSize:this.pageSize},Object(T.e)(),this.$router.push({query:this.urlParams})},handlePreviousPage(){this.pageParams={beforeCursor:this.pageInfo.startCursor,lastPageSize:this.pageSize},Object(T.e)(),this.$router.push({query:this.urlParams})},handleFilter(e){this.filterTokens=e,this.pageParams=Object($.h)(this.pageSize),this.$router.push({query:this.urlParams})},handleSort(e){this.sortKey!==e&&(this.sortKey=e,this.pageParams=Object($.h)(this.pageSize),this.isSignedIn&&this.saveSortPreference(e),this.$router.push({query:this.urlParams}))},saveSortPreference(e){this.$apollo.mutate({mutation:R.a,variables:{input:{issuesSort:e}}}).then((function({data:e}){if(e.userPreferencesUpdate.errors.length)throw new Error(e.userPreferencesUpdate.errors)})).catch((function(e){w.a(e)}))},updateData(e){const t=Object(_.r)(N.z),n=Object(_.r)(N.A),i=Object(_.r)(N.E);this.filterTokens=Object($.g)(window.location.search),this.pageParams=Object($.h)(this.pageSize,Object(x.e)(t)?parseInt(t,10):void 0,Object(x.e)(n)?parseInt(n,10):void 0,Object(_.r)(N.B),Object(_.r)(N.C)),this.sortKey=Object($.d)({sort:e,state:i}),this.state=i||S.STATUS_OPEN}}},le=Object(K.a)(oe,(function(){var e=this,t=e._self._c;return e.hasAnyMergeRequests?t("issuable-list",{attrs:{namespace:e.fullPath,"recent-searches-storage-key":"merge_requests","search-tokens":e.searchTokens,"has-scoped-labels-feature":e.hasScopedLabelsFeature,"initial-filter-value":e.filterTokens,"sort-options":e.sortOptions,"initial-sort-by":e.sortKey,issuables:e.mergeRequests,error:e.mergeRequestsError,tabs:e.$options.mergeRequestListTabs,"current-tab":e.state,"tab-counts":e.tabCounts,"issuables-loading":e.isLoading,"show-pagination-controls":e.showPaginationControls,"default-page-size":e.pageSize,"sync-filter-and-sort":"","use-keyset-pagination":"","has-next-page":e.pageInfo.hasNextPage,"has-previous-page":e.pageInfo.hasPreviousPage},on:{"click-tab":e.handleClickTab,"next-page":e.handleNextPage,"previous-page":e.handlePreviousPage,sort:e.handleSort,filter:e.handleFilter},scopedSlots:e._u([{key:"nav-actions",fn:function(){return[t("div",{staticClass:"gl-flex gl-gap-3"},[e.newMergeRequestPath?t("gl-button",{attrs:{variant:"confirm",href:e.newMergeRequestPath,"data-testid":"new-merge-request-button","data-event-tracking":"click_new_merge_request_list"}},[e._v("\n        "+e._s(e.$options.i18n.newMergeRequest)+"\n      ")]):e._e(),e._v(" "),t("merge-request-more-actions-dropdown")],1)]},proxy:!0},{key:"status",fn:function({issuable:t={}}){return[e._v("\n    "+e._s(e.getStatus(t))+"\n  ")]}},{key:"statistics",fn:function({issuable:e={}}){return[t("merge-request-statistics",{attrs:{"merge-request":e}})]}},{key:"pipeline-status",fn:function({issuable:n={}}){return[n.headPipeline&&n.headPipeline.detailedStatus?t("li",{staticClass:"issuable-pipeline-status gl-hidden sm:gl-flex"},[t("ci-icon",{attrs:{status:n.headPipeline.detailedStatus,"use-link":"","show-tooltip":""}})],1):e._e()]}}],null,!1,149082754)}):e._e()}),[],!1,null,null,null).exports;Object(l.initBulkUpdateSidebar)("merge_request_"),Object(i.a)(s.d),s.d.removeTokensForKeys("iteration"),Object(u.a)({page:o.b.MERGE_REQUESTS,filteredSearchTokenKeys:s.d,useDefaultState:!0}),Object(r.addShortcutsExtension)(a.a),Object(l.initIssuableByEmail)(),Object(l.initCsvImportExportButtons)(),async function(){const e=document.querySelector("#js-vue-mr-list-more-actions");if(!e)return null;const{isSignedIn:t,showExportButton:n,issuableType:i,issuableCount:r,email:a,exportCsvPath:s,rssUrl:o}=e.dataset;new c.default({el:e,name:"MergeRequestsListMoreActions",provide:{isSignedIn:Object(p.I)(t),showExportButton:Object(p.I)(n),issuableType:i,issuableCount:Number(r),email:a,exportCsvPath:s,rssUrl:o},render:function(e){return e(te)}})}(),async function(){const e=document.querySelector(".js-merge-request-list-root");if(!e)return null;c.default.use(d.b),c.default.use(h.a);const{fullPath:t,hasAnyMergeRequests:n,hasScopedLabelsFeature:i,initialSort:r,isPublicVisibilityRestricted:a,isSignedIn:s,newMergeRequestPath:o,showExportButton:l,issuableType:u,issuableCount:m,email:b,exportCsvPath:g,rssUrl:v,releasesEndpoint:y}=e.dataset;new c.default({el:e,name:"MergeRequestsListRoot",apolloProvider:new d.b({defaultClient:f.c}),router:new h.a({base:window.location.pathname,mode:"history",routes:[{path:"/"}]}),provide:{fullPath:t,hasAnyMergeRequests:Object(p.I)(n),hasScopedLabelsFeature:Object(p.I)(i),initialSort:r,isPublicVisibilityRestricted:Object(p.I)(a),isSignedIn:Object(p.I)(s),newMergeRequestPath:o,showExportButton:Object(p.I)(l),issuableType:u,issuableCount:Number(m),email:b,exportCsvPath:g,rssUrl:v,releasesEndpoint:y},render:function(e){return e(le)}})}()},lNHW:function(e,t,n){!function(t){"use strict";var n=-1,i={onVisible:function(e){var t=i.isSupported();if(!t||!i.hidden())return e(),t;var n=i.change((function(t,r){i.hidden()||(i.unbind(n),e())}));return n},change:function(e){if(!i.isSupported())return!1;var t=n+=1;return i._callbacks[t]=e,i._listen(),t},unbind:function(e){delete i._callbacks[e]},afterPrerendering:function(e){var t=i.isSupported();if(!t||"prerender"!=i.state())return e(),t;var n=i.change((function(t,r){"prerender"!=r&&(i.unbind(n),e())}));return n},hidden:function(){return!(!i._doc.hidden&&!i._doc.webkitHidden)},state:function(){return i._doc.visibilityState||i._doc.webkitVisibilityState||"visible"},isSupported:function(){return!(!i._doc.visibilityState&&!i._doc.webkitVisibilityState)},_doc:document||{},_callbacks:{},_change:function(e){var t=i.state();for(var n in i._callbacks)i._callbacks[n].call(i._doc,e,t)},_listen:function(){if(!i._init){var e="visibilitychange";i._doc.webkitVisibilityState&&(e="webkit"+e);var t=function(){i._change.apply(i,arguments)};i._doc.addEventListener?i._doc.addEventListener(e,t):i._doc.attachEvent(e,t),i._init=!0}}};e.exports?e.exports=i:t.Visibility=i}(this)},lRsd:function(e,t,n){"use strict";function i(e,t){for(var n in t)e[n]=t[n];return e}n.d(t,"a",(function(){return Ge}));var r=/[!'()*]/g,a=function(e){return"%"+e.charCodeAt(0).toString(16)},s=/%2C/g,o=function(e){return encodeURIComponent(e).replace(r,a).replace(s,",")};function l(e){try{return decodeURIComponent(e)}catch(e){0}return e}var u=function(e){return null==e||"object"==typeof e?e:String(e)};function c(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=l(n.shift()),r=n.length>0?l(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function d(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return o(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(o(t)):i.push(o(t)+"="+o(e)))})),i.join("&")}return o(t)+"="+o(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var h=/\/?$/;function p(e,t,n,i){var r=i&&i.options.stringifyQuery,a=t.query||{};try{a=f(a)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:g(t,r),matched:e?b(e):[]};return n&&(s.redirectedFrom=g(n,r)),Object.freeze(s)}function f(e){if(Array.isArray(e))return e.map(f);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=f(e[n]);return t}return e}var m=p(null,{path:"/"});function b(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function g(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;return void 0===r&&(r=""),(n||"/")+(t||d)(i)+r}function v(e,t,n){return t===m?e===t:!!t&&(e.path&&t.path?e.path.replace(h,"")===t.path.replace(h,"")&&(n||e.hash===t.hash&&y(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&y(e.query,t.query)&&y(e.params,t.params))))}function y(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,r){var a=e[n];if(i[r]!==n)return!1;var s=t[n];return null==a||null==s?a===s:"object"==typeof a&&"object"==typeof s?y(a,s):String(a)===String(s)}))}function k(e){for(var t=0;t<e.matched.length;t++){var n=e.matched[t];for(var i in n.instances){var r=n.instances[i],a=n.enteredCbs[i];if(r&&a){delete n.enteredCbs[i];for(var s=0;s<a.length;s++)r._isBeingDestroyed||a[s](r)}}}}var w={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,a=t.parent,s=t.data;s.routerView=!0;for(var o=a.$createElement,l=n.name,u=a.$route,c=a._routerViewCache||(a._routerViewCache={}),d=0,h=!1;a&&a._routerRoot!==a;){var p=a.$vnode?a.$vnode.data:{};p.routerView&&d++,p.keepAlive&&a._directInactive&&a._inactive&&(h=!0),a=a.$parent}if(s.routerViewDepth=d,h){var f=c[l],m=f&&f.component;return m?(f.configProps&&S(m,s,f.route,f.configProps),o(m,s,r)):o()}var b=u.matched[d],g=b&&b.components[l];if(!b||!g)return c[l]=null,o();c[l]={component:g},s.registerRouteInstance=function(e,t){var n=b.instances[l];(t&&n!==e||!t&&n===e)&&(b.instances[l]=t)},(s.hook||(s.hook={})).prepatch=function(e,t){b.instances[l]=t.componentInstance},s.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==b.instances[l]&&(b.instances[l]=e.componentInstance),k(u)};var v=b.props&&b.props[l];return v&&(i(c[l],{route:u,configProps:v}),S(g,s,u,v)),o(g,s,r)}};function S(e,t,n,r){var a=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(n,r);if(a){a=t.props=i({},a);var s=t.attrs=t.attrs||{};for(var o in a)e.props&&o in e.props||(s[o]=a[o],delete a[o])}}function O(e,t,n){var i=e.charAt(0);if("/"===i)return e;if("?"===i||"#"===i)return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var a=e.replace(/^\//,"").split("/"),s=0;s<a.length;s++){var o=a[s];".."===o?r.pop():"."!==o&&r.push(o)}return""!==r[0]&&r.unshift(""),r.join("/")}function x(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var T=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},_=F,j=$,C=function(e,t){return P($(e,t),t)},I=P,D=V,A=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function $(e,t){for(var n,i=[],r=0,a=0,s="",o=t&&t.delimiter||"/";null!=(n=A.exec(e));){var l=n[0],u=n[1],c=n.index;if(s+=e.slice(a,c),a=c+l.length,u)s+=u[1];else{var d=e[a],h=n[2],p=n[3],f=n[4],m=n[5],b=n[6],g=n[7];s&&(i.push(s),s="");var v=null!=h&&null!=d&&d!==h,y="+"===b||"*"===b,k="?"===b||"*"===b,w=n[2]||o,S=f||m;i.push({name:p||r++,prefix:h||"",delimiter:w,optional:k,repeat:y,partial:v,asterisk:!!g,pattern:S?R(S):g?".*":"[^"+E(w)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&i.push(s),i}function N(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function P(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",q(t)));return function(t,i){for(var r="",a=t||{},s=(i||{}).pretty?N:encodeURIComponent,o=0;o<e.length;o++){var l=e[o];if("string"!=typeof l){var u,c=a[l.name];if(null==c){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(T(c)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(c)+"`");if(0===c.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<c.length;d++){if(u=s(c[d]),!n[o].test(u))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===d?l.prefix:l.delimiter)+u}}else{if(u=l.asterisk?encodeURI(c).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(c),!n[o].test(u))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+u+'"');r+=l.prefix+u}}else r+=l}return r}}function E(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function R(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function B(e,t){return e.keys=t,e}function q(e){return e&&e.sensitive?"":"i"}function V(e,t,n){T(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,r=!1!==n.end,a="",s=0;s<e.length;s++){var o=e[s];if("string"==typeof o)a+=E(o);else{var l=E(o.prefix),u="(?:"+o.pattern+")";t.push(o),o.repeat&&(u+="(?:"+l+u+")*"),a+=u=o.optional?o.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")"}}var c=E(n.delimiter||"/"),d=a.slice(-c.length)===c;return i||(a=(d?a.slice(0,-c.length):a)+"(?:"+c+"(?=$))?"),a+=r?"$":i&&d?"":"(?="+c+"|$)",B(new RegExp("^"+a,q(n)),t)}function F(e,t,n){return T(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return B(e,t)}(e,t):T(e)?function(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(F(e[r],t,n).source);return B(new RegExp("(?:"+i.join("|")+")",q(n)),t)}(e,t,n):function(e,t,n){return V($(e,n),t,n)}(e,t,n)}_.parse=j,_.compile=C,_.tokensToFunction=I,_.tokensToRegExp=D;var L=Object.create(null);function M(e,t,n){t=t||{};try{var i=L[e]||(L[e]=_.compile(e));return"string"==typeof t.pathMatch&&(t[0]=t.pathMatch),i(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function H(e,t,n,r){var a="string"==typeof e?{path:e}:e;if(a._normalized)return a;if(a.name){var s=(a=i({},e)).params;return s&&"object"==typeof s&&(a.params=i({},s)),a}if(!a.path&&a.params&&t){(a=i({},a))._normalized=!0;var o=i(i({},t.params),a.params);if(t.name)a.name=t.name,a.params=o;else if(t.matched.length){var l=t.matched[t.matched.length-1].path;a.path=M(l,o,t.path)}else 0;return a}var d=function(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}(a.path||""),h=t&&t.path||"/",p=d.path?O(d.path,h,n||a.append):h,f=function(e,t,n){void 0===t&&(t={});var i,r=n||c;try{i=r(e||"")}catch(e){i={}}for(var a in t){var s=t[a];i[a]=Array.isArray(s)?s.map(u):u(s)}return i}(d.query,a.query,r&&r.options.parseQuery),m=a.hash||d.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:p,query:f,hash:m}}var z,G=function(){},U={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,a=n.resolve(this.to,r,this.append),s=a.location,o=a.route,l=a.href,u={},c=n.options.linkActiveClass,d=n.options.linkExactActiveClass,f=null==c?"router-link-active":c,m=null==d?"router-link-exact-active":d,b=null==this.activeClass?f:this.activeClass,g=null==this.exactActiveClass?m:this.exactActiveClass,y=o.redirectedFrom?p(null,H(o.redirectedFrom),null,n):o;u[g]=v(r,y,this.exactPath),u[b]=this.exact||this.exactPath?u[g]:function(e,t){return 0===e.path.replace(h,"/").indexOf(t.path.replace(h,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var k=u[g]?this.ariaCurrentValue:null,w=function(e){W(e)&&(t.replace?n.replace(s,G):n.push(s,G))},S={click:W};Array.isArray(this.event)?this.event.forEach((function(e){S[e]=w})):S[this.event]=w;var O={class:u},x=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:o,navigate:w,isActive:u[b],isExactActive:u[g]});if(x){if(1===x.length)return x[0];if(x.length>1||!x.length)return 0===x.length?e():e("span",{},x)}if("a"===this.tag)O.on=S,O.attrs={href:l,"aria-current":k};else{var T=function e(t){var n;if(t)for(var i=0;i<t.length;i++){if("a"===(n=t[i]).tag)return n;if(n.children&&(n=e(n.children)))return n}}(this.$slots.default);if(T){T.isStatic=!1;var _=T.data=i({},T.data);for(var j in _.on=_.on||{},_.on){var C=_.on[j];j in S&&(_.on[j]=Array.isArray(C)?C:[C])}for(var I in S)I in _.on?_.on[I].push(S[I]):_.on[I]=w;var D=T.data.attrs=i({},T.data.attrs);D.href=l,D["aria-current"]=k}else O.on=S}return e(this.tag,O,this.$slots.default)}};function W(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}var K="undefined"!=typeof window;function Y(e,t,n,i,r){var a=t||[],s=n||Object.create(null),o=i||Object.create(null);e.forEach((function(e){!function e(t,n,i,r,a,s){var o=r.path,l=r.name;0;var u=r.pathToRegexpOptions||{},c=function(e,t,n){n||(e=e.replace(/\/$/,""));if("/"===e[0])return e;if(null==t)return e;return x(t.path+"/"+e)}(o,a,u.strict);"boolean"==typeof r.caseSensitive&&(u.sensitive=r.caseSensitive);var d={path:c,regex:Q(c,u),components:r.components||{default:r.component},alias:r.alias?"string"==typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:l,parent:a,matchAs:s,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};r.children&&r.children.forEach((function(r){var a=s?x(s+"/"+r.path):void 0;e(t,n,i,r,d,a)}));n[d.path]||(t.push(d.path),n[d.path]=d);if(void 0!==r.alias)for(var h=Array.isArray(r.alias)?r.alias:[r.alias],p=0;p<h.length;++p){0;var f={path:h[p],children:r.children};e(t,n,i,f,a,d.path||"/")}l&&(i[l]||(i[l]=d))}(a,s,o,e,r)}));for(var l=0,u=a.length;l<u;l++)"*"===a[l]&&(a.push(a.splice(l,1)[0]),u--,l--);return{pathList:a,pathMap:s,nameMap:o}}function Q(e,t){return _(e,[],t)}function X(e,t){var n=Y(e),i=n.pathList,r=n.pathMap,a=n.nameMap;function s(e,n,s){var o=H(e,n,!1,t),u=o.name;if(u){var c=a[u];if(!c)return l(null,o);var d=c.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!=typeof o.params&&(o.params={}),n&&"object"==typeof n.params)for(var h in n.params)!(h in o.params)&&d.indexOf(h)>-1&&(o.params[h]=n.params[h]);return o.path=M(c.path,o.params),l(c,o,s)}if(o.path){o.params={};for(var p=0;p<i.length;p++){var f=i[p],m=r[f];if(J(m.regex,o.path,o.params))return l(m,o,s)}}return l(null,o)}function o(e,n){var i=e.redirect,r="function"==typeof i?i(p(e,n,null,t)):i;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return l(null,n);var o=r,u=o.name,c=o.path,d=n.query,h=n.hash,f=n.params;if(d=o.hasOwnProperty("query")?o.query:d,h=o.hasOwnProperty("hash")?o.hash:h,f=o.hasOwnProperty("params")?o.params:f,u){a[u];return s({_normalized:!0,name:u,query:d,hash:h,params:f},void 0,n)}if(c){var m=function(e,t){return O(e,t.parent?t.parent.path:"/",!0)}(c,e);return s({_normalized:!0,path:M(m,f),query:d,hash:h},void 0,n)}return l(null,n)}function l(e,n,i){return e&&e.redirect?o(e,i||n):e&&e.matchAs?function(e,t,n){var i=s({_normalized:!0,path:M(n,t.params)});if(i){var r=i.matched,a=r[r.length-1];return t.params=i.params,l(a,t)}return l(null,t)}(0,n,e.matchAs):p(e,n,i,t)}return{match:s,addRoute:function(e,t){var n="object"!=typeof e?a[e]:void 0;Y([t||e],i,r,a,n),n&&n.alias.length&&Y(n.alias.map((function(e){return{path:e,children:[t]}})),i,r,a,n)},getRoutes:function(){return i.map((function(e){return r[e]}))},addRoutes:function(e){Y(e,i,r,a)}}}function J(e,t,n){var i=t.match(e);if(!i)return!1;if(!n)return!0;for(var r=1,a=i.length;r<a;++r){var s=e.keys[r-1];s&&(n[s.name||"pathMatch"]="string"==typeof i[r]?l(i[r]):i[r])}return!0}var Z=K&&window.performance&&window.performance.now?window.performance:Date;function ee(){return Z.now().toFixed(3)}var te=ee();function ne(){return te}function ie(e){return te=e}var re=Object.create(null);function ae(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),n=i({},window.history.state);return n.key=ne(),window.history.replaceState(n,"",t),window.addEventListener("popstate",le),function(){window.removeEventListener("popstate",le)}}function se(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$nextTick((function(){var a=function(){var e=ne();if(e)return re[e]}(),s=r.call(e,t,n,i?a:null);s&&("function"==typeof s.then?s.then((function(e){pe(e,a)})).catch((function(e){0})):pe(s,a))}))}}function oe(){var e=ne();e&&(re[e]={x:window.pageXOffset,y:window.pageYOffset})}function le(e){oe(),e.state&&e.state.key&&ie(e.state.key)}function ue(e){return de(e.x)||de(e.y)}function ce(e){return{x:de(e.x)?e.x:window.pageXOffset,y:de(e.y)?e.y:window.pageYOffset}}function de(e){return"number"==typeof e}var he=/^#\d/;function pe(e,t){var n,i="object"==typeof e;if(i&&"string"==typeof e.selector){var r=he.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(r){var a=e.offset&&"object"==typeof e.offset?e.offset:{};t=function(e,t){var n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}(r,a={x:de((n=a).x)?n.x:0,y:de(n.y)?n.y:0})}else ue(e)&&(t=ce(e))}else i&&ue(e)&&(t=ce(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var fe,me=K&&((-1===(fe=window.navigator.userAgent).indexOf("Android 2.")&&-1===fe.indexOf("Android 4.0")||-1===fe.indexOf("Mobile Safari")||-1!==fe.indexOf("Chrome")||-1!==fe.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function be(e,t){oe();var n=window.history;try{if(t){var r=i({},n.state);r.key=ne(),n.replaceState(r,"",e)}else n.pushState({key:ie(ee())},"",e)}catch(n){window.location[t?"replace":"assign"](e)}}function ge(e){be(e,!0)}var ve={redirected:2,aborted:4,cancelled:8,duplicated:16};function ye(e,t){return we(e,t,ve.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Se.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function ke(e,t){return we(e,t,ve.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function we(e,t,n,i){var r=new Error(i);return r._isRouter=!0,r.from=e,r.to=t,r.type=n,r}var Se=["params","query","hash"];function Oe(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function xe(e,t){return Oe(e)&&e._isRouter&&(null==t||e.type===t)}function Te(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}function _e(e){return function(t,n,i){var r=!1,a=0,s=null;je(e,(function(e,t,n,o){if("function"==typeof e&&void 0===e.cid){r=!0,a++;var l,u=De((function(t){var r;((r=t).__esModule||Ie&&"Module"===r[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:z.extend(t),n.components[o]=t,--a<=0&&i()})),c=De((function(e){var t="Failed to resolve async component "+o+": "+e;s||(s=Oe(e)?e:new Error(t),i(s))}));try{l=e(u,c)}catch(e){c(e)}if(l)if("function"==typeof l.then)l.then(u,c);else{var d=l.component;d&&"function"==typeof d.then&&d.then(u,c)}}})),r||i()}}function je(e,t){return Ce(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Ce(e){return Array.prototype.concat.apply([],e)}var Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function De(e){var t=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var Ae=function(e,t){this.router=e,this.base=function(e){if(!e)if(K){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function $e(e,t,n,i){var r=je(e,(function(e,i,r,a){var s=function(e,t){"function"!=typeof e&&(e=z.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map((function(e){return n(e,i,r,a)})):n(s,i,r,a)}));return Ce(i?r.reverse():r)}function Ne(e,t){if(t)return function(){return e.apply(t,arguments)}}Ae.prototype.listen=function(e){this.cb=e},Ae.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Ae.prototype.onError=function(e){this.errorCbs.push(e)},Ae.prototype.transitionTo=function(e,t,n){var i,r=this;try{i=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var a=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.router.afterHooks.forEach((function(e){e&&e(i,a)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(xe(e,ve.redirected)&&a===m||(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)}))))}))},Ae.prototype.confirmTransition=function(e,t,n){var i=this,r=this.current;this.pending=e;var a,s,o=function(e){!xe(e)&&Oe(e)&&(i.errorCbs.length?i.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},l=e.matched.length-1,u=r.matched.length-1;if(v(e,r)&&l===u&&e.matched[l]===r.matched[u])return this.ensureURL(),e.hash&&se(this.router,r,e,!1),o(((s=we(a=r,e,ve.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",s));var c=function(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}(this.current.matched,e.matched),d=c.updated,h=c.deactivated,p=c.activated,f=[].concat(function(e){return $e(e,"beforeRouteLeave",Ne,!0)}(h),this.router.beforeHooks,function(e){return $e(e,"beforeRouteUpdate",Ne)}(d),p.map((function(e){return e.beforeEnter})),_e(p)),m=function(t,n){if(i.pending!==e)return o(ke(r,e));try{t(e,r,(function(t){!1===t?(i.ensureURL(!0),o(function(e,t){return we(e,t,ve.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}(r,e))):Oe(t)?(i.ensureURL(!0),o(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(o(ye(r,e)),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)}))}catch(e){o(e)}};Te(f,m,(function(){Te(function(e){return $e(e,"beforeRouteEnter",(function(e,t,n,i){return function(e,t,n){return function(i,r,a){return e(i,r,(function(e){"function"==typeof e&&(t.enteredCbs[n]||(t.enteredCbs[n]=[]),t.enteredCbs[n].push(e)),a(e)}))}}(e,n,i)}))}(p).concat(i.router.resolveHooks),m,(function(){if(i.pending!==e)return o(ke(r,e));i.pending=null,t(e),i.router.app&&i.router.app.$nextTick((function(){k(e)}))}))}))},Ae.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)},Ae.prototype.setupListeners=function(){},Ae.prototype.teardown=function(){this.listeners.forEach((function(e){e()})),this.listeners=[],this.current=m,this.pending=null};var Pe=function(e){function t(t,n){e.call(this,t,n),this._startLocation=Ee(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=me&&n;i&&this.listeners.push(ae());var r=function(){var n=e.current,r=Ee(e.base);e.current===m&&r===e._startLocation||e.transitionTo(r,(function(e){i&&se(t,e,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){be(x(i.base+e.fullPath)),se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){ge(x(i.base+e.fullPath)),se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(Ee(this.base)!==this.current.fullPath){var t=x(this.base+this.current.fullPath);e?be(t):ge(t)}},t.prototype.getCurrentLocation=function(){return Ee(this.base)},t}(Ae);function Ee(e){var t=window.location.pathname,n=t.toLowerCase(),i=e.toLowerCase();return!e||n!==i&&0!==n.indexOf(x(i+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Re=function(e){function t(t,n,i){e.call(this,t,n),i&&function(e){var t=Ee(e);if(!/^\/#/.test(t))return window.location.replace(x(e+"/#"+t)),!0}(this.base)||Be()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=me&&t;n&&this.listeners.push(ae());var i=function(){var t=e.current;Be()&&e.transitionTo(qe(),(function(i){n&&se(e.router,i,t,!0),me||Le(i.fullPath)}))},r=me?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push((function(){window.removeEventListener(r,i)}))}},t.prototype.push=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){Fe(e.fullPath),se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this.current;this.transitionTo(e,(function(e){Le(e.fullPath),se(i.router,e,r,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;qe()!==t&&(e?Fe(t):Le(t))},t.prototype.getCurrentLocation=function(){return qe()},t}(Ae);function Be(){var e=qe();return"/"===e.charAt(0)||(Le("/"+e),!1)}function qe(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function Ve(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Fe(e){me?be(Ve(e)):window.location.hash=e}function Le(e){me?ge(Ve(e)):window.location.replace(Ve(e))}var Me=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){xe(e,ve.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Ae),He=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=X(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!me&&!1!==e.fallback,this.fallback&&(t="hash"),K||(t="abstract"),this.mode=t,t){case"history":this.history=new Pe(this,e.base);break;case"hash":this.history=new Re(this,e.base,this.fallback);break;case"abstract":this.history=new Me(this,e.base);break;default:0}},ze={currentRoute:{configurable:!0}};He.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},ze.currentRoute.get=function(){return this.history&&this.history.current},He.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof Pe||n instanceof Re){var i=function(e){n.setupListeners(),function(e){var i=n.current,r=t.options.scrollBehavior;me&&r&&"fullPath"in e&&se(t,e,i,!1)}(e)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},He.prototype.beforeEach=function(e){return Ue(this.beforeHooks,e)},He.prototype.beforeResolve=function(e){return Ue(this.resolveHooks,e)},He.prototype.afterEach=function(e){return Ue(this.afterHooks,e)},He.prototype.onReady=function(e,t){this.history.onReady(e,t)},He.prototype.onError=function(e){this.history.onError(e)},He.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n)}));this.history.push(e,t,n)},He.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},He.prototype.go=function(e){this.history.go(e)},He.prototype.back=function(){this.go(-1)},He.prototype.forward=function(){this.go(1)},He.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},He.prototype.resolve=function(e,t,n){var i=H(e,t=t||this.history.current,n,this),r=this.match(i,t),a=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(e,t,n){var i="hash"===n?"#"+t:t;return e?x(e+"/"+i):i}(this.history.base,a,this.mode),normalizedTo:i,resolved:r}},He.prototype.getRoutes=function(){return this.matcher.getRoutes()},He.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},He.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(He.prototype,ze);var Ge=He;function Ue(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}He.install=function e(t){if(!e.installed||z!==t){e.installed=!0,z=t;var n=function(e){return void 0!==e},i=function(e,t){var i=e.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",w),t.component("RouterLink",U);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}},He.version="3.6.5",He.isNavigationFailure=xe,He.NavigationFailureType=ve,He.START_LOCATION=m,K&&window.Vue&&window.Vue.use(He)},lxj7:function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},mFhR:function(e,t,n){"use strict";var i=n("MV2A"),r=n("Pyw5"),a=n.n(r);const s={name:"AvatarLink",components:{GlLink:i.a}};const o=a()({render:function(){var e=this.$createElement;return(this._self._c||e)("gl-link",this._g(this._b({staticClass:"gl-avatar-link"},"gl-link",this.$attrs,!1),this.$listeners),[this._t("default")],2)},staticRenderFns:[]},void 0,s,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=o},mIkX:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("9k56"),r=n("3hkr"),a=n("jIK5"),s=n("hII5"),o=n("g+RJ"),l=n("GeBT"),u=n("aBA8");const c=Object(s.c)({variant:Object(s.b)(a.r)},r.kb),d=Object(i.c)({name:r.kb,mixins:[o.a,l.a,u.a],provide(){return{getBvTableTr:()=>this}},inject:{getBvTableRowGroup:{default:()=>()=>({})}},inheritAttrs:!1,props:c,computed:{bvTableRowGroup(){return this.getBvTableRowGroup()},inTbody(){return this.bvTableRowGroup.isTbody},inThead(){return this.bvTableRowGroup.isThead},inTfoot(){return this.bvTableRowGroup.isTfoot},isDark(){return this.bvTableRowGroup.isDark},isStacked(){return this.bvTableRowGroup.isStacked},isResponsive(){return this.bvTableRowGroup.isResponsive},isStickyHeader(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant(){return this.bvTableRowGroup.tableVariant},headVariant(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses(){const{variant:e}=this;return[e?`${this.isRowDark?"bg":"table"}-${e}`:null]},trAttrs(){return{role:"row",...this.bvAttrs}}},render(e){return e("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}})},oK7g:function(e,t,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getMergeRequests"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hideUsers"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isSignedIn"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},defaultValue:{kind:"BooleanValue",value:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fullPath"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sort"}},type:{kind:"NamedType",name:{kind:"Name",value:"MergeRequestSort"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"state"}},type:{kind:"NamedType",name:{kind:"Name",value:"MergeRequestState"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}},type:{kind:"NamedType",name:{kind:"Name",value:"AssigneeWildcardId"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reviewerUsername"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"reviewerWildcardId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ReviewerWildcardId"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"authorUsername"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"draft"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"labelName"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"releaseTag"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}},type:{kind:"NamedType",name:{kind:"Name",value:"MilestoneWildcardId"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sourceBranches"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"targetBranches"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"not"}},type:{kind:"NamedType",name:{kind:"Name",value:"MergeRequestsResolverNegatedParams"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"beforeCursor"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"afterCursor"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"firstPageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"lastPageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullPath"},value:{kind:"Variable",name:{kind:"Name",value:"fullPath"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mergeRequests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sort"},value:{kind:"Variable",name:{kind:"Name",value:"sort"}}},{kind:"Argument",name:{kind:"Name",value:"state"},value:{kind:"Variable",name:{kind:"Name",value:"state"}}},{kind:"Argument",name:{kind:"Name",value:"assigneeUsername"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeUsernames"}}},{kind:"Argument",name:{kind:"Name",value:"assigneeWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"assigneeWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"reviewerUsername"},value:{kind:"Variable",name:{kind:"Name",value:"reviewerUsername"}}},{kind:"Argument",name:{kind:"Name",value:"reviewerWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"reviewerWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"authorUsername"},value:{kind:"Variable",name:{kind:"Name",value:"authorUsername"}}},{kind:"Argument",name:{kind:"Name",value:"draft"},value:{kind:"Variable",name:{kind:"Name",value:"draft"}}},{kind:"Argument",name:{kind:"Name",value:"labelName"},value:{kind:"Variable",name:{kind:"Name",value:"labelName"}}},{kind:"Argument",name:{kind:"Name",value:"releaseTag"},value:{kind:"Variable",name:{kind:"Name",value:"releaseTag"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneTitle"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneTitle"}}},{kind:"Argument",name:{kind:"Name",value:"milestoneWildcardId"},value:{kind:"Variable",name:{kind:"Name",value:"milestoneWildcardId"}}},{kind:"Argument",name:{kind:"Name",value:"sourceBranches"},value:{kind:"Variable",name:{kind:"Name",value:"sourceBranches"}}},{kind:"Argument",name:{kind:"Name",value:"targetBranches"},value:{kind:"Variable",name:{kind:"Name",value:"targetBranches"}}},{kind:"Argument",name:{kind:"Name",value:"not"},value:{kind:"Variable",name:{kind:"Name",value:"not"}}},{kind:"Argument",name:{kind:"Name",value:"before"},value:{kind:"Variable",name:{kind:"Name",value:"beforeCursor"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"afterCursor"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"firstPageSize"}}},{kind:"Argument",name:{kind:"Name",value:"last"},value:{kind:"Variable",name:{kind:"Name",value:"lastPageSize"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PageInfo"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MergeRequestFragment"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1555}};i.loc.source={body:'#import "~/graphql_shared/fragments/page_info.fragment.graphql"\n#import "./merge_request.fragment.graphql"\n\nquery getMergeRequests(\n  $hideUsers: Boolean = false\n  $isSignedIn: Boolean = false\n  $fullPath: ID!\n  $sort: MergeRequestSort\n  $state: MergeRequestState\n  $assigneeUsernames: String\n  $assigneeWildcardId: AssigneeWildcardId\n  $reviewerUsername: String\n  $reviewerWildcardId: ReviewerWildcardId\n  $authorUsername: String\n  $draft: Boolean\n  $labelName: [String!]\n  $releaseTag: String\n  $milestoneTitle: String\n  $milestoneWildcardId: MilestoneWildcardId\n  $sourceBranches: [String!]\n  $targetBranches: [String!]\n  $not: MergeRequestsResolverNegatedParams\n  $beforeCursor: String\n  $afterCursor: String\n  $firstPageSize: Int\n  $lastPageSize: Int\n) {\n  project(fullPath: $fullPath) {\n    id\n    mergeRequests(\n      sort: $sort\n      state: $state\n      assigneeUsername: $assigneeUsernames\n      assigneeWildcardId: $assigneeWildcardId\n      reviewerUsername: $reviewerUsername\n      reviewerWildcardId: $reviewerWildcardId\n      authorUsername: $authorUsername\n      draft: $draft\n      labelName: $labelName\n      releaseTag: $releaseTag\n      milestoneTitle: $milestoneTitle\n      milestoneWildcardId: $milestoneWildcardId\n      sourceBranches: $sourceBranches\n      targetBranches: $targetBranches\n      not: $not\n      before: $beforeCursor\n      after: $afterCursor\n      first: $firstPageSize\n      last: $lastPageSize\n    ) {\n      pageInfo {\n        ...PageInfo\n      }\n      nodes {\n        ...MergeRequestFragment\n      }\n    }\n  }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function a(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var t=e.name.value;return!r[t]&&(r[t]=!0,!0)}))}i.definitions=i.definitions.concat(a(n("5wtN").definitions)),i.definitions=i.definitions.concat(a(n("vCYd").definitions));var s={};function o(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}i.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),s[e.name.value]=t}})),e.exports=i,e.exports.getMergeRequests=function(e,t){var n={kind:e.kind,definitions:[o(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=s[t]||new Set,r=new Set,a=new Set;for(i.forEach((function(e){a.add(e)}));a.size>0;){var l=a;a=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(s[e]||new Set).forEach((function(e){a.add(e)})))}))}return r.forEach((function(t){var i=o(e,t);i&&n.definitions.push(i)})),n}(i,"getMergeRequests")},onSc:function(e,t,n){"use strict";
/*! 
  * portal-vue © Thorsten Lünborg, 2019 
  * 
  * Version: 2.1.7
  * 
  * LICENCE: MIT 
  * 
  * https://github.com/linusborg/portal-vue
  * 
 */Object.defineProperty(t,"__esModule",{value:!0});var i,r=(i=n("ewH8"))&&"object"==typeof i&&"default"in i?i.default:i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var o="undefined"!=typeof window;function l(e,t){return t.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}var u={},c={},d={},h=new(r.extend({data:function(){return{transports:u,targets:c,sources:d,trackInstances:o}},methods:{open:function(e){if(o){var t=e.to,n=e.from,i=e.passengers,s=e.order,l=void 0===s?1/0:s;if(t&&n&&i){var u,c={to:t,from:n,passengers:(u=i,Array.isArray(u)||"object"===a(u)?Object.freeze(u):u),order:l};-1===Object.keys(this.transports).indexOf(t)&&r.set(this.transports,t,[]);var d,h=this.$_getTransportIndex(c),p=this.transports[t].slice(0);-1===h?p.push(c):p[h]=c,this.transports[t]=(d=function(e,t){return e.order-t.order},p.map((function(e,t){return[t,e]})).sort((function(e,t){return d(e[1],t[1])||e[0]-t[0]})).map((function(e){return e[1]})))}}},close:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.to,i=e.from;if(n&&(i||!1!==t)&&this.transports[n])if(t)this.transports[n]=[];else{var r=this.$_getTransportIndex(e);if(r>=0){var a=this.transports[n].slice(0);a.splice(r,1),this.transports[n]=a}}},registerTarget:function(e,t,n){o&&(this.trackInstances&&!n&&this.targets[e]&&console.warn("[portal-vue]: Target ".concat(e," already exists")),this.$set(this.targets,e,Object.freeze([t])))},unregisterTarget:function(e){this.$delete(this.targets,e)},registerSource:function(e,t,n){o&&(this.trackInstances&&!n&&this.sources[e]&&console.warn("[portal-vue]: source ".concat(e," already exists")),this.$set(this.sources,e,Object.freeze([t])))},unregisterSource:function(e){this.$delete(this.sources,e)},hasTarget:function(e){return!(!this.targets[e]||!this.targets[e][0])},hasSource:function(e){return!(!this.sources[e]||!this.sources[e][0])},hasContentFor:function(e){return!!this.transports[e]&&!!this.transports[e].length},$_getTransportIndex:function(e){var t=e.to,n=e.from;for(var i in this.transports[t])if(this.transports[t][i].from===n)return+i;return-1}}}))(u),p=1,f=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var e=this;this.$nextTick((function(){h.registerSource(e.name,e)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){h.unregisterSource(this.name),this.clear()},watch:{to:function(e,t){t&&t!==e&&this.clear(t),this.sendUpdate()}},methods:{clear:function(e){var t={from:this.name,to:e||this.to};h.close(t)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(e){return"function"==typeof e?e(this.slotProps):e},sendUpdate:function(){var e=this.normalizeSlots();if(e){var t={from:this.name,to:this.to,passengers:s(e),order:this.order};h.open(t)}else this.clear()}},render:function(e){var t=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return t&&this.disabled?t.length<=1&&this.slim?this.normalizeOwnChildren(t)[0]:e(n,[this.normalizeOwnChildren(t)]):this.slim?e():e(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),m=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:h.transports,firstRender:!0}},created:function(){var e=this;this.$nextTick((function(){h.registerTarget(e.name,e)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(e,t){h.unregisterTarget(t),h.registerTarget(e,this)}},mounted:function(){var e=this;this.transition&&this.$nextTick((function(){e.firstRender=!1}))},beforeDestroy:function(){h.unregisterTarget(this.name)},computed:{ownTransports:function(){var e=this.transports[this.name]||[];return this.multiple?e:0===e.length?[]:[e[e.length-1]]},passengers:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce((function(e,n){var i=n.passengers[0],r="function"==typeof i?i(t):n.passengers;return e.concat(r)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var e=this.slim&&!this.transition;return e&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),e}},render:function(e){var t=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return t?n[0]:this.slim&&!i?e():e(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),b=0,g=["disabled","name","order","slim","slotProps","tag","to"],v=["multiple","transition"],y=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(b++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var e=document.querySelector(this.mountTo);if(e){var t=this.$props;if(h.targets[t.name])t.bail?console.warn("[portal-vue]: Target ".concat(t.name," is already mounted.\n        Aborting because 'bail: true' is set")):this.portalTarget=h.targets[t.name];else{var n=t.append;if(n){var i="string"==typeof n?n:"DIV",r=document.createElement(i);e.appendChild(r),e=r}var a=l(this.$props,v);a.slim=this.targetSlim,a.tag=this.targetTag,a.slotProps=this.targetSlotProps,a.name=this.to,this.portalTarget=new m({el:e,parent:this.$parent||this,propsData:a})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var e=this.portalTarget;if(this.append){var t=e.$el;t.parentNode.removeChild(t)}e.$destroy()},render:function(e){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),e();if(!this.$scopedSlots.manual){var t=l(this.$props,g);return e(f,{props:t,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||e()}});var k={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.portalName||"Portal",f),e.component(t.portalTargetName||"PortalTarget",m),e.component(t.MountingPortalName||"MountingPortal",y)}};t.default=k,t.Portal=f,t.PortalTarget=m,t.MountingPortal=y,t.Wormhole=h},pbPB:function(e,t,n){"use strict";var i=n("9k56"),r=n("3hkr"),a=n("Nzdf"),s=n("CU79"),o=n("n6Wd"),l=n("jIK5"),u=n("BBKf"),c=n("QiCN"),d=n("35qI"),h=n("oTzT"),p=n("ZdEn"),f=n("I3xC"),m=n("gZSI"),b=n("C+ps"),g=n("9Dxz"),v=n("i8zK"),y=n("KZ4l"),k=n("VuSA"),w=n("/WMw"),S=n("hII5"),O=n("U29U"),x=n("5TS0"),T=n("aBA8"),_=n("0M2I"),j=n("lgrP");const C=Object(S.c)({align:Object(S.b)(l.r),cardHeader:Object(S.b)(l.g,!1),fill:Object(S.b)(l.g,!1),justified:Object(S.b)(l.g,!1),pills:Object(S.b)(l.g,!1),small:Object(S.b)(l.g,!1),tabs:Object(S.b)(l.g,!1),tag:Object(S.b)(l.r,"ul"),vertical:Object(S.b)(l.g,!1)},r.N),I=Object(i.c)({name:r.N,functional:!0,props:C,render(e,t){let{props:n,data:i,children:r}=t;const{tabs:a,pills:s,vertical:o,align:l,cardHeader:u}=n;return e(n.tag,Object(j.a)(i,{staticClass:"nav",class:{"nav-tabs":a,"nav-pills":s&&!a,"card-header-tabs":!o&&u&&a,"card-header-pills":!o&&u&&s&&!a,"flex-column":o,"nav-fill":!o&&n.fill,"nav-justified":!o&&n.justified,[(c=l,"justify-content-"+(c="left"===c?"start":"right"===c?"end":c))]:!o&&l,small:n.small}}),r);var c}}),{mixin:D,props:A,prop:$,event:N}=Object(v.a)("value",{type:l.k}),P=e=>!e.disabled,E=Object(i.c)({name:r.Z,inject:{getBvTabs:{default:()=>()=>({})}},props:{controls:Object(S.b)(l.r),id:Object(S.b)(l.r),noKeyNav:Object(S.b)(l.g,!1),posInSet:Object(S.b)(l.k),setSize:Object(S.b)(l.k),tab:Object(S.b)(),tabIndex:Object(S.b)(l.k)},computed:{bvTabs(){return this.getBvTabs()}},methods:{focus(){Object(h.d)(this.$refs.link)},handleEvent(e){if(this.tab.disabled)return;const{type:t,keyCode:n,shiftKey:i}=e;"click"===t||"keydown"===t&&n===o.h?(Object(p.f)(e),this.$emit(s.f,e)):"keydown"!==t||this.noKeyNav||(-1!==[o.i,o.f,o.e].indexOf(n)?(Object(p.f)(e),i||n===o.e?this.$emit(s.o,e):this.$emit(s.B,e)):-1!==[o.a,o.g,o.b].indexOf(n)&&(Object(p.f)(e),i||n===o.b?this.$emit(s.v,e):this.$emit(s.y,e)))}},render(e){const{id:t,tabIndex:n,setSize:i,posInSet:r,controls:a,handleEvent:s}=this,{title:o,localActive:l,disabled:c,titleItemClass:d,titleLinkClass:h,titleLinkAttributes:p}=this.tab,f=e(_.a,{staticClass:"nav-link",class:[{active:l&&!c,disabled:c},h,l?this.bvTabs.activeNavItemClass:null],props:{disabled:c},attrs:{...p,id:t,role:"tab",tabindex:n,"aria-selected":l&&!c?"true":"false","aria-setsize":i,"aria-posinset":r,"aria-controls":a},on:{click:s,keydown:s},ref:"link"},[this.tab.normalizeSlot(u.A)||o]);return e("li",{staticClass:"nav-item",class:[d],attrs:{role:"presentation"}},[f])}}),R=Object(k.j)(C,["tabs","isNavBar","cardHeader"]),B=Object(S.c)(Object(k.m)({...x.b,...A,...R,activeNavItemClass:Object(S.b)(l.e),activeTabClass:Object(S.b)(l.e),card:Object(S.b)(l.g,!1),contentClass:Object(S.b)(l.e),end:Object(S.b)(l.g,!1),lazy:Object(S.b)(l.g,!1),navClass:Object(S.b)(l.e),navWrapperClass:Object(S.b)(l.e),noFade:Object(S.b)(l.g,!1),noKeyNav:Object(S.b)(l.g,!1),noNavStyle:Object(S.b)(l.g,!1),tag:Object(S.b)(l.r,"div")}),r.Y),q=Object(i.c)({name:r.Y,mixins:[x.a,D,T.a],provide(){return{getBvTabs:()=>this}},props:B,data(){return{currentTab:Object(y.c)(this[$],-1),tabs:[],registeredTabs:[]}},computed:{fade(){return!this.noFade},localNavClass(){const e=[];return this.card&&this.vertical&&e.push("card-header","h-100","border-bottom-0","rounded-0"),[...e,this.navClass]}},watch:{[$](e,t){if(e!==t){e=Object(y.c)(e,-1),t=Object(y.c)(t,0);const n=this.tabs[e];n&&!n.disabled?this.activateTab(n):e<t?this.previousTab():this.nextTab()}},currentTab(e){let t=-1;this.tabs.forEach((n,i)=>{i!==e||n.disabled?n.localActive=!1:(n.localActive=!0,t=i)}),this.$emit(N,t)},tabs(e,t){Object(b.a)(e.map(e=>e[i.a]),t.map(e=>e[i.a]))||this.$nextTick(()=>{this.$emit(s.e,e.slice(),t.slice())})},registeredTabs(){this.updateTabs()}},created(){this.$_observer=null},mounted(){this.setObserver(!0)},beforeDestroy(){this.setObserver(!1),this.tabs=[]},methods:{registerTab(e){Object(c.a)(this.registeredTabs,e)||this.registeredTabs.push(e)},unregisterTab(e){this.registeredTabs=this.registeredTabs.slice().filter(t=>t!==e)},setObserver(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e){const e=()=>{this.$nextTick(()=>{Object(h.B)(()=>{this.updateTabs()})})};this.$_observer=Object(w.a)(this.$refs.content,e,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs(){const e=this.registeredTabs;let t=[];if(a.g&&e.length>0){const n=e.map(e=>"#"+e.safeId()).join(", ");t=Object(h.D)(n,this.$el).map(e=>e.id).filter(f.a)}return Object(O.a)(e,(e,n)=>t.indexOf(e.safeId())-t.indexOf(n.safeId()))},updateTabs(){const e=this.getTabs();let t=e.indexOf(e.slice().reverse().find(e=>e.localActive&&!e.disabled));if(t<0){const{currentTab:n}=this;n>=e.length?t=e.indexOf(e.slice().reverse().find(P)):e[n]&&!e[n].disabled&&(t=n)}t<0&&(t=e.indexOf(e.find(P))),e.forEach((e,n)=>{e.localActive=n===t}),this.tabs=e,this.currentTab=t},getButtonForTab(e){return(this.$refs.buttons||[]).find(t=>t.tab===e)},updateButton(e){const t=this.getButtonForTab(e);t&&t.$forceUpdate&&t.$forceUpdate()},activateTab(e){const{currentTab:t,tabs:n}=this;let i=!1;if(e){const r=n.indexOf(e);if(r!==t&&r>-1&&!e.disabled){const e=new d.a(s.a,{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(e.type,r,t,e),e.defaultPrevented||(this.currentTab=r,i=!0)}}return i||this[$]===t||this.$emit(N,t),i},deactivateTab(e){return!!e&&this.activateTab(this.tabs.filter(t=>t!==e).find(P))},focusButton(e){this.$nextTick(()=>{Object(h.d)(this.getButtonForTab(e))})},emitTabClick(e,t){Object(m.d)(t)&&e&&e.$emit&&!e.disabled&&e.$emit(s.f,t)},clickTab(e,t){this.activateTab(e),this.emitTabClick(e,t)},firstTab(e){const t=this.tabs.find(P);this.activateTab(t)&&e&&(this.focusButton(t),this.emitTabClick(t,e))},previousTab(e){const t=Object(g.b)(this.currentTab,0),n=this.tabs.slice(0,t).reverse().find(P);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab(e){const t=Object(g.b)(this.currentTab,-1),n=this.tabs.slice(t+1).find(P);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab(e){const t=this.tabs.slice().reverse().find(P);this.activateTab(t)&&e&&(this.focusButton(t),this.emitTabClick(t,e))}},render(e){const{align:t,card:n,end:r,fill:a,firstTab:o,justified:l,lastTab:c,nextTab:d,noKeyNav:h,noNavStyle:p,pills:f,previousTab:m,small:b,tabs:g,vertical:v}=this,y=g.find(e=>e.localActive&&!e.disabled),k=g.find(e=>!e.disabled),w=g.map((t,n)=>{const{safeId:r}=t;let a=null;return h||(a=-1,(t===y||!y&&t===k)&&(a=null)),e(E,{props:{controls:r?r():null,id:t.controlledBy||(r?r("_BV_tab_button_"):null),noKeyNav:h,posInSet:n+1,setSize:g.length,tab:t,tabIndex:a},on:{[s.f]:e=>{this.clickTab(t,e)},[s.o]:o,[s.B]:m,[s.y]:d,[s.v]:c},key:t[i.a]||n,ref:"buttons",[i.b]:!0})});let S=e(I,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:a,justified:l,align:t,tabs:!p&&!f,pills:!p&&f,vertical:v,small:b,cardHeader:n&&!v},ref:"nav"},[this.normalizeSlot(u.y)||e(),w,this.normalizeSlot(u.x)||e()]);S=e("div",{class:[{"card-header":n&&!v&&!r,"card-footer":n&&!v&&r,"col-auto":v},this.navWrapperClass],key:"bv-tabs-nav"},[S]);const O=this.normalizeSlot()||[];let x=e();0===O.length&&(x=e("div",{class:["tab-pane","active",{"card-body":n}],key:"bv-empty-tab"},this.normalizeSlot(u.g)));const T=e("div",{staticClass:"tab-content",class:[{col:v},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[O,x]);return e(this.tag,{staticClass:"tabs",class:{row:v,"no-gutters":v&&n},attrs:{id:this.safeId()}},[r?T:e(),S,r?e():T])}});var V=n("XBTk"),F=n("4lAS"),L=n("Pyw5"),M=n.n(L);const H=e=>Object.keys(e).every(e=>"text"===e||"attributes"===e);const z={name:"GlTabs",components:{BTabs:q,GlButton:F.a},inheritAttrs:!1,props:{actionPrimary:{type:Object,required:!1,default:null,validator:e=>H(e)},actionSecondary:{type:Object,required:!1,default:null,validator:e=>H(e)},actionTertiary:{type:Object,required:!1,default:null,validator:e=>H(e)},contentClass:{type:[String,Array,Object],required:!1,default:null},navClass:{type:[String,Array,Object],required:!1,default:null},justified:{type:Boolean,required:!1,default:!1},syncActiveTabWithQueryParams:{type:Boolean,required:!1,default:!1},queryParamName:{type:String,required:!1,default:"tab"},value:{type:Number,required:!1,default:0}},data:()=>({activeTabIndex:0}),computed:{hasActions(){return[this.actionPrimary,this.actionSecondary,this.actionTertiary].some(Boolean)},listeners(){return{...this.$listeners,input:this.handleInput}}},watch:{value:{handler(e){this.activeTabIndex!==e&&(this.activeTabIndex=e)},immediate:!0}},mounted(){this.syncActiveTabWithQueryParams&&(this.syncActiveTabFromQueryParams(),window.addEventListener("popstate",this.syncActiveTabFromQueryParams)),this.$emit("input",this.activeTabIndex)},destroyed(){window.removeEventListener("popstate",this.syncActiveTabFromQueryParams)},methods:{buttonBinding:(e,t)=>e.attributes?e.attributes:V.I[t],primary(){this.$emit("primary")},secondary(){this.$emit("secondary")},tertiary(){this.$emit("tertiary")},async syncActiveTabFromQueryParams(){await this.$nextTick();const e=this.getQueryParamValue(),t=this.getTabs().findIndex((t,n)=>this.getTabQueryParamValue(n)===e);this.activeTabIndex=-1!==t?t:0},getTabs(){return this.$refs.bTabs.getTabs()},getQueryParamValue(){return new URLSearchParams(window.location.search).get(this.queryParamName)},setQueryParamValueIfNecessary(e){const t=this.getQueryParamValue(),n=this.getTabQueryParamValue(e);if(0===e&&!t||0!==e&&t===n)return;const i=new URLSearchParams(window.location.search);i.set(this.queryParamName,n),window.history.pushState({},"",`${window.location.pathname}?${i.toString()}`)},getTabQueryParamValue(e){const t=this.getTabs()[e];return(null==t?void 0:t.$attrs["query-param-value"])||e.toString()},handleInput(e){this.$emit("input",e),this.activeTabIndex=e,this.syncActiveTabWithQueryParams&&this.setQueryParamValueIfNecessary(e)}}};const G=M()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("b-tabs",e._g(e._b({ref:"bTabs",staticClass:"gl-tabs",attrs:{"no-nav-style":!0,"no-fade":!0,"active-nav-item-class":"gl-tab-nav-item-active","content-class":[e.contentClass,"gl-tab-content"],"nav-class":[e.navClass,"gl-tabs-nav"],justified:e.justified,value:e.activeTabIndex},scopedSlots:e._u([e._l(Object.keys(e.$slots),(function(t){return{key:t,fn:function(){return[e._t(t)]},proxy:!0}})),e.hasActions?{key:"tabs-start",fn:function(){return[n("div",{staticClass:"gl-actions-tabs-start",attrs:{"data-testid":"actions-tabs-start"}},[e.actionPrimary?n("gl-button",e._b({attrs:{"data-testid":"action-primary"},on:{click:e.primary}},"gl-button",e.buttonBinding(e.actionPrimary,"actionPrimary"),!1),[e._v("\n        "+e._s(e.actionPrimary.text)+"\n      ")]):e._e(),e._v(" "),e.actionSecondary?n("gl-button",e._b({attrs:{"data-testid":"action-secondary"},on:{click:e.secondary}},"gl-button",e.buttonBinding(e.actionSecondary,"actionSecondary"),!1),[e._v("\n        "+e._s(e.actionSecondary.text)+"\n      ")]):e._e(),e._v(" "),e.actionTertiary?n("gl-button",e._b({attrs:{"data-testid":"action-tertiary"},on:{click:e.tertiary}},"gl-button",e.buttonBinding(e.actionTertiary,"actionTertiary"),!1),[e._v("\n        "+e._s(e.actionTertiary.text)+"\n      ")]):e._e()],1)]},proxy:!0}:null,e.hasActions?{key:"tabs-end",fn:function(){return[n("div",{staticClass:"gl-actions-tabs-end",attrs:{"data-testid":"actions-tabs-end"}},[e.actionPrimary?n("gl-button",e._b({attrs:{"data-testid":"action-primary"},on:{click:e.primary}},"gl-button",e.buttonBinding(e.actionPrimary,"actionPrimary"),!1),[e._v("\n        "+e._s(e.actionPrimary.text)+"\n      ")]):e._e(),e._v(" "),e.actionSecondary?n("gl-button",e._b({attrs:{"data-testid":"action-secondary"},on:{click:e.secondary}},"gl-button",e.buttonBinding(e.actionSecondary,"actionSecondary"),!1),[e._v("\n        "+e._s(e.actionSecondary.text)+"\n      ")]):e._e(),e._v(" "),e.actionTertiary?n("gl-button",e._b({attrs:{"data-testid":"action-tertiary"},on:{click:e.tertiary}},"gl-button",e.buttonBinding(e.actionTertiary,"actionTertiary"),!1),[e._v("\n        "+e._s(e.actionTertiary.text)+"\n      ")]):e._e()],1)]},proxy:!0}:null],null,!0)},"b-tabs",e.$attrs,!1),e.listeners))},staticRenderFns:[]},void 0,z,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=G},qaCH:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var i=n("o4PY"),r=n.n(i),a=n("tlyx"),s=n("WrwP"),o=n("XBTk"),l=n("V5u/"),u=n("Qog8"),c=n("4lAS"),d=n("s1D3"),h=n("KnFb"),p=n("Pyw5"),f=n.n(p);const m={name:"BaseDropdownDeprecatedWrapper",directives:{Outside:h.a}};var b=f()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{directives:[{name:"outside",rawName:"v-outside",value:function(t){return e.$emit("close",t)},expression:"(event) => $emit('close', event)"}]},[e._t("default")],2)},staticRenderFns:[]},void 0,m,void 0,!1,void 0,!1,void 0,void 0,void 0);const g={name:"BaseDropdownImprovedWrapper",directives:{Outside:h.a}};var v=f()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{directives:[{name:"outside",rawName:"v-outside.click.focusin",value:function(t){return e.$emit("close",t)},expression:"(event) => $emit('close', event)",modifiers:{click:!0,focusin:!0}}]},[e._t("default")],2)},staticRenderFns:[]},void 0,g,void 0,!1,void 0,!1,void 0,void 0,void 0);const y="gl-new-dropdown";const k={name:"BaseDropdown",BASE_DROPDOWN_CLASS:y,components:{GlButton:c.a,GlIcon:d.a,BaseDropdownDeprecatedWrapper:b,BaseDropdownImprovedWrapper:v},props:{toggleText:{type:String,required:!1,default:""},textSrOnly:{type:Boolean,required:!1,default:!1},block:{type:Boolean,required:!1,default:!1},category:{type:String,required:!1,default:o.m.primary,validator:e=>Object.keys(o.m).includes(e)},variant:{type:String,required:!1,default:o.w.default,validator:e=>Object.keys(o.w).includes(e)},size:{type:String,required:!1,default:"medium",validator:e=>Object.keys(o.n).includes(e)},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},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:e=>(["left","center","right"].includes(e)&&Object(u.i)(`GlDisclosureDropdown/GlCollapsibleListbox: "${e}" placement is deprecated.\n            Use ${o.v[e]} instead.`),Object.keys(o.v).includes(e))},ariaHaspopup:{type:[String,Boolean],required:!1,default:!1,validator:e=>["menu","listbox","tree","grid","dialog",!0,!1].includes(e)},toggleId:{type:String,required:!0},ariaLabelledby:{type:String,required:!1,default:null},offset:{type:[Number,Object],required:!1,default:()=>({mainAxis:4})},fluidWidth:{type:Boolean,required:!1,default:!1},positioningStrategy:{type:String,required:!1,default:l.k,validator:e=>[l.k,l.l].includes(e)},improvedHideHeuristics:{type:Boolean,required:!1,default:!1}},data:()=>({openedYet:!1,visible:!1,baseDropdownId:r()("base-dropdown-")}),computed:{wrapperComponent(){return this.improvedHideHeuristics?v:b},hasNoVisibleToggleText(){var e;return!(null!==(e=this.toggleText)&&void 0!==e&&e.length)||this.textSrOnly},isIconOnly(){return Boolean(this.icon&&this.hasNoVisibleToggleText)},isCaretOnly(){return!this.noCaret&&!this.icon&&this.hasNoVisibleToggleText},ariaAttributes(){return{"aria-haspopup":this.ariaHaspopup,"aria-expanded":String(this.visible),"aria-controls":this.baseDropdownId,"aria-labelledby":this.toggleLabelledBy}},toggleButtonClasses(){return[this.toggleClass,{"gl-new-dropdown-toggle":!0,"gl-new-dropdown-icon-only btn-icon":this.isIconOnly,"gl-new-dropdown-toggle-no-caret":this.noCaret,"gl-new-dropdown-caret-only":this.isCaretOnly}]},toggleButtonTextClasses(){return this.block?"gl-w-full":""},toggleLabelledBy(){return this.ariaLabelledby?`${this.ariaLabelledby} ${this.toggleId}`:this.toggleId},isDefaultToggle(){return!this.$scopedSlots.toggle},toggleOptions(){return this.isDefaultToggle?{is:c.a,icon:this.icon,block:this.block,buttonTextClasses:this.toggleButtonTextClasses,category:this.category,variant:this.variant,size:this.size,disabled:this.disabled,loading:this.loading,class:this.toggleButtonClasses,...this.ariaAttributes,listeners:{keydown:e=>this.onKeydown(e),click:e=>this.toggle(e)}}:{is:"div",class:"gl-new-dropdown-custom-toggle",listeners:{keydown:e=>this.onKeydown(e),click:e=>this.toggle(e)}}},toggleListeners(){return this.toggleOptions.listeners},toggleAttributes(){const{listeners:e,is:t,...n}=this.toggleOptions;return n},toggleComponent(){return this.toggleOptions.is},toggleElement(){var e;return this.$refs.toggle.$el||(null===(e=this.$refs.toggle)||void 0===e?void 0:e.firstElementChild)},panelClasses(){return{"!gl-block":this.visible,"!gl-w-31":!this.fluidWidth,"gl-fixed":this.openedYet&&this.isFixed,"gl-absolute":this.openedYet&&!this.isFixed}},isFixed(){return this.positioningStrategy===l.l},floatingUIConfig(){const e=o.v[this.placement],[,t]=e.split("-");return{placement:e,strategy:this.positioningStrategy,middleware:[Object(a.d)(this.offset),Object(a.a)({alignment:t,allowedPlacements:o.u[this.placement]}),Object(a.e)(),Object(a.f)({apply:e=>{var t;let{availableHeight:n,elements:i}=e;const r=i.floating.querySelector("."+l.f);if(!r)return;const a=n-(null!==(t=this.nonScrollableContentHeight)&&void 0!==t?t:0)-4;Object.assign(r.style,{maxHeight:Math.max(a,0)+"px"})}})]}}},watch:{ariaAttributes:{deep:!0,handler(e){this.$scopedSlots.toggle&&Object.keys(e).forEach(t=>{this.toggleElement.setAttribute(t,e[t])})}}},mounted(){this.checkToggleFocusable()},beforeDestroy(){this.stopFloating()},methods:{checkToggleFocusable(){Object(u.g)(this.toggleElement)||Object(u.h)(this.toggleElement)||Object(u.i)("GlDisclosureDropdown/GlCollapsibleListbox: Toggle is missing a 'tabindex' and cannot be focused.\n          Use 'a' or 'button' element instead or make sure to add 'role=\"button\"' along with 'tabindex' otherwise.",this.$el)},async startFloating(){this.calculateNonScrollableAreaHeight(),this.observer=new MutationObserver(this.calculateNonScrollableAreaHeight),this.observer.observe(this.$refs.content,{attributes:!1,childList:!0,subtree:!0}),this.stopAutoUpdate=Object(s.a)(this.toggleElement,this.$refs.content,async()=>{const{x:e,y:t}=await Object(s.b)(this.toggleElement,this.$refs.content,this.floatingUIConfig);this.$refs.content&&Object.assign(this.$refs.content.style,{left:e+"px",top:t+"px"})})},stopFloating(){var e,t;null===(e=this.observer)||void 0===e||e.disconnect(),null===(t=this.stopAutoUpdate)||void 0===t||t.call(this)},async toggle(e){if(e&&this.visible){let t=!1;if(this.$emit(l.e,{originalEvent:e,preventDefault(){t=!0}}),t)return!1}return this.visible=!this.visible,this.visible?(await this.$nextTick(),this.openedYet=!0,this.startFloating(),this.$emit(l.i)):(this.stopFloating(),this.$emit(l.h)),!0},open(){this.visible||this.toggle()},close(e){this.visible&&this.toggle(e)},async closeAndFocus(e){if(!this.visible)return;const t=this.$el.contains(document.activeElement),n=await this.toggle(e);t&&n&&this.focusToggle()},focusToggle(){this.toggleElement.focus()},onKeydown(e){const{code:t,target:{tagName:n}}=e;let i=!0,r=!0;"BUTTON"===n?(i=!1,r=!1):"A"===n&&(i=!1),(t===l.d&&i||t===l.m&&r)&&this.toggle(e),t===l.a&&this.$emit(l.g,e)},calculateNonScrollableAreaHeight(){var e;const t=null===(e=this.$refs.content)||void 0===e?void 0:e.querySelector("."+l.f);if(!t)return;const n=this.$refs.content.getBoundingClientRect(),i=t.getBoundingClientRect();this.nonScrollableContentHeight=n.height-i.height}}};const w=f()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.wrapperComponent,{tag:"component",class:[e.$options.BASE_DROPDOWN_CLASS,{"!gl-block":e.block}],on:{close:e.close}},[n(e.toggleComponent,e._g(e._b({ref:"toggle",tag:"component",attrs:{id:e.toggleId,"data-testid":"base-dropdown-toggle"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),t.preventDefault(),e.close.apply(null,arguments))}}},"component",e.toggleAttributes,!1),e.toggleListeners),[e._t("toggle",(function(){return[n("span",{staticClass:"gl-new-dropdown-button-text",class:{"gl-sr-only":e.textSrOnly}},[e._v("\n        "+e._s(e.toggleText)+"\n      ")]),e._v(" "),e.noCaret?e._e():n("gl-icon",{staticClass:"gl-button-icon gl-new-dropdown-chevron",attrs:{name:"chevron-down"}})]}))],2),e._v(" "),n("div",{ref:"content",staticClass:"gl-new-dropdown-panel",class:e.panelClasses,attrs:{id:e.baseDropdownId,"data-testid":"base-dropdown-menu"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),t.preventDefault(),e.closeAndFocus.apply(null,arguments))}}},[n("div",{staticClass:"gl-new-dropdown-inner"},[e._t("default")],2)])],1)},staticRenderFns:[]},void 0,k,void 0,!1,void 0,!1,void 0,void 0,void 0);t.b=w},qjHl:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return u}));var i=n("EmJ/"),r=n.n(i);const a=function(){return r()(document).height()>r()(window).height()},s=function(){const{scrollHeight:e,scrollTop:t,clientHeight:n}=document.documentElement;return Math.ceil(t+n)>=e},o=function(){return 0===r()(document).scrollTop()},l=function(){const e=r()(document);e.scrollTop(e.height())},u=function(){r()(document).scrollTop(0)}},qxsN:function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+n+"]",r="\\d+",a="[\\u2700-\\u27bf]",s="[a-z\\xdf-\\xf6\\xf8-\\xff]",o="[^\\ud800-\\udfff"+n+r+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:"+s+"|"+o+")",h="(?:"+c+"|"+o+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="[\\ufe0e\\ufe0f]?"+p+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,u].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*"),m="(?:"+[a,l,u].join("|")+")"+f,b=RegExp([c+"?"+s+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[i,c,"$"].join("|")+")",h+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[i,c+d,"$"].join("|")+")",c+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",r,m].join("|"),"g");e.exports=function(e){return e.match(b)||[]}},rRem:function(e,t,n){var i=n("IAil"),r=n("rhmX"),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=r(e))&&e.replace(a,i).replace(s,"")}},sAvI:function(e,t,n){var i=n("90g9"),r=n("+GAp"),a=n("Opi0"),s=n("S9bi"),o=a((function(e){var t=i(e,s);return t.length&&t[0]===e[0]?r(t):[]}));e.exports=o},"sF+2":function(e,t,n){"use strict";var i=n("8Ei6"),r=n.n(i),a=n("9k56"),s=n("3hkr"),o=n("CU79"),l=n("jIK5"),u=n("BBKf"),c=n("VuSA"),d=n("hII5"),h=n("5TS0"),p=n("aBA8"),f=n("QcjV");const m=o.U+"active",b=Object(d.c)(Object(c.m)({...h.b,active:Object(d.b)(l.g,!1),buttonId:Object(d.b)(l.r),disabled:Object(d.b)(l.g,!1),lazy:Object(d.b)(l.g,!1),noBody:Object(d.b)(l.g,!1),tag:Object(d.b)(l.r,"div"),title:Object(d.b)(l.r),titleItemClass:Object(d.b)(l.e),titleLinkAttributes:Object(d.b)(l.n),titleLinkClass:Object(d.b)(l.e)}),s.U),g=Object(a.c)({name:s.U,mixins:[h.a,p.a],inject:{getBvTabs:{default:()=>()=>({})}},props:b,data(){return{localActive:this.active&&!this.disabled}},computed:{bvTabs(){return this.getBvTabs()},_isTab:()=>!0,tabClasses(){const{localActive:e,disabled:t}=this;return[{active:e,disabled:t,"card-body":this.bvTabs.card&&!this.noBody},e?this.bvTabs.activeTabClass:null]},controlledBy(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade(){return!this.bvTabs.fade},computedLazy(){return this.bvTabs.lazy||this.lazy}},watch:{active(e,t){e!==t&&(e?this.activate():this.deactivate()||this.$emit(m,this.localActive))},disabled(e,t){if(e!==t){const{firstTab:t}=this.bvTabs;e&&this.localActive&&t&&(this.localActive=!1,t())}},localActive(e){this.$emit(m,e)}},mounted(){this.registerTab()},updated(){const{updateButton:e}=this.bvTabs;e&&this.hasNormalizedSlot(u.A)&&e(this)},beforeDestroy(){this.unregisterTab()},methods:{registerTab(){const{registerTab:e}=this.bvTabs;e&&e(this)},unregisterTab(){const{unregisterTab:e}=this.bvTabs;e&&e(this)},activate(){const{activateTab:e}=this.bvTabs;return!(!e||this.disabled)&&e(this)},deactivate(){const{deactivateTab:e}=this.bvTabs;return!(!e||!this.localActive)&&e(this)}},render(e){const{localActive:t}=this,n=e(this.tag,{staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",value:t}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":t?"false":"true","aria-labelledby":this.controlledBy||null},ref:"panel"},[t||!this.computedLazy?this.normalizeSlot():e()]);return e(f.a,{props:{mode:"out-in",noFade:this.computedNoFade}},[n])}});var v=n("Pyw5");const y={name:"GlTab",components:{BTab:g},inheritAttrs:!1,props:{titleLinkClass:{type:[String,Array,Object],required:!1,default:""},queryParamValue:{type:String,required:!1,default:null}},computed:{linkClass(){const{titleLinkClass:e}=this;return Array.isArray(e)?[...e,"gl-tab-nav-item"]:r()(e)?{...e,"gl-tab-nav-item":!0}:(e+" gl-tab-nav-item").trim()}}};const k=n.n(v)()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("b-tab",e._g(e._b({attrs:{"title-link-class":e.linkClass,"query-param-value":e.queryParamValue},scopedSlots:e._u([e._l(Object.keys(e.$slots),(function(t){return{key:t,fn:function(){return[e._t(t)]},proxy:!0}}))],null,!0)},"b-tab",e.$attrs,!1),e.$listeners))},staticRenderFns:[]},void 0,y,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=k},sHIo:function(e,t,n){"use strict";t.a=function(){return{inject:{glFeatures:{from:"glFeatures",default:function(){return{}}}}}}},sz4L:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l}));var i=n("9k56"),r=n("jIK5"),a=n("BBKf"),s=n("Xhk9"),o=n("hII5");const l={caption:Object(o.b)(r.r),captionHtml:Object(o.b)(r.r)},u=Object(i.c)({props:l,computed:{captionId(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption(){const{caption:e,captionHtml:t}=this,n=this.$createElement;let i=n();const r=this.hasNormalizedSlot(a.v);return(r||e||t)&&(i=n("caption",{attrs:{id:this.captionId},domProps:r?{}:Object(s.a)(t,e),key:"caption",ref:"caption"},this.normalizeSlot(a.v))),i}}})},tlyx:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return d}));var i=n("Xz+w");function r(e,t,n){let{reference:r,floating:a}=e;const s=Object(i.n)(t),o=Object(i.d)(t),l=Object(i.f)(o),u=Object(i.m)(t),c="y"===s,d=r.x+r.width/2-a.width/2,h=r.y+r.height/2-a.height/2,p=r[l]/2-a[l]/2;let f;switch(u){case"top":f={x:d,y:r.y-a.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:h};break;case"left":f={x:r.x-a.width,y:h};break;default:f={x:r.x,y:r.y}}switch(Object(i.c)(t)){case"start":f[o]-=p*(n&&c?-1:1);break;case"end":f[o]+=p*(n&&c?-1:1)}return f}const a=async(e,t,n)=>{const{placement:i="bottom",strategy:a="absolute",middleware:s=[],platform:o}=n,l=s.filter(Boolean),u=await(null==o.isRTL?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:h}=r(c,i,u),p=i,f={},m=0;for(let n=0;n<l.length;n++){const{name:s,fn:b}=l[n],{x:g,y:v,data:y,reset:k}=await b({x:d,y:h,initialPlacement:i,placement:p,strategy:a,middlewareData:f,rects:c,platform:o,elements:{reference:e,floating:t}});d=null!=g?g:d,h=null!=v?v:h,f={...f,[s]:{...f[s],...y}},k&&m<=50&&(m++,"object"==typeof k&&(k.placement&&(p=k.placement),k.rects&&(c=!0===k.rects?await o.getElementRects({reference:e,floating:t,strategy:a}):k.rects),({x:d,y:h}=r(c,p,u))),n=-1)}return{x:d,y:h,placement:p,strategy:a,middlewareData:f}};async function s(e,t){var n;void 0===t&&(t={});const{x:r,y:a,platform:s,rects:o,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=Object(i.b)(t,e),m=Object(i.l)(f),b=l[p?"floating"===h?"reference":"floating":h],g=Object(i.r)(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(b)))||n?b:b.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),v="floating"===h?{...o.floating,x:r,y:a}:o.reference,y=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l.floating)),k=await(null==s.isElement?void 0:s.isElement(y))&&await(null==s.getScale?void 0:s.getScale(y))||{x:1,y:1},w=Object(i.r)(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:y,strategy:u}):v);return{top:(g.top-w.top+m.top)/k.y,bottom:(w.bottom-g.bottom+m.bottom)/k.y,left:(g.left-w.left+m.left)/k.x,right:(w.right-g.right+m.right)/k.x}}const o=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,a;const{rects:o,middlewareData:l,placement:u,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:f=i.q,autoAlignment:m=!0,...b}=Object(i.b)(e,t),g=void 0!==p||f===i.q?function(e,t,n){return(e?[...n.filter(t=>Object(i.c)(t)===e),...n.filter(t=>Object(i.c)(t)!==e)]:n.filter(e=>Object(i.m)(e)===e)).filter(n=>!e||(Object(i.c)(n)===e||!!t&&Object(i.h)(n)!==n))}(p||null,m,f):f,v=await s(t,b),y=(null==(n=l.autoPlacement)?void 0:n.index)||0,k=g[y];if(null==k)return{};const w=Object(i.e)(k,o,await(null==c.isRTL?void 0:c.isRTL(d.floating)));if(u!==k)return{reset:{placement:g[0]}};const S=[v[Object(i.m)(k)],v[w[0]],v[w[1]]],O=[...(null==(r=l.autoPlacement)?void 0:r.overflows)||[],{placement:k,overflows:S}],x=g[y+1];if(x)return{data:{index:y+1,overflows:O},reset:{placement:x}};const T=O.map(e=>{const t=Object(i.c)(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),_=(null==(a=T.filter(e=>e[2].slice(0,Object(i.c)(e[0])?2:3).every(e=>e<=0))[0])?void 0:a[0])||T[0][0];return _!==u?{data:{index:y+1,overflows:O},reset:{placement:_}}:{}}}},l=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:l,initialPlacement:u,platform:c,elements:d}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...v}=Object(i.b)(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const y=Object(i.m)(a),k=Object(i.m)(u)===u,w=await(null==c.isRTL?void 0:c.isRTL(d.floating)),S=f||(k||!g?[Object(i.k)(u)]:Object(i.g)(u));f||"none"===b||S.push(...Object(i.j)(u,g,b,w));const O=[u,...S],x=await s(t,v),T=[];let _=(null==(r=o.flip)?void 0:r.overflows)||[];if(h&&T.push(x[y]),p){const e=Object(i.e)(a,l,w);T.push(x[e[0]],x[e[1]])}if(_=[..._,{placement:a,overflows:T}],!T.every(e=>e<=0)){var j,C;const e=((null==(j=o.flip)?void 0:j.index)||0)+1,t=O[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(C=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!n)switch(m){case"bestFit":{var I;const e=null==(I=_.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:I[0];e&&(n=e);break}case"initialPlacement":n=u}if(a!==n)return{reset:{placement:n}}}return{}}}};const u=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:o,middlewareData:l}=t,u=await async function(e,t){const{placement:n,platform:r,elements:a}=e,s=await(null==r.isRTL?void 0:r.isRTL(a.floating)),o=Object(i.m)(n),l=Object(i.c)(n),u="y"===Object(i.n)(n),c=["left","top"].includes(o)?-1:1,d=s&&u?-1:1,h=Object(i.b)(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&"number"==typeof m&&(f="end"===l?-1*m:m),u?{x:f*d,y:p*c}:{x:p*c,y:f*d}}(t,e);return o===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:a+u.x,y:s+u.y,data:{...u,placement:o}}}}},c=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Object(i.b)(e,t),d={x:n,y:r},h=await s(t,c),p=Object(i.n)(Object(i.m)(a)),f=Object(i.i)(p);let m=d[f],b=d[p];if(o){const e="y"===f?"bottom":"right",t=m+h["y"===f?"top":"left"],n=m-h[e];m=Object(i.a)(t,m,n)}if(l){const e="y"===p?"bottom":"right",t=b+h["y"===p?"top":"left"],n=b-h[e];b=Object(i.a)(t,b,n)}const g=u.fn({...t,[f]:m,[p]:b});return{...g,data:{x:g.x-n,y:g.y-r}}}}},d=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:a,elements:o}=t,{apply:l=(()=>{}),...u}=Object(i.b)(e,t),c=await s(t,u),d=Object(i.m)(n),h=Object(i.c)(n),p="y"===Object(i.n)(n),{width:f,height:m}=r.floating;let b,g;"top"===d||"bottom"===d?(b=d,g=h===(await(null==a.isRTL?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(g=d,b="end"===h?"top":"bottom");const v=m-c[b],y=f-c[g],k=!t.middlewareData.shift;let w=v,S=y;if(p){const e=f-c.left-c.right;S=h||k?Object(i.p)(y,e):e}else{const e=m-c.top-c.bottom;w=h||k?Object(i.p)(v,e):e}if(k&&!h){const e=Object(i.o)(c.left,0),t=Object(i.o)(c.right,0),n=Object(i.o)(c.top,0),r=Object(i.o)(c.bottom,0);p?S=f-2*(0!==e||0!==t?e+t:Object(i.o)(c.left,c.right)):w=m-2*(0!==n||0!==r?n+r:Object(i.o)(c.top,c.bottom))}await l({...t,availableWidth:S,availableHeight:w});const O=await a.getDimensions(o.floating);return f!==O.width||m!==O.height?{reset:{rects:!0}}:{}}}}},uHqx:function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},udiD:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var i=n("yWhq"),r=n("ewH8");r.default.use(i.a);const a=new r.default;function s(...e){return a.$toast.show(...e)}},usgv:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var i=n("9k56"),r=n("jIK5"),a=n("I3xC"),s=n("gZSI"),o=n("hII5"),l=n("idLb"),u=n("TnX6"),c=n("g+RJ");const d={bordered:Object(o.b)(r.g,!1),borderless:Object(o.b)(r.g,!1),captionTop:Object(o.b)(r.g,!1),dark:Object(o.b)(r.g,!1),fixed:Object(o.b)(r.g,!1),hover:Object(o.b)(r.g,!1),noBorderCollapse:Object(o.b)(r.g,!1),outlined:Object(o.b)(r.g,!1),responsive:Object(o.b)(r.i,!1),small:Object(o.b)(r.g,!1),stickyHeader:Object(o.b)(r.i,!1),striped:Object(o.b)(r.g,!1),tableClass:Object(o.b)(r.e),tableVariant:Object(o.b)(r.r)},h=Object(i.c)({mixins:[c.a],provide(){return{getBvTable:()=>this}},inheritAttrs:!1,props:d,computed:{isTableSimple:()=>!1,isResponsive(){const{responsive:e}=this;return""===e||e},isStickyHeader(){let{stickyHeader:e}=this;return e=""===e||e,!this.isStacked&&e},wrapperClasses(){const{isResponsive:e}=this;return[this.isStickyHeader?"b-table-sticky-header":"",!0===e?"table-responsive":e?"table-responsive-"+this.responsive:""].filter(a.a)},wrapperStyles(){const{isStickyHeader:e}=this;return e&&!Object(s.b)(e)?{maxHeight:e}:{}},tableClasses(){let{hover:e,tableVariant:t,selectableTableClasses:n,stackedTableClasses:i,tableClass:r,computedBusy:a}=Object(l.a)(this);return e=this.isTableSimple?e:e&&this.computedItems.length>0&&!a,[r,{"table-striped":this.striped,"table-hover":e,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},t?`${this.dark?"bg":"table"}-${t}`:"",i,n]},tableAttrs(){const{computedItems:e,filteredItems:t,computedFields:n,selectableTableAttrs:i,computedBusy:r}=Object(l.a)(this),a=this.isTableSimple?{}:{"aria-busy":Object(u.f)(r),"aria-colcount":Object(u.f)(n.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return{"aria-rowcount":e&&t&&t.length>e.length?Object(u.f)(t.length):null,...this.bvAttrs,id:this.safeId(),role:this.bvAttrs.role||"table",...a,...i}}},render(e){const{wrapperClasses:t,renderCaption:n,renderColgroup:i,renderThead:r,renderTbody:s,renderTfoot:o}=Object(l.a)(this),u=[];this.isTableSimple?u.push(this.normalizeSlot()):(u.push(n?n():null),u.push(i?i():null),u.push(r?r():null),u.push(s?s():null),u.push(o?o():null));const c=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},u.filter(a.a));return t.length>0?e("div",{class:t,style:this.wrapperStyles,key:"wrap"},[c]):c}})},vCYd:function(e,t,n){var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"MergeRequestFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"MergeRequest"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"downvotes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"upvotes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userDiscussionsCount"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"isSignedIn"}}}]}]},{kind:"Field",name:{kind:"Name",value:"webUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"assignees"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hideUsers"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"User"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hideUsers"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"User"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"labels"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"milestone"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webPath"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"headPipeline"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detailedStatus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detailsPath"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:623}};i.loc.source={body:'#import "~/graphql_shared/fragments/user.fragment.graphql"\n\nfragment MergeRequestFragment on MergeRequest {\n  id\n  iid\n  createdAt\n  downvotes\n  state\n  title\n  updatedAt\n  upvotes\n  userDiscussionsCount @include(if: $isSignedIn)\n  webUrl\n  assignees @skip(if: $hideUsers) {\n    nodes {\n      ...User\n    }\n  }\n  author @skip(if: $hideUsers) {\n    ...User\n  }\n  labels {\n    nodes {\n      id\n      color\n      title\n      description\n    }\n  }\n  milestone {\n    id\n    dueDate\n    startDate\n    webPath\n    title\n  }\n  headPipeline {\n    id\n    detailedStatus {\n      id\n      icon\n      text\n      detailsPath\n    }\n  }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};i.definitions=i.definitions.concat(n("aBoS").definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var t=e.name.value;return!r[t]&&(r[t]=!0,!0)})));var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}i.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),a[e.name.value]=t}})),e.exports=i,e.exports.MergeRequestFragment=function(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;for(i.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(a[e]||new Set).forEach((function(e){o.add(e)})))}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(i,"MergeRequestFragment")},vDPP:function(e,t,n){"use strict";var i=n("9k56"),r=n("lgrP"),a=n("3hkr"),s=n("jIK5"),o=n("VuSA"),l=n("hII5"),u=n("Njyp");const c=Object(l.c)(Object(o.m)({...u.b,disabled:Object(l.b)(s.g,!1),formClass:Object(l.b)(s.e)}),a.m),d=Object(i.c)({name:a.m,functional:!0,props:c,render(e,t){let{props:n,data:i,listeners:a,children:s}=t;return e("li",Object(r.a)(Object(o.j)(i,["attrs","on"]),{attrs:{role:"presentation"}}),[e(u.a,{staticClass:"b-dropdown-form",class:[n.formClass,{disabled:n.disabled}],props:n,attrs:{...i.attrs||{},disabled:n.disabled,tabindex:n.disabled?null:"-1"},on:a,ref:"form"},s)])}});var h=n("Pyw5");const p={name:"GlDropdownForm",components:{BDropdownForm:d},inheritAttrs:!1};const f=n.n(h)()({render:function(){var e=this.$createElement;return(this._self._c||e)("b-dropdown-form",this._g(this._b({attrs:{"form-class":"gl-p-0"}},"b-dropdown-form",this.$attrs,!1),this.$listeners),[this._t("default")],2)},staticRenderFns:[]},void 0,p,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=f},"vZ/O":function(e,t,n){"use strict";var i=n("lx39"),r=n.n(i),a=n("+XPY"),s=n.n(a),o=n("XBTk"),l=n("HnlB"),u=n("4lAS"),c=n("PrLL"),d=n("s1D3"),h=n("Pyw5"),p=n.n(h);const f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return("0"+e).slice(-t)};const m={name:"GlDatepicker",components:{GlFormInput:c.a,GlIcon:d.a,GlButton:u.a},props:{target:{type:String,required:!1,default:""},container:{type:String,required:!1,default:""},value:{type:Date,required:!1,default:null},minDate:{type:Date,required:!1,default:null},maxDate:{type:Date,required:!1,default:null},startRange:{type:Date,required:!1,default:null},endRange:{type:Date,required:!1,default:null},disableDayFn:{type:Function,required:!1,default:null},firstDay:{type:Number,required:!1,default:0},ariaLabel:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:o.s},autocomplete:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},displayField:{type:Boolean,required:!1,default:!0},startOpened:{type:Boolean,required:!1,default:!1},defaultDate:{type:Date,required:!1,default:null},i18n:{type:Object,required:!1,default:null},theme:{type:String,required:!1,default:""},showClearButton:{type:Boolean,required:!1,default:!1},inputId:{type:String,required:!1,default:null},inputLabel:{type:String,required:!1,default:"Enter date"},inputName:{type:String,required:!1,default:null},width:{type:String,required:!1,default:null,validator:e=>Object.keys(o.r).includes(e)},state:{type:Boolean,required:!1,default:null}},data:()=>({textInput:""}),computed:{formattedDate(){return"calendar"in this?this.calendar.toString():""},customTrigger(){return r()(this.target)&&""!==this.target},triggerOnFocus(){return null===this.target},showDefaultField(){return!this.customTrigger||this.triggerOnFocus},renderClearButton(){return this.showClearButton&&""!==this.textInput&&!this.disabled},inputAutocomplete(){return""!==this.autocomplete?this.autocomplete:this.triggerOnFocus?"off":null},datepickerClasses(){return["gl-datepicker","d-inline-block","gl-w-full","gl-form-input-"+this.computedWidth]},computedWidth(){return this.width?this.width:"md"}},watch:{value(e){Object(l.a)(e,this.calendar.getDate())||this.calendar.setDate(e,!0)},minDate(e){this.calendar.setMinDate(e)},maxDate(e){this.calendar.setMaxDate(e)},startRange(e){this.calendar.setStartRange(e)},endRange(e){this.calendar.setEndRange(e)}},mounted(){const e=this.$parent.$el,t=this.draw.bind(this),n={field:this.$el.querySelector('input[type="text"]'),theme:"gl-datepicker-theme position-absolute "+this.theme,defaultDate:this.defaultDate||this.value,setDefaultDate:Boolean(this.value)||Boolean(this.defaultDate),minDate:this.minDate,maxDate:this.maxDate,format:o.s,parse:e=>{const t=Date.parse(e.replace(/-/g,"/"));return Number.isNaN(t)?new Date:new Date(t)},disableDayFn:this.disableDayFn,firstDay:this.firstDay,ariaLabel:this.ariaLabel,toString:e=>(e=>{const t=f(e.getDate()),n=f(e.getMonth()+1);return`${e.getFullYear()}-${n}-${t}`})(e),onSelect:this.selected.bind(this),onClose:this.closed.bind(this),onOpen:this.opened.bind(this),onDraw:e=>{(e=>{const t=e.el.querySelectorAll(".pika-button"),n=new Date;t.forEach(e=>{const{pikaYear:t,pikaMonth:i,pikaDay:r}=e.dataset,a=new Date(t,i,r);var s,o;o=a,(s=n)&&o&&o.getTime()<s.getTime()&&e.classList.add("is-past-date")})})(e),t()}};if(!this.triggerOnFocus&&!this.disabled){const t=this.customTrigger?e.querySelector(this.target):this.$refs.calendarTriggerBtn.$el;n.trigger=t,!n.field&&this.customTrigger&&(n.field=t)}if(null!==this.container){const t=this.container?e.querySelector(this.container):this.$el;n.container=t}this.i18n&&(n.i18n=this.i18n),this.calendar=new s.a(n),this.startOpened&&this.calendar.show()},beforeDestroy(){this.calendar.destroy()},methods:{show(){this.calendar.show()},selected(e){this.$emit("input",e)},closed(){this.$emit("close")},opened(){this.$emit("open")},cleared(){this.textInput="",this.$emit("clear")},draw(){this.$emit("monthChange")},onKeydown(){if(""===this.textInput){const e=this.minDate||null;this.calendar.setDate(e),this.selected(e)}}}};const b=p()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.datepickerClasses},[e.showDefaultField?n("div",{staticClass:"gl-align-items-start gl-flex gl-gap-3"},[n("div",{staticClass:"gl-relative gl-flex gl-grow"},[e._t("default",(function(){return[n("gl-form-input",{class:e.renderClearButton?"!gl-pr-9":"!gl-pr-7",attrs:{id:e.inputId,name:e.inputName,"data-testid":"gl-datepicker-input",value:e.formattedDate,placeholder:e.placeholder,autocomplete:e.inputAutocomplete,disabled:e.disabled,"aria-label":e.inputLabel,state:e.state},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onKeydown.apply(null,arguments)}},model:{value:e.textInput,callback:function(t){e.textInput=t},expression:"textInput"}})]}),{formattedDate:e.formattedDate}),e._v(" "),n("div",{staticClass:"gl-datepicker-actions"},[e.renderClearButton?n("gl-button",{staticClass:"gl-pointer-events-auto",attrs:{"data-testid":"clear-button","aria-label":"Clear date",category:"tertiary",size:"small",icon:"clear"},on:{click:e.cleared}}):e._e(),e._v(" "),e.triggerOnFocus||e.disabled?n("span",{staticClass:"gl-px-2",class:e.disabled?"gl-text-gray-400":"gl-text-gray-500",attrs:{"data-testid":"datepicker-calendar-icon"}},[n("gl-icon",{staticClass:"gl-block",attrs:{name:"calendar",size:16}})],1):n("gl-button",{ref:"calendarTriggerBtn",staticClass:"gl-pointer-events-auto",attrs:{"aria-label":"Open datepicker",category:"tertiary",size:"small",icon:"calendar"}})],1)],2),e._v(" "),e._t("after")],2):e._t("default",null,{formattedDate:e.formattedDate})],2)},staticRenderFns:[]},void 0,m,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=b},wCL9:function(e,t,n){var i=n("DbBu")((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=i},wQDE:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var i=n("O6Bj");n("U6io");const r=function(){return!window.gon.keyboard_shortcuts_enabled};function a(){localStorage.setItem("shortcutsDisabled",!0),i.b.pause()}},waGw:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("KFC0"),r=n.n(i);let a=null;const s=(e,t)=>{if(!r()(t))throw TypeError("directive value must be a function");a||(a=new ResizeObserver(e=>{e.forEach(e=>{e.target.glResizeHandler(e)})})),e.glResizeHandler=t,a.observe(e)},o=e=>{var t;e.glResizeHandler&&(delete e.glResizeHandler,null===(t=a)||void 0===t||t.unobserve(e))},l={bind(e,t){let{value:n,arg:i=!0}=t;i&&s(e,n)},update(e,t){let{value:n,arg:i=!0}=t;i?s(e,n):o(e)},unbind:o}},xkEJ:function(e,t,n){"use strict";var i=n("9k56"),r=n("3hkr"),a=n("VuSA"),s=n("hII5"),o=n("g+RJ"),l=n("jw83"),u=n("5TS0"),c=n("aBA8"),d=n("sz4L"),h=n("SGlG"),p=n("9ZSa"),f=n("8DVS"),m=n("usgv"),b=n("awnp"),g=n("BAFT"),v=n("SnPb");const y=Object(s.c)(Object(a.m)({...u.b,...d.b,...h.b,...p.b,...f.a,...m.a,...b.a,...g.a,...v.a}),r.X),k=Object(i.c)({name:r.X,mixins:[o.a,l.a,u.a,c.a,p.a,m.b,f.b,v.b,g.b,b.b,d.a,h.a],props:y});var w=n("Pyw5"),S=n.n(w);const{tableClass:O}=k.options.props;const x={name:"GlTableLite",components:{BTableLite:k},inheritAttrs:!1,props:{tableClass:O,fields:{type:Array,required:!1,default:null},stickyHeader:{type:Boolean,default:!1,required:!1}},computed:{stickyHeaderClass(){return this.stickyHeader?"gl-table--sticky-header":null},localTableClass(){return["gl-table",this.tableClass,this.stickyHeaderClass]}}};const T=S()({render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("b-table-lite",e._g(e._b({attrs:{"table-class":e.localTableClass,fields:e.fields},scopedSlots:e._u([e._l(Object.keys(e.$scopedSlots),(function(t){return{key:t,fn:function(n){return[e._t(t,null,null,n)]}}}))],null,!0)},"b-table-lite",e.$attrs,!1),e.$listeners))},staticRenderFns:[]},void 0,x,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=T},yWhq:function(e,t,n){"use strict";var i=n("KFC0"),r=n.n(i),a=n("3hkr"),s=n("CU79"),o=n("4z8A"),l=n("QiCN"),u=n("ou5p"),c=n("oTzT"),d=n("ZdEn"),h=n("gZSI"),p=n("VuSA"),f=n("d7r4"),m=n("ojJK"),b=n("DCOC"),g=n("J6+d"),v=n("onSc"),y=n("9k56"),k=n("jIK5"),w=n("BBKf"),S=n("35qI"),O=n("9Dxz"),x=n("i8zK"),T=n("KZ4l"),_=n("hII5"),j=n("DlAA"),C=n("g+RJ"),I=n("5TS0"),D=n("qO70"),A=n("aBA8"),$=n("CKxR"),N=n("eWJX"),P=n("0M2I"),E=n("QcjV");const R=Object(y.c)({mixins:[A.a],data:()=>({name:"b-toaster"}),methods:{onAfterEnter(e){Object(c.B)(()=>{Object(c.y)(e,this.name+"-enter-to")})}},render(e){return e("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),B=Object(_.c)({ariaAtomic:Object(_.b)(k.r),ariaLive:Object(_.b)(k.r),name:Object(_.b)(k.r,void 0,!0),role:Object(_.b)(k.r)},a.fb),q=Object(y.c)({name:a.fb,mixins:[D.a],props:B,data(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount(){const{name:e}=this;this.staticName=e,v.Wormhole.hasTarget(e)?(Object(m.a)(`A "<portal-target>" with name "${e}" already exists in the document.`,a.fb),this.dead=!0):this.doRender=!0},beforeDestroy(){this.doRender&&this.emitOnRoot(Object(d.e)(a.fb,s.i),this.name)},destroyed(){const{$el:e}=this;e&&e.parentNode&&e.parentNode.removeChild(e)},render(e){let t=e("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){const n=e(v.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:R}});t=e("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return t}}),{mixin:V,props:F,prop:L,event:M}=Object(x.a)("visible",{type:k.g,defaultValue:!1,event:s.d}),H=Object(p.k)(P.b,["href","to"]),z=Object(_.c)(Object(p.m)({...I.b,...F,...H,appendToast:Object(_.b)(k.g,!1),autoHideDelay:Object(_.b)(k.m,5e3),bodyClass:Object(_.b)(k.e),headerClass:Object(_.b)(k.e),headerTag:Object(_.b)(k.r,"header"),isStatus:Object(_.b)(k.g,!1),noAutoHide:Object(_.b)(k.g,!1),noCloseButton:Object(_.b)(k.g,!1),noFade:Object(_.b)(k.g,!1),noHoverPause:Object(_.b)(k.g,!1),solid:Object(_.b)(k.g,!1),static:Object(_.b)(k.g,!1),title:Object(_.b)(k.r),toastClass:Object(_.b)(k.e),toaster:Object(_.b)(k.r,"b-toaster-top-right"),variant:Object(_.b)(k.r)}),a.eb),G=Object(y.c)({name:a.eb,mixins:[C.a,I.a,V,D.a,A.a,$.a],inheritAttrs:!1,props:z,data:()=>({isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,dismissStarted:0,resumeDismiss:0}),computed:{toastClasses(){const{appendToast:e,variant:t}=this;return{"b-toast-solid":this.solid,"b-toast-append":e,"b-toast-prepend":!e,["b-toast-"+t]:t}},slotScope(){const{hide:e}=this;return{hide:e}},computedDuration(){return Object(O.b)(Object(T.c)(this.autoHideDelay,0),1e3)},computedToaster(){return String(this.toaster)},transitionHandlers(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs(){return{...this.bvAttrs,id:this.safeId(),tabindex:"0"}}},watch:{[L](e){this[e?"show":"hide"]()},localShow(e){e!==this[L]&&this.$emit(M,e)},toaster(){this.$nextTick(this.ensureToaster)},static(e){e&&this.localShow&&this.ensureToaster()}},created(){this.$_dismissTimer=null},mounted(){this.isMounted=!0,this.$nextTick(()=>{this[L]&&Object(c.B)(()=>{this.show()})}),this.listenOnRoot(Object(d.d)(a.eb,s.L),e=>{e===this.safeId()&&this.show()}),this.listenOnRoot(Object(d.d)(a.eb,s.t),e=>{e&&e!==this.safeId()||this.hide()}),this.listenOnRoot(Object(d.e)(a.fb,s.i),e=>{e===this.computedToaster&&this.hide()})},beforeDestroy(){this.clearDismissTimer()},methods:{show(){if(!this.localShow){this.ensureToaster();const e=this.buildEvent(s.L);this.emitEvent(e),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick(()=>{Object(c.B)(()=>{this.localShow=!0})})}},hide(){if(this.localShow){const e=this.buildEvent(s.t);this.emitEvent(e),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,Object(c.B)(()=>{this.localShow=!1})}},buildEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new S.a(e,{cancelable:!1,target:this.$el||null,relatedTarget:null,...t,vueTarget:this,componentId:this.safeId()})},emitEvent(e){const{type:t}=e;this.emitOnRoot(Object(d.e)(a.eb,t),e),this.$emit(t,e)},ensureToaster(){if(this.static)return;const{computedToaster:e}=this;if(!v.Wormhole.hasTarget(e)){const t=document.createElement("div");document.body.appendChild(t);Object(b.a)(this.bvEventRoot,q,{propsData:{name:e}}).$mount(t)}},startDismissTimer(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler(e){const t=this.$refs["b-toast"];Object(d.c)(e,t,"mouseenter",this.onPause,s.Q),Object(d.c)(e,t,"mouseleave",this.onUnPause,s.Q)},onPause(){if(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)return;const e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Object(O.b)(this.computedDuration-e,1e3))},onUnPause(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick(){this.$nextTick(()=>{Object(c.B)(()=>{this.hide()})})},onBeforeEnter(){this.isTransitioning=!0},onAfterEnter(){this.isTransitioning=!1;const e=this.buildEvent(s.M);this.emitEvent(e),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave(){this.isTransitioning=!0},onAfterLeave(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;const e=this.buildEvent(s.s);this.emitEvent(e),this.doRender=!1},makeToast(e){const{title:t,slotScope:n}=this,i=Object(j.d)(this),r=[],a=this.normalizeSlot(w.B,n);a?r.push(a):t&&r.push(e("strong",{staticClass:"mr-2"},t)),this.noCloseButton||r.push(e(N.a,{staticClass:"ml-auto mb-1",on:{click:()=>{this.hide()}}}));let s=e();r.length>0&&(s=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},r));const o=e(i?P.a:"div",{staticClass:"toast-body",class:this.bodyClass,props:i?Object(_.d)(H,this):{},on:i?{click:this.onLinkClick}:{}},this.normalizeSlot(w.e,n));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-"+this[y.a],ref:"toast"},[s,o])}},render(e){if(!this.doRender||!this.isMounted)return e();const{order:t,static:n,isHiding:i,isStatus:r}=this,a="b-toast-"+this[y.a],s=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:{...n?{}:this.scopedStyleAttrs,id:this.safeId("_toast_outer"),role:i?null:r?"status":"alert","aria-live":i?null:r?"polite":"assertive","aria-atomic":i?null:"true"},key:a,ref:"b-toast"},[e(E.a,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(v.Portal,{props:{name:a,to:this.computedToaster,order:t,slim:!0,disabled:n}},[s])}}),U=["id",...Object(p.h)(Object(p.j)(z,["static","visible"]))],W={toastContent:"default",title:"toast-title"},K=e=>U.reduce((t,n)=>(Object(h.n)(e[n])||(t[n]=e[n]),t),{}),Y=Object(f.a)({plugins:{plugin:e=>{const t=e.extend({name:a.gb,extends:G,mixins:[o.a],destroyed(){const{$el:e}=this;e&&e.parentNode&&e.parentNode.removeChild(e)},mounted(){const e=()=>{this.localShow=!1,this.doRender=!1,this.$nextTick(()=>{this.$nextTick(()=>{Object(c.B)(()=>{this.$destroy()})})})};this.bvParent.$once(s.T,e),this.$once(s.s,e),this.listenOnRoot(Object(d.e)(a.fb,s.i),t=>{t===this.toaster&&e()})}});class n{constructor(e){Object(p.a)(this,{_vm:e,_root:Object(g.a)(e)}),Object(p.d)(this,{_vm:Object(p.l)(),_root:Object(p.l)()})}toast(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e&&!Object(m.c)("$bvToast")&&((e,n)=>{if(Object(m.c)("$bvToast"))return;const i=Object(b.a)(n,t,{propsData:{...K(Object(u.b)(a.eb)),...Object(p.j)(e,Object(p.h)(W)),static:!1,visible:!0}});Object(p.h)(W).forEach(t=>{let r=e[t];Object(h.n)(r)||("title"===t&&Object(h.m)(r)&&(r=[n.$createElement("strong",{class:"mr-2"},r)]),i.$slots[W[t]]=Object(l.b)(r))});const r=document.createElement("div");document.body.appendChild(r),i.$mount(r)})({...K(n),toastContent:e},this._vm)}show(e){e&&this._root.$emit(Object(d.d)(a.eb,s.L),e)}hide(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(Object(d.d)(a.eb,s.t),e)}}e.mixin({beforeCreate(){this._bv__toast=new n(this)}}),Object(p.g)(e.prototype,"$bvToast")||Object(p.e)(e.prototype,"$bvToast",{get(){return this&&this._bv__toast||Object(m.a)('"$bvToast" must be accessed from a Vue instance "this" context.',a.eb),this._bv__toast}})}}}),Q=Object(f.a)({components:{BToast:G,BToaster:q},plugins:{BVToastPlugin:Y}});var X=n("Ge+5");const J={autoHideDelay:5e3,toastClass:"gl-toast",isStatus:!0,noCloseButton:!0,toaster:"b-toaster-bottom-left"};let Z=0;function ee(e,t,n){const i=[e(X.a,{class:["gl-toast-close-button","gl-close-btn-color-inherit"],on:{click:t.hide}})];return n.action&&i.splice(0,0,e("a",{role:"button",class:["gl-toast-action"],on:{click:e=>n.action.onClick(e,t)}},n.action.text)),i}function te(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="gl-toast-"+Z;Z+=1;const i=()=>{this.$bvToast.hide(n)},a={id:n,hide:i};if(r()(t.onComplete)){const e=i=>{i.componentId===n&&(this.$root.$off("bv::toast:hidden",e),t.onComplete(i))};this.$root.$on("bv::toast:hidden",e)}return this.$bvToast.toast(e,{...J,id:n,title:ee(this.$createElement,a,t)}),a}var ne={install(e){e.use(Q),e.mixin({beforeCreate(){this.$toast||(this.$toast={show:te.bind(this)})}})}};t.a=ne},zjrD:function(e,t,n){"use strict";var i=n("s1D3"),r=n("V5u/"),a=n("Qog8"),s=n("Pyw5"),o=n.n(s);const 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}},computed:{checkedClasses(){return this.isCheckCentered?"":"gl-mt-3 gl-self-start"}},methods:{toggleSelection(){this.$emit("select",!this.isSelected)},onKeydown(e){const{code:t}=e;t!==r.d&&t!==r.m||(Object(a.k)(e),this.toggleSelection())}}};const u=o()({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"gl-new-dropdown-item",attrs:{role:"option",tabindex:e.isFocused?0:-1,"aria-selected":e.isSelected},on:{click:e.toggleSelection,keydown:e.onKeydown}},[n("span",{staticClass:"gl-new-dropdown-item-content"},[n("gl-icon",{class:["gl-new-dropdown-item-check-icon",{"gl-invisible":!e.isSelected},e.checkedClasses],attrs:{name:"mobile-issue-close","data-testid":"dropdown-item-checkbox"}}),e._v(" "),n("span",{staticClass:"gl-new-dropdown-item-text-wrapper"},[e._t("default")],2)],1)])},staticRenderFns:[]},void 0,l,void 0,!1,void 0,!1,void 0,void 0,void 0);t.a=u}},[[247,1,0,2,4,9,10,12,14,15,17,22,27,29,36,40,50,55,189]]]);
//# sourceMappingURL=pages.projects.merge_requests.index.122844b7.chunk.js.map