/*! BigText - v0.1.8 - 2015-04-01 * https://github.com/zachleat/bigtext * Copyright (c) 2015 Zach Leatherman (@zachleat) * MIT License */(function(c,b){"use strict";var f=0,d=b('head'),g=c.BigText,h=b.fn.bigtext,a={DEBUG_MODE:!1,DEFAULT_MIN_FONT_SIZE_PX:null,DEFAULT_MAX_FONT_SIZE_PX:528,GLOBAL_STYLE_ID:'bigtext-style',STYLE_ID:'bigtext-id',LINE_CLASS_PREFIX:'bigtext-line',EXEMPT_CLASS:'bigtext-exempt',noConflict:function(d){return d&&(b.fn.bigtext=h,c.BigText=g),a},supports:{wholeNumberFontSizeOnly:function(){var a,d,e;return!('getComputedStyle'in c)||(a=b('
').css({position:'absolute','font-size':'14.1px'}).insertBefore(b('script').eq(0)),d=c.getComputedStyle(a[0],null),e=d&&d.getPropertyValue('font-size')==='14px',a.remove(),e)}()},init:function(){b('#'+a.GLOBAL_STYLE_ID).length||d.append(a.generateStyleTag(a.GLOBAL_STYLE_ID,['.bigtext * { white-space: nowrap; } .bigtext > * { display: block; }','.bigtext .'+a.EXEMPT_CLASS+', .bigtext .'+a.EXEMPT_CLASS+' * { white-space: normal; }']))},bindResize:function(d,e){var a;b(c).unbind(d).bind(d,function(){a&&clearTimeout(a),a=setTimeout(e,100)})},getStyleId:function(b){return a.STYLE_ID+'-'+b},generateStyleTag:function(a,c){return b('').attr('id',a)},clearCss:function(c){var d=a.getStyleId(c);b('#'+d).remove()},generateCss:function(c,d,e,g){var f=[],b,h;a.clearCss(c);for(b=0,h=d.length;b=c?(f.css(d,''),b===c)?{match:'exact',size:parseFloat((parseFloat(e)-.1).toFixed(3))}:(i=c-a,j=b-c,{match:'estimate',size:parseFloat((parseFloat(e)-(d==='word-spacing'&&a&&jg){f=g;break outer}if(l=e(m,h,'font-size',f+o*n[i],n[i],'px',l),typeof l!='number'){if(f=l.size,l.match==='exact')break outer;break inner}}k.push(h/f),f>g?(c.push(g),d.push(!1)):!!j&&f