@prantlf/astrobench
Version:
JavaScript benchmarks in web browser based on Benchmark.js
1 lines • 121 kB
JavaScript
!function r(i,o,u){function a(n,t){if(!o[n]){if(!i[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(c)return c(n,!0);throw(t=new Error("Cannot find module '"+n+"'")).code="MODULE_NOT_FOUND",t}e=o[n]={exports:{}},i[n][0].call(e.exports,function(t){return a(i[n][1][t]||t)},e,e.exports,r,i,o,u)}return o[n].exports}for(var c="function"==typeof require&&require,t=0;t<u.length;t++)a(u[t]);return a}({1:[function(i,o,u){!function(r){!function(){!function(){"use strict";var Q,t,n={function:!0,object:!0},tt=n[typeof window]&&window||this,nt="function"==typeof define&&"object"==typeof define.amd&&define.amd&&define,et=n[typeof u]&&u&&!u.nodeType&&u,n=n[typeof o]&&o&&!o.nodeType&&o,e=et&&n&&"object"==typeof r&&r,rt=(!e||e.global!==e&&e.window!==e&&e.self!==e||(tt=e),"function"==typeof i&&i),it=0,e=n&&n.exports===et&&et,ot=/^(?:boolean|number|string|undefined)$/,ut=0,at=["Array","Date","Function","Math","Object","RegExp","String","_","clearTimeout","chrome","chromium","document","navigator","phantom","platform","process","runtime","setTimeout"],ct={1:4096,2:512,3:64,4:8,5:0},st={1:12.706,2:4.303,3:3.182,4:2.776,5:2.571,6:2.447,7:2.365,8:2.306,9:2.262,10:2.228,11:2.201,12:2.179,13:2.16,14:2.145,15:2.131,16:2.12,17:2.11,18:2.101,19:2.093,20:2.086,21:2.08,22:2.074,23:2.069,24:2.064,25:2.06,26:2.056,27:2.052,28:2.048,29:2.045,30:2.042,infinity:1.96},ft={5:[0,1,2],6:[1,2,3,5],7:[1,3,5,6,8],8:[2,4,6,8,10,13],9:[2,4,7,10,12,15,17],10:[3,5,8,11,14,17,20,23],11:[3,6,9,13,16,19,23,26,30],12:[4,7,11,14,18,22,26,29,33,37],13:[4,8,12,16,20,24,28,33,37,41,45],14:[5,9,13,17,22,26,31,36,40,45,50,55],15:[5,10,14,19,24,29,34,39,44,49,54,59,64],16:[6,11,15,21,26,31,37,42,47,53,59,64,70,75],17:[6,11,17,22,28,34,39,45,51,57,63,67,75,81,87],18:[7,12,18,24,30,36,42,48,55,61,67,74,80,86,93,99],19:[7,13,19,25,32,38,45,52,58,65,72,78,85,92,99,106,113],20:[8,14,20,27,34,41,48,55,62,69,76,83,90,98,105,112,119,127],21:[8,15,22,29,36,43,50,58,65,73,80,88,96,103,111,119,126,134,142],22:[9,16,23,30,38,45,53,61,69,77,85,93,101,109,117,125,133,141,150,158],23:[9,17,24,32,40,48,56,64,73,81,89,98,106,115,123,132,140,149,157,166,175],24:[10,17,25,33,42,50,59,67,76,85,94,102,111,120,129,138,147,156,165,174,183,192],25:[10,18,27,35,44,53,62,71,80,89,98,107,117,126,135,145,154,163,173,182,192,201,211],26:[11,19,28,37,46,55,64,74,83,93,102,112,122,132,141,151,161,171,181,191,200,210,220,230],27:[11,20,29,38,48,57,67,77,87,97,107,118,125,138,147,158,168,178,188,199,209,219,230,240,250],28:[12,21,30,40,50,60,70,80,90,101,111,122,132,143,154,164,175,186,196,207,218,228,239,250,261,272],29:[13,22,32,42,52,62,73,83,94,105,116,127,138,149,160,171,182,193,204,215,226,238,249,260,271,282,294],30:[13,23,33,43,54,65,76,87,98,109,120,131,143,154,166,177,189,200,212,223,235,247,258,270,282,293,305,317]};function lt(d){var b=d&&d._||p("lodash")||tt._;if(b){(d=d?b.defaults(tt.Object(),d,b.pick(tt,at)):tt).Array;var P=d.Date,t=d.Function,_=d.Math,u=d.Object,g=(d.RegExp,d.String),e=[],n=u.prototype,W=_.abs,F=d.clearTimeout,L=_.floor,c=(_.log,_.max),s=_.min,z=_.pow,r=e.push,v=(d.setTimeout,e.shift),m=e.slice,y=_.sqrt,i=(n.toString,e.unshift),n=p,a=o(d,"document")&&d.document,f=n("microtime"),N=o(d,"process")&&d.process,D=a&&a.createElement("div"),w="uid"+b.now(),l={},x={};x.browser=a&&o(d,"navigator")&&!o(d,"phantom"),x.timeout=o(d,"setTimeout")&&o(d,"clearTimeout");try{x.decompilation="1"===t(("return ("+function(t){return{x:""+(1+t),y:0}}+")").replace(/__cov__[^;]+;/g,""))()(0).x}catch(t){x.decompilation=!1}var S={ns:P,start:null,stop:null},h=b.partial(b.cloneDeepWith,b,function(t){if(!b.isArray(t)&&!b.isPlainObject(t))return t});b.assign(O,{options:{async:!1,defer:!1,delay:.005,id:Q,initCount:1,maxTime:5,minSamples:5,minTime:0,name:Q,onAbort:Q,onComplete:Q,onCycle:Q,onError:Q,onReset:Q,onStart:Q},platform:d.platform||p("platform")||{description:d.navigator&&d.navigator.userAgent||null,layout:null,product:null,name:null,manufacturer:null,os:null,prerelease:null,version:null,toString:function(){return this.description||""}},version:"2.1.4"}),b.assign(O,{filter:T,formatNumber:X,invoke:I,join:$,runInContext:lt,support:x}),b.each(["each","forEach","forOwn","has","indexOf","map","reduce"],function(t){O[t]=b[t]}),b.assign(O.prototype,{count:0,cycles:0,hz:0,compiled:Q,error:Q,fn:Q,aborted:!1,running:!1,setup:b.noop,teardown:b.noop,stats:{moe:0,rme:0,sem:0,deviation:0,mean:0,sample:[],variance:0},times:{cycle:0,elapsed:0,period:0,timeStamp:0}}),b.assign(O.prototype,{abort:function(){var t,n=this,e=l.reset;return n.running&&(t=E("abort"),n.emit(t),t.cancelled&&!e||(l.abort=!0,n.reset(),delete l.abort,x.timeout&&(F(n._timerId),delete n._timerId),e)||(n.aborted=!0,n.running=!1)),n},clone:function(t){var e=new this.constructor(b.assign({},this,t));return e.options=b.assign({},h(this.options),h(t)),b.forOwn(this,function(t,n){b.has(e,n)||(e[n]=h(t))}),e},compare:function(t){var n,e,r,i,o,u;return this==t?0:(u=this.stats.sample,t=t.stats.sample,n=u.length,e=t.length,r=c(n,e),i=s(n,e),o=a(u,t),t=a(t,u),u=s(o,t),30<n+e?(t=(u-n*e/2)/y(n*e*(n+e+1)/12),1.96<W(t)?u==o?1:-1:0):(n=r<5||i<3?0:ft[r][i-3],u<=n?u==o?1:-1:0));function a(t,r){return b.reduce(t,function(t,n){return t+(e=n,b.reduce(r,function(t,n){return t+(e<n?0:n<e?1:.5)},0));var e},0)}},emit:H,listeners:V,off:Z,on:J,reset:function(){var t=this;if(t.running&&!l.abort)l.reset=!0,t.abort(),delete l.reset;else{for(var n,e=0,o=[],u=[],a={destination:t,source:b.assign({},h(t.constructor.prototype),h(t.options))};b.forOwn(a.source,function(t,n){var e,r=a.destination,i=r[n];/^_|^events$|^on[A-Z]/.test(n)||(b.isObjectLike(t)?(b.isArray(t)?(b.isArray(i)||(e=!0,i=[]),i.length!=t.length&&(e=!0,(i=i.slice(0,t.length)).length=t.length)):b.isObjectLike(i)||(e=!0,i={}),e&&o.push({destination:r,key:n,value:i}),u.push({destination:i,source:t})):b.eq(i,t)||t===Q||o.push({destination:r,key:n,value:t}))}),a=u[e++];);o.length&&(t.emit(n=E("reset")),!n.cancelled)&&b.each(o,function(t){t.destination[t.key]=t.value})}return t},run:function(t){var n=this,e=E("start");return n.running=!1,n.reset(),n.running=!0,n.count=n.initCount,n.times.timeStamp=b.now(),n.emit(e),e.cancelled||(t={async:(null==(t=t&&t.async)?n.async:t)&&x.timeout},n._original?n.defer?j(n):M(n,t):Y(n,t)),n},toString:function(){var t=(o=this).error,n=o.hz,e=o.id,r=o.stats,i=r.sample.length,o=o.name||(b.isNaN(e)?e:"<Test #"+e+">");return o+=t?": "+(b.isObject(t)?b.isError(Error)?$(b.assign({name:t.name,message:t.message},t)):$(t):g(t)):" x "+X(n.toFixed(n<100?2:0))+" ops/sec ±"+r.rme.toFixed(2)+"% ("+i+" run"+(1==i?"":"s")+" sampled)"}}),b.assign(j.prototype,{benchmark:null,cycles:0,elapsed:0,timeStamp:0}),b.assign(j.prototype,{resolve:function(){var t=this,n=t.benchmark;n._original.aborted?(t.teardown(),n.running=!1,M(t)):++t.cycles<n.count?n.compiled.call(t,d,S):(S.stop(t),t.teardown(),C(n,function(){M(t)}))}}),b.assign(E.prototype,{aborted:!1,cancelled:!1,currentTarget:Q,result:Q,target:Q,timeStamp:0,type:""}),k.options={name:Q},b.assign(k.prototype,{length:0,aborted:!1,running:!1}),b.assign(k.prototype,{abort:function(){var t,n=this,e=l.resetSuite;return n.running&&(t=E("abort"),n.emit(t),t.cancelled&&!e||(l.abortSuite=!0,n.reset(),delete l.abortSuite,e)||(n.aborted=!0,I(n,"abort"))),n},add:function(t,n,e){return t=new O(t,n,e),n=E({type:"add",target:t}),this.emit(n),n.cancelled||this.push(t),this},clone:function(t){var e=new this.constructor(b.assign({},this.options,t));return b.forOwn(this,function(t,n){b.has(e,n)||(e[n]=b.isFunction(b.get(t,"clone"))?t.clone():h(t))}),e},emit:H,filter:function(t){var n=new this.constructor(this.options);return n.push.apply(n,T(this,t)),n},join:e.join,listeners:V,off:Z,on:J,pop:e.pop,push:r,reset:function(){var t,n=this,e=l.abortSuite;return n.running&&!e?(l.resetSuite=!0,n.abort(),delete l.resetSuite):!n.aborted&&!n.running||(n.emit(t=E("reset")),t.cancelled)||(n.aborted=n.running=!1,e||I(n,"reset")),n},run:function(t){var e=this;return e.reset(),e.running=!0,I(e,{name:"run",args:t=t||{},queued:t.queued,onStart:function(t){e.emit(t)},onCycle:function(t){var n=t.target;n.error&&e.emit({type:"error",target:n}),e.emit(t),t.aborted=e.aborted},onComplete:function(t){e.running=!1,e.emit(t)}}),e},reverse:e.reverse,shift:v,slice:m,sort:e.sort,splice:e.splice,unshift:i}),b.assign(O,{Deferred:j,Event:E,Suite:k}),b.each(["each","forEach","indexOf","map","reduce"],function(t){var n=b[t];k.prototype[t]=function(){var t=[this];return r.apply(t,arguments),n.apply(b,t)}}),b.each(["pop","shift","splice"],function(t){var n=e[t];k.prototype[t]=function(){var t=n.apply(this,arguments);return 0===this.length&&delete this[0],t}}),k.prototype.unshift=function(){return i.apply(this,arguments),this.length}}else O.runInContext=lt;return O;function O(t,n,e){var r=this;if(!(r instanceof O))return new O(t,n,e);b.isPlainObject(t)?e=t:b.isFunction(t)?(e=n,n=t):(b.isPlainObject(n)&&(e=n,n=null),r.name=t),K(r,e),r.id||(r.id=++it),null==r.fn&&(r.fn=n),r.stats=h(r.stats),r.times=h(r.times)}function j(t){if(!(this instanceof j))return new j(t);this.benchmark=t,R(this)}function E(t){return t instanceof E?t:this instanceof E?b.assign(this,{timeStamp:b.now()},"string"==typeof t?{type:t}:t):new E(t)}function k(t,n){if(!(this instanceof k))return new k(t,n);b.isPlainObject(t)?n=t:this.name=t,K(this,n)}function A(){return A=function(t,n){var e=nt?nt.amd:O,r=w+"createFunction";return G((nt?"define.amd.":"Benchmark.")+r+"=function("+t+"){"+n+"}"),t=e[r],delete e[r],t},(A=x.browser&&(A("",'return"'+w+'"')||b.noop)()==w?A:t).apply(null,arguments)}function C(t,n){t._timerId=b.delay(n,1e3*t.delay)}function U(t){return b.reduce(t,function(t,n){return t+n})/t.length||0}function B(t){var n="";return q(t)?n=g(t):x.decompilation&&(n=b.result(/^[^{]+\{([\s\S]*)\}\s*$/.exec(t),1)),n=(n||"").replace(/^\s+|\s+$/g,""),/^(?:\/\*+[\w\W]*?\*\/|\/\/.*?[\n\r\u2028\u2029]|\s)*(["'])use strict\1;?$/.test(n)?"":n}function o(t,n){var e;return null!=t&&(e=typeof t[n],!(ot.test(e)||"object"==e&&!t[n]))}function q(t){return b.isString(t)||b.has(t,"toString")&&b.isFunction(t.toString)}function p(t){try{var n=et&&rt(t)}catch(t){}return n||null}function G(n){var t=nt?define.amd:O,e=a.createElement("script"),r=a.getElementsByTagName("script")[0],i=r.parentNode,o=w+"runScript",u="("+(nt?"define.amd.":"Benchmark.")+o+"||function(){})();";try{e.appendChild(a.createTextNode(u+n)),t[o]=function(){D.appendChild(e),D.innerHTML=""}}catch(t){i=i.cloneNode(!1),r=null,e.text=n}i.insertBefore(e,r),delete t[o]}function K(e,t){t=e.options=b.assign({},h(e.constructor.options),h(t)),b.forOwn(t,function(n,t){null!=n&&(/^on[A-Z]/.test(t)?b.each(t.split(" "),function(t){e.on(t.slice(2).toLowerCase(),n)}):b.has(e,t)||(e[t]=h(n)))})}function T(t,e){var n;if("successful"===e)e=function(t){return t.cycles&&b.isFinite(t.hz)&&!t.error};else if("fastest"===e||"slowest"===e)return n=T(t,"successful").sort(function(t,n){return t=t.stats,n=n.stats,(t.mean+t.moe>n.mean+n.moe?1:-1)*("fastest"===e?1:-1)}),b.filter(n,function(t){return 0==n[0].compare(t)});return b.filter(t,e)}function X(t){return(t=g(t).split("."))[0].replace(/(?=(?:\d{3})+$)(?!\b)/g,",")+(t[1]?"."+t[1]:"")}function I(r,e){var i,o,u,a=-1,c={currentTarget:r},s={onStart:b.noop,onCycle:b.noop,onComplete:b.noop},f=b.toArray(r);function l(){var t,n=p(o);return n&&(o.on("complete",h),(t=o.events.complete).splice(0,0,t.pop())),f[a]=b.isFunction(o&&o[e])?o[e].apply(o,i):Q,!n&&h()}function h(t){var n=o,e=p(n);if(e&&(n.off("complete",h),n.emit("complete")),c.type="cycle",c.target=n,n=E(c),s.onCycle.call(r,n),n.aborted||!1===d())c.type="complete",s.onComplete.call(r,E(c));else if(p(o=u?r[0]:f[a]))C(o,l);else{if(!e)return!0;for(;l(););}if(!t)return!1;t.aborted=!0}function p(t){var n=i[0]&&i[0].async;return"run"==e&&t instanceof O&&((null==n?t.options.async:n)&&x.timeout||t.defer)}function d(){return a++,u&&0<a&&v.call(r),(u?r.length:a<f.length)?a:a=!1}if(b.isString(e)?i=m.call(arguments,2):(s=b.assign(s,e),e=s.name,i=b.isArray(i="args"in s?s.args:[])?i:[i],u=s.queued),!1!==d())if(o=f[a],c.type="start",c.target=o,s.onStart.call(r,E(c)),"run"==e&&r instanceof k&&r.aborted)c.type="cycle",s.onCycle.call(r,E(c)),c.type="complete",s.onComplete.call(r,E(c));else if(p(o))C(o,l);else for(;l(););return f}function $(t,n,e){var r=[],i=(t=u(t)).length,o=i===i>>>0;return e=e||": ",b.each(t,function(t,n){r.push(o?t:n+e+t)}),r.join(n||",")}function H(t){var n=this,e=E(t),t=n.events,r=(arguments[0]=e,arguments);return e.currentTarget||(e.currentTarget=n),e.target||(e.target=n),delete e.result,t&&(t=b.has(t,e.type)&&t[e.type])&&b.each(t.slice(),function(t){return!1===(e.result=t.apply(n,r))&&(e.cancelled=!0),!e.aborted}),e.result}function V(t){var n=this.events||(this.events={});return b.has(n,t)?n[t]:n[t]=[]}function Z(t,e){var r=this.events;return r&&b.each(t?t.split(" "):r,function(t,n){"string"==typeof t&&(n=t,t=b.has(r,n)&&r[n]),t&&(e?-1<(n=b.indexOf(t,e))&&t.splice(n,1):t.length=0)}),this}function J(t,n){var e=this.events||(this.events={});return b.each(t.split(" "),function(t){(b.has(e,t)?e[t]:e[t]=[]).push(n)}),this}function R(){var l=O.options,h={},t=[{ns:S.ns,res:c(.0015,n("ms")),unit:"ms"}];function p(t,n,e,r){var i=t.fn,e=e?(e=i,!b.has(e,"toString")&&(/^[\s(]*function[^(]*\(([^\s,)]+)/.exec(e)||0)[1]||"deferred"):"";return h.uid=w+ut++,b.assign(h,{setup:n?B(t.setup):o("m#.setup()"),fn:n?B(i):o("m#.fn("+e+")"),fnArg:e,teardown:n?B(t.teardown):o("m#.teardown()")}),"ns"==S.unit?b.assign(h,{begin:o("s#=n#()"),end:o("r#=n#(s#);r#=r#[0]+(r#[1]/1e9)")}):"us"==S.unit?S.ns.stop?b.assign(h,{begin:o("s#=n#.start()"),end:o("r#=n#.microseconds()/1e6")}):b.assign(h,{begin:o("s#=n#()"),end:o("r#=(n#()-s#)/1e6")}):S.ns.now?b.assign(h,{begin:o("s#=n#.now()"),end:o("r#=(n#.now()-s#)/1e3")}):b.assign(h,{begin:o("s#=new n#().getTime()"),end:o("r#=(new n#().getTime()-s#)/1e3")}),S.start=A(o("o#"),o("var n#=this.ns,${begin};o#.elapsed=0;o#.timeStamp=s#")),S.stop=A(o("o#"),o("var n#=this.ns,s#=o#.timeStamp,${end};o#.elapsed=r#")),A(o("window,t#"),"var global = window, clearTimeout = global.clearTimeout, setTimeout = global.setTimeout;\n"+o(r))}function n(t){for(var n,e,r=30,i=1e3,o=S.ns,u=[];r--;){if("us"==t)if(i=1e6,o.stop)for(o.start();!(n=o.microseconds()););else for(e=o();!(n=o()-e););else if("ns"==t){for(i=1e9,e=(e=o())[0]+e[1]/i;!(n=(n=o())[0]+n[1]/i-e););i=1}else if(o.now)for(e=o.now();!(n=o.now()-e););else for(e=(new o).getTime();!(n=(new o).getTime()-e););if(!(0<n)){u.push(1/0);break}u.push(n)}return U(u)/i}function o(t){return b.template(t.replace(/\#/g,/\d+/.exec(h.uid)))(h)}R=function(n){var t,e=(n=n instanceof j?(t=n).benchmark:n)._original,r=q(e.fn),i=e.count=n.count,o=r||x.decompilation&&(n.setup!==b.noop||n.teardown!==b.noop),u=e.id,u=e.name||("number"==typeof u?"<Test #"+u+">":u),a=0,c=(n.minTime=e.minTime||(e.minTime=e.options.minTime=l.minTime),t?'var d#=this,${fnArg}=d#,m#=d#.benchmark._original,f#=m#.fn,su#=m#.setup,td#=m#.teardown;if(!d#.cycles){d#.fn=function(){var ${fnArg}=d#;if(typeof f#=="function"){try{${fn}\n}catch(e#){f#(d#)}}else{${fn}\n}};d#.teardown=function(){d#.cycles=0;if(typeof td#=="function"){try{${teardown}\n}catch(e#){td#()}}else{${teardown}\n}};if(typeof su#=="function"){try{${setup}\n}catch(e#){su#()}}else{${setup}\n};t#.start(d#);}d#.fn();return{uid:"${uid}"}':'var r#,s#,m#=this,f#=m#.fn,i#=m#.count,n#=t#.ns;${setup}\n${begin};while(i#--){${fn}\n}${end};${teardown}\nreturn{elapsed:r#,uid:"${uid}"}'),s=e.compiled=n.compiled=p(e,o,t,c),f=!(h.fn||r);try{if(f)throw new Error('The test "'+u+'" is empty. This may be the result of dead code removal.');t||(e.count=1,s=o&&(s.call(e,d,S)||{}).uid==h.uid&&s,e.count=i)}catch(t){s=null,n.error=t||new Error(g(t)),e.count=i}if(!s&&!t&&!f){s=p(e,o,t,c=(r||o&&!n.error?"function f#(){${fn}\n}var r#,s#,m#=this,i#=m#.count":"var r#,s#,m#=this,f#=m#.fn,i#=m#.count")+",n#=t#.ns;${setup}\n${begin};m#.f#=f#;while(i#--){m#.f#()}${end};delete m#.f#;${teardown}\nreturn{elapsed:r#}");try{e.count=1,s.call(e,d,S),e.count=i,delete n.error}catch(t){e.count=i,n.error||(n.error=t||new Error(g(t)))}}return a=n.error?a:(s=e.compiled=n.compiled=p(e,o,t,c)).call(t||e,d,S).elapsed};try{(S.ns=new(d.chrome||d.chromium).Interval)&&t.push({ns:S.ns,res:n("us"),unit:"us"})}catch(t){}if(N&&"function"==typeof(S.ns=N.hrtime)&&t.push({ns:S.ns,res:n("ns"),unit:"ns"}),f&&"function"==typeof(S.ns=f.now)&&t.push({ns:S.ns,res:n("us"),unit:"us"}),(S=b.minBy(t,"res")).res==1/0)throw new Error("Benchmark.js was unable to find a working timer.");return l.minTime||(l.minTime=c(S.res/2/.01,.05)),R.apply(null,arguments)}function Y(f,t){var t=(t=t||{}).async,l=0,h=f.initCount,p=f.minSamples,d=[],g=f.stats.sample;function v(){d.push(b.assign(f.clone(),{_original:f,events:{abort:[n],cycle:[n],error:[n],start:[n]}}))}function n(t){var n=t.type;f.running?"start"==n?this.count=f.initCount:("error"==n&&(f.error=this.error),"abort"==n?(f.abort(),f.emit("cycle")):(t.currentTarget=t.target=f).emit(t)):f.aborted&&(this.events.abort.length=0,this.abort())}v(),I(d,{name:"run",args:{async:t},queued:!0,onCycle:function(t){var e,n,r,i=t.target,o=f.aborted,u=b.now(),a=g.push(i.times.period),c=p<=a&&(l+=u-i.times.timeStamp)/1e3>f.maxTime,s=f.times;!o&&i.hz!=1/0||(c=!(a=g.length=d.length=0)),o||(e=U(g),i=b.reduce(g,function(t,n){return t+z(n-e,2)},0)/(a-1)||0,r=(n=y(i))/y(a),a=st[_.round(a-1)||1]||st.infinity,b.assign(f.stats,{deviation:n,mean:e,moe:n=r*a,rme:n/e*100||0,sem:r,variance:i}),c&&(f.initCount=h,o=!(f.running=!1),s.elapsed=(u-s.timeStamp)/1e3),f.hz!=1/0&&(f.hz=1/e,s.cycle=e*f.count,s.period=e)),d.length<2&&!c&&v(),t.aborted=o},onComplete:function(){f.emit("complete")}})}function M(t,n){var e;n=n||{},t instanceof j&&(t=(e=t).benchmark);var r,i,o,u,a=n.async,c=t._original,s=t.count,f=t.times;t.running&&(u=++t.cycles,r=e?e.elapsed:R(t),o=t.minTime,u>c.cycles&&(c.cycles=u),t.error)&&((i=E("error")).message=t.error,t.emit(i),i.cancelled||t.abort()),t.running&&(c.times.cycle=f.cycle=r,u=c.times.period=f.period=r/s,c.hz=t.hz=1/u,c.initCount=t.initCount=s,t.running=r<o,t.running)&&((s=r||null==(f=ct[t.cycles])?s:L(4e6/f))<=t.count&&(s+=_.ceil((o-r)/u)),t.running=s!=1/0),i=E("cycle"),t.emit(i),i.aborted&&t.abort(),t.running?(t.count=s,e?t.compiled.call(e,d,S):a?C(t,function(){M(t,n)}):M(t)):(x.browser&&G(w+"=1;delete "+w),t.emit("complete"))}}"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(["lodash","platform"],function(t,n){return lt({_:t,platform:n})}):(t=lt(),et&&n?(e&&((n.exports=t).Benchmark=t),et.Benchmark=t):tt.Benchmark=t)}.call(this)}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{lodash:3,platform:4}],2:[function(t,n,e){function s(t){return"string"==typeof t}function f(t){return t instanceof Object}function u(t){return"[object Function]"==={}.toString.call(t)}function p(t,n){return new i.init(t,n)}function r(t){var n=t.length,e=typeof t;return!u(e)&&t!==a&&(1===t.nodeType&&n||Array.isArray(e)||0===n||"number"==typeof n&&0<n&&n-1 in t)}function d(t,n){var e,r=function(t,n){"preventDefault"===t?this[t]=function(){return this.defaultPrevented=!0,n[t]()}:"stopImmediatePropagation"===t?this[t]=function(){return this.immediatePropagationStopped=!0,n[t]()}:u(n[t])?this[t]=function(){return n[t]()}:this[t]=n[t]};for(e in this.originalEvent=t)!t[e]&&"function"!=typeof t[e]||r.call(this,e,t);p.extend(this,n,{isImmediatePropagationStopped:function(){return!!this.immediatePropagationStopped}})}var a,i,o,c,l,h,g,v,b,_;a="undefined"!=typeof window?window:this,o=a.$,c=a.jBone,l=/^<(\w+)\s*\/?>$/,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,g=[].slice,v=[].splice,b=Object.keys,_=a.document,p.noConflict=function(){return a.$=o,a.jBone=c,p},(i=p.fn=p.prototype={init:function(t,n){var e,r,i,o;if(!t)return this;if(s(t)){if(r=l.exec(t))return this[0]=_.createElement(r[1]),this.length=1,f(n)&&this.attr(n),this;if((r=h.exec(t))&&r[1]){for(o=_.createDocumentFragment(),(i=_.createElement("div")).innerHTML=t;i.lastChild;)o.appendChild(i.firstChild);return e=g.call(o.childNodes),p.merge(this,e)}if(p.isElement(n))return p(n).find(t);try{return e=_.querySelectorAll(t),p.merge(this,e)}catch(t){return this}}return t.nodeType?(this[0]=t,this.length=1,this):u(t)?t():t instanceof p?t:p.makeArray(t,this)},pop:[].pop,push:[].push,reverse:[].reverse,shift:[].shift,sort:[].sort,splice:[].splice,slice:[].slice,indexOf:[].indexOf,forEach:[].forEach,unshift:[].unshift,concat:[].concat,join:[].join,every:[].every,some:[].some,filter:[].filter,map:[].map,reduce:[].reduce,reduceRight:[].reduceRight,length:0}).constructor=p,i.init.prototype=i,p.setId=function(t){var n=t.jid;t===a?n="window":void 0===t.jid&&(t.jid=n=++p._cache.jid),p._cache.events[n]||(p._cache.events[n]={})},p.getData=function(t){t=(t=t instanceof p?t[0]:t)===a?"window":t.jid;return{jid:t,events:p._cache.events[t]}},p.isElement=function(t){return t&&t instanceof p||t instanceof HTMLElement||s(t)},p._cache={events:{},jid:0},i.pushStack=function(t){return p.merge(this.constructor(),t)},p.merge=function(t,n){for(var e=n.length,r=t.length,i=0;i<e;)t[r++]=n[i++];return t.length=r,t},p.contains=function(t,n){return t.contains(n)},p.extend=function(e){var r;return v.call(arguments,1).forEach(function(t){if(r=e,t)for(var n in t)r[n]=t[n]}),e},p.makeArray=function(t,n){n=n||[];return null!==t&&(r(t)?p.merge(n,s(t)?[t]:t):n.push(t)),n},p.unique=function(t){if(null==t)return[];for(var n=[],e=0,r=t.length;e<r;e++){var i=t[e];n.indexOf(i)<0&&n.push(i)}return n},p.Event=function(t,n){var e=(t=t.type&&!n?(n=t).type:t).split(".").splice(1).join("."),r=t.split(".")[0];return(t=_.createEvent("Event")).initEvent(r,!0,!0),p.extend(t,{namespace:e,isDefaultPrevented:function(){return t.defaultPrevented}},n)},p.event={add:function(n,t,e,r,i){p.setId(n);for(var o,u,a=function(t){p.event.dispatch.call(n,t)},c=p.getData(n).events,s=(t=t.split(" ")).length;s--;)c[o=(u=t[s]).split(".")[0]]=c[o]||[],c[o].length?a=c[o][0].fn:n.addEventListener&&n.addEventListener(o,a,!1),c[o].push({namespace:u.split(".").splice(1).join("."),fn:a,selector:i,data:r,originfn:e})},remove:function(i,t,u,o){function a(t,n,e,r,i){var o;(u&&i.originfn===u||!u)&&(o=i.fn),t[n][e].fn===o&&(t[n].splice(e,1),t[n].length||r.removeEventListener(n,o))}var c,s,f=p.getData(i).events;if(f)return!t&&f?b(f).forEach(function(t){for(s=f[t],c=s.length;c--;)a(f,t,c,i,s[c])}):void t.split(" ").forEach(function(t){var n,e=t.split(".")[0],r=t.split(".").splice(1).join(".");if(f[e])for(s=f[e],c=s.length;c--;)n=s[c],r&&n.namespace!==r||o&&n.selector!==o||a(f,e,c,i,n);else r&&b(f).forEach(function(t){for(s=f[t],c=s.length;c--;)(n=s[c]).namespace.split(".")[0]===r.split(".")[0]&&a(f,t,c,i,n)})})},trigger:function(n,t){(s(t)?t.split(" ").map(function(t){return p.Event(t)}):[t=t instanceof Event?t:p.Event(t)]).forEach(function(t){t.type&&n.dispatchEvent&&n.dispatchEvent(t)})},dispatch:function(t){for(var n,e,r,i,o,u=0,a=0,c=this,s=p.getData(c).events[t.type],f=s.length,l=[],h=[];u<f;u++)l.push(s[u]);for(u=0,f=l.length;u<f&&~s.indexOf(l[u])&&(!i||!i.isImmediatePropagationStopped());u++)if(e=null,o={},(r=l[u]).data&&(o.data=r.data),r.selector){if(~(h=p(c).find(r.selector)).indexOf(t.target)&&(e=t.target)||c!==t.target&&c.contains(t.target)){if(!e)for(n=h.length,a=0;a<n;a++)h[a]&&h[a].contains(t.target)&&(e=h[a]);e&&(o.currentTarget=e,i=new d(t,o),t.namespace&&t.namespace!==r.namespace||r.originfn.call(e,i))}}else i=new d(t,o),t.namespace&&t.namespace!==r.namespace||r.originfn.call(c,i)}},i.on=function(t,n,e,r){var i=this.length,o=0;if(null==e&&null==r?(r=n,e=n=void 0):null==r&&("string"==typeof n?(r=e,e=void 0):(r=e,e=n,n=void 0)),r)for(;o<i;o++)p.event.add(this[o],t,r,e,n);return this},i.one=function(t){for(var n=arguments,e=0,r=this.length,o=g.call(n,1,n.length-1),u=g.call(n,-1)[0],i=function(r){var i=p(r);t.split(" ").forEach(function(n){var e=function(t){i.off(n,e),u.call(r,t)};i.on.apply(i,[n].concat(o,e))})};e<r;e++)i(this[e]);return this},i.trigger=function(t){var n=0,e=this.length;if(t)for(;n<e;n++)p.event.trigger(this[n],t);return this},i.off=function(t,n,e){var r=0,i=this.length;for(u(n)&&(e=n,n=void 0);r<i;r++)p.event.remove(this[r],t,e,n);return this},i.find=function(t){for(var n,e=[],r=0,i=this.length;r<i;r++)n=this[r],u(n.querySelectorAll)&&[].forEach.call(n.querySelectorAll(t),function(t){e.push(t)});return p(e)},i.get=function(t){return null!=t?t<0?this[t+this.length]:this[t]:g.call(this)},i.eq=function(t){return p(this[t])},i.parent=function(){for(var t,n=[],e=0,r=this.length;e<r;e++)!~n.indexOf(t=this[e].parentElement)&&t&&n.push(t);return p(n)},i.toArray=function(){return g.call(this)},i.is=function(){var n=arguments;return this.some(function(t){return t.tagName.toLowerCase()===n[0]})},i.has=function(){var n=arguments;return this.some(function(t){return t.querySelectorAll(n[0]).length})},i.add=function(t,n){return this.pushStack(p.unique(p.merge(this.get(),p(t,n))))},i.attr=function(e,n){var t,r=arguments,i=0,o=this.length;if(s(e)&&1===r.length)return this[0]&&this[0].getAttribute(e);for(2===r.length?t=function(t){t.setAttribute(e,n)}:f(e)&&(t=function(n){b(e).forEach(function(t){n.setAttribute(t,e[t])})});i<o;i++)t(this[i]);return this},i.removeAttr=function(t){for(var n=0,e=this.length;n<e;n++)this[n].removeAttribute(t);return this},i.val=function(t){var n=0,e=this.length;if(0===arguments.length)return this[0]&&this[0].value;for(;n<e;n++)this[n].value=t;return this},i.css=function(e,n){var t,r=arguments,i=0,o=this.length;if(s(e)&&1===r.length)return this[0]&&a.getComputedStyle(this[0])[e];for(2===r.length?t=function(t){t.style[e]=n}:f(e)&&(t=function(n){b(e).forEach(function(t){n.style[t]=e[t]})});i<o;i++)t(this[i]);return this},i.data=function(e,n){function r(t){return"true"===t||"false"!==t&&t}var t,i=arguments,o={},u=0,a=this.length,c=function(t,n,e){f(e)?(t.jdata=t.jdata||{},t.jdata[n]=e):t.dataset[n]=e};if(0===i.length)return this[0].jdata&&(o=this[0].jdata),b(this[0].dataset).forEach(function(t){o[t]=r(this[0].dataset[t])},this),o;if(1===i.length&&s(e))return this[0]&&r(this[0].dataset[e]||this[0].jdata&&this[0].jdata[e]);for(1===i.length&&f(e)?t=function(n){b(e).forEach(function(t){c(n,t,e[t])})}:2===i.length&&(t=function(t){c(t,e,n)});u<a;u++)t(this[u]);return this},i.removeData=function(t){for(var n,e,r=0,i=this.length;r<i;r++)if(n=this[r].jdata,e=this[r].dataset,t)n&&n[t]&&delete n[t],delete e[t];else{for(t in n)delete n[t];for(t in e)delete e[t]}return this},i.addClass=function(t){for(var n=0,e=0,r=this.length,i=t?t.trim().split(/\s+/):[];n<r;n++)for(e=e=0;e<i.length;e++)this[n].classList.add(i[e]);return this},i.removeClass=function(t){for(var n=0,e=0,r=this.length,i=t?t.trim().split(/\s+/):[];n<r;n++)for(e=e=0;e<i.length;e++)this[n].classList.remove(i[e]);return this},i.toggleClass=function(t,n){var e=0,r=this.length,i="toggle";if(!0===n?i="add":!1===n&&(i="remove"),t)for(;e<r;e++)this[e].classList[i](t);return this},i.hasClass=function(t){var n=0,e=this.length;if(t)for(;n<e;n++)if(this[n].classList.contains(t))return!0;return!1},i.html=function(t){var n=arguments;return 1===n.length&&void 0!==t?this.empty().append(t):0===n.length&&(n=this[0])?n.innerHTML:this},i.append=function(t){var n,e=0,r=this.length;for(s(t)&&h.exec(t)?t=p(t):f(t)||(t=document.createTextNode(t)),t=t instanceof p?t:p(t),n=function(n,e){t.forEach(function(t){e?n.appendChild(t.cloneNode(!0)):n.appendChild(t)})};e<r;e++)n(this[e],e);return this},i.appendTo=function(t){return p(t).append(this),this},i.empty=function(){for(var t,n=0,e=this.length;n<e;n++)for(t=this[n];t.lastChild;)t.removeChild(t.lastChild);return this},i.remove=function(){var t,n=0,e=this.length;for(this.off();n<e;n++)delete(t=this[n]).jdata,t.parentNode&&t.parentNode.removeChild(t);return this},"object"==typeof n&&n&&"object"==typeof n.exports?n.exports=p:"function"==typeof define&&define.amd?(define(function(){return p}),a.jBone=a.$=p):"object"==typeof a&&"object"==typeof a.document&&(a.jBone=a.$=p)},{}],3:[function(t,B,T){!function(C){!function(){!function(){var No,Do="Expected a function",_u="__lodash_hash_undefined__",mu="__lodash_placeholder__",Uo=128,qo=9007199254740991,yu=NaN,Go=4294967295,wu=[["ary",Uo],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Ko="[object Arguments]",xu="[object Array]",Xo="[object Boolean]",Ho="[object Date]",Su="[object Error]",Ou="[object Function]",ju="[object GeneratorFunction]",Vo="[object Map]",Zo="[object Number]",Jo="[object Object]",Eu="[object Promise]",Yo="[object RegExp]",Qo="[object Set]",tu="[object String]",ku="[object Symbol]",nu="[object WeakMap]",Au="[object ArrayBuffer]",eu="[object DataView]",Cu="[object Float32Array]",Bu="[object Float64Array]",Tu="[object Int8Array]",Iu="[object Int16Array]",$u="[object Int32Array]",Ru="[object Uint8Array]",Mu="[object Uint8ClampedArray]",Pu="[object Uint16Array]",Wu="[object Uint32Array]",Fu=/\b__p \+= '';/g,Lu=/\b(__p \+=) '' \+/g,zu=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Nu=/&(?:amp|lt|gt|quot|#39);/g,Du=/[&<>"']/g,Uu=RegExp(Nu.source),qu=RegExp(Du.source),Gu=/<%-([\s\S]+?)%>/g,Ku=/<%([\s\S]+?)%>/g,Xu=/<%=([\s\S]+?)%>/g,Hu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vu=/^\w*$/,Zu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ju=/[\\^$.*+?()[\]{}|]/g,Yu=RegExp(Ju.source),Qu=/^\s+/,o=/\s/,ta=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,na=/\{\n\/\* \[wrapped with (.+)\] \*/,ea=/,? & /,ra=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ia=/[()=,{}\[\]\/\s]/,oa=/\\(\\)?/g,ua=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,aa=/\w*$/,ca=/^[-+]0x[0-9a-f]+$/i,sa=/^0b[01]+$/i,fa=/^\[object .+?Constructor\]$/,la=/^0o[0-7]+$/i,ha=/^(?:0|[1-9]\d*)$/,pa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,da=/($^)/,ga=/['\n\r\u2028\u2029\\]/g,u="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",c="\\u2700-\\u27bf",t="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",s="\\ufe0e\\ufe0f",f="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="['’]",e="["+u+"]",h="["+f+"]",p="["+a+"]",d="["+c+"]",g="["+t+"]",f="[^"+u+f+"\\d+"+c+t+n+"]",c="\\ud83c[\\udffb-\\udfff]",t="[^"+u+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",r="[\\ud800-\\udbff][\\udc00-\\udfff]",n="["+n+"]",b="\\u200d",_="(?:"+g+"|"+f+")",f="(?:"+n+"|"+f+")",m="(?:['’](?:d|ll|m|re|s|t|ve))?",y="(?:['’](?:D|LL|M|RE|S|T|VE))?",w="(?:"+p+"|"+c+")"+"?",x="["+s+"]?",x=x+w+("(?:"+b+"(?:"+[t,v,r].join("|")+")"+x+w+")*"),w="(?:"+[d,v,r].join("|")+")"+x,d="(?:"+[t+p+"?",p,v,r,e].join("|")+")",va=RegExp(l,"g"),ba=RegExp(p,"g"),S=RegExp(c+"(?="+c+")|"+d+x,"g"),_a=RegExp([n+"?"+g+"+"+m+"(?="+[h,n,"$"].join("|")+")",f+"+"+y+"(?="+[h,n+_,"$"].join("|")+")",n+"?"+_+"+"+m,n+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",w].join("|"),"g"),O=RegExp("["+b+u+a+s+"]"),ma=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ya=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],wa=-1,ru={},iu=(ru[Cu]=ru[Bu]=ru[Tu]=ru[Iu]=ru[$u]=ru[Ru]=ru[Mu]=ru[Pu]=ru[Wu]=!0,ru[Ko]=ru[xu]=ru[Au]=ru[Xo]=ru[eu]=ru[Ho]=ru[Su]=ru[Ou]=ru[Vo]=ru[Zo]=ru[Jo]=ru[Yo]=ru[Qo]=ru[tu]=ru[nu]=!1,{}),j=(iu[Ko]=iu[xu]=iu[Au]=iu[eu]=iu[Xo]=iu[Ho]=iu[Cu]=iu[Bu]=iu[Tu]=iu[Iu]=iu[$u]=iu[Vo]=iu[Zo]=iu[Jo]=iu[Yo]=iu[Qo]=iu[tu]=iu[ku]=iu[Ru]=iu[Mu]=iu[Pu]=iu[Wu]=!0,iu[Su]=iu[Ou]=iu[nu]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),xa=parseFloat,Sa=parseInt,t="object"==typeof C&&C&&C.Object===Object&&C,v="object"==typeof self&&self&&self.Object===Object&&self,ou=t||v||Function("return this")(),r="object"==typeof T&&T&&!T.nodeType&&T,i=r&&"object"==typeof B&&B&&!B.nodeType&&B,Oa=i&&i.exports===r,E=Oa&&t.process,e=function(){try{var t=i&&i.require&&i.require("util").types;return t?t:E&&E.binding&&E.binding("util")}catch(t){}}(),ja=e&&e.isArrayBuffer,Ea=e&&e.isDate,ka=e&&e.isMap,Aa=e&&e.isRegExp,Ca=e&&e.isSet,Ba=e&&e.isTypedArray;function uu(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function Ta(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];n(r,u,e(u),t)}return r}function au(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function Ia(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}function $a(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function cu(t,n){for(var e=-1,r=null==t?0:t.length,i=0,o=[];++e<r;){var u=t[e];n(u,e,t)&&(o[i++]=u)}return o}function Ra(t,n){return!!(null==t?0:t.length)&&-1<lu(t,n,0)}function Ma(t,n,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(n,t[r]))return!0;return!1}function su(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e<r;)i[e]=n(t[e],e,t);return i}function fu(t,n){for(var e=-1,r=n.length,i=t.length;++e<r;)t[i+e]=n[e];return t}function Pa(t,n,e,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(e=t[++i]);++i<o;)e=n(e,t[i],i,t);return e}function Wa(t,n,e,r){var i=null==t?0:t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function Fa(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}var k=qa("length");function La(t,r,n){var i;return n(t,function(t,n,e){if(r(t,n,e))return i=n,!1}),i}function za(t,n,e,r){for(var i=t.length,o=e+(r?1:-1);r?o--:++o<i;)if(n(t[o],o,t))return o;return-1}function lu(t,n,e){if(n!=n)return za(t,Da,e);for(var r=t,i=n,o=e-1,u=r.length;++o<u;)if(r[o]===i)return o;return-1}function Na(t,n,e,r){for(var i=e-1,o=t.length;++i<o;)if(r(t[i],n))return i;return-1}function Da(t){return t!=t}function Ua(t,n){var e=null==t?0:t.length;return e?Ka(t,n)/e:yu}function qa(n){return function(t){return null==t?No:t[n]}}function A(n){return function(t){return null==n?No:n[t]}}function Ga(t,r,i,o,n){return n(t,function(t,n,e){i=o?(o=!1,t):r(i,t,n,e)}),i}function Ka(t,n){for(var e,r=-1,i=t.length;++r<i;){var o=n(t[r]);o!==No&&(e=e===No?o:e+o)}return e}function Xa(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function Ha(t){return t&&t.slice(0,oc(t)+1).replace(Qu,"")}function hu(n){return function(t){return n(t)}}function Va(n,t){return su(t,function(t){return n[t]})}function Za(t,n){return t.has(n)}function Ja(t,n){for(var e=-1,r=t.length;++e<r&&-1<lu(n,t[e],0););return e}function Ya(t,n){for(var e=t.length;e--&&-1<lu(n,t[e],0););return e}var Qa=A({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),tc=A({"&":"&","<":"<",">":">",'"':""","'":"'"});function nc(t){return"\\"+j[t]}function pu(t){return O.test(t)}function ec(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function rc(n,e){return function(t){return n(e(t))}}function du(t,n){for(var e=-1,r=t.length,i=0,o=[];++e<r;){var u=t[e];u!==n&&u!==mu||(t[e]=mu,o[i++]=e)}return o}function ic(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}function gu(t){return(pu(t)?function(t){var n=S.lastIndex=0;for(;S.test(t);)++n;return n}:k)(t)}function vu(t){return pu(t)?t.match(S)||[]:t.split("")}function oc(t){for(var n=t.length;n--&&o.test(t.charAt(n)););return n}var uc=A({"&":"&","<":"<",">":">",""":'"',"'":"'"});var bu=function i(t){var x=(t=null==t?ou:bu.defaults(ou.Object(),t,bu.pick(ou,ya))).Array,o=t.Date,I=t.Error,$=t.Function,R=t.Math,g=t.Object,M=t.RegExp,D=t.String,S=t.TypeError,U=x.prototype,q=$.prototype,G=g.prototype,K=t["__core-js_shared__"],X=q.toString,P=G.hasOwnProperty,H=0,V=(q=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",Z=G.toString,J=X.call(g),Y=ou._,Q=M("^"+X.call(P).replace(Ju,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=Oa?t.Buffer:No,n=t.Symbol,tt=t.Uint8Array,nt=q?q.allocUnsafe:No,et=rc(g.getPrototypeOf,g),rt=g.create,it=G.propertyIsEnumerable,ot=U.splice,ut=n?n.isConcatSpreadable:No,at=n?n.iterator:No,ct=n?n.toStringTag:No,st=function(){try{var t=Ye(g,"defineProperty");return t({},"",{}),t}catch(t){}}(),ft=t.clearTimeout!==ou.clearTimeout&&t.clearTimeout,lt=o&&o.now!==ou.Date.now&&o.now,ht=t.setTimeout!==ou.setTimeout&&t.setTimeout,pt=R.ceil,dt=R.floor,gt=g.getOwnPropertySymbols,q=q?q.isBuffer:No,vt=t.isFinite,bt=U.join,_t=rc(g.keys,g),O=R.max,j=R.min,mt=o.now,yt=t.parseInt,wt=R.random,xt=U.reverse,o=Ye(t,"DataView"),St=Ye(t,"Map"),Ot=Ye(t,"Promise"),jt=Ye(t,"Set"),t=Ye(t,"WeakMap"),Et=Ye(g,"create"),kt=t&&new t,At={},Ct=Sr(o),Bt=Sr(St),Tt=Sr(Ot),It=Sr(jt),$t=Sr(t),n=n?n.prototype:No,Rt=n?n.valueOf:No,Mt=n?n.toString:No;function d(t){if(N(t)&&!z(t)&&!(t instanceof b)){if(t instanceof v)return t;if(P.call(t,"__wrapped__"))return Or(t)}return new v(t)}var Pt=function(t){if(!w(t))return{};if(rt)return rt(t);Wt.prototype=t;t=new Wt;return Wt.prototype=No,t};function Wt(){}function Ft(){}function v(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=No}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Go,this.__views__=[]}function Lt(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function zt(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Nt(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Dt(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new Nt;++n<e;)this.add(t[n])}function W(t){t=this.__data__=new zt(t);this.size=t.size}function Ut(t,n){var e,r=z(t),i=!r&&bi(t),o=!r&&!i&&mi(t),u=!r&&!i&&!o&&Bi(t),a=r||i||o||u,c=a?Xa(t.length,D):[],s=c.length;for(e in t)!n&&!P.call(t,e)||a&&("length"==e||o&&("offset"==e||"parent"==e)||u&&("buffer"==e||"byteLength"==e||"byteOffset"==e)||ir(e,s))||c.push(e);return c}function qt(t){var n=t.length;return n?t[Ln(0,n-1)]:No}function Gt(t,n){return mr(E(t),tn(n,0,t.length))}function Kt(t){return mr(E(t))}function Xt(t,n,e){(e===No||L(t[n],e))&&(e!==No||n in t)||Yt(t,n,e)}function Ht(t,n,e){var r=t[n];P.call(t,n)&&L(r,e)&&(e!==No||n in t)||Yt(t,n,e)}function Vt(t,n){for(var e=t.length;e--;)if(L(t[e][0],n))return e;return-1}function Zt(t,r,i,o){return on(t,function(t,n,e){r(o,t,i(t),e)}),o}function Jt(t,n){return t&&ve(n,C(n),t)}function Yt(t,n,e){"__proto__"==n&&st?st(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function Qt(t,n){for(var e=-1,r=n.length,i=x(r),o=null==t;++e<r;)i[e]=o?No:qi(t,n[e]);return i}function tn(t,n,e){return t=t==t&&(e!==No&&(t=t<=e?t:e),n!==No)?n<=t?t:n:t}function _(e,r,i,t,n,o){var u,a=1&r,c=2&r,s=4&r;if((u=i?n?i(e,t,n,o):i(e):u)===No){if(!w(e))return e;var f,t=z(e);if(t){if(u=function(t){var n=t.length,e=new t.constructor(n);n&&"string"==typeof t[0]&&P.call(t,"index")&&(e.index=t.index,e.input=t.input);return e}(e),!a)return E(e,u)}else{var l=F(e),h=l==Ou||l==ju;if(mi(e))return fe(e,a);if(l==Jo||l==Ko||h&&!n){if(u=c||h?{}:er(e),!a)return c?(p=h=e,p=(f=u)&&ve(p,B(p),f),ve(h,tr(h),p)):(h=Jt(u,f=e),ve(f,Qe(f),h))}else{if(!iu[l])return n?e:{};u=function(t,n,e){var r=t.constructor;switch(n){case Au:return le(t);case Xo:case Ho:return new r(+t);case eu:return function(t,n){n=n?le(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,e);case Cu:case Bu:case Tu:case Iu:case $u:case Ru:case Mu:case Pu:case Wu:return he(t,e);case Vo:return new r;case Zo:case tu:return new r(t);case Yo:return function(t){var n=new t.constructor(t.source,aa.exec(t));return n.lastIndex=t.lastIndex,n}(t);case Qo:return new r;case ku:return function(t){return Rt?g(Rt.call(t)):{}}(t)}}(e,l,a)}}var p=(o=o||new W).get(e);if(p)return p;o.set(e,u),Ai(e)?e.forEach(function(t){u.add(_(t,r,i,t,e,o))}):Oi(e)&&e.forEach(function(t,n){u.set(n,_(t,r,i,n,e,o))});var d=t?No:(s?c?Ke:Ge:c?B:C)(e);au(d||e,function(t,n){d&&(t=e[n=t]),Ht(u,n,_(t,r,i,n,e,o))})}return u}function nn(t,n,e){var r=e.length;if(null==t)return!r;for(t=g(t);r--;){var i=e[r],o=n[i],u=t[i];if(u===No&&!(i in t)||!o(u))return!1}return!0}function en(t,n,e){if("function"!=typeof t)throw new S(Do);return gr(function(){t.apply(No,e)},n)}function rn(t,n,e,r){var i=-1,o=Ra,u=!0,a=t.length,c=[],s=n.length;if(a){e&&(n=su(n,hu(e))),r?(o=Ma,u=!1):200<=n.length&&(o=Za,u=!1,n=new Dt(n));t:for(;++i<a;){var f=t[i],l=null==e?f:e(f),f=r||0!==f?f:0;if(u&&l==l){for(var h=s;h--;)if(n[h]===l)continue t;c.push(f)}else o(n,l,r)||c.push(f)}}return c}d.templateSettings={escape:Gu,evaluate:Ku,interpolate:Xu,variable:"",imports:{_:d}},(d.prototype=Ft.prototype).constructor=d,(v.prototype=Pt(Ft.prototype)).constructor=v,(b.prototype=Pt(Ft.prototype)).constructor=b,Lt.prototype.clear=function(){this.__data__=Et?Et(null):{},this.size=0},Lt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},Lt.prototype.get=function(t){var n,e=this.__data__;return Et?(n=e[t])===_u?No:n:P.call(e,t)?e[t]:No},Lt.prototype.has=function(t){var n=this.__data__;return Et?n[t]!==No:P.call(n,t)},Lt.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Et&&n===No?_u:n,this},zt.prototype.clear=function(){this.__data__=[],this.size=0},zt.prototype.delete=function(t){var n=this.__data__;return!((t=Vt(n,t))<0||(t==n.length-1?n.pop():ot.call(n,t,1),--this.size,0))},zt.prototype.get=function(t){var n=this.__data__;return(t=Vt(n,t))<0?No:n[t][1]},zt.prototype.has=function(t){return-1<Vt(this.__data__,t)},zt.prototype.set=function(t,n){var e=this.__data__,r=Vt(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},Nt.prototype.clear=function(){this.size=0,this.__data__={hash:new Lt,map:new(St||zt),string:new Lt}},Nt.prototype.delete=function(t){return t=Ze(this,t).delete(t),this.size-=t?1:0,t},Nt.prototype.get=function(t){return Ze(this,t).get(t)},Nt.prototype.has=function(t){return Ze(this,t).has(t)},Nt.prototype.set=function(t,n){var e=Ze(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},Dt.prototype.add=Dt.prototype.push=function(t){return this.__data__.set(t,_u),this},Dt.prototype.has=function(t){return this.__data__.has(t)},W.prototype.clear=function(){this.__data__=new zt,this.size=0},W.prototype.delete=function(t){var n=this.__data__,t=n.delete(t);return this.size=n.size,t},W.prototype.get=function(t){return this.__data__.get(t)},W.prototype.has=function(t){return this.__data__.has(t)},W.prototype.set=function(t,n){var e=this.__data__;if(e instanceof zt){var r=e.__data__;if(!St||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Nt(r)}return e.set(t,n),this.size=e.size,this};var on=me(hn),un=me(pn,!0);function an(t,r){var i=!0;return on(t,function(t,n,e){return i=!!r(t,n,e)}),i}function cn(t,n,e){for(var r=-1,i=t.length;++r<i;){var o,u,a=t[r],c=n(a);null!=c&&(o===No?c==c&&!m(c):e(c,o))&&(o=c,u=a)}return u}function sn(t,r){var i=[];return on(t,function(t,n,e){r(t,n,e)&&i.push(t)}),i}function c(t,n,e,r,i){var o=-1,u=t.length;for(e=e||rr,i=i||[];++o<u;){var a=t[o];0<n&&e(a)?1<n?c(a,n-1,e,r,i):fu(i,a):r||(i[i.length]=a)}return i}var fn=ye(),ln=ye(!0);function hn(t,n){return t&&fn(t,n,C)}function pn(t,n){return t&&ln(t,n,C)}function dn(n,t){return cu(t,function(t){return wi(n[t])})}function gn(t,n){for(var e=0,r=(n=ue(n,t)).length;null!=t&&e<r;)t=t[xr(n[e++])];return e&&e==r?t:No}function vn(t,n,e){n=n(t);return z(t)?n:fu(n,e(t))}function e(t){if(null==t)return t===No?"[object Undefined]":"[object Null]";if(ct&&ct in g(t)){var n=t,e=P.call(n,ct),r=n[ct];try{n[ct]=No;var i=!0}catch(t){}var o=Z.call(n);return i&&(e?n[ct]=r:delete n[ct]),o}return Z.call(t)}function bn(t,n){return n<t}function _n(t,n){return null!=t&&P.call(t,n)}function mn(t,n){return null!=t&&n in g(t)}function yn(t,n,e){for(var r=e?Ma:Ra,i=t[0].length,o=t.length,u=o,a=x(o),c=1/0,s=[];u--;){var f=t[u];u&&n&&(f=su(f,hu(n))),c=j(f.length,c),a[u]=!e&&(n||120<=i&&120<=f.length)?new Dt(u&&f):No}var f=t[0],l=-1,h=a[0];t:for(;++l<i&&s.length<c;){var p=f[l],d=n?n(p):p,p=e||0!==p?p:0;if(!(h?Za(h,d):r(s,d,e))){for(u=o;--u;){var g=a[u];if(!(g?Za(g,d):r(t[u],d,e)))continue t}h&&h.push(d),s.push(p)}}return s}function wn(t,n,e){n=null==(t=hr(t,n=ue(n,t)))?t:t[xr(r(n))];return null==n?No:uu(n,t,e)}function xn(t){return N(t)&&e(t)==Ko}function Sn(t,n,e,r,i){if(t===n)return!0;if(null==t||null==n||!N(t)&&!N(n))return t!=t&&n!=n;var o=Sn,u=z(t),a=z(n),c=u?xu:F(t),a=a?xu:F(n),s=(c=c==Ko?Jo:c)==Jo,f=(a=a==Ko?Jo:a)==Jo;if((a=c==a)&&mi(t)){if(!mi(n))return!1;s=!(u=!0)}if(a&&!s){i=i||new W;if(u||Bi(t))return Ue(t,n,e,r,o,i);else{var l=t;var h=n;var p=c;var d=e;var g=r;var v=o;var b=i;switch(p){case eu:if(l.byteLength!=h.byteLength||l.byteOffset!=h.byteOffset)return!1;l=l.buffer,h=h.buffer;case Au:return l.byteLength==h.byteLength&&v(new tt(l),new tt(h))?!0:!1;case Xo:case Ho:case Zo:return L(+l,+h);case Su:return l.name==h.name&&l.message==h.message;case Yo:case tu:return l==h+"";case Vo:var _=ec;case Qo:var m=1&d;if(_=_||ic,l.size!=h.size&&!m)return!1;m=b.get(l);if(m)return m==h;d|=2,b.set(l,h);m=Ue(_(l),_(h),d,g,v,b);return b.delete(l),m;case ku:if(Rt)return Rt.call(l)==Rt.call(h)}return!1;return}}if(!(1&e)){u=s&&P.call(t,"__wrapped__"),c=f&&P.call(n,"__wrapped__");if(u||c)return s=u?t.value():t,f=c?n.value():n,i=i||new W,o(s,f,e,r,i)}if(a){i=i||new W;var y=t,w=n,x=e,S=r,O=o,j=i,E=1&x,k=Ge(y),A=k.length,u=Ge(w).length;if(A!=u&&!E)return!1;for(var C=A;C--;){var B=k[C];if(!(E?B in w:P.call(w,B)))return!1}u=j.get(y),c=j.get(w);if(u&&c)return u==w&&c==y;for(var T=!0,I=(j.set(y,w),j.set(w,y),E);++C<A;){B=k[C];var $,R=y[B],M=w[B];if(!(($=S?E?S(M,R,B,w,y,j):S(R,M,B,y,w,j):$)===No?R===M||O(R,M,x,S,j):$)){T=!1;break}I=I||"constructor"==B}return T&&!I&&(u=y.constructor,c=w.constructor,u!=c)&&"constructor"in y&&"constructor"in w&&!("function"==typeof u&&u instanceof u&&"function"==typeof c&&c instanceof c)&&(T=!1),j.delete(y),j.delete(w),T}return!1}function On(t,n,e,r){var i=e.length,o=i,u=!r;if(null==t)return!o;for(t=g(t);i--;){var a=e[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var c=(a=e[i])[0],s=t[c],f=a[1];if(u&&a[2]){if(s===No&&!(c in t))return!1}else{var l,h=new W;if(!((l=r?r(s,f,c,t,n,h):l)===No?Sn(f,s,3,r,h):l))return!1}}return!0}function jn(t){var n;return!(!w(t)||(n=t,V&&V in n))&&(wi(t)?Q:fa).test(Sr(t))}function En(t){return"function"==typeof t?t:null==t?T:"object"==typeof t?z(t)?In(t[0],t[1]):Tn(t):Ao(t)}function kn(t){if(!cr(t))return _t(t);var n,e=[];for(n in g(t))P.call(t,n)&&"constructor"!=n&&e.push(n);return e}function An(t){if(!w(t)){var n=t,e=[];if(null!=n)for(var r in g(n))e.push(r);return e}var i,o=cr(t),u=[];for(i in t)("constructor"!=i||!o&&P.call(t,i))&&u.push(i);return u}function Cn(t,n){return t<n}function Bn(t,r){var i=-1,o=f(t)?x(t.length):[];return on(t,function(t,n,e){o[++i]=r(t,n,e)}),o}function Tn(n){var e=Je(n);return 1==e.length&&e[0][2]?fr(e[0][0],e[0][1]):function(t){return t===n||On(t,n,e)}}function In(e,r){return or(e)&&sr(r)?fr(xr(e),r):function(t){var n=qi(t,e);return n===No&&n===r?Gi(t,e):Sn(r,n,3)}}function $n(g,v,b,_,m){g!==v&&fn(v,function(t,n){var e,r,i,o,u,a,c,s,f,l,h,p,d;m=m||new W,w(t)?(r=v,o=b,u=$n,a=_,c=m,h=pr(e=g,i=n),p=pr(r,i),(d=c.get(p))?Xt(e,i,d):(d=a?a(h,p,i+"",e,r,c):No,(r=d===No)&&(s=z(p),f=!s&&mi(p),l=!s&&!f&&Bi(p),d=p,s||f||l?d=z(h)?h:y(h)?E(h):f?fe(p,!(r=!1)):l?he(p,!(r=!1)):[]:Ei(p)||bi(p)?bi(d=h)?d=Pi(h):w(h)&&!wi(h)||(d=er(p)):r=!1),r&&(c.set(p,d),u(d,p,o,a,c),c.delete(p)),Xt(e,i,d))):(s=_?_(pr(g,n),t,n+"",g,v,m):No,Xt(g,n,s=s===No?t:s))},B)}function Rn(t,n){var e=t.length;if(e)return ir(n+=n<0?e:0,e)?t[n]:No}function Mn(t,r,f){r=r.length?su(r,function(n){return z(n)?function(t){return gn(t,1===n.length?n[0]:n)}:n}):[T];var i=-1;r=su(r,hu(l()));var n=Bn(t,function(n,t,e){return{criteria:su(r,function(t){return t(n)}),index:++i,value:n}}),t=function(t,n){for(var e=f,r=-1,i=t.criteria,o=n.criteria,u=i.length,a=e.length;++r<u;){var c,s=pe(i[r],o[r]);if(s)return a<=r?s:(c=e[r],s*("desc"==c?-1:1))}return t.index-n.index},e=n.length;for(n.sort(t);e--;)n[e]=n[e].value;return n}function Pn(t,n,e){for(var r=-1,i=n.length,o={};++r<i;){var u