fomantic-ui 2.9.1-beta.14 → 2.9.1-beta.16

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 (181) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +14 -12
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +2 -2
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +15 -12
  8. package/dist/components/api.min.js +2 -2
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +21 -21
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +2 -2
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +7 -7
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +2 -2
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +8 -8
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +2 -2
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +23 -23
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +2 -2
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +4 -4
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +2 -2
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/flyout.css +1 -1
  46. package/dist/components/flyout.js +26 -24
  47. package/dist/components/flyout.min.css +1 -1
  48. package/dist/components/flyout.min.js +2 -2
  49. package/dist/components/form.css +1 -1
  50. package/dist/components/form.js +15 -15
  51. package/dist/components/form.min.css +1 -1
  52. package/dist/components/form.min.js +2 -2
  53. package/dist/components/grid.css +1 -1
  54. package/dist/components/grid.min.css +1 -1
  55. package/dist/components/header.css +1 -1
  56. package/dist/components/header.min.css +1 -1
  57. package/dist/components/icon.css +1 -1
  58. package/dist/components/icon.min.css +1 -1
  59. package/dist/components/image.css +1 -1
  60. package/dist/components/image.min.css +1 -1
  61. package/dist/components/input.css +138 -8
  62. package/dist/components/input.min.css +2 -2
  63. package/dist/components/item.css +1 -1
  64. package/dist/components/item.min.css +1 -1
  65. package/dist/components/label.css +1 -1
  66. package/dist/components/label.min.css +1 -1
  67. package/dist/components/list.css +1 -1
  68. package/dist/components/list.min.css +1 -1
  69. package/dist/components/loader.css +1 -1
  70. package/dist/components/loader.min.css +1 -1
  71. package/dist/components/message.css +1 -1
  72. package/dist/components/message.min.css +1 -1
  73. package/dist/components/modal.css +1 -1
  74. package/dist/components/modal.js +30 -28
  75. package/dist/components/modal.min.css +1 -1
  76. package/dist/components/modal.min.js +2 -2
  77. package/dist/components/nag.css +1 -1
  78. package/dist/components/nag.js +6 -6
  79. package/dist/components/nag.min.css +1 -1
  80. package/dist/components/nag.min.js +2 -2
  81. package/dist/components/placeholder.css +1 -1
  82. package/dist/components/placeholder.min.css +1 -1
  83. package/dist/components/popup.css +1 -1
  84. package/dist/components/popup.js +9 -9
  85. package/dist/components/popup.min.css +1 -1
  86. package/dist/components/popup.min.js +2 -2
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +8 -8
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +2 -2
  91. package/dist/components/rail.css +1 -1
  92. package/dist/components/rail.min.css +1 -1
  93. package/dist/components/rating.css +1 -1
  94. package/dist/components/rating.js +4 -4
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +2 -2
  97. package/dist/components/reset.css +1 -1
  98. package/dist/components/reset.min.css +1 -1
  99. package/dist/components/reveal.css +1 -1
  100. package/dist/components/reveal.min.css +1 -1
  101. package/dist/components/search.css +1 -1
  102. package/dist/components/search.js +12 -12
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +2 -2
  105. package/dist/components/segment.css +1 -1
  106. package/dist/components/segment.min.css +1 -1
  107. package/dist/components/shape.css +1 -1
  108. package/dist/components/shape.js +5 -5
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +2 -2
  111. package/dist/components/sidebar.css +1 -1
  112. package/dist/components/sidebar.js +9 -9
  113. package/dist/components/sidebar.min.css +1 -1
  114. package/dist/components/sidebar.min.js +2 -2
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +10 -15
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +2 -2
  119. package/dist/components/slider.js +18 -13
  120. package/dist/components/slider.min.js +2 -2
  121. package/dist/components/state.js +4 -4
  122. package/dist/components/state.min.js +2 -2
  123. package/dist/components/statistic.css +4 -1
  124. package/dist/components/statistic.min.css +2 -2
  125. package/dist/components/step.css +1 -1
  126. package/dist/components/step.min.css +1 -1
  127. package/dist/components/sticky.css +1 -1
  128. package/dist/components/sticky.js +10 -9
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +2 -2
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +11 -11
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +2 -2
  135. package/dist/components/table.css +1 -1
  136. package/dist/components/table.min.css +1 -1
  137. package/dist/components/text.css +1 -1
  138. package/dist/components/text.min.css +1 -1
  139. package/dist/components/toast.css +1 -1
  140. package/dist/components/toast.js +28 -25
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +2 -2
  143. package/dist/components/transition.css +1 -1
  144. package/dist/components/transition.js +4 -4
  145. package/dist/components/transition.min.css +1 -1
  146. package/dist/components/transition.min.js +2 -2
  147. package/dist/components/visibility.js +5 -5
  148. package/dist/components/visibility.min.js +2 -2
  149. package/dist/semantic.css +258 -57
  150. package/dist/semantic.js +307 -294
  151. package/dist/semantic.min.css +2 -2
  152. package/dist/semantic.min.js +2 -2
  153. package/package.json +2 -2
  154. package/src/definitions/behaviors/api.js +14 -11
  155. package/src/definitions/behaviors/form.js +14 -14
  156. package/src/definitions/behaviors/state.js +3 -3
  157. package/src/definitions/behaviors/visibility.js +4 -4
  158. package/src/definitions/elements/input.less +14 -5
  159. package/src/definitions/globals/site.js +9 -14
  160. package/src/definitions/modules/accordion.js +13 -11
  161. package/src/definitions/modules/calendar.js +20 -20
  162. package/src/definitions/modules/checkbox.js +6 -6
  163. package/src/definitions/modules/dimmer.js +7 -7
  164. package/src/definitions/modules/dropdown.js +22 -22
  165. package/src/definitions/modules/embed.js +3 -3
  166. package/src/definitions/modules/flyout.js +25 -23
  167. package/src/definitions/modules/modal.js +29 -27
  168. package/src/definitions/modules/nag.js +5 -5
  169. package/src/definitions/modules/popup.js +8 -8
  170. package/src/definitions/modules/progress.js +7 -7
  171. package/src/definitions/modules/rating.js +3 -3
  172. package/src/definitions/modules/search.js +11 -11
  173. package/src/definitions/modules/shape.js +4 -4
  174. package/src/definitions/modules/sidebar.js +8 -8
  175. package/src/definitions/modules/slider.js +17 -12
  176. package/src/definitions/modules/sticky.js +9 -8
  177. package/src/definitions/modules/tab.js +10 -10
  178. package/src/definitions/modules/toast.js +27 -24
  179. package/src/definitions/modules/transition.js +3 -3
  180. package/src/definitions/views/statistic.less +5 -0
  181. package/src/themes/default/globals/variation.variables +1 -0
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.14+1a3de4b
2
+ * # Fomantic UI - 2.9.1-beta.16+7071e59
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(re,Y,O,oe){"use strict";re.isFunction=re.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},Y=void 0!==Y&&Y.Math==Math?Y:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),re.fn.calendar=function(g){var y,e=re(this),D=re(O),v=e.selector||"",b=(new Date).getTime(),M=[],C=g,w="string"==typeof C,x=[].slice.call(arguments,1),T={5:{row:4,column:3},10:{row:3,column:2},15:{row:2,column:2},20:{row:3,column:1},30:{row:2,column:1}},ne=["","one","two","three","four","five","six","seven","eight"];return e.each(function(){var p,e,z=re.isPlainObject(g)?re.extend(!0,{},re.fn.calendar.settings,g):re.extend({},re.fn.calendar.settings),_=z.className,a=z.namespace,n=z.selector,Q=z.formatter,t=z.parser,Z=z.metadata,X=T[z.minTimeGap],s=z.error,r="."+a,o="module-"+a,i=re(this),l=i.find(n.input),d=i.find(n.activator),u=this,c=i.data(o),ee=c&&c.popupId?D.find("#"+c.popupId):i.find(n.popup),f=!1,te=i.hasClass(_.inverted),h=!1,m=!1,ae={initialize:function(){ae.debug("Initializing calendar for",u,i),p=ae.get.isTouch(),ae.setup.config(),ae.setup.popup(),ae.setup.inline(),ae.setup.input(),ae.setup.date(),ae.create.calendar(),ae.bind.events(),ae.observeChanges(),ae.instantiate()},instantiate:function(){ae.verbose("Storing instance of calendar"),c=ae,i.data(o,c)},destroy:function(){ae.verbose("Destroying previous calendar for",u),i.removeData(o),ae.unbind.events(),ae.disconnect.classObserver()},setup:{config:function(){null!==ae.get.minDate()&&ae.set.minDate(i.data(Z.minDate)),null!==ae.get.maxDate()&&ae.set.maxDate(i.data(Z.maxDate)),ae.setting("type",ae.get.type()),ae.setting("on",z.on||"click")},popup:function(){var e,t;z.inline||(d.length||(d=i.children().first()).length)&&(re.fn.popup===oe?ae.error(s.popup):((ee=ee.length?ee:z.context?(ae.popupId=a+"_popup_"+(Math.random().toString(16)+"000000000").slice(2,10),re("<div/>",{id:ae.popupId}).addClass(_.popup).appendTo(D.find(z.context))):(e=0!==(t=d.parent()).closest(n.append).length?"appendTo":"prependTo",re("<div/>").addClass(_.popup)[e](t))).addClass(_.calendar),te&&ee.addClass(_.inverted),e=function(){return ae.refreshTooltips(),z.onVisible.apply(ee,arguments)},l.length||(ee.attr("tabindex","0"),e=function(){return ae.refreshTooltips(),ae.focus(),z.onVisible.apply(ee,arguments)}),t=ae.setting("on"),t=re.extend({},z.popupOptions,{popup:ee,movePopup:!z.context,on:t,hoverable:"hover"===t,closable:"click"===t,onShow:function(){return ae.set.focusDate(ae.get.date()),ae.set.mode(ae.get.validatedMode(z.startMode)),z.onShow.apply(ee,arguments)},onVisible:e,onHide:z.onHide,onHidden:function(){return ae.blur(),z.onHidden.apply(ee,arguments)}}),ae.popup(t)))},inline:function(){d.length&&!z.inline||(z.inline=!0,ee=re("<div/>").addClass(_.calendar).appendTo(i),l.length||ee.attr("tabindex","0"))},input:function(){z.touchReadonly&&l.length&&p&&l.prop("readonly",!0),ae.check.disabled()},date:function(){var e;z.initialDate?e=t.date(z.initialDate,z):i.data(Z.date)!==oe?e=t.date(i.data(Z.date),z):l.length&&(e=t.date(l.val(),z)),ae.set.date(e,z.formatInput,!1),ae.set.mode(ae.get.mode(),!1)}},trigger:{change:function(){var e,t=l[0];t&&(e=O.createEvent("HTMLEvents"),ae.verbose("Triggering native change event"),e.initEvent("change",!0,!1),t.dispatchEvent(e))}},create:{calendar:function(){var e,t,j,a=ae.get.mode(),n=new Date,q=ae.get.date(),r=ae.get.focusDate(),o=ae.helper.dateInRange(r||q||z.initialDate||n),i=(r||ae.set.focusDate(r=o,!1,!1),"year"===a),s="month"===a,l="day"===a,d="hour"===a,u="minute"===a,W="time"===z.type,R=Math.max(z.multiMonth,1),V=l?ae.get.monthOffset():0,p=o.getMinutes(),c=o.getHours(),f=o.getDate(),G=o.getMonth()+V,h=o.getFullYear(),m=l?z.showWeekNumbers?8:7:d?4:X.column,P=l||d?6:X.row,g=l?R:1,y=(D=ee).hasClass("left")?"right center":"left center";for(D.empty(),1<g&&(j=re("<div/>").addClass(_.grid).appendTo(D)),t=0;t<g;t++){1<g&&(D=re("<div/>").addClass(_.column).appendTo(j));var D,v=G+t,B=(new Date(h,v,1).getDay()-z.firstDayOfWeek%7+7)%7,b=(!z.constantHeight&&l&&(b=new Date(h,v+1,0).getDate()+B,P=Math.ceil(b/7)),i?10:s?1:0),M=l?1:0,C=d||u?1:0,w=d||u?f:1,x=new Date(h-b,v-M,w-C,c),M=new Date(h+b,v+M,w+C,c),w=i?new Date(10*Math.ceil(h/10)-9,0,0):s?new Date(h,0,0):l?new Date(h,v,0):new Date(h,v,f,-1),C=i?new Date(10*Math.ceil(h/10)+1,0,1):s?new Date(h+1,0,1):l?new Date(h,v+1,1):new Date(h,v,f+1),T=a,T=(l&&z.showWeekNumbers&&(T+=" andweek"),re("<table/>").addClass(_.table).addClass(T).addClass(ne[m]+" column").appendTo(D)),K=(te&&T.addClass(_.inverted),m);if(!W){var U=re("<thead/>").appendTo(T),Y=re("<tr/>").appendTo(U),O=re("<th/>").attr("colspan",""+m).appendTo(Y),k=i||s?new Date(h,0,1):l?new Date(h,v,1):new Date(h,v,f,c,p),A=re("<span/>").addClass(_.link).appendTo(O),k=(A.text(ae.helper.dateFormat(Q[a+"Header"],k)),s?z.disableYear?"day":"year":l?z.disableMonth?"year":"month":"day");if(A.data(Z.mode,k),0===t&&((A=re("<span/>").addClass(_.prev).appendTo(O)).data(Z.focusDate,x),A.toggleClass(_.disabledCell,!ae.helper.isDateInRange(w,a)),re("<i/>").addClass(_.prevIcon).appendTo(A)),t===g-1&&((k=re("<span/>").addClass(_.next).appendTo(O)).data(Z.focusDate,M),k.toggleClass(_.disabledCell,!ae.helper.isDateInRange(C,a)),re("<i/>").addClass(_.nextIcon).appendTo(k)),l)for(Y=re("<tr/>").appendTo(U),z.showWeekNumbers&&((O=re("<th/>").appendTo(Y)).text(z.text.weekNo),O.addClass(_.weekCell),K--),F=0;F<K;F++)(O=re("<th/>").appendTo(Y)).text(Q.dayColumnHeader((F+z.firstDayOfWeek)%7,z))}for(var J=re("<tbody/>").appendTo(T),F=i?10*Math.ceil(h/10)-9:l?1-B:0,L=0;L<P;L++)for(Y=re("<tr/>").appendTo(J),l&&z.showWeekNumbers&&((O=re("<th/>").appendTo(Y)).text(ae.get.weekOfYear(h,v,F+1-z.firstDayOfWeek)),O.addClass(_.weekCell)),e=0;e<K;e++,F++){var N,H=i?new Date(F,v,1,c,p):s?new Date(h,F,1,c,p):l?new Date(h,v,F,c,p):d?new Date(h,v,f,F):new Date(h,v,f,c,F*z.minTimeGap),E=i?F:s?z.text.monthsShort[F]:l?H.getDate():ae.helper.dateFormat(Q.cellTime,H),E=((O=re("<td/>").addClass(_.cell).appendTo(Y)).text(E),O.data(Z.date,H),l&&H.getMonth()!==(v+12)%12),I=!z.selectAdjacentDays&&E||!ae.helper.isDateInRange(H,a)||z.isDisabled(H,a)||ae.helper.isDisabled(H,a)||!ae.helper.isEnabled(H,a),S=(I?(null!==(S=ae.helper.findDayAsObject(H,a,z.disabledDates))&&S[Z.message]&&(O.attr("data-tooltip",S[Z.message]),O.attr("data-position",S[Z.position]||y),(S[Z.inverted]||te&&S[Z.inverted]===oe)&&O.attr("data-inverted",""),S[Z.variation]&&O.attr("data-variation",S[Z.variation])),"hour"===a&&null!==(S=ae.helper.findHourAsObject(H,a,z.disabledHours))&&S[Z.message]&&(O.attr("data-tooltip",S[Z.message]),O.attr("data-position",S[Z.position]||y),(S[Z.inverted]||te&&S[Z.inverted]===oe)&&O.attr("data-inverted",""),S[Z.variation]&&O.attr("data-variation",S[Z.variation]))):null!==(N=ae.helper.findDayAsObject(H,a,z.eventDates))&&(O.addClass(N[Z.class]||z.eventClass),N[Z.message]&&(O.attr("data-tooltip",N[Z.message]),O.attr("data-position",N[Z.position]||y),(N[Z.inverted]||te&&N[Z.inverted]===oe)&&O.attr("data-inverted",""),N[Z.variation]&&O.attr("data-variation",N[Z.variation]))),ae.helper.dateEqual(H,q,a)),$=ae.helper.dateEqual(H,n,a),E=(O.toggleClass(_.adjacentCell,E&&!N),O.toggleClass(_.disabledCell,I),O.toggleClass(_.activeCell,S&&!(E&&I)),d||u||O.toggleClass(_.todayCell,!E&&$),{mode:a,adjacent:E,disabled:I,active:S,today:$});Q.cell(O,H,E),ae.helper.dateEqual(H,r,a)&&ae.set.focusDate(H,!1,!1)}z.today&&(x=re("<tr/>").appendTo(J),(w=re("<td/>").attr("colspan",""+m).addClass(_.today).appendTo(x)).text(Q.today(z)),w.data(Z.date,n)),ae.update.focus(!1,T),z.inline&&ae.refreshTooltips()}}},update:{focus:function(e,t){t=t||ee;var i=ae.get.mode(),a=ae.get.date(),s=ae.get.focusDate(),l=ae.get.startDate(),d=ae.get.endDate(),u=(e?s:null)||a||(p?null:s);t.find("td").each(function(){var e,t,a,n,r=re(this),o=r.data(Z.date);o&&(e=r.hasClass(_.disabledCell),t=r.hasClass(_.activeCell),a=r.hasClass(_.adjacentCell),n=ae.helper.dateEqual(o,s,i),o=!!u&&(!!l&&ae.helper.isDateInRange(o,i,l,u)||!!d&&ae.helper.isDateInRange(o,i,u,d)),r.toggleClass(_.focusCell,n&&(!p||f)&&(!a||z.selectAdjacentDays&&a)&&!e),ae.helper.isTodayButton(r)||r.toggleClass(_.rangeCell,o&&!t&&!e))})}},refresh:function(){ae.create.calendar()},refreshTooltips:function(){var n=re(Y).width();ee.find("td[data-position]").each(function(){var e=re(this),t=Y.getComputedStyle(e[0],"::after").width.replace(/[^0-9\.]/g,""),a=e.attr("data-position"),t=n-e.width()-(parseInt(t,10)||250)>e.offset().left?"right":"left";-1===a.indexOf(t)&&e.attr("data-position",a.replace(/(left|right)/,t))})},bind:{events:function(){ae.debug("Binding events"),ee.on("mousedown"+r,ae.event.mousedown),ee.on("touchstart"+r,ae.event.mousedown),ee.on("mouseup"+r,ae.event.mouseup),ee.on("touchend"+r,ae.event.mouseup),ee.on("mouseover"+r,ae.event.mouseover),l.length?(l.on("input"+r,ae.event.inputChange),l.on("focus"+r,ae.event.inputFocus),l.on("blur"+r,ae.event.inputBlur),l.on("keydown"+r,ae.event.keydown)):ee.on("keydown"+r,ae.event.keydown)}},unbind:{events:function(){ae.debug("Unbinding events"),ee.off(r),l.length&&l.off(r)}},event:{mouseover:function(e){var t=re(e.target).data(Z.date),e=1===e.buttons;t&&ae.set.focusDate(t,!1,!0,e)},mousedown:function(e){l.length&&e.preventDefault(),f=0<=e.type.indexOf("touch");e=re(e.target).data(Z.date);e&&ae.set.focusDate(e,!1,!0,!0)},mouseup:function(e){ae.focus(),e.preventDefault(),e.stopPropagation(),f=!1;var t,a,n,e=re(e.target);e.hasClass("disabled")||(t=(e=(t=e.parent()).data(Z.date)||t.data(Z.focusDate)||t.data(Z.mode)?t:e).data(Z.date),a=e.data(Z.focusDate),n=e.data(Z.mode),t&&!1!==z.onSelect.call(u,t,ae.get.mode())?(e=e.hasClass(_.today),ae.selectDate(t,e)):a?ae.set.focusDate(a):n&&ae.set.mode(n))},keydown:function(e){var t,a,n,r,o,i,s,l=e.which;9===l&&ae.popup("hide"),ae.popup("is visible")&&(t=ae.get.mode(),37===l||38===l||39===l||40===l?(o="day"===t?7:"hour"===t?4:"minute"===t?X.column:3,o=37===l?-1:38===l?-o:39==l?1:o,o*="minute"===t?z.minTimeGap:1,i=(a=ae.get.focusDate()||ae.get.date()||new Date).getFullYear()+("year"===t?o:0),s=a.getMonth()+("month"===t?o:0),n=a.getDate()+("day"===t?o:0),r=a.getHours()+("hour"===t?o:0),o=a.getMinutes()+("minute"===t?o:0),i=new Date(i,s,n,r,o),"time"===z.type&&(i=ae.helper.mergeDateTime(a,i)),ae.helper.isDateInRange(i,t)&&ae.set.focusDate(i)):13===l?((s=ae.get.focusDate())&&!z.isDisabled(s,t)&&!ae.helper.isDisabled(s,t)&&ae.helper.isEnabled(s,t)&&!1!==z.onSelect.call(u,s,ae.get.mode())&&ae.selectDate(s),e.preventDefault(),e.stopPropagation()):27===l&&(ae.popup("hide"),e.stopPropagation())),38!==l&&40!==l||(e.preventDefault(),ae.popup("show"))},inputChange:function(){var e=l.val(),e=t.date(e,z);ae.set.date(e,!1)},inputFocus:function(){ee.addClass(_.active)},inputBlur:function(){var e;ee.removeClass(_.active),z.formatInput&&(e=ae.get.date(),e=ae.helper.dateFormat(Q[z.type],e),l.val(e)),m&&(ae.trigger.change(),m=!1)},class:{mutation:function(e){e.forEach(function(e){"class"===e.attributeName&&ae.check.disabled()})}}},observeChanges:function(){"MutationObserver"in Y&&(e=new MutationObserver(ae.event.class.mutation),ae.debug("Setting up mutation observer",e),ae.observe.class())},disconnect:{classObserver:function(){l.length&&e&&e.disconnect()}},observe:{class:function(){l.length&&e&&e.observe(i[0],{attributes:!0})}},is:{disabled:function(){return i.hasClass(_.disabled)}},check:{disabled:function(){l.attr("tabindex",ae.is.disabled()?-1:0)}},get:{weekOfYear:function(e,t,a){return e=Date.UTC(e,t,a+3)/864e5,e=Math.floor(e/7),t=new Date(6048e5*e).getUTCFullYear(),e-Math.floor(Date.UTC(t,0,7)/6048e5)+1},formattedDate:function(e,t){return ae.helper.dateFormat(e||Q[z.type],t||ae.get.date())},date:function(){return ae.helper.sanitiseDate(i.data(Z.date))||null},inputDate:function(){return l.val()},focusDate:function(){return i.data(Z.focusDate)||null},startDate:function(){var e=ae.get.calendarModule(z.startCalendar);return(e?e.get.date():i.data(Z.startDate))||null},endDate:function(){var e=ae.get.calendarModule(z.endCalendar);return(e?e.get.date():i.data(Z.endDate))||null},minDate:function(){return i.data(Z.minDate)||null},maxDate:function(){return i.data(Z.maxDate)||null},monthOffset:function(){return i.data(Z.monthOffset)||z.monthOffset||0},mode:function(){var e=i.data(Z.mode)||z.startMode;return ae.get.validatedMode(e)},validatedMode:function(e){var t=ae.get.validModes();return 0<=re.inArray(e,t)?e:"time"===z.type?"hour":"month"===z.type?"month":"year"===z.type?"year":"day"},type:function(){return i.data(Z.type)||z.type},validModes:function(){var e=[];return"time"!==z.type&&(z.disableYear&&"year"!==z.type||e.push("year"),(z.disableMonth||"year"===z.type)&&"month"!==z.type||e.push("month"),0<=z.type.indexOf("date")&&e.push("day")),0<=z.type.indexOf("time")&&(e.push("hour"),z.disableMinute||e.push("minute")),e},isTouch:function(){try{return O.createEvent("TouchEvent"),!0}catch(e){return!1}},calendarModule:function(e){return e?(e=e instanceof re?e:D.find(e).first()).data(o):null}},set:{date:function(e,t,a){t=!1!==t,a=!1!==a,e=ae.helper.sanitiseDate(e),e=ae.helper.dateInRange(e);var n=ae.get.mode(),r=ae.helper.dateFormat(Q[z.type],e);if(a&&!1===z.onBeforeChange.call(u,e,r,n))return!1;if(ae.set.focusDate(e),z.isDisabled(e,n))return!1;var o=ae.get.endDate();o&&e&&o<e&&ae.set.endDate(oe),ae.set.dataKeyValue(Z.date,e),t&&l.length&&l.val(r),a&&z.onChange.call(u,e,r,n)},startDate:function(e,t){e=ae.helper.sanitiseDate(e);var a=ae.get.calendarModule(z.startCalendar);a&&a.set.date(e),ae.set.dataKeyValue(Z.startDate,e,t)},endDate:function(e,t){e=ae.helper.sanitiseDate(e);var a=ae.get.calendarModule(z.endCalendar);a&&a.set.date(e),ae.set.dataKeyValue(Z.endDate,e,t)},focusDate:function(e,t,a,n){e=ae.helper.sanitiseDate(e),e=ae.helper.dateInRange(e);var r="day"===ae.get.mode(),o=ae.get.focusDate(),r=(r&&e&&o&&((r=12*(e.getFullYear()-o.getFullYear())+e.getMonth()-o.getMonth())&&(o=ae.get.monthOffset()-r,ae.set.monthOffset(o,!1))),ae.set.dataKeyValue(Z.focusDate,e,!!e&&t));a=!1!==a&&r&&!1===t||h!=n,h=n,a&&ae.update.focus(n)},minDate:function(e){e=ae.helper.sanitiseDate(e),null!==z.maxDate&&z.maxDate<=e?ae.verbose("Unable to set minDate variable bigger that maxDate variable",e,z.maxDate):(ae.setting("minDate",e),ae.set.dataKeyValue(Z.minDate,e))},maxDate:function(e){e=ae.helper.sanitiseDate(e),null!==z.minDate&&z.minDate>=e?ae.verbose("Unable to set maxDate variable lower that minDate variable",e,z.minDate):(ae.setting("maxDate",e),ae.set.dataKeyValue(Z.maxDate,e))},monthOffset:function(e,t){var a=Math.max(z.multiMonth,1);e=Math.max(1-a,Math.min(0,e)),ae.set.dataKeyValue(Z.monthOffset,e,t)},mode:function(e,t){ae.set.dataKeyValue(Z.mode,e,t)},dataKeyValue:function(e,t,a){var n=i.data(e),n=n===t||n<=t&&t<=n;return t?i.data(e,t):i.removeData(e),(a=!1!==a&&!n)&&ae.refresh(),!n}},selectDate:function(e,t){ae.verbose("New date selection",e);var a=ae.get.mode();t||"minute"===a||z.disableMinute&&"hour"===a||"date"===z.type&&"day"===a||"month"===z.type&&"month"===a||"year"===z.type&&"year"===a?!1!==ae.set.date(e)&&(m=!0,z.closable&&(ae.popup("hide"),(t=ae.get.calendarModule(z.endCalendar))&&(t.refresh(),"focus"!==t.setting("on")&&t.popup("show"),t.focus()))):(t="year"===a?z.disableMonth?"day":"month":"month"===a?"day":"day"===a?"hour":"minute",ae.set.mode(t),"hour"===a||"day"===a&&ae.get.date()?ae.set.date(e,!0,!1):ae.set.focusDate(e))},changeDate:function(e){ae.set.date(e)},clear:function(){ae.set.date(oe)},popup:function(){return d.popup.apply(d,arguments)},focus:function(){(l.length?l:ee).focus()},blur:function(){(l.length?l:ee).blur()},helper:{dateFormat:function(e,t){if(!(t instanceof Date))return"";if("function"==typeof e)return e.call(ae,t,z);var a=t.getDate(),n=t.getMonth(),r=t.getFullYear(),o=t.getDay(),i=t.getHours(),s=t.getMinutes(),t=t.getSeconds(),l=ae.get.weekOfYear(r,n,a+1-z.firstDayOfWeek),d=i%12||12,u=(i<12?z.text.am:z.text.pm).toLowerCase(),p={D:a,DD:("0"+a).slice(-2),M:n+1,MM:("0"+(n+1)).slice(-2),MMM:z.text.monthsShort[n],MMMM:z.text.months[n],Y:r,YY:String(r).slice(2),YYYY:r,d:o,dd:z.text.dayNamesShort[o].slice(0,2),ddd:z.text.dayNamesShort[o],dddd:z.text.dayNames[o],h:d,hh:("0"+d).slice(-2),H:i,HH:("0"+i).slice(-2),m:s,mm:("0"+s).slice(-2),s:t,ss:("0"+t).slice(-2),a:u,A:u.toUpperCase(),S:["th","st","nd","rd"][3<a%10?0:(a%100-a%10!=10)*a%10],w:l,ww:("0"+l).slice(-2)};return e.replace(z.regExp.token,function(e){return e in p?p[e]:e.slice(1,e.length-1)})},isDisabled:function(a,n){return("day"===n||"month"===n||"year"===n||"hour"===n)&&("day"===n&&-1!==z.disabledDaysOfWeek.indexOf(a.getDay())||z.disabledDates.some(function(e){return(e="string"==typeof e?ae.helper.sanitiseDate(e):e)instanceof Date?ae.helper.dateEqual(a,e,n):null!==e&&"object"==typeof e?e[Z.year]?"number"==typeof e[Z.year]?a.getFullYear()==e[Z.year]:Array.isArray(e[Z.year])?-1<e[Z.year].indexOf(a.getFullYear()):void 0:e[Z.month]?"number"==typeof e[Z.month]?a.getMonth()==e[Z.month]:Array.isArray(e[Z.month])?-1<e[Z.month].indexOf(a.getMonth()):e[Z.month]instanceof Date?(t=ae.helper.sanitiseDate(e[Z.month]),a.getMonth()==t.getMonth()&&a.getFullYear()==t.getFullYear()):void 0:e[Z.date]&&"day"===n?e[Z.date]instanceof Date?ae.helper.dateEqual(a,ae.helper.sanitiseDate(e[Z.date]),n):Array.isArray(e[Z.date])?e[Z.date].some(function(e){return ae.helper.dateEqual(a,e,n)}):void 0:void 0:void 0;var t})||"hour"===n&&z.disabledHours.some(function(e){if((e="string"==typeof e?ae.helper.sanitiseDate(e):e)instanceof Date)return ae.helper.dateEqual(a,e,n);if("number"==typeof e)return a.getHours()===e;if(null!==e&&"object"==typeof e){var t=!0;if(e[Z.date])if(e[Z.date]instanceof Date)t=ae.helper.dateEqual(a,ae.helper.sanitiseDate(e[Z.date]));else if(Array.isArray(e[Z.date]))return e[Z.date].some(function(e){t=ae.helper.dateEqual(a,e,n)});if(e[Z.days]&&("number"==typeof e[Z.days]?t=a.getDay()==e[Z.days]:Array.isArray(e[Z.days])&&(t=-1<e[Z.days].indexOf(a.getDay()))),e[Z.hours])return"number"==typeof e[Z.hours]?t&&a.getHours()==e[Z.hours]:Array.isArray(e[Z.hours])?t&&-1<e[Z.hours].indexOf(a.getHours()):void 0}}))},isEnabled:function(t,a){return"day"!==a||(0===z.enabledDates.length||z.enabledDates.some(function(e){return(e="string"==typeof e?ae.helper.sanitiseDate(e):e)instanceof Date?ae.helper.dateEqual(t,e,a):null!==e&&"object"==typeof e&&e[Z.date]?ae.helper.dateEqual(t,ae.helper.sanitiseDate(e[Z.date]),a):void 0}))},findDayAsObject:function(t,a,e){if("day"===a||"month"===a||"year"===a)for(var n,r=0;r<e.length;r++){if((n="string"==typeof(n=e[r])?ae.helper.sanitiseDate(n):n)instanceof Date&&ae.helper.dateEqual(t,n,a))return(o={})[Z.date]=n,o;if(null!==n&&"object"==typeof n)if(n[Z.year]){if("number"==typeof n[Z.year]&&t.getFullYear()==n[Z.year])return n;if(Array.isArray(n[Z.year])&&-1<n[Z.year].indexOf(t.getFullYear()))return n}else if(n[Z.month]){if("number"==typeof n[Z.month]&&t.getMonth()==n[Z.month])return n;if(Array.isArray(n[Z.month])){if(-1<n[Z.month].indexOf(t.getMonth()))return n}else if(n[Z.month]instanceof Date){var o=ae.helper.sanitiseDate(n[Z.month]);if(t.getMonth()==o.getMonth()&&t.getFullYear()==o.getFullYear())return n}}else if(n[Z.date]&&"day"===a){if(n[Z.date]instanceof Date&&ae.helper.dateEqual(t,ae.helper.sanitiseDate(n[Z.date]),a))return n;if(Array.isArray(n[Z.date])&&n[Z.date].some(function(e){return ae.helper.dateEqual(t,e,a)}))return n}}return null},findHourAsObject:function(t,a,e){if("hour"===a)for(var n,r=function(e,t){if(t[Z.hours])return"number"==typeof t[Z.hours]&&e.getHours()==t[Z.hours]||Array.isArray(t[Z.hours])&&-1<t[Z.hours].indexOf(e.getHours())?t:void 0},o=0;o<e.length;o++){if("number"==typeof(n=e[o])&&t.getHours()==n)return null;if(null!==n&&"object"==typeof n)if(n[Z.days]&&r(t,n)){if("number"==typeof n[Z.days]&&t.getDay()==n[Z.days])return n;if(Array.isArray(n[Z.days])&&-1<n[Z.days].indexOf(t.getDay()))return n}else if(n[Z.date]&&r(t,n)){if(n[Z.date]instanceof Date&&ae.helper.dateEqual(t,ae.helper.sanitiseDate(n[Z.date])))return n;if(Array.isArray(n[Z.date])&&n[Z.date].some(function(e){return ae.helper.dateEqual(t,e,a)}))return n}else if(r(t,n))return n}return null},sanitiseDate:function(e){return!(e=e instanceof Date?e:t.date(""+e,z))||isNaN(e.getTime())?null:e},dateDiff:function(e,t,a){var n="time"===z.type,r="year"===(a=a||"day"),o=r||"month"===a,i="minute"===a,a=i||"hour"===a;return e=new Date(n?2e3:e.getFullYear(),n||r?0:e.getMonth(),n||o?1:e.getDate(),a?e.getHours():0,i?z.minTimeGap*Math.floor(e.getMinutes()/z.minTimeGap):0),(t=new Date(n?2e3:t.getFullYear(),n||r?0:t.getMonth(),n||o?1:t.getDate(),a?t.getHours():0,i?z.minTimeGap*Math.floor(t.getMinutes()/z.minTimeGap):0)).getTime()-e.getTime()},dateEqual:function(e,t,a){return!!e&&!!t&&0===ae.helper.dateDiff(e,t,a)},isDateInRange:function(e,t,a,n){var r;return a||n||(a=(r=ae.get.startDate())&&z.minDate?new Date(Math.max(r,z.minDate)):r||z.minDate,n=z.maxDate),a=a&&new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),z.minTimeGap*Math.ceil(a.getMinutes()/z.minTimeGap)),!(!e||a&&0<ae.helper.dateDiff(e,a,t)||n&&0<ae.helper.dateDiff(n,e,t))},dateInRange:function(e,t,a){t||a||(t=(n=ae.get.startDate())&&z.minDate?new Date(Math.max(n,z.minDate)):n||z.minDate,a=z.maxDate),t=t&&new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),z.minTimeGap*Math.ceil(t.getMinutes()/z.minTimeGap));var n="time"===z.type;return e&&(t&&0<ae.helper.dateDiff(e,t,"minute")?n?ae.helper.mergeDateTime(e,t):t:a&&0<ae.helper.dateDiff(a,e,"minute")?n?ae.helper.mergeDateTime(e,a):a:e)},mergeDateTime:function(e,t){return e&&t?new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes()):t},isTodayButton:function(e){return e.text()===z.text.today}},setting:function(e,t){if(ae.debug("Changing setting",e,t),re.isPlainObject(e))re.extend(!0,z,e);else{if(t===oe)return z[e];re.isPlainObject(z[e])?re.extend(!0,z[e],t):z[e]=t}},internal:function(e,t){if(re.isPlainObject(e))re.extend(!0,ae,e);else{if(t===oe)return ae[e];ae[e]=t}},debug:function(){!z.silent&&z.debug&&(z.performance?ae.performance.log(arguments):(ae.debug=Function.prototype.bind.call(console.info,console,z.name+":"),ae.debug.apply(console,arguments)))},verbose:function(){!z.silent&&z.verbose&&z.debug&&(z.performance?ae.performance.log(arguments):(ae.verbose=Function.prototype.bind.call(console.info,console,z.name+":"),ae.verbose.apply(console,arguments)))},error:function(){z.silent||(ae.error=Function.prototype.bind.call(console.error,console,z.name+":"),ae.error.apply(console,arguments))},performance:{log:function(e){var t,a;z.performance&&(a=(t=(new Date).getTime())-(b||t),b=t,M.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":a})),clearTimeout(ae.performance.timer),ae.performance.timer=setTimeout(ae.performance.display,500)},display:function(){var e=z.name+":",a=0;b=!1,clearTimeout(ae.performance.timer),re.each(M,function(e,t){a+=t["Execution Time"]}),e+=" "+a+"ms",v&&(e+=" '"+v+"'"),(console.group!==oe||console.table!==oe)&&0<M.length&&(console.groupCollapsed(e),console.table?console.table(M):re.each(M,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),M=[]}},invoke:function(n,e,t){var r,o,a,i=c;return e=e||x,t=t||u,"string"==typeof n&&i!==oe&&(n=n.split(/[\. ]/),r=n.length-1,re.each(n,function(e,t){var a=e!=r?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(re.isPlainObject(i[a])&&e!=r)i=i[a];else{if(i[a]!==oe)return o=i[a],!1;{if(!re.isPlainObject(i[t])||e==r)return i[t]!==oe?o=i[t]:ae.error(s.method,n),!1;i=i[t]}}})),re.isFunction(o)?a=o.apply(t,e):o!==oe&&(a=o),Array.isArray(y)?y.push(a):y!==oe?y=[y,a]:a!==oe&&(y=a),o}};w?(c===oe&&ae.initialize(),ae.invoke(C)):(c!==oe&&c.invoke("destroy"),ae.initialize())}),y!==oe?y:this},re.fn.calendar.settings={name:"Calendar",namespace:"calendar",silent:!1,debug:!1,verbose:!1,performance:!0,context:!1,type:"datetime",firstDayOfWeek:0,constantHeight:!0,today:!1,closable:!0,monthFirst:!0,touchReadonly:!0,inline:!1,on:null,initialDate:null,startMode:!1,minDate:null,maxDate:null,disableYear:!1,disableMonth:!1,disableMinute:!1,formatInput:!0,startCalendar:null,endCalendar:null,multiMonth:1,monthOffset:0,minTimeGap:5,showWeekNumbers:!1,disabledHours:[],disabledDates:[],disabledDaysOfWeek:[],enabledDates:[],eventDates:[],centuryBreak:60,currentCentury:2e3,selectAdjacentDays:!1,popupOptions:{position:"bottom left",lastResort:"bottom left",prefer:"opposite",observeChanges:!1,hideOnScroll:!1},text:{days:["S","M","T","W","T","F","S"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",now:"Now",am:"AM",pm:"PM",weekNo:"Week"},formatter:{yearHeader:function(e,t){e=10*Math.ceil(e.getFullYear()/10);return e-9+" - "+(2+e)},monthHeader:"YYYY",dayHeader:"MMMM YYYY",hourHeader:"MMMM D, YYYY",minuteHeader:"MMMM D, YYYY",dayColumnHeader:function(e,t){return t.text.days[e]},datetime:"MMMM D, YYYY h:mm A",date:"MMMM D, YYYY",time:"h:mm A",cellTime:"h:mm A",month:"MMMM YYYY",year:"YYYY",today:function(e){return"date"===e.type?e.text.today:e.text.now},cell:function(e,t,a){}},parser:{date:function(e,t){if(e instanceof Date)return e;if(!e)return null;if(0===(e=String(e).trim().replace(/([.:\/\-])\s+/g,"$1").replace(/\s+([.:\/-])/g,"$1").replace(/\s+/g," ")).length)return null;e.match(/^[0-9]{4}[\/\-\.][0-9]{1,2}[\/\-\.][0-9]{1,2}$/)&&(e=e.replace(/[\/\-\.]/g,"/")+" 00:00:00"),e=t.monthFirst||!e.match(/^[0-9]{1,2}[\/\-\.]/)?e:e.replace(/[\/\-\.]/g,"/").replace(/([0-9]+)\/([0-9]+)/,"$2/$1");var a,n,r,o=new Date(e);if(!(null!==e.match(/^[0-9]+$/))&&!isNaN(o.getDate()))return o;e=e.toLowerCase();var i,s,l,d=-1,u=-1,p=-1,c=-1,f=-1,o=oe,h="time"===t.type,m=t.type.indexOf("time")<0,g=e.split(t.regExp.dateWords),y=e.split(t.regExp.dateNumbers);if(!m)for(o=0<=re.inArray(t.text.am.toLowerCase(),g)||!(0<=re.inArray(t.text.pm.toLowerCase(),g))&&oe,a=0;a<y.length;a++)if(0<=(s=y[a]).indexOf(":")){if(u<0||d<0)for(l=s.split(":"),r=0;r<Math.min(2,l.length);r++)n=parseInt(l[r]),isNaN(n)&&(n=0),0===r?u=n%24:d=n%60;y.splice(a,1)}if(!h){for(a=0;a<g.length;a++)if(!((i=g[a]).length<=0)){for(n=0;n<t.text.months.length;n++)if(t.text.months[n].substring(0,i.length).toLowerCase()===i){c=n+1;break}if(0<=c)break}for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&n>=t.centuryBreak&&a===y.length-1){n<=99&&(n+=t.currentCentury-100),f=n,y.splice(a,1);break}if(c<0)for(a=0;a<y.length;a++)if(r=1<a||t.monthFirst?a:1===a?0:1,n=parseInt(y[r]),!isNaN(n)&&1<=n&&n<=12){c=n,y.splice(r,1);break}for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&1<=n&&n<=31){p=n,y.splice(a,1);break}if(f<0)for(a=y.length-1;0<=a;a--)if(n=parseInt(y[a]),!isNaN(n)){n<=99&&(n+=t.currentCentury),f=n,y.splice(a,1);break}}if(!m){if(u<0)for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&0<=n&&n<=23){u=n,y.splice(a,1);break}if(d<0)for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&0<=n&&n<=59){d=n,y.splice(a,1);break}}if(d<0&&u<0&&p<0&&c<0&&f<0)return null;d<0&&(d=0),u<0&&(u=0),p<0&&(p=1),c<0&&(c=1),f<0&&(f=(new Date).getFullYear()),o!==oe&&(o?12===u&&(u=0):u<12&&(u+=12));e=new Date(f,c-1,p,u,d);return e.getMonth()===c-1&&e.getFullYear()===f||(e=new Date(f,c,0,u,d)),isNaN(e.getTime())?null:e}},onBeforeChange:function(e,t,a){return!0},onChange:function(e,t,a){},onShow:function(){},onVisible:function(){},onHide:function(){},onHidden:function(){},onSelect:function(e,t){},isDisabled:function(e,t){return!1},selector:{popup:".ui.popup",input:"input",activator:"input",append:".inline.field,.inline.fields"},regExp:{dateWords:/[^A-Za-z\u00C0-\u024F]+/g,dateNumbers:/[^\d:]+/g,token:/d{1,4}|D{1,2}|M{1,4}|YY(?:YY)?|([Hhmsw])\1?|[SAaY]|"[^"]*"|'[^']*'/g},error:{popup:"UI Popup, a required component is not included in this page",method:"The method you called is not defined."},className:{calendar:"calendar",active:"active",popup:"ui popup",grid:"ui equal width grid",column:"column",table:"ui celled center aligned unstackable table",inverted:"inverted",prev:"prev link",next:"next link",prevIcon:"chevron left icon",nextIcon:"chevron right icon",link:"link",cell:"link",disabledCell:"disabled",weekCell:"disabled",adjacentCell:"adjacent",activeCell:"active",rangeCell:"range",focusCell:"focus",todayCell:"today",today:"today link",disabled:"disabled"},metadata:{date:"date",focusDate:"focusDate",startDate:"startDate",endDate:"endDate",minDate:"minDate",maxDate:"maxDate",mode:"mode",type:"type",monthOffset:"monthOffset",message:"message",class:"class",inverted:"inverted",variation:"variation",position:"position",month:"month",year:"year",hours:"hours",days:"days"},eventClass:"blue"}}(jQuery,window,document);
11
+ !function(re,Y,O,oe){"use strict";Y=void 0!==Y&&Y.Math==Math?Y:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),re.fn.calendar=function(g){var y,e=re(this),D=re(O),v=e.selector||"",b=(new Date).getTime(),M=[],C=g,w="string"==typeof C,x=[].slice.call(arguments,1),T={5:{row:4,column:3},10:{row:3,column:2},15:{row:2,column:2},20:{row:3,column:1},30:{row:2,column:1}},ne=["","one","two","three","four","five","six","seven","eight"];return e.each(function(){var p,e,z=re.isPlainObject(g)?re.extend(!0,{},re.fn.calendar.settings,g):re.extend({},re.fn.calendar.settings),_=z.className,a=z.namespace,n=z.selector,Q=z.formatter,t=z.parser,Z=z.metadata,X=T[z.minTimeGap],l=z.error,r="."+a,o="module-"+a,i=re(this),s=i.find(n.input),d=i.find(n.activator),u=this,c=i.data(o),ee=c&&c.popupId?D.find("#"+c.popupId):i.find(n.popup),f=!1,te=i.hasClass(_.inverted),h=!1,m=!1,ae={initialize:function(){ae.debug("Initializing calendar for",u,i),p=ae.get.isTouch(),ae.setup.config(),ae.setup.popup(),ae.setup.inline(),ae.setup.input(),ae.setup.date(),ae.create.calendar(),ae.bind.events(),ae.observeChanges(),ae.instantiate()},instantiate:function(){ae.verbose("Storing instance of calendar"),c=ae,i.data(o,c)},destroy:function(){ae.verbose("Destroying previous calendar for",u),i.removeData(o),ae.unbind.events(),ae.disconnect.classObserver()},setup:{config:function(){null!==ae.get.minDate()&&ae.set.minDate(i.data(Z.minDate)),null!==ae.get.maxDate()&&ae.set.maxDate(i.data(Z.maxDate)),ae.setting("type",ae.get.type()),ae.setting("on",z.on||"click")},popup:function(){var e,t;z.inline||(d.length||(d=i.children().first()).length)&&(re.fn.popup===oe?ae.error(l.popup):((ee=ee.length?ee:z.context?(ae.popupId=a+"_popup_"+(Math.random().toString(16)+"000000000").slice(2,10),re("<div/>",{id:ae.popupId}).addClass(_.popup).appendTo(D.find(z.context))):(e=0!==(t=d.parent()).closest(n.append).length?"appendTo":"prependTo",re("<div/>").addClass(_.popup)[e](t))).addClass(_.calendar),te&&ee.addClass(_.inverted),e=function(){return ae.refreshTooltips(),z.onVisible.apply(ee,arguments)},s.length||(ee.attr("tabindex","0"),e=function(){return ae.refreshTooltips(),ae.focus(),z.onVisible.apply(ee,arguments)}),t=ae.setting("on"),t=re.extend({},z.popupOptions,{popup:ee,movePopup:!z.context,on:t,hoverable:"hover"===t,closable:"click"===t,onShow:function(){return ae.set.focusDate(ae.get.date()),ae.set.mode(ae.get.validatedMode(z.startMode)),z.onShow.apply(ee,arguments)},onVisible:e,onHide:z.onHide,onHidden:function(){return ae.blur(),z.onHidden.apply(ee,arguments)}}),ae.popup(t)))},inline:function(){d.length&&!z.inline||(z.inline=!0,ee=re("<div/>").addClass(_.calendar).appendTo(i),s.length||ee.attr("tabindex","0"))},input:function(){z.touchReadonly&&s.length&&p&&s.prop("readonly",!0),ae.check.disabled()},date:function(){var e;z.initialDate?e=t.date(z.initialDate,z):i.data(Z.date)!==oe?e=t.date(i.data(Z.date),z):s.length&&(e=t.date(s.val(),z)),ae.set.date(e,z.formatInput,!1),ae.set.mode(ae.get.mode(),!1)}},trigger:{change:function(){var e,t=s[0];t&&(e=O.createEvent("HTMLEvents"),ae.verbose("Triggering native change event"),e.initEvent("change",!0,!1),t.dispatchEvent(e))}},create:{calendar:function(){var e,t,j,a=ae.get.mode(),n=new Date,q=ae.get.date(),r=ae.get.focusDate(),o=ae.helper.dateInRange(r||q||z.initialDate||n),i=(r||ae.set.focusDate(r=o,!1,!1),"year"===a),s="month"===a,l="day"===a,d="hour"===a,u="minute"===a,W="time"===z.type,R=Math.max(z.multiMonth,1),V=l?ae.get.monthOffset():0,p=o.getMinutes(),c=o.getHours(),f=o.getDate(),G=o.getMonth()+V,h=o.getFullYear(),m=l?z.showWeekNumbers?8:7:d?4:X.column,P=l||d?6:X.row,g=l?R:1,y=(D=ee).hasClass("left")?"right center":"left center";for(D.empty(),1<g&&(j=re("<div/>").addClass(_.grid).appendTo(D)),t=0;t<g;t++){1<g&&(D=re("<div/>").addClass(_.column).appendTo(j));var D,v=G+t,B=(new Date(h,v,1).getDay()-z.firstDayOfWeek%7+7)%7,b=(!z.constantHeight&&l&&(b=new Date(h,v+1,0).getDate()+B,P=Math.ceil(b/7)),i?10:s?1:0),M=l?1:0,C=d||u?1:0,w=d||u?f:1,x=new Date(h-b,v-M,w-C,c),M=new Date(h+b,v+M,w+C,c),w=i?new Date(10*Math.ceil(h/10)-9,0,0):s?new Date(h,0,0):l?new Date(h,v,0):new Date(h,v,f,-1),C=i?new Date(10*Math.ceil(h/10)+1,0,1):s?new Date(h+1,0,1):l?new Date(h,v+1,1):new Date(h,v,f+1),T=a,T=(l&&z.showWeekNumbers&&(T+=" andweek"),re("<table/>").addClass(_.table).addClass(T).addClass(ne[m]+" column").appendTo(D)),K=(te&&T.addClass(_.inverted),m);if(!W){var U=re("<thead/>").appendTo(T),Y=re("<tr/>").appendTo(U),O=re("<th/>").attr("colspan",""+m).appendTo(Y),k=i||s?new Date(h,0,1):l?new Date(h,v,1):new Date(h,v,f,c,p),A=re("<span/>").addClass(_.link).appendTo(O),k=(A.text(ae.helper.dateFormat(Q[a+"Header"],k)),s?z.disableYear?"day":"year":l?z.disableMonth?"year":"month":"day");if(A.data(Z.mode,k),0===t&&((A=re("<span/>").addClass(_.prev).appendTo(O)).data(Z.focusDate,x),A.toggleClass(_.disabledCell,!ae.helper.isDateInRange(w,a)),re("<i/>").addClass(_.prevIcon).appendTo(A)),t===g-1&&((k=re("<span/>").addClass(_.next).appendTo(O)).data(Z.focusDate,M),k.toggleClass(_.disabledCell,!ae.helper.isDateInRange(C,a)),re("<i/>").addClass(_.nextIcon).appendTo(k)),l)for(Y=re("<tr/>").appendTo(U),z.showWeekNumbers&&((O=re("<th/>").appendTo(Y)).text(z.text.weekNo),O.addClass(_.weekCell),K--),F=0;F<K;F++)(O=re("<th/>").appendTo(Y)).text(Q.dayColumnHeader((F+z.firstDayOfWeek)%7,z))}for(var J=re("<tbody/>").appendTo(T),F=i?10*Math.ceil(h/10)-9:l?1-B:0,L=0;L<P;L++)for(Y=re("<tr/>").appendTo(J),l&&z.showWeekNumbers&&((O=re("<th/>").appendTo(Y)).text(ae.get.weekOfYear(h,v,F+1-z.firstDayOfWeek)),O.addClass(_.weekCell)),e=0;e<K;e++,F++){var N,H=i?new Date(F,v,1,c,p):s?new Date(h,F,1,c,p):l?new Date(h,v,F,c,p):d?new Date(h,v,f,F):new Date(h,v,f,c,F*z.minTimeGap),E=i?F:s?z.text.monthsShort[F]:l?H.getDate():ae.helper.dateFormat(Q.cellTime,H),E=((O=re("<td/>").addClass(_.cell).appendTo(Y)).text(E),O.data(Z.date,H),l&&H.getMonth()!==(v+12)%12),I=!z.selectAdjacentDays&&E||!ae.helper.isDateInRange(H,a)||z.isDisabled(H,a)||ae.helper.isDisabled(H,a)||!ae.helper.isEnabled(H,a),S=(I?(null!==(S=ae.helper.findDayAsObject(H,a,z.disabledDates))&&S[Z.message]&&(O.attr("data-tooltip",S[Z.message]),O.attr("data-position",S[Z.position]||y),(S[Z.inverted]||te&&S[Z.inverted]===oe)&&O.attr("data-inverted",""),S[Z.variation]&&O.attr("data-variation",S[Z.variation])),"hour"===a&&null!==(S=ae.helper.findHourAsObject(H,a,z.disabledHours))&&S[Z.message]&&(O.attr("data-tooltip",S[Z.message]),O.attr("data-position",S[Z.position]||y),(S[Z.inverted]||te&&S[Z.inverted]===oe)&&O.attr("data-inverted",""),S[Z.variation]&&O.attr("data-variation",S[Z.variation]))):null!==(N=ae.helper.findDayAsObject(H,a,z.eventDates))&&(O.addClass(N[Z.class]||z.eventClass),N[Z.message]&&(O.attr("data-tooltip",N[Z.message]),O.attr("data-position",N[Z.position]||y),(N[Z.inverted]||te&&N[Z.inverted]===oe)&&O.attr("data-inverted",""),N[Z.variation]&&O.attr("data-variation",N[Z.variation]))),ae.helper.dateEqual(H,q,a)),$=ae.helper.dateEqual(H,n,a),E=(O.toggleClass(_.adjacentCell,E&&!N),O.toggleClass(_.disabledCell,I),O.toggleClass(_.activeCell,S&&!(E&&I)),d||u||O.toggleClass(_.todayCell,!E&&$),{mode:a,adjacent:E,disabled:I,active:S,today:$});Q.cell(O,H,E),ae.helper.dateEqual(H,r,a)&&ae.set.focusDate(H,!1,!1)}z.today&&(x=re("<tr/>").appendTo(J),(w=re("<td/>").attr("colspan",""+m).addClass(_.today).appendTo(x)).text(Q.today(z)),w.data(Z.date,n)),ae.update.focus(!1,T),z.inline&&ae.refreshTooltips()}}},update:{focus:function(e,t){t=t||ee;var i=ae.get.mode(),a=ae.get.date(),s=ae.get.focusDate(),l=ae.get.startDate(),d=ae.get.endDate(),u=(e?s:null)||a||(p?null:s);t.find("td").each(function(){var e,t,a,n,r=re(this),o=r.data(Z.date);o&&(e=r.hasClass(_.disabledCell),t=r.hasClass(_.activeCell),a=r.hasClass(_.adjacentCell),n=ae.helper.dateEqual(o,s,i),o=!!u&&(!!l&&ae.helper.isDateInRange(o,i,l,u)||!!d&&ae.helper.isDateInRange(o,i,u,d)),r.toggleClass(_.focusCell,n&&(!p||f)&&(!a||z.selectAdjacentDays&&a)&&!e),ae.helper.isTodayButton(r)||r.toggleClass(_.rangeCell,o&&!t&&!e))})}},refresh:function(){ae.create.calendar()},refreshTooltips:function(){var n=re(Y).width();ee.find("td[data-position]").each(function(){var e=re(this),t=Y.getComputedStyle(e[0],"::after").width.replace(/[^0-9\.]/g,""),a=e.attr("data-position"),t=n-e.width()-(parseInt(t,10)||250)>e.offset().left?"right":"left";-1===a.indexOf(t)&&e.attr("data-position",a.replace(/(left|right)/,t))})},bind:{events:function(){ae.debug("Binding events"),ee.on("mousedown"+r,ae.event.mousedown),ee.on("touchstart"+r,ae.event.mousedown),ee.on("mouseup"+r,ae.event.mouseup),ee.on("touchend"+r,ae.event.mouseup),ee.on("mouseover"+r,ae.event.mouseover),s.length?(s.on("input"+r,ae.event.inputChange),s.on("focus"+r,ae.event.inputFocus),s.on("blur"+r,ae.event.inputBlur),s.on("keydown"+r,ae.event.keydown)):ee.on("keydown"+r,ae.event.keydown)}},unbind:{events:function(){ae.debug("Unbinding events"),ee.off(r),s.length&&s.off(r)}},event:{mouseover:function(e){var t=re(e.target).data(Z.date),e=1===e.buttons;t&&ae.set.focusDate(t,!1,!0,e)},mousedown:function(e){s.length&&e.preventDefault(),f=0<=e.type.indexOf("touch");e=re(e.target).data(Z.date);e&&ae.set.focusDate(e,!1,!0,!0)},mouseup:function(e){ae.focus(),e.preventDefault(),e.stopPropagation(),f=!1;var t,a,n,e=re(e.target);e.hasClass("disabled")||(t=(e=(t=e.parent()).data(Z.date)||t.data(Z.focusDate)||t.data(Z.mode)?t:e).data(Z.date),a=e.data(Z.focusDate),n=e.data(Z.mode),t&&!1!==z.onSelect.call(u,t,ae.get.mode())?(e=e.hasClass(_.today),ae.selectDate(t,e)):a?ae.set.focusDate(a):n&&ae.set.mode(n))},keydown:function(e){var t,a,n,r,o,i,s,l=e.which;9===l&&ae.popup("hide"),ae.popup("is visible")&&(t=ae.get.mode(),37===l||38===l||39===l||40===l?(o="day"===t?7:"hour"===t?4:"minute"===t?X.column:3,o=37===l?-1:38===l?-o:39==l?1:o,o*="minute"===t?z.minTimeGap:1,i=(a=ae.get.focusDate()||ae.get.date()||new Date).getFullYear()+("year"===t?o:0),s=a.getMonth()+("month"===t?o:0),n=a.getDate()+("day"===t?o:0),r=a.getHours()+("hour"===t?o:0),o=a.getMinutes()+("minute"===t?o:0),i=new Date(i,s,n,r,o),"time"===z.type&&(i=ae.helper.mergeDateTime(a,i)),ae.helper.isDateInRange(i,t)&&ae.set.focusDate(i)):13===l?((s=ae.get.focusDate())&&!z.isDisabled(s,t)&&!ae.helper.isDisabled(s,t)&&ae.helper.isEnabled(s,t)&&!1!==z.onSelect.call(u,s,ae.get.mode())&&ae.selectDate(s),e.preventDefault(),e.stopPropagation()):27===l&&(ae.popup("hide"),e.stopPropagation())),38!==l&&40!==l||(e.preventDefault(),ae.popup("show"))},inputChange:function(){var e=s.val(),e=t.date(e,z);ae.set.date(e,!1)},inputFocus:function(){ee.addClass(_.active)},inputBlur:function(){var e;ee.removeClass(_.active),z.formatInput&&(e=ae.get.date(),e=ae.helper.dateFormat(Q[z.type],e),s.val(e)),m&&(ae.trigger.change(),m=!1)},class:{mutation:function(e){e.forEach(function(e){"class"===e.attributeName&&ae.check.disabled()})}}},observeChanges:function(){"MutationObserver"in Y&&(e=new MutationObserver(ae.event.class.mutation),ae.debug("Setting up mutation observer",e),ae.observe.class())},disconnect:{classObserver:function(){s.length&&e&&e.disconnect()}},observe:{class:function(){s.length&&e&&e.observe(i[0],{attributes:!0})}},is:{disabled:function(){return i.hasClass(_.disabled)}},check:{disabled:function(){s.attr("tabindex",ae.is.disabled()?-1:0)}},get:{weekOfYear:function(e,t,a){return e=Date.UTC(e,t,a+3)/864e5,e=Math.floor(e/7),t=new Date(6048e5*e).getUTCFullYear(),e-Math.floor(Date.UTC(t,0,7)/6048e5)+1},formattedDate:function(e,t){return ae.helper.dateFormat(e||Q[z.type],t||ae.get.date())},date:function(){return ae.helper.sanitiseDate(i.data(Z.date))||null},inputDate:function(){return s.val()},focusDate:function(){return i.data(Z.focusDate)||null},startDate:function(){var e=ae.get.calendarModule(z.startCalendar);return(e?e.get.date():i.data(Z.startDate))||null},endDate:function(){var e=ae.get.calendarModule(z.endCalendar);return(e?e.get.date():i.data(Z.endDate))||null},minDate:function(){return i.data(Z.minDate)||null},maxDate:function(){return i.data(Z.maxDate)||null},monthOffset:function(){return i.data(Z.monthOffset)||z.monthOffset||0},mode:function(){var e=i.data(Z.mode)||z.startMode;return ae.get.validatedMode(e)},validatedMode:function(e){var t=ae.get.validModes();return 0<=re.inArray(e,t)?e:"time"===z.type?"hour":"month"===z.type?"month":"year"===z.type?"year":"day"},type:function(){return i.data(Z.type)||z.type},validModes:function(){var e=[];return"time"!==z.type&&(z.disableYear&&"year"!==z.type||e.push("year"),(z.disableMonth||"year"===z.type)&&"month"!==z.type||e.push("month"),0<=z.type.indexOf("date")&&e.push("day")),0<=z.type.indexOf("time")&&(e.push("hour"),z.disableMinute||e.push("minute")),e},isTouch:function(){try{return O.createEvent("TouchEvent"),!0}catch(e){return!1}},calendarModule:function(e){return e?(e=e instanceof re?e:D.find(e).first()).data(o):null}},set:{date:function(e,t,a){t=!1!==t,a=!1!==a,e=ae.helper.sanitiseDate(e),e=ae.helper.dateInRange(e);var n=ae.get.mode(),r=ae.helper.dateFormat(Q[z.type],e);if(a&&!1===z.onBeforeChange.call(u,e,r,n))return!1;if(ae.set.focusDate(e),z.isDisabled(e,n))return!1;var o=ae.get.endDate();o&&e&&o<e&&ae.set.endDate(oe),ae.set.dataKeyValue(Z.date,e),t&&s.length&&s.val(r),a&&z.onChange.call(u,e,r,n)},startDate:function(e,t){e=ae.helper.sanitiseDate(e);var a=ae.get.calendarModule(z.startCalendar);a&&a.set.date(e),ae.set.dataKeyValue(Z.startDate,e,t)},endDate:function(e,t){e=ae.helper.sanitiseDate(e);var a=ae.get.calendarModule(z.endCalendar);a&&a.set.date(e),ae.set.dataKeyValue(Z.endDate,e,t)},focusDate:function(e,t,a,n){e=ae.helper.sanitiseDate(e),e=ae.helper.dateInRange(e);var r="day"===ae.get.mode(),o=ae.get.focusDate(),r=(r&&e&&o&&((r=12*(e.getFullYear()-o.getFullYear())+e.getMonth()-o.getMonth())&&(o=ae.get.monthOffset()-r,ae.set.monthOffset(o,!1))),ae.set.dataKeyValue(Z.focusDate,e,!!e&&t));a=!1!==a&&r&&!1===t||h!=n,h=n,a&&ae.update.focus(n)},minDate:function(e){e=ae.helper.sanitiseDate(e),null!==z.maxDate&&z.maxDate<=e?ae.verbose("Unable to set minDate variable bigger that maxDate variable",e,z.maxDate):(ae.setting("minDate",e),ae.set.dataKeyValue(Z.minDate,e))},maxDate:function(e){e=ae.helper.sanitiseDate(e),null!==z.minDate&&z.minDate>=e?ae.verbose("Unable to set maxDate variable lower that minDate variable",e,z.minDate):(ae.setting("maxDate",e),ae.set.dataKeyValue(Z.maxDate,e))},monthOffset:function(e,t){var a=Math.max(z.multiMonth,1);e=Math.max(1-a,Math.min(0,e)),ae.set.dataKeyValue(Z.monthOffset,e,t)},mode:function(e,t){ae.set.dataKeyValue(Z.mode,e,t)},dataKeyValue:function(e,t,a){var n=i.data(e),n=n===t||n<=t&&t<=n;return t?i.data(e,t):i.removeData(e),(a=!1!==a&&!n)&&ae.refresh(),!n}},selectDate:function(e,t){ae.verbose("New date selection",e);var a=ae.get.mode();t||"minute"===a||z.disableMinute&&"hour"===a||"date"===z.type&&"day"===a||"month"===z.type&&"month"===a||"year"===z.type&&"year"===a?!1!==ae.set.date(e)&&(m=!0,z.closable&&(ae.popup("hide"),(t=ae.get.calendarModule(z.endCalendar))&&(t.refresh(),"focus"!==t.setting("on")&&t.popup("show"),t.focus()))):(t="year"===a?z.disableMonth?"day":"month":"month"===a?"day":"day"===a?"hour":"minute",ae.set.mode(t),"hour"===a||"day"===a&&ae.get.date()?ae.set.date(e,!0,!1):ae.set.focusDate(e))},changeDate:function(e){ae.set.date(e)},clear:function(){ae.set.date(oe)},popup:function(){return d.popup.apply(d,arguments)},focus:function(){(s.length?s:ee).trigger("focus")},blur:function(){(s.length?s:ee).trigger("blur")},helper:{dateFormat:function(e,t){if(!(t instanceof Date))return"";if("function"==typeof e)return e.call(ae,t,z);var a=t.getDate(),n=t.getMonth(),r=t.getFullYear(),o=t.getDay(),i=t.getHours(),s=t.getMinutes(),t=t.getSeconds(),l=ae.get.weekOfYear(r,n,a+1-z.firstDayOfWeek),d=i%12||12,u=(i<12?z.text.am:z.text.pm).toLowerCase(),p={D:a,DD:("0"+a).slice(-2),M:n+1,MM:("0"+(n+1)).slice(-2),MMM:z.text.monthsShort[n],MMMM:z.text.months[n],Y:r,YY:String(r).slice(2),YYYY:r,d:o,dd:z.text.dayNamesShort[o].slice(0,2),ddd:z.text.dayNamesShort[o],dddd:z.text.dayNames[o],h:d,hh:("0"+d).slice(-2),H:i,HH:("0"+i).slice(-2),m:s,mm:("0"+s).slice(-2),s:t,ss:("0"+t).slice(-2),a:u,A:u.toUpperCase(),S:["th","st","nd","rd"][3<a%10?0:(a%100-a%10!=10)*a%10],w:l,ww:("0"+l).slice(-2)};return e.replace(z.regExp.token,function(e){return e in p?p[e]:e.slice(1,e.length-1)})},isDisabled:function(a,n){return("day"===n||"month"===n||"year"===n||"hour"===n)&&("day"===n&&-1!==z.disabledDaysOfWeek.indexOf(a.getDay())||z.disabledDates.some(function(e){return(e="string"==typeof e?ae.helper.sanitiseDate(e):e)instanceof Date?ae.helper.dateEqual(a,e,n):null!==e&&"object"==typeof e?e[Z.year]?"number"==typeof e[Z.year]?a.getFullYear()==e[Z.year]:Array.isArray(e[Z.year])?-1<e[Z.year].indexOf(a.getFullYear()):void 0:e[Z.month]?"number"==typeof e[Z.month]?a.getMonth()==e[Z.month]:Array.isArray(e[Z.month])?-1<e[Z.month].indexOf(a.getMonth()):e[Z.month]instanceof Date?(t=ae.helper.sanitiseDate(e[Z.month]),a.getMonth()==t.getMonth()&&a.getFullYear()==t.getFullYear()):void 0:e[Z.date]&&"day"===n?e[Z.date]instanceof Date?ae.helper.dateEqual(a,ae.helper.sanitiseDate(e[Z.date]),n):Array.isArray(e[Z.date])?e[Z.date].some(function(e){return ae.helper.dateEqual(a,e,n)}):void 0:void 0:void 0;var t})||"hour"===n&&z.disabledHours.some(function(e){if((e="string"==typeof e?ae.helper.sanitiseDate(e):e)instanceof Date)return ae.helper.dateEqual(a,e,n);if("number"==typeof e)return a.getHours()===e;if(null!==e&&"object"==typeof e){var t=!0;if(e[Z.date])if(e[Z.date]instanceof Date)t=ae.helper.dateEqual(a,ae.helper.sanitiseDate(e[Z.date]));else if(Array.isArray(e[Z.date]))return e[Z.date].some(function(e){t=ae.helper.dateEqual(a,e,n)});if(e[Z.days]&&("number"==typeof e[Z.days]?t=a.getDay()==e[Z.days]:Array.isArray(e[Z.days])&&(t=-1<e[Z.days].indexOf(a.getDay()))),e[Z.hours])return"number"==typeof e[Z.hours]?t&&a.getHours()==e[Z.hours]:Array.isArray(e[Z.hours])?t&&-1<e[Z.hours].indexOf(a.getHours()):void 0}}))},isEnabled:function(t,a){return"day"!==a||(0===z.enabledDates.length||z.enabledDates.some(function(e){return(e="string"==typeof e?ae.helper.sanitiseDate(e):e)instanceof Date?ae.helper.dateEqual(t,e,a):null!==e&&"object"==typeof e&&e[Z.date]?ae.helper.dateEqual(t,ae.helper.sanitiseDate(e[Z.date]),a):void 0}))},findDayAsObject:function(t,a,e){if("day"===a||"month"===a||"year"===a)for(var n,r=0;r<e.length;r++){if((n="string"==typeof(n=e[r])?ae.helper.sanitiseDate(n):n)instanceof Date&&ae.helper.dateEqual(t,n,a))return(o={})[Z.date]=n,o;if(null!==n&&"object"==typeof n)if(n[Z.year]){if("number"==typeof n[Z.year]&&t.getFullYear()==n[Z.year])return n;if(Array.isArray(n[Z.year])&&-1<n[Z.year].indexOf(t.getFullYear()))return n}else if(n[Z.month]){if("number"==typeof n[Z.month]&&t.getMonth()==n[Z.month])return n;if(Array.isArray(n[Z.month])){if(-1<n[Z.month].indexOf(t.getMonth()))return n}else if(n[Z.month]instanceof Date){var o=ae.helper.sanitiseDate(n[Z.month]);if(t.getMonth()==o.getMonth()&&t.getFullYear()==o.getFullYear())return n}}else if(n[Z.date]&&"day"===a){if(n[Z.date]instanceof Date&&ae.helper.dateEqual(t,ae.helper.sanitiseDate(n[Z.date]),a))return n;if(Array.isArray(n[Z.date])&&n[Z.date].some(function(e){return ae.helper.dateEqual(t,e,a)}))return n}}return null},findHourAsObject:function(t,a,e){if("hour"===a)for(var n,r=function(e,t){if(t[Z.hours])return"number"==typeof t[Z.hours]&&e.getHours()==t[Z.hours]||Array.isArray(t[Z.hours])&&-1<t[Z.hours].indexOf(e.getHours())?t:void 0},o=0;o<e.length;o++){if("number"==typeof(n=e[o])&&t.getHours()==n)return null;if(null!==n&&"object"==typeof n)if(n[Z.days]&&r(t,n)){if("number"==typeof n[Z.days]&&t.getDay()==n[Z.days])return n;if(Array.isArray(n[Z.days])&&-1<n[Z.days].indexOf(t.getDay()))return n}else if(n[Z.date]&&r(t,n)){if(n[Z.date]instanceof Date&&ae.helper.dateEqual(t,ae.helper.sanitiseDate(n[Z.date])))return n;if(Array.isArray(n[Z.date])&&n[Z.date].some(function(e){return ae.helper.dateEqual(t,e,a)}))return n}else if(r(t,n))return n}return null},sanitiseDate:function(e){return!(e=e instanceof Date?e:t.date(""+e,z))||isNaN(e.getTime())?null:e},dateDiff:function(e,t,a){var n="time"===z.type,r="year"===(a=a||"day"),o=r||"month"===a,i="minute"===a,a=i||"hour"===a;return e=new Date(n?2e3:e.getFullYear(),n||r?0:e.getMonth(),n||o?1:e.getDate(),a?e.getHours():0,i?z.minTimeGap*Math.floor(e.getMinutes()/z.minTimeGap):0),(t=new Date(n?2e3:t.getFullYear(),n||r?0:t.getMonth(),n||o?1:t.getDate(),a?t.getHours():0,i?z.minTimeGap*Math.floor(t.getMinutes()/z.minTimeGap):0)).getTime()-e.getTime()},dateEqual:function(e,t,a){return!!e&&!!t&&0===ae.helper.dateDiff(e,t,a)},isDateInRange:function(e,t,a,n){var r;return a||n||(a=(r=ae.get.startDate())&&z.minDate?new Date(Math.max(r,z.minDate)):r||z.minDate,n=z.maxDate),a=a&&new Date(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),z.minTimeGap*Math.ceil(a.getMinutes()/z.minTimeGap)),!(!e||a&&0<ae.helper.dateDiff(e,a,t)||n&&0<ae.helper.dateDiff(n,e,t))},dateInRange:function(e,t,a){t||a||(t=(n=ae.get.startDate())&&z.minDate?new Date(Math.max(n,z.minDate)):n||z.minDate,a=z.maxDate),t=t&&new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),z.minTimeGap*Math.ceil(t.getMinutes()/z.minTimeGap));var n="time"===z.type;return e&&(t&&0<ae.helper.dateDiff(e,t,"minute")?n?ae.helper.mergeDateTime(e,t):t:a&&0<ae.helper.dateDiff(a,e,"minute")?n?ae.helper.mergeDateTime(e,a):a:e)},mergeDateTime:function(e,t){return e&&t?new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes()):t},isTodayButton:function(e){return e.text()===z.text.today}},setting:function(e,t){if(ae.debug("Changing setting",e,t),re.isPlainObject(e))re.extend(!0,z,e);else{if(t===oe)return z[e];re.isPlainObject(z[e])?re.extend(!0,z[e],t):z[e]=t}},internal:function(e,t){if(re.isPlainObject(e))re.extend(!0,ae,e);else{if(t===oe)return ae[e];ae[e]=t}},debug:function(){!z.silent&&z.debug&&(z.performance?ae.performance.log(arguments):(ae.debug=Function.prototype.bind.call(console.info,console,z.name+":"),ae.debug.apply(console,arguments)))},verbose:function(){!z.silent&&z.verbose&&z.debug&&(z.performance?ae.performance.log(arguments):(ae.verbose=Function.prototype.bind.call(console.info,console,z.name+":"),ae.verbose.apply(console,arguments)))},error:function(){z.silent||(ae.error=Function.prototype.bind.call(console.error,console,z.name+":"),ae.error.apply(console,arguments))},performance:{log:function(e){var t,a;z.performance&&(a=(t=(new Date).getTime())-(b||t),b=t,M.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":a})),clearTimeout(ae.performance.timer),ae.performance.timer=setTimeout(ae.performance.display,500)},display:function(){var e=z.name+":",a=0;b=!1,clearTimeout(ae.performance.timer),re.each(M,function(e,t){a+=t["Execution Time"]}),e+=" "+a+"ms",v&&(e+=" '"+v+"'"),(console.group!==oe||console.table!==oe)&&0<M.length&&(console.groupCollapsed(e),console.table?console.table(M):re.each(M,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),M=[]}},invoke:function(n,e,t){var r,o,a,i,s=c;return e=e||x,t=t||u,"string"==typeof n&&s!==oe&&(n=n.split(/[\. ]/),r=n.length-1,re.each(n,function(e,t){var a=e!=r?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(re.isPlainObject(s[a])&&e!=r)s=s[a];else{if(s[a]!==oe)return o=s[a],!1;{if(!re.isPlainObject(s[t])||e==r)return s[t]!==oe?o=s[t]:ae.error(l.method,n),!1;s=s[t]}}})),"function"==typeof(i=o)&&"number"!=typeof i.nodeType?a=o.apply(t,e):o!==oe&&(a=o),Array.isArray(y)?y.push(a):y!==oe?y=[y,a]:a!==oe&&(y=a),o}};w?(c===oe&&ae.initialize(),ae.invoke(C)):(c!==oe&&c.invoke("destroy"),ae.initialize())}),y!==oe?y:this},re.fn.calendar.settings={name:"Calendar",namespace:"calendar",silent:!1,debug:!1,verbose:!1,performance:!0,context:!1,type:"datetime",firstDayOfWeek:0,constantHeight:!0,today:!1,closable:!0,monthFirst:!0,touchReadonly:!0,inline:!1,on:null,initialDate:null,startMode:!1,minDate:null,maxDate:null,disableYear:!1,disableMonth:!1,disableMinute:!1,formatInput:!0,startCalendar:null,endCalendar:null,multiMonth:1,monthOffset:0,minTimeGap:5,showWeekNumbers:!1,disabledHours:[],disabledDates:[],disabledDaysOfWeek:[],enabledDates:[],eventDates:[],centuryBreak:60,currentCentury:2e3,selectAdjacentDays:!1,popupOptions:{position:"bottom left",lastResort:"bottom left",prefer:"opposite",observeChanges:!1,hideOnScroll:!1},text:{days:["S","M","T","W","T","F","S"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",now:"Now",am:"AM",pm:"PM",weekNo:"Week"},formatter:{yearHeader:function(e,t){e=10*Math.ceil(e.getFullYear()/10);return e-9+" - "+(2+e)},monthHeader:"YYYY",dayHeader:"MMMM YYYY",hourHeader:"MMMM D, YYYY",minuteHeader:"MMMM D, YYYY",dayColumnHeader:function(e,t){return t.text.days[e]},datetime:"MMMM D, YYYY h:mm A",date:"MMMM D, YYYY",time:"h:mm A",cellTime:"h:mm A",month:"MMMM YYYY",year:"YYYY",today:function(e){return"date"===e.type?e.text.today:e.text.now},cell:function(e,t,a){}},parser:{date:function(e,t){if(e instanceof Date)return e;if(!e)return null;if(0===(e=String(e).trim().replace(/([.:\/\-])\s+/g,"$1").replace(/\s+([.:\/-])/g,"$1").replace(/\s+/g," ")).length)return null;e.match(/^[0-9]{4}[\/\-\.][0-9]{1,2}[\/\-\.][0-9]{1,2}$/)&&(e=e.replace(/[\/\-\.]/g,"/")+" 00:00:00"),e=t.monthFirst||!e.match(/^[0-9]{1,2}[\/\-\.]/)?e:e.replace(/[\/\-\.]/g,"/").replace(/([0-9]+)\/([0-9]+)/,"$2/$1");var a,n,r,o=new Date(e);if(!(null!==e.match(/^[0-9]+$/))&&!isNaN(o.getDate()))return o;e=e.toLowerCase();var i,s,l,d=-1,u=-1,p=-1,c=-1,f=-1,o=oe,h="time"===t.type,m=t.type.indexOf("time")<0,g=e.split(t.regExp.dateWords),y=e.split(t.regExp.dateNumbers);if(!m)for(o=0<=re.inArray(t.text.am.toLowerCase(),g)||!(0<=re.inArray(t.text.pm.toLowerCase(),g))&&oe,a=0;a<y.length;a++)if(0<=(s=y[a]).indexOf(":")){if(u<0||d<0)for(l=s.split(":"),r=0;r<Math.min(2,l.length);r++)n=parseInt(l[r]),isNaN(n)&&(n=0),0===r?u=n%24:d=n%60;y.splice(a,1)}if(!h){for(a=0;a<g.length;a++)if(!((i=g[a]).length<=0)){for(n=0;n<t.text.months.length;n++)if(t.text.months[n].substring(0,i.length).toLowerCase()===i){c=n+1;break}if(0<=c)break}for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&n>=t.centuryBreak&&a===y.length-1){n<=99&&(n+=t.currentCentury-100),f=n,y.splice(a,1);break}if(c<0)for(a=0;a<y.length;a++)if(r=1<a||t.monthFirst?a:1===a?0:1,n=parseInt(y[r]),!isNaN(n)&&1<=n&&n<=12){c=n,y.splice(r,1);break}for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&1<=n&&n<=31){p=n,y.splice(a,1);break}if(f<0)for(a=y.length-1;0<=a;a--)if(n=parseInt(y[a]),!isNaN(n)){n<=99&&(n+=t.currentCentury),f=n,y.splice(a,1);break}}if(!m){if(u<0)for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&0<=n&&n<=23){u=n,y.splice(a,1);break}if(d<0)for(a=0;a<y.length;a++)if(n=parseInt(y[a]),!isNaN(n)&&0<=n&&n<=59){d=n,y.splice(a,1);break}}if(d<0&&u<0&&p<0&&c<0&&f<0)return null;d<0&&(d=0),u<0&&(u=0),p<0&&(p=1),c<0&&(c=1),f<0&&(f=(new Date).getFullYear()),o!==oe&&(o?12===u&&(u=0):u<12&&(u+=12));e=new Date(f,c-1,p,u,d);return e.getMonth()===c-1&&e.getFullYear()===f||(e=new Date(f,c,0,u,d)),isNaN(e.getTime())?null:e}},onBeforeChange:function(e,t,a){return!0},onChange:function(e,t,a){},onShow:function(){},onVisible:function(){},onHide:function(){},onHidden:function(){},onSelect:function(e,t){},isDisabled:function(e,t){return!1},selector:{popup:".ui.popup",input:"input",activator:"input",append:".inline.field,.inline.fields"},regExp:{dateWords:/[^A-Za-z\u00C0-\u024F]+/g,dateNumbers:/[^\d:]+/g,token:/d{1,4}|D{1,2}|M{1,4}|YY(?:YY)?|([Hhmsw])\1?|[SAaY]|"[^"]*"|'[^']*'/g},error:{popup:"UI Popup, a required component is not included in this page",method:"The method you called is not defined."},className:{calendar:"calendar",active:"active",popup:"ui popup",grid:"ui equal width grid",column:"column",table:"ui celled center aligned unstackable table",inverted:"inverted",prev:"prev link",next:"next link",prevIcon:"chevron left icon",nextIcon:"chevron right icon",link:"link",cell:"link",disabledCell:"disabled",weekCell:"disabled",adjacentCell:"adjacent",activeCell:"active",rangeCell:"range",focusCell:"focus",todayCell:"today",today:"today link",disabled:"disabled"},metadata:{date:"date",focusDate:"focusDate",startDate:"startDate",endDate:"endDate",minDate:"minDate",maxDate:"maxDate",mode:"mode",type:"type",monthOffset:"monthOffset",message:"message",class:"class",inverted:"inverted",variation:"variation",position:"position",month:"month",year:"year",hours:"hours",days:"days"},eventClass:"blue"}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Card
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Card
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Card
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Card
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Checkbox
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Checkbox
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -12,9 +12,9 @@
12
12
 
13
13
  'use strict';
14
14
 
15
- $.isFunction = $.isFunction || function(obj) {
15
+ function isFunction(obj) {
16
16
  return typeof obj === "function" && typeof obj.nodeType !== "number";
17
- };
17
+ }
18
18
 
19
19
  window = (typeof window != 'undefined' && window.Math == Math)
20
20
  ? window
@@ -159,7 +159,7 @@ $.fn.checkbox = function(parameters) {
159
159
  var
160
160
  $element = $(selector)
161
161
  ;
162
- event = $.isFunction(module[event])
162
+ event = isFunction(module[event])
163
163
  ? module[event]
164
164
  : module.toggle
165
165
  ;
@@ -200,7 +200,7 @@ $.fn.checkbox = function(parameters) {
200
200
  return;
201
201
  }
202
202
  module.toggle();
203
- $input.focus();
203
+ $input.trigger('focus');
204
204
  event.preventDefault();
205
205
  },
206
206
  keydown: function(event) {
@@ -242,7 +242,7 @@ $.fn.checkbox = function(parameters) {
242
242
  shortcutPressed = false;
243
243
  if(key == keyCode.escape) {
244
244
  module.verbose('Escape key pressed blurring field');
245
- $input.blur();
245
+ $input.trigger('blur');
246
246
  shortcutPressed = true;
247
247
  event.stopPropagation();
248
248
  }
@@ -783,7 +783,7 @@ $.fn.checkbox = function(parameters) {
783
783
  }
784
784
  });
785
785
  }
786
- if ( $.isFunction( found ) ) {
786
+ if ( isFunction( found ) ) {
787
787
  response = found.apply(context, passedArguments);
788
788
  }
789
789
  else if(found !== undefined) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Checkbox
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.14+1a3de4b
2
+ * # Fomantic UI - 2.9.1-beta.16+7071e59
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(I,E,S,O){"use strict";I.isFunction=I.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")(),I.fn.checkbox=function(s){var u,e=I(this),b=e.selector||"",y=(new Date).getTime(),C=[],x=s,w="string"==typeof x,D=[].slice.call(arguments,1);return e.each(function(){var e,h=I.extend(!0,{},I.fn.checkbox.settings,s),n=h.className,t=h.namespace,g=h.selector,r=h.error,i="."+t,o="module-"+t,p=I(this),a=I(this).children(g.label),f=I(this).children(g.input),k=f[0],c=!1,m=!1,l=p.data(o),d=this,v={initialize:function(){v.verbose("Initializing checkbox",h),v.create.label(),v.bind.events(),v.set.tabbable(),v.hide.input(),v.observeChanges(),v.instantiate(),v.setup()},instantiate:function(){v.verbose("Storing instance of module",v),l=v,p.data(o,v)},destroy:function(){v.verbose("Destroying module"),v.unbind.events(),v.show.input(),p.removeData(o)},fix:{reference:function(){p.is(g.input)&&(v.debug("Behavior called on <input> adjusting invoked element"),p=p.closest(g.checkbox),v.refresh())}},setup:function(){v.set.initialLoad(),v.is.indeterminate()?(v.debug("Initial value is indeterminate"),v.indeterminate()):v.is.checked()?(v.debug("Initial value is checked"),v.check()):(v.debug("Initial value is unchecked"),v.uncheck()),v.remove.initialLoad()},refresh:function(){a=p.children(g.label),f=p.children(g.input),k=f[0]},hide:{input:function(){v.verbose("Modifying <input> z-index to be unselectable"),f.addClass(n.hidden)}},show:{input:function(){v.verbose("Modifying <input> z-index to be selectable"),f.removeClass(n.hidden)}},observeChanges:function(){"MutationObserver"in E&&((e=new MutationObserver(function(e){v.debug("DOM tree modified, updating selector cache"),v.refresh()})).observe(d,{childList:!0,subtree:!0}),v.debug("Setting up mutation observer",e))},attachEvents:function(e,n){var t=I(e);n=I.isFunction(v[n])?v[n]:v.toggle,0<t.length?(v.debug("Attaching checkbox events to element",e,n),t.on("click"+i,n)):v.error(r.notFound)},preventDefaultOnInputTarget:function(){"undefined"!=typeof event&&null!==event&&I(event.target).is(g.input)&&(v.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(e){v.should.ignoreCallbacks()||h.onChange.call(k)},click:function(e){var n=I(e.target);n.is(g.input)?v.verbose("Using default check action on initialized checkbox"):n.is(g.link)?v.debug("Clicking link inside checkbox, skipping toggle"):(v.toggle(),f.focus(),e.preventDefault())},keydown:function(e){var n=e.which,t=13,i=32,o=27,a=37,c=38,r=39,l=40,d=v.get.radios(),s=d.index(p),u=d.length,b=!1;if(n==a||n==c?b=(0===s?u:s)-1:n!=r&&n!=l||(b=s===u-1?0:s+1),!v.should.ignoreCallbacks()&&!1!==b){if(!1===h.beforeUnchecked.apply(k))return v.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;if(!1===h.beforeChecked.apply(I(d[b]).children(g.input)[0]))return v.verbose("Next option should not allow check, cancelling key navigation"),!1}m=!1,n==o?(v.verbose("Escape key pressed blurring field"),f.blur(),m=!0,e.stopPropagation()):!e.ctrlKey&&v.can.change()&&(n==i||n==t&&h.enableEnterKey?(v.verbose("Enter/space key pressed, toggling checkbox"),v.toggle(),m=!0):p.is(".toggle, .slider")&&!v.is.radio()&&(n==a&&v.is.checked()?(v.uncheck(),m=!0):n==r&&v.is.unchecked()&&(v.check(),m=!0)))},keyup:function(e){m&&e.preventDefault()}},check:function(){v.should.allowCheck()&&(v.debug("Checking checkbox",f),v.set.checked(),v.should.ignoreCallbacks()||(h.onChecked.call(k),v.trigger.change()),v.preventDefaultOnInputTarget())},uncheck:function(){v.should.allowUncheck()&&(v.debug("Unchecking checkbox"),v.set.unchecked(),v.should.ignoreCallbacks()||(h.onUnchecked.call(k),v.trigger.change()),v.preventDefaultOnInputTarget())},indeterminate:function(){v.should.allowIndeterminate()?v.debug("Checkbox is already indeterminate"):(v.debug("Making checkbox indeterminate"),v.set.indeterminate(),v.should.ignoreCallbacks()||(h.onIndeterminate.call(k),v.trigger.change()))},determinate:function(){v.should.allowDeterminate()?v.debug("Checkbox is already determinate"):(v.debug("Making checkbox determinate"),v.set.determinate(),v.should.ignoreCallbacks()||(h.onDeterminate.call(k),v.trigger.change()))},enable:function(){v.is.enabled()?v.debug("Checkbox is already enabled"):(v.debug("Enabling checkbox"),v.set.enabled(),v.should.ignoreCallbacks()||(h.onEnable.call(k),h.onEnabled.call(k)))},disable:function(){v.is.disabled()?v.debug("Checkbox is already disabled"):(v.debug("Disabling checkbox"),v.set.disabled(),v.should.ignoreCallbacks()||(h.onDisable.call(k),h.onDisabled.call(k)))},get:{radios:function(){var e=v.get.name();return I('input[name="'+e+'"]').closest(g.checkbox)},otherRadios:function(){return v.get.radios().not(p)},name:function(){return f.attr("name")}},is:{initialLoad:function(){return c},radio:function(){return f.hasClass(n.radio)||"radio"==f.attr("type")},indeterminate:function(){return f.prop("indeterminate")!==O&&f.prop("indeterminate")},checked:function(){return f.prop("checked")!==O&&f.prop("checked")},disabled:function(){return f.prop("disabled")!==O&&f.prop("disabled")},enabled:function(){return!v.is.disabled()},determinate:function(){return!v.is.indeterminate()},unchecked:function(){return!v.is.checked()}},should:{allowCheck:function(){return v.is.determinate()&&v.is.checked()&&!v.is.initialLoad()?(v.debug("Should not allow check, checkbox is already checked"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeChecked.apply(k))||(v.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return v.is.determinate()&&v.is.unchecked()&&!v.is.initialLoad()?(v.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeUnchecked.apply(k))||(v.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return v.is.indeterminate()&&!v.is.initialLoad()?(v.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeIndeterminate.apply(k))||(v.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return v.is.determinate()&&!v.is.initialLoad()?(v.debug("Should not allow determinate, checkbox is already determinate"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeDeterminate.apply(k))||(v.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},ignoreCallbacks:function(){return c&&!h.fireOnInit}},can:{change:function(){return!(p.hasClass(n.disabled)||p.hasClass(n.readOnly)||f.prop("disabled")||f.prop("readonly"))},uncheck:function(){return"boolean"==typeof h.uncheckable?h.uncheckable:!v.is.radio()}},set:{initialLoad:function(){c=!0},checked:function(){v.verbose("Setting class to checked"),p.removeClass(n.indeterminate).addClass(n.checked),v.is.radio()&&v.uncheckOthers(),!v.is.indeterminate()&&v.is.checked()?v.debug("Input is already checked, skipping input property change"):(v.verbose("Setting state to checked",k),f.prop("indeterminate",!1).prop("checked",!0))},unchecked:function(){v.verbose("Removing checked class"),p.removeClass(n.indeterminate).removeClass(n.checked),!v.is.indeterminate()&&v.is.unchecked()?v.debug("Input is already unchecked"):(v.debug("Setting state to unchecked"),f.prop("indeterminate",!1).prop("checked",!1))},indeterminate:function(){v.verbose("Setting class to indeterminate"),p.addClass(n.indeterminate),v.is.indeterminate()?v.debug("Input is already indeterminate, skipping input property change"):(v.debug("Setting state to indeterminate"),f.prop("indeterminate",!0))},determinate:function(){v.verbose("Removing indeterminate class"),p.removeClass(n.indeterminate),v.is.determinate()?v.debug("Input is already determinate, skipping input property change"):(v.debug("Setting state to determinate"),f.prop("indeterminate",!1))},disabled:function(){v.verbose("Setting class to disabled"),p.addClass(n.disabled),v.is.disabled()?v.debug("Input is already disabled, skipping input property change"):(v.debug("Setting state to disabled"),f.prop("disabled","disabled"))},enabled:function(){v.verbose("Removing disabled class"),p.removeClass(n.disabled),v.is.enabled()?v.debug("Input is already enabled, skipping input property change"):(v.debug("Setting state to enabled"),f.prop("disabled",!1))},tabbable:function(){v.verbose("Adding tabindex to checkbox"),f.attr("tabindex")===O&&f.attr("tabindex",0)}},remove:{initialLoad:function(){c=!1}},trigger:{change:function(){var e,n=f[0];n&&(e=S.createEvent("HTMLEvents"),v.verbose("Triggering native change event"),e.initEvent("change",!0,!1),n.dispatchEvent(e))}},create:{label:function(){0<f.prevAll(g.label).length?(f.prev(g.label).detach().insertAfter(f),v.debug("Moving existing label",a)):v.has.label()||(a=I("<label>").insertAfter(f),v.debug("Creating label",a))}},has:{label:function(){return 0<a.length}},bind:{events:function(){v.verbose("Attaching checkbox events"),p.on("click"+i,v.event.click).on("change"+i,v.event.change).on("keydown"+i,g.input,v.event.keydown).on("keyup"+i,g.input,v.event.keyup)}},unbind:{events:function(){v.debug("Removing events"),p.off(i)}},uncheckOthers:function(){var e=v.get.otherRadios();v.debug("Unchecking other radios",e),e.removeClass(n.checked)},toggle:function(){v.can.change()?v.is.indeterminate()||v.is.unchecked()?(v.debug("Currently unchecked"),v.check()):v.is.checked()&&v.can.uncheck()&&(v.debug("Currently checked"),v.uncheck()):v.is.radio()||v.debug("Checkbox is read-only or disabled, ignoring toggle")},setting:function(e,n){if(v.debug("Changing setting",e,n),I.isPlainObject(e))I.extend(!0,h,e);else{if(n===O)return h[e];I.isPlainObject(h[e])?I.extend(!0,h[e],n):h[e]=n}},internal:function(e,n){if(I.isPlainObject(e))I.extend(!0,v,e);else{if(n===O)return v[e];v[e]=n}},debug:function(){!h.silent&&h.debug&&(h.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,h.name+":"),v.debug.apply(console,arguments)))},verbose:function(){!h.silent&&h.verbose&&h.debug&&(h.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,h.name+":"),v.verbose.apply(console,arguments)))},error:function(){h.silent||(v.error=Function.prototype.bind.call(console.error,console,h.name+":"),v.error.apply(console,arguments))},performance:{log:function(e){var n,t;h.performance&&(t=(n=(new Date).getTime())-(y||n),y=n,C.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:d,"Execution Time":t})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout(v.performance.display,500)},display:function(){var e=h.name+":",t=0;y=!1,clearTimeout(v.performance.timer),I.each(C,function(e,n){t+=n["Execution Time"]}),e+=" "+t+"ms",b&&(e+=" '"+b+"'"),(console.group!==O||console.table!==O)&&0<C.length&&(console.groupCollapsed(e),console.table?console.table(C):I.each(C,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),C=[]}},invoke:function(i,e,n){var o,a,t,c=l;return e=e||D,n=n||d,"string"==typeof i&&c!==O&&(i=i.split(/[\. ]/),o=i.length-1,I.each(i,function(e,n){var t=e!=o?n+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(I.isPlainObject(c[t])&&e!=o)c=c[t];else{if(c[t]!==O)return a=c[t],!1;{if(!I.isPlainObject(c[n])||e==o)return c[n]!==O?a=c[n]:v.error(r.method,i),!1;c=c[n]}}})),I.isFunction(a)?t=a.apply(n,e):a!==O&&(t=a),Array.isArray(u)?u.push(t):u!==O?u=[u,t]:t!==O&&(u=t),a}};w?(l===O&&v.initialize(),v.invoke(x)):(l!==O&&l.invoke("destroy"),v.initialize())}),u!==O?u:this},I.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!1,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},onEnabled:function(){},onDisabled:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",label:"label",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}}(jQuery,window,document);
11
+ !function(I,E,S,O){"use strict";function T(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")(),I.fn.checkbox=function(s){var u,e=I(this),b=e.selector||"",y=(new Date).getTime(),C=[],x=s,w="string"==typeof x,D=[].slice.call(arguments,1);return e.each(function(){var e,h=I.extend(!0,{},I.fn.checkbox.settings,s),n=h.className,t=h.namespace,g=h.selector,r=h.error,i="."+t,o="module-"+t,p=I(this),a=I(this).children(g.label),f=I(this).children(g.input),k=f[0],c=!1,m=!1,l=p.data(o),d=this,v={initialize:function(){v.verbose("Initializing checkbox",h),v.create.label(),v.bind.events(),v.set.tabbable(),v.hide.input(),v.observeChanges(),v.instantiate(),v.setup()},instantiate:function(){v.verbose("Storing instance of module",v),l=v,p.data(o,v)},destroy:function(){v.verbose("Destroying module"),v.unbind.events(),v.show.input(),p.removeData(o)},fix:{reference:function(){p.is(g.input)&&(v.debug("Behavior called on <input> adjusting invoked element"),p=p.closest(g.checkbox),v.refresh())}},setup:function(){v.set.initialLoad(),v.is.indeterminate()?(v.debug("Initial value is indeterminate"),v.indeterminate()):v.is.checked()?(v.debug("Initial value is checked"),v.check()):(v.debug("Initial value is unchecked"),v.uncheck()),v.remove.initialLoad()},refresh:function(){a=p.children(g.label),f=p.children(g.input),k=f[0]},hide:{input:function(){v.verbose("Modifying <input> z-index to be unselectable"),f.addClass(n.hidden)}},show:{input:function(){v.verbose("Modifying <input> z-index to be selectable"),f.removeClass(n.hidden)}},observeChanges:function(){"MutationObserver"in E&&((e=new MutationObserver(function(e){v.debug("DOM tree modified, updating selector cache"),v.refresh()})).observe(d,{childList:!0,subtree:!0}),v.debug("Setting up mutation observer",e))},attachEvents:function(e,n){var t=I(e);n=T(v[n])?v[n]:v.toggle,0<t.length?(v.debug("Attaching checkbox events to element",e,n),t.on("click"+i,n)):v.error(r.notFound)},preventDefaultOnInputTarget:function(){"undefined"!=typeof event&&null!==event&&I(event.target).is(g.input)&&(v.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(e){v.should.ignoreCallbacks()||h.onChange.call(k)},click:function(e){var n=I(e.target);n.is(g.input)?v.verbose("Using default check action on initialized checkbox"):n.is(g.link)?v.debug("Clicking link inside checkbox, skipping toggle"):(v.toggle(),f.trigger("focus"),e.preventDefault())},keydown:function(e){var n=e.which,t=13,i=32,o=27,a=37,c=38,r=39,l=40,d=v.get.radios(),s=d.index(p),u=d.length,b=!1;if(n==a||n==c?b=(0===s?u:s)-1:n!=r&&n!=l||(b=s===u-1?0:s+1),!v.should.ignoreCallbacks()&&!1!==b){if(!1===h.beforeUnchecked.apply(k))return v.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;if(!1===h.beforeChecked.apply(I(d[b]).children(g.input)[0]))return v.verbose("Next option should not allow check, cancelling key navigation"),!1}m=!1,n==o?(v.verbose("Escape key pressed blurring field"),f.trigger("blur"),m=!0,e.stopPropagation()):!e.ctrlKey&&v.can.change()&&(n==i||n==t&&h.enableEnterKey?(v.verbose("Enter/space key pressed, toggling checkbox"),v.toggle(),m=!0):p.is(".toggle, .slider")&&!v.is.radio()&&(n==a&&v.is.checked()?(v.uncheck(),m=!0):n==r&&v.is.unchecked()&&(v.check(),m=!0)))},keyup:function(e){m&&e.preventDefault()}},check:function(){v.should.allowCheck()&&(v.debug("Checking checkbox",f),v.set.checked(),v.should.ignoreCallbacks()||(h.onChecked.call(k),v.trigger.change()),v.preventDefaultOnInputTarget())},uncheck:function(){v.should.allowUncheck()&&(v.debug("Unchecking checkbox"),v.set.unchecked(),v.should.ignoreCallbacks()||(h.onUnchecked.call(k),v.trigger.change()),v.preventDefaultOnInputTarget())},indeterminate:function(){v.should.allowIndeterminate()?v.debug("Checkbox is already indeterminate"):(v.debug("Making checkbox indeterminate"),v.set.indeterminate(),v.should.ignoreCallbacks()||(h.onIndeterminate.call(k),v.trigger.change()))},determinate:function(){v.should.allowDeterminate()?v.debug("Checkbox is already determinate"):(v.debug("Making checkbox determinate"),v.set.determinate(),v.should.ignoreCallbacks()||(h.onDeterminate.call(k),v.trigger.change()))},enable:function(){v.is.enabled()?v.debug("Checkbox is already enabled"):(v.debug("Enabling checkbox"),v.set.enabled(),v.should.ignoreCallbacks()||(h.onEnable.call(k),h.onEnabled.call(k)))},disable:function(){v.is.disabled()?v.debug("Checkbox is already disabled"):(v.debug("Disabling checkbox"),v.set.disabled(),v.should.ignoreCallbacks()||(h.onDisable.call(k),h.onDisabled.call(k)))},get:{radios:function(){var e=v.get.name();return I('input[name="'+e+'"]').closest(g.checkbox)},otherRadios:function(){return v.get.radios().not(p)},name:function(){return f.attr("name")}},is:{initialLoad:function(){return c},radio:function(){return f.hasClass(n.radio)||"radio"==f.attr("type")},indeterminate:function(){return f.prop("indeterminate")!==O&&f.prop("indeterminate")},checked:function(){return f.prop("checked")!==O&&f.prop("checked")},disabled:function(){return f.prop("disabled")!==O&&f.prop("disabled")},enabled:function(){return!v.is.disabled()},determinate:function(){return!v.is.indeterminate()},unchecked:function(){return!v.is.checked()}},should:{allowCheck:function(){return v.is.determinate()&&v.is.checked()&&!v.is.initialLoad()?(v.debug("Should not allow check, checkbox is already checked"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeChecked.apply(k))||(v.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return v.is.determinate()&&v.is.unchecked()&&!v.is.initialLoad()?(v.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeUnchecked.apply(k))||(v.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return v.is.indeterminate()&&!v.is.initialLoad()?(v.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeIndeterminate.apply(k))||(v.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return v.is.determinate()&&!v.is.initialLoad()?(v.debug("Should not allow determinate, checkbox is already determinate"),!1):!(!v.should.ignoreCallbacks()&&!1===h.beforeDeterminate.apply(k))||(v.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},ignoreCallbacks:function(){return c&&!h.fireOnInit}},can:{change:function(){return!(p.hasClass(n.disabled)||p.hasClass(n.readOnly)||f.prop("disabled")||f.prop("readonly"))},uncheck:function(){return"boolean"==typeof h.uncheckable?h.uncheckable:!v.is.radio()}},set:{initialLoad:function(){c=!0},checked:function(){v.verbose("Setting class to checked"),p.removeClass(n.indeterminate).addClass(n.checked),v.is.radio()&&v.uncheckOthers(),!v.is.indeterminate()&&v.is.checked()?v.debug("Input is already checked, skipping input property change"):(v.verbose("Setting state to checked",k),f.prop("indeterminate",!1).prop("checked",!0))},unchecked:function(){v.verbose("Removing checked class"),p.removeClass(n.indeterminate).removeClass(n.checked),!v.is.indeterminate()&&v.is.unchecked()?v.debug("Input is already unchecked"):(v.debug("Setting state to unchecked"),f.prop("indeterminate",!1).prop("checked",!1))},indeterminate:function(){v.verbose("Setting class to indeterminate"),p.addClass(n.indeterminate),v.is.indeterminate()?v.debug("Input is already indeterminate, skipping input property change"):(v.debug("Setting state to indeterminate"),f.prop("indeterminate",!0))},determinate:function(){v.verbose("Removing indeterminate class"),p.removeClass(n.indeterminate),v.is.determinate()?v.debug("Input is already determinate, skipping input property change"):(v.debug("Setting state to determinate"),f.prop("indeterminate",!1))},disabled:function(){v.verbose("Setting class to disabled"),p.addClass(n.disabled),v.is.disabled()?v.debug("Input is already disabled, skipping input property change"):(v.debug("Setting state to disabled"),f.prop("disabled","disabled"))},enabled:function(){v.verbose("Removing disabled class"),p.removeClass(n.disabled),v.is.enabled()?v.debug("Input is already enabled, skipping input property change"):(v.debug("Setting state to enabled"),f.prop("disabled",!1))},tabbable:function(){v.verbose("Adding tabindex to checkbox"),f.attr("tabindex")===O&&f.attr("tabindex",0)}},remove:{initialLoad:function(){c=!1}},trigger:{change:function(){var e,n=f[0];n&&(e=S.createEvent("HTMLEvents"),v.verbose("Triggering native change event"),e.initEvent("change",!0,!1),n.dispatchEvent(e))}},create:{label:function(){0<f.prevAll(g.label).length?(f.prev(g.label).detach().insertAfter(f),v.debug("Moving existing label",a)):v.has.label()||(a=I("<label>").insertAfter(f),v.debug("Creating label",a))}},has:{label:function(){return 0<a.length}},bind:{events:function(){v.verbose("Attaching checkbox events"),p.on("click"+i,v.event.click).on("change"+i,v.event.change).on("keydown"+i,g.input,v.event.keydown).on("keyup"+i,g.input,v.event.keyup)}},unbind:{events:function(){v.debug("Removing events"),p.off(i)}},uncheckOthers:function(){var e=v.get.otherRadios();v.debug("Unchecking other radios",e),e.removeClass(n.checked)},toggle:function(){v.can.change()?v.is.indeterminate()||v.is.unchecked()?(v.debug("Currently unchecked"),v.check()):v.is.checked()&&v.can.uncheck()&&(v.debug("Currently checked"),v.uncheck()):v.is.radio()||v.debug("Checkbox is read-only or disabled, ignoring toggle")},setting:function(e,n){if(v.debug("Changing setting",e,n),I.isPlainObject(e))I.extend(!0,h,e);else{if(n===O)return h[e];I.isPlainObject(h[e])?I.extend(!0,h[e],n):h[e]=n}},internal:function(e,n){if(I.isPlainObject(e))I.extend(!0,v,e);else{if(n===O)return v[e];v[e]=n}},debug:function(){!h.silent&&h.debug&&(h.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,h.name+":"),v.debug.apply(console,arguments)))},verbose:function(){!h.silent&&h.verbose&&h.debug&&(h.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,h.name+":"),v.verbose.apply(console,arguments)))},error:function(){h.silent||(v.error=Function.prototype.bind.call(console.error,console,h.name+":"),v.error.apply(console,arguments))},performance:{log:function(e){var n,t;h.performance&&(t=(n=(new Date).getTime())-(y||n),y=n,C.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:d,"Execution Time":t})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout(v.performance.display,500)},display:function(){var e=h.name+":",t=0;y=!1,clearTimeout(v.performance.timer),I.each(C,function(e,n){t+=n["Execution Time"]}),e+=" "+t+"ms",b&&(e+=" '"+b+"'"),(console.group!==O||console.table!==O)&&0<C.length&&(console.groupCollapsed(e),console.table?console.table(C):I.each(C,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),C=[]}},invoke:function(i,e,n){var o,a,t,c=l;return e=e||D,n=n||d,"string"==typeof i&&c!==O&&(i=i.split(/[\. ]/),o=i.length-1,I.each(i,function(e,n){var t=e!=o?n+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(I.isPlainObject(c[t])&&e!=o)c=c[t];else{if(c[t]!==O)return a=c[t],!1;{if(!I.isPlainObject(c[n])||e==o)return c[n]!==O?a=c[n]:v.error(r.method,i),!1;c=c[n]}}})),T(a)?t=a.apply(n,e):a!==O&&(t=a),Array.isArray(u)?u.push(t):u!==O?u=[u,t]:t!==O&&(u=t),a}};w?(l===O&&v.initialize(),v.invoke(x)):(l!==O&&l.invoke("destroy"),v.initialize())}),u!==O?u:this},I.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!1,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},onEnabled:function(){},onDisabled:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",label:"label",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Comment
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Comment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Comment
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Comment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Container
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Container
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Container
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Container
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Dimmer
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Dimmer
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -12,9 +12,9 @@
12
12
 
13
13
  'use strict';
14
14
 
15
- $.isFunction = $.isFunction || function(obj) {
15
+ function isFunction(obj) {
16
16
  return typeof obj === "function" && typeof obj.nodeType !== "number";
17
- };
17
+ }
18
18
 
19
19
  window = (typeof window != 'undefined' && window.Math == Math)
20
20
  ? window
@@ -188,7 +188,7 @@ $.fn.dimmer = function(parameters) {
188
188
  },
189
189
 
190
190
  show: function(callback) {
191
- callback = $.isFunction(callback)
191
+ callback = isFunction(callback)
192
192
  ? callback
193
193
  : function(){}
194
194
  ;
@@ -208,7 +208,7 @@ $.fn.dimmer = function(parameters) {
208
208
  },
209
209
 
210
210
  hide: function(callback) {
211
- callback = $.isFunction(callback)
211
+ callback = isFunction(callback)
212
212
  ? callback
213
213
  : function(){}
214
214
  ;
@@ -240,7 +240,7 @@ $.fn.dimmer = function(parameters) {
240
240
 
241
241
  animate: {
242
242
  show: function(callback) {
243
- callback = $.isFunction(callback)
243
+ callback = isFunction(callback)
244
244
  ? callback
245
245
  : function(){}
246
246
  ;
@@ -302,7 +302,7 @@ $.fn.dimmer = function(parameters) {
302
302
  }
303
303
  },
304
304
  hide: function(callback) {
305
- callback = $.isFunction(callback)
305
+ callback = isFunction(callback)
306
306
  ? callback
307
307
  : function(){}
308
308
  ;
@@ -628,7 +628,7 @@ $.fn.dimmer = function(parameters) {
628
628
  }
629
629
  });
630
630
  }
631
- if ( $.isFunction( found ) ) {
631
+ if ( isFunction( found ) ) {
632
632
  response = found.apply(context, passedArguments);
633
633
  }
634
634
  else if(found !== undefined) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Dimmer
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.14+1a3de4b
2
+ * # Fomantic UI - 2.9.1-beta.16+7071e59
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(T,e,F,S){"use strict";T.isFunction=T.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")(),T.fn.dimmer=function(p){var b,h=T(this),v=(new Date).getTime(),y=[],C=p,w="string"==typeof C,x=[].slice.call(arguments,1);return h.each(function(){var o,i,a=T.isPlainObject(p)?T.extend(!0,{},T.fn.dimmer.settings,p):T.extend({},T.fn.dimmer.settings),n=a.selector,e=a.namespace,t=a.className,s=a.error,r="."+e,d="module-"+e,m=h.selector||"",c="ontouchstart"in F.documentElement?"touchstart":"click",l=T(this),u=this,f=l.data(d),g={preinitialize:function(){o=g.is.dimmer()?(i=l.parent(),l):(i=l,g.has.dimmer()?a.dimmerName?i.find(n.dimmer).filter("."+a.dimmerName):i.find(n.dimmer):g.create())},initialize:function(){g.debug("Initializing dimmer",a),g.bind.events(),g.set.dimmable(),g.instantiate()},instantiate:function(){g.verbose("Storing instance of module",g),f=g,l.data(d,f)},destroy:function(){g.verbose("Destroying previous module",o),g.unbind.events(),g.remove.variation(),i.off(r)},bind:{events:function(){"hover"==a.on?i.on("mouseenter"+r,g.show).on("mouseleave"+r,g.hide):"click"==a.on&&i.on(c+r,g.toggle),g.is.page()&&(g.debug("Setting as a page dimmer",i),g.set.pageDimmer()),g.is.closable()&&(g.verbose("Adding dimmer close event",o),i.on(c+r,n.dimmer,g.event.click))}},unbind:{events:function(){l.removeData(d),i.off(r)}},event:{click:function(e){g.verbose("Determining if event occurred on dimmer",e),0!==o.find(e.target).length&&!T(e.target).is(n.content)||(g.hide(),e.stopImmediatePropagation())}},addContent:function(e){e=T(e);g.debug("Add content to dimmer",e),e.parent()[0]!==o[0]&&e.detach().appendTo(o)},create:function(){var e=T(a.template.dimmer(a));return a.dimmerName&&(g.debug("Creating named dimmer",a.dimmerName),e.addClass(a.dimmerName)),e.appendTo(i),e},show:function(e){e=T.isFunction(e)?e:function(){},g.is.dimmed()&&!g.is.animating()||!g.is.enabled()?g.debug("Dimmer is already shown or disabled"):!1===a.onShow.call(u)?g.verbose("Show callback returned false cancelling dimmer show"):(g.debug("Showing dimmer",o,a),g.set.variation(),g.animate.show(e),a.onChange.call(u))},hide:function(e){e=T.isFunction(e)?e:function(){},g.is.dimmed()||g.is.animating()?!1===a.onHide.call(u)?g.verbose("Hide callback returned false cancelling dimmer hide"):(g.debug("Hiding dimmer",o),g.animate.hide(e),a.onChange.call(u)):g.debug("Dimmer is not visible")},toggle:function(){g.verbose("Toggling dimmer visibility",o),g.is.dimmed()?g.is.closable()&&g.hide():g.show()},animate:{show:function(e){e=T.isFunction(e)?e:function(){},a.useCSS&&T.fn.transition!==S&&o.transition("is supported")?(a.useFlex?(g.debug("Using flex dimmer"),g.remove.legacy()):(g.debug("Using legacy non-flex dimmer"),g.set.legacy()),"auto"!==a.opacity&&g.set.opacity(),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.showMethod||a.transition)+" in",queue:!1,duration:g.get.duration(),useFailSafe:!0,onStart:function(){g.set.dimmed()},onComplete:function(){g.set.active(),a.onVisible.call(o),e()}})):(g.verbose("Showing dimmer animation with javascript"),g.set.dimmed(),"auto"==a.opacity&&(a.opacity=.8),o.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(g.get.duration(),a.opacity,function(){o.removeAttr("style"),g.set.active(),a.onVisible.call(o),e()}))},hide:function(e){e=T.isFunction(e)?e:function(){},a.useCSS&&T.fn.transition!==S&&o.transition("is supported")?(g.verbose("Hiding dimmer with css"),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.hideMethod||a.transition)+" out",queue:!1,duration:g.get.duration(),useFailSafe:!0,onComplete:function(){g.remove.dimmed(),g.remove.variation(),g.remove.active(),a.onHidden.call(o),e()}})):(g.verbose("Hiding dimmer with javascript"),o.stop().fadeOut(g.get.duration(),function(){g.remove.dimmed(),g.remove.active(),o.removeAttr("style"),a.onHidden.call(o),e()}))}},get:{dimmer:function(){return o},duration:function(){return g.is.active()?a.transition.hideDuration||a.duration.hide||a.duration:a.transition.showDuration||a.duration.show||a.duration}},has:{dimmer:function(){return a.dimmerName?0<l.find(n.dimmer).filter("."+a.dimmerName).length:0<l.find(n.dimmer).length}},is:{active:function(){return o.hasClass(t.active)},animating:function(){return o.is(":animated")||o.hasClass(t.animating)},closable:function(){return"auto"==a.closable?"hover"!=a.on:a.closable},dimmer:function(){return l.hasClass(t.dimmer)},dimmable:function(){return l.hasClass(t.dimmable)},dimmed:function(){return i.hasClass(t.dimmed)},disabled:function(){return i.hasClass(t.disabled)},enabled:function(){return!g.is.disabled()},page:function(){return i.is("body")},pageDimmer:function(){return o.hasClass(t.pageDimmer)}},can:{show:function(){return!o.hasClass(t.disabled)}},set:{opacity:function(e){var i=o.css("background-color"),n=i.split(","),t=n&&3<=n.length;e=0===a.opacity?0:a.opacity||e,i=t?(n[2]=n[2].replace(")",""),n[3]=e+")",n.join(",")):"rgba(0, 0, 0, "+e+")",g.debug("Setting opacity to",e),o.css("background-color",i)},legacy:function(){o.addClass(t.legacy)},active:function(){o.addClass(t.active)},dimmable:function(){i.addClass(t.dimmable)},dimmed:function(){i.addClass(t.dimmed)},pageDimmer:function(){o.addClass(t.pageDimmer)},disabled:function(){o.addClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.addClass(e)}},remove:{active:function(){o.removeClass(t.active)},legacy:function(){o.removeClass(t.legacy)},dimmed:function(){i.removeClass(t.dimmed)},disabled:function(){o.removeClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.removeClass(e)}},setting:function(e,i){if(g.debug("Changing setting",e,i),T.isPlainObject(e))T.extend(!0,a,e);else{if(i===S)return a[e];T.isPlainObject(a[e])?T.extend(!0,a[e],i):a[e]=i}},internal:function(e,i){if(T.isPlainObject(e))T.extend(!0,g,e);else{if(i===S)return g[e];g[e]=i}},debug:function(){!a.silent&&a.debug&&(a.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,a.name+":"),g.debug.apply(console,arguments)))},verbose:function(){!a.silent&&a.verbose&&a.debug&&(a.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,a.name+":"),g.verbose.apply(console,arguments)))},error:function(){a.silent||(g.error=Function.prototype.bind.call(console.error,console,a.name+":"),g.error.apply(console,arguments))},performance:{log:function(e){var i,n;a.performance&&(n=(i=(new Date).getTime())-(v||i),v=i,y.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":n})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var e=a.name+":",n=0;v=!1,clearTimeout(g.performance.timer),T.each(y,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",m&&(e+=" '"+m+"'"),1<h.length&&(e+=" ("+h.length+")"),(console.group!==S||console.table!==S)&&0<y.length&&(console.groupCollapsed(e),console.table?console.table(y):T.each(y,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),y=[]}},invoke:function(t,e,i){var o,a,n,r=f;return e=e||x,i=i||u,"string"==typeof t&&r!==S&&(t=t.split(/[\. ]/),o=t.length-1,T.each(t,function(e,i){var n=e!=o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(T.isPlainObject(r[n])&&e!=o)r=r[n];else{if(r[n]!==S)return a=r[n],!1;{if(!T.isPlainObject(r[i])||e==o)return r[i]!==S?a=r[i]:g.error(s.method,t),!1;r=r[i]}}})),T.isFunction(a)?n=a.apply(i,e):a!==S&&(n=a),Array.isArray(b)?b.push(n):b!==S?b=[b,n]:n!==S&&(b=n),a}};g.preinitialize(),w?(f===S&&g.initialize(),g.invoke(C)):(f!==S&&f.invoke("destroy"),g.initialize())}),b!==S?b:this},T.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},onVisible:function(){},onHidden:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(e){var i,n=T("<div/>").addClass("ui dimmer");return e.displayLoader&&(i=T("<div/>").addClass(e.className.loader).addClass(e.loaderVariation),e.loaderText&&(i.text(e.loaderText),i.addClass("text")),n.append(i)),n}}}}(jQuery,window,document);
11
+ !function(T,e,S,D){"use strict";function k(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")(),T.fn.dimmer=function(p){var b,h=T(this),v=(new Date).getTime(),y=[],C=p,w="string"==typeof C,x=[].slice.call(arguments,1);return h.each(function(){var o,i,a=T.isPlainObject(p)?T.extend(!0,{},T.fn.dimmer.settings,p):T.extend({},T.fn.dimmer.settings),n=a.selector,e=a.namespace,t=a.className,s=a.error,r="."+e,d="module-"+e,m=h.selector||"",l="ontouchstart"in S.documentElement?"touchstart":"click",c=T(this),u=this,f=c.data(d),g={preinitialize:function(){o=g.is.dimmer()?(i=c.parent(),c):(i=c,g.has.dimmer()?a.dimmerName?i.find(n.dimmer).filter("."+a.dimmerName):i.find(n.dimmer):g.create())},initialize:function(){g.debug("Initializing dimmer",a),g.bind.events(),g.set.dimmable(),g.instantiate()},instantiate:function(){g.verbose("Storing instance of module",g),f=g,c.data(d,f)},destroy:function(){g.verbose("Destroying previous module",o),g.unbind.events(),g.remove.variation(),i.off(r)},bind:{events:function(){"hover"==a.on?i.on("mouseenter"+r,g.show).on("mouseleave"+r,g.hide):"click"==a.on&&i.on(l+r,g.toggle),g.is.page()&&(g.debug("Setting as a page dimmer",i),g.set.pageDimmer()),g.is.closable()&&(g.verbose("Adding dimmer close event",o),i.on(l+r,n.dimmer,g.event.click))}},unbind:{events:function(){c.removeData(d),i.off(r)}},event:{click:function(e){g.verbose("Determining if event occurred on dimmer",e),0!==o.find(e.target).length&&!T(e.target).is(n.content)||(g.hide(),e.stopImmediatePropagation())}},addContent:function(e){e=T(e);g.debug("Add content to dimmer",e),e.parent()[0]!==o[0]&&e.detach().appendTo(o)},create:function(){var e=T(a.template.dimmer(a));return a.dimmerName&&(g.debug("Creating named dimmer",a.dimmerName),e.addClass(a.dimmerName)),e.appendTo(i),e},show:function(e){e=k(e)?e:function(){},g.is.dimmed()&&!g.is.animating()||!g.is.enabled()?g.debug("Dimmer is already shown or disabled"):!1===a.onShow.call(u)?g.verbose("Show callback returned false cancelling dimmer show"):(g.debug("Showing dimmer",o,a),g.set.variation(),g.animate.show(e),a.onChange.call(u))},hide:function(e){e=k(e)?e:function(){},g.is.dimmed()||g.is.animating()?!1===a.onHide.call(u)?g.verbose("Hide callback returned false cancelling dimmer hide"):(g.debug("Hiding dimmer",o),g.animate.hide(e),a.onChange.call(u)):g.debug("Dimmer is not visible")},toggle:function(){g.verbose("Toggling dimmer visibility",o),g.is.dimmed()?g.is.closable()&&g.hide():g.show()},animate:{show:function(e){e=k(e)?e:function(){},a.useCSS&&T.fn.transition!==D&&o.transition("is supported")?(a.useFlex?(g.debug("Using flex dimmer"),g.remove.legacy()):(g.debug("Using legacy non-flex dimmer"),g.set.legacy()),"auto"!==a.opacity&&g.set.opacity(),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.showMethod||a.transition)+" in",queue:!1,duration:g.get.duration(),useFailSafe:!0,onStart:function(){g.set.dimmed()},onComplete:function(){g.set.active(),a.onVisible.call(o),e()}})):(g.verbose("Showing dimmer animation with javascript"),g.set.dimmed(),"auto"==a.opacity&&(a.opacity=.8),o.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(g.get.duration(),a.opacity,function(){o.removeAttr("style"),g.set.active(),a.onVisible.call(o),e()}))},hide:function(e){e=k(e)?e:function(){},a.useCSS&&T.fn.transition!==D&&o.transition("is supported")?(g.verbose("Hiding dimmer with css"),o.transition({debug:a.debug,verbose:a.verbose,silent:a.silent,displayType:a.useFlex?"flex":"block",animation:(a.transition.hideMethod||a.transition)+" out",queue:!1,duration:g.get.duration(),useFailSafe:!0,onComplete:function(){g.remove.dimmed(),g.remove.variation(),g.remove.active(),a.onHidden.call(o),e()}})):(g.verbose("Hiding dimmer with javascript"),o.stop().fadeOut(g.get.duration(),function(){g.remove.dimmed(),g.remove.active(),o.removeAttr("style"),a.onHidden.call(o),e()}))}},get:{dimmer:function(){return o},duration:function(){return g.is.active()?a.transition.hideDuration||a.duration.hide||a.duration:a.transition.showDuration||a.duration.show||a.duration}},has:{dimmer:function(){return a.dimmerName?0<c.find(n.dimmer).filter("."+a.dimmerName).length:0<c.find(n.dimmer).length}},is:{active:function(){return o.hasClass(t.active)},animating:function(){return o.is(":animated")||o.hasClass(t.animating)},closable:function(){return"auto"==a.closable?"hover"!=a.on:a.closable},dimmer:function(){return c.hasClass(t.dimmer)},dimmable:function(){return c.hasClass(t.dimmable)},dimmed:function(){return i.hasClass(t.dimmed)},disabled:function(){return i.hasClass(t.disabled)},enabled:function(){return!g.is.disabled()},page:function(){return i.is("body")},pageDimmer:function(){return o.hasClass(t.pageDimmer)}},can:{show:function(){return!o.hasClass(t.disabled)}},set:{opacity:function(e){var i=o.css("background-color"),n=i.split(","),t=n&&3<=n.length;e=0===a.opacity?0:a.opacity||e,i=t?(n[2]=n[2].replace(")",""),n[3]=e+")",n.join(",")):"rgba(0, 0, 0, "+e+")",g.debug("Setting opacity to",e),o.css("background-color",i)},legacy:function(){o.addClass(t.legacy)},active:function(){o.addClass(t.active)},dimmable:function(){i.addClass(t.dimmable)},dimmed:function(){i.addClass(t.dimmed)},pageDimmer:function(){o.addClass(t.pageDimmer)},disabled:function(){o.addClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.addClass(e)}},remove:{active:function(){o.removeClass(t.active)},legacy:function(){o.removeClass(t.legacy)},dimmed:function(){i.removeClass(t.dimmed)},disabled:function(){o.removeClass(t.disabled)},variation:function(e){(e=e||a.variation)&&o.removeClass(e)}},setting:function(e,i){if(g.debug("Changing setting",e,i),T.isPlainObject(e))T.extend(!0,a,e);else{if(i===D)return a[e];T.isPlainObject(a[e])?T.extend(!0,a[e],i):a[e]=i}},internal:function(e,i){if(T.isPlainObject(e))T.extend(!0,g,e);else{if(i===D)return g[e];g[e]=i}},debug:function(){!a.silent&&a.debug&&(a.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,a.name+":"),g.debug.apply(console,arguments)))},verbose:function(){!a.silent&&a.verbose&&a.debug&&(a.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,a.name+":"),g.verbose.apply(console,arguments)))},error:function(){a.silent||(g.error=Function.prototype.bind.call(console.error,console,a.name+":"),g.error.apply(console,arguments))},performance:{log:function(e){var i,n;a.performance&&(n=(i=(new Date).getTime())-(v||i),v=i,y.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":n})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var e=a.name+":",n=0;v=!1,clearTimeout(g.performance.timer),T.each(y,function(e,i){n+=i["Execution Time"]}),e+=" "+n+"ms",m&&(e+=" '"+m+"'"),1<h.length&&(e+=" ("+h.length+")"),(console.group!==D||console.table!==D)&&0<y.length&&(console.groupCollapsed(e),console.table?console.table(y):T.each(y,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),y=[]}},invoke:function(t,e,i){var o,a,n,r=f;return e=e||x,i=i||u,"string"==typeof t&&r!==D&&(t=t.split(/[\. ]/),o=t.length-1,T.each(t,function(e,i){var n=e!=o?i+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(T.isPlainObject(r[n])&&e!=o)r=r[n];else{if(r[n]!==D)return a=r[n],!1;{if(!T.isPlainObject(r[i])||e==o)return r[i]!==D?a=r[i]:g.error(s.method,t),!1;r=r[i]}}})),k(a)?n=a.apply(i,e):a!==D&&(n=a),Array.isArray(b)?b.push(n):b!==D?b=[b,n]:n!==D&&(b=n),a}};g.preinitialize(),w?(f===D&&g.initialize(),g.invoke(C)):(f!==D&&f.invoke("destroy"),g.initialize())}),b!==D?b:this},T.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},onVisible:function(){},onHidden:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(e){var i,n=T("<div/>").addClass("ui dimmer");return e.displayLoader&&(i=T("<div/>").addClass(e.className.loader).addClass(e.loaderVariation),e.loaderText&&(i.text(e.loaderText),i.addClass("text")),n.append(i)),n}}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Divider
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Divider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Divider
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Divider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1-beta.14+1a3de4b - Dropdown
2
+ * # Fomantic-UI 2.9.1-beta.16+7071e59 - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *