1
1
mirror of https://github.com/primer/css.git synced 2024-12-15 07:23:54 +03:00
css/static/github/styleguide.js

4 lines
87 KiB
JavaScript
Raw Normal View History

2018-12-18 02:57:53 +03:00
!function(){"use strict";var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}t(function(t){!function(e){var n,r=Object.prototype.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag",s=e.regeneratorRuntime;if(s)t.exports=s;else{(s=e.regeneratorRuntime=t.exports).wrap=p;var l="suspendedStart",c="suspendedYield",u="executing",f="completed",d={},v=g.prototype=m.prototype;y.prototype=v.constructor=g,g.constructor=y,g[a]=y.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(v),e},s.awrap=function(e){return new w(e)},b(x.prototype),s.async=function(e,t,n,r){var o=new x(p(e,t,n,r));return s.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},b(v),v[i]=function(){return this},v[a]="Generator",v.toString=function(){return"[object Generator]"},s.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},s.values=T,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=n,this.done=!1,this.delegate=null,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?this.next=i.finallyLoc:this.complete(a),d},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},d}}}function p(e,t,r,o){var i=Object.create((t||m).prototype),a=new j(o||[]);return i._invoke=function(e,t,r){var o=l;return function(i,a){if(o===u)throw new Error("Generator is already running");if(o===f){if("throw"===i)throw a;return S()}for(;;){var s=r.delegate;if(s){if("return"===i||"throw"===i&&s.iterator[i]===n){r.delegate=null;var v=s.iterator.return;if(v){var p=h(v,s.iterator,a);if("throw"===p.type){i="throw",a=p.arg;continue}}if("return"===i)continue}var p=h(s.iterator[i],s.iterator,a);if("throw"===p.type){r.delegate=null,i="throw",a=p.arg;continue}i="next",a=n;var m=p.arg;if(!m.done)return o=c,m;r[s.resultName]=m.value,r.next=s.nextLoc,r.delegate=null}if("next"===i)r.sent=o===c?a:n;else if("throw"==
//# sourceMappingURL=styleguide-1e1a2fecc822b945d992f246a94f67ad.js.map