
| Current Path : /var/www/html/ift/web/sites/default/files/js/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/sites/default/files/js/js_0NC-3OqSYNaiZAaEPjlhDoabMzhwEZ_30tAtaLu0-KE.js |
// Eliminate FOIT (Flash of Invisible Text) caused by web fonts loading slowly
// using font events with Font Face Observer.
(function ($) {
"use strict";
Drupal.behaviors.atFFOI = {
attach: function () {
$('html').addClass('fa-loading');
var fontObserver = new FontFaceObserver('FontAwesome');
// Because we are loading an icon font we need a unicode code point.
fontObserver.load('\uf287\uf142\uf0fc').then(function () {
$('html').removeClass('fa-loading').addClass('fa-loaded');
}, function() {
$('html').removeClass('fa-loading').addClass('fa-unavailable');
});
}
};
}(jQuery));;
window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),i=document.getElementsByTagName("script")[0],n=null;t.type="text/css";t.id="matchmediajs-test";i.parentNode.insertBefore(t,i);n="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle;e={matchMedium:function(e){var i="@media "+e+"{ #matchmediajs-test { width: 1px; } }";if(t.styleSheet){t.styleSheet.cssText=i}else{t.textContent=i}return n.width==="1px"}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}());
;