varStylusRenderer=function(){"use strict";functionassertPath(t){if("string"!=typeoft)thrownewTypeError("Path must be a string. Received "+JSON.stringify(t))}functionnormalizeStringPosix(t,e){for(varn,i="",r=0,o=-1,a=0,h=0;h<=t.length;++h){if(h<t.length)n=t.charCodeAt(h);else{if(47===n)break;n=47}if(47===n){if(o===h-1||1===a);elseif(o!==h-1&&2===a){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){varl=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",r=0):r=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),o=h,a=0;continue}}elseif(2===i.length||1===i.length){i="",r=0,o=h,a=0;continue}e&&(i.length>0?i+="/..":i="..",r=2)}elsei.length>0?i+="/"+t.slice(o+1,h):i=t.slice(o+1,h),r=h-o-1;o=h,a=0}else46===n&&-1!==a?++a:a=-1}returni}vart={resolve:functionresolve(){for(vart,e="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){varr;i>=0?r=arguments[i]:(void0===t&&(t=process.cwd()),r=t),assertPath(r),0!==r.length&&(e=r+"/"+e,n=47===r.charCodeAt(0))}returne=normalizeStringPosix(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:functionnormalize(t){if(assertPath(t),0===t.length)return".";vare=47===t.charCodeAt(0),n=47===t.charCodeAt(t.length-1);return0!==(t=normalizeStringPosix(t,!e)).length||e||(t="."),t.length>0&&n&&(t+="/"),e?"/"+t:t},isAbsolute:functionisAbsolute(t){returnassertPath(t),t.length>0&&47===t.charCodeAt(0)},join:functionjoin(){if(0===arguments.length)return".";for(vare,n=0;n<arguments.length;++n){vari=arguments[n];assertPath(i),i.length>0&&(void0===e?e=i:e+="/"+i)}returnvoid0===e?".":t.normalize(e)},relative:functionrelative(e,n){if(assertPath(e),assertPath(n),e===n)return"";if((e=t.resolve(e))===(n=t.resolve(n)))return"";for(vari=1;i<e.length&&47===e.charCodeAt(i);++i);for(varr=e.length,o=r-i,a=1;a<n.length&&47===n.charCodeAt(a);++a);for(varh=n.length-a,l=o<h?o:h,c=-1,u=0;u<=l;++u){if(u===l){if(h>l){if(47===n.charCodeAt(a+u))returnn.slice(a+u+1);if(0===u)returnn.slice(a+u)}elseo>l&&(47===e.charCodeAt(i+u)?c=u:0===u&&(c=0));break}varf=e.charCodeAt(i+u);if(f!==n.charCodeAt(a+u))break;47===f&&(c=u)}vard="";for(u=i+c+1;u<=r;++u)u!==r&&47!==e.charCodeAt(u)||(0===d.length?d+="..":d+="/..");returnd.length>0?d+n.slice(a+c):(a+=c,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function_makeLong(t){returnt},dirname:functiondirname(t){if(assertPath(t),0===t.length)return".";for(vare=t.charCodeAt(0),n=47===e,i=-1,r=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!r){i=o;break}}elser=!1;return-1===i?n?"/":".":n&&1===i?"//":t.slice(0,i)},basename:functionbasename(t,e){if(void0!==e&&"string"!=typeofe)thrownewTypeError('"ext" argument must be a string');assertPath(t);varn,i=0,r=-1,o=!0;if(void0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";vara=e.length-1,h=-1;for(n=t.length-1;n>=0;--n){varl=t.charCodeAt(n);if(47===l){if(!o){i=n+1;break}}else-1===h&&(o=!1,h=n+1),a>=0&&(l===e.charCodeAt(a)?-1==--a&&(r=n):(a=-1,r=h))}returni===r?r=h:-1===r&&(r=t.length),t.slice(i,r)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!o){i=n+1;break}}else-1===r&&(o=!1,r=n+1);return-1===r?"":t.slice(i,r)},extname:functionextname(t){assertPath(t);for(vare=-1,n=0,i=-1,r=!0,o=0,a=t.length-1;a>=0;--a){varh=t.charCodeAt(a);if(47!==h)-1===i&&(r=!1,i=a+1),46===h?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);elseif(!r){n=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===n+1?"":t.slice(e,i)},format:functionformat(t){if(null===t||"object"!=typeoft)thrownewTypeError('The "pathObject" argument must be of type Object. Received type '+typeoft);returnfunction_format(t,e){varn=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");returnn?n===e.root?n+i:n+t+i:i}("/",t)},parse:functionparse(t){assertPath(t);vare={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)returne;varn,i=t.charCodeAt(0),r=47===i;r?(e.root="/",n=1):n=0;for(varo=-1,a=0,h=-1,l=!0,c=t.length-1,u=0;c>=n;--c)if(47!==(i=t.charCodeAt(c)))-1===h&&(l=!1,h=c+1),46===i?-1===o?o=c:1!==u&&(u=1):-1!==o&&(u=-1);elseif(!l){a=c+1;break}return-1===o||-1===h
vara=functionScope(){this.locals={}};a.prototype.add=function(t){this.locals[t.name]=t.val},a.prototype.lookup=function(t){returnfunctionhasOwnProperty(t,e){returnObject.prototype.hasOwnProperty.call(t,e)}(this.locals,t)?this.locals[t]:void0},a.prototype.inspect=function(){vart=Object.keys(this.locals).map((function(t){return"@"+t}));return"[Scope"+(t.length?" "+t.join(", "):"")+"]"};varh=functionFrame(t){this._scope=!1===t.scope?null:newa,this.block=t};h.prototype.__defineGetter__("scope",(function(){returnthis._scope||this.parent.scope})),h.prototype.lookup=function(t){returnthis.scope.lookup(t)},h.prototype.inspect=function(){return"[Frame "+(!1===this.block.scope?"scope-less":this.scope.inspect())+"]"};const_export_sync_=t=>"functions/index.styl"===t?[t]:[];functionnotImplemented(){thrownewError("Not implemented")}const_export_statSync_=t=>"functions/index.styl"===t?{mtime:0}:notImplemented(),_export_readFileSync_=t=>"functions/index.styl"===t?"called-from = ()\n\nvendors = moz webkit o ms official\n\n// stringify the given arg\n\n-string(arg)\n type(arg) + ' ' + arg\n\n// require a color\n\nrequire-color(color)\n unless color is a 'color'\n error('RGB or HSL value expected, got a ' + -string(color))\n\n// require a unit\n\nrequire-unit(n)\n unless n is a 'unit'\n error('unit expected, got a ' + -string(n))\n\n// require a string\n\nrequire-string(str)\n unless str is a 'string' or str is a 'ident'\n error('string expected, got a ' + -string(str))\n\n// Math functions\n\nabs(n) { math(n, 'abs') }\nmin(a, b) { a < b ? a : b }\nmax(a, b) { a > b ? a : b }\n\n// Trigonometrics\nPI = -math-prop('PI')\n\nradians-to-degrees(angle)\n angle * (180 / PI)\n\ndegrees-to-radians(angle)\n angle * (PI / 180)\n\nsin(n)\n n = unit(n) == 'deg' ? degrees-to-radians(unit(n, '')) : unit(n, '')\n round(math(n, 'sin'), 9)\n\ncos(n)\n n = unit(n) == 'deg' ? degrees-to-radians(unit(n, '')) : unit(n, '')\n round(math(n, 'cos'), 9)\n\n// Rounding Math functions\n\nceil(n, precision = 0)\n multiplier = 10 ** precision\n math(n * multiplier, 'ceil') / multiplier\n\nfloor(n, precision = 0)\n multiplier = 10 ** precision\n math(n * multiplier, 'floor') / multiplier\n\nround(n, precision = 0)\n multiplier = 10 ** precision\n math(n * multiplier, 'round') / multiplier\n\n// return the sum of the given numbers\n\nsum(nums)\n sum = 0\n sum += n for n in nums\n\n// return the average of the given numbers\n\navg(nums)\n sum(nums) / length(nums)\n\n// return a unitless number, or pass through\n\nremove-unit(n)\n if typeof(n) is \"unit\"\n unit(n, \"\")\n else\n n\n\n// convert a percent to a decimal, or pass through\n\npercent-to-decimal(n)\n if unit(n) is \"%\"\n remove-unit(n) / 100\n else\n n\n\n// check if n is an odd number\n\nodd(n)\n 1 == n % 2\n\n// check if n is an even number\n\neven(n)\n 0 == n % 2\n\n// check if color is light\n\nlight(color)\n lightness(color) >= 50%\n\n// check if color is dark\n\ndark(color)\n lightness(color) < 50%\n\n// desaturate color by amount\n\ndesaturate(color, amount)\n adjust(color, 'saturation', - amount)\n\n// saturate color by amount\n\nsaturate(color = '', amount = 100%)\n if color is a 'color'\n adjust(color, 'saturation', amount)\n else\n unquote( \"saturate(\" + color + \")\" )\n\n// darken by the given amount\n\ndarken(color, amount)\n adjust(color, 'lightness', - amount)\n\n// lighten by the given amount\n\nlighten(color, amount)\n adjust(color, 'lightness', amount)\n\n// decrease opacity by amount\n\nfade-out(color, amount)\n color - rgba(black, percent-to-decimal(amount))\n\n// increase opacity by amount\n\nfade-in(color, amount)\n color + rgba(black, percent-to-decimal(amount))\n\n// spin hue by a given amount\n\nspin(color, amount)\n color + unit(amount, deg)\n\n// mix two colors by a given amount\n\nmix(color1, color2, weight = 50%)\n unless weight in 0..100\n error(\"Weight must be between 0% and 100%\")\n\niflength(color1)==2\nweight=color1[0]\ncolor1=color1[1]\n\nelseiflength(color2)==2\n
varl=[">","+","~"],c=functionSelectorParser(t,e,n){this.str=t,this.stack=e||[],this.parts=n||[],this.pos=0,this.level=2,this.nested=!0,this.ignore=!1};c.prototype.skip=function(t){this.str=this.str.substr(t),this.pos+=t},c.prototype.skipSpaces=function(){for(;" "==this.str[0];)this.skip(1)},c.prototype.advance=function(){returnthis.root()||this.relative()||this.initial()||this.escaped()||this.parent()||this.partial()||this.char()},c.prototype.root=function(){this.pos||"/"!=this.str[0]||"deep"==this.str.slice(1,5)||(this.nested=!1,this.skip(1))},c.prototype.relative=function(t){if((!this.pos||t)&&"../"==this.str.slice(0,3)){for(this.nested=!1,this.skip(3);this.relative(!0);)this.level++;if(!this.raw){vare=this.stack[this.stack.length-this.level];if(e)returne;this.ignore=!0}}},c.prototype.initial=function(){if(!this.pos&&"~"==this.str[0]&&"/"==this.str[1])returnthis.nested=!1,this.skip(2),this.stack[0]},c.prototype.escaped=function(){if("\\"==this.str[0]){vart=this.str[1];if("&"==t||"^"==t)returnthis.skip(2),t}},c.prototype.parent=function(){if("&"==this.str[0]){if(this.nested=!1,!this.pos&&(!this.stack.length||this.raw)){for(vart=0;" "==this.str[++t];);if(~l.indexOf(this.str[t]))returnvoidthis.skip(t+1)}if(this.skip(1),!this.raw)returnthis.stack[this.stack.length-1]}},c.prototype.partial=function(){if("^"==this.str[0]&&"["==this.str[1]){this.skip(2),this.skipSpaces();vart=this.range();if(this.skipSpaces(),"]"!=this.str[0])return"^[";if(this.nested=!1,this.skip(1),t)returnt;this.ignore=!0}},c.prototype.number=function(){vart=0,e="";for("-"==this.str[t]&&(e+=this.str[t++]);this.str.charCodeAt(t)>=48&&this.str.charCodeAt(t)<=57;)e+=this.str[t++];if(e)returnthis.skip(t),Number(e)},c.prototype.range=function(){vart,e=this.number();if(".."==this.str.slice(0,2)){this.skip(2);varn=this.number(),i=this.parts.length;if(e<0&&(e=i+e-1),n<0&&(n=i+n-1),e>n){varr=e;e=n,n=r}n<i-1&&(t=this.parts.slice(e,n+1).map((function(t){vare=newc(t,this.stack,this.parts);returne.raw=!0,e.parse()}),this).map((function(t){return(t.nested?" ":"")+t.val})).join("").trim())}elset=this.stack[e<0?this.stack.length+e-1:e];if(t)returnt;this.ignore=!0},c.prototype.char=function(){vart=this.str[0];returnthis.skip(1),t},c.prototype.parse=function(){for(vart="";this.str.length;)if(t+=this.advance()||"",this.ignore){t="";break}return{val:t.trimRight(),nested:this.nested}};varu=t.basename,f=t.relative,d=t.join;constm=t.isAbsolute||function(t){return"\\\\"==t.substr(0,2)||"/"===t.charAt(0)||/^[a-z]:[\\\/]/i.test(t)},_export_lookup_=function(t,e,n){vari,r=e.length;if(m(t))try{return_export_statSync_(t),t}catch(t){}for(;r--;)try{if(n==(i=d(e[r],t)))continue;return_export_statSync_(i),i}catch(t){}},_export_find_=function(t,e,n){vari,r,o=e.length;if(m(t)&&(r=_export_sync_(t)).length)returnr;for(;o--;)if(n!=(i=d(e[o],t))&&(r=_export_sync_(i)).length)returnr},_export_lookupIndex_=function(t,e,n){vari=_export_find_(d(t,"index.styl"),e,n);returni||(i=_export_find_(d(t,u(t).replace(/\.styl/i,"")+".styl"),e,n)),i||~t.indexOf("node_modules")||(i=functionlookupPackage(t){varr=_export_lookup_(d(t,"package.json"),e,n);if(!r)return/\.styl$/i.test(t)?_export_lookupIndex_(t,e,n):lookupPackage(t+".styl");varo=require(f("/",r)).main;returni=o?_export_find_(d(t,o),e,n):_export_lookupIndex_(t,e,n)}(d("node_modules",t))),i},_export_formatException_=function(t,e){varn=e.lineno,i=e.column,r=e.filename,o=e.input,a=(a=e.context||8)/2,h=("\n"+o).split("\n"),l=Math.max(n-a,1),c=Math.min(h.length,n+a),u=c.toString().length;returna=h.slice(l,c).map((function(t,e){varr=e+l;return" "+Array(u-r.toString().length+1).join(" ")+r+"| "+t+(r==n?"\n"+Array(r.toString().length+5+i).join("-")+"^":"")})).join("\n"),t.message=r+":"+n+":"+i+"\n"+a+"\n\n"+t.message+"\n"+(t.stylusStack?t.stylusStack+"\n":""),t.fromStylus&&(t.stack="Error: "+t.message),t},_export_assertType_=function(t,e,n){if(_export_assertPresent_(t,n),t.nodeName!=e){vari=t.nodeName;thrownewError("TypeError: expected "+(n?'"'+n+'" to be a ':"")+e+", but got "+i+":"+t)}},_export_assertString_=fu
varyt=functionAtrule(t){W.call(this),this.type=t};functionhasOutput(t){vare=t.nodes;return!e.every((function(t){return"group"==t.nodeName&&t.hasOnlyPlaceholders}))&&e.some((function(t){switch(t.nodeName){case"property":case"literal":case"import":return!0;case"block":returnhasOutput(t);default:if(t.block)returnhasOutput(t.block)}}))}yt.prototype.__proto__=W.prototype,yt.prototype.__defineGetter__("hasOnlyProperties",(function(){if(!this.block)return!1;for(vart=this.block.nodes,e=0,n=t.length;e<n;++e)switch(t[e].nodeName,t[e].nodeName){case"property":case"expression":case"comment":continue;default:return!1}return!0})),yt.prototype.clone=function(t){vare=newyt(this.type);returnthis.block&&(e.block=this.block.clone(t,e)),e.segments=this.segments.map((function(n){returnn.clone(t,e)})),e.lineno=this.lineno,e.column=this.column,e.filename=this.filename,e},yt.prototype.toJSON=function(){vart={__type:"Atrule",type:this.type,segments:this.segments,lineno:this.lineno,column:this.column,filename:this.filename};returnthis.block&&(t.block=this.block),t},yt.prototype.toString=function(){return"@"+this.type},yt.prototype.__defineGetter__("hasOutput",(function(){return!!this.block&&hasOutput(this.block)}));vargt=functionMedia(t){yt.call(this,"media"),this.val=t};gt.prototype.__proto__=yt.prototype,gt.prototype.clone=function(t){vare=newgt;returne.val=this.val.clone(t,e),e.block=this.block.clone(t,e),e.lineno=this.lineno,e.column=this.column,e.filename=this.filename,e},gt.prototype.toJSON=function(){return{__type:"Media",val:this.val,block:this.block,lineno:this.lineno,column:this.column,filename:this.filename}},gt.prototype.toString=function(){return"@media "+this.val};varkt=functionQueryList(){W.call(this),this.nodes=[]};kt.prototype.__proto__=W.prototype,kt.prototype.clone=function(t){vare=newkt;e.lineno=this.lineno,e.column=this.column,e.filename=this.filename;for(varn=0;n<this.nodes.length;++n)e.push(this.nodes[n].clone(t,e));returne},kt.prototype.push=function(t){this.nodes.push(t)},kt.prototype.merge=function(t){vare,n=newkt;returnthis.nodes.forEach((function(i){for(varr=0,o=t.nodes.length;r<o;++r)(e=i.merge(t.nodes[r]))&&n.push(e)})),n},kt.prototype.toString=function(){return"("+this.nodes.map((function(t){returnt.toString()})).join(", ")+")"},kt.prototype.toJSON=function(){return{__type:"QueryList",nodes:this.nodes,lineno:this.lineno,column:this.column,filename:this.filename}};varwt=functionQuery(){W.call(this),this.nodes=[],this.type="",this.predicate=""};wt.prototype.__proto__=W.prototype,wt.prototype.clone=function(t){vare=newwt;e.predicate=this.predicate,e.type=this.type;for(varn=0,i=this.nodes.length;n<i;++n)e.push(this.nodes[n].clone(t,e));returne.lineno=this.lineno,e.column=this.column,e.filename=this.filename,e},wt.prototype.push=function(t){this.nodes.push(t)},wt.prototype.__defineGetter__("resolvedType",(function(){if(this.type)returnthis.type.nodeName?this.type.string:this.type})),wt.prototype.__defineGetter__("resolvedPredicate",(function(){if(this.predicate)returnthis.predicate.nodeName?this.predicate.string:this.predicate})),wt.prototype.merge=function(t){vare,n,i=newwt,r=this.resolvedPredicate,o=t.resolvedPredicate,a=this.resolvedType,h=t.resolvedType;if(a=a||h,h=h||a,"not"==r^"not"==o){if(a==h)return;e="not"==r?h:a,n="not"==r?o:r}elseif("not"==r&&"not"==o){if(a!=h)return;e=a,n="not"}else{if(a!=h)return;e=a,n=r||o}returni.predicate=n,i.type=e,i.nodes=this.nodes.concat(t.nodes),i},wt.prototype.toString=function(){vart=this.predicate?this.predicate+" ":"",e=this.type||"",n=t+e;returnthis.nodes.length&&(n+=(e&&" and ")+this.nodes.map((function(t){returnt.toString()})).join(" and ")),n},wt.prototype.toJSON=function(){return{__type:"Query",predicate:this.predicate,type:this.type,nodes:this.nodes,lineno:this.lineno,column:this.column,filename:this.filename}};varbt=functionFeature(t){W.call(this),this.segments=t,this.expr=null};bt.prototype.__proto__=W.prototype,bt.prototype.clone=function(t){vare=newbt;returne.segments=this.segments.map((function(n){returnn.clone(t,e)}))