jskit_rails 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ !function n(e,t,r){function o(u,a){if(!t[u]){if(!e[u]){var f="function"==typeof require&&require;if(!a&&f)return f(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var s=t[u]={exports:{}};e[u][0].call(s.exports,function(n){var t=e[u][1][n];return o(t?t:n)},s,s.exports,n,e,t,r)}return t[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(n,e){(function(){function t(){this.Controllers={},this.Dispatcher=a(r)}{var r=n("backbone-events-standalone"),o=n("lodash"),i=n("./string"),u=n("./controller"),a=o.clone,f=o.extend;o.first}t.prototype.createController=function(n,e){function t(){u.apply(this,arguments)}var r=e.dispatcher||this.Dispatcher;return e.dispatcher&&delete e.dispatcher,n=i.constantize(n),f(e,{name:n}),f(t.prototype,u.prototype,e),this[e.name+"Controller"]=t,this.Controllers[n]=new t(r,e),this.Controllers[n]},e.exports=t}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/application.js","/")},{"./controller":2,"./string":4,"backbone-events-standalone":7,buffer:8,lodash:12,oMfpAn:11}],2:[function(n,e){(function(){function t(n){if(!v(this[n.method]))throw new Error(this.className+' action "'+n.name+this.eventSeperator+n.method+'" method is undefined')}function r(n){var e=y(n),t=e?d(b(n)):n,r=e?d(m(n)):n;return{name:r,method:t}}function o(){p(this.actions,function(n){var e=r(n);t.call(this,e),this.dispatcher.on(this.actionEventName(e.name),this[e.method],this)},this)}function i(){this.name=this.name||"Anonymous",c(this,{eventSeperator:":",actions:[],channel:"controller",className:f.constantize(this.name)+"Controller",controllerEventName:f.underscore(this.name)})}function u(n,e){if(!n)throw new Error(this.className+": dispatcher is undefined");h(this,e,this),this.dispatcher=n,s.apply(this,[this].concat(g(this))),i.call(this),this.actions.unshift("all"),o.call(this),this.initialize()}var a=n("lodash"),f=n("./string"),s=a.bindAll,l=a.compact,c=a.defaults,p=a.each,h=a.extend,d=a.first,g=a.functions,v=a.isFunction,y=a.isObject,m=a.keys,b=(a.uniq,a.values);u.prototype.initialize=function(){},u.prototype.all=function(){},u.prototype.actionEventName=function(n){return l([this.namespace,this.channel,this.controllerEventName,n]).join(this.eventSeperator)},e.exports=u}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/controller.js","/")},{"./string":4,buffer:8,lodash:12,oMfpAn:11}],3:[function(n){(function(e,t){var r=n("./application"),o=n("./test_dispatcher");(t||window).JSKit={TestDispatcher:o,createApplication:function(){return new r}}}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_86607f2a.js","/")},{"./application":1,"./test_dispatcher":5,buffer:8,oMfpAn:11}],4:[function(n,e){(function(){var t=n("lodash"),r=t.contains,o=t.map,i=t.toArray,u=t.unescape;e.exports={camelize:function(n){return n=n||"",o(n.split(/_|-|\s/g),function(n,e){return e>0?n.charAt(0).toUpperCase()+n.slice(1):n.toLowerCase()}).join("")},capitalize:function(n){return n=n||"",n.charAt(0).toUpperCase()+n.slice(1)},chunk:function(n,e){return n=n||"",e=e?e:n.length,n.match(new RegExp(".{1,"+e+"}","g"))},compact:function(n){return n=n||"",n.replace(/\s/g,"")},constantize:function(n){if(n=n||"",n.match(/_|-|\s/)){var e=o(n.split(/_|-|\s/g),function(n,e){return e>0?n.charAt(0).toUpperCase()+n.slice(1):n.toLowerCase()}).join("");n=e}else n=n.toString();return n.charAt(0).toUpperCase()+n.slice(1)},dasherize:function(n){return n=n||"",n.replace(/_/g,"-").toLowerCase()},humanize:function(n){n=n||"";var e=n.replace(/_/g," ").replace(/^\s?/,"").toLowerCase();return e.charAt(0).toUpperCase()+e.slice(1)},hyphenate:function(n){return n=n||"",n.replace(/([A-Z])/g," $1").toLowerCase().replace(/\s|_/g,"-").toLowerCase()},isBlank:function(n){return n=n||"",/^(\s?)+$/.test(this)},isEmpty:function(n){return n=n||"",0===n.length},isNotEmpty:function(n){return n=n||"",n.length>0},isPresent:function(n){return n=n||"",!/^(\s?)+$/.test(this)},lstrip:function(n){return n=n||"",n.replace(/^\s+/,"")},ltrim:function(n){return n=n||"",n.replace(/^\s+/,"")},stripTags:function(n){return n=n||"",n.replace(/<\w+(\s+("[^"]*"|"[^"]*"|[^>])+)?>|<\/\w+>/gi,"")},strip:function(n){return n=n||"",n.replace(/^\s+(.+)\s+$/,"$1")},swapCase:function(n){return n=n||"",n.replace(/[A-Za-z]/g,function(n){return/[A-Z]/.test(n)?n.toLowerCase():n.toUpperCase()})},titleCase:function(n){return n=n||"",o(n.replace(/([A-Z])/g," $1").replace(/-|_/g," ").split(/\s/),function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join(" ")},titleize:function(n){return n=n||"",o(n.replace(/([A-Z])/g," $1").replace(/-|_/g," ").split(/\s/),function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join(" ")},toBoolean:function(n){n=n||"";var e=["true","yes","on","y"],t=["false","no","off","n"];return r(e,n.toLowerCase())?!0:r(t,n.toLowerCase())?!1:n.length>0?!0:!1},toNumber:function(n){return n=n||"",1*this||0},trim:function(n){return n=n||"",n.replace(/^\s+(.+)\s+$/,"$1")},truncate:function(n,e){return n=n||"",n.length>e?n.substring(0,e)+"...":this},underscore:function(n){return n=n||"",n.replace(/([A-Z])/g," $1").replace(/^\s?/,"").replace(/-|\s/g,"_").toLowerCase()},unescape:function(n){return n=n||"",u.apply(this,[this].concat(i(arguments)))},unwrap:function(n,e){return n=n||"",n.replace(new RegExp("^"+e+"(.+)"+e+"$"),"$1")},wordCount:function(n,e){n=n||"";var t;return n=n.stripTags(),t=n.match(e?new RegExp(e,"g"):/\b[A-Za-z_]+\b/g),t?t.length:0},wrap:function(n,e){return n=n||"",e.concat(this,e)}}}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/string.js","/")},{buffer:8,lodash:12,oMfpAn:11}],5:[function(n,e){(function(){function t(n){return n.called=!1,n.callCount=0,n.calls=[],n}function r(n){var e,t;return e=h(n)?n:c(d(n)),t=h(n)?n:c(v(n)),{name:e,method:t}}function o(n){var e=r(n);return h(n)?'"'+n+'"':"{ "+e.name+': "'+e.method+'" }'}function i(){this.listeners=[],this.events={},this.shadowDispatcher=f(a)}{var u=n("lodash"),a=n("backbone-events-standalone"),f=u.clone,s=u.contains,l=u.each,c=u.first,p=u.functions,h=u.isString,d=u.keys,g=u.toArray,v=u.values,y=u.map;u.rest}i.prototype.on=function(n,e,r){s(this.listeners,r)||this.spyOnControllerMethods(r);var o=t(e);this.events[n]=this.events[n]||[],this.events[n].push(o),this.shadowDispatcher.on(n,function(){this.trackSpy(o,arguments)},this)},i.prototype.spyOnControllerMethods=function(n){var e=y(n.actions,function(n){return o(n)}),r=this;l(p(n),function(o){if(!s(e,o)){var i=n[o];n[o]=function(){return r.trackSpy(n[o],arguments),i.apply(n,arguments)},t(n[o])}},this),this.listeners.push(n)},i.prototype.trigger=function(n,e,t){this.shadowDispatcher.trigger(n,e,t)},i.prototype.trackSpy=function(n,e){n.callCount+=1,n.called=!0,n.calls.push({args:g(e)})},i.prototype.hasAction=function(n,e){var t=!1;if(n.actions.forEach(function(n){o(n)===o(e)&&(t=!0)}),!t)return!1;var i=r(e),u=n[i.method],a=n.actionEventName(i.name),f=u.callCount;return n.dispatcher.trigger(a),u.callCount>f},i.prototype.off=function(){},e.exports=i}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/test_dispatcher.js","/")},{"backbone-events-standalone":7,buffer:8,lodash:12,oMfpAn:11}],6:[function(n,e,t){(function(){!function(){function n(){return{keys:Object.keys||function(n){if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("keys() called on a non-object");var e,t=[];for(e in n)n.hasOwnProperty(e)&&(t[t.length]=e);return t},uniqueId:function(n){var e=++s+"";return n?n+e:e},has:function(n,e){return a.call(n,e)},each:function(n,e,t){if(null!=n)if(u&&n.forEach===u)n.forEach(e,t);else if(n.length===+n.length){for(var r=0,o=n.length;o>r;r++)if(e.call(t,n[r],r,n)===i)return}else for(var a in n)if(this.has(n,a)&&e.call(t,n[a],a,n)===i)return},once:function(n){var e,t=!1;return function(){return t?e:(t=!0,e=n.apply(this,arguments),n=null,e)}}}}var r,o=this,i={},u=Array.prototype.forEach,a=Object.prototype.hasOwnProperty,f=Array.prototype.slice,s=0,l=n();r={on:function(n,e,t){if(!p(this,"on",n,[e,t])||!e)return this;this._events||(this._events={});var r=this._events[n]||(this._events[n]=[]);return r.push({callback:e,context:t,ctx:t||this}),this},once:function(n,e,t){if(!p(this,"once",n,[e,t])||!e)return this;var r=this,o=l.once(function(){r.off(n,o),e.apply(this,arguments)});return o._callback=e,this.on(n,o,t)},off:function(n,e,t){var r,o,i,u,a,f,s,c;if(!this._events||!p(this,"off",n,[e,t]))return this;if(!n&&!e&&!t)return this._events={},this;for(u=n?[n]:l.keys(this._events),a=0,f=u.length;f>a;a++)if(n=u[a],i=this._events[n]){if(this._events[n]=r=[],e||t)for(s=0,c=i.length;c>s;s++)o=i[s],(e&&e!==o.callback&&e!==o.callback._callback||t&&t!==o.context)&&r.push(o);r.length||delete this._events[n]}return this},trigger:function(n){if(!this._events)return this;var e=f.call(arguments,1);if(!p(this,"trigger",n,e))return this;var t=this._events[n],r=this._events.all;return t&&h(t,e),r&&h(r,arguments),this},stopListening:function(n,e,t){var r=this._listeners;if(!r)return this;var o=!e&&!t;"object"==typeof e&&(t=this),n&&((r={})[n._listenerId]=n);for(var i in r)r[i].off(e,t,this),o&&delete this._listeners[i];return this}};var c=/\s+/,p=function(n,e,t,r){if(!t)return!0;if("object"==typeof t){for(var o in t)n[e].apply(n,[o,t[o]].concat(r));return!1}if(c.test(t)){for(var i=t.split(c),u=0,a=i.length;a>u;u++)n[e].apply(n,[i[u]].concat(r));return!1}return!0},h=function(n,e){var t,r=-1,o=n.length,i=e[0],u=e[1],a=e[2];switch(e.length){case 0:for(;++r<o;)(t=n[r]).callback.call(t.ctx);return;case 1:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i);return;case 2:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i,u);return;case 3:for(;++r<o;)(t=n[r]).callback.call(t.ctx,i,u,a);return;default:for(;++r<o;)(t=n[r]).callback.apply(t.ctx,e)}},d={listenTo:"on",listenToOnce:"once"};l.each(d,function(n,e){r[e]=function(e,t,r){var o=this._listeners||(this._listeners={}),i=e._listenerId||(e._listenerId=l.uniqueId("l"));return o[i]=e,"object"==typeof t&&(r=this),e[n](t,r,this),this}}),r.bind=r.on,r.unbind=r.off,r.mixin=function(n){var e=["on","once","off","trigger","stopListening","listenTo","listenToOnce","bind","unbind"];return l.each(e,function(e){n[e]=this[e]},this),n},"function"==typeof define?define(function(){return r}):"undefined"!=typeof t?("undefined"!=typeof e&&e.exports&&(t=e.exports=r),t.BackboneEvents=r):o.BackboneEvents=r}(this)}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/backbone-events-standalone/backbone-events-standalone.js","/../../node_modules/backbone-events-standalone")},{buffer:8,oMfpAn:11}],7:[function(n,e){(function(){e.exports=n("./backbone-events-standalone")}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/backbone-events-standalone/index.js","/../../node_modules/backbone-events-standalone")},{"./backbone-events-standalone":6,buffer:8,oMfpAn:11}],8:[function(n,e,t){(function(e,r,o){function o(n,e,t){if(!(this instanceof o))return new o(n,e,t);var r=typeof n;if("base64"===e&&"string"===r)for(n=x(n);n.length%4!==0;)n+="=";var i;if("number"===r)i=U(n);else if("string"===r)i=o.byteLength(n,e);else{if("object"!==r)throw new Error("First argument needs to be a number, array or string.");i=U(n.length)}var u;o._useTypedArrays?u=o._augment(new Uint8Array(i)):(u=this,u.length=i,u._isBuffer=!0);var a;if(o._useTypedArrays&&"number"==typeof n.byteLength)u._set(n);else if(S(n))for(a=0;i>a;a++)u[a]=o.isBuffer(n)?n.readUInt8(a):n[a];else if("string"===r)u.write(n,0,e);else if("number"===r&&!o._useTypedArrays&&!t)for(a=0;i>a;a++)u[a]=0;return u}function i(n,e,t,r){t=Number(t)||0;var i=n.length-t;r?(r=Number(r),r>i&&(r=i)):r=i;var u=e.length;P(u%2===0,"Invalid hex string"),r>u/2&&(r=u/2);for(var a=0;r>a;a++){var f=parseInt(e.substr(2*a,2),16);P(!isNaN(f),"Invalid hex string"),n[t+a]=f}return o._charsWritten=2*a,a}function u(n,e,t,r){var i=o._charsWritten=$(T(e),n,t,r);return i}function a(n,e,t,r){var i=o._charsWritten=$(O(e),n,t,r);return i}function f(n,e,t,r){return a(n,e,t,r)}function s(n,e,t,r){var i=o._charsWritten=$(F(e),n,t,r);return i}function l(n,e,t,r){var i=o._charsWritten=$(D(e),n,t,r);return i}function c(n,e,t){return Z.fromByteArray(0===e&&t===n.length?n:n.slice(e,t))}function p(n,e,t){var r="",o="";t=Math.min(n.length,t);for(var i=e;t>i;i++)n[i]<=127?(r+=R(o)+String.fromCharCode(n[i]),o=""):o+="%"+n[i].toString(16);return r+R(o)}function h(n,e,t){var r="";t=Math.min(n.length,t);for(var o=e;t>o;o++)r+=String.fromCharCode(n[o]);return r}function d(n,e,t){return h(n,e,t)}function g(n,e,t){var r=n.length;(!e||0>e)&&(e=0),(!t||0>t||t>r)&&(t=r);for(var o="",i=e;t>i;i++)o+=N(n[i]);return o}function v(n,e,t){for(var r=n.slice(e,t),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function y(n,e,t,r){r||(P("boolean"==typeof t,"missing or invalid endian"),P(void 0!==e&&null!==e,"missing offset"),P(e+1<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i;return t?(i=n[e],o>e+1&&(i|=n[e+1]<<8)):(i=n[e]<<8,o>e+1&&(i|=n[e+1])),i}}function m(n,e,t,r){r||(P("boolean"==typeof t,"missing or invalid endian"),P(void 0!==e&&null!==e,"missing offset"),P(e+3<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i;return t?(o>e+2&&(i=n[e+2]<<16),o>e+1&&(i|=n[e+1]<<8),i|=n[e],o>e+3&&(i+=n[e+3]<<24>>>0)):(o>e+1&&(i=n[e+1]<<16),o>e+2&&(i|=n[e+2]<<8),o>e+3&&(i|=n[e+3]),i+=n[e]<<24>>>0),i}}function b(n,e,t,r){r||(P("boolean"==typeof t,"missing or invalid endian"),P(void 0!==e&&null!==e,"missing offset"),P(e+1<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i=y(n,e,t,!0),u=32768&i;return u?-1*(65535-i+1):i}}function w(n,e,t,r){r||(P("boolean"==typeof t,"missing or invalid endian"),P(void 0!==e&&null!==e,"missing offset"),P(e+3<n.length,"Trying to read beyond buffer length"));var o=n.length;if(!(e>=o)){var i=m(n,e,t,!0),u=2147483648&i;return u?-1*(4294967295-i+1):i}}function _(n,e,t,r){return r||(P("boolean"==typeof t,"missing or invalid endian"),P(e+3<n.length,"Trying to read beyond buffer length")),J.read(n,e,t,23,4)}function E(n,e,t,r){return r||(P("boolean"==typeof t,"missing or invalid endian"),P(e+7<n.length,"Trying to read beyond buffer length")),J.read(n,e,t,52,8)}function A(n,e,t,r,o){o||(P(void 0!==e&&null!==e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+1<n.length,"trying to write beyond buffer length"),z(e,65535));var i=n.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,2);a>u;u++)n[t+u]=(e&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function k(n,e,t,r,o){o||(P(void 0!==e&&null!==e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<n.length,"trying to write beyond buffer length"),z(e,4294967295));var i=n.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,4);a>u;u++)n[t+u]=e>>>8*(r?u:3-u)&255}function I(n,e,t,r,o){o||(P(void 0!==e&&null!==e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+1<n.length,"Trying to write beyond buffer length"),q(e,32767,-32768));var i=n.length;t>=i||(e>=0?A(n,e,t,r,o):A(n,65535+e+1,t,r,o))}function C(n,e,t,r,o){o||(P(void 0!==e&&null!==e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<n.length,"Trying to write beyond buffer length"),q(e,2147483647,-2147483648));var i=n.length;t>=i||(e>=0?k(n,e,t,r,o):k(n,4294967295+e+1,t,r,o))}function j(n,e,t,r,o){o||(P(void 0!==e&&null!==e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+3<n.length,"Trying to write beyond buffer length"),W(e,3.4028234663852886e38,-3.4028234663852886e38));var i=n.length;t>=i||J.write(n,e,t,r,23,4)}function B(n,e,t,r,o){o||(P(void 0!==e&&null!==e,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(void 0!==t&&null!==t,"missing offset"),P(t+7<n.length,"Trying to write beyond buffer length"),W(e,1.7976931348623157e308,-1.7976931348623157e308));var i=n.length;t>=i||J.write(n,e,t,r,52,8)}function x(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function L(n,e,t){return"number"!=typeof n?t:(n=~~n,n>=e?e:n>=0?n:(n+=e,n>=0?n:0))}function U(n){return n=~~Math.ceil(+n),0>n?0:n}function M(n){return(Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)})(n)}function S(n){return M(n)||o.isBuffer(n)||n&&"object"==typeof n&&"number"==typeof n.length}function N(n){return 16>n?"0"+n.toString(16):n.toString(16)}function T(n){for(var e=[],t=0;t<n.length;t++){var r=n.charCodeAt(t);if(127>=r)e.push(n.charCodeAt(t));else{var o=t;r>=55296&&57343>=r&&t++;for(var i=encodeURIComponent(n.slice(o,t+1)).substr(1).split("%"),u=0;u<i.length;u++)e.push(parseInt(i[u],16))}}return e}function O(n){for(var e=[],t=0;t<n.length;t++)e.push(255&n.charCodeAt(t));return e}function D(n){for(var e,t,r,o=[],i=0;i<n.length;i++)e=n.charCodeAt(i),t=e>>8,r=e%256,o.push(r),o.push(t);return o}function F(n){return Z.toByteArray(n)}function $(n,e,t,r){for(var o=0;r>o&&!(o+t>=e.length||o>=n.length);o++)e[o+t]=n[o];return o}function R(n){try{return decodeURIComponent(n)}catch(e){return String.fromCharCode(65533)}}function z(n,e){P("number"==typeof n,"cannot write a non-number as a number"),P(n>=0,"specified a negative value for writing an unsigned value"),P(e>=n,"value is larger than maximum value for type"),P(Math.floor(n)===n,"value has a fractional component")}function q(n,e,t){P("number"==typeof n,"cannot write a non-number as a number"),P(e>=n,"value larger than maximum allowed value"),P(n>=t,"value smaller than minimum allowed value"),P(Math.floor(n)===n,"value has a fractional component")}function W(n,e,t){P("number"==typeof n,"cannot write a non-number as a number"),P(e>=n,"value larger than maximum allowed value"),P(n>=t,"value smaller than minimum allowed value")}function P(n,e){if(!n)throw new Error(e||"Failed assertion")}var Z=n("base64-js"),J=n("ieee754");t.Buffer=o,t.SlowBuffer=o,t.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var n=new ArrayBuffer(0),e=new Uint8Array(n);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),o.isEncoding=function(n){switch(String(n).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(n){return!(null===n||void 0===n||!n._isBuffer)},o.byteLength=function(n,e){var t;switch(n+="",e||"utf8"){case"hex":t=n.length/2;break;case"utf8":case"utf-8":t=T(n).length;break;case"ascii":case"binary":case"raw":t=n.length;break;case"base64":t=F(n).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":t=2*n.length;break;default:throw new Error("Unknown encoding")}return t},o.concat=function(n,e){if(P(M(n),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===n.length)return new o(0);if(1===n.length)return n[0];var t;if("number"!=typeof e)for(e=0,t=0;t<n.length;t++)e+=n[t].length;var r=new o(e),i=0;for(t=0;t<n.length;t++){var u=n[t];u.copy(r,i),i+=u.length}return r},o.prototype.write=function(n,e,t,r){if(isFinite(e))isFinite(t)||(r=t,t=void 0);else{var o=r;r=e,e=t,t=o}e=Number(e)||0;var c=this.length-e;t?(t=Number(t),t>c&&(t=c)):t=c,r=String(r||"utf8").toLowerCase();var p;switch(r){case"hex":p=i(this,n,e,t);break;case"utf8":case"utf-8":p=u(this,n,e,t);break;case"ascii":p=a(this,n,e,t);break;case"binary":p=f(this,n,e,t);break;case"base64":p=s(this,n,e,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":p=l(this,n,e,t);break;default:throw new Error("Unknown encoding")}return p},o.prototype.toString=function(n,e,t){var r=this;if(n=String(n||"utf8").toLowerCase(),e=Number(e)||0,t=void 0!==t?Number(t):t=r.length,t===e)return"";var o;switch(n){case"hex":o=g(r,e,t);break;case"utf8":case"utf-8":o=p(r,e,t);break;case"ascii":o=h(r,e,t);break;case"binary":o=d(r,e,t);break;case"base64":o=c(r,e,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=v(r,e,t);break;default:throw new Error("Unknown encoding")}return o},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(n,e,t,r){var i=this;if(t||(t=0),r||0===r||(r=this.length),e||(e=0),r!==t&&0!==n.length&&0!==i.length){P(r>=t,"sourceEnd < sourceStart"),P(e>=0&&e<n.length,"targetStart out of bounds"),P(t>=0&&t<i.length,"sourceStart out of bounds"),P(r>=0&&r<=i.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),n.length-e<r-t&&(r=n.length-e+t);var u=r-t;if(100>u||!o._useTypedArrays)for(var a=0;u>a;a++)n[a+e]=this[a+t];else n._set(this.subarray(t,t+u),e)}},o.prototype.slice=function(n,e){var t=this.length;if(n=L(n,t,0),e=L(e,t,t),o._useTypedArrays)return o._augment(this.subarray(n,e));for(var r=e-n,i=new o(r,void 0,!0),u=0;r>u;u++)i[u]=this[u+n];return i},o.prototype.get=function(n){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(n)},o.prototype.set=function(n,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(n,e)},o.prototype.readUInt8=function(n,e){return e||(P(void 0!==n&&null!==n,"missing offset"),P(n<this.length,"Trying to read beyond buffer length")),n>=this.length?void 0:this[n]},o.prototype.readUInt16LE=function(n,e){return y(this,n,!0,e)},o.prototype.readUInt16BE=function(n,e){return y(this,n,!1,e)},o.prototype.readUInt32LE=function(n,e){return m(this,n,!0,e)},o.prototype.readUInt32BE=function(n,e){return m(this,n,!1,e)},o.prototype.readInt8=function(n,e){if(e||(P(void 0!==n&&null!==n,"missing offset"),P(n<this.length,"Trying to read beyond buffer length")),!(n>=this.length)){var t=128&this[n];return t?-1*(255-this[n]+1):this[n]}},o.prototype.readInt16LE=function(n,e){return b(this,n,!0,e)},o.prototype.readInt16BE=function(n,e){return b(this,n,!1,e)},o.prototype.readInt32LE=function(n,e){return w(this,n,!0,e)},o.prototype.readInt32BE=function(n,e){return w(this,n,!1,e)},o.prototype.readFloatLE=function(n,e){return _(this,n,!0,e)},o.prototype.readFloatBE=function(n,e){return _(this,n,!1,e)},o.prototype.readDoubleLE=function(n,e){return E(this,n,!0,e)},o.prototype.readDoubleBE=function(n,e){return E(this,n,!1,e)},o.prototype.writeUInt8=function(n,e,t){t||(P(void 0!==n&&null!==n,"missing value"),P(void 0!==e&&null!==e,"missing offset"),P(e<this.length,"trying to write beyond buffer length"),z(n,255)),e>=this.length||(this[e]=n)},o.prototype.writeUInt16LE=function(n,e,t){A(this,n,e,!0,t)},o.prototype.writeUInt16BE=function(n,e,t){A(this,n,e,!1,t)},o.prototype.writeUInt32LE=function(n,e,t){k(this,n,e,!0,t)},o.prototype.writeUInt32BE=function(n,e,t){k(this,n,e,!1,t)},o.prototype.writeInt8=function(n,e,t){t||(P(void 0!==n&&null!==n,"missing value"),P(void 0!==e&&null!==e,"missing offset"),P(e<this.length,"Trying to write beyond buffer length"),q(n,127,-128)),e>=this.length||(n>=0?this.writeUInt8(n,e,t):this.writeUInt8(255+n+1,e,t))},o.prototype.writeInt16LE=function(n,e,t){I(this,n,e,!0,t)},o.prototype.writeInt16BE=function(n,e,t){I(this,n,e,!1,t)},o.prototype.writeInt32LE=function(n,e,t){C(this,n,e,!0,t)},o.prototype.writeInt32BE=function(n,e,t){C(this,n,e,!1,t)},o.prototype.writeFloatLE=function(n,e,t){j(this,n,e,!0,t)},o.prototype.writeFloatBE=function(n,e,t){j(this,n,e,!1,t)},o.prototype.writeDoubleLE=function(n,e,t){B(this,n,e,!0,t)},o.prototype.writeDoubleBE=function(n,e,t){B(this,n,e,!1,t)},o.prototype.fill=function(n,e,t){if(n||(n=0),e||(e=0),t||(t=this.length),"string"==typeof n&&(n=n.charCodeAt(0)),P("number"==typeof n&&!isNaN(n),"value is not a number"),P(t>=e,"end < start"),t!==e&&0!==this.length){P(e>=0&&e<this.length,"start out of bounds"),P(t>=0&&t<=this.length,"end out of bounds");for(var r=e;t>r;r++)this[r]=n}},o.prototype.inspect=function(){for(var n=[],e=this.length,r=0;e>r;r++)if(n[r]=N(this[r]),r===t.INSPECT_MAX_BYTES){n[r+1]="...";break}return"<Buffer "+n.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o._useTypedArrays)return new o(this).buffer;for(var n=new Uint8Array(this.length),e=0,t=n.length;t>e;e+=1)n[e]=this[e];return n.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var K=o.prototype;o._augment=function(n){return n._isBuffer=!0,n._get=n.get,n._set=n.set,n.get=K.get,n.set=K.set,n.write=K.write,n.toString=K.toString,n.toLocaleString=K.toString,n.toJSON=K.toJSON,n.copy=K.copy,n.slice=K.slice,n.readUInt8=K.readUInt8,n.readUInt16LE=K.readUInt16LE,n.readUInt16BE=K.readUInt16BE,n.readUInt32LE=K.readUInt32LE,n.readUInt32BE=K.readUInt32BE,n.readInt8=K.readInt8,n.readInt16LE=K.readInt16LE,n.readInt16BE=K.readInt16BE,n.readInt32LE=K.readInt32LE,n.readInt32BE=K.readInt32BE,n.readFloatLE=K.readFloatLE,n.readFloatBE=K.readFloatBE,n.readDoubleLE=K.readDoubleLE,n.readDoubleBE=K.readDoubleBE,n.writeUInt8=K.writeUInt8,n.writeUInt16LE=K.writeUInt16LE,n.writeUInt16BE=K.writeUInt16BE,n.writeUInt32LE=K.writeUInt32LE,n.writeUInt32BE=K.writeUInt32BE,n.writeInt8=K.writeInt8,n.writeInt16LE=K.writeInt16LE,n.writeInt16BE=K.writeInt16BE,n.writeInt32LE=K.writeInt32LE,n.writeInt32BE=K.writeInt32BE,n.writeFloatLE=K.writeFloatLE,n.writeFloatBE=K.writeFloatBE,n.writeDoubleLE=K.writeDoubleLE,n.writeDoubleBE=K.writeDoubleBE,n.fill=K.fill,n.inspect=K.inspect,n.toArrayBuffer=K.toArrayBuffer,n}}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer")},{"base64-js":9,buffer:8,ieee754:10,oMfpAn:11}],9:[function(n,e,t){(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(n){var e=n.charCodeAt(0);return e===u?62:e===a?63:f>e?-1:f+10>e?e-f+26+26:l+26>e?e-l:s+26>e?e-s+26:void 0}function r(n){function e(n){s[c++]=n}var r,o,u,a,f,s;if(n.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=n.length;f="="===n.charAt(l-2)?2:"="===n.charAt(l-1)?1:0,s=new i(3*n.length/4-f),u=f>0?n.length-4:n.length;var c=0;for(r=0,o=0;u>r;r+=4,o+=3)a=t(n.charAt(r))<<18|t(n.charAt(r+1))<<12|t(n.charAt(r+2))<<6|t(n.charAt(r+3)),e((16711680&a)>>16),e((65280&a)>>8),e(255&a);return 2===f?(a=t(n.charAt(r))<<2|t(n.charAt(r+1))>>4,e(255&a)):1===f&&(a=t(n.charAt(r))<<10|t(n.charAt(r+1))<<4|t(n.charAt(r+2))>>2,e(a>>8&255),e(255&a)),s}function o(e){function t(e){return n.charAt(e)}function r(n){return t(n>>18&63)+t(n>>12&63)+t(n>>6&63)+t(63&n)}var o,i,u,a=e.length%3,f="";for(o=0,u=e.length-a;u>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],f+=r(i);switch(a){case 1:i=e[e.length-1],f+=t(i>>2),f+=t(i<<4&63),f+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],f+=t(i>>10),f+=t(i>>4&63),f+=t(i<<2&63),f+="="}return f}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,u="+".charCodeAt(0),a="/".charCodeAt(0),f="0".charCodeAt(0),s="a".charCodeAt(0),l="A".charCodeAt(0);e.toByteArray=r,e.fromByteArray=o}("undefined"==typeof t?this.base64js={}:t)}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{buffer:8,oMfpAn:11}],10:[function(n,e,t){(function(){t.read=function(n,e,t,r,o){var i,u,a=8*o-r-1,f=(1<<a)-1,s=f>>1,l=-7,c=t?o-1:0,p=t?-1:1,h=n[e+c];for(c+=p,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+n[e+c],c+=p,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+n[e+c],c+=p,l-=8);if(0===i)i=1-s;else{if(i===f)return u?0/0:1/0*(h?-1:1);u+=Math.pow(2,r),i-=s}return(h?-1:1)*u*Math.pow(2,i-r)},t.write=function(n,e,t,r,o,i){var u,a,f,s=8*i-o-1,l=(1<<s)-1,c=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(a=isNaN(e)?1:0,u=l):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),e+=u+c>=1?p/f:p*Math.pow(2,1-c),e*f>=2&&(u++,f/=2),u+c>=l?(a=0,u=l):u+c>=1?(a=(e*f-1)*Math.pow(2,o),u+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,o),u=0));o>=8;n[t+h]=255&a,h+=d,a/=256,o-=8);for(u=u<<o|a,s+=o;s>0;n[t+h]=255&u,h+=d,u/=256,s-=8);n[t+h-d]|=128*g}}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{buffer:8,oMfpAn:11}],11:[function(n,e){(function(n){function t(){}var n=e.exports={};n.nextTick=function(){var n="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(n)return function(n){return window.setImmediate(n)};if(e){var t=[];return window.addEventListener("message",function(n){var e=n.source;if((e===window||null===e)&&"process-tick"===n.data&&(n.stopPropagation(),t.length>0)){var r=t.shift();r()}},!0),function(n){t.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=t,n.addListener=t,n.once=t,n.off=t,n.removeListener=t,n.removeAllListeners=t,n.emit=t,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")}}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/process")},{buffer:8,oMfpAn:11}],12:[function(n,e,t){(function(n,r){(function(){function n(n,e,t){for(var r=(t||0)-1,o=n?n.length:0;++r<o;)if(n[r]===e)return r;return-1}function o(e,t){var r=typeof t;if(e=e.cache,"boolean"==r||null==t)return e[t]?0:-1;"number"!=r&&"string"!=r&&(r="object");var o="number"==r?t:w+t;return e=(e=e[r])&&e[o],"object"==r?e&&n(e,t)>-1?0:-1:e?0:-1}function i(n){var e=this.cache,t=typeof n;if("boolean"==t||null==n)e[n]=!0;else{"number"!=t&&"string"!=t&&(t="object");var r="number"==t?n:w+n,o=e[t]||(e[t]={});"object"==t?(o[r]||(o[r]=[])).push(n):o[r]=!0}}function u(n){return n.charCodeAt(0)}function a(n,e){for(var t=n.criteria,r=e.criteria,o=-1,i=t.length;++o<i;){var u=t[o],a=r[o];if(u!==a){if(u>a||"undefined"==typeof u)return 1;if(a>u||"undefined"==typeof a)return-1}}return n.index-e.index}function f(n){var e=-1,t=n.length,r=n[0],o=n[t/2|0],u=n[t-1];if(r&&"object"==typeof r&&o&&"object"==typeof o&&u&&"object"==typeof u)return!1;var a=c();a["false"]=a["null"]=a["true"]=a.undefined=!1;var f=c();for(f.array=n,f.cache=a,f.push=i;++e<t;)f.push(n[e]);return f}function s(n){return"\\"+Y[n]
2
+ }function l(){return y.pop()||[]}function c(){return m.pop()||{array:null,cache:null,criteria:null,"false":!1,index:0,"null":!1,number:null,object:null,push:null,string:null,"true":!1,undefined:!1,value:null}}function p(n){n.length=0,y.length<E&&y.push(n)}function h(n){var e=n.cache;e&&h(e),n.array=n.cache=n.criteria=n.object=n.number=n.string=n.value=null,m.length<E&&m.push(n)}function d(n,e,t){e||(e=0),"undefined"==typeof t&&(t=n?n.length:0);for(var r=-1,o=t-e||0,i=Array(0>o?0:o);++r<o;)i[r]=n[e+r];return i}function g(e){function t(n){return n&&"object"==typeof n&&!Gr(n)&&Sr.call(n,"__wrapped__")?n:new r(n)}function r(n,e){this.__chain__=!!e,this.__wrapped__=n}function i(n){function e(){if(r){var n=d(r);Nr.apply(n,arguments)}if(this instanceof e){var i=m(t.prototype),u=t.apply(i,n||arguments);return Le(u)?u:i}return t.apply(o,n||arguments)}var t=n[0],r=n[2],o=n[4];return Yr(e,n),e}function y(n,e,t,r,o){if(t){var i=t(n);if("undefined"!=typeof i)return i}var u=Le(n);if(!u)return n;var a=Cr.call(n);if(!J[a])return n;var f=Vr[a];switch(a){case $:case R:return new f(+n);case q:case Z:return new f(n);case P:return i=f(n.source,B.exec(n)),i.lastIndex=n.lastIndex,i}var s=Gr(n);if(e){var c=!r;r||(r=l()),o||(o=l());for(var h=r.length;h--;)if(r[h]==n)return o[h];i=s?f(n.length):{}}else i=s?d(n):oo({},n);return s&&(Sr.call(n,"index")&&(i.index=n.index),Sr.call(n,"input")&&(i.input=n.input)),e?(r.push(n),o.push(i),(s?Ye:ao)(n,function(n,u){i[u]=y(n,e,t,r,o)}),c&&(p(r),p(o)),i):i}function m(n){return Le(n)?$r(n):{}}function E(n,e,t){if("function"!=typeof n)return Gt;if("undefined"==typeof e||!("prototype"in n))return n;var r=n.__bindData__;if("undefined"==typeof r&&(Xr.funcNames&&(r=!n.name),r=r||!Xr.funcDecomp,!r)){var o=Ur.call(n);Xr.funcNames||(r=!x.test(o)),r||(r=S.test(o),Yr(n,r))}if(r===!1||r!==!0&&1&r[1])return n;switch(t){case 1:return function(t){return n.call(e,t)};case 2:return function(t,r){return n.call(e,t,r)};case 3:return function(t,r,o){return n.call(e,t,r,o)};case 4:return function(t,r,o,i){return n.call(e,t,r,o,i)}}return Nt(n,e)}function Y(n){function e(){var n=f?u:this;if(o){var h=d(o);Nr.apply(h,arguments)}if((i||l)&&(h||(h=d(arguments)),i&&Nr.apply(h,i),l&&h.length<a))return r|=16,Y([t,c?r:-4&r,h,null,u,a]);if(h||(h=arguments),s&&(t=n[p]),this instanceof e){n=m(t.prototype);var g=t.apply(n,h);return Le(g)?g:n}return t.apply(n,h)}var t=n[0],r=n[1],o=n[2],i=n[3],u=n[4],a=n[5],f=1&r,s=2&r,l=4&r,c=8&r,p=t;return Yr(e,n),e}function H(e,t){var r=-1,i=fe(),u=e?e.length:0,a=u>=_&&i===n,s=[];if(a){var l=f(t);l?(i=o,t=l):a=!1}for(;++r<u;){var c=e[r];i(t,c)<0&&s.push(c)}return a&&h(t),s}function Q(n,e,t,r){for(var o=(r||0)-1,i=n?n.length:0,u=[];++o<i;){var a=n[o];if(a&&"object"==typeof a&&"number"==typeof a.length&&(Gr(a)||pe(a))){e||(a=Q(a,e,t));var f=-1,s=a.length,l=u.length;for(u.length+=s;++f<s;)u[l++]=a[f]}else t||u.push(a)}return u}function ne(n,e,t,r,o,i){if(t){var u=t(n,e);if("undefined"!=typeof u)return!!u}if(n===e)return 0!==n||1/n==1/e;var a=typeof n,f=typeof e;if(!(n!==n||n&&X[a]||e&&X[f]))return!1;if(null==n||null==e)return n===e;var s=Cr.call(n),c=Cr.call(e);if(s==D&&(s=W),c==D&&(c=W),s!=c)return!1;switch(s){case $:case R:return+n==+e;case q:return n!=+n?e!=+e:0==n?1/n==1/e:n==+e;case P:case Z:return n==_r(e)}var h=s==F;if(!h){var d=Sr.call(n,"__wrapped__"),g=Sr.call(e,"__wrapped__");if(d||g)return ne(d?n.__wrapped__:n,g?e.__wrapped__:e,t,r,o,i);if(s!=W)return!1;var v=n.constructor,y=e.constructor;if(v!=y&&!(xe(v)&&v instanceof v&&xe(y)&&y instanceof y)&&"constructor"in n&&"constructor"in e)return!1}var m=!o;o||(o=l()),i||(i=l());for(var b=o.length;b--;)if(o[b]==n)return i[b]==e;var w=0;if(u=!0,o.push(n),i.push(e),h){if(b=n.length,w=e.length,u=w==b,u||r)for(;w--;){var _=b,E=e[w];if(r)for(;_--&&!(u=ne(n[_],E,t,r,o,i)););else if(!(u=ne(n[w],E,t,r,o,i)))break}}else uo(e,function(e,a,f){return Sr.call(f,a)?(w++,u=Sr.call(n,a)&&ne(n[a],e,t,r,o,i)):void 0}),u&&!r&&uo(n,function(n,e,t){return Sr.call(t,e)?u=--w>-1:void 0});return o.pop(),i.pop(),m&&(p(o),p(i)),u}function ee(n,e,t,r,o){(Gr(e)?Ye:ao)(e,function(e,i){var u,a,f=e,s=n[i];if(e&&((a=Gr(e))||fo(e))){for(var l=r.length;l--;)if(u=r[l]==e){s=o[l];break}if(!u){var c;t&&(f=t(s,e),(c="undefined"!=typeof f)&&(s=f)),c||(s=a?Gr(s)?s:[]:fo(s)?s:{}),r.push(e),o.push(s),c||ee(s,e,t,r,o)}}else t&&(f=t(s,e),"undefined"==typeof f&&(f=e)),"undefined"!=typeof f&&(s=f);n[i]=s})}function re(n,e){return n+Lr(Kr()*(e-n+1))}function oe(e,t,r){var i=-1,u=fe(),a=e?e.length:0,s=[],c=!t&&a>=_&&u===n,d=r||c?l():s;if(c){var g=f(d);u=o,d=g}for(;++i<a;){var v=e[i],y=r?r(v,i,e):v;(t?!i||d[d.length-1]!==y:u(d,y)<0)&&((r||c)&&d.push(y),s.push(v))}return c?(p(d.array),h(d)):r&&p(d),s}function ie(n){return function(e,r,o){var i={};r=t.createCallback(r,o,3);var u=-1,a=e?e.length:0;if("number"==typeof a)for(;++u<a;){var f=e[u];n(i,f,r(f,u,e),e)}else ao(e,function(e,t,o){n(i,e,r(e,t,o),o)});return i}}function ue(n,e,t,r,o,u){var a=1&e,f=2&e,s=4&e,l=16&e,c=32&e;if(!f&&!xe(n))throw new Er;l&&!t.length&&(e&=-17,l=t=!1),c&&!r.length&&(e&=-33,c=r=!1);var p=n&&n.__bindData__;if(p&&p!==!0)return p=d(p),p[2]&&(p[2]=d(p[2])),p[3]&&(p[3]=d(p[3])),!a||1&p[1]||(p[4]=o),!a&&1&p[1]&&(e|=8),!s||4&p[1]||(p[5]=u),l&&Nr.apply(p[2]||(p[2]=[]),t),c&&Dr.apply(p[3]||(p[3]=[]),r),p[1]|=e,ue.apply(null,p);var h=1==e||17===e?i:Y;return h([n,e,t,r,o,u])}function ae(n){return no[n]}function fe(){var e=(e=t.indexOf)===yt?n:e;return e}function se(n){return"function"==typeof n&&jr.test(n)}function le(n){var e,t;return n&&Cr.call(n)==W&&(e=n.constructor,!xe(e)||e instanceof e)?(uo(n,function(n,e){t=e}),"undefined"==typeof t||Sr.call(n,t)):!1}function ce(n){return eo[n]}function pe(n){return n&&"object"==typeof n&&"number"==typeof n.length&&Cr.call(n)==D||!1}function he(n,e,t,r){return"boolean"!=typeof e&&null!=e&&(r=t,t=e,e=!1),y(n,e,"function"==typeof t&&E(t,r,1))}function de(n,e,t){return y(n,!0,"function"==typeof e&&E(e,t,1))}function ge(n,e){var t=m(n);return e?oo(t,e):t}function ve(n,e,r){var o;return e=t.createCallback(e,r,3),ao(n,function(n,t,r){return e(n,t,r)?(o=t,!1):void 0}),o}function ye(n,e,r){var o;return e=t.createCallback(e,r,3),be(n,function(n,t,r){return e(n,t,r)?(o=t,!1):void 0}),o}function me(n,e,t){var r=[];uo(n,function(n,e){r.push(e,n)});var o=r.length;for(e=E(e,t,3);o--&&e(r[o--],r[o],n)!==!1;);return n}function be(n,e,t){var r=Qr(n),o=r.length;for(e=E(e,t,3);o--;){var i=r[o];if(e(n[i],i,n)===!1)break}return n}function we(n){var e=[];return uo(n,function(n,t){xe(n)&&e.push(t)}),e.sort()}function _e(n,e){return n?Sr.call(n,e):!1}function Ee(n){for(var e=-1,t=Qr(n),r=t.length,o={};++e<r;){var i=t[e];o[n[i]]=i}return o}function Ae(n){return n===!0||n===!1||n&&"object"==typeof n&&Cr.call(n)==$||!1}function ke(n){return n&&"object"==typeof n&&Cr.call(n)==R||!1}function Ie(n){return n&&1===n.nodeType||!1}function Ce(n){var e=!0;if(!n)return e;var t=Cr.call(n),r=n.length;return t==F||t==Z||t==D||t==W&&"number"==typeof r&&xe(n.splice)?!r:(ao(n,function(){return e=!1}),e)}function je(n,e,t,r){return ne(n,e,"function"==typeof t&&E(t,r,2))}function Be(n){return zr(n)&&!qr(parseFloat(n))}function xe(n){return"function"==typeof n}function Le(n){return!(!n||!X[typeof n])}function Ue(n){return Se(n)&&n!=+n}function Me(n){return null===n}function Se(n){return"number"==typeof n||n&&"object"==typeof n&&Cr.call(n)==q||!1}function Ne(n){return n&&"object"==typeof n&&Cr.call(n)==P||!1}function Te(n){return"string"==typeof n||n&&"object"==typeof n&&Cr.call(n)==Z||!1}function Oe(n){return"undefined"==typeof n}function De(n,e,r){var o={};return e=t.createCallback(e,r,3),ao(n,function(n,t,r){o[t]=e(n,t,r)}),o}function Fe(n){var e=arguments,t=2;if(!Le(n))return n;if("number"!=typeof e[2]&&(t=e.length),t>3&&"function"==typeof e[t-2])var r=E(e[--t-1],e[t--],2);else t>2&&"function"==typeof e[t-1]&&(r=e[--t]);for(var o=d(arguments,1,t),i=-1,u=l(),a=l();++i<t;)ee(n,o[i],r,u,a);return p(u),p(a),n}function $e(n,e,r){var o={};if("function"!=typeof e){var i=[];uo(n,function(n,e){i.push(e)}),i=H(i,Q(arguments,!0,!1,1));for(var u=-1,a=i.length;++u<a;){var f=i[u];o[f]=n[f]}}else e=t.createCallback(e,r,3),uo(n,function(n,t,r){e(n,t,r)||(o[t]=n)});return o}function Re(n){for(var e=-1,t=Qr(n),r=t.length,o=hr(r);++e<r;){var i=t[e];o[e]=[i,n[i]]}return o}function ze(n,e,r){var o={};if("function"!=typeof e)for(var i=-1,u=Q(arguments,!0,!1,1),a=Le(n)?u.length:0;++i<a;){var f=u[i];f in n&&(o[f]=n[f])}else e=t.createCallback(e,r,3),uo(n,function(n,t,r){e(n,t,r)&&(o[t]=n)});return o}function qe(n,e,r,o){var i=Gr(n);if(null==r)if(i)r=[];else{var u=n&&n.constructor,a=u&&u.prototype;r=m(a)}return e&&(e=t.createCallback(e,o,4),(i?Ye:ao)(n,function(n,t,o){return e(r,n,t,o)})),r}function We(n){for(var e=-1,t=Qr(n),r=t.length,o=hr(r);++e<r;)o[e]=n[t[e]];return o}function Pe(n){for(var e=arguments,t=-1,r=Q(e,!0,!1,1),o=e[2]&&e[2][e[1]]===n?1:r.length,i=hr(o);++t<o;)i[t]=n[r[t]];return i}function Ze(n,e,t){var r=-1,o=fe(),i=n?n.length:0,u=!1;return t=(0>t?Pr(0,i+t):t)||0,Gr(n)?u=o(n,e,t)>-1:"number"==typeof i?u=(Te(n)?n.indexOf(e,t):o(n,e,t))>-1:ao(n,function(n){return++r>=t?!(u=n===e):void 0}),u}function Je(n,e,r){var o=!0;e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u&&(o=!!e(n[i],i,n)););else ao(n,function(n,t,r){return o=!!e(n,t,r)});return o}function Ke(n,e,r){var o=[];e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u;){var a=n[i];e(a,i,n)&&o.push(a)}else ao(n,function(n,t,r){e(n,t,r)&&o.push(n)});return o}function Ve(n,e,r){e=t.createCallback(e,r,3);var o=-1,i=n?n.length:0;if("number"!=typeof i){var u;return ao(n,function(n,t,r){return e(n,t,r)?(u=n,!1):void 0}),u}for(;++o<i;){var a=n[o];if(e(a,o,n))return a}}function Xe(n,e,r){var o;return e=t.createCallback(e,r,3),Ge(n,function(n,t,r){return e(n,t,r)?(o=n,!1):void 0}),o}function Ye(n,e,t){var r=-1,o=n?n.length:0;if(e=e&&"undefined"==typeof t?e:E(e,t,3),"number"==typeof o)for(;++r<o&&e(n[r],r,n)!==!1;);else ao(n,e);return n}function Ge(n,e,t){var r=n?n.length:0;if(e=e&&"undefined"==typeof t?e:E(e,t,3),"number"==typeof r)for(;r--&&e(n[r],r,n)!==!1;);else{var o=Qr(n);r=o.length,ao(n,function(n,t,i){return t=o?o[--r]:--r,e(i[t],t,i)})}return n}function He(n,e){var t=d(arguments,2),r=-1,o="function"==typeof e,i=n?n.length:0,u=hr("number"==typeof i?i:0);return Ye(n,function(n){u[++r]=(o?e:n[e]).apply(n,t)}),u}function Qe(n,e,r){var o=-1,i=n?n.length:0;if(e=t.createCallback(e,r,3),"number"==typeof i)for(var u=hr(i);++o<i;)u[o]=e(n[o],o,n);else u=[],ao(n,function(n,t,r){u[++o]=e(n,t,r)});return u}function nt(n,e,r){var o=-1/0,i=o;if("function"!=typeof e&&r&&r[e]===n&&(e=null),null==e&&Gr(n))for(var a=-1,f=n.length;++a<f;){var s=n[a];s>i&&(i=s)}else e=null==e&&Te(n)?u:t.createCallback(e,r,3),Ye(n,function(n,t,r){var u=e(n,t,r);u>o&&(o=u,i=n)});return i}function et(n,e,r){var o=1/0,i=o;if("function"!=typeof e&&r&&r[e]===n&&(e=null),null==e&&Gr(n))for(var a=-1,f=n.length;++a<f;){var s=n[a];i>s&&(i=s)}else e=null==e&&Te(n)?u:t.createCallback(e,r,3),Ye(n,function(n,t,r){var u=e(n,t,r);o>u&&(o=u,i=n)});return i}function tt(n,e,r,o){if(!n)return r;var i=arguments.length<3;e=t.createCallback(e,o,4);var u=-1,a=n.length;if("number"==typeof a)for(i&&(r=n[++u]);++u<a;)r=e(r,n[u],u,n);else ao(n,function(n,t,o){r=i?(i=!1,n):e(r,n,t,o)});return r}function rt(n,e,r,o){var i=arguments.length<3;return e=t.createCallback(e,o,4),Ge(n,function(n,t,o){r=i?(i=!1,n):e(r,n,t,o)}),r}function ot(n,e,r){return e=t.createCallback(e,r,3),Ke(n,function(n,t,r){return!e(n,t,r)})}function it(n,e,t){if(n&&"number"!=typeof n.length&&(n=We(n)),null==e||t)return n?n[re(0,n.length-1)]:v;var r=ut(n);return r.length=Zr(Pr(0,e),r.length),r}function ut(n){var e=-1,t=n?n.length:0,r=hr("number"==typeof t?t:0);return Ye(n,function(n){var t=re(0,++e);r[e]=r[t],r[t]=n}),r}function at(n){var e=n?n.length:0;return"number"==typeof e?e:Qr(n).length}function ft(n,e,r){var o;e=t.createCallback(e,r,3);var i=-1,u=n?n.length:0;if("number"==typeof u)for(;++i<u&&!(o=e(n[i],i,n)););else ao(n,function(n,t,r){return!(o=e(n,t,r))});return!!o}function st(n,e,r){var o=-1,i=Gr(e),u=n?n.length:0,f=hr("number"==typeof u?u:0);for(i||(e=t.createCallback(e,r,3)),Ye(n,function(n,t,r){var u=f[++o]=c();i?u.criteria=Qe(e,function(e){return n[e]}):(u.criteria=l())[0]=e(n,t,r),u.index=o,u.value=n}),u=f.length,f.sort(a);u--;){var s=f[u];f[u]=s.value,i||p(s.criteria),h(s)}return f}function lt(n){return n&&"number"==typeof n.length?d(n):We(n)}function ct(n){for(var e=-1,t=n?n.length:0,r=[];++e<t;){var o=n[e];o&&r.push(o)}return r}function pt(n){return H(n,Q(arguments,!0,!0,1))}function ht(n,e,r){var o=-1,i=n?n.length:0;for(e=t.createCallback(e,r,3);++o<i;)if(e(n[o],o,n))return o;return-1}function dt(n,e,r){var o=n?n.length:0;for(e=t.createCallback(e,r,3);o--;)if(e(n[o],o,n))return o;return-1}function gt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=-1;for(e=t.createCallback(e,r,3);++u<i&&e(n[u],u,n);)o++}else if(o=e,null==o||r)return n?n[0]:v;return d(n,0,Zr(Pr(0,o),i))}function vt(n,e,t,r){return"boolean"!=typeof e&&null!=e&&(r=t,t="function"!=typeof e&&r&&r[e]===n?null:e,e=!1),null!=t&&(n=Qe(n,t,r)),Q(n,e)}function yt(e,t,r){if("number"==typeof r){var o=e?e.length:0;r=0>r?Pr(0,o+r):r||0}else if(r){var i=Ct(e,t);return e[i]===t?i:-1}return n(e,t,r)}function mt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=i;for(e=t.createCallback(e,r,3);u--&&e(n[u],u,n);)o++}else o=null==e||r?1:e||o;return d(n,0,Zr(Pr(0,i-o),i))}function bt(){for(var e=[],t=-1,r=arguments.length,i=l(),u=fe(),a=u===n,s=l();++t<r;){var c=arguments[t];(Gr(c)||pe(c))&&(e.push(c),i.push(a&&c.length>=_&&f(t?e[t]:s)))}var d=e[0],g=-1,v=d?d.length:0,y=[];n:for(;++g<v;){var m=i[0];if(c=d[g],(m?o(m,c):u(s,c))<0){for(t=r,(m||s).push(c);--t;)if(m=i[t],(m?o(m,c):u(e[t],c))<0)continue n;y.push(c)}}for(;r--;)m=i[r],m&&h(m);return p(i),p(s),y}function wt(n,e,r){var o=0,i=n?n.length:0;if("number"!=typeof e&&null!=e){var u=i;for(e=t.createCallback(e,r,3);u--&&e(n[u],u,n);)o++}else if(o=e,null==o||r)return n?n[i-1]:v;return d(n,Pr(0,i-o))}function _t(n,e,t){var r=n?n.length:0;for("number"==typeof t&&(r=(0>t?Pr(0,r+t):Zr(t,r-1))+1);r--;)if(n[r]===e)return r;return-1}function Et(n){for(var e=arguments,t=0,r=e.length,o=n?n.length:0;++t<r;)for(var i=-1,u=e[t];++i<o;)n[i]===u&&(Or.call(n,i--,1),o--);return n}function At(n,e,t){n=+n||0,t="number"==typeof t?t:+t||1,null==e&&(e=n,n=0);for(var r=-1,o=Pr(0,Br((e-n)/(t||1))),i=hr(o);++r<o;)i[r]=n,n+=t;return i}function kt(n,e,r){var o=-1,i=n?n.length:0,u=[];for(e=t.createCallback(e,r,3);++o<i;){var a=n[o];e(a,o,n)&&(u.push(a),Or.call(n,o--,1),i--)}return u}function It(n,e,r){if("number"!=typeof e&&null!=e){var o=0,i=-1,u=n?n.length:0;for(e=t.createCallback(e,r,3);++i<u&&e(n[i],i,n);)o++}else o=null==e||r?1:Pr(0,e);return d(n,o)}function Ct(n,e,r,o){var i=0,u=n?n.length:i;for(r=r?t.createCallback(r,o,1):Gt,e=r(e);u>i;){var a=i+u>>>1;r(n[a])<e?i=a+1:u=a}return i}function jt(){return oe(Q(arguments,!0,!0))}function Bt(n,e,r,o){return"boolean"!=typeof e&&null!=e&&(o=r,r="function"!=typeof e&&o&&o[e]===n?null:e,e=!1),null!=r&&(r=t.createCallback(r,o,3)),oe(n,e,r)}function xt(n){return H(n,d(arguments,1))}function Lt(){for(var n=-1,e=arguments.length;++n<e;){var t=arguments[n];if(Gr(t)||pe(t))var r=r?oe(H(r,t).concat(H(t,r))):t}return r||[]}function Ut(){for(var n=arguments.length>1?arguments:arguments[0],e=-1,t=n?nt(po(n,"length")):0,r=hr(0>t?0:t);++e<t;)r[e]=po(n,e);return r}function Mt(n,e){var t=-1,r=n?n.length:0,o={};for(e||!r||Gr(n[0])||(e=[]);++t<r;){var i=n[t];e?o[i]=e[t]:i&&(o[i[0]]=i[1])}return o}function St(n,e){if(!xe(e))throw new Er;return function(){return--n<1?e.apply(this,arguments):void 0}}function Nt(n,e){return arguments.length>2?ue(n,17,d(arguments,2),null,e):ue(n,1,null,null,e)}function Tt(n){for(var e=arguments.length>1?Q(arguments,!0,!1,1):we(n),t=-1,r=e.length;++t<r;){var o=e[t];n[o]=ue(n[o],1,null,null,n)}return n}function Ot(n,e){return arguments.length>2?ue(e,19,d(arguments,2),null,n):ue(e,3,null,null,n)}function Dt(){for(var n=arguments,e=n.length;e--;)if(!xe(n[e]))throw new Er;return function(){for(var e=arguments,t=n.length;t--;)e=[n[t].apply(this,e)];return e[0]}}function Ft(n,e){return e="number"==typeof e?e:+e||n.length,ue(n,4,null,null,null,e)}function $t(n,e,t){var r,o,i,u,a,f,s,l=0,c=!1,p=!0;if(!xe(n))throw new Er;if(e=Pr(0,e)||0,t===!0){var h=!0;p=!1}else Le(t)&&(h=t.leading,c="maxWait"in t&&(Pr(e,t.maxWait)||0),p="trailing"in t?t.trailing:p);var d=function(){var t=e-(go()-u);if(0>=t){o&&xr(o);var c=s;o=f=s=v,c&&(l=go(),i=n.apply(a,r),f||o||(r=a=null))}else f=Tr(d,t)},g=function(){f&&xr(f),o=f=s=v,(p||c!==e)&&(l=go(),i=n.apply(a,r),f||o||(r=a=null))};return function(){if(r=arguments,u=go(),a=this,s=p&&(f||!h),c===!1)var t=h&&!f;else{o||h||(l=u);var v=c-(u-l),y=0>=v;y?(o&&(o=xr(o)),l=u,i=n.apply(a,r)):o||(o=Tr(g,v))}return y&&f?f=xr(f):f||e===c||(f=Tr(d,e)),t&&(y=!0,i=n.apply(a,r)),!y||f||o||(r=a=null),i}}function Rt(n){if(!xe(n))throw new Er;var e=d(arguments,1);return Tr(function(){n.apply(v,e)},1)}function zt(n,e){if(!xe(n))throw new Er;var t=d(arguments,2);return Tr(function(){n.apply(v,t)},e)}function qt(n,e){if(!xe(n))throw new Er;var t=function(){var r=t.cache,o=e?e.apply(this,arguments):w+arguments[0];return Sr.call(r,o)?r[o]:r[o]=n.apply(this,arguments)};return t.cache={},t}function Wt(n){var e,t;if(!xe(n))throw new Er;return function(){return e?t:(e=!0,t=n.apply(this,arguments),n=null,t)}}function Pt(n){return ue(n,16,d(arguments,1))}function Zt(n){return ue(n,32,null,d(arguments,1))}function Jt(n,e,t){var r=!0,o=!0;if(!xe(n))throw new Er;return t===!1?r=!1:Le(t)&&(r="leading"in t?t.leading:r,o="trailing"in t?t.trailing:o),K.leading=r,K.maxWait=e,K.trailing=o,$t(n,e,K)}function Kt(n,e){return ue(e,16,[n])}function Vt(n){return function(){return n}}function Xt(n,e,t){var r=typeof n;if(null==n||"function"==r)return E(n,e,t);if("object"!=r)return er(n);var o=Qr(n),i=o[0],u=n[i];return 1!=o.length||u!==u||Le(u)?function(e){for(var t=o.length,r=!1;t--&&(r=ne(e[o[t]],n[o[t]],null,!0)););return r}:function(n){var e=n[i];return u===e&&(0!==u||1/u==1/e)}}function Yt(n){return null==n?"":_r(n).replace(ro,ae)}function Gt(n){return n}function Ht(n,e,o){var i=!0,u=e&&we(e);e&&(o||u.length)||(null==o&&(o=e),a=r,e=n,n=t,u=we(e)),o===!1?i=!1:Le(o)&&"chain"in o&&(i=o.chain);var a=n,f=xe(a);Ye(u,function(t){var r=n[t]=e[t];f&&(a.prototype[t]=function(){var e=this.__chain__,t=this.__wrapped__,o=[t];Nr.apply(o,arguments);var u=r.apply(n,o);if(i||e){if(t===u&&Le(u))return this;u=new a(u),u.__chain__=e}return u})})}function Qt(){return e._=Ir,this}function nr(){}function er(n){return function(e){return e[n]}}function tr(n,e,t){var r=null==n,o=null==e;if(null==t&&("boolean"==typeof n&&o?(t=n,n=1):o||"boolean"!=typeof e||(t=e,o=!0)),r&&o&&(e=1),n=+n||0,o?(e=n,n=0):e=+e||0,t||n%1||e%1){var i=Kr();return Zr(n+i*(e-n+parseFloat("1e-"+((i+"").length-1))),e)}return re(n,e)}function rr(n,e){if(n){var t=n[e];return xe(t)?n[e]():t}}function or(n,e,r){var o=t.templateSettings;n=_r(n||""),r=io({},r,o);var i,u=io({},r.imports,o.imports),a=Qr(u),f=We(u),l=0,c=r.interpolate||M,p="__p += '",h=wr((r.escape||M).source+"|"+c.source+"|"+(c===L?j:M).source+"|"+(r.evaluate||M).source+"|$","g");n.replace(h,function(e,t,r,o,u,a){return r||(r=o),p+=n.slice(l,a).replace(N,s),t&&(p+="' +\n__e("+t+") +\n'"),u&&(i=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=a+e.length,e}),p+="';\n";var d=r.variable,g=d;g||(d="obj",p="with ("+d+") {\n"+p+"\n}\n"),p=(i?p.replace(k,""):p).replace(I,"$1").replace(C,"$1;"),p="function("+d+") {\n"+(g?"":d+" || ("+d+" = {});\n")+"var __t, __p = '', __e = _.escape"+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y="\n/*\n//# sourceURL="+(r.sourceURL||"/lodash/template/source["+O++ +"]")+"\n*/";try{var m=vr(a,"return "+p+y).apply(v,f)}catch(b){throw b.source=p,b}return e?m(e):(m.source=p,m)}function ir(n,e,t){n=(n=+n)>-1?n:0;var r=-1,o=hr(n);for(e=E(e,t,1);++r<n;)o[r]=e(r);return o}function ur(n){return null==n?"":_r(n).replace(to,ce)}function ar(n){var e=++b;return _r(null==n?"":n)+e}function fr(n){return n=new r(n),n.__chain__=!0,n}function sr(n,e){return e(n),n}function lr(){return this.__chain__=!0,this}function cr(){return _r(this.__wrapped__)}function pr(){return this.__wrapped__}e=e?te.defaults(G.Object(),e,te.pick(G,T)):G;var hr=e.Array,dr=e.Boolean,gr=e.Date,vr=e.Function,yr=e.Math,mr=e.Number,br=e.Object,wr=e.RegExp,_r=e.String,Er=e.TypeError,Ar=[],kr=br.prototype,Ir=e._,Cr=kr.toString,jr=wr("^"+_r(Cr).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),Br=yr.ceil,xr=e.clearTimeout,Lr=yr.floor,Ur=vr.prototype.toString,Mr=se(Mr=br.getPrototypeOf)&&Mr,Sr=kr.hasOwnProperty,Nr=Ar.push,Tr=e.setTimeout,Or=Ar.splice,Dr=Ar.unshift,Fr=function(){try{var n={},e=se(e=br.defineProperty)&&e,t=e(n,n,n)&&e}catch(r){}return t}(),$r=se($r=br.create)&&$r,Rr=se(Rr=hr.isArray)&&Rr,zr=e.isFinite,qr=e.isNaN,Wr=se(Wr=br.keys)&&Wr,Pr=yr.max,Zr=yr.min,Jr=e.parseInt,Kr=yr.random,Vr={};Vr[F]=hr,Vr[$]=dr,Vr[R]=gr,Vr[z]=vr,Vr[W]=br,Vr[q]=mr,Vr[P]=wr,Vr[Z]=_r,r.prototype=t.prototype;var Xr=t.support={};Xr.funcDecomp=!se(e.WinRTError)&&S.test(g),Xr.funcNames="string"==typeof vr.name,t.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:L,variable:"",imports:{_:t}},$r||(m=function(){function n(){}return function(t){if(Le(t)){n.prototype=t;var r=new n;n.prototype=null}return r||e.Object()}}());var Yr=Fr?function(n,e){V.value=e,Fr(n,"__bindData__",V)}:nr,Gr=Rr||function(n){return n&&"object"==typeof n&&"number"==typeof n.length&&Cr.call(n)==F||!1},Hr=function(n){var e,t=n,r=[];if(!t)return r;if(!X[typeof n])return r;for(e in t)Sr.call(t,e)&&r.push(e);return r},Qr=Wr?function(n){return Le(n)?Wr(n):[]}:Hr,no={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},eo=Ee(no),to=wr("("+Qr(eo).join("|")+")","g"),ro=wr("["+Qr(no).join("")+"]","g"),oo=function(n,e,t){var r,o=n,i=o;if(!o)return i;var u=arguments,a=0,f="number"==typeof t?2:u.length;if(f>3&&"function"==typeof u[f-2])var s=E(u[--f-1],u[f--],2);else f>2&&"function"==typeof u[f-1]&&(s=u[--f]);for(;++a<f;)if(o=u[a],o&&X[typeof o])for(var l=-1,c=X[typeof o]&&Qr(o),p=c?c.length:0;++l<p;)r=c[l],i[r]=s?s(i[r],o[r]):o[r];return i},io=function(n,e,t){var r,o=n,i=o;if(!o)return i;for(var u=arguments,a=0,f="number"==typeof t?2:u.length;++a<f;)if(o=u[a],o&&X[typeof o])for(var s=-1,l=X[typeof o]&&Qr(o),c=l?l.length:0;++s<c;)r=l[s],"undefined"==typeof i[r]&&(i[r]=o[r]);return i},uo=function(n,e,t){var r,o=n,i=o;if(!o)return i;if(!X[typeof o])return i;e=e&&"undefined"==typeof t?e:E(e,t,3);for(r in o)if(e(o[r],r,n)===!1)return i;return i},ao=function(n,e,t){var r,o=n,i=o;if(!o)return i;if(!X[typeof o])return i;e=e&&"undefined"==typeof t?e:E(e,t,3);for(var u=-1,a=X[typeof o]&&Qr(o),f=a?a.length:0;++u<f;)if(r=a[u],e(o[r],r,n)===!1)return i;return i},fo=Mr?function(n){if(!n||Cr.call(n)!=W)return!1;var e=n.valueOf,t=se(e)&&(t=Mr(e))&&Mr(t);return t?n==t||Mr(n)==t:le(n)}:le,so=ie(function(n,e,t){Sr.call(n,t)?n[t]++:n[t]=1}),lo=ie(function(n,e,t){(Sr.call(n,t)?n[t]:n[t]=[]).push(e)}),co=ie(function(n,e,t){n[t]=e}),po=Qe,ho=Ke,go=se(go=gr.now)&&go||function(){return(new gr).getTime()},vo=8==Jr(A+"08")?Jr:function(n,e){return Jr(Te(n)?n.replace(U,""):n,e||0)};return t.after=St,t.assign=oo,t.at=Pe,t.bind=Nt,t.bindAll=Tt,t.bindKey=Ot,t.chain=fr,t.compact=ct,t.compose=Dt,t.constant=Vt,t.countBy=so,t.create=ge,t.createCallback=Xt,t.curry=Ft,t.debounce=$t,t.defaults=io,t.defer=Rt,t.delay=zt,t.difference=pt,t.filter=Ke,t.flatten=vt,t.forEach=Ye,t.forEachRight=Ge,t.forIn=uo,t.forInRight=me,t.forOwn=ao,t.forOwnRight=be,t.functions=we,t.groupBy=lo,t.indexBy=co,t.initial=mt,t.intersection=bt,t.invert=Ee,t.invoke=He,t.keys=Qr,t.map=Qe,t.mapValues=De,t.max=nt,t.memoize=qt,t.merge=Fe,t.min=et,t.omit=$e,t.once=Wt,t.pairs=Re,t.partial=Pt,t.partialRight=Zt,t.pick=ze,t.pluck=po,t.property=er,t.pull=Et,t.range=At,t.reject=ot,t.remove=kt,t.rest=It,t.shuffle=ut,t.sortBy=st,t.tap=sr,t.throttle=Jt,t.times=ir,t.toArray=lt,t.transform=qe,t.union=jt,t.uniq=Bt,t.values=We,t.where=ho,t.without=xt,t.wrap=Kt,t.xor=Lt,t.zip=Ut,t.zipObject=Mt,t.collect=Qe,t.drop=It,t.each=Ye,t.eachRight=Ge,t.extend=oo,t.methods=we,t.object=Mt,t.select=Ke,t.tail=It,t.unique=Bt,t.unzip=Ut,Ht(t),t.clone=he,t.cloneDeep=de,t.contains=Ze,t.escape=Yt,t.every=Je,t.find=Ve,t.findIndex=ht,t.findKey=ve,t.findLast=Xe,t.findLastIndex=dt,t.findLastKey=ye,t.has=_e,t.identity=Gt,t.indexOf=yt,t.isArguments=pe,t.isArray=Gr,t.isBoolean=Ae,t.isDate=ke,t.isElement=Ie,t.isEmpty=Ce,t.isEqual=je,t.isFinite=Be,t.isFunction=xe,t.isNaN=Ue,t.isNull=Me,t.isNumber=Se,t.isObject=Le,t.isPlainObject=fo,t.isRegExp=Ne,t.isString=Te,t.isUndefined=Oe,t.lastIndexOf=_t,t.mixin=Ht,t.noConflict=Qt,t.noop=nr,t.now=go,t.parseInt=vo,t.random=tr,t.reduce=tt,t.reduceRight=rt,t.result=rr,t.runInContext=g,t.size=at,t.some=ft,t.sortedIndex=Ct,t.template=or,t.unescape=ur,t.uniqueId=ar,t.all=Je,t.any=ft,t.detect=Ve,t.findWhere=Ve,t.foldl=tt,t.foldr=rt,t.include=Ze,t.inject=tt,Ht(function(){var n={};return ao(t,function(e,r){t.prototype[r]||(n[r]=e)}),n}(),!1),t.first=gt,t.last=wt,t.sample=it,t.take=gt,t.head=gt,ao(t,function(n,e){var o="sample"!==e;t.prototype[e]||(t.prototype[e]=function(e,t){var i=this.__chain__,u=n(this.__wrapped__,e,t);return i||null!=e&&(!t||o&&"function"==typeof e)?new r(u,i):u})}),t.VERSION="2.4.1",t.prototype.chain=lr,t.prototype.toString=cr,t.prototype.value=pr,t.prototype.valueOf=pr,Ye(["join","pop","shift"],function(n){var e=Ar[n];t.prototype[n]=function(){var n=this.__chain__,t=e.apply(this.__wrapped__,arguments);return n?new r(t,n):t}}),Ye(["push","reverse","sort","unshift"],function(n){var e=Ar[n];t.prototype[n]=function(){return e.apply(this.__wrapped__,arguments),this}}),Ye(["concat","slice","splice"],function(n){var e=Ar[n];t.prototype[n]=function(){return new r(e.apply(this.__wrapped__,arguments),this.__chain__)}}),t}var v,y=[],m=[],b=0,w=+new Date+"",_=75,E=40,A=" \f \n\r\u2028\u2029 ᠎              ",k=/\b__p \+= '';/g,I=/\b(__p \+=) '' \+/g,C=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,B=/\w*$/,x=/^\s*function[ \n\r\t]+\w/,L=/<%=([\s\S]+?)%>/g,U=RegExp("^["+A+"]*0+(?=.$)"),M=/($^)/,S=/\bthis\b/,N=/['\n\r\t\u2028\u2029\\]/g,T=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],O=0,D="[object Arguments]",F="[object Array]",$="[object Boolean]",R="[object Date]",z="[object Function]",q="[object Number]",W="[object Object]",P="[object RegExp]",Z="[object String]",J={};J[z]=!1,J[D]=J[F]=J[$]=J[R]=J[q]=J[W]=J[P]=J[Z]=!0;var K={leading:!1,maxWait:0,trailing:!1},V={configurable:!1,enumerable:!1,value:null,writable:!1},X={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},Y={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},G=X[typeof window]&&window||this,H=X[typeof t]&&t&&!t.nodeType&&t,Q=X[typeof e]&&e&&!e.nodeType&&e,ne=Q&&Q.exports===H&&H,ee=X[typeof r]&&r;!ee||ee.global!==ee&&ee.window!==ee||(G=ee);var te=g();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(G._=te,define(function(){return te})):H&&Q?ne?(Q.exports=te)._=te:H._=te:G._=te}).call(this)}).call(this,n("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/lodash/dist/lodash.js","/../../node_modules/lodash/dist")},{buffer:8,oMfpAn:11}]},{},[3]);
@@ -0,0 +1,3 @@
1
+ //= require jskit_legacy
2
+
3
+ var <%= JskitRails.configuration.app_namespace %> = JSKit.createApplication();
@@ -0,0 +1,3 @@
1
+ //= require jskit_legacy.min
2
+
3
+ var <%= JskitRails.configuration.app_namespace %> = JSKit.createApplication();
@@ -1,3 +1,3 @@
1
- //= require jskit_standalone_min
1
+ //= require jskit_standalone.min
2
2
 
3
3
  var <%= JskitRails.configuration.app_namespace %> = JSKit.createApplication();
@@ -8602,7 +8602,7 @@ var Controller = ($__controller__ = require("./controller"), $__controller__ &&
8602
8602
  }
8603
8603
  };
8604
8604
 
8605
- }).call(this,require("oMfpAn"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_b0a065e4.js","/")
8605
+ }).call(this,require("oMfpAn"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_84388df4.js","/")
8606
8606
  },{"./application":8,"./controller":9,"./test_dispatcher":12,"buffer":3,"oMfpAn":6}],11:[function(require,module,exports){
8607
8607
  (function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,__filename,__dirname){
8608
8608
  "use strict";
@@ -1,2 +1,2 @@
1
1
  !function e(n,t,r){function o(u,a){if(!t[u]){if(!n[u]){var f="function"==typeof require&&require;if(!a&&f)return f(u,!0);if(i)return i(u,!0);throw new Error("Cannot find module '"+u+"'")}var s=t[u]={exports:{}};n[u][0].call(s.exports,function(e){var t=n[u][1][e];return o(t?t:e)},s,s.exports,e,n,t,r)}return t[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,n,t){(function(){!function(){function e(){return{keys:Object.keys||function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("keys() called on a non-object");var n,t=[];for(n in e)e.hasOwnProperty(n)&&(t[t.length]=n);return t},uniqueId:function(e){var n=++s+"";return e?e+n:n},has:function(e,n){return a.call(e,n)},each:function(e,n,t){if(null!=e)if(u&&e.forEach===u)e.forEach(n,t);else if(e.length===+e.length){for(var r=0,o=e.length;o>r;r++)if(n.call(t,e[r],r,e)===i)return}else for(var a in e)if(this.has(e,a)&&n.call(t,e[a],a,e)===i)return},once:function(e){var n,t=!1;return function(){return t?n:(t=!0,n=e.apply(this,arguments),e=null,n)}}}}var r,o=this,i={},u=Array.prototype.forEach,a=Object.prototype.hasOwnProperty,f=Array.prototype.slice,s=0,l=e();r={on:function(e,n,t){if(!p(this,"on",e,[n,t])||!n)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:n,context:t,ctx:t||this}),this},once:function(e,n,t){if(!p(this,"once",e,[n,t])||!n)return this;var r=this,o=l.once(function(){r.off(e,o),n.apply(this,arguments)});return o._callback=n,this.on(e,o,t)},off:function(e,n,t){var r,o,i,u,a,f,s,c;if(!this._events||!p(this,"off",e,[n,t]))return this;if(!e&&!n&&!t)return this._events={},this;for(u=e?[e]:l.keys(this._events),a=0,f=u.length;f>a;a++)if(e=u[a],i=this._events[e]){if(this._events[e]=r=[],n||t)for(s=0,c=i.length;c>s;s++)o=i[s],(n&&n!==o.callback&&n!==o.callback._callback||t&&t!==o.context)&&r.push(o);r.length||delete this._events[e]}return this},trigger:function(e){if(!this._events)return this;var n=f.call(arguments,1);if(!p(this,"trigger",e,n))return this;var t=this._events[e],r=this._events.all;return t&&h(t,n),r&&h(r,arguments),this},stopListening:function(e,n,t){var r=this._listeners;if(!r)return this;var o=!n&&!t;"object"==typeof n&&(t=this),e&&((r={})[e._listenerId]=e);for(var i in r)r[i].off(n,t,this),o&&delete this._listeners[i];return this}};var c=/\s+/,p=function(e,n,t,r){if(!t)return!0;if("object"==typeof t){for(var o in t)e[n].apply(e,[o,t[o]].concat(r));return!1}if(c.test(t)){for(var i=t.split(c),u=0,a=i.length;a>u;u++)e[n].apply(e,[i[u]].concat(r));return!1}return!0},h=function(e,n){var t,r=-1,o=e.length,i=n[0],u=n[1],a=n[2];switch(n.length){case 0:for(;++r<o;)(t=e[r]).callback.call(t.ctx);return;case 1:for(;++r<o;)(t=e[r]).callback.call(t.ctx,i);return;case 2:for(;++r<o;)(t=e[r]).callback.call(t.ctx,i,u);return;case 3:for(;++r<o;)(t=e[r]).callback.call(t.ctx,i,u,a);return;default:for(;++r<o;)(t=e[r]).callback.apply(t.ctx,n)}},d={listenTo:"on",listenToOnce:"once"};l.each(d,function(e,n){r[n]=function(n,t,r){var o=this._listeners||(this._listeners={}),i=n._listenerId||(n._listenerId=l.uniqueId("l"));return o[i]=n,"object"==typeof t&&(r=this),n[e](t,r,this),this}}),r.bind=r.on,r.unbind=r.off,r.mixin=function(e){var n=["on","once","off","trigger","stopListening","listenTo","listenToOnce","bind","unbind"];return l.each(n,function(n){e[n]=this[n]},this),e},"function"==typeof define?define(function(){return r}):"undefined"!=typeof t?("undefined"!=typeof n&&n.exports&&(t=n.exports=r),t.BackboneEvents=r):o.BackboneEvents=r}(this)}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/backbone-events-standalone/backbone-events-standalone.js","/../../node_modules/backbone-events-standalone")},{buffer:3,oMfpAn:6}],2:[function(e,n){(function(){n.exports=e("./backbone-events-standalone")}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/backbone-events-standalone/index.js","/../../node_modules/backbone-events-standalone")},{"./backbone-events-standalone":1,buffer:3,oMfpAn:6}],3:[function(e,n,t){(function(n,r,o){function o(e,n,t){if(!(this instanceof o))return new o(e,n,t);var r=typeof e;if("base64"===n&&"string"===r)for(e=x(e);e.length%4!==0;)e+="=";var i;if("number"===r)i=M(e);else if("string"===r)i=o.byteLength(e,n);else{if("object"!==r)throw new Error("First argument needs to be a number, array or string.");i=M(e.length)}var u;o._useTypedArrays?u=o._augment(new Uint8Array(i)):(u=this,u.length=i,u._isBuffer=!0);var a;if(o._useTypedArrays&&"number"==typeof e.byteLength)u._set(e);else if(S(e))for(a=0;i>a;a++)u[a]=o.isBuffer(e)?e.readUInt8(a):e[a];else if("string"===r)u.write(e,0,n);else if("number"===r&&!o._useTypedArrays&&!t)for(a=0;i>a;a++)u[a]=0;return u}function i(e,n,t,r){t=Number(t)||0;var i=e.length-t;r?(r=Number(r),r>i&&(r=i)):r=i;var u=n.length;W(u%2===0,"Invalid hex string"),r>u/2&&(r=u/2);for(var a=0;r>a;a++){var f=parseInt(n.substr(2*a,2),16);W(!isNaN(f),"Invalid hex string"),e[t+a]=f}return o._charsWritten=2*a,a}function u(e,n,t,r){var i=o._charsWritten=F(T(n),e,t,r);return i}function a(e,n,t,r){var i=o._charsWritten=F(O(n),e,t,r);return i}function f(e,n,t,r){return a(e,n,t,r)}function s(e,n,t,r){var i=o._charsWritten=F($(n),e,t,r);return i}function l(e,n,t,r){var i=o._charsWritten=F(D(n),e,t,r);return i}function c(e,n,t){return Z.fromByteArray(0===n&&t===e.length?e:e.slice(n,t))}function p(e,n,t){var r="",o="";t=Math.min(e.length,t);for(var i=n;t>i;i++)e[i]<=127?(r+=R(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return r+R(o)}function h(e,n,t){var r="";t=Math.min(e.length,t);for(var o=n;t>o;o++)r+=String.fromCharCode(e[o]);return r}function d(e,n,t){return h(e,n,t)}function g(e,n,t){var r=e.length;(!n||0>n)&&(n=0),(!t||0>t||t>r)&&(t=r);for(var o="",i=n;t>i;i++)o+=N(e[i]);return o}function v(e,n,t){for(var r=e.slice(n,t),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function y(e,n,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==n&&null!==n,"missing offset"),W(n+1<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(n>=o)){var i;return t?(i=e[n],o>n+1&&(i|=e[n+1]<<8)):(i=e[n]<<8,o>n+1&&(i|=e[n+1])),i}}function m(e,n,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==n&&null!==n,"missing offset"),W(n+3<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(n>=o)){var i;return t?(o>n+2&&(i=e[n+2]<<16),o>n+1&&(i|=e[n+1]<<8),i|=e[n],o>n+3&&(i+=e[n+3]<<24>>>0)):(o>n+1&&(i=e[n+1]<<16),o>n+2&&(i|=e[n+2]<<8),o>n+3&&(i|=e[n+3]),i+=e[n]<<24>>>0),i}}function b(e,n,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==n&&null!==n,"missing offset"),W(n+1<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(n>=o)){var i=y(e,n,t,!0),u=32768&i;return u?-1*(65535-i+1):i}}function w(e,n,t,r){r||(W("boolean"==typeof t,"missing or invalid endian"),W(void 0!==n&&null!==n,"missing offset"),W(n+3<e.length,"Trying to read beyond buffer length"));var o=e.length;if(!(n>=o)){var i=m(e,n,t,!0),u=2147483648&i;return u?-1*(4294967295-i+1):i}}function _(e,n,t,r){return r||(W("boolean"==typeof t,"missing or invalid endian"),W(n+3<e.length,"Trying to read beyond buffer length")),J.read(e,n,t,23,4)}function E(e,n,t,r){return r||(W("boolean"==typeof t,"missing or invalid endian"),W(n+7<e.length,"Trying to read beyond buffer length")),J.read(e,n,t,52,8)}function A(e,n,t,r,o){o||(W(void 0!==n&&null!==n,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+1<e.length,"trying to write beyond buffer length"),z(n,65535));var i=e.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,2);a>u;u++)e[t+u]=(n&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}function k(e,n,t,r,o){o||(W(void 0!==n&&null!==n,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+3<e.length,"trying to write beyond buffer length"),z(n,4294967295));var i=e.length;if(!(t>=i))for(var u=0,a=Math.min(i-t,4);a>u;u++)e[t+u]=n>>>8*(r?u:3-u)&255}function C(e,n,t,r,o){o||(W(void 0!==n&&null!==n,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+1<e.length,"Trying to write beyond buffer length"),P(n,32767,-32768));var i=e.length;t>=i||(n>=0?A(e,n,t,r,o):A(e,65535+n+1,t,r,o))}function I(e,n,t,r,o){o||(W(void 0!==n&&null!==n,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+3<e.length,"Trying to write beyond buffer length"),P(n,2147483647,-2147483648));var i=e.length;t>=i||(n>=0?k(e,n,t,r,o):k(e,4294967295+n+1,t,r,o))}function j(e,n,t,r,o){o||(W(void 0!==n&&null!==n,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+3<e.length,"Trying to write beyond buffer length"),q(n,3.4028234663852886e38,-3.4028234663852886e38));var i=e.length;t>=i||J.write(e,n,t,r,23,4)}function B(e,n,t,r,o){o||(W(void 0!==n&&null!==n,"missing value"),W("boolean"==typeof r,"missing or invalid endian"),W(void 0!==t&&null!==t,"missing offset"),W(t+7<e.length,"Trying to write beyond buffer length"),q(n,1.7976931348623157e308,-1.7976931348623157e308));var i=e.length;t>=i||J.write(e,n,t,r,52,8)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function L(e,n,t){return"number"!=typeof e?t:(e=~~e,e>=n?n:e>=0?e:(e+=n,e>=0?e:0))}function M(e){return e=~~Math.ceil(+e),0>e?0:e}function U(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function S(e){return U(e)||o.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function N(e){return 16>e?"0"+e.toString(16):e.toString(16)}function T(e){for(var n=[],t=0;t<e.length;t++){var r=e.charCodeAt(t);if(127>=r)n.push(e.charCodeAt(t));else{var o=t;r>=55296&&57343>=r&&t++;for(var i=encodeURIComponent(e.slice(o,t+1)).substr(1).split("%"),u=0;u<i.length;u++)n.push(parseInt(i[u],16))}}return n}function O(e){for(var n=[],t=0;t<e.length;t++)n.push(255&e.charCodeAt(t));return n}function D(e){for(var n,t,r,o=[],i=0;i<e.length;i++)n=e.charCodeAt(i),t=n>>8,r=n%256,o.push(r),o.push(t);return o}function $(e){return Z.toByteArray(e)}function F(e,n,t,r){for(var o=0;r>o&&!(o+t>=n.length||o>=e.length);o++)n[o+t]=e[o];return o}function R(e){try{return decodeURIComponent(e)}catch(n){return String.fromCharCode(65533)}}function z(e,n){W("number"==typeof e,"cannot write a non-number as a number"),W(e>=0,"specified a negative value for writing an unsigned value"),W(n>=e,"value is larger than maximum value for type"),W(Math.floor(e)===e,"value has a fractional component")}function P(e,n,t){W("number"==typeof e,"cannot write a non-number as a number"),W(n>=e,"value larger than maximum allowed value"),W(e>=t,"value smaller than minimum allowed value"),W(Math.floor(e)===e,"value has a fractional component")}function q(e,n,t){W("number"==typeof e,"cannot write a non-number as a number"),W(n>=e,"value larger than maximum allowed value"),W(e>=t,"value smaller than minimum allowed value")}function W(e,n){if(!e)throw new Error(n||"Failed assertion")}var Z=e("base64-js"),J=e("ieee754");t.Buffer=o,t.SlowBuffer=o,t.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),n=new Uint8Array(e);return n.foo=function(){return 42},42===n.foo()&&"function"==typeof n.subarray}catch(t){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},o.byteLength=function(e,n){var t;switch(e+="",n||"utf8"){case"hex":t=e.length/2;break;case"utf8":case"utf-8":t=T(e).length;break;case"ascii":case"binary":case"raw":t=e.length;break;case"base64":t=$(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":t=2*e.length;break;default:throw new Error("Unknown encoding")}return t},o.concat=function(e,n){if(W(U(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];var t;if("number"!=typeof n)for(n=0,t=0;t<e.length;t++)n+=e[t].length;var r=new o(n),i=0;for(t=0;t<e.length;t++){var u=e[t];u.copy(r,i),i+=u.length}return r},o.prototype.write=function(e,n,t,r){if(isFinite(n))isFinite(t)||(r=t,t=void 0);else{var o=r;r=n,n=t,t=o}n=Number(n)||0;var c=this.length-n;t?(t=Number(t),t>c&&(t=c)):t=c,r=String(r||"utf8").toLowerCase();var p;switch(r){case"hex":p=i(this,e,n,t);break;case"utf8":case"utf-8":p=u(this,e,n,t);break;case"ascii":p=a(this,e,n,t);break;case"binary":p=f(this,e,n,t);break;case"base64":p=s(this,e,n,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":p=l(this,e,n,t);break;default:throw new Error("Unknown encoding")}return p},o.prototype.toString=function(e,n,t){var r=this;if(e=String(e||"utf8").toLowerCase(),n=Number(n)||0,t=void 0!==t?Number(t):t=r.length,t===n)return"";var o;switch(e){case"hex":o=g(r,n,t);break;case"utf8":case"utf-8":o=p(r,n,t);break;case"ascii":o=h(r,n,t);break;case"binary":o=d(r,n,t);break;case"base64":o=c(r,n,t);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=v(r,n,t);break;default:throw new Error("Unknown encoding")}return o},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,n,t,r){var i=this;if(t||(t=0),r||0===r||(r=this.length),n||(n=0),r!==t&&0!==e.length&&0!==i.length){W(r>=t,"sourceEnd < sourceStart"),W(n>=0&&n<e.length,"targetStart out of bounds"),W(t>=0&&t<i.length,"sourceStart out of bounds"),W(r>=0&&r<=i.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),e.length-n<r-t&&(r=e.length-n+t);var u=r-t;if(100>u||!o._useTypedArrays)for(var a=0;u>a;a++)e[a+n]=this[a+t];else e._set(this.subarray(t,t+u),n)}},o.prototype.slice=function(e,n){var t=this.length;if(e=L(e,t,0),n=L(n,t,t),o._useTypedArrays)return o._augment(this.subarray(e,n));for(var r=n-e,i=new o(r,void 0,!0),u=0;r>u;u++)i[u]=this[u+e];return i},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,n){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,n)},o.prototype.readUInt8=function(e,n){return n||(W(void 0!==e&&null!==e,"missing offset"),W(e<this.length,"Trying to read beyond buffer length")),e>=this.length?void 0:this[e]},o.prototype.readUInt16LE=function(e,n){return y(this,e,!0,n)},o.prototype.readUInt16BE=function(e,n){return y(this,e,!1,n)},o.prototype.readUInt32LE=function(e,n){return m(this,e,!0,n)},o.prototype.readUInt32BE=function(e,n){return m(this,e,!1,n)},o.prototype.readInt8=function(e,n){if(n||(W(void 0!==e&&null!==e,"missing offset"),W(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length)){var t=128&this[e];return t?-1*(255-this[e]+1):this[e]}},o.prototype.readInt16LE=function(e,n){return b(this,e,!0,n)},o.prototype.readInt16BE=function(e,n){return b(this,e,!1,n)},o.prototype.readInt32LE=function(e,n){return w(this,e,!0,n)},o.prototype.readInt32BE=function(e,n){return w(this,e,!1,n)},o.prototype.readFloatLE=function(e,n){return _(this,e,!0,n)},o.prototype.readFloatBE=function(e,n){return _(this,e,!1,n)},o.prototype.readDoubleLE=function(e,n){return E(this,e,!0,n)},o.prototype.readDoubleBE=function(e,n){return E(this,e,!1,n)},o.prototype.writeUInt8=function(e,n,t){t||(W(void 0!==e&&null!==e,"missing value"),W(void 0!==n&&null!==n,"missing offset"),W(n<this.length,"trying to write beyond buffer length"),z(e,255)),n>=this.length||(this[n]=e)},o.prototype.writeUInt16LE=function(e,n,t){A(this,e,n,!0,t)},o.prototype.writeUInt16BE=function(e,n,t){A(this,e,n,!1,t)},o.prototype.writeUInt32LE=function(e,n,t){k(this,e,n,!0,t)},o.prototype.writeUInt32BE=function(e,n,t){k(this,e,n,!1,t)},o.prototype.writeInt8=function(e,n,t){t||(W(void 0!==e&&null!==e,"missing value"),W(void 0!==n&&null!==n,"missing offset"),W(n<this.length,"Trying to write beyond buffer length"),P(e,127,-128)),n>=this.length||(e>=0?this.writeUInt8(e,n,t):this.writeUInt8(255+e+1,n,t))},o.prototype.writeInt16LE=function(e,n,t){C(this,e,n,!0,t)},o.prototype.writeInt16BE=function(e,n,t){C(this,e,n,!1,t)},o.prototype.writeInt32LE=function(e,n,t){I(this,e,n,!0,t)},o.prototype.writeInt32BE=function(e,n,t){I(this,e,n,!1,t)},o.prototype.writeFloatLE=function(e,n,t){j(this,e,n,!0,t)},o.prototype.writeFloatBE=function(e,n,t){j(this,e,n,!1,t)},o.prototype.writeDoubleLE=function(e,n,t){B(this,e,n,!0,t)},o.prototype.writeDoubleBE=function(e,n,t){B(this,e,n,!1,t)},o.prototype.fill=function(e,n,t){if(e||(e=0),n||(n=0),t||(t=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),W("number"==typeof e&&!isNaN(e),"value is not a number"),W(t>=n,"end < start"),t!==n&&0!==this.length){W(n>=0&&n<this.length,"start out of bounds"),W(t>=0&&t<=this.length,"end out of bounds");for(var r=n;t>r;r++)this[r]=e}},o.prototype.inspect=function(){for(var e=[],n=this.length,r=0;n>r;r++)if(e[r]=N(this[r]),r===t.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),n=0,t=e.length;t>n;n+=1)e[n]=this[n];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var K=o.prototype;o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=K.get,e.set=K.set,e.write=K.write,e.toString=K.toString,e.toLocaleString=K.toString,e.toJSON=K.toJSON,e.copy=K.copy,e.slice=K.slice,e.readUInt8=K.readUInt8,e.readUInt16LE=K.readUInt16LE,e.readUInt16BE=K.readUInt16BE,e.readUInt32LE=K.readUInt32LE,e.readUInt32BE=K.readUInt32BE,e.readInt8=K.readInt8,e.readInt16LE=K.readInt16LE,e.readInt16BE=K.readInt16BE,e.readInt32LE=K.readInt32LE,e.readInt32BE=K.readInt32BE,e.readFloatLE=K.readFloatLE,e.readFloatBE=K.readFloatBE,e.readDoubleLE=K.readDoubleLE,e.readDoubleBE=K.readDoubleBE,e.writeUInt8=K.writeUInt8,e.writeUInt16LE=K.writeUInt16LE,e.writeUInt16BE=K.writeUInt16BE,e.writeUInt32LE=K.writeUInt32LE,e.writeUInt32BE=K.writeUInt32BE,e.writeInt8=K.writeInt8,e.writeInt16LE=K.writeInt16LE,e.writeInt16BE=K.writeInt16BE,e.writeInt32LE=K.writeInt32LE,e.writeInt32BE=K.writeInt32BE,e.writeFloatLE=K.writeFloatLE,e.writeFloatBE=K.writeFloatBE,e.writeDoubleLE=K.writeDoubleLE,e.writeDoubleBE=K.writeDoubleBE,e.fill=K.fill,e.inspect=K.inspect,e.toArrayBuffer=K.toArrayBuffer,e}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/index.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer")},{"base64-js":4,buffer:3,ieee754:5,oMfpAn:6}],4:[function(e,n,t){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(n){"use strict";function t(e){var n=e.charCodeAt(0);return n===u?62:n===a?63:f>n?-1:f+10>n?n-f+26+26:l+26>n?n-l:s+26>n?n-s+26:void 0}function r(e){function n(e){s[c++]=e}var r,o,u,a,f,s;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=e.length;f="="===e.charAt(l-2)?2:"="===e.charAt(l-1)?1:0,s=new i(3*e.length/4-f),u=f>0?e.length-4:e.length;var c=0;for(r=0,o=0;u>r;r+=4,o+=3)a=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===f?(a=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&a)):1===f&&(a=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(a>>8&255),n(255&a)),s}function o(n){function t(n){return e.charAt(n)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var o,i,u,a=n.length%3,f="";for(o=0,u=n.length-a;u>o;o+=3)i=(n[o]<<16)+(n[o+1]<<8)+n[o+2],f+=r(i);switch(a){case 1:i=n[n.length-1],f+=t(i>>2),f+=t(i<<4&63),f+="==";break;case 2:i=(n[n.length-2]<<8)+n[n.length-1],f+=t(i>>10),f+=t(i>>4&63),f+=t(i<<2&63),f+="="}return f}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,u="+".charCodeAt(0),a="/".charCodeAt(0),f="0".charCodeAt(0),s="a".charCodeAt(0),l="A".charCodeAt(0);n.toByteArray=r,n.fromByteArray=o}("undefined"==typeof t?this.base64js={}:t)}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib/b64.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/base64-js/lib")},{buffer:3,oMfpAn:6}],5:[function(e,n,t){(function(){t.read=function(e,n,t,r,o){var i,u,a=8*o-r-1,f=(1<<a)-1,s=f>>1,l=-7,c=t?o-1:0,p=t?-1:1,h=e[n+c];for(c+=p,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+e[n+c],c+=p,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+e[n+c],c+=p,l-=8);if(0===i)i=1-s;else{if(i===f)return u?0/0:1/0*(h?-1:1);u+=Math.pow(2,r),i-=s}return(h?-1:1)*u*Math.pow(2,i-r)},t.write=function(e,n,t,r,o,i){var u,a,f,s=8*i-o-1,l=(1<<s)-1,c=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,g=0>n||0===n&&0>1/n?1:0;for(n=Math.abs(n),isNaN(n)||1/0===n?(a=isNaN(n)?1:0,u=l):(u=Math.floor(Math.log(n)/Math.LN2),n*(f=Math.pow(2,-u))<1&&(u--,f*=2),n+=u+c>=1?p/f:p*Math.pow(2,1-c),n*f>=2&&(u++,f/=2),u+c>=l?(a=0,u=l):u+c>=1?(a=(n*f-1)*Math.pow(2,o),u+=c):(a=n*Math.pow(2,c-1)*Math.pow(2,o),u=0));o>=8;e[t+h]=255&a,h+=d,a/=256,o-=8);for(u=u<<o|a,s+=o;s>0;e[t+h]=255&u,h+=d,u/=256,s-=8);e[t+h-d]|=128*g}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754/index.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/buffer/node_modules/ieee754")},{buffer:3,oMfpAn:6}],6:[function(e,n){(function(e){function t(){}var e=n.exports={};e.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,n="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(n){var t=[];return window.addEventListener("message",function(e){var n=e.source;if((n===window||null===n)&&"process-tick"===e.data&&(e.stopPropagation(),t.length>0)){var r=t.shift();r()}},!0),function(e){t.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=t,e.addListener=t,e.once=t,e.off=t,e.removeListener=t,e.removeAllListeners=t,e.emit=t,e.binding=function(){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(){throw new Error("process.chdir is not supported")}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/process/browser.js","/../../node_modules/gulp-browserify/node_modules/browserify/node_modules/process")},{buffer:3,oMfpAn:6}],7:[function(e,n,t){(function(e,r){(function(){function e(e,n,t){for(var r=(t||0)-1,o=e?e.length:0;++r<o;)if(e[r]===n)return r;return-1}function o(n,t){var r=typeof t;if(n=n.cache,"boolean"==r||null==t)return n[t]?0:-1;"number"!=r&&"string"!=r&&(r="object");var o="number"==r?t:w+t;return n=(n=n[r])&&n[o],"object"==r?n&&e(n,t)>-1?0:-1:n?0:-1}function i(e){var n=this.cache,t=typeof e;if("boolean"==t||null==e)n[e]=!0;else{"number"!=t&&"string"!=t&&(t="object");var r="number"==t?e:w+e,o=n[t]||(n[t]={});"object"==t?(o[r]||(o[r]=[])).push(e):o[r]=!0}}function u(e){return e.charCodeAt(0)}function a(e,n){for(var t=e.criteria,r=n.criteria,o=-1,i=t.length;++o<i;){var u=t[o],a=r[o];if(u!==a){if(u>a||"undefined"==typeof u)return 1;if(a>u||"undefined"==typeof a)return-1}}return e.index-n.index}function f(e){var n=-1,t=e.length,r=e[0],o=e[t/2|0],u=e[t-1];if(r&&"object"==typeof r&&o&&"object"==typeof o&&u&&"object"==typeof u)return!1;var a=c();a["false"]=a["null"]=a["true"]=a.undefined=!1;var f=c();for(f.array=e,f.cache=a,f.push=i;++n<t;)f.push(e[n]);return f}function s(e){return"\\"+Y[e]}function l(){return y.pop()||[]}function c(){return m.pop()||{array:null,cache:null,criteria:null,"false":!1,index:0,"null":!1,number:null,object:null,push:null,string:null,"true":!1,undefined:!1,value:null}}function p(e){e.length=0,y.length<E&&y.push(e)}function h(e){var n=e.cache;n&&h(n),e.array=e.cache=e.criteria=e.object=e.number=e.string=e.value=null,m.length<E&&m.push(e)}function d(e,n,t){n||(n=0),"undefined"==typeof t&&(t=e?e.length:0);for(var r=-1,o=t-n||0,i=Array(0>o?0:o);++r<o;)i[r]=e[n+r];return i}function g(n){function t(e){return e&&"object"==typeof e&&!Hr(e)&&Nr.call(e,"__wrapped__")?e:new r(e)}function r(e,n){this.__chain__=!!n,this.__wrapped__=e}function i(e){function n(){if(r){var e=d(r);Tr.apply(e,arguments)}if(this instanceof n){var i=m(t.prototype),u=t.apply(i,e||arguments);return Mn(u)?u:i}return t.apply(o,e||arguments)}var t=e[0],r=e[2],o=e[4];return Gr(n,e),n}function y(e,n,t,r,o){if(t){var i=t(e);if("undefined"!=typeof i)return i}var u=Mn(e);if(!u)return e;var a=jr.call(e);if(!J[a])return e;var f=Xr[a];switch(a){case F:case R:return new f(+e);case P:case Z:return new f(e);case W:return i=f(e.source,B.exec(e)),i.lastIndex=e.lastIndex,i}var s=Hr(e);if(n){var c=!r;r||(r=l()),o||(o=l());for(var h=r.length;h--;)if(r[h]==e)return o[h];i=s?f(e.length):{}}else i=s?d(e):io({},e);return s&&(Nr.call(e,"index")&&(i.index=e.index),Nr.call(e,"input")&&(i.input=e.input)),n?(r.push(e),o.push(i),(s?Gn:fo)(e,function(e,u){i[u]=y(e,n,t,r,o)}),c&&(p(r),p(o)),i):i}function m(e){return Mn(e)?Rr(e):{}}function E(e,n,t){if("function"!=typeof e)return Ht;if("undefined"==typeof n||!("prototype"in e))return e;var r=e.__bindData__;if("undefined"==typeof r&&(Yr.funcNames&&(r=!e.name),r=r||!Yr.funcDecomp,!r)){var o=Ur.call(e);Yr.funcNames||(r=!x.test(o)),r||(r=S.test(o),Gr(e,r))}if(r===!1||r!==!0&&1&r[1])return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,o){return e.call(n,t,r,o)};case 4:return function(t,r,o,i){return e.call(n,t,r,o,i)}}return Tt(e,n)}function Y(e){function n(){var e=f?u:this;if(o){var h=d(o);Tr.apply(h,arguments)}if((i||l)&&(h||(h=d(arguments)),i&&Tr.apply(h,i),l&&h.length<a))return r|=16,Y([t,c?r:-4&r,h,null,u,a]);if(h||(h=arguments),s&&(t=e[p]),this instanceof n){e=m(t.prototype);var g=t.apply(e,h);return Mn(g)?g:e}return t.apply(e,h)}var t=e[0],r=e[1],o=e[2],i=e[3],u=e[4],a=e[5],f=1&r,s=2&r,l=4&r,c=8&r,p=t;return Gr(n,e),n}function H(n,t){var r=-1,i=sn(),u=n?n.length:0,a=u>=_&&i===e,s=[];if(a){var l=f(t);l?(i=o,t=l):a=!1}for(;++r<u;){var c=n[r];i(t,c)<0&&s.push(c)}return a&&h(t),s}function Q(e,n,t,r){for(var o=(r||0)-1,i=e?e.length:0,u=[];++o<i;){var a=e[o];if(a&&"object"==typeof a&&"number"==typeof a.length&&(Hr(a)||hn(a))){n||(a=Q(a,n,t));var f=-1,s=a.length,l=u.length;for(u.length+=s;++f<s;)u[l++]=a[f]}else t||u.push(a)}return u}function en(e,n,t,r,o,i){if(t){var u=t(e,n);if("undefined"!=typeof u)return!!u}if(e===n)return 0!==e||1/e==1/n;var a=typeof e,f=typeof n;if(!(e!==e||e&&X[a]||n&&X[f]))return!1;if(null==e||null==n)return e===n;var s=jr.call(e),c=jr.call(n);if(s==D&&(s=q),c==D&&(c=q),s!=c)return!1;switch(s){case F:case R:return+e==+n;case P:return e!=+e?n!=+n:0==e?1/e==1/n:e==+n;case W:case Z:return e==Er(n)}var h=s==$;if(!h){var d=Nr.call(e,"__wrapped__"),g=Nr.call(n,"__wrapped__");if(d||g)return en(d?e.__wrapped__:e,g?n.__wrapped__:n,t,r,o,i);if(s!=q)return!1;var v=e.constructor,y=n.constructor;if(v!=y&&!(Ln(v)&&v instanceof v&&Ln(y)&&y instanceof y)&&"constructor"in e&&"constructor"in n)return!1}var m=!o;o||(o=l()),i||(i=l());for(var b=o.length;b--;)if(o[b]==e)return i[b]==n;var w=0;if(u=!0,o.push(e),i.push(n),h){if(b=e.length,w=n.length,u=w==b,u||r)for(;w--;){var _=b,E=n[w];if(r)for(;_--&&!(u=en(e[_],E,t,r,o,i)););else if(!(u=en(e[w],E,t,r,o,i)))break}}else ao(n,function(n,a,f){return Nr.call(f,a)?(w++,u=Nr.call(e,a)&&en(e[a],n,t,r,o,i)):void 0}),u&&!r&&ao(e,function(e,n,t){return Nr.call(t,n)?u=--w>-1:void 0});return o.pop(),i.pop(),m&&(p(o),p(i)),u}function nn(e,n,t,r,o){(Hr(n)?Gn:fo)(n,function(n,i){var u,a,f=n,s=e[i];if(n&&((a=Hr(n))||so(n))){for(var l=r.length;l--;)if(u=r[l]==n){s=o[l];break}if(!u){var c;t&&(f=t(s,n),(c="undefined"!=typeof f)&&(s=f)),c||(s=a?Hr(s)?s:[]:so(s)?s:{}),r.push(n),o.push(s),c||nn(s,n,t,r,o)}}else t&&(f=t(s,n),"undefined"==typeof f&&(f=n)),"undefined"!=typeof f&&(s=f);e[i]=s})}function rn(e,n){return e+Mr(Vr()*(n-e+1))}function on(n,t,r){var i=-1,u=sn(),a=n?n.length:0,s=[],c=!t&&a>=_&&u===e,d=r||c?l():s;if(c){var g=f(d);u=o,d=g}for(;++i<a;){var v=n[i],y=r?r(v,i,n):v;(t?!i||d[d.length-1]!==y:u(d,y)<0)&&((r||c)&&d.push(y),s.push(v))}return c?(p(d.array),h(d)):r&&p(d),s}function un(e){return function(n,r,o){var i={};r=t.createCallback(r,o,3);var u=-1,a=n?n.length:0;if("number"==typeof a)for(;++u<a;){var f=n[u];e(i,f,r(f,u,n),n)}else fo(n,function(n,t,o){e(i,n,r(n,t,o),o)});return i}}function an(e,n,t,r,o,u){var a=1&n,f=2&n,s=4&n,l=16&n,c=32&n;if(!f&&!Ln(e))throw new Ar;l&&!t.length&&(n&=-17,l=t=!1),c&&!r.length&&(n&=-33,c=r=!1);var p=e&&e.__bindData__;if(p&&p!==!0)return p=d(p),p[2]&&(p[2]=d(p[2])),p[3]&&(p[3]=d(p[3])),!a||1&p[1]||(p[4]=o),!a&&1&p[1]&&(n|=8),!s||4&p[1]||(p[5]=u),l&&Tr.apply(p[2]||(p[2]=[]),t),c&&$r.apply(p[3]||(p[3]=[]),r),p[1]|=n,an.apply(null,p);var h=1==n||17===n?i:Y;return h([e,n,t,r,o,u])}function fn(e){return no[e]}function sn(){var n=(n=t.indexOf)===mt?e:n;return n}function ln(e){return"function"==typeof e&&Br.test(e)}function cn(e){var n,t;return e&&jr.call(e)==q&&(n=e.constructor,!Ln(n)||n instanceof n)?(ao(e,function(e,n){t=n}),"undefined"==typeof t||Nr.call(e,t)):!1}function pn(e){return to[e]}function hn(e){return e&&"object"==typeof e&&"number"==typeof e.length&&jr.call(e)==D||!1}function dn(e,n,t,r){return"boolean"!=typeof n&&null!=n&&(r=t,t=n,n=!1),y(e,n,"function"==typeof t&&E(t,r,1))}function gn(e,n,t){return y(e,!0,"function"==typeof n&&E(n,t,1))}function vn(e,n){var t=m(e);return n?io(t,n):t}function yn(e,n,r){var o;return n=t.createCallback(n,r,3),fo(e,function(e,t,r){return n(e,t,r)?(o=t,!1):void 0}),o}function mn(e,n,r){var o;return n=t.createCallback(n,r,3),wn(e,function(e,t,r){return n(e,t,r)?(o=t,!1):void 0}),o}function bn(e,n,t){var r=[];ao(e,function(e,n){r.push(n,e)});var o=r.length;for(n=E(n,t,3);o--&&n(r[o--],r[o],e)!==!1;);return e}function wn(e,n,t){var r=eo(e),o=r.length;for(n=E(n,t,3);o--;){var i=r[o];if(n(e[i],i,e)===!1)break}return e}function _n(e){var n=[];return ao(e,function(e,t){Ln(e)&&n.push(t)}),n.sort()}function En(e,n){return e?Nr.call(e,n):!1}function An(e){for(var n=-1,t=eo(e),r=t.length,o={};++n<r;){var i=t[n];o[e[i]]=i}return o}function kn(e){return e===!0||e===!1||e&&"object"==typeof e&&jr.call(e)==F||!1}function Cn(e){return e&&"object"==typeof e&&jr.call(e)==R||!1}function In(e){return e&&1===e.nodeType||!1}function jn(e){var n=!0;if(!e)return n;var t=jr.call(e),r=e.length;return t==$||t==Z||t==D||t==q&&"number"==typeof r&&Ln(e.splice)?!r:(fo(e,function(){return n=!1}),n)}function Bn(e,n,t,r){return en(e,n,"function"==typeof t&&E(t,r,2))}function xn(e){return Pr(e)&&!qr(parseFloat(e))}function Ln(e){return"function"==typeof e}function Mn(e){return!(!e||!X[typeof e])}function Un(e){return Nn(e)&&e!=+e}function Sn(e){return null===e
2
- }function Nn(e){return"number"==typeof e||e&&"object"==typeof e&&jr.call(e)==P||!1}function Tn(e){return e&&"object"==typeof e&&jr.call(e)==W||!1}function On(e){return"string"==typeof e||e&&"object"==typeof e&&jr.call(e)==Z||!1}function Dn(e){return"undefined"==typeof e}function $n(e,n,r){var o={};return n=t.createCallback(n,r,3),fo(e,function(e,t,r){o[t]=n(e,t,r)}),o}function Fn(e){var n=arguments,t=2;if(!Mn(e))return e;if("number"!=typeof n[2]&&(t=n.length),t>3&&"function"==typeof n[t-2])var r=E(n[--t-1],n[t--],2);else t>2&&"function"==typeof n[t-1]&&(r=n[--t]);for(var o=d(arguments,1,t),i=-1,u=l(),a=l();++i<t;)nn(e,o[i],r,u,a);return p(u),p(a),e}function Rn(e,n,r){var o={};if("function"!=typeof n){var i=[];ao(e,function(e,n){i.push(n)}),i=H(i,Q(arguments,!0,!1,1));for(var u=-1,a=i.length;++u<a;){var f=i[u];o[f]=e[f]}}else n=t.createCallback(n,r,3),ao(e,function(e,t,r){n(e,t,r)||(o[t]=e)});return o}function zn(e){for(var n=-1,t=eo(e),r=t.length,o=dr(r);++n<r;){var i=t[n];o[n]=[i,e[i]]}return o}function Pn(e,n,r){var o={};if("function"!=typeof n)for(var i=-1,u=Q(arguments,!0,!1,1),a=Mn(e)?u.length:0;++i<a;){var f=u[i];f in e&&(o[f]=e[f])}else n=t.createCallback(n,r,3),ao(e,function(e,t,r){n(e,t,r)&&(o[t]=e)});return o}function qn(e,n,r,o){var i=Hr(e);if(null==r)if(i)r=[];else{var u=e&&e.constructor,a=u&&u.prototype;r=m(a)}return n&&(n=t.createCallback(n,o,4),(i?Gn:fo)(e,function(e,t,o){return n(r,e,t,o)})),r}function Wn(e){for(var n=-1,t=eo(e),r=t.length,o=dr(r);++n<r;)o[n]=e[t[n]];return o}function Zn(e){for(var n=arguments,t=-1,r=Q(n,!0,!1,1),o=n[2]&&n[2][n[1]]===e?1:r.length,i=dr(o);++t<o;)i[t]=e[r[t]];return i}function Jn(e,n,t){var r=-1,o=sn(),i=e?e.length:0,u=!1;return t=(0>t?Zr(0,i+t):t)||0,Hr(e)?u=o(e,n,t)>-1:"number"==typeof i?u=(On(e)?e.indexOf(n,t):o(e,n,t))>-1:fo(e,function(e){return++r>=t?!(u=e===n):void 0}),u}function Kn(e,n,r){var o=!0;n=t.createCallback(n,r,3);var i=-1,u=e?e.length:0;if("number"==typeof u)for(;++i<u&&(o=!!n(e[i],i,e)););else fo(e,function(e,t,r){return o=!!n(e,t,r)});return o}function Vn(e,n,r){var o=[];n=t.createCallback(n,r,3);var i=-1,u=e?e.length:0;if("number"==typeof u)for(;++i<u;){var a=e[i];n(a,i,e)&&o.push(a)}else fo(e,function(e,t,r){n(e,t,r)&&o.push(e)});return o}function Xn(e,n,r){n=t.createCallback(n,r,3);var o=-1,i=e?e.length:0;if("number"!=typeof i){var u;return fo(e,function(e,t,r){return n(e,t,r)?(u=e,!1):void 0}),u}for(;++o<i;){var a=e[o];if(n(a,o,e))return a}}function Yn(e,n,r){var o;return n=t.createCallback(n,r,3),Hn(e,function(e,t,r){return n(e,t,r)?(o=e,!1):void 0}),o}function Gn(e,n,t){var r=-1,o=e?e.length:0;if(n=n&&"undefined"==typeof t?n:E(n,t,3),"number"==typeof o)for(;++r<o&&n(e[r],r,e)!==!1;);else fo(e,n);return e}function Hn(e,n,t){var r=e?e.length:0;if(n=n&&"undefined"==typeof t?n:E(n,t,3),"number"==typeof r)for(;r--&&n(e[r],r,e)!==!1;);else{var o=eo(e);r=o.length,fo(e,function(e,t,i){return t=o?o[--r]:--r,n(i[t],t,i)})}return e}function Qn(e,n){var t=d(arguments,2),r=-1,o="function"==typeof n,i=e?e.length:0,u=dr("number"==typeof i?i:0);return Gn(e,function(e){u[++r]=(o?n:e[n]).apply(e,t)}),u}function et(e,n,r){var o=-1,i=e?e.length:0;if(n=t.createCallback(n,r,3),"number"==typeof i)for(var u=dr(i);++o<i;)u[o]=n(e[o],o,e);else u=[],fo(e,function(e,t,r){u[++o]=n(e,t,r)});return u}function nt(e,n,r){var o=-1/0,i=o;if("function"!=typeof n&&r&&r[n]===e&&(n=null),null==n&&Hr(e))for(var a=-1,f=e.length;++a<f;){var s=e[a];s>i&&(i=s)}else n=null==n&&On(e)?u:t.createCallback(n,r,3),Gn(e,function(e,t,r){var u=n(e,t,r);u>o&&(o=u,i=e)});return i}function tt(e,n,r){var o=1/0,i=o;if("function"!=typeof n&&r&&r[n]===e&&(n=null),null==n&&Hr(e))for(var a=-1,f=e.length;++a<f;){var s=e[a];i>s&&(i=s)}else n=null==n&&On(e)?u:t.createCallback(n,r,3),Gn(e,function(e,t,r){var u=n(e,t,r);o>u&&(o=u,i=e)});return i}function rt(e,n,r,o){if(!e)return r;var i=arguments.length<3;n=t.createCallback(n,o,4);var u=-1,a=e.length;if("number"==typeof a)for(i&&(r=e[++u]);++u<a;)r=n(r,e[u],u,e);else fo(e,function(e,t,o){r=i?(i=!1,e):n(r,e,t,o)});return r}function ot(e,n,r,o){var i=arguments.length<3;return n=t.createCallback(n,o,4),Hn(e,function(e,t,o){r=i?(i=!1,e):n(r,e,t,o)}),r}function it(e,n,r){return n=t.createCallback(n,r,3),Vn(e,function(e,t,r){return!n(e,t,r)})}function ut(e,n,t){if(e&&"number"!=typeof e.length&&(e=Wn(e)),null==n||t)return e?e[rn(0,e.length-1)]:v;var r=at(e);return r.length=Jr(Zr(0,n),r.length),r}function at(e){var n=-1,t=e?e.length:0,r=dr("number"==typeof t?t:0);return Gn(e,function(e){var t=rn(0,++n);r[n]=r[t],r[t]=e}),r}function ft(e){var n=e?e.length:0;return"number"==typeof n?n:eo(e).length}function st(e,n,r){var o;n=t.createCallback(n,r,3);var i=-1,u=e?e.length:0;if("number"==typeof u)for(;++i<u&&!(o=n(e[i],i,e)););else fo(e,function(e,t,r){return!(o=n(e,t,r))});return!!o}function lt(e,n,r){var o=-1,i=Hr(n),u=e?e.length:0,f=dr("number"==typeof u?u:0);for(i||(n=t.createCallback(n,r,3)),Gn(e,function(e,t,r){var u=f[++o]=c();i?u.criteria=et(n,function(n){return e[n]}):(u.criteria=l())[0]=n(e,t,r),u.index=o,u.value=e}),u=f.length,f.sort(a);u--;){var s=f[u];f[u]=s.value,i||p(s.criteria),h(s)}return f}function ct(e){return e&&"number"==typeof e.length?d(e):Wn(e)}function pt(e){for(var n=-1,t=e?e.length:0,r=[];++n<t;){var o=e[n];o&&r.push(o)}return r}function ht(e){return H(e,Q(arguments,!0,!0,1))}function dt(e,n,r){var o=-1,i=e?e.length:0;for(n=t.createCallback(n,r,3);++o<i;)if(n(e[o],o,e))return o;return-1}function gt(e,n,r){var o=e?e.length:0;for(n=t.createCallback(n,r,3);o--;)if(n(e[o],o,e))return o;return-1}function vt(e,n,r){var o=0,i=e?e.length:0;if("number"!=typeof n&&null!=n){var u=-1;for(n=t.createCallback(n,r,3);++u<i&&n(e[u],u,e);)o++}else if(o=n,null==o||r)return e?e[0]:v;return d(e,0,Jr(Zr(0,o),i))}function yt(e,n,t,r){return"boolean"!=typeof n&&null!=n&&(r=t,t="function"!=typeof n&&r&&r[n]===e?null:n,n=!1),null!=t&&(e=et(e,t,r)),Q(e,n)}function mt(n,t,r){if("number"==typeof r){var o=n?n.length:0;r=0>r?Zr(0,o+r):r||0}else if(r){var i=jt(n,t);return n[i]===t?i:-1}return e(n,t,r)}function bt(e,n,r){var o=0,i=e?e.length:0;if("number"!=typeof n&&null!=n){var u=i;for(n=t.createCallback(n,r,3);u--&&n(e[u],u,e);)o++}else o=null==n||r?1:n||o;return d(e,0,Jr(Zr(0,i-o),i))}function wt(){for(var n=[],t=-1,r=arguments.length,i=l(),u=sn(),a=u===e,s=l();++t<r;){var c=arguments[t];(Hr(c)||hn(c))&&(n.push(c),i.push(a&&c.length>=_&&f(t?n[t]:s)))}var d=n[0],g=-1,v=d?d.length:0,y=[];e:for(;++g<v;){var m=i[0];if(c=d[g],(m?o(m,c):u(s,c))<0){for(t=r,(m||s).push(c);--t;)if(m=i[t],(m?o(m,c):u(n[t],c))<0)continue e;y.push(c)}}for(;r--;)m=i[r],m&&h(m);return p(i),p(s),y}function _t(e,n,r){var o=0,i=e?e.length:0;if("number"!=typeof n&&null!=n){var u=i;for(n=t.createCallback(n,r,3);u--&&n(e[u],u,e);)o++}else if(o=n,null==o||r)return e?e[i-1]:v;return d(e,Zr(0,i-o))}function Et(e,n,t){var r=e?e.length:0;for("number"==typeof t&&(r=(0>t?Zr(0,r+t):Jr(t,r-1))+1);r--;)if(e[r]===n)return r;return-1}function At(e){for(var n=arguments,t=0,r=n.length,o=e?e.length:0;++t<r;)for(var i=-1,u=n[t];++i<o;)e[i]===u&&(Dr.call(e,i--,1),o--);return e}function kt(e,n,t){e=+e||0,t="number"==typeof t?t:+t||1,null==n&&(n=e,e=0);for(var r=-1,o=Zr(0,xr((n-e)/(t||1))),i=dr(o);++r<o;)i[r]=e,e+=t;return i}function Ct(e,n,r){var o=-1,i=e?e.length:0,u=[];for(n=t.createCallback(n,r,3);++o<i;){var a=e[o];n(a,o,e)&&(u.push(a),Dr.call(e,o--,1),i--)}return u}function It(e,n,r){if("number"!=typeof n&&null!=n){var o=0,i=-1,u=e?e.length:0;for(n=t.createCallback(n,r,3);++i<u&&n(e[i],i,e);)o++}else o=null==n||r?1:Zr(0,n);return d(e,o)}function jt(e,n,r,o){var i=0,u=e?e.length:i;for(r=r?t.createCallback(r,o,1):Ht,n=r(n);u>i;){var a=i+u>>>1;r(e[a])<n?i=a+1:u=a}return i}function Bt(){return on(Q(arguments,!0,!0))}function xt(e,n,r,o){return"boolean"!=typeof n&&null!=n&&(o=r,r="function"!=typeof n&&o&&o[n]===e?null:n,n=!1),null!=r&&(r=t.createCallback(r,o,3)),on(e,n,r)}function Lt(e){return H(e,d(arguments,1))}function Mt(){for(var e=-1,n=arguments.length;++e<n;){var t=arguments[e];if(Hr(t)||hn(t))var r=r?on(H(r,t).concat(H(t,r))):t}return r||[]}function Ut(){for(var e=arguments.length>1?arguments:arguments[0],n=-1,t=e?nt(ho(e,"length")):0,r=dr(0>t?0:t);++n<t;)r[n]=ho(e,n);return r}function St(e,n){var t=-1,r=e?e.length:0,o={};for(n||!r||Hr(e[0])||(n=[]);++t<r;){var i=e[t];n?o[i]=n[t]:i&&(o[i[0]]=i[1])}return o}function Nt(e,n){if(!Ln(n))throw new Ar;return function(){return--e<1?n.apply(this,arguments):void 0}}function Tt(e,n){return arguments.length>2?an(e,17,d(arguments,2),null,n):an(e,1,null,null,n)}function Ot(e){for(var n=arguments.length>1?Q(arguments,!0,!1,1):_n(e),t=-1,r=n.length;++t<r;){var o=n[t];e[o]=an(e[o],1,null,null,e)}return e}function Dt(e,n){return arguments.length>2?an(n,19,d(arguments,2),null,e):an(n,3,null,null,e)}function $t(){for(var e=arguments,n=e.length;n--;)if(!Ln(e[n]))throw new Ar;return function(){for(var n=arguments,t=e.length;t--;)n=[e[t].apply(this,n)];return n[0]}}function Ft(e,n){return n="number"==typeof n?n:+n||e.length,an(e,4,null,null,null,n)}function Rt(e,n,t){var r,o,i,u,a,f,s,l=0,c=!1,p=!0;if(!Ln(e))throw new Ar;if(n=Zr(0,n)||0,t===!0){var h=!0;p=!1}else Mn(t)&&(h=t.leading,c="maxWait"in t&&(Zr(n,t.maxWait)||0),p="trailing"in t?t.trailing:p);var d=function(){var t=n-(vo()-u);if(0>=t){o&&Lr(o);var c=s;o=f=s=v,c&&(l=vo(),i=e.apply(a,r),f||o||(r=a=null))}else f=Or(d,t)},g=function(){f&&Lr(f),o=f=s=v,(p||c!==n)&&(l=vo(),i=e.apply(a,r),f||o||(r=a=null))};return function(){if(r=arguments,u=vo(),a=this,s=p&&(f||!h),c===!1)var t=h&&!f;else{o||h||(l=u);var v=c-(u-l),y=0>=v;y?(o&&(o=Lr(o)),l=u,i=e.apply(a,r)):o||(o=Or(g,v))}return y&&f?f=Lr(f):f||n===c||(f=Or(d,n)),t&&(y=!0,i=e.apply(a,r)),!y||f||o||(r=a=null),i}}function zt(e){if(!Ln(e))throw new Ar;var n=d(arguments,1);return Or(function(){e.apply(v,n)},1)}function Pt(e,n){if(!Ln(e))throw new Ar;var t=d(arguments,2);return Or(function(){e.apply(v,t)},n)}function qt(e,n){if(!Ln(e))throw new Ar;var t=function(){var r=t.cache,o=n?n.apply(this,arguments):w+arguments[0];return Nr.call(r,o)?r[o]:r[o]=e.apply(this,arguments)};return t.cache={},t}function Wt(e){var n,t;if(!Ln(e))throw new Ar;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}}function Zt(e){return an(e,16,d(arguments,1))}function Jt(e){return an(e,32,null,d(arguments,1))}function Kt(e,n,t){var r=!0,o=!0;if(!Ln(e))throw new Ar;return t===!1?r=!1:Mn(t)&&(r="leading"in t?t.leading:r,o="trailing"in t?t.trailing:o),K.leading=r,K.maxWait=n,K.trailing=o,Rt(e,n,K)}function Vt(e,n){return an(n,16,[e])}function Xt(e){return function(){return e}}function Yt(e,n,t){var r=typeof e;if(null==e||"function"==r)return E(e,n,t);if("object"!=r)return tr(e);var o=eo(e),i=o[0],u=e[i];return 1!=o.length||u!==u||Mn(u)?function(n){for(var t=o.length,r=!1;t--&&(r=en(n[o[t]],e[o[t]],null,!0)););return r}:function(e){var n=e[i];return u===n&&(0!==u||1/u==1/n)}}function Gt(e){return null==e?"":Er(e).replace(oo,fn)}function Ht(e){return e}function Qt(e,n,o){var i=!0,u=n&&_n(n);n&&(o||u.length)||(null==o&&(o=n),a=r,n=e,e=t,u=_n(n)),o===!1?i=!1:Mn(o)&&"chain"in o&&(i=o.chain);var a=e,f=Ln(a);Gn(u,function(t){var r=e[t]=n[t];f&&(a.prototype[t]=function(){var n=this.__chain__,t=this.__wrapped__,o=[t];Tr.apply(o,arguments);var u=r.apply(e,o);if(i||n){if(t===u&&Mn(u))return this;u=new a(u),u.__chain__=n}return u})})}function er(){return n._=Ir,this}function nr(){}function tr(e){return function(n){return n[e]}}function rr(e,n,t){var r=null==e,o=null==n;if(null==t&&("boolean"==typeof e&&o?(t=e,e=1):o||"boolean"!=typeof n||(t=n,o=!0)),r&&o&&(n=1),e=+e||0,o?(n=e,e=0):n=+n||0,t||e%1||n%1){var i=Vr();return Jr(e+i*(n-e+parseFloat("1e-"+((i+"").length-1))),n)}return rn(e,n)}function or(e,n){if(e){var t=e[n];return Ln(t)?e[n]():t}}function ir(e,n,r){var o=t.templateSettings;e=Er(e||""),r=uo({},r,o);var i,u=uo({},r.imports,o.imports),a=eo(u),f=Wn(u),l=0,c=r.interpolate||U,p="__p += '",h=_r((r.escape||U).source+"|"+c.source+"|"+(c===L?j:U).source+"|"+(r.evaluate||U).source+"|$","g");e.replace(h,function(n,t,r,o,u,a){return r||(r=o),p+=e.slice(l,a).replace(N,s),t&&(p+="' +\n__e("+t+") +\n'"),u&&(i=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=a+n.length,n}),p+="';\n";var d=r.variable,g=d;g||(d="obj",p="with ("+d+") {\n"+p+"\n}\n"),p=(i?p.replace(k,""):p).replace(C,"$1").replace(I,"$1;"),p="function("+d+") {\n"+(g?"":d+" || ("+d+" = {});\n")+"var __t, __p = '', __e = _.escape"+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y="\n/*\n//# sourceURL="+(r.sourceURL||"/lodash/template/source["+O++ +"]")+"\n*/";try{var m=yr(a,"return "+p+y).apply(v,f)}catch(b){throw b.source=p,b}return n?m(n):(m.source=p,m)}function ur(e,n,t){e=(e=+e)>-1?e:0;var r=-1,o=dr(e);for(n=E(n,t,1);++r<e;)o[r]=n(r);return o}function ar(e){return null==e?"":Er(e).replace(ro,pn)}function fr(e){var n=++b;return Er(null==e?"":e)+n}function sr(e){return e=new r(e),e.__chain__=!0,e}function lr(e,n){return n(e),e}function cr(){return this.__chain__=!0,this}function pr(){return Er(this.__wrapped__)}function hr(){return this.__wrapped__}n=n?tn.defaults(G.Object(),n,tn.pick(G,T)):G;var dr=n.Array,gr=n.Boolean,vr=n.Date,yr=n.Function,mr=n.Math,br=n.Number,wr=n.Object,_r=n.RegExp,Er=n.String,Ar=n.TypeError,kr=[],Cr=wr.prototype,Ir=n._,jr=Cr.toString,Br=_r("^"+Er(jr).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),xr=mr.ceil,Lr=n.clearTimeout,Mr=mr.floor,Ur=yr.prototype.toString,Sr=ln(Sr=wr.getPrototypeOf)&&Sr,Nr=Cr.hasOwnProperty,Tr=kr.push,Or=n.setTimeout,Dr=kr.splice,$r=kr.unshift,Fr=function(){try{var e={},n=ln(n=wr.defineProperty)&&n,t=n(e,e,e)&&n}catch(r){}return t}(),Rr=ln(Rr=wr.create)&&Rr,zr=ln(zr=dr.isArray)&&zr,Pr=n.isFinite,qr=n.isNaN,Wr=ln(Wr=wr.keys)&&Wr,Zr=mr.max,Jr=mr.min,Kr=n.parseInt,Vr=mr.random,Xr={};Xr[$]=dr,Xr[F]=gr,Xr[R]=vr,Xr[z]=yr,Xr[q]=wr,Xr[P]=br,Xr[W]=_r,Xr[Z]=Er,r.prototype=t.prototype;var Yr=t.support={};Yr.funcDecomp=!ln(n.WinRTError)&&S.test(g),Yr.funcNames="string"==typeof yr.name,t.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:L,variable:"",imports:{_:t}},Rr||(m=function(){function e(){}return function(t){if(Mn(t)){e.prototype=t;var r=new e;e.prototype=null}return r||n.Object()}}());var Gr=Fr?function(e,n){V.value=n,Fr(e,"__bindData__",V)}:nr,Hr=zr||function(e){return e&&"object"==typeof e&&"number"==typeof e.length&&jr.call(e)==$||!1},Qr=function(e){var n,t=e,r=[];if(!t)return r;if(!X[typeof e])return r;for(n in t)Nr.call(t,n)&&r.push(n);return r},eo=Wr?function(e){return Mn(e)?Wr(e):[]}:Qr,no={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},to=An(no),ro=_r("("+eo(to).join("|")+")","g"),oo=_r("["+eo(no).join("")+"]","g"),io=function(e,n,t){var r,o=e,i=o;if(!o)return i;var u=arguments,a=0,f="number"==typeof t?2:u.length;if(f>3&&"function"==typeof u[f-2])var s=E(u[--f-1],u[f--],2);else f>2&&"function"==typeof u[f-1]&&(s=u[--f]);for(;++a<f;)if(o=u[a],o&&X[typeof o])for(var l=-1,c=X[typeof o]&&eo(o),p=c?c.length:0;++l<p;)r=c[l],i[r]=s?s(i[r],o[r]):o[r];return i},uo=function(e,n,t){var r,o=e,i=o;if(!o)return i;for(var u=arguments,a=0,f="number"==typeof t?2:u.length;++a<f;)if(o=u[a],o&&X[typeof o])for(var s=-1,l=X[typeof o]&&eo(o),c=l?l.length:0;++s<c;)r=l[s],"undefined"==typeof i[r]&&(i[r]=o[r]);return i},ao=function(e,n,t){var r,o=e,i=o;if(!o)return i;if(!X[typeof o])return i;n=n&&"undefined"==typeof t?n:E(n,t,3);for(r in o)if(n(o[r],r,e)===!1)return i;return i},fo=function(e,n,t){var r,o=e,i=o;if(!o)return i;if(!X[typeof o])return i;n=n&&"undefined"==typeof t?n:E(n,t,3);for(var u=-1,a=X[typeof o]&&eo(o),f=a?a.length:0;++u<f;)if(r=a[u],n(o[r],r,e)===!1)return i;return i},so=Sr?function(e){if(!e||jr.call(e)!=q)return!1;var n=e.valueOf,t=ln(n)&&(t=Sr(n))&&Sr(t);return t?e==t||Sr(e)==t:cn(e)}:cn,lo=un(function(e,n,t){Nr.call(e,t)?e[t]++:e[t]=1}),co=un(function(e,n,t){(Nr.call(e,t)?e[t]:e[t]=[]).push(n)}),po=un(function(e,n,t){e[t]=n}),ho=et,go=Vn,vo=ln(vo=vr.now)&&vo||function(){return(new vr).getTime()},yo=8==Kr(A+"08")?Kr:function(e,n){return Kr(On(e)?e.replace(M,""):e,n||0)};return t.after=Nt,t.assign=io,t.at=Zn,t.bind=Tt,t.bindAll=Ot,t.bindKey=Dt,t.chain=sr,t.compact=pt,t.compose=$t,t.constant=Xt,t.countBy=lo,t.create=vn,t.createCallback=Yt,t.curry=Ft,t.debounce=Rt,t.defaults=uo,t.defer=zt,t.delay=Pt,t.difference=ht,t.filter=Vn,t.flatten=yt,t.forEach=Gn,t.forEachRight=Hn,t.forIn=ao,t.forInRight=bn,t.forOwn=fo,t.forOwnRight=wn,t.functions=_n,t.groupBy=co,t.indexBy=po,t.initial=bt,t.intersection=wt,t.invert=An,t.invoke=Qn,t.keys=eo,t.map=et,t.mapValues=$n,t.max=nt,t.memoize=qt,t.merge=Fn,t.min=tt,t.omit=Rn,t.once=Wt,t.pairs=zn,t.partial=Zt,t.partialRight=Jt,t.pick=Pn,t.pluck=ho,t.property=tr,t.pull=At,t.range=kt,t.reject=it,t.remove=Ct,t.rest=It,t.shuffle=at,t.sortBy=lt,t.tap=lr,t.throttle=Kt,t.times=ur,t.toArray=ct,t.transform=qn,t.union=Bt,t.uniq=xt,t.values=Wn,t.where=go,t.without=Lt,t.wrap=Vt,t.xor=Mt,t.zip=Ut,t.zipObject=St,t.collect=et,t.drop=It,t.each=Gn,t.eachRight=Hn,t.extend=io,t.methods=_n,t.object=St,t.select=Vn,t.tail=It,t.unique=xt,t.unzip=Ut,Qt(t),t.clone=dn,t.cloneDeep=gn,t.contains=Jn,t.escape=Gt,t.every=Kn,t.find=Xn,t.findIndex=dt,t.findKey=yn,t.findLast=Yn,t.findLastIndex=gt,t.findLastKey=mn,t.has=En,t.identity=Ht,t.indexOf=mt,t.isArguments=hn,t.isArray=Hr,t.isBoolean=kn,t.isDate=Cn,t.isElement=In,t.isEmpty=jn,t.isEqual=Bn,t.isFinite=xn,t.isFunction=Ln,t.isNaN=Un,t.isNull=Sn,t.isNumber=Nn,t.isObject=Mn,t.isPlainObject=so,t.isRegExp=Tn,t.isString=On,t.isUndefined=Dn,t.lastIndexOf=Et,t.mixin=Qt,t.noConflict=er,t.noop=nr,t.now=vo,t.parseInt=yo,t.random=rr,t.reduce=rt,t.reduceRight=ot,t.result=or,t.runInContext=g,t.size=ft,t.some=st,t.sortedIndex=jt,t.template=ir,t.unescape=ar,t.uniqueId=fr,t.all=Kn,t.any=st,t.detect=Xn,t.findWhere=Xn,t.foldl=rt,t.foldr=ot,t.include=Jn,t.inject=rt,Qt(function(){var e={};return fo(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.first=vt,t.last=_t,t.sample=ut,t.take=vt,t.head=vt,fo(t,function(e,n){var o="sample"!==n;t.prototype[n]||(t.prototype[n]=function(n,t){var i=this.__chain__,u=e(this.__wrapped__,n,t);return i||null!=n&&(!t||o&&"function"==typeof n)?new r(u,i):u})}),t.VERSION="2.4.1",t.prototype.chain=cr,t.prototype.toString=pr,t.prototype.value=hr,t.prototype.valueOf=hr,Gn(["join","pop","shift"],function(e){var n=kr[e];t.prototype[e]=function(){var e=this.__chain__,t=n.apply(this.__wrapped__,arguments);return e?new r(t,e):t}}),Gn(["push","reverse","sort","unshift"],function(e){var n=kr[e];t.prototype[e]=function(){return n.apply(this.__wrapped__,arguments),this}}),Gn(["concat","slice","splice"],function(e){var n=kr[e];t.prototype[e]=function(){return new r(n.apply(this.__wrapped__,arguments),this.__chain__)}}),t}var v,y=[],m=[],b=0,w=+new Date+"",_=75,E=40,A=" \f \n\r\u2028\u2029 ᠎              ",k=/\b__p \+= '';/g,C=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,B=/\w*$/,x=/^\s*function[ \n\r\t]+\w/,L=/<%=([\s\S]+?)%>/g,M=RegExp("^["+A+"]*0+(?=.$)"),U=/($^)/,S=/\bthis\b/,N=/['\n\r\t\u2028\u2029\\]/g,T=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],O=0,D="[object Arguments]",$="[object Array]",F="[object Boolean]",R="[object Date]",z="[object Function]",P="[object Number]",q="[object Object]",W="[object RegExp]",Z="[object String]",J={};J[z]=!1,J[D]=J[$]=J[F]=J[R]=J[P]=J[q]=J[W]=J[Z]=!0;var K={leading:!1,maxWait:0,trailing:!1},V={configurable:!1,enumerable:!1,value:null,writable:!1},X={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},Y={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},G=X[typeof window]&&window||this,H=X[typeof t]&&t&&!t.nodeType&&t,Q=X[typeof n]&&n&&!n.nodeType&&n,en=Q&&Q.exports===H&&H,nn=X[typeof r]&&r;!nn||nn.global!==nn&&nn.window!==nn||(G=nn);var tn=g();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(G._=tn,define(function(){return tn})):H&&Q?en?(Q.exports=tn)._=tn:H._=tn:G._=tn}).call(this)}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/lodash/dist/lodash.js","/../../node_modules/lodash/dist")},{buffer:3,oMfpAn:6}],8:[function(e,n,t){(function(){"use strict";Object.defineProperties(t,{"default":{get:function(){return h}},__esModule:{value:!0}});var n,r,o,i,u=(n=e("backbone-events-standalone"),n&&n.__esModule&&n||{"default":n}).default,a=(r=e("lodash"),r&&r.__esModule&&r||{"default":r}).default,f=(o=e("./string"),o&&o.__esModule&&o||{"default":o}).default,s=(i=e("./controller"),i&&i.__esModule&&i||{"default":i}).default,l=a.clone,c=a.extend,p=(a.first,function(){this.Controllers={},this.Dispatcher=l(u)});$traceurRuntime.createClass(p,{createController:function(e,n){var t=n.dispatcher||this.Dispatcher;n.dispatcher&&delete n.dispatcher,e=f.constantize(e),c(n,{name:e});var r=function(){$traceurRuntime.defaultSuperCall(this,o.prototype,arguments)},o=r;return $traceurRuntime.createClass(r,{},{},s),c(r.prototype,n),this[n.name+"Controller"]=r,this.Controllers[e]=new r(t,n),this.Controllers[e]}},{});var h=p}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/application.js","/")},{"./controller":9,"./string":11,"backbone-events-standalone":2,buffer:3,lodash:7,oMfpAn:6}],9:[function(e,n,t){(function(){"use strict";function n(e){if(!y(this[e.method]))throw new Error(this.className+' action "'+e.name+this.eventSeperator+e.method+'" method is undefined')}function r(e){var n=m(e),t=n?g(w(e)):e,r=n?g(b(e)):e;return{name:r,method:t}}function o(){var e=this;h(this.actions,function(t){var o=r(t);n.call(e,o),e.dispatcher.on(e.actionEventName(o.name),e[o.method],e)},this)}function i(){this.name=this.name||"Anonymous",p(this,{eventSeperator:":",actions:[],channel:"controller",className:s.constantize(this.name)+"Controller",controllerEventName:s.underscore(this.name)})}Object.defineProperties(t,{"default":{get:function(){return E}},__esModule:{value:!0}});var u,a,f=(u=e("lodash"),u&&u.__esModule&&u||{"default":u}).default,s=(a=e("./string"),a&&a.__esModule&&a||{"default":a}).default,l=f.bindAll,c=f.compact,p=f.defaults,h=f.each,d=f.extend,g=f.first,v=f.functions,y=f.isFunction,m=f.isObject,b=f.keys,w=(f.uniq,f.values),_=function(e,n){if(!e)throw new Error(this.className+": dispatcher is undefined");d(this,n,this),this.dispatcher=e,l.apply(this,[this].concat(v(this))),i.call(this),this.actions.unshift("all"),o.call(this),this.initialize()};$traceurRuntime.createClass(_,{initialize:function(){},all:function(){},actionEventName:function(e){return c([this.namespace,this.channel,this.controllerEventName,e]).join(this.eventSeperator)}},{});var E=_}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/controller.js","/")},{"./string":11,buffer:3,lodash:7,oMfpAn:6}],10:[function(e){(function(n,t){"use strict";var r,o,i,u=(r=e("./application"),r&&r.__esModule&&r||{"default":r}).default,a=(o=e("./test_dispatcher"),o&&o.__esModule&&o||{"default":o}).default,f=(i=e("./controller"),i&&i.__esModule&&i||{"default":i}).default;(t||window).JSKit={TestDispatcher:a,Controller:f,createApplication:function(){return new u}}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_b0a065e4.js","/")},{"./application":8,"./controller":9,"./test_dispatcher":12,buffer:3,oMfpAn:6}],11:[function(e,n,t){(function(){"use strict";Object.defineProperties(t,{"default":{get:function(){return f}},__esModule:{value:!0}});var n,r=(n=e("lodash"),n&&n.__esModule&&n||{"default":n}).default,o=r.contains,i=r.map,u=r.toArray,a=r.unescape,f={camelize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return i(e.split(/_|-|\s/g),function(e,n){return n>0?e.charAt(0).toUpperCase()+e.slice(1):e.toLowerCase()}).join("")},capitalize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.charAt(0).toUpperCase()+e.slice(1)},chunk:function(e,n){return e=e||"",n=n?n:e.length,e.match(new RegExp(".{1,"+n+"}","g"))},compact:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/\s/g,"")},constantize:function(){var e=void 0!==arguments[0]?arguments[0]:"";if(e.match(/_|-|\s/)){var n=i(e.split(/_|-|\s/g),function(e,n){return n>0?e.charAt(0).toUpperCase()+e.slice(1):e.toLowerCase()}).join("");e=n}else e=e.toString();return e.charAt(0).toUpperCase()+e.slice(1)},dasherize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/_/g,"-").toLowerCase()},humanize:function(){var e=void 0!==arguments[0]?arguments[0]:"",n=e.replace(/_/g," ").replace(/^\s?/,"").toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)},hyphenate:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/([A-Z])/g," $1").toLowerCase().replace(/\s|_/g,"-").toLowerCase()},isBlank:function(){void 0!==arguments[0]?arguments[0]:"";return/^(\s?)+$/.test(this)},isEmpty:function(){var e=void 0!==arguments[0]?arguments[0]:"";return 0===e.length},isNotEmpty:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.length>0},isPresent:function(){void 0!==arguments[0]?arguments[0]:"";return!/^(\s?)+$/.test(this)},lstrip:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+/,"")},ltrim:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+/,"")},stripTags:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/<\w+(\s+("[^"]*"|"[^"]*"|[^>])+)?>|<\/\w+>/gi,"")},strip:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+(.+)\s+$/,"$1")},swapCase:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/[A-Za-z]/g,function(e){return/[A-Z]/.test(e)?e.toLowerCase():e.toUpperCase()})},titleCase:function(){var e=void 0!==arguments[0]?arguments[0]:"";return i(e.replace(/([A-Z])/g," $1").replace(/-|_/g," ").split(/\s/),function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")},titleize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return i(e.replace(/([A-Z])/g," $1").replace(/-|_/g," ").split(/\s/),function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")},toBoolean:function(){var e=void 0!==arguments[0]?arguments[0]:"",n=["true","yes","on","y"],t=["false","no","off","n"];return o(n,e.toLowerCase())?!0:o(t,e.toLowerCase())?!1:e.length>0?!0:!1},toNumber:function(){void 0!==arguments[0]?arguments[0]:"";return 1*this||0},trim:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+(.+)\s+$/,"$1")},truncate:function(e,n){return e=e||"",e.length>n?e.substring(0,n)+"...":this},underscore:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/([A-Z])/g," $1").replace(/^\s?/,"").replace(/-|\s/g,"_").toLowerCase()},unescape:function(){void 0!==arguments[0]?arguments[0]:"";return a.apply(this,[this].concat(u(arguments)))},unwrap:function(e,n){return e=e||"",e.replace(new RegExp("^"+n+"(.+)"+n+"$"),"$1")},wordCount:function(e,n){e=e||"";var t;return e=e.stripTags(),t=e.match(n?new RegExp(n,"g"):/\b[A-Za-z_]+\b/g),t?t.length:0},wrap:function(e,n){return e=e||"",n.concat(this,n)}}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/string.js","/")},{buffer:3,lodash:7,oMfpAn:6}],12:[function(e,n,t){(function(){"use strict";function n(e){return e.called=!1,e.callCount=0,e.calls=[],e}function r(e){var n,t;return n=d(e)?e:p(g(e)),t=d(e)?e:p(y(e)),{name:n,method:t}}function o(e){var n=r(e);return d(e)?'"'+e+'"':"{ "+n.name+': "'+n.method+'" }'}Object.defineProperties(t,{"default":{get:function(){return w}},__esModule:{value:!0}});var i,u,a=(i=e("lodash"),i&&i.__esModule&&i||{"default":i}).default,f=(u=e("backbone-events-standalone"),u&&u.__esModule&&u||{"default":u}).default,s=a.clone,l=a.contains,c=a.each,p=a.first,h=a.functions,d=a.isString,g=a.keys,v=a.toArray,y=a.values,m=a.map,b=(a.rest,function(){this.listeners=[],this.events={},this.shadowDispatcher=s(f)});$traceurRuntime.createClass(b,{on:function(e,t,r){l(this.listeners,r)||this.spyOnControllerMethods(r);var o=n(t);this.events[e]=this.events[e]||[],this.events[e].push(o),this.shadowDispatcher.on(e,function(){this.trackSpy(o,arguments)},this)},spyOnControllerMethods:function(e){var t=m(e.actions,function(e){return o(e)}),r=this;c(h(e),function(o){if(!l(t,o)){var i=e[o];e[o]=function(){return r.trackSpy(e[o],arguments),i.apply(e,arguments)},n(e[o])}},this),this.listeners.push(e)},trigger:function(e,n,t){this.shadowDispatcher.trigger(e,n,t)},trackSpy:function(e,n){e.callCount+=1,e.called=!0,e.calls.push({args:v(n)})},hasAction:function(e,n){var t=!1;if(e.actions.forEach(function(e){o(e)===o(n)&&(t=!0)}),!t)return!1;var i=r(n),u=e[i.method],a=e.actionEventName(i.name),f=u.callCount;return e.dispatcher.trigger(a),u.callCount>f},off:function(){}},{});var w=b}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/test_dispatcher.js","/")},{"backbone-events-standalone":2,buffer:3,lodash:7,oMfpAn:6}]},{},[10]);
2
+ }function Nn(e){return"number"==typeof e||e&&"object"==typeof e&&jr.call(e)==P||!1}function Tn(e){return e&&"object"==typeof e&&jr.call(e)==W||!1}function On(e){return"string"==typeof e||e&&"object"==typeof e&&jr.call(e)==Z||!1}function Dn(e){return"undefined"==typeof e}function $n(e,n,r){var o={};return n=t.createCallback(n,r,3),fo(e,function(e,t,r){o[t]=n(e,t,r)}),o}function Fn(e){var n=arguments,t=2;if(!Mn(e))return e;if("number"!=typeof n[2]&&(t=n.length),t>3&&"function"==typeof n[t-2])var r=E(n[--t-1],n[t--],2);else t>2&&"function"==typeof n[t-1]&&(r=n[--t]);for(var o=d(arguments,1,t),i=-1,u=l(),a=l();++i<t;)nn(e,o[i],r,u,a);return p(u),p(a),e}function Rn(e,n,r){var o={};if("function"!=typeof n){var i=[];ao(e,function(e,n){i.push(n)}),i=H(i,Q(arguments,!0,!1,1));for(var u=-1,a=i.length;++u<a;){var f=i[u];o[f]=e[f]}}else n=t.createCallback(n,r,3),ao(e,function(e,t,r){n(e,t,r)||(o[t]=e)});return o}function zn(e){for(var n=-1,t=eo(e),r=t.length,o=dr(r);++n<r;){var i=t[n];o[n]=[i,e[i]]}return o}function Pn(e,n,r){var o={};if("function"!=typeof n)for(var i=-1,u=Q(arguments,!0,!1,1),a=Mn(e)?u.length:0;++i<a;){var f=u[i];f in e&&(o[f]=e[f])}else n=t.createCallback(n,r,3),ao(e,function(e,t,r){n(e,t,r)&&(o[t]=e)});return o}function qn(e,n,r,o){var i=Hr(e);if(null==r)if(i)r=[];else{var u=e&&e.constructor,a=u&&u.prototype;r=m(a)}return n&&(n=t.createCallback(n,o,4),(i?Gn:fo)(e,function(e,t,o){return n(r,e,t,o)})),r}function Wn(e){for(var n=-1,t=eo(e),r=t.length,o=dr(r);++n<r;)o[n]=e[t[n]];return o}function Zn(e){for(var n=arguments,t=-1,r=Q(n,!0,!1,1),o=n[2]&&n[2][n[1]]===e?1:r.length,i=dr(o);++t<o;)i[t]=e[r[t]];return i}function Jn(e,n,t){var r=-1,o=sn(),i=e?e.length:0,u=!1;return t=(0>t?Zr(0,i+t):t)||0,Hr(e)?u=o(e,n,t)>-1:"number"==typeof i?u=(On(e)?e.indexOf(n,t):o(e,n,t))>-1:fo(e,function(e){return++r>=t?!(u=e===n):void 0}),u}function Kn(e,n,r){var o=!0;n=t.createCallback(n,r,3);var i=-1,u=e?e.length:0;if("number"==typeof u)for(;++i<u&&(o=!!n(e[i],i,e)););else fo(e,function(e,t,r){return o=!!n(e,t,r)});return o}function Vn(e,n,r){var o=[];n=t.createCallback(n,r,3);var i=-1,u=e?e.length:0;if("number"==typeof u)for(;++i<u;){var a=e[i];n(a,i,e)&&o.push(a)}else fo(e,function(e,t,r){n(e,t,r)&&o.push(e)});return o}function Xn(e,n,r){n=t.createCallback(n,r,3);var o=-1,i=e?e.length:0;if("number"!=typeof i){var u;return fo(e,function(e,t,r){return n(e,t,r)?(u=e,!1):void 0}),u}for(;++o<i;){var a=e[o];if(n(a,o,e))return a}}function Yn(e,n,r){var o;return n=t.createCallback(n,r,3),Hn(e,function(e,t,r){return n(e,t,r)?(o=e,!1):void 0}),o}function Gn(e,n,t){var r=-1,o=e?e.length:0;if(n=n&&"undefined"==typeof t?n:E(n,t,3),"number"==typeof o)for(;++r<o&&n(e[r],r,e)!==!1;);else fo(e,n);return e}function Hn(e,n,t){var r=e?e.length:0;if(n=n&&"undefined"==typeof t?n:E(n,t,3),"number"==typeof r)for(;r--&&n(e[r],r,e)!==!1;);else{var o=eo(e);r=o.length,fo(e,function(e,t,i){return t=o?o[--r]:--r,n(i[t],t,i)})}return e}function Qn(e,n){var t=d(arguments,2),r=-1,o="function"==typeof n,i=e?e.length:0,u=dr("number"==typeof i?i:0);return Gn(e,function(e){u[++r]=(o?n:e[n]).apply(e,t)}),u}function et(e,n,r){var o=-1,i=e?e.length:0;if(n=t.createCallback(n,r,3),"number"==typeof i)for(var u=dr(i);++o<i;)u[o]=n(e[o],o,e);else u=[],fo(e,function(e,t,r){u[++o]=n(e,t,r)});return u}function nt(e,n,r){var o=-1/0,i=o;if("function"!=typeof n&&r&&r[n]===e&&(n=null),null==n&&Hr(e))for(var a=-1,f=e.length;++a<f;){var s=e[a];s>i&&(i=s)}else n=null==n&&On(e)?u:t.createCallback(n,r,3),Gn(e,function(e,t,r){var u=n(e,t,r);u>o&&(o=u,i=e)});return i}function tt(e,n,r){var o=1/0,i=o;if("function"!=typeof n&&r&&r[n]===e&&(n=null),null==n&&Hr(e))for(var a=-1,f=e.length;++a<f;){var s=e[a];i>s&&(i=s)}else n=null==n&&On(e)?u:t.createCallback(n,r,3),Gn(e,function(e,t,r){var u=n(e,t,r);o>u&&(o=u,i=e)});return i}function rt(e,n,r,o){if(!e)return r;var i=arguments.length<3;n=t.createCallback(n,o,4);var u=-1,a=e.length;if("number"==typeof a)for(i&&(r=e[++u]);++u<a;)r=n(r,e[u],u,e);else fo(e,function(e,t,o){r=i?(i=!1,e):n(r,e,t,o)});return r}function ot(e,n,r,o){var i=arguments.length<3;return n=t.createCallback(n,o,4),Hn(e,function(e,t,o){r=i?(i=!1,e):n(r,e,t,o)}),r}function it(e,n,r){return n=t.createCallback(n,r,3),Vn(e,function(e,t,r){return!n(e,t,r)})}function ut(e,n,t){if(e&&"number"!=typeof e.length&&(e=Wn(e)),null==n||t)return e?e[rn(0,e.length-1)]:v;var r=at(e);return r.length=Jr(Zr(0,n),r.length),r}function at(e){var n=-1,t=e?e.length:0,r=dr("number"==typeof t?t:0);return Gn(e,function(e){var t=rn(0,++n);r[n]=r[t],r[t]=e}),r}function ft(e){var n=e?e.length:0;return"number"==typeof n?n:eo(e).length}function st(e,n,r){var o;n=t.createCallback(n,r,3);var i=-1,u=e?e.length:0;if("number"==typeof u)for(;++i<u&&!(o=n(e[i],i,e)););else fo(e,function(e,t,r){return!(o=n(e,t,r))});return!!o}function lt(e,n,r){var o=-1,i=Hr(n),u=e?e.length:0,f=dr("number"==typeof u?u:0);for(i||(n=t.createCallback(n,r,3)),Gn(e,function(e,t,r){var u=f[++o]=c();i?u.criteria=et(n,function(n){return e[n]}):(u.criteria=l())[0]=n(e,t,r),u.index=o,u.value=e}),u=f.length,f.sort(a);u--;){var s=f[u];f[u]=s.value,i||p(s.criteria),h(s)}return f}function ct(e){return e&&"number"==typeof e.length?d(e):Wn(e)}function pt(e){for(var n=-1,t=e?e.length:0,r=[];++n<t;){var o=e[n];o&&r.push(o)}return r}function ht(e){return H(e,Q(arguments,!0,!0,1))}function dt(e,n,r){var o=-1,i=e?e.length:0;for(n=t.createCallback(n,r,3);++o<i;)if(n(e[o],o,e))return o;return-1}function gt(e,n,r){var o=e?e.length:0;for(n=t.createCallback(n,r,3);o--;)if(n(e[o],o,e))return o;return-1}function vt(e,n,r){var o=0,i=e?e.length:0;if("number"!=typeof n&&null!=n){var u=-1;for(n=t.createCallback(n,r,3);++u<i&&n(e[u],u,e);)o++}else if(o=n,null==o||r)return e?e[0]:v;return d(e,0,Jr(Zr(0,o),i))}function yt(e,n,t,r){return"boolean"!=typeof n&&null!=n&&(r=t,t="function"!=typeof n&&r&&r[n]===e?null:n,n=!1),null!=t&&(e=et(e,t,r)),Q(e,n)}function mt(n,t,r){if("number"==typeof r){var o=n?n.length:0;r=0>r?Zr(0,o+r):r||0}else if(r){var i=jt(n,t);return n[i]===t?i:-1}return e(n,t,r)}function bt(e,n,r){var o=0,i=e?e.length:0;if("number"!=typeof n&&null!=n){var u=i;for(n=t.createCallback(n,r,3);u--&&n(e[u],u,e);)o++}else o=null==n||r?1:n||o;return d(e,0,Jr(Zr(0,i-o),i))}function wt(){for(var n=[],t=-1,r=arguments.length,i=l(),u=sn(),a=u===e,s=l();++t<r;){var c=arguments[t];(Hr(c)||hn(c))&&(n.push(c),i.push(a&&c.length>=_&&f(t?n[t]:s)))}var d=n[0],g=-1,v=d?d.length:0,y=[];e:for(;++g<v;){var m=i[0];if(c=d[g],(m?o(m,c):u(s,c))<0){for(t=r,(m||s).push(c);--t;)if(m=i[t],(m?o(m,c):u(n[t],c))<0)continue e;y.push(c)}}for(;r--;)m=i[r],m&&h(m);return p(i),p(s),y}function _t(e,n,r){var o=0,i=e?e.length:0;if("number"!=typeof n&&null!=n){var u=i;for(n=t.createCallback(n,r,3);u--&&n(e[u],u,e);)o++}else if(o=n,null==o||r)return e?e[i-1]:v;return d(e,Zr(0,i-o))}function Et(e,n,t){var r=e?e.length:0;for("number"==typeof t&&(r=(0>t?Zr(0,r+t):Jr(t,r-1))+1);r--;)if(e[r]===n)return r;return-1}function At(e){for(var n=arguments,t=0,r=n.length,o=e?e.length:0;++t<r;)for(var i=-1,u=n[t];++i<o;)e[i]===u&&(Dr.call(e,i--,1),o--);return e}function kt(e,n,t){e=+e||0,t="number"==typeof t?t:+t||1,null==n&&(n=e,e=0);for(var r=-1,o=Zr(0,xr((n-e)/(t||1))),i=dr(o);++r<o;)i[r]=e,e+=t;return i}function Ct(e,n,r){var o=-1,i=e?e.length:0,u=[];for(n=t.createCallback(n,r,3);++o<i;){var a=e[o];n(a,o,e)&&(u.push(a),Dr.call(e,o--,1),i--)}return u}function It(e,n,r){if("number"!=typeof n&&null!=n){var o=0,i=-1,u=e?e.length:0;for(n=t.createCallback(n,r,3);++i<u&&n(e[i],i,e);)o++}else o=null==n||r?1:Zr(0,n);return d(e,o)}function jt(e,n,r,o){var i=0,u=e?e.length:i;for(r=r?t.createCallback(r,o,1):Ht,n=r(n);u>i;){var a=i+u>>>1;r(e[a])<n?i=a+1:u=a}return i}function Bt(){return on(Q(arguments,!0,!0))}function xt(e,n,r,o){return"boolean"!=typeof n&&null!=n&&(o=r,r="function"!=typeof n&&o&&o[n]===e?null:n,n=!1),null!=r&&(r=t.createCallback(r,o,3)),on(e,n,r)}function Lt(e){return H(e,d(arguments,1))}function Mt(){for(var e=-1,n=arguments.length;++e<n;){var t=arguments[e];if(Hr(t)||hn(t))var r=r?on(H(r,t).concat(H(t,r))):t}return r||[]}function Ut(){for(var e=arguments.length>1?arguments:arguments[0],n=-1,t=e?nt(ho(e,"length")):0,r=dr(0>t?0:t);++n<t;)r[n]=ho(e,n);return r}function St(e,n){var t=-1,r=e?e.length:0,o={};for(n||!r||Hr(e[0])||(n=[]);++t<r;){var i=e[t];n?o[i]=n[t]:i&&(o[i[0]]=i[1])}return o}function Nt(e,n){if(!Ln(n))throw new Ar;return function(){return--e<1?n.apply(this,arguments):void 0}}function Tt(e,n){return arguments.length>2?an(e,17,d(arguments,2),null,n):an(e,1,null,null,n)}function Ot(e){for(var n=arguments.length>1?Q(arguments,!0,!1,1):_n(e),t=-1,r=n.length;++t<r;){var o=n[t];e[o]=an(e[o],1,null,null,e)}return e}function Dt(e,n){return arguments.length>2?an(n,19,d(arguments,2),null,e):an(n,3,null,null,e)}function $t(){for(var e=arguments,n=e.length;n--;)if(!Ln(e[n]))throw new Ar;return function(){for(var n=arguments,t=e.length;t--;)n=[e[t].apply(this,n)];return n[0]}}function Ft(e,n){return n="number"==typeof n?n:+n||e.length,an(e,4,null,null,null,n)}function Rt(e,n,t){var r,o,i,u,a,f,s,l=0,c=!1,p=!0;if(!Ln(e))throw new Ar;if(n=Zr(0,n)||0,t===!0){var h=!0;p=!1}else Mn(t)&&(h=t.leading,c="maxWait"in t&&(Zr(n,t.maxWait)||0),p="trailing"in t?t.trailing:p);var d=function(){var t=n-(vo()-u);if(0>=t){o&&Lr(o);var c=s;o=f=s=v,c&&(l=vo(),i=e.apply(a,r),f||o||(r=a=null))}else f=Or(d,t)},g=function(){f&&Lr(f),o=f=s=v,(p||c!==n)&&(l=vo(),i=e.apply(a,r),f||o||(r=a=null))};return function(){if(r=arguments,u=vo(),a=this,s=p&&(f||!h),c===!1)var t=h&&!f;else{o||h||(l=u);var v=c-(u-l),y=0>=v;y?(o&&(o=Lr(o)),l=u,i=e.apply(a,r)):o||(o=Or(g,v))}return y&&f?f=Lr(f):f||n===c||(f=Or(d,n)),t&&(y=!0,i=e.apply(a,r)),!y||f||o||(r=a=null),i}}function zt(e){if(!Ln(e))throw new Ar;var n=d(arguments,1);return Or(function(){e.apply(v,n)},1)}function Pt(e,n){if(!Ln(e))throw new Ar;var t=d(arguments,2);return Or(function(){e.apply(v,t)},n)}function qt(e,n){if(!Ln(e))throw new Ar;var t=function(){var r=t.cache,o=n?n.apply(this,arguments):w+arguments[0];return Nr.call(r,o)?r[o]:r[o]=e.apply(this,arguments)};return t.cache={},t}function Wt(e){var n,t;if(!Ln(e))throw new Ar;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}}function Zt(e){return an(e,16,d(arguments,1))}function Jt(e){return an(e,32,null,d(arguments,1))}function Kt(e,n,t){var r=!0,o=!0;if(!Ln(e))throw new Ar;return t===!1?r=!1:Mn(t)&&(r="leading"in t?t.leading:r,o="trailing"in t?t.trailing:o),K.leading=r,K.maxWait=n,K.trailing=o,Rt(e,n,K)}function Vt(e,n){return an(n,16,[e])}function Xt(e){return function(){return e}}function Yt(e,n,t){var r=typeof e;if(null==e||"function"==r)return E(e,n,t);if("object"!=r)return tr(e);var o=eo(e),i=o[0],u=e[i];return 1!=o.length||u!==u||Mn(u)?function(n){for(var t=o.length,r=!1;t--&&(r=en(n[o[t]],e[o[t]],null,!0)););return r}:function(e){var n=e[i];return u===n&&(0!==u||1/u==1/n)}}function Gt(e){return null==e?"":Er(e).replace(oo,fn)}function Ht(e){return e}function Qt(e,n,o){var i=!0,u=n&&_n(n);n&&(o||u.length)||(null==o&&(o=n),a=r,n=e,e=t,u=_n(n)),o===!1?i=!1:Mn(o)&&"chain"in o&&(i=o.chain);var a=e,f=Ln(a);Gn(u,function(t){var r=e[t]=n[t];f&&(a.prototype[t]=function(){var n=this.__chain__,t=this.__wrapped__,o=[t];Tr.apply(o,arguments);var u=r.apply(e,o);if(i||n){if(t===u&&Mn(u))return this;u=new a(u),u.__chain__=n}return u})})}function er(){return n._=Ir,this}function nr(){}function tr(e){return function(n){return n[e]}}function rr(e,n,t){var r=null==e,o=null==n;if(null==t&&("boolean"==typeof e&&o?(t=e,e=1):o||"boolean"!=typeof n||(t=n,o=!0)),r&&o&&(n=1),e=+e||0,o?(n=e,e=0):n=+n||0,t||e%1||n%1){var i=Vr();return Jr(e+i*(n-e+parseFloat("1e-"+((i+"").length-1))),n)}return rn(e,n)}function or(e,n){if(e){var t=e[n];return Ln(t)?e[n]():t}}function ir(e,n,r){var o=t.templateSettings;e=Er(e||""),r=uo({},r,o);var i,u=uo({},r.imports,o.imports),a=eo(u),f=Wn(u),l=0,c=r.interpolate||U,p="__p += '",h=_r((r.escape||U).source+"|"+c.source+"|"+(c===L?j:U).source+"|"+(r.evaluate||U).source+"|$","g");e.replace(h,function(n,t,r,o,u,a){return r||(r=o),p+=e.slice(l,a).replace(N,s),t&&(p+="' +\n__e("+t+") +\n'"),u&&(i=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=a+n.length,n}),p+="';\n";var d=r.variable,g=d;g||(d="obj",p="with ("+d+") {\n"+p+"\n}\n"),p=(i?p.replace(k,""):p).replace(C,"$1").replace(I,"$1;"),p="function("+d+") {\n"+(g?"":d+" || ("+d+" = {});\n")+"var __t, __p = '', __e = _.escape"+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y="\n/*\n//# sourceURL="+(r.sourceURL||"/lodash/template/source["+O++ +"]")+"\n*/";try{var m=yr(a,"return "+p+y).apply(v,f)}catch(b){throw b.source=p,b}return n?m(n):(m.source=p,m)}function ur(e,n,t){e=(e=+e)>-1?e:0;var r=-1,o=dr(e);for(n=E(n,t,1);++r<e;)o[r]=n(r);return o}function ar(e){return null==e?"":Er(e).replace(ro,pn)}function fr(e){var n=++b;return Er(null==e?"":e)+n}function sr(e){return e=new r(e),e.__chain__=!0,e}function lr(e,n){return n(e),e}function cr(){return this.__chain__=!0,this}function pr(){return Er(this.__wrapped__)}function hr(){return this.__wrapped__}n=n?tn.defaults(G.Object(),n,tn.pick(G,T)):G;var dr=n.Array,gr=n.Boolean,vr=n.Date,yr=n.Function,mr=n.Math,br=n.Number,wr=n.Object,_r=n.RegExp,Er=n.String,Ar=n.TypeError,kr=[],Cr=wr.prototype,Ir=n._,jr=Cr.toString,Br=_r("^"+Er(jr).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),xr=mr.ceil,Lr=n.clearTimeout,Mr=mr.floor,Ur=yr.prototype.toString,Sr=ln(Sr=wr.getPrototypeOf)&&Sr,Nr=Cr.hasOwnProperty,Tr=kr.push,Or=n.setTimeout,Dr=kr.splice,$r=kr.unshift,Fr=function(){try{var e={},n=ln(n=wr.defineProperty)&&n,t=n(e,e,e)&&n}catch(r){}return t}(),Rr=ln(Rr=wr.create)&&Rr,zr=ln(zr=dr.isArray)&&zr,Pr=n.isFinite,qr=n.isNaN,Wr=ln(Wr=wr.keys)&&Wr,Zr=mr.max,Jr=mr.min,Kr=n.parseInt,Vr=mr.random,Xr={};Xr[$]=dr,Xr[F]=gr,Xr[R]=vr,Xr[z]=yr,Xr[q]=wr,Xr[P]=br,Xr[W]=_r,Xr[Z]=Er,r.prototype=t.prototype;var Yr=t.support={};Yr.funcDecomp=!ln(n.WinRTError)&&S.test(g),Yr.funcNames="string"==typeof yr.name,t.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:L,variable:"",imports:{_:t}},Rr||(m=function(){function e(){}return function(t){if(Mn(t)){e.prototype=t;var r=new e;e.prototype=null}return r||n.Object()}}());var Gr=Fr?function(e,n){V.value=n,Fr(e,"__bindData__",V)}:nr,Hr=zr||function(e){return e&&"object"==typeof e&&"number"==typeof e.length&&jr.call(e)==$||!1},Qr=function(e){var n,t=e,r=[];if(!t)return r;if(!X[typeof e])return r;for(n in t)Nr.call(t,n)&&r.push(n);return r},eo=Wr?function(e){return Mn(e)?Wr(e):[]}:Qr,no={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},to=An(no),ro=_r("("+eo(to).join("|")+")","g"),oo=_r("["+eo(no).join("")+"]","g"),io=function(e,n,t){var r,o=e,i=o;if(!o)return i;var u=arguments,a=0,f="number"==typeof t?2:u.length;if(f>3&&"function"==typeof u[f-2])var s=E(u[--f-1],u[f--],2);else f>2&&"function"==typeof u[f-1]&&(s=u[--f]);for(;++a<f;)if(o=u[a],o&&X[typeof o])for(var l=-1,c=X[typeof o]&&eo(o),p=c?c.length:0;++l<p;)r=c[l],i[r]=s?s(i[r],o[r]):o[r];return i},uo=function(e,n,t){var r,o=e,i=o;if(!o)return i;for(var u=arguments,a=0,f="number"==typeof t?2:u.length;++a<f;)if(o=u[a],o&&X[typeof o])for(var s=-1,l=X[typeof o]&&eo(o),c=l?l.length:0;++s<c;)r=l[s],"undefined"==typeof i[r]&&(i[r]=o[r]);return i},ao=function(e,n,t){var r,o=e,i=o;if(!o)return i;if(!X[typeof o])return i;n=n&&"undefined"==typeof t?n:E(n,t,3);for(r in o)if(n(o[r],r,e)===!1)return i;return i},fo=function(e,n,t){var r,o=e,i=o;if(!o)return i;if(!X[typeof o])return i;n=n&&"undefined"==typeof t?n:E(n,t,3);for(var u=-1,a=X[typeof o]&&eo(o),f=a?a.length:0;++u<f;)if(r=a[u],n(o[r],r,e)===!1)return i;return i},so=Sr?function(e){if(!e||jr.call(e)!=q)return!1;var n=e.valueOf,t=ln(n)&&(t=Sr(n))&&Sr(t);return t?e==t||Sr(e)==t:cn(e)}:cn,lo=un(function(e,n,t){Nr.call(e,t)?e[t]++:e[t]=1}),co=un(function(e,n,t){(Nr.call(e,t)?e[t]:e[t]=[]).push(n)}),po=un(function(e,n,t){e[t]=n}),ho=et,go=Vn,vo=ln(vo=vr.now)&&vo||function(){return(new vr).getTime()},yo=8==Kr(A+"08")?Kr:function(e,n){return Kr(On(e)?e.replace(M,""):e,n||0)};return t.after=Nt,t.assign=io,t.at=Zn,t.bind=Tt,t.bindAll=Ot,t.bindKey=Dt,t.chain=sr,t.compact=pt,t.compose=$t,t.constant=Xt,t.countBy=lo,t.create=vn,t.createCallback=Yt,t.curry=Ft,t.debounce=Rt,t.defaults=uo,t.defer=zt,t.delay=Pt,t.difference=ht,t.filter=Vn,t.flatten=yt,t.forEach=Gn,t.forEachRight=Hn,t.forIn=ao,t.forInRight=bn,t.forOwn=fo,t.forOwnRight=wn,t.functions=_n,t.groupBy=co,t.indexBy=po,t.initial=bt,t.intersection=wt,t.invert=An,t.invoke=Qn,t.keys=eo,t.map=et,t.mapValues=$n,t.max=nt,t.memoize=qt,t.merge=Fn,t.min=tt,t.omit=Rn,t.once=Wt,t.pairs=zn,t.partial=Zt,t.partialRight=Jt,t.pick=Pn,t.pluck=ho,t.property=tr,t.pull=At,t.range=kt,t.reject=it,t.remove=Ct,t.rest=It,t.shuffle=at,t.sortBy=lt,t.tap=lr,t.throttle=Kt,t.times=ur,t.toArray=ct,t.transform=qn,t.union=Bt,t.uniq=xt,t.values=Wn,t.where=go,t.without=Lt,t.wrap=Vt,t.xor=Mt,t.zip=Ut,t.zipObject=St,t.collect=et,t.drop=It,t.each=Gn,t.eachRight=Hn,t.extend=io,t.methods=_n,t.object=St,t.select=Vn,t.tail=It,t.unique=xt,t.unzip=Ut,Qt(t),t.clone=dn,t.cloneDeep=gn,t.contains=Jn,t.escape=Gt,t.every=Kn,t.find=Xn,t.findIndex=dt,t.findKey=yn,t.findLast=Yn,t.findLastIndex=gt,t.findLastKey=mn,t.has=En,t.identity=Ht,t.indexOf=mt,t.isArguments=hn,t.isArray=Hr,t.isBoolean=kn,t.isDate=Cn,t.isElement=In,t.isEmpty=jn,t.isEqual=Bn,t.isFinite=xn,t.isFunction=Ln,t.isNaN=Un,t.isNull=Sn,t.isNumber=Nn,t.isObject=Mn,t.isPlainObject=so,t.isRegExp=Tn,t.isString=On,t.isUndefined=Dn,t.lastIndexOf=Et,t.mixin=Qt,t.noConflict=er,t.noop=nr,t.now=vo,t.parseInt=yo,t.random=rr,t.reduce=rt,t.reduceRight=ot,t.result=or,t.runInContext=g,t.size=ft,t.some=st,t.sortedIndex=jt,t.template=ir,t.unescape=ar,t.uniqueId=fr,t.all=Kn,t.any=st,t.detect=Xn,t.findWhere=Xn,t.foldl=rt,t.foldr=ot,t.include=Jn,t.inject=rt,Qt(function(){var e={};return fo(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.first=vt,t.last=_t,t.sample=ut,t.take=vt,t.head=vt,fo(t,function(e,n){var o="sample"!==n;t.prototype[n]||(t.prototype[n]=function(n,t){var i=this.__chain__,u=e(this.__wrapped__,n,t);return i||null!=n&&(!t||o&&"function"==typeof n)?new r(u,i):u})}),t.VERSION="2.4.1",t.prototype.chain=cr,t.prototype.toString=pr,t.prototype.value=hr,t.prototype.valueOf=hr,Gn(["join","pop","shift"],function(e){var n=kr[e];t.prototype[e]=function(){var e=this.__chain__,t=n.apply(this.__wrapped__,arguments);return e?new r(t,e):t}}),Gn(["push","reverse","sort","unshift"],function(e){var n=kr[e];t.prototype[e]=function(){return n.apply(this.__wrapped__,arguments),this}}),Gn(["concat","slice","splice"],function(e){var n=kr[e];t.prototype[e]=function(){return new r(n.apply(this.__wrapped__,arguments),this.__chain__)}}),t}var v,y=[],m=[],b=0,w=+new Date+"",_=75,E=40,A=" \f \n\r\u2028\u2029 ᠎              ",k=/\b__p \+= '';/g,C=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,B=/\w*$/,x=/^\s*function[ \n\r\t]+\w/,L=/<%=([\s\S]+?)%>/g,M=RegExp("^["+A+"]*0+(?=.$)"),U=/($^)/,S=/\bthis\b/,N=/['\n\r\t\u2028\u2029\\]/g,T=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],O=0,D="[object Arguments]",$="[object Array]",F="[object Boolean]",R="[object Date]",z="[object Function]",P="[object Number]",q="[object Object]",W="[object RegExp]",Z="[object String]",J={};J[z]=!1,J[D]=J[$]=J[F]=J[R]=J[P]=J[q]=J[W]=J[Z]=!0;var K={leading:!1,maxWait:0,trailing:!1},V={configurable:!1,enumerable:!1,value:null,writable:!1},X={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},Y={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"},G=X[typeof window]&&window||this,H=X[typeof t]&&t&&!t.nodeType&&t,Q=X[typeof n]&&n&&!n.nodeType&&n,en=Q&&Q.exports===H&&H,nn=X[typeof r]&&r;!nn||nn.global!==nn&&nn.window!==nn||(G=nn);var tn=g();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(G._=tn,define(function(){return tn})):H&&Q?en?(Q.exports=tn)._=tn:H._=tn:G._=tn}).call(this)}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/../../node_modules/lodash/dist/lodash.js","/../../node_modules/lodash/dist")},{buffer:3,oMfpAn:6}],8:[function(e,n,t){(function(){"use strict";Object.defineProperties(t,{"default":{get:function(){return h}},__esModule:{value:!0}});var n,r,o,i,u=(n=e("backbone-events-standalone"),n&&n.__esModule&&n||{"default":n}).default,a=(r=e("lodash"),r&&r.__esModule&&r||{"default":r}).default,f=(o=e("./string"),o&&o.__esModule&&o||{"default":o}).default,s=(i=e("./controller"),i&&i.__esModule&&i||{"default":i}).default,l=a.clone,c=a.extend,p=(a.first,function(){this.Controllers={},this.Dispatcher=l(u)});$traceurRuntime.createClass(p,{createController:function(e,n){var t=n.dispatcher||this.Dispatcher;n.dispatcher&&delete n.dispatcher,e=f.constantize(e),c(n,{name:e});var r=function(){$traceurRuntime.defaultSuperCall(this,o.prototype,arguments)},o=r;return $traceurRuntime.createClass(r,{},{},s),c(r.prototype,n),this[n.name+"Controller"]=r,this.Controllers[e]=new r(t,n),this.Controllers[e]}},{});var h=p}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/application.js","/")},{"./controller":9,"./string":11,"backbone-events-standalone":2,buffer:3,lodash:7,oMfpAn:6}],9:[function(e,n,t){(function(){"use strict";function n(e){if(!y(this[e.method]))throw new Error(this.className+' action "'+e.name+this.eventSeperator+e.method+'" method is undefined')}function r(e){var n=m(e),t=n?g(w(e)):e,r=n?g(b(e)):e;return{name:r,method:t}}function o(){var e=this;h(this.actions,function(t){var o=r(t);n.call(e,o),e.dispatcher.on(e.actionEventName(o.name),e[o.method],e)},this)}function i(){this.name=this.name||"Anonymous",p(this,{eventSeperator:":",actions:[],channel:"controller",className:s.constantize(this.name)+"Controller",controllerEventName:s.underscore(this.name)})}Object.defineProperties(t,{"default":{get:function(){return E}},__esModule:{value:!0}});var u,a,f=(u=e("lodash"),u&&u.__esModule&&u||{"default":u}).default,s=(a=e("./string"),a&&a.__esModule&&a||{"default":a}).default,l=f.bindAll,c=f.compact,p=f.defaults,h=f.each,d=f.extend,g=f.first,v=f.functions,y=f.isFunction,m=f.isObject,b=f.keys,w=(f.uniq,f.values),_=function(e,n){if(!e)throw new Error(this.className+": dispatcher is undefined");d(this,n,this),this.dispatcher=e,l.apply(this,[this].concat(v(this))),i.call(this),this.actions.unshift("all"),o.call(this),this.initialize()};$traceurRuntime.createClass(_,{initialize:function(){},all:function(){},actionEventName:function(e){return c([this.namespace,this.channel,this.controllerEventName,e]).join(this.eventSeperator)}},{});var E=_}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/controller.js","/")},{"./string":11,buffer:3,lodash:7,oMfpAn:6}],10:[function(e){(function(n,t){"use strict";var r,o,i,u=(r=e("./application"),r&&r.__esModule&&r||{"default":r}).default,a=(o=e("./test_dispatcher"),o&&o.__esModule&&o||{"default":o}).default,f=(i=e("./controller"),i&&i.__esModule&&i||{"default":i}).default;(t||window).JSKit={TestDispatcher:a,Controller:f,createApplication:function(){return new u}}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_84388df4.js","/")},{"./application":8,"./controller":9,"./test_dispatcher":12,buffer:3,oMfpAn:6}],11:[function(e,n,t){(function(){"use strict";Object.defineProperties(t,{"default":{get:function(){return f}},__esModule:{value:!0}});var n,r=(n=e("lodash"),n&&n.__esModule&&n||{"default":n}).default,o=r.contains,i=r.map,u=r.toArray,a=r.unescape,f={camelize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return i(e.split(/_|-|\s/g),function(e,n){return n>0?e.charAt(0).toUpperCase()+e.slice(1):e.toLowerCase()}).join("")},capitalize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.charAt(0).toUpperCase()+e.slice(1)},chunk:function(e,n){return e=e||"",n=n?n:e.length,e.match(new RegExp(".{1,"+n+"}","g"))},compact:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/\s/g,"")},constantize:function(){var e=void 0!==arguments[0]?arguments[0]:"";if(e.match(/_|-|\s/)){var n=i(e.split(/_|-|\s/g),function(e,n){return n>0?e.charAt(0).toUpperCase()+e.slice(1):e.toLowerCase()}).join("");e=n}else e=e.toString();return e.charAt(0).toUpperCase()+e.slice(1)},dasherize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/_/g,"-").toLowerCase()},humanize:function(){var e=void 0!==arguments[0]?arguments[0]:"",n=e.replace(/_/g," ").replace(/^\s?/,"").toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)},hyphenate:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/([A-Z])/g," $1").toLowerCase().replace(/\s|_/g,"-").toLowerCase()},isBlank:function(){void 0!==arguments[0]?arguments[0]:"";return/^(\s?)+$/.test(this)},isEmpty:function(){var e=void 0!==arguments[0]?arguments[0]:"";return 0===e.length},isNotEmpty:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.length>0},isPresent:function(){void 0!==arguments[0]?arguments[0]:"";return!/^(\s?)+$/.test(this)},lstrip:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+/,"")},ltrim:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+/,"")},stripTags:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/<\w+(\s+("[^"]*"|"[^"]*"|[^>])+)?>|<\/\w+>/gi,"")},strip:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+(.+)\s+$/,"$1")},swapCase:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/[A-Za-z]/g,function(e){return/[A-Z]/.test(e)?e.toLowerCase():e.toUpperCase()})},titleCase:function(){var e=void 0!==arguments[0]?arguments[0]:"";return i(e.replace(/([A-Z])/g," $1").replace(/-|_/g," ").split(/\s/),function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")},titleize:function(){var e=void 0!==arguments[0]?arguments[0]:"";return i(e.replace(/([A-Z])/g," $1").replace(/-|_/g," ").split(/\s/),function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")},toBoolean:function(){var e=void 0!==arguments[0]?arguments[0]:"",n=["true","yes","on","y"],t=["false","no","off","n"];return o(n,e.toLowerCase())?!0:o(t,e.toLowerCase())?!1:e.length>0?!0:!1},toNumber:function(){void 0!==arguments[0]?arguments[0]:"";return 1*this||0},trim:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/^\s+(.+)\s+$/,"$1")},truncate:function(e,n){return e=e||"",e.length>n?e.substring(0,n)+"...":this},underscore:function(){var e=void 0!==arguments[0]?arguments[0]:"";return e.replace(/([A-Z])/g," $1").replace(/^\s?/,"").replace(/-|\s/g,"_").toLowerCase()},unescape:function(){void 0!==arguments[0]?arguments[0]:"";return a.apply(this,[this].concat(u(arguments)))},unwrap:function(e,n){return e=e||"",e.replace(new RegExp("^"+n+"(.+)"+n+"$"),"$1")},wordCount:function(e,n){e=e||"";var t;return e=e.stripTags(),t=e.match(n?new RegExp(n,"g"):/\b[A-Za-z_]+\b/g),t?t.length:0},wrap:function(e,n){return e=e||"",n.concat(this,n)}}}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/string.js","/")},{buffer:3,lodash:7,oMfpAn:6}],12:[function(e,n,t){(function(){"use strict";function n(e){return e.called=!1,e.callCount=0,e.calls=[],e}function r(e){var n,t;return n=d(e)?e:p(g(e)),t=d(e)?e:p(y(e)),{name:n,method:t}}function o(e){var n=r(e);return d(e)?'"'+e+'"':"{ "+n.name+': "'+n.method+'" }'}Object.defineProperties(t,{"default":{get:function(){return w}},__esModule:{value:!0}});var i,u,a=(i=e("lodash"),i&&i.__esModule&&i||{"default":i}).default,f=(u=e("backbone-events-standalone"),u&&u.__esModule&&u||{"default":u}).default,s=a.clone,l=a.contains,c=a.each,p=a.first,h=a.functions,d=a.isString,g=a.keys,v=a.toArray,y=a.values,m=a.map,b=(a.rest,function(){this.listeners=[],this.events={},this.shadowDispatcher=s(f)});$traceurRuntime.createClass(b,{on:function(e,t,r){l(this.listeners,r)||this.spyOnControllerMethods(r);var o=n(t);this.events[e]=this.events[e]||[],this.events[e].push(o),this.shadowDispatcher.on(e,function(){this.trackSpy(o,arguments)},this)},spyOnControllerMethods:function(e){var t=m(e.actions,function(e){return o(e)}),r=this;c(h(e),function(o){if(!l(t,o)){var i=e[o];e[o]=function(){return r.trackSpy(e[o],arguments),i.apply(e,arguments)},n(e[o])}},this),this.listeners.push(e)},trigger:function(e,n,t){this.shadowDispatcher.trigger(e,n,t)},trackSpy:function(e,n){e.callCount+=1,e.called=!0,e.calls.push({args:v(n)})},hasAction:function(e,n){var t=!1;if(e.actions.forEach(function(e){o(e)===o(n)&&(t=!0)}),!t)return!1;var i=r(n),u=e[i.method],a=e.actionEventName(i.name),f=u.callCount;return e.dispatcher.trigger(a),u.callCount>f},off:function(){}},{});var w=b}).call(this,e("oMfpAn"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/test_dispatcher.js","/")},{"backbone-events-standalone":2,buffer:3,lodash:7,oMfpAn:6}]},{},[10]);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jskit_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dayton Nolan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-20 00:00:00.000000000 Z
11
+ date: 2014-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -123,9 +123,18 @@ files:
123
123
  - app/assets/javascripts/jskit/application.js.es6
124
124
  - app/assets/javascripts/jskit/controller.js.es6
125
125
  - app/assets/javascripts/jskit/jskit.js.es6
126
+ - app/assets/javascripts/jskit/legacy/application.js.es6
127
+ - app/assets/javascripts/jskit/legacy/controller.js.es6
128
+ - app/assets/javascripts/jskit/legacy/jskit.js.es6
129
+ - app/assets/javascripts/jskit/legacy/string.js.es6
130
+ - app/assets/javascripts/jskit/legacy/test_dispatcher.js.es6
126
131
  - app/assets/javascripts/jskit/string.js.es6
127
132
  - app/assets/javascripts/jskit/test_dispatcher.js.es6
133
+ - app/assets/javascripts/jskit_legacy.js
134
+ - app/assets/javascripts/jskit_legacy.min.js
128
135
  - app/assets/javascripts/jskit_rails.js.erb
136
+ - app/assets/javascripts/jskit_rails_legacy.js.erb
137
+ - app/assets/javascripts/jskit_rails_legacy_min.js.erb
129
138
  - app/assets/javascripts/jskit_rails_min.js.erb
130
139
  - app/assets/javascripts/jskit_rails_standalone.js.erb
131
140
  - app/assets/javascripts/jskit_rails_standalone_min.js.erb