-
Notifications
You must be signed in to change notification settings - Fork 35
/
build.js
3 lines (3 loc) · 49.6 KB
/
build.js
1
2
3
System.register("npm:[email protected]/babel-helpers/extends.js",[],function(a,b){"use strict";return{setters:[],execute:function(){a("default",Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a})}}}),System.register("npm:[email protected]/babel-helpers/classCallCheck.js",[],function(a,b){"use strict";return{setters:[],execute:function(){a("default",function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")})}}}),System.register("npm:[email protected]/babel-helpers/createClass.js",[],function(a,b){"use strict";return{setters:[],execute:function(){a("default",function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}())}}}),System.register("npm:[email protected]/babel-helpers/possibleConstructorReturn.js",[],function(a,b){"use strict";return{setters:[],execute:function(){a("default",function(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?a:b})}}}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"plugin-babel.js",map:{"systemjs-babel-build":{browser:"./systemjs-babel-browser.js",default:"./systemjs-babel-browser.js"}},meta:{"./plugin-babel.js":{format:"cjs"}}}}),System.register("npm:[email protected]/babel-helpers/inherits.js",[],function(a,b){"use strict";return{setters:[],execute:function(){a("default",function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)})}}}),System.registerDynamic("npm:[email protected]/lib/parse/index.js",[],!0,function(a,b,c){function d(a){return a?a.replace(/^\s+|\s+$/g,""):""}function e(a,b){var c=a&&"string"==typeof a.type,d=c?a:b;for(var f in a){var g=a[f];Array.isArray(g)?g.forEach(function(a){e(a,d)}):g&&"object"==typeof g&&e(g,d)}return c&&Object.defineProperty(a,"parent",{configurable:!0,writable:!0,enumerable:!1,value:b||null}),a}var f=(this||self,/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g);return c.exports=function(a,b){function c(a){var b=a.match(/\n/g);b&&(G+=b.length);var c=a.lastIndexOf("\n");H=~c?a.length-c:H+a.length}function g(){var a={line:G,column:H};return function(b){return b.position=new h(a),o(),b}}function h(a){this.start=a,this.end={line:G,column:H},this.source=b.source}function i(c){var d=new Error(b.source+":"+G+":"+H+": "+c);if(d.reason=c,d.filename=b.source,d.line=G,d.column=H,d.source=a,!b.silent)throw d;I.push(d)}function j(){var a=m();return{type:"stylesheet",stylesheet:{rules:a,parsingErrors:I}}}function k(){return n(/^{\s*/)}function l(){return n(/^}/)}function m(){var b,c=[];for(o(),p(c);a.length&&"}"!=a.charAt(0)&&(b=E()||F());)b!==!1&&(c.push(b),p(c));return c}function n(b){var d=b.exec(a);if(d){var e=d[0];return c(e),a=a.slice(e.length),d}}function o(){n(/^\s*/)}function p(a){var b;for(a=a||[];b=q();)b!==!1&&a.push(b);return a}function q(){var b=g();if("/"==a.charAt(0)&&"*"==a.charAt(1)){for(var d=2;""!=a.charAt(d)&&("*"!=a.charAt(d)||"/"!=a.charAt(d+1));)++d;if(d+=2,""===a.charAt(d-1))return i("End of comment missing");var e=a.slice(2,d-2);return H+=2,c(e),a=a.slice(d),H+=2,b({type:"comment",comment:e})}}function r(){var a=n(/^([^{]+)/);if(a)return d(a[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(a){return a.replace(/,/g,"")}).split(/\s*(?![^(]*\)),\s*/).map(function(a){return a.replace(/\u200C/g,",")})}function s(){var a=g(),b=n(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(b){if(b=d(b[0]),!n(/^:\s*/))return i("property missing ':'");var c=n(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),e=a({type:"declaration",property:b.replace(f,""),value:c?d(c[0]).replace(f,""):""});return n(/^[;\s]*/),e}}function t(){var a=[];if(!k())return i("missing '{'");p(a);for(var b;b=s();)b!==!1&&(a.push(b),p(a));return l()?a:i("missing '}'")}function u(){for(var a,b=[],c=g();a=n(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)b.push(a[1]),n(/^,\s*/);if(b.length)return c({type:"keyframe",values:b,declarations:t()})}function v(){var a=g(),b=n(/^@([-\w]+)?keyframes\s*/);if(b){var c=b[1],b=n(/^([-\w]+)\s*/);if(!b)return i("@keyframes missing name");var d=b[1];if(!k())return i("@keyframes missing '{'");for(var e,f=p();e=u();)f.push(e),f=f.concat(p());return l()?a({type:"keyframes",name:d,vendor:c,keyframes:f}):i("@keyframes missing '}'")}}function w(){var a=g(),b=n(/^@supports *([^{]+)/);if(b){var c=d(b[1]);if(!k())return i("@supports missing '{'");var e=p().concat(m());return l()?a({type:"supports",supports:c,rules:e}):i("@supports missing '}'")}}function x(){var a=g(),b=n(/^@host\s*/);if(b){if(!k())return i("@host missing '{'");var c=p().concat(m());return l()?a({type:"host",rules:c}):i("@host missing '}'")}}function y(){var a=g(),b=n(/^@media *([^{]+)/);if(b){var c=d(b[1]);if(!k())return i("@media missing '{'");var e=p().concat(m());return l()?a({type:"media",media:c,rules:e}):i("@media missing '}'")}}function z(){var a=g(),b=n(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(b)return a({type:"custom-media",name:d(b[1]),media:d(b[2])})}function A(){var a=g(),b=n(/^@page */);if(b){var c=r()||[];if(!k())return i("@page missing '{'");for(var d,e=p();d=s();)e.push(d),e=e.concat(p());return l()?a({type:"page",selectors:c,declarations:e}):i("@page missing '}'")}}function B(){var a=g(),b=n(/^@([-\w]+)?document *([^{]+)/);if(b){var c=d(b[1]),e=d(b[2]);if(!k())return i("@document missing '{'");var f=p().concat(m());return l()?a({type:"document",document:e,vendor:c,rules:f}):i("@document missing '}'")}}function C(){var a=g(),b=n(/^@font-face\s*/);if(b){if(!k())return i("@font-face missing '{'");for(var c,d=p();c=s();)d.push(c),d=d.concat(p());return l()?a({type:"font-face",declarations:d}):i("@font-face missing '}'")}}function D(a){var b=new RegExp("^@"+a+"\\s*([^;]+);");return function(){var c=g(),d=n(b);if(d){var e={type:a};return e[a]=d[1].trim(),c(e)}}}function E(){if("@"==a[0])return v()||y()||z()||w()||J()||K()||L()||B()||A()||x()||C()}function F(){var a=g(),b=r();return b?(p(),a({type:"rule",selectors:b,declarations:t()})):i("selector missing")}b=b||{};var G=1,H=1;h.prototype.content=a;var I=[],J=D("import"),K=D("charset"),L=D("namespace");return e(j())},c.exports}),System.registerDynamic("npm:[email protected]/lib/stringify/compress.js",["./compiler","inherits"],!0,function(a,b,c){function d(a){e.call(this,a)}var e=(this||self,a("./compiler")),f=a("inherits");return c.exports=d,f(d,e),d.prototype.compile=function(a){return a.stylesheet.rules.map(this.visit,this).join("")},d.prototype.comment=function(a){return this.emit("",a.position)},d.prototype.import=function(a){return this.emit("@import "+a.import+";",a.position)},d.prototype.media=function(a){return this.emit("@media "+a.media,a.position)+this.emit("{")+this.mapVisit(a.rules)+this.emit("}")},d.prototype.document=function(a){var b="@"+(a.vendor||"")+"document "+a.document;return this.emit(b,a.position)+this.emit("{")+this.mapVisit(a.rules)+this.emit("}")},d.prototype.charset=function(a){return this.emit("@charset "+a.charset+";",a.position)},d.prototype.namespace=function(a){return this.emit("@namespace "+a.namespace+";",a.position)},d.prototype.supports=function(a){return this.emit("@supports "+a.supports,a.position)+this.emit("{")+this.mapVisit(a.rules)+this.emit("}")},d.prototype.keyframes=function(a){return this.emit("@"+(a.vendor||"")+"keyframes "+a.name,a.position)+this.emit("{")+this.mapVisit(a.keyframes)+this.emit("}")},d.prototype.keyframe=function(a){var b=a.declarations;return this.emit(a.values.join(","),a.position)+this.emit("{")+this.mapVisit(b)+this.emit("}")},d.prototype.page=function(a){var b=a.selectors.length?a.selectors.join(", "):"";return this.emit("@page "+b,a.position)+this.emit("{")+this.mapVisit(a.declarations)+this.emit("}")},d.prototype["font-face"]=function(a){return this.emit("@font-face",a.position)+this.emit("{")+this.mapVisit(a.declarations)+this.emit("}")},d.prototype.host=function(a){return this.emit("@host",a.position)+this.emit("{")+this.mapVisit(a.rules)+this.emit("}")},d.prototype["custom-media"]=function(a){return this.emit("@custom-media "+a.name+" "+a.media+";",a.position)},d.prototype.rule=function(a){var b=a.declarations;return b.length?this.emit(a.selectors.join(","),a.position)+this.emit("{")+this.mapVisit(b)+this.emit("}"):""},d.prototype.declaration=function(a){return this.emit(a.property+":"+a.value,a.position)+this.emit(";")},c.exports}),System.registerDynamic("npm:[email protected]/lib/stringify/compiler.js",[],!0,function(a,b,c){function d(a){this.options=a||{}}this||self;return c.exports=d,d.prototype.emit=function(a){return a},d.prototype.visit=function(a){return this[a.type](a)},d.prototype.mapVisit=function(a,b){var c="";b=b||"";for(var d=0,e=a.length;d<e;d++)c+=this.visit(a[d]),b&&d<e-1&&(c+=this.emit(b));return c},c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"inherits.js",format:"cjs",meta:{"*.json":{format:"json"}},map:{"./inherits.js":{browser:"./inherits_browser.js"}}}}),System.registerDynamic("npm:[email protected]/inherits_browser.js",[],!0,function(a,b,c){this||self;return"function"==typeof Object.create?c.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:c.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a},c.exports}),System.registerDynamic("npm:[email protected]/lib/stringify/identity.js",["./compiler","inherits"],!0,function(a,b,c){function d(a){a=a||{},e.call(this,a),this.indentation=a.indent}var e=(this||self,a("./compiler")),f=a("inherits");return c.exports=d,f(d,e),d.prototype.compile=function(a){return this.stylesheet(a)},d.prototype.stylesheet=function(a){return this.mapVisit(a.stylesheet.rules,"\n\n")},d.prototype.comment=function(a){return this.emit(this.indent()+"/*"+a.comment+"*/",a.position)},d.prototype.import=function(a){return this.emit("@import "+a.import+";",a.position)},d.prototype.media=function(a){return this.emit("@media "+a.media,a.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(a.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},d.prototype.document=function(a){var b="@"+(a.vendor||"")+"document "+a.document;return this.emit(b,a.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(a.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},d.prototype.charset=function(a){return this.emit("@charset "+a.charset+";",a.position)},d.prototype.namespace=function(a){return this.emit("@namespace "+a.namespace+";",a.position)},d.prototype.supports=function(a){return this.emit("@supports "+a.supports,a.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(a.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},d.prototype.keyframes=function(a){return this.emit("@"+(a.vendor||"")+"keyframes "+a.name,a.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(a.keyframes,"\n")+this.emit(this.indent(-1)+"}")},d.prototype.keyframe=function(a){var b=a.declarations;return this.emit(this.indent())+this.emit(a.values.join(", "),a.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(b,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},d.prototype.page=function(a){var b=a.selectors.length?a.selectors.join(", ")+" ":"";return this.emit("@page "+b,a.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(a.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},d.prototype["font-face"]=function(a){return this.emit("@font-face ",a.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(a.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},d.prototype.host=function(a){return this.emit("@host",a.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(a.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},d.prototype["custom-media"]=function(a){return this.emit("@custom-media "+a.name+" "+a.media+";",a.position)},d.prototype.rule=function(a){var b=this.indent(),c=a.declarations;return c.length?this.emit(a.selectors.map(function(a){return b+a}).join(",\n"),a.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(c,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},d.prototype.declaration=function(a){return this.emit(this.indent())+this.emit(a.property+": "+a.value,a.position)+this.emit(";")},d.prototype.indent=function(a){return this.level=this.level||1,null!=a?(this.level+=a,""):Array(this.level).join(this.indentation||" ")},c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/binary-search.js",["amdefine"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a,b,c,e,f){var g=Math.floor((b-a)/2)+a,h=f(c,e[g],!0);return 0===h?g:h>0?b-g>1?d(g,b,c,e,f):g:g-a>1?d(a,g,c,e,f):a<0?-1:a}b.search=function(a,b,c){return 0===b.length?-1:d(-1,b.length,a,b,c)}}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/source-map-consumer.js",["amdefine","./util","./binary-search","./array-set","./base64-vlq"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a){var b=a;"string"==typeof a&&(b=JSON.parse(a.replace(/^\)\]\}'/,"")));var c=e.getArg(b,"version"),d=e.getArg(b,"sources"),f=e.getArg(b,"names",[]),h=e.getArg(b,"sourceRoot",null),i=e.getArg(b,"sourcesContent",null),j=e.getArg(b,"mappings"),k=e.getArg(b,"file",null);if(c!=this._version)throw new Error("Unsupported version: "+c);d=d.map(e.normalize),this._names=g.fromArray(f,!0),this._sources=g.fromArray(d,!0),this.sourceRoot=h,this.sourcesContent=i,this._mappings=j,this.file=k}var e=a("./util"),f=a("./binary-search"),g=a("./array-set").ArraySet,h=a("./base64-vlq");d.fromSourceMap=function(a){var b=Object.create(d.prototype);return b._names=g.fromArray(a._names.toArray(),!0),b._sources=g.fromArray(a._sources.toArray(),!0),b.sourceRoot=a._sourceRoot,b.sourcesContent=a._generateSourcesContent(b._sources.toArray(),b.sourceRoot),b.file=a._file,b.__generatedMappings=a._mappings.toArray().slice(),b.__originalMappings=a._mappings.toArray().slice().sort(e.compareByOriginalPositions),b},d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return null!=this.sourceRoot?e.join(this.sourceRoot,a):a},this)}}),d.prototype.__generatedMappings=null,Object.defineProperty(d.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),d.prototype.__originalMappings=null,Object.defineProperty(d.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),d.prototype._nextCharIsMappingSeparator=function(a){var b=a.charAt(0);return";"===b||","===b},d.prototype._parseMappings=function(a,b){for(var c,d=1,f=0,g=0,i=0,j=0,k=0,l=a,m={};l.length>0;)if(";"===l.charAt(0))d++,l=l.slice(1),f=0;else if(","===l.charAt(0))l=l.slice(1);else{if(c={},c.generatedLine=d,h.decode(l,m),c.generatedColumn=f+m.value,f=c.generatedColumn,l=m.rest,l.length>0&&!this._nextCharIsMappingSeparator(l)){if(h.decode(l,m),c.source=this._sources.at(j+m.value),j+=m.value,l=m.rest,0===l.length||this._nextCharIsMappingSeparator(l))throw new Error("Found a source, but no line and column");if(h.decode(l,m),c.originalLine=g+m.value,g=c.originalLine,c.originalLine+=1,l=m.rest,0===l.length||this._nextCharIsMappingSeparator(l))throw new Error("Found a source and line, but no column");h.decode(l,m),c.originalColumn=i+m.value,i=c.originalColumn,l=m.rest,l.length>0&&!this._nextCharIsMappingSeparator(l)&&(h.decode(l,m),c.name=this._names.at(k+m.value),k+=m.value,l=m.rest)}this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}this.__generatedMappings.sort(e.compareByGeneratedPositions),this.__originalMappings.sort(e.compareByOriginalPositions)},d.prototype._findMapping=function(a,b,c,d,e){if(a[c]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+a[c]);if(a[d]<0)throw new TypeError("Column must be greater than or equal to 0, got "+a[d]);return f.search(a,b,e)},d.prototype.computeColumnSpans=function(){for(var a=0;a<this._generatedMappings.length;++a){var b=this._generatedMappings[a];if(a+1<this._generatedMappings.length){var c=this._generatedMappings[a+1];if(b.generatedLine===c.generatedLine){b.lastGeneratedColumn=c.generatedColumn-1;continue}}b.lastGeneratedColumn=1/0}},d.prototype.originalPositionFor=function(a){var b={generatedLine:e.getArg(a,"line"),generatedColumn:e.getArg(a,"column")},c=this._findMapping(b,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositions);if(c>=0){var d=this._generatedMappings[c];if(d.generatedLine===b.generatedLine){var f=e.getArg(d,"source",null);return null!=f&&null!=this.sourceRoot&&(f=e.join(this.sourceRoot,f)),{source:f,line:e.getArg(d,"originalLine",null),column:e.getArg(d,"originalColumn",null),name:e.getArg(d,"name",null)}}}return{source:null,line:null,column:null,name:null}},d.prototype.sourceContentFor=function(a){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(a=e.relative(this.sourceRoot,a)),this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];var b;if(null!=this.sourceRoot&&(b=e.urlParse(this.sourceRoot))){var c=a.replace(/^file:\/\//,"");if("file"==b.scheme&&this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];if((!b.path||"/"==b.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}throw new Error('"'+a+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(a){var b={source:e.getArg(a,"source"),originalLine:e.getArg(a,"line"),originalColumn:e.getArg(a,"column")};null!=this.sourceRoot&&(b.source=e.relative(this.sourceRoot,b.source));var c=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions);if(c>=0){var d=this._originalMappings[c];return{line:e.getArg(d,"generatedLine",null),column:e.getArg(d,"generatedColumn",null),lastColumn:e.getArg(d,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype.allGeneratedPositionsFor=function(a){var b={source:e.getArg(a,"source"),originalLine:e.getArg(a,"line"),originalColumn:1/0};null!=this.sourceRoot&&(b.source=e.relative(this.sourceRoot,b.source));var c=[],d=this._findMapping(b,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions);if(d>=0)for(var f=this._originalMappings[d];f&&f.originalLine===b.originalLine;)c.push({line:e.getArg(f,"generatedLine",null),column:e.getArg(f,"generatedColumn",null),lastColumn:e.getArg(f,"lastGeneratedColumn",null)}),f=this._originalMappings[--d];return c.reverse()},d.GENERATED_ORDER=1,d.ORIGINAL_ORDER=2,d.prototype.eachMapping=function(a,b,c){var f,g=b||null,h=c||d.GENERATED_ORDER;switch(h){case d.GENERATED_ORDER:f=this._generatedMappings;break;case d.ORIGINAL_ORDER:f=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;f.map(function(a){var b=a.source;return null!=b&&null!=i&&(b=e.join(i,b)),{source:b,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:a.name}}).forEach(a,g)},b.SourceMapConsumer=d}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/base64.js",["amdefine"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){var d={},e={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(a,b){d[a]=b,e[b]=a}),b.encode=function(a){if(a in e)return e[a];throw new TypeError("Must be between 0 and 63: "+a)},b.decode=function(a){if(a in d)return d[a];throw new TypeError("Not a valid base 64 digit: "+a)}}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/base64-vlq.js",["amdefine","./base64"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a){return a<0?(-a<<1)+1:(a<<1)+0}function e(a){var b=1===(1&a),c=a>>1;return b?-c:c}var f=a("./base64"),g=5,h=1<<g,i=h-1,j=h;b.encode=function(a){var b,c="",e=d(a);do b=e&i,e>>>=g,e>0&&(b|=j),c+=f.encode(b);while(e>0);return c},b.decode=function(a,b){var c,d,h=0,k=a.length,l=0,m=0;do{if(h>=k)throw new Error("Expected more digits in base 64 VLQ value.");d=f.decode(a.charAt(h++)),c=!!(d&j),d&=i,l+=d<<m,m+=g}while(c);b.value=e(l),b.rest=a.slice(h)}}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/array-set.js",["amdefine","./util"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(){this._array=[],this._set={}}var e=a("./util");d.fromArray=function(a,b){for(var c=new d,e=0,f=a.length;e<f;e++)c.add(a[e],b);return c},d.prototype.add=function(a,b){var c=this.has(a),d=this._array.length;c&&!b||this._array.push(a),c||(this._set[e.toSetString(a)]=d)},d.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this._set,e.toSetString(a))},d.prototype.indexOf=function(a){if(this.has(a))return this._set[e.toSetString(a)];throw new Error('"'+a+'" is not in the set.')},d.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},d.prototype.toArray=function(){return this._array.slice()},b.ArraySet=d}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/mapping-list.js",["amdefine","./util"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a,b){var c=a.generatedLine,d=b.generatedLine,e=a.generatedColumn,g=b.generatedColumn;return d>c||d==c&&g>=e||f.compareByGeneratedPositions(a,b)<=0}function e(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var f=a("./util");e.prototype.unsortedForEach=function(a,b){this._array.forEach(a,b)},e.prototype.add=function(a){d(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},e.prototype.toArray=function(){return this._sorted||(this._array.sort(f.compareByGeneratedPositions),this._sorted=!0),this._array},b.MappingList=e}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/source-map-generator.js",["amdefine","./base64-vlq","./util","./array-set","./mapping-list"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a){a||(a={}),this._file=f.getArg(a,"file",null),this._sourceRoot=f.getArg(a,"sourceRoot",null),this._skipValidation=f.getArg(a,"skipValidation",!1),this._sources=new g,this._names=new g,this._mappings=new h,this._sourcesContents=null}var e=a("./base64-vlq"),f=a("./util"),g=a("./array-set").ArraySet,h=a("./mapping-list").MappingList;d.prototype._version=3,d.fromSourceMap=function(a){var b=a.sourceRoot,c=new d({file:a.file,sourceRoot:b});return a.eachMapping(function(a){var d={generated:{line:a.generatedLine,column:a.generatedColumn}};null!=a.source&&(d.source=a.source,null!=b&&(d.source=f.relative(b,d.source)),d.original={line:a.originalLine,column:a.originalColumn},null!=a.name&&(d.name=a.name)),c.addMapping(d)}),a.sources.forEach(function(b){var d=a.sourceContentFor(b);null!=d&&c.setSourceContent(b,d)}),c},d.prototype.addMapping=function(a){var b=f.getArg(a,"generated"),c=f.getArg(a,"original",null),d=f.getArg(a,"source",null),e=f.getArg(a,"name",null);this._skipValidation||this._validateMapping(b,c,d,e),null==d||this._sources.has(d)||this._sources.add(d),null==e||this._names.has(e)||this._names.add(e),this._mappings.add({generatedLine:b.line,generatedColumn:b.column,originalLine:null!=c&&c.line,originalColumn:null!=c&&c.column,source:d,name:e})},d.prototype.setSourceContent=function(a,b){var c=a;null!=this._sourceRoot&&(c=f.relative(this._sourceRoot,c)),null!=b?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[f.toSetString(c)]=b):this._sourcesContents&&(delete this._sourcesContents[f.toSetString(c)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},d.prototype.applySourceMap=function(a,b,c){var d=b;if(null==b){if(null==a.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');d=a.file}var e=this._sourceRoot;null!=e&&(d=f.relative(e,d));var h=new g,i=new g;this._mappings.unsortedForEach(function(b){if(b.source===d&&null!=b.originalLine){var g=a.originalPositionFor({line:b.originalLine,column:b.originalColumn});null!=g.source&&(b.source=g.source,null!=c&&(b.source=f.join(c,b.source)),null!=e&&(b.source=f.relative(e,b.source)),b.originalLine=g.line,b.originalColumn=g.column,null!=g.name&&(b.name=g.name))}var j=b.source;null==j||h.has(j)||h.add(j);var k=b.name;null==k||i.has(k)||i.add(k)},this),this._sources=h,this._names=i,a.sources.forEach(function(b){var d=a.sourceContentFor(b);null!=d&&(null!=c&&(b=f.join(c,b)),null!=e&&(b=f.relative(e,b)),this.setSourceContent(b,d))},this)},d.prototype._validateMapping=function(a,b,c,d){if((!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0)||b||c||d)&&!(a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&a.line>0&&a.column>=0&&b.line>0&&b.column>=0&&c))throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:c,original:b,name:d}))},d.prototype._serializeMappings=function(){for(var a,b=0,c=1,d=0,g=0,h=0,i=0,j="",k=this._mappings.toArray(),l=0,m=k.length;l<m;l++){if(a=k[l],a.generatedLine!==c)for(b=0;a.generatedLine!==c;)j+=";",c++;else if(l>0){if(!f.compareByGeneratedPositions(a,k[l-1]))continue;j+=","}j+=e.encode(a.generatedColumn-b),b=a.generatedColumn,null!=a.source&&(j+=e.encode(this._sources.indexOf(a.source)-i),i=this._sources.indexOf(a.source),j+=e.encode(a.originalLine-1-g),g=a.originalLine-1,j+=e.encode(a.originalColumn-d),d=a.originalColumn,null!=a.name&&(j+=e.encode(this._names.indexOf(a.name)-h),h=this._names.indexOf(a.name)))}return j},d.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=f.relative(b,a));var c=f.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},d.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(a.file=this._file),null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},d.prototype.toString=function(){return JSON.stringify(this)},b.SourceMapGenerator=d}),c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"amdefine.js",format:"cjs",meta:{"*":{globals:{process:"process"}},"*.json":{format:"json"}}}}),System.registerDynamic("npm:[email protected]/amdefine.js",["path","process"],!0,function(a,b,c){"use strict";function d(b,c){function d(a){var b,c;for(b=0;a[b];b+=1)if(c=a[b],"."===c)a.splice(b,1),b-=1;else if(".."===c){if(1===b&&(".."===a[2]||".."===a[0]))break;b>0&&(a.splice(b-1,2),b-=2)}}function f(a,b){var c;return a&&"."===a.charAt(0)&&b&&(c=b.split("/"),c=c.slice(0,c.length-1),c=c.concat(a.split("/")),d(c),a=c.join("/")),a}function h(a){return function(b){return f(b,a)}}function i(a){function b(b){o[a]=b}return b.fromText=function(a,b){throw new Error("amdefine does not implement load.fromText")},b}function j(a,d,e){var f,h,i,j;if(a)h=o[a]={},i={id:a,uri:g,exports:h},f=l(c,h,i,a);else{if(p)throw new Error("amdefine with no module ID cannot be called more than once per file.");p=!0,h=b.exports,i=b,f=l(c,h,i,b.id)}d&&(d=d.map(function(a){return f(a)})),j="function"==typeof e?e.apply(i.exports,d):e,void 0!==j&&(i.exports=j,a&&(o[a]=i.exports))}function k(a,b,c){Array.isArray(a)?(c=b,b=a,a=void 0):"string"!=typeof a&&(c=a,a=b=void 0),b&&!Array.isArray(b)&&(c=b,b=void 0),b||(b=["require","exports","module"]),a?n[a]=[a,b,c]:j(a,b,c)}var l,m,n={},o={},p=!1,q=a("path");return l=function(a,b,c,d){function g(f,g){return"string"==typeof f?m(a,b,c,f,d):(f=f.map(function(e){return m(a,b,c,e,d)}),void(g&&e.nextTick(function(){g.apply(null,f)})))}return g.toUrl=function(a){return 0===a.indexOf(".")?f(a,q.dirname(c.filename)):a},g},c=c||function(){return b.require.apply(b,arguments)},m=function(a,b,c,d,e){var g,k,p=d.indexOf("!"),q=d;if(p===-1){if(d=f(d,e),"require"===d)return l(a,b,c,e);if("exports"===d)return b;if("module"===d)return c;if(o.hasOwnProperty(d))return o[d];if(n[d])return j.apply(null,n[d]),o[d];if(a)return a(q);throw new Error("No module with ID: "+d)}return g=d.substring(0,p),d=d.substring(p+1,d.length),k=m(a,b,c,g,e),d=k.normalize?k.normalize(d,h(e)):f(d,e),o[d]?o[d]:(k.load(d,l(a,b,c,e),i(d),{}),o[d])},k.require=function(a){return o[a]?o[a]:n[a]?(j.apply(null,n[a]),o[a]):void 0},k.amd={},k}var e=a("process"),f=(this||self,System.get("@@cjs-helpers").getPathVars(c.id)),g=f.filename;f.dirname;return c.exports=d,c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/util.js",["amdefine"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a,b,c){if(b in a)return a[b];if(3===arguments.length)return c;throw new Error('"'+b+'" is a required argument.')}function e(a){var b=a.match(o);return b?{scheme:b[1],auth:b[2],host:b[3],port:b[4],path:b[5]}:null}function f(a){var b="";return a.scheme&&(b+=a.scheme+":"),b+="//",a.auth&&(b+=a.auth+"@"),a.host&&(b+=a.host),a.port&&(b+=":"+a.port),a.path&&(b+=a.path),b}function g(a){var b=a,c=e(a);if(c){if(!c.path)return a;b=c.path}for(var d,g="/"===b.charAt(0),h=b.split(/\/+/),i=0,j=h.length-1;j>=0;j--)d=h[j],"."===d?h.splice(j,1):".."===d?i++:i>0&&(""===d?(h.splice(j+1,i),i=0):(h.splice(j,2),i--));return b=h.join("/"),""===b&&(b=g?"/":"."),c?(c.path=b,f(c)):b}function h(a,b){""===a&&(a="."),""===b&&(b=".");var c=e(b),d=e(a);if(d&&(a=d.path||"/"),c&&!c.scheme)return d&&(c.scheme=d.scheme),f(c);if(c||b.match(p))return b;if(d&&!d.host&&!d.path)return d.host=b,f(d);var h="/"===b.charAt(0)?b:g(a.replace(/\/+$/,"")+"/"+b);return d?(d.path=h,f(d)):h}function i(a,b){""===a&&(a="."),a=a.replace(/\/$/,"");var c=e(a);return"/"==b.charAt(0)&&c&&"/"==c.path?b.slice(1):0===b.indexOf(a+"/")?b.substr(a.length+1):b}function j(a){return"$"+a}function k(a){return a.substr(1)}function l(a,b){var c=a||"",d=b||"";return(c>d)-(c<d)}function m(a,b,c){var d;return(d=l(a.source,b.source))?d:(d=a.originalLine-b.originalLine)?d:(d=a.originalColumn-b.originalColumn,d||c?d:(d=l(a.name,b.name))?d:(d=a.generatedLine-b.generatedLine,d?d:a.generatedColumn-b.generatedColumn))}function n(a,b,c){var d;return(d=a.generatedLine-b.generatedLine)?d:(d=a.generatedColumn-b.generatedColumn,d||c?d:(d=l(a.source,b.source))?d:(d=a.originalLine-b.originalLine)?d:(d=a.originalColumn-b.originalColumn,d?d:l(a.name,b.name)))}b.getArg=d;var o=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,p=/^data:.+\,.+$/;b.urlParse=e,b.urlGenerate=f,b.normalize=g,b.join=h,b.relative=i,
b.toSetString=j,b.fromSetString=k,b.compareByOriginalPositions=m,b.compareByGeneratedPositions=n}),c.exports}),System.registerDynamic("npm:[email protected]/lib/source-map/source-node.js",["amdefine","./source-map-generator","./util"],!0,function(a,b,c){var d;this||self;if("function"!=typeof d)var d=a("amdefine")(c,a);return d(function(a,b,c){function d(a,b,c,d,e){this.children=[],this.sourceContents={},this.line=null==a?null:a,this.column=null==b?null:b,this.source=null==c?null:c,this.name=null==e?null:e,this[i]=!0,null!=d&&this.add(d)}var e=a("./source-map-generator").SourceMapGenerator,f=a("./util"),g=/(\r?\n)/,h=10,i="$$$isSourceNode$$$";d.fromStringWithSourceMap=function(a,b,c){function e(a,b){if(null===a||void 0===a.source)h.add(b);else{var e=c?f.join(c,a.source):a.source;h.add(new d(a.originalLine,a.originalColumn,e,b,a.name))}}var h=new d,i=a.split(g),j=function(){var a=i.shift(),b=i.shift()||"";return a+b},k=1,l=0,m=null;return b.eachMapping(function(a){if(null!==m){if(!(k<a.generatedLine)){var b=i[0],c=b.substr(0,a.generatedColumn-l);return i[0]=b.substr(a.generatedColumn-l),l=a.generatedColumn,e(m,c),void(m=a)}var c="";e(m,j()),k++,l=0}for(;k<a.generatedLine;)h.add(j()),k++;if(l<a.generatedColumn){var b=i[0];h.add(b.substr(0,a.generatedColumn)),i[0]=b.substr(a.generatedColumn),l=a.generatedColumn}m=a},this),i.length>0&&(m&&e(m,j()),h.add(i.join(""))),b.sources.forEach(function(a){var d=b.sourceContentFor(a);null!=d&&(null!=c&&(a=f.join(c,a)),h.setSourceContent(a,d))}),h},d.prototype.add=function(a){if(Array.isArray(a))a.forEach(function(a){this.add(a)},this);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);a&&this.children.push(a)}return this},d.prototype.prepend=function(a){if(Array.isArray(a))for(var b=a.length-1;b>=0;b--)this.prepend(a[b]);else{if(!a[i]&&"string"!=typeof a)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+a);this.children.unshift(a)}return this},d.prototype.walk=function(a){for(var b,c=0,d=this.children.length;c<d;c++)b=this.children[c],b[i]?b.walk(a):""!==b&&a(b,{source:this.source,line:this.line,column:this.column,name:this.name})},d.prototype.join=function(a){var b,c,d=this.children.length;if(d>0){for(b=[],c=0;c<d-1;c++)b.push(this.children[c]),b.push(a);b.push(this.children[c]),this.children=b}return this},d.prototype.replaceRight=function(a,b){var c=this.children[this.children.length-1];return c[i]?c.replaceRight(a,b):"string"==typeof c?this.children[this.children.length-1]=c.replace(a,b):this.children.push("".replace(a,b)),this},d.prototype.setSourceContent=function(a,b){this.sourceContents[f.toSetString(a)]=b},d.prototype.walkSourceContents=function(a){for(var b=0,c=this.children.length;b<c;b++)this.children[b][i]&&this.children[b].walkSourceContents(a);for(var d=Object.keys(this.sourceContents),b=0,c=d.length;b<c;b++)a(f.fromSetString(d[b]),this.sourceContents[d[b]])},d.prototype.toString=function(){var a="";return this.walk(function(b){a+=b}),a},d.prototype.toStringWithSourceMap=function(a){var b={code:"",line:1,column:0},c=new e(a),d=!1,f=null,g=null,i=null,j=null;return this.walk(function(a,e){b.code+=a,null!==e.source&&null!==e.line&&null!==e.column?(f===e.source&&g===e.line&&i===e.column&&j===e.name||c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name}),f=e.source,g=e.line,i=e.column,j=e.name,d=!0):d&&(c.addMapping({generated:{line:b.line,column:b.column}}),f=null,d=!1);for(var k=0,l=a.length;k<l;k++)a.charCodeAt(k)===h?(b.line++,b.column=0,k+1===l?(f=null,d=!1):d&&c.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:b.line,column:b.column},name:e.name})):b.column++}),this.walkSourceContents(function(a,b){c.setSourceContent(a,b)}),{code:b.code,map:c}},b.SourceNode=d}),c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"lib/source-map.js",format:"cjs",meta:{"*.json":{format:"json"}},map:{"source-map":"."}}}),System.registerDynamic("npm:[email protected]/lib/source-map.js",["./source-map/source-map-generator","./source-map/source-map-consumer","./source-map/source-node"],!0,function(a,b,c){this||self;return b.SourceMapGenerator=a("./source-map/source-map-generator").SourceMapGenerator,b.SourceMapConsumer=a("./source-map/source-map-consumer").SourceMapConsumer,b.SourceNode=a("./source-map/source-node").SourceNode,c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"source-map-url.js",format:"cjs",meta:{"*.json":{format:"json"}}}}),System.registerDynamic("npm:[email protected]/source-map-url.js",[],!0,function(a,b,c){var d;this||self;return void function(a,e){"function"==typeof d&&d.amd?d(e):"object"==typeof b?c.exports=e():a.sourceMappingURL=e()}(this,function(){var a=/[#@] sourceMappingURL=([^\s'"]*)/,b=RegExp("(?:/\\*(?:\\s*\r?\n(?://)?)?(?:"+a.source+")\\s*\\*/|//(?:"+a.source+"))\\s*$");return{regex:b,_innerRegex:a,getFrom:function(a){var c=a.match(b);return c?c[1]||c[2]||"":null},existsIn:function(a){return b.test(a)},removeFrom:function(a){return a.replace(b,"")},insertBefore:function(a,c){var d=a.match(b);return d?a.slice(0,d.index)+c+a.slice(d.index):a+c}}}),c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"resolve-url.js",format:"cjs",meta:{"*.json":{format:"json"}}}}),System.registerDynamic("npm:[email protected]/resolve-url.js",[],!0,function(a,b,c){var d;this||self;return void function(a,e){"function"==typeof d&&d.amd?d(e):"object"==typeof b?c.exports=e():a.resolveUrl=e()}(this,function(){function a(){var a=arguments.length;if(0===a)throw new Error("resolveUrl requires at least one argument; got none.");var b=document.createElement("base");if(b.href=arguments[0],1===a)return b.href;var c=document.getElementsByTagName("head")[0];c.insertBefore(b,c.firstChild);for(var d,e=document.createElement("a"),f=1;f<a;f++)e.href=arguments[f],d=e.href,b.href=d;return c.removeChild(b),d}return a}),c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"lib/source-map-resolve-node.js",format:"cjs",meta:{"*.json":{format:"json"}},map:{"./lib/source-map-resolve-node.js":{browser:"./source-map-resolve.js"}}}}),System.registerDynamic("npm:[email protected]/source-map-resolve.js",["source-map-url","resolve-url"],!0,function(a,b,c){var d;this||self;return void function(e,f){if("function"==typeof d&&d.amd)d(["source-map-url","resolve-url"],f);else if("object"==typeof b){var g=a("source-map-url"),h=a("resolve-url");c.exports=f(g,h)}else e.sourceMapResolve=f(e.sourceMappingURL,e.resolveUrl)}(this,function(a,b){function c(a,b,c){setImmediate(function(){a(b,c)})}function d(a){return JSON.parse(a.replace(/^\)\]\}'/,""))}function e(a,b,e,f){var h;try{h=g(a,b)}catch(a){return c(f,a)}return!h||h.map?c(f,null,h):void e(h.url,function(a,b){if(a)return f(a);try{h.map=d(String(b))}catch(a){return f(a)}f(null,h)})}function f(a,b,c){var e=g(a,b);return!e||e.map?e:(e.map=d(String(c(e.url))),e)}function g(c,e){var f=a.getFrom(c);if(!f)return null;var g=f.match(m);if(g){var h=g[1],i=g[2],j=g[3];if(!n.test(h))throw new Error("Unuseful data uri mime type: "+(h||"text/plain"));return{sourceMappingURL:f,url:null,sourcesRelativeTo:e,map:d(";base64"===i?atob(j):decodeURIComponent(j))}}var k=b(e,f);return{sourceMappingURL:f,url:k,sourcesRelativeTo:k,map:null}}function h(a,b,d,e,f){"function"==typeof e&&(f=e,e={});var g=a.sources.length,h=!1,i={sourcesResolved:[],sourcesContent:[]},k=function(a){if(!h){if(a)return h=!0,f(a);g--,0===g&&f(null,i)}};j(a,b,e,function(a,b,e){i.sourcesResolved[e]=a,"string"==typeof b?(i.sourcesContent[e]=b,c(k,null)):d(a,function(a,b){i.sourcesContent[e]=String(b),k(a)})})}function i(a,b,c,d){var e={sourcesResolved:[],sourcesContent:[]};return j(a,b,d,function(a,b,d){e.sourcesResolved[d]=a,null!==c&&("string"==typeof b?e.sourcesContent[d]=b:e.sourcesContent[d]=String(c(a)))}),e}function j(a,c,d,e){d=d||{};for(var f,g,h=0,i=a.sources.length;h<i;h++)f=a.sourceRoot&&!d.ignoreSourceRoot?b(c,a.sourceRoot.replace(o,"/"),a.sources[h]):b(c,a.sources[h]),g=(a.sourcesContent||[])[h],e(f,g,h)}function k(a,b,c,d,f){"function"==typeof d&&(f=d,d={}),e(a,b,c,function(a,b){return a?f(a):b?void h(b.map,b.sourcesRelativeTo,c,d,function(a,c){return a?f(a):(b.sourcesResolved=c.sourcesResolved,b.sourcesContent=c.sourcesContent,void f(null,b))}):f(null,null)})}function l(a,b,c,d){var e=f(a,b,c);if(!e)return null;var g=i(e.map,e.sourcesRelativeTo,c,d);return e.sourcesResolved=g.sourcesResolved,e.sourcesContent=g.sourcesContent,e}var m=/^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/,n=/^(?:application|text)\/json$/,o=/\/?$/;return{resolveSourceMap:e,resolveSourceMapSync:f,resolveSources:h,resolveSourcesSync:i,resolve:k,resolveSync:l}}),c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"index.js",format:"cjs",meta:{"*.json":{format:"json"}},map:{"./test":"./test/index.js"}}}),System.registerDynamic("npm:[email protected]/index.js",["path"],!0,function(a,b,c){function d(a){return"\\"===e.sep?a.replace(/\\/g,"/").replace(/^[a-z]:\/?/i,"/"):a}var e=(this||self,a("path"));return c.exports=d,c.exports}),System.registerDynamic("github:jspm/[email protected]",[],!1,function(){return{main:"./fs.js"}}),System.registerDynamic("github:jspm/[email protected]/fs.js",[],!0,function(a,b,c){this||self;return b.readFileSync=function(a){var b,c=new XMLHttpRequest;return c.open("GET",a,!1),c.onreadystatechange=function(d){if(4==c.readyState){var e=c.status;if(e>399&&e<600||400==e)throw"File read error on "+a;b=c.responseText}},c.send(null),b},c.exports}),System.registerDynamic("github:jspm/[email protected]",[],!1,function(){return{main:"./path.js"}}),System.registerDynamic("github:jspm/[email protected]/path.js",["process"],!0,function(a,b,c){function d(a,b){for(var c=0,d=a.length-1;d>=0;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c--;c)a.unshift("..");return a}function e(a,b){if(a.filter)return a.filter(b);for(var c=[],d=0;d<a.length;d++)b(a[d],d,a)&&c.push(a[d]);return c}var f=(this||self,a("process")),g=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,h=function(a){return g.exec(a).slice(1)};b.resolve=function(){for(var a="",b=!1,c=arguments.length-1;c>=-1&&!b;c--){var g=c>=0?arguments[c]:f.cwd();if("string"!=typeof g)throw new TypeError("Arguments to path.resolve must be strings");g&&(a=g+"/"+a,b="/"===g.charAt(0))}return a=d(e(a.split("/"),function(a){return!!a}),!b).join("/"),(b?"/":"")+a||"."},b.normalize=function(a){var c=b.isAbsolute(a),f="/"===i(a,-1);return a=d(e(a.split("/"),function(a){return!!a}),!c).join("/"),a||c||(a="."),a&&f&&(a+="/"),(c?"/":"")+a},b.isAbsolute=function(a){return"/"===a.charAt(0)},b.join=function(){var a=Array.prototype.slice.call(arguments,0);return b.normalize(e(a,function(a,b){if("string"!=typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))},b.relative=function(a,c){function d(a){for(var b=0;b<a.length&&""===a[b];b++);for(var c=a.length-1;c>=0&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=b.resolve(a).substr(1),c=b.resolve(c).substr(1);for(var e=d(a.split("/")),f=d(c.split("/")),g=Math.min(e.length,f.length),h=g,i=0;i<g;i++)if(e[i]!==f[i]){h=i;break}for(var j=[],i=h;i<e.length;i++)j.push("..");return j=j.concat(f.slice(h)),j.join("/")},b.sep="/",b.delimiter=":",b.dirname=function(a){var b=h(a),c=b[0],d=b[1];return c||d?(d&&(d=d.substr(0,d.length-1)),c+d):"."},b.basename=function(a,b){var c=h(a)[2];return b&&c.substr(-1*b.length)===b&&(c=c.substr(0,c.length-b.length)),c},b.extname=function(a){return h(a)[3]};var i="b"==="ab".substr(-1)?function(a,b,c){return a.substr(b,c)}:function(a,b,c){return b<0&&(b=a.length+b),a.substr(b,c)};return c.exports}),System.registerDynamic("npm:[email protected]/lib/stringify/source-map-support.js",["source-map","source-map-resolve","urix","fs","path"],!0,function(a,b,c){function d(a){a._comment=a.comment,a.map=new e,a.position={line:1,column:1},a.files={};for(var c in b)a[c]=b[c]}var e=(this||self,a("source-map").SourceMapGenerator),f=a("source-map").SourceMapConsumer,g=a("source-map-resolve"),h=a("urix"),i=a("fs"),j=a("path");return c.exports=d,b.updatePosition=function(a){var b=a.match(/\n/g);b&&(this.position.line+=b.length);var c=a.lastIndexOf("\n");this.position.column=~c?a.length-c:this.position.column+a.length},b.emit=function(a,b){if(b){var c=h(b.source||"source.css");this.map.addMapping({source:c,generated:{line:this.position.line,column:Math.max(this.position.column-1,0)},original:{line:b.start.line,column:b.start.column-1}}),this.addFile(c,b)}return this.updatePosition(a),a},b.addFile=function(a,b){"string"==typeof b.content&&(Object.prototype.hasOwnProperty.call(this.files,a)||(this.files[a]=b.content))},b.applySourceMaps=function(){Object.keys(this.files).forEach(function(a){var b=this.files[a];if(this.map.setSourceContent(a,b),this.options.inputSourcemaps!==!1){var c=g.resolveSync(b,a,i.readFileSync);if(c){var d=new f(c.map),e=c.sourcesRelativeTo;this.map.applySourceMap(d,a,h(j.dirname(e)))}}},this)},b.comment=function(a){return/^# sourceMappingURL=/.test(a.comment)?this.emit("",a.position):this._comment(a)},c.exports}),System.registerDynamic("npm:[email protected]/lib/stringify/index.js",["./compress","./identity","./source-map-support"],!0,function(a,b,c){var d=(this||self,a("./compress")),e=a("./identity");return c.exports=function(b,c){c=c||{};var f=c.compress?new d(c):new e(c);if(c.sourcemap){var g=a("./source-map-support");g(f);var h=f.compile(b);f.applySourceMaps();var i="generator"===c.sourcemap?f.map:f.map.toJSON();return{code:h,map:i}}var h=f.compile(b);return h},c.exports}),System.registerDynamic("npm:[email protected]",[],!1,function(){return{main:"index.js",format:"cjs",meta:{"*.json":{format:"json"}},map:{"./lib/parse":"./lib/parse/index.js","./lib/stringify":"./lib/stringify/index.js"}}}),System.registerDynamic("npm:[email protected]/index.js",["./lib/parse","./lib/stringify"],!0,function(a,b,c){this||self;return b.parse=a("./lib/parse"),b.stringify=a("./lib/stringify"),c.exports}),System.register("app/transform.js",["css"],function(a,b){"use strict";function c(a,b,d){b.forEach(function(b){var e={};if("media"===b.type){var i=g(b.media),j=d[i]=d[i]||{__expression__:b.media};c(a,b.rules,j)}else"rule"===b.type&&(b.declarations.forEach(function(a){if("declaration"===a.type){var b=f(a.property);e[b]=a.value}}),b.selectors.forEach(function(a){var b=h(a.trim());d[b]=e}))})}function d(a){if(!a)throw new Error("missing css text to transform");var b=!1;a.indexOf("{")===-1&&(b=!0,a=".bootstrapWithCssClass { "+a+" }");var d=e.parse(a),f={};return c(this,d.stylesheet.rules,f),b&&(f=f.bootstrapWithCssClass),f}var e,f,g,h;return a("transform",d),{setters:[function(a){e=a.default}],execute:function(){f=function(a){return a=a.replace(/(-.)/g,function(a){return a[1].toUpperCase()})},g=function(a){return"@media "+a},h=function(a){return a=a.replace(/\s\s+/g," "),a=a.replace(/[^a-zA-Z0-9]/g,"_"),a=a.replace(/^_+/g,""),a=a.replace(/_+$/g,"")}}}}),System.register("app/app.jsx",["npm:[email protected]/babel-helpers/extends.js","npm:[email protected]/babel-helpers/classCallCheck.js","npm:[email protected]/babel-helpers/createClass.js","npm:[email protected]/babel-helpers/possibleConstructorReturn.js","npm:[email protected]/babel-helpers/inherits.js","react","react-dom","./transform.js"],function(a,b){"use strict";var c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){c=a.default},function(a){d=a.default},function(a){e=a.default},function(a){f=a.default},function(a){g=a.default},function(a){h=a.default},function(a){i=a.default},function(a){j=a.transform}],execute:function(){k=function(a){function b(){return d(this,b),f(this,Object.getPrototypeOf(b).apply(this,arguments))}return g(b,a),e(b,[{key:"componentDidUpdate",value:function(a){var b=i.findDOMNode(this),c=b.value.length,d=b.selectionStart;b.value=this.props.value;var e=Math.max(0,b.value.length-c+d);b.selectionStart=b.selectionEnd=e}},{key:"render",value:function(){return h.createElement("textarea",c({},this.props,{value:void 0}))}}]),b}(h.Component),l="\n width: 5vh;\n height: 5vh;\n border-radius: 50%;\n background: #dfdfc2;\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-animation: leftEyeAnimation 3s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);\n animation: leftEyeAnimation 3s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);\n",m="",n=function(a){function b(a){d(this,b);var c=f(this,Object.getPrototypeOf(b).call(this,a));return c.update=c.update.bind(c),c.inputTextUpdate=c.inputTextUpdate.bind(c),c.state={inputText:m},c}return g(b,a),e(b,[{key:"componentDidMount",value:function(){this.update()}},{key:"inputTextUpdate",value:function(a){var b=this;this.setState({inputText:a.target.value},function(){b.update()})}},{key:"update",value:function(){if(console.log("update",arguments),this.state.inputText===m)return void this.setState({inputText:m,error:null});try{var a=j(this.state.inputText),b=JSON.stringify(a,null,this.refs.useNewline.checked?2:0);this.setState({outputText:b,error:null})}catch(a){this.setState({error:a})}}},{key:"render",value:function(){var a={width:"48%",height:"300px"},b=c({},a),d=c({},a);this.state.error&&(b.backgroundColor="lightcoral"),console.log("state",this.state);var e=this.state.inputText,f=this.state.error||this.state.outputText;return h.createElement("div",null,h.createElement("div",{style:{textAlign:"right"}},h.createElement("button",{style:{width:"70px"},className:"output-css-button copy-to-clipboard","data-clipboard-target":"#outputCss"},"Copy to Clipboard"),h.createElement("input",{style:{marginLeft:"15px"},"aria-label":"Format",ref:"useNewline",alt:"Formats the react JSON below.",type:"checkbox",onChange:this.update}),h.createElement("span",{style:{marginRight:"10px"}},"Format")),h.createElement("div",{style:{textAlign:"center"}},h.createElement(k,{name:"inputCss","aria-label":"Input CSS",ref:"inputCss",placeholder:"Type or paste CSS here...",style:d,onChange:this.inputTextUpdate,value:e}),h.createElement("textarea",{id:"outputCss","aria-label":"Output React JSON",name:"outputCss",ref:"outputCss",style:b,value:f})))}}]),b}(h.Component),a("default",n),i.render(h.createElement(n,null),document.getElementById("main"),function(){var a=document.getElementById("loader");a&&(a.style.display="none")})}}});
//# sourceMappingURL=build.js.map