New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@vizuaalog/bulmajs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizuaalog/bulmajs - npm Package Compare versions

Comparing version

to
0.12.0

@@ -0,0 +0,0 @@ {

@@ -0,1 +1,8 @@

# 0.12.0
+ **Feature** [107](https://github.com/VizuaaLOG/BulmaJS/issues/107) Add support for the navbar dropdown
+ **Feature** [94](https://github.com/VizuaaLOG/BulmaJS/issues/94) Add a new global `onLoaded` callback that can be defined within the `window.bulmaOptions` object. This is called once the library has been loaded and the `DOMContentLoaded` event has been fired.
+ **Feature** [102](https://github.com/VizuaaLOG/BulmaJS/issues/102) Add support for panel tabs.
+ **Tweak** [95](https://github.com/VizuaaLOG/BulmaJS/issues/95) The `parseDocument` method will now check the given context against the internal plugins
+ **Refactor** Add a `Bulma.getGlobalConfig(key: string, default: mixed)` method to the core. This allows easy access to properties within the `window.bulmaOptions` object and accepts a default as it's second parameter, this is `null` by default.
# 0.11.0

@@ -2,0 +9,0 @@ + **Feature** Add a `getFilename` method to the file plugin.

@@ -0,0 +0,0 @@ # Contributor Covenant Code of Conduct

If you would like to contribute a plugin, fix a bug or fix some horrible typo in the docs please submit a PR if you can, alternativly create an issue! Please note, while the code base doesn't follow any strict style, please try to ensure your PRs follow the general convention you see (there may be times the convention isn't followed, if you see this submit an issue/PR and slap me on the wrist :)). Any PR/issue at this time will not be rejected but may have some alternation to the code.
If you are submitting a plugin, please also submit the relevant documentation.

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||a.parseDocument()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(3)),a=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var u=t.Modal=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.style=r.config.get("style"),r.root=r.config.get("root"),r.root.classList.contains("modal")||r.root.classList.add("modal"),r.parent?r.parent.appendChild(r.root):r.root.parentNode?r.parent=r.root.parentNode:(r.parent=document.body,r.parent.appendChild(r.root)),r.background=o.default.findOrCreateElement(".modal-background",r.root),r.content="card"===r.style?o.default.findOrCreateElement(".modal-card",r.root):o.default.findOrCreateElement(".modal-content",r.root),r.closable=r.config.get("closable"),r.body=r.config.get("body"),r.title=r.config.get("title"),r.config.get("bodyUrl")?o.default.ajax(r.config.get("bodyUrl")).then((function(e){r.body=e,r.buildModal()})):r.buildModal(),(0,o.default)(r.root).data("modal",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{style:"card",closable:!0}}}]),r(t,[{key:"buildModal",value:function(){"card"===this.style?this.createCardStructure():this.content.innerHTML||(this.content.innerHTML=this.body),this.closable&&(this.closeButton="card"===this.style?o.default.findOrCreateElement(".delete",this.header,"button"):o.default.findOrCreateElement(".modal-close",this.root,"button")),"card"===this.style&&this.createButtons(),this.setupEvents()}},{key:"createCardStructure",value:function(){this.header=o.default.findOrCreateElement(".modal-card-head",this.content,"header"),this.headerTitle=o.default.findOrCreateElement(".modal-card-title",this.header,"p"),this.headerTitle.innerHTML||(this.headerTitle.innerHTML=this.title),this.cardBody=o.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=o.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"setupEvents",value:function(){var e=this;this.closable&&(this.closeButton.addEventListener("click",this.close.bind(this)),this.keyupListenerBound=function(t){return e.keyupListener(t)},document.addEventListener("keyup",this.keyupListenerBound),this.background.addEventListener("click",this.close.bind(this)))}},{key:"createButtons",value:function(){var e=this.config.get("buttons",[]),t=this;o.default.each(e,(function(e){var n=o.default.createElement("button",e.classes);n.innerHTML=e.label,n.addEventListener("click",(function(t){e.onClick(t)})),t.footer.appendChild(n)}))}},{key:"open",value:function(){this.root.classList.add("is-active"),document.documentElement.classList.add("is-clipped"),this.trigger("open")}},{key:"close",value:function(){this.root.classList.remove("is-active"),document.documentElement.classList.remove("is-clipped"),this.trigger("close")}},{key:"keyupListener",value:function(e){if(this.root.classList.contains("is-active")){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||this.close()}}},{key:"destroy",value:function(){(function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.root.remove(),this.parent=null,this.root=null,this.background=null,this.content=null,"card"===this.style&&(this.header=null,this.headerTitle=null,this.cardBody=null,this.footer=null),this.closable&&(this.closeButton=null,document.removeEventListener("keyup",this.keyupListenerBound)),this.config.gets=[],this.trigger("destroyed")}}]),t}(i.default);o.default.registerPlugin("modal",u),t.default=o.default},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),u=(r=a)&&r.__esModule?r:{default:r},l=n(5);var s=t.Alert=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root.classList.add("alert"),(0,u.default)(r.root).data("alert",r),r.trigger("init"),r.open(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{type:"info",title:"",body:"",confirm:"Okay",cancel:null,style:"card",parent:document.body,showHeader:!0}}}]),i(t,[{key:"createCardStructure",value:function(){if(this.config.get("showHeader")){this.header=u.default.findOrCreateElement(".modal-card-head",this.content,"header",["modal-card-head","has-background-"+this.config.get("type")]);var e="warning"==this.config.get("type")?"black":"white";this.headerTitle=u.default.createElement("p",["modal-card-title","has-text-"+e]),this.headerTitle.innerHTML=this.title,this.header.appendChild(this.headerTitle)}this.cardBody=u.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=u.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"createButtons",value:function(){var e=this,t={close:!0,destroy:!0,onClick:function(){}},n=this.config.get("confirm");"string"==typeof n&&(n={label:n,classes:[]}),n=o({},t,n);var r=u.default.createElement("button",["button","is-"+this.config.get("type")].concat(n.classes));if(r.innerHTML=n.label,r.addEventListener("click",(function(t){n.onClick(t),n.close&&e.close(),n.destroy&&e.destroy()})),this.footer.appendChild(r),this.config.get("cancel")){var i=this.config.get("cancel");"string"==typeof i&&(i={label:i,classes:[]}),i=o({},t,i);var a=u.default.createElement("button",["button"].concat(i.classes));a.innerHTML=i.label,a.addEventListener("click",(function(t){i.onClick(t),i.close&&e.close(),i.destroy&&e.destroy()})),this.footer.appendChild(a)}}}]),t}(l.Modal);u.default.registerPlugin("alert",s),t.default=u.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){o.status>=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=l(n(3)),a=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return o(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();r.uid=1,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var l=t.Modal=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.style=o.config.get("style"),o.root=o.config.get("root"),o.root.classList.contains("modal")||o.root.classList.add("modal"),o.parent?o.parent.appendChild(o.root):o.root.parentNode?o.parent=o.root.parentNode:(o.parent=document.body,o.parent.appendChild(o.root)),o.background=r.default.findOrCreateElement(".modal-background",o.root),o.content="card"===o.style?r.default.findOrCreateElement(".modal-card",o.root):r.default.findOrCreateElement(".modal-content",o.root),o.closable=o.config.get("closable"),o.body=o.config.get("body"),o.title=o.config.get("title"),o.config.get("bodyUrl")?r.default.ajax(o.config.get("bodyUrl")).then((function(e){o.body=e,o.buildModal()})):o.buildModal(),(0,r.default)(o.root).data("modal",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{style:"card",closable:!0}}}]),o(t,[{key:"buildModal",value:function(){"card"===this.style?this.createCardStructure():this.content.innerHTML||(this.content.innerHTML=this.body),this.closable&&(this.closeButton="card"===this.style?r.default.findOrCreateElement(".delete",this.header,"button"):r.default.findOrCreateElement(".modal-close",this.root,"button")),"card"===this.style&&this.createButtons(),this.setupEvents()}},{key:"createCardStructure",value:function(){this.header=r.default.findOrCreateElement(".modal-card-head",this.content,"header"),this.headerTitle=r.default.findOrCreateElement(".modal-card-title",this.header,"p"),this.headerTitle.innerHTML||(this.headerTitle.innerHTML=this.title),this.cardBody=r.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=r.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"setupEvents",value:function(){var e=this;this.closable&&(this.closeButton.addEventListener("click",this.close.bind(this)),this.keyupListenerBound=function(t){return e.keyupListener(t)},document.addEventListener("keyup",this.keyupListenerBound),this.background.addEventListener("click",this.close.bind(this)))}},{key:"createButtons",value:function(){var e=this.config.get("buttons",[]),t=this;r.default.each(e,(function(e){var n=r.default.createElement("button",e.classes);n.innerHTML=e.label,n.addEventListener("click",(function(t){e.onClick(t)})),t.footer.appendChild(n)}))}},{key:"open",value:function(){this.root.classList.add("is-active"),document.documentElement.classList.add("is-clipped"),this.trigger("open")}},{key:"close",value:function(){this.root.classList.remove("is-active"),document.documentElement.classList.remove("is-clipped"),this.trigger("close")}},{key:"keyupListener",value:function(e){if(this.root.classList.contains("is-active")){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||this.close()}}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.root.remove(),this.parent=null,this.root=null,this.background=null,this.content=null,"card"===this.style&&(this.header=null,this.headerTitle=null,this.cardBody=null,this.footer=null),this.closable&&(this.closeButton=null,document.removeEventListener("keyup",this.keyupListenerBound)),this.config.gets=[],this.trigger("destroyed")}}]),t}(i.default);r.default.registerPlugin("modal",l),t.default=r.default},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=void 0;var o,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=n(0),l=(o=a)&&o.__esModule?o:{default:o},u=n(5);var s=t.Alert=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root.classList.add("alert"),(0,l.default)(o.root).data("alert",o),o.trigger("init"),o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{type:"info",title:"",body:"",confirm:"Okay",cancel:null,style:"card",parent:document.body,showHeader:!0}}}]),i(t,[{key:"createCardStructure",value:function(){if(this.config.get("showHeader")){this.header=l.default.findOrCreateElement(".modal-card-head",this.content,"header",["modal-card-head","has-background-"+this.config.get("type")]);var e="warning"==this.config.get("type")?"black":"white";this.headerTitle=l.default.createElement("p",["modal-card-title","has-text-"+e]),this.headerTitle.innerHTML=this.title,this.header.appendChild(this.headerTitle)}this.cardBody=l.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=l.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"createButtons",value:function(){var e=this,t={close:!0,destroy:!0,onClick:function(){}},n=this.config.get("confirm");"string"==typeof n&&(n={label:n,classes:[]}),n=r({},t,n);var o=l.default.createElement("button",["button","is-"+this.config.get("type")].concat(n.classes));if(o.innerHTML=n.label,o.addEventListener("click",(function(t){n.onClick(t),n.close&&e.close(),n.destroy&&e.destroy()})),this.footer.appendChild(o),this.config.get("cancel")){var i=this.config.get("cancel");"string"==typeof i&&(i={label:i,classes:[]}),i=r({},t,i);var a=l.default.createElement("button",["button"].concat(i.classes));a.innerHTML=i.label,a.addEventListener("click",(function(t){i.onClick(t),i.close&&e.close(),i.destroy&&e.destroy()})),this.footer.appendChild(a)}}}]),t}(u.Modal);l.default.registerPlugin("alert",s),t.default=l.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){o.status>=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||a.parseDocument()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(3)),a=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return o(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();r.uid=1,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o._elem.classList.contains(e)||(n.parent=o,o=null);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,o));return i.name=e,i.body=i.config.get("body"),i.color=i.config.get("color"),i.dismissInterval=i.config.get("dismissInterval")?i.createDismissInterval(i.config.get("dismissInterval")):null,i.isDismissable=i.config.get("isDismissable"),i.destroyOnDismiss=i.config.get("destroyOnDismiss"),i.parent instanceof r.default||(i.parent=(0,r.default)(i.parent)),i.root=i.config.get("root",i.createRootElement.bind(i)),i.closeButton=i.config.get("closeButton",i.createCloseButton()),i.body&&i.insertBody(),i.color&&i.setColor(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"defaultConfig",value:function(){return{isDismissable:!1,destroyOnDismiss:!0,element:null}}}]),o(t,[{key:"createRootElement",value:function(){var e=document.createElement("div");return e.classList.add(this.name,"is-hidden"),e.setAttribute("data-bulma-attached","attached"),this.parent.getElement().appendChild(e),e}},{key:"show",value:function(){this.root.classList.remove("is-hidden")}},{key:"hide",value:function(){this.root.classList.add("is-hidden")}},{key:"insertBody",value:function(){this.root.innerHTML=this.body}},{key:"createCloseButton",value:function(){var e=document.createElement("button");return e.setAttribute("type","button"),e.classList.add("delete"),e}},{key:"createDismissInterval",value:function(e){var t=this;return setInterval((function(){t.handleCloseEvent()}),e)}},{key:"prependCloseButton",value:function(){this.root.insertBefore(this.closeButton,this.root.firstChild)}},{key:"setupCloseEvent",value:function(){this.closeButton.addEventListener("click",this.handleCloseEvent.bind(this))}},{key:"handleCloseEvent",value:function(){this.trigger("dismissed"),this.destroyOnDismiss?this.destroy():this.hide(),this.trigger("close")}},{key:"setColor",value:function(){this.root.classList.add("is-"+this.color)}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.closeButton&&this.closeButton.removeEventListener("click",this.handleCloseEvent.bind(this)),clearInterval(this.dismissInterval),this.parent.getElement().removeChild(this.root),this.parent=null,this.root=null,this.trigger("destroyed")}}]),t}(i(n(1)).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Modal=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.style=o.config.get("style"),o.root=o.config.get("root"),o.root.classList.contains("modal")||o.root.classList.add("modal"),o.parent?o.parent.appendChild(o.root):o.root.parentNode?o.parent=o.root.parentNode:(o.parent=document.body,o.parent.appendChild(o.root)),o.background=r.default.findOrCreateElement(".modal-background",o.root),o.content="card"===o.style?r.default.findOrCreateElement(".modal-card",o.root):r.default.findOrCreateElement(".modal-content",o.root),o.closable=o.config.get("closable"),o.body=o.config.get("body"),o.title=o.config.get("title"),o.config.get("bodyUrl")?r.default.ajax(o.config.get("bodyUrl")).then((function(e){o.body=e,o.buildModal()})):o.buildModal(),(0,r.default)(o.root).data("modal",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{style:"card",closable:!0}}}]),o(t,[{key:"buildModal",value:function(){"card"===this.style?this.createCardStructure():this.content.innerHTML||(this.content.innerHTML=this.body),this.closable&&(this.closeButton="card"===this.style?r.default.findOrCreateElement(".delete",this.header,"button"):r.default.findOrCreateElement(".modal-close",this.root,"button")),"card"===this.style&&this.createButtons(),this.setupEvents()}},{key:"createCardStructure",value:function(){this.header=r.default.findOrCreateElement(".modal-card-head",this.content,"header"),this.headerTitle=r.default.findOrCreateElement(".modal-card-title",this.header,"p"),this.headerTitle.innerHTML||(this.headerTitle.innerHTML=this.title),this.cardBody=r.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=r.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"setupEvents",value:function(){var e=this;this.closable&&(this.closeButton.addEventListener("click",this.close.bind(this)),this.keyupListenerBound=function(t){return e.keyupListener(t)},document.addEventListener("keyup",this.keyupListenerBound),this.background.addEventListener("click",this.close.bind(this)))}},{key:"createButtons",value:function(){var e=this.config.get("buttons",[]),t=this;r.default.each(e,(function(e){var n=r.default.createElement("button",e.classes);n.innerHTML=e.label,n.addEventListener("click",(function(t){e.onClick(t)})),t.footer.appendChild(n)}))}},{key:"open",value:function(){this.root.classList.add("is-active"),document.documentElement.classList.add("is-clipped"),this.trigger("open")}},{key:"close",value:function(){this.root.classList.remove("is-active"),document.documentElement.classList.remove("is-clipped"),this.trigger("close")}},{key:"keyupListener",value:function(e){if(this.root.classList.contains("is-active")){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||this.close()}}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.root.remove(),this.parent=null,this.root=null,this.background=null,this.content=null,"card"===this.style&&(this.header=null,this.headerTitle=null,this.cardBody=null,this.footer=null),this.closable&&(this.closeButton=null,document.removeEventListener("keyup",this.keyupListenerBound)),this.config.gets=[],this.trigger("destroyed")}}]),t}(i.default);r.default.registerPlugin("modal",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(4));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Notification=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"notification",e,n));return o.isDismissable&&(o.config.has("closeButton")||o.prependCloseButton(),o.setupCloseEvent()),(0,r.default)(o.root).data("notification",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".notification");r.default.each(t,(function(e){var t=(0,r.default)(e);if(!t.data("notification")){var n=e.querySelector(".delete");t.notification({body:null,closeButton:n,isDismissable:!!n,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}}))}}]),t}(i.default);r.default.registerPlugin("notification",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Navbar=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Navbar=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return null===o.parent&&(o.parent=o.config.get("root").parentNode),o.root=o.config.get("root"),o.triggerElement=o.root.querySelector(".navbar-burger"),o.target=o.root.querySelector(".navbar-menu"),o.sticky=!!o.config.get("sticky"),o.stickyOffset=parseInt(o.config.get("stickyOffset")),o.hideOnScroll=!!o.config.get("hideOnScroll"),o.tolerance=parseInt(o.config.get("tolerance")),o.shadow=!!o.config.get("shadow"),o.hideOffset=parseInt(o.config.get("hideOffset",Math.max(o.root.scrollHeight,o.stickyOffset))),o.lastScrollY=0,o.handleScroll=o.handleScroll.bind(o),(0,r.default)(o.root).data("navbar",o),o.registerEvents(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".navbar");r.default.each(t,(function(e){(0,r.default)(e).navbar({sticky:!!e.hasAttribute("data-sticky"),stickyOffset:e.hasAttribute("data-sticky-offset")?e.getAttribute("data-sticky-offset"):0,hideOnScroll:!!e.hasAttribute("data-hide-on-scroll"),tolerance:e.hasAttribute("data-tolerance")?e.getAttribute("data-tolerance"):0,hideOffset:e.hasAttribute("data-hide-offset")?e.getAttribute("data-hide-offset"):null,shadow:!!e.hasAttribute("data-sticky-shadow")})}))}},{key:"defaultconfig",value:function(){return{sticky:!1,stickyOffset:0,hideOnScroll:!1,tolerance:0,hideOffset:null,shadow:!1}}}]),o(t,[{key:"registerEvents",value:function(){this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this)),this.sticky&&this.enableSticky()}},{key:"handleTriggerClick",value:function(){this.target.classList.contains("is-active")?(this.target.classList.remove("is-active"),this.triggerElement.classList.remove("is-active")):(this.target.classList.add("is-active"),this.triggerElement.classList.add("is-active"))}},{key:"handleScroll",value:function(){this.toggleSticky(window.pageYOffset)}},{key:"enableSticky",value:function(){window.addEventListener("scroll",this.handleScroll),this.root.setAttribute("data-sticky",""),this.sticky=!0}},{key:"disableSticky",value:function(){window.removeEventListener("scroll",this.handleScroll),this.root.removeAttribute("data-sticky"),this.sticky=!1}},{key:"enableHideOnScroll",value:function(){this.sticky||this.enableSticky(),this.root.setAttribute("data-hide-on-scroll",""),this.hideOnScroll=!0}},{key:"disableHideOnScroll",value:function(){this.root.removeAttribute("data-hide-on-scroll"),this.hideOnScroll=!1,this.root.classList.remove("is-hidden-scroll")}},{key:"toggleSticky",value:function(e){if(e>this.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var t=this.calculateScrollDirection(e,this.lastScrollY),n=this.difference(e,this.lastScrollY)>=this.tolerance;if("down"===t){var o=e>this.hideOffset;n&&o&&this.root.classList.add("is-hidden-scroll")}else{var r=e<this.hideOffset;(n||r)&&this.root.classList.remove("is-hidden-scroll")}this.lastScrollY=e}}},{key:"difference",value:function(e,t){return e>t?e-t:t-e}},{key:"calculateScrollDirection",value:function(e,t){return e>=t?"down":"up"}}]),t}(i.default);r.default.registerPlugin("navbar",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(4));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Message=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"message",e,n));return o.size=o.config.get("size"),o.title=o.config.get("title"),o.title&&o.createMessageHeader(),o.isDismissable&&(o.config.get("closeButton")||o.prependCloseButton(),o.setupCloseEvent()),o.size&&o.setSize(),(0,r.default)(o.root).data("message",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".message");r.default.each(t,(function(e){var t=e.querySelector(".delete");(0,r.default)(e).message({body:null,closeButton:t,isDismissable:!!t,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}))}}]),o(t,[{key:"createMessageHeader",value:function(){var e=document.createElement("div");e.classList.add("message-header"),e.innerHTML="<p>"+this.title+"</p>",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(i.default);r.default.registerPlugin("message",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Dropdown=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.triggerElement=o.root.querySelector(".dropdown-trigger"),o.registerEvents(),(0,r.default)(o.root).data("dropdown",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".dropdown");r.default.each(t,(function(e){(0,r.default)(e).dropdown()}))}}]),o(t,[{key:"registerEvents",value:function(){this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this))}},{key:"handleTriggerClick",value:function(){this.root.classList.contains("is-active")?(this.root.classList.remove("is-active"),this.trigger("close")):(this.root.classList.add("is-active"),this.trigger("open"))}}]),t}(i.default);r.default.registerPlugin("dropdown",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=void 0;var o,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=n(0),s=(o=a)&&o.__esModule?o:{default:o},l=n(5);var u=t.Alert=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root.classList.add("alert"),(0,s.default)(o.root).data("alert",o),o.trigger("init"),o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{type:"info",title:"",body:"",confirm:"Okay",cancel:null,style:"card",parent:document.body,showHeader:!0}}}]),i(t,[{key:"createCardStructure",value:function(){if(this.config.get("showHeader")){this.header=s.default.findOrCreateElement(".modal-card-head",this.content,"header",["modal-card-head","has-background-"+this.config.get("type")]);var e="warning"==this.config.get("type")?"black":"white";this.headerTitle=s.default.createElement("p",["modal-card-title","has-text-"+e]),this.headerTitle.innerHTML=this.title,this.header.appendChild(this.headerTitle)}this.cardBody=s.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=s.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"createButtons",value:function(){var e=this,t={close:!0,destroy:!0,onClick:function(){}},n=this.config.get("confirm");"string"==typeof n&&(n={label:n,classes:[]}),n=r({},t,n);var o=s.default.createElement("button",["button","is-"+this.config.get("type")].concat(n.classes));if(o.innerHTML=n.label,o.addEventListener("click",(function(t){n.onClick(t),n.close&&e.close(),n.destroy&&e.destroy()})),this.footer.appendChild(o),this.config.get("cancel")){var i=this.config.get("cancel");"string"==typeof i&&(i={label:i,classes:[]}),i=r({},t,i);var a=s.default.createElement("button",["button"].concat(i.classes));a.innerHTML=i.label,a.addEventListener("click",(function(t){i.onClick(t),i.close&&e.close(),i.destroy&&e.destroy()})),this.footer.appendChild(a)}}}]),t}(l.Modal);s.default.registerPlugin("alert",u),t.default=s.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.File=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.input=o.root.querySelector("input"),o.filename=o.root.querySelector(".file-name"),o.registerEvents(),(0,r.default)(o.root).data("file",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".file");r.default.each(t,(function(e){(0,r.default)(e).file()}))}}]),o(t,[{key:"registerEvents",value:function(){var e=this;this.filename&&this.input.addEventListener("change",this.handleTriggerChange.bind(this)),this.root.addEventListener("dragover",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("dragleave",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("drop",(function(t){t.preventDefault(),e.removeHoverClass(),e.input.files=t.dataTransfer.files}))}},{key:"handleTriggerChange",value:function(e){0===e.target.files.length&&this.clearFileName(),1===e.target.files.length&&this.setFileName(e.target.files[0].name),e.target.files.length>1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(i.default);r.default.registerPlugin("file",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Tabs=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.hover=o.config.get("hover"),o.nav=o.findNav(),o.navItems=o.findNavItems(),o.content=o.findContent(),o.contentItems=o.findContentItems(),o.setupNavEvents(),(0,r.default)(o.root).data("tabs",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".tabs-wrapper");r.default.each(t,(function(e){(0,r.default)(e).tabs({hover:!!e.hasAttribute("data-hover")})}))}},{key:"defaultConfig",value:function(){return{hover:!1}}}]),o(t,[{key:"findNav",value:function(){return this.root.querySelector(".tabs")}},{key:"findNavItems",value:function(){return this.nav.querySelectorAll("li")}},{key:"findContent",value:function(){return this.root.querySelector(".tabs-content")}},{key:"findContentItems",value:function(){return this.root.querySelectorAll(".tabs-content > ul > li")}},{key:"setupNavEvents",value:function(){var e=this;r.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){r.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),r.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(i.default);r.default.registerPlugin("tabs",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o};n(6),n(7),n(8),n(9),n(5),n(10),n(11),n(12);t.default=i.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){o.status>=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(3)),a=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return o(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();r.uid=1,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o._elem.classList.contains(e)||(n.parent=o,o=null);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,o));return i.name=e,i.body=i.config.get("body"),i.color=i.config.get("color"),i.dismissInterval=i.config.get("dismissInterval")?i.createDismissInterval(i.config.get("dismissInterval")):null,i.isDismissable=i.config.get("isDismissable"),i.destroyOnDismiss=i.config.get("destroyOnDismiss"),i.parent instanceof r.default||(i.parent=(0,r.default)(i.parent)),i.root=i.config.get("root",i.createRootElement.bind(i)),i.closeButton=i.config.get("closeButton",i.createCloseButton()),i.body&&i.insertBody(),i.color&&i.setColor(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"defaultConfig",value:function(){return{isDismissable:!1,destroyOnDismiss:!0,element:null}}}]),o(t,[{key:"createRootElement",value:function(){var e=document.createElement("div");return e.classList.add(this.name,"is-hidden"),e.setAttribute("data-bulma-attached","attached"),this.parent.getElement().appendChild(e),e}},{key:"show",value:function(){this.root.classList.remove("is-hidden")}},{key:"hide",value:function(){this.root.classList.add("is-hidden")}},{key:"insertBody",value:function(){this.root.innerHTML=this.body}},{key:"createCloseButton",value:function(){var e=document.createElement("button");return e.setAttribute("type","button"),e.classList.add("delete"),e}},{key:"createDismissInterval",value:function(e){var t=this;return setInterval((function(){t.handleCloseEvent()}),e)}},{key:"prependCloseButton",value:function(){this.root.insertBefore(this.closeButton,this.root.firstChild)}},{key:"setupCloseEvent",value:function(){this.closeButton.addEventListener("click",this.handleCloseEvent.bind(this))}},{key:"handleCloseEvent",value:function(){this.trigger("dismissed"),this.destroyOnDismiss?this.destroy():this.hide(),this.trigger("close")}},{key:"setColor",value:function(){this.root.classList.add("is-"+this.color)}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.closeButton&&this.closeButton.removeEventListener("click",this.handleCloseEvent.bind(this)),clearInterval(this.dismissInterval),this.parent.getElement().removeChild(this.root),this.parent=null,this.root=null,this.trigger("destroyed")}}]),t}(i(n(1)).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Modal=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.style=o.config.get("style"),o.root=o.config.get("root"),o.root.classList.contains("modal")||o.root.classList.add("modal"),o.parent?o.parent.appendChild(o.root):o.root.parentNode?o.parent=o.root.parentNode:(o.parent=document.body,o.parent.appendChild(o.root)),o.background=r.default.findOrCreateElement(".modal-background",o.root),o.content="card"===o.style?r.default.findOrCreateElement(".modal-card",o.root):r.default.findOrCreateElement(".modal-content",o.root),o.closable=o.config.get("closable"),o.body=o.config.get("body"),o.title=o.config.get("title"),o.config.get("bodyUrl")?r.default.ajax(o.config.get("bodyUrl")).then((function(e){o.body=e,o.buildModal()})):o.buildModal(),(0,r.default)(o.root).data("modal",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{style:"card",closable:!0}}}]),o(t,[{key:"buildModal",value:function(){"card"===this.style?this.createCardStructure():this.content.innerHTML||(this.content.innerHTML=this.body),this.closable&&(this.closeButton="card"===this.style?r.default.findOrCreateElement(".delete",this.header,"button"):r.default.findOrCreateElement(".modal-close",this.root,"button")),"card"===this.style&&this.createButtons(),this.setupEvents()}},{key:"createCardStructure",value:function(){this.header=r.default.findOrCreateElement(".modal-card-head",this.content,"header"),this.headerTitle=r.default.findOrCreateElement(".modal-card-title",this.header,"p"),this.headerTitle.innerHTML||(this.headerTitle.innerHTML=this.title),this.cardBody=r.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=r.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"setupEvents",value:function(){var e=this;this.closable&&(this.closeButton.addEventListener("click",this.close.bind(this)),this.keyupListenerBound=function(t){return e.keyupListener(t)},document.addEventListener("keyup",this.keyupListenerBound),this.background.addEventListener("click",this.close.bind(this)))}},{key:"createButtons",value:function(){var e=this.config.get("buttons",[]),t=this;r.default.each(e,(function(e){var n=r.default.createElement("button",e.classes);n.innerHTML=e.label,n.addEventListener("click",(function(t){e.onClick(t)})),t.footer.appendChild(n)}))}},{key:"open",value:function(){this.root.classList.add("is-active"),document.documentElement.classList.add("is-clipped"),this.trigger("open")}},{key:"close",value:function(){this.root.classList.remove("is-active"),document.documentElement.classList.remove("is-clipped"),this.trigger("close")}},{key:"keyupListener",value:function(e){if(this.root.classList.contains("is-active")){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||this.close()}}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.root.remove(),this.parent=null,this.root=null,this.background=null,this.content=null,"card"===this.style&&(this.header=null,this.headerTitle=null,this.cardBody=null,this.footer=null),this.closable&&(this.closeButton=null,document.removeEventListener("keyup",this.keyupListenerBound)),this.config.gets=[],this.trigger("destroyed")}}]),t}(i.default);r.default.registerPlugin("modal",s),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(4));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.Notification=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"notification",e,n));return o.isDismissable&&(o.config.has("closeButton")||o.prependCloseButton(),o.setupCloseEvent()),(0,i.default)(o.root).data("notification",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.contains("notification")?[e]:e.querySelectorAll(".notification"),i.default.each(t,(function(e){var t=(0,i.default)(e);if(!t.data("notification")){var n=e.querySelector(".delete");t.notification({body:null,closeButton:n,isDismissable:!!n,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}}))}}]),t}(a.default);i.default.registerPlugin("notification",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Navbar=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.Navbar=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return null===o.parent&&(o.parent=o.config.get("root").parentNode),o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.triggerElement=o.root.querySelector(".navbar-burger"),o.target=o.root.querySelector(".navbar-menu"),o.sticky=!!o.config.get("sticky"),o.stickyOffset=parseInt(o.config.get("stickyOffset")),o.hideOnScroll=!!o.config.get("hideOnScroll"),o.tolerance=parseInt(o.config.get("tolerance")),o.shadow=!!o.config.get("shadow"),o.hideOffset=parseInt(o.config.get("hideOffset",Math.max(o.root.scrollHeight,o.stickyOffset))),o.lastScrollY=0,o.dropdowns=o.root.querySelectorAll(".navbar-item.has-dropdown:not(.is-hoverable)"),o.handleScroll=o.handleScroll.bind(o),(0,i.default)(o.root).data("navbar",o),o.registerEvents(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.contains("navbar")?[e]:e.querySelectorAll(".navbar"),i.default.each(t,(function(e){(0,i.default)(e).navbar({sticky:!!e.hasAttribute("data-sticky"),stickyOffset:e.hasAttribute("data-sticky-offset")?e.getAttribute("data-sticky-offset"):0,hideOnScroll:!!e.hasAttribute("data-hide-on-scroll"),tolerance:e.hasAttribute("data-tolerance")?e.getAttribute("data-tolerance"):0,hideOffset:e.hasAttribute("data-hide-offset")?e.getAttribute("data-hide-offset"):null,shadow:!!e.hasAttribute("data-sticky-shadow")})}))}},{key:"defaultconfig",value:function(){return{sticky:!1,stickyOffset:0,hideOnScroll:!1,tolerance:0,hideOffset:null,shadow:!1}}}]),r(t,[{key:"registerEvents",value:function(){var e=this;this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this)),this.sticky&&this.enableSticky(),i.default.each(this.dropdowns,(function(t){t.addEventListener("click",e.handleDropdownTrigger)}))}},{key:"handleTriggerClick",value:function(){this.target.classList.contains("is-active")?(this.target.classList.remove("is-active"),this.triggerElement.classList.remove("is-active")):(this.target.classList.add("is-active"),this.triggerElement.classList.add("is-active"))}},{key:"handleScroll",value:function(){this.toggleSticky(window.pageYOffset)}},{key:"handleDropdownTrigger",value:function(){this.classList.contains("is-active")?this.classList.remove("is-active"):this.classList.add("is-active")}},{key:"enableSticky",value:function(){window.addEventListener("scroll",this.handleScroll),this.root.setAttribute("data-sticky",""),this.sticky=!0}},{key:"disableSticky",value:function(){window.removeEventListener("scroll",this.handleScroll),this.root.removeAttribute("data-sticky"),this.sticky=!1}},{key:"enableHideOnScroll",value:function(){this.sticky||this.enableSticky(),this.root.setAttribute("data-hide-on-scroll",""),this.hideOnScroll=!0}},{key:"disableHideOnScroll",value:function(){this.root.removeAttribute("data-hide-on-scroll"),this.hideOnScroll=!1,this.root.classList.remove("is-hidden-scroll")}},{key:"toggleSticky",value:function(e){if(e>this.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var t=this.calculateScrollDirection(e,this.lastScrollY),n=this.difference(e,this.lastScrollY)>=this.tolerance;if("down"===t){var o=e>this.hideOffset;n&&o&&this.root.classList.add("is-hidden-scroll")}else{var r=e<this.hideOffset;(n||r)&&this.root.classList.remove("is-hidden-scroll")}this.lastScrollY=e}}},{key:"difference",value:function(e,t){return e>t?e-t:t-e}},{key:"calculateScrollDirection",value:function(e,t){return e>=t?"down":"up"}}]),t}(a.default);i.default.registerPlugin("navbar",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(4));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.Message=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"message",e,n));return o.size=o.config.get("size"),o.title=o.config.get("title"),o.title&&o.createMessageHeader(),o.isDismissable&&(o.config.get("closeButton")||o.prependCloseButton(),o.setupCloseEvent()),o.size&&o.setSize(),(0,i.default)(o.root).data("message",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.container(".message")?[e]:e.querySelectorAll(".message"),i.default.each(t,(function(e){var t=e.querySelector(".delete");(0,i.default)(e).message({body:null,closeButton:t,isDismissable:!!t,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}))}}]),r(t,[{key:"createMessageHeader",value:function(){var e=document.createElement("div");e.classList.add("message-header"),e.innerHTML="<p>"+this.title+"</p>",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(a.default);i.default.registerPlugin("message",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.Dropdown=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.triggerElement=o.root.querySelector(".dropdown-trigger"),o.registerEvents(),(0,i.default)(o.root).data("dropdown",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.contains("dropdown")?[e]:e.querySelectorAll(".dropdown"),i.default.each(t,(function(e){(0,i.default)(e).dropdown()}))}}]),r(t,[{key:"registerEvents",value:function(){this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this))}},{key:"handleTriggerClick",value:function(){this.root.classList.contains("is-active")?(this.root.classList.remove("is-active"),this.trigger("close")):(this.root.classList.add("is-active"),this.trigger("open"))}}]),t}(a.default);i.default.registerPlugin("dropdown",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=void 0;var o,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),a=n(0),s=(o=a)&&o.__esModule?o:{default:o},l=n(5);var u=t.Alert=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root.classList.add("alert"),(0,s.default)(o.root).data("alert",o),o.trigger("init"),o.open(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{type:"info",title:"",body:"",confirm:"Okay",cancel:null,style:"card",parent:document.body,showHeader:!0}}}]),i(t,[{key:"createCardStructure",value:function(){if(this.config.get("showHeader")){this.header=s.default.findOrCreateElement(".modal-card-head",this.content,"header",["modal-card-head","has-background-"+this.config.get("type")]);var e="warning"==this.config.get("type")?"black":"white";this.headerTitle=s.default.createElement("p",["modal-card-title","has-text-"+e]),this.headerTitle.innerHTML=this.title,this.header.appendChild(this.headerTitle)}this.cardBody=s.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=s.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"createButtons",value:function(){var e=this,t={close:!0,destroy:!0,onClick:function(){}},n=this.config.get("confirm");"string"==typeof n&&(n={label:n,classes:[]}),n=r({},t,n);var o=s.default.createElement("button",["button","is-"+this.config.get("type")].concat(n.classes));if(o.innerHTML=n.label,o.addEventListener("click",(function(t){n.onClick(t),n.close&&e.close(),n.destroy&&e.destroy()})),this.footer.appendChild(o),this.config.get("cancel")){var i=this.config.get("cancel");"string"==typeof i&&(i={label:i,classes:[]}),i=r({},t,i);var a=s.default.createElement("button",["button"].concat(i.classes));a.innerHTML=i.label,a.addEventListener("click",(function(t){i.onClick(t),i.close&&e.close(),i.destroy&&e.destroy()})),this.footer.appendChild(a)}}}]),t}(l.Modal);s.default.registerPlugin("alert",u),t.default=s.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.File=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.input=o.root.querySelector("input"),o.filename=o.root.querySelector(".file-name"),o.registerEvents(),(0,i.default)(o.root).data("file",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.contains("file")?[e]:e.querySelectorAll(".file"),i.default.each(t,(function(e){(0,i.default)(e).file()}))}}]),r(t,[{key:"registerEvents",value:function(){var e=this;this.filename&&this.input.addEventListener("change",this.handleTriggerChange.bind(this)),this.root.addEventListener("dragover",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("dragleave",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("drop",(function(t){t.preventDefault(),e.removeHoverClass(),e.input.files=t.dataTransfer.files}))}},{key:"handleTriggerChange",value:function(e){0===e.target.files.length&&this.clearFileName(),1===e.target.files.length&&this.setFileName(e.target.files[0].name),e.target.files.length>1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(a.default);i.default.registerPlugin("file",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.Tabs=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.hover=o.config.get("hover"),o.nav=o.findNav(),o.navItems=o.findNavItems(),o.content=o.findContent(),o.contentItems=o.findContentItems(),o.setupNavEvents(),(0,i.default)(o.root).data("tabs",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.has("tabs-wrapper")?[e]:e.querySelectorAll(".tabs-wrapper"),i.default.each(t,(function(e){(0,i.default)(e).tabs({hover:!!e.hasAttribute("data-hover")})}))}},{key:"defaultConfig",value:function(){return{hover:!1}}}]),r(t,[{key:"findNav",value:function(){return this.root.querySelector(".tabs")}},{key:"findNavItems",value:function(){return this.nav.querySelectorAll("li")}},{key:"findContent",value:function(){return this.root.querySelector(".tabs-content")}},{key:"findContentItems",value:function(){return this.root.querySelectorAll(".tabs-content > ul > li")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){i.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),i.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(a.default);i.default.registerPlugin("tabs",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PanelTabs=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.PanelTabs=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.root=o.config.get("root"),o.root.setAttribute("data-bulma-attached","attached"),o.nav=o.findNav(),o.navItems=o.findNavItems(),o.contentItems=o.findContentItems(),o.setupNavEvents(),(0,i.default)(o.root).data("panelTabs",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.contains("panel")?[e]:e.querySelectorAll(".panel"),i.default.each(t,(function(e){null!==e.querySelector(".panel-tabs")&&(0,i.default)(e).panelTabs()}))}},{key:"defaultConfig",value:function(){return{}}}]),r(t,[{key:"findNav",value:function(){return this.root.querySelector(".panel-tabs")}},{key:"findNavItems",value:function(){return this.nav.querySelectorAll("a")}},{key:"findContentItems",value:function(){return this.root.querySelectorAll(".panel-block[data-category]")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t){t.addEventListener("click",(function(){e.setActive(t.getAttribute("data-target"))}))}))}},{key:"setActive",value:function(e){this.navItems.forEach((function(t){t.getAttribute("data-target")===e?t.classList.add("is-active"):t.classList.remove("is-active")})),this.contentItems.forEach((function(t){t.getAttribute("data-category")===e||null===e?t.classList.remove("is-hidden"):t.classList.add("is-hidden")}))}}]),t}(a.default);i.default.registerPlugin("panelTabs",l),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(0),i=(o=r)&&o.__esModule?o:{default:o};n(6),n(7),n(8),n(9),n(5),n(10),n(11),n(12),n(13);t.default=i.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.11.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority<u.plugins[t].priority}));u.each(t,(function(t){u.plugins[t].handler.hasOwnProperty("parseDocument")?u.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},u.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return u.each(t,(function(e){n.classList.add(e)})),n},u.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},u.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||u.parseDocument()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(3)),u=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,u.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),i=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var a=t.Dropdown=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.triggerElement=r.root.querySelector(".dropdown-trigger"),r.registerEvents(),(0,o.default)(r.root).data("dropdown",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".dropdown");o.default.each(t,(function(e){(0,o.default)(e).dropdown()}))}}]),r(t,[{key:"registerEvents",value:function(){this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this))}},{key:"handleTriggerClick",value:function(){this.root.classList.contains("is-active")?(this.root.classList.remove("is-active"),this.trigger("close")):(this.root.classList.add("is-active"),this.trigger("open"))}}]),t}(i.default);o.default.registerPlugin("dropdown",a),t.default=o.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.12.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority<u.plugins[t].priority}));u.each(t,(function(t){u.plugins[t].handler.hasOwnProperty("parseDocument")?u.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},u.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return u.each(t,(function(e){n.classList.add(e)})),n},u.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},u.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(3)),u=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,u.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dropdown=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(0)),u=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var l=t.Dropdown=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.triggerElement=r.root.querySelector(".dropdown-trigger"),r.registerEvents(),(0,i.default)(r.root).data("dropdown",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===r(e.classList)&&e.classList.contains("dropdown")?[e]:e.querySelectorAll(".dropdown"),i.default.each(t,(function(e){(0,i.default)(e).dropdown()}))}}]),o(t,[{key:"registerEvents",value:function(){this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this))}},{key:"handleTriggerClick",value:function(){this.root.classList.contains("is-active")?(this.root.classList.remove("is-active"),this.trigger("close")):(this.root.classList.add("is-active"),this.trigger("open"))}}]),t}(u.default);i.default.registerPlugin("dropdown",l),t.default=i.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||a.parseDocument()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(3)),a=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var u=t.File=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.input=r.root.querySelector("input"),r.filename=r.root.querySelector(".file-name"),r.registerEvents(),(0,o.default)(r.root).data("file",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".file");o.default.each(t,(function(e){(0,o.default)(e).file()}))}}]),r(t,[{key:"registerEvents",value:function(){var e=this;this.filename&&this.input.addEventListener("change",this.handleTriggerChange.bind(this)),this.root.addEventListener("dragover",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("dragleave",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("drop",(function(t){t.preventDefault(),e.removeHoverClass(),e.input.files=t.dataTransfer.files}))}},{key:"handleTriggerChange",value:function(e){0===e.target.files.length&&this.clearFileName(),1===e.target.files.length&&this.setFileName(e.target.files[0].name),e.target.files.length>1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(i.default);o.default.registerPlugin("file",u),t.default=o.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(3)),a=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(0)),a=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=t.File=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.input=r.root.querySelector("input"),r.filename=r.root.querySelector(".file-name"),r.registerEvents(),(0,i.default)(r.root).data("file",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===r(e.classList)&&e.classList.contains("file")?[e]:e.querySelectorAll(".file"),i.default.each(t,(function(e){(0,i.default)(e).file()}))}}]),o(t,[{key:"registerEvents",value:function(){var e=this;this.filename&&this.input.addEventListener("change",this.handleTriggerChange.bind(this)),this.root.addEventListener("dragover",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("dragleave",(function(t){t.preventDefault(),e.addHoverClass()})),this.root.addEventListener("drop",(function(t){t.preventDefault(),e.removeHoverClass(),e.input.files=t.dataTransfer.files}))}},{key:"handleTriggerChange",value:function(e){0===e.target.files.length&&this.clearFileName(),1===e.target.files.length&&this.setFileName(e.target.files[0].name),e.target.files.length>1&&this.setFileName(e.target.files.length+" files"),this.trigger("changed",e)}},{key:"clearFileName",value:function(){this.filename.innerHTML=""}},{key:"getFilename",value:function(){return this.filename.innerHTML}},{key:"setFileName",value:function(e){this.filename.innerHTML=e}},{key:"addHoverClass",value:function(){this.root.classList.add("is-hovered")}},{key:"removeHoverClass",value:function(){this.root.classList.remove("is-hovered")}}]),t}(a.default);i.default.registerPlugin("file",l),t.default=i.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function s(e){return this instanceof s?e instanceof s?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(s.id)||(this._elem[s.id]=i.default.uid++),this):new s(e)}s.VERSION="0.11.0",s.id="bulma-"+(new Date).getTime(),s.cache=new i.default,s.plugins={},s.create=function(e,t){if(!e||!s.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new s.plugins[e].handler(t)},s.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");s.plugins[e]={priority:n,handler:t},s.prototype[e]=function(t){return new s.plugins[e].handler(t,this)}},s.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(s.plugins).sort((function(e,t){return s.plugins[e].priority<s.plugins[t].priority}));s.each(t,(function(t){s.plugins[t].handler.hasOwnProperty("parseDocument")?s.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},s.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return s.each(t,(function(e){n.classList.add(e)})),n},s.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=s.createElement(n,r);return t.appendChild(i),i}return o},s.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},s.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(s._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},s._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},s.prototype.data=function(e,t){return t?(s.cache.set(this._elem[s.id],e,t),this):s.cache.get(this._elem[s.id],e)},s.prototype.destroyData=function(){return s.cache.destroy(this._elem[s.id]),this},s.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||s.parseDocument()})),t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(3)),s=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(a(this,e),t.root=n instanceof s.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,s.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r._elem.classList.contains(e)||(n.parent=r,r=null);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r));return i.name=e,i.body=i.config.get("body"),i.color=i.config.get("color"),i.dismissInterval=i.config.get("dismissInterval")?i.createDismissInterval(i.config.get("dismissInterval")):null,i.isDismissable=i.config.get("isDismissable"),i.destroyOnDismiss=i.config.get("destroyOnDismiss"),i.parent instanceof o.default||(i.parent=(0,o.default)(i.parent)),i.root=i.config.get("root",i.createRootElement.bind(i)),i.closeButton=i.config.get("closeButton",i.createCloseButton()),i.body&&i.insertBody(),i.color&&i.setColor(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"defaultConfig",value:function(){return{isDismissable:!1,destroyOnDismiss:!0,element:null}}}]),r(t,[{key:"createRootElement",value:function(){var e=document.createElement("div");return e.classList.add(this.name,"is-hidden"),e.setAttribute("data-bulma-attached","attached"),this.parent.getElement().appendChild(e),e}},{key:"show",value:function(){this.root.classList.remove("is-hidden")}},{key:"hide",value:function(){this.root.classList.add("is-hidden")}},{key:"insertBody",value:function(){this.root.innerHTML=this.body}},{key:"createCloseButton",value:function(){var e=document.createElement("button");return e.setAttribute("type","button"),e.classList.add("delete"),e}},{key:"createDismissInterval",value:function(e){var t=this;return setInterval((function(){t.handleCloseEvent()}),e)}},{key:"prependCloseButton",value:function(){this.root.insertBefore(this.closeButton,this.root.firstChild)}},{key:"setupCloseEvent",value:function(){this.closeButton.addEventListener("click",this.handleCloseEvent.bind(this))}},{key:"handleCloseEvent",value:function(){this.trigger("dismissed"),this.destroyOnDismiss?this.destroy():this.hide(),this.trigger("close")}},{key:"setColor",value:function(){this.root.classList.add("is-"+this.color)}},{key:"destroy",value:function(){(function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var s=o.get;return void 0!==s?s.call(r):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.closeButton&&this.closeButton.removeEventListener("click",this.handleCloseEvent.bind(this)),clearInterval(this.dismissInterval),this.parent.getElement().removeChild(this.root),this.parent=null,this.root=null,this.trigger("destroyed")}}]),t}(i(n(1)).default);t.default=s},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(0)),i=s(n(4));function s(e){return e&&e.__esModule?e:{default:e}}var u=t.Message=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"message",e,n));return r.size=r.config.get("size"),r.title=r.config.get("title"),r.title&&r.createMessageHeader(),r.isDismissable&&(r.config.get("closeButton")||r.prependCloseButton(),r.setupCloseEvent()),r.size&&r.setSize(),(0,o.default)(r.root).data("message",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".message");o.default.each(t,(function(e){var t=e.querySelector(".delete");(0,o.default)(e).message({body:null,closeButton:t,isDismissable:!!t,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}))}}]),r(t,[{key:"createMessageHeader",value:function(){var e=document.createElement("div");e.classList.add("message-header"),e.innerHTML="<p>"+this.title+"</p>",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(i.default);o.default.registerPlugin("message",u),t.default=o.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function s(e){return this instanceof s?e instanceof s?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(s.id)||(this._elem[s.id]=i.default.uid++),this):new s(e)}s.VERSION="0.12.0",s.id="bulma-"+(new Date).getTime(),s.cache=new i.default,s.plugins={},s.create=function(e,t){if(!e||!s.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new s.plugins[e].handler(t)},s.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");s.plugins[e]={priority:n,handler:t},s.prototype[e]=function(t){return new s.plugins[e].handler(t,this)}},s.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(s.plugins).sort((function(e,t){return s.plugins[e].priority<s.plugins[t].priority}));s.each(t,(function(t){s.plugins[t].handler.hasOwnProperty("parseDocument")?s.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},s.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return s.each(t,(function(e){n.classList.add(e)})),n},s.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=s.createElement(n,o);return t.appendChild(i),i}return r},s.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},s.ajax=function(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){o.status>=200&&o.status<400?t(s._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},s._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},s.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},s.prototype.data=function(e,t){return t?(s.cache.set(this._elem[s.id],e,t),this):s.cache.get(this._elem[s.id],e)},s.prototype.destroyData=function(){return s.cache.destroy(this._elem[s.id]),this},s.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){s.getGlobalConfig("autoParseDocument",!0)&&s.parseDocument(),s.getGlobalConfig("onLoaded")&&s.getGlobalConfig("onLoaded")()})),t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=a(n(3)),s=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof s.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,s.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return o(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();r.uid=1,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o._elem.classList.contains(e)||(n.parent=o,o=null);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,o));return i.name=e,i.body=i.config.get("body"),i.color=i.config.get("color"),i.dismissInterval=i.config.get("dismissInterval")?i.createDismissInterval(i.config.get("dismissInterval")):null,i.isDismissable=i.config.get("isDismissable"),i.destroyOnDismiss=i.config.get("destroyOnDismiss"),i.parent instanceof r.default||(i.parent=(0,r.default)(i.parent)),i.root=i.config.get("root",i.createRootElement.bind(i)),i.closeButton=i.config.get("closeButton",i.createCloseButton()),i.body&&i.insertBody(),i.color&&i.setColor(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"defaultConfig",value:function(){return{isDismissable:!1,destroyOnDismiss:!0,element:null}}}]),o(t,[{key:"createRootElement",value:function(){var e=document.createElement("div");return e.classList.add(this.name,"is-hidden"),e.setAttribute("data-bulma-attached","attached"),this.parent.getElement().appendChild(e),e}},{key:"show",value:function(){this.root.classList.remove("is-hidden")}},{key:"hide",value:function(){this.root.classList.add("is-hidden")}},{key:"insertBody",value:function(){this.root.innerHTML=this.body}},{key:"createCloseButton",value:function(){var e=document.createElement("button");return e.setAttribute("type","button"),e.classList.add("delete"),e}},{key:"createDismissInterval",value:function(e){var t=this;return setInterval((function(){t.handleCloseEvent()}),e)}},{key:"prependCloseButton",value:function(){this.root.insertBefore(this.closeButton,this.root.firstChild)}},{key:"setupCloseEvent",value:function(){this.closeButton.addEventListener("click",this.handleCloseEvent.bind(this))}},{key:"handleCloseEvent",value:function(){this.trigger("dismissed"),this.destroyOnDismiss?this.destroy():this.hide(),this.trigger("close")}},{key:"setColor",value:function(){this.root.classList.add("is-"+this.color)}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.closeButton&&this.closeButton.removeEventListener("click",this.handleCloseEvent.bind(this)),clearInterval(this.dismissInterval),this.parent.getElement().removeChild(this.root),this.parent=null,this.root=null,this.trigger("destroyed")}}]),t}(i(n(1)).default);t.default=s},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=a(n(0)),s=a(n(4));function a(e){return e&&e.__esModule?e:{default:e}}var u=t.Message=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"message",e,n));return o.size=o.config.get("size"),o.title=o.config.get("title"),o.title&&o.createMessageHeader(),o.isDismissable&&(o.config.get("closeButton")||o.prependCloseButton(),o.setupCloseEvent()),o.size&&o.setSize(),(0,i.default)(o.root).data("message",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.container(".message")?[e]:e.querySelectorAll(".message"),i.default.each(t,(function(e){var t=e.querySelector(".delete");(0,i.default)(e).message({body:null,closeButton:t,isDismissable:!!t,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}))}}]),r(t,[{key:"createMessageHeader",value:function(){var e=document.createElement("div");e.classList.add("message-header"),e.innerHTML="<p>"+this.title+"</p>",this.title=e,this.root.insertBefore(this.title,this.root.firstChild)}},{key:"setSize",value:function(){this.root.classList.add("is-"+this.size)}},{key:"insertBody",value:function(){var e=document.createElement("div");e.classList.add("message-body"),e.innerHTML=this.body,this.root.appendChild(e)}},{key:"prependCloseButton",value:function(){this.title.appendChild(this.closeButton)}}]),t}(s.default);i.default.registerPlugin("message",u),t.default=i.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=a.createElement(n,r);return t.appendChild(i),i}return o},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||a.parseDocument()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=u(n(3)),a=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var u=t.Modal=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.style=r.config.get("style"),r.root=r.config.get("root"),r.root.classList.contains("modal")||r.root.classList.add("modal"),r.parent?r.parent.appendChild(r.root):r.root.parentNode?r.parent=r.root.parentNode:(r.parent=document.body,r.parent.appendChild(r.root)),r.background=o.default.findOrCreateElement(".modal-background",r.root),r.content="card"===r.style?o.default.findOrCreateElement(".modal-card",r.root):o.default.findOrCreateElement(".modal-content",r.root),r.closable=r.config.get("closable"),r.body=r.config.get("body"),r.title=r.config.get("title"),r.config.get("bodyUrl")?o.default.ajax(r.config.get("bodyUrl")).then((function(e){r.body=e,r.buildModal()})):r.buildModal(),(0,o.default)(r.root).data("modal",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{style:"card",closable:!0}}}]),r(t,[{key:"buildModal",value:function(){"card"===this.style?this.createCardStructure():this.content.innerHTML||(this.content.innerHTML=this.body),this.closable&&(this.closeButton="card"===this.style?o.default.findOrCreateElement(".delete",this.header,"button"):o.default.findOrCreateElement(".modal-close",this.root,"button")),"card"===this.style&&this.createButtons(),this.setupEvents()}},{key:"createCardStructure",value:function(){this.header=o.default.findOrCreateElement(".modal-card-head",this.content,"header"),this.headerTitle=o.default.findOrCreateElement(".modal-card-title",this.header,"p"),this.headerTitle.innerHTML||(this.headerTitle.innerHTML=this.title),this.cardBody=o.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=o.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"setupEvents",value:function(){var e=this;this.closable&&(this.closeButton.addEventListener("click",this.close.bind(this)),this.keyupListenerBound=function(t){return e.keyupListener(t)},document.addEventListener("keyup",this.keyupListenerBound),this.background.addEventListener("click",this.close.bind(this)))}},{key:"createButtons",value:function(){var e=this.config.get("buttons",[]),t=this;o.default.each(e,(function(e){var n=o.default.createElement("button",e.classes);n.innerHTML=e.label,n.addEventListener("click",(function(t){e.onClick(t)})),t.footer.appendChild(n)}))}},{key:"open",value:function(){this.root.classList.add("is-active"),document.documentElement.classList.add("is-clipped"),this.trigger("open")}},{key:"close",value:function(){this.root.classList.remove("is-active"),document.documentElement.classList.remove("is-clipped"),this.trigger("close")}},{key:"keyupListener",value:function(e){if(this.root.classList.contains("is-active")){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||this.close()}}},{key:"destroy",value:function(){(function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.root.remove(),this.parent=null,this.root=null,this.background=null,this.content=null,"card"===this.style&&(this.header=null,this.headerTitle=null,this.cardBody=null,this.footer=null),this.closable&&(this.closeButton=null,document.removeEventListener("keyup",this.keyupListenerBound)),this.config.gets=[],this.trigger("destroyed")}}]),t}(i.default);o.default.registerPlugin("modal",u),t.default=o.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(e)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=a.createElement(n,o);return t.appendChild(i),i}return r},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){o.status>=200&&o.status<400?t(a._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=u(n(3)),a=u(n(0));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return o(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();r.uid=1,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=a(n(0)),i=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var u=t.Modal=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.style=o.config.get("style"),o.root=o.config.get("root"),o.root.classList.contains("modal")||o.root.classList.add("modal"),o.parent?o.parent.appendChild(o.root):o.root.parentNode?o.parent=o.root.parentNode:(o.parent=document.body,o.parent.appendChild(o.root)),o.background=r.default.findOrCreateElement(".modal-background",o.root),o.content="card"===o.style?r.default.findOrCreateElement(".modal-card",o.root):r.default.findOrCreateElement(".modal-content",o.root),o.closable=o.config.get("closable"),o.body=o.config.get("body"),o.title=o.config.get("title"),o.config.get("bodyUrl")?r.default.ajax(o.config.get("bodyUrl")).then((function(e){o.body=e,o.buildModal()})):o.buildModal(),(0,r.default)(o.root).data("modal",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(){}},{key:"defaultConfig",value:function(){return{style:"card",closable:!0}}}]),o(t,[{key:"buildModal",value:function(){"card"===this.style?this.createCardStructure():this.content.innerHTML||(this.content.innerHTML=this.body),this.closable&&(this.closeButton="card"===this.style?r.default.findOrCreateElement(".delete",this.header,"button"):r.default.findOrCreateElement(".modal-close",this.root,"button")),"card"===this.style&&this.createButtons(),this.setupEvents()}},{key:"createCardStructure",value:function(){this.header=r.default.findOrCreateElement(".modal-card-head",this.content,"header"),this.headerTitle=r.default.findOrCreateElement(".modal-card-title",this.header,"p"),this.headerTitle.innerHTML||(this.headerTitle.innerHTML=this.title),this.cardBody=r.default.findOrCreateElement(".modal-card-body",this.content,"section"),this.cardBody.innerHTML||(this.cardBody.innerHTML=this.body),this.footer=r.default.findOrCreateElement(".modal-card-foot",this.content,"footer")}},{key:"setupEvents",value:function(){var e=this;this.closable&&(this.closeButton.addEventListener("click",this.close.bind(this)),this.keyupListenerBound=function(t){return e.keyupListener(t)},document.addEventListener("keyup",this.keyupListenerBound),this.background.addEventListener("click",this.close.bind(this)))}},{key:"createButtons",value:function(){var e=this.config.get("buttons",[]),t=this;r.default.each(e,(function(e){var n=r.default.createElement("button",e.classes);n.innerHTML=e.label,n.addEventListener("click",(function(t){e.onClick(t)})),t.footer.appendChild(n)}))}},{key:"open",value:function(){this.root.classList.add("is-active"),document.documentElement.classList.add("is-clipped"),this.trigger("open")}},{key:"close",value:function(){this.root.classList.remove("is-active"),document.documentElement.classList.remove("is-clipped"),this.trigger("close")}},{key:"keyupListener",value:function(e){if(this.root.classList.contains("is-active")){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||this.close()}}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.root.remove(),this.parent=null,this.root=null,this.background=null,this.content=null,"card"===this.style&&(this.header=null,this.headerTitle=null,this.cardBody=null,this.footer=null),this.closable&&(this.closeButton=null,document.removeEventListener("keyup",this.keyupListenerBound)),this.config.gets=[],this.trigger("destroyed")}}]),t}(i.default);r.default.registerPlugin("modal",u),t.default=r.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};function a(e){return this instanceof a?e instanceof a?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=o.default.uid++),this):new a(e)}a.VERSION="0.11.0",a.id="bulma-"+(new Date).getTime(),a.cache=new o.default,a.plugins={},a.create=function(e,t){if(!e||!a.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new a.plugins[e].handler(t)},a.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[e]={priority:n,handler:t},a.prototype[e]=function(t){return new a.plugins[e].handler(t,this)}},a.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(a.plugins).sort((function(e,t){return a.plugins[e].priority<a.plugins[t].priority}));a.each(t,(function(t){a.plugins[t].handler.hasOwnProperty("parseDocument")?a.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return a.each(t,(function(e){n.classList.add(e)})),n},a.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=t.querySelector(e);if(!i){0===r.length&&(r=e.split(".").filter((function(e){return e})));var o=a.createElement(n,r);return t.appendChild(o),o}return i},a.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},a.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},a.prototype.data=function(e,t){return t?(a.cache.set(this._elem[a.id],e,t),this):a.cache.get(this._elem[a.id],e)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||a.parseDocument()})),t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(3)),a=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(u(this,e),t.root=n instanceof a.default?n._elem:n,this.config=new o.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return i(e,null,[{key:"defaultConfig",value:function(){return{}}}]),i(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();i.uid=1,t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(o(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return i(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=a},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Navbar=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Navbar=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return null===r.parent&&(r.parent=r.config.get("root").parentNode),r.root=r.config.get("root"),r.triggerElement=r.root.querySelector(".navbar-burger"),r.target=r.root.querySelector(".navbar-menu"),r.sticky=!!r.config.get("sticky"),r.stickyOffset=parseInt(r.config.get("stickyOffset")),r.hideOnScroll=!!r.config.get("hideOnScroll"),r.tolerance=parseInt(r.config.get("tolerance")),r.shadow=!!r.config.get("shadow"),r.hideOffset=parseInt(r.config.get("hideOffset",Math.max(r.root.scrollHeight,r.stickyOffset))),r.lastScrollY=0,r.handleScroll=r.handleScroll.bind(r),(0,i.default)(r.root).data("navbar",r),r.registerEvents(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".navbar");i.default.each(t,(function(e){(0,i.default)(e).navbar({sticky:!!e.hasAttribute("data-sticky"),stickyOffset:e.hasAttribute("data-sticky-offset")?e.getAttribute("data-sticky-offset"):0,hideOnScroll:!!e.hasAttribute("data-hide-on-scroll"),tolerance:e.hasAttribute("data-tolerance")?e.getAttribute("data-tolerance"):0,hideOffset:e.hasAttribute("data-hide-offset")?e.getAttribute("data-hide-offset"):null,shadow:!!e.hasAttribute("data-sticky-shadow")})}))}},{key:"defaultconfig",value:function(){return{sticky:!1,stickyOffset:0,hideOnScroll:!1,tolerance:0,hideOffset:null,shadow:!1}}}]),r(t,[{key:"registerEvents",value:function(){this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this)),this.sticky&&this.enableSticky()}},{key:"handleTriggerClick",value:function(){this.target.classList.contains("is-active")?(this.target.classList.remove("is-active"),this.triggerElement.classList.remove("is-active")):(this.target.classList.add("is-active"),this.triggerElement.classList.add("is-active"))}},{key:"handleScroll",value:function(){this.toggleSticky(window.pageYOffset)}},{key:"enableSticky",value:function(){window.addEventListener("scroll",this.handleScroll),this.root.setAttribute("data-sticky",""),this.sticky=!0}},{key:"disableSticky",value:function(){window.removeEventListener("scroll",this.handleScroll),this.root.removeAttribute("data-sticky"),this.sticky=!1}},{key:"enableHideOnScroll",value:function(){this.sticky||this.enableSticky(),this.root.setAttribute("data-hide-on-scroll",""),this.hideOnScroll=!0}},{key:"disableHideOnScroll",value:function(){this.root.removeAttribute("data-hide-on-scroll"),this.hideOnScroll=!1,this.root.classList.remove("is-hidden-scroll")}},{key:"toggleSticky",value:function(e){if(e>this.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var t=this.calculateScrollDirection(e,this.lastScrollY),n=this.difference(e,this.lastScrollY)>=this.tolerance;if("down"===t){var r=e>this.hideOffset;n&&r&&this.root.classList.add("is-hidden-scroll")}else{var i=e<this.hideOffset;(n||i)&&this.root.classList.remove("is-hidden-scroll")}this.lastScrollY=e}}},{key:"difference",value:function(e,t){return e>t?e-t:t-e}},{key:"calculateScrollDirection",value:function(e,t){return e>=t?"down":"up"}}]),t}(o.default);i.default.registerPlugin("navbar",s),t.default=i.default}]).default}));
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Bulma",[],e):"object"==typeof exports?exports.Bulma=e():t.Bulma=e()}(window,(function(){return 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=7)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function a(t){return this instanceof a?t instanceof a?t:(t instanceof HTMLElement?this._elem=t:this._elem=document.querySelector(t),t||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(a.id)||(this._elem[a.id]=i.default.uid++),this):new a(t)}a.VERSION="0.12.0",a.id="bulma-"+(new Date).getTime(),a.cache=new i.default,a.plugins={},a.create=function(t,e){if(!t||!a.plugins.hasOwnProperty(t))throw new Error("[BulmaJS] A plugin with the key '"+t+"' has not been registered.");return new a.plugins[t].handler(e)},a.registerPlugin=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!t)throw new Error("[BulmaJS] Key attribute is required.");a.plugins[t]={priority:n,handler:e},a.prototype[t]=function(e){return new a.plugins[t].handler(e,this)}},a.parseDocument=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=Object.keys(a.plugins).sort((function(t,e){return a.plugins[t].priority<a.plugins[e].priority}));a.each(e,(function(e){a.plugins[e].handler.hasOwnProperty("parseDocument")?a.plugins[e].handler.parseDocument(t):console.error("[BulmaJS] Plugin "+e+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},a.createElement=function(t,e){e||(e=[]),"string"==typeof e&&(e=[e]);var n=document.createElement(t);return a.each(e,(function(t){n.classList.add(t)})),n},a.findOrCreateElement=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=e.querySelector(t);if(!o){0===r.length&&(r=t.split(".").filter((function(t){return t})));var i=a.createElement(n,r);return e.appendChild(i),i}return o},a.each=function(t,e){var n=void 0;for(n=0;n<t.length;n++)e(t[n],n)},a.ajax=function(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=function(){r.status>=200&&r.status<400?e(a._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},a._stripScripts=function(t){var e=document.createElement("div");e.innerHTML=t;for(var n=e.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return e.innerHTML.replace(/ +/g," ")},a.getGlobalConfig=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(t)?window.bulmaOptions[t]:e},a.prototype.data=function(t,e){return e?(a.cache.set(this._elem[a.id],t,e),this):a.cache.get(this._elem[a.id],t)},a.prototype.destroyData=function(){return a.cache.destroy(this._elem[a.id]),this},a.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){a.getGlobalConfig("autoParseDocument",!0)&&a.parseDocument(),a.getGlobalConfig("onLoaded")&&a.getGlobalConfig("onLoaded")()})),e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=s(n(3)),a=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(l(this,t),e.root=n instanceof a.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),e)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",e.root?e.root.parentNode:null),this._events={}}return o(t,null,[{key:"defaultConfig",value:function(){return{}}}]),o(t,[{key:"on",value:function(t,e){this._events.hasOwnProperty(t)||(this._events[t]=[]),this._events[t].push(e)}},{key:"trigger",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(t))for(var n=0;n<this._events[t].length;n++)this._events[t][n](e)}},{key:"destroy",value:function(){(0,a.default)(this.root).destroyData()}}]),t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._data={}}return r(t,[{key:"set",value:function(t,e,n){this._data.hasOwnProperty(t)||(this._data[t]={}),this._data[t][e]=n}},{key:"get",value:function(t,e){if(this._data.hasOwnProperty(t))return this._data[t][e]}},{key:"destroy",value:function(t){this._data.hasOwnProperty(t)&&delete this._data[t]}}]),t}();o.uid=1,e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,t),"object"!==(void 0===e?"undefined":r(e)))throw new TypeError("initialConfig must be of type object.");this._items=e}return o(t,[{key:"set",value:function(t,e){if(!t||!e)throw new Error("A key and value must be provided when setting a new option.");this._items[t]=e}},{key:"has",value:function(t){if(!t)throw new Error("A key must be provided.");return this._items.hasOwnProperty(t)&&this._items[t]}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e&&!this.has(t)?"function"==typeof e?e():e:this._items[t]}}]),t}();e.default=a},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Navbar=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=s(n(0)),a=s(n(1));function s(t){return t&&t.__esModule?t:{default:t}}var l=e.Navbar=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return null===r.parent&&(r.parent=r.config.get("root").parentNode),r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.triggerElement=r.root.querySelector(".navbar-burger"),r.target=r.root.querySelector(".navbar-menu"),r.sticky=!!r.config.get("sticky"),r.stickyOffset=parseInt(r.config.get("stickyOffset")),r.hideOnScroll=!!r.config.get("hideOnScroll"),r.tolerance=parseInt(r.config.get("tolerance")),r.shadow=!!r.config.get("shadow"),r.hideOffset=parseInt(r.config.get("hideOffset",Math.max(r.root.scrollHeight,r.stickyOffset))),r.lastScrollY=0,r.dropdowns=r.root.querySelectorAll(".navbar-item.has-dropdown:not(.is-hoverable)"),r.handleScroll=r.handleScroll.bind(r),(0,i.default)(r.root).data("navbar",r),r.registerEvents(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"parseDocument",value:function(t){var e=void 0;e="object"===r(t.classList)&&t.classList.contains("navbar")?[t]:t.querySelectorAll(".navbar"),i.default.each(e,(function(t){(0,i.default)(t).navbar({sticky:!!t.hasAttribute("data-sticky"),stickyOffset:t.hasAttribute("data-sticky-offset")?t.getAttribute("data-sticky-offset"):0,hideOnScroll:!!t.hasAttribute("data-hide-on-scroll"),tolerance:t.hasAttribute("data-tolerance")?t.getAttribute("data-tolerance"):0,hideOffset:t.hasAttribute("data-hide-offset")?t.getAttribute("data-hide-offset"):null,shadow:!!t.hasAttribute("data-sticky-shadow")})}))}},{key:"defaultconfig",value:function(){return{sticky:!1,stickyOffset:0,hideOnScroll:!1,tolerance:0,hideOffset:null,shadow:!1}}}]),o(e,[{key:"registerEvents",value:function(){var t=this;this.triggerElement.addEventListener("click",this.handleTriggerClick.bind(this)),this.sticky&&this.enableSticky(),i.default.each(this.dropdowns,(function(e){e.addEventListener("click",t.handleDropdownTrigger)}))}},{key:"handleTriggerClick",value:function(){this.target.classList.contains("is-active")?(this.target.classList.remove("is-active"),this.triggerElement.classList.remove("is-active")):(this.target.classList.add("is-active"),this.triggerElement.classList.add("is-active"))}},{key:"handleScroll",value:function(){this.toggleSticky(window.pageYOffset)}},{key:"handleDropdownTrigger",value:function(){this.classList.contains("is-active")?this.classList.remove("is-active"):this.classList.add("is-active")}},{key:"enableSticky",value:function(){window.addEventListener("scroll",this.handleScroll),this.root.setAttribute("data-sticky",""),this.sticky=!0}},{key:"disableSticky",value:function(){window.removeEventListener("scroll",this.handleScroll),this.root.removeAttribute("data-sticky"),this.sticky=!1}},{key:"enableHideOnScroll",value:function(){this.sticky||this.enableSticky(),this.root.setAttribute("data-hide-on-scroll",""),this.hideOnScroll=!0}},{key:"disableHideOnScroll",value:function(){this.root.removeAttribute("data-hide-on-scroll"),this.hideOnScroll=!1,this.root.classList.remove("is-hidden-scroll")}},{key:"toggleSticky",value:function(t){if(t>this.stickyOffset?(this.root.classList.add("is-fixed-top"),document.body.classList.add("has-navbar-fixed-top"),this.shadow&&this.root.classList.add("has-shadow")):(this.root.classList.remove("is-fixed-top"),document.body.classList.remove("has-navbar-fixed-top"),this.shadow&&this.root.classList.remove("has-shadow")),this.hideOnScroll){var e=this.calculateScrollDirection(t,this.lastScrollY),n=this.difference(t,this.lastScrollY)>=this.tolerance;if("down"===e){var r=t>this.hideOffset;n&&r&&this.root.classList.add("is-hidden-scroll")}else{var o=t<this.hideOffset;(n||o)&&this.root.classList.remove("is-hidden-scroll")}this.lastScrollY=t}}},{key:"difference",value:function(t,e){return t>e?t-e:e-t}},{key:"calculateScrollDirection",value:function(t,e){return t>=e?"down":"up"}}]),e}(a.default);i.default.registerPlugin("navbar",l),e.default=i.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.11.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority<u.plugins[t].priority}));u.each(t,(function(t){u.plugins[t].handler.hasOwnProperty("parseDocument")?u.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},u.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return u.each(t,(function(e){n.classList.add(e)})),n},u.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},u.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||u.parseDocument()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(3)),u=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,u.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r._elem.classList.contains(e)||(n.parent=r,r=null);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r));return i.name=e,i.body=i.config.get("body"),i.color=i.config.get("color"),i.dismissInterval=i.config.get("dismissInterval")?i.createDismissInterval(i.config.get("dismissInterval")):null,i.isDismissable=i.config.get("isDismissable"),i.destroyOnDismiss=i.config.get("destroyOnDismiss"),i.parent instanceof o.default||(i.parent=(0,o.default)(i.parent)),i.root=i.config.get("root",i.createRootElement.bind(i)),i.closeButton=i.config.get("closeButton",i.createCloseButton()),i.body&&i.insertBody(),i.color&&i.setColor(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"defaultConfig",value:function(){return{isDismissable:!1,destroyOnDismiss:!0,element:null}}}]),r(t,[{key:"createRootElement",value:function(){var e=document.createElement("div");return e.classList.add(this.name,"is-hidden"),e.setAttribute("data-bulma-attached","attached"),this.parent.getElement().appendChild(e),e}},{key:"show",value:function(){this.root.classList.remove("is-hidden")}},{key:"hide",value:function(){this.root.classList.add("is-hidden")}},{key:"insertBody",value:function(){this.root.innerHTML=this.body}},{key:"createCloseButton",value:function(){var e=document.createElement("button");return e.setAttribute("type","button"),e.classList.add("delete"),e}},{key:"createDismissInterval",value:function(e){var t=this;return setInterval((function(){t.handleCloseEvent()}),e)}},{key:"prependCloseButton",value:function(){this.root.insertBefore(this.closeButton,this.root.firstChild)}},{key:"setupCloseEvent",value:function(){this.closeButton.addEventListener("click",this.handleCloseEvent.bind(this))}},{key:"handleCloseEvent",value:function(){this.trigger("dismissed"),this.destroyOnDismiss?this.destroy():this.hide(),this.trigger("close")}},{key:"setColor",value:function(){this.root.classList.add("is-"+this.color)}},{key:"destroy",value:function(){(function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var u=o.get;return void 0!==u?u.call(r):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.closeButton&&this.closeButton.removeEventListener("click",this.handleCloseEvent.bind(this)),clearInterval(this.dismissInterval),this.parent.getElement().removeChild(this.root),this.parent=null,this.root=null,this.trigger("destroyed")}}]),t}(i(n(1)).default);t.default=u},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),i=u(n(4));function u(e){return e&&e.__esModule?e:{default:e}}var a=t.Notification=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"notification",e,n));return r.isDismissable&&(r.config.has("closeButton")||r.prependCloseButton(),r.setupCloseEvent()),(0,o.default)(r.root).data("notification",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".notification");o.default.each(t,(function(e){var t=(0,o.default)(e);if(!t.data("notification")){var n=e.querySelector(".delete");t.notification({body:null,closeButton:n,isDismissable:!!n,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}}))}}]),t}(i.default);o.default.registerPlugin("notification",a),t.default=o.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(2),i=(o=r)&&o.__esModule?o:{default:o};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.12.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority<u.plugins[t].priority}));u.each(t,(function(t){u.plugins[t].handler.hasOwnProperty("parseDocument")?u.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},u.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return u.each(t,(function(e){n.classList.add(e)})),n},u.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=t.querySelector(e);if(!r){0===o.length&&(o=e.split(".").filter((function(e){return e})));var i=u.createElement(n,o);return t.appendChild(i),i}return r},u.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},u.ajax=function(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){o.status>=200&&o.status<400?t(u._stripScripts(o.responseText)):n()},o.onerror=function(){return n()},o.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),o=n.length;o--;)n[o].parentNode.removeChild(n[o]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=a(n(3)),u=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(o({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return r(e,null,[{key:"defaultConfig",value:function(){return{}}}]),r(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,u.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return o(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();r.uid=1,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":o(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return r(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=i(n(0));function i(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e,n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o._elem.classList.contains(e)||(n.parent=o,o=null);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,o));return i.name=e,i.body=i.config.get("body"),i.color=i.config.get("color"),i.dismissInterval=i.config.get("dismissInterval")?i.createDismissInterval(i.config.get("dismissInterval")):null,i.isDismissable=i.config.get("isDismissable"),i.destroyOnDismiss=i.config.get("destroyOnDismiss"),i.parent instanceof r.default||(i.parent=(0,r.default)(i.parent)),i.root=i.config.get("root",i.createRootElement.bind(i)),i.closeButton=i.config.get("closeButton",i.createCloseButton()),i.body&&i.insertBody(),i.color&&i.setColor(),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"defaultConfig",value:function(){return{isDismissable:!1,destroyOnDismiss:!0,element:null}}}]),o(t,[{key:"createRootElement",value:function(){var e=document.createElement("div");return e.classList.add(this.name,"is-hidden"),e.setAttribute("data-bulma-attached","attached"),this.parent.getElement().appendChild(e),e}},{key:"show",value:function(){this.root.classList.remove("is-hidden")}},{key:"hide",value:function(){this.root.classList.add("is-hidden")}},{key:"insertBody",value:function(){this.root.innerHTML=this.body}},{key:"createCloseButton",value:function(){var e=document.createElement("button");return e.setAttribute("type","button"),e.classList.add("delete"),e}},{key:"createDismissInterval",value:function(e){var t=this;return setInterval((function(){t.handleCloseEvent()}),e)}},{key:"prependCloseButton",value:function(){this.root.insertBefore(this.closeButton,this.root.firstChild)}},{key:"setupCloseEvent",value:function(){this.closeButton.addEventListener("click",this.handleCloseEvent.bind(this))}},{key:"handleCloseEvent",value:function(){this.trigger("dismissed"),this.destroyOnDismiss?this.destroy():this.hide(),this.trigger("close")}},{key:"setColor",value:function(){this.root.classList.add("is-"+this.color)}},{key:"destroy",value:function(){(function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,o)}if("value"in r)return r.value;var u=r.get;return void 0!==u?u.call(o):void 0})(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"destroy",this).call(this),this.closeButton&&this.closeButton.removeEventListener("click",this.handleCloseEvent.bind(this)),clearInterval(this.dismissInterval),this.parent.getElement().removeChild(this.root),this.parent=null,this.root=null,this.trigger("destroyed")}}]),t}(i(n(1)).default);t.default=u},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=a(n(0)),u=a(n(4));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Notification=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"notification",e,n));return o.isDismissable&&(o.config.has("closeButton")||o.prependCloseButton(),o.setupCloseEvent()),(0,i.default)(o.root).data("notification",o),o.trigger("init"),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===o(e.classList)&&e.classList.contains("notification")?[e]:e.querySelectorAll(".notification"),i.default.each(t,(function(e){var t=(0,i.default)(e);if(!t.data("notification")){var n=e.querySelector(".delete");t.notification({body:null,closeButton:n,isDismissable:!!n,destroyOnDismiss:!0,dismissInterval:e.hasAttribute("data-dismiss-interval")?e.getAttribute("data-dismiss-interval"):null})}}))}}]),t}(u.default);i.default.registerPlugin("notification",s),t.default=i.default}]).default}));

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.11.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority<u.plugins[t].priority}));u.each(t,(function(t){u.plugins[t].handler.hasOwnProperty("parseDocument")?u.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},u.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return u.each(t,(function(e){n.classList.add(e)})),n},u.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},u.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){window.hasOwnProperty("bulmaOptions")&&!1===window.bulmaOptions.autoParseDocument||u.parseDocument()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(3)),u=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,u.default)(this.root).destroyData()}}]),e}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),i=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var a=t.Tabs=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.hover=r.config.get("hover"),r.nav=r.findNav(),r.navItems=r.findNavItems(),r.content=r.findContent(),r.contentItems=r.findContentItems(),r.setupNavEvents(),(0,o.default)(r.root).data("tabs",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,null,[{key:"parseDocument",value:function(e){var t=e.querySelectorAll(".tabs-wrapper");o.default.each(t,(function(e){(0,o.default)(e).tabs({hover:!!e.hasAttribute("data-hover")})}))}},{key:"defaultConfig",value:function(){return{hover:!1}}}]),r(t,[{key:"findNav",value:function(){return this.root.querySelector(".tabs")}},{key:"findNavItems",value:function(){return this.nav.querySelectorAll("li")}},{key:"findContent",value:function(){return this.root.querySelector(".tabs-content")}},{key:"findContentItems",value:function(){return this.root.querySelectorAll(".tabs-content > ul > li")}},{key:"setupNavEvents",value:function(){var e=this;o.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){o.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),o.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(i.default);o.default.registerPlugin("tabs",a),t.default=o.default}]).default}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Bulma",[],t):"object"==typeof exports?exports.Bulma=t():e.Bulma=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2),i=(r=o)&&r.__esModule?r:{default:r};function u(e){return this instanceof u?e instanceof u?e:(e instanceof HTMLElement?this._elem=e:this._elem=document.querySelector(e),e||(this._elem=document.createElement("div")),this._elem.hasOwnProperty(u.id)||(this._elem[u.id]=i.default.uid++),this):new u(e)}u.VERSION="0.12.0",u.id="bulma-"+(new Date).getTime(),u.cache=new i.default,u.plugins={},u.create=function(e,t){if(!e||!u.plugins.hasOwnProperty(e))throw new Error("[BulmaJS] A plugin with the key '"+e+"' has not been registered.");return new u.plugins[e].handler(t)},u.registerPlugin=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e)throw new Error("[BulmaJS] Key attribute is required.");u.plugins[e]={priority:n,handler:t},u.prototype[e]=function(t){return new u.plugins[e].handler(t,this)}},u.parseDocument=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=Object.keys(u.plugins).sort((function(e,t){return u.plugins[e].priority<u.plugins[t].priority}));u.each(t,(function(t){u.plugins[t].handler.hasOwnProperty("parseDocument")?u.plugins[t].handler.parseDocument(e):console.error("[BulmaJS] Plugin "+t+" does not have a parseDocument method. Automatic document parsing is not possible for this plugin.")}))},u.createElement=function(e,t){t||(t=[]),"string"==typeof t&&(t=[t]);var n=document.createElement(e);return u.each(t,(function(e){n.classList.add(e)})),n},u.findOrCreateElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"div",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=t.querySelector(e);if(!o){0===r.length&&(r=e.split(".").filter((function(e){return e})));var i=u.createElement(n,r);return t.appendChild(i),i}return o},u.each=function(e,t){var n=void 0;for(n=0;n<e.length;n++)t(e[n],n)},u.ajax=function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){r.status>=200&&r.status<400?t(u._stripScripts(r.responseText)):n()},r.onerror=function(){return n()},r.send()}))},u._stripScripts=function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.getElementsByTagName("script"),r=n.length;r--;)n[r].parentNode.removeChild(n[r]);return t.innerHTML.replace(/ +/g," ")},u.getGlobalConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return window.hasOwnProperty("bulmaOptions")&&window.bulmaOptions.hasOwnProperty(e)?window.bulmaOptions[e]:t},u.prototype.data=function(e,t){return t?(u.cache.set(this._elem[u.id],e,t),this):u.cache.get(this._elem[u.id],e)},u.prototype.destroyData=function(){return u.cache.destroy(this._elem[u.id]),this},u.prototype.getElement=function(){return this._elem},document.addEventListener("DOMContentLoaded",(function(){u.getGlobalConfig("autoParseDocument",!0)&&u.parseDocument(),u.getGlobalConfig("onLoaded")&&u.getGlobalConfig("onLoaded")()})),t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(3)),u=a(n(0));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(s(this,e),t.root=n instanceof u.default?n._elem:n,this.config=new i.default(r({},this.constructor.defaultConfig(),t)),!n&&!this.config.has("parent"))throw new Error("A plugin requires a root and/or a parent.");this.parent=this.config.get("parent",t.root?t.root.parentNode:null),this._events={}}return o(e,null,[{key:"defaultConfig",value:function(){return{}}}]),o(e,[{key:"on",value:function(e,t){this._events.hasOwnProperty(e)||(this._events[e]=[]),this._events[e].push(t)}},{key:"trigger",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._events.hasOwnProperty(e))for(var n=0;n<this._events[e].length;n++)this._events[e][n](t)}},{key:"destroy",value:function(){(0,u.default)(this.root).destroyData()}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data={}}return r(e,[{key:"set",value:function(e,t,n){this._data.hasOwnProperty(e)||(this._data[e]={}),this._data[e][t]=n}},{key:"get",value:function(e,t){if(this._data.hasOwnProperty(e))return this._data[e][t]}},{key:"destroy",value:function(e){this._data.hasOwnProperty(e)&&delete this._data[e]}}]),e}();o.uid=1,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(i(this,e),"object"!==(void 0===t?"undefined":r(t)))throw new TypeError("initialConfig must be of type object.");this._items=t}return o(e,[{key:"set",value:function(e,t){if(!e||!t)throw new Error("A key and value must be provided when setting a new option.");this._items[e]=t}},{key:"has",value:function(e){if(!e)throw new Error("A key must be provided.");return this._items.hasOwnProperty(e)&&this._items[e]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t&&!this.has(e)?"function"==typeof t?t():t:this._items[e]}}]),e}();t.default=u},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(0)),u=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.Tabs=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.root=r.config.get("root"),r.root.setAttribute("data-bulma-attached","attached"),r.hover=r.config.get("hover"),r.nav=r.findNav(),r.navItems=r.findNavItems(),r.content=r.findContent(),r.contentItems=r.findContentItems(),r.setupNavEvents(),(0,i.default)(r.root).data("tabs",r),r.trigger("init"),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"parseDocument",value:function(e){var t=void 0;t="object"===r(e.classList)&&e.classList.has("tabs-wrapper")?[e]:e.querySelectorAll(".tabs-wrapper"),i.default.each(t,(function(e){(0,i.default)(e).tabs({hover:!!e.hasAttribute("data-hover")})}))}},{key:"defaultConfig",value:function(){return{hover:!1}}}]),o(t,[{key:"findNav",value:function(){return this.root.querySelector(".tabs")}},{key:"findNavItems",value:function(){return this.nav.querySelectorAll("li")}},{key:"findContent",value:function(){return this.root.querySelector(".tabs-content")}},{key:"findContentItems",value:function(){return this.root.querySelectorAll(".tabs-content > ul > li")}},{key:"setupNavEvents",value:function(){var e=this;i.default.each(this.navItems,(function(t,n){t.addEventListener("click",(function(){e.setActive(n)})),e.hover&&t.addEventListener("mouseover",(function(){e.setActive(n)}))}))}},{key:"setActive",value:function(e){i.default.each(this.navItems,(function(e){e.classList.remove("is-active")})),i.default.each(this.contentItems,(function(e){e.classList.remove("is-active")})),this.navItems[e].classList.add("is-active"),this.contentItems[e].classList.add("is-active")}}]),t}(u.default);i.default.registerPlugin("tabs",s),t.default=i.default}]).default}));
{
"name": "@vizuaalog/bulmajs",
"version": "0.11.0",
"description": "Unofficial javascript extension to the awesome Bulma CSS framework.",
"main": "src/bulma.js",
"author": "Thomas Erbe <vizuaalog@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/VizuaaLOG/BulmaJS.git"
},
"bugs": {
"url": "https://github.com/VizuaaLOG/BulmaJS/issues"
},
"homepage": "https://github.com/VizuaaLOG/BulmaJS",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"bulma": "^0.7.1",
"eslint": "^4.19.0",
"node-qunit-puppeteer": "^1.0.12",
"webpack": "^4.20.0",
"webpack-cli": "^3.1.1",
"webpack-glob-entry": "^2.1.1"
},
"scripts": {
"lint": "eslint 'src/**'",
"dev": "webpack --config webpack.config.js --mode development",
"production": "webpack --config webpack.config.js --mode production",
"watch": "webpack --config webpack.config.js --mode development --watch",
"test": "node-qunit-puppeteer ./tests/test-runner.html 10000 '--allow-file-access-from-files --no-sandbox'"
}
}
"name": "@vizuaalog/bulmajs",
"version": "0.12.0",
"description": "Unofficial javascript extension to the awesome Bulma CSS framework.",
"main": "src/bulma.js",
"author": "Thomas Erbe <vizuaalog@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/VizuaaLOG/BulmaJS.git"
},
"bugs": {
"url": "https://github.com/VizuaaLOG/BulmaJS/issues"
},
"homepage": "https://github.com/VizuaaLOG/BulmaJS",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"bulma": "^0.7.1",
"eslint": "^4.19.0",
"node-qunit-puppeteer": "^1.0.12",
"webpack": "^4.20.0",
"webpack-cli": "^3.1.1",
"webpack-glob-entry": "^2.1.1"
},
"scripts": {
"lint": "eslint 'src/**'",
"dev": "webpack --config webpack.config.js --mode development",
"production": "webpack --config webpack.config.js --mode production",
"watch": "webpack --config webpack.config.js --mode development --watch",
"test": "node-qunit-puppeteer ./tests/test-runner.html 10000 '--allow-file-access-from-files --no-sandbox'"
}
}

@@ -0,0 +0,0 @@ **IMPORTANT: Please do not create a Pull Request without creating an issue first.**

BulmaJS
========
![npm](https://img.shields.io/npm/v/@vizuaalog/bulmajs)
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/VizuaaLOG/BulmaJS)
[![Build Status](https://travis-ci.org/VizuaaLOG/BulmaJS.svg?branch=master)](https://travis-ci.org/VizuaaLOG/BulmaJS)
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
[![GitHub license](https://img.shields.io/github/license/VizuaaLOG/BulmaJS)](https://github.com/VizuaaLOG/BulmaJS/blob/master/LICENSE)

@@ -6,0 +9,0 @@ This is an unofficial JavaScript extension for the [Bulma CSS framework](http://bulma.io).

@@ -12,3 +12,4 @@ /* eslint no-unused-vars: 0 */

import { Tabs } from './plugins/tabs';
import { PanelTabs } from './plugins/panelTabs';
export default Bulma;

@@ -45,3 +45,3 @@ /**

* @param {string} key
* @param {mixed} defaultValue
* @param {mixed} defaultValue
* @returns {mixed}

@@ -48,0 +48,0 @@ */

@@ -8,11 +8,11 @@ import Data from './Data';

function Bulma(selector) {
if(! (this instanceof Bulma)) {
if (!(this instanceof Bulma)) {
return new Bulma(selector);
}
if(selector instanceof Bulma) {
if (selector instanceof Bulma) {
return selector;
}
if(selector instanceof HTMLElement) {
if (selector instanceof HTMLElement) {
this._elem = selector;

@@ -23,7 +23,7 @@ } else {

if(!selector) {
if (!selector) {
this._elem = document.createElement('div');
}
if(!this._elem.hasOwnProperty(Bulma.id)) {
if (!this._elem.hasOwnProperty(Bulma.id)) {
this._elem[Bulma.id] = Data.uid++;

@@ -39,3 +39,3 @@ }

*/
Bulma.VERSION = '0.11.0';
Bulma.VERSION = '0.12.0';

@@ -67,4 +67,4 @@ /**

Bulma.create = (key, config) => {
if(!key || !Bulma.plugins.hasOwnProperty(key)) {
throw new Error('[BulmaJS] A plugin with the key \''+key+'\' has not been registered.');
if (!key || !Bulma.plugins.hasOwnProperty(key)) {
throw new Error('[BulmaJS] A plugin with the key \'' + key + '\' has not been registered.');
}

@@ -83,6 +83,6 @@

Bulma.registerPlugin = (key, plugin, priority = 0) => {
if(!key) {
if (!key) {
throw new Error('[BulmaJS] Key attribute is required.');
}
Bulma.plugins[key] = {

@@ -93,3 +93,3 @@ priority: priority,

Bulma.prototype[key] = function(config) {
Bulma.prototype[key] = function (config) {
return new Bulma.plugins[key].handler(config, this);

@@ -110,3 +110,3 @@ };

Bulma.each(sortedPlugins, (key) => {
if(!Bulma.plugins[key].handler.hasOwnProperty('parseDocument')) {
if (!Bulma.plugins[key].handler.hasOwnProperty('parseDocument')) {
// eslint-disable-next-line no-console

@@ -128,7 +128,7 @@ console.error('[BulmaJS] Plugin ' + key + ' does not have a parseDocument method. Automatic document parsing is not possible for this plugin.');

Bulma.createElement = (name, classes) => {
if(!classes) {
if (!classes) {
classes = [];
}
if(typeof classes === 'string') {
if (typeof classes === 'string') {
classes = [classes];

@@ -157,4 +157,4 @@ }

if(!elem) {
if(classes.length === 0) {
if (!elem) {
if (classes.length === 0) {
classes = query.split('.').filter((item) => {

@@ -183,3 +183,3 @@ return item;

for(i = 0; i < objects.length; i++) {
for (i = 0; i < objects.length; i++) {
callback(objects[i], i);

@@ -223,11 +223,11 @@ }

div.innerHTML = htmlString;
var scripts = div.getElementsByTagName('script');
var i = scripts.length;
while (i--) {
scripts[i].parentNode.removeChild(scripts[i]);
}
return div.innerHTML.replace(/ +/g, ' ');

@@ -237,2 +237,20 @@ };

/**
* Grabs a configuration property from the window.bulmaOptions global, if it's defined,
* returns defaultValue otherwise.
* @param {string} key The name of the option to check for
* @param {*} [defaultValue=null] A default value of the key is not found
*/
Bulma.getGlobalConfig = function (key, defaultValue = null) {
if (!window.hasOwnProperty('bulmaOptions')) {
return defaultValue;
}
if (!window.bulmaOptions.hasOwnProperty(key)) {
return defaultValue;
}
return window.bulmaOptions[key];
};
/**
* Get or set custom data on a Bulma element.

@@ -243,4 +261,4 @@ * @type {String} key

*/
Bulma.prototype.data = function(key, value) {
if(!value) {
Bulma.prototype.data = function (key, value) {
if (!value) {
return Bulma.cache.get(this._elem[Bulma.id], key);

@@ -258,3 +276,3 @@ }

*/
Bulma.prototype.destroyData = function() {
Bulma.prototype.destroyData = function () {
Bulma.cache.destroy(this._elem[Bulma.id]);

@@ -270,3 +288,3 @@

*/
Bulma.prototype.getElement = function() {
Bulma.prototype.getElement = function () {
return this._elem;

@@ -276,9 +294,11 @@ };

document.addEventListener('DOMContentLoaded', () => {
if(window.hasOwnProperty('bulmaOptions') && window.bulmaOptions.autoParseDocument === false) {
return;
if (Bulma.getGlobalConfig('autoParseDocument', true)) {
Bulma.parseDocument();
}
Bulma.parseDocument();
if (Bulma.getGlobalConfig('onLoaded')) {
Bulma.getGlobalConfig('onLoaded')();
}
});
export default Bulma;

@@ -0,0 +0,0 @@ class Data {

@@ -0,0 +0,0 @@ import Bulma from './core';

@@ -0,0 +0,0 @@ import ConfigBag from './ConfigBag';

@@ -0,0 +0,0 @@ import Bulma from '../core';

@@ -16,4 +16,10 @@ import Bulma from '../core';

static parseDocument(context) {
let elements = context.querySelectorAll('.dropdown');
let elements;
if (typeof context.classList === 'object' && context.classList.contains('dropdown')) {
elements = [context];
} else {
elements = context.querySelectorAll('.dropdown');
}
Bulma.each(elements, (element) => {

@@ -65,3 +71,3 @@ Bulma(element).dropdown();

handleTriggerClick() {
if(this.root.classList.contains('is-active')) {
if (this.root.classList.contains('is-active')) {
this.root.classList.remove('is-active');

@@ -68,0 +74,0 @@

@@ -16,4 +16,10 @@ import Bulma from '../core';

static parseDocument(context) {
let elements = context.querySelectorAll('.file');
let elements;
if (typeof context.classList === 'object' && context.classList.contains('file')) {
elements = [context];
} else {
elements = context.querySelectorAll('.file');
}
Bulma.each(elements, (element) => {

@@ -90,11 +96,11 @@ Bulma(element).file();

handleTriggerChange(event) {
if(event.target.files.length === 0) {
if (event.target.files.length === 0) {
this.clearFileName();
}
if(event.target.files.length === 1) {
if (event.target.files.length === 1) {
this.setFileName(event.target.files[0].name);
}
if(event.target.files.length > 1) {
if (event.target.files.length > 1) {
this.setFileName(event.target.files.length + ' files');

@@ -101,0 +107,0 @@ }

@@ -17,4 +17,10 @@ import Bulma from '../core';

static parseDocument(context) {
let elements = context.querySelectorAll('.message');
let elements;
if (typeof context.classList === 'object' && context.classList.container('.message')) {
elements = [context];
} else {
elements = context.querySelectorAll('.message');
}
Bulma.each(elements, (element) => {

@@ -53,3 +59,3 @@ let closeBtn = element.querySelector('.delete');

if(this.title) {
if (this.title) {
this.createMessageHeader();

@@ -61,4 +67,4 @@ }

// when the component is ready.
if(this.isDismissable) {
if(!this.config.get('closeButton')) {
if (this.isDismissable) {
if (!this.config.get('closeButton')) {
this.prependCloseButton();

@@ -70,3 +76,3 @@ }

if(this.size) {
if (this.size) {
this.setSize();

@@ -73,0 +79,0 @@ }

@@ -0,0 +0,0 @@ import Bulma from '../core';

@@ -16,4 +16,10 @@ import Bulma from '../core';

static parseDocument(context) {
let elements = context.querySelectorAll('.navbar');
let elements;
if (typeof context.classList === 'object' && context.classList.contains('navbar')) {
elements = [context];
} else {
elements = context.querySelectorAll('.navbar');
}
Bulma.each(elements, (element) => {

@@ -55,3 +61,3 @@ Bulma(element).navbar({

// Work out the parent if it hasn't been supplied as an option.
if(this.parent === null) {
if (this.parent === null) {
this.parent = this.config.get('root').parentNode;

@@ -65,2 +71,3 @@ }

this.root = this.config.get('root');
this.root.setAttribute('data-bulma-attached', 'attached');

@@ -71,3 +78,3 @@ /**

*/
this.triggerElement = this.root.querySelector('.navbar-burger'),
this.triggerElement = this.root.querySelector('.navbar-burger');

@@ -85,3 +92,3 @@ /**

this.sticky = !!this.config.get('sticky');
/**

@@ -124,2 +131,8 @@ * The offset in pixels before the navbar will stick to the top of the page

/**
* An array of any navbar dropdowns
* @type {NodeList}
*/
this.dropdowns = this.root.querySelectorAll('.navbar-item.has-dropdown:not(.is-hoverable)');
/**
* Bind the relevant event handlers to this instance. So that we can remove them if needed

@@ -141,5 +154,9 @@ */

if(this.sticky) {
if (this.sticky) {
this.enableSticky();
}
Bulma.each(this.dropdowns, (dropdown) => {
dropdown.addEventListener('click', this.handleDropdownTrigger);
});
}

@@ -152,3 +169,3 @@

handleTriggerClick() {
if(this.target.classList.contains('is-active')) {
if (this.target.classList.contains('is-active')) {
this.target.classList.remove('is-active');

@@ -171,2 +188,13 @@ this.triggerElement.classList.remove('is-active');

/**
* Handle the click handler for any dropdowns found within the navbar
*/
handleDropdownTrigger() {
if (this.classList.contains('is-active')) {
this.classList.remove('is-active');
} else {
this.classList.add('is-active');
}
}
/**
* Enable the sticky feature by attaching the scroll event.

@@ -193,3 +221,3 @@ */

enableHideOnScroll() {
if(!this.sticky) {
if (!this.sticky) {
this.enableSticky();

@@ -217,7 +245,7 @@ }

toggleSticky(scrollY) {
if(scrollY > this.stickyOffset) {
if (scrollY > this.stickyOffset) {
this.root.classList.add('is-fixed-top');
document.body.classList.add('has-navbar-fixed-top');
if(this.shadow) {
if (this.shadow) {
this.root.classList.add('has-shadow');

@@ -229,3 +257,3 @@ }

if(this.shadow) {
if (this.shadow) {
this.root.classList.remove('has-shadow');

@@ -235,3 +263,3 @@ }

if(this.hideOnScroll) {
if (this.hideOnScroll) {
let scrollDirection = this.calculateScrollDirection(scrollY, this.lastScrollY);

@@ -238,0 +266,0 @@ let triggeredTolerance = this.difference(scrollY, this.lastScrollY) >= this.tolerance;

@@ -17,8 +17,14 @@ import Bulma from '../core';

static parseDocument(context) {
let elements = context.querySelectorAll('.notification');
let elements;
if (typeof context.classList === 'object' && context.classList.contains('notification')) {
elements = [context];
} else {
elements = context.querySelectorAll('.notification');
}
Bulma.each(elements, (element) => {
let bulmaElement = Bulma(element);
if(bulmaElement.data('notification')) {
if (bulmaElement.data('notification')) {
return;

@@ -46,8 +52,8 @@ }

super('notification', config, root);
// TODO: Move this into the DismissableComponent class. Due to the required
// changes between different components, we may need a way to trigger this
// when the component is ready.
if(this.isDismissable) {
if(!this.config.has('closeButton')) {
if (this.isDismissable) {
if (!this.config.has('closeButton')) {
this.prependCloseButton();

@@ -58,3 +64,3 @@ }

}
Bulma(this.root).data('notification', this);

@@ -61,0 +67,0 @@

@@ -16,4 +16,10 @@ import Bulma from '../core';

static parseDocument(context) {
let elements = context.querySelectorAll('.tabs-wrapper');
let elements;
if (typeof context.classList === 'object' && context.classList.has('tabs-wrapper')) {
elements = [context];
} else {
elements = context.querySelectorAll('.tabs-wrapper');
}
Bulma.each(elements, (element) => {

@@ -133,3 +139,3 @@ Bulma(element).tabs({

if(this.hover) {
if (this.hover) {
navItem.addEventListener('mouseover', () => {

@@ -136,0 +142,0 @@ this.setActive(index);

@@ -0,0 +0,0 @@ QUnit.module('Alert');

@@ -0,0 +0,0 @@ QUnit.module('Core');

@@ -0,0 +0,0 @@ function testCreateElem(type, ...classes) {

@@ -0,0 +0,0 @@ const path = require('path');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet