{"version":3,"sources":["webpack:///./droplab/plugins/input_setter.js","webpack:///./pager.js","webpack:///./activities.js","webpack:///./projects_list.js","webpack:///./notifications_form.js","webpack:///./notifications_dropdown.js","webpack:///./pages/users/activity_calendar.js","webpack:///./pages/users/user_tabs.js","webpack:///./shortcuts_navigation.js","webpack:///./groups/new_group_child.js","webpack:///./pages/groups/show/group_tabs.js","webpack:///./pages/groups/show/index.js"],"names":["InputSetter","init","hook","this","destroyed","config","eventWrapper","addEvents","setInputs","bind","list","addEventListener","removeEvents","removeEventListener","e","_this","selectedItem","detail","selected","Array","isArray","forEach","setInput","input","trigger","newValue","getAttribute","valueAttribute","inputAttribute","hasAttribute","setAttribute","tagName","value","textContent","destroy","__webpack_exports__","limit","arguments","length","undefined","preload","disable","prepareData","jquery__WEBPACK_IMPORTED_MODULE_0___default","a","noop","callback","url","data","Object","_lib_utils_url_utility__WEBPACK_IMPORTED_MODULE_3__","offset","parseInt","_lib_utils_common_utils__WEBPACK_IMPORTED_MODULE_1__","loading","first","getOld","initLoadMore","show","_lib_utils_axios_utils__WEBPACK_IMPORTED_MODULE_2__","get","params","then","_ref","append","count","html","isScrollable","hide","catch","$w","window","document","height","scrollTop","_this2","off","endlessScroll","bottomPixels","fireDelay","fireOnce","ceaseFire","is","Activities","_classCallCheck","_pager__WEBPACK_IMPORTED_MODULE_2__","updateTooltips","on","preventDefault","toggleFilter","currentTarget","reloadActivities","_lib_utils_datetime_utility__WEBPACK_IMPORTED_MODULE_3__","sender","$sender","filter","attr","split","removeClass","js_cookie__WEBPACK_IMPORTED_MODULE_1___default","set","closest","toggleClass","ProjectsList","form","querySelector","holder","_filterable_list__WEBPACK_IMPORTED_MODULE_0__","initSearch","NotificationsForm","toggleCheckbox","initEventListeners","$checkbox","$parent","saveEvent","addClass","find","parents","showCheckboxLoadingSpinner","serialize","enable","saved","setTimeout","_flash__WEBPACK_IMPORTED_MODULE_3__","_locale__WEBPACK_IMPORTED_MODULE_1__","notificationsDropdown","notificationLevel","val","submit","replaceWith","_flash__WEBPACK_IMPORTED_MODULE_1__","d3","select","d3_selection","scaleLinear","d3_scale","scaleThreshold","initColorKey","range","domain","ActivityCalendar","container","timestamps","calendarActivitiesPath","utcOffset","firstDayOfWeek","clickDay","currentSelectedDate","daySpace","daySize","daySizeWithSpace","monthNames","months","timestampsTmp","group","today","systemUtcOffsetSeconds","date","Date","localUtcOffsetMinutes","getTimezoneOffset","systemUtcOffsetMinutes","setMinutes","getMinutes","getSystemDate","setHours","oneYearAgo","setFullYear","getFullYear","days","datetime_utility","i","setDate","getDate","day","getDay","dateformat_default","push","colorKey","color","initColor","svg","renderSvg","renderDays","renderMonths","renderDayTitles","renderKey","jquery_default","tooltip","extraWidthPadding","getMonth","width","getExtraWidthPadding","selectAll","enter","underscore_default","each","stamp","month","x","lastMonth","last","dayYPos","Math","min","dateObject","dateDayName","dateText","contribText","text","y","_this3","keyValues","keyColors","colorRange","join","LOADING_HTML","axios_utils","responseType","_ref2","flash","locale","user_tabs_UserTabs","UserTabs","defaultAction","action","parentEl","user_tabs_classCallCheck","loaded","$parentEl","windowLocation","location","navLink","actions","keys","bindEvents","activateTab","event","tabShown","changeProjectsPage","empty","endpoint","target","loadTab","getCurrentAction","$target","source","setTab","setCurrentAction","tab","loadActivities","indexOf","toggleLoading","tabSelector","activity","$calendarWrap","calendarPath","utcFormatted","_ref3","CALENDAR_TEMPLATE","activity_calendar","activities","status","newState","replace","search","hash","history","replaceState","title","ShortcutsNavigation","_possibleConstructorReturn","__proto__","getPrototypeOf","call","mousetrap__WEBPACK_IMPORTED_MODULE_0___default","_shortcuts_dashboard_navigation__WEBPACK_IMPORTED_MODULE_1__","enabledHelp","_shortcuts__WEBPACK_IMPORTED_MODULE_2__","assign","input_setter","NewGroupChild","buttonWrapper","newGroupChildButton","dropdownToggle","dropdownList","newGroupPath","dataset","projectPath","subgroupPath","initDroplab","droplab","drop_lab","getDroplabConfig","onClickNewGroupChildButton","url_utility","GroupTabs","_ref$defaultAction","group_tabs_classCallCheck","user_tabs","constants","loadableActions","enableSearchBar","includes","cleanFilterState","elId","getEndpoint","groups","_$parentEl$data","endpointsDefault","endpointsShared","containerEl","getElementById","dataEl","opts","filterEndpoint","pagePath","dropdownSel","filterInputField","groups_filterable_list","values","newGroupChildWrapper","paths","pathname","subpath","common_utils","group_tabs","shortcuts_navigation","notifications_form","notifications_dropdown","projects_list","new_group_child"],"mappings":"qIAEA,IAAMA,GACJC,KADkB,SACbC,GACHC,KAAKD,KAAOA,EACZC,KAAKC,WAAY,EACjBD,KAAKE,OAASH,EAAKG,OAAOL,cAAgBG,KAAKD,KAAKG,OAAOL,gBAE3DG,KAAKG,gBAELH,KAAKI,aAGPA,UAXkB,WAYhBJ,KAAKG,aAAaE,UAAYL,KAAKK,UAAUC,KAAKN,MAClDA,KAAKD,KAAKQ,KAAKA,KAAKC,iBAAiB,WAAYR,KAAKG,aAAaE,YAGrEI,aAhBkB,WAiBhBT,KAAKD,KAAKQ,KAAKA,KAAKG,oBAAoB,WAAYV,KAAKG,aAAaE,YAGxEA,UApBkB,SAoBRM,GAAG,IAAAC,EAAAZ,KACX,IAAIA,KAAKC,UAAT,CAEA,IAAMY,EAAeF,EAAEG,OAAOC,SAEzBC,MAAMC,QAAQjB,KAAKE,UAASF,KAAKE,QAAUF,KAAKE,SAErDF,KAAKE,OAAOgB,QAAQ,SAAAhB,GAAA,OAAUU,EAAKO,SAASjB,EAAQW,OAGtDM,SA9BkB,SA8BTjB,EAAQW,GACf,IAAMO,EAAQlB,EAAOkB,OAASpB,KAAKD,KAAKsB,QAClCC,EAAWT,EAAaU,aAAarB,EAAOsB,gBAC5CC,EAAiBvB,EAAOuB,eAE9B,OAAIL,EAAMM,aAAaD,GAAwBL,EAAMO,aAAaF,EAAgBH,GAC5D,UAAlBF,EAAMQ,QAA4BR,EAAMS,MAAQP,EAC7CF,EAAMU,YAAcR,GAG7BS,QAxCkB,WAyChB/B,KAAKC,WAAY,EAEjBD,KAAKS,iBAITuB,EAAA,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AAW9O,KAAK+S,YAAYjF,GAElC,GAAKwF,EAAL,CARsB,IAYd1B,EAAY0B,EAAZ1B,QACF2B,GACJlN,OACAT,SACAW,SACAiN,eAAgB1E,GAAY8C,EAAQ9C,SACpC2E,SAAU,KACVC,YAAa,iCACbC,iBAAkB,SAClB7F,UAGF,IAAK9N,KAAKiO,OAAOH,GACQ,IAAI8F,EAAA,EAAoBL,GAChC9M,yDAQjB,GAHe3D,OAAO+Q,OAAO7T,KAAKiO,QACRrI,OAAO,SAAAjF,GAAA,OAAW,IAANA,IAEtBwB,OAAhB,CAIA,IAAMiO,EAAWtN,OAAAsP,EAAA,EAAAtP,EAAc,QAASsB,OAAOgK,SAASkC,QAExDlM,OAAOoM,QAAQC,cAEX7N,IAAKwN,GAEP/L,SAASqM,MACTN,aCzHN/L,SAAS7D,iBAAiB,mBAAoB,WAC5C,IAAMsT,EAAuBzP,SAASiC,cAAc,4BAC9CoM,GAAmBD,EAAA,EAAmBA,EAAA,GACtCsB,EAAQ3P,OAAOgK,SAAS4F,SAASlO,MAAM,KACvCmO,EAAUF,EAAMA,EAAM5R,OAAS,GAC/B2L,EAAS4E,EAAgBE,SAASqB,GAAWA,EAAUnR,OAAAoR,EAAA,EAAApR,CAAY,GAEzE,IAAIqR,GAAYpG,SAAU,kBAAmBD,WAC7C,IAAIsG,EAAA,EACJ,IAAIC,EAAA,EACJvR,OAAAwR,EAAA,EAAAxR,GACA,IAAIyR,EAAA,EAEAT,GACF,IAAIU,EAAcV","file":"pages.groups.show.584e7033.chunk.js","sourcesContent":["/* eslint-disable */\n\nconst InputSetter = {\n init(hook) {\n this.hook = hook;\n this.destroyed = false;\n this.config = hook.config.InputSetter || (this.hook.config.InputSetter = {});\n\n this.eventWrapper = {};\n\n this.addEvents();\n },\n\n addEvents() {\n this.eventWrapper.setInputs = this.setInputs.bind(this);\n this.hook.list.list.addEventListener('click.dl', this.eventWrapper.setInputs);\n },\n\n removeEvents() {\n this.hook.list.list.removeEventListener('click.dl', this.eventWrapper.setInputs);\n },\n\n setInputs(e) {\n if (this.destroyed) return;\n\n const selectedItem = e.detail.selected;\n\n if (!Array.isArray(this.config)) this.config = [this.config];\n\n this.config.forEach(config => this.setInput(config, selectedItem));\n },\n\n setInput(config, selectedItem) {\n const input = config.input || this.hook.trigger;\n const newValue = selectedItem.getAttribute(config.valueAttribute);\n const inputAttribute = config.inputAttribute;\n\n if (input.hasAttribute(inputAttribute)) return input.setAttribute(inputAttribute, newValue);\n if (input.tagName === 'INPUT') return input.value = newValue;\n return input.textContent = newValue;\n },\n\n destroy() {\n this.destroyed = true;\n\n this.removeEvents();\n },\n};\n\nexport default InputSetter;\n","import $ from 'jquery';\nimport { getParameterByName } from '~/lib/utils/common_utils';\nimport axios from './lib/utils/axios_utils';\nimport { removeParams } from './lib/utils/url_utility';\n\nconst ENDLESS_SCROLL_BOTTOM_PX = 400;\nconst ENDLESS_SCROLL_FIRE_DELAY_MS = 1000;\n\nexport default {\n init(limit = 0, preload = false, disable = false, prepareData = $.noop, callback = $.noop) {\n this.url = $('.content_list').data('href') || removeParams(['limit', 'offset']);\n this.limit = limit;\n this.offset = parseInt(getParameterByName('offset'), 10) || this.limit;\n this.disable = disable;\n this.prepareData = prepareData;\n this.callback = callback;\n this.loading = $('.loading').first();\n if (preload) {\n this.offset = 0;\n this.getOld();\n }\n this.initLoadMore();\n },\n\n getOld() {\n this.loading.show();\n axios.get(this.url, {\n params: {\n limit: this.limit,\n offset: this.offset,\n },\n }).then(({ data }) => {\n this.append(data.count, this.prepareData(data.html));\n this.callback();\n\n // keep loading until we've filled the viewport height\n if (!this.disable && !this.isScrollable()) {\n this.getOld();\n } else {\n this.loading.hide();\n }\n }).catch(() => this.loading.hide());\n },\n\n append(count, html) {\n $('.content_list').append(html);\n if (count > 0) {\n this.offset += count;\n } else {\n this.disable = true;\n }\n },\n\n isScrollable() {\n const $w = $(window);\n return $(document).height() > $w.height() + $w.scrollTop() + ENDLESS_SCROLL_BOTTOM_PX;\n },\n\n initLoadMore() {\n $(document).off('scroll');\n $(document).endlessScroll({\n bottomPixels: ENDLESS_SCROLL_BOTTOM_PX,\n fireDelay: ENDLESS_SCROLL_FIRE_DELAY_MS,\n fireOnce: true,\n ceaseFire: () => this.disable === true,\n callback: () => {\n if (!this.loading.is(':visible')) {\n this.loading.show();\n this.getOld();\n }\n },\n });\n },\n};\n","/* eslint-disable class-methods-use-this */\n\nimport $ from 'jquery';\nimport Cookies from 'js-cookie';\nimport Pager from './pager';\nimport { localTimeAgo } from './lib/utils/datetime_utility';\n\nexport default class Activities {\n constructor() {\n Pager.init(20, true, false, data => data, this.updateTooltips);\n\n $('.event-filter-link').on('click', (e) => {\n e.preventDefault();\n this.toggleFilter(e.currentTarget);\n this.reloadActivities();\n });\n }\n\n updateTooltips() {\n localTimeAgo($('.js-timeago', '.content_list'));\n }\n\n reloadActivities() {\n $('.content_list').html('');\n Pager.init(20, true, false, data => data, this.updateTooltips);\n }\n\n toggleFilter(sender) {\n const $sender = $(sender);\n const filter = $sender.attr('id').split('_')[0];\n\n $('.event-filter .active').removeClass('active');\n Cookies.set('event_filter', filter);\n\n $sender.closest('li').toggleClass('active');\n }\n}\n","import FilterableList from './filterable_list';\n\n/**\n * Makes search request for projects when user types a value in the search input.\n * Updates the html content of the page with the received one.\n */\nexport default class ProjectsList {\n constructor() {\n const form = document.querySelector('form#project-filter-form');\n const filter = document.querySelector('.js-projects-list-filter');\n const holder = document.querySelector('.js-projects-list-holder');\n\n if (form && filter && holder) {\n const list = new FilterableList(form, filter, holder);\n list.initSearch();\n }\n }\n}\n","import $ from 'jquery';\nimport { __ } from './locale';\nimport axios from './lib/utils/axios_utils';\nimport flash from './flash';\n\nexport default class NotificationsForm {\n constructor() {\n this.toggleCheckbox = this.toggleCheckbox.bind(this);\n this.initEventListeners();\n }\n\n initEventListeners() {\n $(document).on('change', '.js-custom-notification-event', this.toggleCheckbox);\n }\n\n toggleCheckbox(e) {\n const $checkbox = $(e.currentTarget);\n const $parent = $checkbox.closest('.form-check');\n\n this.saveEvent($checkbox, $parent);\n }\n\n // eslint-disable-next-line class-methods-use-this\n showCheckboxLoadingSpinner($parent) {\n $parent.addClass('is-loading')\n .find('.custom-notification-event-loading')\n .removeClass('fa-check')\n .addClass('fa-spin fa-spinner')\n .removeClass('is-done');\n }\n\n saveEvent($checkbox, $parent) {\n const form = $parent.parents('form:first');\n\n this.showCheckboxLoadingSpinner($parent);\n\n axios[form.attr('method')](form.attr('action'), form.serialize())\n .then(({ data }) => {\n $checkbox.enable();\n if (data.saved) {\n $parent.find('.custom-notification-event-loading').toggleClass('fa-spin fa-spinner fa-check is-done');\n setTimeout(() => {\n $parent.removeClass('is-loading')\n .find('.custom-notification-event-loading')\n .toggleClass('fa-spin fa-spinner fa-check is-done');\n }, 2000);\n }\n })\n .catch(() => flash(__('There was an error saving your notification settings.')));\n }\n}\n","import $ from 'jquery';\nimport Flash from './flash';\n\nexport default function notificationsDropdown() {\n $(document).on('click', '.update-notification', function updateNotificationCallback(e) {\n e.preventDefault();\n if ($(this).is('.is-active') && $(this).data('notificationLevel') === 'custom') {\n return;\n }\n\n const notificationLevel = $(this).data('notificationLevel');\n const form = $(this).parents('.notification-form:first');\n\n form.find('.js-notification-loading').toggleClass('fa-bell fa-spin fa-spinner');\n form.find('#notification_setting_level').val(notificationLevel);\n form.submit();\n });\n\n $(document).on('ajax:success', '.notification-form', (e, data) => {\n if (data.saved) {\n $(e.currentTarget).closest('.js-notification-dropdown').replaceWith(data.html);\n } else {\n Flash('Failed to save new settings', 'alert');\n }\n });\n}\n","import $ from 'jquery';\nimport _ from 'underscore';\nimport { scaleLinear, scaleThreshold } from 'd3-scale';\nimport { select } from 'd3-selection';\nimport dateFormat from 'dateformat';\nimport { getDayName, getDayDifference } from '~/lib/utils/datetime_utility';\nimport axios from '~/lib/utils/axios_utils';\nimport flash from '~/flash';\nimport { __ } from '~/locale';\n\nconst d3 = { select, scaleLinear, scaleThreshold };\n\nconst LOADING_HTML = `\n