!function(a,b){functionc(b){returna.less[b.split("/")[1]]}functiond(a,b){"undefined"!=typeofconsole&&w.logLevel>=b&&console.log("less: "+a)}functione(a){returna.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")}functionf(a,c){vare="{line} {content}",f=a.filename||c,g=[],h=(a.type||"Syntax")+"Error: "+(a.message||"There is an error in your .less file")+" in "+f+" ",i=function(a,c,d){a.extract[c]!==b&&g.push(e.replace(/\{line\}/,(parseInt(a.line,10)||0)+(c-1)).replace(/\{class\}/,d).replace(/\{content\}/,a.extract[c]))};a.extract?(i(a,0,""),i(a,1,"line"),i(a,2,""),h+="on line "+a.line+", column "+(a.column+1)+":\n"+g.join("\n")):a.stack&&(h+=a.stack),d(h,z.errors)}functiong(a,b,c){varf=b.href||"",g="less:"+(b.title||e(f)),h=document.getElementById(g),i=!1,j=document.createElement("style");if(j.setAttribute("type","text/css"),b.media&&j.setAttribute("media",b.media),j.id=g,j.styleSheet)try{j.styleSheet.cssText=a}catch(k){thrownewError("Couldn't reassign styleSheet.cssText.")}elsej.appendChild(document.createTextNode(a)),i=null!==h&&h.childNodes.length>0&&j.childNodes.length>0&&h.firstChild.nodeValue===j.firstChild.nodeValue;varl=document.getElementsByTagName("head")[0];if(null===h||i===!1){varm=b&&b.nextSibling||null;m?m.parentNode.insertBefore(j,m):l.appendChild(j)}if(h&&i===!1&&h.parentNode.removeChild(h),c&&D){d("saving "+f+" to cache.",z.info);try{D.setItem(f,a),D.setItem(f+":timestamp",c)}catch(k){d("failed to save",z.errors)}}}functionh(a){returnw.postProcessor&&"function"==typeofw.postProcessor&&(a=w.postProcessor.call(a,a)||a),a}functioni(a,c){vard,f,h="less-error-message:"+e(c||""),i='<li><label>{line}</label><pre class="{class}">{content}</pre></li>',j=document.createElement("div"),k=[],l=a.filename||c,m=l.match(/([^\/]+(\?.*)?)$/)[1];j.id=h,j.className="less-error-message",f="<h3>"+(a.type||"Syntax")+"Error: "+(a.message||"There is an error in your .less file")+'</h3><p>in <a href="'+l+'">'+m+"</a> ";varn=function(a,c,d){a.extract[c]!==b&&k.push(i.replace(/\{line\}/,(parseInt(a.line,10)||0)+(c-1)).replace(/\{class\}/,d).replace(/\{content\}/,a.extract[c]))};a.extract?(n(a,0,""),n(a,1,"line"),n(a,2,""),f+="on line "+a.line+", column "+(a.column+1)+":</p><ul>"+k.join("")+"</ul>"):a.stack&&(f+="<br/>"+a.stack.split("\n").slice(1).join("<br/>")),j.innerHTML=f,g([".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),j.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";"),"development"==w.env&&(d=setInterval(function(){document.body&&(document.getElementById(h)?document.body.replaceChild(j,document.getElementById(h)):document.body.insertBefore(j,document.body.firstChild),clearInterval(d))},10))}functionj(a,b){w.errorReporting&&"html"!==w.errorReporting?"console"===w.errorReporting?f(a,b):"function"==typeofw.errorReporting&&w.errorReporting("add",a,b):i(a,b)}functionk(a){varb=document.getElementById("less-error-message:"+e(a));b&&b.parentNode.removeChild(b)}functionl(){}functionm(a){w.errorReporting&&"html"!==w.errorReporting?"console"===w.errorReporting?l(a):"function"==typeofw.errorReporting&&w.errorReporting("remove",a):k(a)}functionn(a){for(varb,c=document.getElementsByTagName("s
},unit:function(a,b){if(!(ainstanceofd.Dimension))throw{type:"Argument",message:"the first argument to unit must be a number"+(ainstanceofd.Operation?". Have you forgotten parenthesis?":"")};returnb=b?binstanceofd.Keyword?b.value:b.toCSS():"",newd.Dimension(a.value,b)},convert:function(a,b){returna.convertTo(b.value)},round:function(a,b){varc="undefined"==typeofb?0:b.value;returne(function(a){returna.toFixed(c)},null,a)},pi:function(){returnnewd.Dimension(Math.PI)},mod:function(a,b){returnnewd.Dimension(a.value%b.value,a.unit)},pow:function(a,b){if("number"==typeofa&&"number"==typeofb)a=newd.Dimension(a),b=newd.Dimension(b);elseif(!(ainstanceofd.Dimension&&binstanceofd.Dimension))throw{type:"Argument",message:"arguments must be numbers"};returnnewd.Dimension(Math.pow(a.value,b.value),a.unit)},_minmax:function(a,c){switch(c=Array.prototype.slice.call(c),c.length){case0:throw{type:"Argument",message:"one or more arguments required"}}vare,f,g,h,i,j,k,l,m=[],n={};for(e=0;e<c.length;e++)if(g=c[e],ginstanceofd.Dimension)if(h=""===g.unit.toString()&&l!==b?newd.Dimension(g.value,l).unify():g.unify(),j=""===h.unit.toString()&&k!==b?k:h.unit.toString(),k=""!==j&&k===b||""!==j&&""===m[0].unify().unit.toString()?j:k,l=""!==j&&l===b?g.unit.toString():l,f=n[""]!==b&&""!==j&&j===k?n[""]:n[j],f!==b)i=""===m[f].unit.toString()&&l!==b?newd.Dimension(m[f].value,l).unify():m[f].unify(),(a&&h.value<i.value||!a&&h.value>i.value)&&(m[f]=g);else{if(k!==b&&j!==k)throw{type:"Argument",message:"incompatible types"};n[j]=m.length,m.push(g)}elseArray.isArray(c[e].value)&&Array.prototype.push.apply(c,Array.prototype.slice.call(c[e].value));return1==m.length?m[0]:(c=m.map(function(a){returna.toCSS(this.env)}).join(this.env.compress?",":", "),newd.Anonymous((a?"min":"max")+"("+c+")"))},min:function(){returnthis._minmax(!0,arguments)},max:function(){returnthis._minmax(!1,arguments)},"get-unit":function(a){returnnewd.Anonymous(a.unit)},argb:function(a){returnnewd.Anonymous(a.toARGB())},percentage:function(a){returnnewd.Dimension(100*a.value,"%")},color:function(a){if(ainstanceofd.Quoted){varb,c=a.value;if(b=d.Color.fromKeyword(c))returnb;if(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/.test(c))returnnewd.Color(c.slice(1));throw{type:"Argument",message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"}}throw{type:"Argument",message:"argument must be a string"}},iscolor:function(a){returnthis._isa(a,d.Color)},isnumber:function(a){returnthis._isa(a,d.Dimension)},isstring:function(a){returnthis._isa(a,d.Quoted)},iskeyword:function(a){returnthis._isa(a,d.Keyword)},isurl:function(a){returnthis._isa(a,d.URL)},ispixel:function(a){returnthis.isunit(a,"px")},ispercentage:function(a){returnthis.isunit(a,"%")},isem:function(a){returnthis.isunit(a,"em")},isunit:function(a,b){returnainstanceofd.Dimension&&a.unit.is(b.value||b)?d.True:d.False},_isa:function(a,b){returnainstanceofb?d.True:d.False},tint:function(a,b){returnthis.mix(this.rgb(255,255,255),a,b)},shade:function(a,b){returnthis.mix(this.rgb(0,0,0),a,b)},extract:function(a,b){returnb=b.value-1,Array.isArray(a.value)?a.value[b]:Array(a)[b]},length:function(a){varb=Array.isArray(a.value)?a.value.length:1;returnnewd.Dimension(b)},"data-uri":function(b,e){if("undefined"!=typeofa)returnnewd.URL(e||b,this.currentFileInfo).eval(this.env);varf=b.value,g=e&&e.value,h=c("fs"),i=c("path"),j=!1;if(arguments.length<2&&(g=f),this.env.isPathRelative(g)&&(g=this.currentFileInfo.relativeUrls?i.join(this.currentFileInfo.currentDirectory,g):i.join(this.currentFileInfo.entryPath,g)),arguments.length<2){vark;try{k=c("mime")}catch(l){k=d._mime}f=k.lookup(g);varm=k.charsets.lookup(f);j=["US-ASCII","UTF-8"].indexOf(m)<0,j&&(f+=";base64")}elsej=/;base64$/.test(f);varn=h.readFileSync(g),o=32,p=parseInt(n.length/1024,10);if(p>=o&&this.env.ieCompat!==!1)returnthis.env.silent||console.warn("Skipped data-uri embedding of %s because its size (%dKB) exceeds IE8-safe %dKB!",g,p,o),newd.URL(e||b,this.currentFileInfo).eval(this.env);n=j?n.toString("base64"):enc
},eval:function(b){varc,d,e,f,g,h,i,j,k,l,m,n,o=[],p=!1,q=[],r=[],s=a.defaultFunc,t=0,u=1,v=2;for(e=this.arguments&&this.arguments.map(function(a){return{name:a.name,value:a.value.eval(b)}}),f=0;f<b.frames.length;f++)if((c=b.frames[f].find(this.selector)).length>0){for(j=!0,g=0;g<c.length;g++){for(d=c[g],i=!1,h=0;h<b.frames.length;h++)if(!(dinstanceofa.mixin.Definition)&&d===(b.frames[h].originalRuleset||b.frames[h])){i=!0;break}if(!i&&d.matchArgs(e,b)){if(l={mixin:d,group:t},d.matchCondition){for(h=0;2>h;h++)s.value(h),r[h]=d.matchCondition(e,b);(r[0]||r[1])&&(r[0]!=r[1]&&(l.group=r[1]?u:v),q.push(l))}elseq.push(l);p=!0}}for(s.reset(),n=[0,0,0],g=0;g<q.length;g++)n[q[g].group]++;if(n[t]>0)m=v;elseif(m=u,n[u]+n[v]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(e)+"`",index:this.index,filename:this.currentFileInfo.filename};for(g=0;g<q.length;g++)if(l=q[g].group,l===t||l===m)try{d=q[g].mixin,dinstanceofa.mixin.Definition||(d=newa.mixin.Definition("",[],d.rules,null,!1),d.originalRuleset=c[g].originalRuleset||c[g]),Array.prototype.push.apply(o,d.evalCall(b,e,this.important).rules)}catch(w){throw{message:w.message,index:this.index,filename:this.currentFileInfo.filename,stack:w.stack}}if(p){if(!this.currentFileInfo||!this.currentFileInfo.reference)for(f=0;f<o.length;f++)k=o[f],k.markReferenced&&k.markReferenced();returno}}throwj?{type:"Runtime",message:"No matching definition was found for `"+this.format(e)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename}},format:function(a){returnthis.selector.toCSS().trim()+"("+(a?a.map(function(a){varb="";returna.name&&(b+=a.name+":"),b+=a.value.toCSS?a.value.toCSS():"???"}).join(", "):"")+")"}},a.mixin.Definition=function(b,c,d,e,f,g){this.name=b,this.selectors=[newa.Selector([newa.Element(null,b,this.index,this.currentFileInfo)])],this.params=c,this.condition=e,this.variadic=f,this.arity=c.length,this.rules=d,this._lookups={},this.required=c.reduce(function(a,b){return!b.name||b.name&&!b.value?a+1:a},0),this.parent=a.Ruleset.prototype,this.frames=g},a.mixin.Definition.prototype={type:"MixinDefinition",accept:function(a){this.params&&this.params.length&&(this.params=a.visitArray(this.params)),this.rules=a.visitArray(this.rules),this.condition&&(this.condition=a.visit(this.condition))},variable:function(a){returnthis.parent.variable.call(this,a)},variables:function(){returnthis.parent.variables.call(this)},find:function(){returnthis.parent.find.apply(this,arguments)},rulesets:function(){returnthis.parent.rulesets.apply(this)},evalParams:function(b,c,d,e){varf,g,h,i,j,k,l,m,n=newa.Ruleset(null,null),o=this.params.slice(0),p=0;if(c=newa.evalEnv(c,[n].concat(c.frames)),d)for(d=d.slice(0),p=d.length,h=0;p>h;h++)if(g=d[h],k=g&&g.name){for(l=!1,i=0;i<o.length;i++)if(!e[i]&&k===o[i].name){e[i]=g.value.eval(b),n.prependRule(newa.Rule(k,g.value.eval(b))),l=!0;break}if(l){d.splice(h,1),h--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+d[h].name+" not found"}}for(m=0,h=0;h<o.length;h++)if(!e[h]){if(g=d&&d[m],k=o[h].name)if(o[h].variadic){for(f=[],i=m;p>i;i++)f.push(d[i].value.eval(b));n.prependRule(newa.Rule(k,newa.Expression(f).eval(b)))}else{if(j=g&&g.value)j=j.eval(b);else{if(!o[h].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+p+" for "+this.arity+")"};j=o[h].value.eval(c),n.resetCache()}n.prependRule(newa.Rule(k,j)),e[h]=j}if(o[h].variadic&&d)for(i=m;p>i;i++)e[i]=d[i].value.eval(b);m++}returnn},eval:function(b){returnnewa.mixin.Definition(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||b.frames.slice(0))},evalCall:function(b,c,d){vare,f,g=[],h=this.frames?this.frames.concat(b.frames):b.frames,i=this.evalParams(b,newa.evalEnv(b,h),c,g);returni.prependRule(newa.Rule("@arguments",newa.Expression(g).eval(b))),e=this.rules.slice(0),f=newa.Ruleset(null,e),f.originalRuleset=this,f=f.eval(new