robinodds replace vendor/itnt/flarum-uitab/js/dist/forum.js
and forum.js.map
forum.js
module.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var o=e[a]={i:a,l:!1,exports:{}};return t[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(a,o,function(e){return t[e]}.bind(null,o));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(t,e){t.exports=flarum.core.compat.app},function(t,e,n){"use strict";function a(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}n.d(e,"a",(function(){return a}))},function(t,e){t.exports=flarum.core.compat.extend},function(t,e){t.exports=flarum.core.compat.Application},function(t,e){t.exports=flarum.core.compat.Component},,function(t,e,n){"use strict";n.r(e);var a=n(2),o=n(3),r=n.n(o),u=n(1),s=n(0),i=n.n(s),c=n(4),f=function(t){function e(){return t.apply(this,arguments)||this}return Object(u.a)(e,t),e.prototype.view=function(){var t=i.a.forum.attribute("itnt-uitab.home_page"),e=i.a.forum.attribute("itnt-uitab.tags_page"),n=i.a.forum.attribute("itnt-uitab.create_page"),a=i.a.forum.attribute("itnt-uitab.settings_page"),o=i.a.forum.attribute("itnt-uitab.notifications_page");if(void 0!==i.a.session.user)return m("div",{id:"ItntUitab"},m("div",{class:"foureightheight"}),m("div",{class:"mobile-app-icon-bar",id:"myDIV"},m("a",{href:t},m("button",{class:"buttonstyle"},m("i",{class:"fa fa-home"}),m("span",{class:"spanstyle"}))),m("a",{href:e},m("button",{class:"buttonstyle"},m("i",{class:"fas fa-tags"}),m("span",{class:"spanstyle"}))),m("a",{href:n},m("button",{class:"buttonstyle"},m("i",{class:"fas fa-edit"}),m("span",{class:"spanstyle"}))),m("a",{href:a},m("button",{class:"buttonstyle"},m("i",{class:"fas fa-user-cog"}),m("span",{class:"spanstyle"}))),m("a",{href:o},m("button",{class:"buttonstyle"},m("i",{class:"fas fa-bell"}),m("span",{class:"spanstyle"})))))},e}(n.n(c).a);app.initializers.add("itnt-uitab",(function(){Object(a.extend)(r.a.prototype,"mount",(function(){var t=document.createElement("div");m.mount(document.body.appendChild(t),f.component())}))}))}]);
//# sourceMappingURL=forum.js.map
forum.js.map
{"version":3,"sources":["webpack://@itnt/uitab/webpack/bootstrap","webpack://@itnt/uitab/external \"flarum.core.compat['app']\"","webpack://@itnt/uitab/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@itnt/uitab/external \"flarum.core.compat['extend']\"","webpack://@itnt/uitab/external \"flarum.core.compat['Application']\"","webpack://@itnt/uitab/external \"flarum.core.compat['Component']\"","webpack://@itnt/uitab/./src/forum/components/ItntUitab.js","webpack://@itnt/uitab/./src/forum/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","flarum","core","compat","_inheritsLoose","subClass","superClass","constructor","__proto__","ItntUitab","view","uitabHome","app","forum","attribute","uitabTags","uitabCreate","uitabSettings","uitabNotifications","session","user","id","class","href","Component","initializers","add","extend","Application","footer","document","createElement","mount","body","appendChild","component"],"mappings":"2BACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE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Y/B,UAAW,SAAS,WACnC,IAAMgC,EAASC,SAASC,cAAc,OAEtC1D,EAAE2D,MAAMF,SAASG,KAAKC,YAAYL,GAASpB,EAAU0B","file":"forum.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","module.exports = flarum.core.compat['app'];","export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}","module.exports = flarum.core.compat['extend'];","module.exports = flarum.core.compat['Application'];","module.exports = flarum.core.compat['Component'];","import app from 'flarum/app';\r\nimport Component from 'flarum/Component';\r\n\r\nexport default class ItntUitab extends Component {\r\n\r\n view() {\r\n const uitabHome = app.forum.attribute('itnt-uitab.home_page');\r\n const uitabTags = app.forum.attribute('itnt-uitab.tags_page');\r\n const uitabCreate = app.forum.attribute('itnt-uitab.create_page');\r\n const uitabSettings = app.forum.attribute('itnt-uitab.settings_page');\r\n const uitabNotifications = app.forum.attribute('itnt-uitab.notifications_page');\r\n\r\n if (typeof app.session.user === 'undefined') {}else{\r\n return (\r\n <div id=\"ItntUitab\">\r\n <div class=\"foureightheight\"></div>\r\n <div class=\"mobile-app-icon-bar\" id=\"myDIV\">\r\n <a href={uitabHome}>\r\n <button class=\"buttonstyle\"><i class=\"fa fa-home\"></i><span class=\"spanstyle\"></span></button>\r\n </a>\r\n <a href={uitabTags}>\r\n <button class=\"buttonstyle\"><i class=\"fas fa-tags\"></i><span class=\"spanstyle\"></span></button>\r\n </a>\r\n <a href={uitabCreate}>\r\n <button class=\"buttonstyle\"><i class=\"fas fa-edit\"></i><span class=\"spanstyle\"></span></button>\r\n </a>\r\n <a href={uitabSettings}>\r\n <button class=\"buttonstyle\"><i class=\"fas fa-user-cog\"></i><span class=\"spanstyle\"></span></button>\r\n </a>\r\n <a href={uitabNotifications}>\r\n <button class=\"buttonstyle\"><i class=\"fas fa-bell\"></i><span class=\"spanstyle\"></span></button>\r\n </a>\r\n </div>\r\n </div>\r\n );\r\n \r\n }\r\n\r\n }\r\n}","import { extend } from 'flarum/extend';\nimport Application from 'flarum/Application';\n\nimport ItntUitab from './components/ItntUitab';\n\napp.initializers.add('itnt-uitab', () => {\n extend(Application.prototype, 'mount', () => {\n const footer = document.createElement('div');\n\n m.mount(document.body.appendChild(footer), ItntUitab.component());\n });\n});"],"sourceRoot":""}