text: !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.FontLoader=t()}}(function(){var t;return function n(t,e,i){function o(a,s){if(!e[a]){if(!t[a]){var f="function"==typeof require&&require;if(!s&&f)return f(a,!0);if(r)return r(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=e[a]={exports:{}};t[a][0].call(u.exports,function(n){var e=t[a][1][n];return o(e?e:n)},u,u.exports,n,t,e,i)}return e[a].exports}for(var r="function"==typeof require&&require,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(n,e,i){!function(){function n(t,n,e){return t.call.apply(t.bind,arguments)}function i(t,n,e){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(e,i),t.apply(n,e)}}return function(){return t.apply(n,arguments)}}function o(t,e,r){return o=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?n:i,o.apply(null,arguments)}function r(t,n){this.a=t,this.m=n||t,this.c=this.m.document}function a(t,n,e,i){if(n=t.c.createElement(n),e)for(var o in e)e.hasOwnProperty(o)&&("style"==o?n.style.cssText=e[o]:n.setAttribute(o,e[o]));return i&&n.appendChild(t.c.createTextNode(i)),n}function s(t,n,e){t=t.c.getElementsByTagName(n)[0],t||(t=document.documentElement),t.insertBefore(e,t.lastChild)}function f(t){t.parentNode&&t.parentNode.removeChild(t)}function c(t,n,e){n=n||[],e=e||[];for(var i=t.className.split(/\s+/),o=0;o<n.length;o+=1){for(var r=!1,a=0;a<i.length;a+=1)if(n[o]===i[a]){r=!0;break}r||i.push(n[o])}for(n=[],o=0;o<i.length;o+=1){for(r=!1,a=0;a<e.length;a+=1)if(i[o]===e[a]){r=!0;break}r||n.push(i[o])}t.className=n.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function u(t,n){for(var e=t.className.split(/\s+/),i=0,o=e.length;i<o;i++)if(e[i]==n)return!0;return!1}function l(t){if("string"==typeof t.f)return t.f;var n=t.m.location.protocol;return"about:"==n&&(n=t.a.location.protocol),"https:"==n?"https:":"http:"}function h(t){return t.m.location.hostname||t.a.location.hostname}function p(t,n,e){function i(){c&&o&&r&&(c(f),c=null)}n=a(t,"link",{rel:"stylesheet",href:n,media:"all"});var o=!1,r=!0,f=null,c=e||null;rt?(n.onload=function(){o=!0,i()},n.onerror=function(){o=!0,f=Error("Stylesheet failed to load"),i()}):setTimeout(function(){o=!0,i()},0),s(t,"head",n)}function d(t,n,e,i){var o=t.c.getElementsByTagName("head")[0];if(o){var r=a(t,"script",{src:n}),s=!1;return r.onload=r.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,e&&e(null),r.onload=r.onreadystatechange=null,"HEAD"==r.parentNode.tagName&&o.removeChild(r))},o.appendChild(r),setTimeout(function(){s||(s=!0,e&&e(Error("Script load timeout")))},i||5e3),r}return null}function g(){this.a=0,this.c=null}function v(t){return t.a++,function(){t.a--,w(t)}}function y(t,n){t.c=n,w(t)}function w(t){0==t.a&&t.c&&(t.c(),t.c=null)}function m(t){this.a=t||"-"}function b(t,n){this.c=t,this.f=4,this.a="n";var e=(n||"n4").match(/^([nio])([1-9])$/i);e&&(this.a=e[1],this.f=parseInt(e[2],10))}function x(t){return _(t)+" "+(t.f+"00")+" 300px "+j(t.c)}function j(t){var n=[];t=t.split(/,\s*/);for(var e=0;e<t.length;e++){var i=t[e].replace(/['"]/g,"");-1!=i.indexOf(" ")||/^\d/.test(i)?n.push("'"+i+"'"):n.push(i)}return n.join(",")}function T(t){return t.a+t.f}function _(t){var n="normal";return"o"===t.a?n="oblique":"i"===t.a&&(n="italic"),n}function P(t){var n=4,e="n",i=null;return t&&((i=t.match(/(normal|oblique|italic)/i))&&i[1]&&(e=i[1].substr(0,1).toLowerCase()),(i=t.match(/([1-9]00|normal|bold)/i))&&i[1]&&(/bold/i.test(i[1])?n=7:/[1-9]00/.test(i[1])&&(n=parseInt(i[1].substr(0,1),10)))),e+n}function k(t,n){this.c=t,this.f=t.m.document.documentElement,this.h=n,this.a=new m("-"),this.j=!1!==n.events,this.g=!1!==n.classes}function F(t){t.g&&c(t.f,[t.a.c("wf","loading")]),L(t,"loading")}function O(t){if(t.g){var n=u(t.f,t.a.c("wf","active")),e=[],i=[t.a.c("wf","loading")];n||e.push(t.a.c("wf","inactive")),c(t.f,e,i)}L(t,"inactive")}function L(t,n,e){t.j&&t.h[n]&&(e?t.h[n](e.c,T(e)):t.h[n]())}function S(){this.c={}}function A(t,n,e){var i,o=[];for(i in n)if(n.hasOwnProperty(i)){var r=t.c[i];r&&o.push(r(n[i],e))}return o}function I(t,n){this.c=t,this.f=n,this.a=a(this.c,"span",{"aria-hidden":"true"},this.f)}function C(t){s(t.c,"body",t.a)}function E(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+j(t.c)+";"+("font-style:"+_(t)+";font-weight:"+(t.f+"00")+";")}function N(t,n,e,i,o,r){this.g=t,this.j=n,this.a=i,this.c=e,this.f=o||3e3,this.h=r||void 0}function W(t,n,e,i,o,r,a){this.v=t,this.B=n,this.c=e,this.a=i,this.s=a||"BESbswy",this.f={},this.w=o||3e3,this.u=r||null,this.o=this.j=this.h=this.g=null,this.g=new I(this.c,this.s),this.h=new I(this.c,this.s),this.j=new I(this.c,this.s),this.o=new I(this.c,this.s),t=new b(this.a.c+",serif",T(this.a)),t=E(t),this.g.a.style.cssText=t,t=new b(this.a.c+",sans-serif",T(this.a)),t=E(t),this.h.a.style.cssText=t,t=new b("serif",T(this.a)),t=E(t),this.j.a.style.cssText=t,t=new b("sans-serif",T(this.a)),t=E(t),this.o.a.style.cssText=t,C(this.g),C(this.h),C(this.j),C(this.o)}function D(){if(null===st){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);st=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return st}function B(t,n,e){for(var i in at)if(at.hasOwnProperty(i)&&n===t.f[at[i]]&&e===t.f[at[i]])return!0;return!1}function q(t){var n,e=t.g.a.offsetWidth,i=t.h.a.offsetWidth;(n=e===t.f.serif&&i===t.f["sans-serif"])||(n=D()&&B(t,e,i)),n?ot()-t.A>=t.w?D()&&B(t,e,i)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?U(t,t.v):U(t,t.B):M(t):U(t,t.v)}function M(t){setTimeout(o(function(){q(this)},t),50)}function U(t,n){setTimeout(o(function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.o.a),n(this.a)},t),0)}function $(t,n,e){this.c=t,this.a=n,this.f=0,this.o=this.j=!1,this.s=e}function R(t){0==--t.f&&t.j&&(t.o?(t=t.a,t.g&&c(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),L(t,"active")):O(t.a))}function H(t){this.j=t,this.a=new S,this.h=0,this.f=this.g=!0}function z(t,n,e,i,r){var a=0==--t.h;(t.f||t.g)&&setTimeout(function(){var t=r||null,s=i||null||{};if(0===e.length&&a)O(n.a);else{n.f+=e.length,a&&(n.j=a);var f,u=[];for(f=0;f<e.length;f++){var l=e[f],h=s[l.c],p=n.a,d=l;if(p.g&&c(p.f,[p.a.c("wf",d.c,T(d).toString(),"loading")]),L(p,"fontloading",d),p=null,null===ft)if(window.FontFace){var d=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);ft=d?42<parseInt(d[1],10):!g}else ft=!1;p=ft?new N(o(n.g,n),o(n.h,n),n.c,l,n.s,h):new W(o(n.g,n),o(n.h,n),n.c,l,n.s,t,h),u.push(p)}for(f=0;f<u.length;f++)u[f].start()}},0)}function G(t,n,e){var i=[],o=e.timeout;F(n);var i=A(t.a,e,t.c),r=new $(t.c,n,o);for(t.h=i.length,n=0,e=i.length;n<e;n++)i[n].load(function(n,e,i){z(t,r,n,e,i)})}function K(t,n){this.c=t,this.a=n}function V(t,n,e){var i=l(t.c);return t=(t.a.api||"fast.fonts.net/jsapi").replace(/^.*http(s?):(\/\/)?/,""),i+"//"+t+"/"+n+".js"+(e?"?v="+e:"")}function X(t,n){this.c=t,this.a=n}function J(t,n,e){t?this.c=t:this.c=n+ct,this.a=[],this.f=[],this.g=e||""}function Q(t,n){for(var e=n.length,i=0;i<e;i++){var o=n[i].split(":");3==o.length&&t.f.push(o.pop());var r="";2==o.length&&""!=o[1]&&(r=":"),t.a.push(o.join(r))}}function Y(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var n=t.a.length,e=[],i=0;i<n;i++)e.push(t.a[i].replace(/ /g,"+"));return n=t.c+"?family="+e.join("%7C"),0<t.f.length&&(n+="&subset="+t.f.join(",")),0<t.g.length&&(n+="&text="+encodeURIComponent(t.g)),n}function Z(t){this.f=t,this.a=[],this.c={}}function tt(t){for(var n=t.f.length,e=0;e<n;e++){var i=t.f[e].split(":"),o=i[0].replace(/\+/g," "),r=["n4"];if(2<=i.length){var a,s=i[1];if(a=[],s)for(var s=s.split(","),f=s.length,c=0;c<f;c++){var u;if(u=s[c],u.match(/^[\w-]+$/)){var l=pt.exec(u.toLowerCase());if(null==l)u="";else{if(u=l[2],u=null==u||""==u?"n":ht[u],l=l[1],null==l||""==l)l="4";else var h=lt[l],l=h?h:isNaN(l)?"4":l.substr(0,1);u=[u,l].join("")}}else u="";u&&a.push(u)}0<a.length&&(r=a),3==i.length&&(i=i[2],a=[],i=i?i.split(","):a,0<i.length&&(i=ut[i[0]])&&(t.c[o]=i))}for(t.c[o]||(i=ut[o])&&(t.c[o]=i),i=0;i<r.length;i+=1)t.a.push(new b(o,r[i]))}}function nt(t,n){this.c=t,this.a=n}function et(t,n){this.c=t,this.a=n}function it(t,n){this.c=t,this.f=n,this.a=[]}var ot=Date.now||function(){return+new Date},rt=!!window.FontFace;m.prototype.c=function(t){for(var n=[],e=0;e<arguments.length;e++)n.push(arguments[e].replace(/[\W_]+/g,"").toLowerCase());return n.join(this.a)},N.prototype.start=function(){var t=this.c.m.document,n=this,e=ot(),i=new Promise(function(i,o){function r(){ot()-e>=n.f?o():t.fonts.load(x(n.a),n.h).then(function(t){1<=t.length?i():setTimeout(r,25)},function(){o()})}r()}),o=new Promise(function(t,e){setTimeout(e,n.f)});Promise.race([o,i]).then(function(){n.g(n.a)},function(){n.j(n.a)})};var at={D:"serif",C:"sans-serif"},st=null;W.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.o.a.offsetWidth,this.A=ot(),q(this)};var ft=null;$.prototype.g=function(t){var n=this.a;n.g&&c(n.f,[n.a.c("wf",t.c,T(t).toString(),"active")],[n.a.c("wf",t.c,T(t).toString(),"loading"),n.a.c("wf",t.c,T(t).toString(),"inactive")]),L(n,"fontactive",t),this.o=!0,R(this)},$.prototype.h=function(t){var n=this.a;if(n.g){var e=u(n.f,n.a.c("wf",t.c,T(t).toString(),"active")),i=[],o=[n.a.c("wf",t.c,T(t).toString(),"loading")];e||i.push(n.a.c("wf",t.c,T(t).toString(),"inactive")),c(n.f,i,o)}L(n,"fontinactive",t),R(this)},H.prototype.load=function(t){this.c=new r(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,G(this,new k(this.c,t),t)},K.prototype.load=function(t){function n(){if(r["__mti_fntLst"+i]){var e,o=r["__mti_fntLst"+i](),a=[];if(o)for(var s=0;s<o.length;s++){var f=o[s].fontfamily;void 0!=o[s].fontStyle&&void 0!=o[s].fontWeight?(e=o[s].fontStyle+o[s].fontWeight,a.push(new b(f,e))):a.push(new b(f))}t(a)}else setTimeout(function(){n()},50)}var e=this,i=e.a.projectId,o=e.a.version;if(i){var r=e.c.m;d(this.c,V(e,i,o),function(o){o?t([]):(r["__MonotypeConfiguration__"+i]=function(){return e.a},n())}).id="__MonotypeAPIScript__"+i}else t([])},X.prototype.load=function(t){var n,e,i=this.a.urls||[],o=this.a.families||[],r=this.a.testStrings||{},a=new g;for(n=0,e=i.length;n<e;n++)p(this.c,i[n],v(a));var s=[];for(n=0,e=o.length;n<e;n++)if(i=o[n].split(":"),i[1])for(var f=i[1].split(","),c=0;c<f.length;c+=1)s.push(new b(i[0],f[c]));else s.push(new b(i[0]));y(a,function(){t(s,r)})};var ct="//fonts.googleapis.com/css",ut={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},lt={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ht={i:"i",italic:"i",n:"n",normal:"n"},pt=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/,dt={Arimo:!0,Cousine:!0,Tinos:!0};nt.prototype.load=function(t){var n=new g,e=this.c,i=new J(this.a.api,l(e),this.a.text),o=this.a.families;Q(i,o);var r=new Z(o);tt(r),p(e,Y(i),v(n)),y(n,function(){t(r.a,r.c,dt)})},et.prototype.load=function(t){var n=this.a.id,e=this.c.m;n?d(this.c,(this.a.api||"https://use.typekit.net")+"/"+n+".js",function(n){if(n)t([]);else if(e.Typekit&&e.Typekit.config&&e.Typekit.config.fn){n=e.Typekit.config.fn;for(var i=[],o=0;o<n.length;o+=2)for(var r=n[o],a=n[o+1],s=0;s<a.length;s++)i.push(new b(r,a[s]));try{e.Typekit.load({events:!1,classes:!1,async:!0})}catch(f){}t(i)}},2e3):t([])},it.prototype.load=function(t){var n=this.f.id,e=this.c.m,i=this;n?(e.__webfontfontdeckmodule__||(e.__webfontfontdeckmodule__={}),e.__webfontfontdeckmodule__[n]=function(n,e){for(var o=0,r=e.fonts.length;o<r;++o){var a=e.fonts[o];i.a.push(new b(a.name,P("font-weight:"+a.weight+";font-style:"+a.style)))}t(i.a)},d(this.c,l(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+h(this.c)+"/"+n+".js",function(n){n&&t([])})):t([])};var gt=new H(window);gt.a.c.custom=function(t,n){return new X(n,t)},gt.a.c.fontdeck=function(t,n){return new it(n,t)},gt.a.c.monotype=function(t,n){return new K(n,t)},gt.a.c.typekit=function(t,n){return new et(n,t)},gt.a.c.google=function(t,n){return new nt(n,t)};var vt={load:o(gt.load,gt)};"function"==typeof t&&t.amd?t(function(){return vt}):"undefined"!=typeof e&&e.exports?e.exports=vt:(window.WebFont=vt,window.WebFontConfig&&gt.load(window.WebFontConfig))}()},{}],2:[function(t,n,e){(function(i){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function a(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function s(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}Object.defineProperty(e,"__esModule",{value:!0});var f=function(){function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}}(),c=function(t,n,e){for(var i=!0;i;){var o=t,r=n,a=e;i=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,r);if(void 0!==s){if("value"in s)return s.value;var f=s.get;if(void 0===f)return;return f.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,n=r,e=a,i=!0,s=c=void 0}},u="undefined"!=typeof window?window.React:"undefined"!=typeof i?i.React:null,l=(o(u),function(t,n){var e=n.join(","),i=t+":"+e;return 0!==e.length&&i}),h=function(t,n){var e=t.split(":")[0],i=t.split(":")[1].split(","),o=[];i.forEach(function(t,r){var a=t.charAt(0),s=t.charAt(3)||"n",f=s+a;!n||e+" "+f in n&&!(e+" "+f in n&&n[e+" "+f].subset)||o.push(i[r])});var r=l(e,o);return r},p=function(n){function e(){a(this,e),c(Object.getPrototypeOf(e.prototype),"constructor",this).apply(this,arguments)}return s(e,n),f(e,[{key:"componentDidMount",value:function(){var t=this.props,n=t.fonts,e=t.fontProvider,i=t.fontFamilies,o=[];i?(i.forEach(function(t){var e=h(t,n);e&&o.push(e)}),o&&o.length>0&&this.loadFonts(e,o)):this.loadFonts(e)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"loadFonts",value:function(n,e){var i,o=this.props,a=o.onActive,s=o.onInactive,f=o.onLoading,c=o.fontIsLoading,u=o.fontIsLoaded,l=o.fontLoadFailed,h=o.typekitId,p=o.customUrls,d=o.timeout,g=o.text,v=o.debug,y=t("webfontloader");y.load((i={},r(i,n,{families:e,id:h,urls:p||{},text:g}),r(i,"loading",function(){v&&console.info("…Loading WebFonts"),f()}),r(i,"active",function(){v&&console.info("WebFonts are Active!"),a()}),r(i,"inactive",function(){v&&console.warn("WebFonts Failed to Load 😱"),s()}),r(i,"fontloading",function(t,n){v&&console.info(t+" "+n+" is Loading"),c()}),r(i,"fontactive",function(t,n){v&&console.info(t+" "+n+" is Active!"),u(t,n,g)}),r(i,"fontinactive",function(t,n){v&&console.warn(t+" "+n+" Failed to Load"),l(t,n)}),r(i,"classes",!1),r(i,"timeout",d),i))}},{key:"render",value:function(){return null}}]),e}(u.Component);e["default"]=p,p.propTypes={customUrls:u.PropTypes.array,debug:u.PropTypes.bool,fontFamilies:u.PropTypes.array,fontIsLoaded:u.PropTypes.func,fontIsLoading:u.PropTypes.func,fontLoadFailed:u.PropTypes.func,fontProvider:u.PropTypes.string,fonts:u.PropTypes.object,onActive:u.PropTypes.func,onInactive:u.PropTypes.func,onLoading:u.PropTypes.func,text:u.PropTypes.string,timeout:u.PropTypes.number,typekitId:u.PropTypes.string},p.defaultProps={fonts:{},fontIsLoaded:function(){},fontIsLoading:function(){},fontLoadFailed:function(){},onActive:function(){},onInactive:function(){},onLoading:function(){},timeout:3e3},n.exports=e["default"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{webfontloader:1}]},{},[2])(2)});