-
Notifications
You must be signed in to change notification settings - Fork 2
/
resources.6127c395.min.js
8 lines (8 loc) · 254 KB
/
resources.6127c395.min.js
1
2
3
4
5
6
7
8
!function(t,e,n){function r(n,o){if(!e[n]){if(!t[n]){var a="function"==typeof require&&require;if(!o&&a)return a(n,!0);if(i)return i(n,!0);throw new Error("Cannot find module '"+n+"'")}var s=e[n]={exports:{}};t[n][0].call(s.exports,function(e){var i=t[n][1][e];return r(i?i:e)},s,s.exports)}return e[n].exports}for(var i="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){!function(){var t="YOUR DOMAIN.com"===window.location.hostname;n.identify=function(e){t&&(mixpanel.identify(e.id),mixpanel.name_tag(e.username),mixpanel.people.set({$email:e.email,$first_name:e.firstName,$last_name:e.lastName}),mixpanel.people.increment("web app opened"))},n.track=function(e,n,r){t&&mixpanel.track(e,n||{},r)}}()},{}],2:[function(require,module,exports){!function(){var root=this,exports={},jade=exports.jade=function(t){function e(t){return null!=t}return Array.isArray||(Array.isArray=function(t){return"[object Array]"==Object.prototype.toString.call(t)}),Object.keys||(Object.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}),t.merge=function(t,n){var r=t["class"],i=n["class"];(r||i)&&(r=r||[],i=i||[],Array.isArray(r)||(r=[r]),Array.isArray(i)||(i=[i]),r=r.filter(e),i=i.filter(e),t["class"]=r.concat(i).join(" "));for(var o in n)"class"!=o&&(t[o]=n[o]);return t},t.attrs=function(e,n){var r=[],i=e.terse;delete e.terse;var o=Object.keys(e),a=o.length;if(a){r.push("");for(var s=0;a>s;++s){var u=o[s],c=e[u];"boolean"==typeof c||null==c?c&&(i?r.push(u):r.push(u+'="'+u+'"')):0==u.indexOf("data")&&"string"!=typeof c?r.push(u+"='"+JSON.stringify(c)+"'"):"class"==u&&Array.isArray(c)?r.push(u+'="'+t.escape(c.join(" "))+'"'):n&&n[u]?r.push(u+'="'+t.escape(c)+'"'):r.push(u+'="'+c+'"')}}return r.join(" ")},t.escape=function(t){return String(t).replace(/&(?!(\w+|\#\d+);)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},t.rethrow=function(t,e,n){if(!e)throw t;var r=3,i=require("fs").readFileSync(e,"utf8"),o=i.split("\n"),a=Math.max(n-r,0),s=Math.min(o.length,n+r),r=o.slice(a,s).map(function(t,e){var r=e+a+1;return(r==n?" > ":" ")+r+"| "+t}).join("\n");throw t.path=e,t.message=(e||"Jade")+":"+n+"\n"+r+"\n\n"+t.message,t},t}({});exports.includes={},exports.pages={},exports.body=function anonymous(locals){var buf=[];with(locals||{})buf.push('<body><div class="container"><nav role="navigation" class="navbar navbar-default"><div class="navbar-header cf"><h1 class="navbar-brand">tools.ampersandjs.com <span>hand-picked clientside modules installable from npm</span></h1><a href="http://ampersandjs.com" class="button button-primary">Back to docs</a></div></nav><section id="pages"></section></div><footer class="footer-main"><nav class="nav-footer"><a href="http://ampersandjs.com/learn" class="nav-item">Learn</a><a href="http://ampersandjs.com/docs" class="nav-item">Docs</a><a href="/" class="nav-item">Find Modules</a><a href="http://ampersandjs.com/contribute" class="nav-item">Contribute</a><a href="https://github.com/ampersandjs" class="nav-item">Github</a><a href="https://twitter.com/ampersandjs" class="nav-item">Twitter</a></nav><p>Sponsored by <a href="https://andyet.com">&yet </a><br/>with the help of our <a href="http://ampersandjs.com/contribute">contributors</a></p><a href="http://ampersandjs.com" class="logo logo-ampersand-gray">&</a></footer></body>');return buf.join("")},exports.head=function anonymous(locals){var buf=[];with(locals||{})buf.push("<link rel=\"apple-touch-icon\" href=\"public/images/Icon-57.png\"/><link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"public/images/Icon-72.png\"/><link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"public/images/Icon-114.png\"/><link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"public/images/Icon-144.png\"/><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0\"/><meta name=\"apple-mobile-web-app-capable\" content=\"yes\"/><link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Quicksand:500,700&display=swap\"/><title>tools.ampersandjs.com</title><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\nga('create', 'UA-44685415-1', 'humanjavascript.com');\nga('send', 'pageview');</script><script>!function(g,s,q,r,d){r=g[r]=g[r]||function(){(r.q=r.q||[]).push(\narguments)};d=s.createElement(q);q=s.getElementsByTagName(q)[0];\nd.src='//d1l6p2sc9645hc.cloudfront.net/tracker.js';q.parentNode.\ninsertBefore(d,q)}(window,document,'script','_gs');\n_gs('GSN-375569-B', false);\n_gs('set', 'cookieDomain', '.ampersandjs.com');\n_gs('track');</script>");return buf.join("")},exports.includes.repo=function anonymous(locals){var buf=[];with(locals||{})buf.push('<div class="repo well"><h3>'+jade.escape(null==(jade.interp=repo.id)?"":jade.interp)+' <small><span>by: <a href="'+jade.escape(null==(jade.interp=repo.npmUserUrl)?"":jade.interp)+'">'+jade.escape(null==(jade.interp=repo.author)?"":jade.interp)+"</a></span> | "),repo.homepage&&buf.push("<a"+jade.attrs({href:repo.homepage,"class":"github"},{href:!0})+">github</a> | "),buf.push("<a"+jade.attrs({href:repo.npmUrl,"class":"npm"},{href:!0})+'>npm</a></small></h3><p class="description">'+jade.escape(null==(jade.interp=repo.description)?"":jade.interp)+'</p><p class="tags">tags: '+(null==(jade.interp=repo.tagLinks)?"":jade.interp)+"</p></div>");return buf.join("")},exports.pages.info=function anonymous(locals){var buf=[];with(locals||{})buf.push('<section class="page pageTwo"><h2>More Info</h2><p>This is a demo app by <a href="http://twitter.com">Henrik Joreteg</a>.</p><h4>Relevant links:</h4><ul><li> <a href="http://humanjavascript.com">human javascript</a> the book</li><li> <a href="https://github.com/HenrikJoreteg/humanjs-sample-app">github repo </a> for this app</li><li> <a href="http://andyet.com">&yet</a> the company behind this effort</li></ul><h4>Apps Built this way</h4><ul><li> <a href="http://andbang.com">And Bang</a> Team same-pagification tool. Realtime chat + task management</li><li> <a href="http://talky.io">Talky </a> Free, zero-setup, no-account, peer-to-peer encrypted video calls</li></ul></section>');return buf.join("")},exports.pages.repos=function anonymous(locals){var buf=[];with(locals||{})buf.push('<section class="page repos"><h4>Use the search box to filter</h4><div class="form-group cf"><input id="search" autofocus="autofocus" placeholder="quick filter" class="form-control"/><a href="https://github.com/AmpersandJS/tools.ampersandjs.com/issues/new" class="suggest">Suggest a module</a></div><div class="repoList row"></div></section>');return buf.join("")},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=exports:"function"==typeof define&&define.amd?define(exports):root.templatizer=exports}()},{fs:3}],4:[function(t,e){!function(){t("loading-stats"),t("underscore"),t("andlog"),t("clientconfig");var n=t("./router");t("./helpers/metrics");var r=t("./views/main"),i=t("./models/me"),o=t("./models/repos"),a=t("query-param-getter"),s=t("domready");e.exports={blastoff:function(){var e=window.app=this;window.templates=t("./templates"),window.me=new i({query:a("q")||""}),this.repos=new o,this.router=new n,s(function(){e.view=new r({model:me,el:document.body}),e.view.render(),e.router.history.start()})},navigate:function(t){var e="/"===t.charAt(0)?t.slice(1):t;app.router.history.navigate(e,!0)},renderPage:function(t){var e=document.getElementById("pages");e.appendChild(t.render().el)}},e.exports.blastoff()}()},{"./helpers/metrics":1,"./models/me":8,"./models/repos":7,"./router":5,"./templates":2,"./views/main":6,andlog:11,clientconfig:12,domready:14,"loading-stats":9,"query-param-getter":13,underscore:10}],7:[function(t,e){var n=t("./baseCollection"),r=t("./repo"),i=t("../fixtures/repos.json");e.exports=n.extend({initialize:function(){this.add(i)},type:"repos",model:r,filter:function(t){this.each(function(e){e.matches(t)})},comparator:function(t){return t.id}})},{"../fixtures/repos.json":15,"./baseCollection":16,"./repo":17}],3:[function(){},{}],9:[function(t,e){var n=window.times,r={};e.exports={recordTime:function(t){n[t]=new Date},recordStat:function(t,e){r[t]=e},getSummary:function(){for(var t in n)"start"!==t&&(r[t]=this.sinceStart(n[t]));return r},sinceStart:function(t){var e=t||new Date;return e-n.start}}},{}],10:[function(t,e,n){!function(){(function(){function t(t){function e(e,n,r,i,o,a){for(;o>=0&&a>o;o+=t){var s=i?i[o]:o;r=n(r,e[s],s,e)}return r}return function(n,r,i,o){r=_(r,o,4);var a=!I(n)&&w.keys(n),s=(a||n).length,u=t>0?0:s-1;return arguments.length<3&&(i=n[a?a[u]:u],u+=t),e(n,r,i,a,u,s)}}function r(t){return function(e,n,r){n=x(n,r);for(var i=S(e),o=t>0?0:i-1;o>=0&&i>o;o+=t)if(n(e[o],o,e))return o;return-1}}function i(t,e,n){return function(r,i,o){var a=0,s=S(r);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(p.call(r,a,s),w.isNaN),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&s>o;o+=t)if(r[o]===i)return o;return-1}}function o(t,e){var n=L.length,r=t.constructor,i=w.isFunction(r)&&r.prototype||c,o="constructor";for(w.has(t,o)&&!w.contains(e,o)&&e.push(o);n--;)o=L[n],o in t&&t[o]!==i[o]&&!w.contains(e,o)&&e.push(o)}var a=this,s=a._,u=Array.prototype,c=Object.prototype,l=Function.prototype,f=u.push,p=u.slice,h=c.toString,d=c.hasOwnProperty,g=Array.isArray,v=Object.keys,m=l.bind,y=Object.create,b=function(){},w=function(t){return t instanceof w?t:this instanceof w?(this._wrapped=t,void 0):new w(t)};"undefined"!=typeof n?("undefined"!=typeof e&&e.exports&&(n=e.exports=w),n._=w):a._=w,w.VERSION="1.8.3";var _=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}},x=function(t,e,n){return null==t?w.identity:w.isFunction(t)?_(t,e,n):w.isObject(t)?w.matcher(t):w.property(t)};w.iteratee=function(t,e){return x(t,e,1/0)};var k=function(t,e){return function(n){var r=arguments.length;if(2>r||null==n)return n;for(var i=1;r>i;i++)for(var o=arguments[i],a=t(o),s=a.length,u=0;s>u;u++){var c=a[u];e&&void 0!==n[c]||(n[c]=o[c])}return n}},j=function(t){if(!w.isObject(t))return{};if(y)return y(t);b.prototype=t;var e=new b;return b.prototype=null,e},E=function(t){return function(e){return null==e?void 0:e[t]}},A=Math.pow(2,53)-1,S=E("length"),I=function(t){var e=S(t);return"number"==typeof e&&e>=0&&A>=e};w.each=w.forEach=function(t,e,n){e=_(e,n);var r,i;if(I(t))for(r=0,i=t.length;i>r;r++)e(t[r],r,t);else{var o=w.keys(t);for(r=0,i=o.length;i>r;r++)e(t[o[r]],o[r],t)}return t},w.map=w.collect=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=Array(i),a=0;i>a;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o},w.reduce=w.foldl=w.inject=t(1),w.reduceRight=w.foldr=t(-1),w.find=w.detect=function(t,e,n){var r;return r=I(t)?w.findIndex(t,e,n):w.findKey(t,e,n),void 0!==r&&-1!==r?t[r]:void 0},w.filter=w.select=function(t,e,n){var r=[];return e=x(e,n),w.each(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r},w.reject=function(t,e,n){return w.filter(t,w.negate(x(e)),n)},w.every=w.all=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0},w.some=w.any=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1},w.contains=w.includes=w.include=function(t,e,n,r){return I(t)||(t=w.values(t)),("number"!=typeof n||r)&&(n=0),w.indexOf(t,e,n)>=0},w.invoke=function(t,e){var n=p.call(arguments,2),r=w.isFunction(e);return w.map(t,function(t){var i=r?e:t[e];return null==i?i:i.apply(t,n)})},w.pluck=function(t,e){return w.map(t,w.property(e))},w.where=function(t,e){return w.filter(t,w.matcher(e))},w.findWhere=function(t,e){return w.find(t,w.matcher(e))},w.max=function(t,e,n){var r,i,o=-1/0,a=-1/0;if(null==e&&null!=t){t=I(t)?t:w.values(t);for(var s=0,u=t.length;u>s;s++)r=t[s],r>o&&(o=r)}else e=x(e,n),w.each(t,function(t,n,r){i=e(t,n,r),(i>a||i===-1/0&&o===-1/0)&&(o=t,a=i)});return o},w.min=function(t,e,n){var r,i,o=1/0,a=1/0;if(null==e&&null!=t){t=I(t)?t:w.values(t);for(var s=0,u=t.length;u>s;s++)r=t[s],o>r&&(o=r)}else e=x(e,n),w.each(t,function(t,n,r){i=e(t,n,r),(a>i||1/0===i&&1/0===o)&&(o=t,a=i)});return o},w.shuffle=function(t){for(var e,n=I(t)?t:w.values(t),r=n.length,i=Array(r),o=0;r>o;o++)e=w.random(0,o),e!==o&&(i[o]=i[e]),i[e]=n[o];return i},w.sample=function(t,e,n){return null==e||n?(I(t)||(t=w.values(t)),t[w.random(t.length-1)]):w.shuffle(t).slice(0,Math.max(0,e))},w.sortBy=function(t,e,n){return e=x(e,n),w.pluck(w.map(t,function(t,n,r){return{value:t,index:n,criteria:e(t,n,r)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return t.index-e.index}),"value")};var O=function(t){return function(e,n,r){var i={};return n=x(n,r),w.each(e,function(r,o){var a=n(r,o,e);t(i,r,a)}),i}};w.groupBy=O(function(t,e,n){w.has(t,n)?t[n].push(e):t[n]=[e]}),w.indexBy=O(function(t,e,n){t[n]=e}),w.countBy=O(function(t,e,n){w.has(t,n)?t[n]++:t[n]=1}),w.toArray=function(t){return t?w.isArray(t)?p.call(t):I(t)?w.map(t,w.identity):w.values(t):[]},w.size=function(t){return null==t?0:I(t)?t.length:w.keys(t).length},w.partition=function(t,e,n){e=x(e,n);var r=[],i=[];return w.each(t,function(t,n,o){(e(t,n,o)?r:i).push(t)}),[r,i]},w.first=w.head=w.take=function(t,e,n){return null==t?void 0:null==e||n?t[0]:w.initial(t,t.length-e)},w.initial=function(t,e,n){return p.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},w.last=function(t,e,n){return null==t?void 0:null==e||n?t[t.length-1]:w.rest(t,Math.max(0,t.length-e))},w.rest=w.tail=w.drop=function(t,e,n){return p.call(t,null==e||n?1:e)},w.compact=function(t){return w.filter(t,w.identity)};var T=function(t,e,n,r){for(var i=[],o=0,a=r||0,s=S(t);s>a;a++){var u=t[a];if(I(u)&&(w.isArray(u)||w.isArguments(u))){e||(u=T(u,e,n));var c=0,l=u.length;for(i.length+=l;l>c;)i[o++]=u[c++]}else n||(i[o++]=u)}return i};w.flatten=function(t,e){return T(t,e,!1)},w.without=function(t){return w.difference(t,p.call(arguments,1))},w.uniq=w.unique=function(t,e,n,r){w.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=x(n,r));for(var i=[],o=[],a=0,s=S(t);s>a;a++){var u=t[a],c=n?n(u,a,t):u;e?(a&&o===c||i.push(u),o=c):n?w.contains(o,c)||(o.push(c),i.push(u)):w.contains(i,u)||i.push(u)}return i},w.union=function(){return w.uniq(T(arguments,!0,!0))},w.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=S(t);i>r;r++){var o=t[r];if(!w.contains(e,o)){for(var a=1;n>a&&w.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},w.difference=function(t){var e=T(arguments,!0,!0,1);return w.filter(t,function(t){return!w.contains(e,t)})},w.zip=function(){return w.unzip(arguments)},w.unzip=function(t){for(var e=t&&w.max(t,S).length||0,n=Array(e),r=0;e>r;r++)n[r]=w.pluck(t,r);return n},w.object=function(t,e){for(var n={},r=0,i=S(t);i>r;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n},w.findIndex=r(1),w.findLastIndex=r(-1),w.sortedIndex=function(t,e,n,r){n=x(n,r,1);for(var i=n(e),o=0,a=S(t);a>o;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o},w.indexOf=i(1,w.findIndex,w.sortedIndex),w.lastIndexOf=i(-1,w.findLastIndex),w.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;r>o;o++,t+=n)i[o]=t;return i};var M=function(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=j(t.prototype),a=t.apply(o,i);return w.isObject(a)?a:o};w.bind=function(t,e){if(m&&t.bind===m)return m.apply(t,p.call(arguments,1));if(!w.isFunction(t))throw new TypeError("Bind must be called on a function");var n=p.call(arguments,2),r=function(){return M(t,r,e,this,n.concat(p.call(arguments)))};return r},w.partial=function(t){var e=p.call(arguments,1),n=function(){for(var r=0,i=e.length,o=Array(i),a=0;i>a;a++)o[a]=e[a]===w?arguments[r++]:e[a];for(;r<arguments.length;)o.push(arguments[r++]);return M(t,n,this,this,o)};return n},w.bindAll=function(t){var e,n,r=arguments.length;if(1>=r)throw new Error("bindAll must be passed function names");for(e=1;r>e;e++)n=arguments[e],t[n]=w.bind(t[n],t);return t},w.memoize=function(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return w.has(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n},w.delay=function(t,e){var n=p.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},w.defer=w.partial(w.delay,w,1),w.throttle=function(t,e,n){var r,i,o,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:w.now(),a=null,o=t.apply(r,i),a||(r=i=null)};return function(){var c=w.now();s||n.leading!==!1||(s=c);var l=e-(c-s);return r=this,i=arguments,0>=l||l>e?(a&&(clearTimeout(a),a=null),s=c,o=t.apply(r,i),a||(r=i=null)):a||n.trailing===!1||(a=setTimeout(u,l)),o}},w.debounce=function(t,e,n){var r,i,o,a,s,u=function(){var c=w.now()-a;e>c&&c>=0?r=setTimeout(u,e-c):(r=null,n||(s=t.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=w.now();var c=n&&!r;return r||(r=setTimeout(u,e)),c&&(s=t.apply(o,i),o=i=null),s}},w.wrap=function(t,e){return w.partial(e,t)},w.negate=function(t){return function(){return!t.apply(this,arguments)}},w.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},w.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},w.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=null),n}},w.once=w.partial(w.before,2);var C=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];w.keys=function(t){if(!w.isObject(t))return[];if(v)return v(t);var e=[];for(var n in t)w.has(t,n)&&e.push(n);return C&&o(t,e),e},w.allKeys=function(t){if(!w.isObject(t))return[];var e=[];for(var n in t)e.push(n);return C&&o(t,e),e},w.values=function(t){for(var e=w.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=t[e[i]];return r},w.mapObject=function(t,e,n){e=x(e,n);for(var r,i=w.keys(t),o=i.length,a={},s=0;o>s;s++)r=i[s],a[r]=e(t[r],r,t);return a},w.pairs=function(t){for(var e=w.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=[e[i],t[e[i]]];return r},w.invert=function(t){for(var e={},n=w.keys(t),r=0,i=n.length;i>r;r++)e[t[n[r]]]=n[r];return e},w.functions=w.methods=function(t){var e=[];for(var n in t)w.isFunction(t[n])&&e.push(n);return e.sort()},w.extend=k(w.allKeys),w.extendOwn=w.assign=k(w.keys),w.findKey=function(t,e,n){e=x(e,n);for(var r,i=w.keys(t),o=0,a=i.length;a>o;o++)if(r=i[o],e(t[r],r,t))return r},w.pick=function(t,e,n){var r,i,o={},a=t;if(null==a)return o;w.isFunction(e)?(i=w.allKeys(a),r=_(e,n)):(i=T(arguments,!1,!1,1),r=function(t,e,n){return e in n},a=Object(a));for(var s=0,u=i.length;u>s;s++){var c=i[s],l=a[c];r(l,c,a)&&(o[c]=l)}return o},w.omit=function(t,e,n){if(w.isFunction(e))e=w.negate(e);else{var r=w.map(T(arguments,!1,!1,1),String);e=function(t,e){return!w.contains(r,e)}}return w.pick(t,e,n)},w.defaults=k(w.allKeys,!0),w.create=function(t,e){var n=j(t);return e&&w.extendOwn(n,e),n},w.clone=function(t){return w.isObject(t)?w.isArray(t)?t.slice():w.extend({},t):t},w.tap=function(t,e){return e(t),t},w.isMatch=function(t,e){var n=w.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;r>o;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0};var B=function(t,e,n,r){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;t instanceof w&&(t=t._wrapped),e instanceof w&&(e=e._wrapped);var i=h.call(t);if(i!==h.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor;if(a!==s&&!(w.isFunction(a)&&a instanceof a&&w.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if(u=t.length,u!==e.length)return!1;for(;u--;)if(!B(t[u],e[u],n,r))return!1}else{var c,l=w.keys(t);if(u=l.length,w.keys(e).length!==u)return!1;for(;u--;)if(c=l[u],!w.has(e,c)||!B(t[c],e[c],n,r))return!1}return n.pop(),r.pop(),!0};w.isEqual=function(t,e){return B(t,e)},w.isEmpty=function(t){return null==t?!0:I(t)&&(w.isArray(t)||w.isString(t)||w.isArguments(t))?0===t.length:0===w.keys(t).length},w.isElement=function(t){return!(!t||1!==t.nodeType)},w.isArray=g||function(t){return"[object Array]"===h.call(t)},w.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},w.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){w["is"+t]=function(e){return h.call(e)==="[object "+t+"]"}}),w.isArguments(arguments)||(w.isArguments=function(t){return w.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(w.isFunction=function(t){return"function"==typeof t||!1}),w.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},w.isNaN=function(t){return w.isNumber(t)&&t!==+t},w.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===h.call(t)},w.isNull=function(t){return null===t},w.isUndefined=function(t){return void 0===t},w.has=function(t,e){return null!=t&&d.call(t,e)},w.noConflict=function(){return a._=s,this},w.identity=function(t){return t},w.constant=function(t){return function(){return t}},w.noop=function(){},w.property=E,w.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},w.matcher=w.matches=function(t){return t=w.extendOwn({},t),function(e){return w.isMatch(e,t)}},w.times=function(t,e,n){var r=Array(Math.max(0,t));e=_(e,n,1);for(var i=0;t>i;i++)r[i]=e(i);return r},w.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},w.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},N=w.invert(F),R=function(t){var e=function(e){return t[e]},n="(?:"+w.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};w.escape=R(F),w.unescape=R(N),w.result=function(t,e,n){var r=null==t?void 0:t[e];return void 0===r&&(r=n),w.isFunction(r)?r.call(t):r};var U=0;w.uniqueId=function(t){var e=++U+"";return t?t+e:e},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,W=function(t){return"\\"+P[t]};w.template=function(t,e,n){!e&&n&&(e=n),e=w.defaults({},e,w.templateSettings);var r=RegExp([(e.escape||q).source,(e.interpolate||q).source,(e.evaluate||q).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,a,s){return o+=t.slice(i,s).replace(D,W),i=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(e.variable||"obj","_",o)}catch(s){throw s.source=o,s}var u=function(t){return a.call(this,t,w)},c=e.variable||"obj";return u.source="function("+c+"){\n"+o+"}",u},w.chain=function(t){var e=w(t);return e._chain=!0,e};var z=function(t,e){return t._chain?w(e).chain():e};w.mixin=function(t){w.each(w.functions(t),function(e){var n=w[e]=t[e];w.prototype[e]=function(){var t=[this._wrapped];return f.apply(t,arguments),z(this,n.apply(w,t))}})},w.mixin(w),w.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=u[t];w.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],z(this,n)}}),w.each(["concat","join","slice"],function(t){var e=u[t];w.prototype[t]=function(){return z(this,e.apply(this._wrapped,arguments))}}),w.prototype.value=function(){return this._wrapped},w.prototype.valueOf=w.prototype.toJSON=w.prototype.value,w.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return w})}).call(this)}()},{}],11:[function(t,e,n){!function(){var t="undefined"==typeof window,r=!t&&window.localStorage,i={};if(t)return e.exports=console,void 0;if(r&&r.debug&&window.console)i=window.console;else for(var o="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),a=o.length,s=function(){};a--;)i[o[a]]=s;"undefined"!=typeof n?e.exports=i:window.console=i}()},{}],15:[function(t,e){e.exports=[{id:"add-keyup-events",author:"henrikjoreteg",tags:["input","events","dom"],description:'Emit custom events from an input so you can do stuff like listening for "enter" and "esc" events the same way as you would "keyup".',homepage:"https://github.com/HenrikJoreteg/add-keyup-events",license:"MIT"},{id:"ampersand-avatar-input-view",author:"latentflip",description:"",homepage:"https://github.com/latentflip/ampersand-avatar-field",license:"ISC"},{id:"ampersand-filereader-input-view",author:"gdibble",tags:["forms","ampersand","file","reader","filereader"],description:"A view module for returning metadata via callback using browser FileReader.",homepage:"https://github.com/firstclass/ampersand-filereader-input-view",license:"MIT"},{id:"ampersand-dom",author:"andyet-ops",tags:["dom","binding"],description:"Super light-weight DOM manipulation lib.",homepage:"https://github.com/ampersandjs/ampersand-dom",license:"MIT"},{id:"ampersand-array-input-view",author:"cdaringe",tags:["forms","ampersand","browser"],description:"A view module for intelligently rendering and validating inputs that should produce an array of values. Works well with ampersand-form-view.",homepage:"https://github.com/ampersandjs/ampersand-array-input-view",license:"MIT"},{id:"ampersand-expanding-textarea-view",author:"beardfury",tags:["Ampersand","textarea","form","expanding-textarea"],description:"A small ampersand.js tool to create an expanding textarea view for an ampersand-form-view",homepage:"https://github.com/datuhealth/ampersand-expanding-textarea-view",license:"Apache-2.0"},{id:"ampersand-controller-router",author:"simme",tags:["ampersand","controller","router","mvc"],description:'Allows you to map "controllers" to routes.',homepage:"https://github.com/simme/ampersand-controller-router",license:"MIT"},{id:"ampersand-multiselect-view",author:"kylefarris",tags:["ampersand","form","view","select","multiple"],description:"A view module for intelligently rendering and validating multiple selectbox input. Works well with ampersand-form-view. Based off of ampersand-select-view.",homepage:"https://github.com/kylefarris/ampersand-multiselect-view",license:"MIT"},{id:"andlog",author:"henrikjoreteg",description:"Super-simple, client-side CommonJS logging thingy",homepage:"https://github.com/HenrikJoreteg/andlog"},{id:"ampersand-collection",author:"cdaringe",tags:["collection","client","mvc"],description:"A way to store/manage objects or models.",homepage:"https://github.com/ampersandjs/ampersand-collection",license:"MIT"},{id:"domready",author:"ded",tags:["ender","domready","dom"],description:"modern domready",homepage:"https://github.com/ded/domready"},{id:"ampersand-registry",author:"henrikjoreteg",tags:["models","collection"],description:"Global model registry for tracking instantiated models accross collections.",homepage:"https://github.com/ampersandjs/ampersand-registry",license:"MIT"},{id:"ampersand-json-patch",author:"winduptoy",tags:["ampersand","json","patch"],description:"Adds JSON Patch (RFC 6902) support to Ampersand models.",homepage:"https://github.com/winduptoy/ampersand-json-patch",license:"MIT"},{id:"ampersand-rest-collection",author:"fyockm",tags:["collection","rest","models"],description:"ampersand-collection with REST and Lodash mixins.",homepage:"https://github.com/ampersandjs/ampersand-rest-collection",license:"MIT"},{id:"concert",author:"moll",tags:["bind","emitter","event","eventemitter","events","observer","pubsub","trigger"],description:"An event library that implements the observer pattern (a.k.a publish/subscribe). Similar to Node's EventEmitter and Backbone.Events, but independent, minimal and light-weight.",homepage:"https://github.com/moll/js-concert",license:"LAGPL"},{id:"hammerjs",author:"arschmitz",tags:["touch","gestures"],description:"A javascript library for multi-touch gestures",homepage:"http://hammerjs.github.io/",license:"MIT"},{id:"semi-static",author:"henrikjoreteg",tags:["express","shortcuts"],description:"Simple, lazy way to serve a directory of semi-static pages in express.js. Handy for building quick 'static' pages inside an othewise 'dynamic' app.",homepage:"https://github.com/HenrikJoreteg/semi-static#readme",license:"MIT"},{id:"is-dom",author:"yoshuawuyts",tags:["dom","html","is dom","dom node","dom object"],description:"Check if the given object is a dom node",homepage:"https://github.com/npm-dom/is-dom#readme",license:"MIT"},{id:"moment",author:"ichernev",tags:["moment","date","time","parse","format","validate","i18n","l10n","ender"],description:"Parse, validate, manipulate, and display dates",homepage:"http://momentjs.com",license:"MIT"},{id:"slugger",author:"fyockm",tags:["utils","browser","url"],description:"Takes a string, returns a url friendly string. Works in browser and node. Dead simple.",homepage:"https://github.com/henrikjoreteg/slugger",license:"MIT"},{id:"simplewebrtc",author:"andyet-ops",description:"World's easiest webrtc",homepage:"https://github.com/andyet/SimpleWebRTC#readme",license:"MIT"},{id:"xhr",author:"raynos",tags:["xhr","http","xmlhttprequest","xhr2","browserify"],description:"small xhr abstraction",homepage:"https://github.com/naugtur/xhr",license:"MIT"},{id:"ampersand",author:"henrikjoreteg",tags:["cli","clientside","single page apps"],description:"CLI tool for generating single page apps a. la. http://humanjavascript.com",homepage:"https://github.com/ampersandjs/ampersand",license:"MIT"},{id:"ampersand-collection-fluxible-mixin",author:"mikepb",tags:["amperesand","collection","dehydrate","fluxible","mixin","model","rehydrate","store"],description:"This module implements the `dehydrate` and `rehydrate` methods for [Ampersand.js][] states and models to be used as [Fluxible][fluxible] Stores.",homepage:"http://github.com/mikepb/ampersand-collection-fluxible-mixin",license:"MIT"},{id:"ampersand-class-extend",author:"fyockm",tags:["ampersand","inheritance","class"],description:"JS class extension tool for enabling easily extending prototype with multiple objects.",homepage:"https://github.com/ampersandjs/ampersand-class-extend",license:"MIT"},{id:"ampersand-drawer-view",author:"scottcorgan",tags:["backbone","view","render","menu","hamburger"],description:"Ampersand view class for hamburger drawer-like layouts",homepage:"https://github.com/scottcorgan/ampersand-drawer-view",license:"MIT"},{id:"ampersand-collection-underscore-mixin",author:"henrikjoreteg",tags:["ampersand","collection","underscore"],description:"A mixin for extending ampersand-collection with underscore methods.",homepage:"https://github.com/ampersandjs/ampersand-collection-underscore-mixin",license:"MIT"},{id:"ampersand-sanitized-html-data-type",author:"mikepb",tags:["amperesand","crypto","gumbo","html","sanitize","signature","whitelist","xss"],description:"This module implements an isomorphic sanitized HTML data type for [Ampersand.js][]. On the server, [Google's Gumbo HTML parser][gumbo] is used to parse and sanitize the HTML data. In the browser, the sanitized value is used when rendering user-generated c",homepage:"http://github.com/mikepb/ampersand-sanitized-html-data-type",license:"MIT"},{id:"ampersand-store",author:"robrichard",tags:["ampersand","backbone","store","flux","dispatcher","model","collection"],description:"A store for use with ampersand or backbone projects and flux dispatchers",homepage:"https://github.com/robrichard/ampersand-store",license:"Apache-2.0"},{id:"ampersand-mixins",author:"herkyl",description:"Use Ampersand-mixins to mix multiple mixins into a single Ampersand object. Ampersand-mixins merges all Ampersand specific properties such as props, events, bindings, etc."},{id:"milliseconds",author:"henrikjoreteg",tags:["time","conversion","milliseconds"],description:"Insanely lightweight module for converting times to milliseconds.",homepage:"https://github.com/henrikjoreteg/milliseconds",license:"MIT"},{id:"ampersand-checkbox-view",author:"andyet-ops",tags:["forms","ampersand","browser"],description:"A view module for intelligently rendering and validating checkbox input. Works well with ampersand-form-view.",homepage:"https://github.com/ampersandjs/ampersand-checkbox-view",license:"MIT"},{id:"ampersand-floatinglabel-input-view",author:"beardfury",tags:["ampersand","ampersandjs","floating","floating","label","label","input","form"],description:"An extended Ampersand.js input view to provide floating labels on input elements",homepage:"https://github.com/datuhealth/ampersand-floatinglabel-input-view#readme",license:"Apache-2.0"},{id:"ampersand-grid-view",author:"simme",tags:["ampersand","view","collection","grid"],description:"A collection backed grid view.",homepage:"https://github.com/simme/ampersand-grid-view",license:"MIT"},{id:"ampersand-form-view",author:"cdaringe",tags:["forms","ampersand","browser"],description:"Completely customizable form lib for bulletproof clientside forms.",homepage:"https://github.com/ampersandjs/ampersand-form-view",license:"MIT"},{id:"ampersand-router",author:"dhritzkiv",tags:["clientside","router","history"],description:"Clientside router with fallbacks for browsers that don't support pushState. Mostly lifted from Backbone.js.",homepage:"https://github.com/ampersandjs/ampersand-router",license:"MIT"},{id:"ampersand-multifield-view",author:"yola",tags:["forms","ampersand","browser"],description:"A view module for intelligently grouping multiple field views. Works well with ampersand-form-view",homepage:"https://github.com/yola/ampersand-multifield-view",license:"MIT"},{id:"domify",author:"tjholowaychuk",tags:["dom","html","client","browser","component"],description:"turn HTML into DOM elements",homepage:"https://github.com/component/domify#readme",license:"MIT"},{id:"bind-transforms",author:"henrikjoreteg",tags:["humanjs","backbone","views","binding","transforms"],description:"Bind models properties to properly prefixed CSS transforms in backbone/humanjs views.",homepage:"https://github.com/HenrikJoreteg/bind-transforms",license:"MIT"},{id:"ampersand-modal-view",author:"simme",tags:["ampersand","modal","view"],description:"Modal view for Ampersand.js",license:"MIT"},{id:"ampersand-input-view",author:"andyet-ops",tags:["forms","ampersand","browser"],description:"A view module for intelligently rendering and validating input. Works well with ampersand-form-view.",homepage:"https://github.com/ampersandjs/ampersand-input-view",license:"MIT"},{id:"cookie-getter",author:"henrikjoreteg",tags:["client","clientmodules","cookie","cookies"],description:"Super light, high performance clientside cookie reader module.",homepage:"https://github.com/HenrikJoreteg/cookie-getter",license:"MIT"},{id:"emoji-images",author:"henrikjoreteg",description:"Replace stuff like :smiley: in text with <img> tags of a corresponding image."},{id:"ampersand-state-fluxible-mixin",author:"mikepb",tags:["amperesand","dehydrate","fluxible","mixin","model","rehydrate","state","store"],description:"This module implements the `dehydrate` and `rehydrate` methods for [Ampersand.js][] states and models to be used as [Fluxible][fluxible] Stores.",homepage:"http://github.com/mikepb/ampersand-state-fluxible-mixin",license:"MIT"},{id:"array-jumper",author:"henrikjoreteg",tags:["util","array","index"],description:"Jump forward or backward through an array by an index based on an item already in the array.",license:"MIT"},{id:"favicon-setter",author:"henrikjoreteg",tags:["favicon","browser","browserify"],description:"Super-simple tool for dynamically setting the favicon image on a page."},{id:"attachmediastream",author:"xdumaine",tags:["browser","getUserMedia","browserify","WebRTC","video"],description:"cross-browser way to attach a media stream to a video element.",homepage:"https://github.com/HenrikJoreteg/attachMediaStream#readme",license:"MIT"},{id:"event-component",author:"tjholowaychuk",tags:["event","events"],description:"Event binding component"},{id:"array-next",author:"henrikjoreteg",tags:["util","array","index"],description:"Advance to the next item in the array looping when hitting the end.",license:"MIT"},{id:"clientconfig",author:"henrikjoreteg",description:"Simple way to pass config items from server to client",homepage:"https://github.com/henrikjoreteg/clientconfig#readme",license:"MIT"},{id:"get-result",author:"henrikjoreteg",tags:["utility","result","property"],description:"Utility function for getting a named property from an object. If the named property is a function invoke it with the object as context and return the result, otherwise return the property.",homepage:"https://github.com/henrikjoreteg/get-result",license:"MIT"},{id:"dummy-api",author:"henrikjoreteg",tags:["REST","api","development"],description:"Util for making a fake little RESTful resource in express.js.",license:"MIT"},{id:"backbone-events-standalone",author:"n1k0",tags:["backbone","events"],description:"Standalone version of Backbone.Events",homepage:"https://github.com/n1k0/backbone-events-standalone",license:"MIT"},{id:"mockconsole",author:"henrikjoreteg",tags:["browser","console","logging"],description:"An object with all the same methods as console in the browser. But does nothing.",license:"MIT"},{id:"image-to-data-uri",author:"henrikjoreteg",description:"Clientside module (compatible with clientmodules) that takes an image url, downloads the image and creates a data URI for caching, etc.",homepage:"https://github.com/henrikjoreteg/image-to-data-uri.js#readme"},{id:"photograb",author:"henrikjoreteg",tags:["browser","getUserMedia","webrtc"],description:"Browser module for capturing snapshots from a video (or other compatible) element.",license:"MIT"},{id:"hidden",author:"raynos",tags:[],description:"Cross browser Element#hidden",homepage:"https://github.com/npm-dom/hidden",license:"MIT"},{id:"query-param-getter",author:"henrikjoreteg",tags:["querystring","browser","url"],description:"Client module for grabbing query parameters by name from the URL.",license:"MIT"},{id:"media-query-listener",author:"jonathanp",description:"A module for observing media query breakpoint changes defined in CSS",homepage:"https://github.com/jonathanp/media-query-listener",license:"MIT"},{id:"ampersand-view-switcher",author:"dhritzkiv",tags:["ampersand","views","backbone","clientside"],description:"A utility for swapping out views inside a container element.",homepage:"https://github.com/ampersandjs/ampersand-view-switcher",license:"MIT"},{id:"jingle-rtcpeerconnection",author:"lancestout",tags:["RTCPeerConnection","webrtc","xmpp","jingle"],description:"A wrapper for RTCPeerConnection that uses a JSON API instead of raw SDP.",license:"MIT"},{id:"translatez-hack",author:"henrikjoreteg",tags:["styles","css","browserify"],description:"Apply the translateZ hack in a cross-browser way. For use with browserify / CommonJS.",license:"MIT"},{id:"ampersand-state",author:"dhritzkiv",tags:["model","object","observable"],description:"An observable, extensible state object with derived watchable properties.",homepage:"https://github.com/ampersandjs/ampersand-state",license:"MIT"},{id:"pikaday",author:"rikkert",tags:["datepicker","calendar","date"],description:"A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS",homepage:"http://dbushell.github.io/Pikaday/",license:"(0BSD OR MIT)"},{id:"moonboots_hapi",author:"andyet-ops",description:"Moonboots plugin that allows it to serve files using a hapi server",homepage:"https://github.com/wraithgar/moonboots_hapi#readme",license:"MIT"},{id:"mediastream-gain",author:"henrikjoreteg",tags:["browser","getUserMedia","WebRTC","microphone","webaudio"],description:"cross-browser getUserMedia shim with node.js style error-first API.",homepage:"https://github.com/HenrikJoreteg/mediastream-gain",license:"MIT"},{id:"time-counter",author:"henrikjoreteg",description:"Simple time counter tracker",homepage:"https://github.com/henrikjoreteg/time-counter#readme"},{id:"reformer-username",author:"henrikjoreteg",tags:["form","browser"],description:"Field plugin for reformer, that handles the annoying problem of username validataion in forms."},{id:"window-watcher",author:"henrikjoreteg",tags:["window","dom","events"],description:"State object you can listen to for changes to window width.",homepage:"https://github.com/henrikjoreteg/window-watcher",license:"MIT"},{id:"ms",author:"leo",description:"Tiny milisecond conversion utility",homepage:"https://github.com/zeit/ms#readme",license:"MIT"},{id:"fastclick",author:"ftlabs",tags:["fastclick","mobile","touch","tap","click","delay"],description:"Polyfill to remove click delays on browsers with touch UIs.",homepage:"https://github.com/ftlabs/fastclick",license:"MIT"},{id:"system-requirements",author:"henrikjoreteg",description:"Boxed software has 'em, now the web does too.",homepage:"https://github.com/henrikjoreteg/system-requirements.js#readme"},{id:"wildemitter",author:"andyet",tags:["events","emitter","browser"],description:"A super lightweight EventEmitter similar to what comes in Node.js, but with a support for wildcard events '*' and grouped handlers",homepage:"https://github.com/HenrikJoreteg/wildemitter#readme"},{id:"stylizer",author:"latentflip",description:"Stylizer makes it super easy to integrate [Stylus](https://learnboost.github.io/stylus/), and stylus plugins, into a [Node.js](http://nodejs.org/)/[moonboots](https://github.com/HenrikJoreteg/moonboots) project.",homepage:"https://github.com/latentflip/stylizer#readme",license:"MIT"},{id:"sound-effect-manager",author:"henrikjoreteg",description:"Easy way to manage and play sound effects using HTML5 Web Audio API",homepage:"https://github.com/henrikjoreteg/SoundEffectManager#readme"},{id:"tryit",author:"henrikjoreteg",tags:["errors","try","errorhandling"],description:"Module to wrap try-catch for better performance and cleaner API.",homepage:"https://github.com/HenrikJoreteg/tryit#readme",license:"MIT"},{id:"hark",author:"latentflip",description:"Converts an audio stream to speech events in the browser",homepage:"https://github.com/latentflip/hark#readme",license:"MIT"},{id:"wake-event",author:"henrikjoreteg",tags:["browser","events"],description:"Detection for computer waking up from sleep.",license:"MIT"},{id:"ampersand-file-drop-view",author:"dhritzkiv",tags:["ampersand","file","view","drag","drop","input","dnd"],description:"Drag-and-drop file view based on ampersand-view, and for use in ampersand-form-view",homepage:"https://github.com/dhritzkiv/ampersand-file-drop-view",license:"MIT"},{id:"extend-object",author:"henrikjoreteg",tags:["extend","object","underscore"],description:"Underscore's extend method as a standalone Common JS module.",homepage:"https://github.com/henrikjoreteg/extend-object",license:"MIT"},{id:"webrtcsupport",author:"henrikjoreteg",tags:["browser","WebRTC"],description:"Browser module to detect support for webrtc and extract proper constructors.",homepage:"https://github.com/HenrikJoreteg/webrtcsupport#readme",license:"MIT"},{id:"loading-stats",author:"henrikjoreteg",description:"For tracking web app loading performance for single page apps."},{id:"rtcpeerconnection",author:"andyet-ops",tags:["browser","RTCPeerConnection","WebRTC","Jingle"],description:"A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.",homepage:"https://github.com/otalk/RTCPeerConnection#readme",license:"MIT"},{id:"templatizer",author:"andyet-ops",tags:["browser","jade","templates"],description:"Simple solution for compiling jade templates into vanilla JS functions for blazin' fast client-side use.",homepage:"https://github.com/HenrikJoreteg/templatizer",license:"MIT"},{id:"jxt",author:"andyet-ops",tags:["JXT","JSON","XML","translation","stanza.io"],description:"JSON/XML Translator. Set/retrieve data from XML just like working with a dictionary.",homepage:"https://github.com/otalk/jxt#readme",license:"MIT"},{id:"bows",author:"latentflip",tags:["color","logging","chrome","console"],description:"Rainbowed console logs for chrome, opera and firefox in development.",homepage:"https://github.com/latentflip/bows#readme",license:"MIT"},{id:"key-tree-store",author:"henrikjoreteg",tags:["events","keypath","trigger"],description:"Simple tool for storing/retrieving objects events based hierarchical keypaths.",homepage:"https://github.com/HenrikJoreteg/key-tree-store",license:"MIT"},{id:"getusermedia",author:"andyet-ops",tags:["browser","getUserMedia","WebRTC"],description:"cross-browser getUserMedia shim with node.js style error-first API.",homepage:"https://github.com/otalk/getUserMedia#readme",license:"MIT"},{id:"moonboots",author:"andyet-ops",tags:["browserify","clientside","commonjs","singlepage"],description:"A set of tools and conventions for building/serving clientside apps with node.js",homepage:"https://github.com/henrikjoreteg/moonboots",license:"MIT"},{id:"ampersand-select-view",author:"andyet-ops",tags:["ampersand","form","view","select"],description:"A view module for intelligently rendering and validating selectbox input. Works well with ampersand-form-view.",homepage:"https://github.com/AmpersandJS/ampersand-select-view",license:"MIT"},{id:"transform-style",author:"henrikjoreteg",tags:["styles","css","browserify"],description:"Apply transform style property with proper prefix to an element. For use with browserify / CommonJS.",homepage:"https://github.com/HenrikJoreteg/transform-style#readme",license:"MIT"},{id:"ampersand-model",author:"dhritzkiv",tags:["model, ampersand, state"],description:"An extension to ampersand-state that adds methods and properties for working with a RESTful API.",homepage:"https://github.com/ampersandjs/ampersand-model",license:"MIT"},{id:"zepto-detect",author:"henrikjoreteg",tags:["zepto","browser"],description:"The detect portion of zepto.js structured for use with browserify.",license:"MIT"},{id:"img",author:"kazmer",tags:["image","element","dom","tree","render","canvas"],description:"Convert any dom tree to an image element",homepage:"https://github.com/modulesio/img#readme",license:"ISC"},{id:"ampersand-sync",author:"dhritzkiv",tags:["backbone","sync","rest","ampersand"],description:"Provides sync behavior for updating data from ampersand models and collections to the server.",homepage:"https://github.com/ampersandjs/ampersand-sync",license:"MIT"},{id:"page",author:"tjholowaychuk",description:"Tiny client-side router",homepage:"https://github.com/visionmedia/page.js#readme",license:"MIT"},{id:"webrtc",author:"henrikjoreteg",tags:["webrtc","browser"],description:"WebRTC abstraction for making it simple to manage multiple peer connections of various types.",homepage:"https://github.com/henrikjoreteg/webrtc.js"},{id:"stanza.io",author:"andyet-ops",tags:["XMPP","xmpp","websocket","stanza","json","bosh","stanza.io","otalk","jingle"],description:"Modern XMPP in the browser, with a JSON API",homepage:"http://stanza.io",license:"MIT"},{id:"ampersand-view",author:"cdaringe",tags:["backbone","view","browser","browserify"],description:"A smart base view for Backbone apps, to make it easy to bind collections and properties to the DOM.",homepage:"https://github.com/ampersandjs/ampersand-view",license:"MIT"},{id:"async",author:"caolan",tags:["async","callback","module","utility"],description:"Higher-order functions and common patterns for asynchronous code",homepage:"https://github.com/caolan/async#readme",license:"MIT"},{id:"precommit-hook",author:"nlf",description:"A useful pre-commit hook for git based projects that lints and runs npm test",homepage:"https://github.com/nlf/precommit-hook",license:"MIT"},{id:"reformer",author:"henrikjoreteg",tags:["form","browser"],description:"Super customizable, Self-contained, self-rendering, self-validating forms that can only output valid data."},{id:"raf-component",author:"tjholowaychuk",tags:["animate","requestAnimationFrame","performance"],description:"request animation frame",homepage:"https://github.com/component/raf"},{id:"jingle",author:"lancestout",tags:["webrtc","xmpp","jingle"],description:"Generic Jingle via WebRTC session manager.",homepage:"https://github.com/otalk/jingle.js",license:"MIT"}]
},{}],13:[function(t,e){e.exports=function(t){var e=location.search.split(t+"=")[1];return e?decodeURIComponent(e.split("&")[0]):void 0}},{}],14:[function(t,e){!function(t,n){"undefined"!=typeof e?e.exports=n():"function"==typeof define&&"object"==typeof define.amd?define(n):this[t]=n()}("domready",function(){var t,e=[],n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",o=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return o||n.addEventListener(i,t=function(){for(n.removeEventListener(i,t),o=1;t=e.shift();)t()}),function(t){o?setTimeout(t,0):e.push(t)}})},{}],5:[function(t,e){!function(){var n=t("ampersand-router"),r=t("./pages/repos");e.exports=n.extend({routes:{"":"repos"},repos:function(){app.renderPage(new r({model:me,collection:app.repos}))}})}()},{"./pages/repos":18,"ampersand-router":19}],6:[function(t,e){!function(){var n=t("ampersand-view");t("underscore");var r=t("domify"),i=t("../templates");t("../helpers/metrics");var o=t("favicon-setter");e.exports=n.extend({template:i.body,events:{"click a[href]":"handleLinkClick"},render:function(){return document.head.appendChild(r(i.head())),this.renderWithTemplate({me:me}),o("/images/logo-ampersand.png"),this}})}()},{"../helpers/metrics":1,"../templates":2,"ampersand-view":20,domify:21,"favicon-setter":22,underscore:10}],8:[function(t,e){var n=t("ampersand-model");e.exports=n.extend({type:"user",props:{id:["string"],firstName:["string",!0,""],lastName:["string",!0,""],username:["string"]},session:{query:["string",!0]},derived:{fullName:{deps:["firstName","lastName"],cache:!0,fn:function(){return this.firstName+" "+this.lastName}},initials:{deps:["firstName","lastName"],cache:!0,fn:function(){return(this.firstName.charAt(0)+this.lastName.charAt(0)).toUpperCase()}}}})},{"ampersand-model":23}],12:[function(t,e){var n=t("cookie-getter"),r=n("config")||{};Object.freeze&&Object.freeze(r),document.cookie="config=;expires=Thu, 01 Jan 1970 00:00:00 GMT",e.exports=r},{"cookie-getter":24}],21:[function(t,e){!function(){function t(t,e){if("string"!=typeof t)throw new TypeError("String expected");e||(e=document);var n=/<([\w:]+)/.exec(t);if(!n)return e.createTextNode(t);t=t.replace(/^\s+|\s+$/g,"");var r=n[1];if("body"==r){var o=e.createElement("html");return o.innerHTML=t,o.removeChild(o.lastChild)}var a=i[r]||i._default,s=a[0],u=a[1],c=a[2],o=e.createElement("div");for(o.innerHTML=u+t+c;s--;)o=o.lastChild;if(o.firstChild==o.lastChild)return o.removeChild(o.firstChild);for(var l=e.createDocumentFragment();o.firstChild;)l.appendChild(o.removeChild(o.firstChild));return l}e.exports=t;var n,r=!1;"undefined"!=typeof document&&(n=document.createElement("div"),n.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',r=!n.getElementsByTagName("link").length,n=void 0);var i={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:r?[1,"X<div>","</div>"]:[0,"",""]};i.td=i.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],i.option=i.optgroup=[1,'<select multiple="multiple">',"</select>"],i.thead=i.tbody=i.colgroup=i.caption=i.tfoot=[1,"<table>","</table>"],i.polyline=i.ellipse=i.polygon=i.circle=i.text=i.line=i.path=i.rect=i.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"]}()},{}],22:[function(t,e){!function(){function t(t){var e=document.head=document.getElementsByTagName("head")[0],n="favicon",r=document.createElement("link"),i=document.getElementById(n);return r.id=n,r.rel="shortcut icon",r.href=t,i&&e.removeChild(i),e.appendChild(r),this}"undefined"!=typeof e?e.exports=t:"undefined"!=typeof $?$.setFavicon=t:window.setFavicon=t}()},{}],24:[function(t,e){e.exports=function(t){var e,n=document.cookie,r=n.indexOf(t+"="),i=n.indexOf(";",r);return~r?(e=decodeURIComponent(n.substring(r,~i?i:void 0).split("=")[1]),"{"===e.charAt(0)?JSON.parse(e):e):null}},{}],18:[function(t,e){var n=t("ampersand-view"),r=t("../templates"),i=t("../views/repo");e.exports=n.extend({template:r.pages.repos,events:{"keyup #search":"handleSearchKeyUp"},render:function(){return this.renderWithTemplate(),this.renderCollection(this.collection,i,this.query(".repoList")),this.searchEl=this.query("#search"),this.listenToAndRun(me,"change:query",this.handleQueryChange),this},handleSearchKeyUp:function(){me.query=this.searchEl.value},handleQueryChange:function(){var t=me.query,e=location.pathname;this.collection.filter(t),document.activeElement!==this.searchEl&&(this.searchEl.value=t),t?window.history.replaceState({},"",e+"?q="+t):window.history.replaceState({},"",e)}})},{"../templates":2,"../views/repo":25,"ampersand-view":20}],16:[function(t,e){var n=t("ampersand-collection"),r=t("ampersand-collection-underscore-mixin");e.exports=n.extend(r,{next:function(t,e,n){var r,i=this.indexOf(t);return-1===i?i=0:i+1>=this.length?i=0:i+=1,r=this.at(i),e&&r!==n&&!e(r)?this.next(r,e,n||t):r},prev:function(t,e,n){var r,i=this.indexOf(t);return-1===i?i=0:0===i?i=this.length-1:i-=1,r=this.at(i),e&&r!==n&&!e(r)?this.prev(r,e,n||t):this.at(i)}})},{"ampersand-collection":26,"ampersand-collection-underscore-mixin":27}],17:[function(t,e){var n=t("ampersand-model");e.exports=n.extend({type:"repo",props:{id:["string",!0],description:["string",!0],tags:["array",!0],author:["string",!0,""],homepage:["string",!0,""]},derived:{tagLinks:{fn:function(){return this.tags.map(function(t){return'<a href="#" class="tag">'+t+"</a>"}).join(", ")}},searchString:{cache:!0,fn:function(){return[this.id,this.description,this.author,this.homepage].concat(this.tags).join(" ").toLowerCase()}},npmUrl:{cache:!0,fn:function(){return"http://npmjs.org/package/"+this.id}},npmUserUrl:{cache:!0,fn:function(){return"http://npmjs.org/~"+this.author.toLowerCase()}}},session:{active:["boolean",!0,!0]},matches:function(t){var e=(t||"").toLowerCase();this.active=-1!==this.searchString.indexOf(e)}})},{"ampersand-model":23}],25:[function(t,e){var n=t("ampersand-view"),r=t("../templates");e.exports=n.extend({template:r.includes.repo,bindings:{"model.active":{type:"booleanClass"}},events:{"click .tags a":"handleTagClick"},render:function(){this.renderWithTemplate({repo:this.model})},handleTagClick:function(t){return me.query=t.target.textContent,!1}})},{"../templates":2,"ampersand-view":20}],19:[function(t,e){"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-router"]=window.ampersand["ampersand-router"]||[],window.ampersand["ampersand-router"].push("1.0.7"));var n=t("ampersand-class-extend"),r=t("backbone-events-standalone"),i=t("./ampersand-history"),o=t("amp-extend"),a=t("amp-is-regexp"),s=t("amp-is-function"),u=t("amp-result"),c=e.exports=function(t){t||(t={}),this.history=t.history||i,t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},l=/\((.*?)\)/g,f=/(\(\?)?:\w+/g,p=/\*\w+/g,h=/[\-{}\[\]+?.,\\\^$|#\s]/g;o(c.prototype,r,{initialize:function(){},route:function(t,e,n){a(t)||(t=this._routeToRegExp(t)),s(e)&&(n=e,e=""),n||(n=this[e]);var r=this;return this.history.route(t,function(i){var o=r._extractParameters(t,i);r.execute(n,o,e)!==!1&&(r.trigger.apply(r,["route:"+e].concat(o)),r.trigger("route",e,o),r.history.trigger("route",r,e,o))}),this},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,e){return this.history.navigate(t,e),this},redirectTo:function(t){this.navigate(t,{replace:!0,trigger:!0})},_bindRoutes:function(){if(this.routes){this.routes=u(this,"routes");for(var t,e=Object.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(h,"\\$&").replace(l,"(?:$1)?").replace(f,function(t,e){return e?t:"([^/?]+)"}).replace(p,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return n.map(function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null})}}),c.extend=n},{"./ampersand-history":28,"amp-extend":31,"amp-is-function":32,"amp-is-regexp":30,"amp-result":33,"ampersand-class-extend":29,"backbone-events-standalone":34}],30:[function(t,e){var n=Object.prototype.toString;e.exports=function(t){return"[object RegExp]"===n.call(t)}},{}],32:[function(t,e){var n=Object.prototype.toString,r=function(t){return"[object Function]"===n.call(t)};"function"!=typeof/./&&(r=function(t){return"function"==typeof t||!1}),e.exports=r},{}],35:[function(t,e,n){!function(){(function(){function t(t){function e(e,n,r,i,o,a){for(;o>=0&&a>o;o+=t){var s=i?i[o]:o;r=n(r,e[s],s,e)}return r}return function(n,r,i,o){r=_(r,o,4);var a=!I(n)&&w.keys(n),s=(a||n).length,u=t>0?0:s-1;return arguments.length<3&&(i=n[a?a[u]:u],u+=t),e(n,r,i,a,u,s)}}function r(t){return function(e,n,r){n=x(n,r);for(var i=S(e),o=t>0?0:i-1;o>=0&&i>o;o+=t)if(n(e[o],o,e))return o;return-1}}function i(t,e,n){return function(r,i,o){var a=0,s=S(r);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(p.call(r,a,s),w.isNaN),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&s>o;o+=t)if(r[o]===i)return o;return-1}}function o(t,e){var n=L.length,r=t.constructor,i=w.isFunction(r)&&r.prototype||c,o="constructor";for(w.has(t,o)&&!w.contains(e,o)&&e.push(o);n--;)o=L[n],o in t&&t[o]!==i[o]&&!w.contains(e,o)&&e.push(o)}var a=this,s=a._,u=Array.prototype,c=Object.prototype,l=Function.prototype,f=u.push,p=u.slice,h=c.toString,d=c.hasOwnProperty,g=Array.isArray,v=Object.keys,m=l.bind,y=Object.create,b=function(){},w=function(t){return t instanceof w?t:this instanceof w?(this._wrapped=t,void 0):new w(t)};"undefined"!=typeof n?("undefined"!=typeof e&&e.exports&&(n=e.exports=w),n._=w):a._=w,w.VERSION="1.8.3";var _=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}},x=function(t,e,n){return null==t?w.identity:w.isFunction(t)?_(t,e,n):w.isObject(t)?w.matcher(t):w.property(t)};w.iteratee=function(t,e){return x(t,e,1/0)};var k=function(t,e){return function(n){var r=arguments.length;if(2>r||null==n)return n;for(var i=1;r>i;i++)for(var o=arguments[i],a=t(o),s=a.length,u=0;s>u;u++){var c=a[u];e&&void 0!==n[c]||(n[c]=o[c])}return n}},j=function(t){if(!w.isObject(t))return{};if(y)return y(t);b.prototype=t;var e=new b;return b.prototype=null,e},E=function(t){return function(e){return null==e?void 0:e[t]}},A=Math.pow(2,53)-1,S=E("length"),I=function(t){var e=S(t);return"number"==typeof e&&e>=0&&A>=e};w.each=w.forEach=function(t,e,n){e=_(e,n);var r,i;if(I(t))for(r=0,i=t.length;i>r;r++)e(t[r],r,t);else{var o=w.keys(t);for(r=0,i=o.length;i>r;r++)e(t[o[r]],o[r],t)}return t},w.map=w.collect=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=Array(i),a=0;i>a;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o},w.reduce=w.foldl=w.inject=t(1),w.reduceRight=w.foldr=t(-1),w.find=w.detect=function(t,e,n){var r;return r=I(t)?w.findIndex(t,e,n):w.findKey(t,e,n),void 0!==r&&-1!==r?t[r]:void 0},w.filter=w.select=function(t,e,n){var r=[];return e=x(e,n),w.each(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r},w.reject=function(t,e,n){return w.filter(t,w.negate(x(e)),n)},w.every=w.all=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0},w.some=w.any=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1},w.contains=w.includes=w.include=function(t,e,n,r){return I(t)||(t=w.values(t)),("number"!=typeof n||r)&&(n=0),w.indexOf(t,e,n)>=0},w.invoke=function(t,e){var n=p.call(arguments,2),r=w.isFunction(e);return w.map(t,function(t){var i=r?e:t[e];return null==i?i:i.apply(t,n)})},w.pluck=function(t,e){return w.map(t,w.property(e))},w.where=function(t,e){return w.filter(t,w.matcher(e))},w.findWhere=function(t,e){return w.find(t,w.matcher(e))},w.max=function(t,e,n){var r,i,o=-1/0,a=-1/0;if(null==e&&null!=t){t=I(t)?t:w.values(t);for(var s=0,u=t.length;u>s;s++)r=t[s],r>o&&(o=r)}else e=x(e,n),w.each(t,function(t,n,r){i=e(t,n,r),(i>a||i===-1/0&&o===-1/0)&&(o=t,a=i)});return o},w.min=function(t,e,n){var r,i,o=1/0,a=1/0;if(null==e&&null!=t){t=I(t)?t:w.values(t);for(var s=0,u=t.length;u>s;s++)r=t[s],o>r&&(o=r)}else e=x(e,n),w.each(t,function(t,n,r){i=e(t,n,r),(a>i||1/0===i&&1/0===o)&&(o=t,a=i)});return o},w.shuffle=function(t){for(var e,n=I(t)?t:w.values(t),r=n.length,i=Array(r),o=0;r>o;o++)e=w.random(0,o),e!==o&&(i[o]=i[e]),i[e]=n[o];return i},w.sample=function(t,e,n){return null==e||n?(I(t)||(t=w.values(t)),t[w.random(t.length-1)]):w.shuffle(t).slice(0,Math.max(0,e))},w.sortBy=function(t,e,n){return e=x(e,n),w.pluck(w.map(t,function(t,n,r){return{value:t,index:n,criteria:e(t,n,r)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return t.index-e.index}),"value")};var O=function(t){return function(e,n,r){var i={};return n=x(n,r),w.each(e,function(r,o){var a=n(r,o,e);t(i,r,a)}),i}};w.groupBy=O(function(t,e,n){w.has(t,n)?t[n].push(e):t[n]=[e]}),w.indexBy=O(function(t,e,n){t[n]=e}),w.countBy=O(function(t,e,n){w.has(t,n)?t[n]++:t[n]=1}),w.toArray=function(t){return t?w.isArray(t)?p.call(t):I(t)?w.map(t,w.identity):w.values(t):[]},w.size=function(t){return null==t?0:I(t)?t.length:w.keys(t).length},w.partition=function(t,e,n){e=x(e,n);var r=[],i=[];return w.each(t,function(t,n,o){(e(t,n,o)?r:i).push(t)}),[r,i]},w.first=w.head=w.take=function(t,e,n){return null==t?void 0:null==e||n?t[0]:w.initial(t,t.length-e)},w.initial=function(t,e,n){return p.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},w.last=function(t,e,n){return null==t?void 0:null==e||n?t[t.length-1]:w.rest(t,Math.max(0,t.length-e))},w.rest=w.tail=w.drop=function(t,e,n){return p.call(t,null==e||n?1:e)},w.compact=function(t){return w.filter(t,w.identity)};var T=function(t,e,n,r){for(var i=[],o=0,a=r||0,s=S(t);s>a;a++){var u=t[a];if(I(u)&&(w.isArray(u)||w.isArguments(u))){e||(u=T(u,e,n));var c=0,l=u.length;for(i.length+=l;l>c;)i[o++]=u[c++]}else n||(i[o++]=u)}return i};w.flatten=function(t,e){return T(t,e,!1)},w.without=function(t){return w.difference(t,p.call(arguments,1))},w.uniq=w.unique=function(t,e,n,r){w.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=x(n,r));for(var i=[],o=[],a=0,s=S(t);s>a;a++){var u=t[a],c=n?n(u,a,t):u;e?(a&&o===c||i.push(u),o=c):n?w.contains(o,c)||(o.push(c),i.push(u)):w.contains(i,u)||i.push(u)}return i},w.union=function(){return w.uniq(T(arguments,!0,!0))},w.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=S(t);i>r;r++){var o=t[r];if(!w.contains(e,o)){for(var a=1;n>a&&w.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},w.difference=function(t){var e=T(arguments,!0,!0,1);return w.filter(t,function(t){return!w.contains(e,t)})},w.zip=function(){return w.unzip(arguments)},w.unzip=function(t){for(var e=t&&w.max(t,S).length||0,n=Array(e),r=0;e>r;r++)n[r]=w.pluck(t,r);return n},w.object=function(t,e){for(var n={},r=0,i=S(t);i>r;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n},w.findIndex=r(1),w.findLastIndex=r(-1),w.sortedIndex=function(t,e,n,r){n=x(n,r,1);for(var i=n(e),o=0,a=S(t);a>o;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o},w.indexOf=i(1,w.findIndex,w.sortedIndex),w.lastIndexOf=i(-1,w.findLastIndex),w.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;r>o;o++,t+=n)i[o]=t;return i};var M=function(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=j(t.prototype),a=t.apply(o,i);return w.isObject(a)?a:o};w.bind=function(t,e){if(m&&t.bind===m)return m.apply(t,p.call(arguments,1));if(!w.isFunction(t))throw new TypeError("Bind must be called on a function");var n=p.call(arguments,2),r=function(){return M(t,r,e,this,n.concat(p.call(arguments)))};return r},w.partial=function(t){var e=p.call(arguments,1),n=function(){for(var r=0,i=e.length,o=Array(i),a=0;i>a;a++)o[a]=e[a]===w?arguments[r++]:e[a];for(;r<arguments.length;)o.push(arguments[r++]);return M(t,n,this,this,o)};return n},w.bindAll=function(t){var e,n,r=arguments.length;if(1>=r)throw new Error("bindAll must be passed function names");for(e=1;r>e;e++)n=arguments[e],t[n]=w.bind(t[n],t);return t},w.memoize=function(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return w.has(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n},w.delay=function(t,e){var n=p.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},w.defer=w.partial(w.delay,w,1),w.throttle=function(t,e,n){var r,i,o,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:w.now(),a=null,o=t.apply(r,i),a||(r=i=null)};return function(){var c=w.now();s||n.leading!==!1||(s=c);var l=e-(c-s);return r=this,i=arguments,0>=l||l>e?(a&&(clearTimeout(a),a=null),s=c,o=t.apply(r,i),a||(r=i=null)):a||n.trailing===!1||(a=setTimeout(u,l)),o}},w.debounce=function(t,e,n){var r,i,o,a,s,u=function(){var c=w.now()-a;e>c&&c>=0?r=setTimeout(u,e-c):(r=null,n||(s=t.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=w.now();var c=n&&!r;return r||(r=setTimeout(u,e)),c&&(s=t.apply(o,i),o=i=null),s}},w.wrap=function(t,e){return w.partial(e,t)},w.negate=function(t){return function(){return!t.apply(this,arguments)}},w.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},w.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},w.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=null),n}},w.once=w.partial(w.before,2);var C=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];w.keys=function(t){if(!w.isObject(t))return[];if(v)return v(t);var e=[];for(var n in t)w.has(t,n)&&e.push(n);return C&&o(t,e),e},w.allKeys=function(t){if(!w.isObject(t))return[];var e=[];for(var n in t)e.push(n);return C&&o(t,e),e},w.values=function(t){for(var e=w.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=t[e[i]];return r},w.mapObject=function(t,e,n){e=x(e,n);for(var r,i=w.keys(t),o=i.length,a={},s=0;o>s;s++)r=i[s],a[r]=e(t[r],r,t);return a},w.pairs=function(t){for(var e=w.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=[e[i],t[e[i]]];return r},w.invert=function(t){for(var e={},n=w.keys(t),r=0,i=n.length;i>r;r++)e[t[n[r]]]=n[r];return e},w.functions=w.methods=function(t){var e=[];for(var n in t)w.isFunction(t[n])&&e.push(n);return e.sort()},w.extend=k(w.allKeys),w.extendOwn=w.assign=k(w.keys),w.findKey=function(t,e,n){e=x(e,n);for(var r,i=w.keys(t),o=0,a=i.length;a>o;o++)if(r=i[o],e(t[r],r,t))return r},w.pick=function(t,e,n){var r,i,o={},a=t;if(null==a)return o;w.isFunction(e)?(i=w.allKeys(a),r=_(e,n)):(i=T(arguments,!1,!1,1),r=function(t,e,n){return e in n},a=Object(a));for(var s=0,u=i.length;u>s;s++){var c=i[s],l=a[c];r(l,c,a)&&(o[c]=l)}return o},w.omit=function(t,e,n){if(w.isFunction(e))e=w.negate(e);else{var r=w.map(T(arguments,!1,!1,1),String);e=function(t,e){return!w.contains(r,e)}}return w.pick(t,e,n)},w.defaults=k(w.allKeys,!0),w.create=function(t,e){var n=j(t);return e&&w.extendOwn(n,e),n},w.clone=function(t){return w.isObject(t)?w.isArray(t)?t.slice():w.extend({},t):t},w.tap=function(t,e){return e(t),t},w.isMatch=function(t,e){var n=w.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;r>o;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0};var B=function(t,e,n,r){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;t instanceof w&&(t=t._wrapped),e instanceof w&&(e=e._wrapped);var i=h.call(t);if(i!==h.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor;if(a!==s&&!(w.isFunction(a)&&a instanceof a&&w.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if(u=t.length,u!==e.length)return!1;for(;u--;)if(!B(t[u],e[u],n,r))return!1}else{var c,l=w.keys(t);if(u=l.length,w.keys(e).length!==u)return!1;for(;u--;)if(c=l[u],!w.has(e,c)||!B(t[c],e[c],n,r))return!1}return n.pop(),r.pop(),!0};w.isEqual=function(t,e){return B(t,e)},w.isEmpty=function(t){return null==t?!0:I(t)&&(w.isArray(t)||w.isString(t)||w.isArguments(t))?0===t.length:0===w.keys(t).length},w.isElement=function(t){return!(!t||1!==t.nodeType)},w.isArray=g||function(t){return"[object Array]"===h.call(t)},w.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},w.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){w["is"+t]=function(e){return h.call(e)==="[object "+t+"]"}}),w.isArguments(arguments)||(w.isArguments=function(t){return w.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(w.isFunction=function(t){return"function"==typeof t||!1}),w.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},w.isNaN=function(t){return w.isNumber(t)&&t!==+t},w.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===h.call(t)},w.isNull=function(t){return null===t},w.isUndefined=function(t){return void 0===t},w.has=function(t,e){return null!=t&&d.call(t,e)},w.noConflict=function(){return a._=s,this},w.identity=function(t){return t},w.constant=function(t){return function(){return t}},w.noop=function(){},w.property=E,w.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},w.matcher=w.matches=function(t){return t=w.extendOwn({},t),function(e){return w.isMatch(e,t)}},w.times=function(t,e,n){var r=Array(Math.max(0,t));e=_(e,n,1);for(var i=0;t>i;i++)r[i]=e(i);return r},w.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},w.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},N=w.invert(F),R=function(t){var e=function(e){return t[e]},n="(?:"+w.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};w.escape=R(F),w.unescape=R(N),w.result=function(t,e,n){var r=null==t?void 0:t[e];return void 0===r&&(r=n),w.isFunction(r)?r.call(t):r};var U=0;w.uniqueId=function(t){var e=++U+"";return t?t+e:e},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,W=function(t){return"\\"+P[t]};w.template=function(t,e,n){!e&&n&&(e=n),e=w.defaults({},e,w.templateSettings);var r=RegExp([(e.escape||q).source,(e.interpolate||q).source,(e.evaluate||q).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,a,s){return o+=t.slice(i,s).replace(D,W),i=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(e.variable||"obj","_",o)}catch(s){throw s.source=o,s}var u=function(t){return a.call(this,t,w)},c=e.variable||"obj";return u.source="function("+c+"){\n"+o+"}",u},w.chain=function(t){var e=w(t);return e._chain=!0,e};var z=function(t,e){return t._chain?w(e).chain():e};w.mixin=function(t){w.each(w.functions(t),function(e){var n=w[e]=t[e];w.prototype[e]=function(){var t=[this._wrapped];return f.apply(t,arguments),z(this,n.apply(w,t))}})},w.mixin(w),w.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=u[t];w.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],z(this,n)}}),w.each(["concat","join","slice"],function(t){var e=u[t];w.prototype[t]=function(){return z(this,e.apply(this._wrapped,arguments))}}),w.prototype.value=function(){return this._wrapped},w.prototype.valueOf=w.prototype.toJSON=w.prototype.value,w.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return w})}).call(this)}()},{}],23:[function(t,e){"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-model"]=window.ampersand["ampersand-model"]||[],window.ampersand["ampersand-model"].push("4.1.0"));var n=t("ampersand-state"),r=t("underscore"),i=t("ampersand-sync"),o=n.extend({save:function(t,e,n){var i,o,a;if(this.attributes,null==t||"object"==typeof t?(i=t,n=e):(i={})[t]=e,n=r.extend({validate:!0},n),i&&!n.wait){if(!this.set(i,n))return!1}else if(!this._validate(i,n))return!1;void 0===n.parse&&(n.parse=!0);var u=this,c=n.success;return n.success=function(t){var e=u.parse(t,n);return n.wait&&(e=r.extend(i||{},e)),r.isObject(e)&&!u.set(e,n)?!1:(c&&c(u,t,n),u.trigger("sync",u,t,n),void 0)},s(this,n),o=this.isNew()?"create":n.patch?"patch":"update","patch"===o&&(n.attrs=i),n.wait&&(n.attrs=r.extend(u.serialize(),i)),a=this.sync(o,this,n)},fetch:function(t){t=t?r.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=this,n=t.success;return t.success=function(r){return e.set(e.parse(r,t),t)?(n&&n(e,r,t),e.trigger("sync",e,r,t),void 0):!1},s(this,t),this.sync("read",this,t)},destroy:function(t){t=t?r.clone(t):{};var e=this,n=t.success,i=function(){e.trigger("destroy",e,e.collection,t)};if(t.success=function(r){(t.wait||e.isNew())&&i(),n&&n(e,r,t),e.isNew()||e.trigger("sync",e,r,t)},this.isNew())return t.success(),!1;s(this,t);var o=this.sync("delete",this,t);return t.wait||i(),o},sync:function(){return i.apply(this,arguments)},url:function(){var t=r.result(this,"urlRoot")||r.result(this.collection,"url")||a();return this.isNew()?t:t+("/"===t.charAt(t.length-1)?"":"/")+encodeURIComponent(this.getId())}}),a=function(){throw new Error('A "url" property or function must be specified')},s=function(t,e){var n=e.error;e.error=function(r){n&&n(t,r,e),t.trigger("error",t,r,e)}};e.exports=o},{"ampersand-state":36,"ampersand-sync":37,underscore:35}],20:[function(t,e){function n(t){this.cid=a("view"),t||(t={});var e=t.parent;delete t.parent,w.call(this,t,{init:!1,parent:e}),this.on("change:el",this._handleElementChange,this),this._parsedBindings=y(this.bindings,this),this._initializeBindings(),t.el&&!this.autoRender&&this._handleElementChange(),this._initializeSubviews(),this.template=t.template||this.template,this.initialize.apply(this,arguments),this.set(s(t,_)),this.autoRender&&this.template&&this.render()}"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-view"]=window.ampersand["ampersand-view"]||[],window.ampersand["ampersand-view"].push("7.4.2"));var r=t("ampersand-state"),i=t("ampersand-collection-view"),o=t("domify"),a=t("lodash.uniqueid"),s=t("lodash.pick"),u=t("lodash.assign"),c=t("lodash.foreach"),l=t("lodash.result"),f=t("lodash.last"),p=t("lodash.isstring"),h=t("lodash.bind"),d=t("lodash.flatten"),g=t("lodash.invoke"),v=t("events-mixin"),m=t("matches-selector"),y=t("ampersand-dom-bindings"),b=t("get-object-path"),w=r.extend({dataTypes:{element:{set:function(t){return{val:t,type:t instanceof Element?"element":typeof t}},compare:function(t,e){return t===e}},collection:{set:function(t){return{val:t,type:t&&t.isCollection?"collection":typeof t}},compare:function(t,e){return t===e}}},props:{model:"state",el:"element",collection:"collection"},derived:{rendered:{deps:["el"],fn:function(){return!!this.el}},hasData:{deps:["model"],fn:function(){return!!this.model}}}}),_=["model","collection","el"];n.prototype=Object.create(w.prototype),u(n.prototype,{query:function(t){return t?"string"==typeof t?m(this.el,t)?this.el:this.el.querySelector(t)||void 0:t:this.el},queryAll:function(t){var e=[];return this.el?""===t?[this.el]:(m(this.el,t)&&e.push(this.el),e.concat(Array.prototype.slice.call(this.el.querySelectorAll(t)))):e},queryByHook:function(t){return this.query('[data-hook~="'+t+'"]')},queryAllByHook:function(t){return this.queryAll('[data-hook~="'+t+'"]')},initialize:function(){},render:function(){return this.renderWithTemplate(this),this},remove:function(){var t=this._parsedBindings;return this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el),this._subviews&&g(d(this._subviews),"remove"),this.trigger("remove",this),this.stopListening(),c(t,function(e,n){c(e,function(e,r){delete t[n][r]}),delete t[n]}),this},_handleElementChange:function(){return this.eventManager&&this.eventManager.unbind(),this.eventManager=v(this.el,this),this.delegateEvents(),this._applyBindingsForKey(),this},delegateEvents:function(t){if(!t&&!(t=l(this,"events")))return this;this.undelegateEvents();for(var e in t)this.eventManager.bind(e,t[e]);return this},undelegateEvents:function(){return this.eventManager.unbind(),this},registerSubview:function(t){return this._subviews||(this._subviews=[]),this._subviews.push(t),t.parent||(t.parent=this),t},renderSubview:function(t,e){return"string"==typeof e&&(e=this.query(e)),this.registerSubview(t),t.render(),(e||this.el).appendChild(t.el),t},_applyBindingsForKey:function(t){if(this.el){var e,n=this._parsedBindings.getGrouped(t);for(e in n)n[e].forEach(function(t){t(this.el,b(this,e),f(e.split(".")))},this)}},_initializeBindings:function(){this.bindings&&this.on("all",function(t){"change:"===t.slice(0,7)&&this._applyBindingsForKey(t.split(":")[1])},this)},_initializeSubviews:function(){if(this.subviews)for(var t in this.subviews)this._parseSubview(this.subviews[t],t)},_parseSubview:function(t,e){function n(){var t,r;this.el&&(t=this.query(i.selector))&&(!i.waitFor||b(this,i.waitFor))&&(r=this[e]=i.prepareView.call(this,t),r.render(),this.registerSubview(r),this.off("change",n))}var r=this,i={selector:t.container||'[data-hook="'+t.hook+'"]',waitFor:t.waitFor||"",prepareView:t.prepareView||function(e){return new t.constructor({el:e,parent:r})}};this.on("change",n,this)},renderWithTemplate:function(t,e){var n=e||this.template;if(!n)throw new Error("Template string or function needed.");var r=p(n)?n:n.call(this,t||this);p(r)&&(r=o(r));var i=this.el&&this.el.parentNode;if(i&&i.replaceChild(r,this.el),"#document-fragment"===r.nodeName)throw new Error("Views can only have one root element, including comment nodes.");return this.el=r,this},cacheElements:function(t){for(var e in t)this[e]=this.query(t[e]);return this},listenToAndRun:function(t,e,n){var r=h(n,this);this.listenTo(t,e,r),r()},animateRemove:function(){this.remove()},renderCollection:function(t,e,n,r){var o="string"==typeof n?this.query(n):n,a=u({collection:t,el:o||this.el,view:e,parent:this,viewOptions:{parent:this}},r),s=new i(a);return s.render(),this.registerSubview(s)}}),n.extend=w.extend,e.exports=n},{"ampersand-collection-view":38,"ampersand-dom-bindings":39,"ampersand-state":36,domify:21,"events-mixin":51,"get-object-path":40,"lodash.assign":42,"lodash.bind":48,"lodash.flatten":49,"lodash.foreach":46,"lodash.invoke":50,"lodash.isstring":47,"lodash.last":45,"lodash.pick":43,"lodash.result":44,"lodash.uniqueid":41,"matches-selector":52}],40:[function(t,e){function n(t,e){if(-1==e.indexOf(".")&&-1==e.indexOf("["))return t[e];for(var n,r=e.split(/\.|\[|\]/g),i=-1,o=r.length;++i<o;)if(0==i&&(n=t),r[i]){if(void 0==n)break;n=n[r[i]]}return n}e.exports=n},{}],34:[function(t,e){e.exports=t("./backbone-events-standalone")},{"./backbone-events-standalone":53}],45:[function(t,e){function n(t){var e=t?t.length:0;return e?t[e-1]:void 0}e.exports=n},{}],47:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t){return"string"==typeof t||n(t)&&a.call(t)==i
}var i="[object String]",o=Object.prototype,a=o.toString;e.exports=r},{}],52:[function(t,e){"use strict";function n(t,e){if(!t||1!==t.nodeType)return!1;if(i)return i.call(t,e);for(var n=t.parentNode.querySelectorAll(e),r=0;r<n.length;r++)if(n[r]==t)return!0;return!1}var r="undefined"!=typeof Element?Element.prototype:{},i=r.matches||r.matchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector;e.exports=n},{}],27:[function(t,e){"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-collection-underscore-mixin"]=window.ampersand["ampersand-collection-underscore-mixin"]||[],window.ampersand["ampersand-collection-underscore-mixin"].push("1.0.4"));var n=t("underscore"),r=[].slice,i={},o=["forEach","each","map","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","max","min","toArray","size","first","head","take","initial","rest","tail","drop","last","without","difference","indexOf","shuffle","lastIndexOf","isEmpty","chain","sample","partition"];n.each(o,function(t){n[t]&&(i[t]=function(){var e=r.call(arguments);return e.unshift(this.models),n[t].apply(n,e)})});var a=["groupBy","countBy","sortBy","indexBy"];n.each(a,function(t){n[t]&&(i[t]=function(e,r){var i=n.isFunction(e)?e:function(t){return t.get?t.get(e):t[e]};return n[t](this.models,i,r)})}),i.where=function(t,e){return n.isEmpty(t)?e?void 0:[]:this[e?"find":"filter"](function(e){var n;for(var r in t)if(n=e.get?e.get(r):e[r],t[r]!==n)return!1;return!0})},i.findWhere=function(t){return this.where(t,!0)},i.pluck=function(t){return n.invoke(this.models,"get",t)},e.exports=i},{underscore:54}],53:[function(t,e,n){!function(){!function(){function t(){return{keys:Object.keys,uniqueId:function(t){var e=++c+"";return t?t+e:e},has:function(t,e){return s.call(t,e)},each:function(t,e,n){if(null!=t)if(a&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length){for(var r=0,i=t.length;i>r;r++)if(e.call(n,t[r],r,t)===o)return}else for(var s in t)if(this.has(t,s)&&e.call(n,t[s],s,t)===o)return},once:function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}}}}var r,i=this,o={},a=Array.prototype.forEach,s=Object.prototype.hasOwnProperty,u=Array.prototype.slice,c=0,l=t();r={on:function(t,e,n){if(!p(this,"on",t,[e,n])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);return r.push({callback:e,context:n,ctx:n||this}),this},once:function(t,e,n){if(!p(this,"once",t,[e,n])||!e)return this;var r=this,i=l.once(function(){r.off(t,i),e.apply(this,arguments)});return i._callback=e,this.on(t,i,n)},off:function(t,e,n){var r,i,o,a,s,u,c,f;if(!this._events||!p(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events={},this;for(a=t?[t]:l.keys(this._events),s=0,u=a.length;u>s;s++)if(t=a[s],o=this._events[t]){if(this._events[t]=r=[],e||n)for(c=0,f=o.length;f>c;c++)i=o[c],(e&&e!==i.callback&&e!==i.callback._callback||n&&n!==i.context)&&r.push(i);r.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=u.call(arguments,1);if(!p(this,"trigger",t,e))return this;var n=this._events[t],r=this._events.all;return n&&h(n,e),r&&h(r,arguments),this},stopListening:function(t,e,n){var r=this._listeners;if(!r)return this;var i=!e&&!n;"object"==typeof e&&(n=this),t&&((r={})[t._listenerId]=t);for(var o in r)r[o].off(e,n,this),i&&delete this._listeners[o];return this}};var f=/\s+/,p=function(t,e,n,r){if(!n)return!0;if("object"==typeof n){for(var i in n)t[e].apply(t,[i,n[i]].concat(r));return!1}if(f.test(n)){for(var o=n.split(f),a=0,s=o.length;s>a;a++)t[e].apply(t,[o[a]].concat(r));return!1}return!0},h=function(t,e){var n,r=-1,i=t.length,o=e[0],a=e[1],s=e[2];switch(e.length){case 0:for(;++r<i;)(n=t[r]).callback.call(n.ctx);return;case 1:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o);return;case 2:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o,a);return;case 3:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o,a,s);return;default:for(;++r<i;)(n=t[r]).callback.apply(n.ctx,e)}},d={listenTo:"on",listenToOnce:"once"};l.each(d,function(t,e){r[e]=function(e,n,r){var i=this._listeners||(this._listeners={}),o=e._listenerId||(e._listenerId=l.uniqueId("l"));return i[o]=e,"object"==typeof n&&(r=this),e[t](n,r,this),this}}),r.bind=r.on,r.unbind=r.off,r.mixin=function(t){var e=["on","once","off","trigger","stopListening","listenTo","listenToOnce","bind","unbind"];return l.each(e,function(e){t[e]=this[e]},this),t},"function"==typeof define?define(function(){return r}):"undefined"!=typeof n?("undefined"!=typeof e&&e.exports&&(n=e.exports=r),n.BackboneEvents=r):i.BackboneEvents=r}(this)}()},{}],54:[function(t,e,n){!function(){(function(){function t(t){function e(e,n,r,i,o,a){for(;o>=0&&a>o;o+=t){var s=i?i[o]:o;r=n(r,e[s],s,e)}return r}return function(n,r,i,o){r=_(r,o,4);var a=!I(n)&&w.keys(n),s=(a||n).length,u=t>0?0:s-1;return arguments.length<3&&(i=n[a?a[u]:u],u+=t),e(n,r,i,a,u,s)}}function r(t){return function(e,n,r){n=x(n,r);for(var i=S(e),o=t>0?0:i-1;o>=0&&i>o;o+=t)if(n(e[o],o,e))return o;return-1}}function i(t,e,n){return function(r,i,o){var a=0,s=S(r);if("number"==typeof o)t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(p.call(r,a,s),w.isNaN),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&s>o;o+=t)if(r[o]===i)return o;return-1}}function o(t,e){var n=L.length,r=t.constructor,i=w.isFunction(r)&&r.prototype||c,o="constructor";for(w.has(t,o)&&!w.contains(e,o)&&e.push(o);n--;)o=L[n],o in t&&t[o]!==i[o]&&!w.contains(e,o)&&e.push(o)}var a=this,s=a._,u=Array.prototype,c=Object.prototype,l=Function.prototype,f=u.push,p=u.slice,h=c.toString,d=c.hasOwnProperty,g=Array.isArray,v=Object.keys,m=l.bind,y=Object.create,b=function(){},w=function(t){return t instanceof w?t:this instanceof w?(this._wrapped=t,void 0):new w(t)};"undefined"!=typeof n?("undefined"!=typeof e&&e.exports&&(n=e.exports=w),n._=w):a._=w,w.VERSION="1.8.3";var _=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}},x=function(t,e,n){return null==t?w.identity:w.isFunction(t)?_(t,e,n):w.isObject(t)?w.matcher(t):w.property(t)};w.iteratee=function(t,e){return x(t,e,1/0)};var k=function(t,e){return function(n){var r=arguments.length;if(2>r||null==n)return n;for(var i=1;r>i;i++)for(var o=arguments[i],a=t(o),s=a.length,u=0;s>u;u++){var c=a[u];e&&void 0!==n[c]||(n[c]=o[c])}return n}},j=function(t){if(!w.isObject(t))return{};if(y)return y(t);b.prototype=t;var e=new b;return b.prototype=null,e},E=function(t){return function(e){return null==e?void 0:e[t]}},A=Math.pow(2,53)-1,S=E("length"),I=function(t){var e=S(t);return"number"==typeof e&&e>=0&&A>=e};w.each=w.forEach=function(t,e,n){e=_(e,n);var r,i;if(I(t))for(r=0,i=t.length;i>r;r++)e(t[r],r,t);else{var o=w.keys(t);for(r=0,i=o.length;i>r;r++)e(t[o[r]],o[r],t)}return t},w.map=w.collect=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=Array(i),a=0;i>a;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o},w.reduce=w.foldl=w.inject=t(1),w.reduceRight=w.foldr=t(-1),w.find=w.detect=function(t,e,n){var r;return r=I(t)?w.findIndex(t,e,n):w.findKey(t,e,n),void 0!==r&&-1!==r?t[r]:void 0},w.filter=w.select=function(t,e,n){var r=[];return e=x(e,n),w.each(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r},w.reject=function(t,e,n){return w.filter(t,w.negate(x(e)),n)},w.every=w.all=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0},w.some=w.any=function(t,e,n){e=x(e,n);for(var r=!I(t)&&w.keys(t),i=(r||t).length,o=0;i>o;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1},w.contains=w.includes=w.include=function(t,e,n,r){return I(t)||(t=w.values(t)),("number"!=typeof n||r)&&(n=0),w.indexOf(t,e,n)>=0},w.invoke=function(t,e){var n=p.call(arguments,2),r=w.isFunction(e);return w.map(t,function(t){var i=r?e:t[e];return null==i?i:i.apply(t,n)})},w.pluck=function(t,e){return w.map(t,w.property(e))},w.where=function(t,e){return w.filter(t,w.matcher(e))},w.findWhere=function(t,e){return w.find(t,w.matcher(e))},w.max=function(t,e,n){var r,i,o=-1/0,a=-1/0;if(null==e&&null!=t){t=I(t)?t:w.values(t);for(var s=0,u=t.length;u>s;s++)r=t[s],r>o&&(o=r)}else e=x(e,n),w.each(t,function(t,n,r){i=e(t,n,r),(i>a||i===-1/0&&o===-1/0)&&(o=t,a=i)});return o},w.min=function(t,e,n){var r,i,o=1/0,a=1/0;if(null==e&&null!=t){t=I(t)?t:w.values(t);for(var s=0,u=t.length;u>s;s++)r=t[s],o>r&&(o=r)}else e=x(e,n),w.each(t,function(t,n,r){i=e(t,n,r),(a>i||1/0===i&&1/0===o)&&(o=t,a=i)});return o},w.shuffle=function(t){for(var e,n=I(t)?t:w.values(t),r=n.length,i=Array(r),o=0;r>o;o++)e=w.random(0,o),e!==o&&(i[o]=i[e]),i[e]=n[o];return i},w.sample=function(t,e,n){return null==e||n?(I(t)||(t=w.values(t)),t[w.random(t.length-1)]):w.shuffle(t).slice(0,Math.max(0,e))},w.sortBy=function(t,e,n){return e=x(e,n),w.pluck(w.map(t,function(t,n,r){return{value:t,index:n,criteria:e(t,n,r)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return t.index-e.index}),"value")};var O=function(t){return function(e,n,r){var i={};return n=x(n,r),w.each(e,function(r,o){var a=n(r,o,e);t(i,r,a)}),i}};w.groupBy=O(function(t,e,n){w.has(t,n)?t[n].push(e):t[n]=[e]}),w.indexBy=O(function(t,e,n){t[n]=e}),w.countBy=O(function(t,e,n){w.has(t,n)?t[n]++:t[n]=1}),w.toArray=function(t){return t?w.isArray(t)?p.call(t):I(t)?w.map(t,w.identity):w.values(t):[]},w.size=function(t){return null==t?0:I(t)?t.length:w.keys(t).length},w.partition=function(t,e,n){e=x(e,n);var r=[],i=[];return w.each(t,function(t,n,o){(e(t,n,o)?r:i).push(t)}),[r,i]},w.first=w.head=w.take=function(t,e,n){return null==t?void 0:null==e||n?t[0]:w.initial(t,t.length-e)},w.initial=function(t,e,n){return p.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},w.last=function(t,e,n){return null==t?void 0:null==e||n?t[t.length-1]:w.rest(t,Math.max(0,t.length-e))},w.rest=w.tail=w.drop=function(t,e,n){return p.call(t,null==e||n?1:e)},w.compact=function(t){return w.filter(t,w.identity)};var T=function(t,e,n,r){for(var i=[],o=0,a=r||0,s=S(t);s>a;a++){var u=t[a];if(I(u)&&(w.isArray(u)||w.isArguments(u))){e||(u=T(u,e,n));var c=0,l=u.length;for(i.length+=l;l>c;)i[o++]=u[c++]}else n||(i[o++]=u)}return i};w.flatten=function(t,e){return T(t,e,!1)},w.without=function(t){return w.difference(t,p.call(arguments,1))},w.uniq=w.unique=function(t,e,n,r){w.isBoolean(e)||(r=n,n=e,e=!1),null!=n&&(n=x(n,r));for(var i=[],o=[],a=0,s=S(t);s>a;a++){var u=t[a],c=n?n(u,a,t):u;e?(a&&o===c||i.push(u),o=c):n?w.contains(o,c)||(o.push(c),i.push(u)):w.contains(i,u)||i.push(u)}return i},w.union=function(){return w.uniq(T(arguments,!0,!0))},w.intersection=function(t){for(var e=[],n=arguments.length,r=0,i=S(t);i>r;r++){var o=t[r];if(!w.contains(e,o)){for(var a=1;n>a&&w.contains(arguments[a],o);a++);a===n&&e.push(o)}}return e},w.difference=function(t){var e=T(arguments,!0,!0,1);return w.filter(t,function(t){return!w.contains(e,t)})},w.zip=function(){return w.unzip(arguments)},w.unzip=function(t){for(var e=t&&w.max(t,S).length||0,n=Array(e),r=0;e>r;r++)n[r]=w.pluck(t,r);return n},w.object=function(t,e){for(var n={},r=0,i=S(t);i>r;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n},w.findIndex=r(1),w.findLastIndex=r(-1),w.sortedIndex=function(t,e,n,r){n=x(n,r,1);for(var i=n(e),o=0,a=S(t);a>o;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o},w.indexOf=i(1,w.findIndex,w.sortedIndex),w.lastIndexOf=i(-1,w.findLastIndex),w.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;r>o;o++,t+=n)i[o]=t;return i};var M=function(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=j(t.prototype),a=t.apply(o,i);return w.isObject(a)?a:o};w.bind=function(t,e){if(m&&t.bind===m)return m.apply(t,p.call(arguments,1));if(!w.isFunction(t))throw new TypeError("Bind must be called on a function");var n=p.call(arguments,2),r=function(){return M(t,r,e,this,n.concat(p.call(arguments)))};return r},w.partial=function(t){var e=p.call(arguments,1),n=function(){for(var r=0,i=e.length,o=Array(i),a=0;i>a;a++)o[a]=e[a]===w?arguments[r++]:e[a];for(;r<arguments.length;)o.push(arguments[r++]);return M(t,n,this,this,o)};return n},w.bindAll=function(t){var e,n,r=arguments.length;if(1>=r)throw new Error("bindAll must be passed function names");for(e=1;r>e;e++)n=arguments[e],t[n]=w.bind(t[n],t);return t},w.memoize=function(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return w.has(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n},w.delay=function(t,e){var n=p.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},w.defer=w.partial(w.delay,w,1),w.throttle=function(t,e,n){var r,i,o,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:w.now(),a=null,o=t.apply(r,i),a||(r=i=null)};return function(){var c=w.now();s||n.leading!==!1||(s=c);var l=e-(c-s);return r=this,i=arguments,0>=l||l>e?(a&&(clearTimeout(a),a=null),s=c,o=t.apply(r,i),a||(r=i=null)):a||n.trailing===!1||(a=setTimeout(u,l)),o}},w.debounce=function(t,e,n){var r,i,o,a,s,u=function(){var c=w.now()-a;e>c&&c>=0?r=setTimeout(u,e-c):(r=null,n||(s=t.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=w.now();var c=n&&!r;return r||(r=setTimeout(u,e)),c&&(s=t.apply(o,i),o=i=null),s}},w.wrap=function(t,e){return w.partial(e,t)},w.negate=function(t){return function(){return!t.apply(this,arguments)}},w.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},w.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},w.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=null),n}},w.once=w.partial(w.before,2);var C=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];w.keys=function(t){if(!w.isObject(t))return[];if(v)return v(t);var e=[];for(var n in t)w.has(t,n)&&e.push(n);return C&&o(t,e),e},w.allKeys=function(t){if(!w.isObject(t))return[];var e=[];for(var n in t)e.push(n);return C&&o(t,e),e},w.values=function(t){for(var e=w.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=t[e[i]];return r},w.mapObject=function(t,e,n){e=x(e,n);for(var r,i=w.keys(t),o=i.length,a={},s=0;o>s;s++)r=i[s],a[r]=e(t[r],r,t);return a},w.pairs=function(t){for(var e=w.keys(t),n=e.length,r=Array(n),i=0;n>i;i++)r[i]=[e[i],t[e[i]]];return r},w.invert=function(t){for(var e={},n=w.keys(t),r=0,i=n.length;i>r;r++)e[t[n[r]]]=n[r];return e},w.functions=w.methods=function(t){var e=[];for(var n in t)w.isFunction(t[n])&&e.push(n);return e.sort()},w.extend=k(w.allKeys),w.extendOwn=w.assign=k(w.keys),w.findKey=function(t,e,n){e=x(e,n);for(var r,i=w.keys(t),o=0,a=i.length;a>o;o++)if(r=i[o],e(t[r],r,t))return r},w.pick=function(t,e,n){var r,i,o={},a=t;if(null==a)return o;w.isFunction(e)?(i=w.allKeys(a),r=_(e,n)):(i=T(arguments,!1,!1,1),r=function(t,e,n){return e in n},a=Object(a));for(var s=0,u=i.length;u>s;s++){var c=i[s],l=a[c];r(l,c,a)&&(o[c]=l)}return o},w.omit=function(t,e,n){if(w.isFunction(e))e=w.negate(e);else{var r=w.map(T(arguments,!1,!1,1),String);e=function(t,e){return!w.contains(r,e)}}return w.pick(t,e,n)},w.defaults=k(w.allKeys,!0),w.create=function(t,e){var n=j(t);return e&&w.extendOwn(n,e),n},w.clone=function(t){return w.isObject(t)?w.isArray(t)?t.slice():w.extend({},t):t},w.tap=function(t,e){return e(t),t},w.isMatch=function(t,e){var n=w.keys(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;r>o;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0};var B=function(t,e,n,r){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;t instanceof w&&(t=t._wrapped),e instanceof w&&(e=e._wrapped);var i=h.call(t);if(i!==h.call(e))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}var o="[object Array]"===i;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,s=e.constructor;if(a!==s&&!(w.isFunction(a)&&a instanceof a&&w.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var u=n.length;u--;)if(n[u]===t)return r[u]===e;if(n.push(t),r.push(e),o){if(u=t.length,u!==e.length)return!1;for(;u--;)if(!B(t[u],e[u],n,r))return!1}else{var c,l=w.keys(t);if(u=l.length,w.keys(e).length!==u)return!1;for(;u--;)if(c=l[u],!w.has(e,c)||!B(t[c],e[c],n,r))return!1}return n.pop(),r.pop(),!0};w.isEqual=function(t,e){return B(t,e)},w.isEmpty=function(t){return null==t?!0:I(t)&&(w.isArray(t)||w.isString(t)||w.isArguments(t))?0===t.length:0===w.keys(t).length},w.isElement=function(t){return!(!t||1!==t.nodeType)},w.isArray=g||function(t){return"[object Array]"===h.call(t)},w.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},w.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){w["is"+t]=function(e){return h.call(e)==="[object "+t+"]"}}),w.isArguments(arguments)||(w.isArguments=function(t){return w.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(w.isFunction=function(t){return"function"==typeof t||!1}),w.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},w.isNaN=function(t){return w.isNumber(t)&&t!==+t},w.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===h.call(t)},w.isNull=function(t){return null===t},w.isUndefined=function(t){return void 0===t},w.has=function(t,e){return null!=t&&d.call(t,e)},w.noConflict=function(){return a._=s,this},w.identity=function(t){return t},w.constant=function(t){return function(){return t}},w.noop=function(){},w.property=E,w.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},w.matcher=w.matches=function(t){return t=w.extendOwn({},t),function(e){return w.isMatch(e,t)}},w.times=function(t,e,n){var r=Array(Math.max(0,t));e=_(e,n,1);for(var i=0;t>i;i++)r[i]=e(i);return r},w.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},w.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},N=w.invert(F),R=function(t){var e=function(e){return t[e]},n="(?:"+w.keys(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}};w.escape=R(F),w.unescape=R(N),w.result=function(t,e,n){var r=null==t?void 0:t[e];return void 0===r&&(r=n),w.isFunction(r)?r.call(t):r};var U=0;w.uniqueId=function(t){var e=++U+"";return t?t+e:e},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,P={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},D=/\\|'|\r|\n|\u2028|\u2029/g,W=function(t){return"\\"+P[t]};w.template=function(t,e,n){!e&&n&&(e=n),e=w.defaults({},e,w.templateSettings);var r=RegExp([(e.escape||q).source,(e.interpolate||q).source,(e.evaluate||q).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(e,n,r,a,s){return o+=t.slice(i,s).replace(D,W),i=s+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(e.variable||"obj","_",o)}catch(s){throw s.source=o,s}var u=function(t){return a.call(this,t,w)},c=e.variable||"obj";return u.source="function("+c+"){\n"+o+"}",u},w.chain=function(t){var e=w(t);return e._chain=!0,e};var z=function(t,e){return t._chain?w(e).chain():e};w.mixin=function(t){w.each(w.functions(t),function(e){var n=w[e]=t[e];w.prototype[e]=function(){var t=[this._wrapped];return f.apply(t,arguments),z(this,n.apply(w,t))}})},w.mixin(w),w.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=u[t];w.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],z(this,n)}}),w.each(["concat","join","slice"],function(t){var e=u[t];w.prototype[t]=function(){return z(this,e.apply(this._wrapped,arguments))}}),w.prototype.value=function(){return this._wrapped},w.prototype.valueOf=w.prototype.toJSON=w.prototype.value,w.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return w})}).call(this)}()},{}],26:[function(t,e){function n(t,e){if(e||(e={}),e.model&&(this.model=e.model),e.comparator&&(this.comparator=e.comparator),e.parent&&(this.parent=e.parent),!this.mainIndex){var n=this.model&&this.model.prototype&&this.model.prototype.idAttribute;this.mainIndex=n||"id"}this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,s({silent:!0},e))}var r=t("ampersand-events"),i=t("ampersand-class-extend"),o=t("lodash.isarray"),a=t("lodash.bind"),s=t("lodash.assign"),u=[].slice;s(n.prototype,r,{initialize:function(){},isModel:function(t){return this.model&&t instanceof this.model},add:function(t,e){return this.set(t,s({merge:!1,add:!0,remove:!1},e))},parse:function(t){return t},serialize:function(){return this.map(function(t){if(t.serialize)return t.serialize();var e={};return s(e,t),delete e.collection,e})},toJSON:function(){return this.serialize()},set:function(t,e){e=s({add:!0,remove:!0,merge:!0},e),e.parse&&(t=this.parse(t,e));var n=!o(t);t=n?t?[t]:[]:t.slice();var r,i,a,u,c,l,f,p=e.at,h=this.comparator&&null==p&&e.sort!==!1,d="string"==typeof this.comparator?this.comparator:null,g=[],v=[],m={},y=e.add,b=e.merge,w=e.remove,_=!h&&y&&w?[]:!1,x=this.model&&this.model.prototype||Object.prototype;for(l=0,f=t.length;f>l;l++){if(a=t[l]||{},this.isModel(a)?r=i=a:x.generateId?r=x.generateId(a):(r=a[this.mainIndex],void 0===r&&this._isDerivedIndex(x)&&(r=x._derived[this.mainIndex].fn.call(a))),u=this.get(r))w&&(m[u.cid||u[this.mainIndex]]=!0),b&&(a=a===i?i.attributes:a,e.parse&&(a=u.parse(a,e)),u.set?(u.set(a,e),h&&!c&&u.hasChanged(d)&&(c=!0)):s(u,a)),t[l]=u;else if(y){if(i=t[l]=this._prepareModel(a,e),!i)continue;g.push(i),this._addReference(i,e)}i=u||i,i&&(_&&(i.isNew&&i.isNew()||!i[this.mainIndex]||!m[i.cid||i[this.mainIndex]])&&_.push(i),m[i[this.mainIndex]]=!0)}if(w){for(l=0,f=this.length;f>l;l++)i=this.models[l],m[i.cid||i[this.mainIndex]]||v.push(i);v.length&&this.remove(v,e)}if(g.length||_&&_.length)if(h&&(c=!0),null!=p)for(l=0,f=g.length;f>l;l++)this.models.splice(p+l,0,g[l]);else{var k=_||g;for(l=0,f=k.length;f>l;l++)this.models.push(k[l])}if(c&&this.sort({silent:!0}),!e.silent){for(l=0,f=g.length;f>l;l++)i=g[l],i.trigger?i.trigger("add",i,this,e):this.trigger("add",i,this,e);(c||_&&_.length)&&this.trigger("sort",this,e)}return n?t[0]:t},get:function(t,e){if(null!=t){var n=this._indexes[e||this.mainIndex];return n&&(n[t]||n[t[this.mainIndex]])||this._indexes.cid[t]||this._indexes.cid[t.cid]}},at:function(t){return this.models[t]},remove:function(t,e){var n,r,i,a,s=!o(t);for(t=s?[t]:u.call(t),e||(e={}),n=0,r=t.length;r>n;n++)i=t[n]=this.get(t[n]),i&&(this._deIndex(i),a=this.models.indexOf(i),this.models.splice(a,1),e.silent||(e.index=a,i.trigger?i.trigger("remove",i,this,e):this.trigger("remove",i,this,e)),this._removeReference(i,e));return s?t[0]:t},reset:function(t,e){e||(e={});for(var n=0,r=this.models.length;r>n;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,s({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},sort:function(t){var e=this;if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t||(t={}),"string"==typeof this.comparator?this.models.sort(function(t,n){return t.get?(t=t.get(e.comparator),n=n.get(e.comparator)):(t=t[e.comparator],n=n[e.comparator]),t>n||void 0===t?1:n>t||void 0===n?-1:0}):1===this.comparator.length?this.models.sort(function(t,n){return t=e.comparator(t),n=e.comparator(n),t>n||void 0===t?1:n>t||void 0===n?-1:0}):this.models.sort(a(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},_reset:function(){var t=u.call(this.indexes||[]),e=0;t.push(this.mainIndex),t.push("cid");var n=t.length;for(this.models=[],this._indexes={};n>e;e++)this._indexes[t[e]]={}},_prepareModel:function(t,e){if(!this.model)return t;if(this.isModel(t))return t.collection||(t.collection=this),t;e=e?s({},e):{},e.collection=this;var n=new this.model(t,e);return n.validationError?(this.trigger("invalid",this,n.validationError,e),!1):n},_deIndex:function(t,e,n){var r;if(void 0!==e){if(void 0===this._indexes[e])throw new Error("Given attribute is not an index");return delete this._indexes[e][n],void 0}for(var i in this._indexes)r=t.hasOwnProperty(i)?t[i]:t.get&&t.get(i),delete this._indexes[i][r]},_index:function(t,e){var n;if(void 0!==e){if(void 0===this._indexes[e])throw new Error("Given attribute is not an index");return n=t[e]||t.get&&t.get(e),n&&(this._indexes[e][n]=t),void 0}for(var r in this._indexes)n=t.hasOwnProperty(r)?t[r]:t.get&&t.get(r),null!=n&&(this._indexes[r][n]=t)},_isDerivedIndex:function(t){return t&&"object"==typeof t._derived?Object.keys(t._derived).indexOf(this.mainIndex)>=0:!1},_addReference:function(t){this._index(t),t.collection||(t.collection=this),t.on&&t.on("all",this._onModelEvent,this)},_removeReference:function(t){this===t.collection&&delete t.collection,this._deIndex(t),t.off&&t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,n,r){var i=t.split(":")[0],o=t.split(":")[1];("add"!==i&&"remove"!==i||n===this)&&("destroy"===i&&this.remove(e,r),e&&"change"===i&&o&&this._indexes[o]&&(this._deIndex(e,o,e.previousAttributes()[o]),this._index(e,o)),this.trigger.apply(this,arguments))}}),Object.defineProperties(n.prototype,{length:{get:function(){return this.models.length}},isCollection:{get:function(){return!0}}});var c=["indexOf","lastIndexOf","every","some","forEach","map","filter","reduce","reduceRight"];c.forEach(function(t){n.prototype[t]=function(){return this.models[t].apply(this.models,arguments)}}),n.prototype.each=n.prototype.forEach,n.extend=i,e.exports=n},{"ampersand-class-extend":29,"ampersand-events":55,"lodash.assign":42,"lodash.bind":48,"lodash.isarray":56}],31:[function(t,e){var n=t("amp-is-object");e.exports=function(t){if(!n(t))return t;for(var e,r,i=1,o=arguments.length;o>i;i++){e=arguments[i];for(r in e)t[r]=e[r]}return t}},{"amp-is-object":57}],33:[function(t,e){var n=t("amp-is-function");e.exports=function(t,e,r){var i=null==t?void 0:t[e];return void 0===i?n(r)?r():r:n(i)?t[e]():i}},{"amp-is-function":32}],29:[function(t,e){var n=t("lodash.assign"),r=function(t){var e,r=this,i=[].slice.call(arguments);e=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return r.apply(this,arguments)},n(e,r);var o=function(){this.constructor=e};return o.prototype=r.prototype,e.prototype=new o,t&&(i.unshift(e.prototype),n.apply(null,i)),e.__super__=r.prototype,e};e.exports=r},{"lodash.assign":42}],56:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t,e){var n=null==t?void 0:t[e];return s(n)?n:void 0}function i(t){return"number"==typeof t&&t>-1&&0==t%1&&m>=t}function o(t){return a(t)&&d.call(t)==c}function a(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function s(t){return null==t?!1:o(t)?g.test(p.call(t)):n(t)&&l.test(t)}var u="[object Array]",c="[object Function]",l=/^\[object .+?Constructor\]$/,f=Object.prototype,p=Function.prototype.toString,h=f.hasOwnProperty,d=f.toString,g=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=r(Array,"isArray"),m=9007199254740991,y=v||function(t){return n(t)&&i(t.length)&&d.call(t)==u};e.exports=y},{}],28:[function(t,e){var n=t("backbone-events-standalone"),r=t("amp-extend"),i=t("amp-bind"),o=function(){this.handlers=[],this.checkUrl=i(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},a=/^[#\/]|\s+$/g,s=/^\/+|\/+$/g,u=/#.*$/;o.started=!1,r(o.prototype,n,{interval:50,atRoot:function(){var t=this.location.pathname.replace(/[^\/]$/,"$&/");return t===this.root&&!this.location.search},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=decodeURI(this.location.pathname+this.location.search),e=this.root.slice(0,-1);return t.indexOf(e)||(t=t.slice(e.length)),t.slice(1)},getFragment:function(t){return null==t&&(t=this._hasPushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(a,"")},start:function(t){if(o.started)throw new Error("Backbone.history has already been started");o.started=!0,this.options=r({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState),this.fragment=this.getFragment();var e=window.addEventListener;if(this.root=("/"+this.root+"/").replace(s,"/"),this._hasPushState?e("popstate",this.checkUrl,!1):this._wantsHashChange&&this._hasHashChange?e("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot())return this.location.replace(this.root+"#"+this.getPath()),!0;this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}return this.options.silent?void 0:this.loadUrl()},stop:function(){var t=window.removeEventListener;this._hasPushState?t("popstate",this.checkUrl,!1):this._wantsHashChange&&this._hasHashChange&&t("hashchange",this.checkUrl,!1),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),o.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(){var t=this.getFragment();return t===this.fragment?!1:(this.loadUrl(),void 0)},loadUrl:function(t){return t=this.fragment=this.getFragment(t),this.handlers.some(function(e){return e.route.test(t)?(e.callback(t),!0):void 0})},navigate:function(t,e){if(!o.started)return!1;e&&e!==!0||(e={trigger:!!e});var n=this.root+(t=this.getFragment(t||""));if(t=decodeURI(t.replace(u,"")),this.fragment!==t){if(this.fragment=t,""===t&&"/"!==n&&(n=n.slice(0,-1)),this._hasPushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);this._updateHash(this.location,t,e.replace)}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else t.hash="#"+e}}),e.exports=new o},{"amp-bind":58,"amp-extend":31,"backbone-events-standalone":34}],57:[function(t,e){e.exports=function(t){var e=typeof t;return!!t&&("function"===e||"object"===e)}},{}],59:[function(t,e,n){!function(){(function(){var t=this,r=t._,i={},o=Array.prototype,a=Object.prototype,s=Function.prototype,u=o.push,c=o.slice,l=o.concat,f=a.toString,p=a.hasOwnProperty,h=o.forEach,d=o.map,g=o.reduce,v=o.reduceRight,m=o.filter,y=o.every,b=o.some,w=o.indexOf,_=o.lastIndexOf,x=Array.isArray,k=Object.keys,j=s.bind,E=function(t){return t instanceof E?t:this instanceof E?(this._wrapped=t,void 0):new E(t)};"undefined"!=typeof n?("undefined"!=typeof e&&e.exports&&(n=e.exports=E),n._=E):t._=E,E.VERSION="1.6.0";var A=E.each=E.forEach=function(t,e,n){if(null==t)return t;if(h&&t.forEach===h)t.forEach(e,n);else if(t.length===+t.length){for(var r=0,o=t.length;o>r;r++)if(e.call(n,t[r],r,t)===i)return
}else for(var a=E.keys(t),r=0,o=a.length;o>r;r++)if(e.call(n,t[a[r]],a[r],t)===i)return;return t};E.map=E.collect=function(t,e,n){var r=[];return null==t?r:d&&t.map===d?t.map(e,n):(A(t,function(t,i,o){r.push(e.call(n,t,i,o))}),r)};var S="Reduce of empty array with no initial value";E.reduce=E.foldl=E.inject=function(t,e,n,r){var i=arguments.length>2;if(null==t&&(t=[]),g&&t.reduce===g)return r&&(e=E.bind(e,r)),i?t.reduce(e,n):t.reduce(e);if(A(t,function(t,o,a){i?n=e.call(r,n,t,o,a):(n=t,i=!0)}),!i)throw new TypeError(S);return n},E.reduceRight=E.foldr=function(t,e,n,r){var i=arguments.length>2;if(null==t&&(t=[]),v&&t.reduceRight===v)return r&&(e=E.bind(e,r)),i?t.reduceRight(e,n):t.reduceRight(e);var o=t.length;if(o!==+o){var a=E.keys(t);o=a.length}if(A(t,function(s,u,c){u=a?a[--o]:--o,i?n=e.call(r,n,t[u],u,c):(n=t[u],i=!0)}),!i)throw new TypeError(S);return n},E.find=E.detect=function(t,e,n){var r;return I(t,function(t,i,o){return e.call(n,t,i,o)?(r=t,!0):void 0}),r},E.filter=E.select=function(t,e,n){var r=[];return null==t?r:m&&t.filter===m?t.filter(e,n):(A(t,function(t,i,o){e.call(n,t,i,o)&&r.push(t)}),r)},E.reject=function(t,e,n){return E.filter(t,function(t,r,i){return!e.call(n,t,r,i)},n)},E.every=E.all=function(t,e,n){e||(e=E.identity);var r=!0;return null==t?r:y&&t.every===y?t.every(e,n):(A(t,function(t,o,a){return(r=r&&e.call(n,t,o,a))?void 0:i}),!!r)};var I=E.some=E.any=function(t,e,n){e||(e=E.identity);var r=!1;return null==t?r:b&&t.some===b?t.some(e,n):(A(t,function(t,o,a){return r||(r=e.call(n,t,o,a))?i:void 0}),!!r)};E.contains=E.include=function(t,e){return null==t?!1:w&&t.indexOf===w?-1!=t.indexOf(e):I(t,function(t){return t===e})},E.invoke=function(t,e){var n=c.call(arguments,2),r=E.isFunction(e);return E.map(t,function(t){return(r?e:t[e]).apply(t,n)})},E.pluck=function(t,e){return E.map(t,E.property(e))},E.where=function(t,e){return E.filter(t,E.matches(e))},E.findWhere=function(t,e){return E.find(t,E.matches(e))},E.max=function(t,e,n){if(!e&&E.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.max.apply(Math,t);var r=-1/0,i=-1/0;return A(t,function(t,o,a){var s=e?e.call(n,t,o,a):t;s>i&&(r=t,i=s)}),r},E.min=function(t,e,n){if(!e&&E.isArray(t)&&t[0]===+t[0]&&t.length<65535)return Math.min.apply(Math,t);var r=1/0,i=1/0;return A(t,function(t,o,a){var s=e?e.call(n,t,o,a):t;i>s&&(r=t,i=s)}),r},E.shuffle=function(t){var e,n=0,r=[];return A(t,function(t){e=E.random(n++),r[n-1]=r[e],r[e]=t}),r},E.sample=function(t,e,n){return null==e||n?(t.length!==+t.length&&(t=E.values(t)),t[E.random(t.length-1)]):E.shuffle(t).slice(0,Math.max(0,e))};var O=function(t){return null==t?E.identity:E.isFunction(t)?t:E.property(t)};E.sortBy=function(t,e,n){return e=O(e),E.pluck(E.map(t,function(t,r,i){return{value:t,index:r,criteria:e.call(n,t,r,i)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(r>n||void 0===r)return-1}return t.index-e.index}),"value")};var T=function(t){return function(e,n,r){var i={};return n=O(n),A(e,function(o,a){var s=n.call(r,o,a,e);t(i,s,o)}),i}};E.groupBy=T(function(t,e,n){E.has(t,e)?t[e].push(n):t[e]=[n]}),E.indexBy=T(function(t,e,n){t[e]=n}),E.countBy=T(function(t,e){E.has(t,e)?t[e]++:t[e]=1}),E.sortedIndex=function(t,e,n,r){n=O(n);for(var i=n.call(r,e),o=0,a=t.length;a>o;){var s=o+a>>>1;n.call(r,t[s])<i?o=s+1:a=s}return o},E.toArray=function(t){return t?E.isArray(t)?c.call(t):t.length===+t.length?E.map(t,E.identity):E.values(t):[]},E.size=function(t){return null==t?0:t.length===+t.length?t.length:E.keys(t).length},E.first=E.head=E.take=function(t,e,n){return null==t?void 0:null==e||n?t[0]:0>e?[]:c.call(t,0,e)},E.initial=function(t,e,n){return c.call(t,0,t.length-(null==e||n?1:e))},E.last=function(t,e,n){return null==t?void 0:null==e||n?t[t.length-1]:c.call(t,Math.max(t.length-e,0))},E.rest=E.tail=E.drop=function(t,e,n){return c.call(t,null==e||n?1:e)},E.compact=function(t){return E.filter(t,E.identity)};var M=function(t,e,n){return e&&E.every(t,E.isArray)?l.apply(n,t):(A(t,function(t){E.isArray(t)||E.isArguments(t)?e?u.apply(n,t):M(t,e,n):n.push(t)}),n)};E.flatten=function(t,e){return M(t,e,[])},E.without=function(t){return E.difference(t,c.call(arguments,1))},E.partition=function(t,e){var n=[],r=[];return A(t,function(t){(e(t)?n:r).push(t)}),[n,r]},E.uniq=E.unique=function(t,e,n,r){E.isFunction(e)&&(r=n,n=e,e=!1);var i=n?E.map(t,n,r):t,o=[],a=[];return A(i,function(n,r){(e?r&&a[a.length-1]===n:E.contains(a,n))||(a.push(n),o.push(t[r]))}),o},E.union=function(){return E.uniq(E.flatten(arguments,!0))},E.intersection=function(t){var e=c.call(arguments,1);return E.filter(E.uniq(t),function(t){return E.every(e,function(e){return E.contains(e,t)})})},E.difference=function(t){var e=l.apply(o,c.call(arguments,1));return E.filter(t,function(t){return!E.contains(e,t)})},E.zip=function(){for(var t=E.max(E.pluck(arguments,"length").concat(0)),e=new Array(t),n=0;t>n;n++)e[n]=E.pluck(arguments,""+n);return e},E.object=function(t,e){if(null==t)return{};for(var n={},r=0,i=t.length;i>r;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n},E.indexOf=function(t,e,n){if(null==t)return-1;var r=0,i=t.length;if(n){if("number"!=typeof n)return r=E.sortedIndex(t,e),t[r]===e?r:-1;r=0>n?Math.max(0,i+n):n}if(w&&t.indexOf===w)return t.indexOf(e,n);for(;i>r;r++)if(t[r]===e)return r;return-1},E.lastIndexOf=function(t,e,n){if(null==t)return-1;var r=null!=n;if(_&&t.lastIndexOf===_)return r?t.lastIndexOf(e,n):t.lastIndexOf(e);for(var i=r?n:t.length;i--;)if(t[i]===e)return i;return-1},E.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=arguments[2]||1;for(var r=Math.max(Math.ceil((e-t)/n),0),i=0,o=new Array(r);r>i;)o[i++]=t,t+=n;return o};var C=function(){};E.bind=function(t,e){var n,r;if(j&&t.bind===j)return j.apply(t,c.call(arguments,1));if(!E.isFunction(t))throw new TypeError;return n=c.call(arguments,2),r=function(){if(!(this instanceof r))return t.apply(e,n.concat(c.call(arguments)));C.prototype=t.prototype;var i=new C;C.prototype=null;var o=t.apply(i,n.concat(c.call(arguments)));return Object(o)===o?o:i}},E.partial=function(t){var e=c.call(arguments,1);return function(){for(var n=0,r=e.slice(),i=0,o=r.length;o>i;i++)r[i]===E&&(r[i]=arguments[n++]);for(;n<arguments.length;)r.push(arguments[n++]);return t.apply(this,r)}},E.bindAll=function(t){var e=c.call(arguments,1);if(0===e.length)throw new Error("bindAll must be passed function names");return A(e,function(e){t[e]=E.bind(t[e],t)}),t},E.memoize=function(t,e){var n={};return e||(e=E.identity),function(){var r=e.apply(this,arguments);return E.has(n,r)?n[r]:n[r]=t.apply(this,arguments)}},E.delay=function(t,e){var n=c.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},E.defer=function(t){return E.delay.apply(E,[t,1].concat(c.call(arguments,1)))},E.throttle=function(t,e,n){var r,i,o,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:E.now(),a=null,o=t.apply(r,i),r=i=null};return function(){var c=E.now();s||n.leading!==!1||(s=c);var l=e-(c-s);return r=this,i=arguments,0>=l?(clearTimeout(a),a=null,s=c,o=t.apply(r,i),r=i=null):a||n.trailing===!1||(a=setTimeout(u,l)),o}},E.debounce=function(t,e,n){var r,i,o,a,s,u=function(){var c=E.now()-a;e>c?r=setTimeout(u,e-c):(r=null,n||(s=t.apply(o,i),o=i=null))};return function(){o=this,i=arguments,a=E.now();var c=n&&!r;return r||(r=setTimeout(u,e)),c&&(s=t.apply(o,i),o=i=null),s}},E.once=function(t){var e,n=!1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}},E.wrap=function(t,e){return E.partial(e,t)},E.compose=function(){var t=arguments;return function(){for(var e=arguments,n=t.length-1;n>=0;n--)e=[t[n].apply(this,e)];return e[0]}},E.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},E.keys=function(t){if(!E.isObject(t))return[];if(k)return k(t);var e=[];for(var n in t)E.has(t,n)&&e.push(n);return e},E.values=function(t){for(var e=E.keys(t),n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=t[e[i]];return r},E.pairs=function(t){for(var e=E.keys(t),n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=[e[i],t[e[i]]];return r},E.invert=function(t){for(var e={},n=E.keys(t),r=0,i=n.length;i>r;r++)e[t[n[r]]]=n[r];return e},E.functions=E.methods=function(t){var e=[];for(var n in t)E.isFunction(t[n])&&e.push(n);return e.sort()},E.extend=function(t){return A(c.call(arguments,1),function(e){if(e)for(var n in e)t[n]=e[n]}),t},E.pick=function(t){var e={},n=l.apply(o,c.call(arguments,1));return A(n,function(n){n in t&&(e[n]=t[n])}),e},E.omit=function(t){var e={},n=l.apply(o,c.call(arguments,1));for(var r in t)E.contains(n,r)||(e[r]=t[r]);return e},E.defaults=function(t){return A(c.call(arguments,1),function(e){if(e)for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t},E.clone=function(t){return E.isObject(t)?E.isArray(t)?t.slice():E.extend({},t):t},E.tap=function(t,e){return e(t),t};var L=function(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof E&&(t=t._wrapped),e instanceof E&&(e=e._wrapped);var i=f.call(t);if(i!=f.call(e))return!1;switch(i){case"[object String]":return t==String(e);case"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.source&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if("object"!=typeof t||"object"!=typeof e)return!1;for(var o=n.length;o--;)if(n[o]==t)return r[o]==e;var a=t.constructor,s=e.constructor;if(a!==s&&!(E.isFunction(a)&&a instanceof a&&E.isFunction(s)&&s instanceof s)&&"constructor"in t&&"constructor"in e)return!1;n.push(t),r.push(e);var u=0,c=!0;if("[object Array]"==i){if(u=t.length,c=u==e.length)for(;u--&&(c=L(t[u],e[u],n,r)););}else{for(var l in t)if(E.has(t,l)&&(u++,!(c=E.has(e,l)&&L(t[l],e[l],n,r))))break;if(c){for(l in e)if(E.has(e,l)&&!u--)break;c=!u}}return n.pop(),r.pop(),c};E.isEqual=function(t,e){return L(t,e,[],[])},E.isEmpty=function(t){if(null==t)return!0;if(E.isArray(t)||E.isString(t))return 0===t.length;for(var e in t)if(E.has(t,e))return!1;return!0},E.isElement=function(t){return!(!t||1!==t.nodeType)},E.isArray=x||function(t){return"[object Array]"==f.call(t)},E.isObject=function(t){return t===Object(t)},A(["Arguments","Function","String","Number","Date","RegExp"],function(t){E["is"+t]=function(e){return f.call(e)=="[object "+t+"]"}}),E.isArguments(arguments)||(E.isArguments=function(t){return!(!t||!E.has(t,"callee"))}),"function"!=typeof/./&&(E.isFunction=function(t){return"function"==typeof t}),E.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},E.isNaN=function(t){return E.isNumber(t)&&t!=+t},E.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"==f.call(t)},E.isNull=function(t){return null===t},E.isUndefined=function(t){return void 0===t},E.has=function(t,e){return p.call(t,e)},E.noConflict=function(){return t._=r,this},E.identity=function(t){return t},E.constant=function(t){return function(){return t}},E.property=function(t){return function(e){return e[t]}},E.matches=function(t){return function(e){if(e===t)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0}},E.times=function(t,e,n){for(var r=Array(Math.max(0,t)),i=0;t>i;i++)r[i]=e.call(n,i);return r},E.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},E.now=Date.now||function(){return(new Date).getTime()};var B={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};B.unescape=E.invert(B.escape);var F={escape:new RegExp("["+E.keys(B.escape).join("")+"]","g"),unescape:new RegExp("("+E.keys(B.unescape).join("|")+")","g")};E.each(["escape","unescape"],function(t){E[t]=function(e){return null==e?"":(""+e).replace(F[t],function(e){return B[t][e]})}}),E.result=function(t,e){if(null==t)return void 0;var n=t[e];return E.isFunction(n)?n.call(t):n},E.mixin=function(t){A(E.functions(t),function(e){var n=E[e]=t[e];E.prototype[e]=function(){var t=[this._wrapped];return u.apply(t,arguments),P.call(this,n.apply(E,t))}})};var N=0;E.uniqueId=function(t){var e=++N+"";return t?t+e:e},E.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var R=/(.)^/,U={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},q=/\\|'|\r|\n|\t|\u2028|\u2029/g;E.template=function(t,e,n){var r;n=E.defaults({},n,E.templateSettings);var i=new RegExp([(n.escape||R).source,(n.interpolate||R).source,(n.evaluate||R).source].join("|")+"|$","g"),o=0,a="__p+='";t.replace(i,function(e,n,r,i,s){return a+=t.slice(o,s).replace(q,function(t){return"\\"+U[t]}),n&&(a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(a+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(a+="';\n"+i+"\n__p+='"),o=s+e.length,e}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(n.variable||"obj","_",a)}catch(s){throw s.source=a,s}if(e)return r(e,E);var u=function(t){return r.call(this,t,E)};return u.source="function("+(n.variable||"obj")+"){\n"+a+"}",u},E.chain=function(t){return E(t).chain()};var P=function(t){return this._chain?E(t).chain():t};E.mixin(E),A(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=o[t];E.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!=t&&"splice"!=t||0!==n.length||delete n[0],P.call(this,n)}}),A(["concat","join","slice"],function(t){var e=o[t];E.prototype[t]=function(){return P.call(this,e.apply(this._wrapped,arguments))}}),E.extend(E.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),"function"==typeof define&&define.amd&&define("underscore",[],function(){return E})}).call(this)}()},{}],37:[function(t,e){var n=t("underscore"),r=t("xhr"),i=t("qs"),o=function(){throw new Error('A "url" property or function must be specified')};e.exports=function(t,e,s){var u=a[t],c={};n.defaults(s||(s={}),{emulateHTTP:!1,emulateJSON:!1});var l={type:u};s.url||(l.url=n.result(e,"url")||o()),null!=s.data||!e||"create"!==t&&"update"!==t&&"patch"!==t||(l.json=s.attrs||e.toJSON(s)),s.data&&"GET"===u&&(l.url+=n.contains(l.url,"?")?"&":"?",l.url+=i.stringify(s.data)),s.emulateJSON&&(c["Content-Type"]="application/x-www-form-urlencoded",l.body=l.json?{model:l.json}:{},delete l.json),!s.emulateHTTP||"PUT"!==u&&"DELETE"!==u&&"PATCH"!==u||(l.type="POST",s.emulateJSON&&(l.body._method=u),c["X-HTTP-Method-Override"]=u),s.emulateJSON&&(l.body=i.stringify(l.body));var f=n.result(e,"ajaxConfig")||{};if(f.headers&&n.extend(c,f.headers),l.headers=c,f.useXDR&&(l.useXDR=!0),f.xhrFields){var p=f.beforeSend;l.beforeSend=function(t){for(var e in f.xhrFields)t[e]=f.xhrFields[e];return p?p.apply(this,arguments):void 0},l.xhrFields=f.xhrFields}l.method=l.type;var h=n.extend(l,s),d=s.xhr=r(h,function(t,e,n){if(t&&s.error)return s.error(e,"error",t.message);if(n&&"string"==typeof n)try{n=JSON.parse(n)}catch(r){}return s.success?s.success(n,"success",e):void 0});return e.trigger("request",e,d,s,h),d.ajaxSettings=h,d};var a={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"}},{qs:60,underscore:59,xhr:61}],41:[function(t,e){!function(){function n(t){return!!t&&"object"==typeof t}function r(t){return"symbol"==typeof t||n(t)&&f.call(t)==u}function i(t){if("string"==typeof t)return t;if(null==t)return"";if(r(t))return p?d.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}function o(t){var e=++l;return i(t)+e}var a=t("lodash._root"),s=1/0,u="[object Symbol]",c=Object.prototype,l=0,f=c.toString,p=a.Symbol,h=p?p.prototype:void 0,d=p?h.toString:void 0;e.exports=o}()},{"lodash._root":62}],42:[function(t,e){function n(t,e,n){for(var r=-1,i=o(e),a=i.length;++r<a;){var s=i[r],u=t[s],c=n(u,e[s],s,t,e);(c===c?c===u:u!==u)&&(void 0!==u||s in t)||(t[s]=c)}return t}var r=t("lodash._baseassign"),i=t("lodash._createassigner"),o=t("lodash.keys"),a=i(function(t,e,i){return i?n(t,e,i):r(t,e)});e.exports=a},{"lodash._baseassign":63,"lodash._createassigner":65,"lodash.keys":64}],43:[function(t,e){var n=t("lodash._baseflatten"),r=t("lodash._bindcallback"),i=t("lodash._pickbyarray"),o=t("lodash._pickbycallback"),a=t("lodash.restparam"),s=a(function(t,e){return null==t?{}:"function"==typeof e[0]?o(t,r(e[0],e[1],3)):i(t,n(e))});e.exports=s},{"lodash._baseflatten":66,"lodash._bindcallback":67,"lodash._pickbyarray":68,"lodash._pickbycallback":69,"lodash.restparam":70}],44:[function(t,e){!function(){function n(t,e){var n=typeof t;if("string"==n&&h.test(t)||"number"==n)return!0;if(l(t))return!1;var i=!p.test(t);return i||null!=e&&t in r(e)}function r(t){return o(t)?t:Object(t)}function i(t){var e=t?t.length:0;return e?t[e-1]:void 0}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function a(t,e,r){var o=null==t?void 0:t[e];return void 0===o&&(null==t||n(e,t)||(e=c(e),t=1==e.length?t:s(t,u(e,0,-1)),o=null==t?void 0:t[i(e)]),o=void 0===o?r:o),f(o)?o.call(t):o}var s=t("lodash._baseget"),u=t("lodash._baseslice"),c=t("lodash._topath"),l=t("lodash.isarray"),f=t("lodash.isfunction"),p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,h=/^\w*$/;e.exports=a}()},{"lodash._baseget":71,"lodash._baseslice":72,"lodash._topath":73,"lodash.isarray":56,"lodash.isfunction":74}],46:[function(t,e){function n(t,e){return function(n,r,i){return"function"==typeof r&&void 0===i&&a(n)?t(n,r):e(n,o(r,i,3))}}var r=t("lodash._arrayeach"),i=t("lodash._baseeach"),o=t("lodash._bindcallback"),a=t("lodash.isarray"),s=n(r,i);e.exports=s},{"lodash._arrayeach":75,"lodash._baseeach":76,"lodash._bindcallback":67,"lodash.isarray":56}],49:[function(t,e){function n(t,e,n){var o=t?t.length:0;return n&&i(t,e,n)&&(e=!1),o?r(t,e):[]}var r=t("lodash._baseflatten"),i=t("lodash._isiterateecall");e.exports=n},{"lodash._baseflatten":66,"lodash._isiterateecall":77}],48:[function(t,e){var n=t("lodash._createwrapper"),r=t("lodash._replaceholders"),i=t("lodash.restparam"),o=1,a=32,s=i(function(t,e,i){var u=o;if(i.length){var c=r(i,s.placeholder);u|=a}return n(t,u,e,i,c)});s.placeholder={},e.exports=s},{"lodash._createwrapper":78,"lodash._replaceholders":79,"lodash.restparam":70}],51:[function(t,e){function n(t,e){if(!(this instanceof n))return new n(t,e);if(!t)throw new Error("element required");if(!e)throw new Error("object required");this.el=t,this.obj=e,this._events={}}function r(t){var e=t.split(/ +/);return{name:e.shift(),selector:e.join(" ")}}var i=t("component-event"),o=t("delegate-events"),a=["focus","blur"];e.exports=n,n.prototype.sub=function(t,e,n){this._events[t]=this._events[t]||{},this._events[t][e]=n},n.prototype.bind=function(t){var e=function(t,e){function n(){var t=[].slice.call(arguments).concat(l);if("function"==typeof e)return e.apply(u,t),void 0;if(!u[e])throw new Error(e+" method is not defined");u[e].apply(u,t)}var a=r(t),s=this.el,u=this.obj,c=a.name,e=e||"on"+c,l=[].slice.call(arguments,2);return a.selector?n=o.bind(s,a.selector,c,n):i.bind(s,c,n),this.sub(c,e,n),n};if("string"==typeof t)e.apply(this,arguments);else for(var n in t)t.hasOwnProperty(n)&&e.call(this,n,t[n])},n.prototype.unbind=function(t,e){if(0==arguments.length)return this.unbindAll();if(1==arguments.length)return this.unbindAllOf(t);var n=this._events[t],r=-1!==a.indexOf(t);if(n){var o=n[e];o&&i.unbind(this.el,t,o,r)}},n.prototype.unbindAll=function(){for(var t in this._events)this.unbindAllOf(t)},n.prototype.unbindAllOf=function(t){var e=this._events[t];if(e)for(var n in e)this.unbind(t,n)}},{"component-event":80,"delegate-events":81}],50:[function(t,e){!function(){function n(t){return function(e){return null==e?void 0:e[t]}}function r(t){return null!=t&&o(g(t))}function i(t,e){var n=typeof t;if("string"==n&&h.test(t)||"number"==n)return!0;if(l(t))return!1;var r=!p.test(t);return r||null!=e&&t in a(e)}function o(t){return"number"==typeof t&&t>-1&&0==t%1&&d>=t}function a(t){return s(t)?t:Object(t)}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var u=t("lodash._baseeach"),c=t("lodash._invokepath"),l=t("lodash.isarray"),f=t("lodash.restparam"),p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,h=/^\w*$/,d=9007199254740991,g=n("length"),v=f(function(t,e,n){var o=-1,a="function"==typeof e,s=i(e),l=r(t)?Array(t.length):[];return u(t,function(t){var r=a?e:s&&null!=t?t[e]:void 0;l[++o]=r?r.apply(t,n):c(t,e,n)}),l});e.exports=v}()},{"lodash._baseeach":76,"lodash._invokepath":82,"lodash.isarray":56,"lodash.restparam":70}],62:[function(t,e,n){!function(t){function r(t){return t&&t.Object===Object?t:null}var i={"function":!0,object:!0},o=i[typeof n]&&n&&!n.nodeType?n:void 0,a=i[typeof e]&&e&&!e.nodeType?e:void 0,s=r(o&&a&&"object"==typeof t&&t),u=r(i[typeof self]&&self),c=r(i[typeof window]&&window),l=r(i[typeof this]&&this),f=s||c!==(l&&l.window)&&c||u||l||Function("return this")();e.exports=f}(self)},{}],67:[function(t,e){function n(t,e,n){if("function"!=typeof t)return r;if(void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)};case 5:return function(n,r,i,o,a){return t.call(e,n,r,i,o,a)}}return function(){return t.apply(e,arguments)}}function r(t){return t}e.exports=n},{}],68:[function(t,e){!function(){function t(t,e){t=n(t);for(var r=-1,i=e.length,o={};++r<i;){var a=e[r];a in t&&(o[a]=t[a])}return o}function n(t){return r(t)?t:Object(t)}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=t}()},{}],70:[function(t,e){function n(t,e){if("function"!=typeof t)throw new TypeError(r);return e=i(void 0===e?t.length-1:+e||0,0),function(){for(var n=arguments,r=-1,o=i(n.length-e,0),a=Array(o);++r<o;)a[r]=n[e+r];switch(e){case 0:return t.call(this,a);case 1:return t.call(this,n[0],a);case 2:return t.call(this,n[0],n[1],a)}var s=Array(e+1);for(r=-1;++r<e;)s[r]=n[r];return s[e]=a,t.apply(this,s)}}var r="Expected a function",i=Math.max;e.exports=n},{}],71:[function(t,e){!function(){function t(t,e,r){if(null!=t){void 0!==r&&r in n(t)&&(e=[r]);for(var i=0,o=e.length;null!=t&&o>i;)t=t[e[i++]];return i&&i==o?t:void 0}}function n(t){return r(t)?t:Object(t)}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=t}()},{}],72:[function(t,e){function n(t,e,n){var r=-1,i=t.length;e=null==e?0:+e||0,0>e&&(e=-e>i?0:i+e),n=void 0===n||n>i?i:+n||0,0>n&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}e.exports=n},{}],74:[function(t,e){function n(t){var e=r(t)?s.call(t):"";return e==i||e==o}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var i="[object Function]",o="[object GeneratorFunction]",a=Object.prototype,s=a.toString;e.exports=n},{}],75:[function(t,e){function n(t,e){for(var n=-1,r=t.length;++n<r&&e(t[n],n,t)!==!1;);return t}e.exports=n},{}],79:[function(t,e){function n(t,e){for(var n=-1,i=t.length,o=-1,a=[];++n<i;)t[n]===e&&(t[n]=r,a[++o]=n);return a}var r="__lodash_placeholder__";e.exports=n},{}],77:[function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}function r(t){return null!=t&&a(l(t))}function i(t,e){return t="number"==typeof t||u.test(t)?+t:-1,e=null==e?c:e,t>-1&&0==t%1&&e>t}function o(t,e,n){if(!s(n))return!1;var o=typeof e;if("number"==o?r(n)&&i(e,n.length):"string"==o&&e in n){var a=n[e];return t===t?t===a:a!==a}return!1}function a(t){return"number"==typeof t&&t>-1&&0==t%1&&c>=t}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var u=/^\d+$/,c=9007199254740991,l=n("length");e.exports=o},{}],80:[function(t,e,n){var r=window.addEventListener?"addEventListener":"attachEvent",i=window.removeEventListener?"removeEventListener":"detachEvent",o="addEventListener"!==r?"on":"";n.bind=function(t,e,n,i){return t[r](o+e,n,i||!1),n},n.unbind=function(t,e,n,r){return t[i](o+e,n,r||!1),n}},{}],60:[function(t,e){e.exports=t("./lib")},{"./lib":83}],36:[function(t,e){"use strict";function n(t,e){e||(e={}),this.cid||(this.cid=a("state")),this._events={},this._values={},this._definition=Object.create(this._definition),e.parse&&(t=this.parse(t,e)),this.parent=e.parent,this.collection=e.collection,this._keyTree=new k,this._initCollections(),this._initChildren(),this._cache={},this._previousAttributes={},t&&this.set(t,s({silent:!0,initial:!0},e)),this._changed={},this._derived&&this._initDerived(),e.init!==!1&&this.initialize.apply(this,arguments)}function r(t,e,n,r){var i,o,a=t._definition[e]={};if(h(n))i=t._ensureValidType(n),i&&(a.type=i);else{if(Array.isArray(n)&&(o=n,n={type:o[0],required:o[1],"default":o[2]}),i=t._ensureValidType(n.type),i&&(a.type=i),n.required&&(a.required=!0),n["default"]&&"object"==typeof n["default"])throw new TypeError("The default value for "+e+" cannot be an object/array, must be a value or a function which returns a value/object/array");a["default"]=n["default"],a.allowNull=n.allowNull?n.allowNull:!1,n.setOnce&&(a.setOnce=!0),a.required&&void 0===a["default"]&&!a.setOnce&&(a["default"]=t._getDefaultForType(i)),a.test=n.test,a.values=n.values}return r&&(a.session=!0),i||(i=h(n)?n:n.type,console.warn("Invalid data type of `"+i+"` for `"+e+"` property. Use one of the default types or define your own")),Object.defineProperty(t,e,{set:function(t){this.set(e,t)},get:function(){if(!this._values)throw Error('You may be trying to `extend` a state object with "'+e+'" which has been defined in `props` on the object being extended');var t=this._values[e],n=this._dataTypes[a.type];if("undefined"!=typeof t)return n&&n.get&&(t=n.get(t)),t;var r=b(a,"default");if(this._values[e]=r,"undefined"!=typeof r){var i=this._getOnChangeForType(a.type);i(r,t,e)}return r}}),a}function i(t,e,n){var r=t._derived[e]={fn:v(n)?n:n.fn,cache:n.cache!==!1,depList:n.deps||[]};r.depList.forEach(function(n){t._deps[n]=_(t._deps[n]||[],[e])}),Object.defineProperty(t,e,{get:function(){return this._getDerivedProperty(e)},set:function(){throw new TypeError("`"+e+"` is a derived property, it can't be set directly.")}})}function o(t){var e,n=this;e=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return n.apply(this,arguments)},s(e,n);var o=function(){this.constructor=e};if(o.prototype=n.prototype,e.prototype=new o,e.prototype._derived=s({},n.prototype._derived),e.prototype._deps=s({},n.prototype._deps),e.prototype._definition=s({},n.prototype._definition),e.prototype._collections=s({},n.prototype._collections),e.prototype._children=s({},n.prototype._children),e.prototype._dataTypes=s({},n.prototype._dataTypes||S),t)for(var a=["dataTypes","props","session","derived","collections","children"],u=0;u<arguments.length;u++){var l=arguments[u];l.dataTypes&&f(l.dataTypes,function(t,n){e.prototype._dataTypes[n]=t}),l.props&&f(l.props,function(t,n){r(e.prototype,n,t)}),l.session&&f(l.session,function(t,n){r(e.prototype,n,t,!0)}),l.derived&&f(l.derived,function(t,n){i(e.prototype,n,t)}),l.collections&&f(l.collections,function(t,n){e.prototype._collections[n]=t}),l.children&&f(l.children,function(t,n){e.prototype._children[n]=t}),s(e.prototype,c(l,a))}return e.__super__=n.prototype,e}"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-state"]=window.ampersand["ampersand-state"]||[],window.ampersand["ampersand-state"].push("4.9.1"));var a=t("lodash.uniqueid"),s=t("lodash.assign"),u=function(t){return s({},t)},c=t("lodash.omit"),l=t("lodash.escape"),f=t("lodash.forown"),p=t("lodash.includes"),h=t("lodash.isstring"),d=t("lodash.isobject"),g=t("lodash.isdate"),v=t("lodash.isfunction"),m=t("lodash.isequal"),y=t("lodash.has"),b=t("lodash.result"),w=t("lodash.bind"),_=t("lodash.union"),x=t("ampersand-events"),k=t("key-tree-store"),j=t("array-next"),E=/^change:/,A=function(){};s(n.prototype,x,{extraProperties:"ignore",idAttribute:"id",namespaceAttribute:"namespace",typeAttribute:"modelType",initialize:function(){return this},getId:function(){return this[this.idAttribute]},getNamespace:function(){return this[this.namespaceAttribute]},getType:function(){return this[this.typeAttribute]},isNew:function(){return null==this.getId()},escape:function(t){return l(this.get(t))},isValid:function(t){return this._validate({},s(t||{},{validate:!0}))},parse:function(t){return t},serialize:function(t){var e=s({props:!0},t),n=this.getAttributes(e,!0);return f(this._children,function(t,e){n[e]=this[e].serialize()},this),f(this._collections,function(t,e){n[e]=this[e].serialize()},this),n},set:function(t,e,n){var r,i,o,a,s,u,c,l,f,h,g,v,m,y,w,_,x,k=this,j=this.extraProperties;if(d(t)||null===t?(f=t,n=e):(f={},f[t]=e),n=n||{},!this._validate(f,n))return!1;v=n.unset,g=n.silent,y=n.initial,r=this._changing,this._changing=!0,i=[],y?this._previousAttributes={}:r||(this._previousAttributes=this.attributes,this._changed={});for(var E=0,A=Object.keys(f),S=A.length;S>E;E++){if(l=A[E],a=f[l],o=typeof a,m=this._values[l],s=this._definition[l],!s){if(this._children[l]||this._collections[l]){d(a)||(a={}),this[l].set(a,n);continue}if("ignore"===j)continue;if("reject"===j)throw new TypeError('No "'+l+'" property defined on '+(this.type||"this")+' model and extraProperties not set to "ignore" or "allow"');if("allow"===j)s=this._createPropertyDefinition(l,"any");else if(j)throw new TypeError('Invalid value for extraProperties: "'+j+'"')}if(_=this._getCompareForType(s.type),x=this._getOnChangeForType(s.type),h=this._dataTypes[s.type],h&&h.set&&(u=h.set(a),a=u.val,o=u.type),s.test&&(c=s.test.call(this,a,o)))throw new TypeError("Property '"+l+"' failed validation with error: "+c);if(void 0===a&&s.required)throw new TypeError("Required property '"+l+"' must be of type "+s.type+". Tried to set "+a);if(null===a&&s.required&&!s.allowNull)throw new TypeError("Property '"+l+"' must be of type "+s.type+" (cannot be null). Tried to set "+a);if(s.type&&"any"!==s.type&&s.type!==o&&null!==a&&void 0!==a)throw new TypeError("Property '"+l+"' must be of type "+s.type+". Tried to set "+a);if(s.values&&!p(s.values,a)){var I=b(s,"default");if(v&&void 0!==I)a=I;else if(!v||v&&void 0!==a)throw new TypeError("Property '"+l+"' must be one of values: "+s.values.join(", ")+". Tried to set "+a)}if(w=y||!_(m,a,l),s.setOnce&&void 0!==m&&w)throw new TypeError("Property '"+l+"' can only be set once.");w?(x(a,m,l),y||(this._changed[l]=a,this._previousAttributes[l]=m,v&&delete this._values[l],g||i.push({prev:m,val:a,key:l})),v||(this._values[l]=a)):delete this._changed[l]}if(i.length&&(this._pending=!0),i.forEach(function(t){k.trigger("change:"+t.key,k,t.val,n)}),r)return this;for(;this._pending;)this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},get:function(t){return this[t]},toggle:function(t){var e=this._definition[t];if("boolean"===e.type)this[t]=!this[t];else{if(!e||!e.values)throw new TypeError("Can only toggle properties that are type `boolean` or have `values` array.");this[t]=j(e.values,this[t])}return this},previousAttributes:function(){return u(this._previousAttributes)},hasChanged:function(t){return null==t?!!Object.keys(this._changed).length:y(this._derived,t)?this._derived[t].depList.some(function(t){return this.hasChanged(t)},this):y(this._changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?u(this._changed):!1;var e,n,r,i=!1,o=this._changing?this._previousAttributes:this.attributes;for(var a in t)n=this._definition[a],n&&(r=this._getCompareForType(n.type),r(o[a],e=t[a])||((i||(i={}))[a]=e));return i},toJSON:function(){return this.serialize()},unset:function(t,e){var n=this;t=Array.isArray(t)?t:[t],t.forEach(function(t){var r=n._definition[t];if(r){var i;return r.required?(i=b(r,"default"),n.set(t,i,e)):n.set(t,i,s({},e,{unset:!0}))}})},clear:function(t){var e=this;return Object.keys(this.attributes).forEach(function(n){e.unset(n,t)}),this},previous:function(t){return null!=t&&Object.keys(this._previousAttributes).length?this._previousAttributes[t]:null},_getDefaultForType:function(t){var e=this._dataTypes[t];return e&&e["default"]},_getCompareForType:function(t){var e=this._dataTypes[t];return e&&e.compare?w(e.compare,this):m
},_getOnChangeForType:function(t){var e=this._dataTypes[t];return e&&e.onChange?w(e.onChange,this):A},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=s({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return n?(this.trigger("invalid",this,n,s(e||{},{validationError:n})),!1):!0},_createPropertyDefinition:function(t,e,n){return r(this,t,e,n)},_ensureValidType:function(t){return p(["string","number","boolean","array","object","date","state","any"].concat(Object.keys(this._dataTypes)),t)?t:void 0},getAttributes:function(t,e){t=s({session:!1,props:!1,derived:!1},t||{});var n,r,i={};for(var o in this._definition)r=this._definition[o],(t.session&&r.session||t.props&&!r.session)&&(n=e?this._values[o]:this[o],e&&n&&v(n.serialize)&&(n=n.serialize()),"undefined"==typeof n&&(n=b(r,"default")),"undefined"!=typeof n&&(i[o]=n));if(t.derived)for(var a in this._derived)i[a]=this[a];return i},_initDerived:function(){var t=this;f(this._derived,function(e,n){var r=t._derived[n];r.deps=r.depList;var i=function(e){e=e||{};var i=r.fn.call(t);t._cache[n]===i&&r.cache||(r.cache&&(t._previousAttributes[n]=t._cache[n]),t._cache[n]=i,t.trigger("change:"+n,t,t._cache[n]))};r.deps.forEach(function(e){t._keyTree.add(e,i)})}),this.on("all",function(e){E.test(e)&&t._keyTree.get(e.split(":")[1]).forEach(function(t){t()})},this)},_getDerivedProperty:function(t,e){return this._derived[t].cache?((e||!this._cache.hasOwnProperty(t))&&(this._cache[t]=this._derived[t].fn.apply(this)),this._cache[t]):this._derived[t].fn.apply(this)},_initCollections:function(){var t;if(this._collections)for(t in this._collections)this._safeSet(t,new this._collections[t](null,{parent:this}))},_initChildren:function(){var t;if(this._children)for(t in this._children)this._safeSet(t,new this._children[t]({},{parent:this})),this.listenTo(this[t],"all",this._getEventBubblingHandler(t))},_getEventBubblingHandler:function(t){return w(function(e,n,r){E.test(e)?this.trigger("change:"+t+"."+e.split(":")[1],n,r):"change"===e&&this.trigger("change",this)},this)},_verifyRequired:function(){var t=this.attributes;for(var e in this._definition)if(this._definition[e].required&&"undefined"==typeof t[e])return!1;return!0},_safeSet:function(t,e){if(t in this)throw new Error("Encountered namespace collision while setting instance property `"+t+"`");return this[t]=e,this}}),Object.defineProperties(n.prototype,{attributes:{get:function(){return this.getAttributes({props:!0,session:!0})}},all:{get:function(){return this.getAttributes({session:!0,props:!0,derived:!0})}},isState:{get:function(){return!0},set:function(){}}});var S={string:{"default":function(){return""}},date:{set:function(t){var e;if(null==t)e="object";else if(g(t))e="date",t=t.valueOf();else{var n=null,r=new Date(t).valueOf();isNaN(r)&&(r=new Date(parseInt(t,10)).valueOf(),isNaN(r)&&(n=!0)),t=r,e="date",n&&(e=typeof t)}return{val:t,type:e}},get:function(t){return null==t?t:new Date(t)},"default":function(){return new Date}},array:{set:function(t){return{val:t,type:Array.isArray(t)?"array":typeof t}},"default":function(){return[]}},object:{set:function(t){var e=typeof t;return"object"!==e&&void 0===t&&(t=null,e="object"),{val:t,type:e}},"default":function(){return{}}},state:{set:function(t){var e=t instanceof n||t&&t.isState;return e?{val:t,type:"state"}:{val:t,type:typeof t}},compare:function(t,e){return t===e},onChange:function(t,e,n){e&&this.stopListening(e),null!=t&&this.listenTo(t,"all",this._getEventBubblingHandler(n))}}};n.extend=o,e.exports=n},{"ampersand-events":55,"array-next":84,"key-tree-store":94,"lodash.assign":42,"lodash.bind":48,"lodash.escape":86,"lodash.forown":87,"lodash.has":93,"lodash.includes":88,"lodash.isdate":90,"lodash.isequal":91,"lodash.isfunction":74,"lodash.isobject":89,"lodash.isstring":47,"lodash.omit":85,"lodash.result":44,"lodash.union":92,"lodash.uniqueid":41}],38:[function(t,e){function n(t){if(!t)throw new ReferenceError("Collection view missing required parameters: collection, el");if(!t.collection)throw new ReferenceError("Collection view requires a collection");if(!t.el&&!this.insertSelf)throw new ReferenceError("Collection view requires an el");r(this,o(t,l)),this.views=[],this.listenTo(this.collection,"add",this._addViewForModel),this.listenTo(this.collection,"remove",this._removeViewForModel),this.listenTo(this.collection,"sort",this._rerenderAll),this.listenTo(this.collection,"refresh reset",this._reset)}"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-collection-view"]=window.ampersand["ampersand-collection-view"]||[],window.ampersand["ampersand-collection-view"].push("1.4.0"));var r=t("lodash.assign"),i=t("lodash.invoke"),o=t("lodash.pick"),a=t("lodash.find"),s=t("lodash.difference"),u=t("ampersand-events"),c=t("ampersand-class-extend"),l=["collection","el","viewOptions","view","emptyView","filter","reverse","parent"];r(n.prototype,u,{render:function(){return this._renderAll(),this},remove:function(){i(this.views,"remove"),this.stopListening()},_getViewByModel:function(t){return a(this.views,function(e){return t===e.model})},_createViewForModel:function(t,e){var n={model:t,collection:this.collection,parent:this},i=new this.view(r(n,this.viewOptions));return this.views.push(i),i.renderedByParentView=!0,i.render(e),i},_getOrCreateByModel:function(t,e){return this._getViewByModel(t)||this._createViewForModel(t,e)},_addViewForModel:function(t,e,n){var r=this.filter?this.filter(t):!0;if(r){this.renderedEmptyView&&(this.renderedEmptyView.remove(),delete this.renderedEmptyView);var i=this._getOrCreateByModel(t,{containerEl:this.el});n&&n.rerender?this._insertView(i):this._insertViewAtIndex(i)}},_insertViewAtIndex:function(t){if(!t.insertSelf){var e,n,r=this.collection.indexOf(t.model);e=this.reverse?this.collection.at(r-1):this.collection.at(r+1),n=this._getViewByModel(e),n?this.el.insertBefore(t.el,n&&n.el):this.el.appendChild(t.el)}},_insertView:function(t){t.insertSelf||(this.reverse&&this.el.firstChild?this.el.insertBefore(t.el,this.el.firstChild):this.el.appendChild(t.el))},_removeViewForModel:function(t){var e=this._getViewByModel(t);if(e){var n=this.views.indexOf(e);-1!==n&&(e=this.views.splice(n,1)[0],this._removeView(e),0===this.views.length&&this._renderEmptyView())}},_removeView:function(t){t.animateRemove?t.animateRemove():t.remove()},_renderAll:function(){this.collection.each(this._addViewForModel,this),0===this.views.length&&this._renderEmptyView()},_rerenderAll:function(t,e){e=e||{},this.collection.each(function(t){this._addViewForModel(t,this,r(e,{rerender:!0}))},this)},_renderEmptyView:function(){if(this.emptyView&&!this.renderedEmptyView){var t=this.renderedEmptyView=new this.emptyView({parent:this});this.el.appendChild(t.render().el)}},_reset:function(){var t=this.collection.map(this._getOrCreateByModel,this),e=s(this.views,t);e.forEach(this._removeView,this),this.views=t,this._rerenderAll(),0===this.views.length&&this._renderEmptyView()}}),n.extend=c,e.exports=n},{"ampersand-class-extend":29,"ampersand-events":55,"lodash.assign":42,"lodash.difference":95,"lodash.find":96,"lodash.invoke":50,"lodash.pick":43}],39:[function(t,e){function n(t,e,n){if(""===e)return[t];var r=[];return e?n?f(t,e)?[t]:t.querySelector(e)?[t.querySelector(e)]:[]:(f(t,e)&&r.push(t),r.concat(h.call(t.querySelectorAll(e)))):r}function r(t,e){for(var n in e)l.setAttribute(t,n,e[n])}function i(t,e){for(var n in e)l.removeAttribute(t,n)}function o(t){return Array.isArray(t)?t:[t]}function a(t,e,r){var i=t.cases[r],o=t.firstMatchOnly;for(var a in t.cases){var s=t.cases[a];r!==a&&s!==i&&n(e,s,o).forEach(function(t){l.hide(t)})}n(e,i,o).forEach(function(t){l.show(t)})}function s(t){return"string"==typeof t.selector?t.selector:t.hook?'[data-hook~="'+t.hook+'"]':""}function u(t,e){var u,c=t.type||"text",f="function"==typeof c,h=s(t),d=t.firstMatchOnly,g=t.yes,v=t.no,m=!(!g&&!v);if(f)return function(t,r){n(t,h,d).forEach(function(t){c.call(e,t,r,u)}),u=r};if("text"===c)return function(t,e){n(t,h,d).forEach(function(t){l.text(t,e)})};if("class"===c)return function(t,e){n(t,h,d).forEach(function(t){l.switchClass(t,u,e)}),u=e};if("attribute"===c){if(!t.name)throw Error('attribute bindings must have a "name"');return function(e,r){var i=o(t.name);n(e,h,d).forEach(function(t){i.forEach(function(e){l.setAttribute(t,e,r)})}),u=r}}if("value"===c)return function(t,e){n(t,h,d).forEach(function(t){e||0===e||(e=""),document.activeElement!==t&&(t.value=e)}),u=e};if("booleanClass"===c)return m?(g=o(g||""),v=o(v||""),function(t,e){var r=e?v:g,i=e?g:v;n(t,h,d).forEach(function(t){r.forEach(function(e){l.removeClass(t,e)}),i.forEach(function(e){l.addClass(t,e)})})}):function(e,r,i){var a=o(t.name||i),s=t.invert||!1;r=s?r?!1:!0:r,n(e,h,d).forEach(function(t){a.forEach(function(e){l[r?"addClass":"removeClass"](t,e)})})};if("booleanAttribute"===c)return m?(g=o(g||""),v=o(v||""),function(t,e){var r=e?v:g,i=e?g:v;n(t,h,d).forEach(function(t){r.forEach(function(e){e&&l.removeAttribute(t,e)}),i.forEach(function(e){e&&l.addAttribute(t,e)})})}):function(e,r,i){var a=o(t.name||i),s=t.invert||!1;r=s?r?!1:!0:r,n(e,h,d).forEach(function(t){a.forEach(function(e){l[r?"addAttribute":"removeAttribute"](t,e)})})};if("toggle"===c){var y=t.mode||"display",b=t.invert||!1;return m?function(t,e){n(t,g,d).forEach(function(t){l[e?"show":"hide"](t,y)}),n(t,v,d).forEach(function(t){l[e?"hide":"show"](t,y)})}:function(t,e){e=b?e?!1:!0:e,n(t,h,d).forEach(function(t){l[e?"show":"hide"](t,y)})}}if("switch"===c){if(!t.cases)throw Error('switch bindings must have "cases"');return p(a,t)}if("innerHTML"===c)return function(t,e){n(t,h,d).forEach(function(t){l.html(t,e)})};if("switchClass"===c){if(!t.cases)throw Error('switchClass bindings must have "cases"');return function(e,r,i){var a=o(t.name||i);for(var s in t.cases)n(e,t.cases[s],d).forEach(function(t){a.forEach(function(e){l[r===s?"addClass":"removeClass"](t,e)})})}}if("switchAttribute"===c){if(!t.cases)throw Error('switchAttribute bindings must have "cases"');return function(e,o,a){n(e,h,d).forEach(function(e){if(u&&i(e,u),o in t.cases){var n=t.cases[o];"string"==typeof n&&(n={},n[t.name||a]=t.cases[o]),r(e,n),u=n}})}}throw new Error("no such binding type: "+c)}"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-dom-bindings"]=window.ampersand["ampersand-dom-bindings"]||[],window.ampersand["ampersand-dom-bindings"].push("3.9.2"));var c=t("key-tree-store"),l=t("ampersand-dom"),f=t("matches-selector"),p=t("lodash/partial"),h=Array.prototype.slice;e.exports=function(t,e){var n,r,i=new c;for(n in t)r=t[n],"string"==typeof r?i.add(n,u({type:"text",selector:r})):r.forEach?r.forEach(function(t){i.add(n,u(t,e))}):i.add(n,u(r,e));return i}},{"ampersand-dom":98,"key-tree-store":94,"lodash/partial":97,"matches-selector":52}],84:[function(t,e){e.exports=function(t,e){var n=t.length,r=t.indexOf(e)+1;return r>n-1&&(r=0),t[r]}},{}],58:[function(t,e){var n=t("amp-is-function"),r=t("amp-is-object"),i=Function.prototype.bind,o=Array.prototype.slice,a=function(){};e.exports=function(t,e){var s,u;if(i&&t.bind===i)return i.apply(t,o.call(arguments,1));if(!n(t))throw new TypeError("Bind must be called on a function");return s=o.call(arguments,2),u=function(){if(!(this instanceof u))return t.apply(e,s.concat(o.call(arguments)));a.prototype=t.prototype;var n=new a;a.prototype=null;var i=t.apply(n,s.concat(o.call(arguments)));return r(i)?i:n}}},{"amp-is-function":32,"amp-is-object":57}],97:[function(t,e){var n=t("./_baseRest"),r=t("./_createWrap"),i=t("./_getHolder"),o=t("./_replaceHolders"),a=32,s=n(function(t,e){var n=o(e,i(s));return r(t,a,void 0,e,n)});s.placeholder={},e.exports=s},{"./_baseRest":99,"./_createWrap":100,"./_getHolder":101,"./_replaceHolders":102}],89:[function(t,e){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=n},{}],90:[function(t,e){function n(t){return r(t)&&a.call(t)==i}function r(t){return!!t&&"object"==typeof t}var i="[object Date]",o=Object.prototype,a=o.toString;e.exports=n},{}],94:[function(t,e){function n(t){if(t=t||{},"object"!=typeof t)throw new TypeError("Options must be an object");var e=".";this.storage={},this.separator=t.separator||e}var r=Array.prototype.slice;n.prototype.add=function(t,e){var n=this.storage[t]||(this.storage[t]=[]);n.push(e)},n.prototype.remove=function(t){var e,n;for(e in this.storage)n=this.storage[e],n.some(function(e,r){return e===t?(n.splice(r,1),!0):void 0})},n.prototype.get=function(t){var e,n=[];for(e in this.storage)t&&t!==e&&0!==e.indexOf(t+this.separator)||(n=n.concat(this.storage[e]));return n},n.prototype.getGrouped=function(t){var e,n={};for(e in this.storage)t&&t!==e&&0!==e.indexOf(t+this.separator)||(n[e]=r.call(this.storage[e]));return n},n.prototype.getAll=function(t){var e,n={};for(e in this.storage)(t===e||0===e.indexOf(t+this.separator))&&(n[e]=r.call(this.storage[e]));return n},n.prototype.run=function(t,e){var n=r.call(arguments,2);this.get(t).forEach(function(t){t.apply(e||this,n)})},e.exports=n},{}],103:[function(t,e){!function(t){var n;n="undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{},e.exports=n}(self)},{}],101:[function(t,e){function n(t){var e=t;return e.placeholder}e.exports=n},{}],102:[function(t,e){function n(t,e){for(var n=-1,i=t.length,o=0,a=[];++n<i;){var s=t[n];(s===e||s===r)&&(t[n]=r,a[o++]=n)}return a}var r="__lodash_placeholder__";e.exports=n},{}],61:[function(t,e){!function(){function n(t,e){function n(){4===g.readyState&&k()}function i(){var t=null;if(g.response?t=g.response:"text"!==g.responseType&&g.responseType||(t=g.responseText||g.responseXML),x)try{t=JSON.parse(t)}catch(e){}return t}function l(){return 1223===g.status?204:g.status}function f(t,e){var n=null;if(0===t||t>=400&&600>t){var r=("string"==typeof e?e:!1)||s[String(t).charAt(0)];n=new Error(r),n.statusCode=t}return n}function p(){var t=l(),n=i(),r=f(t,n),o={body:n,statusCode:t,statusText:g.statusText,raw:g};o.headers=g.getAllResponseHeaders?a(g.getAllResponseHeaders()):{},e(r,o,o.body)}function h(){var t=l(),n=f(t);g.status=g.statusCode=t,g.body=i(),g.headers=a(g.getAllResponseHeaders()),e(n,g,g.body)}function d(t){e(t,g)}"string"==typeof t&&(t={uri:t}),t=t||{},e=o(e);var g=t.xhr||null;g||(g=t.cors||t.useXDR?new c:new u);var v,m=g.url=t.uri||t.url,y=g.method=t.method||"GET",b=t.body||t.data,w=g.headers=t.headers||{},_=!!t.sync,x=!1,k=t.response?p:h;if("json"in t&&(x=!0,w.Accept="application/json","GET"!==y&&"HEAD"!==y&&(w["Content-Type"]="application/json",b=JSON.stringify(t.json))),g.onreadystatechange=n,g.onload=k,g.onerror=d,g.onprogress=function(){},g.ontimeout=r,g.open(y,m,!_),(t.withCredentials||t.cors&&t.withCredentials!==!1)&&(g.withCredentials=!0),_||(g.timeout="timeout"in t?t.timeout:5e3),g.setRequestHeader)for(v in w)w.hasOwnProperty(v)&&g.setRequestHeader(v,w[v]);else if(t.headers)throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(g.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(g),g.send(b),g}function r(){}var i=t("global/window"),o=t("once"),a=t("parse-headers"),s={0:"Internal XMLHttpRequest Error",4:"4xx Client Error",5:"5xx Server Error"},u=i.XMLHttpRequest||r,c="withCredentials"in new u?u:i.XDomainRequest;e.exports=n}()},{"global/window":103,once:104,"parse-headers":105}],63:[function(t,e){function n(t,e){return null==e?t:r(e,i(e),t)}var r=t("lodash._basecopy"),i=t("lodash.keys");e.exports=n},{"lodash._basecopy":106,"lodash.keys":64}],64:[function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}function r(t){return null!=t&&o(m(t))}function i(t,e){return t="number"==typeof t||p.test(t)?+t:-1,e=null==e?v:e,t>-1&&0==t%1&&e>t}function o(t){return"number"==typeof t&&t>-1&&0==t%1&&v>=t}function a(t){for(var e=u(t),n=e.length,r=n&&t.length,a=!!r&&o(r)&&(f(t)||l(t)),s=-1,c=[];++s<n;){var p=e[s];(a&&i(p,r)||d.call(t,p))&&c.push(p)}return c}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function u(t){if(null==t)return[];s(t)||(t=Object(t));var e=t.length;e=e&&o(e)&&(f(t)||l(t))&&e||0;for(var n=t.constructor,r=-1,a="function"==typeof n&&n.prototype===t,u=Array(e),c=e>0;++r<e;)u[r]=r+"";for(var p in t)c&&i(p,e)||"constructor"==p&&(a||!d.call(t,p))||u.push(p);return u}var c=t("lodash._getnative"),l=t("lodash.isarguments"),f=t("lodash.isarray"),p=/^\d+$/,h=Object.prototype,d=h.hasOwnProperty,g=c(Object,"keys"),v=9007199254740991,m=n("length"),y=g?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&r(t)?a(t):s(t)?g(t):[]}:a;e.exports=y},{"lodash._getnative":107,"lodash.isarguments":108,"lodash.isarray":56}],65:[function(t,e){function n(t){return o(function(e,n){var o=-1,a=null==e?0:n.length,s=a>2?n[a-2]:void 0,u=a>2?n[2]:void 0,c=a>1?n[a-1]:void 0;for("function"==typeof s?(s=r(s,c,5),a-=2):(s="function"==typeof c?c:void 0,a-=s?1:0),u&&i(n[0],n[1],u)&&(s=3>a?void 0:s,a=1);++o<a;){var l=n[o];l&&t(e,l,s)}return e})}var r=t("lodash._bindcallback"),i=t("lodash._isiterateecall"),o=t("lodash.restparam");e.exports=n},{"lodash._bindcallback":67,"lodash._isiterateecall":77,"lodash.restparam":70}],66:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function i(t,e,o,s){s||(s=[]);for(var l=-1,f=t.length;++l<f;){var p=t[l];n(p)&&a(p)&&(o||c(p)||u(p))?e?i(p,e,o,s):r(s,p):o||(s[s.length]=p)}return s}function o(t){return function(e){return null==e?void 0:e[t]}}function a(t){return null!=t&&s(f(t))}function s(t){return"number"==typeof t&&t>-1&&0==t%1&&l>=t}var u=t("lodash.isarguments"),c=t("lodash.isarray"),l=9007199254740991,f=o("length");e.exports=i},{"lodash.isarguments":108,"lodash.isarray":56}],69:[function(t,e){function n(t,e){return i(t,e,o)}function r(t,e){var r={};return n(t,function(t,n,i){e(t,n,i)&&(r[n]=t)}),r}var i=t("lodash._basefor"),o=t("lodash.keysin");e.exports=r},{"lodash._basefor":109,"lodash.keysin":110}],73:[function(t,e){!function(){function n(t){return null==t?"":t+""}function r(t){if(i(t))return t;var e=[];return n(t).replace(o,function(t,n,r,i){e.push(r?i.replace(a,"$1"):n||t)}),e}var i=t("lodash.isarray"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,a=/\\(\\)?/g;e.exports=r}()},{"lodash.isarray":56}],76:[function(t,e){!function(){function n(t,e){return p(t,e,c)}function r(t){return function(e){return null==e?void 0:e[t]}}function i(t,e){return function(n,r){var i=n?h(n):0;if(!a(i))return t(n,r);for(var o=e?i:-1,u=s(n);(e?o--:++o<i)&&r(u[o],o,u)!==!1;);return n}}function o(t){return function(e,n,r){for(var i=s(e),o=r(e),a=o.length,u=t?a:-1;t?u--:++u<a;){var c=o[u];if(n(i[c],c,i)===!1)break}return e}}function a(t){return"number"==typeof t&&t>-1&&0==t%1&&l>=t}function s(t){return u(t)?t:Object(t)}function u(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var c=t("lodash.keys"),l=9007199254740991,f=i(n),p=o(),h=r("length");e.exports=f}()},{"lodash.keys":64}],78:[function(t,e){!function(){function n(t,e,n){var r=n.length;switch(r){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function r(t,e){return t="number"==typeof t||W.test(t)?+t:-1,e=null==e?C:e,t>-1&&0==t%1&&e>t}function i(t,e){for(var n=-1,r=t.length,i=-1,o=[];++n<r;)t[n]===e&&(t[n]=F,o[++i]=n);return o}function o(t,e,n){for(var r=n.length,i=-1,o=J(t.length-r,0),a=-1,s=e.length,u=Array(s+o);++a<s;)u[a]=e[a];for(;++i<r;)u[n[i]]=t[i];for(;o--;)u[a++]=t[i++];return u}function a(t,e,n){for(var r=-1,i=n.length,o=-1,a=J(t.length-i,0),s=-1,u=e.length,c=Array(a+u);++o<a;)c[o]=t[o];for(var l=o;++s<u;)c[l+s]=e[s];for(;++r<i;)c[l+n[r]]=t[o++];return c}function s(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function u(t,e,n){function r(){var e=this&&this!==w&&this instanceof r?o:t;return e.apply(i?n:this,arguments)}var i=e&_,o=c(t);return r}function c(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=G(t.prototype),r=t.apply(n,e);return m(r)?r:n}}function l(t,e,r){function o(){for(var s=arguments.length,u=s,c=Array(s),l=this&&this!==w&&this instanceof o?a:t,p=o.placeholder;u--;)c[u]=arguments[u];var d=3>s&&c[0]!==p&&c[s-1]!==p?[]:i(c,p);return s-=d.length,r>s?h(t,e,f,p,void 0,c,d,void 0,void 0,r-s):n(l,this,c)}var a=c(t);return o}function f(t,e,n,r,s,u,l,p,d,v){function m(){for(var _=arguments.length,x=_,j=Array(_);x--;)j[x]=arguments[x];if(r&&(j=o(j,r,s)),u&&(j=a(j,u,l)),A||S){var E=m.placeholder,I=i(j,E);if(_-=I.length,v>_)return h(t,e,f,E,n,j,I,p,d,v-_)}var O=b?n:this,C=k?O[t]:t;return p?j=g(j,p):T&&j.length>1&&j.reverse(),y&&d<j.length&&(j.length=d),this&&this!==w&&this instanceof m&&(C=M||c(C)),C.apply(O,j)}var y=e&I,b=e&_,k=e&x,A=e&j,S=e&E,T=e&O,M=k?void 0:c(t);return m}function p(t,e,r,i){function o(){for(var e=-1,u=arguments.length,c=-1,l=i.length,f=Array(l+u),p=this&&this!==w&&this instanceof o?s:t;++c<l;)f[c]=i[c];for(;u--;)f[c++]=arguments[++e];return n(p,a?r:this,f)}var a=e&_,s=c(t);return o}function h(t,e,n,r,i,o,a,u,c,l){var f=e&j,p=u?s(u):void 0,h=f?a:void 0,d=f?void 0:a,g=f?o:void 0,v=f?void 0:o;e|=f?A:S,e&=~(f?S:A),e&k||(e&=~(_|x));var m=n(t,e,i,g,h,v,d,p,c,l);return m.placeholder=r,m}function d(t,e,n,r,i,o,a,s){var c=e&x;if(!c&&"function"!=typeof t)throw new TypeError(T);var h=r?r.length:0;if(h||(e&=~(A|S),r=i=void 0),a=void 0===a?a:J(y(a),0),s=void 0===s?s:y(s),h-=i?i.length:0,e&S){var d=r,g=i;r=i=void 0}var v=[t,e,n,r,i,d,g,o,a,s];if(t=v[0],e=v[1],n=v[2],r=v[3],i=v[4],s=v[9]=null==v[9]?c?0:t.length:J(v[9]-h,0),!s&&e&(j|E)&&(e&=~(j|E)),e&&e!=_)m=e==j||e==E?l(t,e,s):e!=A&&e!=(_|A)||i.length?f.apply(void 0,v):p(t,e,n,r);else var m=u(t,e,n);return m}function g(t,e){for(var n=t.length,i=V(e.length,n),o=s(t);i--;){var a=e[i];t[i]=r(a,n)?o[a]:void 0}return t}function v(t){var e=m(t)?$.call(t):"";return e==N||e==R}function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if(!t)return 0===t?t:0;if(t=b(t),t===M||t===-M){var e=0>t?-1:1;return e*L}var n=t%1;return t===t?n?t-n:t:0}function b(t){if(m(t)){var e=v(t.valueOf)?t.valueOf():t;t=m(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(U,"");var n=P.test(t);return n||D.test(t)?z(t.slice(2),n?2:8):q.test(t)?B:+t}var w=t("lodash._root"),_=1,x=2,k=4,j=8,E=16,A=32,S=64,I=128,O=512,T="Expected a function",M=1/0,C=9007199254740991,L=1.7976931348623157e308,B=0/0,F="__lodash_placeholder__",N="[object Function]",R="[object GeneratorFunction]",U=/^\s+|\s+$/g,q=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,D=/^0o[0-7]+$/i,W=/^(?:0|[1-9]\d*)$/,z=parseInt,H=Object.prototype,$=H.toString,J=Math.max,V=Math.min,G=function(){function t(){}return function(e){if(m(e)){t.prototype=e;var n=new t;t.prototype=void 0}return n||{}}}();e.exports=d}()},{"lodash._root":62}],82:[function(t,e){!function(){function n(t,e,n){null==t||r(e,t)||(e=c(e),t=1==e.length?t:s(t,u(e,0,-1)),e=o(e));var i=null==t?t:t[e];return null==i?void 0:i.apply(t,n)}function r(t,e){var n=typeof t;if("string"==n&&p.test(t)||"number"==n)return!0;if(l(t))return!1;var r=!f.test(t);return r||null!=e&&t in i(e)}function i(t){return a(t)?t:Object(t)}function o(t){var e=t?t.length:0;return e?t[e-1]:void 0}function a(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var s=t("lodash._baseget"),u=t("lodash._baseslice"),c=t("lodash._topath"),l=t("lodash.isarray"),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,p=/^\w*$/;e.exports=n}()},{"lodash._baseget":71,"lodash._baseslice":72,"lodash._topath":73,"lodash.isarray":56}],81:[function(t,e,n){var r=t("closest"),i=t("component-event"),o=["focus","blur"];n.bind=function(t,e,n,a,s){return-1!==o.indexOf(n)&&(s=!0),i.bind(t,n,function(n){var i=n.target||n.srcElement;n.delegateTarget=r(i,e,!0,t),n.delegateTarget&&a.call(t,n)},s)},n.unbind=function(t,e,n,r){-1!==o.indexOf(e)&&(r=!0),i.unbind(t,e,n,r)}},{closest:111,"component-event":80}],83:[function(t,e){var n=t("./stringify"),r=t("./parse");e.exports={stringify:n,parse:r}},{"./parse":112,"./stringify":113}],104:[function(t,e){function n(t){var e=!1;return function(){return e?void 0:(e=!0,t.apply(this,arguments))}}e.exports=n,n.proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}],55:[function(t,e){"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-events"]=window.ampersand["ampersand-events"]||[],window.ampersand["ampersand-events"].push("1.1.1"));var n=t("lodash.once"),r=t("lodash.uniqueid"),i=t("lodash.keys"),o=t("lodash.isempty"),a=t("lodash.foreach");t("lodash.bind");var s=t("lodash.assign"),u=Array.prototype.slice,c=/\s+/,l={on:function(t,e,n){if(!f(this,"on",t,[e,n])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);return r.push({callback:e,context:n,ctx:n||this}),this},once:function(t,e,r){if(!f(this,"once",t,[e,r])||!e)return this;var i=this,o=n(function(){i.off(t,o),e.apply(this,arguments)});return o._callback=e,this.on(t,o,r)},off:function(t,e,n){var r,o,a,s,u,c,l,p;if(!this._events||!f(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(s=t?[t]:i(this._events),u=0,c=s.length;c>u;u++)if(t=s[u],a=this._events[t]){if(this._events[t]=r=[],e||n)for(l=0,p=a.length;p>l;l++)o=a[l],(e&&e!==o.callback&&e!==o.callback._callback||n&&n!==o.context)&&r.push(o);r.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=u.call(arguments,1);if(!f(this,"trigger",t,e))return this;var n=this._events[t],r=this._events.all;return n&&p(n,e),r&&p(r,arguments),this},stopListening:function(t,e,n){var r=this._listeningTo;if(!r)return this;var i=!e&&!n;n||"object"!=typeof e||(n=this),t&&((r={})[t._listenId]=t);for(var a in r)t=r[a],t.off(e,n,this),(i||o(t._events))&&delete this._listeningTo[a];return this},createEmitter:function(t){return s(t||{},l)}};l.bind=l.on,l.unbind=l.off;var f=function(t,e,n,r){if(!n)return!0;if("object"==typeof n){for(var i in n)t[e].apply(t,[i,n[i]].concat(r));return!1}if(c.test(n)){for(var o=n.split(c),a=0,s=o.length;s>a;a++)t[e].apply(t,[o[a]].concat(r));return!1}return!0},p=function(t,e){var n,r=-1,i=t.length,o=e[0],a=e[1],s=e[2];switch(e.length){case 0:for(;++r<i;)(n=t[r]).callback.call(n.ctx);return;case 1:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o);return;case 2:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o,a);return;case 3:for(;++r<i;)(n=t[r]).callback.call(n.ctx,o,a,s);return;default:for(;++r<i;)(n=t[r]).callback.apply(n.ctx,e);return}},h={listenTo:"on",listenToOnce:"once"};a(h,function(t,e){l[e]=function(e,n,i){var o=this._listeningTo||(this._listeningTo={}),a=e._listenId||(e._listenId=r("l"));return o[a]=e,i||"object"!=typeof n||(i=this),e[t](n,i,this),this}}),l.listenToAndRun=function(t,e,n){return l.listenTo.apply(this,arguments),n||"object"!=typeof e||(n=this),n.apply(this),this},e.exports=l},{"lodash.assign":42,"lodash.bind":48,"lodash.foreach":46,"lodash.isempty":115,"lodash.keys":64,"lodash.once":114,"lodash.uniqueid":41}],99:[function(t,e){function n(t,e){return o(i(t,e,r),t+"")}var r=t("./identity"),i=t("./_overRest"),o=t("./_setToString");e.exports=n},{"./_overRest":117,"./_setToString":118,"./identity":116}],100:[function(t,e){function n(t,e,n,_,x,k,j,E){var A=e&g;if(!A&&"function"!=typeof t)throw new TypeError(h);var S=_?_.length:0;if(S||(e&=~(y|b),_=x=void 0),j=void 0===j?j:w(p(j),0),E=void 0===E?E:p(E),S-=x?x.length:0,e&b){var I=_,O=x;_=x=void 0}var T=A?void 0:u(t),M=[t,e,n,_,x,I,O,k,j,E];if(T&&c(M,T),t=M[0],e=M[1],n=M[2],_=M[3],x=M[4],E=M[9]=void 0===M[9]?A?0:t.length:w(M[9]-S,0),!E&&e&(v|m)&&(e&=~(v|m)),e&&e!=d)C=e==v||e==m?o(t,e,E):e!=y&&e!=(d|y)||x.length?a.apply(void 0,M):s(t,e,n,_);else var C=i(t,e,n);var L=T?r:l;return f(L(C,M),t,e)}var r=t("./_baseSetData"),i=t("./_createBind"),o=t("./_createCurry"),a=t("./_createHybrid"),s=t("./_createPartial"),u=t("./_getData"),c=t("./_mergeData"),l=t("./_setData"),f=t("./_setWrapToString"),p=t("./toInteger"),h="Expected a function",d=1,g=2,v=8,m=16,y=32,b=64,w=Math.max;e.exports=n},{"./_baseSetData":119,"./_createBind":120,"./_createCurry":121,"./_createHybrid":122,"./_createPartial":123,"./_getData":124,"./_mergeData":125,"./_setData":126,"./_setWrapToString":128,"./toInteger":127}],106:[function(t,e){function n(t,e,n){n||(n={});for(var r=-1,i=e.length;++r<i;){var o=e[r];n[o]=t[o]}return n}e.exports=n},{}],107:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t,e){var n=null==t?void 0:t[e];return a(n)?n:void 0}function i(t){return o(t)&&p.call(t)==s}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function a(t){return null==t?!1:i(t)?h.test(l.call(t)):n(t)&&u.test(t)}var s="[object Function]",u=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,f=c.hasOwnProperty,p=c.toString,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},{}],108:[function(t,e){function n(t){return i(t)&&d.call(t,"callee")&&(!v.call(t,"callee")||g.call(t)==l)}function r(t){return null!=t&&a(t.length)&&!o(t)}function i(t){return u(t)&&r(t)}function o(t){var e=s(t)?g.call(t):"";return e==f||e==p}function a(t){return"number"==typeof t&&t>-1&&0==t%1&&c>=t}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function u(t){return!!t&&"object"==typeof t}var c=9007199254740991,l="[object Arguments]",f="[object Function]",p="[object GeneratorFunction]",h=Object.prototype,d=h.hasOwnProperty,g=h.toString,v=h.propertyIsEnumerable;e.exports=n},{}],109:[function(t,e){function n(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(n(o[u],u,o)===!1)break}return e}}var r=n();e.exports=r},{}],129:[function(t,e){t=function(t,e,n,r){function i(r){if(!n[r]){if(!e[r]){if(t)return t(r);throw new Error("Cannot find module '"+r+"'")}var o=n[r]={exports:{}};e[r][0](function(t){var n=e[r][1][t];return i(n?n:t)},o,o.exports)}return n[r].exports}for(var o=0;o<r.length;o++)i(r[o]);return i}("undefined"!=typeof t&&t,{1:[function(t,e){function n(t){if(Object.keys)return Object.keys(t);var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}function r(t,e){return void 0===e?""+e:"number"!=typeof e||!isNaN(e)&&isFinite(e)?"function"==typeof e||e instanceof RegExp?e.toString():e:e.toString()}function i(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function o(t,e,n,r,i){throw new v.AssertionError({message:n,actual:t,expected:e,operator:r,stackStartFunction:i})}function a(t,e){t||o(t,!0,e,"==",v.ok)}function s(t,e){if(t===e)return!0;if(d.isBuffer(t)&&d.isBuffer(e)){if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():"object"!=typeof t&&"object"!=typeof e?t==e:l(t,e)}function u(t){return null===t||void 0===t}function c(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function l(t,e){if(u(t)||u(e))return!1;if(t.prototype!==e.prototype)return!1;if(c(t))return c(e)?(t=g.call(t),e=g.call(e),s(t,e)):!1;try{var r,i,o=n(t),a=n(e)}catch(l){return!1}if(o.length!=a.length)return!1;for(o.sort(),a.sort(),i=o.length-1;i>=0;i--)if(o[i]!=a[i])return!1;for(i=o.length-1;i>=0;i--)if(r=o[i],!s(t[r],e[r]))return!1;return!0}function f(t,e){return t&&e?e instanceof RegExp?e.test(t):t instanceof e?!0:e.call({},t)===!0?!0:!1:!1}function p(t,e,n,r){var i;"string"==typeof n&&(r=n,n=null);try{e()}catch(a){i=a}if(r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!i&&o("Missing expected exception"+r),!t&&f(i,n)&&o("Got unwanted exception"+r),t&&i&&n&&!f(i,n)||!t&&i)throw i
}var h=t("util"),d=t("buffer").Buffer,g=Array.prototype.slice,v=e.exports=a;v.AssertionError=function(t){this.name="AssertionError",this.message=t.message,this.actual=t.actual,this.expected=t.expected,this.operator=t.operator;var e=t.stackStartFunction||o;Error.captureStackTrace&&Error.captureStackTrace(this,e)},h.inherits(v.AssertionError,Error),v.AssertionError.prototype.toString=function(){return this.message?[this.name+":",this.message].join(" "):[this.name+":",i(JSON.stringify(this.actual,r),128),this.operator,i(JSON.stringify(this.expected,r),128)].join(" ")},v.AssertionError.__proto__=Error.prototype,v.fail=o,v.ok=a,v.equal=function(t,e,n){t!=e&&o(t,e,n,"==",v.equal)},v.notEqual=function(t,e,n){t==e&&o(t,e,n,"!=",v.notEqual)},v.deepEqual=function(t,e,n){s(t,e)||o(t,e,n,"deepEqual",v.deepEqual)},v.notDeepEqual=function(t,e,n){s(t,e)&&o(t,e,n,"notDeepEqual",v.notDeepEqual)},v.strictEqual=function(t,e,n){t!==e&&o(t,e,n,"===",v.strictEqual)},v.notStrictEqual=function(t,e,n){t===e&&o(t,e,n,"!==",v.notStrictEqual)},v.throws=function(){p.apply(this,[!0].concat(g.call(arguments)))},v.doesNotThrow=function(){p.apply(this,[!1].concat(g.call(arguments)))},v.ifError=function(t){if(t)throw t}},{util:2,buffer:3}],2:[function(t,e,n){function r(t){return t instanceof Array||Array.isArray(t)||t&&t!==Object.prototype&&r(t.__proto__)}function i(t){return t instanceof RegExp||"object"==typeof t&&"[object RegExp]"===Object.prototype.toString.call(t)}function o(t){if(t instanceof Date)return!0;if("object"!=typeof t)return!1;var e=Date.prototype&&s(Date.prototype),n=t.__proto__&&s(t.__proto__);return JSON.stringify(n)===JSON.stringify(e)}t("events"),n.isArray=r,n.isDate=function(t){return"[object Date]"===Object.prototype.toString.call(t)},n.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},n.print=function(){},n.puts=function(){},n.debug=function(){},n.inspect=function(t,e,u,c){function l(t,u){if(t&&"function"==typeof t.inspect&&t!==n&&(!t.constructor||t.constructor.prototype!==t))return t.inspect(u);switch(typeof t){case"undefined":return p("undefined","undefined");case"string":var c="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return p(c,"string");case"number":return p(""+t,"number");case"boolean":return p(""+t,"boolean")}if(null===t)return p("null","null");var h=a(t),d=e?s(t):h;if("function"==typeof t&&0===d.length){if(i(t))return p(""+t,"regexp");var g=t.name?": "+t.name:"";return p("[Function"+g+"]","special")}if(o(t)&&0===d.length)return p(t.toUTCString(),"date");var v,m,y;if(r(t)?(m="Array",y=["[","]"]):(m="Object",y=["{","}"]),"function"==typeof t){var b=t.name?": "+t.name:"";v=i(t)?" "+t:" [Function"+b+"]"}else v="";if(o(t)&&(v=" "+t.toUTCString()),0===d.length)return y[0]+v+y[1];if(0>u)return i(t)?p(""+t,"regexp"):p("[Object]","special");f.push(t);var w=d.map(function(e){var n,i;if(t.__lookupGetter__&&(t.__lookupGetter__(e)?i=t.__lookupSetter__(e)?p("[Getter/Setter]","special"):p("[Getter]","special"):t.__lookupSetter__(e)&&(i=p("[Setter]","special"))),h.indexOf(e)<0&&(n="["+e+"]"),i||(f.indexOf(t[e])<0?(i=null===u?l(t[e]):l(t[e],u-1),i.indexOf("\n")>-1&&(i=r(t)?i.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+i.split("\n").map(function(t){return" "+t}).join("\n"))):i=p("[Circular]","special")),"undefined"==typeof n){if("Array"===m&&e.match(/^\d+$/))return i;n=JSON.stringify(""+e),n.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(n=n.substr(1,n.length-2),n=p(n,"name")):(n=n.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),n=p(n,"string"))}return n+": "+i});f.pop();var _=0,x=w.reduce(function(t,e){return _++,e.indexOf("\n")>=0&&_++,t+e.length+1},0);return w=x>50?y[0]+(""===v?"":v+"\n ")+" "+w.join(",\n ")+" "+y[1]:y[0]+v+" "+w.join(", ")+" "+y[1]}var f=[],p=function(t,e){var n={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},r={special:"cyan",number:"blue","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"}[e];return r?"["+n[r][0]+"m"+t+"["+n[r][1]+"m":t};return c||(p=function(t){return t}),l(t,"undefined"==typeof u?2:u)},n.log=function(){},n.pump=null;var a=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e},s=Object.getOwnPropertyNames||function(t){var e=[];for(var n in t)Object.hasOwnProperty.call(t,n)&&e.push(n);return e},u=Object.create||function(t,e){var n;if(null===t)n={__proto__:null};else{if("object"!=typeof t)throw new TypeError("typeof prototype["+typeof t+"] != 'object'");var r=function(){};r.prototype=t,n=new r,n.__proto__=t}return"undefined"!=typeof e&&Object.defineProperties&&Object.defineProperties(n,e),n};n.inherits=function(t,e){t.super_=e,t.prototype=u(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})};var c=/%[sdj%]/g;n.format=function(t){if("string"!=typeof t){for(var e=[],r=0;r<arguments.length;r++)e.push(n.inspect(arguments[r]));return e.join(" ")}for(var r=1,i=arguments,o=i.length,a=String(t).replace(c,function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":return JSON.stringify(i[r++]);default:return t}}),s=i[r];o>r;s=i[++r])a+=null===s||"object"!=typeof s?" "+s:" "+n.inspect(s);return a}},{events:4}],5:[function(t,e,n){n.readIEEE754=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?0:i-1,p=n?1:-1,h=t[e+f];for(f+=p,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return a?0/0:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},n.writeIEEE754=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?o-1:0,d=r?-1:1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+f>=1?p/u:p*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=d,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+h]=255&a,h+=d,a/=256,c-=8);t[n+h-d]|=128*g}},{}],6:[function(t,e){var n=e.exports={};n.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};if(e){var n=[];return window.addEventListener("message",function(t){if(t.source===window&&"process-tick"===t.data&&(t.stopPropagation(),n.length>0)){var e=n.shift();e()}},!0),function(t){n.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],4:[function(t,e,n){!function(t){function e(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;n++)if(e===t[n])return n;return-1}t.EventEmitter||(t.EventEmitter=function(){});var r=n.EventEmitter=t.EventEmitter,i="function"==typeof Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},o=10;r.prototype.setMaxListeners=function(t){this._events||(this._events={}),this._events.maxListeners=t},r.prototype.emit=function(t){if("error"===t&&(!this._events||!this._events.error||i(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var e=this._events[t];if(!e)return!1;if("function"==typeof e){switch(arguments.length){case 1:e.call(this);break;case 2:e.call(this,arguments[1]);break;case 3:e.call(this,arguments[1],arguments[2]);break;default:var n=Array.prototype.slice.call(arguments,1);e.apply(this,n)}return!0}if(i(e)){for(var n=Array.prototype.slice.call(arguments,1),r=e.slice(),o=0,a=r.length;a>o;o++)r[o].apply(this,n);return!0}return!1},r.prototype.addListener=function(t,e){if("function"!=typeof e)throw new Error("addListener only takes instances of Function");if(this._events||(this._events={}),this.emit("newListener",t,e),this._events[t])if(i(this._events[t])){if(!this._events[t].warned){var n;n=void 0!==this._events.maxListeners?this._events.maxListeners:o,n&&n>0&&this._events[t].length>n&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),console.trace())}this._events[t].push(e)}else this._events[t]=[this._events[t],e];else this._events[t]=e;return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){var n=this;return n.on(t,function r(){n.removeListener(t,r),e.apply(this,arguments)}),this},r.prototype.removeListener=function(t,n){if("function"!=typeof n)throw new Error("removeListener only takes instances of Function");if(!this._events||!this._events[t])return this;var r=this._events[t];if(i(r)){var o=e(r,n);if(0>o)return this;r.splice(o,1),0==r.length&&delete this._events[t]}else this._events[t]===n&&delete this._events[t];return this},r.prototype.removeAllListeners=function(t){return 0===arguments.length?(this._events={},this):(t&&this._events&&this._events[t]&&(this._events[t]=null),this)},r.prototype.listeners=function(t){return this._events||(this._events={}),this._events[t]||(this._events[t]=[]),i(this._events[t])||(this._events[t]=[this._events[t]]),this._events[t]}}(t("__browserify_process"))},{__browserify_process:6}],"buffer-browserify":[function(t,e){e.exports=t("q9TxCC")},{}],q9TxCC:[function(t,e,n){function r(t){this.length=t}function i(t){return 16>t?"0"+t.toString(16):t.toString(16)}function o(t){for(var e=[],n=0;n<t.length;n++)if(t.charCodeAt(n)<=127)e.push(t.charCodeAt(n));else for(var r=encodeURIComponent(t.charAt(n)).substr(1).split("%"),i=0;i<r.length;i++)e.push(parseInt(r[i],16));return e}function a(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e}function s(e){return t("base64-js").toByteArray(e)}function u(t,e,n,r){for(var i=0;r>i&&!(i+n>=e.length||i>=t.length);)e[i+n]=t[i],i++;return i}function c(t){try{return decodeURIComponent(t)}catch(e){return String.fromCharCode(65533)}}function l(t){return t=~~Math.ceil(+t),0>t?0:t}function f(t,e,n){if(!(this instanceof f))return new f(t,e,n);var i;if("number"==typeof n)this.length=l(e),this.parent=t,this.offset=n;else{switch(i=typeof t){case"number":this.length=l(t);break;case"string":this.length=f.byteLength(t,e);break;case"object":this.length=l(t.length);break;default:throw new Error("First argument needs to be a number, array or string.")}if(this.length>f.poolSize?(this.parent=new r(this.length),this.offset=0):((!T||T.length-T.used<this.length)&&h(),this.parent=T,this.offset=T.used,T.used+=this.length),p(t))for(var o=0;o<this.length;o++)this.parent[o+this.offset]=t instanceof f?t.readUInt8(o):t[o];else"string"==i&&(this.length=this.write(t,0,e))}}function p(t){return Array.isArray(t)||f.isBuffer(t)||t&&"object"==typeof t&&"number"==typeof t.length}function h(){T=new r(f.poolSize),T.used=0}function d(t,e,n,r){var i=0;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+1<t.length,"Trying to read beyond buffer length")),e>=t.length?0:(n?(i=t.parent[t.offset+e]<<8,e+1<t.length&&(i|=t.parent[t.offset+e+1])):(i=t.parent[t.offset+e],e+1<t.length&&(i|=t.parent[t.offset+e+1]<<8)),i)}function g(t,e,n,r){var i=0;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+3<t.length,"Trying to read beyond buffer length")),e>=t.length?0:(n?(e+1<t.length&&(i=t.parent[t.offset+e+1]<<16),e+2<t.length&&(i|=t.parent[t.offset+e+2]<<8),e+3<t.length&&(i|=t.parent[t.offset+e+3]),i+=t.parent[t.offset+e]<<24>>>0):(e+2<t.length&&(i=t.parent[t.offset+e+2]<<16),e+1<t.length&&(i|=t.parent[t.offset+e+1]<<8),i|=t.parent[t.offset+e],e+3<t.length&&(i+=t.parent[t.offset+e+3]<<24>>>0)),i)}function v(t,e,n,r){var i,o;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+1<t.length,"Trying to read beyond buffer length")),o=d(t,e,n,r),i=32768&o,i?-1*(65535-o+1):o}function m(t,e,n,r){var i,o;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+3<t.length,"Trying to read beyond buffer length")),o=g(t,e,n,r),i=2147483648&o,i?-1*(4294967295-o+1):o}function y(e,n,r,i){return i||(O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(n+3<e.length,"Trying to read beyond buffer length")),t("./buffer_ieee754").readIEEE754(e,n,r,23,4)}function b(e,n,r,i){return i||(O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(n+7<e.length,"Trying to read beyond buffer length")),t("./buffer_ieee754").readIEEE754(e,n,r,52,8)}function w(t,e){O.ok("number"==typeof t,"cannot write a non-number as a number"),O.ok(t>=0,"specified a negative value for writing an unsigned value"),O.ok(e>=t,"value is larger than maximum value for type"),O.ok(Math.floor(t)===t,"value has a fractional component")}function _(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+1<t.length,"trying to write beyond buffer length"),w(e,65535));for(var o=0;o<Math.min(t.length-n,2);o++)t.parent[t.offset+n+o]=(e&255<<8*(r?1-o:o))>>>8*(r?1-o:o)}function x(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+3<t.length,"trying to write beyond buffer length"),w(e,4294967295));for(var o=0;o<Math.min(t.length-n,4);o++)t.parent[t.offset+n+o]=255&e>>>8*(r?3-o:o)}function k(t,e,n){O.ok("number"==typeof t,"cannot write a non-number as a number"),O.ok(e>=t,"value larger than maximum allowed value"),O.ok(t>=n,"value smaller than minimum allowed value"),O.ok(Math.floor(t)===t,"value has a fractional component")}function j(t,e,n){O.ok("number"==typeof t,"cannot write a non-number as a number"),O.ok(e>=t,"value larger than maximum allowed value"),O.ok(t>=n,"value smaller than minimum allowed value")}function E(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+1<t.length,"Trying to write beyond buffer length"),k(e,32767,-32768)),e>=0?_(t,e,n,r,i):_(t,65535+e+1,n,r,i)}function A(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+3<t.length,"Trying to write beyond buffer length"),k(e,2147483647,-2147483648)),e>=0?x(t,e,n,r,i):x(t,4294967295+e+1,n,r,i)}function S(e,n,r,i,o){o||(O.ok(void 0!==n&&null!==n,"missing value"),O.ok("boolean"==typeof i,"missing or invalid endian"),O.ok(void 0!==r&&null!==r,"missing offset"),O.ok(r+3<e.length,"Trying to write beyond buffer length"),j(n,3.4028234663852886e38,-3.4028234663852886e38)),t("./buffer_ieee754").writeIEEE754(e,n,r,i,23,4)}function I(e,n,r,i,o){o||(O.ok(void 0!==n&&null!==n,"missing value"),O.ok("boolean"==typeof i,"missing or invalid endian"),O.ok(void 0!==r&&null!==r,"missing offset"),O.ok(r+7<e.length,"Trying to write beyond buffer length"),j(n,1.7976931348623157e308,-1.7976931348623157e308)),t("./buffer_ieee754").writeIEEE754(e,n,r,i,52,8)}var O=t("assert");n.INSPECT_MAX_BYTES=50,r.byteLength=function(t,e){switch(e||"utf8"){case"hex":return t.length/2;case"utf8":case"utf-8":return o(t).length;case"ascii":case"binary":return t.length;case"base64":return s(t).length;default:throw new Error("Unknown encoding")}},r.prototype.utf8Write=function(t,e,n){return r._charsWritten=u(o(t),this,e,n)},r.prototype.asciiWrite=function(t,e,n){return r._charsWritten=u(a(t),this,e,n)},r.prototype.binaryWrite=r.prototype.asciiWrite,r.prototype.base64Write=function(t,e,n){return r._charsWritten=u(s(t),this,e,n)},r.prototype.base64Slice=function(){var e=Array.prototype.slice.apply(this,arguments);return t("base64-js").fromByteArray(e)},r.prototype.utf8Slice=function(){for(var t=Array.prototype.slice.apply(this,arguments),e="",n="",r=0;r<t.length;)t[r]<=127?(e+=c(n)+String.fromCharCode(t[r]),n=""):n+="%"+t[r].toString(16),r++;return e+c(n)},r.prototype.asciiSlice=function(){for(var t=Array.prototype.slice.apply(this,arguments),e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},r.prototype.binarySlice=r.prototype.asciiSlice,r.prototype.inspect=function(){for(var t=[],e=this.length,r=0;e>r;r++)if(t[r]=i(this[r]),r==n.INSPECT_MAX_BYTES){t[r+1]="...";break}return"<SlowBuffer "+t.join(" ")+">"},r.prototype.hexSlice=function(t,e){var n=this.length;(!t||0>t)&&(t=0),(!e||0>e||e>n)&&(e=n);for(var r="",o=t;e>o;o++)r+=i(this[o]);return r},r.prototype.toString=function(t,e,n){if(t=String(t||"utf8").toLowerCase(),e=+e||0,"undefined"==typeof n&&(n=this.length),+n==e)return"";switch(t){case"hex":return this.hexSlice(e,n);case"utf8":case"utf-8":return this.utf8Slice(e,n);case"ascii":return this.asciiSlice(e,n);case"binary":return this.binarySlice(e,n);case"base64":return this.base64Slice(e,n);case"ucs2":case"ucs-2":return this.ucs2Slice(e,n);default:throw new Error("Unknown encoding")}},r.prototype.hexWrite=function(t,e,n){e=+e||0;var i=this.length-e;n?(n=+n,n>i&&(n=i)):n=i;var o=t.length;if(o%2)throw new Error("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;n>a;a++){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))throw new Error("Invalid hex string");this[e+a]=s}return r._charsWritten=2*a,a},r.prototype.write=function(t,e,n,r){if(isFinite(e))isFinite(n)||(r=n,n=void 0);else{var i=r;r=e,e=n,n=i}e=+e||0;var o=this.length-e;switch(n?(n=+n,n>o&&(n=o)):n=o,r=String(r||"utf8").toLowerCase()){case"hex":return this.hexWrite(t,e,n);case"utf8":case"utf-8":return this.utf8Write(t,e,n);case"ascii":return this.asciiWrite(t,e,n);case"binary":return this.binaryWrite(t,e,n);case"base64":return this.base64Write(t,e,n);case"ucs2":case"ucs-2":return this.ucs2Write(t,e,n);default:throw new Error("Unknown encoding")}},r.prototype.slice=function(t,e){if(void 0===e&&(e=this.length),e>this.length)throw new Error("oob");if(t>e)throw new Error("oob");return new f(this,e-t,+t)},r.prototype.copy=function(t,e,n,r){for(var i=[],o=n;r>o;o++)O.ok("undefined"!=typeof this[o],"copying undefined buffer bytes!"),i.push(this[o]);for(var o=e;o<e+i.length;o++)t[o]=i[o-e]},r.prototype.fill=function(t,e,n){if(n>this.length)throw new Error("oob");if(e>n)throw new Error("oob");for(var r=e;n>r;r++)this[r]=t},n.SlowBuffer=r,n.Buffer=f,f.poolSize=8192;var T;f.isBuffer=function(t){return t instanceof f||t instanceof r},f.concat=function(t,e){if(!Array.isArray(t))throw new Error("Usage: Buffer.concat(list, [totalLength])\n list should be an Array.");if(0===t.length)return new f(0);if(1===t.length)return t[0];if("number"!=typeof e){e=0;for(var n=0;n<t.length;n++){var r=t[n];e+=r.length}}for(var i=new f(e),o=0,n=0;n<t.length;n++){var r=t[n];r.copy(i,o),o+=r.length}return i},f.prototype.inspect=function(){for(var t=[],e=this.length,r=0;e>r;r++)if(t[r]=i(this.parent[r+this.offset]),r==n.INSPECT_MAX_BYTES){t[r+1]="...";break}return"<Buffer "+t.join(" ")+">"},f.prototype.get=function(t){if(0>t||t>=this.length)throw new Error("oob");return this.parent[this.offset+t]},f.prototype.set=function(t,e){if(0>t||t>=this.length)throw new Error("oob");return this.parent[this.offset+t]=e},f.prototype.write=function(t,e,n,i){if(isFinite(e))isFinite(n)||(i=n,n=void 0);else{var o=i;i=e,e=n,n=o}e=+e||0;var a=this.length-e;n?(n=+n,n>a&&(n=a)):n=a,i=String(i||"utf8").toLowerCase();var s;switch(i){case"hex":s=this.parent.hexWrite(t,this.offset+e,n);break;case"utf8":case"utf-8":s=this.parent.utf8Write(t,this.offset+e,n);break;case"ascii":s=this.parent.asciiWrite(t,this.offset+e,n);break;case"binary":s=this.parent.binaryWrite(t,this.offset+e,n);break;case"base64":s=this.parent.base64Write(t,this.offset+e,n);break;case"ucs2":case"ucs-2":s=this.parent.ucs2Write(t,this.offset+e,n);break;default:throw new Error("Unknown encoding")}return f._charsWritten=r._charsWritten,s},f.prototype.toString=function(t,e,n){switch(t=String(t||"utf8").toLowerCase(),"undefined"==typeof e||0>e?e=0:e>this.length&&(e=this.length),"undefined"==typeof n||n>this.length?n=this.length:0>n&&(n=0),e+=this.offset,n+=this.offset,t){case"hex":return this.parent.hexSlice(e,n);case"utf8":case"utf-8":return this.parent.utf8Slice(e,n);case"ascii":return this.parent.asciiSlice(e,n);case"binary":return this.parent.binarySlice(e,n);case"base64":return this.parent.base64Slice(e,n);case"ucs2":case"ucs-2":return this.parent.ucs2Slice(e,n);default:throw new Error("Unknown encoding")}},f.byteLength=r.byteLength,f.prototype.fill=function(t,e,n){if(t||(t=0),e||(e=0),n||(n=this.length),"string"==typeof t&&(t=t.charCodeAt(0)),"number"!=typeof t||isNaN(t))throw new Error("value is not a number");if(e>n)throw new Error("end < start");if(n===e)return 0;if(0==this.length)return 0;if(0>e||e>=this.length)throw new Error("start out of bounds");if(0>n||n>this.length)throw new Error("end out of bounds");return this.parent.fill(t,e+this.offset,n+this.offset)},f.prototype.copy=function(t,e,n,r){var i=this;if(n||(n=0),r||(r=this.length),e||(e=0),n>r)throw new Error("sourceEnd < sourceStart");if(r===n)return 0;if(0==t.length||0==i.length)return 0;if(0>e||e>=t.length)throw new Error("targetStart out of bounds");if(0>n||n>=i.length)throw new Error("sourceStart out of bounds");if(0>r||r>i.length)throw new Error("sourceEnd out of bounds");return r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n),this.parent.copy(t.parent,e+t.offset,n+this.offset,r+this.offset)},f.prototype.slice=function(t,e){if(void 0===e&&(e=this.length),e>this.length)throw new Error("oob");if(t>e)throw new Error("oob");return new f(this.parent,e-t,+t+this.offset)},f.prototype.utf8Slice=function(t,e){return this.toString("utf8",t,e)},f.prototype.binarySlice=function(t,e){return this.toString("binary",t,e)},f.prototype.asciiSlice=function(t,e){return this.toString("ascii",t,e)},f.prototype.utf8Write=function(t,e){return this.write(t,e,"utf8")},f.prototype.binaryWrite=function(t,e){return this.write(t,e,"binary")},f.prototype.asciiWrite=function(t,e){return this.write(t,e,"ascii")},f.prototype.readUInt8=function(t,e){var n=this;return e||(O.ok(void 0!==t&&null!==t,"missing offset"),O.ok(t<n.length,"Trying to read beyond buffer length")),t>=n.length?void 0:n.parent[n.offset+t]},f.prototype.readUInt16LE=function(t,e){return d(this,t,!1,e)},f.prototype.readUInt16BE=function(t,e){return d(this,t,!0,e)},f.prototype.readUInt32LE=function(t,e){return g(this,t,!1,e)},f.prototype.readUInt32BE=function(t,e){return g(this,t,!0,e)},f.prototype.readInt8=function(t,e){var n,r=this;return e||(O.ok(void 0!==t&&null!==t,"missing offset"),O.ok(t<r.length,"Trying to read beyond buffer length")),t>=r.length?void 0:(n=128&r.parent[r.offset+t],n?-1*(255-r.parent[r.offset+t]+1):r.parent[r.offset+t])},f.prototype.readInt16LE=function(t,e){return v(this,t,!1,e)},f.prototype.readInt16BE=function(t,e){return v(this,t,!0,e)},f.prototype.readInt32LE=function(t,e){return m(this,t,!1,e)},f.prototype.readInt32BE=function(t,e){return m(this,t,!0,e)},f.prototype.readFloatLE=function(t,e){return y(this,t,!1,e)},f.prototype.readFloatBE=function(t,e){return y(this,t,!0,e)},f.prototype.readDoubleLE=function(t,e){return b(this,t,!1,e)},f.prototype.readDoubleBE=function(t,e){return b(this,t,!0,e)},f.prototype.writeUInt8=function(t,e,n){var r=this;n||(O.ok(void 0!==t&&null!==t,"missing value"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e<r.length,"trying to write beyond buffer length"),w(t,255)),e<r.length&&(r.parent[r.offset+e]=t)},f.prototype.writeUInt16LE=function(t,e,n){_(this,t,e,!1,n)},f.prototype.writeUInt16BE=function(t,e,n){_(this,t,e,!0,n)},f.prototype.writeUInt32LE=function(t,e,n){x(this,t,e,!1,n)},f.prototype.writeUInt32BE=function(t,e,n){x(this,t,e,!0,n)},f.prototype.writeInt8=function(t,e,n){var r=this;n||(O.ok(void 0!==t&&null!==t,"missing value"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e<r.length,"Trying to write beyond buffer length"),k(t,127,-128)),t>=0?r.writeUInt8(t,e,n):r.writeUInt8(255+t+1,e,n)},f.prototype.writeInt16LE=function(t,e,n){E(this,t,e,!1,n)},f.prototype.writeInt16BE=function(t,e,n){E(this,t,e,!0,n)},f.prototype.writeInt32LE=function(t,e,n){A(this,t,e,!1,n)},f.prototype.writeInt32BE=function(t,e,n){A(this,t,e,!0,n)},f.prototype.writeFloatLE=function(t,e,n){S(this,t,e,!1,n)},f.prototype.writeFloatBE=function(t,e,n){S(this,t,e,!0,n)},f.prototype.writeDoubleLE=function(t,e,n){I(this,t,e,!1,n)},f.prototype.writeDoubleBE=function(t,e,n){I(this,t,e,!0,n)},r.prototype.readUInt8=f.prototype.readUInt8,r.prototype.readUInt16LE=f.prototype.readUInt16LE,r.prototype.readUInt16BE=f.prototype.readUInt16BE,r.prototype.readUInt32LE=f.prototype.readUInt32LE,r.prototype.readUInt32BE=f.prototype.readUInt32BE,r.prototype.readInt8=f.prototype.readInt8,r.prototype.readInt16LE=f.prototype.readInt16LE,r.prototype.readInt16BE=f.prototype.readInt16BE,r.prototype.readInt32LE=f.prototype.readInt32LE,r.prototype.readInt32BE=f.prototype.readInt32BE,r.prototype.readFloatLE=f.prototype.readFloatLE,r.prototype.readFloatBE=f.prototype.readFloatBE,r.prototype.readDoubleLE=f.prototype.readDoubleLE,r.prototype.readDoubleBE=f.prototype.readDoubleBE,r.prototype.writeUInt8=f.prototype.writeUInt8,r.prototype.writeUInt16LE=f.prototype.writeUInt16LE,r.prototype.writeUInt16BE=f.prototype.writeUInt16BE,r.prototype.writeUInt32LE=f.prototype.writeUInt32LE,r.prototype.writeUInt32BE=f.prototype.writeUInt32BE,r.prototype.writeInt8=f.prototype.writeInt8,r.prototype.writeInt16LE=f.prototype.writeInt16LE,r.prototype.writeInt16BE=f.prototype.writeInt16BE,r.prototype.writeInt32LE=f.prototype.writeInt32LE,r.prototype.writeInt32BE=f.prototype.writeInt32BE,r.prototype.writeFloatLE=f.prototype.writeFloatLE,r.prototype.writeFloatBE=f.prototype.writeFloatBE,r.prototype.writeDoubleLE=f.prototype.writeDoubleLE,r.prototype.writeDoubleBE=f.prototype.writeDoubleBE},{assert:1,"./buffer_ieee754":5,"base64-js":7}],7:[function(t,e){!function(){"use strict";function t(t){var e,n,i,o,a,s;if(t.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(a=t.indexOf("="),a=a>0?t.length-a:0,s=[],i=a>0?t.length-4:t.length,e=0,n=0;i>e;e+=4,n+=3)o=r.indexOf(t[e])<<18|r.indexOf(t[e+1])<<12|r.indexOf(t[e+2])<<6|r.indexOf(t[e+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=r.indexOf(t[e])<<2|r.indexOf(t[e+1])>>4,s.push(255&o)):1===a&&(o=r.indexOf(t[e])<<10|r.indexOf(t[e+1])<<4|r.indexOf(t[e+2])>>2,s.push(255&o>>8),s.push(255&o)),s}function n(t){function e(t){return r[63&t>>18]+r[63&t>>12]+r[63&t>>6]+r[63&t]}var n,i,o,a=t.length%3,s="";for(n=0,o=t.length-a;o>n;n+=3)i=(t[n]<<16)+(t[n+1]<<8)+t[n+2],s+=e(i);switch(a){case 1:i=t[t.length-1],s+=r[i>>2],s+=r[63&i<<4],s+="==";break;case 2:i=(t[t.length-2]<<8)+t[t.length-1],s+=r[i>>10],s+=r[63&i>>4],s+=r[63&i<<2],s+="="}return s}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";e.exports.toByteArray=t,e.exports.fromByteArray=n}()},{}],8:[function(t,e,n){n.readIEEE754=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?0:i-1,p=n?1:-1,h=t[e+f];for(f+=p,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return a?0/0:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},n.writeIEEE754=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?o-1:0,d=r?-1:1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+f>=1?p/u:p*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=d,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+h]=255&a,h+=d,a/=256,c-=8);t[n+h-d]|=128*g}},{}],3:[function(t,e,n){function r(t){this.length=t}function i(t){return 16>t?"0"+t.toString(16):t.toString(16)}function o(t){for(var e=[],n=0;n<t.length;n++)if(t.charCodeAt(n)<=127)e.push(t.charCodeAt(n));else for(var r=encodeURIComponent(t.charAt(n)).substr(1).split("%"),i=0;i<r.length;i++)e.push(parseInt(r[i],16));return e}function a(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e}function s(e){return t("base64-js").toByteArray(e)}function u(t,e,n,r){for(var i=0;r>i&&!(i+n>=e.length||i>=t.length);)e[i+n]=t[i],i++;return i}function c(t){try{return decodeURIComponent(t)}catch(e){return String.fromCharCode(65533)}}function l(t){return t=~~Math.ceil(+t),0>t?0:t}function f(t,e,n){if(!(this instanceof f))return new f(t,e,n);var i;if("number"==typeof n)this.length=l(e),this.parent=t,this.offset=n;else{switch(i=typeof t){case"number":this.length=l(t);break;case"string":this.length=f.byteLength(t,e);break;case"object":this.length=l(t.length);break;default:throw new Error("First argument needs to be a number, array or string.")}if(this.length>f.poolSize?(this.parent=new r(this.length),this.offset=0):((!T||T.length-T.used<this.length)&&h(),this.parent=T,this.offset=T.used,T.used+=this.length),p(t))for(var o=0;o<this.length;o++)this.parent[o+this.offset]=t[o];else"string"==i&&(this.length=this.write(t,0,e))}}function p(t){return Array.isArray(t)||f.isBuffer(t)||t&&"object"==typeof t&&"number"==typeof t.length}function h(){T=new r(f.poolSize),T.used=0}function d(t,e,n,r){var i=0;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+1<t.length,"Trying to read beyond buffer length")),n?(i=t.parent[t.offset+e]<<8,i|=t.parent[t.offset+e+1]):(i=t.parent[t.offset+e],i|=t.parent[t.offset+e+1]<<8),i}function g(t,e,n,r){var i=0;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+3<t.length,"Trying to read beyond buffer length")),n?(i=t.parent[t.offset+e+1]<<16,i|=t.parent[t.offset+e+2]<<8,i|=t.parent[t.offset+e+3],i+=t.parent[t.offset+e]<<24>>>0):(i=t.parent[t.offset+e+2]<<16,i|=t.parent[t.offset+e+1]<<8,i|=t.parent[t.offset+e],i+=t.parent[t.offset+e+3]<<24>>>0),i}function v(t,e,n,r){var i,o;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+1<t.length,"Trying to read beyond buffer length")),o=d(t,e,n,r),i=32768&o,i?-1*(65535-o+1):o}function m(t,e,n,r){var i,o;return r||(O.ok("boolean"==typeof n,"missing or invalid endian"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e+3<t.length,"Trying to read beyond buffer length")),o=g(t,e,n,r),i=2147483648&o,i?-1*(4294967295-o+1):o}function y(e,n,r,i){return i||(O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(n+3<e.length,"Trying to read beyond buffer length")),t("./buffer_ieee754").readIEEE754(e,n,r,23,4)}function b(e,n,r,i){return i||(O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(n+7<e.length,"Trying to read beyond buffer length")),t("./buffer_ieee754").readIEEE754(e,n,r,52,8)}function w(t,e){O.ok("number"==typeof t,"cannot write a non-number as a number"),O.ok(t>=0,"specified a negative value for writing an unsigned value"),O.ok(e>=t,"value is larger than maximum value for type"),O.ok(Math.floor(t)===t,"value has a fractional component")}function _(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+1<t.length,"trying to write beyond buffer length"),w(e,65535)),r?(t.parent[t.offset+n]=(65280&e)>>>8,t.parent[t.offset+n+1]=255&e):(t.parent[t.offset+n+1]=(65280&e)>>>8,t.parent[t.offset+n]=255&e)
}function x(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+3<t.length,"trying to write beyond buffer length"),w(e,4294967295)),r?(t.parent[t.offset+n]=255&e>>>24,t.parent[t.offset+n+1]=255&e>>>16,t.parent[t.offset+n+2]=255&e>>>8,t.parent[t.offset+n+3]=255&e):(t.parent[t.offset+n+3]=255&e>>>24,t.parent[t.offset+n+2]=255&e>>>16,t.parent[t.offset+n+1]=255&e>>>8,t.parent[t.offset+n]=255&e)}function k(t,e,n){O.ok("number"==typeof t,"cannot write a non-number as a number"),O.ok(e>=t,"value larger than maximum allowed value"),O.ok(t>=n,"value smaller than minimum allowed value"),O.ok(Math.floor(t)===t,"value has a fractional component")}function j(t,e,n){O.ok("number"==typeof t,"cannot write a non-number as a number"),O.ok(e>=t,"value larger than maximum allowed value"),O.ok(t>=n,"value smaller than minimum allowed value")}function E(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+1<t.length,"Trying to write beyond buffer length"),k(e,32767,-32768)),e>=0?_(t,e,n,r,i):_(t,65535+e+1,n,r,i)}function A(t,e,n,r,i){i||(O.ok(void 0!==e&&null!==e,"missing value"),O.ok("boolean"==typeof r,"missing or invalid endian"),O.ok(void 0!==n&&null!==n,"missing offset"),O.ok(n+3<t.length,"Trying to write beyond buffer length"),k(e,2147483647,-2147483648)),e>=0?x(t,e,n,r,i):x(t,4294967295+e+1,n,r,i)}function S(e,n,r,i,o){o||(O.ok(void 0!==n&&null!==n,"missing value"),O.ok("boolean"==typeof i,"missing or invalid endian"),O.ok(void 0!==r&&null!==r,"missing offset"),O.ok(r+3<e.length,"Trying to write beyond buffer length"),j(n,3.4028234663852886e38,-3.4028234663852886e38)),t("./buffer_ieee754").writeIEEE754(e,n,r,i,23,4)}function I(e,n,r,i,o){o||(O.ok(void 0!==n&&null!==n,"missing value"),O.ok("boolean"==typeof i,"missing or invalid endian"),O.ok(void 0!==r&&null!==r,"missing offset"),O.ok(r+7<e.length,"Trying to write beyond buffer length"),j(n,1.7976931348623157e308,-1.7976931348623157e308)),t("./buffer_ieee754").writeIEEE754(e,n,r,i,52,8)}var O=t("assert");n.INSPECT_MAX_BYTES=50,r.byteLength=function(t,e){switch(e||"utf8"){case"hex":return t.length/2;case"utf8":case"utf-8":return o(t).length;case"ascii":return t.length;case"base64":return s(t).length;default:throw new Error("Unknown encoding")}},r.prototype.utf8Write=function(t,e,n){return r._charsWritten=u(o(t),this,e,n)},r.prototype.asciiWrite=function(t,e,n){return r._charsWritten=u(a(t),this,e,n)},r.prototype.base64Write=function(t,e,n){return r._charsWritten=u(s(t),this,e,n)},r.prototype.base64Slice=function(){var e=Array.prototype.slice.apply(this,arguments);return t("base64-js").fromByteArray(e)},r.prototype.utf8Slice=function(){for(var t=Array.prototype.slice.apply(this,arguments),e="",n="",r=0;r<t.length;)t[r]<=127?(e+=c(n)+String.fromCharCode(t[r]),n=""):n+="%"+t[r].toString(16),r++;return e+c(n)},r.prototype.asciiSlice=function(){for(var t=Array.prototype.slice.apply(this,arguments),e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},r.prototype.inspect=function(){for(var t=[],e=this.length,r=0;e>r;r++)if(t[r]=i(this[r]),r==n.INSPECT_MAX_BYTES){t[r+1]="...";break}return"<SlowBuffer "+t.join(" ")+">"},r.prototype.hexSlice=function(t,e){var n=this.length;(!t||0>t)&&(t=0),(!e||0>e||e>n)&&(e=n);for(var r="",o=t;e>o;o++)r+=i(this[o]);return r},r.prototype.toString=function(t,e,n){if(t=String(t||"utf8").toLowerCase(),e=+e||0,"undefined"==typeof n&&(n=this.length),+n==e)return"";switch(t){case"hex":return this.hexSlice(e,n);case"utf8":case"utf-8":return this.utf8Slice(e,n);case"ascii":return this.asciiSlice(e,n);case"binary":return this.binarySlice(e,n);case"base64":return this.base64Slice(e,n);case"ucs2":case"ucs-2":return this.ucs2Slice(e,n);default:throw new Error("Unknown encoding")}},r.prototype.hexWrite=function(t,e,n){e=+e||0;var i=this.length-e;n?(n=+n,n>i&&(n=i)):n=i;var o=t.length;if(o%2)throw new Error("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;n>a;a++){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))throw new Error("Invalid hex string");this[e+a]=s}return r._charsWritten=2*a,a},r.prototype.write=function(t,e,n,r){if(isFinite(e))isFinite(n)||(r=n,n=void 0);else{var i=r;r=e,e=n,n=i}e=+e||0;var o=this.length-e;switch(n?(n=+n,n>o&&(n=o)):n=o,r=String(r||"utf8").toLowerCase()){case"hex":return this.hexWrite(t,e,n);case"utf8":case"utf-8":return this.utf8Write(t,e,n);case"ascii":return this.asciiWrite(t,e,n);case"binary":return this.binaryWrite(t,e,n);case"base64":return this.base64Write(t,e,n);case"ucs2":case"ucs-2":return this.ucs2Write(t,e,n);default:throw new Error("Unknown encoding")}},r.prototype.slice=function(t,e){if(void 0===e&&(e=this.length),e>this.length)throw new Error("oob");if(t>e)throw new Error("oob");return new f(this,e-t,+t)},r.prototype.copy=function(t,e,n,r){for(var i=[],o=n;r>o;o++)O.ok("undefined"!=typeof this[o],"copying undefined buffer bytes!"),i.push(this[o]);for(var o=e;o<e+i.length;o++)t[o]=i[o-e]},n.SlowBuffer=r,n.Buffer=f,f.poolSize=8192;var T;f.isBuffer=function(t){return t instanceof f||t instanceof r},f.concat=function(t,e){if(!Array.isArray(t))throw new Error("Usage: Buffer.concat(list, [totalLength])\n list should be an Array.");if(0===t.length)return new f(0);if(1===t.length)return t[0];if("number"!=typeof e){e=0;for(var n=0;n<t.length;n++){var r=t[n];e+=r.length}}for(var i=new f(e),o=0,n=0;n<t.length;n++){var r=t[n];r.copy(i,o),o+=r.length}return i},f.prototype.inspect=function(){for(var t=[],e=this.length,r=0;e>r;r++)if(t[r]=i(this.parent[r+this.offset]),r==n.INSPECT_MAX_BYTES){t[r+1]="...";break}return"<Buffer "+t.join(" ")+">"},f.prototype.get=function(t){if(0>t||t>=this.length)throw new Error("oob");return this.parent[this.offset+t]},f.prototype.set=function(t,e){if(0>t||t>=this.length)throw new Error("oob");return this.parent[this.offset+t]=e},f.prototype.write=function(t,e,n,i){if(isFinite(e))isFinite(n)||(i=n,n=void 0);else{var o=i;i=e,e=n,n=o}e=+e||0;var a=this.length-e;n?(n=+n,n>a&&(n=a)):n=a,i=String(i||"utf8").toLowerCase();var s;switch(i){case"hex":s=this.parent.hexWrite(t,this.offset+e,n);break;case"utf8":case"utf-8":s=this.parent.utf8Write(t,this.offset+e,n);break;case"ascii":s=this.parent.asciiWrite(t,this.offset+e,n);break;case"binary":s=this.parent.binaryWrite(t,this.offset+e,n);break;case"base64":s=this.parent.base64Write(t,this.offset+e,n);break;case"ucs2":case"ucs-2":s=this.parent.ucs2Write(t,this.offset+e,n);break;default:throw new Error("Unknown encoding")}return f._charsWritten=r._charsWritten,s},f.prototype.toString=function(t,e,n){switch(t=String(t||"utf8").toLowerCase(),"undefined"==typeof e||0>e?e=0:e>this.length&&(e=this.length),"undefined"==typeof n||n>this.length?n=this.length:0>n&&(n=0),e+=this.offset,n+=this.offset,t){case"hex":return this.parent.hexSlice(e,n);case"utf8":case"utf-8":return this.parent.utf8Slice(e,n);case"ascii":return this.parent.asciiSlice(e,n);case"binary":return this.parent.binarySlice(e,n);case"base64":return this.parent.base64Slice(e,n);case"ucs2":case"ucs-2":return this.parent.ucs2Slice(e,n);default:throw new Error("Unknown encoding")}},f.byteLength=r.byteLength,f.prototype.fill=function(t,e,n){if(t||(t=0),e||(e=0),n||(n=this.length),"string"==typeof t&&(t=t.charCodeAt(0)),"number"!=typeof t||isNaN(t))throw new Error("value is not a number");if(e>n)throw new Error("end < start");if(n===e)return 0;if(0==this.length)return 0;if(0>e||e>=this.length)throw new Error("start out of bounds");if(0>n||n>this.length)throw new Error("end out of bounds");return this.parent.fill(t,e+this.offset,n+this.offset)},f.prototype.copy=function(t,e,n,r){var i=this;if(n||(n=0),r||(r=this.length),e||(e=0),n>r)throw new Error("sourceEnd < sourceStart");if(r===n)return 0;if(0==t.length||0==i.length)return 0;if(0>e||e>=t.length)throw new Error("targetStart out of bounds");if(0>n||n>=i.length)throw new Error("sourceStart out of bounds");if(0>r||r>i.length)throw new Error("sourceEnd out of bounds");return r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n),this.parent.copy(t.parent,e+t.offset,n+this.offset,r+this.offset)},f.prototype.slice=function(t,e){if(void 0===e&&(e=this.length),e>this.length)throw new Error("oob");if(t>e)throw new Error("oob");return new f(this.parent,e-t,+t+this.offset)},f.prototype.utf8Slice=function(t,e){return this.toString("utf8",t,e)},f.prototype.binarySlice=function(t,e){return this.toString("binary",t,e)},f.prototype.asciiSlice=function(t,e){return this.toString("ascii",t,e)},f.prototype.utf8Write=function(t,e){return this.write(t,e,"utf8")},f.prototype.binaryWrite=function(t,e){return this.write(t,e,"binary")},f.prototype.asciiWrite=function(t,e){return this.write(t,e,"ascii")},f.prototype.readUInt8=function(t,e){var n=this;return e||(O.ok(void 0!==t&&null!==t,"missing offset"),O.ok(t<n.length,"Trying to read beyond buffer length")),n.parent[n.offset+t]},f.prototype.readUInt16LE=function(t,e){return d(this,t,!1,e)},f.prototype.readUInt16BE=function(t,e){return d(this,t,!0,e)},f.prototype.readUInt32LE=function(t,e){return g(this,t,!1,e)},f.prototype.readUInt32BE=function(t,e){return g(this,t,!0,e)},f.prototype.readInt8=function(t,e){var n,r=this;return e||(O.ok(void 0!==t&&null!==t,"missing offset"),O.ok(t<r.length,"Trying to read beyond buffer length")),n=128&r.parent[r.offset+t],n?-1*(255-r.parent[r.offset+t]+1):r.parent[r.offset+t]},f.prototype.readInt16LE=function(t,e){return v(this,t,!1,e)},f.prototype.readInt16BE=function(t,e){return v(this,t,!0,e)},f.prototype.readInt32LE=function(t,e){return m(this,t,!1,e)},f.prototype.readInt32BE=function(t,e){return m(this,t,!0,e)},f.prototype.readFloatLE=function(t,e){return y(this,t,!1,e)},f.prototype.readFloatBE=function(t,e){return y(this,t,!0,e)},f.prototype.readDoubleLE=function(t,e){return b(this,t,!1,e)},f.prototype.readDoubleBE=function(t,e){return b(this,t,!0,e)},f.prototype.writeUInt8=function(t,e,n){var r=this;n||(O.ok(void 0!==t&&null!==t,"missing value"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e<r.length,"trying to write beyond buffer length"),w(t,255)),r.parent[r.offset+e]=t},f.prototype.writeUInt16LE=function(t,e,n){_(this,t,e,!1,n)},f.prototype.writeUInt16BE=function(t,e,n){_(this,t,e,!0,n)},f.prototype.writeUInt32LE=function(t,e,n){x(this,t,e,!1,n)},f.prototype.writeUInt32BE=function(t,e,n){x(this,t,e,!0,n)},f.prototype.writeInt8=function(t,e,n){var r=this;n||(O.ok(void 0!==t&&null!==t,"missing value"),O.ok(void 0!==e&&null!==e,"missing offset"),O.ok(e<r.length,"Trying to write beyond buffer length"),k(t,127,-128)),t>=0?r.writeUInt8(t,e,n):r.writeUInt8(255+t+1,e,n)},f.prototype.writeInt16LE=function(t,e,n){E(this,t,e,!1,n)},f.prototype.writeInt16BE=function(t,e,n){E(this,t,e,!0,n)},f.prototype.writeInt32LE=function(t,e,n){A(this,t,e,!1,n)},f.prototype.writeInt32BE=function(t,e,n){A(this,t,e,!0,n)},f.prototype.writeFloatLE=function(t,e,n){S(this,t,e,!1,n)},f.prototype.writeFloatBE=function(t,e,n){S(this,t,e,!0,n)},f.prototype.writeDoubleLE=function(t,e,n){I(this,t,e,!1,n)},f.prototype.writeDoubleBE=function(t,e,n){I(this,t,e,!0,n)},r.prototype.readUInt8=f.prototype.readUInt8,r.prototype.readUInt16LE=f.prototype.readUInt16LE,r.prototype.readUInt16BE=f.prototype.readUInt16BE,r.prototype.readUInt32LE=f.prototype.readUInt32LE,r.prototype.readUInt32BE=f.prototype.readUInt32BE,r.prototype.readInt8=f.prototype.readInt8,r.prototype.readInt16LE=f.prototype.readInt16LE,r.prototype.readInt16BE=f.prototype.readInt16BE,r.prototype.readInt32LE=f.prototype.readInt32LE,r.prototype.readInt32BE=f.prototype.readInt32BE,r.prototype.readFloatLE=f.prototype.readFloatLE,r.prototype.readFloatBE=f.prototype.readFloatBE,r.prototype.readDoubleLE=f.prototype.readDoubleLE,r.prototype.readDoubleBE=f.prototype.readDoubleBE,r.prototype.writeUInt8=f.prototype.writeUInt8,r.prototype.writeUInt16LE=f.prototype.writeUInt16LE,r.prototype.writeUInt16BE=f.prototype.writeUInt16BE,r.prototype.writeUInt32LE=f.prototype.writeUInt32LE,r.prototype.writeUInt32BE=f.prototype.writeUInt32BE,r.prototype.writeInt8=f.prototype.writeInt8,r.prototype.writeInt16LE=f.prototype.writeInt16LE,r.prototype.writeInt16BE=f.prototype.writeInt16BE,r.prototype.writeInt32LE=f.prototype.writeInt32LE,r.prototype.writeInt32BE=f.prototype.writeInt32BE,r.prototype.writeFloatLE=f.prototype.writeFloatLE,r.prototype.writeFloatBE=f.prototype.writeFloatBE,r.prototype.writeDoubleLE=f.prototype.writeDoubleLE,r.prototype.writeDoubleBE=f.prototype.writeDoubleBE},{assert:1,"./buffer_ieee754":8,"base64-js":9}],9:[function(t,e){!function(){"use strict";function t(t){var e,n,i,o,a,s;if(t.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(a=t.indexOf("="),a=a>0?t.length-a:0,s=[],i=a>0?t.length-4:t.length,e=0,n=0;i>e;e+=4,n+=3)o=r.indexOf(t[e])<<18|r.indexOf(t[e+1])<<12|r.indexOf(t[e+2])<<6|r.indexOf(t[e+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=r.indexOf(t[e])<<2|r.indexOf(t[e+1])>>4,s.push(255&o)):1===a&&(o=r.indexOf(t[e])<<10|r.indexOf(t[e+1])<<4|r.indexOf(t[e+2])>>2,s.push(255&o>>8),s.push(255&o)),s}function n(t){function e(t){return r[63&t>>18]+r[63&t>>12]+r[63&t>>6]+r[63&t]}var n,i,o,a=t.length%3,s="";for(n=0,o=t.length-a;o>n;n+=3)i=(t[n]<<16)+(t[n+1]<<8)+t[n+2],s+=e(i);switch(a){case 1:i=t[t.length-1],s+=r[i>>2],s+=r[63&i<<4],s+="==";break;case 2:i=(t[t.length-2]<<8)+t[t.length-1],s+=r[i>>10],s+=r[63&i>>4],s+=r[63&i<<2],s+="="}return s}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";e.exports.toByteArray=t,e.exports.fromByteArray=n}()},{}]},{},[]),e.exports=t("buffer-browserify")},{}],113:[function(t,e){!function(t){var n={delimiter:"&"};n.stringify=function(e,r){if(t.isBuffer(e)?e=e.toString():e instanceof Date?e=e.toISOString():null===e&&(e=""),"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return[encodeURIComponent(r)+"="+encodeURIComponent(e)];var i=[];for(var o in e)e.hasOwnProperty(o)&&(i=i.concat(n.stringify(e[o],r+"["+o+"]")));return i},e.exports=function(t,e){e="undefined"==typeof e?n.delimiter:e;var r=[];for(var i in t)t.hasOwnProperty(i)&&(r=r.concat(n.stringify(t[i],i)));return r.join(e)}}(t("__browserify_Buffer").Buffer)},{__browserify_Buffer:129}],98:[function(t,e){function n(t){return t||0===t?t:""}function r(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function i(t,e){var n=t[e];return e in t&&(n===!0||n===!1)}function o(t){return"true"===c.getAttribute(t,"data-anddom-hidden")}function a(t,e){c.setAttribute(t,"data-anddom-"+e,t.style[e])}function s(t,e){t.style[e]=c.getAttribute(t,"data-anddom-"+e)||"",c.removeAttribute(t,"data-anddom-hidden")}function u(t,e){c.setAttribute(t,"data-anddom-hidden","true"),t.style[e]="visibility"===e?"hidden":"none"}"undefined"!=typeof window&&(window.ampersand=window.ampersand||{},window.ampersand["ampersand-dom"]=window.ampersand["ampersand-dom"]||[],window.ampersand["ampersand-dom"].push("1.5.0"));var c=e.exports={text:function(t,e){t.textContent=n(e)},addClass:function(t,e){e=n(e),e&&(Array.isArray(e)?e.forEach(function(e){c.addClass(t,e)}):t.classList?t.classList.add(e):r(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e))},removeClass:function(t,e){Array.isArray(e)?e.forEach(function(e){c.removeClass(t,e)}):t.classList?(e=n(e),e&&t.classList.remove(e)):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},hasClass:r,switchClass:function(t,e,n){e&&this.removeClass(t,e),this.addClass(t,n)},addAttribute:function(t,e){t.setAttribute(e,""),i(t,e)&&(t[e]=!0)},removeAttribute:function(t,e){t.removeAttribute(e),i(t,e)&&(t[e]=!1)},setAttribute:function(t,e,r){t.setAttribute(e,n(r))},getAttribute:function(t,e){return t.getAttribute(e)},hasAttribute:function(t,e){return t.hasAttribute(e)},hide:function(t,e){e||(e="display"),o(t)||(a(t,e),u(t,e))},show:function(t,e){e||(e="display"),s(t,e)},toggle:function(t,e){o(t)?c.show(t,e):c.hide(t,e)},html:function(t,e){t.innerHTML=e}}},{}],116:[function(t,e){function n(t){return t}e.exports=n},{}],112:[function(t,e){var n=t("./utils"),r={delimiter:"&",depth:5,arrayLimit:20,parametersLimit:1e3};r.parseValues=function(t,e){e="string"==typeof e?e:r.delimiter;for(var i={},o=t.split(e,r.parametersLimit),a=0,s=o.length;s>a;++a){var u=o[a],c=-1===u.indexOf("]=")?u.indexOf("="):u.indexOf("]=")+1;if(-1===c)i[n.decode(u)]="";else{var l=n.decode(u.slice(0,c)),f=n.decode(u.slice(c+1));i[l]=i[l]?[].concat(i[l]).concat(f):f}}return i},r.parseObject=function(t,e){if(!t.length)return e;var n=t.shift(),i={};if("[]"===n)i=[],i=i.concat(r.parseObject(t,e));else{var o="["===n[0]&&"]"===n[n.length-1]?n.slice(1,n.length-1):n,a=parseInt(o,10);!isNaN(a)&&n!==o&&a<=r.arrayLimit?(i=[],i[a]=r.parseObject(t,e)):i[o]=r.parseObject(t,e)}return i},r.parseKeys=function(t,e,n){if(t){var i=/^([^\[\]]*)/,o=/(\[[^\[\]]*\])/g,a=i.exec(t);if(!Object.prototype.hasOwnProperty(a[1])){var s=[];a[1]&&s.push(a[1]);for(var u=0;null!==(a=o.exec(t))&&n>u;)++u,Object.prototype.hasOwnProperty(a[1].replace(/\[|\]/g,""))||s.push(a[1]);return a&&s.push("["+t.slice(a.index)+"]"),r.parseObject(s,e)}}},e.exports=function(t,e,i){if(""===t||null===t||"undefined"==typeof t)return{};"number"!=typeof e&&(i=e,e=r.depth);var o="string"==typeof t?r.parseValues(t,i):n.clone(t),a={};for(var s in o)if(o.hasOwnProperty(s)){var u=r.parseKeys(s,o[s],e);a=n.merge(a,u)}return n.compact(a)}},{"./utils":130}],85:[function(t,e){var n=t("lodash._arraymap"),r=t("lodash._basedifference"),i=t("lodash._baseflatten"),o=t("lodash._bindcallback"),a=t("lodash._pickbyarray"),s=t("lodash._pickbycallback"),u=t("lodash.keysin"),c=t("lodash.restparam"),l=c(function(t,e){if(null==t)return{};if("function"!=typeof e[0]){var e=n(i(e),String);return a(t,r(u(t),e))}var c=o(e[0],e[1],3);return s(t,function(t,e,n){return!c(t,e,n)})});e.exports=l},{"lodash._arraymap":132,"lodash._basedifference":131,"lodash._baseflatten":66,"lodash._bindcallback":67,"lodash._pickbyarray":68,"lodash._pickbycallback":69,"lodash.keysin":110,"lodash.restparam":70}],86:[function(t,e){!function(){function n(t){return p[t]}function r(t){return!!t&&"object"==typeof t}function i(t){return"symbol"==typeof t||r(t)&&d.call(t)==c}function o(t){if("string"==typeof t)return t;if(null==t)return"";if(i(t))return g?m.call(t):"";var e=t+"";return"0"==e&&1/t==-u?"-0":e}function a(t){return t=o(t),t&&f.test(t)?t.replace(l,n):t}var s=t("lodash._root"),u=1/0,c="[object Symbol]",l=/[&<>"'`]/g,f=RegExp(l.source),p={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},h=Object.prototype,d=h.toString,g=s.Symbol,v=g?g.prototype:void 0,m=g?v.toString:void 0;e.exports=a}()},{"lodash._root":62}],87:[function(t,e){function n(t,e){return i(t,e,a)}function r(t){return function(e,n,r){return("function"!=typeof n||void 0!==r)&&(n=o(n,r,3)),t(e,n)}}var i=t("lodash._basefor"),o=t("lodash._bindcallback"),a=t("lodash.keys"),s=r(n);e.exports=s},{"lodash._basefor":109,"lodash._bindcallback":67,"lodash.keys":64}],88:[function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}function r(t){return"number"==typeof t&&t>-1&&0==t%1&&h>=t}function i(t,e,n,i){var s=t?d(t):0;return r(s)||(t=o(t),s=t.length),n="number"!=typeof n||i&&u(e,n,i)?0:0>n?p(s+n,0):n||0,"string"==typeof t||!c(t)&&l(t)?s>=n&&t.indexOf(e,n)>-1:!!s&&a(t,e,n)>-1}function o(t){return s(t,f(t))}var a=t("lodash._baseindexof"),s=t("lodash._basevalues"),u=t("lodash._isiterateecall"),c=t("lodash.isarray"),l=t("lodash.isstring"),f=t("lodash.keys"),p=Math.max,h=9007199254740991,d=n("length");e.exports=i},{"lodash._baseindexof":134,"lodash._basevalues":133,"lodash._isiterateecall":77,"lodash.isarray":56,"lodash.isstring":47,"lodash.keys":64}],91:[function(t,e){function n(t,e,n,o){n="function"==typeof n?i(n,o,3):void 0;var a=n?n(t,e):void 0;return void 0===a?r(t,e,n):!!a}var r=t("lodash._baseisequal"),i=t("lodash._bindcallback");e.exports=n},{"lodash._baseisequal":135,"lodash._bindcallback":67}],92:[function(t,e){var n=t("lodash._baseflatten"),r=t("lodash._baseuniq"),i=t("lodash.restparam"),o=i(function(t){return r(n(t,!1,!0))});e.exports=o},{"lodash._baseflatten":66,"lodash._baseuniq":136,"lodash.restparam":70}],93:[function(t,e){!function(){function n(t,e){return t="number"==typeof t||v.test(t)?+t:-1,e=null==e?b:e,t>-1&&0==t%1&&e>t}function r(t,e){var n=typeof t;if("string"==n&&g.test(t)||"number"==n)return!0;if(h(t))return!1;var r=!d.test(t);return r||null!=e&&t in o(e)}function i(t){return"number"==typeof t&&t>-1&&0==t%1&&b>=t}function o(t){return s(t)?t:Object(t)}function a(t){var e=t?t.length:0;return e?t[e-1]:void 0}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function u(t,e){if(null==t)return!1;var o=y.call(t,e);if(!o&&!r(e)){if(e=f(e),t=1==e.length?t:c(t,l(e,0,-1)),null==t)return!1;e=a(e),o=y.call(t,e)}return o||i(t.length)&&n(e,t.length)&&(h(t)||p(t))}var c=t("lodash._baseget"),l=t("lodash._baseslice"),f=t("lodash._topath"),p=t("lodash.isarguments"),h=t("lodash.isarray"),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,g=/^\w*$/,v=/^\d+$/,m=Object.prototype,y=m.hasOwnProperty,b=9007199254740991;e.exports=u}()},{"lodash._baseget":71,"lodash._baseslice":72,"lodash._topath":73,"lodash.isarguments":108,"lodash.isarray":56}],95:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t){return function(e){return null==e?void 0:e[t]}}function i(t){return null!=t&&o(l(t))}function o(t){return"number"==typeof t&&t>-1&&0==t%1&&c>=t}var a=t("lodash._basedifference"),s=t("lodash._baseflatten"),u=t("lodash.restparam"),c=9007199254740991,l=r("length"),f=u(function(t,e){return n(t)&&i(t)?a(t,s(e,!1,!0)):[]});e.exports=f},{"lodash._basedifference":131,"lodash._baseflatten":66,"lodash.restparam":70}],96:[function(t,e){function n(t,e){return function(n,i,u){if(i=r(i,u,3),s(n)){var c=a(n,i,e);return c>-1?n[c]:void 0}return o(n,i,t)}}var r=t("lodash._basecallback"),i=t("lodash._baseeach"),o=t("lodash._basefind"),a=t("lodash._basefindindex"),s=t("lodash.isarray"),u=n(i);e.exports=u},{"lodash._basecallback":137,"lodash._baseeach":76,"lodash._basefind":138,"lodash._basefindindex":139,"lodash.isarray":56}],117:[function(t,e){function n(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a<s;)u[a]=o[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=o[a];return c[e]=n(u),r(t,this,c)}}var r=t("./_apply"),i=Math.max;e.exports=n},{"./_apply":140}],118:[function(t,e){var n=t("./_baseSetToString"),r=t("./_shortOut"),i=r(n);e.exports=i},{"./_baseSetToString":141,"./_shortOut":142}],119:[function(t,e){var n=t("./identity"),r=t("./_metaMap"),i=r?function(t,e){return r.set(t,e),t}:n;e.exports=i},{"./_metaMap":143,"./identity":116}],120:[function(t,e){function n(t,e,n){function a(){var e=this&&this!==i&&this instanceof a?u:t;return e.apply(s?n:this,arguments)}var s=e&o,u=r(t);return a}var r=t("./_createCtor"),i=t("./_root"),o=1;e.exports=n},{"./_createCtor":144,"./_root":145}],121:[function(t,e){function n(t,e,n){function l(){for(var i=arguments.length,p=Array(i),h=i,d=s(l);h--;)p[h]=arguments[h];var g=3>i&&p[0]!==d&&p[i-1]!==d?[]:u(p,d);if(i-=g.length,n>i)return a(t,e,o,l.placeholder,void 0,p,g,void 0,void 0,n-i);var v=this&&this!==c&&this instanceof l?f:t;return r(v,this,p)}var f=i(t);return l}var r=t("./_apply"),i=t("./_createCtor"),o=t("./_createHybrid"),a=t("./_createRecurry"),s=t("./_getHolder"),u=t("./_replaceHolders"),c=t("./_root");e.exports=n},{"./_apply":140,"./_createCtor":144,"./_createHybrid":122,"./_createRecurry":146,"./_getHolder":101,"./_replaceHolders":102,"./_root":145}],122:[function(t,e){function n(t,e,y,b,w,_,x,k,j,E){function A(){for(var p=arguments.length,h=Array(p),d=p;d--;)h[d]=arguments[d];if(T)var g=u(A),v=o(h,g);if(b&&(h=r(h,b,w,T)),_&&(h=i(h,_,x,T)),p-=v,T&&E>p){var m=l(h,g);return s(t,e,n,A.placeholder,y,h,m,k,j,E-p)}var L=I?y:this,B=O?L[t]:t;return p=h.length,k?h=c(h,k):M&&p>1&&h.reverse(),S&&p>j&&(h.length=j),this&&this!==f&&this instanceof A&&(B=C||a(B)),B.apply(L,h)}var S=e&v,I=e&p,O=e&h,T=e&(d|g),M=e&m,C=O?void 0:a(t);return A}var r=t("./_composeArgs"),i=t("./_composeArgsRight"),o=t("./_countHolders"),a=t("./_createCtor"),s=t("./_createRecurry"),u=t("./_getHolder"),c=t("./_reorder"),l=t("./_replaceHolders"),f=t("./_root"),p=1,h=2,d=8,g=16,v=128,m=512;e.exports=n},{"./_composeArgs":147,"./_composeArgsRight":148,"./_countHolders":149,"./_createCtor":144,"./_createRecurry":146,"./_getHolder":101,"./_reorder":150,"./_replaceHolders":102,"./_root":145}],123:[function(t,e){function n(t,e,n,s){function u(){for(var e=-1,i=arguments.length,a=-1,f=s.length,p=Array(f+i),h=this&&this!==o&&this instanceof u?l:t;++a<f;)p[a]=s[a];for(;i--;)p[a++]=arguments[++e];return r(h,c?n:this,p)}var c=e&a,l=i(t);return u}var r=t("./_apply"),i=t("./_createCtor"),o=t("./_root"),a=1;e.exports=n},{"./_apply":140,"./_createCtor":144,"./_root":145}],124:[function(t,e){var n=t("./_metaMap"),r=t("./noop"),i=n?function(t){return n.get(t)}:r;e.exports=i},{"./_metaMap":143,"./noop":151}],125:[function(t,e){function n(t,e){var n=t[1],d=e[1],g=n|d,v=(s|u|f)>g,m=d==f&&n==l||d==f&&n==p&&t[7].length<=e[8]||d==(f|p)&&e[7].length<=e[8]&&n==l;if(!v&&!m)return t;d&s&&(t[2]=e[2],g|=n&s?0:c);var y=e[3];if(y){var b=t[3];t[3]=b?r(b,y,e[4]):y,t[4]=b?o(t[3],a):e[4]}return y=e[5],y&&(b=t[5],t[5]=b?i(b,y,e[6]):y,t[6]=b?o(t[5],a):e[6]),y=e[7],y&&(t[7]=y),d&f&&(t[8]=null==t[8]?e[8]:h(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=g,t}var r=t("./_composeArgs"),i=t("./_composeArgsRight"),o=t("./_replaceHolders"),a="__lodash_placeholder__",s=1,u=2,c=4,l=8,f=128,p=256,h=Math.min;e.exports=n},{"./_composeArgs":147,"./_composeArgsRight":148,"./_replaceHolders":102}],126:[function(t,e){var n=t("./_baseSetData"),r=t("./_shortOut"),i=r(n);e.exports=i},{"./_baseSetData":119,"./_shortOut":142}],127:[function(t,e){function n(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}var r=t("./toFinite");e.exports=n},{"./toFinite":152}],128:[function(t,e){function n(t,e,n){var s=e+"";return o(t,i(s,a(r(s),n)))}var r=t("./_getWrapDetails"),i=t("./_insertWrapDetails"),o=t("./_setToString"),a=t("./_updateWrapDetails");e.exports=n},{"./_getWrapDetails":153,"./_insertWrapDetails":154,"./_setToString":118,"./_updateWrapDetails":155}],130:[function(t,e,n){!function(t){n.arrayToObject=function(t){for(var e={},n=0,r=t.length;r>n;++n)"undefined"!=typeof t[n]&&(e[n]=t[n]);return e},n.clone=function(e){if("object"!=typeof e||null===e)return e;if(t.isBuffer(e))return e.toString();var r=Array.isArray(e)?[]:{};for(var i in e)e.hasOwnProperty(i)&&(r[i]=n.clone(e[i]));return r},n.merge=function(t,e){if(!e)return t;var r=n.clone(t);if(Array.isArray(e)){for(var i=0,o=e.length;o>i;++i)"undefined"!=typeof e[i]&&(r[i]="object"==typeof r[i]?n.merge(r[i],e[i]):e[i]);return r}Array.isArray(r)&&(r=n.arrayToObject(r));for(var a=Object.keys(e),s=0,u=a.length;u>s;++s){var c=a[s],l=e[c];r[c]=l&&"object"==typeof l?r[c]?n.merge(r[c],l):n.clone(l):l}return r},n.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},n.compact=function(t){if("object"!=typeof t||null===t)return t;var e={};for(var r in t)if(t.hasOwnProperty(r))if(Array.isArray(t[r])){e[r]=[];for(var i=0,o=t[r].length;o>i;i++)"undefined"!=typeof t[r][i]&&e[r].push(t[r][i])}else e[r]=n.compact(t[r]);return e}}(t("__browserify_Buffer").Buffer)},{__browserify_Buffer:129}],132:[function(t,e){function n(t,e){for(var n=-1,r=t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}e.exports=n},{}],134:[function(t,e){function n(t,e,n){if(e!==e)return r(t,n);for(var i=n-1,o=t.length;++i<o;)if(t[i]===e)return i;return-1}function r(t,e,n){for(var r=t.length,i=e+(n?0:-1);n?i--:++i<r;){var o=t[i];if(o!==o)return i}return-1}e.exports=n},{}],133:[function(t,e){function n(t,e){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t[e[n]];return i}e.exports=n},{}],138:[function(t,e){function n(t,e,n,r){var i;return n(t,function(t,n,o){return e(t,n,o)?(i=r?n:t,!1):void 0}),i}e.exports=n},{}],139:[function(t,e){function n(t,e,n){for(var r=t.length,i=n?r:-1;n?i--:++i<r;)if(e(t[i],i,t))return i;return-1}e.exports=n},{}],140:[function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}e.exports=n},{}],142:[function(t,e){function n(t){var e=0,n=0;return function(){var a=o(),s=i-(a-n);if(n=a,s>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;e.exports=n},{}],111:[function(t,e){var n=t("matches-selector");e.exports=function(t,e,r){for(var i=r?t:t.parentNode;i&&i!==document;){if(n(i,e))return i;i=i.parentNode}}},{"matches-selector":156}],148:[function(t,e){function n(t,e,n,i){for(var o=-1,a=t.length,s=-1,u=n.length,c=-1,l=e.length,f=r(a-u,0),p=Array(f+l),h=!i;++o<f;)p[o]=t[o];for(var d=o;++c<l;)p[d+c]=e[c];for(;++s<u;)(h||a>o)&&(p[d+n[s]]=t[o++]);return p}var r=Math.max;e.exports=n},{}],147:[function(t,e){function n(t,e,n,i){for(var o=-1,a=t.length,s=n.length,u=-1,c=e.length,l=r(a-s,0),f=Array(c+l),p=!i;++u<c;)f[u]=e[u];for(;++o<s;)(p||a>o)&&(f[n[o]]=t[o]);for(;l--;)f[u++]=t[o++];return f}var r=Math.max;e.exports=n},{}],149:[function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}e.exports=n},{}],151:[function(t,e){function n(){}e.exports=n},{}],153:[function(t,e){function n(t){var e=t.match(r);return e?e[1].split(i):[]}var r=/\{\n\/\* \[wrapped with (.+)\] \*/,i=/,? & /;e.exports=n},{}],154:[function(t,e){function n(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(r,"{\n/* [wrapped with "+e+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=n},{}],105:[function(t,e){var n=t("trim"),r=t("for-each"),i=function(t){return"[object Array]"===Object.prototype.toString.call(t)};e.exports=function(t){if(!t)return{};var e={};return r(n(t).split("\n"),function(t){var r=t.indexOf(":"),o=n(t.slice(0,r)).toLowerCase(),a=n(t.slice(r+1));"undefined"==typeof e[o]?e[o]=a:i(e[o])?e[o].push(a):e[o]=[e[o],a]}),e}},{"for-each":158,trim:157}],156:[function(t,e){function n(t,e){if(i)return i.call(t,e);for(var n=t.parentNode.querySelectorAll(e),r=0;r<n.length;++r)if(n[r]==t)return!0;return!1}var r=Element.prototype,i=r.matchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector;e.exports=n},{}],110:[function(t,e){function n(t,e){return t="number"==typeof t||u.test(t)?+t:-1,e=null==e?f:e,t>-1&&0==t%1&&e>t}function r(t){return"number"==typeof t&&t>-1&&0==t%1&&f>=t}function i(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function o(t){if(null==t)return[];i(t)||(t=Object(t));var e=t.length;e=e&&r(e)&&(s(t)||a(t))&&e||0;for(var o=t.constructor,u=-1,c="function"==typeof o&&o.prototype===t,f=Array(e),p=e>0;++u<e;)f[u]=u+"";for(var h in t)p&&n(h,e)||"constructor"==h&&(c||!l.call(t,h))||f.push(h);return f}var a=t("lodash.isarguments"),s=t("lodash.isarray"),u=/^\d+$/,c=Object.prototype,l=c.hasOwnProperty,f=9007199254740991;e.exports=o},{"lodash.isarguments":108,"lodash.isarray":56}],141:[function(t,e){var n=t("./constant"),r=t("./_defineProperty"),i=t("./identity"),o=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;e.exports=o},{"./_defineProperty":160,"./constant":159,"./identity":116}],143:[function(t,e){var n=t("./_WeakMap"),r=n&&new n;e.exports=r},{"./_WeakMap":161}],145:[function(t,e){!function(){var n=t("./_freeGlobal"),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i}()},{"./_freeGlobal":162}],144:[function(t,e){function n(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);
case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=r(t.prototype),o=t.apply(n,e);return i(o)?o:n}}var r=t("./_baseCreate"),i=t("./isObject");e.exports=n},{"./_baseCreate":163,"./isObject":164}],146:[function(t,e){function n(t,e,n,p,h,d,g,v,m,y){var b=e&c,w=b?g:void 0,_=b?void 0:g,x=b?d:void 0,k=b?void 0:d;e|=b?l:f,e&=~(b?f:l),e&u||(e&=~(a|s));var j=[t,e,h,x,w,k,_,v,m,y],E=n.apply(void 0,j);return r(t)&&i(E,j),E.placeholder=p,o(E,t,e)}var r=t("./_isLaziable"),i=t("./_setData"),o=t("./_setWrapToString"),a=1,s=2,u=4,c=8,l=32,f=64;e.exports=n},{"./_isLaziable":165,"./_setData":126,"./_setWrapToString":128}],150:[function(t,e){function n(t,e){for(var n=t.length,a=o(e.length,n),s=r(t);a--;){var u=e[a];t[a]=i(u,n)?s[u]:void 0}return t}var r=t("./_copyArray"),i=t("./_isIndex"),o=Math.min;e.exports=n},{"./_copyArray":166,"./_isIndex":167}],152:[function(t,e){function n(t){if(!t)return 0===t?t:0;if(t=r(t),t===i||t===-i){var e=0>t?-1:1;return e*o}return t===t?t:0}var r=t("./toNumber"),i=1/0,o=1.7976931348623157e308;e.exports=n},{"./toNumber":168}],155:[function(t,e){function n(t,e){return r(d,function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)}),t.sort()}var r=t("./_arrayEach"),i=t("./_arrayIncludes"),o=1,a=2,s=8,u=16,c=32,l=64,f=128,p=256,h=512,d=[["ary",f],["bind",o],["bindKey",a],["curry",s],["curryRight",u],["flip",h],["partial",c],["partialRight",l],["rearg",p]];e.exports=n},{"./_arrayEach":169,"./_arrayIncludes":170}],114:[function(t,e){function n(t){return r(2,t)}var r=t("lodash.before");e.exports=n},{"lodash.before":171}],157:[function(t,e,n){function r(t){return t.replace(/^\s*|\s*$/g,"")}n=e.exports=r,n.left=function(t){return t.replace(/^\s*/,"")},n.right=function(t){return t.replace(/\s*$/,"")}},{}],115:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t){return function(e){return null==e?void 0:e[t]}}function i(t){return null!=t&&o(h(t))}function o(t){return"number"==typeof t&&t>-1&&0==t%1&&p>=t}function a(t){return null==t?!0:i(t)&&(u(t)||l(t)||s(t)||n(t)&&c(t.splice))?!t.length:!f(t).length}var s=t("lodash.isarguments"),u=t("lodash.isarray"),c=t("lodash.isfunction"),l=t("lodash.isstring"),f=t("lodash.keys"),p=9007199254740991,h=r("length");e.exports=a},{"lodash.isarguments":108,"lodash.isarray":56,"lodash.isfunction":74,"lodash.isstring":47,"lodash.keys":64}],159:[function(t,e){function n(t){return function(){return t}}e.exports=n},{}],162:[function(t,e){!function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}(self)},{}],164:[function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}e.exports=n},{}],166:[function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}e.exports=n},{}],167:[function(t,e){function n(t,e){return e=null==e?r:e,!!e&&("number"==typeof t||i.test(t))&&t>-1&&0==t%1&&e>t}var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;e.exports=n},{}],169:[function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}e.exports=n},{}],171:[function(t,e){function n(t,e){var n;if("function"!=typeof e){if("function"!=typeof t)throw new TypeError(r);var i=t;t=e,e=i}return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=void 0),n}}var r="Expected a function";e.exports=n},{}],160:[function(t,e){var n=t("./_getNative"),r=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();e.exports=r},{"./_getNative":172}],161:[function(t,e){var n=t("./_getNative"),r=t("./_root"),i=n(r,"WeakMap");e.exports=i},{"./_getNative":172,"./_root":145}],163:[function(t,e){var n=t("./isObject"),r=Object.create,i=function(){function t(){}return function(e){if(!n(e))return{};if(r)return r(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();e.exports=i},{"./isObject":164}],168:[function(t,e){!function(){function n(t){if("number"==typeof t)return t;if(i(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):s.test(t)?o:+t}var r=t("./isObject"),i=t("./isSymbol"),o=0/0,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=n}()},{"./isObject":164,"./isSymbol":173}],165:[function(t,e){function n(t){var e=o(t),n=a[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var s=i(n);return!!s&&t===s[0]}var r=t("./_LazyWrapper"),i=t("./_getData"),o=t("./_getFuncName"),a=t("./wrapperLodash");e.exports=n},{"./_LazyWrapper":174,"./_getData":124,"./_getFuncName":176,"./wrapperLodash":175}],170:[function(t,e){function n(t,e){var n=null==t?0:t.length;return!!n&&r(t,e,0)>-1}var r=t("./_baseIndexOf");e.exports=n},{"./_baseIndexOf":177}],131:[function(t,e){function n(t,e){var n=t?t.length:0,s=[];if(!n)return s;var u=-1,c=r,l=!0,f=l&&e.length>=a?o(e):null,p=e.length;f&&(c=i,l=!1,e=f);t:for(;++u<n;){var h=t[u];if(l&&h===h){for(var d=p;d--;)if(e[d]===h)continue t;s.push(h)}else c(e,h,0)<0&&s.push(h)}return s}var r=t("lodash._baseindexof"),i=t("lodash._cacheindexof"),o=t("lodash._createcache"),a=200;e.exports=n},{"lodash._baseindexof":134,"lodash._cacheindexof":178,"lodash._createcache":179}],135:[function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t,e){for(var n=-1,r=t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function i(t,e,r,a,s,u){return t===e?!0:null==t||null==e||!c(t)&&!n(e)?t!==t&&e!==e:o(t,e,i,r,a,s,u)}function o(t,e,n,r,i,o,c){var p=l(t),g=l(e),v=d,m=d;p||(v=j.call(t),v==h?v=b:v!=b&&(p=f(t))),g||(m=j.call(e),m==h?m=b:m!=b&&(g=f(e)));var y=v==b,w=m==b,_=v==m;if(_&&!p&&!y)return s(t,e,v);if(!i){var x=y&&k.call(t,"__wrapped__"),E=w&&k.call(e,"__wrapped__");if(x||E)return n(x?t.value():t,E?e.value():e,r,i,o,c)}if(!_)return!1;o||(o=[]),c||(c=[]);for(var A=o.length;A--;)if(o[A]==t)return c[A]==e;o.push(t),c.push(e);var S=(p?a:u)(t,e,n,r,i,o,c);return o.pop(),c.pop(),S}function a(t,e,n,i,o,a,s){var u=-1,c=t.length,l=e.length;if(c!=l&&!(o&&l>c))return!1;for(;++u<c;){var f=t[u],p=e[u],h=i?i(o?p:f,o?f:p,u):void 0;if(void 0!==h){if(h)continue;return!1}if(o){if(!r(e,function(t){return f===t||n(f,t,i,o,a,s)}))return!1}else if(f!==p&&!n(f,p,i,o,a,s))return!1}return!0}function s(t,e,n){switch(n){case g:case v:return+t==+e;case m:return t.name==e.name&&t.message==e.message;case y:return t!=+t?e!=+e:t==+e;case w:case _:return t==e+""}return!1}function u(t,e,n,r,i,o,a){var s=p(t),u=s.length,c=p(e),l=c.length;if(u!=l&&!i)return!1;for(var f=u;f--;){var h=s[f];if(!(i?h in e:k.call(e,h)))return!1}for(var d=i;++f<u;){h=s[f];var g=t[h],v=e[h],m=r?r(i?v:g,i?g:v,h):void 0;if(!(void 0===m?n(g,v,r,i,o,a):m))return!1;d||(d="constructor"==h)}if(!d){var y=t.constructor,b=e.constructor;if(y!=b&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b))return!1}return!0}function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var l=t("lodash.isarray"),f=t("lodash.istypedarray"),p=t("lodash.keys"),h="[object Arguments]",d="[object Array]",g="[object Boolean]",v="[object Date]",m="[object Error]",y="[object Number]",b="[object Object]",w="[object RegExp]",_="[object String]",x=Object.prototype,k=x.hasOwnProperty,j=x.toString;e.exports=i},{"lodash.isarray":56,"lodash.istypedarray":180,"lodash.keys":64}],136:[function(t,e){function n(t,e){var n=-1,s=r,u=t.length,c=!0,l=c&&u>=a,f=l?o():null,p=[];f?(s=i,c=!1):(l=!1,f=e?[]:p);t:for(;++n<u;){var h=t[n],d=e?e(h,n,t):h;if(c&&h===h){for(var g=f.length;g--;)if(f[g]===d)continue t;e&&f.push(d),p.push(h)}else s(f,d,0)<0&&((e||l)&&f.push(d),p.push(h))}return p}var r=t("lodash._baseindexof"),i=t("lodash._cacheindexof"),o=t("lodash._createcache"),a=200;e.exports=n},{"lodash._baseindexof":134,"lodash._cacheindexof":178,"lodash._createcache":179}],137:[function(t,e){!function(){function n(t){return null==t?"":t+""}function r(t,e,n){var r=typeof t;return"function"==r?void 0===e?t:_(t,e,n):null==t?y:"object"==r?a(t):void 0===e?b(t):s(t,e)}function i(t,e,n){if(null!=t){void 0!==n&&n in d(t)&&(e=[n]);for(var r=0,i=e.length;null!=t&&i>r;)t=t[e[r++]];return r&&r==i?t:void 0}}function o(t,e,n){var r=e.length,i=r,o=!n;if(null==t)return!i;for(t=d(t);r--;){var a=e[r];if(o&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++r<i;){a=e[r];var s=a[0],u=t[s],c=a[1];if(o&&a[2]){if(void 0===u&&!(s in t))return!1}else{var l=n?n(u,c,s):void 0;if(!(void 0===l?w(c,u,n,!0):l))return!1}}return!0}function a(t){var e=f(t);if(1==e.length&&e[0][2]){var n=e[0][0],r=e[0][1];return function(t){return null==t?!1:t[n]===r&&(void 0!==r||n in d(t))}}return function(t){return o(t,e)}}function s(t,e){var n=x(t),r=p(t)&&h(e),o=t+"";return t=g(t),function(a){if(null==a)return!1;var s=o;if(a=d(a),!(!n&&r||s in a)){if(a=1==t.length?a:i(a,l(t,0,-1)),null==a)return!1;s=v(t),a=d(a)}return a[s]===e?void 0!==e||s in a:w(e,a[s],void 0,!0)}}function u(t){return function(e){return null==e?void 0:e[t]}}function c(t){var e=t+"";return t=g(t),function(n){return i(n,t,e)}}function l(t,e,n){var r=-1,i=t.length;e=null==e?0:+e||0,0>e&&(e=-e>i?0:i+e),n=void 0===n||n>i?i:+n||0,0>n&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function f(t){for(var e=k(t),n=e.length;n--;)e[n][2]=h(e[n][1]);return e}function p(t,e){var n=typeof t;if("string"==n&&E.test(t)||"number"==n)return!0;if(x(t))return!1;var r=!j.test(t);return r||null!=e&&t in d(e)}function h(t){return t===t&&!m(t)}function d(t){return m(t)?t:Object(t)}function g(t){if(x(t))return t;var e=[];return n(t).replace(A,function(t,n,r,i){e.push(r?i.replace(S,"$1"):n||t)}),e}function v(t){var e=t?t.length:0;return e?t[e-1]:void 0}function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){return t}function b(t){return p(t)?u(t):c(t)}var w=t("lodash._baseisequal"),_=t("lodash._bindcallback"),x=t("lodash.isarray"),k=t("lodash.pairs"),j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,E=/^\w*$/,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,S=/\\(\\)?/g;e.exports=r}()},{"lodash._baseisequal":135,"lodash._bindcallback":67,"lodash.isarray":56,"lodash.pairs":181}],178:[function(t,e){function n(t,e){var n=t.data,i="string"==typeof e||r(e)?n.set.has(e):n.hash[e];return i?0:-1}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}e.exports=n},{}],180:[function(t,e){function n(t){return"number"==typeof t&&t>-1&&0==t%1&&o>=t}function r(t){return!!t&&"object"==typeof t}function i(t){return r(t)&&n(t.length)&&!!T[C.call(t)]}var o=9007199254740991,a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Function]",p="[object Map]",h="[object Number]",d="[object Object]",g="[object RegExp]",v="[object Set]",m="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",_="[object Float32Array]",x="[object Float64Array]",k="[object Int8Array]",j="[object Int16Array]",E="[object Int32Array]",A="[object Uint8Array]",S="[object Uint8ClampedArray]",I="[object Uint16Array]",O="[object Uint32Array]",T={};T[_]=T[x]=T[k]=T[j]=T[E]=T[A]=T[S]=T[I]=T[O]=!0,T[a]=T[s]=T[b]=T[u]=T[w]=T[c]=T[l]=T[f]=T[p]=T[h]=T[d]=T[g]=T[v]=T[m]=T[y]=!1;var M=Object.prototype,C=M.toString;e.exports=i},{}],158:[function(t,e){function n(t,e,n){if(!a(e))throw new TypeError("iterator must be a function");arguments.length<3&&(n=this),"[object Array]"===s.call(t)?r(t,e,n):"string"==typeof t?i(t,e,n):o(t,e,n)}function r(t,e,n){for(var r=0,i=t.length;i>r;r++)u.call(t,r)&&e.call(n,t[r],r,t)}function i(t,e,n){for(var r=0,i=t.length;i>r;r++)e.call(n,t.charAt(r),r,t)}function o(t,e,n){for(var r in t)u.call(t,r)&&e.call(n,t[r],r,t)}var a=t("is-function");e.exports=n;var s=Object.prototype.toString,u=Object.prototype.hasOwnProperty},{"is-function":182}],172:[function(t,e){function n(t,e){var n=i(t,e);return r(n)?n:void 0}var r=t("./_baseIsNative"),i=t("./_getValue");e.exports=n},{"./_baseIsNative":183,"./_getValue":184}],174:[function(t,e){function n(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=o,this.__views__=[]}var r=t("./_baseCreate"),i=t("./_baseLodash"),o=4294967295;n.prototype=r(i.prototype),n.prototype.constructor=n,e.exports=n},{"./_baseCreate":163,"./_baseLodash":185}],175:[function(t,e){function n(t){if(s(t)&&!a(t)&&!(t instanceof r)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return u(t)}return new i(t)}var r=t("./_LazyWrapper"),i=t("./_LodashWrapper"),o=t("./_baseLodash"),a=t("./isArray"),s=t("./isObjectLike"),u=t("./_wrapperClone"),c=Object.prototype,l=c.hasOwnProperty;n.prototype=o.prototype,n.prototype.constructor=n,e.exports=n},{"./_LazyWrapper":174,"./_LodashWrapper":186,"./_baseLodash":185,"./_wrapperClone":189,"./isArray":187,"./isObjectLike":188}],173:[function(t,e){function n(t){return"symbol"==typeof t||i(t)&&r(t)==o}var r=t("./_baseGetTag"),i=t("./isObjectLike"),o="[object Symbol]";e.exports=n},{"./_baseGetTag":190,"./isObjectLike":188}],177:[function(t,e){function n(t,e,n){return e===e?o(t,e,n):r(t,i,n)}var r=t("./_baseFindIndex"),i=t("./_baseIsNaN"),o=t("./_strictIndexOf");e.exports=n},{"./_baseFindIndex":191,"./_baseIsNaN":192,"./_strictIndexOf":193}],176:[function(t,e){function n(t){for(var e=t.name+"",n=r[e],i=o.call(r,e)?n.length:0;i--;){var a=n[i],s=a.func;if(null==s||s==t)return a.name}return e}var r=t("./_realNames"),i=Object.prototype,o=i.hasOwnProperty;e.exports=n},{"./_realNames":194}],182:[function(t,e){function n(t){var e=r.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}e.exports=n;var r=Object.prototype.toString},{}],184:[function(t,e){function n(t,e){return null==t?void 0:t[e]}e.exports=n},{}],185:[function(t,e){function n(){}e.exports=n},{}],187:[function(t,e){var n=Array.isArray;e.exports=n},{}],188:[function(t,e){function n(t){return null!=t&&"object"==typeof t}e.exports=n},{}],191:[function(t,e){function n(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}e.exports=n},{}],192:[function(t,e){function n(t){return t!==t}e.exports=n},{}],193:[function(t,e){function n(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}e.exports=n},{}],194:[function(t,e){var n={};e.exports=n},{}],183:[function(t,e){function n(t){if(!o(t)||i(t))return!1;var e=r(t)?h:u;return e.test(a(t))}var r=t("./isFunction"),i=t("./_isMasked"),o=t("./isObject"),a=t("./_toSource"),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,f=c.toString,p=l.hasOwnProperty,h=RegExp("^"+f.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=n},{"./_isMasked":196,"./_toSource":197,"./isFunction":195,"./isObject":164}],186:[function(t,e){function n(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}var r=t("./_baseCreate"),i=t("./_baseLodash");n.prototype=r(i.prototype),n.prototype.constructor=n,e.exports=n},{"./_baseCreate":163,"./_baseLodash":185}],189:[function(t,e){function n(t){if(t instanceof r)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=o(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var r=t("./_LazyWrapper"),i=t("./_LodashWrapper"),o=t("./_copyArray");e.exports=n},{"./_LazyWrapper":174,"./_LodashWrapper":186,"./_copyArray":166}],190:[function(t,e){function n(t){return null==t?void 0===t?s:a:u&&u in Object(t)?i(t):o(t)}var r=t("./_Symbol"),i=t("./_getRawTag"),o=t("./_objectToString"),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=n},{"./_Symbol":198,"./_getRawTag":199,"./_objectToString":200}],179:[function(t,e){!function(n){function r(t){var e=t?t.length:0;for(this.data={hash:c(null),set:new u};e--;)this.push(t[e])}function i(t){var e=this.data;"string"==typeof t||a(t)?e.set.add(t):e.hash[t]=!0}function o(t){return c&&u?new r(t):null}function a(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var s=t("lodash._getnative"),u=s(n,"Set"),c=s(Object,"create");r.prototype.push=i,e.exports=o}(self)},{"lodash._getnative":107}],181:[function(t,e){!function(){function n(t){return r(t)?t:Object(t)}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){t=n(t);for(var e=-1,r=o(t),i=r.length,a=Array(i);++e<i;){var s=r[e];a[e]=[s,t[s]]}return a}var o=t("lodash.keys");e.exports=i}()},{"lodash.keys":64}],197:[function(t,e){function n(t){if(null!=t){try{return i.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var r=Function.prototype,i=r.toString;e.exports=n},{}],200:[function(t,e){function n(t){return i.call(t)}var r=Object.prototype,i=r.toString;e.exports=n},{}],195:[function(t,e){function n(t){if(!i(t))return!1;var e=r(t);return e==a||e==s||e==o||e==u}var r=t("./_baseGetTag"),i=t("./isObject"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=n},{"./_baseGetTag":190,"./isObject":164}],196:[function(t,e){function n(t){return!!i&&i in t}var r=t("./_coreJsData"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();e.exports=n},{"./_coreJsData":201}],198:[function(t,e){var n=t("./_root"),r=n.Symbol;e.exports=r},{"./_root":145}],199:[function(t,e){function n(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(i){}var u=a.call(t);return r&&(e?t[s]=n:delete t[s]),u}var r=t("./_Symbol"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=n},{"./_Symbol":198}],201:[function(t,e){var n=t("./_root"),r=n["__core-js_shared__"];e.exports=r},{"./_root":145}]},{},[4]);