vue2/dist/seed.min.js

1 line
20 KiB
JavaScript

!function(a){function b(a,c,d){var e=b.resolve(a);if(null==e){d=d||a,c=c||"root";var f=new Error('Failed to require "'+d+'" from "'+c+'"');throw f.path=d,f.parent=c,f.require=!0,f}var g=b.modules[e];return g.exports||(g.exports={},g.client=g.component=!0,g.call(this,g.exports,b.relative(e),g)),g.exports}b.modules={},b.aliases={},b.resolve=function(a){"/"===a.charAt(0)&&(a=a.slice(1));for(var c=[a,a+".js",a+".json",a+"/index.js",a+"/index.json"],d=0;d<c.length;d++){var a=c[d];if(b.modules.hasOwnProperty(a))return a;if(b.aliases.hasOwnProperty(a))return b.aliases[a]}},b.normalize=function(a,b){var c=[];if("."!=b.charAt(0))return b;a=a.split("/"),b=b.split("/");for(var d=0;d<b.length;++d)".."==b[d]?a.pop():"."!=b[d]&&""!=b[d]&&c.push(b[d]);return a.concat(c).join("/")},b.register=function(a,c){b.modules[a]=c},b.alias=function(a,c){if(!b.modules.hasOwnProperty(a))throw new Error('Failed to alias "'+a+'", it does not exist');b.aliases[c]=a},b.relative=function(a){function c(a,b){for(var c=a.length;c--;)if(a[c]===b)return c;return-1}function d(c){var e=d.resolve(c);return b(e,a,c)}var e=b.normalize(a,"..");return d.resolve=function(d){var f=d.charAt(0);if("/"==f)return d.slice(1);if("."==f)return b.normalize(e,d);var g=a.split("/"),h=c(g,"deps")+1;return h||(h=0),d=g.slice(0,h+1).join("/")+"/deps/"+d},d.exists=function(a){return b.modules.hasOwnProperty(d.resolve(a))},d},b.register("component-indexof/index.js",function(a,b,c){var d=[].indexOf;c.exports=function(a,b){if(d)return a.indexOf(b);for(var c=0;c<a.length;++c)if(a[c]===b)return c;return-1}}),b.register("component-emitter/index.js",function(a,b,c){function d(a){return a?e(a):void 0}function e(a){for(var b in d.prototype)a[b]=d.prototype[b];return a}var f=b("indexof");c.exports=d,d.prototype.on=function(a,b){return this._callbacks=this._callbacks||{},(this._callbacks[a]=this._callbacks[a]||[]).push(b),this},d.prototype.once=function(a,b){function c(){d.off(a,c),b.apply(this,arguments)}var d=this;return this._callbacks=this._callbacks||{},b._off=c,this.on(a,c),this},d.prototype.off=d.prototype.removeListener=d.prototype.removeAllListeners=function(a,b){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var c=this._callbacks[a];if(!c)return this;if(1==arguments.length)return delete this._callbacks[a],this;var d=f(c,b._off||b);return~d&&c.splice(d,1),this},d.prototype.emit=function(a){this._callbacks=this._callbacks||{};var b=[].slice.call(arguments,1),c=this._callbacks[a];if(c){c=c.slice(0);for(var d=0,e=c.length;e>d;++d)c[d].apply(this,b)}return this},d.prototype.listeners=function(a){return this._callbacks=this._callbacks||{},this._callbacks[a]||[]},d.prototype.hasListeners=function(a){return!!this.listeners(a).length}}),b.register("seed/src/main.js",function(a,b,c){var d=b("./config"),e=b("./viewmodel"),f=b("./directives"),g=b("./filters"),h=b("./text-parser"),i=b("./utils"),j=i.eventbus,k={};k.utils=i,k.broadcast=function(){j.emit.apply(j,arguments)},k.directive=function(a,b){return b?(f[a]=b,void 0):f[a]},k.filter=function(a,b){return b?(g[a]=b,void 0):g[a]},k.config=function(a){if(a)for(var b in a)d[b]=a[b];h.buildRegex()},k.ViewModel=e,e.extend=function(a){var b=function(b){b=b||{},a.template&&(b.template=i.getTemplate(a.template)),a.initialize&&(b.initialize=a.initialize),e.call(this,b)},c=b.prototype=Object.create(e.prototype);if(c.constructor=b,a.properties)for(var d in a.properties)c[d]=a.properties[d];return b},c.exports=k}),b.register("seed/src/config.js",function(a,b,c){c.exports={prefix:"sd",debug:!1,interpolateTags:{open:"{{",close:"}}"}}}),b.register("seed/src/utils.js",function(b,c,d){function e(a){return i.call(a).slice(8,-1)}function f(a){var b=e(a);if("Array"===b)return a.map(f);if("Object"===b){if(a.get)return a.get();var c,d={};for(var g in a)c=a[g],"function"!=typeof c&&a.hasOwnProperty(g)&&"$"!==g.charAt(0)&&(d[g]=f(c));return d}return"Function"!==b?a:void 0}var g=c("./config"),h=c("emitter"),i=Object.prototype.toString,j=Array.prototype,k={},l={remove:function(a){"number"!=typeof a&&(a=a.$index),this.splice(a,1)},replace:function(a,b){"number"!=typeof a&&(a=a.$index),this.splice(a,1,b)}},m=["push","pop","shift","unshift","splice","sort","reverse"],n={};m.forEach(function(a){n[a]=function(){var b=j[a].apply(this,arguments);this.emit("mutate",{method:a,args:j.slice.call(arguments),result:b})}}),d.exports={typeOf:e,dump:f,serialize:function(a){return JSON.stringify(f(a))},getNestedValue:function(b,c){if(1===c.length)return b[c[0]];for(var d=0;b[c[d]];)b=b[c[d]],d++;return d===c.length?b:a},watchArray:function(a){h(a);for(var b,c=m.length;c--;)b=m[c],a[b]=n[b];for(b in l)a[b]=l[b]},getTemplate:function(a){var b=k[a];if(!b&&null!==b){var c="["+g.prefix+'-template="'+a+'"]';b=k[a]=document.querySelector(c),b&&b.parentNode.removeChild(b)}return b},log:function(){return g.debug&&console.log.apply(console,arguments),this},warn:function(){return g.debug&&console.warn.apply(console,arguments),this}}}),b.register("seed/src/compiler.js",function(a,b,c){function d(a,b){g.log("\nnew Compiler instance: ",a.$el,"\n"),b=b||{};for(var c in b)this[c]=b[c];this.vm=a,a.$compiler=this,this.el=a.$el,this.bindings={},this.directives=[],this.watchers={},this.computed=[],this.contextBindings=[];var d,e=b.data;if(e){e instanceof a.constructor&&(e=g.dump(e));for(d in e)a[d]=e[d]}b.initialize&&b.initialize.apply(a,b.args||[]),this.compileNode(this.el,!0);for(d in a)a.hasOwnProperty(d)&&"$"!==d.charAt(0)&&!this.bindings[d]&&this.createBinding(d);this.computed.length&&k.parse(this.computed),this.computed=null,this.contextBindings.length&&this.bindContexts(this.contextBindings),this.contextBindings=null,g.log("\ncompilation done.\n")}function e(a,b){if(a.nesting)for(var c=a.nesting;b.parentCompiler&&c--;)b=b.parentCompiler;else if(a.root)for(;b.parentCompiler;)b=b.parentCompiler;return b}var f=b("./config"),g=b("./utils"),h=b("./binding"),i=b("./directive-parser"),j=b("./text-parser"),k=b("./deps-parser"),l=Array.prototype.slice,m=f.prefix+"-controller",n=f.prefix+"-each",o=d.prototype;o.compileNode=function(a,b){var c=this;if(3===a.nodeType)c.compileTextNode(a);else if(1===a.nodeType){var e,f=a.getAttribute(n),g=a.getAttribute(m);if(f)e=i.parse(n,f),e&&(e.el=a,c.bindDirective(e));else if(g&&!b)new d(a,{child:!0,parentCompiler:c});else{if(a.attributes&&a.attributes.length)for(var h,j,k,o,p,q=l.call(a.attributes),r=q.length;r--;)if(h=q[r],h.name!==m){for(k=!1,o=h.value.split(","),j=o.length;j--;)p=o[j],e=i.parse(h.name,p),e&&(k=!0,e.el=a,c.bindDirective(e));k&&a.removeAttribute(h.name)}a.childNodes.length&&l.call(a.childNodes).forEach(c.compileNode,c)}}},o.compileTextNode=function(a){var b=j.parse(a);if(b){for(var c,d,e,g=this,h=f.prefix+"-text",k=0,l=b.length;l>k;k++)d=b[k],c=document.createTextNode(""),d.key?(e=i.parse(h,d.key),e&&(e.el=c,g.bindDirective(e))):c.nodeValue=d,a.parentNode.insertBefore(c,a);a.parentNode.removeChild(a)}},o.createBinding=function(a){g.log(" created binding: "+a);var b=new h(this,a);return this.bindings[a]=b,b.isComputed&&this.computed.push(b),b},o.bindDirective=function(a){this.directives.push(a),a.compiler=this,a.vm=this.vm;var b=a.key,c=this;this.each&&(0===b.indexOf(this.eachPrefix)?b=a.key=b.replace(this.eachPrefix,""):c=this.parentCompiler),c=e(a,c);var d=c.bindings[b]||c.createBinding(b);d.instances.push(a),a.binding=d;var f,g;if(d.contextDeps)for(f=d.contextDeps.length;f--;)g=this.bindings[d.contextDeps[f]],g.subs.push(a);a.bind&&a.bind(d.value),a.update(d.value),d.isComputed&&a.refresh()},o.bindContexts=function(a){for(var b,c,d,e,f,g,h=a.length;h--;)for(d=a[h],b=d.contextDeps.length;b--;)for(e=d.contextDeps[b],c=d.instances.length;c--;)g=d.instances[c],f=g.compiler.bindings[e],f.subs.push(g)},o.destroy=function(){g.log("compiler destroyed: ",this.vm.$el);var a,b,c,d;for(a=this.directives.length;a--;)c=this.directives[a],c.binding.compiler!==this&&(d=c.binding.instances,d&&d.splice(d.indexOf(c),1)),c.unbind();for(b in this.bindings)this.bindings[b].unbind();this.el.parentNode.removeChild(this.el)},c.exports=d}),b.register("seed/src/viewmodel.js",function(a,b,c){function d(a){this.$el=a.template?a.template.cloneNode(!0):"string"==typeof a.el?document.querySelector(a.el):a.el,this.$index=a.index,this.$parent=a.parentCompiler&&a.parentCompiler.vm,new f(this,a)}var e=b("./utils"),f=b("./compiler"),g=d.prototype;g.$watch=function(a,b){var c=this;setTimeout(function(){for(var d=c.$compiler.bindings[a],e=d.deps.length,f=c.$compiler.watchers[a]={refresh:function(){b(c[a])},deps:d.deps};e--;)d.deps[e].subs.push(f)},0)},g.$unwatch=function(a){var b=this;setTimeout(function(){var c=b.$compiler.watchers[a];if(c){for(var d,e=c.deps.length;e--;)d=c.deps[e].subs,d.splice(d.indexOf(c));b.$compiler.watchers[a]=null}},0)},g.$load=function(a){for(var b in a)this[b]=a[b]},g.$dump=function(a){var b=this.$compiler.bindings;return e.dump(a?b[a].value:this)},g.$serialize=function(a){return JSON.stringify(this.$dump(a))},g.$destroy=function(){this.$compiler.destroy(),this.$compiler=null},c.exports=d}),b.register("seed/src/binding.js",function(a,b,c){function d(a,b){this.compiler=a,this.key=b;var c=b.split(".");this.inspect(e.getNestedValue(a.vm,c)),this.def(a.vm,c),this.instances=[],this.subs=[],this.deps=[]}var e=b("./utils"),f=b("./deps-parser").observer,g=Object.defineProperty,h=d.prototype;h.inspect=function(a){var b=e.typeOf(a);if("Object"===b){if(a.get){var c=Object.keys(a).length;(1===c||2===c&&a.set)&&(this.isComputed=!0,this.rawGet=a.get,a.get=a.get.bind(this.compiler.vm),a.set&&(a.set=a.set.bind(this.compiler.vm)))}}else"Array"===b&&(a=e.dump(a),e.watchArray(a),a.on("mutate",this.pub.bind(this)));this.value=a},h.def=function(a,b){var c=b[0];if(1===b.length)g(a,c,{get:function(){return f.isObserving&&f.emit("get",this),this.isComputed?this.value.get({el:this.compiler.el,vm:this.compiler.vm}):this.value}.bind(this),set:function(a){this.isComputed?this.value.set&&this.value.set(a):a!==this.value&&this.update(a)}.bind(this)});else{var d=a[c];d||(d={},g(a,c,{get:function(){return this}.bind(d),set:function(a){for(var b in a)this[b]=a[b]}.bind(d)})),this.def(d,b.slice(1))}},h.update=function(a){this.inspect(a);for(var b=this.instances.length;b--;)this.instances[b].update(this.value);this.pub()},h.refresh=function(){for(var a=this.instances.length;a--;)this.instances[a].refresh()},h.unbind=function(){for(var a=this.instances.length;a--;)this.instances[a].unbind();a=this.deps.length;for(var b;a--;)b=this.deps[a].subs,b.splice(b.indexOf(this),1);Array.isArray(this.value)&&this.value.off("mutate"),this.compiler=this.pubs=this.subs=this.instances=this.deps=null},h.pub=function(){for(var a=this.subs.length;a--;)this.subs[a].refresh()},c.exports=d}),b.register("seed/src/directive-parser.js",function(a,b,c){function d(a,b,c){var d,f=h[a];if("function"==typeof f)this._update=f;else{this._update=f.update;for(d in f)"update"!==d&&("unbind"===d?this._unbind=f[d]:this[d]=f[d])}this.oneway=!!c,this.directiveName=a,this.expression=b.trim(),this.rawKey=b.match(j)[0].trim(),this.parseKey(this.rawKey);var g=b.match(l);this.filters=g?g.map(e):null}function e(a){var b=a.slice(1).match(m).map(function(a){return a.replace(/'/g,"").trim()});return{name:b[0],apply:i[b[0]],args:b.length>1?b.slice(1):null}}var f=b("./config"),g=b("./utils"),h=b("./directives"),i=b("./filters"),j=/^[^\|<]+/,k=/([^:]+):(.+)$/,l=/\|[^\|<]+/g,m=/[^\s']+|'[^']+'/g,n=/^!/,o=/^\^+/,p=/-oneway$/,q=d.prototype;q.update=function(a){a&&a===this.value||(this.value=a,this.apply(a))},q.refresh=function(){var a=this.value.get({el:this.el,vm:this.vm});a!==this.computedValue&&(this.computedValue=a,this.apply(a),this.binding.pub())},q.apply=function(a){this.inverse&&(a=!a),this._update(this.filters?this.applyFilters(a):a)},q.applyFilters=function(a){for(var b,c=a,d=0,e=this.filters.length;e>d;d++){if(b=this.filters[d],!b.apply)throw new Error("Unknown filter: "+b.name);c=b.apply(c,b.args)}return c},q.parseKey=function(a){var b=a.match(k),c=b?b[2].trim():a.trim();this.arg=b?b[1].trim():null,this.inverse=n.test(c),this.inverse&&(c=c.slice(1));var d=c.match(o);this.nesting=d?d[0].length:!1,this.root="$"===c.charAt(0),this.nesting?c=c.replace(o,""):this.root&&(c=c.slice(1)),this.key=c},q.unbind=function(a){this.el&&(this._unbind&&this._unbind(a),a||(this.vm=this.el=this.binding=this.compiler=null))},c.exports={parse:function(a,b){var c=f.prefix;if(-1===a.indexOf(c))return null;a=a.slice(c.length+1);var e=p.test(a);e&&(a=a.slice(0,-7));var i=h[a],k=j.test(b);return i||g.warn("unknown directive: "+a),k||g.warn("invalid directive expression: "+b),i&&k?new d(a,b,e):null}}}),b.register("seed/src/text-parser.js",function(a,b,c){function d(a){return a.replace(g,"\\$&")}var e,f=b("./config"),g=/[-.*+?^${}()|[\]\/\\]/g;c.exports={parse:function(a){e||c.exports.buildRegex();var b=a.nodeValue;if(!e.test(b))return null;for(var d,f,g=[];;){if(d=b.match(e),!d)break;f=d.index,f>0&&g.push(b.slice(0,f)),g.push({key:d[1]}),b=b.slice(f+d[0].length)}return b.length&&g.push(b),g},buildRegex:function(){var a=d(f.interpolateTags.open),b=d(f.interpolateTags.close);e=new RegExp(a+"(.+?)"+b)}}}),b.register("seed/src/deps-parser.js",function(a,b,c){function d(a){k.on("get",function(b){a.deps.push(b)}),g(a),a.value.get({vm:f(a),el:l}),k.off("get")}function e(a){var b,c=a.deps.length;for(j.log("\n─ "+a.key);c--;)b=a.deps[c],b.deps.length?a.deps.splice(c,1):(j.log(" └─ "+b.key),b.subs.push(a));var d=a.contextDeps;if(d&&i.debug)for(c=d.length;c--;)j.log(" └─ ctx:"+d[c])}function f(a){var b={},c=a.contextDeps;if(!c)return b;for(var d,e,f,g,h=a.contextDeps.length;h--;)for(e=b,g=c[h].split("."),d=0;d<g.length;)f=g[d],e[f]||(e[f]=o),e=e[f],d++;return b}function g(a){var b=a.rawGet,c=b.toString(),d=c.match(m);if(!d)return null;var e=new RegExp(d[1]+n,"g"),f=c.match(e),g=d[1].length+4;if(!f)return null;for(var h,i=f.length,j=[];i--;)h=f[i].slice(g),-1===j.indexOf(h)&&j.push(h);a.contextDeps=j,a.compiler.contextBindings.push(a)}var h=b("emitter"),i=b("./config"),j=b("./utils"),k=new h,l=document.createElement("div"),m=/^function\s*?\((.+?)\)/,n="\\.vm\\.[\\.A-Za-z0-9_][\\.A-Za-z0-9_$]*",o=function(){};c.exports={observer:k,parse:function(a){j.log("\nparsing dependencies..."),k.isObserving=!0,a.forEach(d),a.forEach(e),k.isObserving=!1,j.log("\ndone.")}}}),b.register("seed/src/filters.js",function(a,b,c){var d={enter:13,tab:9,"delete":46,up:38,left:37,right:39,down:40,esc:27};c.exports={trim:function(a){return a?a.toString().trim():""},capitalize:function(a){return a?(a=a.toString(),a.charAt(0).toUpperCase()+a.slice(1)):""},uppercase:function(a){return a?a.toString().toUpperCase():""},lowercase:function(a){return a?a.toString().toLowerCase():""},pluralize:function(a,b){return b.length>1?b[a-1]||b[b.length-1]:b[a-1]||b[0]+"s"},currency:function(a,b){if(!a)return"";var c=b&&b[0]||"$",d=a%3,e="."+a.toFixed(2).slice(-2),f=Math.floor(a).toString();return c+f.slice(0,d)+f.slice(d).replace(/(\d{3})(?=\d)/g,"$1,")+e},key:function(a,b){if(a){var c=d[b[0]];return c||(c=parseInt(b[0],10)),function(b){b.keyCode===c&&a.call(this,b)}}}}}),b.register("seed/src/directives/index.js",function(a,b,c){function d(a){return"-"===a.charAt(0)&&(a=a.slice(1)),a.replace(e,function(a,b){return b.toUpperCase()})}c.exports={on:b("./on"),each:b("./each"),attr:function(a){this.el.setAttribute(this.arg,a)},text:function(a){this.el.textContent="string"==typeof a||"number"==typeof a?a:""},html:function(a){this.el.innerHTML="string"==typeof a||"number"==typeof a?a:""},show:function(a){this.el.style.display=a?"":"none"},visible:function(a){this.el.style.visibility=a?"":"hidden"},focus:function(a){var b=this.el;setTimeout(function(){b[a?"focus":"focus"]()},0)},"class":function(a){this.arg?this.el.classList[a?"add":"remove"](this.arg):(this.lastVal&&this.el.classList.remove(this.lastVal),this.el.classList.add(a),this.lastVal=a)},value:{bind:function(){if(!this.oneway){var a=this.el,b=this;this.change=function(){b.vm[b.key]=a.value},a.addEventListener("keyup",this.change)}},update:function(a){this.el.value=a?a:""},unbind:function(){this.oneway||this.el.removeEventListener("keyup",this.change)}},checked:{bind:function(){if(!this.oneway){var a=this.el,b=this;this.change=function(){b.vm[b.key]=a.checked},a.addEventListener("change",this.change)}},update:function(a){this.el.checked=!!a},unbind:function(){this.oneway||this.el.removeEventListener("change",this.change)}},"if":{bind:function(){this.parent=this.el.parentNode,this.ref=document.createComment("sd-if-"+this.key);var a=this.el.nextSibling;a?this.parent.insertBefore(this.ref,a):this.parent.appendChild(this.ref)},update:function(a){a?this.el.parentNode||this.parent.insertBefore(this.el,this.ref):this.el.parentNode&&this.parent.removeChild(this.el)}},style:{bind:function(){this.arg=d(this.arg)},update:function(a){this.el.style[this.arg]=a}}};var e=/-(.)/g}),b.register("seed/src/directives/each.js",function(a,b,c){var d,e=b("../config"),f={push:function(a){var b,c=a.args.length,d=this.collection.length-c;for(b=0;c>b;b++)this.buildItem(this.ref,a.args[b],d+b)},pop:function(a){a.result.$destroy()},unshift:function(a){var b,c,d=a.args.length;for(b=0;d>b;b++)c=this.collection.length>d?this.collection[d].$el:this.ref,this.buildItem(c,a.args[b],b);this.updateIndexes()},shift:function(a){a.result.$destroy(),this.updateIndexes()},splice:function(a){var b,c,d,e=a.args.length,f=a.result.length,g=a.args[0],h=a.args[1],i=e-2;for(b=0;f>b;b++)a.result[b].$destroy();if(i>0)for(b=2;e>b;b++)c=g-h+i+1,d=this.collection[c]?this.collection[c].$el:this.ref,this.buildItem(d,a.args[b],g+b);h!==i&&this.updateIndexes()},sort:function(){var a,b,c=this.collection.length;for(a=0;c>a;a++)b=this.collection[a],b.$index=a,this.container.insertBefore(b.$el,this.ref)}};c.exports={bind:function(){this.el.removeAttribute(e.prefix+"-each");var a=this.container=this.el.parentNode;this.ref=document.createComment("sd-each-"+this.arg),a.insertBefore(this.ref,this.el),a.removeChild(this.el)},update:function(a){this.unbind(!0),this.container.sd_dHandlers={},this.collection||a.length||this.buildItem(this.ref,null,null),this.collection=a,a.on("mutate",function(a){f[a.method].call(this,a)}.bind(this));for(var b=0,c=a.length;c>b;b++)this.buildItem(this.ref,a[b],b)},buildItem:function(a,c,e){var f=this.el.cloneNode(!0);this.container.insertBefore(f,a),d=d||b("../viewmodel");var g=new d({el:f,each:!0,eachPrefix:this.arg+".",parentCompiler:this.compiler,index:e,data:c,delegator:this.container});null!==e?this.collection[e]=g:g.$destroy()},updateIndexes:function(){for(var a=this.collection.length;a--;)this.collection[a].$index=a},unbind:function(){if(this.collection){this.collection.off("mutate");for(var a=this.collection.length;a--;)this.collection[a].$destroy()}var b=this.container,c=b.sd_dHandlers;for(var d in c)b.removeEventListener(c[d].event,c[d]);b.sd_dHandlers=null}}}),b.register("seed/src/directives/on.js",function(a,b,c){function d(a,b,c){return a[c]?a:a===b?!1:d(a.parentNode,b,c)}c.exports={expectFunction:!0,bind:function(){this.compiler.each&&(this.el[this.expression]=!0,this.el.sd_viewmodel=this.vm)},update:function(a){if(this.unbind(!0),a){var b=this.compiler,c=this.arg,e=this.binding.compiler.vm;if(b.each&&"blur"!==c&&"blur"!==c){var f=b.delegator,g=this.expression,h=f.sd_dHandlers[g];if(h)return;h=f.sd_dHandlers[g]=function(b){var c=d(b.target,f,g);c&&(b.el=c,b.vm=c.sd_viewmodel,a.call(e,b))},h.event=c,f.addEventListener(c,h)}else{var i=this.vm;this.handler=function(b){b.el=b.currentTarget,b.vm=i,a.call(i,b)},this.el.addEventListener(c,this.handler)}}},unbind:function(a){this.el.removeEventListener(this.arg,this.handler),this.handler=null,a||(this.el.sd_viewmodel=null)}}}),b.alias("component-emitter/index.js","seed/deps/emitter/index.js"),b.alias("component-emitter/index.js","emitter/index.js"),b.alias("component-indexof/index.js","component-emitter/deps/indexof/index.js"),b.alias("seed/src/main.js","seed/index.js"),window.Seed=window.Seed||b("seed"),Seed.version="0.2.1"}();