!function(){"use strict";function t(t){u.push(t),1==u.length&&l()}function e(){for(;u.length;)u[0](),u.shift()}function n(t){this.a=f,this.b=void 0,this.f=[];var e=this;try{t(function(t){a(e,t)},function(t){r(e,t)})}catch(t){r(e,t)}}function o(t){return new n(function(e,n){n(t)})}function i(t){return new n(function(e){e(t)})}function a(t,e){if(t.a==f){if(e==t)throw new TypeError;var n=!1;try{var o=e&&e.then;if(null!=e&&"object"==typeof e&&"function"==typeof o)return void o.call(e,function(e){n||a(t,e),n=!0},function(e){n||r(t,e),n=!0})}catch(e){return void(n||r(t,e))}t.a=0,t.b=e,s(t)}}function r(t,e){if(t.a==f){if(e==t)throw new TypeError;t.a=1,t.b=e,s(t)}}function s(e){t(function(){if(e.a!=f)for(;e.f.length;){var t=(i=e.f.shift())[0],n=i[1],o=i[2],i=i[3];try{0==e.a?o("function"==typeof t?t.call(void 0,e.b):e.b):1==e.a&&("function"==typeof n?o(n.call(void 0,e.b)):i(e.b))}catch(t){i(t)}}})}function c(t){return new n(function(e,n){var o=0,a=[];0==t.length&&e(a);for(var r=0;rparseInt(t[1],10)}else f=!1;return f}function c(){return null===p&&(p=!!document.fonts),p}function d(){if(null===h){var t=document.createElement("div");try{t.style.font="condensed 100px sans-serif"}catch(t){}h=""!==t.style.font}return h}function l(t,e){return[t.style,t.weight,d()?t.stretch:"","100px",e].join(" ")}var u=null,f=null,h=null,p=null;r.prototype.load=function(t,i){var r=this,d=t||"BESbswy",f=0,h=i||3e3,p=(new Date).getTime();return new Promise(function(t,i){if(c()&&!s()){var m=new Promise(function(t,e){function n(){(new Date).getTime()-p>=h?e():document.fonts.load(l(r,'"'+r.family+'"'),d).then(function(e){1<=e.length?t():setTimeout(n,25)},function(){e()})}n()}),w=new Promise(function(t,e){f=setTimeout(e,h)});Promise.race([w,m]).then(function(){clearTimeout(f),t(r)},function(){i(r)})}else e(function(){function e(){var e;(e=-1!=v&&-1!=y||-1!=v&&-1!=g||-1!=y&&-1!=g)&&((e=v!=y&&v!=g&&y!=g)||(null===u&&(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),u=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))),e=u&&(v==b&&y==b&&g==b||v==x&&y==x&&g==x||v==E&&y==E&&g==E)),e=!e),e&&(T.parentNode&&T.parentNode.removeChild(T),clearTimeout(f),t(r))}function s(){if((new Date).getTime()-p>=h)T.parentNode&&T.parentNode.removeChild(T),i(r);else{var t=document.hidden;!0!==t&&void 0!==t||(v=c.a.offsetWidth,y=m.a.offsetWidth,g=w.a.offsetWidth,e()),f=setTimeout(s,50)}}var c=new n(d),m=new n(d),w=new n(d),v=-1,y=-1,g=-1,b=-1,x=-1,E=-1,T=document.createElement("div");T.dir="ltr",o(c,l(r,"sans-serif")),o(m,l(r,"serif")),o(w,l(r,"monospace")),T.appendChild(c.a),T.appendChild(m.a),T.appendChild(w.a),document.body.appendChild(T),b=c.a.offsetWidth,x=m.a.offsetWidth,E=w.a.offsetWidth,s(),a(c,function(t){v=t,e()}),o(c,l(r,'"'+r.family+'",sans-serif')),a(m,function(t){y=t,e()}),o(m,l(r,'"'+r.family+'",serif')),a(w,function(t){g=t,e()}),o(w,l(r,'"'+r.family+'",monospace'))})})},"object"==typeof module?module.exports=r:(window.FontFaceObserver=r,window.FontFaceObserver.prototype.load=r.prototype.load)}(); new window.FontFaceObserver( "PT Sans" ) .load() .then( function(){ window.document.documentElement.className += " font-loaded"; });