Newer
Older
alert / js / dist / forum.js
@Réz István Réz István on 19 Nov 2021 2 KB rc2
module.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=5)}([function(t,e){t.exports=flarum.core.compat["forum/app"]},,function(t,e){t.exports=flarum.core.compat["extensions/afrux-forum-widgets-core/common/extend/Widgets"]},function(t,e){t.exports=flarum.core.compat["extensions/afrux-forum-widgets-core/common/components/Widget"]},function(t,e,n){"use strict";var r=n(2),o=n.n(r);function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var i=n(0),c=n.n(i),a=n(3),f=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,u(e,n);var o=r.prototype;return o.oncreate=function(t){document.getElementById("wghtml1").innerHTML='<div class="ubuntuhu-alertWidget-icon"><i aria-hidden="true" class="icon fas fa-bullhorn "></i></div>'+c.a.forum.attribute("ubuntuhu-alert.customCode")},o.className=function(){return"custom-html-alert-widget"},o.icon=function(){return"far fa-file-code"},o.content=function(){return m("div",{class:"htmlwidget",id:"wghtml1"})},r}(n.n(a).a);e.a=function(t){(new o.a).add({key:"Alert",component:f,isDisabled:!1,isUnique:!0,placement:"end",position:1}).extend(t,"ubuntuhu-alert")}},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n.n(r),u=n(4);o.a.initializers.add("ubuntuhu/alert",(function(){Object(u.a)(o.a)}))}]);
//# sourceMappingURL=forum.js.map