* Licensed under http://www.apache.org/licenses/LICENSE-2.0
*/
!function(a){functionb(b){returna.less[b.split("/")[1]]}functionc(){"development"===p.env?(p.optimization=0,p.watchTimer=setInterval(function(){p.watchMode&&e(function(a,b,c,d,e){b&&j(b.toCSS(),d,e.lastModified)})},p.poll)):p.optimization=3}functiond(){for(vara=document.getElementsByTagName("style"),b=0;b<a.length;b++)a[b].type.match(x)&&newp.Parser({filename:document.location.href.replace(/#.*$/,""),dumpLineNumbers:p.dumpLineNumbers}).parse(a[b].innerHTML||"",function(c,d){vare=d.toCSS(),f=a[b];f.type="text/css",f.styleSheet?f.styleSheet.cssText=e:f.innerHTML=e})}functione(a,b){for(varc=0;c<p.sheets.length;c++)h(p.sheets[c],a,b,p.sheets.length-(c+1))}functionf(a,b){varc,d,e,f,h=g(a),i=g(b),j="";if(h.hostPart!==i.hostPart)return"";for(d=Math.max(i.directories.length,h.directories.length),c=0;d>c&&i.directories[c]===h.directories[c];c++);for(f=i.directories.slice(c),e=h.directories.slice(c),c=0;c<f.length-1;c++)j+="../";for(c=0;c<e.length-1;c++)j+=e[c]+"/";returnj}functiong(a,b){varc,d,e=/^((?:[a-z-]+:)?\/\/(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/,f=a.match(e),g={},h=[];if(!f)thrownewError("Could not parse sheet href - '"+a+"'");if(!f[1]||f[2]){if(d=b.match(e),!d)thrownewError("Could not parse page url - '"+b+"'");f[1]=d[1],f[2]||(f[3]=d[3]+f[3])}if(f[3])for(h=f[3].replace("\\","/").split("/"),c=0;c<h.length;c++)".."===h[c]&&c>0&&(h.splice(c-1,2),c-=2);returng.hostPart=f[1],g.directories=h,g.path=f[1]+h.join("/"),g.fileUrl=g.path+(f[4]||""),g.url=g.fileUrl+(f[5]||""),g}functionh(b,c,d,e){varh,l=b.contents||{},n=b.files||{},q=g(b.href,a.location.href),r=q.url,s=u&&u.getItem(r),t=u&&u.getItem(r+":timestamp"),v={css:s,timestamp:t};h=p.relativeUrls?p.rootpath?b.entryPath?g(p.rootpath+f(q.path,b.entryPath)).path:p.rootpath:q.path:p.rootpath?p.rootpath:b.entryPath?b.entryPath:q.path,k(r,b.type,function(a,f){if(z+=a.replace(/@import .+?;/gi,""),!d&&v&&f&&newDate(f).valueOf()===newDate(v.timestamp).valueOf())j(v.css,b),c(null,null,a,b,{local:!0,remaining:e},r);elsetry{l[r]=a,newp.Parser({optimization:p.optimization,paths:[q.path],entryPath:b.entryPath||q.path,mime:b.type,filename:r,rootpath:h,relativeUrls:b.relativeUrls,contents:l,files:n,dumpLineNumbers:p.dumpLineNumbers}).parse(a,function(d,g){if(d)returno(d,r);try{c(d,g,a,b,{local:!1,lastModified:f,remaining:e},r),m(document.getElementById("less-error-message:"+i(r)))}catch(d){o(d,r)}})}catch(g){o(g,r)}},function(a,b){thrownewError("Couldn't load "+b+" ("+a+")")})}functioni(a){returna.replace(/^[a-z]+:\/\/?[^\/]+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")}functionj(a,b,c){vard,e=b.href||"",f="less:"+(b.title||i(e));if(null===(d=document.getElementById(f))){d=document.createElement("style"),d.type="text/css",b.media&&(d.media=b.media),d.id=f;varg=b&&b.nextSibling||null;(g||document.getElementsByTagName("head")[0]).parentNode.insertBefore(d,g)}if(d.styleSheet)try{d.styleSheet.cssText=a}catch(h){thrownewError("Couldn't reassign styleSheet.cssText.")}else(function(a){d.childNodes.length>0?d.firstChild.nodeValue!==a.nodeValue&&d.replaceChild(a,d.firstChild):d.appendChild(a)})(document.createTextNode(a));if(c&&u){n("saving "+e+" to cache.");try{u.setItem(e,a),u.setItem(e+":timestamp",c)}catch(h){n("failed to save")}}}functionk(a,b,c,d){functione(b,c,d){b.status>=200&&b.status<300?c(b.responseText,b.getResponseHeader("Last-Modified")):"function"==typeofd&&d(b.status,a)}varf=l(),g=r?p.fileAsync:p.async;"function"==typeoff.overrideMimeType&&f.overrideMimeType("text/css"),f.open("GET",a,g),f.setRequestHeader("Accept",b||"text/x-less, text/css; q=0.9, */*; q=0.5"),f.send(null),r&&!p.fileAsync?0===f.status||f.status>=200&&f.status<300?c(f.responseText):d(f.status,a):g?f.onreadystatechange=function(){4==f.readyState&&e(f,c,d)}:e(f,c,d)}functionl(){if(a.XMLHttpRequest)returnnewXMLHttpRequest;try{returnnewActiveXObject("MSXML2.XMLHTTP.3.0")}catch(b){returnn("browser doesn't support AJAX."),null}}functionm(a){returna&&a.parentNode.removeChild(a)}functionn(a){"development"==p.env&&"undefined"!=typeofconsole&&console.log("less: "+a)}functiono(a,b){varc,d,e="less-error-message:"+i(b),f='<li><label>{line}</label><pre class="{class}">{content}</pre></li>',g=document.createElement("div"),h=[],k=a.filename||b,l=k.match(/([^\/]+(\?.*)?)$/)[1];g.id=e,g.className="less-error-message",d="<h3>"+(a.message||"There is an error in your .less file")+'</h3><p>in <a href="'+k+'">'+l+"</a> ";varm=function(a,b,c){a.extract[b]&&h.push(f.replace(/\{line\}/,parseInt(a.line)+(b-1)).replace(/\{class\}/,c).replace(/\{content\}/,a.extract[b]))};a.stack?d+="<br/>"+a.stack.split("\n").slice(1).join("<br/>"):a.extract&&(m(a,0,""),m(a,1,"line"),m(a,2,""),d+="on line "+a.line+", column "+(a.column+1)+":</p><ul>"+h.join("")+"</ul>"),g.innerHTML=d,j([".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"}),g.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"==p.env&&(c=setInterval(function(){document.body&&(document.getElementById(e)?document.body.replaceChild(g,document.getElementById(e)):document.body.insertBefore(g,document.body.firstChild),clearInterval(c))},10))}Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)||ainstanceofArray}),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){for(varc=this.length>>>0,d=0;c>d;d++)dinthis&&a.call(b,this[d],d,this)}),Array.prototype.map||(Array.prototype.map=function(a){for(varb=this.length>>>0,c=newArray(b),d=arguments[1],e=0;b>e;e++)einthis&&(c[e]=a.call(d,this[e],e,this));returnc}),Array.prototype.filter||(Array.prototype.filter=function(a){for(varb=[],c=arguments[1],d=0;d<this.length;d++)a.call(c,this[d])&&b.push(this[d]);returnb}),Array.prototype.reduce||(Array.prototype.reduce=function(a){varb=this.length>>>0,c=0;if(0===b&&1===arguments.length)thrownewTypeError;if(arguments.length>=2)vard=arguments[1];elsefor(;;){if(cinthis){d=this[c++];break}if(++c>=b)thrownewTypeError}for(;b>c;c++)cinthis&&(d=a.call(null,d,this[c],c,this));returnd}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a){varb=this.length,c=arguments[1]||0;if(!b)return-1;if(c>=b)return-1;for(0>c&&(c+=b);b>c;c++)if(Object.prototype.hasOwnProperty.call(this,c)&&a===this[c])returnc;return-1}),Object.keys||(Object.keys=function(a){varb=[];for(varcina)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);returnb}),String.prototype.trim||(String.prototype.trim=function(){returnString(this).replace(/^\s\s*/,"").replace(/\s\s*$/,"")});varp,q;"object"==typeofenvironment&&"[object Environment]"==={}.toString.call(environment)?(p="undefined"==typeofa?{}:a.less={},q=p.tree={},p.mode="rhino"):"undefined"==typeofa?(p=exports,q=b("./tree"),p.mode="node"):("undefined"==typeofa.less&&(a.less={}),p=a.less,q=a.less.tree={},p.mode="browser"),p.Parser=function(a){functionc(){v=y[u],w=t,z=t}functiond(){y[u]=v,t=w,z=t}functione(){t>z&&(y[u]=y[u].slice(t-z),z=t)}functionf(a){varb=a.charCodeAt(0);return32===b||10===b||9===b}functiong(a){varb,c;if(ainstanceofFunction)returna.call(A.parsers);if("string"==typeofa)b=s.charAt(t)===a?a:null,c=1,e();else{if(e(),!(b=a.exec(y[u])))returnnull;c=b[0].length}returnb?(h(c),"string"==typeofb?b:1===b.length?b[0]:b):void0}functionh(a){for(varb=t,c=u,d=t+y[u].length,e=t+=a;d>t&&f(s.charAt(t));)t++;returny[u]=y[u].slice(a+(t-e)),z=t,0===y[u].length&&u<y.length-1&&u++,b!==t||c!==u}functioni(a,b){varc=g(a);returnc?c:(j(b||("string"==typeofa?"expected '"+a+"' got '"+s.charAt(t)+"'":"unexpected token")),void0)}functionj(a,b){varc=newError(a);throwc.index=t,c.type=b||"Syntax",c}functionk(a){return"string"==typeofa?s.charAt(t)===a:a.test(y[u])?!0:!1}functionl(a,b){returna.filename&&b.filename&&a.filename!==b.filename?A.imports.contents[a.filename]:s}functionm(a,b){for(varc=a,d=-1;c>=0&&"\n"!==b.charAt(c);c--)d++;return{line:"number"==typeofa?(b.slice(0,a).match(/\n/g)||"").length:null,column:d}}functionn(a){return"browser"===p.mode||"rhino"===p.mode?a.filename:b("path").resolve(a.filename)}functiono(a,b,c){return{lineNumber:m(a,b).line+1,fileName:n(c)}}functionr(a,b){varc=l(a,b),d=m(a.index,c),e=d.line,f=d.column,g=c.split("\n");this.type=a.type||"Syntax",this.message=a.message,this.filename=a.filename||b.filename,this.index=a.index,this.line="number"==typeofe?e+1:null,this.callLine=a.call&&m(a.call,c).line+1,this.callExtract=g[m(a.call,c).line],this.stack=a.stack,this.column=f,this.extract=[g[e-1],g[e],g[e+1]]}vars,t,u,v,w,x,y,z,A,a=a||{};a.contents||(a.contents={}),a.rootpath=a.rootpath||"",a.files||(a.files={});varB=function(){},C=this.imports={paths:a.paths||[],queue:[],files:a.files,contents:a.contents,mime:a.mime,error:null,push:function(b,c){vard=this;this.queue.push(b),p.Parser.importer(b,this.paths,function(a,e,f){d.queue.splice(d.queue.indexOf(b),1);varg=find.files;d.files[f]=e,a&&!d.error&&(d.error=a),c(a,e,g),0===d.queue.length&&B(d.error)},a)}};returnthis.env=a=a||{},this.optimization="optimization"inthis.env?this.env.optimization:1,this.env.filename=this.env.filename||null,A={imports:C,parse:function(c,d){vare,f,h,i=null;if(t=u=z=x=0,s=c.replace(/\r\n/g,"\n"),s=s.replace(/^\uFEFF/,""),y=function(b){for(varc,d,e,f,g=0,h=/(?:@\{[\w-]+\}|[^"'`\{\}\/\(\)\\])+/g,j=/\/\*(?:[^*]|\*+[^\/*])*\*+\/|\/\/.*/g,k=/"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'|`((?:[^`]|\\.)*)`/g,l=0,m=b[0],n=0;n<s.length;)if(h.lastIndex=n,(c=h.exec(s))&&c.index===n&&(n+=c[0].length,m.push(c[0])),e=s.charAt(n),j.lastIndex=k.lastIndex=n,(c=k.exec(s))&&c.index===n)n+=c[0].length,m.push(c[0]);elseif(d||"/"!==e||(f=s.charAt(n+1),"/"!==f&&"*"!==f||!(c=j.exec(s))||c.index!==n)){switch(e){case"{":if(!d){l++,m.push(e);break}case"}":if(!d){l--,m.push(e),b[++g]=m=[];break}case"(":if(!d){d=!0,m.push(e);break}case")":if(d){d=!1,m.push(e);break}default:m.push(e)}n++}elsen+=c[0].length,m.push(c[0]);return0!=l&&(i=newr({index:n-1,type:"Parse",message:l>0?"missing closing `}`":"missing opening `{`",filename:a.filename},a)),b.map(function(a){returna.join("")})}([[]]),i)returnd(i,a);try{e=newq.Ruleset([],g(this.parsers.primary)),e.root=!0}catch(j){returnd(newr(j,a))}if(e.toCSS=function(c){returnfunction(d,e){varf,g=[];d=d||{},"object"==typeofe&&!Array.isArray(e)&&(e=Object.keys(e).map(function(a){varb=e[a];returnbinstanceofq.Value||(binstanceofq.Expression||(b=newq.Expression([b])),b=newq.Value([b])),newq.Rule("@"+a,b,!1,0)}),g=[newq.Ruleset(null,e)]);try{varh=c.call(this,{frames:g}).toCSS([],{compress:d.compress||!1,dumpLineNumbers:a.dumpLineNumbers})}catch(i){thrownewr(i,a)}if(f=A.imports.error)throwfinstanceofr?f:newr(f,a);returnd.yuicompress&&"node"===p.mode?b("ycssmin").cssmin(h):d.compress?h.replace(/(\s)+/g,"$1"):h}}(e.eval),t<s.length-1){t=x,h=s.split("\n"),f=(s.slice(0,t).match(/\n/g)||"").length+1;for(vark=t,l=-1;k>=0&&"\n"!==s.charAt(k);k--)l++;i={type:"Parse",message:"Syntax Error on line "+f,index:t,filename:a.filename,line:f,column:l,extract:[h[f-2],h[f-1],h[f]]}}this.imports.queue.length>0?B=function(a){a=i||a,a?d(a):d(null,e)}:d(i,e)},parsers:{primary:function(){for(vara,b=[];(a=g(this.mixin.definition)||g(this.rule)||g(this.ruleset)||g(this.mixin.call)||g(this.comment)||g(this.directive))||g(/^[\s\n]+/)||g(/^;+/);)a&&b.push(a);returnb},comment:function(){vara;if("/"===s.charAt(t))return"/"===s.charAt(t+1)?newq.Comment(g(/^\/\/.*/),!0):(a=g(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/))?newq.Comment(a):void0},entities:{quoted:function(){vara,b,c=t;return"~"===s.charAt(c)&&(c++,b=!0),'"'===s.charAt(c)||"'"===s.charAt(c)?(b&&g("~"),(a=g(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/))?newq.Quoted(a[0],a[1]||a[2],b):void0):void0},keyword:function(){vara;return(a=g(/^[_A-Za-z-][_A-Za-z0-9-]*/))?q.colors.hasOwnProperty(a)?newq.Color(q.colors[a].slice(1)):newq.Keyword(a):void0},call:function(){varb,c,d,e,f=t;if(b=/^([\w-]+|%|progid:[\w\.]+)\(/.exec(y[u])){if(b=b[1],c=b.toLowerCase(),"url"===c)returnnull;if(t+=b.length,"alpha"===c&&(e=g(this.alpha),"undefined"!=typeofe))returne;if(g("("),d=g(this.entities.arguments),g(")"))returnb?newq.Call(b,d,f,a.filename):void0}},arguments:function(){for(vara,b=[];(a=g(this.entities.assignment)||g(this.expression))&&(b.push(a),g(",")););returnb},literal:function(){returng(this.entities.ratio)||g(this.entities.dimension)||g(this.entities.color)||g(this.entities.quoted)||g(this.entities.unicodeDescriptor)},assignment:function(){vara,b;return(a=g(/^\w+(?=\s?=)/i))&&g("=")&&(b=g(this.entity))?newq.Assignment(a,b):void0},url:function(){varb;if("u"===s.charAt(t)&&g(/^url\(/))returnb=g(this.entities.quoted)||g(this.entities.variable)||g(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",i(")"),newq.URL(null!=b.value||binstanceofq.Variable?b:newq.Anonymous(b),a.rootpath)},variable:function(){varb,c=t;return"@"===s.charAt(t)&&(b=g(/^@@?[\w-]+/))?newq.Variable(b,c,a.filename):void0},variableCurly:function(){varb,c=t;return"@"===s.charAt(t)&&(b=g(/^@\{([\w-]+)\}/))?newq.Variable("@"+b[1],c,a.filename):void0},color:function(){vara;return"#"===s.charAt(t)&&(a=g(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/))?newq.Color(a[1]):void0},dimension:function(){vara,b=s.charCodeAt(t);if(!(b>57||43>b||47===b||44==b))return(a=g(/^([+-]?\d*\.?\d+)(px|%|em|pc|ex|in|deg|s|ms|pt|cm|mm|rad|grad|turn|dpi|dpcm|dppx|rem|vw|vh|vmin|vm|ch)?/))?newq.Dimension(a[1],a[2]):void0},ratio:function(){vara,b=s.charCodeAt(t);if(!(b>57||48>b))return(a=g(/^(\d+\/\d+)/))?newq.Ratio(a[1]):void0},unicodeDescriptor:function(){vara;return(a=g(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/))?newq.UnicodeDescriptor(a[0]):void0},javascript:function(){vara,b,c=t;return"~"===s.charAt(c)&&(c++,b=!0),"`"===s.charAt(c)?(b&&g("~"),(a=g(/^`([^`]*)`/))?newq.JavaScript(a[1],t,b):void0):void0}},variable:function(){vara;return"@"===s.charAt(t)&&(a=g(/^(@[\w-]+)\s*:/))?a[1]:void0},shorthand:function(){vara,b;if(k(/^[@\w.%-]+\/[@\w.-]+/))returnc(),(a=g(this.entity))&&g("/")&&(b=g(this.entity))?newq.Shorthand(a,b):(d(),void0)},mixin:{call:function(){varb,e,f,h,l,m,n,o,p,r,u=[],v=[],w=[],x=t,y=s.charAt(t),z=!1;if("."===y||"#"===y){for(c();b=g(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6}?|[^A-Fa-f0-9]))+/);)u.push(newq.Element(e,b,t)),e=g(">");if(g("(")){for(m=[];h=g(this.expression);){if(l=null,r=h,1==h.value.length){varA=h.value[0];Ainstanceofq.Variable&&g(":")&&(m.length>0&&(n&&j("Cannot mix ; and , as delimiter types"),o=!0),r=i(this.expression),l=p=A.name)}m.push(r),w.push({name:l,value:r}),g(",")||(g(";")||n)&&(o&&j("Cannot mix ; and , as delimiter types"),n=!0,m.length>1&&(r=newq.Value(m)),v.push({name:p,value:r}),p=null,m=[],o=!1)}i(")")}returnf=n?v:w,g(this.important)&&(z=!0),u.length>0&&(g(";")||k("}"))?newq.mixin.Call(u,f,x,a.filename,z):(d(),void0)}},definition:function(){vara,b,e,f,h,j,l=[],m=!1;if(!("."!==s.charAt(t)&&"#"!==s.charAt(t)||k(/^[^{]*\}/))&&(c(),b=g(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6}?|[^A-Fa-f0-9]))+)\s*\(/))){a=b[1];do{if(g(this.comment),"."===s.charAt(t)&&g(/^\.{3}/)){m=!0,l.push({variadic:!0});break}if(!(f=g(this.entities.variable)||g(this.entities.literal)||g(this.entities.keyword)))break;if(finstanceofq.Variable)if(g(":"))h=i(this.expression,"expected expression"),l.push({name:f.name,value:h});else{if(g(/^\.{3}/)){l.push({name:f.name,variadic:!0}),m=!0;break}l.push({name:f.name})}elsel.push({value:f})}while(g(",")||g(";"));if(g(")")||(x=t,d()),g(this.comment),g(/^when/)&&(j=i(this.conditions,"expected condition")),e=g(this.block),e)returnnewq.mixin.Definition(a,l,e,j,m);d()}}},entity:function(){returng(this.entities.literal)||g(this.entities.variable)||g(this.entities.url)||g(this.entities.call)||g(this.entities.keyword)||g(this.entities.javascript)||g(this.comment)},end:function(){returng(";")||k("}")},alpha:function(){vara;if(g(/^\(opacity=/i))return(a=g(/^\d+/)||g(this.entities.variable))?(i(")"),newq.Alpha(a)):void0},element:function(){vara,b,c;returnb=g(this.combinator),a=g(/^(?:\d+\.\d+|\d+)%/)||g(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6}?|[^A-Fa-f0-9]))+/)||g("*")||g("&")||g(this.attribute)||g(/^\([^()@]+\)/)||g(/^[\.#](?=@)/)||g(this.entities.variableCurly),a||g("(")&&(c=g(this.entities.variableCurly)||g(this.entities.variable)||g(this.selector))&&g(")")&&(a=newq.Paren(c)),a?newq.Element(b,a,t):void0},combinator:function(){vara=s.charAt(t);if(">"===a||"+"===a||"~"===a||"|"===a){for(t++;s.charAt(t).match(/\s/);)t++;returnnewq.Combinator(a)}returns.charAt(t-1).match(/\s/)?newq.Combinator(""):newq.Combinator(null)},selector:function(){vara,b,c,d=[];if(g("("))returna=g(this.entity),g(")")?newq.Selector([newq.Element("",a,t)]):null;for(;(b=g(this.element))&&(c=s.charAt(t),d.push(b),"{"!==c&&"}"!==c&&";"!==c&&","!==c&&")"!==c););returnd.length>0?newq.Selector(d):void0},attribute:function(){vara,b,c,d="";if(g("[")&&((a=g(/^(?:[_A-Za-z0-9-]|\\.)+/)||g(this.entities.quoted))&&(d=(c=g(/^[|~*$^]?=/))&&(b=g(this.entities.quoted)||g(/^[\w-]+/))?[a,c,b.toCSS?b.toCSS():b].join(""):a),g("]")))returnd?"["+d+"]":void0},block:function(){vara;returng("{")&&(a=g(this.primary))&&g("}")?a:void0},ruleset:function(){varb,e,f,h=[];for(c(),a.dumpLineNumbers&&(f=o(t,s,a));(b=g(this.selector))&&(h.push(b),g(this.comment),g(","));)g(this.comment);if(h.length>0&&(e=g(this.block))){vari=newq.Ruleset(h,e,a.strictImports);returna.dumpLineNumbers&&(i.debugInfo=f),i}x=t,d()},rule:function(){vara,b,e,f,h=s.charAt(t);if(c(),"."!==h&&"#"!==h&&"&"!==h&&(a=g(this.variable)||g(this.property))){if("@"!=a.charAt(0)&&(f=/^([^@+\/'"*`(;{}-]*);/.exec(y[u]))?(t+=f[0].length-1,b=newq.Anonymous(f[1])):b="font"===a?g(this.font):g(this.value),e=g(this.important),b&&g(this.end))returnnewq.Rule(a,b,e,w);x=t,d()}},"import":function(){varb,e,f=t;c();varh=g(/^@import(?:-(once))?\s+/);returnh&&(b=g(this.entities.quoted)||g(this.entities.url))&&(e=g(this.mediaFeatures),g(";"))?newq.Import(b,C,e,"once"===h[1],f,a.rootpath):(d(),void0)},mediaFeature:function(){vara,b,c=[];doif(a=g(this.entities.keyword))c.push(a);elseif(g("(")){if(b=g(this.property),a=g(this.entity),!g(")"))returnnull;if(b&&a)c.push(newq.Paren(newq.Rule(b,a,null,t,!0)));else{if(!a)returnnull;c.push(newq.Paren(a))}}while(a);returnc.length>0?newq.Expression(c):void0},mediaFeatures:function(){vara,b=[];doif(a=g(this.mediaFeature)){if(b.push(a),!g(","))break}elseif((a=g(this.entities.variable))&&(b.push(a),!g(",")))break;while(a);returnb.length>0?b:null},media:function(){varb,c,d,e;returna.dumpLineNumbers&&(e=o(t,s,a)),g(/^@media/)&&(b=g(this.mediaFeatures),c=g(this.block))?(d=newq.Media(c,b),a.dumpLineNumbers&&(d.debugInfo=e),d):void0},directive:function(){varb,e,f,h,i,j,k;if("@"===s.charAt(t)){if(e=g(this["import"])||g(this.media))returne;if(c(),b=g(/^@[a-z-]+/)){switch(h=b,"-"==b.charAt(1)&&b.indexOf("-",2)>0&&(h="@"+b.slice(b.indexOf("-",2)+1)),h){case"@font-face":i=!0;break;case"@viewport":case"@top-left":case"@top-left-corner":case"@top-center":case"@top-right":case"@top-right-corner":case"@bottom-left":case"@bottom-left-corner":case"@bottom-center":case"@bottom-right":case"@bottom-right-corner":case"@left-top":case"@left-middle":case"@left-bottom":case"@right-top":case"@right-middle":case"@right-bottom":i=!0;break;case"@page":case"@document":case"@supports":case"@keyframes":i=!0,j=!0;break;case"@namespace":k=!0}if(j&&(b+=""+(g(/^[^{]+/)||"").trim()),i){if(f=g(this.block))returnnewq.Directive(b,f)}elseif((e=k?g(this.expression):g(this.entity))&&g(";")){varl=newq.Directive(b,e);returna.dumpLineNumbers&&(l.debugInfo=o(t,s,a)),l}d()}}},font:function(){for(vara,b=[],c=[];a=g(this.shorthand)||g(this.entity);)c.push(a);if(b.push(newq.Expression(c)),g(","))for(;(a=g(this.expression))&&(b.push(a),g(",")););returnnewq.Value(b)},value:function(){for(vara,b=[];(a=g(this.expression))&&(b.push(a),g(",")););returnb.length>0?newq.Value(b):void0},important:function(){return"!"===s.charAt(t)?g(/^! *important/):void0},sub:function(){vara;returng("(")&&(a=g(this.expression))&&g(")")?a:void0},multiplication:function(){vara,b,c,d;if(a=g(this.operand)){for(;!k(/^\/[*\/]/)&&(c=g("/")||g("*"))&&(b=g(this.operand));)d=newq.Operation(c,[d||a,b]);returnd||a}},addition:function(){vara,b,c,d;if(a=g(this.multiplication)){for(;(c=g(/^[-+]\s+/)||!f(s.charAt(t-1))&&(g("+")||g("-")))&&(b=g(this.multiplication));)d=newq.Operation(c,[d||a,b]);returnd||a}},conditions:function(){vara,b,c,d=t;if(a=g(this.condition)){for(;g(",")&&(b=g(this.condition));)c=newq.Condition("or",c||a,b,d);returnc||a}},condition:function(){vara,b,c,d,e=t,f=!1;returng(/^not/)&&(f=!0),i("("),(a=g(this.addition)||g(this.entities.keyword)||g(this.entities.quoted))?((d=g(/^(?:>=|=<|[<=>])/))?(b=g(this.addition)||g(this.entities.keyword)||g(this.entities.quoted))?c=newq.Condition(d,a,b,e,f):j("expected expression"):c=newq.Condition("=",a,newq.Keyword("true"),e,f),i(")"),g(/^and/)?newq.Condition("and",c,g(this.condition)):c):void0},operand:function(){vara,b=s.charAt(t+1);"-"===s.charAt(t)&&("@"===b||"("===b)&&(a=g("-"));varc=g(this.sub)||g(this.entities.dimension)||g(this.entities.color)||g(this.entities.variable)||g(this.entities.call);returna?newq.Operation("*",[newq.Dimension(-1),c]):c},expression:function(){for(vara,b=[];a=g(this.addition)||g(this.entity);)b.push(a);returnb.length>0?newq.Expression(b):void0},property:function(){vara;return(a=g(/^(\*?-?[_a-z0-9-]+)\s*:/))?a[1]:void0}}}},("browser"===p.mode||"rhino"===p.mode)&&(p.Parser.importer=function(a,b,c,d){!/^([a-z-]+:)?\//.test(a)&&b.length>0&&(a=b[0]+a),h({href:a,title:a,type:d.mime,contents:d.contents,files:d.files,rootpath:d.rootpath,entryPath:d.entryPath,relativeUrls:d.relativeUrls},function(a,e,f,g,h,i){a&&"function"==typeofd.errback?d.errback.call(null,i,b,c,d):c.call(null,a,e,i)},!0)}),function(a){functionb(b){returna.functions.hsla(b.h,b.s,b.l,b.a)}functionc(b,c){returnbinstanceofa.Dimension&&"%"==b.unit?parseFloat(b.value*c/100):d(b)}functiond(b){if(binstanceofa.Dimension)returnparseFloat("%"==b.unit?b.value/100:b.value);if("number"==typeofb)returnb;throw{error:"RuntimeError",message:"color functions take numbers as parameters"}}functione(a){returnMath.min(1,Math.max(0,a))}a.functions={rgb:function(a,b,c){returnthis.rgba(a,b,c,1)},rgba:function(b,e,f,g){varh=[b,e,f].map(function(a){returnc(a,256)});returng=d(g),newa.Color(h,g)},hsl:function(a,b,c){returnthis.hsla(a,b,c,1)},hsla:function(a,b,c,e){functionf(a){returna=0>a?a+1:a>1?a-1:a,1>6*a?h+(g-h)*a*6:1>2*a?g:2>3*a?h+(g-h)*(2/3-a)*6:h}a=d(a)%360/360,b=d(b),c=d(c),e=d(e);varg=.5>=c?c*(b+1):c+b-c*b,h=2*c-g;returnthis.rgba(255*f(a+1/3),255*f(a),255*f(a-1/3),e)},hsv:function(a,b,c){returnthis.hsva(a,b,c,1)},hsva:function(a,b,c,e){a=d(a)%360/360*360,b=d(b),c=d(c),e=d(e);varf,g;f=Math.floor(a/60%6),g=a/60-f;varh=[c,c*(1-b),c*(1-g*b),c*(1-(1-g)*b)],i=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];returnthis.rgba(255*h[i[f][0]],255*h[i[f][1]],255*h[i[f][2]],e)},hue:function(b){returnnewa.Dimension(Math.round(b.toHSL().h))},saturation:function(b){returnnewa.Dimension(Math.round(100*b.toHSL().s),"%")},lightness:function(b){returnnewa.Dimension(Math.round(100*b.toHSL().l),"%")},red:function(b){returnnewa.Dimension(b.rgb[0])},green:function(b){returnnewa.Dimension(b.rgb[1])},blue:function(b){returnnewa.Dimension(b.rgb[2])},alpha:function(b){returnnewa.Dimension(b.toHSL().a)},luma:function(b){returnnewa.Dimension(Math.round((.2126*(b.rgb[0]/255)+.7152*(b.rgb[1]/255)+.0722*(b.rgb[2]/255))*b.alpha*100),"%")},saturate:function(a,c){vard=a.toHSL();returnd.s+=c.value/100,d.s=e(d.s),b(d)},desaturate:function(a,c){vard=a.toHSL();returnd.s-=c.value/100,d.s=e(d.s),b(d)},lighten:function(a,c){vard=a.toHSL();returnd.l+=c.value/100,d.l=e(d.l),b(d)},darken:function(a,c){vard=a.toHSL();returnd.l-=c.value/100,d.l=e(d.l),b(d)},fadein:function(a,c){vard=a.toHSL();returnd.a+=c.value/100,d.a=e(d.a),b(d)},fadeout:function(a,c){vard=a.toHSL();returnd.a-=c.value/100,d.a=e(d.a),b(d)},fade:function(a,c){vard=a.toHSL();returnd.a=c.value/100,d.a=e(d.a),b(d)},spin:function(a,c){vard=a.toHSL(),e=(d.h+c.value)%360;returnd.h=0>e?360+e:e,b(d)},mix:function(b,c,d){d||(d=newa.Dimension(50));vare=d.value/100,f=2*e-1,g=b.toHSL().a-c.toHSL().a,h=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,i=1-h,j=[b.rgb[0]*h+c.rgb[0]*i,b.rgb[1]*h+c.rgb[1]*i,b.rgb[2]*h+c.rgb[2]*i],k=b.alpha*e+c.alpha*(1-e);returnnewa.Color(j,k)},greyscale:function(b){returnthis.desaturate(b,newa.Dimension(100))},contrast:function(a,b,c,d){returna.rgb?("undefined"==typeofc&&(c=this.rgba(255,255,255,1)),"undefined"==typeofb&&(b=this.rgba(0,0,0,1)),d="undefined"==typeofd?.43:d.value,(.2126*(a.rgb[0]/255)+.7152*(a.rgb[1]/255)+.0722*(a.rgb[2]/255))*a.alpha<d?c:b):null},e:function(b){returnnewa.Anonymous(binstanceofa.JavaScript?b.evaluated:b)},escape:function(b){returnnewa.Anonymous(encodeURI(b.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},"%":function(b){for(varc=Array.prototype.slice.call(arguments,1),d=b.value,e=0;e<c.length;e++)d=d.replace(/%[sda]/i,function(a){varb=a.match(/s/i)?c[e].value:c[e].toCSS();returna.match(/[A-Z]$/)?encodeURIComponent(b):b});returnd=d.replace(/%%/g,"%"),newa.Quoted('"'+d+'"',d)},unit:function(b,c){returnnewa.Dimension(b.value,c?c.toCSS():"")},round:function(a,b){varc="undefined"==typeofb?0:b.value;returnthis._math(function(a){returna.toFixed(c)},a)},ceil:function(a){returnthis._math(Math.ceil,a)},floor:function(a){returnthis._math(Math.floor,a)},_math:function(b,c){if(cinstanceofa.Dimension)returnnewa.Dimension(b(parseFloat(c.value)),c.unit);if("number"==typeofc)returnb(c);throw{type:"Argument",message:"argument must be a number"}},argb:function(b){returnnewa.Anonymous(b.toARGB())},percentage:function(b){returnnewa.Dimension(100*b.value,"%")},color:function(b){if(binstanceofa.Quoted)returnnewa.Color(b.value.slice(1));throw{type:"Argument",message:"argument must be a string"}},iscolor:function(b){returnthis._isa(b,a.Color)},isnumber:function(b){returnthis._isa(b,a.Dimension)},isstring:function(b){returnthis._isa(b,a.Quoted)},iskeyword:function(b){returnthis._isa(b,a.Keyword)},isurl:function(b){returnthis._isa(b,a.URL)},ispixel:function(b){returnbinstanceofa.Dimension&&"px"===b.unit?a.True:a.False},ispercentage:function(b){returnbinstanceofa.Dimension&&"%"===b.unit?a.True:a.False},isem:function(b){returnbinstanceofa.Dimension&&"em"===b.unit?a.True:a.False},_isa:function(b,c){returnbinstanceofc?a.True:a.False},multiply:function(a,b){varc=a.rgb[0]*b.rgb[0]/255,d=a.rgb[1]*b.rgb[1]/255,e=a.rgb[2]*b.rgb[2]/255;returnthis.rgb(c,d,e)},screen:function(a,b){varc=255-(255-a.rgb[0])*(255-b.rgb[0])/255,d=255-(255-a.rgb[1])*(255-b.rgb[1])/255,e=255-(255-a.rgb[2])*(255-b.rgb[2])/255;returnthis.rgb(c,d,e)},overlay:function(a,b){varc=a.rgb[0]<128?2*a.rgb[0]*b.rgb[0]/255:255-2*(255-a.rgb[0])*(255-b.rgb[0])/255,d=a.rgb[1]<128?2*a.rgb[1]*b.rgb[1]/255:255-2*(255-a.rgb[1])*(255-b.rgb[1])/255,e=a.rgb[2]<128?2*a.rgb[2]*b.rgb[2]/255:255-2*(255-a.rgb[2])*(255-b.rgb[2])/255;returnthis.rgb(c,d,e)},softlight:function(a,b){varc=b.rgb[0]*a.rgb[0]/255,d=c+a.rgb[0]*(255-(255-a.rgb[0])*(255-b.rgb[0])/255-c)/255;c=b.rgb[1]*a.rgb[1]/255;vare=c+a.rgb[1]*(255-(255-a.rgb[1])*(255-b.rgb[1])/255-c)/255;c=b.rgb[2]*a.rgb[2]/255;varf=c+a.rgb[2]*(255-(255-a.rgb[2])*(255-b.rgb[2])/255-c)/255;returnthis.rgb(d,e,f)},hardlight:function(a,b){varc=b.rgb[0]<128?2*b.rgb[0]*a.rgb[0]/255:255-2*(255-b.rgb[0])*(255-a.rgb[0])/255,d=b.rgb[1]<128?2*b.rgb[1]*a.rgb[1]/255:255-2*(255-b.rgb[1])*(255-a.rgb[1])/255,e=b.rgb[2]<128?2*b.rgb[2]*a.rgb[2]/255:255-2*(255-b.rgb[2])*(255-a.rgb[2])/255;returnthis.rgb(c,d,e)},difference:function(a,b){varc=Math.abs(a.rgb[0]-b.rgb[0]),d=Math.abs(a.rgb[1]-b.rgb[1]),e=Math.abs(a.rgb[2]-b.rgb[2]);returnthis.rgb(c,d,e)},exclusion:function(a,b){varc=a.rgb[0]+b.rgb[0]*(255-a.rgb[0]-a.rgb[0])/255,d=a.rgb[1]+b.rgb[1]*(255-a.rgb[1]-a.rgb[1])/255,e=a.rgb[2]+b.rgb[2]*(255-a.rgb[2]-a.rgb[2])/255;returnthis.rgb(c,d,e)},average:function(a,b){varc=(a.rgb[0]+b.rgb[0])/2,d=(a.rgb[1]+b.rgb[1])/2,e=(a.rgb[2]+b.rgb[2])/2;returnthis.rgb(c,d,e)},negation:function(a,b){varc=255-Math.abs(255-b.rgb[0]-a.rgb[0]),d=255-Math.abs(255-b.rgb[1]-a.rgb[1]),e=255-Math.abs(255-b.rgb[2]-a.rgb[2]);returnthis.rgb(c,d,e)},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)}}}(b("./tree")),function(a){a.colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}
}(b("./tree")),function(a){a.Alpha=function(a){this.value=a},a.Alpha.prototype={toCSS:function(){return"alpha(opacity="+(this.value.toCSS?this.value.toCSS():this.value)+")"},eval:function(a){returnthis.value.eval&&(this.value=this.value.eval(a)),this}}}(b("../tree")),function(a){a.Anonymous=function(a){this.value=a.value||a},a.Anonymous.prototype={toCSS:function(){returnthis.value},eval:function(){returnthis},compare:function(a){if(!a.toCSS)return-1;varb=this.toCSS(),c=a.toCSS();returnb===c?0:c>b?-1:1}}}(b("../tree")),function(a){a.Assignment=function(a,b){this.key=a,this.value=b},a.Assignment.prototype={toCSS:function(){returnthis.key+"="+(this.value.toCSS?this.value.toCSS():this.value)},eval:function(b){returnthis.value.eval?newa.Assignment(this.key,this.value.eval(b)):this}}}(b("../tree")),function(a){a.Call=function(a,b,c,d){this.name=a,this.args=b,this.index=c,this.filename=d},a.Call.prototype={eval:function(b){varc,d=this.args.map(function(a){returna.eval(b)});if(this.nameina.functions)try{if(c=a.functions[this.name].apply(a.functions,d),null!=c)returnc}catch(e){throw{type:e.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(e.message?": "+e.message:""),index:this.index,filename:this.filename}}returnnewa.Anonymous(this.name+"("+d.map(function(a){returna.toCSS(b)}).join(", ")+")")},toCSS:function(a){returnthis.eval(a).toCSS()}}}(b("../tree")),function(a){a.Color=function(a,b){this.rgb=Array.isArray(a)?a:6==a.length?a.match(/.{2}/g).map(function(a){returnparseInt(a,16)}):a.split("").map(function(a){returnparseInt(a+a,16)}),this.alpha="number"==typeofb?b:1},a.Color.prototype={eval:function(){returnthis},toCSS:function(){returnthis.alpha<1?"rgba("+this.rgb.map(function(a){returnMath.round(a)}).concat(this.alpha).join(", ")+")":"#"+this.rgb.map(function(a){returna=Math.round(a),a=(a>255?255:0>a?0:a).toString(16),1===a.length?"0"+a:a}).join("")},operate:function(b,c){vard=[];cinstanceofa.Color||(c=c.toColor());for(vare=0;3>e;e++)d[e]=a.operate(b,this.rgb[e],c.rgb[e]);returnnewa.Color(d,this.alpha+c.alpha)},toHSL:function(){vara,b,c=this.rgb[0]/255,d=this.rgb[1]/255,e=this.rgb[2]/255,f=this.alpha,g=Math.max(c,d,e),h=Math.min(c,d,e),i=(g+h)/2,j=g-h;if(g===h)a=b=0;else{switch(b=i>.5?j/(2-g-h):j/(g+h),g){casec:a=(d-e)/j+(e>d?6:0);break;cased:a=(e-c)/j+2;break;casee:a=(c-d)/j+4}a/=6}return{h:360*a,s:b,l:i,a:f}},toARGB:function(){vara=[Math.round(255*this.alpha)].concat(this.rgb);return"#"+a.map(function(a){returna=Math.round(a),a=(a>255?255:0>a?0:a).toString(16),1===a.length?"0"+a:a}).join("")},compare:function(a){returna.rgb?a.rgb[0]===this.rgb[0]&&a.rgb[1]===this.rgb[1]&&a.rgb[2]===this.rgb[2]&&a.alpha===this.alpha?0:-1:-1}}}(b("../tree")),function(a){a.Comment=function(a,b){this.value=a,this.silent=!!b},a.Comment.prototype={toCSS:function(a){returna.compress?"":this.value},eval:function(){returnthis}}}(b("../tree")),function(a){a.Condition=function(a,b,c,d,e){this.op=a.trim(),this.lvalue=b,this.rvalue=c,this.index=d,this.negate=e},a.Condition.prototype.eval=function(a){varb,c=this.lvalue.eval(a),d=this.rvalue.eval(a),e=this.index,b=function(a){switch(a){case"and":returnc&&d;case"or":returnc||d;default:if(c.compare)b=c.compare(d);else{if(!d.compare)throw{type:"Type",message:"Unable to perform comparison",index:e};b=d.compare(c)}switch(b){case-1:return"<"===a||"=<"===a;case0:return"="===a||">="===a||"=<"===a;case1:return">"===a||">="===a}}}(this.op);returnthis.negate?!b:b}}(b("../tree")),function(a){a.Dimension=function(a,b){this.value=parseFloat(a),this.unit=b||null},a.Dimension.prototype={eval:function(){returnthis},toColor:function(){returnnewa.Color([this.value,this.value,this.value])},toCSS:function(){vara=this.value+this.unit;returna},operate:function(b,c){returnnewa.Dimension(a.operate(b,this.value,c.value),this.unit||c.unit)},compare:function(b){returnbinstanceofa.Dimension?b.value>this.value?-1:b.value<this.value?1:b.unit&&this.unit!==b.unit?-1:0:-1}}}(b("../tree")),function(a){a.Directive=function(b,c){this.name=b,Array.isArray(c)?(this.ruleset=newa.Ruleset([],c),this.ruleset.allowImports=!0):this.value=c},a.Directive.prototype={toCSS:function(a,b){returnthis.ruleset?(this.ruleset.root=!0,this.name+(b.compress?"{":" {\n")+this.ruleset.toCSS(a,b).trim().replace(/\n/g,"\n")+(b.compress?"}":"\n}\n")):this.name+""+this.value.toCSS()+";\n"},eval:function(b){varc=this;returnthis.ruleset&&(b.frames.unshift(this),c=newa.Directive(this.name),c.ruleset=this.ruleset.eval(b),b.frames.shift()),c},variable:function(b){returna.Ruleset.prototype.variable.call(this.ruleset,b)},find:function(){returna.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){returna.Ruleset.prototype.rulesets.apply(this.ruleset)}}}(b("../tree")),function(a){a.Element=function(b,c,d){this.combinator=binstanceofa.Combinator?b:newa.Combinator(b),this.value="string"==typeofc?c.trim():c?c:"",this.index=d},a.Element.prototype.eval=function(b){returnnewa.Element(this.combinator,this.value.eval?this.value.eval(b):this.value,this.index)},a.Element.prototype.toCSS=function(a){varb=this.value.toCSS?this.value.toCSS(a):this.value;return""==b&&"&"==this.combinator.value.charAt(0)?"":this.combinator.toCSS(a||{})+b},a.Combinator=function(a){this.value=""===a?"":a?a.trim():""},a.Combinator.prototype.toCSS=function(a){return{"":"","":"",":":" :","+":a.compress?"+":" + ","~":a.compress?"~":" ~ ",">":a.compress?">":" > ","|":a.compress?"|":" | "}[this.value]}}(b("../tree")),function(a){a.Expression=function(a){this.value=a},a.Expression.prototype={eval:function(b){returnthis.value.length>1?newa.Expression(this.value.map(function(a){returna.eval(b)})):1===this.value.length?this.value[0].eval(b):this},toCSS:function(a){returnthis.value.map(function(b){returnb.toCSS?b.toCSS(a):""}).join("")}}}(b("../tree")),function(a){a.Import=function(b,c,d,e,f,g){varh=this;this.once=e,this.index=f,this._path=b,this.features=d&&newa.Value(d),this.rootpath=g,this.path=binstanceofa.Quoted?/(\.[a-z]*$)|([\?;].*)$/.test(b.value)?b.value:b.value+".less":b.value.value||b.value,this.css=/css([\?;].*)?$/.test(this.path),this.css||c.push(this.path,function(b,c,d){b&&(b.index=f),d&&h.once&&(h.skip=d),h.root=c||newa.Ruleset([],[])})},a.Import.prototype={toCSS:function(a){varb=this.features?""+this.features.toCSS(a):"";returnthis.css?("string"==typeofthis._path.value&&!/^(?:[a-z-]+:|\/)/.test(this._path.value)&&(this._path.value=this.rootpath+this._path.value),"@import "+this._path.toCSS()+b+";\n"):""},eval:function(b){{varc;this.features&&this.features.eval(b)}returnthis.skip?[]:this.css?this:(c=newa.Ruleset([],this.root.rules.slice(0)),c.evalImports(b),this.features?newa.Media(c.rules,this.features.value):c.rules)}}}(b("../tree")),function(a){a.JavaScript=function(a,b,c){this.escaped=c,this.expression=a,this.index=b},a.JavaScript.prototype={eval:function(b){varc,d=this,e={},f=this.expression.replace(/@\{([\w-]+)\}/g,function(c,e){returna.jsify(newa.Variable("@"+e,d.index).eval(b))});try{f=newFunction("return ("+f+")")}catch(g){throw{message:"JavaScript evaluation error: `"+f+"`",index:this.index}}for(varhinb.frames[0].variables())e[h.slice(1)]={value:b.frames[0].variables()[h].value,toJS:function(){returnthis.value.eval(b).toCSS()}};try{c=f.call(e)}catch(g){throw{message:"JavaScript evaluation error: '"+g.name+": "+g.message+"'",index:this.index}}return"string"==typeofc?newa.Quoted('"'+c+'"',c,this.escaped,this.index):Array.isArray(c)?newa.Anonymous(c.join(", ")):newa.Anonymous(c)}}}(b("../tree")),function(a){a.Keyword=function(a){this.value=a},a.Keyword.prototype={eval:function(){returnthis},toCSS:function(){returnthis.value},compare:function(b){returnbinstanceofa.Keyword?b.value===this.value?0:1:-1}},a.True=newa.Keyword("true"),a.False=newa.Keyword("false")}(b("../tree")),function(a){a.Media=function(b,c){vard=this.emptySelectors();this.features=newa.Value(c),this.ruleset=newa.Ruleset(d,b),this.ruleset.allowImports=!0},a.Media.prototype={toCSS:function(a,b){varc=this.features.toCSS(b);returnthis.ruleset.root=0===a.length||a[0].multiMedia,"@media "+c+(b.compress?"{":" {\n")+this.ruleset.toCSS(a,b).trim().replace(/\n/g,"\n")+(b.compress?"}":"\n}\n")},eval:function(b){b.mediaBlocks||(b.mediaBlocks=[],b.mediaPath=[]);varc=newa.Media([],[]);returnthis.debugInfo&&(this.ruleset.debugInfo=this.debugInfo,c.debugInfo=this.debugInfo),c.features=this.features.eval(b),b.mediaPath.push(c),b.mediaBlocks.push(c),b.frames.unshift(this.ruleset),c.ruleset=this.ruleset.eval(b),b.frames.shift(),b.mediaPath.pop(),0===b.mediaPath.length?c.evalTop(b):c.evalNested(b)},variable:function(b){returna.Ruleset.prototype.variable.call(this.ruleset,b)},find:function(){returna.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){returna.Ruleset.prototype.rulesets.apply(this.ruleset)},emptySelectors:function(){varb=newa.Element("","&",0);return[newa.Selector([b])]},evalTop:function(b){varc=this;if(b.mediaBlocks.length>1){vard=this.emptySelectors();c=newa.Ruleset(d,b.mediaBlocks),c.multiMedia=!0}returndeleteb.mediaBlocks,deleteb.mediaPath,c},evalNested:function(b){varc,d,e=b.mediaPath.concat([this]);for(c=0;c<e.length;c++)d=e[c].featuresinstanceofa.Value?e[c].features.value:e[c].features,e[c]=Array.isArray(d)?d:[d];returnthis.features=newa.Value(this.permute(e).map(function(b){for(b=b.map(function(b){returnb.toCSS?b:newa.Anonymous(b)}),c=b.length-1;c>0;c--)b.splice(c,0,newa.Anonymous("and"));returnnewa.Expression(b)})),newa.Ruleset([],[])},permute:function(a){if(0===a.length)return[];if(1===a.length)returna[0];for(varb=[],c=this.permute(a.slice(1)),d=0;d<c.length;d++)for(vare=0;e<a[0].length;e++)b.push([a[0][e]].concat(c[d]));returnb},bubbleSelectors:function(b){this.ruleset=newa.Ruleset(b.slice(0),[this.ruleset])}}}(b("../tree")),function(a){a.mixin={},a.mixin.Call=function(b,c,d,e,f){this.selector=newa.Selector(b),this.arguments=c,this.index=d,this.filename=e,this.important=f},a.mixin.Call.prototype={eval:function(b){varc,d,e,f,g,h,i,j,k=[],l=!1;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(!d.matchCondition||d.matchCondition(e,b))try{Array.prototype.push.apply(k,d.eval(b,e,this.important).rules)}catch(m){throw{message:m.message,index:this.index,filename:this.filename,stack:m.stack}}l=!0}}if(l)returnk}throwj?{type:"Runtime",message:"No matching definition was found for `"+this.selector.toCSS().trim()+"("+(e?e.map(function(a){varb="";returna.name&&(b+=a.name+":"),b+=a.value.toCSS?a.value.toCSS():"???"}).join(", "):"")+")`",index:this.index,filename:this.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.filename}}},a.mixin.Definition=function(b,c,d,e,f){this.name=b,this.selectors=[newa.Selector([newa.Element(null,b)])],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=[]},a.mixin.Definition.prototype={toCSS:function(){return""},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,[]),o=this.params.slice(0);if(d)for(d=d.slice(0),h=0;h<d.length;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.rules.unshift(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&&d){for(f=[],i=m;i<d.length;i++)f.push(d[i].value.eval(b));n.rules.unshift(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+" ("+d.length+" for "+this.arity+")"};j=o[h].value.eval(c)}n.rules.unshift(newa.Rule(k,j)),e[h]=j}if(o[h].variadic&&d)for(i=m;i<d.length;i++)e[i]=d[i].value.eval(b);m++}returnn},eval:function(b,c,d){vare,f,g=[],h=this.frames.concat(b.frames),i=this.evalParams(b,{frames:h},c,g);returni.rules.unshift(newa.Rule("@arguments",newa.Expression(g).eval(b))),e=d?this.parent.makeImportant.apply(this).rules:this.rules.slice(0),f=newa.Ruleset(null,e).eval({frames:[this,i].concat(h)}),f.originalRuleset=this,f},matchCondition:function(a,b){returnthis.condition&&!this.condition.eval({frames:[this.evalParams(b,{frames:this.frames.concat(b.frames)},a,[])].concat(b.frames)})?!1:!0},matchArgs:function(a,b){varc,d=a&&a.length||0;if(!this.variadic){if(d<this.required)return!1;if(d>this.params.length)return!1;if(this.required>0&&d>this.params.length)return!1}c=Math.min(d,this.arity);for(vare=0;c>e;e++)if(!this.params[e].name&&!this.params[e].variadic&&a[e].value.eval(b).toCSS()!=this.params[e].value.eval(b).toCSS())return!1;return!0}}}(b("../tree")),function(a){a.Operation=function(a,b){this.op=a.trim(),this.operands=b},a.Operation.prototype.eval=function(b){varc,d=this.operands[0].eval(b),e=this.operands[1].eval(b);if(dinstanceofa.Dimension&&einstanceofa.Color){if("*"!==this.op&&"+"!==this.op)throw{name:"OperationError",message:"Can't substract or divide a color from a number"};c=e,e=d,d=c}if(!d.operate)throw{name:"OperationError",message:"Operation on an invalid type"};returnd.operate(this.op,e)},a.operate=function(a,b,c){switch(a){case"+":returnb+c;case"-":returnb-c;case"*":returnb*c;case"/":returnb/c}}}(b("../tree")),function(a){a.Paren=function(a){this.value=a},a.Paren.prototype={toCSS:function(a){return"("+this.value.toCSS(a)+")"},eval:function(b){returnnewa.Paren(this.value.eval(b))}}}(b("../tree")),function(a){a.Quoted=function(a,b,c,d){this.escaped=c,this.value=b||"",this.quote=a.charAt(0),this.index=d},a.Quoted.prototype={toCSS:function(){returnthis.escaped?this.value:this.quote+this.value+this.quote},eval:function(b){varc=this,d=this.value.replace(/`([^`]+)`/g,function(d,e){returnnewa.JavaScript(e,c.index,!0).eval(b).value}).replace(/@\{([\w-]+)\}/g,function(d,e){varf=newa.Variable("@"+e,c.index).eval(b);returnfinstanceofa.Quoted?f.value:f.toCSS()});returnnewa.Quoted(this.quote+d+this.quote,d,this.escaped,this.index)},compare:function(a){if(!a.toCSS)return-1;varb=this.toCSS(),c=a.toCSS();returnb===c?0:c>b?-1:1}}}(b("../tree")),function(a){a.Ratio=function(a){this.value=a},a.Ratio.prototype={toCSS:function(){returnthis.value},eval:function(){returnthis}}}(b("../tree")),function(a){a.Rule=function(b,c,d,e,f){this.name=b,this.value=cinstanceofa.Value?c:newa.Value([c]),this.important=d?""+d.trim():"",this.index=e,this.inline=f||!1,this.variable="@"===b.charAt(0)?!0:!1},a.Rule.prototype.toCSS=function(a){returnthis.variable?"":this.name+(a.compress?":":": ")+this.value.toCSS(a)+this.important+(this.inline?"":";")},a.Rule.prototype.eval=function(b){returnnewa.Rule(this.name,this.value.eval(b),this.important,this.index,this.inline)},a.Rule.prototype.makeImportant=function(){returnnewa.Rule(this.name,this.value,"!important",this.index,this.inline)},a.Shorthand=function(a,b){this.a=a,this.b=b},a.Shorthand.prototype={toCSS:function(a){returnthis.a.toCSS(a)+"/"+this.b.toCSS(a)},eval:function(){returnthis}}}(b("../tree")),function(a){a.Ruleset=function(a,b,c){this.selectors=a,this.rules=b,this._lookups={},this.strictImports=c},a.Ruleset.prototype={eval:function(b){varc,d=this.selectors&&this.selectors.map(function(a){returna.eval(b)}),e=newa.Ruleset(d,this.rules.slice(0),this.strictImports);e.originalRuleset=this,e.root=this.root,e.allowImports=this.allowImports,this.debugInfo&&(e.debugInfo=this.debugInfo),b.frames.unshift(e),(e.root||e.allowImports||!e.strictImports)&&e.evalImports(b);for(varf=0;f<e.rules.length;f++)e.rules[f]instanceofa.mixin.Definition&&(e.rules[f].frames=b.frames.slice(0));for(varg=b.mediaBlocks&&b.mediaBlocks.length||0,f=0;f<e.rules.length;f++)e.rules[f]instanceofa.mixin.Call&&(c=e.rules[f].eval(b),e.rules.splice.apply(e.rules,[f,1].concat(c)),f+=c.length-1,e.resetCache());for(varh,f=0;f<e.rules.length;f++)h=e.rules[f],hinstanceofa.mixin.Definition||(e.rules[f]=h.eval?h.eval(b):h);if(b.frames.shift(),b.mediaBlocks)for(varf=g;f<b.mediaBlocks.length;f++)b.mediaBlocks[f].bubbleSelectors(d);returne},evalImports:function(b){varc,d;for(c=0;c<this.rules.length;c++)this.rules[c]instanceofa.Import&&(d=this.rules[c].eval(b),"number"==typeofd.length?(this.rules.splice.apply(this.rules,[c,1].concat(d)),c+=d.length-1):this.rules.splice(c,1,d),this.resetCache())},makeImportant:function(){returnnewa.Ruleset(this.selectors,this.rules.map(function(a){returna.makeImportant?a.makeImportant():a}),this.strictImports)},matchArgs:function(a){return!a||0===a.length},resetCache:function(){this._rulesets=null,this._variables=null,this._lookups={}},variables:function(){returnthis._variables?this._variables:this._variables=this.rules.reduce(function(b,c){returncinstanceofa.Rule&&c.variable===!0&&(b[c.name]=c),b},{})},variable:function(a){returnthis.variables()[a]},rulesets:function(){returnthis._rulesets?this._rulesets:this._rulesets=this.rules.filter(function(b){returnbinstanceofa.Ruleset||binstanceofa.mixin.Definition})},find:function(b,c){c=c||this;vard,e=[],f=b.toCSS();returnfinthis._lookups?this._lookups[f]:(this.rulesets().forEach(function(f){if(f!==c)for(varg=0;g<f.selectors.length;g++)if(d=b.match(f.selectors[g])){b.elements.length>f.selectors[g].elements.length?Array.prototype.push.apply(e,f.find(newa.Selector(b.elements.slice(1)),c)):e.push(f);break}}),this._lookups[f]=e)},toCSS:function(b,c){vard,e,f,g=[],h=[],i=[],j=[],k=[];this.root||this.joinSelectors(k,b,this.selectors);for(varl=0;l<this.rules.length;l++)if(f=this.rules[l],f.rules||finstanceofa.Media)j.push(f.toCSS(k,c));elseif(finstanceofa.Directive){varm=f.toCSS(k,c);if("@charset"===f.name){if(c.charset){f.debugInfo&&(j.push(a.debugInfo(c,f)),j.push(newa.Comment("/* "+m.replace(/\n/g,"")+" */\n").toCSS(c)));continue}c.charset=!0}j.push(m)}elsefinstanceofa.Comment?f.silent||(this.root?j.push(f.toCSS(c)):h.push(f.toCSS(c))):f.toCSS&&!f.variable?h.push(f.toCSS(c)):f.value&&!f.variable&&h.push(f.value.toString());if(j=j.join(""),this.root)g.push(h.join(c.compress?"":"\n"));elseif(h.length>0){e=a.debugInfo(c,this),d=k.map(function(a){returna.map(function(a){returna.toCSS(c)}).join("").trim()}).join(c.compress?",":",\n");for(varl=h.length-1;l>=0;l--)-1===i.indexOf(h[l])&&i.unshift(h[l]);h=i,g.push(e+d+(c.compress?"{":" {\n")+h.join(c.compress?"":"\n")+(c.compress?"}":"\n}\n"))}returng.push(j),g.join("")+(c.compress?"\n":"")},joinSelectors:function(a,b,c){for(vard=0;d<c.length;d++)this.joinSelector(a,b,c[d])},joinSelector:function(b,c,d){vare,f,g,h,i,j,k,l,m,n,o,p,q,r,s;for(e=0;e<d.elements.length;e++)j=d.elements[e],"&"===j.value&&(h=!0);if(h){for(r=[],i=[[]],e=0;e<d.elements.length;e++)if(j=d.elements[e],"&"!==j.value)r.push(j);else{for(s=[],r.length>0&&this.mergeElementsOnToSelectors(r,i),f=0;f<i.length;f++)if(k=i[f],0==c.length)k.length>0&&(k[0].elements=k[0].elements.slice(0),k[0].elements.push(newa.Element(j.combinator,"",0))),s.push(k);elsefor(g=0;g<c.length;g++)l=c[g],m=[],n=[],p=!0,k.length>0?(m=k.slice(0),q=m.pop(),o=newa.Selector(q.elements.slice(0)),p=!1):o=newa.Selector([]),l.length>1&&(n=n.concat(l.slice(1))),l.length>0&&(p=!1,o.elements.push(newa.Element(j.combinator,l[0].elements[0].value,0)),o.elements=o.elements.concat(l[0].elements.slice(1))),p||m.push(o),m=m.concat(n),s.push(m);i=s,r=[]}for(r.length>0&&this.mergeElementsOnToSelectors(r,i),e=0;e<i.length;e++)b.push(i[e])}elseif(c.length>0)for(e=0;e<c.length;e++)b.push(c[e].concat(d));elseb.push([d])},mergeElementsOnToSelectors:function(b,c){vard,e;if(0==c.length)returnc.push([newa.Selector(b)]),void0;for(d=0;d<c.length;d++)e=c[d],e.length>0?e[e.length-1]=newa.Selector(e[e.length-1].elements.concat(b)):e.push(newa.Selector(b))}}}(b("../tree")),function(a){a.Selector=function(a){this.elements=a},a.Selector.prototype.match=function(a){varb,c,d,e,f=this.elements,g=f.length;if(b=a.elements.slice(a.elements.length&&"&"===a.elements[0].value?1:0),c=b.length,d=Math.min(g,c),0===c||c>g)return!1;for(e=0;d>e;e++)if(f[e].value!==b[e].value)return!1;return!0},a.Selector.prototype.eval=function(b){returnnewa.Selector(this.elements.map(function(a){returna.eval(b)}))},a.Selector.prototype.toCSS=function(a){returnthis._css?this._css:(this._css=""===this.elements[0].combinator.value?"":"",this._css+=this.elements.map(function(b){return"string"==typeofb?""+b.trim():b.toCSS(a)}).join(""),this._css)}}(b("../tree")),function(a){a.UnicodeDescriptor=function(a){this.value=a},a.UnicodeDescriptor.prototype={toCSS:function(){returnthis.value},eval:function(){returnthis}}}(b("../tree")),function(a){a.URL=function(a,b){this.value=a,this.rootpath=b},a.URL.prototype={toCSS:function(){return"url("+this.value.toCSS()+")"},eval:function(b){varc,d=this.value.eval(b);return"string"==typeofd.value&&!/^(?:[a-z-]+:|\/)/.test(d.value)&&(c=this.rootpath,d.quote||(c=c.replace(/[\(\)'"\s]/g,function(a){return"\\"+a})),d.value=c+d.value),newa.URL(d,this.rootpath)}}}(b("../tree")),function(a){a.Value=function(a){this.value=a,this.is="value"},a.Value.prototype={eval:function(b){return1===this.value.length?this.value[0].eval(b):newa.Value(this.value.map(function(a){returna.eval(b)}))},toCSS:function(a){returnthis.value.map(function(b){returnb.toCSS(a)}).join(a.compress?",":", ")}}}(b("../tree")),function(a){a.Variable=function(a,b,c){this.name=a,this.index=b,this.file=c},a.Variable.prototype={eval:function(b){varc,d,e=this.name;if(0==e.indexOf("@@")&&(e="@"+newa.Variable(e.slice(1)).eval(b).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+e,filename:this.file,index:this.index};if(this.evaluating=!0,c=a.find(b.frames,function(a){return(d=a.variable(e))?d.value.eval(b):void0}))returnthis.evaluating=!1,c;throw{type:"Name",message:"variable "+e+" is undefined",filename:this.file,index:this.index}}}}(b("../tree")),function(a){a.debugInfo=function(b,c){vard="";if(b.dumpLineNumbers&&!b.compress)switch(b.dumpLineNumbers){case"comments":d=a.debugInfo.asComment(c);break;case"mediaquery":d=a.debugInfo.asMediaQuery(c);break;case"all":d=a.debugInfo.asComment(c)+a.debugInfo.asMediaQuery(c)}returnd},a.debugInfo.asComment=function(a){return"/* line "+a.debugInfo.lineNumber+", "+a.debugInfo.fileName+" */\n"},a.debugInfo.asMediaQuery=function(a){return"@media -sass-debug-info{filename{font-family:"+("file://"+a.debugInfo.fileName).replace(/[\/:.]/g,"\\$&")+"}line{font-family:\\00003"+a.debugInfo.lineNumber+"}}\n"},a.find=function(a,b){for(varc,d=0;d<a.length;d++)if(c=b.call(a,a[d]))returnc;returnnull},a.jsify=function(a){returnArray.isArray(a.value)&&a.value.length>1?"["+a.value.map(function(a){returna.toCSS(!1)}).join(", ")+"]":a.toCSS(!1)}}(b("./tree"));varr=/^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol);if(p.env=p.env||("127.0.0.1"==location.hostname||"0.0.0.0"==location.hostname||"localhost"==location.hostname||location.port.length>0||r?"development":"production"),p.async=p.async||!1,p.fileAsync=p.fileAsync||!1,p.poll=p.poll||(r?1e3:1500),p.functions)for(varsinp.functions)p.tree.functions[s]=p.functions[s];vart=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(location.hash);t&&(p.dumpLineNumbers=t[1]),p.watch=function(){returnp.watchMode||(p.env="development",c()),this.watchMode=!0},p.unwatch=function(){returnclearInterval(p.watchTimer),this.watchMode=!1},/!watch/.test(location.hash)&&p.watch();varu=null;if("development"!=p.env)try{u="undefined"==typeofa.localStorage?null:a.localStorage}catch(v){}varw=document.getElementsByTagName("link"),x=/^text\/(x-)?less$/;p.sheets=[];for(vary=0;y<w.length;y++)("stylesheet/less"===w[y].rel||w[y].rel.match(/stylesheet/)&&w[y].type.match(x))&&p.sheets.push(w[y]);varz="";p.modifyVars=function(a){varb=z;for(nameina)b+=("@"===name.slice(0,1)?"":"@")+name+": "+(";"===a[name].slice(-1)?a[name]:a[name]+";");(newp.Parser).parse(b,function(a,b){j(b.toCSS(),p.sheets[p.sheets.length-1])})},p.refresh=function(a){varb,c;b=c=newDate,e(function(a,d,e,f,g){g.local?n("loading "+f.href+" from cache."):(n("parsed "+f.href+" successfully."),j(d.toCSS(),f,g.lastModified)),n("css for "+f.href+" generated in "+(newDate-c)+"ms"),0===g.remaining&&n("css generated in "+(newDate-b)+"ms"),c=newDate},a),d()},p.refreshStyles=d,p.refresh("development"===p.env),"function"==typeofdefine&&define.amd&&define("less",[],function(){returnp})}(window);varJSZip=function(a,b){this.files={},this.root="",a&&this.load(a,b)};if(JSZip.signature={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},JSZip.defaults={base64:!1,binary:!1,dir:!1,date:null,compression:null},JSZip.support={arraybuffer:function(){return"undefined"!=typeofArrayBuffer&&"undefined"!=typeofUint8Array}(),nodebuffer:function(){return"undefined"!=typeofBuffer}(),uint8array:function(){return"undefined"!=typeofUint8Array}(),blob:function(){if("undefined"==typeofArrayBuffer)return!1;vara=newArrayBuffer(0);try{return0===newBlob([a],{type:"application/zip"}).size}catch(b){}try{varc=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,d=newc;returnd.append(a),0===d.getBlob("application/zip").size}catch(b){}return!1}()},JSZip.prototype=function(){vara,b;JSZip.support.uint8array&&"function"==typeofTextEncoder&&"function"==typeofTextDecoder&&(a=newTextEncoder("utf-8"),b=newTextDecoder("utf-8"));varc=function(a){if(a._datainstanceofJSZip.CompressedObject&&(a._data=a._data.getContent(),a.options.binary=!0,a.options.base64=!1,"uint8array"===JSZip.utils.getTypeOf(a._data))){varb=a._data;a._data=newUint8Array(b.length),0!==b.length&&a._data.set(b,0)}returna._data},d=function(b){vard=c(b),e=JSZip.utils.getTypeOf(d);if("string"===e){if(!b.options.binary){if(a)returna.encode(d);if(JSZip.support.nodebuffer)returnnewBuffer(d,"utf-8")}returnb.asBinary()}returnd},e=function(a){varb=c(this);returnnull===b||"undefined"==typeofb?"":(this.options.base64&&(b=JSZip.base64.decode(b)),b=a&&this.options.binary?JSZip.prototype.utf8decode(b):JSZip.utils.transformTo("string",b),a||this.options.binary||(b=JSZip.prototype.utf8encode(b)),b)},f=function(a,b,c){this.name=a,this._data=b,this.options=c};f.prototype={asText:function(){returne.call(this,!0)},asBinary:function(){returne.call(this,!1)},asNodeBuffer:function(){vara=d(this);returnJSZip.utils.transformTo("nodebuffer",a)},asUint8Array:function(){vara=d(this);returnJSZip.utils.transformTo("uint8array",a)},asArrayBuffer:function(){returnthis.asUint8Array().buffer}};varg=function(a,b){varc,d="";for(c=0;b>c;c++)d+=String.fromCharCode(255&a),a>>>=8;returnd},h=function(){vara,b,c={};for(a=0;a<arguments.length;a++)for(binarguments[a])arguments[a].hasOwnProperty(b)&&"undefined"==typeofc[b]&&(c[b]=arguments[a][b]);returnc},i=function(a){returna=a||{},a.base64===!0&&null==a.binary&&(a.binary=!0),a=h(a,JSZip.defaults),a.date=a.date||newDate,null!==a.compression&&(a.compression=a.compression.toUpperCase()),a},j=function(a,b,c){vard=k(a),e=JSZip.utils.getTypeOf(b);if(d&&l.call(this,d),c=i(c),c.dir||null===b||"undefined"==typeofb)c.base64=!1,c.binary=!1,b=null;elseif("string"===e)c.binary&&!c.base64&&c.optimizedBinaryString!==!0&&(b=JSZip.utils.string2binary(b));else{if(c.base64=!1,c.binary=!0,!(e||binstanceofJSZip.CompressedObject))thrownewError("The data of '"+a+"' is in an unsupported format !");"arraybuffer"===e&&(b=JSZip.utils.transformTo("uint8array",b))}varg=newf(a,b,c);returnthis.files[a]=g,g},k=function(a){"/"==a.slice(-1)&&(a=a.substring(0,a.length-1));varb=a.lastIndexOf("/");returnb>0?a.substring(0,b):""},l=function(a){return"/"!=a.slice(-1)&&(a+="/"),this.files[a]||j.call(this,a,null,{dir:!0}),this.files[a]},m=function(a,b){varc,e=newJSZip.CompressedObject;returna._datainstanceofJSZip.CompressedObject?(e.uncompressedSize=a._data.uncompressedSize,e.crc32=a._data.crc32,0===e.uncompressedSize||a.options.dir?(b=JSZip.compressions.STORE,e.compressedContent="",e.crc32=0):a._data.compressionMethod===b.magic?e.compressedContent=a._data.getCompressedContent():(c=a._data.getContent(),e.compressedContent=b.compress(JSZip.utils.transformTo(b.compressInputType,c)))):(c=d(a),(!c||0===c.length||a.options.dir)&&(b=JSZip.compressions.STORE,c=""),e.uncompressedSize=c.length,e.crc32=this.crc32(c),e.compressedContent=b.compress(JSZip.utils.transformTo(b.compressInputType,c))),e.compressedSize=e.compressedContent.length,e.compressionMethod=b.magic,e},n=function(a,b,c,d){vare,f,h=(c.compressedContent,this.utf8encode(b.name)),i=h!==b.name,j=b.options;e=j.date.getHours(),e<<=6,e|=j.date.getMinutes(),e<<=5,e|=j.date.getSeconds()/2,f=j.date.getFullYear()-1980,f<<=4,f|=j.date.getMonth()+1,f<<=5,f|=j.date.getDate();vark="";k+="\n\x00",k+=i?"\x00\b":"\x00\x00",k+=c.compressionMethod,k+=g(e,2),k+=g(f,2),k+=g(c.crc32,4),k+=g(c.compressedSize,4),k+=g(c.uncompressedSize,4),k+=g(h.length,2),k+="\x00\x00";varl=JSZip.signature.LOCAL_FILE_HEADER+k+h,m=JSZip.signature.CENTRAL_FILE_HEADER+"\x00"+k+"\x00\x00\x00\x00\x00\x00"+(b.options.dir===!0?"\x00\x00\x00":"\x00\x00\x00\x00")+g(d,4)+h;return{fileRecord:l,dirRecord:m,compressedObject:c}},o=function(){this.data=[]};o.prototype={append:function(a){a=JSZip.utils.transformTo("string",a),this.data.push(a)},finalize:function(){returnthis.data.join("")}};varp=function(a){this.data=newUint8Array(a),this.index=0};returnp.prototype={append:function(a){0!==a.length&&(a=JSZip.utils.transformTo("uint8array",a),this.data.set(a,this.index),this.index+=a.length)},finalize:function(){returnthis.data}},{load:function(){thrownewError("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(a){varb,c,d,e,g=[];for(binthis.files)this.files.hasOwnProperty(b)&&(d=this.files[b],e=newf(d.name,d._data,h(d.options)),c=b.slice(this.root.length,b.length),b.slice(0,this.root.length)===this.root&&a(c,e)&&g.push(e));returng},file:function(a,b,c){if(1===arguments.length){if(JSZip.utils.isRegExp(a)){vard=a;returnthis.filter(function(a,b){return!b.options.dir&&d.test(a)})}returnthis.filter(function(b,c){return!c.options.dir&&b===a})[0]||null}returna=this.root+a,j.call(this,a,b,c),this},folder:function(a){if(!a)returnthis;if(JSZip.utils.isRegExp(a))returnthis.filter(function(b,c){returnc.options.dir&&a.test(b)});varb=this.root+a,c=l.call(this,b),d=this.clone();returnd.root=c.name,d},remove:function(a){a=this.root+a;varb=this.files[a];if(b||("/"!=a.slice(-1)&&(a+="/"),b=this.files[a]),b)if(b.options.dir)for(varc=this.filter(function(b,c){returnc.name.slice(0,a.length)===a}),d=0;d<c.length;d++)deletethis.files[c[d].name];elsedeletethis.files[a];returnthis},generate:function(a){a=h(a||{},{base64:!0,compression:"STORE",type:"base64"}),JSZip.utils.checkSupport(a.type);varb,c,d=[],e=0,f=0;for(variinthis.files)if(this.files.hasOwnProperty(i)){varj=this.files[i],k=j.options.compression||a.compression.toUpperCase(),l=JSZip.compressions[k];if(!l)thrownewError(k+" is not a valid compression method !");varq=m.call(this,j,l),r=n.call(this,i,j,q,e);
e+=r.fileRecord.length+q.compressedSize,f+=r.dirRecord.length,d.push(r)}vars="";switch(s=JSZip.signature.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+g(d.length,2)+g(d.length,2)+g(f,4)+g(e,4)+"\x00\x00",a.type.toLowerCase()){case"uint8array":case"arraybuffer":case"blob":case"nodebuffer":b=newp(e+f+s.length);break;default:b=newo(e+f+s.length)}for(c=0;c<d.length;c++)b.append(d[c].fileRecord),b.append(d[c].compressedObject.compressedContent);for(c=0;c<d.length;c++)b.append(d[c].dirRecord);b.append(s);vart=b.finalize();switch(a.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":returnJSZip.utils.transformTo(a.type.toLowerCase(),t);case"blob":returnJSZip.utils.arrayBuffer2Blob(JSZip.utils.transformTo("arraybuffer",t));case"base64":returna.base64?JSZip.base64.encode(t):t;default:returnt}},crc32:function(a,b){if("undefined"==typeofa||!a.length)return0;varc="string"!==JSZip.utils.getTypeOf(a),d=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"==typeofb&&(b=0);vare=0,f=0,g=0;b=-1^b;for(varh=0,i=a.length;i>h;h++)g=c?a[h]:a.charCodeAt(h),f=255&(b^g),e=d[f],b=b>>>8^e;return-1^b},clone:function(){vara=newJSZip;for(varbinthis)"function"!=typeofthis[b]&&(a[b]=this[b]);returna},utf8encode:function(b){if(a){varc=a.encode(b);returnJSZip.utils.transformTo("string",c)}if(JSZip.support.nodebuffer)returnJSZip.utils.transformTo("string",newBuffer(b,"utf-8"));for(vard=[],e=0,f=0;f<b.length;f++){varg=b.charCodeAt(f);128>g?d[e++]=String.fromCharCode(g):g>127&&2048>g?(d[e++]=String.fromCharCode(g>>6|192),d[e++]=String.fromCharCode(63&g|128)):(d[e++]=String.fromCharCode(g>>12|224),d[e++]=String.fromCharCode(g>>6&63|128),d[e++]=String.fromCharCode(63&g|128))}returnd.join("")},utf8decode:function(a){varc=[],d=0,e=JSZip.utils.getTypeOf(a),f="string"!==e,g=0,h=0,i=0,j=0;if(b)returnb.decode(JSZip.utils.transformTo("uint8array",a));if(JSZip.support.nodebuffer)returnJSZip.utils.transformTo("nodebuffer",a).toString("utf-8");for(;g<a.length;)h=f?a[g]:a.charCodeAt(g),128>h?(c[d++]=String.fromCharCode(h),g++):h>191&&224>h?(i=f?a[g+1]:a.charCodeAt(g+1),c[d++]=String.fromCharCode((31&h)<<6|63&i),g+=2):(i=f?a[g+1]:a.charCodeAt(g+1),j=f?a[g+2]:a.charCodeAt(g+2),c[d++]=String.fromCharCode((15&h)<<12|(63&i)<<6|63&j),g+=3);returnc.join("")}}}(),JSZip.compressions={STORE:{magic:"\x00\x00",compress:function(a){returna},uncompress:function(a){returna},compressInputType:null,uncompressInputType:null}},function(){functiona(a){returna}functionb(a,b){for(varc=0;c<a.length;++c)b[c]=255&a.charCodeAt(c);returnb}functionc(a){varb=65536,c=[],d=a.length,e=JSZip.utils.getTypeOf(a),f=0,g=!0;try{switch(e){case"uint8array":String.fromCharCode.apply(null,newUint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,newBuffer(0))}}catch(h){g=!1}if(!g){for(vari="",j=0;j<a.length;j++)i+=String.fromCharCode(a[j]);returni}for(;d>f&&b>1;)try{"array"===e||"nodebuffer"===e?c.push(String.fromCharCode.apply(null,a.slice(f,Math.min(f+b,d)))):c.push(String.fromCharCode.apply(null,a.subarray(f,Math.min(f+b,d)))),f+=b}catch(h){b=Math.floor(b/2)}returnc.join("")}functiond(a,b){for(varc=0;c<a.length;c++)b[c]=a[c];returnb}JSZip.utils={string2binary:function(a){for(varb="",c=0;c<a.length;c++)b+=String.fromCharCode(255&a.charCodeAt(c));returnb},string2Uint8Array:function(a){returnJSZip.utils.transformTo("uint8array",a)},uint8Array2String:function(a){returnJSZip.utils.transformTo("string",a)},arrayBuffer2Blob:function(a){JSZip.utils.checkSupport("blob");try{returnnewBlob([a],{type:"application/zip"})}catch(b){}try{varc=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,d=newc;returnd.append(a),d.getBlob("application/zip")}catch(b){}thrownewError("Bug : can't construct the Blob.")},string2Blob:function(a){varb=JSZip.utils.transformTo("arraybuffer",a);returnJSZip.utils.arrayBuffer2Blob(b)}};vare={};e.string={string:a,array:function(a){returnb(a,newArray(a.length))},arraybuffer:function(a){returne.string.uint8array(a).buffer},uint8array:function(a){returnb(a,newUint8Array(a.length))},nodebuffer:function(a){returnb(a,newBuffer(a.length))}},e.array={string:c,array:a,arraybuffer:function(a){returnnewUint8Array(a).buffer},uint8array:function(a){returnnewUint8Array(a)},nodebuffer:function(a){returnnewBuffer(a)}},e.arraybuffer={string:function(a){returnc(newUint8Array(a))},array:function(a){returnd(newUint8Array(a),newArray(a.byteLength))},arraybuffer:a,uint8array:function(a){returnnewUint8Array(a)},nodebuffer:function(a){returnnewBuffer(newUint8Array(a))}},e.uint8array={string:c,array:function(a){returnd(a,newArray(a.length))},arraybuffer:function(a){returna.buffer},uint8array:a,nodebuffer:function(a){returnnewBuffer(a)}},e.nodebuffer={string:c,array:function(a){returnd(a,newArray(a.length))},arraybuffer:function(a){returne.nodebuffer.uint8array(a).buffer},uint8array:function(a){returnd(a,newUint8Array(a.length))},nodebuffer:a},JSZip.utils.transformTo=function(a,b){if(b||(b=""),!a)returnb;JSZip.utils.checkSupport(a);varc=JSZip.utils.getTypeOf(b),d=e[c][a](b);returnd},JSZip.utils.getTypeOf=function(a){return"string"==typeofa?"string":"[object Array]"===Object.prototype.toString.call(a)?"array":JSZip.support.nodebuffer&&Buffer.isBuffer(a)?"nodebuffer":JSZip.support.uint8array&&ainstanceofUint8Array?"uint8array":JSZip.support.arraybuffer&&ainstanceofArrayBuffer?"arraybuffer":void0},JSZip.utils.isRegExp=function(a){return"[object RegExp]"===Object.prototype.toString.call(a)},JSZip.utils.checkSupport=function(a){varb=!0;switch(a.toLowerCase()){case"uint8array":b=JSZip.support.uint8array;break;case"arraybuffer":b=JSZip.support.arraybuffer;break;case"nodebuffer":b=JSZip.support.nodebuffer;break;case"blob":b=JSZip.support.blob}if(!b)thrownewError(a+" is not supported by this browser")}}(),function(){JSZip.CompressedObject=function(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null},JSZip.CompressedObject.prototype={getContent:function(){returnnull},getCompressedContent:function(){returnnull}}}(),JSZip.base64=function(){vara="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(b){for(varc,d,e,f,g,h,i,j="",k=0;k<b.length;)c=b.charCodeAt(k++),d=b.charCodeAt(k++),e=b.charCodeAt(k++),f=c>>2,g=(3&c)<<4|d>>4,h=(15&d)<<2|e>>6,i=63&e,isNaN(d)?h=i=64:isNaN(e)&&(i=64),j=j+a.charAt(f)+a.charAt(g)+a.charAt(h)+a.charAt(i);returnj},decode:function(b){varc,d,e,f,g,h,i,j="",k=0;for(b=b.replace(/[^A-Za-z0-9\+\/\=]/g,"");k<b.length;)f=a.indexOf(b.charAt(k++)),g=a.indexOf(b.charAt(k++)),h=a.indexOf(b.charAt(k++)),i=a.indexOf(b.charAt(k++)),c=f<<2|g>>4,d=(15&g)<<4|h>>2,e=(3&h)<<6|i,j+=String.fromCharCode(c),64!=h&&(j+=String.fromCharCode(d)),64!=i&&(j+=String.fromCharCode(e));returnj}}}(),function(){vara=(Object.prototype.toString,"a"!="a"[0]),b=function(b){if(null==b)thrownewTypeError;returna&&"string"==typeofb&&b?b.split(""):Object(b)};Array.prototype.forEach||(Array.prototype.forEach=function(a){for(varc=b(this),d=arguments[1],e=0,f=c.length>>>0;f>e;)einc&&a.call(d,c[e],e,c),e++}),Array.prototype.reduce||(Array.prototype.reduce=function(a){varc=b(this),d=c.length>>>0;if(!d&&1==arguments.length)thrownewTypeError;vare,f=0;if(arguments.length<2)for(;;){if(finc){e=c[f++];break}if(++f>=d)thrownewTypeError}elsee=arguments[1];for(;d>f;f++)finc&&(e=a.call(void0,e,c[f],f,c));returne});varc,d,e;if(function(){functiona(a,b){if(a&&"."===a.charAt(0)&&b){b=b.split("/"),b=b.slice(0,b.length-1),a=b.concat(a.split("/"));varc,d;for(c=0;d=a[c];c++)if("."===d)a.splice(c,1),c-=1;elseif(".."===d){if(1===c&&(".."===a[2]||".."===a[0]))break;c>0&&(a.splice(c-1,2),c-=2)}a=a.join("/")}returna}functionb(a,b){returnfunction(){returnj.apply(null,l.call(arguments,0).concat([a,b]))}}functionf(b){returnfunction(c){returna(c,b)}}functiong(a){returnfunction(b){k[a]=b}}functionh(b,c){vard,e,g=b.indexOf("!");return-1!==g?(d=a(b.slice(0,g),c),b=b.slice(g+1),e=k[d],b=e&&e.normalize?e.normalize(b,f(c)):a(b,c)):b=a(b,c),{f:d?d+"!"+b:b,n:b,p:e}}functioni(a,c,d,e){varf,i,j,l,m,n,o=[];if(e||(e=a),"function"==typeofd){if(c)for(l=0;l<c.length;l++)n=h(c[l],e),j=n.f,"require"===j?o[l]=b(a):"exports"===j?(o[l]=k[a]={},f=!0):"module"===j?i=o[l]={id:a,uri:"",exports:k[a]}:jink?o[l]=k[j]:n.p&&(n.p.load(n.n,b(e,!0),g(j),{}),o[l]=k[j]);m=d.apply(k[a],o),a&&(i&&void0!==i.exports?k[a]=i.exports:f||(k[a]=m))}elsea&&(k[a]=d)}varj,k={},l=[].slice;"function"!=typeofe&&(c=j=function(a,b,c,d){return"string"==typeofa?k[h(a,b).f]:(a.splice||(b.splice?(a=b,b=arguments[2]):a=[]),d?i(null,a,b,c):setTimeout(function(){i(null,a,b,c)},15),j)},j.config=function(){returnj},d||(d=j),e=function(a,b,c){b.splice||(c=b,b=[]),i(a,b,c)},e.amd={})}(),e("almond",function(){}),e("lib/parse-js",["require","exports","module"],function(a,b){functionc(a){returnJ.letter.test(a)}functiond(a){returna=a.charCodeAt(0),a>=48&&57>=a}functione(a){returnd(a)||c(a)}functionf(a){returnJ.non_spacing_mark.test(a)||J.space_combining_mark.test(a)}functiong(a){returnJ.connector_punctuation.test(a)}functionh(a){return"$"==a||"_"==a||c(a)}functioni(a){returnh(a)||f(a)||d(a)||g(a)||""==a||""==a}functionj(a){returnC.test(a)?parseInt(a.substr(2),16):D.test(a)?parseInt(a.substr(1),8):E.test(a)?parseFloat(a):void0}functionk(a,b,c,d){this.message=a,this.line=b,this.col=c,this.pos=d,this.stack=(newError).stack}functionl(a,b,c,d){thrownewk(a,b,c,d)}functionm(a,b,c){returna.type==b&&(null==c||a.value==c)}functionn(a){functionb(){returnO.text.charAt(O.pos)}functionc(a,b){varc=O.text.charAt(O.pos++);if(a&&!c)throwK;return"\n"==c?(O.newline_before=O.newline_before||!b,++O.line,O.col=0):++O.col,c}functionf(a,b){varc=O.text.indexOf(a,O.pos);if(b&&-1==c)throwK;returnc}functiong(){O.tokline=O.line,O.tokcol=O.col,O.tokpos=O.pos}functionk(a,b,c){O.regex_allowed="operator"==a&&!w(M,b)||"keyword"==a&&w(z,b)||"punc"==a&&w(H,b);vard={type:a,value:b,line:O.tokline,col:O.tokcol,pos:O.tokpos,nlb:O.newline_before};returnc||(d.comments_before=O.comments_before,O.comments_before=[]),O.newline_before=!1,d}functionm(){for(;w(G,b());)c()}functionn(a){for(vard="",e=b(),f=0;e&&a(e,f++);)d+=c(),e=b();returnd}functiono(a){l(a,O.tokline,O.tokcol,O.tokpos)}functionp(a){varb=!1,c=!1,d=!1,f="."==a,g=n(function(g,h){return"x"==g||"X"==g?d?!1:d=!0:d||"E"!=g&&"e"!=g?"-"==g?c||0==h&&!a?!0:!1:"+"==g?c:(c=!1,"."==g?f||d?!1:f=!0:e(g)):b?!1:b=c=!0});a&&(g=a+g);varh=j(g);returnisNaN(h)?(o("Invalid syntax: "+g),void0):k("num",h)}functionq(a){varb=c(!0,a);switch(b){case"n":return"\n";case"r":return"\r";case"t":return"";case"b":return"\b";case"v":return"";case"f":return"\f";case"0":return"\x00";case"x":returnString.fromCharCode(r(2));case"u":returnString.fromCharCode(r(4));case"\n":return"";default:returnb}}functionr(a){for(varb=0;a>0;--a){vard=parseInt(c(!0),16);isNaN(d)&&o("Invalid hex-character pattern in string"),b=b<<4|d}returnb}functions(){returnL("Unterminated string constant",function(){for(vara=c(),b="";;){vard=c(!0);if("\\"==d){vare=0,f=null;d=n(function(a){if(a>="0"&&"7">=a){if(!f)returnf=a,++e;if("3">=f&&2>=e)return++e;if(f>="4"&&1>=e)return++e}return!1}),d=e>0?String.fromCharCode(parseInt(d,8)):q(!0)}elseif(d==a)break;b+=d}returnk("string",b)})}functiont(){c();vara,b=f("\n");return-1==b?(a=O.text.substr(O.pos),O.pos=O.text.length):(a=O.text.substring(O.pos,b),O.pos=b),k("comment1",a,!0)}functionu(){returnc(),L("Unterminated multiline comment",function(){vara=f("*/",!0),b=O.text.substring(O.pos,a),c=k("comment2",b,!0);returnO.pos=a+2,O.line+=b.split("\n").length-1,O.newline_before=b.indexOf("\n")>=0,/^@cc_on/i.test(b)&&(R("WARNING: at line "+O.line),R('*** Found "conditional comment": '+b),R("*** UglifyJS DISCARDS ALL COMMENTS. This means your code might no longer work properly in Internet Explorer.")),c})}functionv(){for(vara,d=!1,e="";null!=(a=b());)if(d)"u"!=a&&o("Expecting UnicodeEscapeSequence -- uXXXX"),a=q(),i(a)||o("Unicode char: "+a.charCodeAt(0)+" is not valid in identifier"),e+=a,d=!1;elseif("\\"==a)d=!0,c();else{if(!i(a))break;e+=c()}returne}functiony(a){returnL("Unterminated regular expression",function(){for(varb,d=!1,e=!1;b=c(!0);)if(d)a+="\\"+b,d=!1;elseif("["==b)e=!0,a+=b;elseif("]"==b&&e)e=!1,a+=b;else{if("/"==b&&!e)break;"\\"==b?d=!0:a+=b}varf=v();returnk("regexp",[a,f])})}functionC(a){functiond(a){if(!b())returna;vare=a+b();returnw(F,e)?(c(),d(e)):a}returnk("operator",d(a||c()))}functionD(){c();vara=O.regex_allowed;switch(b()){case"/":returnO.comments_before.push(t()),O.regex_allowed=a,N();case"*":returnO.comments_before.push(u()),O.regex_allowed=a,N()}returnO.regex_allowed?y(""):C("/")}functionE(){returnc(),d(b())?p("."):k("punc",".")}functionJ(){vara=v();returnw(x,a)?w(F,a)?k("operator",a):w(A,a)?k("atom",a):k("keyword",a):k("name",a)}functionL(a,b){try{returnb()}catch(c){if(c!==K)throwc;o(a)}}functionN(a){if(null!=a)returny(a);m(),g();vare=b();returne?d(e)?p():'"'==e||"'"==e?s():w(I,e)?k("punc",c()):"."==e?E():"/"==e?D():w(B,e)?C():"\\"==e||h(e)?J():(o("Unexpected character '"+e+"'"),void0):k("eof")}varO={text:a.replace(/\r\n?|[\n\u2028\u2029]/g,"\n").replace(/^\uFEFF/,""),pos:0,tokpos:0,line:0,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[]};returnN.context=function(a){returna&&(O=a),O},N}functiono(a,b,c){this.name=a,this.start=b,this.end=c}functionp(a,b,c){functiond(a,b){returnm(gb.token,a,b)}functione(){returngb.peeked||(gb.peeked=gb.input())}functionf(){returngb.prev=gb.token,gb.peeked?(gb.token=gb.peeked,gb.peeked=null):gb.token=gb.input(),gb.token}functiong(){returngb.prev}functionh(a,b,c,d){vare=gb.input.context();l(a,null!=b?b:e.tokline,null!=c?c:e.tokcol,null!=d?d:e.tokpos)}functioni(a,b){h(b,a.line,a.col)}functionj(a){null==a&&(a=gb.token),i(a,"Unexpected token: "+a.type+" ("+a.value+")")}functionk(a,b){returnd(a,b)?f():(i(gb.token,"Unexpected token "+gb.token.type+", expected "+a),void0)}functionp(a){returnk("punc",a)}functions(){return!b&&(gb.token.nlb||d("eof")||d("punc","}"))}functionu(){d("punc",";")?f():s()||j()}functionx(){returnt(arguments)}functiony(){p("(");vara=lb();returnp(")"),a}functionz(a,b,c){returnainstanceofo?a:newo(a,b,c)}functionA(a){returnc?function(){varb=gb.token,c=a.apply(this,arguments);returnc[0]=z(c[0],b,g()),c}:a}functionB(a){gb.labels.push(a);varc=gb.token,d=hb();returnb&&!w(P,d[0])&&j(c),gb.labels.pop(),x("label",a,d)}functionC(){returnx("stat",r(lb,u))}functionD(a){varb;returns()||(b=d("name")?gb.token.value:null),null!=b?(f(),v(b,gb.labels)||h("Label "+b+" without matching loop or statement")):0==gb.in_loop&&h(a+" not inside a loop or switch"),u(),x(a,b)}functionE(){p("(");vara=null;return!d("punc",";")&&(a=d("keyword","var")?(f(),R(!0)):lb(!0,!0),d("operator","in"))?G(a):F(a)}functionF(a){p(";");varb=d("punc",";")?null:lb();p(";");varc=d("punc",")")?null:lb();returnp(")"),x("for",a,b,c,fb(hb))}functionG(a){varb="var"==a[0]?x("name",a[1][0]):a;f();varc=lb();returnp(")"),x("for-in",a,b,c,fb(hb))}functionH(){vara,b=y(),c=hb();returnd("keyword","else")&&(f(),a=hb()),x("if",b,c,a)}functionI(){p("{");for(vara=[];!d("punc","}");)d("eof")&&j(),a.push(hb());returnf(),a}functionJ(){vara,b,c=I();if(d("keyword","catch")){f(),p("("),d("name")||h("Name expected");vare=gb.token.value;f(),p(")"),a=[e,I()]}returnd("keyword","finally")&&(f(),b=I()),!a&&!b&&h("Missing catch/finally blocks"),x("try",c,a,b)}functionK(a){for(varb=[];;){d("name")||j();varc=gb.token.value;if(f(),d("operator","=")?(f(),b.push([c,lb(!1,a)])):b.push([c]),!d("punc",","))break;f()}returnb}functionR(a){returnx("var",K(a))}functionS(){returnx("const",K())}functionT(){vara,b=kb(!1);returnd("punc","(")?(f(),a=U(")")):a=[],Z(x("new",b,a),!0)}functionU(a,b,c){for(vare=!0,g=[];!d("punc",a)&&(e?e=!1:p(","),!b||!d("punc",a));)d("punc",",")&&c?g.push(["atom","undefined"]):g.push(lb(!1));returnf(),g}functionV(){returnx("array",U("]",!b,!0))}functionW(){for(vara=!0,c=[];!d("punc","}")&&(a?a=!1:p(","),b||!d("punc","}"));){vare=gb.token.type,g=X();"name"!=e||"get"!=g&&"set"!=g||d("punc",":")?(p(":"),c.push([g,lb(!1)])):c.push([Y(),ib(!1),g])}returnf(),x("object",c)}functionX(){switch(gb.token.type){case"num":case"string":returnr(gb.token.value,f)}returnY()}functionY(){switch(gb.token.type){case"name":case"operator":case"keyword":case"atom":returnr(gb.token.value,f);default:j()}}functionZ(a,b){returnd("punc",".")?(f(),Z(x("dot",a,Y()),b)):d("punc","[")?(f(),Z(x("sub",a,r(lb,q(p,"]"))),b)):b&&d("punc","(")?(f(),Z(x("call",a,U(")")),!0)):a}function$(a){if(d("operator")&&w(L,gb.token.value))return_("unary-prefix",r(gb.token.value,f),$(a));for(varb=kb(a);d("operator")&&w(M,gb.token.value)&&!gb.token.nlb;)b=_("unary-postfix",gb.token.value,b),f();returnb}function_(a,b,c){return("++"==b||"--"==b)&&!db(c)&&h("Invalid use of "+b+" operator"),x(a,b,c)}functionab(a,b,c){vare=d("operator")?gb.token.value:null;e&&"in"==e&&c&&(e=null);varg=null!=e?O[e]:null;if(null!=g&&g>b){f();varh=ab($(!0),g,c);returnab(x("binary",e,a,h),b,c)}returna}functionbb(a){returnab($(!0),0,a)}functioncb(a){varb=bb(a);if(d("operator","?")){f();varc=lb(!1);returnp(":"),x("conditional",b,c,lb(!1,a))}returnb}functiondb(a){if(!b)return!0;switch(a[0]+""){case"dot":case"sub":case"new":case"call":return!0;case"name":return"this"!=a[1]}}functioneb(a){varb=cb(a),c=gb.token.value;if(d("operator")&&w(N,c)){if(db(b))returnf(),x("assign",N[c],b,eb(a));h("Invalid assignment")}returnb}functionfb(a){try{return++gb.in_loop,a()}finally{--gb.in_loop}}vargb={input:"string"==typeofa?n(a,!0):a,token:null,prev:null,peeked:null,in_function:0,in_loop:0,labels:[]};gb.token=f();varhb=A(function(){switch((d("operator","/")||d("operator","/="))&&(gb.peeked=null,gb.token=gb.input(gb.token.value.substr(1))),gb.token.type){case"num":case"string":case"regexp":case"operator":case"atom":returnC();case"name":returnm(e(),"punc",":")?B(r(gb.token.value,f,f)):C();case"punc":switch(gb.token.value){case"{":returnx("block",I());case"[":case"(":returnC();case";":returnf(),x("block");default:j()}case"keyword":switch(r(gb.token.value,f)){case"break":returnD("break");case"continue":returnD("continue");case"debugger":returnu(),x("debugger");case"do":returnfunction(a){returnk("keyword","while"),x("do",r(y,u),a)}(fb(hb));case"for":returnE();case"function":returnib(!0);case"if":returnH();case"return":return0==gb.in_function&&h("'return' outside of function"),x("return",d("punc",";")?(f(),null):s()?null:r(lb,u));case"switch":returnx("switch",y(),jb());case"throw":returngb.token.nlb&&h("Illegal newline after 'throw'"),x("throw",r(lb,u));case"try":returnJ();case"var":returnr(R,u);case"const":returnr(S,u);case"while":returnx("while",y(),fb(hb));case"with":returnx("with",y(),hb());default:j()}}}),ib=A(function(a){varb=d("name")?r(gb.token.value,f):null;returna&&!b&&j(),p("("),x(a?"defun":"function",b,function(a,b){for(;!d("punc",")");)a?a=!1:p(","),d("name")||j(),b.push(gb.token.value),f();returnf(),b}(!0,[]),function(){++gb.in_function;vara=gb.in_loop;gb.in_loop=0;varb=I();return--gb.in_function,gb.in_loop=a,b}())}),jb=q(fb,function(){p("{");for(vara=[],b=null;!d("punc","}");)d("eof")&&j(),d("keyword","case")?(f(),b=[],a.push([lb(),b]),p(":")):d("keyword","default")?(f(),p(":"),b=[],a.push([null,b])):(b||j(),b.push(hb()));returnf(),a}),kb=A(function(a){if(d("operator","new"))returnf(),T();if(d("punc")){switch(gb.token.value){case"(":returnf(),Z(r(lb,q(p,")")),a);case"[":returnf(),Z(V(),a);case"{":returnf(),Z(W(),a)}j()}if(d("keyword","function"))returnf(),Z(ib(!1),a);if(w(Q,gb.token.type)){varb="regexp"==gb.token.type?x("regexp",gb.token.value[0],gb.token.value[1]):x(gb.token.type,gb.token.value);returnZ(r(b,f),a)}j()}),lb=A(function(a,b){0==arguments.length&&(a=!0);varc=eb(b);returna&&d("punc",",")?(f(),x("seq",c,lb(!0,b))):c});returnx("toplevel",function(a){for(;!d("eof");)a.push(hb());returna}([]))}functionq(a){varb=t(arguments,1);returnfunction(){returna.apply(this,b.concat(t(arguments)))}}functionr(a){ainstanceofFunction&&(a=a());for(varb=1,c=arguments.length;--c>0;++b)arguments[b]();returna}functions(a){for(varb={},c=0;c<a.length;++c)b[a[c]]=!0;returnb}functiont(a,b){returnArray.prototype.slice.call(a,b||0)}functionu(a){returna.split("")}functionv(a,b){for(varc=b.length;--c>=0;)if(b[c]===a)return!0;return!1}functionw(a,b){returnObject.prototype.hasOwnProperty.call(a,b)}varx=s(["break","case","catch","const","continue","default","delete","do","else","finally","for","function","if","in","instanceof","new","return","switch","throw","try","typeof","var","void","while","with"]),y=s(["abstract","boolean","byte","char","class","debugger","double","enum","export","extends","final","float","goto","implements","import","int","interface","long","native","package","private","protected","public","short","static","super","synchronized","throws","transient","volatile"]),z=s(["return","new","delete","throw","else","case"]),A=s(["false","null","true","undefined"]),B=s(u("+-*&%=<>!?|~^")),C=/^0x[0-9a-f]+$/i,D=/^0[0-7]+$/,E=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,F=s(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),G=s(u("\n\r\f ")),H=s(u("[{}(,.;:")),I=s(u("[]{}(),;:")),J=(s(u("gmsiy")),{letter:newRegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0523\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u097B-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1159\\u115F-\\u11A2\\u11A8-\\u11F9\\u1200-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u1676\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19A9\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2C6F\\u2C71-\\u2C7D\\u2C80-\\u2CE4\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400\\u4DB5\\u4E00\\u9FC3\\uA000-\\uA48C\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA90A-\\uA925\\uA930-\\uA946\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAC00\\uD7A3\\uF900-\\uFA2D\\uFA30-\\uFA6A\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),non_spacing_mark:newRegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:newRegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:newRegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")});
}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){varc={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(c)}).success(function(a){varb=window.location.protocol+"//"+window.location.host;history.replaceState(!1,document.title,b+window.location.pathname+"?id="+a.id)}).error(function(b){a("<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.",b)})}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(variinc)j.file(i,c[i])}if(d){vark=g.folder("fonts");for(variind)k.file(i,d[i],{base64:!0})}e&&g.file("config.json",e);varl=g.generate({type:"blob"});f(l)}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(){for(vara=/^@import \"(.*?)\";$/,b=__less["bootstrap.less"].split("\n"),c=0,d=[];c<b.length;c++){vare=a.exec(b[c]);e&&d.push(e[1])}returnd}functionk(){varb=!1,c={};if($("#less-section input").each(function(){vara=$(this),d=a.is(":checked");c[a.val()]=d,b=b||d}),!b)return!1;vard={},e={},f="";$("#less-variables-section input").each(function(){$(this).val()&&(e[$(this).prev().text()]=$(this).val())}),$.each(j(),function(a,b){vard=c[b];(d||null==d)&&(f+=__less[b]),"variables.less"===b&&e&&(f+=h(e))}),f=f.replace(/@import[^\n]*/gi,"");try{{newless.Parser({paths:["variables.less","mixins.less"],optimization:0,filename:"bootstrap.css"}).parse(f,function(b,c){returnb?a("<strong>Ruh roh!</strong> Could not parse less files.",b):(d={"bootstrap.css":m+c.toCSS(),"bootstrap.min.css":m+c.toCSS({compress:!0}).replace(/\n/g,"")},void0)})}}catch(g){returna("<strong>Ruh roh!</strong> Could not parse less files.",g)}returnd}functionl(){vara=$("#plugin-section input:checked");if(!a.length)return!1;varb=a.map(function(){return__js[this.value]}).toArray().join("\n");return{"bootstrap.js":b,"bootstrap.min.js":m+uglify(b)}}varm="/*!\n * Bootstrap v3.0.3\n *\n * Copyright 2013 Twitter, Inc\n * Licensed under the Apache License v2.0\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Designed and built with all the love in the world @twitter by @mdo and @fat.\n */\n\n",n=$("#less-section input"),o=$("#plugin-section input"),p=$("#less-variables-section input");$("#less-section .toggle").on("click",function(a){a.preventDefault(),n.prop("checked",!n.is(":checked"))}),$("#plugin-section .toggle").on("click",function(a){a.preventDefault(),o.prop("checked",!o.is(":checked"))}),$("#less-variables-section .toggle").on("click",function(a){a.preventDefault(),p.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)}}}});{varq=$("#btn-compile");$("#btn-download")}q.on("click",function(a){varb=e(),c=JSON.stringify(b,null,2);a.preventDefault(),q.attr("disabled","disabled"),g(k(),l(),i(),c,function(a){q.removeAttr("disabled"),saveAs(a,"bootstrap.zip"),d(c)})}),window.URL||-1==navigator.userAgent.toLowerCase().indexOf("safari")?window.URL||window.webkitURL||($(".bs-docs-section, .bs-sidebar").css("display","none"),b('Looks like your current browser doesn\'t support the Bootstrap Customizer. Please take a second to <a href="https://www.google.com/intl/en/chrome/browser/"> upgrade to a more modern browser</a>.',!0)):b('Looks like you\'re using safari, which sadly doesn\'t have the best support for HTML5 blobs. Because of this your file will be downloaded with the name <code>"untitled"</code>. However, if you check your downloads folder, just rename this <code>"untitled"</code> file to <code>"bootstrap.zip"</code> and you should be good to go!'),f()};