{"version":3,"sources":["webpack:///./node_modules/truncate/truncate.js","webpack:///./src/modules/layout/AppHeaderEndSwitch.vue","webpack:///src/modules/layout/AppHeaderEndSwitch.vue","webpack:///./src/modules/layout/AppHeaderEndSwitch.vue?60f5","webpack:///./src/modules/layout/AppHeaderEndSwitch.vue?ef63"],"names":["context","undefined","DEFAULT_TRUNCATE_SYMBOL","URL_REGEX","__appendEllipsis","string","options","content","length","ellipsis","truncate","maxLength","result","index","matches","remainingLength","lastIndex","exec","substring","module","exports","String","render","_vm","this","_c","_self","isUser","staticClass","attrs","on","$event","switchBranch","_v","_s","branchName","_m","_e","staticRenderFns","name","computed","_objectSpread","mapGetters","branch","methods","$modal","open","component"],"mappings":"sGAKC,SAAUA,EAASC,GAChB,aAEA,IAAIC,EAA0B,IAG1BC,EAAY,sGAEhB,SAASC,EAAiBC,EAAQC,EAASC,GACvC,OAAIA,EAAQC,SAAWH,EAAOG,QAAWF,EAAQG,UAGjDF,GAAWD,EAAQG,SACZF,GAHIA,EAef,SAASG,EAASL,EAAQM,EAAWL,GACjC,IAGIM,EACAC,EAJAN,EAAU,GACVO,GAAU,EACVC,EAAkBJ,EAOtB,GAHAL,EAAUA,GAAW,GACrBA,EAAQG,SAAwC,qBAArBH,EAAQG,SAA4BP,EAA0BI,EAAQG,UAE5FJ,GAA4B,IAAlBA,EAAOG,OAClB,MAAO,GAGXM,GAAU,EACV,MAAOA,EAAS,CAIZ,GAHAX,EAAUa,UAAYT,EAAQC,OAC9BM,EAAUX,EAAUc,KAAKZ,IAEpBS,GAAYA,EAAQD,MAAQN,EAAQC,QAAWO,EAEhD,OADAR,GAAWF,EAAOa,UAAUX,EAAQC,OAAQG,GACrCP,EAAiBC,EAAQC,EAASC,EAASI,GAQtD,GALAC,EAASE,EAAQ,GACjBD,EAAQC,EAAQD,MAChBN,GAAWF,EAAOa,UAAUX,EAAQC,OAAQK,EAAQD,EAAOJ,QAC3DO,GAAmBF,EAAQD,EAAOJ,OAE9BO,GAAmB,EACnB,MAIR,OAAOX,EAAiBC,EAAQC,EAASC,EAASI,GAGjBQ,EAAOC,QACxCD,EAAOC,QAAUV,EAEjBV,EAAQU,SAAWA,GAjE3B,CAmEEW,S,yCCxEF,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,OAAQF,EAAG,MAAM,CAACG,YAAY,sFAAsF,CAACH,EAAG,SAAS,CAACG,YAAY,6BAA6BC,MAAM,CAAC,eAAe,wBAAwBC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,kBAAkB,CAACP,EAAG,SAAS,CAACF,EAAIU,GAAGV,EAAIW,GAAGX,EAAIY,eAAeZ,EAAIa,GAAG,OAAOb,EAAIc,MAExZC,EAAkB,CAAC,WAAY,IAAIf,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,OAAO,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACG,YAAY,wB,yDCmB5G,GACfW,KAAA,qBACAC,SAAAC,8BAAA,GACAC,eAAA,iCACAP,WAAA,WACA,IAAA3B,EAAA,GACA,OAAAE,IAAA,KAAAiC,OAAAJ,KAAA/B,MAGAoC,QAAA,CACAZ,aAAA,WACA,KAAAa,OAAAC,KAAA,4BChC2W,I,YCOvWC,EAAY,eACd,EACAzB,EACAgB,GACA,EACA,KACA,KACA,MAIa,aAAAS,E","file":"js/chunk-2ac174c4.061d5123.js","sourcesContent":["/*global module:true*/\n/*jslint nomen:true*/\n/**\n * @module Utility\n */\n(function (context, undefined) {\n 'use strict';\n\n var DEFAULT_TRUNCATE_SYMBOL = '…',\n // Limit emails to no more than about 600 chars, well over the max of ~300.\n // cf. RFC: https://www.rfc-editor.org/errata_search.php?eid=1690\n URL_REGEX = /(((ftp|https?):\\/\\/)[\\-\\w@:%_\\+.~#?,&\\/\\/=]+)|((mailto:)?[_.\\w-]{1,300}@(.{1,300}\\.)[a-zA-Z]{2,3})/g;\n\n function __appendEllipsis(string, options, content) {\n if (content.length === string.length || !options.ellipsis) {\n return content;\n }\n content += options.ellipsis;\n return content;\n }\n /**\n * Truncate HTML string and keep tag safe.\n *\n * @method truncate\n * @param {String} string string needs to be truncated\n * @param {Number} maxLength length of truncated string\n * @param {Object} options (optional)\n * @param {Boolean|String} [options.ellipsis] omission symbol for truncated string, '...' by default\n * @return {String} truncated string\n */\n function truncate(string, maxLength, options) {\n var content = '', // truncated text storage\n matches = true,\n remainingLength = maxLength,\n result,\n index;\n\n options = options || {};\n options.ellipsis = (typeof options.ellipsis === \"undefined\") ? DEFAULT_TRUNCATE_SYMBOL : options.ellipsis;\n\n if (!string || string.length === 0) {\n return '';\n }\n\n matches = true;\n while (matches) {\n URL_REGEX.lastIndex = content.length;\n matches = URL_REGEX.exec(string);\n\n if (!matches || (matches.index - content.length) >= remainingLength) {\n content += string.substring(content.length, maxLength);\n return __appendEllipsis(string, options, content, maxLength);\n }\n\n result = matches[0];\n index = matches.index;\n content += string.substring(content.length, index + result.length);\n remainingLength -= index + result.length;\n\n if (remainingLength <= 0) {\n break;\n }\n }\n\n return __appendEllipsis(string, options, content, maxLength);\n }\n\n if ('undefined' !== typeof module && module.exports) {\n module.exports = truncate;\n } else {\n context.truncate = truncate;\n }\n}(String));\n","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isUser)?_c('div',{staticClass:\"navbar-item is-hidden-tablet-only is-hidden-desktop-only is-hidden-widescreen-only\"},[_c('button',{staticClass:\"button is-primary is-small\",attrs:{\"data-test-id\":\"branch-switch-button\"},on:{\"click\":function($event){return _vm.switchBranch()}}},[_c('strong',[_vm._v(_vm._s(_vm.branchName))]),_vm._m(0)])]):_vm._e()\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"fad fa-exchange\"})])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppHeaderEndSwitch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppHeaderEndSwitch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AppHeaderEndSwitch.vue?vue&type=template&id=0e911e9e&\"\nimport script from \"./AppHeaderEndSwitch.vue?vue&type=script&lang=js&\"\nexport * from \"./AppHeaderEndSwitch.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}