fomantic-ui 2.9.0-beta.232 → 2.9.0-beta.236

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/CONTRIBUTORS.md +1 -0
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +5 -5
  10. package/dist/components/api.min.js +2 -2
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +1 -1
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +1 -1
  36. package/dist/components/dropdown.js +3 -3
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +2 -2
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/feed.css +1 -1
  44. package/dist/components/feed.min.css +1 -1
  45. package/dist/components/flag.css +1 -1
  46. package/dist/components/flag.min.css +1 -1
  47. package/dist/components/form.css +1 -1
  48. package/dist/components/form.js +1 -1
  49. package/dist/components/form.min.css +1 -1
  50. package/dist/components/form.min.js +1 -1
  51. package/dist/components/grid.css +1 -1
  52. package/dist/components/grid.min.css +1 -1
  53. package/dist/components/header.css +1 -1
  54. package/dist/components/header.min.css +1 -1
  55. package/dist/components/icon.css +1 -1
  56. package/dist/components/icon.min.css +1 -1
  57. package/dist/components/image.css +1 -1
  58. package/dist/components/image.min.css +1 -1
  59. package/dist/components/input.css +1 -1
  60. package/dist/components/input.min.css +1 -1
  61. package/dist/components/item.css +1 -1
  62. package/dist/components/item.min.css +1 -1
  63. package/dist/components/label.css +1 -1
  64. package/dist/components/label.min.css +1 -1
  65. package/dist/components/list.css +1 -1
  66. package/dist/components/list.min.css +1 -1
  67. package/dist/components/loader.css +1 -1
  68. package/dist/components/loader.min.css +1 -1
  69. package/dist/components/message.css +1 -1
  70. package/dist/components/message.min.css +1 -1
  71. package/dist/components/modal.css +1 -1
  72. package/dist/components/modal.js +2 -2
  73. package/dist/components/modal.min.css +1 -1
  74. package/dist/components/modal.min.js +2 -2
  75. package/dist/components/nag.css +1 -1
  76. package/dist/components/nag.js +1 -1
  77. package/dist/components/nag.min.css +1 -1
  78. package/dist/components/nag.min.js +1 -1
  79. package/dist/components/placeholder.css +1 -1
  80. package/dist/components/placeholder.min.css +1 -1
  81. package/dist/components/popup.css +1 -1
  82. package/dist/components/popup.js +2 -2
  83. package/dist/components/popup.min.css +1 -1
  84. package/dist/components/popup.min.js +2 -2
  85. package/dist/components/progress.css +1 -1
  86. package/dist/components/progress.js +1 -1
  87. package/dist/components/progress.min.css +1 -1
  88. package/dist/components/progress.min.js +1 -1
  89. package/dist/components/rail.css +1 -1
  90. package/dist/components/rail.min.css +1 -1
  91. package/dist/components/rating.css +1 -1
  92. package/dist/components/rating.js +1 -1
  93. package/dist/components/rating.min.css +1 -1
  94. package/dist/components/rating.min.js +1 -1
  95. package/dist/components/reset.css +1 -1
  96. package/dist/components/reset.min.css +1 -1
  97. package/dist/components/reveal.css +1 -1
  98. package/dist/components/reveal.min.css +1 -1
  99. package/dist/components/search.css +1 -1
  100. package/dist/components/search.js +1 -1
  101. package/dist/components/search.min.css +1 -1
  102. package/dist/components/search.min.js +1 -1
  103. package/dist/components/segment.css +1 -1
  104. package/dist/components/segment.min.css +1 -1
  105. package/dist/components/shape.css +1 -1
  106. package/dist/components/shape.js +1 -1
  107. package/dist/components/shape.min.css +1 -1
  108. package/dist/components/shape.min.js +1 -1
  109. package/dist/components/sidebar.css +1 -1
  110. package/dist/components/sidebar.js +2 -2
  111. package/dist/components/sidebar.min.css +1 -1
  112. package/dist/components/sidebar.min.js +2 -2
  113. package/dist/components/site.css +1 -1
  114. package/dist/components/site.js +1 -1
  115. package/dist/components/site.min.css +1 -1
  116. package/dist/components/site.min.js +1 -1
  117. package/dist/components/slider.js +1 -1
  118. package/dist/components/slider.min.js +1 -1
  119. package/dist/components/state.js +1 -1
  120. package/dist/components/state.min.js +1 -1
  121. package/dist/components/statistic.css +1 -1
  122. package/dist/components/statistic.min.css +1 -1
  123. package/dist/components/step.css +1 -1
  124. package/dist/components/step.min.css +1 -1
  125. package/dist/components/sticky.css +1 -1
  126. package/dist/components/sticky.js +1 -1
  127. package/dist/components/sticky.min.css +1 -1
  128. package/dist/components/sticky.min.js +1 -1
  129. package/dist/components/tab.css +1 -1
  130. package/dist/components/tab.js +1 -1
  131. package/dist/components/tab.min.css +1 -1
  132. package/dist/components/tab.min.js +1 -1
  133. package/dist/components/table.css +1 -1
  134. package/dist/components/table.min.css +1 -1
  135. package/dist/components/text.css +1 -1
  136. package/dist/components/text.min.css +1 -1
  137. package/dist/components/toast.css +1 -1
  138. package/dist/components/toast.js +2 -2
  139. package/dist/components/toast.min.css +1 -1
  140. package/dist/components/toast.min.js +2 -2
  141. package/dist/components/transition.css +1 -1
  142. package/dist/components/transition.js +1 -1
  143. package/dist/components/transition.min.css +1 -1
  144. package/dist/components/transition.min.js +1 -1
  145. package/dist/components/visibility.js +1 -1
  146. package/dist/components/visibility.min.js +1 -1
  147. package/dist/semantic.css +49 -49
  148. package/dist/semantic.js +35 -35
  149. package/dist/semantic.min.css +1 -1
  150. package/dist/semantic.min.js +2 -2
  151. package/examples/assets/library/iframe-content.js +3 -3
  152. package/examples/assets/library/iframe.js +3 -3
  153. package/package.json +1 -1
  154. package/src/definitions/behaviors/api.js +4 -4
  155. package/src/definitions/modules/dropdown.js +2 -2
  156. package/src/definitions/modules/modal.js +1 -1
  157. package/src/definitions/modules/popup.js +1 -1
  158. package/src/definitions/modules/sidebar.js +1 -1
  159. package/src/definitions/modules/toast.js +1 -1
  160. package/test/helpers/sinon.js +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * http://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(D,j,R,z){"use strict";D.isFunction=D.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},j=void 0!==j&&j.Math==Math?j:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),D.fn.sidebar=function(C){var T,e=D(this),k=D(j),w=D(R),S=D("html"),x=D("head"),A=e.selector||"",F=(new Date).getTime(),O=[],P=C,E="string"==typeof P,H=[].slice.call(arguments,1),M=j.requestAnimationFrame||j.mozRequestAnimationFrame||j.webkitRequestAnimationFrame||j.msRequestAnimationFrame||function(e){setTimeout(e,0)};return e.each(function(){var s,a,e,i,l,c,u=D.isPlainObject(C)?D.extend(!0,{},D.fn.sidebar.settings,C):D.extend({},D.fn.sidebar.settings),n=u.selector,r=u.className,t=u.namespace,o=u.regExp,d=u.error,f="."+t,b="module-"+t,h=D(this),m=D(u.context),g=h.children(n.sidebar),v=(m.children(n.fixed),m.children(n.pusher)),p=this,y=h.data(b);c={initialize:function(){c.debug("Initializing sidebar",C),c.create.id(),l=c.get.transitionEvent(),u.delaySetup?M(c.setup.layout):c.setup.layout(),M(function(){c.setup.cache()}),c.instantiate()},instantiate:function(){c.verbose("Storing instance of module",c),y=c,h.data(b,c)},create:{id:function(){e=(Math.random().toString(16)+"000000000").substr(2,8),a="."+e,c.verbose("Creating unique id for element",e)}},destroy:function(){c.verbose("Destroying previous module for",h),h.off(f).removeData(b),c.is.ios()&&c.remove.ios(),m.off(a),k.off(a),w.off(a)},event:{clickaway:function(e){if(u.closable){var i=0<v.find(e.target).length||v.is(e.target),n=m.is(e.target);i&&(c.verbose("User clicked on dimmed page"),c.hide()),n&&(c.verbose("User clicked on dimmable context (scaled out page)"),c.hide())}},touch:function(e){},containScroll:function(e){p.scrollTop<=0&&(p.scrollTop=1),p.scrollTop+p.offsetHeight>=p.scrollHeight&&(p.scrollTop=p.scrollHeight-p.offsetHeight-1)},scroll:function(e){0===D(e.target).closest(n.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){c.verbose("Adding clickaway events to context",m),m.on("click"+a,c.event.clickaway).on("touchend"+a,c.event.clickaway)},scrollLock:function(){u.scrollLock&&(c.debug("Disabling page scroll"),k.on("DOMMouseScroll"+a,c.event.scroll)),c.verbose("Adding events to contain sidebar scroll"),w.on("touchmove"+a,c.event.touch),h.on("scroll"+f,c.event.containScroll)}},unbind:{clickaway:function(){c.verbose("Removing clickaway events from context",m),m.off(a)},scrollLock:function(){c.verbose("Removing scroll lock from page"),w.off(a),k.off(a),h.off("scroll"+f)}},add:{inlineCSS:function(){var e,i=c.cache.width||h.outerWidth(),n=c.cache.height||h.outerHeight(),t=c.is.rtl(),o=c.get.direction(),r={left:i,right:-i,top:n,bottom:-n};t&&(c.verbose("RTL detected, flipping widths"),r.left=-i,r.right=i),e="<style>","left"===o||"right"===o?(c.debug("Adding CSS rules for animation distance",i),e+=" .ui.visible."+o+".sidebar ~ .fixed, .ui.visible."+o+".sidebar ~ .pusher { -webkit-transform: translate3d("+r[o]+"px, 0, 0); transform: translate3d("+r[o]+"px, 0, 0); }"):"top"!==o&&"bottom"!=o||(e+=" .ui.visible."+o+".sidebar ~ .fixed, .ui.visible."+o+".sidebar ~ .pusher { -webkit-transform: translate3d(0, "+r[o]+"px, 0); transform: translate3d(0, "+r[o]+"px, 0); }"),c.is.ie()&&("left"===o||"right"===o?(c.debug("Adding CSS rules for animation distance",i),e+=" body.pushable > .ui.visible."+o+".sidebar ~ .pusher:after { -webkit-transform: translate3d("+r[o]+"px, 0, 0); transform: translate3d("+r[o]+"px, 0, 0); }"):"top"!==o&&"bottom"!=o||(e+=" body.pushable > .ui.visible."+o+".sidebar ~ .pusher:after { -webkit-transform: translate3d(0, "+r[o]+"px, 0); transform: translate3d(0, "+r[o]+"px, 0); }"),e+=" body.pushable > .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher:after, body.pushable > .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher:after { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }"),s=D(e+="</style>").appendTo(x),c.debug("Adding sizing css to head",s)}},refresh:function(){c.verbose("Refreshing selector cache"),m=D(u.context),g=m.children(n.sidebar),v=m.children(n.pusher),m.children(n.fixed),c.clear.cache()},refreshSidebars:function(){c.verbose("Refreshing other sidebars"),g=m.children(n.sidebar)},repaint:function(){c.verbose("Forcing repaint event"),p.style.display="none";p.offsetHeight;p.scrollTop=p.scrollTop,p.style.display=""},setup:{cache:function(){c.cache={width:h.outerWidth(),height:h.outerHeight()}},layout:function(){0===m.children(n.pusher).length&&(c.debug("Adding wrapper element for sidebar"),c.error(d.pusher),v=D('<div class="pusher" />'),m.children().not(n.omitted).not(g).wrapAll(v),c.refresh()),0!==h.nextAll(n.pusher).length&&h.nextAll(n.pusher)[0]===v[0]||(c.debug("Moved sidebar to correct parent element"),c.error(d.movedSidebar,p),h.detach().prependTo(m),c.refresh()),c.clear.cache(),c.set.pushable(),c.set.direction()}},attachEvents:function(e,i){var n=D(e);i=D.isFunction(c[i])?c[i]:c.toggle,0<n.length?(c.debug("Attaching sidebar events to element",e,i),n.on("click"+f,i)):c.error(d.notFound,e)},show:function(e){if(e=D.isFunction(e)?e:function(){},c.is.hidden()){if(c.refreshSidebars(),u.overlay&&(c.error(d.overlay),u.transition="overlay"),c.refresh(),c.othersActive())if(c.debug("Other sidebars currently visible"),u.exclusive){if("overlay"!=u.transition)return void c.hideOthers(c.show);c.hideOthers()}else u.transition="overlay";c.pushPage(function(){e.call(p),u.onShow.call(p)}),u.onChange.call(p),u.onVisible.call(p)}else c.debug("Sidebar is already visible")},hide:function(e){e=D.isFunction(e)?e:function(){},(c.is.visible()||c.is.animating())&&(c.debug("Hiding sidebar",e),c.refreshSidebars(),c.pullPage(function(){e.call(p),u.onHidden.call(p)}),u.onChange.call(p),u.onHide.call(p))},othersAnimating:function(){return 0<g.not(h).filter("."+r.animating).length},othersVisible:function(){return 0<g.not(h).filter("."+r.visible).length},othersActive:function(){return c.othersVisible()||c.othersAnimating()},hideOthers:function(e){var i=g.not(h).filter("."+r.visible),n=i.length,t=0;e=e||function(){},i.sidebar("hide",function(){++t==n&&e()})},toggle:function(){c.verbose("Determining toggled direction"),c.is.hidden()?c.show():c.hide()},pushPage:function(i){var e,n,t,o=c.get.transition(),r="overlay"===o||c.othersActive()?h:v;i=D.isFunction(i)?i:function(){},"scale down"==u.transition&&c.scrollToTop(),c.set.transition(o),c.repaint(),e=function(){c.bind.clickaway(),c.add.inlineCSS(),c.set.animating(),c.set.visible()},n=function(){c.set.dimmed()},t=function(e){e.target==r[0]&&(r.off(l+a,t),c.remove.animating(),c.bind.scrollLock(),i.call(p))},r.off(l+a),r.on(l+a,t),M(e),u.dimPage&&!c.othersVisible()&&M(n)},pullPage:function(i){var e,n,t=c.get.transition(),o="overlay"==t||c.othersActive()?h:v;i=D.isFunction(i)?i:function(){},c.verbose("Removing context push state",c.get.direction()),c.unbind.clickaway(),c.unbind.scrollLock(),e=function(){c.set.transition(t),c.set.animating(),c.remove.visible(),u.dimPage&&!c.othersVisible()&&v.removeClass(r.dimmed)},n=function(e){e.target==o[0]&&(o.off(l+a,n),c.remove.animating(),c.remove.transition(),c.remove.inlineCSS(),("scale down"==t||u.returnScroll&&c.is.mobile())&&c.scrollBack(),i.call(p))},o.off(l+a),o.on(l+a,n),M(e)},scrollToTop:function(){c.verbose("Scrolling to top of page to avoid animation issues"),i=D(j).scrollTop(),h.scrollTop(0),j.scrollTo(0,0)},scrollBack:function(){c.verbose("Scrolling back to original page position"),j.scrollTo(0,i)},clear:{cache:function(){c.verbose("Clearing cached dimensions"),c.cache={}}},set:{ios:function(){S.addClass(r.ios)},pushed:function(){m.addClass(r.pushed)},pushable:function(){m.addClass(r.pushable)},dimmed:function(){v.addClass(r.dimmed)},active:function(){h.addClass(r.active)},animating:function(){h.addClass(r.animating)},transition:function(e){e=e||c.get.transition(),h.addClass(e)},direction:function(e){e=e||c.get.direction(),h.addClass(r[e])},visible:function(){h.addClass(r.visible)},overlay:function(){h.addClass(r.overlay)}},remove:{inlineCSS:function(){c.debug("Removing inline css styles",s),s&&0<s.length&&s.remove()},ios:function(){S.removeClass(r.ios)},pushed:function(){m.removeClass(r.pushed)},pushable:function(){m.removeClass(r.pushable)},active:function(){h.removeClass(r.active)},animating:function(){h.removeClass(r.animating)},transition:function(e){e=e||c.get.transition(),h.removeClass(e)},direction:function(e){e=e||c.get.direction(),h.removeClass(r[e])},visible:function(){h.removeClass(r.visible)},overlay:function(){h.removeClass(r.overlay)}},get:{direction:function(){return h.hasClass(r.top)?r.top:h.hasClass(r.right)?r.right:h.hasClass(r.bottom)?r.bottom:r.left},transition:function(){var e,i=c.get.direction();return e=c.is.mobile()?"auto"==u.mobileTransition?u.defaultTransition.mobile[i]:u.mobileTransition:"auto"==u.transition?u.defaultTransition.computer[i]:u.transition,c.verbose("Determined transition",e),e},transitionEvent:function(){var e,i=R.createElement("element"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(i.style[e]!==z)return n[e]}},is:{ie:function(){return!j.ActiveXObject&&"ActiveXObject"in j||"ActiveXObject"in j},ios:function(){var e=navigator.userAgent,i=e.match(o.ios),n=e.match(o.mobileChrome);return!(!i||n)&&(c.verbose("Browser was found to be iOS",e),!0)},mobile:function(){var e=navigator.userAgent;return e.match(o.mobile)?(c.verbose("Browser was found to be mobile",e),!0):(c.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!c.is.visible()},visible:function(){return h.hasClass(r.visible)},open:function(){return c.is.visible()},closed:function(){return c.is.hidden()},vertical:function(){return h.hasClass(r.top)},animating:function(){return m.hasClass(r.animating)},rtl:function(){return c.cache.rtl===z&&(c.cache.rtl="rtl"===h.attr("dir")||"rtl"===h.css("direction")),c.cache.rtl}},setting:function(e,i){if(c.debug("Changing setting",e,i),D.isPlainObject(e))D.extend(!0,u,e);else{if(i===z)return u[e];D.isPlainObject(u[e])?D.extend(!0,u[e],i):u[e]=i}},internal:function(e,i){if(D.isPlainObject(e))D.extend(!0,c,e);else{if(i===z)return c[e];c[e]=i}},debug:function(){!u.silent&&u.debug&&(u.performance?c.performance.log(arguments):(c.debug=Function.prototype.bind.call(console.info,console,u.name+":"),c.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?c.performance.log(arguments):(c.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),c.verbose.apply(console,arguments)))},error:function(){u.silent||(c.error=Function.prototype.bind.call(console.error,console,u.name+":"),c.error.apply(console,arguments))},performance:{log:function(e){var i,n;u.performance&&(n=(i=(new Date).getTime())-(F||i),F=i,O.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:p,"Execution Time":n})),clearTimeout(c.performance.timer),c.performance.timer=setTimeout(c.performance.display,500)},display:function(){var e=u.name+":",n=0;F=!1,clearTimeout(c.performance.timer),D.each(O,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",A&&(e+=" '"+A+"'"),(console.group!==z||console.table!==z)&&0<O.length&&(console.groupCollapsed(e),console.table?console.table(O):D.each(O,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),O=[]}},invoke:function(t,e,i){var o,r,n,s=y;return e=e||H,i=p||i,"string"==typeof t&&s!==z&&(t=t.split(/[\. ]/),o=t.length-1,D.each(t,function(e,i){var n=e!=o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(D.isPlainObject(s[n])&&e!=o)s=s[n];else{if(s[n]!==z)return r=s[n],!1;if(!D.isPlainObject(s[i])||e==o)return s[i]!==z?r=s[i]:c.error(d.method,t),!1;s=s[i]}})),D.isFunction(r)?n=r.apply(i,e):r!==z&&(n=r),Array.isArray(T)?T.push(n):T!==z?T=[T,n]:n!==z&&(T=n),r}},E?(y===z&&c.initialize(),c.invoke(P)):(y!==z&&c.invoke("destroy"),c.initialize())}),T!==z?T:this},D.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,duration:500,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",dimmed:"dimmed",ios:"ios",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{ios:/(iPad|iPhone|iPod)/g,mobileChrome:/(CriOS)/g,mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document);
11
+ !function(D,j,R,z){"use strict";D.isFunction=D.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},j=void 0!==j&&j.Math==Math?j:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),D.fn.sidebar=function(C){var T,e=D(this),k=D(j),w=D(R),S=D("html"),x=D("head"),A=e.selector||"",F=(new Date).getTime(),O=[],P=C,E="string"==typeof P,H=[].slice.call(arguments,1),M=j.requestAnimationFrame||j.mozRequestAnimationFrame||j.webkitRequestAnimationFrame||j.msRequestAnimationFrame||function(e){setTimeout(e,0)};return e.each(function(){var s,a,e,i,l,c,u=D.isPlainObject(C)?D.extend(!0,{},D.fn.sidebar.settings,C):D.extend({},D.fn.sidebar.settings),n=u.selector,r=u.className,t=u.namespace,o=u.regExp,d=u.error,f="."+t,b="module-"+t,h=D(this),m=D(u.context),g=h.children(n.sidebar),v=(m.children(n.fixed),m.children(n.pusher)),p=this,y=h.data(b);c={initialize:function(){c.debug("Initializing sidebar",C),c.create.id(),l=c.get.transitionEvent(),u.delaySetup?M(c.setup.layout):c.setup.layout(),M(function(){c.setup.cache()}),c.instantiate()},instantiate:function(){c.verbose("Storing instance of module",c),y=c,h.data(b,c)},create:{id:function(){e=(Math.random().toString(16)+"000000000").slice(2,10),a="."+e,c.verbose("Creating unique id for element",e)}},destroy:function(){c.verbose("Destroying previous module for",h),h.off(f).removeData(b),c.is.ios()&&c.remove.ios(),m.off(a),k.off(a),w.off(a)},event:{clickaway:function(e){if(u.closable){var i=0<v.find(e.target).length||v.is(e.target),n=m.is(e.target);i&&(c.verbose("User clicked on dimmed page"),c.hide()),n&&(c.verbose("User clicked on dimmable context (scaled out page)"),c.hide())}},touch:function(e){},containScroll:function(e){p.scrollTop<=0&&(p.scrollTop=1),p.scrollTop+p.offsetHeight>=p.scrollHeight&&(p.scrollTop=p.scrollHeight-p.offsetHeight-1)},scroll:function(e){0===D(e.target).closest(n.sidebar).length&&e.preventDefault()}},bind:{clickaway:function(){c.verbose("Adding clickaway events to context",m),m.on("click"+a,c.event.clickaway).on("touchend"+a,c.event.clickaway)},scrollLock:function(){u.scrollLock&&(c.debug("Disabling page scroll"),k.on("DOMMouseScroll"+a,c.event.scroll)),c.verbose("Adding events to contain sidebar scroll"),w.on("touchmove"+a,c.event.touch),h.on("scroll"+f,c.event.containScroll)}},unbind:{clickaway:function(){c.verbose("Removing clickaway events from context",m),m.off(a)},scrollLock:function(){c.verbose("Removing scroll lock from page"),w.off(a),k.off(a),h.off("scroll"+f)}},add:{inlineCSS:function(){var e,i=c.cache.width||h.outerWidth(),n=c.cache.height||h.outerHeight(),t=c.is.rtl(),o=c.get.direction(),r={left:i,right:-i,top:n,bottom:-n};t&&(c.verbose("RTL detected, flipping widths"),r.left=-i,r.right=i),e="<style>","left"===o||"right"===o?(c.debug("Adding CSS rules for animation distance",i),e+=" .ui.visible."+o+".sidebar ~ .fixed, .ui.visible."+o+".sidebar ~ .pusher { -webkit-transform: translate3d("+r[o]+"px, 0, 0); transform: translate3d("+r[o]+"px, 0, 0); }"):"top"!==o&&"bottom"!=o||(e+=" .ui.visible."+o+".sidebar ~ .fixed, .ui.visible."+o+".sidebar ~ .pusher { -webkit-transform: translate3d(0, "+r[o]+"px, 0); transform: translate3d(0, "+r[o]+"px, 0); }"),c.is.ie()&&("left"===o||"right"===o?(c.debug("Adding CSS rules for animation distance",i),e+=" body.pushable > .ui.visible."+o+".sidebar ~ .pusher:after { -webkit-transform: translate3d("+r[o]+"px, 0, 0); transform: translate3d("+r[o]+"px, 0, 0); }"):"top"!==o&&"bottom"!=o||(e+=" body.pushable > .ui.visible."+o+".sidebar ~ .pusher:after { -webkit-transform: translate3d(0, "+r[o]+"px, 0); transform: translate3d(0, "+r[o]+"px, 0); }"),e+=" body.pushable > .ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher:after, body.pushable > .ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher:after { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }"),s=D(e+="</style>").appendTo(x),c.debug("Adding sizing css to head",s)}},refresh:function(){c.verbose("Refreshing selector cache"),m=D(u.context),g=m.children(n.sidebar),v=m.children(n.pusher),m.children(n.fixed),c.clear.cache()},refreshSidebars:function(){c.verbose("Refreshing other sidebars"),g=m.children(n.sidebar)},repaint:function(){c.verbose("Forcing repaint event"),p.style.display="none";p.offsetHeight;p.scrollTop=p.scrollTop,p.style.display=""},setup:{cache:function(){c.cache={width:h.outerWidth(),height:h.outerHeight()}},layout:function(){0===m.children(n.pusher).length&&(c.debug("Adding wrapper element for sidebar"),c.error(d.pusher),v=D('<div class="pusher" />'),m.children().not(n.omitted).not(g).wrapAll(v),c.refresh()),0!==h.nextAll(n.pusher).length&&h.nextAll(n.pusher)[0]===v[0]||(c.debug("Moved sidebar to correct parent element"),c.error(d.movedSidebar,p),h.detach().prependTo(m),c.refresh()),c.clear.cache(),c.set.pushable(),c.set.direction()}},attachEvents:function(e,i){var n=D(e);i=D.isFunction(c[i])?c[i]:c.toggle,0<n.length?(c.debug("Attaching sidebar events to element",e,i),n.on("click"+f,i)):c.error(d.notFound,e)},show:function(e){if(e=D.isFunction(e)?e:function(){},c.is.hidden()){if(c.refreshSidebars(),u.overlay&&(c.error(d.overlay),u.transition="overlay"),c.refresh(),c.othersActive())if(c.debug("Other sidebars currently visible"),u.exclusive){if("overlay"!=u.transition)return void c.hideOthers(c.show);c.hideOthers()}else u.transition="overlay";c.pushPage(function(){e.call(p),u.onShow.call(p)}),u.onChange.call(p),u.onVisible.call(p)}else c.debug("Sidebar is already visible")},hide:function(e){e=D.isFunction(e)?e:function(){},(c.is.visible()||c.is.animating())&&(c.debug("Hiding sidebar",e),c.refreshSidebars(),c.pullPage(function(){e.call(p),u.onHidden.call(p)}),u.onChange.call(p),u.onHide.call(p))},othersAnimating:function(){return 0<g.not(h).filter("."+r.animating).length},othersVisible:function(){return 0<g.not(h).filter("."+r.visible).length},othersActive:function(){return c.othersVisible()||c.othersAnimating()},hideOthers:function(e){var i=g.not(h).filter("."+r.visible),n=i.length,t=0;e=e||function(){},i.sidebar("hide",function(){++t==n&&e()})},toggle:function(){c.verbose("Determining toggled direction"),c.is.hidden()?c.show():c.hide()},pushPage:function(i){var e,n,t,o=c.get.transition(),r="overlay"===o||c.othersActive()?h:v;i=D.isFunction(i)?i:function(){},"scale down"==u.transition&&c.scrollToTop(),c.set.transition(o),c.repaint(),e=function(){c.bind.clickaway(),c.add.inlineCSS(),c.set.animating(),c.set.visible()},n=function(){c.set.dimmed()},t=function(e){e.target==r[0]&&(r.off(l+a,t),c.remove.animating(),c.bind.scrollLock(),i.call(p))},r.off(l+a),r.on(l+a,t),M(e),u.dimPage&&!c.othersVisible()&&M(n)},pullPage:function(i){var e,n,t=c.get.transition(),o="overlay"==t||c.othersActive()?h:v;i=D.isFunction(i)?i:function(){},c.verbose("Removing context push state",c.get.direction()),c.unbind.clickaway(),c.unbind.scrollLock(),e=function(){c.set.transition(t),c.set.animating(),c.remove.visible(),u.dimPage&&!c.othersVisible()&&v.removeClass(r.dimmed)},n=function(e){e.target==o[0]&&(o.off(l+a,n),c.remove.animating(),c.remove.transition(),c.remove.inlineCSS(),("scale down"==t||u.returnScroll&&c.is.mobile())&&c.scrollBack(),i.call(p))},o.off(l+a),o.on(l+a,n),M(e)},scrollToTop:function(){c.verbose("Scrolling to top of page to avoid animation issues"),i=D(j).scrollTop(),h.scrollTop(0),j.scrollTo(0,0)},scrollBack:function(){c.verbose("Scrolling back to original page position"),j.scrollTo(0,i)},clear:{cache:function(){c.verbose("Clearing cached dimensions"),c.cache={}}},set:{ios:function(){S.addClass(r.ios)},pushed:function(){m.addClass(r.pushed)},pushable:function(){m.addClass(r.pushable)},dimmed:function(){v.addClass(r.dimmed)},active:function(){h.addClass(r.active)},animating:function(){h.addClass(r.animating)},transition:function(e){e=e||c.get.transition(),h.addClass(e)},direction:function(e){e=e||c.get.direction(),h.addClass(r[e])},visible:function(){h.addClass(r.visible)},overlay:function(){h.addClass(r.overlay)}},remove:{inlineCSS:function(){c.debug("Removing inline css styles",s),s&&0<s.length&&s.remove()},ios:function(){S.removeClass(r.ios)},pushed:function(){m.removeClass(r.pushed)},pushable:function(){m.removeClass(r.pushable)},active:function(){h.removeClass(r.active)},animating:function(){h.removeClass(r.animating)},transition:function(e){e=e||c.get.transition(),h.removeClass(e)},direction:function(e){e=e||c.get.direction(),h.removeClass(r[e])},visible:function(){h.removeClass(r.visible)},overlay:function(){h.removeClass(r.overlay)}},get:{direction:function(){return h.hasClass(r.top)?r.top:h.hasClass(r.right)?r.right:h.hasClass(r.bottom)?r.bottom:r.left},transition:function(){var e,i=c.get.direction();return e=c.is.mobile()?"auto"==u.mobileTransition?u.defaultTransition.mobile[i]:u.mobileTransition:"auto"==u.transition?u.defaultTransition.computer[i]:u.transition,c.verbose("Determined transition",e),e},transitionEvent:function(){var e,i=R.createElement("element"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(i.style[e]!==z)return n[e]}},is:{ie:function(){return!j.ActiveXObject&&"ActiveXObject"in j||"ActiveXObject"in j},ios:function(){var e=navigator.userAgent,i=e.match(o.ios),n=e.match(o.mobileChrome);return!(!i||n)&&(c.verbose("Browser was found to be iOS",e),!0)},mobile:function(){var e=navigator.userAgent;return e.match(o.mobile)?(c.verbose("Browser was found to be mobile",e),!0):(c.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!c.is.visible()},visible:function(){return h.hasClass(r.visible)},open:function(){return c.is.visible()},closed:function(){return c.is.hidden()},vertical:function(){return h.hasClass(r.top)},animating:function(){return m.hasClass(r.animating)},rtl:function(){return c.cache.rtl===z&&(c.cache.rtl="rtl"===h.attr("dir")||"rtl"===h.css("direction")),c.cache.rtl}},setting:function(e,i){if(c.debug("Changing setting",e,i),D.isPlainObject(e))D.extend(!0,u,e);else{if(i===z)return u[e];D.isPlainObject(u[e])?D.extend(!0,u[e],i):u[e]=i}},internal:function(e,i){if(D.isPlainObject(e))D.extend(!0,c,e);else{if(i===z)return c[e];c[e]=i}},debug:function(){!u.silent&&u.debug&&(u.performance?c.performance.log(arguments):(c.debug=Function.prototype.bind.call(console.info,console,u.name+":"),c.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?c.performance.log(arguments):(c.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),c.verbose.apply(console,arguments)))},error:function(){u.silent||(c.error=Function.prototype.bind.call(console.error,console,u.name+":"),c.error.apply(console,arguments))},performance:{log:function(e){var i,n;u.performance&&(n=(i=(new Date).getTime())-(F||i),F=i,O.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:p,"Execution Time":n})),clearTimeout(c.performance.timer),c.performance.timer=setTimeout(c.performance.display,500)},display:function(){var e=u.name+":",n=0;F=!1,clearTimeout(c.performance.timer),D.each(O,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",A&&(e+=" '"+A+"'"),(console.group!==z||console.table!==z)&&0<O.length&&(console.groupCollapsed(e),console.table?console.table(O):D.each(O,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),O=[]}},invoke:function(t,e,i){var o,r,n,s=y;return e=e||H,i=p||i,"string"==typeof t&&s!==z&&(t=t.split(/[\. ]/),o=t.length-1,D.each(t,function(e,i){var n=e!=o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(D.isPlainObject(s[n])&&e!=o)s=s[n];else{if(s[n]!==z)return r=s[n],!1;if(!D.isPlainObject(s[i])||e==o)return s[i]!==z?r=s[i]:c.error(d.method,t),!1;s=s[i]}})),D.isFunction(r)?n=r.apply(i,e):r!==z&&(n=r),Array.isArray(T)?T.push(n):T!==z?T=[T,n]:n!==z&&(T=n),r}},E?(y===z&&c.initialize(),c.invoke(P)):(y!==z&&c.invoke("destroy"),c.initialize())}),T!==z?T:this},D.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,duration:500,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",dimmed:"dimmed",ios:"ios",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{ios:/(iPad|iPhone|iPod)/g,mobileChrome:/(CriOS)/g,mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Site
2
+ * # Fomantic-UI 2.9.0-beta.236 - Site
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Site
2
+ * # Fomantic-UI 2.9.0-beta.236 - Site
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Site
2
+ * # Fomantic-UI 2.9.0-beta.236 - Site
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Slider
2
+ * # Fomantic-UI 2.9.0-beta.236 - Slider
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - State
2
+ * # Fomantic-UI 2.9.0-beta.236 - State
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Statistic
2
+ * # Fomantic-UI 2.9.0-beta.236 - Statistic
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Statistic
2
+ * # Fomantic-UI 2.9.0-beta.236 - Statistic
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Step
2
+ * # Fomantic-UI 2.9.0-beta.236 - Step
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Step
2
+ * # Fomantic-UI 2.9.0-beta.236 - Step
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Sticky
2
+ * # Fomantic-UI 2.9.0-beta.236 - Sticky
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Sticky
2
+ * # Fomantic-UI 2.9.0-beta.236 - Sticky
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Sticky
2
+ * # Fomantic-UI 2.9.0-beta.236 - Sticky
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Tab
2
+ * # Fomantic-UI 2.9.0-beta.236 - Tab
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Tab
2
+ * # Fomantic-UI 2.9.0-beta.236 - Tab
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Tab
2
+ * # Fomantic-UI 2.9.0-beta.236 - Tab
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Table
2
+ * # Fomantic-UI 2.9.0-beta.236 - Table
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Table
2
+ * # Fomantic-UI 2.9.0-beta.236 - Table
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Text
2
+ * # Fomantic-UI 2.9.0-beta.236 - Text
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Text
2
+ * # Fomantic-UI 2.9.0-beta.236 - Text
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Toast
2
+ * # Fomantic-UI 2.9.0-beta.236 - Toast
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Toast
2
+ * # Fomantic-UI 2.9.0-beta.236 - Toast
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -154,7 +154,7 @@ $.fn.toast = function(parameters) {
154
154
  $context.append($('<div/>',{class: settings.position + ' ' + className.container + ' ' +(settings.horizontal ? className.horizontal : '')}));
155
155
  },
156
156
  id: function() {
157
- id = (Math.random().toString(16) + '000000000').substr(2, 8);
157
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
158
158
  module.verbose('Creating unique id for element', id);
159
159
  },
160
160
  toast: function() {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Toast
2
+ * # Fomantic-UI 2.9.0-beta.236 - Toast
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * http://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(A,e,n,D){"use strict";A.isFunction=A.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),A.fn.toast=function(k){var x,e=A(this),T=e.selector||"",I=(new Date).getTime(),P=[],M=k,O="string"==typeof M,z=[].slice.call(arguments,1);return e.each(function(){var a,i,c,l,r,u,d,e,p,f=A.isPlainObject(k)?A.extend(!0,{},A.fn.toast.settings,k):A.extend({},A.fn.toast.settings),m=f.className,g=f.selector,h=f.error,n=f.namespace,v=f.fields,t="."+n,o=n+"-module",b=A(this),s=f.context?A(f.context):A("body"),C=b.hasClass("toast")||b.hasClass("message")||b.hasClass("card"),y=this,w=C?b.data(o):D;p={initialize:function(){p.verbose("Initializing element"),p.create.id(),p.has.container()||p.create.container(),(C||""!==f.message||""!==f.title||""!==p.get.iconClass()||f.showImage||p.has.configActions())&&("string"==typeof f.showProgress&&-1!==[m.top,m.bottom].indexOf(f.showProgress)||(f.showProgress=!1),p.create.toast(),f.closeOnClick&&(f.closeIcon||0<A(i).find(g.input).length||p.has.configActions())&&(f.closeOnClick=!1),f.closeOnClick||a.addClass(m.unclickable),p.bind.events()),p.instantiate(),a&&p.show()},instantiate:function(){p.verbose("Storing instance of toast"),w=p,b.data(o,w)},destroy:function(){a&&(p.debug("Removing toast",a),p.unbind.events(),a.remove(),u=i=a=D,f.onRemove.call(a,y),d=r=l=D),b.removeData(o)},show:function(e){!1!==f.onShow.call(a,y)?(e=e||function(){},p.debug("Showing toast"),p.animate.show(e)):p.debug("onShow callback returned false, cancelling toast animation")},close:function(e){!1!==f.onHide.call(a,y)?(e=e||function(){},p.debug("Closing toast"),p.remove.visible(),p.unbind.events(),p.animate.close(e)):p.debug("onHide callback returned false, cancelling toast animation")},create:{container:function(){p.verbose("Creating container"),s.append(A("<div/>",{class:f.position+" "+m.container+" "+(f.horizontal?m.horizontal:"")}))},id:function(){e=(Math.random().toString(16)+"000000000").substr(2,8),p.verbose("Creating unique id for element",e)},toast:function(){a=A("<div/>",{class:m.box});var e=p.get.iconClass();if(C)i=f.cloneModule?b.clone().removeAttr("id"):b,d=i.find("> i"+p.helpers.toClass(m.close)),f.closeIcon=0<d.length,""!==e&&i.find(g.icon).attr("class",e+" "+m.icon),f.showImage&&i.find(g.image).attr("src",f.showImage),""!==f.title&&i.find(g.title).html(p.helpers.escape(f.title,f.preserveHTML)),""!==f.message&&i.find(g.message).html(p.helpers.escape(f.message,f.preserveHTML));else{p.verbose("Creating toast"),i=A("<div/>",{role:"alert"});var n=A("<div/>",{class:m.content});if(""!==e&&i.append(A("<i/>",{class:e+" "+m.icon})),f.showImage&&i.append(A("<img>",{class:m.image+" "+f.classImage,src:f.showImage})),""!==f.title){var t="_"+p.get.id()+"title";i.attr("aria-labelledby",t),n.append(A("<div/>",{class:m.title,id:t,html:p.helpers.escape(f.title,f.preserveHTML)}))}var o="_"+p.get.id()+"desc";i.attr("aria-describedby",o),n.append(A("<div/>",{class:m.message,id:o,html:p.helpers.escape(f.message,f.preserveHTML)})),i.addClass(f.class+" "+m.toast).append(n),i.css("opacity",f.opacity),f.closeIcon&&((d=A("<i/>",{class:m.close+" "+("string"==typeof f.closeIcon?f.closeIcon:""),role:"button",tabindex:0,"aria-label":f.text.close})).hasClass(m.left)?i.prepend(d):i.append(d))}if(i.hasClass(m.compact)&&(f.compact=!0),i.hasClass("card")&&(f.compact=!1),c=i.find(".actions"),p.has.configActions()&&(0===c.length&&(c=A("<div/>",{class:m.actions+" "+(f.classActions||"")}).appendTo(i)),i.hasClass("card")&&!c.hasClass(m.attached)&&(c.addClass(m.extraContent),c.hasClass(m.vertical)&&(c.removeClass(m.vertical),p.error(h.verticalCard))),f.actions.forEach(function(e){var n=e[v.icon]?"<i "+(e[v.text]?'aria-hidden="true"':"")+' class="'+p.helpers.deQuote(e[v.icon])+' icon"></i>':"",t=p.helpers.escape(e[v.text]||"",f.preserveHTML),o=p.helpers.deQuote(e[v.class]||""),s=e[v.click]&&A.isFunction(e[v.click])?e[v.click]:function(){};c.append(A("<button/>",{html:n+t,"aria-label":A("<div>"+(e[v.text]||e[v.icon]||"")+"</div>").text(),class:m.button+" "+o,click:function(){var e=A(this);e.is(g.approve)||e.is(g.deny)||!1===s.call(y,b)||p.close()}}))})),c&&c.hasClass(m.vertical)&&i.addClass(m.vertical),0<c.length&&!c.hasClass(m.attached)&&(!c||c.hasClass(m.basic)&&!c.hasClass(m.left)||i.addClass(m.actions)),"auto"===f.displayTime&&(f.displayTime=Math.max(f.minDisplayTime,i.text().split(" ").length/f.wordsPerMinute*6e4)),a.append(i),0<c.length&&c.hasClass(m.attached)&&(c.addClass(m.buttons),c.detach(),i.addClass(m.attached),c.hasClass(m.vertical)?(i.wrap(A("<div/>",{class:m.vertical+" "+m.attached+" "+(f.compact?m.compact:"")})),c.hasClass(m.left)?i.addClass(m.left).parent().addClass(m.left).prepend(c):i.parent().append(c)):c.hasClass(m.top)?(a.prepend(c),i.addClass(m.bottom)):(a.append(c),i.addClass(m.top))),b!==i&&(y=(b=i)[0]),0<f.displayTime){var s=m.progressing+" "+(f.pauseOnHover?m.pausable:"");f.showProgress&&(l=A("<div/>",{class:m.progress+" "+(f.classProgress||f.class),"data-percent":""}),f.classProgress||(i.hasClass("toast")&&!i.hasClass(m.inverted)?l.addClass(m.inverted):l.removeClass(m.inverted)),r=A("<div/>",{class:"bar "+(f.progressUp?"up ":"down ")+s}),l.addClass(f.showProgress).append(r),l.hasClass(m.top)?a.prepend(l):a.append(l),r.css("animation-duration",f.displayTime/1e3+"s")),(u=A("<span/>",{class:"wait "+s})).css("animation-duration",f.displayTime/1e3+"s"),u.appendTo(i)}f.compact&&(a.addClass(m.compact),i.addClass(m.compact),l&&l.addClass(m.compact)),f.newestOnTop?a.prependTo(p.get.container()):a.appendTo(p.get.container())}},bind:{events:function(){p.debug("Binding events to toast"),f.closeIcon&&d.on("click"+t,p.event.close),i.on("click"+t,p.event.click),u&&u.on("animationend"+t,p.event.close),a.on("click"+t,g.approve,p.event.approve).on("click"+t,g.deny,p.event.deny)}},unbind:{events:function(){p.debug("Unbinding events to toast"),f.closeIcon&&d.off("click"+t),i.off("click"+t),u&&u.off("animationend"+t),a.off("click"+t)}},animate:{show:function(e){e=A.isFunction(e)?e:function(){},f.transition&&p.can.useElement("transition")&&b.transition("is supported")&&(p.set.visible(),a.transition({animation:f.transition.showMethod+" in",queue:!1,debug:f.debug,verbose:f.verbose,duration:f.transition.showDuration,onComplete:function(){e.call(a,y),f.onVisible.call(a,y)}}))},close:function(e){e=A.isFunction(e)?e:function(){},f.transition&&A.fn.transition!==D&&b.transition("is supported")?a.transition({animation:f.transition.hideMethod+" out",queue:!1,duration:f.transition.hideDuration,debug:f.debug,verbose:f.verbose,interval:50,onBeforeHide:function(e){e=A.isFunction(e)?e:function(){},""!==f.transition.closeEasing?a&&(a.css("opacity",0),a.wrap("<div/>").parent().hide(f.transition.closeDuration,f.transition.closeEasing,function(){a&&(a.parent().remove(),e.call(a))})):e.call(a)},onComplete:function(){e.call(a,y),f.onHidden.call(a,y),p.destroy()}}):p.error(h.noTransition)},pause:function(){u.css("animationPlayState","paused"),r&&r.css("animationPlayState","paused")},continue:function(){u.css("animationPlayState","running"),r&&r.css("animationPlayState","running")}},has:{container:function(){return p.verbose("Determining if there is already a container"),0<s.find(p.helpers.toClass(f.position)+g.container+(f.horizontal?p.helpers.toClass(m.horizontal):":not("+p.helpers.toClass(m.horizontal)+")")).length},toast:function(){return!!p.get.toast()},toasts:function(){return 0<p.get.toasts().length},configActions:function(){return Array.isArray(f.actions)&&0<f.actions.length}},get:{id:function(){return e},container:function(){return s.find(p.helpers.toClass(f.position)+g.container+(f.horizontal?p.helpers.toClass(m.horizontal):":not("+p.helpers.toClass(m.horizontal)+")"))[0]},toastBox:function(){return a||null},toast:function(){return i||null},toasts:function(){return A(p.get.container()).find(g.box)},iconClass:function(){return"string"==typeof f.showIcon?f.showIcon:f.showIcon&&f.icons[f.class]?f.icons[f.class]:""},remainingTime:function(){return u?u.css("opacity")*f.displayTime:0}},set:{visible:function(){i.addClass(m.visible)}},remove:{visible:function(){i.removeClass(m.visible)}},event:{close:function(){p.close()},click:function(e){if(0===A(e.target).closest(g.clickable).length){if(!1===f.onClick.call(a,y)||!f.closeOnClick)return void p.verbose("Click callback returned false or close denied by setting cancelling close");p.close()}},approve:function(){!1!==f.onApprove.call(y,b)?p.close():p.verbose("Approve callback returned false cancelling close")},deny:function(){!1!==f.onDeny.call(y,b)?p.close():p.verbose("Deny callback returned false cancelling close")}},helpers:{toClass:function(e){var n=e.split(" "),t="";return n.forEach(function(e){t+="."+e}),t},deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,n){if(n)return e;var t={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;")).replace(/[<>"'`]/g,function(e){return t[e]}):e}},can:{useElement:function(e){return A.fn[e]!==D||(p.error(h.noElement.replace("{element}",e)),!1)}},setting:function(e,n){if(p.debug("Changing setting",e,n),A.isPlainObject(e))A.extend(!0,f,e);else{if(n===D)return f[e];A.isPlainObject(f[e])?A.extend(!0,f[e],n):f[e]=n}},internal:function(e,n){if(A.isPlainObject(e))A.extend(!0,p,e);else{if(n===D)return p[e];p[e]=n}},debug:function(){!f.silent&&f.debug&&(f.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,f.name+":"),p.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),p.verbose.apply(console,arguments)))},error:function(){f.silent||(p.error=Function.prototype.bind.call(console.error,console,f.name+":"),p.error.apply(console,arguments))},performance:{log:function(e){var n,t;f.performance&&(t=(n=(new Date).getTime())-(I||n),I=n,P.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:y,"Execution Time":t})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,500)},display:function(){var e=f.name+":",t=0;I=!1,clearTimeout(p.performance.timer),A.each(P,function(e,n){t+=n["Execution Time"]}),e+=" "+t+"ms",T&&(e+=" '"+T+"'"),(console.group!==D||console.table!==D)&&0<P.length&&(console.groupCollapsed(e),console.table?console.table(P):A.each(P,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),P=[]}},invoke:function(o,e,n){var s,a,t,i=w;return e=e||z,n=y||n,"string"==typeof o&&i!==D&&(o=o.split(/[\. ]/),s=o.length-1,A.each(o,function(e,n){var t=e!=s?n+o[e+1].charAt(0).toUpperCase()+o[e+1].slice(1):o;if(A.isPlainObject(i[t])&&e!=s)i=i[t];else{if(i[t]!==D)return a=i[t],!1;if(!A.isPlainObject(i[n])||e==s)return i[n]!==D?a=i[n]:p.error(h.method,o),!1;i=i[n]}})),A.isFunction(a)?t=a.apply(n,e):a!==D&&(t=a),Array.isArray(x)?x.push(t):x!==D?x=[x,t]:t!==D&&(x=t),a}},O?(w===D&&p.initialize(),p.invoke(M)):(w!==D&&w.invoke("destroy"),p.initialize(),x=b)}),x!==D?x:this},A.fn.toast.settings={name:"Toast",namespace:"toast",silent:!1,debug:!1,verbose:!1,performance:!0,context:"body",position:"top right",horizontal:!1,class:"neutral",classProgress:!1,classActions:!1,classImage:"mini",title:"",message:"",displayTime:3e3,minDisplayTime:1e3,wordsPerMinute:120,showIcon:!1,newestOnTop:!1,showProgress:!1,pauseOnHover:!0,progressUp:!1,opacity:1,compact:!0,closeIcon:!1,closeOnClick:!0,cloneModule:!0,actions:!1,preserveHTML:!0,showImage:!1,transition:{showMethod:"scale",showDuration:500,hideMethod:"scale",hideDuration:500,closeEasing:"easeOutCubic",closeDuration:500},error:{method:"The method you called is not defined.",noElement:"This module requires ui {element}",verticalCard:"Vertical but not attached actions are not supported for card layout"},className:{container:"ui toast-container",box:"floating toast-box",progress:"ui attached active progress",toast:"ui toast",icon:"centered icon",visible:"visible",content:"content",title:"ui header",message:"message",actions:"actions",extraContent:"extra content",button:"ui button",buttons:"ui buttons",close:"close icon",image:"ui image",vertical:"vertical",horizontal:"horizontal",attached:"attached",inverted:"inverted",compact:"compact",pausable:"pausable",progressing:"progressing",top:"top",bottom:"bottom",left:"left",basic:"basic",unclickable:"unclickable"},text:{close:"Close"},icons:{info:"info",success:"checkmark",warning:"warning",error:"times"},selector:{container:".ui.toast-container",box:".toast-box",toast:".ui.toast",title:".header",message:".message:not(.ui)",image:"> img.image, > .image > img",icon:"> i.icon",input:'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown',clickable:"a, details, .ui.accordion",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel"},fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onClick:function(){},onHide:function(){},onHidden:function(){},onRemove:function(){},onApprove:function(){},onDeny:function(){}},A.extend(A.easing,{easeOutBounce:function(e,n,t,o,s){return(n/=s)<1/2.75?o*(7.5625*n*n)+t:n<2/2.75?o*(7.5625*(n-=1.5/2.75)*n+.75)+t:n<2.5/2.75?o*(7.5625*(n-=2.25/2.75)*n+.9375)+t:o*(7.5625*(n-=2.625/2.75)*n+.984375)+t},easeOutCubic:function(e){return--e*e*e+1}})}(jQuery,window,document);
11
+ !function(A,e,n,D){"use strict";A.isFunction=A.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),A.fn.toast=function(k){var x,e=A(this),T=e.selector||"",I=(new Date).getTime(),P=[],M=k,O="string"==typeof M,z=[].slice.call(arguments,1);return e.each(function(){var a,i,c,l,r,u,d,e,p,f=A.isPlainObject(k)?A.extend(!0,{},A.fn.toast.settings,k):A.extend({},A.fn.toast.settings),m=f.className,g=f.selector,h=f.error,n=f.namespace,v=f.fields,t="."+n,o=n+"-module",b=A(this),s=f.context?A(f.context):A("body"),C=b.hasClass("toast")||b.hasClass("message")||b.hasClass("card"),y=this,w=C?b.data(o):D;p={initialize:function(){p.verbose("Initializing element"),p.create.id(),p.has.container()||p.create.container(),(C||""!==f.message||""!==f.title||""!==p.get.iconClass()||f.showImage||p.has.configActions())&&("string"==typeof f.showProgress&&-1!==[m.top,m.bottom].indexOf(f.showProgress)||(f.showProgress=!1),p.create.toast(),f.closeOnClick&&(f.closeIcon||0<A(i).find(g.input).length||p.has.configActions())&&(f.closeOnClick=!1),f.closeOnClick||a.addClass(m.unclickable),p.bind.events()),p.instantiate(),a&&p.show()},instantiate:function(){p.verbose("Storing instance of toast"),w=p,b.data(o,w)},destroy:function(){a&&(p.debug("Removing toast",a),p.unbind.events(),a.remove(),u=i=a=D,f.onRemove.call(a,y),d=r=l=D),b.removeData(o)},show:function(e){!1!==f.onShow.call(a,y)?(e=e||function(){},p.debug("Showing toast"),p.animate.show(e)):p.debug("onShow callback returned false, cancelling toast animation")},close:function(e){!1!==f.onHide.call(a,y)?(e=e||function(){},p.debug("Closing toast"),p.remove.visible(),p.unbind.events(),p.animate.close(e)):p.debug("onHide callback returned false, cancelling toast animation")},create:{container:function(){p.verbose("Creating container"),s.append(A("<div/>",{class:f.position+" "+m.container+" "+(f.horizontal?m.horizontal:"")}))},id:function(){e=(Math.random().toString(16)+"000000000").slice(2,10),p.verbose("Creating unique id for element",e)},toast:function(){a=A("<div/>",{class:m.box});var e=p.get.iconClass();if(C)i=f.cloneModule?b.clone().removeAttr("id"):b,d=i.find("> i"+p.helpers.toClass(m.close)),f.closeIcon=0<d.length,""!==e&&i.find(g.icon).attr("class",e+" "+m.icon),f.showImage&&i.find(g.image).attr("src",f.showImage),""!==f.title&&i.find(g.title).html(p.helpers.escape(f.title,f.preserveHTML)),""!==f.message&&i.find(g.message).html(p.helpers.escape(f.message,f.preserveHTML));else{p.verbose("Creating toast"),i=A("<div/>",{role:"alert"});var n=A("<div/>",{class:m.content});if(""!==e&&i.append(A("<i/>",{class:e+" "+m.icon})),f.showImage&&i.append(A("<img>",{class:m.image+" "+f.classImage,src:f.showImage})),""!==f.title){var t="_"+p.get.id()+"title";i.attr("aria-labelledby",t),n.append(A("<div/>",{class:m.title,id:t,html:p.helpers.escape(f.title,f.preserveHTML)}))}var o="_"+p.get.id()+"desc";i.attr("aria-describedby",o),n.append(A("<div/>",{class:m.message,id:o,html:p.helpers.escape(f.message,f.preserveHTML)})),i.addClass(f.class+" "+m.toast).append(n),i.css("opacity",f.opacity),f.closeIcon&&((d=A("<i/>",{class:m.close+" "+("string"==typeof f.closeIcon?f.closeIcon:""),role:"button",tabindex:0,"aria-label":f.text.close})).hasClass(m.left)?i.prepend(d):i.append(d))}if(i.hasClass(m.compact)&&(f.compact=!0),i.hasClass("card")&&(f.compact=!1),c=i.find(".actions"),p.has.configActions()&&(0===c.length&&(c=A("<div/>",{class:m.actions+" "+(f.classActions||"")}).appendTo(i)),i.hasClass("card")&&!c.hasClass(m.attached)&&(c.addClass(m.extraContent),c.hasClass(m.vertical)&&(c.removeClass(m.vertical),p.error(h.verticalCard))),f.actions.forEach(function(e){var n=e[v.icon]?"<i "+(e[v.text]?'aria-hidden="true"':"")+' class="'+p.helpers.deQuote(e[v.icon])+' icon"></i>':"",t=p.helpers.escape(e[v.text]||"",f.preserveHTML),o=p.helpers.deQuote(e[v.class]||""),s=e[v.click]&&A.isFunction(e[v.click])?e[v.click]:function(){};c.append(A("<button/>",{html:n+t,"aria-label":A("<div>"+(e[v.text]||e[v.icon]||"")+"</div>").text(),class:m.button+" "+o,click:function(){var e=A(this);e.is(g.approve)||e.is(g.deny)||!1===s.call(y,b)||p.close()}}))})),c&&c.hasClass(m.vertical)&&i.addClass(m.vertical),0<c.length&&!c.hasClass(m.attached)&&(!c||c.hasClass(m.basic)&&!c.hasClass(m.left)||i.addClass(m.actions)),"auto"===f.displayTime&&(f.displayTime=Math.max(f.minDisplayTime,i.text().split(" ").length/f.wordsPerMinute*6e4)),a.append(i),0<c.length&&c.hasClass(m.attached)&&(c.addClass(m.buttons),c.detach(),i.addClass(m.attached),c.hasClass(m.vertical)?(i.wrap(A("<div/>",{class:m.vertical+" "+m.attached+" "+(f.compact?m.compact:"")})),c.hasClass(m.left)?i.addClass(m.left).parent().addClass(m.left).prepend(c):i.parent().append(c)):c.hasClass(m.top)?(a.prepend(c),i.addClass(m.bottom)):(a.append(c),i.addClass(m.top))),b!==i&&(y=(b=i)[0]),0<f.displayTime){var s=m.progressing+" "+(f.pauseOnHover?m.pausable:"");f.showProgress&&(l=A("<div/>",{class:m.progress+" "+(f.classProgress||f.class),"data-percent":""}),f.classProgress||(i.hasClass("toast")&&!i.hasClass(m.inverted)?l.addClass(m.inverted):l.removeClass(m.inverted)),r=A("<div/>",{class:"bar "+(f.progressUp?"up ":"down ")+s}),l.addClass(f.showProgress).append(r),l.hasClass(m.top)?a.prepend(l):a.append(l),r.css("animation-duration",f.displayTime/1e3+"s")),(u=A("<span/>",{class:"wait "+s})).css("animation-duration",f.displayTime/1e3+"s"),u.appendTo(i)}f.compact&&(a.addClass(m.compact),i.addClass(m.compact),l&&l.addClass(m.compact)),f.newestOnTop?a.prependTo(p.get.container()):a.appendTo(p.get.container())}},bind:{events:function(){p.debug("Binding events to toast"),f.closeIcon&&d.on("click"+t,p.event.close),i.on("click"+t,p.event.click),u&&u.on("animationend"+t,p.event.close),a.on("click"+t,g.approve,p.event.approve).on("click"+t,g.deny,p.event.deny)}},unbind:{events:function(){p.debug("Unbinding events to toast"),f.closeIcon&&d.off("click"+t),i.off("click"+t),u&&u.off("animationend"+t),a.off("click"+t)}},animate:{show:function(e){e=A.isFunction(e)?e:function(){},f.transition&&p.can.useElement("transition")&&b.transition("is supported")&&(p.set.visible(),a.transition({animation:f.transition.showMethod+" in",queue:!1,debug:f.debug,verbose:f.verbose,duration:f.transition.showDuration,onComplete:function(){e.call(a,y),f.onVisible.call(a,y)}}))},close:function(e){e=A.isFunction(e)?e:function(){},f.transition&&A.fn.transition!==D&&b.transition("is supported")?a.transition({animation:f.transition.hideMethod+" out",queue:!1,duration:f.transition.hideDuration,debug:f.debug,verbose:f.verbose,interval:50,onBeforeHide:function(e){e=A.isFunction(e)?e:function(){},""!==f.transition.closeEasing?a&&(a.css("opacity",0),a.wrap("<div/>").parent().hide(f.transition.closeDuration,f.transition.closeEasing,function(){a&&(a.parent().remove(),e.call(a))})):e.call(a)},onComplete:function(){e.call(a,y),f.onHidden.call(a,y),p.destroy()}}):p.error(h.noTransition)},pause:function(){u.css("animationPlayState","paused"),r&&r.css("animationPlayState","paused")},continue:function(){u.css("animationPlayState","running"),r&&r.css("animationPlayState","running")}},has:{container:function(){return p.verbose("Determining if there is already a container"),0<s.find(p.helpers.toClass(f.position)+g.container+(f.horizontal?p.helpers.toClass(m.horizontal):":not("+p.helpers.toClass(m.horizontal)+")")).length},toast:function(){return!!p.get.toast()},toasts:function(){return 0<p.get.toasts().length},configActions:function(){return Array.isArray(f.actions)&&0<f.actions.length}},get:{id:function(){return e},container:function(){return s.find(p.helpers.toClass(f.position)+g.container+(f.horizontal?p.helpers.toClass(m.horizontal):":not("+p.helpers.toClass(m.horizontal)+")"))[0]},toastBox:function(){return a||null},toast:function(){return i||null},toasts:function(){return A(p.get.container()).find(g.box)},iconClass:function(){return"string"==typeof f.showIcon?f.showIcon:f.showIcon&&f.icons[f.class]?f.icons[f.class]:""},remainingTime:function(){return u?u.css("opacity")*f.displayTime:0}},set:{visible:function(){i.addClass(m.visible)}},remove:{visible:function(){i.removeClass(m.visible)}},event:{close:function(){p.close()},click:function(e){if(0===A(e.target).closest(g.clickable).length){if(!1===f.onClick.call(a,y)||!f.closeOnClick)return void p.verbose("Click callback returned false or close denied by setting cancelling close");p.close()}},approve:function(){!1!==f.onApprove.call(y,b)?p.close():p.verbose("Approve callback returned false cancelling close")},deny:function(){!1!==f.onDeny.call(y,b)?p.close():p.verbose("Deny callback returned false cancelling close")}},helpers:{toClass:function(e){var n=e.split(" "),t="";return n.forEach(function(e){t+="."+e}),t},deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,n){if(n)return e;var t={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;")).replace(/[<>"'`]/g,function(e){return t[e]}):e}},can:{useElement:function(e){return A.fn[e]!==D||(p.error(h.noElement.replace("{element}",e)),!1)}},setting:function(e,n){if(p.debug("Changing setting",e,n),A.isPlainObject(e))A.extend(!0,f,e);else{if(n===D)return f[e];A.isPlainObject(f[e])?A.extend(!0,f[e],n):f[e]=n}},internal:function(e,n){if(A.isPlainObject(e))A.extend(!0,p,e);else{if(n===D)return p[e];p[e]=n}},debug:function(){!f.silent&&f.debug&&(f.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,f.name+":"),p.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),p.verbose.apply(console,arguments)))},error:function(){f.silent||(p.error=Function.prototype.bind.call(console.error,console,f.name+":"),p.error.apply(console,arguments))},performance:{log:function(e){var n,t;f.performance&&(t=(n=(new Date).getTime())-(I||n),I=n,P.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:y,"Execution Time":t})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,500)},display:function(){var e=f.name+":",t=0;I=!1,clearTimeout(p.performance.timer),A.each(P,function(e,n){t+=n["Execution Time"]}),e+=" "+t+"ms",T&&(e+=" '"+T+"'"),(console.group!==D||console.table!==D)&&0<P.length&&(console.groupCollapsed(e),console.table?console.table(P):A.each(P,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),P=[]}},invoke:function(o,e,n){var s,a,t,i=w;return e=e||z,n=y||n,"string"==typeof o&&i!==D&&(o=o.split(/[\. ]/),s=o.length-1,A.each(o,function(e,n){var t=e!=s?n+o[e+1].charAt(0).toUpperCase()+o[e+1].slice(1):o;if(A.isPlainObject(i[t])&&e!=s)i=i[t];else{if(i[t]!==D)return a=i[t],!1;if(!A.isPlainObject(i[n])||e==s)return i[n]!==D?a=i[n]:p.error(h.method,o),!1;i=i[n]}})),A.isFunction(a)?t=a.apply(n,e):a!==D&&(t=a),Array.isArray(x)?x.push(t):x!==D?x=[x,t]:t!==D&&(x=t),a}},O?(w===D&&p.initialize(),p.invoke(M)):(w!==D&&w.invoke("destroy"),p.initialize(),x=b)}),x!==D?x:this},A.fn.toast.settings={name:"Toast",namespace:"toast",silent:!1,debug:!1,verbose:!1,performance:!0,context:"body",position:"top right",horizontal:!1,class:"neutral",classProgress:!1,classActions:!1,classImage:"mini",title:"",message:"",displayTime:3e3,minDisplayTime:1e3,wordsPerMinute:120,showIcon:!1,newestOnTop:!1,showProgress:!1,pauseOnHover:!0,progressUp:!1,opacity:1,compact:!0,closeIcon:!1,closeOnClick:!0,cloneModule:!0,actions:!1,preserveHTML:!0,showImage:!1,transition:{showMethod:"scale",showDuration:500,hideMethod:"scale",hideDuration:500,closeEasing:"easeOutCubic",closeDuration:500},error:{method:"The method you called is not defined.",noElement:"This module requires ui {element}",verticalCard:"Vertical but not attached actions are not supported for card layout"},className:{container:"ui toast-container",box:"floating toast-box",progress:"ui attached active progress",toast:"ui toast",icon:"centered icon",visible:"visible",content:"content",title:"ui header",message:"message",actions:"actions",extraContent:"extra content",button:"ui button",buttons:"ui buttons",close:"close icon",image:"ui image",vertical:"vertical",horizontal:"horizontal",attached:"attached",inverted:"inverted",compact:"compact",pausable:"pausable",progressing:"progressing",top:"top",bottom:"bottom",left:"left",basic:"basic",unclickable:"unclickable"},text:{close:"Close"},icons:{info:"info",success:"checkmark",warning:"warning",error:"times"},selector:{container:".ui.toast-container",box:".toast-box",toast:".ui.toast",title:".header",message:".message:not(.ui)",image:"> img.image, > .image > img",icon:"> i.icon",input:'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown',clickable:"a, details, .ui.accordion",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel"},fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onClick:function(){},onHide:function(){},onHidden:function(){},onRemove:function(){},onApprove:function(){},onDeny:function(){}},A.extend(A.easing,{easeOutBounce:function(e,n,t,o,s){return(n/=s)<1/2.75?o*(7.5625*n*n)+t:n<2/2.75?o*(7.5625*(n-=1.5/2.75)*n+.75)+t:n<2.5/2.75?o*(7.5625*(n-=2.25/2.75)*n+.9375)+t:o*(7.5625*(n-=2.625/2.75)*n+.984375)+t},easeOutCubic:function(e){return--e*e*e+1}})}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Transition
2
+ * # Fomantic-UI 2.9.0-beta.236 - Transition
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Transition
2
+ * # Fomantic-UI 2.9.0-beta.236 - Transition
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Transition
2
+ * # Fomantic-UI 2.9.0-beta.236 - Transition
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.0-beta.232 - Visibility
2
+ * # Fomantic-UI 2.9.0-beta.236 - Visibility
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.232
2
+ * # Fomantic UI - 2.9.0-beta.236
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *