!function(a){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=a();elseif("function"==typeofdefine&&define.amd)define([],a);else{varb;b="undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this,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,c){vard=a("./utils").addDataAttr,e=a("./browser");b.exports=function(a,b){d(b,e.currentScript(a)),void0===b.isFileProtocol&&(b.isFileProtocol=/^(file|(chrome|safari)(-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");varc=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(a.location.hash);c&&(b.dumpLineNumbers=c[1]),void0===b.useFileCache&&(b.useFileCache=!0),void0===b.onReady&&(b.onReady=!0),b.javascriptEnabled=!(!b.javascriptEnabled&&!b.inlineJavaScript)}},{"./browser":3,"./utils":11}],2:[function(a,b,c){functiond(a){a.filename&&console.warn(a),e.async||h.removeChild(i)}a("promise/polyfill");vare=a("../less/default-options")();if(window.less)for(keyinwindow.less)window.less.hasOwnProperty(key)&&(e[key]=window.less[key]);a("./add-default-options")(window,e),e.plugins=e.plugins||[],window.LESS_PLUGINS&&(e.plugins=e.plugins.concat(window.LESS_PLUGINS));varf=b.exports=a("./index")(window,e);window.less=f;varg,h,i;e.onReady&&(/!watch/.test(window.location.hash)&&f.watch(),e.async||(g="body { display: none !important }",h=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style"),i.type="text/css",i.styleSheet?i.styleSheet.cssText=g:i.appendChild(document.createTextNode(g)),h.appendChild(i)),f.registerStylesheetsImmediately(),f.pageLoadFinished=f.refresh("development"===f.env).then(d,d))},{"../less/default-options":16,"./add-default-options":1,"./index":8,"promise/polyfill":100}],3:[function(a,b,c){vard=a("./utils");b.exports={createCSS:function(a,b,c){vare=c.href||"",f="less:"+(c.title||d.extractId(e)),g=a.getElementById(f),h=!1,i=a.createElement("style");i.setAttribute("type","text/css"),c.media&&i.setAttribute("media",c.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=c&&c.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":11}],4:[function(a,b,c){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,f){if(d){c.info("saving "+a+" to cache.");try{d.setItem(a,f),d.setItem(a+":timestamp",b),e&&d.setItem(a+":vars",JSON.stringify(e))}catch(g){c.error('failed to save "'+a+'" to local storage for caching.')}}},getCSS:function(a,b,c){vare=d&&d.getItem(a),f=d&&d.getItem(a+":timestamp"),g=d&&d.getItem(a+":vars");if(c=c||{},f&&b.lastModified&&newDate(b.lastModified).valueOf()===newDate(f).valueOf()&&(!c&&!g||JSON.stringify(c)===g))returne}}}},{}],5:[function(a,b,c){vard=a("./utils"),e=a("./browser");b.exports=function(a,b,c){functionf(b,f){varg,h,
"./function-caller":25,"./function-registry":26,"./math":29,"./number":30,"./string":31,"./svg":32,"./types":33}],28:[function(a,b,c){vard=a("../tree/dimension"),e=function(){};e._math=function(a,b,c){if(!(cinstanceofd))throw{type:"Argument",message:"argument must be a number"};returnnull==b?b=c.unit:c=c.unify(),newd(a(parseFloat(c.value)),b)},b.exports=e},{"../tree/dimension":60}],29:[function(a,b,c){vard=a("./function-registry"),e=a("./math-helper.js"),f={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(varginf)f.hasOwnProperty(g)&&(f[g]=e._math.bind(null,Math[g],f[g]));f.round=function(a,b){varc="undefined"==typeofb?0:b.value;returne._math(function(a){returna.toFixed(c)},null,a)},d.addMultiple(f)},{"./function-registry":26,"./math-helper.js":28}],30:[function(a,b,c){vard=a("../tree/dimension"),e=a("../tree/anonymous"),f=a("./function-registry"),g=a("./math-helper.js"),h=function(a,b){switch(b=Array.prototype.slice.call(b),b.length){case0:throw{type:"Argument",message:"one or more arguments required"}}varc,f,g,h,i,j,k,l,m=[],n={};for(c=0;c<b.length;c++)if(g=b[c],ginstanceofd)if(h=""===g.unit.toString()&&void0!==l?newd(g.value,l).unify():g.unify(),j=""===h.unit.toString()&&void0!==k?k:h.unit.toString(),k=""!==j&&void0===k||""!==j&&""===m[0].unify().unit.toString()?j:k,l=""!==j&&void0===l?g.unit.toString():l,f=void0!==n[""]&&""!==j&&j===k?n[""]:n[j],void0!==f)i=""===m[f].unit.toString()&&void0!==l?newd(m[f].value,l).unify():m[f].unify(),(a&&h.value<i.value||!a&&h.value>i.value)&&(m[f]=g);else{if(void0!==k&&j!==k)throw{type:"Argument",message:"incompatible types"};n[j]=m.length,m.push(g)}elseArray.isArray(b[c].value)&&Array.prototype.push.apply(b,Array.prototype.slice.call(b[c].value));return1==m.length?m[0]:(b=m.map(function(a){returna.toCSS(this.context)}).join(this.context.compress?",":", "),newe((a?"min":"max")+"("+b+")"))};f.addMultiple({min:function(){returnh(!0,arguments)},max:function(){returnh(!1,arguments)},convert:function(a,b){returna.convertTo(b.value)},pi:function(){returnnewd(Math.PI)},mod:function(a,b){returnnewd(a.value%b.value,a.unit)},pow:function(a,b){if("number"==typeofa&&"number"==typeofb)a=newd(a),b=newd(b);elseif(!(ainstanceofd&&binstanceofd))throw{type:"Argument",message:"arguments must be numbers"};returnnewd(Math.pow(a.value,b.value),a.unit)},percentage:function(a){varb=g._math(function(a){return100*a},"%",a);returnb}})},{"../tree/anonymous":48,"../tree/dimension":60,"./function-registry":26,"./math-helper.js":28}],31:[function(a,b,c){vard=a("../tree/quoted"),e=a("../tree/anonymous"),f=a("../tree/javascript"),g=a("./function-registry");g.addMultiple({e:function(a){returnnewe(ainstanceoff?a.evaluated:a.value)},escape:function(a){returnnewe(encodeURI(a.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(a,b,c,e){varf=a.value;returnc="Quoted"===c.type?c.value:c.toCSS(),f=f.replace(newRegExp(b.value,e?e.value:""),c),newd(a.quote||"",f,a.escaped)},"%":function(a){for(varb=Array.prototype.slice.call(arguments,1),c=a.value,e=0;e<b.length;e++)c=c.replace(/%[sda]/i,function(a){varc="Quoted"===b[e].type&&a.match(/s/i)?b[e].value:b[e].toCSS();returna.match(/[A-Z]$/)?encodeURIComponent(c):c});returnc=c.replace(/%%/g,"%"),newd(a.quote||"",c,a.escaped)}})},{"../tree/anonymous":48,"../tree/javascript":66,"../tree/quoted":77,"./function-registry":26}],32:[function(a,b,c){b.exports=function(b){varc=a("../tree/dimension"),d=a("../tree/color"),e=a("../tree/expression"),f=a("../tree/quoted"),g=a("../tree/url"),h=a("./function-registry");h.add("svg-gradient",function(a){functionb(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}varh,i,j,k,l,m,n,o,p="linear",q='x="0" y="0" width="1" height="1"',r={compress:!1},s=a.toCSS(r);switch(2==arguments.length?(arguments[1].value.length<2&&b(),h
f?h.push(f):(f=this.entity(),f&&h.push(f));while(f);if(g=b(),h.length>0){if(h=newe.Expression(h),g)returnh;l.push(h)," "===q.prevChar()&&l.push(newe.Anonymous(" ",k))}if(q.save(),h=q.$parseUntil(i)){if("string"==typeofh&&j("Expected '"+h+"'","Parse"),1===h.length&&" "===h[0])returnq.forget(),newe.Anonymous("",k);varm;for(d=0;d<h.length;d++)if(m=h[d],Array.isArray(m))l.push(newe.Quoted(m[0],m[1],(!0),k,c));else{d===h.length-1&&(m=m.trim());varn=newe.Quoted("'",m,(!0),k,c);n.variableRegex=/@([\w-]+)/g,n.propRegex=/\$([\w-]+)/g,l.push(n)}returnq.forget(),newe.Expression(l,(!0))}q.restore()}},"import":function(){vara,b,d=q.i,f=q.$re(/^@import?\s+/);if(f){varg=(f?this.importOptions():null)||{};if(a=this.entities.quoted()||this.entities.url())returnb=this.mediaFeatures(),q.$char(";")||(q.i=d,j("missing semi-colon or unrecognised media features on import")),b=b&&newe.Value(b),newe.Import(a,b,g,d,c);q.i=d,j("malformed import statement")}},importOptions:function(){vara,b,c,d={};if(!q.$char("("))returnnull;doif(a=this.importOption()){switch(b=a,c=!0,b){case"css":b="less",c=!1;break;case"once":b="multiple",c=!1}if(d[b]=c,!q.$char(","))break}while(a);returnm(")"),d},importOption:function(){vara=q.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(a)returna[1]},mediaFeature:function(){vara,b,d=this.entities,f=[];q.save();doa=d.keyword()||d.variable(),a?f.push(a):q.$char("(")&&(b=this.property(),a=this.permissiveValue(")"),q.$char(")")?b&&a?f.push(newe.Paren(newe.Declaration(b,a,null,null,q.i,c,(!0)))):a?f.push(newe.Paren(a)):j("badly formed media feature definition"):j("Missing closing ')'","Parse"));while(a);if(q.forget(),f.length>0)returnnewe.Expression(f)},mediaFeatures:function(){vara,b=this.entities,c=[];doif(a=this.mediaFeature()){if(c.push(a),!q.$char(","))break}elseif(a=b.variable(),a&&(c.push(a),!q.$char(",")))break;while(a);returnc.length>0?c:null},media:function(){varb,d,f,g,h=q.i;returna.dumpLineNumbers&&(g=n(h)),q.save(),q.$str("@media")?(b=this.mediaFeatures(),d=this.block(),d||j("media definitions require block statements after any features"),q.forget(),f=newe.Media(d,b,h,c),a.dumpLineNumbers&&(f.debugInfo=g),f):voidq.restore()},plugin:function(){vara,b,d,f=q.i,g=q.$re(/^@plugin?\s+/);if(g){if(b=this.pluginArgs(),d=b?{pluginArgs:b,isPlugin:!0}:{isPlugin:!0},a=this.entities.quoted()||this.entities.url())returnq.$char(";")||(q.i=f,j("missing semi-colon on @plugin")),newe.Import(a,null,d,f,c);q.i=f,j("malformed @plugin statement")}},pluginArgs:function(){if(q.save(),!q.$char("("))returnq.restore(),null;vara=q.$re(/^\s*([^\);]+)\)\s*/);returna[1]?(q.forget(),a[1].trim()):(q.restore(),null)},atrule:function(){varb,d,f,g,h,i,k,l=q.i,m=!0,o=!0;if("@"===q.currentChar()){if(d=this["import"]()||this.plugin()||this.media())returnd;if(q.save(),b=q.$re(/^@[a-z-]+/)){switch(g=b,"-"==b.charAt(1)&&b.indexOf("-",2)>0&&(g="@"+b.slice(b.indexOf("-",2)+1)),g){case"@charset":h=!0,m=!1;break;case"@namespace":i=!0,m=!1;break;case"@keyframes":case"@counter-style":h=!0;break;case"@document":case"@supports":k=!0,o=!1;break;default:k=!0}returnq.commentStore.length=0,h?(d=this.entity(),d||j("expected "+b+" identifier")):i?(d=this.expression(),d||j("expected "+b+" expression")):k&&(d=this.permissiveValue(/^[{;]/),m="{"===q.currentChar(),d?d.value||(d=null):m||";"===q.currentChar()||j(b+" rule is missing block or ending semi-colon")),m&&(f=this.blockRuleset()),f||!m&&d&&q.$char(";")?(q.forget(),newe.AtRule(b,d,f,l,c,a.dumpLineNumbers?n(l):null,o)):voidq.restore("at-rule options not recognised")}}},value:function(){vara,b=[],c=q.i;doif(a=this.expression(),a&&(b.push(a),!q.$char(",")))break;while(a);if(b.length>0)returnnewe.Value(b,c)},important:function(){if("!"===q.currentChar())returnq.$re(/^! *important/)},sub:function(){vara,b;returnq.save(),q.$char("(")?(a=this.addition(),a&&q.$char(")")?(q.forget(),b=newe.Expression([a]),b.parens=!0,b):voidq.restore("Expected ')'")):voidq.restore()},multiplication:function(){vara,b,c,d,f;if(a=this.operand()){for(f=q.isWhitespace(-1);;){if(
this.allowRoot=!0,b){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1}this.setParent(this.selector,this)};f.next_id=0,f.prototype=newd,f.prototype.type="Extend",f.prototype.accept=function(a){this.selector=a.visit(this.selector)},f.prototype.eval=function(a){returnnewf(this.selector.eval(a),this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},f.prototype.clone=function(a){returnnewf(this.selector,this.option,this.getIndex(),this.fileInfo(),this.visibilityInfo())},f.prototype.findSelfSelectors=function(a){varb,c,d=[];for(b=0;b<a.length;b++)c=a[b].elements,b>0&&c.length&&""===c[0].combinator.value&&(c[0].combinator.value=" "),d=d.concat(a[b].elements);this.selfSelectors=[newe(d)],this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())},b.exports=f},{"./node":73,"./selector":79}],64:[function(a,b,c){vard=a("./node"),e=a("./media"),f=a("./url"),g=a("./quoted"),h=a("./ruleset"),i=a("./anonymous"),j=a("../utils"),k=a("../less-error"),l=function(a,b,c,d,e,f){if(this.options=c,this._index=d,this._fileInfo=e,this.path=a,this.features=b,this.allowRoot=!0,void0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{varg=this.getPath();g&&/[#\.\&\?]css([\?;].*)?$/.test(g)&&(this.css=!0)}this.copyVisibilityInfo(f),this.setParent(this.features,this),this.setParent(this.path,this)};l.prototype=newd,l.prototype.type="Import",l.prototype.accept=function(a){this.features&&(this.features=a.visit(this.features)),this.path=a.visit(this.path),this.options.isPlugin||this.options.inline||!this.root||(this.root=a.visit(this.root))},l.prototype.genCSS=function(a,b){this.css&&void0===this.path._fileInfo.reference&&(b.add("@import ",this._fileInfo,this._index),this.path.genCSS(a,b),this.features&&(b.add(" "),this.features.genCSS(a,b)),b.add(";"))},l.prototype.getPath=function(){returnthis.pathinstanceoff?this.path.value.value:this.path.value},l.prototype.isVariableImport=function(){vara=this.path;returnainstanceoff&&(a=a.value),!(ainstanceofg)||a.containsVariables()},l.prototype.evalForImport=function(a){varb=this.path;returnbinstanceoff&&(b=b.value),newl(b.eval(a),this.features,this.options,this._index,this._fileInfo,this.visibilityInfo())},l.prototype.evalPath=function(a){varb=this.path.eval(a),c=this._fileInfo&&this._fileInfo.rootpath;if(!(binstanceoff)){if(c){vard=b.value;d&&a.isPathRelative(d)&&(b.value=c+d)}b.value=a.normalizePath(b.value)}returnb},l.prototype.eval=function(a){varb=this.doEval(a);return(this.options.reference||this.blocksVisibility())&&(b.length||0===b.length?b.forEach(function(a){a.addVisibilityBlock()}):b.addVisibilityBlock()),b},l.prototype.doEval=function(a){varb,c,d=this.features&&this.features.eval(a);if(this.options.isPlugin){if(this.root&&this.root.eval)try{this.root.eval(a)}catch(f){throwf.message="Plugin error during evaluation",newk(f,this.root.imports,this.root.filename)}returnc=a.frames[0]&&a.frames[0].functionRegistry,c&&this.root&&this.root.functions&&c.addMultiple(this.root.functions),[]}if(this.skip&&("function"==typeofthis.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){varg=newi(this.root,0,{filename:this.importedFilename,reference:this.path._fileInfo&&this.path._fileInfo.reference},(!0),(!0));returnthis.features?newe([g],this.features.value):[g]}if(this.css){varm=newl(this.evalPath(a),d,this.options,this._index);if(!m.css&&this.error)throwthis.error;returnm}returnb=newh(null,j.copyArray(this.root.rules)),b.evalImports(a),this.features?newe(b.rules,this.features.value):b.rules},b.exports=l},{"../less-error":36,"../utils":86,"./anonymous":48,"./media":69,"./node":73,"./quoted":77,"./ruleset":78,"./url":82}],65:[function(a,b,c){vard=Object.create(null);d.Node=a("./node"),d.Color=a("./color"),d.AtRule=a("./atrule"),d.DetachedRuleset=a("./detached-ruleset"),d.Operation=a("./operation"),d.Dimension=a("./dimension"),d.Unit=a("./unit"),d.Keyword=a("./keyword"),d.Variable=a("./variable"),d.Property=a("./property"),d.Ruleset=a(