/* * # Fomantic UI - 2.9.0 * https://github.com/fomantic/Fomantic-UI * http://fomantic-ui.com/ * * Copyright 2022 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ !function(b,p,v,h){b.isFunction=b.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b.site=b.fn.site=function(e){var a,i=(new Date).getTime(),t=[],n=e,o="string"==typeof n,c=[].slice.call(arguments,1),r=b.isPlainObject(e)?b.extend(!0,{},b.site.settings,e):b.extend({},b.site.settings),s=r.namespace,l=r.error,u="module-"+s,m=b(v),d=this,f=m.data(u),g={initialize:function(){g.instantiate()},instantiate:function(){g.verbose("Storing instance of site",g),f=g,m.data(u,g)},normalize:function(){g.fix.console(),g.fix.requestAnimationFrame()},fix:{console:function(){g.debug("Normalizing window.console"),console!==h&&console.log!==h||(g.verbose("Console not available, normalizing events"),g.disable.console()),void 0!==console.group&&void 0!==console.groupEnd&&void 0!==console.groupCollapsed||(g.verbose("Console group not available, normalizing events"),p.console.group=function(){},p.console.groupEnd=function(){},p.console.groupCollapsed=function(){}),void 0===console.markTimeline&&(g.verbose("Mark timeline not available, normalizing events"),p.console.markTimeline=function(){})},consoleClear:function(){g.debug("Disabling programmatic console clearing"),p.console.clear=function(){}},requestAnimationFrame:function(){g.debug("Normalizing requestAnimationFrame"),p.requestAnimationFrame===h&&(g.debug("RequestAnimationFrame not available, normalizing event"),p.requestAnimationFrame=p.requestAnimationFrame||p.mozRequestAnimationFrame||p.webkitRequestAnimationFrame||p.msRequestAnimationFrame||function(e){setTimeout(e,0)})}},moduleExists:function(e){return b.fn[e]!==h&&b.fn[e].settings!==h},enabled:{modules:function(e){var o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)&&o.push(n)}),o}},disabled:{modules:function(e){var o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)||o.push(n)}),o}},change:{setting:function(i,t,e,s){e="string"==typeof e?"all"===e?r.modules:[e]:e||r.modules,s=s===h||s,b.each(e,function(e,n){var o=!g.moduleExists(n)||(b.fn[n].settings.namespace||!1);g.moduleExists(n)&&(g.verbose("Changing default setting",i,t,n),b.fn[n].settings[i]=t,s&&o&&0<(o=b(":data(module-"+o+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",i,t)))})},settings:function(i,e,t){e="string"==typeof e?[e]:e||r.modules,t=t===h||t,b.each(e,function(e,n){var o;g.moduleExists(n)&&(g.verbose("Changing default setting",i,n),b.extend(!0,b.fn[n].settings,i),t&&s&&0<(o=b(":data(module-"+s+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",i)))})}},enable:{console:function(){g.console(!0)},debug:function(e,n){e=e||r.modules,g.debug("Enabling debug for modules",e),g.change.setting("debug",!0,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Enabling verbose debug for modules",e),g.change.setting("verbose",!0,e,n)}},disable:{console:function(){g.console(!1)},debug:function(e,n){e=e||r.modules,g.debug("Disabling debug for modules",e),g.change.setting("debug",!1,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Disabling verbose debug for modules",e),g.change.setting("verbose",!1,e,n)}},console:function(e){e?f.cache.console===h?g.error(l.console):(g.debug("Restoring console function"),p.console=f.cache.console):(g.debug("Disabling console function"),f.cache.console=p.console,p.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}})},destroy:function(){g.verbose("Destroying previous site for",m),m.removeData(u)},cache:{},setting:function(e,n){if(b.isPlainObject(e))b.extend(!0,r,e);else{if(n===h)return r[e];r[e]=n}},internal:function(e,n){if(b.isPlainObject(e))b.extend(!0,g,e);else{if(n===h)return g[e];g[e]=n}},debug:function(){r.debug&&(r.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,r.name+":"),g.debug.apply(console,arguments)))},verbose:function(){r.verbose&&r.debug&&(r.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),g.verbose.apply(console,arguments)))},error:function(){g.error=Function.prototype.bind.call(console.error,console,r.name+":"),g.error.apply(console,arguments)},performance:{log:function(e){var n,o;r.performance&&(o=(n=(new Date).getTime())-(i||n),i=n,t.push({Element:d,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":o})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var e=r.name+":",o=0;i=!1,clearTimeout(g.performance.timer),b.each(t,function(e,n){o+=n["Execution Time"]}),e+=" "+o+"ms",(console.group!==h||console.table!==h)&&0