{"version":3,"sources":["webpack://bleuclair/./src/scripts/bleuclair.js","webpack://bleuclair/webpack/bootstrap","webpack://bleuclair/webpack/runtime/compat get default export","webpack://bleuclair/webpack/runtime/define property getters","webpack://bleuclair/webpack/runtime/hasOwnProperty shorthand","webpack://bleuclair/./src/index.js"],"names":["setDiscontinuityClassToTabContent","id","$","hasClass","addClass","removeClass","document","ajaxSuccess","each","_index","element","attr","title","text","addEventListener"],"mappings":";;;;;;AAAA,SAASA,iCAAT,CAA2CC,EAA3C,EAA+C;AAC7C,MAAIC,CAAC,CAAC,MAAMD,EAAP,CAAD,CAAYE,QAAZ,CAAqB,UAArB,CAAJ,EAAsC;AACpC,QAAIF,EAAE,KAAK,WAAP,IAAsBA,EAAE,KAAK,gBAAjC,EAAmD;AACjDC,OAAC,CAAC,yBAAD,CAAD,CAA6BE,QAA7B,CAAsC,eAAtC;AACD,KAFD,MAEO;AACLF,OAAC,CAAC,yBAAD,CAAD,CAA6BG,WAA7B,CAAyC,eAAzC;AACD;AACF;AACF;;AAEDH,CAAC,CAACI,QAAD,CAAD,CAAYC,WAAZ,CAAwB,YAAW;AACjC;AACAL,GAAC,CAAC,mGAAD,CAAD,CAAuGM,IAAvG,CAA4G,UAASC,MAAT,EAAiBC,OAAjB,EAAyB;AACnIR,KAAC,CAACQ,OAAD,CAAD,CAAWC,IAAX,CAAgB,oBAAhB,EAAsCD,OAAO,CAACE,KAA9C;AACD,GAFD;AAGD,CALD;AAOAV,CAAC,CAAC,YAAU;AACV;AACAA,GAAC,CAAC,YAAD,CAAD,CAAgBS,IAAhB,CAAqB,QAArB,EAA8B,QAA9B;AACAT,GAAC,CAAC,QAAD,CAAD,CAAYS,IAAZ,CAAiB,QAAjB,EAA0B,QAA1B;AACAT,GAAC,CAAC,gDAAD,CAAD,CAAoDS,IAApD,CAAyD,QAAzD,EAAkE,QAAlE;;AAEA,MAAI,CAACT,CAAC,CAAC,QAAD,CAAD,CAAYW,IAAZ,MAAsB,KAAtB,GAA8B,IAA9B,GAAqCX,CAAC,CAAC,MAAD,CAAD,CAAUS,IAAV,CAAe,MAAf,CAAtC,KAAiE,IAArE,EAA2E;AACzE;AACAT,KAAC,CAAC,QAAD,CAAD,CAAYS,IAAZ,CAAiB,MAAjB,EAAyB,0BAAzB;AACD,GATS,CAWV;;;AACAT,GAAC,CAAC,iCAAD,CAAD,CAAqCM,IAArC,CAA0C,UAASC,MAAT,EAAiBC,OAAjB,EAAyB;AACjER,KAAC,CAACQ,OAAD,CAAD,CAAWC,IAAX,CAAgB,oBAAhB,EAAsCD,OAAO,CAACE,KAA9C;AACD,GAFD;AAIAV,GAAC,CAAC,oBAAD,CAAD,CAAwBM,IAAxB,CAA6B,YAAU;AACrCR,qCAAiC,CAACE,CAAC,CAAC,IAAD,CAAD,CAAQS,IAAR,CAAa,IAAb,CAAD,CAAjC;AACAT,KAAC,CAAC,IAAD,CAAD,CAAQ,CAAR,EAAWY,gBAAX,CAA4B,OAA5B,EAAqC,YAAU;AAC7Cd,uCAAiC,CAACE,CAAC,CAAC,IAAD,CAAD,CAAQS,IAAR,CAAa,IAAb,CAAD,CAAjC;AACD,KAFD;AAGD,GALD;AAMD,CAtBA,CAAD,C;;;;;;UCjBA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,cAAc,0BAA0B,EAAE;WAC1C,cAAc,eAAe;WAC7B,gCAAgC,YAAY;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,wCAAwC,yCAAyC;WACjF;WACA;WACA,E;;;;;WCPA,6CAA6C,wDAAwD,E;;;;;;;;;;ACArG;CAGA","file":"theme.js","sourcesContent":["function setDiscontinuityClassToTabContent(id) {\n if ($('#' + id).hasClass('selected')) {\n if (id === 'tab-notes' || id === 'tab-properties') {\n $('div#tab-content-history').addClass('discontinuity');\n } else {\n $('div#tab-content-history').removeClass('discontinuity');\n }\n }\n}\n\n$(document).ajaxSuccess(function() {\n // Put the title in the before content without breaking the tooltip (For issues/show time_entries and changesets tabs)\n $('body.controller-issues.action-show a[href*=\"activity\"][title*=\":\"]:not([data-absolute-date*=\":\"])').each(function(_index, element){\n $(element).attr('data-absolute-date', element.title);\n });\n});\n\n$(function(){\n /* Change to open external link in another tab */\n $(\"a.external\").attr(\"target\",\"_blank\");\n $(\"a.help\").attr(\"target\",\"_blank\");\n $(\"div#footer a[href^='https://www.redmine.org/']\").attr(\"target\",\"_blank\");\n\n if (($(\"a.help\").text() == \"ヘルプ\" ? \"ja\" : $(\"html\").attr(\"lang\")) == \"ja\") {\n /* When the language is Japanese, the link destination of help is Redmine.jp */\n $(\"a.help\").attr(\"href\", \"http://guide.redmine.jp/\");\n }\n\n // Put the title in the before content without breaking the tooltip\n $('a[href*=\"activity\"][title*=\":\"]').each(function(_index, element){\n $(element).attr(\"data-absolute-date\", element.title);\n });\n\n $('#history > .tabs a').each(function(){\n setDiscontinuityClassToTabContent($(this).attr('id'));\n $(this)[0].addEventListener('click', function(){\n setDiscontinuityClassToTabContent($(this).attr('id'));\n });\n });\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// When built, it will be output as bleuclair/javascripts/theme.js\nimport './scripts/bleuclair.js'\n\n// When built, it will be output as bleuclair/stylesheets/theme.css\nimport './styles/bleuclair.scss';\n"],"sourceRoot":""}