!function(a){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=a();elseif("function"==typeofdefine&&define.amd)define([],a);else{varb;"undefined"!=typeofwindow?b=window:"undefined"!=typeofglobal?b=global:"undefined"!=typeofself&&(b=self),b.less=a()}}(function(){returnfunctiona(b,c,d){functione(g,h){if(!c[g]){if(!b[g]){vari="function"==typeofrequire&&require;if(!h&&i)returni(g,!0);if(f)returnf(g,!0);varj=newError("Cannot find module '"+g+"'");throwj.code="MODULE_NOT_FOUND",j}vark=c[g]={exports:{}};b[g][0].call(k.exports,function(a){varc=b[g][1][a];returne(c?c:a)},k,k.exports,a,b,c,d)}returnc[g].exports}for(varf="function"==typeofrequire&&require,g=0;g<d.length;g++)e(d[g]);returne}({1:[function(a,b){varc=a("./utils").addDataAttr,d=a("./browser");b.exports=function(a,b){c(b,d.currentScript(a)),void0===b.isFileProtocol&&(b.isFileProtocol=/^(file|chrome(-extension)?|resource|qrc|app):/.test(a.location.protocol)),b.async=b.async||!1,b.fileAsync=b.fileAsync||!1,b.poll=b.poll||(b.isFileProtocol?1e3:1500),b.env=b.env||("127.0.0.1"==a.location.hostname||"0.0.0.0"==a.location.hostname||"localhost"==a.location.hostname||a.location.port&&a.location.port.length>0||b.isFileProtocol?"development":"production");vare=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(a.location.hash);e&&(b.dumpLineNumbers=e[1]),void0===b.useFileCache&&(b.useFileCache=!0)}},{"./browser":3,"./utils":9}],2:[function(a,b){a("promise/polyfill.js");varc=window.less||{};a("./add-default-options")(window,c);vard=b.exports=a("./index")(window,c);/!watch/.test(window.location.hash)&&d.watch(),d.pageLoadFinished=d.registerStylesheets().then(function(){returnd.refresh("development"===d.env)})},{"./add-default-options":1,"./index":7,"promise/polyfill.js":void0}],3:[function(a,b){varc=a("./utils");b.exports={createCSS:function(a,b,d){vare=d.href||"",f="less:"+(d.title||c.extractId(e)),g=a.getElementById(f),h=!1,i=a.createElement("style");i.setAttribute("type","text/css"),d.media&&i.setAttribute("media",d.media),i.id=f,i.styleSheet||(i.appendChild(a.createTextNode(b)),h=null!==g&&g.childNodes.length>0&&i.childNodes.length>0&&g.firstChild.nodeValue===i.firstChild.nodeValue);varj=a.getElementsByTagName("head")[0];if(null===g||h===!1){vark=d&&d.nextSibling||null;k?k.parentNode.insertBefore(i,k):j.appendChild(i)}if(g&&h===!1&&g.parentNode.removeChild(g),i.styleSheet)try{i.styleSheet.cssText=b}catch(l){thrownewError("Couldn't reassign styleSheet.cssText.")}},currentScript:function(a){varb=a.document;returnb.currentScript||function(){vara=b.getElementsByTagName("script");returna[a.length-1]}()}}},{"./utils":9}],4:[function(a,b){b.exports=function(a,b,c){vard=null;if("development"!==b.env)try{d="undefined"==typeofa.localStorage?null:a.localStorage}catch(e){}return{setCSS:function(a,b,e){if(d){c.info("saving "+a+" to cache.");try{d.setItem(a,e),d.setItem(a+":timestamp",b)}catch(f){c.error("failed to save")}}},getCSS:function(a,b){varc=d&&d.getItem(a),e=d&&d.getItem(a+":timestamp");returne&&b.lastModified&&newDate(b.lastModified).valueOf()===newDate(e).valueOf()?c:void0}}}},{}],5:[function(a,b){varc=a("./utils"),d=a("./browser");b.exports=function(a,b,e){functionf(b,f){varg,h,i="less-error-message:"+c.extractId(f||""),j='<li><label>{line}</label><pre class="{class}">{content}</pre></li>',k=a.document.createElement("div"),l=[],m=b.filename||f,n=m.match(/([^\/]+(\?.*)?)$/)[1];k.id=i,k.className="less-error-message",h="<h3>"+(b.type||"Syntax")+"Error: "+(b.message||"There is an error in your .less file")+'</h3><p>in <a href="'+m+'">'+n+"</a> ";varo=function(a,b,c){void0!==a.extract[b]&&l.push(j.replace(/\{line\}/,(parseInt(a.line,10)||0)+(b-1)).replace(/\{class\}/,c).replace(/\{content\}/,a.extract[b]))};b.extract&&(o(b,0,""),o(b,1,"line"),o(b,2,""),h+="on line "+b.line+", column "+(b.column+1)+":</p><ul>"+l.join("")+"</ul>"),b.stack&&(b.extract||e.logLevel>=4)&&(h+="<br/>Stack Trace</br />"+b.stack.split("\n").slice(1).join("<br/>")),k.innerHTML=h,d.createCSS(a.document,[".less-error-messageul,.less-error-
returnd=d?dinstanceofb?d.value:d.toCSS():"",newc(a.value,d)},"get-unit":function(a){returnnewf(a.unit)},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;returnnewc(b)}})},{"../tree/anonymous":42,"../tree/color":46,"../tree/dimension":52,"../tree/keyword":61,"../tree/operation":67,"../tree/quoted":69,"../tree/url":76,"./function-registry":21}],28:[function(a,b){varc=a("./contexts"),d=a("./parser/parser");b.exports=function(a){varb=function(a,b){this.rootFilename=b.filename,this.paths=a.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=a.mime,this.error=null,this.context=a,this.queue=[],this.files={}};returnb.prototype.push=function(b,e,f,g,h){vari=this;this.queue.push(b);varj=function(a,c,d){i.queue.splice(i.queue.indexOf(b),1);vare=d===i.rootFilename;i.files[d]=c,a&&!i.error&&(i.error=a),h(a,c,e,d)},k={relativeUrls:this.context.relativeUrls,entryPath:f.entryPath,rootpath:f.rootpath,rootFilename:f.rootFilename},l=a.getFileManager(b,f.currentDirectory,this.context,a);if(!l)returnvoidj({message:"Could not find a file-manager for "+b});e&&(b=l.tryAppendLessExtension(b));varm=function(a){varb=a.filename,e=a.contents;k.currentDirectory=l.getPath(b),k.relativeUrls&&(k.rootpath=l.join(i.context.rootpath||"",l.pathDiff(k.currentDirectory,k.entryPath)),!l.isPathAbsolute(k.rootpath)&&l.alwaysMakePathsAbsolute()&&(k.rootpath=l.join(k.entryPath,k.rootpath))),k.filename=b;varh=newc.Parse(i.context);h.processImports=!1,i.contents[b]=e,(f.reference||g.reference)&&(k.reference=!0),g.inline?j(null,e,b):newd(h,i,k).parse(e,function(a,c){j(a,c,b)})},n=l.loadFile(b,f.currentDirectory,this.context,a,function(a,b){a?j(a):m(b)});n&&n.then(m,j)},b}},{"./contexts":10,"./parser/parser":35}],29:[function(a,b){b.exports=function(b,c){vard,e,f,g,h,i={version:[2,1,0],data:a("./data"),tree:a("./tree"),Environment:h=a("./environment/environment"),AbstractFileManager:a("./environment/abstract-file-manager"),environment:b=newh(b,c),visitors:a("./visitors"),Parser:a("./parser/parser"),functions:a("./functions")(b),contexts:a("./contexts"),SourceMapOutput:d=a("./source-map-output")(b),SourceMapBuilder:e=a("./source-map-builder")(d),ParseTree:f=a("./parse-tree")(e),ImportManager:g=a("./import-manager")(b),render:a("./render")(b,f,g),LessError:a("./less-error"),transformTree:a("./transform-tree"),utils:a("./utils"),PluginManager:a("./plugin-manager"),logger:a("./logger")};returni}},{"./contexts":10,"./data":12,"./environment/abstract-file-manager":14,"./environment/environment":15,"./functions":22,"./import-manager":28,"./less-error":30,"./logger":31,"./parse-tree":32,"./parser/parser":35,"./plugin-manager":36,"./render":37,"./source-map-builder":38,"./source-map-output":39,"./transform-tree":40,"./tree":58,"./utils":79,"./visitors":83}],30:[function(a,b){varc=a("./utils"),d=b.exports=function(a,b,d){Error.call(this);vare=a.filename||d;if(b&&e){varf=b.contents[e],g=c.getLocation(a.index,f),h=g.line,i=g.column,j=a.call&&c.getLocation(a.call,f).line,k=f.split("\n");this.type=a.type||"Syntax",this.filename=e,this.index=a.index,this.line="number"==typeofh?h+1:null,this.callLine=j+1,this.callExtract=k[j],this.column=i,this.extract=[k[h-1],k[h],k[h+1]]}this.message=a.message,this.stack=a.stack};if("undefined"==typeofObject.create){vare=function(){};e.prototype=Error.prototype,d.prototype=newe}elsed.prototype=Object.create(Error.prototype);d.prototype.constructor=d},{"./utils":79}],31:[function(a,b){b.exports={error:function(a){this._fireEvent("error",a)},warn:function(a){this._fireEvent("warn",a)},info:function(a){this._fireEvent("info",a)},debug:function(a){this._fireEvent("debug",a)},addListener:function(a){this._listeners.push(a)},removeListener:function(a){for(varb=0;b<this._listeners.length;b++)if(this._listeners[b]===a)returnvoidthis._listeners.splice(b,1)},_fireEvent:function(a,b){for(varc=0;c<this._listeners.length;c++){vard=this._listeners[c][a];d&&d(b)}},_listeners:[]}},{}],32:[function(a,b){varc=a(
}finally{d&&(a.strictMath=!1)}},g.prototype.makeImportant=function(){returnnewg(this.name,this.value,"!important",this.merge,this.index,this.currentFileInfo,this.inline)},b.exports=g},{"./keyword":61,"./node":66,"./value":77}],71:[function(a,b){varc=a("./node"),d=a("./variable"),e=function(a){this.variable=a};e.prototype=newc,e.prototype.type="RulesetCall",e.prototype.eval=function(a){varb=newd(this.variable).eval(a);returnb.callEval(a)},b.exports=e},{"./node":66,"./variable":78}],72:[function(a,b){varc=a("./node"),d=a("./rule"),e=a("./selector"),f=a("./element"),g=a("../contexts"),h=a("../functions/default"),i=a("./debug-info"),j=function(a,b,c){this.selectors=a,this.rules=b,this._lookups={},this.strictImports=c};j.prototype=newc,j.prototype.type="Ruleset",j.prototype.isRuleset=!0,j.prototype.isRulesetLike=!0,j.prototype.accept=function(a){this.paths?a.visitArray(this.paths,!0):this.selectors&&(this.selectors=a.visitArray(this.selectors)),this.rules&&this.rules.length&&(this.rules=a.visitArray(this.rules))},j.prototype.eval=function(a){varb,c,e,f,g=this.selectors,i=!1;if(g&&(c=g.length)){for(b=[],h.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),f=0;c>f;f++)e=g[f].eval(a),b.push(e),e.evaldCondition&&(i=!0);h.reset()}elsei=!0;vark,l,m=this.rules?this.rules.slice(0):null,n=newj(b,m,this.strictImports);n.originalRuleset=this,n.root=this.root,n.firstRoot=this.firstRoot,n.allowImports=this.allowImports,this.debugInfo&&(n.debugInfo=this.debugInfo),i||(m.length=0);varo=a.frames;o.unshift(n);varp=a.selectors;p||(a.selectors=p=[]),p.unshift(this.selectors),(n.root||n.allowImports||!n.strictImports)&&n.evalImports(a);varq=n.rules,r=q?q.length:0;for(f=0;r>f;f++)q[f].evalFirst&&(q[f]=q[f].eval(a));vars=a.mediaBlocks&&a.mediaBlocks.length||0;for(f=0;r>f;f++)"MixinCall"===q[f].type?(m=q[f].eval(a).filter(function(a){returnainstanceofd&&a.variable?!n.variable(a.name):!0}),q.splice.apply(q,[f,1].concat(m)),r+=m.length-1,f+=m.length-1,n.resetCache()):"RulesetCall"===q[f].type&&(m=q[f].eval(a).rules.filter(function(a){returnainstanceofd&&a.variable?!1:!0}),q.splice.apply(q,[f,1].concat(m)),r+=m.length-1,f+=m.length-1,n.resetCache());for(f=0;f<q.length;f++)k=q[f],k.evalFirst||(q[f]=k=k.eval?k.eval(a):k);for(f=0;f<q.length;f++)if(k=q[f],kinstanceofj&&k.selectors&&1===k.selectors.length&&k.selectors[0].isJustParentSelector()){q.splice(f--,1);for(vart=0;t<k.rules.length;t++)l=k.rules[t],linstanceofd&&l.variable||q.splice(++f,0,l)}if(o.shift(),p.shift(),a.mediaBlocks)for(f=s;f<a.mediaBlocks.length;f++)a.mediaBlocks[f].bubbleSelectors(b);returnn},j.prototype.evalImports=function(a){varb,c,d=this.rules;if(d)for(b=0;b<d.length;b++)"Import"===d[b].type&&(c=d[b].eval(a),c&&c.length?(d.splice.apply(d,[b,1].concat(c)),b+=c.length-1):d.splice(b,1,c),this.resetCache())},j.prototype.makeImportant=function(){returnnewj(this.selectors,this.rules.map(function(a){returna.makeImportant?a.makeImportant():a}),this.strictImports)},j.prototype.matchArgs=function(a){return!a||0===a.length},j.prototype.matchCondition=function(a,b){varc=this.selectors[this.selectors.length-1];returnc.evaldCondition?c.condition&&!c.condition.eval(newg.Eval(b,b.frames))?!1:!0:!1},j.prototype.resetCache=function(){this._rulesets=null,this._variables=null,this._lookups={}},j.prototype.variables=function(){returnthis._variables||(this._variables=this.rules?this.rules.reduce(function(a,b){if(binstanceofd&&b.variable===!0&&(a[b.name]=b),"Import"===b.type&&b.root){varc=b.root.variables();for(vareinc)c.hasOwnProperty(e)&&(a[e]=c[e])}returna},{}):{}),this._variables},j.prototype.variable=function(a){returnthis.variables()[a]},j.prototype.rulesets=function(){if(!this.rules)returnnull;vara,b,c=[],d=this.rules,e=d.length;for(a=0;e>a;a++)b=d[a],b.isRuleset&&c.push(b);returnc},j.prototype.prependRule=function(a){varb=this.rules;b?b.unshift(a):this.rules=[a]},j.prototype.find=function(a,b,c){b=b||this;vard,f,g=[],h=a.toCSS();returnhinthis._lookups?this._lookups[h]:(this.rulesets().forEach(function(h){i