@@ -52,4 +52,4 @@ var __js={"affix.js":"/* =======================================================
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
window.onload=function(){functiona(a,b){throw$('<div id="bsCustomizerAlert" class="bs-customizer-alert"><div class="container"><a href="#bsCustomizerAlert" data-dismiss="alert" class="close pull-right">×</a><p class="bs-customizer-alert-text"><span class="glyphicon glyphicon-warning-sign"></span>'+a+"</p>"+(b.extract?'<pre class="bs-customizer-alert-extract">'+b.extract.join("\n")+"</pre>":"")+"</div></div>").appendTo("body").alert(),b}functionb(a,b){varc=$('<div class="bs-callout bs-callout-danger"><h4>Attention!</h4><p>'+a+"</p></div>");b?c.appendTo(".bs-docs-container"):c.insertAfter(".bs-customize-download")}functionc(a){a=a.replace(/[*+?^$.\[\]{}()|\\\/]/g,"\\$&");varb=location.search.match(newRegExp("[?&]"+a+"=([^&]+)(&|$)"));returnb&&decodeURIComponent(b[1].replace(/\+/g,""))}functiond(b,c){vard={description:"Bootstrap Customizer Config","public":!0,files:{"config.json":{content:b}}};$.ajax({url:"https://api.github.com/gists",type:"POST",dataType:"json",data:JSON.stringify(d)}).success(function(a){varb=window.location.protocol+"//"+window.location.host,d=b+window.location.pathname+"?id="+a.id;history.replaceState(!1,document.title,d),c(a.html_url,d)}).error(function(b){try{a("<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.",b)}catch(d){}c("<none>","<none>")})}functione(){vara={};$("#less-variables-section input").each(function(){$(this).val()&&(a[$(this).prev().text()]=$(this).val())});varb={vars:a,css:$("#less-section input:checked").map(function(){returnthis.value}).toArray(),js:$("#plugin-section input:checked").map(function(){returnthis.value}).toArray()};if(!$.isEmptyObject(b.vars)||b.css.length||b.js.length)returnb}functionf(){varb=c("id");b&&$.ajax({url:"https://api.github.com/gists/"+b,type:"GET",dataType:"json"}).success(function(a){varb=JSON.parse(a.files["config.json"].content);if(b.js&&$("#plugin-section input").each(function(){$(this).prop("checked",~$.inArray(this.value,b.js))}),b.css&&$("#less-section input").each(function(){$(this).prop("checked",~$.inArray(this.value,b.css))}),b.vars)for(varcinb.vars)$('input[data-var="'+c+'"]').val(b.vars[c])}).error(function(b){a("Error fetching bootstrap config file",b)})}functiong(b,c,d,e,f){if(!b&&!c)returna("<strong>Ruh roh!</strong> No Bootstrap files selected.",newError("no Bootstrap"));varg=newJSZip;if(b){varh=g.folder("css");for(variinb)h.file(i,b[i])}if(c){varj=g.folder("js");for(varkinc)j.file(k,c[k])}if(d){varl=g.folder("fonts");for(varmind)l.file(m,d[m],{base64:!0})}e&&g.file("config.json",e);varn=g.generate({type:"blob"});f(n)}functionh(a){varb="";for(varcina)b+=c+": "+a[c]+";\n";returnb+"\n\n"}functioni(){vara=$('#less-section [value="glyphicons.less"]:checked');returna.length?__fonts:void0}functionj(a){varb=/^@import \"(.*?)\";$/,c=__less[a].split("\n"),d=[];return$.each(c,function(a,c){vare=b.exec(c);if(e){varf=e[1],g=j(f);$.each(g,function(a,b){-1===$.inArray(b,d)&&d.push(b)}),d.push(f)}}),d}functionk(a,b,c){vard=__less[a],e=j(a);return$.each(e,function(a,e){varf=b[e];(f||null==f)&&(d+=__less[e]),"variables.less"===e&&c&&(d+=h(c))}),d=d.replace(/@import[^\n]*/gi,"")}functionl(b,c,d){newless.Parser({paths:["variables.less","mixins.less"],optimization:0,filename:c+".css"}).parse(b,function(b,e){returnb?a("<strong>Ruh roh!</strong> Could not parse less files.",b):(d[c+".css"]=o+e.toCSS(),void(d[c+".min.css"]=o+e.toCSS({compress:!0})))})}functionm(b){varc=!1,d={};if($("#less-section input").each(function(){vara=$(this),b=a.is(":checked");d[a.val()]=b,c=c||b}),!c)return!1;vare={},f={};$("#less-variables-section input").each(function(){$(this).val()&&(f[$(this).prev().text()]=$(this).val())});varg=b+k("bootstrap.less",d,f),h=b+k("theme.less",d,f);try{l(g,"bootstrap",e),l(h,"bootstrap-theme",e)}catch(i){returna("<strong>Ruh roh!</strong> Could not parse less files.",i)}returne}functionn(a){varb=$("#plugin-section input:checked");if(!b.length)return!1;varc=b.map(function(){return__js[this.value]}).toArray().join("\n");return{"bootstrap.js":a+c,"bootstrap.min.js":a+o+uglify(c)}}varo="/*!\n * Bootstrap v3.1.1 (http://getbootstrap.com)\n * Copyright 2011-2014 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n\n",p=$("#less-section input"),q=$("#plugin-section input"),r=$("#less-variables-section input");$("#less-section .toggle").on("click",function(a){a.preventDefault(),p.prop("checked",!p.is(":checked"))}),$("#plugin-section .toggle").on("click",function(a){a.preventDefault(),q.prop("checked",!q.is(":checked"))}),$("#less-variables-section .toggle").on("click",function(a){a.preventDefault(),r.val("")}),$("[data-dependencies]").on("click",function(){if($(this).is(":checked")){vara=this.getAttribute("data-dependencies");if(a){a=a.split(",");for(varb=0;b<a.length;b++){varc=$('[value="'+a[b]+'"]');c&&c.prop("checked",!0)}}}}),$("[data-dependents]").on("click",function(){if(!$(this).is(":checked")){vara=this.getAttribute("data-dependents");if(a){a=a.split(",");for(varb=0;b<a.length;b++){varc=$('[value="'+a[b]+'"]');c&&c.prop("checked",!1)}}}});{vars=$("#btn-compile");$("#btn-download")}s.on("click",function(a){varb=e(),c=JSON.stringify(b,null,2);a.preventDefault(),s.attr("disabled","disabled"),d(c,function(a,d){b.customizerUrl=d,c=JSON.stringify(b,null,2);vare="/*!\n * Generated using the Bootstrap Customizer ("+d+")\n * Config saved to config.json and "+a+"\n */\n";g(m(e),n(e),i(),c,function(a){s.removeAttr("disabled"),saveAs(a,"bootstrap.zip")})})}),function(){functiona(){$(".bs-docs-section, .bs-docs-sidebar").css("display","none"),b('Looks like your current browser doesn\'t support the Bootstrap Customizer. Please take a second to <a href="http://browsehappy.com/">upgrade to a more modern browser</a> (other than Safari).',!0)}varc=window.webkitURL||window.URL,d=newBlob(["<svg xmlns='http://www.w3.org/2000/svg'></svg>"],{type:"image/svg+xml;charset=utf-8"}),e=c.createObjectURL(d);null===/^blob:/.exec(e)?a():$("<img>").on("load",function(){s.prop("disabled",!1)}).on("error",a).attr("src",e)}(),f()};
\ No newline at end of file
window.onload=function(){functiona(a,b){throw$('<div id="bsCustomizerAlert" class="bs-customizer-alert"><div class="container"><a href="#bsCustomizerAlert" data-dismiss="alert" class="close pull-right">×</a><p class="bs-customizer-alert-text"><span class="glyphicon glyphicon-warning-sign"></span>'+a+"</p>"+(b.extract?'<pre class="bs-customizer-alert-extract">'+b.extract.join("\n")+"</pre>":"")+"</div></div>").appendTo("body").alert(),b}functionb(a,b){varc=$('<div class="bs-callout bs-callout-danger"><h4>Attention!</h4><p>'+a+"</p></div>");b?c.appendTo(".bs-docs-container"):c.insertAfter(".bs-customize-download")}functionc(a){a=a.replace(/[*+?^$.\[\]{}()|\\\/]/g,"\\$&");varb=location.search.match(newRegExp("[?&]"+a+"=([^&]+)(&|$)"));returnb&&decodeURIComponent(b[1].replace(/\+/g,""))}functiond(b,c){vard={description:"Bootstrap Customizer Config","public":!0,files:{"config.json":{content:b}}};$.ajax({url:"https://api.github.com/gists",type:"POST",dataType:"json",data:JSON.stringify(d)}).success(function(a){varb=window.location.protocol+"//"+window.location.host,d=b+window.location.pathname+"?id="+a.id;history.replaceState(!1,document.title,d),c(a.html_url,d)}).error(function(b){try{a("<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.",b)}catch(d){}c("<none>","<none>")})}functione(){vara={};$("#less-variables-section input").each(function(){$(this).val()&&(a[$(this).prev().text()]=$(this).val())});varb={vars:a,css:$("#less-section input:checked").map(function(){returnthis.value}).toArray(),js:$("#plugin-section input:checked").map(function(){returnthis.value}).toArray()};if(!$.isEmptyObject(b.vars)||b.css.length||b.js.length)returnb}functionf(){varb=c("id");b&&$.ajax({url:"https://api.github.com/gists/"+b,type:"GET",dataType:"json"}).success(function(a){varb=JSON.parse(a.files["config.json"].content);if(b.js&&$("#plugin-section input").each(function(){$(this).prop("checked",~$.inArray(this.value,b.js))}),b.css&&$("#less-section input").each(function(){$(this).prop("checked",~$.inArray(this.value,b.css))}),b.vars)for(varcinb.vars)$('input[data-var="'+c+'"]').val(b.vars[c])}).error(function(b){a("Error fetching bootstrap config file",b)})}functiong(b,c,d,e,f){if(!b&&!c)returna("<strong>Ruh roh!</strong> No Bootstrap files selected.",newError("no Bootstrap"));varg=newJSZip;if(b){varh=g.folder("css");for(variinb)h.file(i,b[i])}if(c){varj=g.folder("js");for(varkinc)j.file(k,c[k])}if(d){varl=g.folder("fonts");for(varmind)l.file(m,d[m],{base64:!0})}e&&g.file("config.json",e);varn=g.generate({type:"blob"});f(n)}functionh(a){varb="";for(varcina)b+=c+": "+a[c]+";\n";returnb+"\n\n"}functioni(){vara=$('#less-section [value="glyphicons.less"]:checked');returna.length?__fonts:void0}functionj(a){varb=/^@import \"(.*?)\";$/,c=__less[a].split("\n"),d=[];return$.each(c,function(a,c){vare=b.exec(c);if(e){varf=e[1],g=j(f);$.each(g,function(a,b){-1===$.inArray(b,d)&&d.push(b)}),d.push(f)}}),d}functionk(a,b,c){vard=__less[a],e=j(a);return$.each(e,function(a,e){varf=b[e];(f||null==f)&&(d+=__less[e]),"variables.less"===e&&c&&(d+=h(c))}),d=d.replace(/@import[^\n]*/gi,"")}functionl(b,c,d){vare=newless.Parser({paths:["variables.less","mixins.less"],optimization:0,filename:c+".css"});e.parse(b,function(b,e){returnb?a("<strong>Ruh roh!</strong> Could not parse less files.",b):(d[c+".css"]=o+e.toCSS(),void(d[c+".min.css"]=o+e.toCSS({compress:!0})))})}functionm(b){varc=!1,d={};if($("#less-section input").each(function(){vara=$(this),b=a.is(":checked");d[a.val()]=b,c=c||b}),!c)return!1;vare={},f={};$("#less-variables-section input").each(function(){$(this).val()&&(f[$(this).prev().text()]=$(this).val())});varg=b+k("bootstrap.less",d,f),h=b+k("theme.less",d,f);try{l(g,"bootstrap",e),l(h,"bootstrap-theme",e)}catch(i){returna("<strong>Ruh roh!</strong> Could not parse less files.",i)}returne}functionn(a){varb=$("#plugin-section input:checked");if(!b.length)return!1;varc=b.map(function(){return__js[this.value]}).toArray().join("\n");return{"bootstrap.js":a+c,"bootstrap.min.js":a+o+uglify(c)}}varo="/*!\n * Bootstrap v3.1.1 (http://getbootstrap.com)\n * Copyright 2011-2014 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n\n",p=$("#less-section input"),q=$("#plugin-section input"),r=$("#less-variables-section input");$("#less-section .toggle").on("click",function(a){a.preventDefault(),p.prop("checked",!p.is(":checked"))}),$("#plugin-section .toggle").on("click",function(a){a.preventDefault(),q.prop("checked",!q.is(":checked"))}),$("#less-variables-section .toggle").on("click",function(a){a.preventDefault(),r.val("")}),$("[data-dependencies]").on("click",function(){if($(this).is(":checked")){vara=this.getAttribute("data-dependencies");if(a){a=a.split(",");for(varb=0;b<a.length;b++){varc=$('[value="'+a[b]+'"]');c&&c.prop("checked",!0)}}}}),$("[data-dependents]").on("click",function(){if(!$(this).is(":checked")){vara=this.getAttribute("data-dependents");if(a){a=a.split(",");for(varb=0;b<a.length;b++){varc=$('[value="'+a[b]+'"]');c&&c.prop("checked",!1)}}}});vars=$("#btn-compile");s.on("click",function(a){varb=e(),c=JSON.stringify(b,null,2);a.preventDefault(),s.attr("disabled","disabled"),d(c,function(a,d){b.customizerUrl=d,c=JSON.stringify(b,null,2);vare="/*!\n * Generated using the Bootstrap Customizer ("+d+")\n * Config saved to config.json and "+a+"\n */\n";g(m(e),n(e),i(),c,function(a){s.removeAttr("disabled"),saveAs(a,"bootstrap.zip")})})}),function(){functiona(){$(".bs-docs-section, .bs-docs-sidebar").css("display","none"),b('Looks like your current browser doesn\'t support the Bootstrap Customizer. Please take a second to <a href="http://browsehappy.com/">upgrade to a more modern browser</a> (other than Safari).',!0)}varc=window.webkitURL||window.URL,d=newBlob(["<svg xmlns='http://www.w3.org/2000/svg'></svg>"],{type:"image/svg+xml;charset=utf-8"}),e=c.createObjectURL(d);null===/^blob:/.exec(e)?a():$("<img>").on("load",function(){s.prop("disabled",!1)}).on("error",a).attr("src",e)}(),f()};