1!function(){var t,e,n;(function(){t=this}).call(this),function(){var t=__meteor_runtime_config__;e=t.meteorEnv,n={isProduction:"production"===e.NODE_ENV,isDevelopment:"production"!==e.NODE_ENV,isClient:!0,isServer:!1,isCordova:!1,isModern:t.isModern},t.gitCommitHash&&(n.gitCommitHash=t.gitCommitHash),t.PUBLIC_SETTINGS&&(n.settings={public:t.PUBLIC_SETTINGS})}.call(this),function(){function e(){this._promiseInfoMap=Object.create(null)}var r=e.prototype;r._define=function t(e,n){n=n||{};for(var r=arguments.length,o=2;o<r;++o){var i=arguments[o];for(var s in i)s in n||(n[s]=i[s])}this[e]=n;var a=this._promiseInfoMap[e];return a&&a.resolve(n),n},r._has=function t(e){return Object.prototype.hasOwnProperty.call(this,e)},r._promise=function t(e){var r=this,o=r._promiseInfoMap[e];return o||((o=r._promiseInfoMap[e]={}).promise=new Promise((function(t,i){o.resolve=t,r._has(e)?t(r[e]):n.startup((function(){r._has(e)||i(new Error("Package "+e+" not installed"))}))}))),o.promise},t.Package=new e,"object"==typeof exports&&(exports.PackageRegistry=e)}.call(this),function(){if(n.isServer)var t=Npm.require("fibers/future");"object"==typeof __meteor_runtime_config__&&__meteor_runtime_config__.meteorRelease&&(n.release=__meteor_runtime_config__.meteorRelease),n._get=function(t){for(var e=1;e<arguments.length;e++){if(!(arguments[e]in t))return;t=t[arguments[e]]}return t},n._ensure=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];n in t||(t[n]={}),t=t[n]}return t},n._delete=function(t){for(var e=[t],n=!0,r=1;r<arguments.length-1;r++){var o;if(!((o=arguments[r])in t)){n=!1;break}if("object"!=typeof(t=t[o]))break;e.push(t)}for(var r=e.length-1;r>=0;r--){var o=arguments[r+1];if(n)n=!1;else for(var i in e[r][o])return;delete e[r][o]}},n.wrapAsync=function(e,r){return function(){for(var i=r||this,s=Array.prototype.slice.call(arguments),a,u=s.length-1;u>=0;--u){var c=s[u],l=typeof c;if("undefined"!==l){"function"===l&&(a=c);break}}if(!a){if(n.isClient)a=o;else{var f=new t;a=f.resolver()}++u}s[u]=n.bindEnvironment(a);var p=e.apply(i,s);return f?f.wait():p}};var e=Object.prototype.hasOwnProperty;n._inherits=function(t,n){for(var r in n)e.call(n,r)&&(t[r]=n[r]);var o=function(){this.constructor=t};return o.prototype=n.prototype,t.prototype=new o,t.__super__=n.prototype,t};var r=!1;function o(t){if(t)return n._debug("Exception in callback of async function",t)}n._wrapAsync=function(t,e){return r||(n._debug("Meteor._wrapAsync has been renamed to Meteor.wrapAsync"),r=!0),n.wrapAsync.apply(n,arguments)}}.call(this),function(){"use strict";var t=this;function e(){if(t.setImmediate){var e=function(e){t.setImmediate(e)};return e.implementation="setImmediate",e}return null}function r(){if(!t.postMessage||t.importScripts)return null;var e=!0,n=t.onmessage;if(t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,!e)return null;var r=0,o={},i="Meteor._setImmediate."+Math.random()+".";function s(t,e){return"string"==typeof t&&t.substring(0,e.length)===e}function a(e){if(e.source===t&&s(e.data,i)){var n=e.data.substring(i.length);try{o[n]&&o[n]()}finally{delete o[n]}}}t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a);var u=function(e){++r,o[r]=e,t.postMessage(i+r,"*")};return u.implementation="postMessage",u}function o(){var e=function(e){t.setTimeout(e,0)};return e.implementation="setTimeout",e}n._setImmediate=e()||r()||o()}.call(this),function(){function t(t){if(Package.ddp){var e=Package.ddp.DDP,n=e._CurrentMethodInvocation||e._CurrentInvocation,r=n.get();if(r&&r.isSimulation)throw new Error("Can't set timers inside simulations");return function(){n.withValue(null,t)}}return t}function e(e,r){return n.bindEnvironment(t(r),e)}n.setTimeout=function(t,n){return setTimeout(e("setTimeout callback",t),n)},n.setInterval=function(t,n){return setInterval(e("setInterval callback",t),n)},n.clearInterval=function(t){return clearInterval(t)},n.clearTimeout=function(t){return clearTimeout(t)},n.defer=function(t){n._setImmediate(e("defer callback",t))}}.call(this),function(){n.makeErrorType=function(t,e){var r=function(){Error.captureStackTrace?Error.captureStackTrace(this,r):this.stack=(new Error).stack,e.apply(this,arguments),this.errorType=t};return n._inherits(r,Error),r},n.Error=n.makeErrorType("Meteor.Error",(function(t,e,n){var r=this;r.isClientSafe=!0,r.error=t,r.reason=e,r.details=n,r.reason?r.message=r.reason+" ["+r.error+"]":r.message="["+r.error+"]"})),n.Error.prototype.clone=function(){var t=this;return new n.Error(t.error,t.reason,t.details)}}.call(this),function(){n._noYieldsAllowed=function(t){return t()},n._SynchronousQueue=function(){var t=this;t._tasks=[],t._running=!1,t._runTimeout=null};var t=n._SynchronousQueue.prototype;t.runTask=function(t){var e=this;if(!e.safeToRunTask())throw new Error("Could not synchronously run a task from a running task");e._tasks.push(t);var r=e._tasks;e._tasks=[],e._running=!0,e._runTimeout&&(clearTimeout(e._runTimeout),e._runTimeout=null);try{for(;r.length>0;){var o=r.shift();try{o()}catch(i){if(0===r.length)throw i;n._debug("Exception in queued task",i)}}}finally{e._running=!1}},t.queueTask=function(t){var e=this;e._tasks.push(t),e._runTimeout||(e._runTimeout=setTimeout((function(){return e.flush.apply(e,arguments)}),0))},t.flush=function(){var t;this.runTask((function(){}))},t.drain=function(){var t=this;if(t.safeToRunTask())for(;t._tasks.length>0;)t.flush()},t.safeToRunTask=function(){var t;return!this._running}}.call(this),function(){var t=[],e=!1,r=!1,o=0,i=function(){o++},s=function(){o--,a()},a=function(){if(!(r||!e||o>0)){for(r=!0;t.length;)t.shift()();
1n.isCordova&&WebAppLocalServer.startupDidComplete()}},u=function(){e||(e=!0,a())};n.isCordova&&(i(),document.addEventListener("deviceready",s,!1)),"complete"===document.readyState||"loaded"===document.readyState?window.setTimeout(u):document.addEventListener?(document.addEventListener("DOMContentLoaded",u,!1),window.addEventListener("load",u,!1)):(document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&u()})),window.attachEvent("load",u)),n.startup=function(e){var o=!document.addEventListener&&document.documentElement.doScroll;if(o&&window===top){try{o("left")}catch(i){return void setTimeout((function(){n.startup(e)}),50)}e()}else r?e():t.push(e)}}.call(this),function(){var t=0;n._debug=function(){if(t)t--;else if("undefined"!=typeof console&&"undefined"!=typeof console.log)if(0==arguments.length)console.log("");else if("function"==typeof console.log.apply){for(var e=!0,n=0;n<arguments.length;n++)"string"!=typeof arguments[n]&&(e=!1);e?console.log.apply(console,[Array.prototype.join.call(arguments," ")]):console.log.apply(console,arguments)}else if("function"==typeof Function.prototype.bind){var r=Function.prototype.bind.call(console.log,console);r.apply(console,arguments)}},n._suppress_log=function(e){t+=e},n._suppressed_log_expected=function(){return 0!==t}}.call(this),function(){n._escapeRegExp=function(t){return String(t).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}.call(this),function(){var t;t=n.isClient?e.TEST_METADATA:process.env.TEST_METADATA;var r=JSON.parse(t||"{}"),o=r.driverPackage;n.isTest=!!r.isTest,n.isAppTest=!!r.isAppTest,n.isPackageTest=!!o&&!n.isTest&&!n.isAppTest,"string"==typeof o&&n.startup((function(){var t=Package[o];if(!t)throw new Error("Can't find test driver package: "+o);if(n.isClient){if("function"!=typeof t.runTests)throw new Error("Test driver package "+o+" missing `runTests` export");t.runTests()}else"function"==typeof t.start&&t.start()}))}.call(this),function(){var t=0,e=[];n.EnvironmentVariable=function(){this.slot=t++};var r=n.EnvironmentVariable.prototype;r.get=function(){return e[this.slot]},r.getOrNullIfOutsideFiber=function(){return this.get()},r.withValue=function(t,n){var r=e[this.slot];try{e[this.slot]=t;var o=n()}finally{e[this.slot]=r}return o},n.bindEnvironment=function(t,r,o){var i=e.slice();if(!r||"string"==typeof r){var s=r||"callback of async function";r=function(t){n._debug("Exception in "+s+":",t)}}return function(){var n=e;try{e=i;var s=t.apply(o,arguments)}catch(a){r(a)}finally{e=n}return s}},n._nodeCodeMustBeInFiber=function(){}}.call(this),function(){n.absoluteUrl=function(t,e){e||"object"!=typeof t||(e=t,t=void 0);var r=(e=Object.assign({},n.absoluteUrl.defaultOptions,e||{})).rootUrl;
1if(!r)throw new Error("Must pass options.rootUrl or set ROOT_URL in the server environment");if(/^http[s]?:\/\//i.test(r)||(r="http://"+r),r.endsWith("/")||(r+="/"),t){for(;t.startsWith("/");)t=t.slice(1);r+=t}return e.secure&&/^http:/.test(r)&&!/http:\/\/localhost[:\/]/.test(r)&&!/http:\/\/127\.0\.0\.1[:\/]/.test(r)&&(r=r.replace(/^http:/,"https:")),e.replaceLocalhost&&(r=r.replace(/^http:\/\/localhost([:\/].*)/,"http://127.0.0.1$1")),r};var t=n.absoluteUrl.defaultOptions={},e="object"==typeof window&&window.location;"object"==typeof __meteor_runtime_config__&&__meteor_runtime_config__.ROOT_URL?t.rootUrl=__meteor_runtime_config__.ROOT_URL:e&&e.protocol&&e.host&&(t.rootUrl=e.protocol+"//"+e.host),e&&"https:"===e.protocol&&(t.secure=!0),n._relativeToSiteRootUrl=function(t){return"object"==typeof __meteor_runtime_config__&&"/"===t.substr(0,1)&&(t=(__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"")+t),t}}.call(this),Package._define("meteor",{Meteor:n,global:t,meteorEnv:e})}(); 2 3Package._define("meteor-base"); 4 5Package._define("mobile-experience"); 6 7!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,r,o;r=function(n){"use strict";var e=(n=n||{}).extensions||[".js",".json"],t=n.fallback,r=n.mainFields||(n.browser?["browser","main"]:["main"]),o={}.hasOwnProperty;function i(n,e){return h(n)&&v(e)&&o.call(n,e)}var u={},s=new b("/",new b("/..")),c=y(s),f,a;function l(n,e){return h(n)&&P(s,n,e),c}function d(n){this.id=n,this.children=[],this.childrenById={}}function p(n,e){return i(n,e)&&n[e]}function h(n){return null!==n&&"object"==typeof n}function m(n){return"function"==typeof n}function v(n){return"string"==typeof n}function w(n){return new Error("Cannot find module '"+n+"'")}function y(n){var e=n.module;function t(n){return e.require(n)}return t.extensions=j(n).slice(0),t.resolve=function n(t){return e.resolve(t)},t}function b(n,e){var t=this;t.parent=e=e||null,t.module=new d(n),u[n]=t,t.contents=null,t.deps={}}function g(n,e){var t=n.module;if(!i(t,"exports")){var r=n.contents;if(!r){if(n.stub)return n.stub;throw w(t.id)}if(e){t.parent=e;var o=e.children;Array.isArray(o)&&o.push(t)}r(y(n),t.exports=n.stub||{},t,n.module.id,n.parent.module.id),t.loaded=!0}var u=t.runSetters||t.runModuleSetters;return m(u)&&u.call(t),t.exports}function k(n){return n&&h(n.contents)}function E(n){return n&&null===n.contents}function P(n,e,t){Array.isArray(e)?(e.forEach((function(t){v(t)?n.deps[t]=n.module.id:m(t)?e=t:h(t)&&(n.stub=n.stub||{},x(t,(function(e,t){n.stub[t]=e})))})),m(e)||(e=null)):m(e)||v(e)||h(e)||(e=null),e&&(n.contents=n.contents||(h(e)?{}:e),h(e)&&k(n)&&x(e,(function(e,r){if(".."===r)o=n.parent;else{var o=p(n.contents,r);o||((o=n.contents[r]=new b(n.module.id.replace(/\/*$/,"/")+r,n)).options=t)}P(o,e,t)})))}function x(n,e,t){Object.keys(n).forEach((function(t){e.call(this,n[t],t)}),t)}function j(n){return n.options&&n.options.extensions||e}function O(n,e,t){for(;n&&!k(n);)n=n.parent;if(!n||!e||"."===e)return n;if(".."===e)return n.parent;var r=p(n.contents,e);if(t&&(!r||k(r)))for(var o=0;o<t.length;++o){var i=p(n.contents,e+t[o]);if(i&&!k(i))return i}return r}function I(n,e,t){var r=e.split("/");return r.every((function(e,o){return n=o<r.length-1?O(n,e):O(n,e,t)})),n}function A(n,e){var t=e&&e.module;n&&t&&(n.childrenById[t.id]=t)}function q(n,e,t,o){var t=t||n.module,i=j(n);for(n="/"===e.charAt(0)?I(s,e,i):"."===e.charAt(0)?I(n,e,i):M(n,e,i);k(n);){if((o=o||[]).indexOf(n)<0){o.push(n);var u=O(n,"package.json"),c=u&&g(u,t),f,a;if(c&&r.some((function(e){var r=c[e];if(v(r))return f=I(n,r,i)||q(n,r,t,o)}))&&f){n=f,A(t,u);continue}}n=O(n,"index",i)}return n&&v(n.contents)&&(n=q(n,n.contents,t,o)),A(t,n),n}function M(n,e,t){for(var r;n&&!r;n=n.parent)r=k(n)&&I(n,"node_modules/"+e,t);return r}return l.fetch=function(n){throw new Error("fetch not implemented")},d.prototype.prefetch=function(n){var e=this,t=p(u,e.id),r=f=f||Promise.resolve();function o(n){var e=p(u,n.id);E(e)&&!e.pending&&(e.pending=!0,(a=a||{})[n.id]={module:e.module,deps:Object.keys(e.deps),options:e.options,stub:e.stub},x(e.deps,(function(n,t){q(e,t)}
7)),x(n.childrenById,o))}return f=new Promise((function(t){var r=e.resolve(n);x(e.childrenById,o),t(r)})).then((function(n){var e=a;function t(){e&&Object.keys(e).forEach((function(n){p(u,n).pending=!1}))}return a=null,new Promise((function(n){n(e&&l.fetch(e))})).then((function(e){function o(){return l(e),t(),n}return r.then(o,o)}),(function(n){throw t(),n}))}))},l.Module=d,d.prototype.resolve=function(n){var e=q(u[this.id],n);if(e)return e.module.id;var r=w(n);if(t&&m(t.resolve))return t.resolve(n,this.id,r);throw r},d.prototype.require=function n(e){var r=q(u[this.id],e);if(r)return g(r,this);var o=w(e);if(m(t))return t(e,this.id,o);throw o},l},"object"==typeof exports&&(exports.makeInstaller=r),function(){o=r({browser:!0,mainFields:["browser","module","main"],fallback:function(n,e,t){if(n&&n.startsWith("meteor/")){var r=n.split("/",2)[1];throw new Error('Cannot find package "'+r+'". Try "meteor add '+r+'".')}throw t}})}.call(this),function(){o=r({browser:!0,mainFields:["browser","main","module"],fallback:function(n,e,t){if(n&&n.startsWith("meteor/")){var r=n.split("/",2)[1];throw new Error('Cannot find package "'+r+'". Try "meteor add '+r+'".')}throw t}})}.call(this),function(){if("function"==typeof Profile&&process.env.METEOR_PROFILE){var n=o.Module.prototype;n.require=Profile((function(n){return"require("+JSON.stringify(n)+")"}),n.require)}}.call(this),Package._define("modules-runtime",{meteorInstall:o})}(); 8 9!function(){var e=Package.meteor.Meteor,s=Package.meteor.global,r=Package.meteor.meteorEnv,t=Package["modules-runtime"].meteorInstall,l,o=t({node_modules:{meteor:{modules:{
9"client.js":function e(s,r){s("./install-packages.js"),s("./stubs.js"),s("./process.js"),s("./reify.js"),r.addStyles=s("./css").addStyles},
9"legacy.js":function e(s){l=s("meteor-babel-helpers")},
9"css.js":function e(s,r){var t=document,l=t.getElementsByTagName("head").item(0);r.addStyles=function(e){var s=t.createElement("style");s.setAttribute("type","text/css");var r=s.sheet||s.styleSheet;return r?r.cssText=e:s.appendChild(t.createTextNode(e)),l.appendChild(s)}},
9"install-packages.js":function e(s,r,e){function l(e,s){var r={};r[e+".js"]="string"==typeof s?s:function(s,r,t){t.exports=Package[e]},t({node_modules:{meteor:r}})}l("meteor"),l("meteor-base"),l("mobile-experience"),l("modules-runtime"),l("modules","meteor/modules/client.js"),l("modern-browsers"),l("babel-compiler"),l("react-fast-refresh"),l("ecmascript"),l("ecmascript-runtime"),l("babel-runtime","meteor/babel-runtime/babel-runtime.js"),l("promise","meteor/promise/client.js"),l("fetch","meteor/fetch/legacy.js"),l("dynamic-import","meteor/dynamic-import/client.js"),l("es5-shim","meteor/es5-shim/client.js"),l("ecmascript-runtime-client","meteor/ecmascript-runtime-client/legacy.js"),l("base64","meteor/base64/base64.js"),l("ejson","meteor/ejson/ejson.js"),l("diff-sequence","meteor/diff-sequence/diff.js"),l("geojson-utils","meteor/geojson-utils/main.js"),l("id-map","meteor/id-map/id-map.js"),l("random","meteor/random/main_client.js"),l("mongo-id","meteor/mongo-id/id.js"),l("ordered-dict","meteor/ordered-dict/ordered_dict.js"),l("tracker"),l("minimongo","meteor/minimongo/minimongo_client.js"),l("check","meteor/check/match.js"),l("retry","meteor/retry/retry.js"),l("callback-hook","meteor/callback-hook/hook.js"),l("ddp-common"),l("reload","meteor/reload/reload.js"),l("socket-stream-client","meteor/socket-stream-client/browser.js"),l("ddp-client","meteor/ddp-client/client/client.js"),l("ddp"),l("ddp-server"),l("allow-deny"),l("logging","meteor/logging/logging.js"),l("mongo"),l("blaze-html-templates"),l("reactive-var"),l("jquery","meteor/jquery/main.js"),l("minifier-css"),l("standard-minifier-css"),l("standard-minifier-js"),l("shell-server"),l("nemo64:bootstrap-data"),l("nemo64:bootstrap"),l("nolimits4web:swiper"),l("d3"),l("less"),l("reactive-dict","meteor/reactive-dict/migration.js"),l("session","meteor/session/session.js"),l("meteorhacks:ssr"),l("underscore"),l("kadira:flow-router"),l("observe-sequence"),l("htmljs","meteor/htmljs/preamble.js"),l("blaze"),l("spacebars"),l("templating-compiler"),l("templating-runtime"),l("templating"),l("kadira:blaze-layout"),l("jabbslad:basic-auth"),l("momentjs:moment"),l("bojicas:inflections"),l("coffeescript"),l("raix:eventemitter"),l("meteorspark:util"),l("tap:i18n"),l("aldeed:simple-schema"),l("mdg:validated-method","meteor/mdg:validated-method/validated-method.js"),l("kadira:dochead"),l("meteorhacks:picker"),l("webapp","meteor/webapp/webapp_client.js"),l("hot-code-push"),l("launch-screen"),l("ui"),l("autoupdate","meteor/autoupdate/autoupdate_client.js"),l("mdg:validation-error")},
9"process.js":function l(o,p,l){if(!s.process)try{s.process=o("process")}catch(c){s.process={}}var a=s.process;e.isServer?t({node_modules:{
9"process.js":function(e,s,r){r.exports=a}}}):(a.platform="browser",a.nextTick=a.nextTick||e._setImmediate),"object"!=typeof a.env&&(a.env={});var i=Object.prototype.hasOwnProperty;for(var n in r)i.call(r,n)&&(a.env[n]=r[n])},
9"reify.js":function e(s,r,e){s("@meteorjs/reify/lib/runtime").enable(e.constructor.prototype)},
9"stubs.js":function e(s){var r=!1;try{s.resolve("meteor-node-stubs"),r=!0}catch(t){}r&&s("meteor-node-stubs")},node_modules:{"@meteorjs":{reify:{lib:{runtime:{
9"index.js":function e(s,r,e){"use strict";var t=s("./utils.js"),l=s("./entry.js");function o(e,s,r){t.setESModule(this.exports),l.getOrCreate(this.id,this);var o=this.resolve(e),p=l.getOrCreate(o);t.isObject(s)&&p.addSetters(this,s,r);var a=this.require(o);null===p.module&&(p.module={id:o,exports:a}),p.runSetters()}function p(e,s){t.setESModule(this.exports);var r=l.getOrCreate(this.id,this);r.addGetters(e,s),this.loaded&&r.runSetters()}function a(e){return this.export({default:function(){return e}},!0)}function i(e){var s=this,r="*+"===e,l=function(l){"*"===e||"*+"===e?Object.keys(l).forEach((function(e){(r||"default"!==e)&&t.copyKey(e,s.exports,l)})):s.exports[e]=l};return"*+"!==e&&"*"!==e&&(l.exportAs=e),l}function n(e,s){return l.getOrCreate(this.id,this).runSetters(s,!0),e}function c(e){return this.exportAs(e?"*+":"*")}r.enable=function(e){return e.link!==o&&(e.link=o,e.export=p,e.exportDefault=a,e.exportAs=i,e.runSetters=n,e.makeNsSetter=c,!0)}},
9"utils.js":function e(s,r,e){"use strict";var t="function"==typeof Object.setPrototypeOf,l="function"==typeof Symbol,o="__esModule",p=l?Symbol.for(o):null,a=l&&"symbol"==typeof Symbol.toStringTag,i="function"==typeof Object.getOwnPropertyDescriptor,n=Object.prototype.hasOwnProperty;function c(e,s,r){if(i){var t=Object.getOwnPropertyDescriptor(r,e);t.configurable=!0,Object.defineProperty(s,e,t)}else s[e]=r[e]}function h(e){if(m(e)){if(l&&n.call(e,p))return!!e[p];if(n.call(e,o))return!!e[o]}return!1}function u(e){m(e)&&(l&&(e[p]=!0),e[o]||Object.defineProperty(e,o,{configurable:!0,enumerable:!1,value:!0,writable:!1}))}function d(e){return"object"==typeof e&&null!==e}function m(e){var s=typeof e;return"function"===s||"object"===s&&null!==e}function j(){var e=Object.create(null);return a&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module",configurable:!1,enumerable:!1,writable:!1}),u(e),e}function f(e,s){return t?Object.setPrototypeOf(e,s):e.__proto__=s,e}r.copyKey=c,r.valueOrGetter=function(e,s){if(i&&n.call(e,s)){var r=Object.getOwnPropertyDescriptor(e,s);if("function"==typeof r.get)return r.get}return e[s]},r.getESModule=h,r.setESModule=u,r.isObject=d,r.isObjectLike=m,r.ensureObjectProperty=function(e,s){return n.call(e,s)?e[s]:e[s]=Object.create(null)},r.createNamespace=j,r.setPrototypeOf=f},
9"entry.js":function e(s,r,e){"use strict";var t=s("./utils.js"),l={},o={},p={},a=Object.prototype.hasOwnProperty,i=0;function n(e){this.id=e,this.module=null,this.namespace=t.createNamespace(),this.getters=Object.create(null),this.setters=Object.create(null),this.newSetters=Object.create(null),this.snapshots=Object.create(null)}var c=t.setPrototypeOf(n.prototype,null),h=Object.create(null);function u(e){var s=Object.keys(e),r=s.indexOf("__esModule");return r>=0&&s.splice(r,1),s}function d(e,s){if("function"==typeof s)return s;if("string"==typeof s)return e.exportAs(s);if(Array.isArray(s))switch(s.length){case 0:return null;case 1:return d(e,s[0]);default:var r=s.map((function(s){return d(e,s)}));return function(e){r.forEach((function(s){s(e)}))}}return null}function m(e,s){var r=!1;if(null!==e.module){var l=e.module.exports;t.getESModule(l)||(e.namespace.default=l,r=!0),t.isObjectLike(l)&&((void 0===s||s.indexOf("*")>=0)&&(s=Object.keys(l)),s.forEach((function(s){a.call(e.getters,s)||r&&"default"===s||!a.call(l,s)||t.copyKey(s,e.namespace,l)})))}}function j(e,s,r){var l=Object.create(null),o=[];"*"===s?u(r).forEach((function(e){o.push(e),l[e]=f(t.valueOrGetter(r,e))})):(o.push(s),l[s]=f(r));var p=e.snapshots[s];return p&&o.every((function(e){return p[e]===l[e]}))&&o.length===Object.keys(p).length?p:l}function f(e){return void 0===e?p:e!=e&&isNaN(e)?o:e}function y(e,s,r){if(e.snapshots[s]!==r)return e.snapshots[s]=r,delete e.newSetters[s],Object.keys(e.setters[s]);var t=e.newSetters[s],l=t&&Object.keys(t);return l&&l.length?(delete e.newSetters[s],l):void 0}function b(e,s,r){void 0===s&&(s=Object.keys(e.setters)),s.forEach((function(s){if("__esModule"!==s){var t=e.setters[s];if(t){var l=e.getters[s],o="function"==typeof l&&l.runCount>0&&l.constant,p=v(e,s),a=j(e,s,p),i=y(e,s,a);void 0!==i&&i.forEach((function(e){var l=t[e];l&&(r(l,s,p),o&&delete t[e])}))}}}))}function v(e,s){if("*"===s)return e.namespace;if(a.call(e.namespace,s))return e.namespace[s];if(null!==e.module){var r=e.module.exports;if(!("default"!==s||t.getESModule(r)&&"default"in r))return r;if(null!=r)return r[s]}}function P(){return Math.random().toString(36).replace("0.",++i+"$")}function g(e,s){var r=e.getters[s];if(!r)return l;try{var t=r();return++r.runCount,t}catch(o){}return l}n.getOrCreate=function(e,s){var r=a.call(h,e)?h[e]:h[e]=new n(e);return t.isObject(s)&&s.id===r.id&&(r.module=s),r},c.addGetters=function(e,s){var r=u(e),t=r.length;s=!!s;for(var l=0;l<t;++l){var o=r[l],p=e[o];"function"!=typeof p||o in this.getters||(this.getters[o]=p,p.constant=s,p.runCount=0)}},c.addSetters=function(e,s,r){var l=u(s),o=l.length;if(o){r=void 0===r?P():e.id+":"+r;for(var p=this,a=0;a<o;++a){var i=l[a],n=d(e,s[i]);"function"==typeof n&&(n.parent=e,t.ensureObjectProperty(p.setters,i)[r]=n,t.ensureObjectProperty(p.newSetters,i)[r]=n)}p.runSetters(l)}},c.runGetters=function(e){m(this,e),(void 0===e||e.indexOf("*")>=0)&&(e=Object.keys(this.getters));for(var s=e.length,r=0;r<s;++r){var t=e[r],o=g(this,t);o!==l&&(this.namespace[t]=o,this.module.exports[t]=o)}},c.runSetters=function(e,s){var r,t;if(this.runGetters(e),s&&void 0!==e&&e.push("*"),b(this,e,(function(e,s,l){void 0===r&&(r=Object.create(null)),void 0===t&&(t=Object.create(null));var o=e.parent.id;void 0!==e.exportAs&&!1!==t[o]?(t[o]=t[o]||[],t[o].push(e.exportAs)):!1!==t[o]&&(t[o]=!1),r[o]=e.parent,e(l,s)})),r)for(var l=Object.keys(r),o=l.length,p=0;p<o;++p){var a=r[l[p]],i=h[a.id];i&&i.runSetters(t[l[p]]||void 0,!!t[l[p]])}},e.exports=n}}}}},"meteor-babel-helpers":{
9"package.json":function e(s,r,e){e.exports={name:"meteor-babel-helpers",version:"0.0.3",main:"index.js"}},
9"index.js":function e(s,r,e){function t(){var e={},s="t";try{for(var r in Object.defineProperty(e,s,{enumerable:!1,value:e}),e)if(r===s)return!1}catch(t){return!1}return e.t===e}function o(e){return e}function p(e){if(Array.isArray(e)){for(var s={},r=Object.keys(e),t=r.length,l=0;l<t;++l){var o=r[l];s[o]=e[o]}return s}return e}l=e.exports={sanitizeForInObject:t()?o:p,_sanitizeForInObjectHard:p}}}}}}}},{extensions:[".js",".json"]});t({node_modules:{"meteor-node-stubs":{
9"package.json":function e(s,r,e){e.exports={name:"meteor-node-stubs",version:"1.2.22",main:"index.js"}},
9"index.js":function e(r,l,e){var o=r("./map.json"),p={};if(Object.keys(o).forEach((function(s){if("string"==typeof o[s]){var r=e.id.split("/");r.pop(),r.push("node_modules",o[s]),l[s]=p[s+".js"]=p["node:"+s]=r.join("/")}else l[s]=o[s],p[s+".js"]=p["node:"+s]=function(){}})),"function"==typeof t&&t({"..":{node_modules:p}}),"function"!=typeof s.Buffer)try{s.Buffer=r("buffer").Buffer}catch(a){}},
9"map.json":function e(s,r,e){e.exports={assert:"assert/",buffer:"buffer/",child_process:null,cluster:null,console:"console-browserify",constants:"constants-browserify",crypto:"../wrappers/crypto.js",dgram:null,dns:null,domain:"domain-browser",events:"events/",fs:null,http:"stream-http",https:"https-browserify",module:"../wrappers/module.js",net:null,os:"os-browserify/browser.js",path:"path-browserify",process:"process/browser.js",punycode:"punycode/",querystring:"querystring-es3/",readline:null,repl:null,stream:"stream-browserify",_stream_duplex:"readable-stream/lib/_stream_duplex.js",_stream_passthrough:"readable-stream/lib/_stream_passthrough.js",_stream_readable:"readable-stream/lib/_stream_readable.js",_stream_transform:"readable-stream/lib/_stream_transform.js",_stream_writable:"readable-stream/lib/_stream_writable.js",string_decoder:"string_decoder/",sys:"util/util.js",timers:"timers-browserify",tls:null,tty:"tty-browserify",url:"url/",util:"util/util.js",vm:"vm-browserify",zlib:"browserify-zlib"}},deps:{
9"process.js":function e(s){s("process/browser.js")}},node_modules:{process:{
vendor: 1,724 bytes, line 9
9"browser.js":function e(s,r,e){var t=e.exports={},l,o;function p(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===p||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(s){try{return l.call(null,e,0)}catch(s){return l.call(this,e,0)}}}function n(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch(s){try{return o.call(null,e)}catch(s){return o.call(this,e)}}}!function(){try{l="function"==typeof setTimeout?setTimeout:p}catch(e){l=p}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var c=[],h=!1,u,d=-1;function m(){h&&u&&(h=!1,u.length?c=u.concat(c):d=-1,c.length&&j())}function j(){if(!h){var e=i(m);h=!0;for(var s=c.length;s;){for(u=c,c=[];++d<s;)u&&u[d].run();d=-1,s=c.length}u=null,h=!1,n(e)}}function f(e,s){this.fun=e,this.array=s}function y(){}t.nextTick=function(e){var s=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)s[r-1]=arguments[r];c.push(new f(e,s)),1!==c.length||h||i(j)},f.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=y,t.addListener=y,t.once=y,t.off=y,t.removeListener=y,t.removeAllListeners=y,t.emit=y,t.prependListener=y,t.prependOnceListener=y,t.listeners=function(e){return[]},t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}}}}},"@babel":{runtime:{
9"package.json":function e(s,r,e){e.exports={author:{name:"The Babel Team",url:"https://babel.dev/team"},bugs:{url:"https://github.com/babel/babel/issues"},bundleDependencies:!1,deprecated:!1,description:"babel's modular runtime helpers",engines:{node:">=6.9.0"},exports:{"./helpers/OverloadYield":[{node:"./helpers/OverloadYield.js",import:"./helpers/esm/OverloadYield.js",default:"./helpers/OverloadYield.js"},"./helpers/OverloadYield.js"],"./helpers/esm/OverloadYield":"./helpers/esm/OverloadYield.js","./helpers/applyDecoratedDescriptor":[{node:"./helpers/applyDecoratedDescriptor.js",import:"./helpers/esm/applyDecoratedDescriptor.js",default:"./helpers/applyDecoratedDescriptor.js"},"./helpers/applyDecoratedDescriptor.js"],"./helpers/esm/applyDecoratedDescriptor":"./helpers/esm/applyDecoratedDescriptor.js","./helpers/applyDecs2311":[{node:"./helpers/applyDecs2311.js",import:"./helpers/esm/applyDecs2311.js",default:"./helpers/applyDecs2311.js"},"./helpers/applyDecs2311.js"],"./helpers/esm/applyDecs2311":"./helpers/esm/applyDecs2311.js","./helpers/arrayLikeToArray":[{node:"./helpers/arrayLikeToArray.js",import:"./helpers/esm/arrayLikeToArray.js",default:"./helpers/arrayLikeToArray.js"},"./helpers/arrayLikeToArray.js"],"./helpers/esm/arrayLikeToArray":"./helpers/esm/arrayLikeToArray.js","./helpers/arrayWithHoles":[{node:"./helpers/arrayWithHoles.js",import:"./helpers/esm/arrayWithHoles.js",default:"./helpers/arrayWithHoles.js"},"./helpers/arrayWithHoles.js"],"./helpers/esm/arrayWithHoles":"./helpers/esm/arrayWithHoles.js","./helpers/arrayWithoutHoles":[{node:"./helpers/arrayWithoutHoles.js",import:"./helpers/esm/arrayWithoutHoles.js",default:"./helpers/arrayWithoutHoles.js"},"./helpers/arrayWithoutHoles.js"],"./helpers/esm/arrayWithoutHoles":"./helpers/esm/arrayWithoutHoles.js","./helpers/assertClassBrand":[{node:"./helpers/assertClassBrand.js",import:"./helpers/esm/assertClassBrand.js",default:"./helpers/assertClassBrand.js"},"./helpers/assertClassBrand.js"],"./helpers/esm/assertClassBrand":"./helpers/esm/assertClassBrand.js","./helpers/assertThisInitialized":[{node:"./helpers/assertThisInitialized.js",import:"./helpers/esm/assertThisInitialized.js",default:"./helpers/assertThisInitialized.js"},"./helpers/assertThisInitialized.js"],"./helpers/esm/assertThisInitialized":"./helpers/esm/assertThisInitialized.js","./helpers/asyncGeneratorDelegate":[{node:"./helpers/asyncGeneratorDelegate.js",import:"./helpers/esm/asyncGeneratorDelegate.js",default:"./helpers/asyncGeneratorDelegate.js"},"./helpers/asyncGeneratorDelegate.js"],"./helpers/esm/asyncGeneratorDelegate":"./helpers/esm/asyncGeneratorDelegate.js","./helpers/asyncIterator":[{node:"./helpers/asyncIterator.js",import:"./helpers/esm/asyncIterator.js",default:"./helpers/asyncIterator.js"},"./helpers/asyncIterator.js"],"./helpers/esm/asyncIterator":"./helpers/esm/asyncIterator.js","./helpers/asyncToGenerator":[{node:"./helpers/asyncToGenerator.js",import:"./helpers/esm/asyncToGenerator.js",default:"./helpers/asyncToGenerator.js"},"./helpers/asyncToGenerator.js"],"./helpers/esm/asyncToGenerator":"./helpers/esm/asyncToGenerator.js","./helpers/awaitAsyncGenerator":[{node:"./helpers/awaitAsyncGenerator.js",import:"./helpers/esm/awaitAsyncGenerator.js",default:"./helpers/awaitAsyncGenerator.js"},"./helpers/awaitAsyncGenerator.js"],"./helpers/esm/awaitAsyncGenerator":"./helpers/esm/awaitAsyncGenerator.js","./helpers/callSuper":[{node:"./helpers/callSuper.js",import:"./helpers/esm/callSuper.js",default:"./helpers/callSuper.js"},"./helpers/callSuper.js"],"./helpers/esm/callSuper":"./helpers/esm/callSuper.js","./helpers/checkInRHS":[{node:"./helpers/checkInRHS.js",import:"./helpers/esm/checkInRHS.js",default:"./helpers/checkInRHS.js"},"./helpers/checkInRHS.js"],"./helpers/esm/checkInRHS":"./helpers/esm/checkInRHS.js","./helpers/checkPrivateRedeclaration":[{node:"./helpers/checkPrivateRedeclaration.js",import:"./helpers/esm/checkPrivateRedeclaration.js",default:"./helpers/checkPrivateRedeclaration.js"},"./helpers/checkPrivateRedeclaration.js"],"./helpers/esm/checkPrivateRedeclaration":"./helpers/esm/checkPrivateRedeclaration.js","./helpers/classCallCheck":[{node:"./helpers/classCallCheck.js",import:"./helpers/esm/classCallCheck.js",default:"./helpers/classCallCheck.js"},"./helpers/classCallCheck.js"],"./helpers/esm/classCallCheck":"./helpers/esm/classCallCheck.js","./helpers/classNameTDZError":[{node:"./helpers/classNameTDZError.js",import:"./helpers/esm/classNameTDZError.js",default:"./helpers/classNameTDZError.js"},"./helpers/classNameTDZError.js"],"./helpers/esm/classNameTDZError":"./helpers/esm/classNameTDZError.js","./helpers/classPrivateFieldGet2":[{node:"./helpers/classPrivateFieldGet2.js",import:"./helpers/esm/classPrivateFieldGet2.js",default:"./helpers/classPrivateFieldGet2.js"},"./helpers/classPrivateFieldGet2.js"],"./helpers/esm/classPrivateFieldGet2":"./helpers/esm/classPrivateFieldGet2.js","./helpers/classPrivateFieldInitSpec":[{node:"./helpers/classPrivateFieldInitSpec.js",import:"./helpers/esm/classPrivateFieldInitSpec.js",default:"./helpers/classPrivateFieldInitSpec.js"},"./helpers/classPrivateFieldInitSpec.js"],"./helpers/esm/classPrivateFieldInitSpec":"./helpers/esm/classPrivateFieldInitSpec.js","./helpers/classPrivateFieldLooseBase":[{node:"./helpers/classPrivateFieldLooseBase.js",import:"./helpers/esm/classPrivateFieldLooseBase.js",default:"./helpers/classPrivateFieldLooseBase.js"},"./helpers/classPrivateFieldLooseBase.js"],"./helpers/esm/classPrivateFieldLooseBase":"./helpers/esm/classPrivateFieldLooseBase.js","./helpers/classPrivateFieldLooseKey":[{node:"./helpers/classPrivateFieldLooseKey.js",import:"./helpers/esm/classPrivateFieldLooseKey.js",default:"./helpers/classPrivateFieldLooseKey.js"},"./helpers/classPrivateFieldLooseKey.js"],"./helpers/esm/classPrivateFieldLooseKey":"./
9helpers/esm/classPrivateFieldLooseKey.js","./helpers/classPrivateFieldSet2":[{node:"./helpers/classPrivateFieldSet2.js",import:"./helpers/esm/classPrivateFieldSet2.js",default:"./helpers/classPrivateFieldSet2.js"},"./helpers/classPrivateFieldSet2.js"],"./helpers/esm/classPrivateFieldSet2":"./helpers/esm/classPrivateFieldSet2.js","./helpers/classPrivateGetter":[{node:"./helpers/classPrivateGetter.js",import:"./helpers/esm/classPrivateGetter.js",default:"./helpers/classPrivateGetter.js"},"./helpers/classPrivateGetter.js"],"./helpers/esm/classPrivateGetter":"./helpers/esm/classPrivateGetter.js","./helpers/classPrivateMethodInitSpec":[{node:"./helpers/classPrivateMethodInitSpec.js",import:"./helpers/esm/classPrivateMethodInitSpec.js",default:"./helpers/classPrivateMethodInitSpec.js"},"./helpers/classPrivateMethodInitSpec.js"],"./helpers/esm/classPrivateMethodInitSpec":"./helpers/esm/classPrivateMethodInitSpec.js","./helpers/classPrivateSetter":[{node:"./helpers/classPrivateSetter.js",import:"./helpers/esm/classPrivateSetter.js",default:"./helpers/classPrivateSetter.js"},"./helpers/classPrivateSetter.js"],"./helpers/esm/classPrivateSetter":"./helpers/esm/classPrivateSetter.js","./helpers/classStaticPrivateMethodGet":[{node:"./helpers/classStaticPrivateMethodGet.js",import:"./helpers/esm/classStaticPrivateMethodGet.js",default:"./helpers/classStaticPrivateMethodGet.js"},"./helpers/classStaticPrivateMethodGet.js"],"./helpers/esm/classStaticPrivateMethodGet":"./helpers/esm/classStaticPrivateMethodGet.js","./helpers/construct":[{node:"./helpers/construct.js",import:"./helpers/esm/construct.js",default:"./helpers/construct.js"},"./helpers/construct.js"],"./helpers/esm/construct":"./helpers/esm/construct.js","./helpers/createClass":[{node:"./helpers/createClass.js",import:"./helpers/esm/createClass.js",default:"./helpers/createClass.js"},"./helpers/createClass.js"],"./helpers/esm/createClass":"./helpers/esm/createClass.js","./helpers/createForOfIteratorHelper":[{node:"./helpers/createForOfIteratorHelper.js",import:"./helpers/esm/createForOfIteratorHelper.js",default:"./helpers/createForOfIteratorHelper.js"},"./helpers/createForOfIteratorHelper.js"],"./helpers/esm/createForOfIteratorHelper":"./helpers/esm/createForOfIteratorHelper.js","./helpers/createForOfIteratorHelperLoose":[{node:"./helpers/createForOfIteratorHelperLoose.js",import:"./helpers/esm/createForOfIteratorHelperLoose.js",default:"./helpers/createForOfIteratorHelperLoose.js"},"./helpers/createForOfIteratorHelperLoose.js"],"./helpers/esm/createForOfIteratorHelperLoose":"./helpers/esm/createForOfIteratorHelperLoose.js","./helpers/createSuper":[{node:"./helpers/createSuper.js",import:"./helpers/esm/createSuper.js",default:"./helpers/createSuper.js"},"./helpers/createSuper.js"],"./helpers/esm/createSuper":"./helpers/esm/createSuper.js","./helpers/decorate":[{node:"./helpers/decorate.js",import:"./helpers/esm/decorate.js",default:"./helpers/decorate.js"},"./helpers/decorate.js"],"./helpers/esm/decorate":"./helpers/esm/decorate.js","./helpers/defaults":[{node:"./helpers/defaults.js",import:"./helpers/esm/defaults.js",default:"./helpers/defaults.js"},"./helpers/defaults.js"],"./helpers/esm/defaults":"./helpers/esm/defaults.js","./helpers/defineAccessor":[{node:"./helpers/defineAccessor.js",import:"./helpers/esm/defineAccessor.js",default:"./helpers/defineAccessor.js"},"./helpers/defineAccessor.js"],"./helpers/esm/defineAccessor":"./helpers/esm/defineAccessor.js","./helpers/defineProperty":[{node:"./helpers/defineProperty.js",import:"./helpers/esm/defineProperty.js",default:"./helpers/defineProperty.js"},"./helpers/defineProperty.js"],"./helpers/esm/defineProperty":"./helpers/esm/defineProperty.js","./helpers/extends":[{node:"./helpers/extends.js",import:"./helpers/esm/extends.js",default:"./helpers/extends.js"},"./helpers/extends.js"],"./helpers/esm/extends":"./helpers/esm/extends.js","./helpers/get":[{node:"./helpers/get.js",import:"./helpers/esm/get.js",default:"./helpers/get.js"},"./helpers/get.js"],"./helpers/esm/get":"./helpers/esm/get.js","./helpers/getPrototypeOf":[{node:"./helpers/getPrototypeOf.js",import:"./helpers/esm/getPrototypeOf.js",default:"./helpers/getPrototypeOf.js"},"./helpers/getPrototypeOf.js"],"./helpers/esm/getPrototypeOf":"./helpers/esm/getPrototypeOf.js","./helpers/identity":[{node:"./helpers/identity.js",import:"./helpers/esm/identity.js",default:"./helpers/identity.js"},"./helpers/identity.js"],"./helpers/esm/identity":"./helpers/esm/identity.js","./helpers/importDeferProxy":[{node:"./helpers/importDeferProxy.js",import:"./helpers/esm/importDeferProxy.js",default:"./helpers/importDeferProxy.js"},"./helpers/importDeferProxy.js"],"./helpers/esm/importDeferProxy":"./helpers/esm/importDeferProxy.js","./helpers/inherits":[{node:"./helpers/inherits.js",import:"./helpers/esm/inherits.js",default:"./helpers/inherits.js"},"./helpers/inherits.js"],"./helpers/esm/inherits":"./helpers/esm/inherits.js","./helpers/inheritsLoose":[{node:"./helpers/inheritsLoose.js",import:"./helpers/esm/inheritsLoose.js",default:"./helpers/inheritsLoose.js"},"./helpers/inheritsLoose.js"],"./helpers/esm/inheritsLoose":"./helpers/esm/inheritsLoose.js","./helpers/initializerDefineProperty":[{node:"./helpers/initializerDefineProperty.js",import:"./helpers/esm/initializerDefineProperty.js",default:"./helpers/initializerDefineProperty.js"},"./helpers/initializerDefineProperty.js"],"./helpers/esm/initializerDefineProperty":"./helpers/esm/initializerDefineProperty.js","./helpers/initializerWarningHelper":[{node:"./helpers/initializerWarningHelper.js",import:"./helpers/esm/initializerWarningHelper.js",default:"./helpers/initializerWarningHelper.js"},"./helpers/initializerWarningHelper.js"],"./helpers/esm/initializerWarningHelper":"./helpers/esm/initializerWarningHelper.js","./helpers/instanceof":[{node:"./helpers/instanceof.js",import:"./helpers/esm/instanceof.js",default:"./helpers/instanceof.js"},"./helpers/instanceof.js"],"./helpers/esm/instanceof":"./helpers/esm/instanceof.js","./helpers/interopRequireDefault":[{node:"./helpers/interopRequireDefault.js",import:"./helpers/esm/interopRequireDefault.js",default:"./helpers/interopRequireDefault.js"},"./helpers/interopRequireDefault.js"],"./helpers/esm/interopRequireDefault":"./helpers/esm/interopRequireDefault.js","./helpers/interopRequireWildcard":[{node:"./helpers/interopRequireWildcard.js",import:"./helpers/esm/interopRequireWildcard.js",default:"./helpers/interopRequireWildcard.js"},"./helpers/interopRequireWildcard.js"],"./helpers/esm/interopRequireWildcard":"./helpers/esm/interopRequireWildcard.js","./helpers/isNativeFunction":[{node:"./helpers/isNativeFunction.js",import:"./helpers/esm/isNativeFunction.js",default:"./helpers/isNativeFunction.js"},"./helpers/isNativeFunction.js"],"./helpers/esm/isNativeFunction":"./helpers/esm/isNativeFunction.js","./helpers/isNativeReflectConstruct":[{node:"./helpers/isNativeReflectConstruct.js",import:"./helpers/esm/isNativeReflectConstruct.js",default:"./helpers/isNativeReflectConstruct.js"},"./helpers/isNativeReflectConstruct.js"],"./helpers/esm/isNativeReflectConstruct":"./helpers/esm/isNativeReflectConstruct.js","./helpers/iterableToArray":[{node:"./helpers/iterableToArray.js",import:"./helpers/esm/iterableToArray.js",default:"./helpers/iterableToArray.js"},"./helpers/iterableToArray.js"],"./helpers/esm/iterableToArray":"./helpers/esm/iterableToArray.js","./helpers/iterableToArrayLimit":[{node:"./helpers/iterableToArrayLimit.js",import:"./helpers/esm/iterableToArrayLimit.js",default:"./helpers/iterableToArrayLimit.js"},"./helpers/iterableToArrayLimit.js"],"./helpers/esm/iterableToArrayLimit":"./helpers/esm/iterableToArrayLimit.js","./helpers/jsx":[{node:"./helpers/jsx.js",import:"./helpers/esm/jsx.js",default:"./helpers/jsx.js"},"./helpers/jsx.js"],"./helpers/esm/jsx":"./helpers/esm/jsx.js","./helpers/maybeArrayLike":[{node:"./helpers/maybeArrayLike.js",import:"./helpers/esm/maybeArrayLike.js",default:"./helpers/maybeArrayLike.js"},"./helpers/maybeArrayLike.js"],"./helpers/esm/maybeArrayLike":"./helpers/esm/maybeArrayLike.js","./helpers/newArrowCheck":[{node:"./helpers/newArrowCheck.js",import:"./helpers/esm/newArrowCheck.js",default:"./helpers/newArrowCheck.js"},"./helpers/newArrowCheck.js"],"./helpers/esm/newArrowCheck":"./helpers/esm/newArrowCheck.js","./helpers/nonIterableRest":[{node:"./helpers/nonIterableRest.js",import:"./helpers/esm/nonIterableRest.js",default:"./helpers/nonIterableRest.js"},"./helpers/nonIterableRest.js"],"./helpers/esm/nonIterableRest":"./helpers/esm/nonIterableRest.js","./helpers/nonIterableSpread":[{node:"./helpers/nonIterableSpread.js",import:"./helpers/esm/nonIterableSpread.js",default:"./helpers/nonIterableSpread.js"},"./helpers/nonIterableSpread.js"],"./helpers/esm/nonIterableSpread":"./helpers/esm/nonIterableSpread.js","./helpers/nullishReceiverError":[{node:"./helpers/nullishReceiverError.js",import:"./helpers/esm/nullishReceiverError.js",default:"./helpers/nullishReceiverError.js"},"./helpers/nullishReceiverError.js"],"./helpers/esm/nullishReceiverError":"./helpers/esm/nullishReceiverError.js","./helpers/objectDestructuringEmpty":[{node:"./helpers/objectDestructuringEmpty.js",import:"./helpers/esm/objectDestructuringEmpty.js",default:"./helpers/objectDestructuringEmpty.js"},"./helpers/objectDestructuringEmpty.js"],"./helpers/esm/objectDestructuringEmpty":"./helpers/esm/objectDestructuringEmpty.js","./helpers/objectSpread2":[{node:"./helpers/objectSpread2.js",import:"./helpers/esm/objectSpread2.js",default:"./helpers/objectSpread2.js"},"./helpers/objectSpread2.js"],"./helpers/esm/objectSpread2":"./helpers/esm/objectSpread2.js","./helpers/objectWithoutProperties":[{node:"./helpers/objectWithoutProperties.js",import:"./helpers/esm/objectWithoutProperties.js",default:"./helpers/objectWithoutProperties.js"},"./helpers/objectWithoutProperties.js"],"./helpers/esm/objectWithoutProperties":"./helpers/esm/objectWithoutProperties.js","./helpers/objectWithoutPropertiesLoose":[{node:"./helpers/objectWithoutPropertiesLoose.js",import:"./helpers/esm/objectWithoutPropertiesLoose.js",default:"./helpers/objectWithoutPropertiesLoose.js"},"./helpers/objectWithoutPropertiesLoose.js"],"./helpers/esm/objectWithoutPropertiesLoose":"./helpers/esm/objectWithoutPropertiesLoose.js","./helpers/possibleConstructorReturn":[{node:"./helpers/possibleConstructorReturn.js",import:"./helpers/esm/possibleConstructorReturn.js",default:"./helpers/possibleConstructorReturn.js"},"./helpers/possibleConstructorReturn.js"],"./helpers/esm/possibleConstructorReturn":"./
9helpers/esm/possibleConstructorReturn.js","./helpers/readOnlyError":[{node:"./helpers/readOnlyError.js",import:"./helpers/esm/readOnlyError.js",default:"./helpers/readOnlyError.js"},"./helpers/readOnlyError.js"],"./helpers/esm/readOnlyError":"./helpers/esm/readOnlyError.js","./helpers/regenerator":[{node:"./helpers/regenerator.js",import:"./helpers/esm/regenerator.js",default:"./helpers/regenerator.js"},"./helpers/regenerator.js"],"./helpers/esm/regenerator":"./helpers/esm/regenerator.js","./helpers/regeneratorAsync":[{node:"./helpers/regeneratorAsync.js",import:"./helpers/esm/regeneratorAsync.js",default:"./helpers/regeneratorAsync.js"},"./helpers/regeneratorAsync.js"],"./helpers/esm/regeneratorAsync":"./helpers/esm/regeneratorAsync.js","./helpers/regeneratorAsyncGen":[{node:"./helpers/regeneratorAsyncGen.js",import:"./helpers/esm/regeneratorAsyncGen.js",default:"./helpers/regeneratorAsyncGen.js"},"./helpers/regeneratorAsyncGen.js"],"./helpers/esm/regeneratorAsyncGen":"./helpers/esm/regeneratorAsyncGen.js","./helpers/regeneratorKeys":[{node:"./helpers/regeneratorKeys.js",import:"./helpers/esm/regeneratorKeys.js",default:"./helpers/regeneratorKeys.js"},"./helpers/regeneratorKeys.js"],"./helpers/esm/regeneratorKeys":"./helpers/esm/regeneratorKeys.js","./helpers/regeneratorValues":[{node:"./helpers/regeneratorValues.js",import:"./helpers/esm/regeneratorValues.js",default:"./helpers/regeneratorValues.js"},"./helpers/regeneratorValues.js"],"./helpers/esm/regeneratorValues":"./helpers/esm/regeneratorValues.js","./helpers/set":[{node:"./helpers/set.js",import:"./helpers/esm/set.js",default:"./helpers/set.js"},"./helpers/set.js"],"./helpers/esm/set":"./helpers/esm/set.js","./helpers/setFunctionName":[{node:"./helpers/setFunctionName.js",import:"./helpers/esm/setFunctionName.js",default:"./helpers/setFunctionName.js"},"./helpers/setFunctionName.js"],"./helpers/esm/setFunctionName":"./helpers/esm/setFunctionName.js","./helpers/setPrototypeOf":[{node:"./helpers/setPrototypeOf.js",import:"./helpers/esm/setPrototypeOf.js",default:"./helpers/setPrototypeOf.js"},"./helpers/setPrototypeOf.js"],"./helpers/esm/setPrototypeOf":"./helpers/esm/setPrototypeOf.js","./helpers/skipFirstGeneratorNext":[{node:"./helpers/skipFirstGeneratorNext.js",import:"./helpers/esm/skipFirstGeneratorNext.js",default:"./helpers/skipFirstGeneratorNext.js"},"./helpers/skipFirstGeneratorNext.js"],"./helpers/esm/skipFirstGeneratorNext":"./helpers/esm/skipFirstGeneratorNext.js","./helpers/slicedToArray":[{node:"./helpers/slicedToArray.js",import:"./helpers/esm/slicedToArray.js",default:"./helpers/slicedToArray.js"},"./helpers/slicedToArray.js"],"./helpers/esm/slicedToArray":"./helpers/esm/slicedToArray.js","./helpers/superPropBase":[{node:"./helpers/superPropBase.js",import:"./helpers/esm/superPropBase.js",default:"./helpers/superPropBase.js"},"./helpers/superPropBase.js"],"./helpers/esm/superPropBase":"./helpers/esm/superPropBase.js","./helpers/superPropGet":[{node:"./helpers/superPropGet.js",import:"./helpers/esm/superPropGet.js",default:"./helpers/superPropGet.js"},"./helpers/superPropGet.js"],"./helpers/esm/superPropGet":"./helpers/esm/superPropGet.js","./helpers/superPropSet":[{node:"./helpers/superPropSet.js",import:"./helpers/esm/superPropSet.js",default:"./helpers/superPropSet.js"},"./helpers/superPropSet.js"],"./helpers/esm/superPropSet":"./helpers/esm/superPropSet.js","./helpers/taggedTemplateLiteral":[{node:"./helpers/taggedTemplateLiteral.js",import:"./helpers/esm/taggedTemplateLiteral.js",default:"./helpers/taggedTemplateLiteral.js"},"./helpers/taggedTemplateLiteral.js"],"./helpers/esm/taggedTemplateLiteral":"./helpers/esm/taggedTemplateLiteral.js","./helpers/taggedTemplateLiteralLoose":[{node:"./helpers/taggedTemplateLiteralLoose.js",import:"./helpers/esm/taggedTemplateLiteralLoose.js",default:"./helpers/taggedTemplateLiteralLoose.js"},"./helpers/taggedTemplateLiteralLoose.js"],"./helpers/esm/taggedTemplateLiteralLoose":"./helpers/esm/taggedTemplateLiteralLoose.js","./helpers/tdz":[{node:"./helpers/tdz.js",import:"./helpers/esm/tdz.js",default:"./helpers/tdz.js"},"./helpers/tdz.js"],"./helpers/esm/tdz":"./helpers/esm/tdz.js","./helpers/temporalRef"
9:[{node:"./helpers/temporalRef.js",import:"./helpers/esm/temporalRef.js",default:"./helpers/temporalRef.js"},"./helpers/temporalRef.js"],"./helpers/esm/temporalRef":"./helpers/esm/temporalRef.js","./helpers/temporalUndefined":[{node:"./helpers/temporalUndefined.js",import:"./helpers/esm/temporalUndefined.js",default:"./helpers/temporalUndefined.js"},"./helpers/temporalUndefined.js"],"./helpers/esm/temporalUndefined":"./helpers/esm/temporalUndefined.js","./helpers/toArray":[{node:"./helpers/toArray.js",import:"./helpers/esm/toArray.js",default:"./helpers/toArray.js"},"./helpers/toArray.js"],"./helpers/esm/toArray":"./helpers/esm/toArray.js","./helpers/toConsumableArray":[{node:"./helpers/toConsumableArray.js",import:"./helpers/esm/toConsumableArray.js",default:"./helpers/toConsumableArray.js"},"./helpers/toConsumableArray.js"],"./helpers/esm/toConsumableArray":"./helpers/esm/toConsumableArray.js","./helpers/toPrimitive":[{node:"./helpers/toPrimitive.js",import:"./helpers/esm/toPrimitive.js",default:"./helpers/toPrimitive.js"},"./helpers/toPrimitive.js"],"./helpers/esm/toPrimitive":"./helpers/esm/toPrimitive.js","./helpers/toPropertyKey":[{node:"./helpers/toPropertyKey.js",import:"./helpers/esm/toPropertyKey.js",default:"./helpers/toPropertyKey.js"},"./helpers/toPropertyKey.js"],"./helpers/esm/toPropertyKey":"./helpers/esm/toPropertyKey.js","./helpers/toSetter":[{node:"./helpers/toSetter.js",import:"./helpers/esm/toSetter.js",default:"./helpers/toSetter.js"},"./helpers/toSetter.js"],"./helpers/esm/toSetter":"./helpers/esm/toSetter.js","./helpers/tsRewriteRelativeImportExtensions":[{node:"./helpers/tsRewriteRelativeImportExtensions.js",import:"./helpers/esm/tsRewriteRelativeImportExtensions.js",default:"./helpers/tsRewriteRelativeImportExtensions.js"},"./helpers/tsRewriteRelativeImportExtensions.js"],"./helpers/esm/tsRewriteRelativeImportExtensions":"./helpers/esm/tsRewriteRelativeImportExtensions.js","./helpers/typeof":[{node:"./helpers/typeof.js",import:"./helpers/esm/typeof.js",default:"./helpers/typeof.js"},"./helpers/typeof.js"],"./helpers/esm/typeof":"./helpers/esm/typeof.js","./helpers/unsupportedIterableToArray":[{node:"./helpers/unsupportedIterableToArray.js",import:"./helpers/esm/unsupportedIterableToArray.js",default:"./helpers/unsupportedIterableToArray.js"},"./helpers/unsupportedIterableToArray.js"],"./helpers/esm/unsupportedIterableToArray":"./helpers/esm/unsupportedIterableToArray.js","./helpers/usingCtx":[{node:"./helpers/usingCtx.js",import:"./helpers/esm/usingCtx.js",default:"./helpers/usingCtx.js"},"./helpers/usingCtx.js"],"./helpers/esm/usingCtx":"./helpers/esm/usingCtx.js","./helpers/wrapAsyncGenerator":[{node:"./helpers/wrapAsyncGenerator.js",import:"./helpers/esm/wrapAsyncGenerator.js",default:"./helpers/wrapAsyncGenerator.js"},"./helpers/wrapAsyncGenerator.js"],"./helpers/esm/wrapAsyncGenerator":"./helpers/esm/wrapAsyncGenerator.js","./helpers/wrapNativeSuper":[{node:"./helpers/wrapNativeSuper.js",import:"./helpers/esm/wrapNativeSuper.js",default:"./helpers/wrapNativeSuper.js"},"./helpers/wrapNativeSuper.js"],"./helpers/esm/wrapNativeSuper":"./helpers/esm/wrapNativeSuper.js","./helpers/wrapRegExp":[{node:"./helpers/wrapRegExp.js",import:"./helpers/esm/wrapRegExp.js",default:"./helpers/wrapRegExp.js"},"./helpers/wrapRegExp.js"],"./helpers/esm/wrapRegExp":"./helpers/esm/wrapRegExp.js","./helpers/writeOnlyError":[{node:"./helpers/writeOnlyError.js",import:"./helpers/esm/writeOnlyError.js",default:"./helpers/writeOnlyError.js"},"./helpers/writeOnlyError.js"],"./helpers/esm/writeOnlyError":"./helpers/esm/writeOnlyError.js","./helpers/AwaitValue":[{node:"./helpers/AwaitValue.js",import:"./helpers/esm/AwaitValue.js",default:"./helpers/AwaitValue.js"},"./helpers/AwaitValue.js"],"./helpers/esm/AwaitValue":"./helpers/esm/AwaitValue.js","./helpers/applyDecs":[{node:"./helpers/applyDecs.js",import:"./helpers/esm/applyDecs.js",default:"./helpers/applyDecs.js"},"./helpers/applyDecs.js"],"./helpers/esm/applyDecs":"./helpers/esm/applyDecs.js","./helpers/applyDecs2203":[{node:"./helpers/applyDecs2203.js",import:"./helpers/esm/applyDecs2203.js",default:"./helpers/applyDecs2203.js"},"./helpers/applyDecs2203.js"],"./helpers/esm/applyDecs2203":"./helpers/esm/applyDecs2203.js","./helpers/applyDecs2203R":[{node:"./helpers/applyDecs2203R.js",import:"./helpers/esm/applyDecs2203R.js",default:"./helpers/applyDecs2203R.js"},"./helpers/applyDecs2203R.js"],"./helpers/esm/applyDecs2203R":"./helpers/esm/applyDecs2203R.js","./helpers/applyDecs2301":[{node:"./helpers/applyDecs2301.js",import:"./helpers/esm/applyDecs2301.js",default:"./helpers/applyDecs2301.js"},"./helpers/applyDecs2301.js"],"./helpers/esm/applyDecs2301":"./helpers/esm/applyDecs2301.js","./helpers/applyDecs2305":[{node:"./helpers/applyDecs2305.js",import:"./helpers/esm/applyDecs2305.js",default:"./helpers/applyDecs2305.js"},"./helpers/applyDecs2305.js"],"./helpers/esm/applyDecs2305":"./helpers/esm/applyDecs2305.js","./helpers/classApplyDescriptorDestructureSet":[{node:"./helpers/classApplyDescriptorDestructureSet.js",import:"./helpers/esm/classApplyDescriptorDestructureSet.js",default:"./helpers/classApplyDescriptorDestructureSet.js"},"./helpers/classApplyDescriptorDestructureSet.js"],"./helpers/esm/classApplyDescriptorDestructureSet":"./helpers/esm/classApplyDescriptorDestructureSet.js","./helpers/classApplyDescriptorGet":[{node:"./helpers/classApplyDescriptorGet.js",import:"./helpers/esm/classApplyDescriptorGet.js",default:"./helpers/classApplyDescriptorGet.js"},"./helpers/classApplyDescriptorGet.js"],"./helpers/esm/classApplyDescriptorGet":"./helpers/esm/classApplyDescriptorGet.js","./helpers/classApplyDescriptorSet":[{node:"./helpers/classApplyDescriptorSet.js",import:"./helpers/esm/classApplyDescriptorSet.js",default:"./helpers/classApplyDescriptorSet.js"},"./helpers/classApplyDescriptorSet.js"],"./helpers/esm/classApplyDescriptorSet":"./helpers/esm/classApplyDescriptorSet.js","./helpers/classCheckPrivateStaticAccess":[{node:"./helpers/classCheckPrivateStaticAccess.js",import:"./helpers/esm/classCheckPrivateStaticAccess.js",default:"./helpers/classCheckPrivateStaticAccess.js"},"./helpers/classCheckPrivateStaticAccess.js"],"./helpers/esm/classCheckPrivateStaticAccess":"./helpers/esm/classCheckPrivateStaticAccess.js","./helpers/classCheckPrivateStaticFieldDescriptor":[{node:"./helpers/classCheckPrivateStaticFieldDescriptor.js",import:"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js",default:"./helpers/classCheckPrivateStaticFieldDescriptor.js"},"./helpers/classCheckPrivateStaticFieldDescriptor.js"],"./helpers/esm/classCheckPrivateStaticFieldDescriptor":"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js","./helpers/classExtractFieldDescriptor":[{node:"./helpers/classExtractFieldDescriptor.js",import:"./helpers/esm/classExtractFieldDescriptor.js",default:"./helpers/classExtractFieldDescriptor.js"},"./helpers/classExtractFieldDescriptor.js"],"./helpers/esm/classExtractFieldDescriptor":"./helpers/esm/classExtractFieldDescriptor.js","./helpers/classPrivateFieldDestructureSet":[{node:"./helpers/classPrivateFieldDestructureSet.js",import:"./helpers/esm/classPrivateFieldDestructureSet.js",default:"./helpers/classPrivateFieldDestructureSet.js"},"./helpers/classPrivateFieldDestructureSet.js"],"./helpers/esm/classPrivateFieldDestructureSet":"./helpers/esm/classPrivateFieldDestructureSet.js","./helpers/classPrivateFieldGet":[{node:"./helpers/classPrivateFieldGet.js",import:"./helpers/esm/classPrivateFieldGet.js",default:"./helpers/classPrivateFieldGet.js"},"./helpers/classPrivateFieldGet.js"],"./helpers/esm/classPrivateFieldGet":"./helpers/esm/classPrivateFieldGet.js","./helpers/classPrivateFieldSet":[{node:"./helpers/classPrivateFieldSet.js",import:"./helpers/esm/classPrivateFieldSet.js",default:"./helpers/classPrivateFieldSet.js"},"./helpers/classPrivateFieldSet.js"],"./helpers/esm/classPrivateFieldSet":"./helpers/esm/classPrivateFieldSet.js","./helpers/classPrivateMethodGet":[{node:"./helpers/classPrivateMethodGet.js",import:"./helpers/esm/classPrivateMethodGet.js",default:"./helpers/classPrivateMethodGet.js"},"./helpers/classPrivateMethodGet.js"],"./helpers/esm/classPrivateMethodGet":"./helpers/esm/classPrivateMethodGet.js","./helpers/classPrivateMethodSet":[{node:"./helpers/classPrivateMethodSet.js",import:"./helpers/esm/classPrivateMethodSet.js",default:"./helpers/classPrivateMethodSet.js"},"./helpers/classPrivateMethodSet.js"],"./helpers/esm/classPrivateMethodSet":"./helpers/esm/classPrivateMethodSet.js","./helpers/classStaticPrivateFieldDestructureSet":[{node:"./helpers/classStaticPrivateFieldDestructureSet.js",import:"./helpers/esm/classStaticPrivateFieldDestructureSet.js",default:"./helpers/classStaticPrivateFieldDestructureSet.js"},"./helpers/classStaticPrivateFieldDestructureSet.js"],"./helpers/esm/classStaticPrivateFieldDestructureSet":"./helpers/esm/classStaticPrivateFieldDestructureSet.js","./helpers/classStaticPrivateFieldSpecGet":[{node:"./helpers/classStaticPrivateFieldSpecGet.js",import:"./helpers/esm/classStaticPrivateFieldSpecGet.js",default:"./helpers/classStaticPrivateFieldSpecGet.js"},"./helpers/classStaticPrivateFieldSpecGet.js"],"./helpers/esm/classStaticPrivateFieldSpecGet":"./helpers/esm/classStaticPrivateFieldSpecGet.js","./helpers/classStaticPrivateFieldSpecSet":[{node:"./helpers/classStaticPrivateFieldSpecSet.js",import:"./helpers/esm/classStaticPrivateFieldSpecSet.js",default:"./helpers/classStaticPrivateFieldSpecSet.js"},"./helpers/classStaticPrivateFieldSpecSet.js"],"./helpers/esm/classStaticPrivateFieldSpecSet":"./helpers/esm/classStaticPrivateFieldSpecSet.js","./helpers/classStaticPrivateMethodSet":[{node:"./helpers/classStaticPrivateMethodSet.js",import:"./helpers/esm/classStaticPrivateMethodSet.js",default:"./helpers/classStaticPrivateMethodSet.js"},"./helpers/classStaticPrivateMethodSet.js"],"./helpers/esm/classStaticPrivateMethodSet":"./helpers/esm/classStaticPrivateMethodSet.js","./helpers/
9defineEnumerableProperties":[{node:"./helpers/defineEnumerableProperties.js",import:"./helpers/esm/defineEnumerableProperties.js",default:"./helpers/defineEnumerableProperties.js"},"./helpers/defineEnumerableProperties.js"],"./helpers/esm/defineEnumerableProperties":"./helpers/esm/defineEnumerableProperties.js","./helpers/dispose":[{node:"./helpers/dispose.js",import:"./helpers/esm/dispose.js",default:"./helpers/dispose.js"},"./helpers/dispose.js"],"./helpers/esm/dispose":"./helpers/esm/dispose.js","./helpers/objectSpread":[{node:"./helpers/objectSpread.js",import:"./helpers/esm/objectSpread.js",default:"./helpers/objectSpread.js"},"./helpers/objectSpread.js"],"./helpers/esm/objectSpread":"./helpers/esm/objectSpread.js","./helpers/regeneratorRuntime":[{node:"./helpers/regeneratorRuntime.js",import:"./helpers/esm/regeneratorRuntime.js",default:"./helpers/regeneratorRuntime.js"},"./helpers/regeneratorRuntime.js"],"./helpers/esm/regeneratorRuntime":"./helpers/esm/regeneratorRuntime.js","./helpers/using":[{node:"./helpers/using.js",import:"./helpers/esm/using.js",default:"./helpers/using.js"},"./helpers/using.js"],"./helpers/esm/using":"./helpers/esm/using.js","./package":"./package.json","./package.json":"./package.json","./regenerator":"./regenerator/index.js","./regenerator/*.js":"./regenerator/*.js","./regenerator/":"./regenerator/"},homepage:"https://babel.dev/docs/en/next/babel-runtime",license:"MIT",name:"@babel/runtime",publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/babel/babel.git",directory:"packages/babel-runtime"},type:"commonjs",version:"7.28.3"}},helpers:{
9"slicedToArray.js":function e(s,r,e){var t=s("./arrayWithHoles.js"),l=s("./iterableToArrayLimit.js"),o=s("./unsupportedIterableToArray.js"),p=s("./nonIterableRest.js");function a(e,s){return t(e)||l(e,s)||o(e,s)||p()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},
9"arrayWithHoles.js":function e(s,r,e){function t(e){if(Array.isArray(e))return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 505 bytes, line 9
9"iterableToArrayLimit.js":function e(s,r,e){function t(e,s){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var t,l,o,p,a=[],i=!0,n=!1;try{if(o=(r=r.call(e)).next,0===s){if(Object(r)!==r)return;i=!1}else for(;!(i=(t=o.call(r)).done)&&(a.push(t.value),a.length!==s);i=!0);}catch(e){n=!0,l=e}finally{try{if(!i&&null!=r.return&&(p=r.return(),Object(p)!==p))return}finally{if(n)throw l}}return a}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"unsupportedIterableToArray.js":function e(s,r,e){var t=s("./arrayLikeToArray.js");function l(e,s){if(e){if("string"==typeof e)return t(e,s);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,s):void 0}}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"arrayLikeToArray.js":function e(s,r,e){function t(e,s){(null==s||s>e.length)&&(s=e.length);for(var r=0,t=Array(s);r<s;r++)t[r]=e[r];return t}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"nonIterableRest.js":function e(s,r,e){function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"typeof.js":function e(s,r,e){function t(s){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(s)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
vendor: 595 bytes, line 9
9"createForOfIteratorHelperLoose.js":function e(s,r,e){var t=s("./unsupportedIterableToArray.js");function l(e,s){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=t(e))||s&&e&&"number"==typeof e.length){r&&(e=r);var l=0;return function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"inheritsLoose.js":function e(s,r,e){var t=s("./setPrototypeOf.js");function l(e,s){e.prototype=Object.create(s.prototype),e.prototype.constructor=e,t(e,s)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"setPrototypeOf.js":function e(s,r,e){function t(s,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,s){return e.__proto__=s,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(s,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"toConsumableArray.js":function e(s,r,e){var t=s("./arrayWithoutHoles.js"),l=s("./iterableToArray.js"),o=s("./unsupportedIterableToArray.js"),p=s("./nonIterableSpread.js");function a(e){return t(e)||l(e)||o(e)||p()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},
9"arrayWithoutHoles.js":function e(s,r,e){var t=s("./arrayLikeToArray.js");function l(e){if(Array.isArray(e))return t(e)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"iterableToArray.js":function e(s,r,e){function t(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"nonIterableSpread.js":function e(s,r,e){function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"objectSpread2.js":function e(s,r,e){var t=s("./defineProperty.js");function l(e,s){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);s&&(t=t.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),r.push.apply(r,t)}return r}function o(e){for(var s=1;s<arguments.length;s++){var r=null!=arguments[s]?arguments[s]:{};s%2?l(Object(r),!0).forEach((function(s){t(e,s,r[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))}))}return e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},
9"defineProperty.js":function e(s,r,e){var t=s("./toPropertyKey.js");function l(e,s,r){return(s=t(s))in e?Object.defineProperty(e,s,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[s]=r,e}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"toPropertyKey.js":function e(s,r,e){var t=s("./typeof.js").default,l=s("./toPrimitive.js");function o(e){var s=l(e,"string");return"symbol"==t(s)?s:s+""}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},
9"toPrimitive.js":function e(s,r,e){var t=s("./typeof.js").default;function l(e,s){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var l=r.call(e,s||"default");if("object"!=t(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(e)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"objectWithoutProperties.js":function e(s,r,e){var t=s("./objectWithoutPropertiesLoose.js");function l(e,s){if(null==e)return{};var r,l,o=t(e,s);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(l=0;l<p.length;l++)r=p[l],-1===s.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
9"objectWithoutPropertiesLoose.js":function e(s,r,e){function t(e,s){if(null==e)return{};var r={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(-1!==s.indexOf(t))continue;r[t]=e[t]}return r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
9"assertThisInitialized.js":function e(s,r,e){function t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}}}}}},{extensions:[".js",".json",".html",".mjs",".css"]});var p=o("/node_modules/meteor/modules/client.js");o("/node_modules/meteor/modules/legacy.js"),Package._define("modules",p,{meteorInstall:t,meteorBabelHelpers:l})}(); 10 11Package._define("modern-browsers"); 12 13Package._define("babel-compiler"); 14 15!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,s;n({node_modules:{meteor:{"react-fast-refresh":{
15"client.js":function e(r,t,e){let n=__meteor_runtime_config__&&__meteor_runtime_config__.reactFastRefreshEnabled,o=!!e.hot;var i;function s(e){o&&(i=i||r("./client-runtime.js"))(e)}if(o&&n){let r=!1;e.hot.onRequire({before:function(e){r||(r=!0,s(e),r=!1)}}),window.___INIT_METEOR_FAST_REFRESH=function(){}}else window.___INIT_METEOR_FAST_REFRESH=s},
15"client-runtime.js":function e(r,t,e){const n=r("react-refresh/runtime");let o=null;function i(){o||(o=setTimeout((function(){o=null,n.performReactRefresh()}),0))}function s(e,r){if(n.register(r,e+" %exports%"),null!=r&&"object"==typeof r)for(var t in r){var o=Object.getOwnPropertyDescriptor(r,t);if(!o||!o.get){var i=r[t],s=e+" %exports% "+t;n.register(i,s)}}}function c(e){if(n.isLikelyComponentType(e))return!0;if(null==e||"object"!=typeof e)return!1;if(e instanceof Element)return!1;var r=!1,t=!0;for(var o in e){r=!0;var i=Object.getOwnPropertyDescriptor(e,o);if(i&&i.get)return!1;try{n.isLikelyComponentType(e[o])||(t=!1)}catch(s){if("SecurityError"===s.name)return!1;throw s}}return r&&t}n.injectIntoGlobalHook(window),window.$RefreshReg$=function(){},window.$RefreshSig$=function(){return function(e){return e}};const f=new WeakMap;e.hot.onRequire({after:function(e){const r=f.get(e);r&&(f.delete(e),window.$RefreshReg$=r.prevRefreshReg,window.$RefreshSig$=r.prevRefreshSig,c(e.exports)&&(s(e.id,e.exports),e.hot.accept(),i()))}}),e.exports=function e(r){if(!r.loaded){var t=window.$RefreshReg$,o=window.$RefreshSig$;window.RefreshRuntime=n,window.$RefreshReg$=function(e,t){const n=r.id+" "+t;RefreshRuntime.register(e,n)},window.$RefreshSig$=RefreshRuntime.createSignatureFunctionForTransform,f.set(r,{prevRefreshReg:t,prevRefreshSig:o})}}},node_modules:{"react-refresh":{
15"runtime.js":function e(r,t,e){"use strict";e.exports=r("./cjs/react-refresh-runtime.production.min.js")},cjs:{
15"react-refresh-runtime.production.min.js":function e(){ 16/** @license React vundefined 17 * react-refresh-runtime.production.min.js 18 * 19 * Copyright (c) Facebook, Inc. and its affiliates. 20 * 21 * This source code is licensed under the MIT license found in the 22 * LICENSE file in the root directory of this source tree. 23 */ 24"use strict";throw Error("React Refresh runtime should not be included in the production bundle.")},
24"react-refresh-runtime.development.js":function e(r,t,e){ 25/** @license React vundefined 26 * react-refresh-runtime.development.js 27 * 28 * Copyright (c) Facebook, Inc. and its affiliates. 29 * 30 * This source code is licensed under the MIT license found in the 31 * LICENSE file in the root directory of this source tree. 32 */ 33"use strict"}}}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/react-fast-refresh/client.js"),Package._define("react-fast-refresh",{ReactFastRefresh:i})}(); 34 35Package._define("ecmascript"); 36 37Package._define("ecmascript-runtime"); 38 39!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,a=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,r,l=a({node_modules:{meteor:{"babel-runtime":{
39"babel-runtime.js":function e(n){try{var o=n("@babel/runtime/package.json").version}catch(a){throw new Error(["","The @babel/runtime npm package could not be found in your node_modules ","directory. Please run the following command to install it:",""," meteor npm install --save @babel/runtime",""].join("\n"))}(parseInt(o,10)<7||0===o.indexOf("7.0.0-beta.")&&parseInt(o.split(".").pop(),10)<56)&&console.error(["The version of @babel/runtime installed in your node_modules directory ","("+o+") is out of date. Please upgrade it by running ",""," meteor npm install --save @babel/runtime@latest","","in your application directory.",""].join("\n"))}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/babel-runtime/babel-runtime.js");Package._define("babel-runtime",l)}(); 40 41!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,s=r({node_modules:{meteor:{promise:{
41"modern.js":function n(){i=e.Promise},
41"legacy.js":function n(t){i="function"==typeof e.Promise?e.Promise:e.Promise=t("promise/lib/es6-extensions")},
41"client.js":function n(e){e("./extensions.js"),e("meteor-promise").makeCompatible(i)},
41"extensions.js":function e(){var t=i.prototype,r=Object.prototype.hasOwnProperty;t.done=function(e,t){var r=this;arguments.length>0&&(r=this.then.apply(this,arguments)),r.then(null,(function(e){n._setImmediate((function(){throw e}))}))},r.call(t,"finally")||(t.finally=function(n){var e=!1,t;return this.then((function(e){return t=e,n()}),(function(r){return e=!0,t=r,n()})).then((function(){if(e)throw t;return t}))})},node_modules:{promise:{lib:{
41"es6-extensions.js":function n(e,t,n){"use strict";var r=e("./core.js");n.exports=r;var o=a(!0),i=a(!1),s=a(null),u=a(void 0),c=a(0),f=a("");function a(n){var e=new r(r._0);return e._V=1,e._W=n,e}r.resolve=function(n){if(n instanceof r)return n;if(null===n)return s;if(void 0===n)return u;if(!0===n)return o;if(!1===n)return i;if(0===n)return c;if(""===n)return f;if("object"==typeof n||"function"==typeof n)try{var e=n.then;if("function"==typeof e)return new r(e.bind(n))}catch(t){return new r((function(n,e){e(t)}))}return a(n)};var l=function(n){return"function"==typeof Array.from?(l=Array.from,Array.from(n)):(l=function(n){return Array.prototype.slice.call(n)},Array.prototype.slice.call(n))};r.all=function(n){var e=l(n);return new r((function(n,t){if(0===e.length)return n([]);var o=e.length;function i(s,u){if(u&&("object"==typeof u||"function"==typeof u)){if(u instanceof r&&u.then===r.prototype.then){for(;3===u._V;)u=u._W;return 1===u._V?i(s,u._W):(2===u._V&&t(u._W),void u.then((function(n){i(s,n)}),t))}var c=u.then,f;if("function"==typeof c)return void new r(c.bind(u)).then((function(n){i(s,n)}),t)}e[s]=u,0==--o&&n(e)}for(var s=0;s<e.length;s++)i(s,e[s])}))},r.reject=function(n){return new r((function(e,t){t(n)}))},r.race=function(n){return new r((function(e,t){l(n).forEach((function(n){r.resolve(n).then(e,t)}))}))},r.prototype.catch=function(n){return this.then(null,n)}},
41"core.js":function n(e,t,n){"use strict";var r=e("asap/raw");function o(){}var i=null,s={};function u(n){try{return n.then}catch(e){return i=e,s}}function c(n,e){try{return n(e)}catch(t){return i=t,s}}function f(n,e,t){try{n(e,t)}catch(r){return i=r,s}}function a(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("Promise constructor's argument is not a function");this._U=0,this._V=0,this._W=null,this._X=null,n!==o&&y(n,this)}function l(n,e,t){return new n.constructor((function(r,i){var s=new a(o);s.then(r,i),p(n,new d(e,t,s))}))}function p(n,e){for(;3===n._V;)n=n._W;if(a._Y&&a._Y(n),0===n._V)return 0===n._U?(n._U=1,void(n._X=e)):1===n._U?(n._U=2,void(n._X=[n._X,e])):void n._X.push(e);m(n,e)}function m(n,e){r((function(){var t=1===n._V?e.onFulfilled:e.onRejected;if(null!==t){var r=c(t,n._W);r===s?_(e.promise,i):h(e.promise,r)}else 1===n._V?h(e.promise,n._W):_(e.promise,n._W)}))}function h(n,e){if(e===n)return _(n,new TypeError("A promise cannot be resolved with itself."));if(e&&("object"==typeof e||"function"==typeof e)){var t=u(e);if(t===s)return _(n,i);if(t===n.then&&e instanceof a)return n._V=3,n._W=e,void v(n);if("function"==typeof t)return void y(t.bind(e),n)}n._V=1,n._W=e,v(n)}function _(n,e){n._V=2,n._W=e,a._Z&&a._Z(n,e),v(n)}function v(n){if(1===n._U&&(p(n,n._X),n._X=null),2===n._U){for(var e=0;e<n._X.length;e++)p(n,n._X[e]);n._X=null}}function d(n,e,t){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof e?e:null,this.promise=t}function y(n,e){var t=!1,r=f(n,(function(n){t||(t=!0,h(e,n))}),(function(n){t||(t=!0,_(e,n))}));t||r!==s||(t=!0,_(e,i))}n.exports=a,a._Y=null,a._Z=null,a._0=o,a.prototype.then=function(n,e){if(this.constructor!==a)return l(this,n,e);var t=new a(o);return p(this,new d(n,e,t)),t}}}},asap:{
41"package.json":function n(e,t,n){n.exports={name:"asap",version:"2.0.6",browser:{"./asap":"./browser-asap.js","./asap.js":"./browser-asap.js","./raw":"./browser-raw.js","./raw.js":"./browser-raw.js","./test/domain.js":"./test/browser-domain.js"},main:"./asap.js"}},"raw.js":"/node_modules/meteor/promise/node_modules/asap/browser-raw.js",
41"browser-raw.js":function n(t,r,n){"use strict";function o(n){i.length||(u(),s=!0),i[i.length]=n}n.exports=o;var i=[],s=!1,u,c=0,f=1024;function a(){for(;c<i.length;){var n=c;if(c+=1,i[n].call(),c>f){for(var e=0,t=i.length-c;e<t;e++)i[e]=i[e+c];i.length-=c,c=0}}i.length=0,c=0,s=!1}var l="undefined"!=typeof e?e:self,p=l.MutationObserver||l.WebKitMutationObserver;function m(n){var e=1,t=new p(n),r=document.createTextNode("");return t.observe(r,{characterData:!0}),function n(){e=-e,r.data=e}}function h(n){return function e(){var t=setTimeout(o,0),r=setInterval(o,50);function o(){clearTimeout(t),clearInterval(r),n()}}}u="function"==typeof p?m(a):h(a),o.requestFlush=u,o.makeRequestCallFromTimer=h}},"meteor-promise":{
41"package.json":function n(e,t,n){n.exports={name:"meteor-promise",version:"0.9.0",browser:"promise_client.js",main:"promise_server.js"}},
41"promise_client.js":function e(t,r){function o(n){throw n}r.makeCompatible=function(e){var t=e.prototype.then;e.prototype.then=function(e,r){return"object"==typeof n&&"function"==typeof n.bindEnvironment?t.call(this,e&&n.bindEnvironment(e,o),r&&n.bindEnvironment(r,o)):t.call(this,e,r)}}}}}}}}},{extensions:[".js",".json"]});s("/node_modules/meteor/promise/modern.js"),s("/node_modules/meteor/promise/legacy.js");var u=s("/node_modules/meteor/promise/client.js");Package._define("promise",u,{Promise:i})}(); 42 43!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,o=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,s,a=o({node_modules:{meteor:{fetch:{
43"legacy.js":function t(r,o){r("whatwg-fetch"),o.fetch=e.fetch,o.Headers=e.Headers,o.Request=e.Request,o.Response=e.Response},node_modules:{"whatwg-fetch":{
43"package.json":function t(e,r,t){t.exports={name:"whatwg-fetch",version:"2.0.4",main:"fetch.js"}},
43"fetch.js":function t(){!function(t){"use strict";if(!t.fetch){var e="URLSearchParams"in t,r="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),n="FormData"in t,s="ArrayBuffer"in t;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=function(t){return t&&DataView.prototype.isPrototypeOf(t)},u=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};p.prototype.append=function(t,e){t=c(t),e=y(e);var r=this.map[t];this.map[t]=r?r+","+e:e},p.prototype.delete=function(t){delete this.map[c(t)]},p.prototype.get=function(t){return t=c(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(c(t))},p.prototype.set=function(t,e){this.map[c(t)]=y(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),l(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),l(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),l(t)},r&&(p.prototype[Symbol.iterator]=p.prototype.entries);var f=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},A.call(T.prototype),A.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},U.error=function(){var t=new U(null,{status:0,statusText:""});return t.type="error",t};var d=[301,302,303,307,308];U.redirect=function(t,e){if(-1===d.indexOf(e))throw new RangeError("Invalid status code");return new U(null,{status:e,headers:{location:t}})},t.Headers=p,t.Request=T,t.Response=U,t.fetch=function(t,e){return new i((function(r,n){var i=new T(t,e),s=new XMLHttpRequest;s.onload=function(){var t={status:s.status,statusText:s.statusText,headers:x(s.getAllResponseHeaders()||"")};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var e="response"in s?s.response:s.responseText;r(new U(e,t))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),s.send("undefined"==typeof i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function c(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function y(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return r&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function b(t){if(t.bodyUsed)return i.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new i((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function w(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function v(t){var e=new FileReader,r=m(e);return e.readAsText(t),r}function _(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}function g(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(o&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(n&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(s&&o&&h(t))this._bodyArrayBuffer=g(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!s||!ArrayBuffer.prototype.isPrototypeOf(t)&&!u(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return i.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return i.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return i.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?b(this)||i.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return i.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return i.resolve(this._bodyText)},n&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}function B(t){var e=t.toUpperCase();return f.indexOf(e)>-1?e:t}function T(t,e){var r=(e=e||{}).body;if(t instanceof T){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=B(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function x(t){var e=new p,r;
43return t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e}function U(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)}}}}}}},{extensions:[".js",".json"]}),h=a("/node_modules/meteor/fetch/legacy.js");Package._define("fetch",h,{fetch:s})}(); 44 45!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,i=Package.fetch.fetch,u=r({node_modules:{meteor:{"dynamic-import":{
45"client.js":function t(r,o,t){var c=t.constructor,u=r("./cache.js"),a=r("meteor/modules").meteorInstall,s=r("./dynamic-versions.js"),f=n.indexedDB,l=e.settings&&e.settings.public&&e.settings.public.packages&&e.settings.public.packages["dynamic-import"]||{};function d(e){var n=[""],t=Object.create(null);function r(e){e&&"object"==typeof e?Object.keys(e).forEach((function(t){n.push(t),r(e[t]),n.pop()})):"string"==typeof e&&(t[n.join("/")]=e)}return r(e),t}function m(e,n,t){return function(){return(t&&t.eval||eval)("("+n+")\n//# sourceURL="+e).apply(this,arguments)}}c.prototype.dynamicImport=function(e){var n=this;return n.prefetch(e).then((function(){return b(n,e)}))},a.fetch=function(e){var n=Object.create(null),t=Object.create(null),r;function o(t,r){j(n,t,m(t,r,e[t].options))}function c(e){j(r=r||Object.create(null),e,1)}return Object.keys(e).forEach((function(e){var n=s.get(e);n?t[e]=n:c(e)})),u.checkMany(t).then((function(e){return Object.keys(e).forEach((function(n){var t=e[n];t?o(n,t):c(n)})),r&&y(r).then((function(e){var n=Object.create(null),t=d(e);Object.keys(t).forEach((function(e){var r=t[e];o(e,r);var c=s.get(e);c&&(n[e]={version:c,source:r})})),u.setMany(n)}))})).then((function(){return n}))};var p=null;o.setSecretKey=function(e){p=e};var v=r("./common.js").fetchURL;function h(){try{return window.self!==window.top}catch(e){return!0}}function y(n){var t=v,r=l.useLocationOrigin,o=l.disableLocationOriginIframe;return t=!r||!location||o&&h()?e.absoluteUrl(t):location.origin.concat(__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"",t),p&&(t+="key="+p),i(t,{method:"POST",body:JSON.stringify(n)}).then((function(e){if(!e.ok)throw e;return e.json()}))}function j(e,n,t){var r=n.split("/"),o=r.length-1;r.forEach((function(n,r){n&&(e=e[n]=e[n]||(r<o?Object.create(null):t))}))}function b(e,n){var t;return e.link(n,{"*":function(e){t=e}}),Object.defineProperty(t,"__esModule",{value:!0,enumerable:!1}),t}},
45"cache.js":function n(t,r,n){var o,i=e.isClient&&!e.isCordova&&e.isProduction;function u(){return"undefined"!=typeof indexedDB?indexedDB:"undefined"!=typeof webkitIndexedDB?webkitIndexedDB:"undefined"!=typeof mozIndexedDB?mozIndexedDB:"undefined"!=typeof OIndexedDB?OIndexedDB:"undefined"!=typeof msIndexedDB?msIndexedDB:void 0}function a(e){return(o=o||new c((function(e,n){var t=u();if(!t)throw new Error("IndexedDB not available");var r=t.open("MeteorDynamicImportCache",2);r.onupgradeneeded=function(e){var n=e.target.result;Array.from(n.objectStoreNames).forEach(n.deleteObjectStore,n),Object.keys(s).forEach((function(e){n.createObjectStore(e,s[e])}))},r.onerror=f(n,"indexedDB.open"),r.onsuccess=function(n){e(n.target.result)}}))).then(e,(function(n){return e(null)}))}var s={sourcesByVersion:{keyPath:"version"}};function f(e,n){return function(t){return e(new Error("IndexedDB failure in "+n+" "+JSON.stringify(t.target))),!0}}var l=0;r.checkMany=function(e){var n=Object.keys(e),t=Object.create(null);return n.forEach((function(e){t[e]=null})),i?a((function(r){if(!r)return t;var o,i=r.transaction(["sourcesByVersion"],"readonly").objectStore("sourcesByVersion");function u(){return--l,t}return++l,c.all(n.map((function(n){return new c((function(r,o){var c=e[n];if(c){var u=i.get(c);u.onerror=f(o,"sourcesByVersion.get"),u.onsuccess=function(e){var o=e.target.result;o&&(t[n]=o.source),r()}}else r()}))}))).then(u,u)})):c.resolve(t)};var d=Object.create(null);function m(){if(l>0)return m.timer=setTimeout(m,100);m.timer=null;var e=d;return d=Object.create(null),a((function(n){if(n){var t,r=n.transaction(["sourcesByVersion"],"readwrite").objectStore("sourcesByVersion");return c.all(Object.keys(e).map((function(n){var t=e[n];return new c((function(e,n){var o=r.put({version:t.version,source:t.source});o.onerror=f(n,"sourcesByVersion.put"),o.onsuccess=e}))})))}}))}r.setMany=function(e){i&&(Object.assign(d,e),m.timer||(m.timer=setTimeout(m,100)))}},
45"common.js":function e(n,t){t.fetchURL="/__meteor__/dynamic-import/fetch"},
45"dynamic-versions.js":function e(t,r,e){var o={};const i="/node_modules/meteor/";function u(e){var n=[""],t=[];function r(e){e&&"object"==typeof e?Object.keys(e).forEach((function(t){n.push(t),r(e[t]),n.pop()})):"string"==typeof e&&t.push(n.join("/"))}return r(e),t}function a(n){function t(n,r){c.all(n.splice(0,r).map((function(n){return new c((function(t,r){e.prefetch(n).then(t).catch((function(o){0===n.indexOf(i)?e.prefetch(i+n.replace(i,"").replace("_",":")).then(t).catch(r):r(o)}))}))}))).then((function(){n.length>0&&setTimeout((function(){t(n,r)}),0)}))}Package.appcache&&t(u(o),50)}r.get=function(e){var n=o,t=null;return e.split("/").some((function(e){return e&&(n=n[e]||n[e.replace(":","_")]),!n||("string"==typeof n?(t=n,!0):void 0)})),t},n.addEventListener?n.addEventListener("load",a,!1):n.attachEvent&&n.attachEvent("onload",a)}}}}},{extensions:[".js",".json"]}),a=u("/node_modules/meteor/dynamic-import/client.js");Package._define("dynamic-import",a)}(); 46 47!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,n=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,a,c,u,l=n({node_modules:{meteor:{"es5-shim":{
47"client.js":function t(e){e("./import_globals.js"),e("es5-shim/es5-shim.js"),e("es5-shim/es5-sham.js"),e("./console.js"),e("./export_globals.js")},
47"console.js":function t(){var e=Object.prototype.hasOwnProperty;function r(t){var e=console[t];e&&"object"==typeof e&&(console[t]=function(){return Function.prototype.apply.call(e,console,arguments)})}if("object"==typeof console&&"object"==typeof console.log)for(var n in console)e.call(console,n)&&r(n)},
47"export_globals.js":function t(){e.Date!==i&&(e.Date=i),e.parseInt!==a&&(e.parseInt=a),e.parseFloat!==c&&(e.parseFloat=c);var r=String.prototype;r.replace!==u&&(r.replace=u)},
47"import_globals.js":function t(){i=e.Date,a=e.parseInt,c=e.parseFloat,u=String.prototype.replace},node_modules:{"es5-shim":{
47"es5-shim.js":function t(e,r,t){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(n):"object"==typeof r?t.exports=n():e.returnExports=n()}(this,(function(){var t=Array,e=t.prototype,r=Object,n=r.prototype,o=Function,u=o.prototype,l=String,f=l.prototype,s=Number,p=s.prototype,h=e.slice,y=e.splice,d=e.push,b=e.unshift,g=e.concat,v=e.join,w=u.call,j=u.apply,O=Math.max,m=Math.min,T=n.toString,E="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,x,S=Function.prototype.toString,_=/^\s*class /,P=function t(e){try{var r,n,o,i=S.call(e).replace(/\/\/.*\n/g,"").replace(/\/\*[.\s\S]*\*\//g,"").replace(/\n/gm," ").replace(/ {2}/g," ");return _.test(i)}catch(a){return!1}},M=function t(e){try{return!P(e)&&(S.call(e),!0)}catch(r){return!1}},I="[object Function]",D="[object GeneratorFunction]",x=function t(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(E)return M(e);if(P(e))return!1;var r=T.call(e);return r===I||r===D},F,k=RegExp.prototype.exec,N=function t(e){try{return k.call(e),!0}catch(r){return!1}},U="[object RegExp]",$;F=function t(e){return"object"==typeof e&&(E?N(e):T.call(e)===U)};var C=String.prototype.valueOf,A=function t(e){try{return C.call(e),!0}catch(r){return!1}},R="[object String]";$=function t(e){return"string"==typeof e||"object"==typeof e&&(E?A(e):T.call(e)===R)};var z=r.defineProperty&&function(){try{var t={};for(var e in r.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(n){return!1}}(),J=(G=n.hasOwnProperty,Z=z?function(t,e,n,o){!o&&e in t||r.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(t,e,r,n){!n&&e in t||(t[e]=r)},function t(e,r,n){for(var o in r)G.call(r,o)&&Z(e,o,r[o],n)}),G,Z,Y=function t(e){var r=typeof e;return null===e||"object"!==r&&"function"!==r},W=s.isNaN||function t(e){return e!=e},B={ToInteger:function t(e){var r=+e;return W(r)?r=0:0!==r&&r!==1/0&&r!==-1/0&&(r=(r>0||-1)*Math.floor(Math.abs(r))),r},ToPrimitive:function t(e){var r,n,o;if(Y(e))return e;if(n=e.valueOf,x(n)&&(r=n.call(e),Y(r)))return r;if(o=e.toString,x(o)&&(r=o.call(e),Y(r)))return r;throw new TypeError},ToObject:function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return r(t)},ToUint32:function t(e){return e>>>0}},H=function t(){};J(u,{bind:function t(e){var n=this;if(!x(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i=h.call(arguments,1),a,c=function(){if(this instanceof a){var t=j.call(n,this,g.call(i,h.call(arguments)));return r(t)===t?t:this}return j.call(n,e,g.call(i,h.call(arguments)))},u=O(0,n.length-i.length),l=[],f=0;f<u;f++)d.call(l,"$"+f);return a=o("binder","return function ("+v.call(l,",")+"){ return binder.apply(this, arguments); }")(c),n.prototype&&(H.prototype=n.prototype,a.prototype=new H,H.prototype=null),a}});var X=w.bind(n.hasOwnProperty),L=w.bind(n.toString),q=w.bind(h),K=j.bind(h);if("object"==typeof document&&document&&document.documentElement)try{q(document.documentElement.childNodes)}catch(Qe){var Q=q,V=K;q=function t(e){for(var r=[],n=e.length;n-- >0;)r[n]=e[n];return V(r,Q(arguments,1))},K=function t(e,r){return V(q(e),r)}}var tt=w.bind(f.slice),et=w.bind(f.split),rt=w.bind(f.indexOf),nt=w.bind(d),ot=w.bind(n.propertyIsEnumerable),it=w.bind(e.sort),at=t.isArray||function t(e){return"[object Array]"===L(e)},ct=1!==[].unshift(0);J(e,{unshift:function(){return b.apply(this,arguments),this.length}},ct),J(t,{isArray:at});var ut=r("a"),lt="a"!==ut[0]||!(0 in ut),ft=function t(e){var r=!0,n=!0,o=!1;if(e)try{e.call("foo",(function(t,e,n){"object"!=typeof n&&(r=!1)})),e.call([1],(function(){"use strict";n="string"==typeof this}),"x")}catch(Qe){o=!0}return!!e&&!o&&r&&n};
47J(e,{forEach:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=-1,i=B.ToUint32(n.length),a;if(arguments.length>1&&(a=arguments[1]),!x(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++o<i;)o in n&&("undefined"==typeof a?e(n[o],o,r):e.call(a,n[o],o,r))}},!ft(e.forEach)),J(e,{map:function e(r){var n=B.ToObject(this),o=lt&&$(this)?et(this,""):n,i=B.ToUint32(o.length),a=t(i),c;if(arguments.length>1&&(c=arguments[1]),!x(r))throw new TypeError("Array.prototype.map callback must be a function");for(var u=0;u<i;u++)u in o&&(a[u]="undefined"==typeof c?r(o[u],u,n):r.call(c,o[u],u,n));return a}},!ft(e.map)),J(e,{filter:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i=[],a,c;if(arguments.length>1&&(c=arguments[1]),!x(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var u=0;u<o;u++)u in n&&(a=n[u],("undefined"==typeof c?e(a,u,r):e.call(c,a,u,r))&&nt(i,a));return i}},!ft(e.filter)),J(e,{every:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i;if(arguments.length>1&&(i=arguments[1]),!x(e))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;a<o;a++)if(a in n&&!("undefined"==typeof i?e(n[a],a,r):e.call(i,n[a],a,r)))return!1;return!0}},!ft(e.every)),J(e,{some:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i;if(arguments.length>1&&(i=arguments[1]),!x(e))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;a<o;a++)if(a in n&&("undefined"==typeof i?e(n[a],a,r):e.call(i,n[a],a,r)))return!0;return!1}},!ft(e.some));var st=!1;e.reduce&&(st="object"==typeof e.reduce.call("es5",(function(t,e,r,n){return n}))),J(e,{reduce:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length);if(!x(e))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===o&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var i=0,a;if(arguments.length>=2)a=arguments[1];else for(;;){if(i in n){a=n[i++];break}if(++i>=o)throw new TypeError("reduce of empty array with no initial value")}for(;i<o;i++)i in n&&(a=e(a,n[i],i,r));return a}},!st);var pt=!1;e.reduceRight&&(pt="object"==typeof e.reduceRight.call("es5",(function(t,e,r,n){return n}))),J(e,{reduceRight:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i;if(!x(e))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===o&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var a=o-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(a in n){i=n[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(a<0)return i;do{a in n&&(i=e(i,n[a],a,r))}while(a--);return i}},!pt);var ht=e.indexOf&&-1!==[0,1].indexOf(1,2);J(e,{indexOf:function t(e){var r=lt&&$(this)?et(this,""):B.ToObject(this),n=B.ToUint32(r.length);if(0===n)return-1;var o=0;for(arguments.length>1&&(o=B.ToInteger(arguments[1])),o=o>
47=0?o:O(0,n+o);o<n;o++)if(o in r&&r[o]===e)return o;return-1}},ht);var yt=e.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);J(e,{lastIndexOf:function t(e){var r=lt&&$(this)?et(this,""):B.ToObject(this),n=B.ToUint32(r.length);if(0===n)return-1;var o=n-1;for(arguments.length>1&&(o=m(o,B.ToInteger(arguments[1]))),o=o>=0?o:n-Math.abs(o);o>=0;o--)if(o in r&&e===r[o])return o;return-1}},yt);var dt=(gt=(bt=[1,2]).splice(),2===bt.length&&at(gt)&&0===gt.length),bt,gt;J(e,{splice:function t(e,r){return 0===arguments.length?[]:y.apply(this,arguments)}},!dt);var vt=(wt={},e.splice.call(wt,0,0,1),1===wt.length),wt;J(e,{splice:function t(e,r){if(0===arguments.length)return[];var n=arguments;return this.length=O(B.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof r&&((n=q(arguments)).length<2?nt(n,this.length-e):n[1]=B.ToInteger(r)),y.apply(this,n)}},!vt);var jt=((Ot=new t(1e5))[8]="x",Ot.splice(1,1),7===Ot.indexOf("x")),Ot,mt=function(){var t=256,e=[];return e[t]="a",e.splice(257,0,"b"),"a"===e[t]}();J(e,{splice:function t(e,r){for(var n=B.ToObject(this),o=[],i=B.ToUint32(n.length),a=B.ToInteger(e),c=a<0?O(i+a,0):m(a,i),u=m(O(B.ToInteger(r),0),i-c),f=0,s;f<u;)s=l(c+f),X(n,s)&&(o[f]=n[s]),f+=1;var p=q(arguments,2),h=p.length,y;if(h<u){f=c;for(var d=i-u;f<d;)s=l(f+u),y=l(f+h),X(n,s)?n[y]=n[s]:delete n[y],f+=1;f=i;for(var b=i-u+h;f>b;)delete n[f-1],f-=1}else if(h>u)for(f=i-u;f>c;)s=l(f+u-1),y=l(f+h-1),X(n,s)?n[y]=n[s]:delete n[y],f-=1;f=c;for(var g=0;g<p.length;++g)n[f]=p[g],f+=1;return n.length=i-u+h,o}},!jt||!mt);var Tt=e.join,Et;try{Et="1,2,3"!==Array.prototype.join.call("123",",")}catch(Qe){Et=!0}Et&&J(e,{join:function t(e){var r="undefined"==typeof e?",":e;return Tt.call($(this)?et(this,""):this,r)}},Et);var xt="1,2"!==[1,2].join(void 0);xt&&J(e,{join:function t(e){var r="undefined"==typeof e?",":e;return Tt.call(this,r)}},xt);var St=function t(e){for(var r=B.ToObject(this),n=B.ToUint32(r.length),o=0;o<arguments.length;)r[n+o]=arguments[o],o+=1;return r.length=n+o,n+o},_t=function(){var t={},e;return 1!==Array.prototype.push.call(t,void 0)||1!==t.length||"undefined"!=typeof t[0]||!X(t,0)}();J(e,{push:function t(e){return at(this)?d.apply(this,arguments):St.apply(this,arguments)}},_t);var Pt=function(){var t=[],e;return 1!==t.push(void 0)||1!==t.length||"undefined"!=typeof t[0]||!X(t,0)}();J(e,{push:St},Pt),J(e,{slice:function(t,e){var r=$(this)?et(this,""):this;return K(r,arguments)}},lt);var Mt=function(){try{[1,2].sort(null)}catch(Qe){try{[1,2].sort({})}catch(t){return!1}}return!0}(),It=function(){try{return[1,2].sort(/a/),!1}catch(Qe){}return!0}(),Dt=function(){try{return[1,2].sort(void 0),!0}catch(Qe){}return!1}();J(e,{sort:function t(e){if("undefined"==typeof e)return it(this);if(!x(e))throw new TypeError("Array.prototype.sort callback must be a function");return it(this,e)}},Mt||!Dt||!It);var Ft=!ot({toString:null},"toString"),kt=ot((function(){}),"prototype"),Nt=!X("x","0"),Ut=function(t){var e=t.constructor;return e&&e.prototype===t},$t={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},Ct=function(){if("undefined"==typeof window)return!1;for(var t in window)try{!$t["$"+t]&&X(window,t)&&null!==window[t]&&"object"==typeof window[t]&&Ut(window[t])}catch(Qe){return!0}return!1}(),At=function(t){if("undefined"==typeof window||!Ct)return Ut(t);try{return Ut(t)}catch(Qe){return!1}},Rt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],zt=Rt.length,Jt=function t(e){return"[object Arguments]"===L(e)},Gt=function t(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&!at(e)&&x(e.callee)},Zt=Jt(arguments)?Jt:Gt;J(r,{keys:function t(e){var r=x(e),n=Zt(e),o=null!==e&&"object"==typeof e,i=o&&$(e);if(!o&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var a=[],c=kt&&r;if(i&&Nt||n)for(var u=0;u<e.length;++u)nt(a,l(u));if(!n)for(var f in e)c&&"prototype"===f||!X(e,f)||nt(a,l(f));if(Ft)for(var s=At(e),p=0;p<zt;p++){var h=Rt[p];s&&"constructor"===h||!X(e,h)||nt(a,h)}return a}});var Yt=r.keys&&function(){return 2===r.keys(arguments).length}(1,2),Wt=r.keys&&function(){var t=r.keys(arguments);return 1!==arguments.length||1!==t.length||1!==t[0]}(1),Bt=r.keys;J(r,{keys:function t(e){return Zt(e)?Bt(q(e)):Bt(e)}},!Yt||Wt);var Ht=0!==new i(-0xc782b5b342b24).getUTCMonth(),Xt=new i(-0x55d318d56a724),Lt=new i(14496624e5),qt="Mon, 01 Jan -45875 11:59:59 GMT"!==Xt.toUTCString(),Kt,Qt,Vt=Xt.getTimezoneOffset();Vt<-720?(Kt="Tue Jan 02 -45875"!==Xt.toDateString(),Qt=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Lt))):(Kt="Mon Jan 01 -45875"!==Xt.toDateString(),Qt=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Lt)));var te=w.bind(i.prototype.getFullYear),ee=w.bind(i.prototype.getMonth),re=w.bind(i.prototype.getDate),ne=w.bind(i.prototype.getUTCFullYear),oe=w.bind(i.prototype.getUTCMonth),ie=w.bind(i.prototype.getUTCDate),ae=w.bind(i.prototype.getUTCDay),ce=w.bind(i.prototype.getUTCHours),ue=w.bind(i.prototype.getUTCMinutes),le=w.bind(i.prototype.getUTCSeconds),fe=w.bind(i.prototype.getUTCMilliseconds),se=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],pe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],he=function t(e,r){return re(new i(r,e,0))};J(i.prototype,{getFullYear:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=te(this);return e<0&&ee(this)>11?e+1:e},getMonth:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=te(this),r=ee(this);return e<0&&r>11?0:r},getDate:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=te(this),r=ee(this),n=re(this),o;return e<0&&r>11?12===r?n:he(0,e+1)-n+1:n},getUTCFullYear:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ne(this);return e<0&&oe(this)>11?e+1:e},getUTCMonth:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ne(this),r=oe(this);return e<0&&r>11?0:r},getUTCDate:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ne(this),r=oe(this),n=ie(this),o;return e<0&&r>11?12===r?n:he(0,e+1)-n+1:n}},Ht),J(i.prototype,{toUTCString:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ae(this),r=ie(this),n=oe(this),o=ne(this),a=ce(this),c=ue(this),u=le(this);return se[e]+", "+(r<10?"0"+r:r)+" "+pe[n]+" "+o+" "+(a<10?"0"+a:a)+":"+(c<10?"0"+c:c)+":"+(u<10?"0"+u:u)+" GMT"}},Ht||qt),J(i.prototype,{toDateString:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=this.getDay(),r=this.getDate(),n=this.getMonth(),o=this.getFullYear();return se[e]+" "+pe[n]+" "+(r<10?"0"+r:r)+" "+o}},Ht||Kt),(Ht||Qt)&&(i.prototype.toString=function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=this.getDay(),r=this.getDate(),n=this.getMonth(),o=this.getFullYear(),a=this.getHours(),c=this.getMinutes(),u=this.getSeconds(),l=this.getTimezoneOffset(),f=Math.floor(Math.abs(l)/60),s=Math.floor(Math.abs(l)%60);return se[e]+" "+pe[n]+" "+(r<10?"0"+r:r)+" "+o+" "+(a<10?"0"+a:a)+":"+(c<10?"0"+c:c)+":"+(u<10?"0"+u:u)+" GMT"+(l>0?"-":"+")+(f<10?"0"+f:f)+(s<10?"0"+s:s)},z&&r.defineProperty(i.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var ye=-621987552e5,de="-000001",be=i.prototype.toISOString&&-1===new i(ye).toISOString().indexOf(de),ge=i.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new i(-1).toISOString(),ve=w.bind(i.prototype.getTime);J(i.prototype,{toISOString:function t(){if(!isFinite(this)||!isFinite(ve(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=ne(this),r=oe(this);e+=Math.floor(r/12);var n=[(r=(r%12+12)%12)+1,ie(this),ce(this),ue(this),le(this)];e=(e<0?"-":e>9999?"+":"")+tt("00000"+Math.abs(e),0<=e&&e<=9999?-4:-6);for(var o=0;o<n.length;++o)n[o]=tt("00"+n[o],-2);return e+"-"+q(n,0,2).join("-")+"T"+q(n,2).join(":")+"."+tt("000"+fe(this),-3)+"Z"}},be||ge);var we=function(){try{return i.prototype.toJSON&&null===new i(NaN).toJSON()&&-1!==new i(ye).toJSON().indexOf(de)&&i.prototype.toJSON.call({toISOString:function(){return!0}})}catch(Qe){return!1}}();we||(i.prototype.toJSON=function t(e){var n=r(this),o=B.ToPrimitive(n);if("number"==typeof o&&!isFinite(o))return null;var i=n.toISOString;if(!x(i))throw new TypeError("toISOString property is not callable");return i.call(n)});var je=1e15===i.parse("+033658-09-27T01:46:40.000Z"),Oe=!isNaN(i.parse("2012-04-04T24:00:00.500Z"))||!isNaN(i.parse("2012-11-31T23:59:59.000Z"))||!isNaN(i.parse("2012-12-31T23:59:60.000Z")),me=isNaN(i.parse("2000-01-01T00:00:00.000Z"));if(me||Oe||!je){var Te=Math.pow(2,31)-1,Ee=W(new i(1970,0,1,0,0,0,Te+1).getTime());i=function(t){var e=function r(n,o,i,a,c,u,f){var s=arguments.length,p;if(this instanceof t){var h=u,y=f;if(Ee&&s>=7&&f>
47Te){var d=Math.floor(f/Te)*Te,b=Math.floor(d/1e3);h+=b,y-=1e3*b}p=1===s&&l(n)===n?new t(e.parse(n)):s>=7?new t(n,o,i,a,c,h,y):s>=6?new t(n,o,i,a,c,h):s>=5?new t(n,o,i,a,c):s>=4?new t(n,o,i,a):s>=3?new t(n,o,i):s>=2?new t(n,o):s>=1?new t(n instanceof t?+n:n):new t}else p=t.apply(this,arguments);return Y(p)||J(p,{constructor:e},!0),p},r=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),n=[0,31,59,90,120,151,181,212,243,273,304,334,365],o=function t(e,r){var o=r>1?1:0;return n[r]+Math.floor((e-1969+o)/4)-Math.floor((e-1901+o)/100)+Math.floor((e-1601+o)/400)+365*(e-1970)},i=function e(r){var n=0,o=r;if(Ee&&o>Te){var i=Math.floor(o/Te)*Te,a=Math.floor(i/1e3);n+=a,o-=1e3*a}return s(new t(1970,0,1,0,0,n,o))};for(var a in t)X(t,a)&&(e[a]=t[a]);J(e,{now:t.now,UTC:t.UTC},!0),e.prototype=t.prototype,J(e.prototype,{constructor:e},!0);var c=function e(n){var a=r.exec(n);if(a){var c=s(a[1]),u=s(a[2]||1)-1,l=s(a[3]||1)-1,f=s(a[4]||0),p=s(a[5]||0),h=s(a[6]||0),y=Math.floor(1e3*s(a[7]||0)),d=Boolean(a[4]&&!a[8]),b="-"===a[9]?1:-1,g=s(a[10]||0),v=s(a[11]||0),w,j=p>0||h>0||y>0;return f<(j?24:25)&&p<60&&h<60&&y<1e3&&u>-1&&u<12&&g<24&&v<60&&l>-1&&l<o(c,u+1)-o(c,u)&&(w=1e3*(60*((w=60*(24*(o(c,u)+l)+f+g*b))+p+v*b)+h)+y,d&&(w=i(w)),-864e13<=w&&w<=864e13)?w:NaN}return t.parse.apply(this,arguments)};return J(e,{parse:c}),e}(i)}i.now||(i.now=function t(){return(new i).getTime()});var xe=p.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),Se={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function t(e,r){for(var n=-1,o=r;++n<Se.size;)o+=e*Se.data[n],Se.data[n]=o%Se.base,o=Math.floor(o/Se.base)},divide:function t(e){for(var r=Se.size,n=0;--r>=0;)n+=Se.data[r],Se.data[r]=Math.floor(n/e),n=n%e*Se.base},numToString:function t(){for(var e=Se.size,r="";--e>=0;)if(""!==r||0===e||0!==Se.data[e]){var n=l(Se.data[e]);""===r?r=n:r+=tt("0000000",0,7-n.length)+n}return r},pow:function t(e,r,n){return 0===r?n:r%2==1?t(e,r-1,n*e):t(e*e,r/2,n)},log:function t(e){for(var r=0,n=e;n>=4096;)r+=12,n/=4096;for(;n>=2;)r+=1,n/=2;return r}},_e=function t(e){var r,n,o,i,a,c,u,f;if(r=s(e),(r=W(r)?0:Math.floor(r))<0||r>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=s(this),W(n))return"NaN";if(n<=-1e21||n>=1e21)return l(n);if(o="",n<0&&(o="-",n=-n),i="0",n>1e-21)if(c=(a=Se.log(n*Se.pow(2,69,1))-69)<0?n*Se.pow(2,-a,1):n/Se.pow(2,a,1),c*=4503599627370496,(a=52-a)>0){for(Se.multiply(0,c),u=r;u>=7;)Se.multiply(1e7,0),u-=7;for(Se.multiply(Se.pow(10,u,1),0),u=a-1;u>=23;)Se.divide(1<<23),u-=23;Se.divide(1<<u),Se.multiply(1,1),Se.divide(2),i=Se.numToString()}else Se.multiply(0,c),Se.multiply(1<<-a,0),i=Se.numToString()+tt("0.00000000000000000000",2,2+r);return i=r>0?(f=i.length)<=r?o+tt("0.0000000000000000000",0,r-f+2)+i:o+tt(i,0,f-r)+"."+tt(i,f-r):o+i};J(p,{toFixed:_e},xe);var Pe=function(){try{return"1"===1..toPrecision(void 0)}catch(Qe){return!0}}(),Me=p.toPrecision,Ie,De;J(p,{toPrecision:function t(e){return"undefined"==typeof e?Me.call(this):Me.call(this,e)}},Pe),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(Ie="undefined"==typeof/()??/.exec("")[1],De=Math.pow(2,32)-1,f.split=function(t,e){var r=String(this);if("undefined"==typeof t&&0===e)return[];if(!F(t))return et(this,t,e);var n=[],o=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),i=0,a,c,u,l,f=new RegExp(t.source,o+"g");Ie||(a=new RegExp("^"+f.source+"$(?!\\s)",o));var s="undefined"==typeof e?De:B.ToUint32(e);for(c=f.exec(r);c&&!((u=c.index+c[0].length)>i&&(nt(n,tt(r,i,c.index)),!Ie&&c.length>1&&c[0].replace(a,(function(){for(var t=1;t<arguments.length-2;t++)"undefined"==typeof arguments[t]&&(c[t]=void 0)})),c.length>1&&c.index<r.length&&d.apply(n,q(c,1)),l=c[0].length,i=u,n.length>=s));)f.lastIndex===c.index&&f.lastIndex++,c=f.exec(r);return i===r.length?!l&&f.test("")||nt(n,""):nt(n,tt(r,i)),n.length>s?q(n,0,s):n}
47):"0".split(void 0,0).length&&(f.split=function t(e,r){return"undefined"==typeof e&&0===r?[]:et(this,e,r)});var Fe=f.replace,ke=(Ne=[],"x".replace(/x(.)?/g,(function(t,e){nt(Ne,e)})),1===Ne.length&&"undefined"==typeof Ne[0]),Ne;ke||(f.replace=function t(e,r){var n=x(r),o=F(e)&&/\)[*?]/.test(e.source);if(n&&o){var i=function(t){var n=arguments.length,o=e.lastIndex;e.lastIndex=0;var i=e.exec(t)||[];return e.lastIndex=o,nt(i,arguments[n-2],arguments[n-1]),r.apply(this,i)};return Fe.call(this,e,i)}return Fe.call(this,e,r)});var Ue=f.substr,$e="".substr&&"b"!=="0b".substr(-1);J(f,{substr:function t(e,r){var n=e;return e<0&&(n=O(this.length+e,0)),Ue.call(this,n,r)}},$e);var Ce="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff",Ae="â",Re="["+Ce+"]",ze=new RegExp("^"+Re+Re+"*"),Je=new RegExp(Re+Re+"*$"),Ge=f.trim&&(Ce.trim()||!Ae.trim());J(f,{trim:function t(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(ze,"").replace(Je,"")}},Ge);var Ze=w.bind(String.prototype.trim),Ye=f.lastIndexOf&&-1!=="abcãã".lastIndexOf("ãã",2);J(f,{lastIndexOf:function t(e){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var r=l(this),n=l(e),o=arguments.length>1?s(arguments[1]):NaN,i=W(o)?1/0:B.ToInteger(o),a=m(O(i,0),r.length),c=n.length,u=a+c;u>0;){u=O(0,u-c);var f=rt(tt(r,u,a+c),n);if(-1!==f)return u+f}return-1}},Ye);var We=f.lastIndexOf,Be,He,Xe;if(J(f,{lastIndexOf:function t(e){return We.apply(this,arguments)}},1!==f.lastIndexOf.length),8===a(Ce+"08")&&22===a(Ce+"0x16")||(Be=a,He=/^[-+]?0[xX]/,a=function t(e,r){var n=Ze(String(e)),o=s(r)||(He.test(n)?16:10);return Be(n,o)}),1/c("-0")!=-1/0&&(Xe=c,c=function t(e){var r=Ze(String(e)),n=Xe(r);return 0===n&&"-"===tt(r,0,1)?-0:n}),"RangeError: test"!==String(new RangeError("test"))){var Le=function t(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;"undefined"==typeof e?e="Error":"string"!=typeof e&&(e=l(e));var r=this.message;return"undefined"==typeof r?r="":"string"!=typeof r&&(r=l(r)),e?r?e+": "+r:e:r};Error.prototype.toString=Le}if(z){var qe=function(t,e){if(ot(t,e)){var r=Object.getOwnPropertyDescriptor(t,e);r.configurable&&(r.enumerable=!1,Object.defineProperty(t,e,r))}};qe(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),qe(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var Ke=function t(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=Ke}}))},
47"es5-sham.js":function t(e,r,t){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(n):"object"==typeof r?t.exports=n():e.returnExports=n()}(this,(function(){var t=Function.call,e=Object.prototype,r=t.bind(e.hasOwnProperty),n=t.bind(e.propertyIsEnumerable),o=t.bind(e.toString),i,a,c,u,l=r(e,"__defineGetter__");l&&(i=t.bind(e.__defineGetter__),a=t.bind(e.__defineSetter__),c=t.bind(e.__lookupGetter__),u=t.bind(e.__lookupSetter__));var f=function t(e){return null==e||"object"!=typeof e&&"function"!=typeof e};Object.getPrototypeOf||(Object.getPrototypeOf=function t(r){var n=r.__proto__;return n||null===n?n:"[object Function]"===o(r.constructor)?r.constructor.prototype:r instanceof Object?e:null});var s=function t(e){try{return e.sentinel=0,0===Object.getOwnPropertyDescriptor(e,"sentinel").value}catch(r){return!1}};if(Object.defineProperty){var p=s({}),h;if(!("undefined"==typeof document||s(document.createElement("div")))||!p)var y=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||y){var d="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function t(o,i){if(f(o))throw new TypeError(d+o);if(y)try{return y.call(Object,o,i)}catch(g){}var a;if(!r(o,i))return a;if(a={enumerable:n(o,i),configurable:!0},l){var s=o.__proto__,p=o!==e;p&&(o.__proto__=e);var h=c(o,i),b=u(o,i);if(p&&(o.__proto__=s),h||b)return h&&(a.get=h),b&&(a.set=b),a}return a.value=o[i],a.writable=!0,a}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function t(e){return Object.keys(e)}),!Object.create){var b,g,v=function t(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(e){return!1}},w=function t(){var e,r,n="script";
47return(r=new ActiveXObject("htmlfile")).write("<script><\/script>"),r.close(),e=r.parentWindow.Object.prototype,r=null,e},j=function t(){var e=document.createElement("iframe"),r=document.body||document.documentElement,n;return e.style.display="none",r.appendChild(e),e.src="javascript:",n=e.contentWindow.Object.prototype,r.removeChild(e),e=null,n};b=!({__proto__:null}instanceof Object)||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var t=v()?w():j();delete t.constructor,delete t.hasOwnProperty,delete t.propertyIsEnumerable,delete t.isPrototypeOf,delete t.toLocaleString,delete t.toString,delete t.valueOf;var e=function t(){};return e.prototype=t,b=function(){return new e},new e},Object.create=function t(e,r){var n,o=function t(){};if(null===e)n=b();else{if(null!==e&&f(e))throw new TypeError("Object prototype may only be an Object or null");o.prototype=e,(n=new o).__proto__=e}return void 0!==r&&Object.defineProperties(n,r),n}}var O=function t(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(r){return!1}},m;if(Object.defineProperty){var T=O({}),E="undefined"==typeof document||O(document.createElement("div"));if(!T||!E)var x=Object.defineProperty,S=Object.defineProperties}if(!Object.defineProperty||x){var _="Property description must be an object: ",P="Object.defineProperty called on non-object: ",M="getters & setters can not be defined on this javascript engine";Object.defineProperty=function t(r,n,o){if(f(r))throw new TypeError(P+r);if(f(o))throw new TypeError(_+o);if(x)try{return x.call(Object,r,n,o)}catch(y){}if("value"in o)if(l&&(c(r,n)||u(r,n))){var s=r.__proto__;r.__proto__=e,delete r[n],r[n]=o.value,r.__proto__=s}else r[n]=o.value;else{var p="get"in o,h="set"in o;if(!l&&(p||h))throw new TypeError(M);p&&i(r,n,o.get),h&&a(r,n,o.set)}return r}}Object.defineProperties&&!S||(Object.defineProperties=function t(e,r){if(S)try{return S.call(Object,e,r)}catch(n){}return Object.keys(r).forEach((function(t){"__proto__"!==t&&Object.defineProperty(e,t,r[t])})),e}),Object.seal||(Object.seal=function t(e){if(Object(e)!==e)throw new TypeError("Object.seal can only be called on Objects.");return e}),Object.freeze||(Object.freeze=function t(e){if(Object(e)!==e)throw new TypeError("Object.freeze can only be called on Objects.");return e});try{Object.freeze((function(){}))}catch(I){Object.freeze=(m=Object.freeze,function t(e){return"function"==typeof e?e:m(e)})}Object.preventExtensions||(Object.preventExtensions=function t(e){if(Object(e)!==e)throw new TypeError("Object.preventExtensions can only be called on Objects.");return e}),Object.isSealed||(Object.isSealed=function t(e){if(Object(e)!==e)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function t(e){if(Object(e)!==e)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function t(e){if(Object(e)!==e)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var n="";r(e,n);)n+="?";e[n]=!0;var o=r(e,n);return delete e[n],o})}))}}}}}}},{extensions:[".js",".json"]}),f=l("/node_modules/meteor/es5-shim/client.js");Package._define("es5-shim",f)}(); 48 49!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,s=Package.promise.Promise,o,a,l,c=r({node_modules:{meteor:{"ecmascript-runtime-client":{
49"modern.js":function t(e){try{e("core-js/modules/es.object.get-own-property-descriptors")}catch(n){throw new Error(["The core-js npm package could not be found in your node_modules ","directory. Please run the following command to install it:",""," meteor npm install --save core-js",""].join("\n"))}e("core-js/modules/es.object.is"),e("core-js/modules/es.function.name"),e("core-js/modules/es.number.is-finite"),e("core-js/modules/es.number.is-nan"),e("core-js/modules/es.array.flat"),e("core-js/modules/es.array.flat-map"),e("core-js/modules/es.object.from-entries"),e("core-js/modules/es.string.pad-start"),e("core-js/modules/es.string.pad-end"),e("core-js/modules/es.string.trim-start"),e("core-js/modules/es.string.trim-end"),e("core-js/modules/es.symbol.async-iterator")},
49"legacy.js":function t(n,r,t){try{o=r.Symbol=n("core-js/es/symbol"),a=r.Map=n("core-js/es/map"),l=r.Set=n("core-js/es/set")}catch(i){throw new Error(["The core-js npm package could not be found in your node_modules ","directory. Please run the following command to install it:",""," meteor npm install --save core-js",""].join("\n"))}n("core-js/es/array"),n("core-js/es/function"),n("core-js/es/math"),n("core-js/es/object"),n("core-js/es/regexp"),n("core-js/es/string"),n("core-js/es/weak-map"),n("core-js/es/weak-set"),"undefined"==typeof Reflect&&(e.Reflect=void 0),n("core-js/modules/es.number.epsilon"),n("core-js/modules/es.number.is-finite"),n("core-js/modules/es.number.is-integer"),n("core-js/modules/es.number.is-nan"),n("core-js/modules/es.number.is-safe-integer"),n("core-js/modules/es.number.max-safe-integer"),n("core-js/modules/es.number.min-safe-integer"),n("core-js/modules/es.number.parse-float"),n("core-js/modules/es.number.parse-int"),n("core-js/modules/es.typed-array.uint8-array"),n("core-js/modules/es.typed-array.uint32-array"),n("./modern.js")},node_modules:{"core-js":{es:{symbol:{
49"index.js":function t(e,n,t){e("../../modules/es.array.concat"),e("../../modules/es.object.to-string"),e("../../modules/es.symbol"),e("../../modules/es.symbol.async-iterator"),e("../../modules/es.symbol.description"),e("../../modules/es.symbol.has-instance"),e("../../modules/es.symbol.is-concat-spreadable"),e("../../modules/es.symbol.iterator"),e("../../modules/es.symbol.match"),e("../../modules/es.symbol.match-all"),e("../../modules/es.symbol.replace"),e("../../modules/es.symbol.search"),e("../../modules/es.symbol.species"),e("../../modules/es.symbol.split"),e("../../modules/es.symbol.to-primitive"),e("../../modules/es.symbol.to-string-tag"),e("../../modules/es.symbol.unscopables"),e("../../modules/es.json.to-string-tag"),e("../../modules/es.math.to-string-tag"),e("../../modules/es.reflect.to-string-tag");var r=e("../../internals/path");t.exports=r.Symbol}},map:{
49"index.js":function t(e,n,t){e("../../modules/es.map"),e("../../modules/es.object.to-string"),e("../../modules/es.string.iterator"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.Map}},set:{
49"index.js":function t(e,n,t){e("../../modules/es.set"),e("../../modules/es.object.to-string"),e("../../modules/es.string.iterator"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.Set}},array:{
49"index.js":function t(e,n,t){e("../../modules/es.string.iterator"),e("../../modules/es.array.from"),e("../../modules/es.array.is-array"),e("../../modules/es.array.of"),e("../../modules/es.array.concat"),e("../../modules/es.array.copy-within"),e("../../modules/es.array.every"),e("../../modules/es.array.fill"),e("../../modules/es.array.filter"),e("../../modules/es.array.find"),e("../../modules/es.array.find-index"),e("../../modules/es.array.flat"),e("../../modules/es.array.flat-map"),e("../../modules/es.array.for-each"),e("../../modules/es.array.includes"),e("../../modules/es.array.index-of"),e("../../modules/es.array.iterator"),e("../../modules/es.array.join"),e("../../modules/es.array.last-index-of"),e("../../modules/es.array.map"),e("../../modules/es.array.reduce"),e("../../modules/es.array.reduce-right"),e("../../modules/es.array.reverse"),e("../../modules/es.array.slice"),e("../../modules/es.array.some"),e("../../modules/es.array.sort"),e("../../modules/es.array.species"),e("../../modules/es.array.splice"),e("../../modules/es.array.unscopables.flat"),e("../../modules/es.array.unscopables.flat-map");var r=e("../../internals/path");t.exports=r.Array}},function:{
49"index.js":function t(e,n,t){e("../../modules/es.function.bind"),e("../../modules/es.function.name"),e("../../modules/es.function.has-instance");var r=e("../../internals/path");t.exports=r.Function}},math:{
49"index.js":function t(e,n,t){e("../../modules/es.math.acosh"),e("../../modules/es.math.asinh"),e("../../modules/es.math.atanh"),e("../../modules/es.math.cbrt"),e("../../modules/es.math.clz32"),e("../../modules/es.math.cosh"),e("../../modules/es.math.expm1"),e("../../modules/es.math.fround"),e("../../modules/es.math.hypot"),e("../../modules/es.math.imul"),e("../../modules/es.math.log10"),e("../../modules/es.math.log1p"),e("../../modules/es.math.log2"),e("../../modules/es.math.sign"),e("../../modules/es.math.sinh"),e("../../modules/es.math.tanh"),e("../../modules/es.math.to-string-tag"),e("../../modules/es.math.trunc");var r=e("../../internals/path");t.exports=r.Math}},object:{
49"index.js":function t(e,n,t){e("../../modules/es.symbol"),e("../../modules/es.object.assign"),e("../../modules/es.object.create"),e("../../modules/es.object.define-property"),e("../../modules/es.object.define-properties"),e("../../modules/es.object.entries"),e("../../modules/es.object.freeze"),e("../../modules/es.object.from-entries"),e("../../modules/es.object.get-own-property-descriptor"),e("../../modules/es.object.get-own-property-descriptors"),e("../../modules/es.object.get-own-property-names"),e("../../modules/es.object.get-prototype-of"),e("../../modules/es.object.is"),e("../../modules/es.object.is-extensible"),e("../../modules/es.object.is-frozen"),e("../../modules/es.object.is-sealed"),e("../../modules/es.object.keys"),e("../../modules/es.object.prevent-extensions"),e("../../modules/es.object.seal"),e("../../modules/es.object.set-prototype-of"),e("../../modules/es.object.values"),e("../../modules/es.object.to-string"),e("../../modules/es.object.define-getter"),e("../../modules/es.object.define-setter"),e("../../modules/es.object.lookup-getter"),e("../../modules/es.object.lookup-setter"),e("../../modules/es.json.to-string-tag"),e("../../modules/es.math.to-string-tag"),e("../../modules/es.reflect.to-string-tag");var r=e("../../internals/path");t.exports=r.Object}},regexp:{
49"index.js":function t(e){e("../../modules/es.regexp.constructor"),e("../../modules/es.regexp.to-string"),e("../../modules/es.regexp.dot-all"),e("../../modules/es.regexp.exec"),e("../../modules/es.regexp.flags"),e("../../modules/es.regexp.sticky"),e("../../modules/es.regexp.test"),e("../../modules/es.string.match"),e("../../modules/es.string.replace"),e("../../modules/es.string.search"),e("../../modules/es.string.split")}},string:{
49"index.js":function t(e,n,t){e("../../modules/es.regexp.exec"),e("../../modules/es.string.from-code-point"),e("../../modules/es.string.raw"),e("../../modules/es.string.code-point-at"),e("../../modules/es.string.ends-with"),e("../../modules/es.string.includes"),e("../../modules/es.string.match"),e("../../modules/es.string.match-all"),e("../../modules/es.string.pad-end"),e("../../modules/es.string.pad-start"),e("../../modules/es.string.repeat"),e("../../modules/es.string.replace"),e("../../modules/es.string.replace-all"),e("../../modules/es.string.search"),e("../../modules/es.string.split"),e("../../modules/es.string.starts-with"),e("../../modules/es.string.substr"),e("../../modules/es.string.trim"),e("../../modules/es.string.trim-start"),e("../../modules/es.string.trim-end"),e("../../modules/es.string.iterator"),e("../../modules/es.string.anchor"),e("../../modules/es.string.big"),e("../../modules/es.string.blink"),e("../../modules/es.string.bold"),e("../../modules/es.string.fixed"),e("../../modules/es.string.fontcolor"),e("../../modules/es.string.fontsize"),e("../../modules/es.string.italics"),e("../../modules/es.string.link"),e("../../modules/es.string.small"),e("../../modules/es.string.strike"),e("../../modules/es.string.sub"),e("../../modules/es.string.sup");var r=e("../../internals/path");t.exports=r.String}},"weak-map":{
49"index.js":function t(e,n,t){e("../../modules/es.object.to-string"),e("../../modules/es.weak-map"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.WeakMap}},"weak-set":{
49"index.js":function t(e,n,t){e("../../modules/es.object.to-string"),e("../../modules/es.weak-set"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.WeakSet}}},modules:{
vendor: 983 bytes, line 49
49"es.array.concat.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-array"),s=e("../internals/is-object"),o=e("../internals/to-object"),a=e("../internals/to-length"),l=e("../internals/create-property"),c=e("../internals/array-species-create"),u=e("../internals/array-method-has-species-support"),f=e("../internals/well-known-symbol"),p=e("../internals/engine-v8-version"),d=f("isConcatSpreadable"),g=9007199254740991,h="Maximum allowed index exceeded",y=p>=51||!r((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),b=u("concat"),v=function(t){if(!s(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)},m;n({target:"Array",proto:!0,forced:!y||!b},{concat:function t(e){var n=o(this),r=c(n,0),i=0,s,u,f,p,d;for(s=-1,f=arguments.length;s<f;s++)if(v(d=-1===s?n:arguments[s])){if(i+(p=a(d.length))>g)throw TypeError(h);for(u=0;u<p;u++,i++)u in d&&l(r,i,d[u])}else{if(i>=g)throw TypeError(h);l(r,i++,d)}return r.length=i,r}})},
49"es.object.to-string.js":function t(e){var n=e("../internals/to-string-tag-support"),r=e("../internals/redefine"),i=e("../internals/object-to-string");n||r(Object.prototype,"toString",i,{unsafe:!0})},
vendor: 4,707 bytes, line 49
49"es.symbol.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/global"),i=e("../internals/get-built-in"),s=e("../internals/is-pure"),o=e("../internals/descriptors"),a=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=e("../internals/fails"),u=e("../internals/has"),f=e("../internals/is-array"),p=e("../internals/is-object"),d=e("../internals/an-object"),g=e("../internals/to-object"),h=e("../internals/to-indexed-object"),y=e("../internals/to-primitive"),b=e("../internals/create-property-descriptor"),v=e("../internals/object-create"),m=e("../internals/object-keys"),j=e("../internals/object-get-own-property-names"),x=e("../internals/object-get-own-property-names-external"),w=e("../internals/object-get-own-property-symbols"),S=e("../internals/object-get-own-property-descriptor"),k=e("../internals/object-define-property"),E=e("../internals/object-property-is-enumerable"),O=e("../internals/create-non-enumerable-property"),A=e("../internals/redefine"),M=e("../internals/shared"),I=e("../internals/shared-key"),R=e("../internals/hidden-keys"),T=e("../internals/uid"),_=e("../internals/well-known-symbol"),P=e("../internals/well-known-symbol-wrapped"),N=e("../internals/define-well-known-symbol"),F=e("../internals/set-to-string-tag"),z=e("../internals/internal-state"),L=e("../internals/array-iteration").forEach,C=I("hidden"),D="Symbol",U="prototype",W=_("toPrimitive"),q=z.set,V=z.getterFor(D),B=Object.prototype,G=r.Symbol,$=i("JSON","stringify"),Y=S.f,K=k.f,H=x.f,X=E.f,J=M("symbols"),Q=M("op-symbols"),Z=M("string-to-symbol-registry"),tt=M("symbol-to-string-registry"),et=M("wks"),nt=r.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,it=o&&c((function(){return 7!=v(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(B,e);r&&delete B[e],K(t,e,n),r&&t!==B&&K(B,e,r)}:K,st=function(t,e){var n=J[t]=v(G.prototype);return q(n,{type:D,tag:t,description:e}),o||(n.description=e),n},ot=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof G},at=function t(e,n,r){e===B&&at(Q,n,r),d(e);var i=y(n,!0);return d(r),u(J,i)?(r.enumerable?(u(e,C)&&e[C][i]&&(e[C][i]=!1),r=v(r,{enumerable:b(0,!1)})):(u(e,C)||K(e,C,b(1,{})),e[C][i]=!0),it(e,i,r)):K(e,i,r)},lt=function t(e,n){d(e);var r=h(n),i=m(r).concat(dt(r));return L(i,(function(t){o&&!ut.call(r,t)||at(e,t,r[t])})),e},ct=function t(e,n){return void 0===n?v(e):lt(v(e),n)},ut=function t(e){var n=y(e,!0),r=X.call(this,n);return!(this===B&&u(J,n)&&!u(Q,n))&&(!(r||!u(this,n)||!u(J,n)||u(this,C)&&this[C][n])||r)},ft=function t(e,n){var r=h(e),i=y(n,!0);if(r!==B||!u(J,i)||u(Q,i)){var s=Y(r,i);return!s||!u(J,i)||u(r,C)&&r[C][i]||(s.enumerable=!0),s}},pt=function t(e){var n=H(h(e)),r=[];return L(n,(function(t){u(J,t)||u(R,t)||r.push(t)})),r},dt=function t(e){var n=e===B,r=H(n?Q:h(e)),i=[];return L(r,(function(t){!u(J,t)||n&&!u(B,t)||i.push(J[t])})),i},gt;(a||(G=function t(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,n=T(e),r=function(t){this===B&&r.call(Q,t),u(this,C)&&u(this[C],n)&&(this[C][n]=!1),it(this,n,b(1,t))};return o&&rt&&it(B,n,{configurable:!0,set:r}),st(n,e)},A(G.prototype,"toString",(function t(){return V(this).tag})),A(G,"withoutSetter",(function(t){return st(T(t),t)})),E.f=ut,k.f=at,S.f=ft,j.f=x.f=pt,w.f=dt,P.f=function(t){return st(_(t),t)},o&&(K(G.prototype,"description",{configurable:!0,get:function t(){return V(this).description}}),s||A(B,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:G}),L(m(et),(function(t){N(t)})),n({target:D,stat:!0,forced:!a},{for:function(t){var e=String(t);if(u(Z,e))return Z[e];var n=G(e);return Z[e]=n,tt[n]=e,n},keyFor:function t(e){if(!ot(e))throw TypeError(e+" is not a symbol");if(u(tt,e))return tt[e]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!a,sham:!o},{create:ct,defineProperty:at,defineProperties:lt,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),n({target:"Object",stat:!0,forced:c((function(){w.f(1)}))},{getOwnPropertySymbols:function t(e){return w.f(g(e))}}),$)&&n({target:"JSON",stat:!0,forced:!a||c((function(){var t=G();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))}))},{stringify:function t(e,n,r){for(var i=[e],s=1,o;arguments.length>s;)i.push(arguments[s++]);if(o=n,(p(n)||void 0!==e)&&!ot(e))return f(n)||(n=function(t,e){if("function"==typeof o&&(e=o.call(this,t,e)),!ot(e))return e}),i[1]=n,$.apply(null,i)}});G.prototype[W]||O(G.prototype,W,G.prototype.valueOf),F(G,D),R[C]=!0},
49"es.symbol.async-iterator.js":function t(e){var n;e("../internals/define-well-known-symbol")("asyncIterator")},
vendor: 918 bytes, line 49
49"es.symbol.description.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/global"),s=e("../internals/has"),o=e("../internals/is-object"),a=e("../internals/object-define-property").f,l=e("../internals/copy-constructor-properties"),c=i.Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var u={},f=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof f?new c(e):void 0===e?c():c(e);return""===e&&(u[n]=!0),n};l(f,c);var p=f.prototype=c.prototype;p.constructor=f;var d=p.toString,g="Symbol(test)"==String(c("test")),h=/^Symbol\((.*)\)[^)]+$/;a(p,"description",{configurable:!0,get:function t(){var e=o(this)?this.valueOf():this,n=d.call(e);if(s(u,e))return"";var r=g?n.slice(7,-1):n.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:f})}},
49"es.symbol.has-instance.js":function t(e){var n;e("../internals/define-well-known-symbol")("hasInstance")},
49"es.symbol.is-concat-spreadable.js":function t(e){var n;e("../internals/define-well-known-symbol")("isConcatSpreadable")},
49"es.symbol.iterator.js":function t(e){var n;e("../internals/define-well-known-symbol")("iterator")},
49"es.symbol.match.js":function t(e){var n;e("../internals/define-well-known-symbol")("match")},
49"es.symbol.match-all.js":function t(e){var n;e("../internals/define-well-known-symbol")("matchAll")},
49"es.symbol.replace.js":function t(e){var n;e("../internals/define-well-known-symbol")("replace")},
49"es.symbol.search.js":function t(e){var n;e("../internals/define-well-known-symbol")("search")},
49"es.symbol.species.js":function t(e){var n;e("../internals/define-well-known-symbol")("species")},
49"es.symbol.split.js":function t(e){var n;e("../internals/define-well-known-symbol")("split")},
49"es.symbol.to-primitive.js":function t(e){var n;e("../internals/define-well-known-symbol")("toPrimitive")},
49"es.symbol.to-string-tag.js":function t(e){var n;e("../internals/define-well-known-symbol")("toStringTag")},
49"es.symbol.unscopables.js":function t(e){var n;e("../internals/define-well-known-symbol")("unscopables")},
49"es.json.to-string-tag.js":function t(e){var n=e("../internals/global"),r;e("../internals/set-to-string-tag")(n.JSON,"JSON",!0)},
49"es.math.to-string-tag.js":function t(e){var n;e("../internals/set-to-string-tag")(Math,"Math",!0)},
49"es.reflect.to-string-tag.js":function t(e){var n=e("../internals/export"),r=e("../internals/global"),i=e("../internals/set-to-string-tag");n({global:!0},{Reflect:{}}),i(r.Reflect,"Reflect",!0)},
49"es.map.js":function t(e,n,t){"use strict";var r=e("../internals/collection"),i=e("../internals/collection-strong");t.exports=r("Map",(function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},
49"es.string.iterator.js":function t(e){"use strict";var n=e("../internals/string-multibyte").charAt,r=e("../internals/internal-state"),i=e("../internals/define-iterator"),s="String Iterator",o=r.set,a=r.getterFor(s);i(String,"String",(function(t){o(this,{type:s,string:String(t),index:0})}),(function t(){var e=a(this),r=e.string,i=e.index,s;return i>=r.length?{value:void 0,done:!0}:(s=n(r,i),e.index+=s.length,{value:s,done:!1})}))},
vendor: 467 bytes, line 49
49"web.dom-collections.iterator.js":function t(e){var n=e("../internals/global"),r=e("../internals/dom-iterables"),i=e("../modules/es.array.iterator"),s=e("../internals/create-non-enumerable-property"),o=e("../internals/well-known-symbol"),a=o("iterator"),l=o("toStringTag"),c=i.values;for(var u in r){var f=n[u],p=f&&f.prototype;if(p){if(p[a]!==c)try{s(p,a,c)}catch(g){p[a]=c}if(p[l]||s(p,l,u),r[u])for(var d in i)if(p[d]!==i[d])try{s(p,d,i[d])}catch(g){p[d]=i[d]}}}},
vendor: 642 bytes, line 49
49"es.array.iterator.js":function t(e,n,t){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),s=e("../internals/iterators"),o=e("../internals/internal-state"),a=e("../internals/define-iterator"),l="Array Iterator",c=o.set,u=o.getterFor(l);t.exports=a(Array,"Array",(function(t,e){c(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},
49"es.set.js":function t(e,n,t){"use strict";var r=e("../internals/collection"),i=e("../internals/collection-strong");t.exports=r("Set",(function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},
49"es.array.from.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-from"),i,s;n({target:"Array",stat:!0,forced:!e("../internals/check-correctness-of-iteration")((function(t){Array.from(t)}))},{from:r})},
49"es.array.is-array.js":function t(e){var n,r;e("../internals/export")({target:"Array",stat:!0},{isArray:e("../internals/is-array")})},
49"es.array.of.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/create-property"),s;n({target:"Array",stat:!0,forced:r((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function t(){for(var e=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>e;)i(r,e,arguments[e++]);return r.length=n,r}})},
49"es.array.copy-within.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-copy-within"),i=e("../internals/add-to-unscopables");n({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},
49"es.array.every.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").every,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-is-strict")("every")},{every:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
49"es.array.fill.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-fill"),i=e("../internals/add-to-unscopables");n({target:"Array",proto:!0},{fill:r}),i("fill")},
49"es.array.filter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").filter,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-has-species-support")("filter")},{filter:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
vendor: 696 bytes, line 49
49"es.array.find.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").find,i=e("../internals/add-to-unscopables"),s="find",o=!0;s in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},"es.array.find-index.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").findIndex,i=e("../internals/add-to-unscopables"),s="findIndex",o=!0;s in[]&&Array(1).findIndex((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{findIndex:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},
49"es.array.flat.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/flatten-into-array"),i=e("../internals/to-object"),s=e("../internals/to-length"),o=e("../internals/to-integer"),a=e("../internals/array-species-create");n({target:"Array",proto:!0},{flat:function t(){var e=arguments.length?arguments[0]:void 0,n=i(this),l=s(n.length),c=a(n,0);return c.length=r(c,n,n,l,0,void 0===e?1:o(e)),c}})},
49"es.array.flat-map.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/flatten-into-array"),i=e("../internals/to-object"),s=e("../internals/to-length"),o=e("../internals/a-function"),a=e("../internals/array-species-create");n({target:"Array",proto:!0},{flatMap:function t(e){var n=i(this),l=s(n.length),c;return o(e),(c=a(n,0)).length=r(c,n,n,l,0,1,e,arguments.length>1?arguments[1]:void 0),c}})},
49"es.array.for-each.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-for-each");n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},
49"es.array.includes.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-includes").includes,i=e("../internals/add-to-unscopables");n({target:"Array",proto:!0},{includes:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},
49"es.array.index-of.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-includes").indexOf,i=e("../internals/array-method-is-strict"),s=[].indexOf,o=!!s&&1/[1].indexOf(1,-0)<0,a=i("indexOf");n({target:"Array",proto:!0,forced:o||!a},{indexOf:function t(e){return o?s.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:void 0)}})},
49"es.array.join.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/indexed-object"),i=e("../internals/to-indexed-object"),s=e("../internals/array-method-is-strict"),o=[].join,a=r!=Object,l=s("join",",");n({target:"Array",proto:!0,forced:a||!l},{join:function t(e){return o.call(i(this),void 0===e?",":e)}})},
49"es.array.last-index-of.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-last-index-of");n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},
49"es.array.map.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").map,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-has-species-support")("map")},{map:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
49"es.array.reduce.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-reduce").left,i=e("../internals/array-method-is-strict"),s=e("../internals/engine-v8-version"),o=e("../internals/engine-is-node"),a,l;n({target:"Array",proto:!0,forced:!i("reduce")||!o&&s>79&&s<83},{reduce:function t(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},
49"es.array.reduce-right.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-reduce").right,i=e("../internals/array-method-is-strict"),s=e("../internals/engine-v8-version"),o=e("../internals/engine-is-node"),a,l;n({target:"Array",proto:!0,forced:!i("reduceRight")||!o&&s>79&&s<83},{reduceRight:function t(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},
49"es.array.reverse.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/is-array"),i=[].reverse,s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function t(){return r(this)&&(this.length=this.length),i.call(this)}})},
vendor: 805 bytes, line 49
49"es.array.slice.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/is-object"),i=e("../internals/is-array"),s=e("../internals/to-absolute-index"),o=e("../internals/to-length"),a=e("../internals/to-indexed-object"),l=e("../internals/create-property"),c=e("../internals/well-known-symbol"),u,f=e("../internals/array-method-has-species-support")("slice"),p=c("species"),d=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!f},{slice:function t(e,n){var c=a(this),u=o(c.length),f=s(e,u),h=s(void 0===n?u:n,u),y,b,v;if(i(c)&&("function"!=typeof(y=c.constructor)||y!==Array&&!i(y.prototype)?r(y)&&null===(y=y[p])&&(y=void 0):y=void 0,y===Array||void 0===y))return d.call(c,f,h);for(b=new(void 0===y?Array:y)(g(h-f,0)),v=0;f<h;f++,v++)f in c&&l(b,v,c[f]);return b.length=v,b}})},
49"es.array.some.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").some,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-is-strict")("some")},{some:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
49"es.array.sort.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/a-function"),i=e("../internals/to-object"),s=e("../internals/to-length"),o=e("../internals/fails"),a=e("../internals/array-sort"),l=e("../internals/array-method-is-strict"),c=e("../internals/engine-ff-version"),u=e("../internals/engine-is-ie-or-edge"),f=e("../internals/engine-v8-version"),p=e("../internals/engine-webkit-version"),d=[],g=d.sort,h=o((function(){d.sort(void 0)})),y=o((function(){d.sort(null)})),b=l("sort"),v=!o((function(){if(f)return f<70;if(!(c&&c>3)){if(u)return!0;if(p)return p<603;var t="",e,n,r,i;for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(i=0;i<47;i++)d.push({k:n+i,v:r})}for(d.sort((function(t,e){return e.v-t.v})),i=0;i<d.length;i++)n=d[i].k.charAt(0),t.charAt(t.length-1)!==n&&(t+=n);return"DGBEFHACIJK"!==t}})),m,j=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:String(e)>String(n)?1:-1}};n({target:"Array",proto:!0,forced:h||!y||!b||!v},{sort:function t(e){void 0!==e&&r(e);var n=i(this);if(v)return void 0===e?g.call(n):g.call(n,e);var o=[],l=s(n.length),c,u;for(u=0;
49u<l;u++)u in n&&o.push(n[u]);for(c=(o=a(o,j(e))).length,u=0;u<c;)n[u]=o[u++];for(;u<l;)delete n[u++];return n}})},
49"es.array.species.js":function t(e){var n;e("../internals/set-species")("Array")},
vendor: 945 bytes, line 49
49"es.array.splice.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/to-absolute-index"),i=e("../internals/to-integer"),s=e("../internals/to-length"),o=e("../internals/to-object"),a=e("../internals/array-species-create"),l=e("../internals/create-property"),c,u=e("../internals/array-method-has-species-support")("splice"),f=Math.max,p=Math.min,d=9007199254740991,g="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!u},{splice:function t(e,n){var c=o(this),u=s(c.length),h=r(e,u),y=arguments.length,b,v,m,j,x,w;if(0===y?b=v=0:1===y?(b=0,v=u-h):(b=y-2,v=p(f(i(n),0),u-h)),u+b-v>d)throw TypeError(g);for(m=a(c,v),j=0;j<v;j++)(x=h+j)in c&&l(m,j,c[x]);if(m.length=v,b<v){for(j=h;j<u-v;j++)w=j+b,(x=j+v)in c?c[w]=c[x]:delete c[w];for(j=u;j>u-v+b;j--)delete c[j-1]}else if(b>v)for(j=u-v;j>h;j--)w=j+b-1,(x=j+v-1)in c?c[w]=c[x]:delete c[w];for(j=0;j<b;j++)c[j+h]=arguments[j+2];return c.length=u-v+b,m}})},
49"es.array.unscopables.flat.js":function t(e,n,t){var r;e("../internals/add-to-unscopables")("flat")},
49"es.array.unscopables.flat-map.js":function t(e,n,t){var r;e("../internals/add-to-unscopables")("flatMap")},
49"es.function.bind.js":function t(e){var n,r;e("../internals/export")({target:"Function",proto:!0},{bind:e("../internals/function-bind")})},
49"es.function.name.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/object-define-property").f,i=Function.prototype,s=i.toString,o=/^\s*function ([^ (]*)/,a="name";n&&!(a in i)&&r(i,a,{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(t){return""}}})},
vendor: 436 bytes, line 49
49"es.function.has-instance.js":function t(e){"use strict";var n=e("../internals/is-object"),r=e("../internals/object-define-property"),i=e("../internals/object-get-prototype-of"),s,o=e("../internals/well-known-symbol")("hasInstance"),a=Function.prototype;o in a||r.f(a,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},
49"es.math.acosh.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-log1p"),i=Math.acosh,s=Math.log,o=Math.sqrt,a=Math.LN2,l;n({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function t(e){return(e=+e)<1?NaN:e>94906265.62425156?s(e)+a:r(e-1+o(e-1)*o(e+1))}})},
49"es.math.asinh.js":function t(e){var n=e("../internals/export"),r=Math.asinh,i=Math.log,s=Math.sqrt;function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):i(t+s(t*t+1)):t}n({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:o})},
49"es.math.atanh.js":function t(e){var n=e("../internals/export"),r=Math.atanh,i=Math.log;n({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function t(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},
49"es.math.cbrt.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-sign"),i=Math.abs,s=Math.pow;n({target:"Math",stat:!0},{cbrt:function t(e){return r(e=+e)*s(i(e),1/3)}})},
49"es.math.clz32.js":function t(e){var n=e("../internals/export"),r=Math.floor,i=Math.log,s=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function t(e){return(e>>>=0)?31-r(i(e+.5)*s):32}})},
49"es.math.cosh.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-expm1"),i=Math.cosh,s=Math.abs,o=Math.E;n({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function t(e){var n=r(s(e)-1)+1;return(n+1/(n*o*o))*(o/2)}})},
49"es.math.expm1.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-expm1");n({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},
49"es.math.fround.js":function t(e){var n,r;e("../internals/export")({target:"Math",stat:!0},{fround:e("../internals/math-fround")})},
49"es.math.hypot.js":function t(e){var n=e("../internals/export"),r=Math.hypot,i=Math.abs,s=Math.sqrt,o;n({target:"Math",stat:!0,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function t(e,n){for(var r=0,o=0,a=arguments.length,l=0,c,u;o<a;)l<(c=i(arguments[o++]))?(r=r*(u=l/c)*u+1,l=c):r+=c>0?(u=c/l)*u:c;return l===1/0?1/0:l*s(r)}})},
49"es.math.imul.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=Math.imul,s;n({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function t(e,n){var r=65535,i=+e,s=+n,o=r&i,a=r&s;return 0|o*a+((r&i>>>16)*a+o*(r&s>>>16)<<16>>>0)}})},
49"es.math.log10.js":function t(e){var n=e("../internals/export"),r=Math.log,i=Math.LOG10E;n({target:"Math",stat:!0},{log10:function t(e){return r(e)*i}})},
49"es.math.log1p.js":function t(e){var n,r;e("../internals/export")({target:"Math",stat:!0},{log1p:e("../internals/math-log1p")})},
49"es.math.log2.js":function t(e){var n=e("../internals/export"),r=Math.log,i=Math.LN2;n({target:"Math",stat:!0},{log2:function t(e){return r(e)/i}})},
49"es.math.sign.js":function t(e){var n,r;e("../internals/export")({target:"Math",stat:!0},{sign:e("../internals/math-sign")})},
49"es.math.sinh.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/math-expm1"),s=Math.abs,o=Math.exp,a=Math.E,l;n({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function t(e){return s(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(a/2)}})},
49"es.math.tanh.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-expm1"),i=Math.exp;n({target:"Math",stat:!0},{tanh:function t(e){var n=r(e=+e),s=r(-e);return n==1/0?1:s==1/0?-1:(n-s)/(i(e)+i(-e))}})},
49"es.math.trunc.js":function t(e){var n=e("../internals/export"),r=Math.ceil,i=Math.floor;n({target:"Math",stat:!0},{trunc:function t(e){return(e>0?i:r)(e)}})},
49"es.object.assign.js":function t(e){var n=e("../internals/export"),r=e("../internals/object-assign");n({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},
49"es.object.create.js":function t(e){var n,r,i;e("../internals/export")({target:"Object",stat:!0,sham:!e("../internals/descriptors")},{create:e("../internals/object-create")})},
49"es.object.define-property.js":function t(e){var n=e("../internals/export"),r=e("../internals/descriptors"),i;n({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:e("../internals/object-define-property").f})},
49"es.object.define-properties.js":function t(e){var n=e("../internals/export"),r=e("../internals/descriptors"),i;n({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:e("../internals/object-define-properties")})},
49"es.object.entries.js":function t(e){var n=e("../internals/export"),r=e("../internals/object-to-array").entries;n({target:"Object",stat:!0},{entries:function t(e){return r(e)}})},
49"es.object.freeze.js":function t(e){var n=e("../internals/export"),r=e("../internals/freezing"),i=e("../internals/fails"),s=e("../internals/is-object"),o=e("../internals/internal-metadata").onFreeze,a=Object.freeze,l;n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!r},{freeze:function t(e){return a&&s(e)?a(o(e)):e}})},
49"es.object.from-entries.js":function t(e){var n=e("../internals/export"),r=e("../internals/iterate"),i=e("../internals/create-property");n({target:"Object",stat:!0},{fromEntries:function t(e){var n={};return r(e,(function(t,e){i(n,t,e)}),{AS_ENTRIES:!0}),n}})},
49"es.object.get-own-property-descriptor.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/to-indexed-object"),s=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/descriptors"),a=r((function(){s(1)})),l;n({target:"Object",stat:!0,forced:!o||a,sham:!o},{getOwnPropertyDescriptor:function t(e,n){return s(i(e),n)}})},
49"es.object.get-own-property-descriptors.js":function t(e){var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/own-keys"),s=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-descriptor"),a=e("../internals/create-property");n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function t(e){for(var n=s(e),r=o.f,l=i(n),c={},u=0,f,p;l.length>u;)void 0!==(p=r(n,f=l[u++]))&&a(c,f,p);return c}})},
49"es.object.get-own-property-names.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/object-get-own-property-names-external").f,s;n({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},
49"es.object.get-prototype-of.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/to-object"),s=e("../internals/object-get-prototype-of"),o=e("../internals/correct-prototype-getter"),a;n({target:"Object",stat:!0,forced:r((function(){s(1)})),sham:!o},{getPrototypeOf:function t(e){return s(i(e))}})},
49"es.object.is.js":function t(e){var n,r;e("../internals/export")({target:"Object",stat:!0},{is:e("../internals/same-value")})},
49"es.object.is-extensible.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-object"),s=Object.isExtensible,o;n({target:"Object",stat:!0,forced:r((function(){s(1)}))},{isExtensible:function t(e){return!!i(e)&&(!s||s(e))}})},
49"es.object.is-frozen.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-object"),s=Object.isFrozen,o;n({target:"Object",stat:!0,forced:r((function(){s(1)}))},{isFrozen:function t(e){return!i(e)||!!s&&s(e)}})},
49"es.object.is-sealed.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-object"),s=Object.isSealed,o;n({target:"Object",stat:!0,forced:r((function(){s(1)}))},{isSealed:function t(e){return!i(e)||!!s&&s(e)}})},
49"es.object.keys.js":function t(e){var n=e("../internals/export"),r=e("../internals/to-object"),i=e("../internals/object-keys"),s,o;n({target:"Object",stat:!0,forced:e("../internals/fails")((function(){i(1)}))},{keys:function t(e){return i(r(e))}})},
49"es.object.prevent-extensions.js":function t(e){var n=e("../internals/export"),r=e("../internals/is-object"),i=e("../internals/internal-metadata").onFreeze,s=e("../internals/freezing"),o=e("../internals/fails"),a=Object.preventExtensions,l;n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{preventExtensions:function t(e){return a&&r(e)?a(i(e)):e}})},
49"es.object.seal.js":function t(e){var n=e("../internals/export"),r=e("../internals/is-object"),i=e("../internals/internal-metadata").onFreeze,s=e("../internals/freezing"),o=e("../internals/fails"),a=Object.seal,l;n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{seal:function t(e){return a&&r(e)?a(i(e)):e}})},
49"es.object.set-prototype-of.js":function t(e){var n,r;e("../internals/export")({target:"Object",stat:!0},{setPrototypeOf:e("../internals/object-set-prototype-of")})},
49"es.object.values.js":function t(e){var n=e("../internals/export"),r=e("../internals/object-to-array").values;n({target:"Object",stat:!0},{values:function t(e){return r(e)}})},
49"es.object.define-getter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/a-function"),a=e("../internals/object-define-property");r&&n({target:"Object",proto:!0,forced:i},{__defineGetter__:function t(e,n){a.f(s(this),e,{get:o(n),enumerable:!0,configurable:!0})}})},
49"es.object.define-setter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/a-function"),a=e("../internals/object-define-property");r&&n({target:"Object",proto:!0,forced:i},{__defineSetter__:function t(e,n){a.f(s(this),e,{set:o(n),enumerable:!0,configurable:!0})}})},
49"es.object.lookup-getter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/to-primitive"),a=e("../internals/object-get-prototype-of"),l=e("../internals/object-get-own-property-descriptor").f;r&&n({target:"Object",proto:!0,forced:i},{__lookupGetter__:function t(e){var n=s(this),r=o(e,!0),i;do{if(i=l(n,r))return i.get}while(n=a(n))}})},
49"es.object.lookup-setter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/to-primitive"),a=e("../internals/object-get-prototype-of"),l=e("../internals/object-get-own-property-descriptor").f;r&&n({target:"Object",proto:!0,forced:i},{__lookupSetter__:function t(e){var n=s(this),r=o(e,!0),i;do{if(i=l(n,r))return i.set}while(n=a(n))}})},
49"es.regexp.constructor.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/global"),i=e("../internals/is-forced"),s=e("../internals/inherit-if-required"),o=e("../internals/create-non-enumerable-property"),a=e("../internals/object-define-property").f,l=e("../internals/object-get-own-property-names").f,c=e("../internals/is-regexp"),u=e("../internals/regexp-flags"),f=e("../internals/regexp-sticky-helpers"),p=e("../internals/redefine"),d=e("../internals/fails"),g=e("../internals/has"),h=e("../internals/internal-state").enforce,y=e("../internals/set-species"),b=e("../internals/well-known-symbol"),v=e("../internals/regexp-unsupported-dot-all"),m=e("../internals/regexp-unsupported-ncg"),j=b("match"),x=r.RegExp,w=x.prototype,S=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,E=/a/g,O=new x(k)!==k,A=f.UNSUPPORTED_Y,M=n&&(!O||A||v||m||d((function(){return E[j]=!1,x(k)!=k||x(E)==E||"/a/i"!=x(k,"i")}))),I=function(t){for(var e=t.length,n=0,r="",i=!1,s;n<=e;n++)"\\"!==(s=t.charAt(n))?i||"."!==s?("["===s?i=!0:"]"===s&&(i=!1),r+=s):r+="[\\s\\S]":r+=s+t.charAt(++n);return r},R=function(t){for(var e=t.length,n=0,r="",i=[],s={},o=!1,a=!1,l=0,c="",u;n<=e;n++){if("\\"===(u=t.charAt(n)))u+=t.charAt(++n);else if("]"===u)o=!1;else if(!o)switch(!0){case"["===u:o=!0;break;case"("===u:S.test(t.slice(n+1))&&(n+=2,a=!0),r+=u,l++;continue;case">"===u&&a:if(""===c||g(s,c))throw new SyntaxError("Invalid capture group name");s[c]=!0,i.push([c,l]),a=!1,c="";continue}a?c+=u:r+=u}return[r,i]};if(i("RegExp",M)){for(var T=function t(e,n){var r=this instanceof T,i=c(e),a=void 0===n,l=[],f=e,p,d,g,y,b,j;if(!r&&i&&a&&e.constructor===T)return e;if((i||e instanceof T)&&(e=e.source,a&&(n="flags"in f?f.flags:u.call(f))),e=void 0===e?"":String(e),n=void 0===n?"":String(n),f=e,v&&"dotAll"in k&&(d=!!n&&n.indexOf("s")>-1)&&(n=n.replace(/s/g,"")),p=n,A&&"sticky"in k&&(g=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,"")),m&&(e=(y=R(e))[0],l=y[1]),b=s(x(e,n),r?this:w,T),(d||g||l.length)&&(j=h(b),d&&(j.dotAll=!0,j.raw=T(I(e),p)),g&&(j.sticky=!0),l.length&&(j.groups=l)),e!==f)try{o(b,"source",""===f?"(?:)":f)}catch(S){}return b},_=function(t){t in T||a(T,t,{configurable:!0,get:function(){return x[t]},set:function(e){x[t]=e}})},P=l(x),N=0;P.length>N;)_(P[N++]);w.constructor=T,T.prototype=w,p(r,"RegExp",T)}y("RegExp")},
49"es.regexp.to-string.js":function t(e){"use strict";var n=e("../internals/redefine"),r=e("../internals/an-object"),i=e("../internals/fails"),s=e("../internals/regexp-flags"),o="toString",a=RegExp.prototype,l=a.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u=l.name!=o;(c||u)&&n(RegExp.prototype,o,(function t(){var e=r(this),n=String(e.source),i=e.flags,o;return"/"+n+"/"+String(void 0===i&&e instanceof RegExp&&!("flags"in a)?s.call(e):i)}),{unsafe:!0})},
49"es.regexp.dot-all.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/regexp-unsupported-dot-all"),i=e("../internals/object-define-property").f,s=e("../internals/internal-state").get,o=RegExp.prototype;n&&r&&i(o,"dotAll",{configurable:!0,get:function(){if(this!==o){if(this instanceof RegExp)return!!s(this).dotAll;throw TypeError("Incompatible receiver, RegExp required")}}})},
49"es.regexp.exec.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/regexp-exec");n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},
49"es.regexp.flags.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/object-define-property"),i=e("../internals/regexp-flags"),s=e("../internals/fails"),o;n&&s((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},
49"es.regexp.sticky.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/regexp-sticky-helpers").UNSUPPORTED_Y,i=e("../internals/object-define-property").f,s=e("../internals/internal-state").get,o=RegExp.prototype;n&&r&&i(o,"sticky",{configurable:!0,get:function(){if(this!==o){if(this instanceof RegExp)return!!s(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},
49"es.regexp.test.js":function t(e){"use strict";e("../modules/es.regexp.exec");var n=e("../internals/export"),r=e("../internals/is-object"),i=(s=!1,(o=/[ac]/).exec=function(){return s=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&s),s,o,a=/./.test;n({target:"RegExp",proto:!0,forced:!i},{test:function(t){if("function"!=typeof this.exec)return a.call(this,t);var e=this.exec(t);if(null!==e&&!r(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}})},
49"es.string.match.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/an-object"),i=e("../internals/to-length"),s=e("../internals/require-object-coercible"),o=e("../internals/advance-string-index"),a=e("../internals/regexp-exec-abstract");n("match",(function(t,e,n){return[function e(n){var r=s(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(t){var s=n(e,this,t);if(s.done)return s.value;var l=r(this),c=String(t);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var f=[],p=0,d;null!==(d=a(l,c));){var g=String(d[0]);f[p]=g,""===g&&(l.lastIndex=o(c,i(l.lastIndex),u)),p++}return 0===p?null:f}]}))},
49"es.string.replace.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/fails"),i=e("../internals/an-object"),s=e("../internals/to-length"),o=e("../internals/to-integer"),a=e("../internals/require-object-coercible"),l=e("../internals/advance-string-index"),c=e("../internals/get-substitution"),u=e("../internals/regexp-exec-abstract"),f,p=e("../internals/well-known-symbol")("replace"),d=Math.max,g=Math.min,h=function(t){return void 0===t?t:String(t)},y="$0"==="a".replace(/./,"$0"),b=!!/./[p]&&""===/./[p]("a","$0"),v;n("replace",(function(t,e,n){var r=b?"$":"$0";return[function t(n,r){var i=a(this),s=null==n?void 0:n[p];return void 0!==s?s.call(n,i,r):e.call(String(i),n,r)},function(t,a){if("string"==typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var f=n(e,this,t,a);if(f.done)return f.value}var p=i(this),y=String(t),b="function"==typeof a;b||(a=String(a));var v=p.global;if(v){var m=p.unicode;p.lastIndex=0}for(var j=[];;){var x=u(p,y),w;if(null===x)break;if(j.push(x),!v)break;""===String(x[0])&&(p.lastIndex=l(y,s(p.lastIndex),m))}for(var S="",k=0,E=0;E<j.length;E++){x=j[E];for(var O=String(x[0]),A=d(g(o(x.index),y.length),0),M=[],I=1;I<x.length;I++)M.push(h(x[I]));var R=x.groups;if(b){var T=[O].concat(M,A,y);void 0!==R&&T.push(R);var _=String(a.apply(void 0,T))}else _=c(O,y,A,M,R,a);A>=k&&(S+=y.slice(k,A)+_,k=A+O.length)}return S+y.slice(k)}]}),!!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!y||b)},
49"es.string.search.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/an-object"),i=e("../internals/require-object-coercible"),s=e("../internals/same-value"),o=e("../internals/regexp-exec-abstract");n("search",(function(t,e,n){return[function e(n){var r=i(this),s=null==n?void 0:n[t];return void 0!==s?s.call(n,r):new RegExp(n)[t](String(r))},function(t){var i=n(e,this,t);if(i.done)return i.value;var a=r(this),l=String(t),c=a.lastIndex;s(c,0)||(a.lastIndex=0);var u=o(a,l);return s(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},
49"es.string.split.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/is-regexp"),i=e("../internals/an-object"),s=e("../internals/require-object-coercible"),o=e("../internals/species-constructor"),a=e("../internals/advance-string-index"),l=e("../internals/to-length"),c=e("../internals/regexp-exec-abstract"),u=e("../internals/regexp-exec"),f=e("../internals/regexp-sticky-helpers"),p=e("../internals/fails"),d=f.UNSUPPORTED_Y,g=[].push,h=Math.min,y=4294967295,b=!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));n("split",(function(t,e,n){var f;return f="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),o=void 0===n?y:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,o);for(var a=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,f=new RegExp(t.source,l+"g"),p,d,h;(p=u.call(f,i))&&!((d=f.lastIndex)>c&&(a.push(i.slice(c,p.index)),p.length>1&&p.index<i.length&&g.apply(a,p.slice(1)),h=p[0].length,c=d,a.length>=o));)f.lastIndex===p.index&&f.lastIndex++;return c===i.length?!h&&f.test("")||a.push(""):a.push(i.slice(c)),a.length>o?a.slice(0,o):a}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function e(n,r){var i=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):f.call(String(i),n,r)},function(t,r){var s=n(f,this,t,r,f!==e);if(s.done)return s.value;var u=i(this),p=String(t),g=o(u,RegExp),b=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(d?"g":"y"),m=new g(d?"^(?:"+u.source+")":u,v),j=void 0===r?y:r>>>0;if(0===j)return[];if(0===p.length)return null===c(m,p)?[p]:[];for(var x=0,w=0,S=[];w<p.length;){m.lastIndex=d?0:w;var k=c(m,d?p.slice(w):p),E;if(null===k||(E=h(l(m.lastIndex+(d?w:0)),p.length))===x)w=a(p,w,b);
49else{if(S.push(p.slice(x,w)),S.length===j)return S;for(var O=1;O<=k.length-1;O++)if(S.push(k[O]),S.length===j)return S;w=x=E}}return S.push(p.slice(x)),S}]}),!b,d)},
49"es.string.from-code-point.js":function t(e){var n=e("../internals/export"),r=e("../internals/to-absolute-index"),i=String.fromCharCode,s=String.fromCodePoint,o;n({target:"String",stat:!0,forced:!!s&&1!=s.length},{fromCodePoint:function t(e){for(var n=[],s=arguments.length,o=0,a;s>o;){if(a=+arguments[o++],r(a,1114111)!==a)throw RangeError(a+" is not a valid code point");n.push(a<65536?i(a):i(55296+((a-=65536)>>10),a%1024+56320))}return n.join("")}})},
49"es.string.raw.js":function t(e){var n=e("../internals/export"),r=e("../internals/to-indexed-object"),i=e("../internals/to-length");n({target:"String",stat:!0},{raw:function t(e){for(var n=r(e.raw),s=i(n.length),o=arguments.length,a=[],l=0;s>l;)a.push(String(n[l++])),l<o&&a.push(String(arguments[l]));return a.join("")}})},
49"es.string.code-point-at.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-multibyte").codeAt;n({target:"String",proto:!0},{codePointAt:function t(e){return r(this,e)}})},
vendor: 665 bytes, line 49
49"es.string.ends-with.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/object-get-own-property-descriptor").f,i=e("../internals/to-length"),s=e("../internals/not-a-regexp"),o=e("../internals/require-object-coercible"),a=e("../internals/correct-is-regexp-logic"),l=e("../internals/is-pure"),c="".endsWith,u=Math.min,f=a("endsWith"),p,d;n({target:"String",proto:!0,forced:!!(l||f||(d=r(String.prototype,"endsWith"),!d||d.writable))&&!f},{endsWith:function t(e){var n=String(o(this));s(e);var r=arguments.length>1?arguments[1]:void 0,a=i(n.length),l=void 0===r?a:u(i(r),a),f=String(e);return c?c.call(n,f,l):n.slice(l-f.length,l)===f}})},
49"es.string.includes.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/not-a-regexp"),i=e("../internals/require-object-coercible"),s;n({target:"String",proto:!0,forced:!e("../internals/correct-is-regexp-logic")("includes")},{includes:function t(e){return!!~String(i(this)).indexOf(r(e),arguments.length>1?arguments[1]:void 0)}})},
vendor: 2,067 bytes, line 49
49"es.string.match-all.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-iterator-constructor"),i=e("../internals/require-object-coercible"),s=e("../internals/to-length"),o=e("../internals/a-function"),a=e("../internals/an-object"),l=e("../internals/classof-raw"),c=e("../internals/is-regexp"),u=e("../internals/regexp-flags"),f=e("../internals/create-non-enumerable-property"),p=e("../internals/fails"),d=e("../internals/well-known-symbol"),g=e("../internals/species-constructor"),h=e("../internals/advance-string-index"),y=e("../internals/internal-state"),b=e("../internals/is-pure"),v=d("matchAll"),m="RegExp String",j="RegExp String Iterator",x=y.set,w=y.getterFor(j),S=RegExp.prototype,k=S.exec,E="".matchAll,O=!!E&&!p((function(){"a".matchAll(/./)})),A=function(t,e){var n=t.exec,r;if("function"==typeof n){if("object"!=typeof(r=n.call(t,e)))throw TypeError("Incorrect exec result");return r}return k.call(t,e)},M=r((function t(e,n,r,i){x(this,{type:j,regexp:e,string:n,global:r,unicode:i,done:!1})}),m,(function t(){var e=w(this);if(e.done)return{value:void 0,done:!0};var n=e.regexp,r=e.string,i=A(n,r);return null===i?{value:void 0,done:e.done=!0}:e.global?(""==String(i[0])&&(n.lastIndex=h(r,s(n.lastIndex),e.unicode)),{value:i,done:!1}):(e.done=!0,{value:i,done:!1})})),I=function(t){var e=a(this),n=String(t),r,i,o,l,c,f;return r=g(e,RegExp),void 0===(i=e.flags)&&e instanceof RegExp&&!("flags"in S)&&(i=u.call(e)),o=void 0===i?"":String(i),l=new r(r===RegExp?e.source:e,o),c=!!~o.indexOf("g"),f=!!~o.indexOf("u"),l.lastIndex=s(e.lastIndex),new M(l,n,c,f)};n({target:"String",proto:!0,forced:O},{matchAll:function t(e){var n=i(this),r,s,a,f;if(null!=e){if(c(e)&&!~(r=String(i("flags"in S?e.flags:u.call(e)))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(O)return E.apply(n,arguments);if(void 0===(a=e[v])&&b&&"RegExp"==l(e)&&(a=I),null!=a)return o(a).call(e,n)}else if(O)return E.apply(n,arguments);return s=String(n),f=new RegExp(e,"g"),b?I.call(f,s):f[v](s)}}),b||v in S||f(S,v,I)},
49"es.string.pad-end.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-pad").end,i;n({target:"String",proto:!0,forced:e("../internals/string-pad-webkit-bug")},{padEnd:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
49"es.string.pad-start.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-pad").start,i;n({target:"String",proto:!0,forced:e("../internals/string-pad-webkit-bug")},{padStart:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
49"es.string.repeat.js":function t(e){var n,r;e("../internals/export")({target:"String",proto:!0},{repeat:e("../internals/string-repeat")})},
vendor: 1,617 bytes, line 49
49"es.string.replace-all.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/require-object-coercible"),i=e("../internals/is-regexp"),s=e("../internals/regexp-flags"),o=e("../internals/get-substitution"),a=e("../internals/well-known-symbol"),l=e("../internals/is-pure"),c=a("replace"),u=RegExp.prototype,f=Math.max,p=function(t,e,n){return n>t.length?-1:""===e?n:t.indexOf(e,n)};n({target:"String",proto:!0},{replaceAll:function t(e,n){var a=r(this),d,g,h,y,b,v,m,j,x,w=0,S=0,k="";if(null!=e){if((d=i(e))&&!~(g=String(r("flags"in u?e.flags:s.call(e)))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(h=e[c]))return h.call(e,a,n);if(l&&d)return String(a).replace(e,n)}for(y=String(a),b=String(e),(v="function"==typeof n)||(n=String(n)),m=b.length,j=f(1,m),w=p(y,b,0);-1!==w;)x=v?String(n(b,w,y)):o(b,y,w,[],void 0,n),k+=y.slice(S,w)+x,S=w+m,w=p(y,b,w+j);return S<y.length&&(k+=y.slice(S)),k}})},"es.string.starts-with.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/object-get-own-property-descriptor").f,i=e("../internals/to-length"),s=e("../internals/not-a-regexp"),o=e("../internals/require-object-coercible"),a=e("../internals/correct-is-regexp-logic"),l=e("../internals/is-pure"),c="".startsWith,u=Math.min,f=a("startsWith"),p,d;n({target:"String",proto:!0,forced:!!(l||f||(d=r(String.prototype,"startsWith"),!d||d.writable))&&!f},{startsWith:function t(e){var n=String(o(this));s(e);var r=i(u(arguments.length>1?arguments[1]:void 0,n.length)),a=String(e);return c?c.call(n,a,r):n.slice(r,r+a.length)===a}})},
49"es.string.substr.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/require-object-coercible"),i=e("../internals/to-integer"),s="".slice,o=Math.max,a=Math.min;n({target:"String",proto:!0},{substr:function t(e,n){var l=String(r(this)),c=l.length,u=i(e),f,p;return u===1/0&&(u=0),u<0&&(u=o(c+u,0)),(f=void 0===n?c:i(n))<=0||f===1/0||u>=(p=a(u+f,c))?"":s.call(l,u,p)}})},
49"es.string.trim.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-trim").trim,i;n({target:"String",proto:!0,forced:e("../internals/string-trim-forced")("trim")},{trim:function t(){return r(this)}})},
49"es.string.trim-start.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-trim").start,i,s=e("../internals/string-trim-forced")("trimStart"),o=s?function t(){return r(this)}:"".trimStart;n({target:"String",proto:!0,forced:s},{trimStart:o,trimLeft:o})},
49"es.string.trim-end.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-trim").end,i,s=e("../internals/string-trim-forced")("trimEnd"),o=s?function t(){return r(this)}:"".trimEnd;n({target:"String",proto:!0,forced:s},{trimEnd:o,trimRight:o})},
49"es.string.anchor.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("anchor")},{anchor:function t(e){return r(this,"a","name",e)}})},
49"es.string.big.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("big")},{big:function t(){return r(this,"big","","")}})},
49"es.string.blink.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("blink")},{blink:function t(){return r(this,"blink","","")}})},
49"es.string.bold.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("bold")},{bold:function t(){return r(this,"b","","")}})},
49"es.string.fixed.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("fixed")},{fixed:function t(){return r(this,"tt","","")}})},
49"es.string.fontcolor.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("fontcolor")},{fontcolor:function t(e){return r(this,"font","color",e)}})},
49"es.string.fontsize.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("fontsize")},{fontsize:function t(e){return r(this,"font","size",e)}})},
49"es.string.italics.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("italics")},{italics:function t(){return r(this,"i","","")}})},
49"es.string.link.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("link")},{link:function t(e){return r(this,"a","href",e)}})},
49"es.string.small.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("small")},{small:function t(){return r(this,"small","","")}})},
49"es.string.strike.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("strike")},{strike:function t(){return r(this,"strike","","")}})},
49"es.string.sub.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("sub")},{sub:function t(){return r(this,"sub","","")}})},
49"es.string.sup.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("sup")},{sup:function t(){return r(this,"sup","","")}})},
49"es.weak-map.js":function t(e,n,t){"use strict";var r=e("../internals/global"),i=e("../internals/redefine-all"),s=e("../internals/internal-metadata"),o=e("../internals/collection"),a=e("../internals/collection-weak"),l=e("../internals/is-object"),c=e("../internals/internal-state").enforce,u=e("../internals/native-weak-map"),f=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,d,g=function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}},h=t.exports=o("WeakMap",g,a);if(u&&f){d=a.getConstructor(g,"WeakMap",!0),s.REQUIRED=!0;var y=h.prototype,b=y.delete,v=y.has,m=y.get,j=y.set;i(y,{delete:function(t){if(l(t)&&!p(t)){var e=c(this);return e.frozen||(e.frozen=new d),b.call(this,t)||e.frozen.delete(t)}return b.call(this,t)},has:function t(e){if(l(e)&&!p(e)){var n=c(this);return n.frozen||(n.frozen=new d),v.call(this,e)||n.frozen.has(e)}return v.call(this,e)},get:function t(e){if(l(e)&&!p(e)){var n=c(this);return n.frozen||(n.frozen=new d),v.call(this,e)?m.call(this,e):n.frozen.get(e)}return m.call(this,e)},set:function t(e,n){if(l(e)&&!p(e)){var r=c(this);r.frozen||(r.frozen=new d),v.call(this,e)?j.call(this,e,n):r.frozen.set(e,n)}else j.call(this,e,n);return this}})}},
49"es.weak-set.js":function t(e){"use strict";var n,r;e("../internals/collection")("WeakSet",(function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}}),e("../internals/collection-weak"))},
49"es.number.epsilon.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},
49"es.number.is-finite.js":function t(e){var n,r;e("../internals/export")({target:"Number",stat:!0},{isFinite:e("../internals/number-is-finite")})},
49"es.number.is-integer.js":function t(e){var n,r;e("../internals/export")({target:"Number",stat:!0},{isInteger:e("../internals/is-integer")})},
49"es.number.is-nan.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{isNaN:function t(e){return e!=e}})},
49"es.number.is-safe-integer.js":function t(e){var n=e("../internals/export"),r=e("../internals/is-integer"),i=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function t(e){return r(e)&&i(e)<=9007199254740991}})},
49"es.number.max-safe-integer.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},
49"es.number.min-safe-integer.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},
49"es.number.parse-float.js":function t(e){var n=e("../internals/export"),r=e("../internals/number-parse-float");n({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},
49"es.number.parse-int.js":function t(e){var n=e("../internals/export"),r=e("../internals/number-parse-int");n({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},
49"es.typed-array.uint8-array.js":function t(e){var n;e("../internals/typed-array-constructor")("Uint8",(function(t){return function e(n,r,i){return t(this,n,r,i)}}))},
49"es.typed-array.uint32-array.js":function t(e){var n;e("../internals/typed-array-constructor")("Uint32",(function(t){return function e(n,r,i){return t(this,n,r,i)}}))}},internals:{
49"export.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,s=e("../internals/create-non-enumerable-property"),o=e("../internals/redefine"),a=e("../internals/set-global"),l=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(t,e){var n=t.target,u=t.global,f=t.stat,p,d,g,h,y,b;if(d=u?r:f?r[n]||a(n,{}):(r[n]||{}).prototype)for(g in e){if(y=e[g],h=t.noTargetGet?(b=i(d,g))&&b.value:d[g],!(p=c(u?g:n+(f?".":"#")+g,t.forced))&&void 0!==h){if(typeof y==typeof h)continue;l(y,h)}(t.sham||h&&h.sham)&&s(y,"sham",!0),o(d,g,y,t)}}},
49"global.js":function t(n,r,t){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()},
49"object-get-own-property-descriptor.js":function t(e,n){var r=e("../internals/descriptors"),i=e("../internals/object-property-is-enumerable"),s=e("../internals/create-property-descriptor"),o=e("../internals/to-indexed-object"),a=e("../internals/to-primitive"),l=e("../internals/has"),c=e("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function t(e,n){if(e=o(e),n=a(n,!0),c)try{return u(e,n)}catch(r){}if(l(e,n))return s(!i.f.call(e,n),e[n])}},
49"descriptors.js":function t(e,n,t){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},
49"fails.js":function t(e,n,t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},
49"object-property-is-enumerable.js":function t(e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!r.call({1:2},1);n.f=s?function t(e){var n=i(this,e);return!!n&&n.enumerable}:r},
49"create-property-descriptor.js":function t(e,n,t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},
49"to-indexed-object.js":function t(e,n,t){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(t){return r(i(t))}},
49"indexed-object.js":function t(e,n,t){var r=e("../internals/fails"),i=e("../internals/classof-raw"),s="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s.call(t,""):Object(t)}:Object},
49"classof-raw.js":function t(e,n,t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},
49"require-object-coercible.js":function t(e,n,t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},
49"to-primitive.js":function t(e,n,t){var r=e("../internals/is-object");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},
49"is-object.js":function t(e,n,t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},
49"has.js":function t(e,n,t){var r=e("../internals/to-object"),i={}.hasOwnProperty;t.exports=Object.hasOwn||function t(e,n){return i.call(r(e),n)}},
49"to-object.js":function t(e,n,t){var r=e("../internals/require-object-coercible");t.exports=function(t){return Object(r(t))}},
49"ie8-dom-define.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},
49"document-create-element.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/is-object"),s=r.document,o=i(s)&&i(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},
49"create-non-enumerable-property.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=r?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},
49"object-define-property.js":function t(e,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),s=e("../internals/an-object"),o=e("../internals/to-primitive"),a=Object.defineProperty;n.f=r?a:function t(e,n,r){if(s(e),n=o(n,!0),s(r),i)try{return a(e,n,r)}catch(l){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[n]=r.value),e}},
49"an-object.js":function t(e,n,t){var r=e("../internals/is-object");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},
49"redefine.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property"),s=e("../internals/has"),o=e("../internals/set-global"),a=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.get,u=l.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet,d;"function"==typeof n&&("string"!=typeof e||s(n,"name")||i(n,"name",e),(d=u(n)).source||(d.source=f.join("string"==typeof e?e:""))),t!==r?(l?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:o(e,n)})(Function.prototype,"toString",(function t(){return"function"==typeof this&&c(this).source||a(this)}))},
49"set-global.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},
49"inspect-source.js":function t(e,n,t){var r=e("../internals/shared-store"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},
49"shared-store.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/set-global"),s="__core-js_shared__",o=r[s]||i(s,{});t.exports=o},
49"internal-state.js":function t(e,n,t){var r=e("../internals/native-weak-map"),i=e("../internals/global"),s=e("../internals/is-object"),o=e("../internals/create-non-enumerable-property"),a=e("../internals/has"),l=e("../internals/shared-store"),c=e("../internals/shared-key"),u=e("../internals/hidden-keys"),f="Object already initialized",p=i.WeakMap,d,g,h,y=function(t){return h(t)?g(t):d(t,{})},b=function(t){return function(e){var n;if(!s(e)||(n=g(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(r||l.state){var v=l.state||(l.state=new p),m=v.get,j=v.has,x=v.set;d=function(t,e){if(j.call(v,t))throw new TypeError(f);return e.facade=t,x.call(v,t,e),e},g=function(t){return m.call(v,t)||{}},h=function(t){return j.call(v,t)}}else{var w=c("state");u[w]=!0,d=function(t,e){if(a(t,w))throw new TypeError(f);return e.facade=t,o(t,w,e),e},g=function(t){return a(t,w)?t[w]:{}},h=function(t){return a(t,w)}}t.exports={set:d,get:g,has:h,enforce:y,getterFor:b}},
49"native-weak-map.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/inspect-source"),s=r.WeakMap;t.exports="function"==typeof s&&/native code/.test(i(s))},
49"shared-key.js":function t(e,n,t){var r=e("../internals/shared"),i=e("../internals/uid"),s=r("keys");t.exports=function(t){return s[t]||(s[t]=i(t))}},
49"shared.js":function t(e,n,t){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},
49"is-pure.js":function t(e,n,t){t.exports=!1},
49"uid.js":function t(e,n,t){var r=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+i).toString(36)}},
49"hidden-keys.js":function t(e,n,t){t.exports={}},
49"copy-constructor-properties.js":function t(e,n,t){var r=e("../internals/has"),i=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");t.exports=function(t,e){for(var n=i(e),a=o.f,l=s.f,c=0;c<n.length;c++){var u=n[c];r(t,u)||a(t,u,l(e,u))}}},
49"own-keys.js":function t(e,n,t){var r=e("../internals/get-built-in"),i=e("../internals/object-get-own-property-names"),s=e("../internals/object-get-own-property-symbols"),o=e("../internals/an-object");t.exports=r("Reflect","ownKeys")||function t(e){var n=i.f(o(e)),r=s.f;return r?n.concat(r(e)):n}},
49"get-built-in.js":function t(e,n,t){var r=e("../internals/path"),i=e("../internals/global"),s=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?s(r[t])||s(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},
49"path.js":function t(e,n,t){var r=e("../internals/global");t.exports=r},
49"object-get-own-property-names.js":function t(e,n){var r=e("../internals/object-keys-internal"),i,s=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function t(e){return r(e,s)}},
49"object-keys-internal.js":function t(e,n,t){var r=e("../internals/has"),i=e("../internals/to-indexed-object"),s=e("../internals/array-includes").indexOf,o=e("../internals/hidden-keys");t.exports=function(t,e){var n=i(t),a=0,l=[],c;for(c in n)!r(o,c)&&r(n,c)&&l.push(c);for(;e.length>a;)r(n,c=e[a++])&&(~s(l,c)||l.push(c));return l}},
vendor: 384 bytes, line 49
49"array-includes.js":function t(e,n,t){var r=e("../internals/to-indexed-object"),i=e("../internals/to-length"),s=e("../internals/to-absolute-index"),o=function(t){return function(e,n,o){var a=r(e),l=i(a.length),c=s(o,l),u;if(t&&n!=n){for(;l>c;)if((u=a[c++])!=u)return!0}else for(;l>c;c++)if((t||c in a)&&a[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},
49"to-length.js":function t(e,n,t){var r=e("../internals/to-integer"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},
49"to-integer.js":function t(e,n,t){var r=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:r)(t)}},
49"to-absolute-index.js":function t(e,n,t){var r=e("../internals/to-integer"),i=Math.max,s=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):s(n,e)}},
49"enum-bug-keys.js":function t(e,n,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
49"object-get-own-property-symbols.js":function t(e,n){n.f=Object.getOwnPropertySymbols},
vendor: 295 bytes, line 49
49"is-forced.js":function t(e,n,t){var r=e("../internals/fails"),i=/#|\.prototype\./,s=function(t,e){var n=a[o(t)];return n==c||n!=l&&("function"==typeof e?r(e):!!e)},o=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s},
49"is-array.js":function t(e,n,t){var r=e("../internals/classof-raw");t.exports=Array.isArray||function t(e){return"Array"==r(e)}},
49"create-property.js":function t(e,n,t){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=function(t,e,n){var o=r(e);o in t?i.f(t,o,s(0,n)):t[o]=n}},
vendor: 347 bytes, line 49
49"array-species-create.js":function t(e,n,t){var r=e("../internals/is-object"),i=e("../internals/is-array"),s,o=e("../internals/well-known-symbol")("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},
49"well-known-symbol.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/shared"),s=e("../internals/has"),o=e("../internals/uid"),a=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=i("wks"),u=r.Symbol,f=l?u:u&&u.withoutSetter||o;t.exports=function(t){return s(c,t)&&(a||"string"==typeof c[t])||(a&&s(u,t)?c[t]=u[t]:c[t]=f("Symbol."+t)),c[t]}},
49"native-symbol.js":function t(e,n,t){var r=e("../internals/engine-v8-version"),i=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=o();return!String(t)||!(Object(t)instanceof o)||!o.sham&&r&&r<41}))},
49"engine-v8-version.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/engine-user-agent"),s=r.process,o=s&&s.versions,a=o&&o.v8,l,c;a?c=(l=a.split("."))[0]<4?1:l[0]+l[1]:i&&(!(l=i.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/))&&(c=l[1]),t.exports=c&&+c},
49"engine-user-agent.js":function t(e,n,t){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},
49"use-symbol-as-uid.js":function t(e,n,t){var r=e("../internals/native-symbol");t.exports=r&&!o.sham&&"symbol"==typeof o.iterator},
49"array-method-has-species-support.js":function t(e,n,t){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),s=e("../internals/engine-v8-version"),o=i("species");t.exports=function(t){return s>=51||!r((function(){var e=[],n;return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},
49"to-string-tag-support.js":function t(e,n,t){var r,i,s={};s[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(s)},
49"object-to-string.js":function t(e,n,t){"use strict";var r=e("../internals/to-string-tag-support"),i=e("../internals/classof");t.exports=r?{}.toString:function t(){return"[object "+i(this)+"]"}},
vendor: 449 bytes, line 49
49"classof.js":function t(e,n,t){var r=e("../internals/to-string-tag-support"),i=e("../internals/classof-raw"),s,o=e("../internals/well-known-symbol")("toStringTag"),a="Arguments"==i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},
49"object-create.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/object-define-properties"),s=e("../internals/enum-bug-keys"),o=e("../internals/hidden-keys"),a=e("../internals/html"),l=e("../internals/document-create-element"),c=e("../internals/shared-key"),u=">",f="<",p="prototype",d="script",g=c("IE_PROTO"),h=function(){},y=function(t){return"<script>"+t+"</"+d+u},b=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){var t=l("iframe"),e="javascript:",n;return t.style.display="none",a.appendChild(t),t.src=String(e),(n=t.contentWindow.document).open(),n.write(y("document.F=Object")),n.close(),n.F},m,j=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch(e){}j=m?b(m):v();for(var t=s.length;t--;)delete j.prototype[s[t]];return j()};o[g]=!0,t.exports=Object.create||function t(e,n){var s;return null!==e?(h.prototype=r(e),s=new h,h.prototype=null,s[g]=e):s=j(),void 0===n?s:i(s,n)}},
49"object-define-properties.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/an-object"),o=e("../internals/object-keys");t.exports=r?Object.defineProperties:function t(e,n){s(e);for(var r=o(n),a=r.length,l=0,c;a>l;)i.f(e,c=r[l++],n[c]);return e}},
49"object-keys.js":function t(e,n,t){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function t(e){return r(e,i)}},
49"html.js":function t(e,n,t){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},
49"object-get-own-property-names-external.js":function t(e,n,t){var r=e("../internals/to-indexed-object"),i=e("../internals/object-get-own-property-names").f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return o.slice()}};t.exports.f=function t(e){return o&&"[object Window]"==s.call(e)?a(e):i(r(e))}},
49"well-known-symbol-wrapped.js":function t(e,n){var r=e("../internals/well-known-symbol");n.f=r},
49"define-well-known-symbol.js":function t(e,n,t){var r=e("../internals/path"),i=e("../internals/has"),s=e("../internals/well-known-symbol-wrapped"),o=e("../internals/object-define-property").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||o(e,t,{value:s.f(t)})}},
49"set-to-string-tag.js":function t(e,n,t){var r=e("../internals/object-define-property").f,i=e("../internals/has"),s,o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},
vendor: 742 bytes, line 49
49"array-iteration.js":function t(e,n,t){var r=e("../internals/function-bind-context"),i=e("../internals/indexed-object"),s=e("../internals/to-object"),o=e("../internals/to-length"),a=e("../internals/array-species-create"),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,f=6==t,p=7==t,d=5==t||f;return function(g,h,y,b){for(var v=s(g),m=i(v),j=r(h,y,3),x=o(m.length),w=0,S=b||a,k=e?S(g,x):n||p?S(g,0):void 0,E,O;x>w;w++)if((d||w in m)&&(O=j(E=m[w],w,v),t))if(e)k[w]=O;else if(O)switch(t){case 3:return!0;case 5:return E;case 6:return w;case 2:l.call(k,E)}else switch(t){case 4:return!1;case 7:l.call(k,E)}return f?-1:c||u?u:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},
vendor: 386 bytes, line 49
49"function-bind-context.js":function t(e,n,t){var r=e("../internals/a-function");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},
49"a-function.js":function t(e,n,t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},
vendor: 1,534 bytes, line 49
49"collection.js":function t(e,n,t){"use strict";var r=e("../internals/export"),i=e("../internals/global"),s=e("../internals/is-forced"),o=e("../internals/redefine"),a=e("../internals/internal-metadata"),l=e("../internals/iterate"),c=e("../internals/an-instance"),u=e("../internals/is-object"),f=e("../internals/fails"),p=e("../internals/check-correctness-of-iteration"),d=e("../internals/set-to-string-tag"),g=e("../internals/inherit-if-required");t.exports=function(t,e,n){var h=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),b=h?"set":"add",v=i[t],m=v&&v.prototype,j=v,x={},w=function(t){var e=m[t];o(m,t,"add"==t?function t(n){return e.call(this,0===n?0:n),this}:"delete"==t?function(t){return!(y&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function t(n){return y&&!u(n)?void 0:e.call(this,0===n?0:n)}:"has"==t?function t(n){return!(y&&!u(n))&&e.call(this,0===n?0:n)}:function t(n,r){return e.call(this,0===n?0:n,r),this})},S;if(s(t,"function"!=typeof v||!(y||m.forEach&&!f((function(){(new v).entries().next()})))))j=n.getConstructor(e,t,h,b),a.REQUIRED=!0;else if(s(t,!0)){var k=new j,E=k[b](y?{}:-0,1)!=k,O=f((function(){k.has(1)})),A=p((function(t){new v(t)})),M=!y&&f((function(){for(var t=new v,e=5;e--;)t[b](e,e);return!t.has(-0)}));A||((j=e((function(e,n){c(e,j,t);var r=g(new v,e,j);return null!=n&&l(n,r[b],{that:r,AS_ENTRIES:h}),r}))).prototype=m,m.constructor=j),(O||M)&&(w("delete"),w("has"),h&&w("get")),(M||E)&&w(b),y&&m.clear&&delete m.clear}return x[t]=j,r({global:!0,forced:j!=v},x),d(j,t),y||n.setStrong(j,t,h),j}},
vendor: 724 bytes, line 49
49"internal-metadata.js":function t(e,n,t){var r=e("../internals/hidden-keys"),i=e("../internals/is-object"),s=e("../internals/has"),o=e("../internals/object-define-property").f,a=e("../internals/uid"),l=e("../internals/freezing"),c=a("meta"),u=0,f=Object.isExtensible||function(){return!0},p=function(t){o(t,c,{value:{objectID:"O"+u++,weakData:{}}})},d=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,c)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[c].objectID},g=function(t,e){if(!s(t,c)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[c].weakData},h=function(t){return l&&y.REQUIRED&&f(t)&&!s(t,c)&&p(t),t},y=t.exports={REQUIRED:!1,fastKey:d,getWeakData:g,onFreeze:h};r[c]=!0},
49"freezing.js":function t(e,n,t){var r=e("../internals/fails");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},
vendor: 899 bytes, line 49
49"iterate.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/is-array-iterator-method"),s=e("../internals/to-length"),o=e("../internals/function-bind-context"),a=e("../internals/get-iterator-method"),l=e("../internals/iterator-close"),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),g=o(e,u,1+f+d),h,y,b,v,m,j,x,w=function(t){return h&&l(h),new c(!0,t)},S=function(t){return f?(r(t),d?g(t[0],t[1],w):g(t[0],t[1])):d?g(t,w):g(t)};if(p)h=t;else{if("function"!=typeof(y=a(t)))throw TypeError("Target is not iterable");if(i(y)){for(b=0,v=s(t.length);v>b;b++)if((m=S(t[b]))&&m instanceof c)return m;return new c(!1)}h=y.call(t)}for(j=h.next;!(x=j.call(h)).done;){try{m=S(x.value)}catch(k){throw l(h),k}if("object"==typeof m&&m&&m instanceof c)return m}return new c(!1)}},
49"is-array-iterator-method.js":function t(e,n,t){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),s=r("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[s]===t)}},
49"iterators.js":function t(e,n,t){t.exports={}},
49"get-iterator-method.js":function t(e,n,t){var r=e("../internals/classof"),i=e("../internals/iterators"),s,o=e("../internals/well-known-symbol")("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},
49"iterator-close.js":function t(e,n,t){var r=e("../internals/an-object");t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},
49"an-instance.js":function t(e,n,t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},
vendor: 417 bytes, line 49
49"check-correctness-of-iteration.js":function t(e,n,t){var r,i=e("../internals/well-known-symbol")("iterator"),s=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){s=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!s)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(l){}return n}},
49"inherit-if-required.js":function t(e,n,t){var r=e("../internals/is-object"),i=e("../internals/object-set-prototype-of");t.exports=function(t,e,n){var s,o;return i&&"function"==typeof(s=e.constructor)&&s!==n&&r(o=s.prototype)&&o!==n.prototype&&i(t,o),t}},
49"object-set-prototype-of.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},n;try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),t=e instanceof Array}catch(s){}return function e(s,o){return r(s),i(o),t?n.call(s,o):s.__proto__=o,s}}():void 0)},
49"a-possible-prototype.js":function t(e,n,t){var r=e("../internals/is-object");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},
49"collection-strong.js":function t(e,n,t){"use strict";var r=e("../internals/object-define-property").f,i=e("../internals/object-create"),s=e("../internals/redefine-all"),o=e("../internals/function-bind-context"),a=e("../internals/an-instance"),l=e("../internals/iterate"),c=e("../internals/define-iterator"),u=e("../internals/set-species"),f=e("../internals/descriptors"),p=e("../internals/internal-metadata").fastKey,d=e("../internals/internal-state"),g=d.set,h=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,r){a(t,u,e),g(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&l(r,t[c],{that:t,AS_ENTRIES:n})})),d=h(e),y=function(t,e,n){var r=d(t),i=b(t,e),s,o;return i?i.value=n:(r.last=i={index:o=p(e,!0),key:e,value:n,previous:s=r.last,next:void 0,removed:!1},r.first||(r.first=i),s&&(s.next=i),f?r.size++:t.size++,"F"!==o&&(r.index[o]=i)),t},b=function(t,e){var n=d(t),r=p(e),i;if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key==e)return i};return s(u.prototype,{clear:function t(){for(var e=this,n=d(e),r=n.index,i=n.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete r[i.index],i=i.next;n.first=n.last=void 0,f?n.size=0:e.size=0},delete:function(t){var e=this,n=d(e),r=b(e,t);if(r){var i=r.next,s=r.previous;delete n.index[r.index],r.removed=!0,s&&(s.next=i),i&&(i.previous=s),n.first==r&&(n.first=i),n.last==r&&(n.last=s),f?n.size--:e.size--}return!!r},forEach:function t(e){for(var n=d(this),r=o(e,arguments.length>1?arguments[1]:void 0,3),i;i=i?i.next:n.first;)for(r(i.value,i.key,this);i&&i.removed;)i=i.previous},has:function t(e){return!!b(this,e)}}),s(u.prototype,n?{get:function t(e){var n=b(this,e);return n&&n.value},set:function t(e,n){return y(this,0===e?0:e,n)}}:{add:function t(e){return y(this,e=0===e?0:e,e)}}),f&&r(u.prototype,"size",{get:function(){return d(this).size}}),u},setStrong:function(t,e,n){var r=e+" Iterator",i=h(e),s=h(r);c(t,e,(function(t,e){g(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=s(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(e)}}},
49"redefine-all.js":function t(e,n,t){var r=e("../internals/redefine");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},
vendor: 1,394 bytes, line 49
49"define-iterator.js":function t(e,n,t){"use strict";var r=e("../internals/export"),i=e("../internals/create-iterator-constructor"),s=e("../internals/object-get-prototype-of"),o=e("../internals/object-set-prototype-of"),a=e("../internals/set-to-string-tag"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/redefine"),u=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=e("../internals/iterators"),d=e("../internals/iterators-core"),g=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,y=u("iterator"),b="keys",v="values",m="entries",j=function(){return this};t.exports=function(t,e,n,u,d,x,w){i(n,e,u);var S=function(t){if(t===d&&M)return M;if(!h&&t in O)return O[t];switch(t){case b:return function e(){return new n(this,t)};case v:return function e(){return new n(this,t)};case m:return function e(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",E=!1,O=t.prototype,A=O[y]||O["@@iterator"]||d&&O[d],M=!h&&A||S(d),I="Array"==e&&O.entries||A,R,T,_;if(I&&(R=s(I.call(new t)),g!==Object.prototype&&R.next&&(f||s(R)===g||(o?o(R,g):"function"!=typeof R[y]&&l(R,y,j)),a(R,k,!0,!0),f&&(p[k]=j))),d==v&&A&&A.name!==v&&(E=!0,M=function t(){return A.call(this)}),f&&!w||O[y]===M||l(O,y,M),p[e]=M,d)if(T={values:S(v),keys:x?M:S(b),entries:S(m)},w)for(_ in T)(h||E||!(_ in O))&&c(O,_,T[_]);else r({target:e,proto:!0,forced:h||E},T);return T}},
49"create-iterator-constructor.js":function t(e,n,t){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),s=e("../internals/create-property-descriptor"),o=e("../internals/set-to-string-tag"),a=e("../internals/iterators"),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:s(1,n)}),o(t,c,!1,!0),a[c]=l,t}},
49"iterators-core.js":function t(e,n,t){"use strict";var r=e("../internals/fails"),i=e("../internals/object-get-prototype-of"),s=e("../internals/create-non-enumerable-property"),o=e("../internals/has"),a=e("../internals/well-known-symbol"),l=e("../internals/is-pure"),c=a("iterator"),u=!1,f=function(){return this},p,d,g;[].keys&&("next"in(g=[].keys())?(d=i(i(g)))!==Object.prototype&&(p=d):u=!0);var h=null==p||r((function(){var t={};return p[c].call(t)!==t}));h&&(p={}),l&&!h||o(p,c)||s(p,c,f),t.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:u}},
49"object-get-prototype-of.js":function t(e,n,t){var r=e("../internals/has"),i=e("../internals/to-object"),s=e("../internals/shared-key"),o=e("../internals/correct-prototype-getter"),a=s("IE_PROTO"),l=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},
49"correct-prototype-getter.js":function t(e,n,t){var r=e("../internals/fails");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},
49"set-species.js":function t(e,n,t){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/object-define-property"),s=e("../internals/well-known-symbol"),o=e("../internals/descriptors"),a=s("species");t.exports=function(t){var e=r(t),n=i.f;o&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},
vendor: 409 bytes, line 49
49"string-multibyte.js":function t(e,n,t){var r=e("../internals/to-integer"),i=e("../internals/require-object-coercible"),s=function(t){return function(e,n){var s=String(i(e)),o=r(n),a=s.length,l,c;return o<0||o>=a?t?"":void 0:(l=s.charCodeAt(o))<55296||l>56319||o+1===a||(c=s.charCodeAt(o+1))<56320||c>57343?t?s.charAt(o):l:t?s.slice(o,o+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},
49"dom-iterables.js":function t(e,n,t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},
49"add-to-unscopables.js":function t(e,n,t){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),s=e("../internals/object-define-property"),o=r("unscopables"),a=Array.prototype;null==a[o]&&s.f(a,o,{configurable:!0,value:i(null)}),t.exports=function(t){a[o][t]=!0}},
vendor: 735 bytes, line 49
49"array-from.js":function t(e,n,t){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/to-object"),s=e("../internals/call-with-safe-iteration-closing"),o=e("../internals/is-array-iterator-method"),a=e("../internals/to-length"),l=e("../internals/create-property"),c=e("../internals/get-iterator-method");t.exports=function t(e){var n=i(e),u="function"==typeof this?this:Array,f=arguments.length,p=f>1?arguments[1]:void 0,d=void 0!==p,g=c(n),h=0,y,b,v,m,j,x;if(d&&(p=r(p,f>2?arguments[2]:void 0,2)),null==g||u==Array&&o(g))for(b=new u(y=a(n.length));y>h;h++)x=d?p(n[h],h):n[h],l(b,h,x);else for(j=(m=g.call(n)).next,b=new u;!(v=j.call(m)).done;h++)x=d?s(m,p,[v.value,h],!0):v.value,l(b,h,x);return b.length=h,b}},
49"call-with-safe-iteration-closing.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(t,e,n,s){try{return s?e(r(n)[0],n[1]):e(n)}catch(o){throw i(t),o}}},
vendor: 427 bytes, line 49
49"array-copy-within.js":function t(e,n,t){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),s=e("../internals/to-length"),o=Math.min;t.exports=[].copyWithin||function t(e,n){var a=r(this),l=s(a.length),c=i(e,l),u=i(n,l),f=arguments.length>2?arguments[2]:void 0,p=o((void 0===f?l:i(f,l))-u,l-c),d=1;for(u<c&&c<u+p&&(d=-1,u+=p-1,c+=p-1);p-- >0;)u in a?a[c]=a[u]:delete a[c],c+=d,u+=d;return a}},
49"array-method-is-strict.js":function t(e,n,t){"use strict";var r=e("../internals/fails");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},
vendor: 328 bytes, line 49
49"array-fill.js":function t(e,n,t){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),s=e("../internals/to-length");t.exports=function t(e){for(var n=r(this),o=s(n.length),a=arguments.length,l=i(a>1?arguments[1]:void 0,o),c=a>2?arguments[2]:void 0,u=void 0===c?o:i(c,o);u>l;)n[l++]=e;return n}},
49"flatten-into-array.js":function t(e,n,t){"use strict";var r=e("../internals/is-array"),i=e("../internals/to-length"),s=e("../internals/function-bind-context"),o=function(t,e,n,a,l,c,u,f){for(var p=l,d=0,g=!!u&&s(u,f,3),h;d<a;){if(d in n){if(h=g?g(n[d],d,e):n[d],c>0&&r(h))p=o(t,e,h,i(h.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=h}p++}d++}return p};t.exports=o},
49"array-for-each.js":function t(e,n,t){"use strict";var r=e("../internals/array-iteration").forEach,i,s=e("../internals/array-method-is-strict")("forEach");t.exports=s?[].forEach:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},
vendor: 986 bytes, line 49
49"array-last-index-of.js":function t(e,n,t){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/to-integer"),s=e("../internals/to-length"),o=e("../internals/array-method-is-strict"),a=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),f=c||!u;t.exports=f?function t(e){if(c)return l.apply(this,arguments)||0;var n=r(this),o=s(n.length),u=o-1;for(arguments.length>1&&(u=a(u,i(arguments[1]))),u<0&&(u=o+u);u>=0;u--)if(u in n&&n[u]===e)return u||0;return-1}:l},"array-reduce.js":function t(e,n,t){var r=e("../internals/a-function"),i=e("../internals/to-object"),s=e("../internals/indexed-object"),o=e("../internals/to-length"),a=function(t){return function(e,n,a,l){r(n);var c=i(e),u=s(c),f=o(c.length),p=t?f-1:0,d=t?-1:1;if(a<2)for(;;){if(p in u){l=u[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in u&&(l=n(l,u[p],p,c));return l}};t.exports={left:a(!1),right:a(!0)}},
49"engine-is-node.js":function t(e,n,t){var r=e("../internals/classof-raw"),i=e("../internals/global");t.exports="process"==r(i.process)},
49"array-sort.js":function t(e,n,t){var r=Math.floor,i=function(t,e){var n=t.length,a=r(n/2);return n<8?s(t,e):o(i(t.slice(0,a),e),i(t.slice(a),e),e)},s=function(t,e){for(var n=t.length,r=1,i,s;r<n;){for(s=r,i=t[r];s&&e(t[s-1],i)>0;)t[s]=t[--s];s!==r++&&(t[s]=i)}return t},o=function(t,e,n){for(var r=t.length,i=e.length,s=0,o=0,a=[];s<r||o<i;)s<r&&o<i?a.push(n(t[s],e[o])<=0?t[s++]:e[o++]):a.push(s<r?t[s++]:e[o++]);return a};t.exports=i},
49"engine-ff-version.js":function t(e,n,t){var r,i=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},
49"engine-is-ie-or-edge.js":function t(e,n,t){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},
49"engine-webkit-version.js":function t(e,n,t){var r,i=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},
vendor: 507 bytes, line 49
49"function-bind.js":function t(e,n,t){"use strict";var r=e("../internals/a-function"),i=e("../internals/is-object"),s=[].slice,o={},a=function(t,e,n){if(!(e in o)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";o[e]=Function("C,a","return new C("+r.join(",")+")")}return o[e](t,n)};t.exports=Function.bind||function t(e){var n=r(this),o=s.call(arguments,1),l=function t(){var r=o.concat(s.call(arguments));return this instanceof l?a(n,r.length,r):n.apply(e,r)};return i(n.prototype)&&(l.prototype=n.prototype),l}},
49"math-log1p.js":function t(e,n,t){var r=Math.log;t.exports=Math.log1p||function t(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:r(1+e)}},
49"math-sign.js":function t(e,n,t){t.exports=Math.sign||function t(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},
49"math-expm1.js":function t(e,n,t){var r=Math.expm1,i=Math.exp;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function t(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:i(e)-1}:r},
49"math-fround.js":function t(e,n,t){var r=e("../internals/math-sign"),i=Math.abs,s=Math.pow,o=s(2,-52),a=s(2,-23),l=s(2,127)*(2-a),c=s(2,-126),u=function(t){return t+1/o-1/o};t.exports=Math.fround||function t(e){var n=i(e),s=r(e),f,p;return n<c?s*u(n/c/a)*c*a:(p=(f=(1+a/o)*n)-(f-n))>l||p!=p?s*(1/0):s*p}},
vendor: 838 bytes, line 49
49"object-assign.js":function t(e,n,t){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/object-keys"),a=e("../internals/object-get-own-property-symbols"),l=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),u=e("../internals/indexed-object"),f=Object.assign,p=Object.defineProperty;t.exports=!f||i((function(){if(r&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=o(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||s(f({},e)).join("")!=i}))?function t(e,n){for(var i=c(e),o=arguments.length,f=1,p=a.f,d=l.f;o>f;)for(var g=u(arguments[f++]),h=p?s(g).concat(p(g)):s(g),y=h.length,b=0,v;y>b;)v=h[b++],r&&!d.call(g,v)||(i[v]=g[v]);return i}:f},
49"object-to-array.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/object-keys"),s=e("../internals/to-indexed-object"),o=e("../internals/object-property-is-enumerable").f,a=function(t){return function(e){for(var n=s(e),a=i(n),l=a.length,c=0,u=[],f;l>c;)f=a[c++],r&&!o.call(n,f)||u.push(t?[f,n[f]]:n[f]);return u}};t.exports={entries:a(!0),values:a(!1)}},
49"same-value.js":function t(e,n,t){t.exports=Object.is||function t(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}},
49"object-prototype-accessors-forced.js":function t(e,n,t){"use strict";var r=e("../internals/is-pure"),i=e("../internals/global"),s=e("../internals/fails"),o=e("../internals/engine-webkit-version");t.exports=r||!s((function(){if(!(o&&o<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete i[t]}}))},
49"is-regexp.js":function t(e,n,t){var r=e("../internals/is-object"),i=e("../internals/classof-raw"),s,o=e("../internals/well-known-symbol")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},
49"regexp-flags.js":function t(e,n,t){"use strict";var r=e("../internals/an-object");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},
49"regexp-sticky-helpers.js":function t(e,n){var r=e("../internals/fails"),i=function(t,e){return RegExp(t,e)};n.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},
49"regexp-unsupported-dot-all.js":function t(e,n,t){var r=e("./fails");t.exports=r((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},
49"regexp-unsupported-ncg.js":function t(e,n,t){var r=e("./fails");t.exports=r((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},
49"regexp-exec.js":function t(e,n,t){"use strict";var r=e("../internals/regexp-flags"),i=e("../internals/regexp-sticky-helpers"),s=e("../internals/shared"),o=e("../internals/object-create"),a=e("../internals/internal-state").get,l=e("../internals/regexp-unsupported-dot-all"),c=e("../internals/regexp-unsupported-ncg"),u=RegExp.prototype.exec,f=s("native-string-replace",String.prototype.replace),p=u,d=(g=/a/,h=/b*/g,u.call(g,"a"),u.call(h,"a"),0!==g.lastIndex||0!==h.lastIndex),g,h,y=i.UNSUPPORTED_Y||i.BROKEN_CARET,b=void 0!==/()??/.exec("")[1],v;(d||b||y||l||c)&&(p=function t(e){var n=this,i=a(n),s=i.raw,l,c,g,h,v,m,j;if(s)return s.lastIndex=n.lastIndex,l=p.call(s,e),n.lastIndex=s.lastIndex,l;var x=i.groups,w=y&&n.sticky,S=r.call(n),k=n.source,E=0,O=e;if(w&&(-1===(S=S.replace("y","")).indexOf("g")&&(S+="g"),O=String(e).slice(n.lastIndex),n.lastIndex>0&&(!n.multiline||n.multiline&&"\n"!==e[n.lastIndex-1])&&(k="(?: "+k+")",O=" "+O,E++),c=new RegExp("^(?:"+k+")",S)),b&&(c=new RegExp("^"+k+"$(?!\\s)",S)),d&&(g=n.lastIndex),h=u.call(w?c:n,O),w?h?(h.input=h.input.slice(E),h[0]=h[0].slice(E),h.index=n.lastIndex,n.lastIndex+=h[0].length):n.lastIndex=0:d&&h&&(n.lastIndex=n.global?h.index+h[0].length:g),b&&h&&h.length>1&&f.call(h[0],c,(function(){for(v=1;v<arguments.length-2;v++)void 0===arguments[v]&&(h[v]=void 0)})),h&&x)for(h.groups=m=o(null),v=0;v<x.length;v++)m[(j=x[v])[0]]=h[j[1]];return h}),t.exports=p},
vendor: 858 bytes, line 49
49"fix-regexp-well-known-symbol-logic.js":function t(e,n,t){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/redefine"),i=e("../internals/regexp-exec"),s=e("../internals/fails"),o=e("../internals/well-known-symbol"),a=e("../internals/create-non-enumerable-property"),l=o("species"),c=RegExp.prototype;t.exports=function(t,e,n,u){var f=o(t),p=!s((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),d=p&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!p||!d||n){var g=/./[f],h=e(f,""[t],(function(t,e,n,r,s){var o=e.exec;return o===i||o===c.exec?p&&!s?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,h[0]),r(c,f,h[1])}u&&a(c[f],"sham",!0)}},
49"advance-string-index.js":function t(e,n,t){"use strict";var r=e("../internals/string-multibyte").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},
49"regexp-exec-abstract.js":function t(e,n,t){var r=e("./classof-raw"),i=e("./regexp-exec");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var s=n.call(t,e);if("object"!=typeof s)throw TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},
vendor: 589 bytes, line 49
49"get-substitution.js":function t(e,n,t){var r=e("../internals/to-object"),i=Math.floor,s="".replace,o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,c,u){var f=n+t.length,p=l.length,d=a;return void 0!==c&&(c=r(c),d=o),s.call(u,d,(function(r,s){var o;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(f);case"<":o=c[s.slice(1,-1)];break;default:var a=+s;if(0===a)return r;if(a>p){var u=i(a/10);return 0===u?r:u<=p?void 0===l[u-1]?s.charAt(1):l[u-1]+s.charAt(1):r}o=l[a-1]}return void 0===o?"":o}))}},
49"species-constructor.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/a-function"),s,o=e("../internals/well-known-symbol")("species");t.exports=function(t,e){var n=r(t).constructor,s;return void 0===n||null==(s=r(n)[o])?e:i(s)}},
49"not-a-regexp.js":function t(e,n,t){var r=e("../internals/is-regexp");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},
49"correct-is-regexp-logic.js":function t(e,n,t){var r,i=e("../internals/well-known-symbol")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(r){}}return!1}},
vendor: 695 bytes, line 49
49"string-pad.js":function t(e,n,t){var r=e("../internals/to-length"),i=e("../internals/string-repeat"),s=e("../internals/require-object-coercible"),o=Math.ceil,a=function(t){return function(e,n,a){var l=String(s(e)),c=l.length,u=void 0===a?" ":String(a),f=r(n),p,d;return f<=c||""==u?l:(p=f-c,(d=i.call(u,o(p/u.length))).length>p&&(d=d.slice(0,p)),t?l+d:d+l)}};t.exports={start:a(!1),end:a(!0)}},"string-repeat.js":function t(e,n,t){"use strict";var r=e("../internals/to-integer"),i=e("../internals/require-object-coercible");t.exports=function t(e){var n=String(i(this)),s="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(s+=n);return s}},
49"string-pad-webkit-bug.js":function t(e,n,t){var r=e("../internals/engine-user-agent");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},
vendor: 323 bytes, line 49
49"string-trim.js":function t(e,n,t){var r=e("../internals/require-object-coercible"),i,s="["+e("../internals/whitespaces")+"]",o=RegExp("^"+s+s+"*"),a=RegExp(s+s+"*$"),l=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},
49"whitespaces.js":function t(e,n,t){t.exports="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff"},
49"string-trim-forced.js":function t(e,n,t){var r=e("../internals/fails"),i=e("../internals/whitespaces"),s="âÂ
á ";t.exports=function(t){return r((function(){return!!i[t]()||s[t]()!=s||i[t].name!==t}))}},
49"create-html.js":function t(e,n,t){var r=e("../internals/require-object-coercible"),i=/"/g;t.exports=function(t,e,n,s){var o=String(r(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(s).replace(i,""")+'"'),a+">"+o+"</"+e+">"}},
49"string-html-forced.js":function t(e,n,t){var r=e("../internals/fails");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},
vendor: 1,520 bytes, line 49
49"collection-weak.js":function t(e,n,t){"use strict";var r=e("../internals/redefine-all"),i=e("../internals/internal-metadata").getWeakData,s=e("../internals/an-object"),o=e("../internals/is-object"),a=e("../internals/an-instance"),l=e("../internals/iterate"),c=e("../internals/array-iteration"),u=e("../internals/has"),f=e("../internals/internal-state"),p=f.set,d=f.getterFor,g=c.find,h=c.findIndex,y=0,b=function(t){return t.frozen||(t.frozen=new v)},v=function(){this.entries=[]},m=function(t,e){return g(t.entries,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){a(t,f,e),p(t,{type:e,id:y++,frozen:void 0}),null!=r&&l(r,t[c],{that:t,AS_ENTRIES:n})})),g=d(e),h=function(t,e,n){var r=g(t),o=i(s(e),!0);return!0===o?b(r).set(e,n):o[r.id]=n,t};return r(f.prototype,{delete:function(t){var e=g(this);if(!o(t))return!1;var n=i(t);return!0===n?b(e).delete(t):n&&u(n,e.id)&&delete n[e.id]},has:function t(e){var n=g(this);if(!o(e))return!1;var r=i(e);return!0===r?b(n).has(e):r&&u(r,n.id)}}),r(f.prototype,n?{get:function t(e){var n=g(this);if(o(e)){var r=i(e);return!0===r?b(n).get(e):r?r[n.id]:void 0}},set:function t(e,n){return h(this,e,n)}}:{add:function t(e){return h(this,e,!0)}}),f}}},
49"number-is-finite.js":function t(e,n,t){var r,i=e("../internals/global").isFinite;t.exports=Number.isFinite||function t(e){return"number"==typeof e&&i(e)}},
49"is-integer.js":function t(e,n,t){var r=e("../internals/is-object"),i=Math.floor;t.exports=function t(e){return!r(e)&&isFinite(e)&&i(e)===e}},
49"number-parse-float.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/string-trim").trim,s=e("../internals/whitespaces"),o=r.parseFloat,a=1/o(s+"-0")!=-1/0;t.exports=a?function t(e){var n=i(String(e)),r=o(n);return 0===r&&"-"==n.charAt(0)?-0:r}:o},
49"number-parse-int.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/string-trim").trim,s=e("../internals/whitespaces"),o=r.parseInt,a=/^[+-]?0[Xx]/,l=8!==o(s+"08")||22!==o(s+"0x16");t.exports=l?function t(e,n){var r=i(String(e));return o(r,n>>>0||(a.test(r)?16:10))}:o},
vendor: 3,667 bytes, line 49
49"typed-array-constructor.js":function t(e,n,t){"use strict";var r=e("../internals/export"),i=e("../internals/global"),s=e("../internals/descriptors"),o=e("../internals/typed-array-constructors-require-wrappers"),a=e("../internals/array-buffer-view-core"),l=e("../internals/array-buffer"),c=e("../internals/an-instance"),u=e("../internals/create-property-descriptor"),f=e("../internals/create-non-enumerable-property"),p=e("../internals/to-length"),d=e("../internals/to-index"),g=e("../internals/to-offset"),h=e("../internals/to-primitive"),y=e("../internals/has"),b=e("../internals/classof"),v=e("../internals/is-object"),m=e("../internals/object-create"),j=e("../internals/object-set-prototype-of"),x=e("../internals/object-get-own-property-names").f,w=e("../internals/typed-array-from"),S=e("../internals/array-iteration").forEach,k=e("../internals/set-species"),E=e("../internals/object-define-property"),O=e("../internals/object-get-own-property-descriptor"),A=e("../internals/internal-state"),M=e("../internals/inherit-if-required"),I=A.get,R=A.set,T=E.f,_=O.f,P=Math.round,N=i.RangeError,F=l.ArrayBuffer,z=l.DataView,L=a.NATIVE_ARRAY_BUFFER_VIEWS,C=a.TYPED_ARRAY_TAG,D=a.TypedArray,U=a.TypedArrayPrototype,W=a.aTypedArrayConstructor,q=a.isTypedArray,V="BYTES_PER_ELEMENT",B="Wrong length",G=function(t,e){for(var n=0,r=e.length,i=new(W(t))(r);r>n;)i[n]=e[n++];return i},$=function(t,e){T(t,e,{get:function(){return I(this)[e]}})},Y=function(t){var e;return t instanceof F||"ArrayBuffer"==(e=b(t))||"SharedArrayBuffer"==e},K=function(t,e){return q(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},H=function t(e,n){return K(e,n=h(n,!0))?u(2,e[n]):_(e,n)},X=function t(e,n,r){return!(K(e,n=h(n,!0))&&v(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?T(e,n,r):(e[n]=r.value,e)};s?(L||(O.f=H,E.f=X,$(U,"buffer"),$(U,"byteOffset"),$(U,"byteLength"),$(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:H,defineProperty:X}),t.exports=function(t,e,n){var s=t.match(/\d+$/)[0]/8,a=t+(n?"Clamped":"")+"Array",l="get"+t,u="set"+t,h=i[a],y=h,b=y&&y.prototype,E={},O=function(t,e){var n=I(t);return n.view[l](e*s+n.byteOffset,!0)},A=function(t,e,r){var i=I(t);n&&(r=(r=P(r))<0?0:r>255?255:255&r),i.view[u](e*s+i.byteOffset,r,!0)},_=function(t,e){T(t,e,{get:function(){return O(this,e)},set:function(t){return A(this,e,t)},enumerable:!0})};L?o&&(y=e((function(t,e,n,r){return c(t,y,a),M(v(e)?Y(e)?void 0!==r?new h(e,g(n,s),r):void 0!==n?new h(e,g(n,s)):new h(e):q(e)?G(y,e):w.call(y,e):new h(d(e)),t,y)})),j&&j(y,D),S(x(h),(function(t){t in y||f(y,t,h[t])})),y.prototype=b):(y=e((function(t,e,n,r){c(t,y,a);var i=0,o=0,l,u,f;if(v(e)){if(!Y(e))return q(e)?G(y,e):w.call(y,e);l=e,o=g(n,s);var h=e.byteLength;if(void 0===r){if(h%s)throw N(B);if((u=h-o)<0)throw N(B)}else if((u=p(r)*s)+o>h)throw N(B);f=u/s}else f=d(e),l=new F(u=f*s);for(R(t,{buffer:l,byteOffset:o,byteLength:u,length:f,view:new z(l)});i<f;)_(t,i++)})),j&&j(y,D),b=y.prototype=m(U)),b.constructor!==y&&f(b,"constructor",y),C&&f(b,C,a),E[a]=y,r({global:!0,forced:y!=h,sham:!L},E),V in y||f(y,V,s),V in b||f(b,V,s),k(a)}):t.exports=function(){}},"typed-array-constructors-require-wrappers.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/fails"),s=e("../internals/check-correctness-of-iteration"),o=e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,a=r.ArrayBuffer,l=r.Int8Array;t.exports=!o||!i((function(){l(1)}))||!i((function(){new l(-1)}))||!s((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||i((function(){return 1!==new l(new a(2),1,void 0).length}))},
49"array-buffer-view-core.js":function t(e,n,t){"use strict";var r=e("../internals/array-buffer-native"),i=e("../internals/descriptors"),s=e("../internals/global"),o=e("../internals/is-object"),a=e("../internals/has"),l=e("../internals/classof"),c=e("../internals/create-non-enumerable-property"),u=e("../internals/redefine"),f=e("../internals/object-define-property").f,p=e("../internals/object-get-prototype-of"),d=e("../internals/object-set-prototype-of"),g=e("../internals/well-known-symbol"),h=e("../internals/uid"),y=s.Int8Array,b=y&&y.prototype,v=s.Uint8ClampedArray,m=v&&v.prototype,j=y&&p(y),x=b&&p(b),w=Object.prototype,S=w.isPrototypeOf,k=g("toStringTag"),E=h("TYPED_ARRAY_TAG"),O=r&&!!d&&"Opera"!==l(s.opera),A=!1,M,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},T=function t(e){if(!o(e))return!1;var n=l(e);return"DataView"===n||a(I,n)||a(R,n)},_=function(t){if(!o(t))return!1;var e=l(t);return a(I,e)||a(R,e)},P=function(t){if(_(t))return t;throw TypeError("Target is not a typed array")},N=function(t){if(d){if(S.call(j,t))return t}else for(var e in I)if(a(I,M)){var n=s[e];if(n&&(t===n||S.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},F=function(t,e,n){if(i){if(n)for(var r in I){var o=s[r];if(o&&a(o.prototype,t))try{delete o.prototype[t]}catch(l){}}x[t]&&!n||u(x,t,n?e:O&&b[t]||e)}},z=function(t,e,n){var r,o;if(i){if(d){if(n)for(r in I)if((o=s[r])&&a(o,t))try{delete o[t]}catch(l){}if(j[t]&&!n)return;try{return u(j,t,n?e:O&&j[t]||e)}catch(l){}}for(r in I)!(o=s[r])||o[t]&&!n||u(o,t,e)}};
vendor: 580 bytes, line 49
49for(M in I)s[M]||(O=!1);if((!O||"function"!=typeof j||j===Function.prototype)&&(j=function t(){throw TypeError("Incorrect invocation")},O))for(M in I)s[M]&&d(s[M],j);if((!O||!x||x===w)&&(x=j.prototype,O))for(M in I)s[M]&&d(s[M].prototype,x);if(O&&p(m)!==x&&d(m,x),i&&!a(x,k))for(M in A=!0,f(x,k,{get:function(){return o(this)?this[E]:void 0}}),I)s[M]&&c(s[M],E,M);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:A&&E,aTypedArray:P,aTypedArrayConstructor:N,exportTypedArrayMethod:F,exportTypedArrayStaticMethod:z,isView:T,isTypedArray:_,TypedArray:j,TypedArrayPrototype:x}},
49"array-buffer-native.js":function t(e,n,t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},
vendor: 3,796 bytes, line 49
49"array-buffer.js":function t(e,n,t){"use strict";var r=e("../internals/global"),i=e("../internals/descriptors"),s=e("../internals/array-buffer-native"),o=e("../internals/create-non-enumerable-property"),a=e("../internals/redefine-all"),l=e("../internals/fails"),c=e("../internals/an-instance"),u=e("../internals/to-integer"),f=e("../internals/to-length"),p=e("../internals/to-index"),d=e("../internals/ieee754"),g=e("../internals/object-get-prototype-of"),h=e("../internals/object-set-prototype-of"),y=e("../internals/object-get-own-property-names").f,b=e("../internals/object-define-property").f,v=e("../internals/array-fill"),m=e("../internals/set-to-string-tag"),j=e("../internals/internal-state"),x=j.get,w=j.set,S="ArrayBuffer",k="DataView",E="prototype",O="Wrong length",A="Wrong index",M=r.ArrayBuffer,I=M,R=r.DataView,T=R&&R.prototype,_=Object.prototype,P=r.RangeError,N=d.pack,F=d.unpack,z=function(t){return[255&t]},L=function(t){return[255&t,t>>8&255]},C=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},D=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},U=function(t){return N(t,23,4)},W=function(t){return N(t,52,8)},q=function(t,e){b(t.prototype,e,{get:function(){return x(this)[e]}})},V=function(t,e,n,r){var i=p(n),s=x(t);if(i+e>s.byteLength)throw P(A);var o=x(s.buffer).bytes,a=i+s.byteOffset,l=o.slice(a,a+e);return r?l:l.reverse()},B=function(t,e,n,r,i,s){var o=p(n),a=x(t);if(o+e>a.byteLength)throw P(A);for(var l=x(a.buffer).bytes,c=o+a.byteOffset,u=r(+i),f=0;f<e;f++)l[c+f]=u[s?f:e-f-1]};if(s){if(!l((function(){M(1)}))||!l((function(){new M(-1)}))||l((function(){return new M,new M(1.5),new M(NaN),M.name!=S}))){for(var G=(I=function t(e){return c(this,I),new M(p(e))}).prototype=M.prototype,$=y(M),Y=0,K;$.length>Y;)(K=$[Y++])in I||o(I,K,M[K]);G.constructor=I}h&&g(T)!==_&&h(T,_);var H=new R(new I(2)),X=T.setInt8;H.setInt8(0,2147483648),H.setInt8(1,2147483649),!H.getInt8(0)&&H.getInt8(1)||a(T,{setInt8:function t(e,n){X.call(this,e,n<<24>>24)},setUint8:function t(e,n){X.call(this,e,n<<24>>24)}},{unsafe:!0})}else I=function t(e){c(this,I,S);var n=p(e);w(this,{bytes:v.call(new Array(n),0),byteLength:n}),i||(this.byteLength=n)},R=function t(e,n,r){c(this,R,k),c(e,I,k);var s=x(e).byteLength,o=u(n);if(o<0||o>s)throw P("Wrong offset");if(o+(r=void 0===r?s-o:f(r))>s)throw P(O);w(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},i&&(q(I,"byteLength"),q(R,"buffer"),q(R,"byteLength"),q(R,"byteOffset")),a(R.prototype,{getInt8:function t(e){return V(this,1,e)[0]<<24>>24},getUint8:function t(e){return V(this,1,e)[0]},getInt16:function t(e){var n=V(this,2,e,arguments.length>1?arguments[1]:void 0);return(n[1]<<8|n[0])<<16>>16},getUint16:function t(e){var n=V(this,2,e,arguments.length>1?arguments[1]:void 0);return n[1]<<8|n[0]},getInt32:function t(e){return D(V(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function t(e){return D(V(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function t(e){return F(V(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function t(e){return F(V(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function t(e,n){B(this,1,e,z,n)},setUint8:function t(e,n){B(this,1,e,z,n)},setInt16:function t(e,n){B(this,2,e,L,n,arguments.length>2?arguments[2]:void 0)},setUint16:function t(e,n){B(this,2,e,L,n,arguments.length>2?arguments[2]:void 0)},setInt32:function t(e,n){B(this,4,e,C,n,arguments.length>2?arguments[2]:void 0)},setUint32:function t(e,n){B(this,4,e,C,n,arguments.length>2?arguments[2]:void 0)},setFloat32:function t(e,n){B(this,4,e,U,n,arguments.length>2?arguments[2]:void 0)},setFloat64:function t(e,n){B(this,8,e,W,n,arguments.length>2?arguments[2]:void 0)}});m(I,S),m(R,k),t.exports={ArrayBuffer:I,DataView:R}},
49"to-index.js":function t(e,n,t){var r=e("../internals/to-integer"),i=e("../internals/to-length");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length or index");return n}},
vendor: 833 bytes, line 49
49"ieee754.js":function t(e,n,t){var r=Math.abs,i=Math.pow,s=Math.floor,o=Math.log,a=Math.LN2,l=function(t,e,n){var l=new Array(n),c=8*n-e-1,u=(1<<c)-1,f=u>>1,p=23===e?i(2,-24)-i(2,-77):0,d=t<0||0===t&&1/t<0?1:0,g=0,h,y,b;for((t=r(t))!=t||t===1/0?(y=t!=t?1:0,h=u):(h=s(o(t)/a),t*(b=i(2,-h))<1&&(h--,b*=2),(t+=h+f>=1?p/b:p*i(2,1-f))*b>=2&&(h++,b/=2),h+f>=u?(y=0,h=u):h+f>=1?(y=(t*b-1)*i(2,e),h+=f):(y=t*i(2,f-1)*i(2,e),h=0));e>=8;l[g++]=255&y,y/=256,e-=8);for(h=h<<e|y,c+=e;c>0;l[g++]=255&h,h/=256,c-=8);return l[--g]|=128*d,l},c=function(t,e){var n=t.length,r=8*n-e-1,s=(1<<r)-1,o=s>>1,a=r-7,l=n-1,c=t[l--],u=127&c,f;for(c>>=7;a>0;u=256*u+t[l],l--,a-=8);for(f=u&(1<<-a)-1,u>>=-a,a+=e;a>0;f=256*f+t[l],l--,a-=8);if(0===u)u=1-o;else{if(u===s)return f?NaN:c?-1/0:1/0;f+=i(2,e),u-=o}return(c?-1:1)*f*i(2,u-e)};t.exports={pack:l,unpack:c}},
49"to-offset.js":function t(e,n,t){var r=e("../internals/to-positive-integer");t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},
49"to-positive-integer.js":function t(e,n,t){var r=e("../internals/to-integer");t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},
49"typed-array-from.js":function t(e,n,t){var r=e("../internals/to-object"),i=e("../internals/to-length"),s=e("../internals/get-iterator-method"),o=e("../internals/is-array-iterator-method"),a=e("../internals/function-bind-context"),l=e("../internals/array-buffer-view-core").aTypedArrayConstructor;t.exports=function t(e){var n=r(e),c=arguments.length,u=c>1?arguments[1]:void 0,f=void 0!==u,p=s(n),d,g,h,y,b,v;if(null!=p&&!o(p))for(v=(b=p.call(n)).next,n=[];!(y=v.call(b)).done;)n.push(y.value);for(f&&c>2&&(u=a(u,arguments[2],2)),g=i(n.length),h=new(l(this))(g),d=0;g>d;d++)h[d]=f?u(n[d],d):n[d];return h}}}}}}}}},{extensions:[".js",".json"]}),u=c("/node_modules/meteor/ecmascript-runtime-client/legacy.js");Package._define("ecmascript-runtime-client",u,{Symbol:o,Map:a,Set:l})}(); 50 51!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,n=Package.meteor.meteorEnv,a=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,l=Package.promise.Promise,o=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,u=Package["ecmascript-runtime-client"].Set,c,i=a({node_modules:{meteor:{base64:{
51"base64.js":function e(r,n,e){e.export({Base64:function(){return f}});for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=Object.create(null),l=function(e){return a.charAt(e)},o=function(e){return"="===e?-1:t[e]},s=0;s<a.length;s++)t[l(s)]=s;var u=function(e){if("string"==typeof e){var r=e;e=c(r.length);for(var n=0;n<r.length;n++){var a=r.charCodeAt(n);if(a>255)throw new Error("Not ascii. Base64.encode can only take ascii strings.");e[n]=a}}for(var t=[],o=null,s=null,u=null,i=null,f=0;f<e.length;f++)switch(f%3){case 0:o=e[f]>>2&63,s=(3&e[f])<<4;break;case 1:s|=e[f]>>4&15,u=(15&e[f])<<2;break;case 2:u|=e[f]>>6&3,i=63&e[f],t.push(l(o)),t.push(l(s)),t.push(l(u)),t.push(l(i)),o=null,s=null,u=null,i=null}return null!=o&&(t.push(l(o)),t.push(l(s)),null==u?t.push("="):t.push(l(u)),null==i&&t.push("=")),t.join("")},c=function(e){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer){for(var r=[],n=0;n<e;n++)r.push(0);return r.$Uint8ArrayPolyfill=!0,r}return new Uint8Array(new ArrayBuffer(e))},i,f={encode:u,decode:function(e){var r=Math.floor(3*e.length/4);"="==e.charAt(e.length-1)&&(r--,"="==e.charAt(e.length-2)&&r--);for(var n=c(r),a=null,t=null,l=null,s=0,u=0;u<e.length;u++){var i=e.charAt(u),f=o(i);switch(u%4){case 0:if(f<0)throw new Error("invalid base64 string");a=f<<2;break;case 1:if(f<0)throw new Error("invalid base64 string");a|=f>>4,n[s++]=a,t=(15&f)<<4;break;case 2:f>=0&&(t|=f>>2,n[s++]=t,l=(3&f)<<6);break;case 3:f>=0&&(n[s++]=l|f)}}return n},newBinary:c}}}}}},{extensions:[".js",".json"]}),f=i("/node_modules/meteor/base64/base64.js");Package._define("base64",f,{Base64:c})}(); 52 53!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,t=Package.base64.Base64,u=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,o=Package["ecmascript-runtime-client"].Symbol,c=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,l,s=u({node_modules:{meteor:{ejson:{
53"ejson.js":function e(r,u,e){var a,i,o,f,l,s,m,y,O;e.export({EJSON:function(){return g}}),e.link("./utils",{isFunction:function(n){a=n},isObject:function(n){i=n},keysOf:function(n){o=n},lengthOf:function(n){f=n},hasOwn:function(n){l=n},convertMapToObject:function(n){s=n},isArguments:function(n){m=n},isInfOrNaN:function(n){y=n},handleError:function(n){O=n}},0);var g={},N=new c;g.addType=function(n,e){if(N.has(n))throw new Error("Type "+n+" already present");N.set(n,e)};var h=[{matchJSONValue:function(n){return l(n,"$date")&&1===f(n)},matchObject:function(n){return n instanceof Date},toJSONValue:function(n){return{$date:n.getTime()}},fromJSONValue:function(n){return new Date(n.$date)}},{matchJSONValue:function(n){return l(n,"$regexp")&&l(n,"$flags")&&2===f(n)},matchObject:function(n){return n instanceof RegExp},toJSONValue:function(n){return{$regexp:n.source,$flags:n.flags}},fromJSONValue:function(n){return new RegExp(n.$regexp,n.$flags.slice(0,50).replace(/[^gimuy]/g,"").replace(/(.)(?=.*\1)/g,""))}},{matchJSONValue:function(n){return l(n,"$InfNaN")&&1===f(n)},matchObject:y,toJSONValue:function(n){var e;return{$InfNaN:e=Number.isNaN(n)?0:n===1/0?1:-1}},fromJSONValue:function(n){return n.$InfNaN/0}},{matchJSONValue:function(n){return l(n,"$binary")&&1===f(n)},matchObject:function(n){return"undefined"!=typeof Uint8Array&&n instanceof Uint8Array||n&&l(n,"$Uint8ArrayPolyfill")},toJSONValue:function(n){return{$binary:t.encode(n)}},fromJSONValue:function(n){return t.decode(n.$binary)}},{matchJSONValue:function(n){return l(n,"$escape")&&1===f(n)},matchObject:function(n){var e=!1;if(n){var r=f(n);1!==r&&2!==r||(e=h.some((function(e){return e.matchJSONValue(n)})))}return e},toJSONValue:function(n){var e={};
53return o(n).forEach((function(r){e[r]=g.toJSONValue(n[r])})),{$escape:e}},fromJSONValue:function(n){var e={};return o(n.$escape).forEach((function(r){e[r]=g.fromJSONValue(n.$escape[r])})),e}},{matchJSONValue:function(n){return l(n,"$type")&&l(n,"$value")&&2===f(n)},matchObject:function(n){return g._isCustomType(n)},toJSONValue:function(e){var r=n._noYieldsAllowed((function(){return e.toJSONValue()}));return{$type:e.typeName(),$value:r}},fromJSONValue:function(e){var r=e.$type;if(!N.has(r))throw new Error("Custom EJSON type "+r+" is not defined");var t=N.get(r);return n._noYieldsAllowed((function(){return t(e.$value)}))}}];g._isCustomType=function(n){return n&&a(n.toJSONValue)&&a(n.typeName)&&N.has(n.typeName())},g._getTypes=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return n?N:s(N)},g._getConverters=function(){return h};var p=function(n){for(var e=0;e<h.length;e++){var r=h[e];if(r.matchObject(n))return r.toJSONValue(n)}},v=function(n){if(null===n)return null;var e=p(n);return void 0!==e?e:i(n)?(o(n).forEach((function(e){var r=n[e];if(i(r)||void 0===r||y(r)){var t=p(r);t?n[e]=t:v(r)}})),n):n};g._adjustTypesToJSONValue=v,g.toJSONValue=function(n){var e=p(n);if(void 0!==e)return e;var r=n;return i(n)&&(r=g.clone(n),v(r)),r};var d=function(n){if(i(n)&&null!==n){var e=o(n);if(e.length<=2&&e.every((function(n){return"string"==typeof n&&"$"===n.substr(0,1)})))for(var r=0;r<h.length;r++){var t=h[r];if(t.matchJSONValue(n))return t.fromJSONValue(n)}}return n},S=function(n){if(null===n)return null;var e=d(n);return e!==n?e:i(n)?(o(n).forEach((function(e){var r=n[e];if(i(r)){var t=d(r);if(r!==t)return void(n[e]=t);S(r)}})),n):n};g._adjustTypesFromJSONValue=S,g.fromJSONValue=function(n){var e=d(n);return e===n&&i(n)&&(e=g.clone(n),S(e)),e},g.stringify=O((function(n,r){var t,u=g.toJSONValue(n),a;r&&(r.canonical||r.indent)?(e.link("./stringify",{default:function(n){a=n}},1),t=a(u,r)):t=JSON.stringify(u);return t})),g.parse=function(n){if("string"!=typeof n)throw new Error("EJSON.parse argument should be a string");return g.fromJSONValue(JSON.parse(n))},g.isBinary=function(n){return!!("undefined"!=typeof Uint8Array&&n instanceof Uint8Array||n&&n.$Uint8ArrayPolyfill)},g.equals=function(n,e,r){var t,u=!(!r||!r.keyOrderSensitive),c;if(n===e)return!0;if(Number.isNaN(n)&&Number.isNaN(e))return!0;if(!n||!e)return!1;if(!i(n)||!i(e))return!1;if(n instanceof Date&&e instanceof Date)return n.valueOf()===e.valueOf();if(g.isBinary(n)&&g.isBinary(e)){if(n.length!==e.length)return!1;for(t=0;t<n.length;t++)if(n[t]!==e[t])return!1;return!0}if(a(n.equals))return n.equals(e,r);if(a(e.equals))return e.equals(n,r);if(n instanceof Array){if(!(e instanceof Array))return!1;if(n.length!==e.length)return!1;for(t=0;t<n.length;t++)if(!g.equals(n[t],e[t],r))return!1;return!0}switch(g._isCustomType(n)+g._isCustomType(e)){case 1:return!1;case 2:return g.equals(g.toJSONValue(n),g.toJSONValue(e))}var f=o(n),s=o(e);return u?(t=0,c=f.every((function(u){return!(t>=s.length)&&(u===s[t]&&(!!g.equals(n[u],e[s[t]],r)&&(t++,!0)))}))):(t=0,c=f.every((function(u){return!!l(e,u)&&(!!g.equals(n[u],e[u],r)&&(t++,!0))}))),c&&t===s.length},g.clone=function(n){var e;if(!i(n))return n;if(null===n)return null;if(n instanceof Date)return new Date(n.getTime());if(n instanceof RegExp)return n;if(g.isBinary(n)){e=g.newBinary(n.length);for(var r=0;r<n.length;r++)e[r]=n[r];return e}return Array.isArray(n)?n.map(g.clone):m(n)?Array.from(n).map(g.clone):a(n.clone)?n.clone():g._isCustomType(n)?g.fromJSONValue(g.clone(g.toJSONValue(n)),!0):(e={},o(n).forEach((function(r){e[r]=g.clone(n[r])})),e)},g.newBinary=t.newBinary},
53"stringify.js":function n(e,r,n){var t;function u(n){return JSON.stringify(n)}n.link("@babel/runtime/helpers/typeof",{default:function(n){t=n}},0);var a=function(n,e,r,i,o){var c=e[n];switch(t(c)){case"string":return u(c);case"number":return isFinite(c)?String(c):"null";case"boolean":return String(c);case"object":if(!c)return"null";var f=i+r,l=[],s;if(Array.isArray(c)||{}.hasOwnProperty.call(c,"callee")){for(var m=c.length,y=0;y<m;y+=1)l[y]=a(y,c,r,f,o)||"null";return s=0===l.length?"[]":f?"[\n"+f+l.join(",\n"+f)+"\n"+i+"]":"["+l.join(",")+"]"}var O=Object.keys(c);return o&&(O=O.sort()),O.forEach((function(n){(s=a(n,c,r,f,o))&&l.push(u(n)+(f?": ":":")+s)})),s=0===l.length?"{}":f?"{\n"+f+l.join(",\n"+f)+"\n"+i+"}":"{"+l.join(",")+"}"}},i=function(n,e){var r=Object.assign({indent:"",canonical:!1},e);if(!0===r.indent)r.indent=" ";else if("number"==typeof r.indent){for(var t="",u=0;u<r.indent;u++)t+=" ";r.indent=t}return a("",{"":n},r.indent,"",r.canonical)};n.exportDefault(i)},
53"utils.js":function n(e,r,n){var t,u;n.link("@babel/runtime/helpers/slicedToArray",{default:function(n){t=n}},0),n.link("@babel/runtime/helpers/typeof",{default:function(n){u=n}},1),n.export({isFunction:function(){return a},isObject:function(){return i},keysOf:function(){return o},lengthOf:function(){return c},hasOwn:function(){return f},convertMapToObject:function(){return l},isArguments:function(){return s},isInfOrNaN:function(){return m},checkError:function(){return y},handleError:function(){return O}});var a=function(n){return"function"==typeof n},i=function(n){return"object"===u(n)},o=function(n){return Object.keys(n)},c=function(n){return Object.keys(n).length},f=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},l=function(n){return Array.from(n).reduce((function(n,e){var r=t(e,2),u=r[0],a=r[1];return n[u]=a,n}),{})},s=function(n){return null!=n&&f(n,"callee")},m=function(n){return Number.isNaN(n)||n===1/0||n===-1/0},y={maxStack:function(n){return new RegExp("Maximum call stack size exceeded","g").test(n)}},O=function(n){return function(){try{return n.apply(this,arguments)}catch(r){var e=y.maxStack(r.message);if(e)throw new Error("Converting circular structure to JSON");throw r}}}}}}}},{extensions:[".js",".json"]}),m=s("/node_modules/meteor/ejson/ejson.js");Package._define("ejson",m,{EJSON:l})}(); 54 55!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,r=Package.meteor.meteorEnv,i=Package.ejson.EJSON,d=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,a=Package.promise.Promise,t=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,l,u=d({node_modules:{meteor:{"diff-sequence":{
55"diff.js":function n(r,d,n){n.export({DiffSequence:function(){return a}});var a={},t=Object.prototype.hasOwnProperty;function f(e){for(var n in o.sanitizeForInObject(Object(e)))if(t.call(e,n))return!1;return!0}a.diffQueryChanges=function(e,n,r,i,d){e?a.diffQueryOrderedChanges(n,r,i,d):a.diffQueryUnorderedChanges(n,r,i,d)},a.diffQueryUnorderedChanges=function(e,n,r,d){var o=(d=d||{}).projectionFn||i.clone;if(r.movedBefore)throw new Error("_diffQueryUnordered called with a movedBefore observer!");n.forEach((function(n,d){var t=e.get(d);if(t){if(r.changed&&!i.equals(t,n)){var c=o(n),l=o(t),u=a.makeChangedFields(c,l);f(u)||r.changed(d,u)}}else if(r.added){var s=o(n);delete s._id,r.added(n._id,s)}})),r.removed&&e.forEach((function(e,i){n.has(i)||r.removed(i)}))},a.diffQueryOrderedChanges=function(n,r,d,o){var c=(o=o||{}).projectionFn||i.clone,l={};r.forEach((function(n){l[n._id]&&e._debug("Duplicate _id in new_results"),l[n._id]=!0}));var u={};n.forEach((function(n,r){n._id in u&&e._debug("Duplicate _id in old_results"),u[n._id]=r}));for(var s=[],h=0,g=r.length,m=new Array(g),v=new Array(g),_=function(e){return u[r[e]._id]},y=0;y<g;y++)if(void 0!==u[r[y]._id]){for(var O=h;O>0&&!(_(m[O-1])<_(y));)O--;v[y]=0===O?-1:m[O-1],m[O]=y,O+1>h&&(h=O+1)}for(var p=0===h?-1:m[h-1];p>=0;)s.push(p),p=v[p];s.reverse(),s.push(r.length),n.forEach((function(e){l[e._id]||d.removed&&d.removed(e._id)}));var b=0;s.forEach((function(e){for(var i=r[e]?r[e]._id:null,o,l,s,h,g,m=b;m<e;m++)l=r[m],t.call(u,l._id)?(o=n[u[l._id]],h=c(l),g=c(o),f(s=a.makeChangedFields(h,g))||d.changed&&d.changed(l._id,s),d.movedBefore&&d.movedBefore(l._id,i)):(delete(s=c(l))._id,d.addedBefore&&d.addedBefore(l._id,s,i),d.added&&d.added(l._id,s));i&&(l=r[e],o=n[u[l._id]],h=c(l),g=c(o),f(s=a.makeChangedFields(h,g))||d.changed&&d.changed(l._id,s)),b=e+1}))},a.diffObjects=function(e,n,r){Object.keys(e).forEach((function(i){var d=e[i];t.call(n,i)?r.both&&r.both(i,d,n[i]):r.leftOnly&&r.leftOnly(i,d)})),r.rightOnly&&Object.keys(n).forEach((function(i){var d=n[i];t.call(e,i)||r.rightOnly(i,d)}))},a.diffMaps=function(e,n,r){e.forEach((function(e,i){n.has(i)?r.both&&r.both(i,e,n.get(i)):r.leftOnly&&r.leftOnly(i,e)})),r.rightOnly&&n.forEach((function(n,i){e.has(i)||r.rightOnly(i,n)}))},a.makeChangedFields=function(e,n){var r={};return a.diffObjects(n,e,{leftOnly:function(e,n){r[e]=void 0},rightOnly:function(e,n){r[e]=n},both:function(e,n,d){i.equals(n,d)||(r[e]=d)}}),r},a.applyChanges=function(e,n){Object.keys(n).forEach((function(r){var i=n[r];"undefined"==typeof i?delete e[r]:e[r]=i}))}}}}}},{extensions:[".js",".json"]}),s=u("/node_modules/meteor/diff-sequence/diff.js");Package._define("diff-sequence",s,{DiffSequence:l})}(); 56 57!function(){var t=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,e=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,r,i=e({node_modules:{meteor:{"geojson-utils":{
57"main.js":function t(n,o){o.GeoJSON=n("./geojson-utils.js")},
57"geojson-utils.js":function t(n,o,t){!function(){var n={};function o(t){for(var n=[],o=[],e=0;e<t[0].length;e++)n.push(t[0][e][1]),o.push(t[0][e][0]);return n=n.sort((function(t,n){return t-n})),o=o.sort((function(t,n){return t-n})),[[n[0],o[0]],[n[n.length-1],o[o.length-1]]]}function e(t,n,o){for(var e=[[0,0]],a=0;a<o.length;a++){for(var r=0;r<o[a].length;r++)e.push(o[a][r]);e.push([0,0])}for(var i=!1,a=0,r=e.length-1;a<e.length;r=a++)e[a][0]>n!=e[r][0]>n&&t<(e[r][1]-e[a][1])*(n-e[a][0])/(e[r][0]-e[a][0])+e[a][1]&&(i=!i);return i}"undefined"!=typeof t&&t.exports&&(t.exports=n),n.lineStringsIntersect=function(t,n){for(var o=[],e=0;e<=t.coordinates.length-2;++e)for(var a=0;a<=n.coordinates.length-2;++a){var r={x:t.coordinates[e][1],y:t.coordinates[e][0]},i={x:t.coordinates[e+1][1],y:t.coordinates[e+1][0]},s={x:n.coordinates[a][1],y:n.coordinates[a][0]},c={x:n.coordinates[a+1][1],y:n.coordinates[a+1][0]},u,h,d=(c.y-s.y)*(i.x-r.x)-(c.x-s.x)*(i.y-r.y);if(0!=d){var l=((c.x-s.x)*(r.y-s.y)-(c.y-s.y)*(r.x-s.x))/d,g=((i.x-r.x)*(r.y-s.y)-(i.y-r.y)*(r.x-s.x))/d;0<=l&&l<=1&&0<=g&&g<=1&&o.push({type:"Point",coordinates:[r.x+l*(i.x-r.x),r.y+l*(i.y-r.y)]})}}return 0==o.length&&(o=!1),o},n.pointInBoundingBox=function(t,n){return!(t.coordinates[1]<n[0][0]||t.coordinates[1]>n[1][0]||t.coordinates[0]<n[0][1]||t.coordinates[0]>n[1][1])},n.pointInPolygon=function(t,a){for(var r="Polygon"==a.type?[a.coordinates]:a.coordinates,i=!1,s=0;s<r.length;s++)n.pointInBoundingBox(t,o(r[s]))&&(i=!0);if(!i)return!1;for(var c=!1,s=0;s<r.length;s++)e(t.coordinates[1],t.coordinates[0],r[s])&&(c=!0);return c},n.numberToRadius=function(t){return t*Math.PI/180},n.numberToDegree=function(t){return 180*t/Math.PI},n.drawCircle=function(t,o,e){for(var a=[o.coordinates[1],o.coordinates[0]],r=t/1e3/6371,i=[n.numberToRadius(a[0]),n.numberToRadius(a[1])],e=e||15,s=[[a[0],a[1]]],c=0;c<e;c++){var u=2*Math.PI*c/e,h=Math.asin(Math.sin(i[0])*Math.cos(r)+Math.cos(i[0])*Math.sin(r)*Math.cos(u)),d=i[1]+Math.atan2(Math.sin(u)*Math.sin(r)*Math.cos(i[0]),Math.cos(r)-Math.sin(i[0])*Math.sin(h));s[c]=[],s[c][1]=n.numberToDegree(h),s[c][0]=n.numberToDegree(d)}return{type:"Polygon",coordinates:[s]}},n.rectangleCentroid=function(t){var n=t.coordinates[0],o=n[0][0],e=n[0][1],a,r,i,s;return{type:"Point",coordinates:[o+(n[2][0]-o)/2,e+(n[2][1]-e)/2]}},n.pointDistance=function(t,o){var e=t.coordinates[0],a=t.coordinates[1],r=o.coordinates[0],i=o.coordinates[1],s=n.numberToRadius(i-a),c=n.numberToRadius(r-e),u=Math.pow(Math.sin(s/2),2)+Math.cos(n.numberToRadius(a))*Math.cos(n.numberToRadius(i))*Math.pow(Math.sin(c/2),2),h;return 6371*(2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u)))*1e3},n.geometryWithinRadius=function(t,o,e){if("Point"==t.type)return n.pointDistance(t,o)<=e;if("LineString"==t.type||"Polygon"==t.type){var a={},r;for(var i in r="Polygon"==t.type?t.coordinates[0]:t.coordinates)if(a.coordinates=r[i],n.pointDistance(a,o)>e)return!1}return!0},n.area=function(t){for(var n=0,o=t.coordinates[0],e=o.length-1,a,r,i=0;i<o.length;e=i++){var a={x:o[i][1],y:o[i][0]},r={x:o[e][1],y:o[e][0]};n+=a.x*r.y,n-=a.y*r.x}return n/=2},n.centroid=function(t){for(var o,e=0,a=0,r=t.coordinates[0],i=r.length-1,s,c,u=0;u<r.length;i=u++){var s={x:r[u][1],y:r[u][0]},c={x:r[i][1],y:r[i][0]};e+=(s.x+c.x)*(o=s.x*c.y-c.x*s.y),a+=(s.y+c.y)*o}return{type:"Point",coordinates:[a/(o=6*n.area(t)),e/o]}},n.simplify=function(t,n){var o,e,a,r,i,s,c,u,h,d,l,g,M,y,f,x,m,p,v;n=n||20,t=t.map((function(t){return{lng:t.coordinates[0],lat:t.coordinates[1]}}));var P=Math.PI/180*.5,b=new Array,T=new Array,I=new Array;if(t.length<3)return t;for(o=t.length,d=360*n/(2*Math.PI*6378137),d*=d,a=0,T[0]=0,I[0]=o-1,e=1;e>0;)if(r=T[e-1],i=I[e-1],e--,i-r>1){for(l=t[i].lng()-t[r].lng(),g=t[i].lat()-t[r].lat(),Math.abs(l)>180&&(l=360-Math.abs(l)),M=(l*=Math.cos(P*(t[i].lat()+t[r].lat())))*l+g*g,s=r+1,c=r,h=-1;s<i;s++)y=t[s].lng()-t[r].lng(),f=t[s].lat()-t[r].lat(),Math.abs(y)>180&&(y=360-Math.abs(y)),x=(y*=Math.cos(P*(t[s].lat()+t[r].lat())))*y+f*f,m=t[s].lng()-t[i].lng(),p=t[s].lat()-t[i].lat(),Math.abs(m)>180&&(m=360-Math.abs(m)),(u=x>=M+(v=(m*=Math.cos(P*(t[s].lat()+t[i].lat())))*m+p*p)?v:v>=M+x?x:(y*g-f*l)*(y*g-f*l)/M)>h&&(c=s,h=u);h<d?(b[a]=r,a++):(T[++e-1]=c,I[e-1]=i,T[++e-1]=r,I[e-1]=c)}else b[a]=r,a++;b[a]=o-1,a++;for(var j=new Array,s=0;s<a;s++)j.push(t[b[s]]);return j.map((function(t){return{type:"Point",coordinates:[t.lng,t.lat]}}))},n.destinationPoint=function(t,o,e){e/=6371,o=n.numberToRadius(o);var a=n.numberToRadius(t.coordinates[0]),r=n.numberToRadius(t.coordinates[1]),i=Math.asin(Math.sin(a)*Math.cos(e)+Math.cos(a)*Math.sin(e)*Math.cos(o)),s=r+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(a),Math.cos(e)-Math.sin(a)*Math.sin(i));return s=(s+3*Math.PI)%(2*Math.PI)-Math.PI,{type:"Point",coordinates:[n.numberToDegree(i),n.numberToDegree(s)]}}}()}}}}},{extensions:[".js",".json"]}),s=i("/node_modules/meteor/geojson-utils/main.js");Package._define("geojson-utils",s,{GeoJSON:r})}(); 58 59!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.ejson.EJSON,r=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,s=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,f,m=r({node_modules:{meteor:{"id-map":{
59"id-map.js":function e(t,n,e){var r,a;e.link("@babel/runtime/helpers/createForOfIteratorHelperLoose",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/slicedToArray",{default:function(e){a=e}},1),e.export({IdMap:function(){return o}});var o=function(){function e(e,t){this._map=new u,this._idStringify=e||JSON.stringify,this._idParse=t||JSON.parse}var t=e.prototype;return t.get=function(){function e(e){var t=this._idStringify(e);return this._map.get(t)}return e}(),t.set=function(){function e(e,t){var n=this._idStringify(e);this._map.set(n,t)}return e}(),t.remove=function(){function e(e){var t=this._idStringify(e);this._map.delete(t)}return e}(),t.has=function(){function e(e){var t=this._idStringify(e);return this._map.has(t)}return e}(),t.empty=function(){function e(){return 0===this._map.size}return e}(),t.clear=function(){function e(){this._map.clear()}return e}(),t.forEach=function(){function e(e){for(var t=r(this._map),n;!(n=t()).done;){var i=n.value,o=a(i,2),s=o[0],u=o[1],c;if(!1===e.call(null,u,this._idParse(s)))return}}return e}(),t.size=function(){function e(){return this._map.size}return e}(),t.setDefault=function(){function e(e,t){var n=this._idStringify(e);return this._map.has(n)?this._map.get(n):(this._map.set(n,t),t)}return e}(),t.clone=function(){function t(){var t=new e(this._idStringify,this._idParse);return this._map.forEach((function(e,n){t._map.set(n,i.clone(e))})),t}return t}(),e}()}}}}},{extensions:[".js",".json"]}),l=m("/node_modules/meteor/id-map/id-map.js");Package._define("id-map",l,{IdMap:f})}(); 60 61!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,d,f=r({node_modules:{meteor:{random:{
61"main_client.js":function n(e,t,n){var r,o,i,a;n.export({Random:function(){return u}}),n.link("./BrowserRandomGenerator",{default:function(n){r=n}},0),n.link("./createAleaGenerator",{default:function(n){o=n}},1),n.link("./createRandom",{default:function(n){i=n}},2),a="undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues?new r:o();var u=i(a)},
61"AbstractRandomGenerator.js":function n(e,t,n){var r;n.export({default:function(){return a}}),n.link("meteor/meteor",{Meteor:function(n){r=n}},0);var o="23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz",i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_",a=function(){function n(){}var e=n.prototype;return e.fraction=function(){function n(){throw new Error("Unknown random generator type")}return n}(),e.hexString=function(){function n(n){return this._randomString(n,"0123456789abcdef")}return n}(),e._randomString=function(){function n(n,e){for(var t="",r=0;r<n;r++)t+=this.choice(e);return t}return n}(),e.id=function(){function n(n){return void 0===n&&(n=17),this._randomString(n,o)}return n}(),e.secret=function(){function n(n){return void 0===n&&(n=43),this._randomString(n,i)}return n}(),e.choice=function(){function n(n){var e=Math.floor(this.fraction()*n.length);return"string"==typeof n?n.substr(e,1):n[e]}return n}(),n}()},
61"AleaRandomGenerator.js":function n(e,t,n){var r,o;function i(n){function e(){var n=4022871197,e=function(e){e=e.toString();for(var t=0;t<e.length;t++){var r=.02519603282416938*(n+=e.charCodeAt(t));r-=n=r>>>0,n=(r*=n)>>>0,n+=4294967296*(r-=n)}return 2.3283064365386963e-10*(n>>>0)};return e.version="Mash 0.9",e}var t=0,r=0,o=0,i=1;0===n.length&&(n=[+new Date]);var a=e();t=a(" "),r=a(" "),o=a(" ");for(var u=0;u<n.length;u++)(t-=a(n[u]))<0&&(t+=1),(r-=a(n[u]))<0&&(r+=1),(o-=a(n[u]))<0&&(o+=1);a=null;var c=function(){var n=2091639*t+2.3283064365386963e-10*i;return t=r,r=o,o=n-(i=0|n)};return c.uint32=function(){return 4294967296*c()},c.fract53=function(){return c()+11102230246251565e-32*(2097152*c()|0)},c.version="Alea 0.9",c.args=n,c}n.link("@babel/runtime/helpers/inheritsLoose",{default:function(n){r=n}},0),n.export({default:function(){return a}}),n.link("./AbstractRandomGenerator",{default:function(n){o=n}},0);var a=function(n){function e(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.seeds,o=void 0===r?[]:r;if(e=n.call(this)||this,!o)throw new Error("No seeds were provided for Alea PRNG");return e.alea=i(o),e}var t;return r(e,n),e.prototype.fraction=function(){function n(){return this.alea()}return n}(),e}(o)},
61"BrowserRandomGenerator.js":function n(e,t,n){var r,o;n.link("@babel/runtime/helpers/inheritsLoose",{default:function(n){r=n}},0),n.export({default:function(){return i}}),n.link("./AbstractRandomGenerator",{default:function(n){o=n}},0);var i=function(n){function e(){return n.apply(this,arguments)||this}var t;return r(e,n),e.prototype.fraction=function(){function n(){var n=new Uint32Array(1);return window.crypto.getRandomValues(n),2.3283064365386963e-10*n[0]}return n}(),e}(o)},
61"createAleaGenerator.js":function n(e,t,n){var r;n.export({default:function(){return u}}),n.link("./AleaRandomGenerator",{default:function(n){r=n}},0);var o="undefined"!=typeof window&&window.innerHeight||"undefined"!=typeof document&&document.documentElement&&document.documentElement.clientHeight||"undefined"!=typeof document&&document.body&&document.body.clientHeight||1,i="undefined"!=typeof window&&window.innerWidth||"undefined"!=typeof document&&document.documentElement&&document.documentElement.clientWidth||"undefined"!=typeof document&&document.body&&document.body.clientWidth||1,a="undefined"!=typeof navigator&&navigator.userAgent||"";function u(){return new r({seeds:[new Date,o,i,a,Math.random()]})}},
61"createRandom.js":function n(e,t,n){var r,o;function i(n){return n.createWithSeeds=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];if(0===e.length)throw new Error("No seeds were provided");return new r({seeds:e})},n.insecure=o(),n}n.export({default:function(){return i}}),n.link("./AleaRandomGenerator",{default:function(n){r=n}},0),n.link("./createAleaGenerator",{default:function(n){o=n}},1)}}}}},{extensions:[".js",".json"]}),l=f("/node_modules/meteor/random/main_client.js");Package._define("random",l,{Random:d})}(); 62 63!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.ejson.EJSON,o=Package.random.Random,i=Package.modules.meteorInstall,u=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,l,m=i({node_modules:{meteor:{"mongo-id":{
63"id.js":function e(t,n,e){var r,o,i;e.link("@babel/runtime/helpers/typeof",{default:function(e){r=e}},0),e.export({MongoID:function(){return u}}),e.link("meteor/ejson",{EJSON:function(e){o=e}},0),e.link("meteor/random",{Random:function(e){i=e}},1);var u={_looksLikeObjectID:function(e){return 24===e.length&&e.match(/^[0-9a-f]*$/)}};u.ObjectID=function(){function e(e){if(e){if(e=e.toLowerCase(),!u._looksLikeObjectID(e))throw new Error("Invalid hexadecimal string for creating an ObjectID");this._str=e}else this._str=i.hexString(24)}var t=e.prototype;return t.equals=function(){function e(e){return e instanceof u.ObjectID&&this.valueOf()===e.valueOf()}return e}(),t.toString=function(){function e(){return'ObjectID("'+this._str+'")'}return e}(),t.clone=function(){function e(){return new u.ObjectID(this._str)}return e}(),t.typeName=function(){function e(){return"oid"}return e}(),t.getTimestamp=function(){function e(){return Number.parseInt(this._str.substr(0,8),16)}return e}(),t.valueOf=function(){function e(){return this._str}return e}(),t.toJSONValue=function(){function e(){return this.valueOf()}return e}(),t.toHexString=function(){function e(){return this.valueOf()}return e}(),e}(),o.addType("oid",(function(e){return new u.ObjectID(e)})),u.idStringify=function(e){if(e instanceof u.ObjectID)return e.valueOf();if("string"==typeof e){var t=e.charAt(0);return""===e?e:"-"===t||"~"===t||u._looksLikeObjectID(e)||"{"===t?"-"+e:e}if(void 0===e)return"-";if("object"===r(e)&&null!==e)throw new Error("Meteor does not currently support objects other than ObjectID as ids");return"~"+JSON.stringify(e)},u.idParse=function(e){var t=e.charAt(0);return""===e?e:"-"===e?void 0:"-"===t?e.substr(1):"~"===t?JSON.parse(e.substr(1)):u._looksLikeObjectID(e)?new u.ObjectID(e):e}}}}}},{extensions:[".js",".json"]}),d=m("/node_modules/meteor/mongo-id/id.js");Package._define("mongo-id",d,{MongoID:l})}(); 64 65!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,u=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,c,h=r({node_modules:{meteor:{"ordered-dict":{
65"ordered_dict.js":function t(e,n,t){function r(t,e,n,r){return{key:t,value:e,next:n,prev:r}}t.export({OrderedDict:function(){return i}});var i=function(){function t(){var t=this;this._dict=Object.create(null),this._first=null,this._last=null,this._size=0;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"function"==typeof n[0]?this._stringify=n.shift():this._stringify=function(t){return t},n.forEach((function(e){return t.putBefore(e[0],e[1],null)}))}var e=t.prototype;return e._k=function(){function t(t){return" "+this._stringify(t)}return t}(),e.empty=function(){function t(){return!this._first}return t}(),e.size=function(){function t(){return this._size}return t}(),e._linkEltIn=function(){function t(t){t.next?(t.prev=t.next.prev,t.next.prev=t,t.prev&&(t.prev.next=t)):(t.prev=this._last,this._last&&(this._last.next=t),this._last=t),null!==this._first&&this._first!==t.next||(this._first=t)}return t}(),e._linkEltOut=function(){function t(t){t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next)}return t}(),e.putBefore=function(){function t(t,e,n){if(this._dict[this._k(t)])throw new Error("Item "+t+" already present in OrderedDict");var i=r(t,e,n?this._dict[this._k(n)]:null);if("undefined"==typeof i.next)throw new Error("could not find item to put this one before");this._linkEltIn(i),this._dict[this._k(t)]=i,this._size++}return t}(),e.append=function(){function t(t,e){this.putBefore(t,e,null)}return t}(),e.remove=function(){function t(t){var e=this._dict[this._k(t)];if("undefined"==typeof e)throw new Error("Item "+t+" not present in OrderedDict");return this._linkEltOut(e),this._size--,delete this._dict[this._k(t)],e.value}return t}(),e.get=function(){function t(t){if(this.has(t))return this._dict[this._k(t)].value}return t}(),e.has=function(){function t(t){return Object.prototype.hasOwnProperty.call(this._dict,this._k(t))}return t}(),e.forEach=function(){function e(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=0,i=this._first;null!==i;){var o=e.call(n,i.value,i.key,r);if(o===t.BREAK)return;i=i.next,r++}}return e}(),e.first=function(){function t(){if(!this.empty())return this._first.key}return t}(),e.firstValue=function(){function t(){if(!this.empty())return this._first.value}return t}(),e.last=function(){function t(){if(!this.empty())return this._last.key}return t}(),e.lastValue=function(){function t(){if(!this.empty())return this._last.value}return t}(),e.prev=function(){function t(t){if(this.has(t)){var e=this._dict[this._k(t)];if(e.prev)return e.prev.key}return null}return t}(),e.next=function(){function t(t){if(this.has(t)){var e=this._dict[this._k(t)];if(e.next)return e.next.key}return null}return t}(),e.moveBefore=function(){function t(t,e){var n=this._dict[this._k(t)],r=e?this._dict[this._k(e)]:null;if("undefined"==typeof n)throw new Error("Item to move is not present");if("undefined"==typeof r)throw new Error("Could not find element to move this one before");r!==n.next&&(this._linkEltOut(n),n.next=r,this._linkEltIn(n))}return t}(),e.indexOf=function(){function e(e){var n=this,r=null;return this.forEach((function(i,o,u){if(n._k(o)===n._k(e))return r=u,t.BREAK})),r}return e}(),e._checkRep=function(){function t(){var t=this;Object.keys(this._dict).forEach((function(e){var n=t._dict[e];if(n.next===n)throw new Error("Next is a loop");if(n.prev===n)throw new Error("Prev is a loop")}))}return t}(),t}();i.BREAK={break:!0}}}}}},{extensions:[".js",".json"]}),l=h("/node_modules/meteor/ordered-dict/ordered_dict.js");Package._define("ordered-dict",l,{OrderedDict:c})}(); 66 67!function(){var n=Package.meteor.Meteor,t=Package.meteor.global,e=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,u=Package["ecmascript-runtime-client"].Symbol,a=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,c,f,h=r({node_modules:{meteor:{tracker:{
67"tracker.js":function t(){function e(n){c.currentComputation=n,c.active=!!n}function r(){return"undefined"!=typeof n?n._debug:"undefined"!=typeof console&&console.error?function(){console.error.apply(console,arguments)}:function(){}}function o(t){"undefined"!=typeof n&&n._suppressed_log_expected()&&n._suppress_log(t-1)}function u(n,t){if(v)throw t;var e=["Exception from Tracker "+n+" function:"];if(t.stack&&t.message&&t.name){var i=t.stack.indexOf(t.message);if(i<0||i>t.name.length+2){var u=t.name+": "+t.message;e.push(u)}}e.push(t.stack),o(e.length);for(var a=0;a<e.length;a++)r()(e[a])}function a(t){return"undefined"==typeof n||n.isClient?t:function(){var e=arguments;n._noYieldsAllowed((function(){t.apply(null,e)}))}}f=c={},c.active=!1,c.currentComputation=null;var s=1,h=[],l=!1,p=!1,d=!1,v=!1,m=[];function _(){l||("undefined"!=typeof n?n._setImmediate(c._runFlush):setTimeout(c._runFlush,0),l=!0)}var y=!1;c.Computation=function(){function n(n,t,e){if(!y)throw new Error("Tracker.Computation constructor is private; use Tracker.autorun");y=!1,this.stopped=!1,this.invalidated=!1,this.firstRun=!0,this._id=s++,this._onInvalidateCallbacks=[],this._onStopCallbacks=[],this._parent=t,this._func=n,this._onError=e,this._recomputing=!1;var r=!0;try{this._compute(),r=!1}finally{this.firstRun=!1,r&&this.stop()}}var t=n.prototype;return t.onInvalidate=function(){function n(n){var t=this;if("function"!=typeof n)throw new Error("onInvalidate requires a function");this.invalidated?c.nonreactive((function(){a(n)(t)})):this._onInvalidateCallbacks.push(n)}return n}(),t.onStop=function(){function n(n){var t=this;if("function"!=typeof n)throw new Error("onStop requires a function");this.stopped?c.nonreactive((function(){a(n)(t)})):this._onStopCallbacks.push(n)}return n}(),t.invalidate=function(){function n(){var n=this;if(!this.invalidated){this._recomputing||this.stopped||(_(),h.push(this)),this.invalidated=!0;for(var t=0,e;e=this._onInvalidateCallbacks[t];t++)c.nonreactive((function(){a(e)(n)}));this._onInvalidateCallbacks=[]}}return n}(),t.stop=function(){function n(){var n=this;if(!this.stopped){this.stopped=!0,this.invalidate();for(var t=0,e;e=this._onStopCallbacks[t];t++)c.nonreactive((function(){a(e)(n)}));this._onStopCallbacks=[]}}return n}(),t._compute=function(){function n(){this.invalidated=!1;var n=c.currentComputation;e(this);var t=d;d=!0;try{a(this._func)(this)}finally{e(n),d=t}}return n}(),t._needsRecompute=function(){function n(){return this.invalidated&&!this.stopped}return n}(),t._recompute=function(){function n(){this._recomputing=!0;try{if(this._needsRecompute())try{this._compute()}catch(n){this._onError?this._onError(n):u("recompute",n)}}finally{this._recomputing=!1}}return n}(),t.flush=function(){function n(){this._recomputing||this._recompute()}return n}(),t.run=function(){function n(){this.invalidate(),this.flush()}return n}(),n}(),c.Dependency=function(){function n(){this._dependentsById=Object.create(null)}var t=n.prototype;return t.depend=function(){function n(n){var t=this;if(!n){if(!c.active)return!1;n=c.currentComputation}var e=n._id;return!(e in this._dependentsById)&&(this._dependentsById[e]=n,n.onInvalidate((function(){delete t._dependentsById[e]})),!0)}return n}(),t.changed=function(){function n(){for(var n in i.sanitizeForInObject(this._dependentsById))this._dependentsById[n].invalidate()}return n}(),t.hasDependents=function(){function n(){for(var n in i.sanitizeForInObject(this._dependentsById))return!0;return!1}return n}(),n}(),c.flush=function(n){c._runFlush({finishSynchronously:!0,throwFirstError:n&&n._throwFirstError})},c.inFlush=function(){return p},c._runFlush=function(n){if(c.inFlush())throw new Error("Can't call Tracker.flush while flushing");if(d)throw new Error("Can't flush inside Tracker.autorun");p=!0,l=!0,v=!!(n=n||{}).throwFirstError;var t=0,e=!1;try{for(;h.length||m.length;){for(;h.length;){var r=h.shift();if(r._recompute(),r._needsRecompute()&&h.unshift(r),!n.finishSynchronously&&++t>1e3)return void(e=!0)}if(m.length){var i=m.shift();try{i()}catch(o){u("afterFlush",o)}}}e=!0}finally{if(e||(p=!1,c._runFlush({finishSynchronously:n.finishSynchronously,throwFirstError:!1})),l=!1,p=!1,h.length||m.length){if(n.finishSynchronously)throw new Error("still have more to do?");setTimeout(_,10)}}},c.autorun=function(n,t){if("function"!=typeof n)throw new Error("Tracker.autorun requires a function argument");t=t||{},y=!0;var e=new c.Computation(n,c.currentComputation,t.onError);return c.active&&c.onInvalidate((function(){e.stop()})),e},c.nonreactive=function(n){var t=c.currentComputation;e(null);try{return n()}finally{e(t)}},c.onInvalidate=function(n){if(!c.active)throw new Error("Tracker.onInvalidate requires a currentComputation");c.currentComputation.onInvalidate(n)},c.afterFlush=function(n){m.push(n),_()}}}}}},{extensions:[".js",".json"]});h("/node_modules/meteor/tracker/tracker.js"),Package._define("tracker",{Tracker:c,Deps:f})}(); 68 69!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package["diff-sequence"].DiffSequence,i=Package.ejson.EJSON,o=Package["geojson-utils"].GeoJSON,a=Package["id-map"].IdMap,s=Package["mongo-id"].MongoID,c=Package["ordered-dict"].OrderedDict,u=Package.random.Random,f=Package.tracker.Tracker,l=Package.tracker.Deps,d=Package.modules.meteorInstall,h=Package.modules.meteorBabelHelpers,p=Package.promise.Promise,m=Package["ecmascript-runtime-client"].Symbol,v=Package["ecmascript-runtime-client"].Map,y=Package["ecmascript-runtime-client"].Set,_,g,b,w,$=d({node_modules:{meteor:{minimongo:{
69"minimongo_client.js":function e(r,t,e){e.link("./minimongo_common.js")},
69"common.js":function e(r,t,e){var n,a,s;e.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){n=e}},0),e.link("@babel/runtime/helpers/typeof",{default:function(e){a=e}},1),e.export({hasOwn:function(){return c},ELEMENT_OPERATORS:function(){return u},compileDocumentSelector:function(){return v},equalityElementMatcher:function(){return $},expandArraysInBranches:function(){return j},isIndexable:function(){return S},isNumericKey:function(){return M},isOperatorObject:function(){return C},makeLookupFunction:function(){return x},nothingMatcher:function(){return q},pathsToTree:function(){return F},populateDocumentWithQueryFields:function(){return U},projectionDetails:function(){return Q},regexpElementMatcher:function(){return N}}),e.link("./local_collection.js",{default:function(e){s=e}},0);var c=Object.prototype.hasOwnProperty,u={$lt:P((function(e){return e<0})),$gt:P((function(e){return e>0})),$lte:P((function(e){return e<=0})),$gte:P((function(e){return e>=0})),$mod:{compileElementSelector:function(e){if(!Array.isArray(e)||2!==e.length||"number"!=typeof e[0]||"number"!=typeof e[1])throw Error("argument to $mod must be an array of two numbers");var r=e[0],t=e[1];return function(e){return"number"==typeof e&&e%r===t}}},$in:{compileElementSelector:function(e){if(!Array.isArray(e))throw Error("$in needs an array");var r=e.map((function(e){if(e instanceof RegExp)return N(e);if(C(e))throw Error("cannot nest $ under $in");return $(e)}));return function(e){return void 0===e&&(e=null),r.some((function(r){return r(e)}))}}},$size:{dontExpandLeafArrays:!0,compileElementSelector:function(e){if("string"==typeof e)e=0;else if("number"!=typeof e)throw Error("$size needs a number");return function(r){return Array.isArray(r)&&r.length===e}}},$type:{dontIncludeLeafArrays:!0,compileElementSelector:function(e){if("string"==typeof e){var r={double:1,string:2,object:3,array:4,binData:5,undefined:6,objectId:7,bool:8,date:9,null:10,regex:11,dbPointer:12,javascript:13,symbol:14,javascriptWithScope:15,int:16,timestamp:17,long:18,decimal:19,minKey:-1,maxKey:127};if(!c.call(r,e))throw Error("unknown string alias for $type: "+e);e=r[e]}else{if("number"!=typeof e)throw Error("argument to $type is not a number or a string");if(0===e||e<-1||e>19&&127!==e)throw Error("Invalid numerical $type code: "+e)}return function(r){return void 0!==r&&s._f._type(r)===e}}},$bitsAllSet:{compileElementSelector:function(e){var r=O(e,"$bitsAllSet");return function(e){var t=k(e,r.length);return t&&r.every((function(e,r){return(t[r]&e)===e}))}}},$bitsAnySet:{compileElementSelector:function(e){var r=O(e,"$bitsAnySet");return function(e){var t=k(e,r.length);return t&&r.some((function(e,r){return(~t[r]&e)!==e}))}}},$bitsAllClear:{compileElementSelector:function(e){var r=O(e,"$bitsAllClear");return function(e){var t=k(e,r.length);return t&&r.every((function(e,r){return!(t[r]&e)}))}}},$bitsAnyClear:{compileElementSelector:function(e){var r=O(e,"$bitsAnyClear");return function(e){var t=k(e,r.length);return t&&r.some((function(e,r){return(t[r]&e)!==e}))}}},$regex:{compileElementSelector:function(e,r){if(!("string"==typeof e||e instanceof RegExp))throw Error("$regex has to be a string or RegExp");var t;if(void 0!==r.$options){if(/[^gim]/.test(r.$options))throw new Error("Only the i, m, and g regexp options are supported");var n=e instanceof RegExp?e.source:e;t=new RegExp(n,r.$options)}else t=e instanceof RegExp?e:new RegExp(e);return N(t)}},$elemMatch:{dontExpandLeafArrays:!0,compileElementSelector:function(e,r,t){if(!s._isPlainObject(e))throw Error("$elemMatch need an object");var n=!C(Object.keys(e).filter((function(e){return!c.call(f,e)})).reduce((function(r,t){var n;return Object.assign(r,((n={})[t]=e[t],n))}),{}),!0),i;return i=n?v(e,t,{inElemMatch:!0}):y(e,t),function(e){if(!Array.isArray(e))return!1;for(var r=0;r<e.length;++r){var t=e[r],o=void 0;if(n){if(!S(t))return!1;o=t}else o=[{value:t,dontIterate:!0}];if(i(o).result)return r}return!1}}}},f={$and:function(e,r,t){return h(m(e,r,t))},$or:function(e,r,t){var n=m(e,r,t);return 1===n.length?n[0]:function(e){var r;return{result:n.some((function(r){return r(e).result}))}}},$nor:function(e,r,t){var n=m(e,r,t);return function(e){var r;return{result:n.every((function(r){return!r(e).result}))}}},$where:function(e,r){return r._recordPathUsed(""),r._hasWhere=!0,e instanceof Function||(e=Function("obj","return "+e)),function(r){return{result:e.call(r,r)}}},$comment:function(){return function(){return{result:!0}}}},l={$eq:function(e){return b($(e))},$not:function(e,r,t){return I(y(e,t))},$ne:function(e){return I(b($(e)))},$nin:function(e){return I(b(u.$in.compileElementSelector(e)))},$exists:function(e){var r=b((function(e){return void 0!==e}));return e?r:I(r)},$options:function(e,r){if(!c.call(r,"$regex"))throw Error("$options needs a $regex");return E},$maxDistance:function(e,r){if(!r.$near)throw Error("$maxDistance needs a $near");return E},$all:function(e,r,t){if(!Array.isArray(e))throw Error("$all requires array");if(0===e.length)return q;var n=e.map((function(e){if(C(e))throw Error("no $ expressions in $all");return y(e,t)}));return p(n)},$near:function(e,r,t,n){if(!n)throw Error("$near can't be inside another $ operator");var i,u,f;if(t._hasGeoQuery=!0,s._isPlainObject(e)&&c.call(e,"$geometry"))i=e.$maxDistance,u=e.$geometry,f=function(e){return e?e.type?"Point"===e.type?o.pointDistance(u,e):o.geometryWithinRadius(e,u,i)?0:i+1:o.pointDistance(u,{type:"Point",coordinates:R(e)}):null};else{if(i=r.$maxDistance,!S(e))throw Error("$near argument must be coordinate pair or GeoJSON");u=R(e),f=function(e){return S(e)?w(u,e):null}}return function(e){var r={result:!1};return j(e).every((function(e){var n;if(!t._isUpdate){if("object"!==a(e.value))return!0;
69if(null===(n=f(e.value))||n>i)return!0;if(void 0!==r.distance&&r.distance<=n)return!0}return r.result=!0,r.distance=n,e.arrayIndices?r.arrayIndices=e.arrayIndices:delete r.arrayIndices,!t._isUpdate})),r}}};function d(e){return 0===e.length?E:1===e.length?e[0]:function(r){var t={};return t.result=e.every((function(e){var n=e(r);return n.result&&void 0!==n.distance&&void 0===t.distance&&(t.distance=n.distance),n.result&&n.arrayIndices&&(t.arrayIndices=n.arrayIndices),n.result})),t.result||(delete t.distance,delete t.arrayIndices),t}}var h=d,p=d;function m(e,r,t){if(!Array.isArray(e)||0===e.length)throw Error("$and/$or/$nor must be nonempty array");return e.map((function(e){if(!s._isPlainObject(e))throw Error("$or/$and/$nor entries need to be full objects");return v(e,r,{inElemMatch:t})}))}function v(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Object.keys(e).map((function(n){var i=e[n];if("$"===n.substr(0,1)){if(!c.call(f,n))throw new Error("Unrecognized logical operator: "+n);return r._isSimple=!1,f[n](i,r,t.inElemMatch)}if(t.inElemMatch||r._recordPathUsed(n),"function"!=typeof i){var o=x(n),a=y(i,r,t.isRoot);return function(e){return a(o(e))}}})).filter(Boolean);return h(n)}function y(e,r,t){return e instanceof RegExp?(r._isSimple=!1,b(N(e))):C(e)?B(e,r,t):b($(e))}function b(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){var n=r.dontExpandLeafArrays?t:j(t,r.dontIncludeLeafArrays),i={};return i.result=n.some((function(r){var t=e(r.value);return"number"==typeof t&&(r.arrayIndices||(r.arrayIndices=[t]),t=!0),t&&r.arrayIndices&&(i.arrayIndices=r.arrayIndices),t})),i}}function w(e,r){var t=R(e),n=R(r);return Math.hypot(t[0]-n[0],t[1]-n[1])}function $(e){if(C(e))throw Error("Can't create equalityValueSelector for operator object");return null==e?function(e){return null==e}:function(r){return s._f._equal(e,r)}}function E(e){return{result:!0}}function j(e,r){var t=[];return e.forEach((function(e){var n=Array.isArray(e.value);r&&n&&!e.dontIterate||t.push({arrayIndices:e.arrayIndices,value:e.value}),n&&!e.dontIterate&&e.value.forEach((function(r,n){t.push({arrayIndices:(e.arrayIndices||[]).concat(n),value:r})}))})),t}function O(e,r){if(Number.isInteger(e)&&e>=0)return new Uint8Array(new Int32Array([e]).buffer);if(i.isBinary(e))return new Uint8Array(e.buffer);if(Array.isArray(e)&&e.every((function(e){return Number.isInteger(e)&&e>=0}))){var t=new ArrayBuffer(1+(Math.max.apply(Math,n(e))>>3)),o=new Uint8Array(t);return e.forEach((function(e){o[e>>3]|=1<<(7&e)})),o}throw Error("operand to "+r+" must be a numeric bitmask (representable as a non-negative 32-bit signed integer), a bindata bitmask or an array with bit positions (non-negative integers)")}function k(e,r){if(Number.isSafeInteger(e)){var t=new ArrayBuffer(Math.max(r,2*Uint32Array.BYTES_PER_ELEMENT)),n=new Uint32Array(t,0,2);return n[0]=e%4294967296|0,n[1]=e/4294967296|0,e<0&&(n=new Uint8Array(t,2)).forEach((function(e,r){n[r]=255})),new Uint8Array(t)}return!!i.isBinary(e)&&new Uint8Array(e.buffer)}function A(e,r,t){Object.keys(e).forEach((function(e){if(e.length>r.length&&0===e.indexOf(r+".")||r.length>e.length&&0===r.indexOf(e+"."))throw new Error("cannot infer query fields to set, both paths '"+e+"' and '"+r+"' are matched");if(e===r)throw new Error("cannot infer query fields to set, path '"+r+"' is matched twice")})),e[r]=t}function I(e){return function(r){return{result:!e(r).result}}}function S(e){return Array.isArray(e)||s._isPlainObject(e)}function M(e){return/^[0-9]+$/.test(e)}function C(e,r){if(!s._isPlainObject(e))return!1;var t=void 0;return Object.keys(e).forEach((function(n){var i="$"===n.substr(0,1)||"diff"===n;if(void 0===t)t=i;else if(t!==i){if(!r)throw new Error("Inconsistent operator: "+JSON.stringify(e));t=!1}})),!!t}function P(e){return{compileElementSelector:function(r){if(Array.isArray(r))return function(){return!1};void 0===r&&(r=null);var t=s._f._type(r);return function(n){return void 0===n&&(n=null),s._f._type(n)===t&&e(s._f._cmp(n,r))}}}}function x(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.split("."),i=t.length?t[0]:"",o=t.length>1&&x(t.slice(1).join("."),r),a=function(e){return e.dontIterate||delete e.dontIterate,e.arrayIndices&&!e.arrayIndices.length&&delete e.arrayIndices,e};return function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Array.isArray(e)){if(!(M(i)&&i<e.length))return[];c=c.concat(+i,"x")}var u=e[i];if(!o)return[a({arrayIndices:c,dontIterate:Array.isArray(e)&&Array.isArray(u),value:u})];if(!S(u))return Array.isArray(e)?[]:[a({arrayIndices:c,value:void 0})];var f=[],l=function(e){f.push.apply(f,n(e))};return l(o(u,c)),!Array.isArray(u)||M(t[1])&&r.forSort||u.forEach((function(e,r){s._isPlainObject(e)&&l(o(e,c.concat(r)))})),f}}function q(e){return{result:!1}}function B(e,r,t){var n=Object.keys(e).map((function(n){var i=e[n],o=["$lt","$lte","$gt","$gte"].includes(n)&&"number"==typeof i,a=["$ne","$eq"].includes(n)&&i!==Object(i),s=["$in","$nin"].includes(n)&&Array.isArray(i)&&!i.some((function(e){return e===Object(e)}));if(o||s||a||(r._isSimple=!1),c.call(l,n))return l[n](i,e,r,t);if(c.call(u,n)){var f=u[n];return b(f.compileElementSelector(i,e,r),f)}throw new Error("Unrecognized operator: "+n)}));return p(n)}function F(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e.forEach((function(e){var i=e.split("."),o=n,a;if(i.slice(0,-1).every((function(r,n){if(c.call(o,r)){if(o[r]!==Object(o[r])&&(o[r]=t(o[r],i.slice(0,n+1).join("."),e),o[r]!==Object(o[r])))return!1}else o[r]={};return o=o[r],!0}))){var s=i[i.length-1];c.call(o,s)?o[s]=t(o[s],e,e):o[s]=r(e)}})),n}function R(e){return Array.isArray(e)?e.slice():[e.x,e.y]}function D(e,r,t){t&&Object.getPrototypeOf(t)===Object.prototype?T(e,r,t):t instanceof RegExp||A(e,r,t)}function T(e,r,t){var n=Object.keys(t),i=n.filter((function(e){return"$"!==e[0]}));if(i.length>0||!n.length){if(n.length!==i.length)throw new Error("unknown operator: "+i[0]);K(t,r),A(e,r,t)}else Object.keys(t).forEach((function(n){var i=t[n];
69"$eq"===n?D(e,r,i):"$all"===n&&i.forEach((function(t){return D(e,r,t)}))}))}function U(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.getPrototypeOf(e)===Object.prototype?Object.keys(e).forEach((function(t){var n=e[t];"$and"===t?n.forEach((function(e){return U(e,r)})):"$or"===t?1===n.length&&U(n[0],r):"$"!==t[0]&&D(r,t,n)})):s._selectorIsId(e)&&A(r,"_id",e),r}function Q(e){var r=Object.keys(e).sort();1===r.length&&"_id"===r[0]||r.includes("_id")&&e._id||(r=r.filter((function(e){return"_id"!==e})));var t=null;r.forEach((function(r){var n=!!e[r];if(null===t&&(t=n),t!==n)throw g("You cannot currently mix including and excluding fields.")}));var n=F(r,(function(e){return t}),(function(e,r,t){var n,i;throw g("both "+t+" and "+r+" found in fields option, using both of them may trigger unexpected behavior. Did you mean to use only one of them?")}));return{including:t,tree:n}}function N(e){return function(r){return r instanceof RegExp?r.toString()===e.toString():"string"==typeof r&&(e.lastIndex=0,e.test(r))}}function L(e,r){if(e.includes("."))throw new Error("The dotted field '"+e+"' in '"+r+"."+e+" is not valid for storage.");if("$"===e[0])throw new Error("The dollar ($) prefixed field '"+r+"."+e+" is not valid for storage.")}function K(e,r){e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).forEach((function(t){L(t,r),K(e[t],r+"."+t)}))}_={makeLookupFunction:x},g=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof e&&r.field&&(e+=" for field '"+r.field+"'");var t=new Error(e);return t.name="MinimongoError",t}},
69"cursor.js":function e(r,t,e){var n,o;e.export({default:function(){return a}}),e.link("./local_collection.js",{default:function(e){n=e}},0),e.link("./common.js",{hasOwn:function(e){o=e}},1);var a=function(e){function r(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.collection=e,this.sorter=null,this.matcher=new w.Matcher(r),n._selectorIsIdPerhapsAsObject(r)?this._selectorId=o.call(r,"_id")?r._id:r:(this._selectorId=void 0,(this.matcher.hasGeoQuery()||t.sort)&&(this.sorter=new w.Sorter(t.sort||[]))),this.skip=t.skip||0,this.limit=t.limit,this.fields=t.projection||t.fields,this._projectionFn=n._compileProjection(this.fields||{}),this._transform=n.wrapTransform(t.transform),"undefined"!=typeof f&&(this.reactive=void 0===t.reactive||t.reactive)}var t=r.prototype;return t.count=function(){function e(){return this.reactive&&this._depend({added:!0,removed:!0},!0),this._getRawObjects({ordered:!0}).length}return e}(),t.fetch=function(){function e(){var e=[];return this.forEach((function(r){e.push(r)})),e}return e}(),t[e]=function(){var e=this;this.reactive&&this._depend({addedBefore:!0,removed:!0,changed:!0,movedBefore:!0});var r=0,t=this._getRawObjects({ordered:!0});return{next:function(){if(r<t.length){var n=e._projectionFn(t[r++]);return e._transform&&(n=e._transform(n)),{value:n}}return{done:!0}}}},t.forEach=function(){function e(e,r){var t=this;this.reactive&&this._depend({addedBefore:!0,removed:!0,changed:!0,movedBefore:!0}),this._getRawObjects({ordered:!0}).forEach((function(n,i){n=t._projectionFn(n),t._transform&&(n=t._transform(n)),e.call(r,n,i,t)}))}return e}(),t.getTransform=function(){function e(){return this._transform}return e}(),t.map=function(){function e(e,r){var t=this,n=[];return this.forEach((function(i,o){n.push(e.call(r,i,o,t))})),n}return e}(),t.observe=function(){function e(e){return n._observeFromObserveChanges(this,e)}return e}(),t.observeChanges=function(){function e(e){var r=this,t=n._observeChangesCallbacksAreOrdered(e);if(!e._allow_unordered&&!t&&(this.skip||this.limit))throw new Error("Mu
69st use an ordered observe with skip or limit (i.e. 'addedBefore' for observeChanges or 'addedAt' for observe, instead of 'added').");if(this.fields&&(0===this.fields._id||!1===this.fields._id))throw Error("You may not observe a cursor with {fields: {_id: 0}}");var o,a={cursor:this,dirty:!1,distances:this.matcher.hasGeoQuery()&&t&&new n._IdMap,matcher:this.matcher,ordered:t,projectionFn:this._projectionFn,resultsSnapshot:null,sorter:t&&this.sorter},s;this.reactive&&(s=this.collection.next_qid++,this.collection.queries[s]=a),a.results=this._getRawObjects({ordered:t,distances:a.distances}),this.collection.paused&&(a.resultsSnapshot=t?[]:new n._IdMap);var c=function(e){if(!e)return function(){};var t=r;return function(){var r=this;if(!t.collection.paused){var n=arguments;t.collection._observeQueue.queueTask((function(){e.apply(r,n)}))}}};a.added=c(e.added),a.changed=c(e.changed),a.removed=c(e.removed),t&&(a.addedBefore=c(e.addedBefore),a.movedBefore=c(e.movedBefore)),e._suppress_initial||this.collection.paused||a.results.forEach((function(e){var n=i.clone(e);delete n._id,t&&a.addedBefore(e._id,r._projectionFn(n),null),a.added(e._id,r._projectionFn(n))}));var u=Object.assign(new n.ObserveHandle,{collection:this.collection,stop:function(){r.reactive&&delete r.collection.queries[s]}});return this.reactive&&f.active&&f.onInvalidate((function(){u.stop()})),this.collection._observeQueue.drain(),u}return e}(),t._depend=function(){function e(e,r){if(f.active){var t=new f.Dependency,n=t.changed.bind(t);t.depend();var i={_allow_unordered:r,_suppress_initial:!0};["added","addedBefore","changed","movedBefore","removed"].forEach((function(r){e[r]&&(i[r]=n)})),this.observeChanges(i)}}return e}(),t._getCollectionName=function(){function e(){return this.collection.name}return e}(),t._getRawObjects=function(){function e(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1!==r.applySkipLimit,i=r.ordered?[]:new n._IdMap,o;if(void 0!==this._selectorId){if(t&&this.skip)return i;var a=this.collection._docs.get(this._selectorId);return a&&(r.ordered?i.push(a):i.set(this._selectorId,a)),i}return this.matcher.hasGeoQuery()&&r.ordered&&(r.distances?(o=r.distances).clear():o=new n._IdMap),this.collection._docs.forEach((function(n,a){var s=e.matcher.documentMatches(n);return s.result&&(r.ordered?(i.push(n),o&&void 0!==s.distance&&o.set(a,s.distance)):i.set(a,n)),!t||(!e.limit||e.skip||e.sorter||i.length!==e.limit)})),r.ordered?(this.sorter&&i.sort(this.sorter.getComparator({distances:o})),t&&(this.limit||this.skip)?i.slice(this.skip,this.limit?this.limit+this.skip:i.length):i):i}return e}(),t._publishCursor=function(){function e(e){if(!Package.mongo)throw new Error("Can't publish from Minimongo without the `mongo` package.");if(!this.collection.name)throw new Error("Can't publish a cursor from a collection without a name.");return Package.mongo.Mongo.Collection._publishCursor(this,e,this.collection.name)}return e}(),r}(m.iterator)},
69"local_collection.js":function r(t,o,r){var l,d,h,p,m,v,y,_,b,$,E,j;r.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){l=e}},0),r.link("@babel/runtime/helpers/typeof",{default:function(e){d=e}},1),r.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){h=e}},2),r.link("@babel/runtime/helpers/objectSpread2",{default:function(e){p=e}},3),r.export({default:function(){return O}}),r.link("./cursor.js",{default:function(e){m=e}},0),r.link("./observe_handle.js",{default:function(e){v=e}},1),r.link("./common.js",{hasOwn:function(e){y=e},isIndexable:function(e){_=e},isNumericKey:function(e){b=e},isOperatorObject:function(e){$=e},populateDocumentWithQueryFields:function(e){E=e},projectionDetails:function(e){j=e}},2);var O=function(){function r(t){this.name=t,this._docs=new r._IdMap,this._observeQueue=new e._SynchronousQueue,this.next_qid=1,this.queries=Object.create(null),this._savedOriginals=null,this.paused=!1}var t=r.prototype;return t.find=function(){function e(e,t){return 0===arguments.length&&(e={}),new r.Cursor(this,e,t)}return e}(),t.findOne=function(){function e(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return 0===arguments.length&&(e={}),r.limit=1,this.find(e,r).fetch()[0]}return e}(),t.insert=function(){function t(t,n){var o=this;S(t=i.clone(t)),y.call(t,"_id")||(t._id=r._useOID?new s.ObjectID:u.id());var a=t._id;if(this._docs.has(a))throw g("Duplicate _id '"+a+"'");this._saveOriginal(a,void 0),this._docs.set(a,t);var c=[];return Object.keys(this.queries).forEach((function(e){var n=o.queries[e];if(!n.dirty){var i=n.matcher.documentMatches(t);i.result&&(n.distances&&void 0!==i.distance&&n.distances.set(a,i.distance),n.cursor.skip||n.cursor.limit?c.push(e):r._insertInResults(n,t))}})),c.forEach((function(e){o.queries[e]&&o._recomputeResults(o.queries[e])})),this._observeQueue.drain(),n&&e.defer((function(){n(null,a)})),a}return t}(),t.pauseObservers=function(){function e(){var e=this;this.paused||(this.paused=!0,Object.keys(this.queries).forEach((function(r){var t=e.queries[r];t.resultsSnapshot=i.clone(t.results)})))}return e}(),t.remove=function(){function t(t,n){var o=this;if(this.paused&&!this._savedOriginals&&i.equals(t,{})){var a=this._docs.size();return this._docs.clear(),Object.keys(this.queries).forEach((function(e){var r=o.queries[e];r.ordered?r.results=[]:r.results.clear()})),n&&e.defer((function(){n(null,a)})),a}var s=new w.Matcher(t),c=[];this._eachPossiblyMatchingDoc(t,(function(e,r){s.documentMatches(e).result&&c.push(r)}));for(var u=[],f=[],l=function(e){var r=c[e],t=o._docs.get(r);Object.keys(o.queries).forEach((function(e){var r=o.queries[e];r.dirty||r.matcher.documentMatches(t).result&&(r.cursor.skip||r.cursor.limit?u.push(e):f.push({qid:e,doc:t}))})),o._saveOriginal(r,t),o._docs.remove(r)},d=0;d<c.length;d++)l(d);f.forEach((function(e){var t=o.queries[e.qid];t&&(t.distances&&t.distances.remove(e.doc._id),r._removeFromResults(t,e.doc))})),u.forEach((function(e){var r=o.queries[e];r&&o._recomputeResults(r)})),this._observeQueue.drain();var h=c.length;return n&&e.defer((function(){n(null,h)})),h}return t}(),t.resumeObservers=function(){function e(){var e=this;this.paused&&(this.paused=!1,Object.keys(this.queries).forEach((function(t){var n=e.queries[t];n.dirty?(n.dirty=!1,e._recomputeResults(n,n.resultsSnapshot)):r._diffQueryChanges(n.ordered,n.resultsSnapshot,n.results,n,{projectionFn:n.projectionFn}),n.resultsSnapshot=null})),this._observeQueue.drain())}return e}(),t.retrieveOriginals=function(){function e(){if(!this._savedOriginals)throw new Error("Called retrieveOriginals without saveOriginals");var e=this._savedOriginals;return this._savedOriginals=null,e}return e}(),t.saveOriginals=function(){function e(){if(this._savedOriginals)throw new Error("Called saveOriginals twice without retrieveOriginals");this._savedOriginals=new r._IdMap}return e}(),t.update=function(){function t(t,n,o,a){var s=this;!a&&o instanceof Function&&(a=o,o=null),o||(o={});var c=new w.Matcher(t,!0),u={},f=new r._IdMap,l=r._idsMatchedBySelector(t);
69Object.keys(this.queries).forEach((function(e){var t=s.queries[e];if((t.cursor.skip||t.cursor.limit)&&!s.paused){if(t.results instanceof r._IdMap)return void(u[e]=t.results.clone());if(!(t.results instanceof Array))throw new Error("Assertion failed: query.results not an array");var n=function(e){if(f.has(e._id))return f.get(e._id);var r=l&&!l.some((function(r){return i.equals(r,e._id)}))?e:i.clone(e);return f.set(e._id,r),r};u[e]=t.results.map(n)}}));var d={},h=0,p,m;if(this._eachPossiblyMatchingDoc(t,(function(e,r){var t=c.documentMatches(e);return!(t.result&&(s._saveOriginal(r,e),s._modifyAndNotify(e,n,d,t.arrayIndices),++h,!o.multi))})),Object.keys(d).forEach((function(e){var r=s.queries[e];r&&s._recomputeResults(r,u[e])})),this._observeQueue.drain(),0===h&&o.upsert){var v=r._createUpsertDocument(t,n);!v._id&&o.insertedId&&(v._id=o.insertedId),p=this.insert(v),h=1}return o._returnObject?(m={numberAffected:h},void 0!==p&&(m.insertedId=p)):m=h,a&&e.defer((function(){a(null,m)})),m}return t}(),t.upsert=function(){function e(e,r,t,n){return n||"function"!=typeof t||(n=t,t={}),this.update(e,r,Object.assign({},t,{upsert:!0,_returnObject:!0}),n)}return e}(),t._eachPossiblyMatchingDoc=function(){function e(e,t){var n=this,i=r._idsMatchedBySelector(e);i?i.some((function(e){var r=n._docs.get(e);if(r)return!1===t(r,e)})):this._docs.forEach(t)}return e}(),t._modifyAndNotify=function(){function e(e,t,n,o){var a=this,s={};Object.keys(this.queries).forEach((function(r){var t=a.queries[r];t.dirty||(t.ordered?s[r]=t.matcher.documentMatches(e).result:s[r]=t.results.has(e._id))}));var c=i.clone(e);r._modify(e,t,{arrayIndices:o}),Object.keys(this.queries).forEach((function(t){var i=a.queries[t];if(!i.dirty){var o=i.matcher.documentMatches(e),u=o.result,f=s[t];u&&i.distances&&void 0!==o.distance&&i.distances.set(e._id,o.distance),i.cursor.skip||i.cursor.limit?(f||u)&&(n[t]=!0):f&&!u?r._removeFromResults(i,e):!f&&u?r._insertInResults(i,e):f&&u&&r._updateInResults(i,e,c)}}))}return e}(),t._recomputeResults=function(){function e(e,t){this.paused?e.dirty=!0:(this.paused||t||(t=e.results),e.distances&&e.distances.clear(),e.results=e.cursor._getRawObjects({distances:e.distances,ordered:e.ordered}),this.paused||r._diffQueryChanges(e.ordered,t,e.results,e,{projectionFn:e.projectionFn}))}return e}(),t._saveOriginal=function(){function e(e,r){this._savedOriginals&&(this._savedOriginals.has(e)||this._savedOriginals.set(e,i.clone(r)))}return e}(),r}();O.Cursor=m,O.ObserveHandle=v,O._CachingChangeObserver=function(){function e(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.callbacks&&O._observeChangesCallbacksAreOrdered(r.callbacks);if(y.call(r,"ordered")){if(this.ordered=r.ordered,r.callbacks&&r.ordered!==t)throw Error("ordered option doesn't match callbacks")}else{if(!r.callbacks)throw Error("must provide ordered or callbacks");this.ordered=t}var o=r.callbacks||{};this.ordered?(this.docs=new c(s.idStringify),this.applyChange={addedBefore:function(r,t,n){var a=p({},t);a._id=r,o.addedBefore&&o.addedBefore.call(e,r,i.clone(t),n),o.added&&o.added.call(e,r,i.clone(t)),e.docs.putBefore(r,a,n||null)},movedBefore:function(r,t){var n=e.docs.get(r);o.movedBefore&&o.movedBefore.call(e,r,t),e.docs.moveBefore(r,t||null)}}):(this.docs=new O._IdMap,this.applyChange={added:function(r,t){var n=p({},t);o.added&&o.added.call(e,r,i.clone(t)),n._id=r,e.docs.set(r,n)}}),this.applyChange.changed=function(r,t){var a=e.docs.get(r);if(!a)throw new Error("Unknown id for changed: "+r);o.changed&&o.changed.call(e,r,i.clone(t)),n.applyChanges(a,t)},this.applyChange.removed=function(r){o.removed&&o.removed.call(e,r),e.docs.remove(r)}}return e}(),O._IdMap=function(e){function r(){return e.call(this,s.idStringify,s.idParse)||this}return h(r,e),r}(a),O.wrapTransform=function(e){if(!e)return null;if(e.__wrappedTransform__)return e;var r=function(r){if(!y.call(r,"_id"))throw new Error("can only transform documents with _id");var t=r._id,n=f.nonreactive((function(){return e(r)}));if(!O._isPlainObject(n))throw new Error("transform must return object");if(y.call(n,"_id")){if(!i.equals(n._id,t))throw new Error("transformed document can't have different _id")}else n._id=t;return n};return r.__wrappedTransform__=!0,r},O._binarySearch=function(e,r,t){for(var n=0,i=r.length;i>0;){var o=Math.floor(i/2);e(t,r[n+o])>=0?(n+=o+1,i-=o+1):i=o}return n},O._checkSupportedProjection=function(e){if(e!==Object(e)||Array.isArray(e))throw g("fields option must be an object");Object.keys(e).forEach((function(r){if(r.split(".").includes("$"))throw g("Minimongo doesn't support $ operator in projections yet.");var t=e[r];if("object"===d(t)&&["$elemMatch","$meta","$slice"].some((function(e){return y.c
69all(t,e)})))throw g("Minimongo doesn't support operators in projections yet.");if(![1,0,!0,!1].includes(t))throw g("Projection values should be one of 1, 0, true, or false")}))},O._compileProjection=function(e){O._checkSupportedProjection(e);var r=void 0===e._id||e._id,t=j(e),n=function(e,r){if(Array.isArray(e))return e.map((function(e){return n(e,r)}));var o=t.including?{}:i.clone(e);return Object.keys(r).forEach((function(a){if(null!=e&&y.call(e,a)){var s=r[a];s===Object(s)?e[a]===Object(e[a])&&(o[a]=n(e[a],s)):t.including?o[a]=i.clone(e[a]):delete o[a]}})),null!=e?o:e};return function(e){var i=n(e,t.tree);return r&&y.call(e,"_id")&&(i._id=e._id),!r&&y.call(i,"_id")&&delete i._id,i}},O._createUpsertDocument=function(e,r){var t=E(e),n=O._isModificationMod(r),i={};if(t._id&&(i._id=t._id,delete t._id),O._modify(i,{$set:t}),O._modify(i,r,{isInsert:!0}),n)return i;var o=Object.assign({},r);return i._id&&(o._id=i._id),o},O._diffObjects=function(e,r,t){return n.diffObjects(e,r,t)},O._diffQueryChanges=function(e,r,t,i,o){return n.diffQueryChanges(e,r,t,i,o)},O._diffQueryOrderedChanges=function(e,r,t,i){return n.diffQueryOrderedChanges(e,r,t,i)},O._diffQueryUnorderedChanges=function(e,r,t,i){return n.diffQueryUnorderedChanges(e,r,t,i)},O._findInOrderedResults=function(e,r){if(!e.ordered)throw new Error("Can't call _findInOrderedResults on unordered query");for(var t=0;t<e.results.length;t++)if(e.results[t]===r)return t;throw Error("object missing from query")},O._idsMatchedBySelector=function(e){if(O._selectorIsId(e))return[e];if(!e)return null;if(y.call(e,"_id"))return O._selectorIsId(e._id)?[e._id]:e._id&&Array.isArray(e._id.$in)&&e._id.$in.length&&e._id.$in.every(O._selectorIsId)?e._id.$in:null;if(Array.isArray(e.$and))for(var r=0;r<e.$and.length;++r){var t=O._idsMatchedBySelector(e.$and[r]);if(t)return t}return null},O._insertInResults=function(e,r){var t=i.clone(r);if(delete t._id,e.ordered){if(e.sorter){var n=O._insertInSortedList(e.sorter.getComparator({distances:e.distances}),e.results,r),o=e.results[n+1];o=o?o._id:null,e.addedBefore(r._id,e.projectionFn(t),o)}else e.addedBefore(r._id,e.projectionFn(t),null),e.results.push(r);e.added(r._id,e.projectionFn(t))}else e.added(r._id,e.projectionFn(t)),e.results.set(r._id,r)},O._insertInSortedList=function(e,r,t){if(0===r.length)return r.push(t),0;var n=O._binarySearch(e,r,t);return r.splice(n,0,t),n},O._isModificationMod=function(e){var r=!1,t=!1;if(Object.keys(e).forEach((function(e){"$"===e.substr(0,1)?r=!0:t=!0})),r&&t)throw new Error("Update parameter cannot have both modifier and non-modifier fields.");return r},O._isPlainObject=function(e){return e&&3===O._f._type(e)},O._modify=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!O._isPlainObject(r))throw g("Modifier must be an object");r=i.clone(r);var n=$(r),o=n?i.clone(e):r;if(n){if(Object.keys(r).forEach((function(e){var n=t.isInsert&&"$setOnInsert"===e,i=k[n?"$set":e],a=r[e];if(!i)throw g("Invalid modifier specified "+e);Object.keys(a).forEach((function(r){var n=a[r];if(""===r)throw g("An empty update path is not valid.");var s=r.split(".");if(!s.every(Boolean))throw g("The update path '"+r+"' contains an empty field name, which is not allowed.");var c=C(o,s,{arrayIndices:t.arrayIndices,forbidArray:"$rename"===e,noCreate:A[e]});i(c,s.pop(),n,r,o)}))})),e._id&&!i.equals(e._id,o._id))throw g('After applying the update to the document {_id: "'+e._id+"\", ...}, the (immutable) field '_id' was found to have been altered to _id: \""+o._id+'"')}else{if(e._id&&r._id&&!i.equals(e._id,r._id))throw g('The _id field cannot be changed from {_id: "'+e._id+'"} to {_id: "'+r._id+'"}');S(r)}Object.keys(e).forEach((function(r){"_id"!==r&&delete e[r]})),Object.keys(o).forEach((function(r){e[r]=o[r]}))},O._observeFromObserveChanges=function(e,r){var t=e.getTransform()||function(e){return e},o=!!r._suppress_initial,a;if(O._observeCallbacksAreOrdered(r)){var s=!r._no_indices;a={addedBefore:function(e,n,i){if(!o&&(r.addedAt||r.added)){var a=t(Object.assign(n,{_id:e}));r.addedAt?r.addedAt(a,s?i?this.docs.indexOf(i):this.docs.size():-1,i):r.added(a)}},changed:function(e,o){if(r.changedAt||r.changed){var a=i.clone(this.docs.get(e));if(!a)throw new Error("Unknown id for changed: "+e);var c=t(i.clone(a));n.applyChanges(a,o),r.changedAt?r.changedAt(t(a),c,s?this.docs.indexOf(e):-1):r.changed(t(a),c)}},movedBefore:function(e,n){if(r.movedTo){var o=s?this.docs.indexOf(e):-1,a=s?n?this.docs.indexOf(n):this.docs.size():-1;a>o&&--a,r.movedTo(t(i.clone(this.docs.get(e))),o,a,n||null)}},removed:function(e){if(r.removedAt||r.removed){var n=t(this.docs.get(e));r.removedAt?r.removedAt(n,s?this.docs.indexOf(e):-1):r.removed(n)}}}}else a={added:function(e,n){!o&&r.added&&r.added(t(Object.assign(n,{_id:e})))},changed:function(e,o){if(r.changed){var a=this.docs.get(e),s=i.clone(a);n.applyChanges(s,o),r.changed(t(s),t(i.clone(a)))}},removed:function(e){r.removed&&r.removed(t(this.docs.get(e)))}};var c=new O._CachingChangeObserver({callbacks:a});c.applyChange._fromObserve=!0;var u=e.observeChanges(c.applyChange,{nonMutatingCallbacks:!0});return o=!1,u},O._observeCallbacksAreOrdered=function(e){if(e.added&&e.addedAt)throw new Error("Please specify only one of added() and addedAt()");if(e.changed&&e.changedAt)throw new Error("Please specify only one of changed() and changedAt()");if(e.removed&&e.removedAt)throw new Error("Please specify only one of removed() and removedAt()");return!!(e.addedAt||e.changedAt||e.movedTo||e.removedAt)},O._observeChangesCallbacksAreOrdered=function(e){if(e.added&&e.addedBefore)throw new Error("Please specify only one of added() and addedBefore()");return!(!e.addedBefore&&!e.movedBefore)},O._removeFromResults=function(e,r){if(e.ordered){var t=O._findInOrderedResults(e,r);e.removed(r._id),e.results.splice(t,1)}else{var n=r._id;e.removed(r._id),e.results.remove(n)}},O._selectorIsId=function(e){return"number"==typeof e||"string"==typeof e||e instanceof s.ObjectID},O._selectorIsIdPerhapsAsObject=function(e){return O._selectorIsId(e)||O._selectorIsId(e&&e._id)&&1===Object.keys(e).length},O._updateInResults=function(e,r,t){if(!i.equals(r._id,t._id))throw new Error("Can't change a doc's _id while updating");var o=e.projectionFn,a=n.makeChangedFields(o(r),o(t));if(e.ordered){var s=O._findInOrderedResults(e,r);if(Object.keys(a).length&&e.changed(r._id,a),e.sorter){e.results.splice(s,1);var c=O._insertInSortedList(e.sorter.getComparator({distances:e.distances}),e.results,r);if(s!==c){var u=e.results[c+1];u=u?u._id:null,e.movedBefore&&e.movedBefore(r._id,u)}}}else Object.keys(a).length&&(e.changed(r._id,a),e.results.set(r._id,r))};var k={$currentDate:function(e,r,t){if("object"===d(t)&&y.call(t,"$type")){if("date"!==t.$type)throw g("Minimongo does currently only support the date type in $currentDate modifiers",{field:r})}else if(!0!==t)throw g("Invalid $currentDate modifier",{field:r});e[r]=new Date},$inc:function(e,r,t){if("number"!=typeof t)throw g("Modifier $inc allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $inc modifier to non-number",{field:r});e[r]+=t}else e[r]=t},$min:function(e,r,t){if("number"!=typeof t)throw g("Modifier $min allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $min modifier to non-number",{field:r});e[r]>t&&(e[r]=t)}else e[r]=t},$max:function(e,r,t){if("number"!=typeof t)throw g("Modifier $max allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $max modifier to non-number",{field:r});e[r]<t&&(e[r]=t)}else e[r]=t},$mul:function(e,r,t){if("number"!=typeof t)throw g("Modifier $mul allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $mul modifier to non-number",{field:r});e[r]*=t}else e[r]=0},$rename:function(e,r,t,n,i){if(n===t)throw g("$rename source must differ from target",{field:r});
69if(null===e)throw g("$rename source field invalid",{field:r});if("string"!=typeof t)throw g("$rename target must be a string",{field:r});if(t.includes("\0"))throw g("The 'to' field for $rename cannot contain an embedded null byte",{field:r});if(void 0!==e){var o=e[r];delete e[r];var a=t.split("."),s=C(i,a,{forbidArray:!0});if(null===s)throw g("$rename target field invalid",{field:r});s[a.pop()]=o}},$set:function(e,r,t){if(e!==Object(e)){var n=g("Cannot set property on non-object field",{field:r});throw n.setPropertyError=!0,n}if(null===e){var i=g("Cannot set property on null",{field:r});throw i.setPropertyError=!0,i}S(t),e[r]=t},$setOnInsert:function(e,r,t){},$unset:function(e,r,t){void 0!==e&&(e instanceof Array?r in e&&(e[r]=null):delete e[r])},$push:function(e,r,t){if(void 0===e[r]&&(e[r]=[]),!(e[r]instanceof Array))throw g("Cannot apply $push modifier to non-array",{field:r});if(!t||!t.$each)return S(t),void e[r].push(t);var n=t.$each;if(!(n instanceof Array))throw g("$each must be an array",{field:r});S(n);var i=void 0;if("$position"in t){if("number"!=typeof t.$position)throw g("$position must be a numeric value",{field:r});if(t.$position<0)throw g("$position in $push must be zero or positive",{field:r});i=t.$position}var o=void 0;if("$slice"in t){if("number"!=typeof t.$slice)throw g("$slice must be a numeric value",{field:r});o=t.$slice}var a=void 0;if(t.$sort){if(void 0===o)throw g("$sort requires $slice to be present",{field:r});a=new w.Sorter(t.$sort).getComparator(),n.forEach((function(e){if(3!==O._f._type(e))throw g("$push like modifiers using $sort require all elements to be objects",{field:r})}))}if(void 0===i)n.forEach((function(t){e[r].push(t)}));else{var s,c=[i,0];n.forEach((function(e){c.push(e)})),(s=e[r]).splice.apply(s,c)}a&&e[r].sort(a),void 0!==o&&(e[r]=0===o?[]:o<0?e[r].slice(o):e[r].slice(0,o))},$pushAll:function(e,r,t){if(!("object"===d(t)&&t instanceof Array))throw g("Modifier $pushAll/pullAll allowed for arrays only");S(t);var n=e[r];if(void 0===n)e[r]=t;else{if(!(n instanceof Array))throw g("Cannot apply $pushAll modifier to non-array",{field:r});n.push.apply(n,l(t))}},$addToSet:function(e,r,t){var n=!1,i;"object"===d(t)&&("$each"===Object.keys(t)[0]&&(n=!0));var o=n?t.$each:[t];S(o);var a=e[r];if(void 0===a)e[r]=o;else{if(!(a instanceof Array))throw g("Cannot apply $addToSet modifier to non-array",{field:r});o.forEach((function(e){a.some((function(r){return O._f._equal(e,r)}))||a.push(e)}))}},$pop:function(e,r,t){if(void 0!==e){var n=e[r];if(void 0!==n){if(!(n instanceof Array))throw g("Cannot apply $pop modifier to non-array",{field:r});"number"==typeof t&&t<0?n.splice(0,1):n.pop()}}},$pull:function(e,r,t){if(void 0!==e){var n=e[r];if(void 0!==n){if(!(n instanceof Array))throw g("Cannot apply $pull/pullAll modifier to non-array",{field:r});var i;if(null==t||"object"!==d(t)||t instanceof Array)i=n.filter((function(e){return!O._f._equal(e,t)}));else{var o=new w.Matcher(t);i=n.filter((function(e){return!o.documentMatches(e).result}))}e[r]=i}}},$pullAll:function(e,r,t){if(!("object"===d(t)&&t instanceof Array))throw g("Modifier $pushAll/pullAll allowed for arrays only",{field:r});if(void 0!==e){var n=e[r];if(void 0!==n){if(!(n instanceof Array))throw g("Cannot apply $pull/pullAll modifier to non-array",{field:r});e[r]=n.filter((function(e){return!t.some((function(r){return O._f._equal(e,r)}))}))}}},$bit:function(e,r,t){throw g("$bit is not supported",{field:r})},$v:function(){}},A={$pop:!0,$pull:!0,$pullAll:!0,$rename:!0,$unset:!0},I={$:"start with '$'",".":"contain '.'","\0":"contain null bytes"};function S(e){e&&"object"===d(e)&&JSON.stringify(e,(function(e,r){return M(e),r}))}function M(e){var r;if("string"==typeof e&&(r=e.match(/^\$|\.|\0/)))throw g("Key "+e+" must not "+I[r[0]])}function C(e,r){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=!1,i=0;i<r.length;i++){var o=i===r.length-1,a=r[i];if(!_(e)){if(t.noCreate)return;var s=g("cannot use the part '"+a+"' to traverse "+e);throw s.setPropertyError=!0,s}if(e instanceof Array){if(t.forbidArray)return null;if("$"===a){if(n)throw g("Too many positional (i.e. '$') elements");if(!t.arrayIndices||!t.arrayIndices.length)throw g("The positional operator did not find the match needed from the query");
69a=t.arrayIndices[0],n=!0}else{if(!b(a)){if(t.noCreate)return;throw g("can't append to array using string field name ["+a+"]")}a=parseInt(a)}if(o&&(r[i]=a),t.noCreate&&a>=e.length)return;for(;e.length<a;)e.push(null);if(!o)if(e.length===a)e.push({});else if("object"!==d(e[a]))throw g("can't modify field '"+r[i+1]+"' of list value "+JSON.stringify(e[a]))}else if(M(a),!(a in e)){if(t.noCreate)return;o||(e[a]={})}if(o)return e;e=e[a]}}},
69"matcher.js":function e(r,t,e){var n,o,a,c,u;e.export({default:function(){return l}}),e.link("./local_collection.js",{default:function(e){o=e}},0),e.link("./common.js",{compileDocumentSelector:function(e){a=e},hasOwn:function(e){c=e},nothingMatcher:function(e){u=e}},1);var f=(null===(n=Package["mongo-decimal"])||void 0===n?void 0:n.Decimal)||function(){function e(){}return e}(),l=function(){function e(e,r){this._paths={},this._hasGeoQuery=!1,this._hasWhere=!1,this._isSimple=!0,this._matchingDocument=void 0,this._selector=null,this._docMatcher=this._compileSelector(e),this._isUpdate=r}var r=e.prototype;return r.documentMatches=function(){function e(e){if(e!==Object(e))throw Error("documentMatches needs a document");return this._docMatcher(e)}return e}(),r.hasGeoQuery=function(){function e(){return this._hasGeoQuery}return e}(),r.hasWhere=function(){function e(){return this._hasWhere}return e}(),r.isSimple=function(){function e(){return this._isSimple}return e}(),r._compileSelector=function(){function e(e){if(e instanceof Function)return this._isSimple=!1,this._selector=e,this._recordPathUsed(""),function(r){return{result:!!e.call(r)}};if(o._selectorIsId(e))return this._selector={_id:e},this._recordPathUsed("_id"),function(r){return{result:i.equals(r._id,e)}};if(!e||c.call(e,"_id")&&!e._id)return this._isSimple=!1,u;if(Array.isArray(e)||i.isBinary(e)||"boolean"==typeof e)throw new Error("Invalid selector: "+e);return this._selector=i.clone(e),a(e,this,{isRoot:!0})}return e}(),r._getPaths=function(){function e(){return Object.keys(this._paths)}return e}(),r._recordPathUsed=function(){function e(e){this._paths[e]=!0}return e}(),e}();o._f={_type:function(e){return"number"==typeof e?1:"string"==typeof e?2:"boolean"==typeof e?8:Array.isArray(e)?4:null===e?10:e instanceof RegExp?11:"function"==typeof e?13:e instanceof Date?9:i.isBinary(e)?5:e instanceof s.ObjectID?7:e instanceof f?1:3},_equal:function(e,r){return i.equals(e,r,{keyOrderSensitive:!0})},_typeorder:function(e){return[-1,1,2,3,4,5,-1,6,7,8,0,9,-1,100,2,100,1,8,1][e]},_cmp:function(e,r){if(void 0===e)return void 0===r?0:-1;if(void 0===r)return 1;var t=o._f._type(e),n=o._f._type(r),i=o._f._typeorder(t),a=o._f._typeorder(n);if(i!==a)return i<a?-1:1;if(t!==n)throw Error("Missing type coercion logic in _cmp");if(7===t&&(t=n=2,e=e.toHexString(),r=r.toHexString()),9===t&&(t=n=1,e=e.getTime(),r=r.getTime()),1===t)return e instanceof f?e.minus(r).toNumber():e-r;if(2===n)return e<r?-1:e===r?0:1;if(3===t){var s=function(e){var r=[];return Object.keys(e).forEach((function(t){r.push(t,e[t])})),r};return o._f._cmp(s(e),s(r))}if(4===t)for(var c=0;;c++){if(c===e.length)return c===r.length?0:-1;if(c===r.length)return 1;var u=o._f._cmp(e[c],r[c]);if(0!==u)return u}if(5===t){if(e.length!==r.length)return e.length-r.length;for(var l=0;l<e.length;l++){if(e[l]<r[l])return-1;if(e[l]>r[l])return 1}return 0}if(8===t)return e?r?0:1:r?-1:0;if(10===t)return 0;if(11===t)throw Error("Sorting not supported on regular expression");if(13===t)throw Error("Sorting not supported on Javascript code");throw Error("Unknown type to sort")}}},
69"minimongo_common.js":function e(r,t,e){var n,i,o;e.link("./local_collection.js",{default:function(e){n=e}},0),e.link("./matcher.js",{default:function(e){i=e}},1),e.link("./sorter.js",{default:function(e){o=e}},2),b=n,w={LocalCollection:n,Matcher:i,Sorter:o}},
69"observe_handle.js":function e(r,t,e){e.export({default:function(){return n}});var n=function(){function e(){}return e}()},
69"sorter.js":function e(r,t,e){var n,i,o,a,s,c,u,f;e.link("@babel/runtime/helpers/typeof",{default:function(e){n=e}},0),e.export({default:function(){return l}}),e.link("./common.js",{ELEMENT_OPERATORS:function(e){i=e},equalityElementMatcher:function(e){o=e},expandArraysInBranches:function(e){a=e},hasOwn:function(e){s=e},isOperatorObject:function(e){c=e},makeLookupFunction:function(e){u=e},regexpElementMatcher:function(e){f=e}},0);var l=function(){function e(e){var r=this;this._sortSpecParts=[],this._sortFunction=null;var t=function(e,t){if(!e)throw Error("sort keys must be non-empty");if("$"===e.charAt(0))throw Error("unsupported sort key: "+e);r._sortSpecParts.push({ascending:t,lookup:u(e,{forSort:!0}),path:e})};if(e instanceof Array)e.forEach((function(e){"string"==typeof e?t(e,!0):t(e[0],"desc"!==e[1])}));else if("object"===n(e))Object.keys(e).forEach((function(r){t(r,e[r]>=0)}));else{if("function"!=typeof e)throw Error("Bad sort specification: "+JSON.stringify(e));this._sortFunction=e}if(!this._sortFunction){if(this.affectedByModifier){var i={};this._sortSpecParts.forEach((function(e){i[e.path]=1})),this._selectorForAffectedByModifier=new w.Matcher(i)}this._keyComparator=d(this._sortSpecParts.map((function(e,t){return r._keyFieldComparator(t)})))}}var r=e.prototype;return r.getComparator=function(){function e(e){if(this._sortSpecParts.length||!e||!e.distances)return this._getBaseComparator();var r=e.distances;return function(e,t){if(!r.has(e._id))throw Error("Missing distance for "+e._id);if(!r.has(t._id))throw Error("Missing distance for "+t._id);return r.get(e._id)-r.get(t._id)}}return e}(),r._compareKeys=function(){function e(e,r){if(e.length!==this._sortSpecParts.length||r.length!==this._sortSpecParts.length)throw Error("Key has wrong length");return this._keyComparator(e,r)}return e}(),r._generateKeysFromDoc=function(){function e(e,r){if(0===this._sortSpecParts.length)throw new Error("can't generate keys without a spec");var t=function(e){return e.join(",")+","},n=null,i=this._sortSpecParts.map((function(r){var i=a(r.lookup(e),!0);i.length||(i=[{value:void 0}]);var o=Object.create(null),c=!1;if(i.forEach((function(e){if(e.arrayIndices){c=!0;var r=t(e.arrayIndices);if(s.call(o,r))throw Error("duplicate path: "+r);if(o[r]=e.value,n&&!s.call(n,r))throw Error("cannot index parallel arrays")}else{if(i.length>1)throw Error("multiple branches but no array used?");o[""]=e.value}})),n){if(!s.call(o,"")&&Object.keys(n).length!==Object.keys(o).length)throw Error("cannot index parallel arrays!")}else c&&(n={},Object.keys(o).forEach((function(e){n[e]=!0})));return o}));if(n)Object.keys(n).forEach((function(e){var t=i.map((function(r){if(s.call(r,""))return r[""];if(!s.call(r,e))throw Error("missing path?");return r[e]}));r(t)}));else{var o=i.map((function(e){if(!s.call(e,""))throw Error("no value in sole key case?");return e[""]}));r(o)}}return e}(),r._getBaseComparator=function(){function e(){var e=this;return this._sortFunction?this._sortFunction:this._sortSpecParts.length?function(r,t){var n=e._getMinKeyFromDoc(r),i=e._getMinKeyFromDoc(t);return e._compareKeys(n,i)}:function(e,r){return 0}}return e}(),r._getMinKeyFromDoc=function(){function e(e){var r=this,t=null;return this._generateKeysFromDoc(e,(function(e){null!==t?r._compareKeys(e,t)<0&&(t=e):t=e})),t}return e}(),r._getPaths=function(){function e(){return this._sortSpecParts.map((function(e){return e.path}))}return e}(),r._keyFieldComparator=function(){function e(e){var r=!this._sortSpecParts[e].ascending;return function(t,n){var i=b._f._cmp(t[e],n[e]);return r?-i:i}}return e}(),e}();function d(e){return function(r,t){for(var n=0;n<e.length;++n){var i=e[n](r,t);if(0!==i)return i}return 0}}}}}}},{extensions:[".js",".json"]}),E=$("/node_modules/meteor/minimongo/minimongo_client.js");Package._define("minimongo",E,{LocalCollection:b,Minimongo:w,MinimongoTest:_,MinimongoError:g})}(); 70 71!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.ejson.EJSON,a=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,o=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,f,l,h=a({node_modules:{meteor:{check:{
71"match.js":function t(n,a,t){var c,o,u;t.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){c=e}},0),t.link("@babel/runtime/helpers/typeof",{default:function(e){o=e}},1),t.export({check:function(){return l},Match:function(){return h}}),t.link("./isPlainObject",{isPlainObject:function(e){u=e}},0);var s=new e.EnvironmentVariable,f=Object.prototype.hasOwnProperty;function l(e,t){var n=s.getOrNullIfOutsideFiber();n&&n.checking(e);var r=k(e,t);if(r){var a=new h.Error(r.message);throw r.path&&(a.message+=" in field "+r.path,a.path=r.path),a}}var h={Optional:function(e){return new p(e)},Maybe:function(e){return new g(e)},OneOf:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new m(t)},Any:["__any__"],Where:function(e){return new d(e)},ObjectIncluding:function(e){return new y(e)},ObjectWithValues:function(e){return new b(e)},Integer:["__integer__"],Error:e.makeErrorType("Match.Error",(function(t){this.message="Match error: "+t,this.path="",this.sanitizedError=new e.Error(400,"Match failed")})),test:function(e,t){return!k(e,t)},_failIfArgumentsAreNotAllChecked:function(e,t,n,r){var a=new j(n,r),i=s.withValue(a,(function(){return e.apply(t,n)}));return a.throwUnlessAllArgumentsHaveBeenChecked(),i}},p=function(){function e(e){this.pattern=e}return e}(),g=function(){function e(e){this.pattern=e}return e}(),m=function(){function e(e){if(!e||0===e.length)throw new Error("Mu
71st provide at least one choice to Match.OneOf");this.choices=e}return e}(),d=function(){function e(e){this.condition=e}return e}(),y=function(){function e(e){this.pattern=e}return e}(),b=function(){function e(e){this.pattern=e}return e}(),v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return"null";if(t.onlyShowType)return o(e);if("object"!==o(e))return r.stringify(e);try{JSON.stringify(e)}catch(n){if("TypeError"===n.name)return o(e)}return r.stringify(e)},O=[[String,"string"],[Number,"number"],[Boolean,"boolean"],[Function,"function"],[void 0,"undefined"]],k=function(e,t){if(t===h.Any)return!1;for(var n=0;n<O.length;++n)if(t===O[n][0])return o(e)!==O[n][1]&&{message:"Expected "+O[n][1]+", got "+v(e,{onlyShowType:!0}),path:""};if(null===t)return null!==e&&{message:"Expected null, got "+v(e),path:""};if("string"==typeof t||"number"==typeof t||"boolean"==typeof t)return e!==t&&{message:"Expected "+t+", got "+v(e),path:""};if(t===h.Integer)return("number"!=typeof e||(0|e)!==e)&&{message:"Expected Integer, got "+v(e),path:""};if(t===Object&&(t=h.ObjectIncluding({})),t instanceof Array){if(1!==t.length)return{message:"Bad pattern: arrays must have one type element "+v(t),path:""};if(!Array.isArray(e)&&!_(e))return{message:"Expected array, got "+v(e),path:""};for(var r=0,a=e.length;r<a;r++){var c=k(e[r],t[0]);if(c)return c.path=E(r,c.path),c}return!1}if(t instanceof d){var s;try{s=t.condition(e)}catch(V){if(!(V instanceof h.Error))throw V;return{message:V.message,path:V.path}}return!s&&{message:"Failed Match.Where validation",path:""}}if(t instanceof g?t=h.OneOf(void 0,null,t.pattern):t instanceof p&&(t=h.OneOf(void 0,t.pattern)),t instanceof m){for(var l=0;l<t.choices.length;++l){var j;if(!k(e,t.choices[l]))return!1}return{message:"Failed Match.OneOf, Match.Maybe or Match.Optional validation",path:""}}if(t instanceof Function)return!(e instanceof t)&&{message:"Expected "+(t.name||"particular constructor"),path:""};var w=!1,P;if(t instanceof y&&(w=!0,t=t.pattern),t instanceof b&&(w=!0,P=[t.pattern],t={}),"object"!==o(t))return{message:"Bad pattern: unknown pattern type",path:""};if("object"!==o(e))return{message:"Expected object, got "+o(e),path:""};if(null===e)return{message:"Expected object, got null",path:""};if(!u(e))return{message:"Expected plain object",path:""};var A=Object.create(null),M=Object.create(null);for(var x in Object.keys(t).forEach((function(e){var n=t[e];n instanceof p||n instanceof g?M[e]=n.pattern:A[e]=n})),i.sanitizeForInObject(Object(e))){var N=e[x];if(f.call(A,x)){var S=k(N,A[x]);if(S)return S.path=E(x,S.path),S;delete A[x]}else if(f.call(M,x)){var I=k(N,M[x]);if(I)return I.path=E(x,I.path),I}else{if(!w)return{message:"Unknown key",path:x};if(P){var B=k(N,P[0]);if(B)return B.path=E(x,B.path),B}}}var F=Object.keys(A);return F.length?{message:"Missing key '"+F[0]+"'",path:""}:void 0},j=function(){function e(e,t){this.args=c(e),this.args.reverse(),this.description=t}var t=e.prototype;return t.checking=function(){function e(e){this._checkingOneValue(e)||(Array.isArray(e)||_(e))&&Array.prototype.forEach.call(e,this._checkingOneValue.bind(this))}return e}(),t._checkingOneValue=function(){function e(e){for(var t=0;t<this.args.length;++t)if(e===this.args[t]||Number.isNaN(e)&&Number.isNaN(this.args[t]))return this.args.splice(t,1),!0;return!1}return e}(),t.throwUnlessAllArgumentsHaveBeenChecked=function(){function e(){if(this.args.length>0)throw new Error("Did not check() all arguments during "+this.description)}return e}(),e}(),w=["do","if","in","for","let","new","try","var","case","else","enum","eval","false","null","this","true","void","with","break","catch","class","const","super","throw","while","yield","delete","export","import","public","return","static","switch","typeof","default","extends","finally","package","private","continue","debugger","function","arguments","interface","protected","implements","instanceof"],E=function(e,t){return"number"==typeof e||e.match(/^[0-9]+$/)?e="["+e+"]":(!e.match(/^[a-z_$][0-9a-z_$]*$/i)||w.indexOf(e)>=0)&&(e=JSON.stringify([e])),t&&"["!==t[0]?e+"."+t:e+t},P=function(e){return"object"===o(e)&&null!==e},A=function(e){return P(e)&&"[object Arguments]"===Object.prototype.toString.call(e)},_=A(function(){return arguments}())?A:function(e){return P(e)&&"function"==typeof e.callee}},
71"isPlainObject.js":function e(t,n,e){e.export({isPlainObject:function(){return s}});var r,a={}.toString,i=Object.prototype.hasOwnProperty,c=i.toString,o=c.call(Object),u=Object.getPrototypeOf,s=function(e){var t,n;return!(!e||"[object Object]"!==a.call(e))&&(!(t=u(e))||"function"==typeof(n=i.call(t,"constructor")&&t.constructor)&&c.call(n)===o)}}}}}},{extensions:[".js",".json"]}),p=h("/node_modules/meteor/check/match.js");Package._define("check",p,{check:f,Match:l})}(); 72 73!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,r=Package.random.Random,o=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,m=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,c,h=o({node_modules:{meteor:{retry:{
73"retry.js":function t(i,o,t){t.export({Retry:function(){return n}});var n=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseTimeout,i=void 0===t?1e3:t,r=e.exponent,o=void 0===r?2.2:r,n=e.maxTimeout,m=void 0===n?3e5:n,a=e.minTimeout,u=void 0===a?10:a,s=e.minCount,c=void 0===s?2:s,h=e.fuzz,l=void 0===h?.5:h;this.baseTimeout=i,this.exponent=o,this.maxTimeout=m,this.minTimeout=u,this.minCount=c,this.fuzz=l,this.retryTimer=null}var i=t.prototype;return i.clear=function(){function e(){this.retryTimer&&clearTimeout(this.retryTimer),this.retryTimer=null}return e}(),i._timeout=function(){function e(e){return e<this.minCount?this.minTimeout:Math.min(this.maxTimeout,this.baseTimeout*Math.pow(this.exponent,e))*(r.fraction()*this.fuzz+(1-this.fuzz/2));var t}return e}(),i.retryLater=function(){function t(t,i){var r=this._timeout(t);return this.retryTimer&&clearTimeout(this.retryTimer),this.retryTimer=e.setTimeout(i,r),r}return t}(),t}()}}}}},{extensions:[".js",".json"]}),l=h("/node_modules/meteor/retry/retry.js");Package._define("retry",l,{Retry:c})}(); 74 75!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,o=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,a=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,s,u=o({node_modules:{meteor:{"callback-hook":{
75"hook.js":function n(t,o,n){n.export({Hook:function(){return i}});var r=Object.prototype.hasOwnProperty,i=function(){function n(e){if(e=e||{},this.nextCallbackId=0,this.callbacks=Object.create(null),this.bindEnvironment=!0,!1===e.bindEnvironment&&(this.bindEnvironment=!1),e.exceptionHandler)this.exceptionHandler=e.exceptionHandler;else if(e.debugPrintExceptions){if("string"!=typeof e.debugPrintExceptions)throw new Error("Hook option debugPrintExceptions should be a string");this.exceptionHandler=e.debugPrintExceptions}}var t=n.prototype;return t.register=function(){function n(n){var t=this,o=this.exceptionHandler||function(e){throw e};n=this.bindEnvironment?e.bindEnvironment(n,o):c(n,o);var r=this.nextCallbackId++;return this.callbacks[r]=n,{callback:n,stop:function(){delete t.callbacks[r]}}}return n}(),t.forEach=function(){function n(n){e._nodeCodeMustBeInFiber();for(var t=Object.keys(this.callbacks),o=0;o<t.length;++o){var i=t[o],c;if(r.call(this.callbacks,i))if(!n(this.callbacks[i]))break}}return n}(),t.each=function(){function e(e){return this.forEach(e)}return e}(),n}();function c(n,t,o){if(!t||"string"==typeof t){var r=t||"callback of async function";t=function(n){e._debug("Exception in "+r,n)}}return function(){var e;try{for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];e=n.apply(o,i)}catch(a){t(a)}return e}}}}}}},{extensions:[".js",".json"]}),k=u("/node_modules/meteor/callback-hook/hook.js");Package._define("callback-hook",k,{Hook:s})}(); 76 77!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.check.check,a=Package.check.Match,i=Package.random.Random,o=Package.ejson.EJSON,s=Package.tracker.Tracker,c=Package.tracker.Deps,u=Package.retry.Retry,l=Package.modules.meteorInstall,d=Package.modules.meteorBabelHelpers,m=Package.promise.Promise,h=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,_=Package["ecmascript-runtime-client"].Set,b,p=l({node_modules:{meteor:{"ddp-common":{
77"namespace.js":function e(){b={}},
77"heartbeat.js":function t(){b.Heartbeat=function(){function t(e){this.heartbeatInterval=e.heartbeatInterval,this.heartbeatTimeout=e.heartbeatTimeout,this._sendPing=e.sendPing,this._onTimeout=e.onTimeout,this._seenPacket=!1,this._heartbeatIntervalHandle=null,this._heartbeatTimeoutHandle=null}var n=t.prototype;return n.stop=function(){function e(){this._clearHeartbeatIntervalTimer(),this._clearHeartbeatTimeoutTimer()}return e}(),n.start=function(){function e(){this.stop(),this._startHeartbeatIntervalTimer()}return e}(),n._startHeartbeatIntervalTimer=function(){function t(){var t=this;this._heartbeatIntervalHandle=e.setInterval((function(){return t._heartbeatIntervalFired()}),this.heartbeatInterval)}return t}(),n._startHeartbeatTimeoutTimer=function(){function t(){var t=this;this._heartbeatTimeoutHandle=e.setTimeout((function(){return t._heartbeatTimeoutFired()}),this.heartbeatTimeout)}return t}(),n._clearHeartbeatIntervalTimer=function(){function t(){this._heartbeatIntervalHandle&&(e.clearInterval(this._heartbeatIntervalHandle),this._heartbeatIntervalHandle=null)}return t}(),n._clearHeartbeatTimeoutTimer=function(){function t(){this._heartbeatTimeoutHandle&&(e.clearTimeout(this._heartbeatTimeoutHandle),this._heartbeatTimeoutHandle=null)}return t}(),n._heartbeatIntervalFired=function(){function e(){this._seenPacket||this._heartbeatTimeoutHandle||(this._sendPing(),this._startHeartbeatTimeoutTimer()),this._seenPacket=!1}return e}(),n._heartbeatTimeoutFired=function(){function e(){this._heartbeatTimeoutHandle=null,this._onTimeout()}return e}(),n.messageReceived=function(){function e(){this._seenPacket=!0,this._heartbeatTimeoutHandle&&this._clearHeartbeatTimeoutTimer()}return e}(),t}()},
77"utils.js":function t(n,r,t){"use strict";var a;t.link("@babel/runtime/helpers/typeof",{default:function(e){a=e}},0),t.export({hasOwn:function(){return i},slice:function(){return s},keys:function(){return c},isEmpty:function(){return u},last:function(){return l}});var i=Object.prototype.hasOwnProperty,s=Array.prototype.slice;function c(e){return Object.keys(Object(e))}function u(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e)return 0===e.length;for(var t in d.sanitizeForInObject(e))if(i.call(e,t))return!1;return!0}function l(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:s.call(e,Math.max(e.length-t,0))}b.SUPPORTED_DDP_VERSIONS=["1","pre2","pre1"],b.parseDDP=function(t){try{var n=JSON.parse(t)}catch(r){return e._debug("Discarding message with invalid JSON",t),null}return null===n||"object"!==a(n)?(e._debug("Discarding non-object DDP message",t),null):(i.call(n,"cleared")&&(i.call(n,"fields")||(n.fields={}),n.cleared.forEach((function(e){n.fields[e]=void 0})),delete n.cleared),["fields","params","result"].forEach((function(e){i.call(n,e)&&(n[e]=o._adjustTypesFromJSONValue(n[e]))})),n)},b.stringifyDDP=function(e){var t=o.clone(e);if(i.call(e,"fields")){var n=[];Object.keys(e.fields).forEach((function(r){var a;"undefined"==typeof e.fields[r]&&(n.push(r),delete t.fields[r])})),u(n)||(t.cleared=n),u(t.fields)&&delete t.fields}if(["fields","params","result"].forEach((function(e){i.call(t,e)&&(t[e]=o._adjustTypesToJSONValue(t[e]))})),e.id&&"string"!=typeof e.id)throw new Error("Message id is not a string");return JSON.stringify(t)}},
77"method_invocation.js":function e(){b.MethodInvocation=function(){function e(e){this.isSimulation=e.isSimulation,this._unblock=e.unblock||function(){},this._calledUnblock=!1,this.userId=e.userId,this._setUserId=e.setUserId||function(){},this.connection=e.connection,this.randomSeed=e.randomSeed,this.randomStream=null}var t=e.prototype;return t.unblock=function(){function e(){this._calledUnblock=!0,this._unblock()}return e}(),t.setUserId=function(){function e(e){if(this._calledUnblock)throw new Error("Can't call setUserId in a method after calling unblock");this.userId=e,this._setUserId(e)}return e}(),e}()},
77"random_stream.js":function e(){function t(){return i.hexString(20)}b.RandomStream=function(){function e(e){this.seed=[].concat(e.seed||t()),this.sequences=Object.create(null)}var n;return e.prototype._sequence=function(){function e(e){var t=this,n=t.sequences[e]||null;if(null===n){for(var r=t.seed.concat(e),a=0;a<r.length;a++)"function"==typeof r[a]&&(r[a]=r[a]());t.sequences[e]=n=i.createWithSeeds.apply(null,r)}return n}return e}(),e}(),b.RandomStream.get=function(e,t){if(t||(t="default"),!e)return i.insecure;var n=e.randomStream;return n||(e.randomStream=n=new b.RandomStream({seed:e.randomSeed})),n._sequence(t)},b.makeRpcSeed=function(e,t){var n;return b.RandomStream.get(e,"/rpc/"+t).hexString(20)}}}}}},{extensions:[".js",".json"]});p("/node_modules/meteor/ddp-common/namespace.js"),p("/node_modules/meteor/ddp-common/heartbeat.js"),p("/node_modules/meteor/ddp-common/utils.js"),p("/node_modules/meteor/ddp-common/method_invocation.js"),p("/node_modules/meteor/ddp-common/random_stream.js"),Package._define("ddp-common",{DDPCommon:b})}(); 78 79!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,a=Package.meteor.meteorEnv,t=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,n=Package.promise.Promise,i=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,d,c=t({node_modules:{meteor:{reload:{
79"reload.js":function o(a,t,o){var r,n;o.link("@babel/runtime/helpers/slicedToArray",{default:function(e){r=e}},0),o.link("@babel/runtime/helpers/typeof",{default:function(e){n=e}},1),o.export({Reload:function(){return i}});var i={},l=e.settings&&e.settings.public&&e.settings.public.packages&&e.settings.public.packages.reload||{};function s(e,o){l.debug&&console.log("[reload] "+e,JSON.stringify(o))}var d="Meteor_Reload",c={},u,g=null;try{(g=window.sessionStorage)?(g.setItem("__dummy__","1"),g.removeItem("__dummy__")):g=null}catch(_){g=null}i._getData=function(){return g&&g.getItem(d)},g&&(u=i._getData(),g.removeItem(d)),u||(u="{}");var m={};try{m=JSON.parse(u),"object"!==n(m)&&(e._debug("Got bad data on reload. Ignoring."),m={})}catch(b){e._debug("Got invalid JSON on reload. Ignoring.")}m.reload&&"object"===n(m.data)&&(c=m.data);var p=[];i._onMigrate=function(e,o){s("_onMigrate",{name:e}),o||(o=e,e=void 0,s("_onMigrate no callback")),p.push({name:e,callback:o})},i._migrationData=function(e){return s("_migrationData",{name:e}),c[e]};var f=function(e,o){s("pollProviders",{options:o}),e=e||function(){};var a,t=(o=o||{}).immediateMigration;s("pollProviders is "+(t?"":"NOT ")+"immediateMigration",{options:o});var n={},i=!0;return p.forEach((function(a){var t=a||{},l=t.callback,d=t.name,c=l(e,o)||[],u=r(c,2),g=u[0],m=u[1];s("pollProviders provider "+(d||"unknown")+" is "+(g?"ready":"NOT ready"),{options:o}),g||(i=!1),void 0!==m&&d&&(n[d]=m)})),i?(s("pollProviders allReady",{options:o,migrationData:n}),n):t?(s("pollProviders immediateMigration",{options:o,migrationData:n}),n):null};i._migrate=function(o,a){s("_migrate",{options:a});var t=f(o,a),r;if(null===t)return!1;try{r=JSON.stringify({data:t,reload:!0})}catch(b){throw e._debug("Couldn't serialize data for migration",t),b}if(g)try{g.setItem(d,r)}catch(b){e._debug("Couldn't save data for migration to sessionStorage",b)}else e._debug("Browser does not support sessionStorage. Not saving migration state.");return!0},i._withFreshProvidersForTest=function(e){var o=p.slice(0);p=[];try{e()}finally{p=o}};var v=!1;i._reload=function(o){function a(){s("tryReload"),setTimeout(r,1)}function t(){s("forceBrowserReload"),window.location.hash||window.location.href.endsWith("#")?window.location.reload():window.location.replace(window.location.href)}function r(){s("reload"),i._migrate(a,o)&&(e.isCordova?WebAppLocalServer.switchToPendingVersion((function(){t()})):t())}s("_reload",{options:o}),o=o||{},v?s("reloading in progress already",{options:o}):(v=!0,a())}}}}}},{extensions:[".js",".json"]}),u=c("/node_modules/meteor/reload/reload.js");Package._define("reload",u,{Reload:d})}(); 80 81!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.retry.Retry,o=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,s=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,l,f=o({node_modules:{meteor:{"socket-stream-client":{
81"sockjs-0.3.4.js":function e(t,n,e){var r;e.link("@babel/runtime/helpers/typeof",{default:function(e){r=e}},0),l=function(){var e=document,t=window,n={},o=function(){};o.prototype.addEventListener=function(e,t){this._listeners||(this._listeners={}),e in this._listeners||(this._listeners[e]=[]);var r=this._listeners[e];-1===n.arrIndexOf(r,t)&&r.push(t)},o.prototype.removeEventListener=function(e,t){if(this._listeners&&e in this._listeners){var r=this._listeners[e],o=n.arrIndexOf(r,t);-1===o||(r.length>1?this._listeners[e]=r.slice(0,o).concat(r.slice(o+1)):delete this._listeners[e])}},o.prototype.dispatchEvent=function(e){var t=e.type,n=Array.prototype.slice.call(arguments,0);if(this["on"+t]&&this["on"+t].apply(this,n),this._listeners&&t in this._listeners)for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].apply(this,n)};var s=function(e,t){if(this.type=e,"undefined"!=typeof t)for(var n in i.sanitizeForInObject(t))t.hasOwnProperty(n)&&(this[n]=t[n])};s.prototype.toString=function(){var e=[];for(var t in i.sanitizeForInObject(this))if(this.hasOwnProperty(t)){var n=this[t];"function"==typeof n&&(n="[function]"),e.push(t+"="+n)}return"SimpleEvent("+e.join(", ")+")"};var a=function(e){var t=this;t._events=e||[],t._listeners={}};a.prototype.emit=function(e){var t=this;if(t._verifyType(e),!t._nuked){var n=Array.prototype.slice.call(arguments,1);if(t["on"+e]&&t["on"+e].apply(t,n),e in t._listeners)for(var r=0;r<t._listeners[e].length;r++)t._listeners[e][r].apply(t,n)}},a.prototype.on=function(e,t){var n=this;n._verifyType(e),n._nuked||(e in n._listeners||(n._listeners[e]=[]),n._listeners[e].push(t))},a.prototype._verifyType=function(e){var t=this;-1===n.arrIndexOf(t._events,e)&&n.log("Event "+JSON.stringify(e)+" not listed "+JSON.stringify(t._events)+" in "+t)},a.prototype.nuke=function(){var e=this;e._nuked=!0;for(var t=0;t<e._events.length;t++)delete e[e._events[t]];e._listeners={}};var u="abcdefghijklmnopqrstuvwxyz0123456789_";n.random_string=function(e,t){t=t||u.length;var n,r=[];for(n=0;n<e;n++)r.push(u.substr(Math.floor(Math.random()*t),1));return r.join("")},n.random_number=function(e){return Math.floor(Math.random()*e)},n.random_number_string=function(e){var t=(""+(e-1)).length,r;return(Array(t+1).join("0")+n.random_number(e)).slice(-t)},n.getOrigin=function(e){var t;return(e+="/").split("/").slice(0,3).join("/")},n.isSameOriginUrl=function(e,n){return n||(n=t.location.href),e.split("/").slice(0,3).join("/")===n.split("/").slice(0,3).join("/")},n.isSameOriginScheme=function(e,n){return n||(n=t.location.href),e.split(":")[0]===n.split(":")[0]},n.getParentDomain=function(e){return/^[0-9.]*$/.test(e)||/^\[/.test(e)?e:/[.]/.test(e)?e.split(".").slice(1).join("."):e;var t},n.objectExtend=function(e,t){for(var n in i.sanitizeForInObject(t))t.hasOwnProperty(n)&&(e[n]=t[n]);return e};var c="_jp";n.polluteGlobalNamespace=function(){c in t||(t._jp={})},n.closeFrame=function(e,t){return"c"+JSON.stringify([e,t])},n.userSetCode=function(e){return 1e3===e||e>=3e3&&e<=4999},n.countRTO=function(e){var t;return t=e>100?3*e:e+200},n.log=function(){t.console&&console.log&&console.log.apply&&console.log.apply(console,arguments)},n.debug=function(){t.console&&console.debug&&console.debug.apply&&console.debug.apply(console,arguments)},n.bind=function(e,t){return e.bind?e.bind(t):function(){return e.apply(t,arguments)}},n.flatUrl=function(e){return-1===e.indexOf("?")&&-1===e.indexOf("#")},n.amendUrl=function(t,r){var o;if(void 0===r)o=e.location;else{var i=/^([a-z0-9.+-]+:)/i.exec(r);if(i){var s=i[0].toLowerCase(),a=r.substring(s.length),u=/[a-z0-9\.-]+(:[0-9]+)?/.exec(a);if(u)var c=u[0]}if(!s||!c)throw new Error("relativeTo must be an absolute url");o={protocol:s,host:c}}if(!t)throw new Error("Wrong url for SockJS");if(!n.flatUrl(t))throw new Error("Only basic urls are supported in SockJS");0===t.indexOf("//")&&(t=o.protocol+t),0===t.indexOf("/")&&(t=o.protocol+"//"+o.host+t);var l=(t=t.replace(/[/]+$/,"")).split("/");return("http:"===l[0]&&/:80$/.test(l[2])||"https:"===l[0]&&/:443$/.test(l[2]))&&(l[2]=l[2].replace(/:(80|443)$/,"")),t=l.join("/")},n.arrIndexOf=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}
81,n.arrSkip=function(e,t){var r=n.arrIndexOf(e,t),o;return-1===r?e.slice():e.slice(0,r).concat(e.slice(r+1))},n.isArray=Array.isArray||function(e){return{}.toString.call(e).indexOf("Array")>=0},n.delay=function(e,t){return"function"==typeof e&&(t=e,e=0),setTimeout(t,e)};var l=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f={"\0":"\\u0000","�":"\\u0001","�":"\\u0002","�":"\\u0003","�":"\\u0004","�":"\\u0005","�":"\\u0006","�":"\\u0007","\b":"\\b","\t":"\\t","\n":"\\n","\v":"\\u000b","\f":"\\f","\r":"\\r","�":"\\u000e","�":"\\u000f","�":"\\u0010","�":"\\u0011","�":"\\u0012","�":"\\u0013","�":"\\u0014","�":"\\u0015","�":"\\u0016","�":"\\u0017","�":"\\u0018","�":"\\u0019","�":"\\u001a","�":"\\u001b","�":"\\u001c","�":"\\u001d","�":"\\u001e","�":"\\u001f",'"':'\\"',"\\":"\\\\","�":"\\u007f","Â":"\\u0080","Â":"\\u0081","Â":"\\u0082","Â":"\\u0083","Â":"\\u0084","Â
":"\\u0085","Â":"\\u0086","Â":"\\u0087","Â":"\\u0088","Â":"\\u0089","Â":"\\u008a","Â":"\\u008b","Â":"\\u008c","Â":"\\u008d","Â":"\\u008e","Â":"\\u008f","Â":"\\u0090","Â":"\\u0091","Â":"\\u0092","Â":"\\u0093","Â":"\\u0094","Â":"\\u0095","Â":"\\u0096","Â":"\\u0097","Â":"\\u0098","Â":"\\u0099","Â":"\\u009a","Â":"\\u009b","Â":"\\u009c","Â":"\\u009d","Â":"\\u009e","Â":"\\u009f","Â":"\\u00ad","Ø":"\\u0600","Ø":"\\u0601","Ø":"\\u0602","Ø":"\\u0603","Ø":"\\u0604","Ü":"\\u070f","á´":"\\u17b4","áµ":"\\u17b5","â":"\\u200c","â":"\\u200d","â":"\\u200e","â":"\\u200f","\u2028":"\\u2028","\u2029":"\\u2029","âª":"\\u202a","â«":"\\u202b","â¬":"\\u202c","â":"\\u202d","â®":"\\u202e","â¯":"\\u202f","â ":"\\u2060","â¡":"\\u2061","â¢":"\\u2062","â£":"\\u2063","â¤":"\\u2064","â¥":"\\u2065","â¦":"\\u2066","â§":"\\u2067","â¨":"\\u2068","â©":"\\u2069","âª":"\\u206a","â«":"\\u206b","â¬":"\\u206c","â":"\\u206d","â®":"\\u206e","â¯":"\\u206f","\ufeff":"\\ufeff","ï¿°":"\\ufff0","￱":"\\ufff1","￲":"\\ufff2","￳":"\\ufff3","ï¿´":"\\ufff4","￵":"\\ufff5","ï¿¶":"\\ufff6","ï¿·":"\\ufff7","￸":"\\ufff8","":"\\ufff9","":"\\ufffa","ï¿»":"\\ufffb","":"\\ufffc","�":"\\ufffd","￾":"\\ufffe","ï¿¿":"\\uffff"},d=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g,p,h=JSON&&JSON.stringify||function(e){return l.lastIndex=0,l.test(e)&&(e=e.replace(l,(function(e){return f[e]}))),'"'+e+'"'},_=function(e){var t,n={},r=[];for(t=0;t<65536;t++)r.push(String.fromCharCode(t));return e.lastIndex=0,r.join("").replace(e,(function(e){return n[e]="\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4),""})),e.lastIndex=0,n};n.quote=function(e){var t=h(e);return d.lastIndex=0,d.test(t)?(p||(p=_(d)),t.replace(d,(function(e){return p[e]}))):t};var m=["websocket","xdr-streaming","xhr-streaming","iframe-eventsource","iframe-htmlfile","xdr-polling","xhr-polling","iframe-xhr-polling","jsonp-polling"];n.probeProtocols=function(){for(var e={},t=0;t<m.length;t++){var n=m[t];e[n]=T[n]&&T[n].enabled()}return e},n.detectProtocols=function(e,t,n){var r={},o=[];t||(t=m);for(var i=0;i<t.length;i++){var s=t[i];r[s]=e[s]}var a=function(e){var t=e.shift();r[t]?o.push(t):e.length>0&&a(e)};return!1!==n.websocket&&a(["websocket"]),r["xhr-streaming"]&&!n.null_origin?o.push("xhr-streaming"):!r["xdr-streaming"]||n.c
81ookie_needed||n.null_origin?a(["iframe-eventsource","iframe-htmlfile"]):o.push("xdr-streaming"),r["xhr-polling"]&&!n.null_origin?o.push("xhr-polling"):!r["xdr-polling"]||n.cookie_needed||n.null_origin?a(["iframe-xhr-polling","jsonp-polling"]):o.push("xdr-polling"),o};var v="_sockjs_global";n.createHook=function(){var e="a"+n.random_string(8);if(!(v in t)){var r={};t[v]=function(e){return e in r||(r[e]={id:e,del:function(){delete r[e]}}),r[e]}}return t[v](e)},n.attachMessage=function(e){n.attachEvent("message",e)},n.attachEvent=function(n,r){"undefined"!=typeof t.addEventListener?t.addEventListener(n,r,!1):(e.attachEvent("on"+n,r),t.attachEvent("on"+n,r))},n.detachMessage=function(e){n.detachEvent("message",e)},n.detachEvent=function(n,r){"undefined"!=typeof t.addEventListener?t.removeEventListener(n,r,!1):(e.detachEvent("on"+n,r),t.detachEvent("on"+n,r))};var b={},y=!1,g=function(){for(var e in i.sanitizeForInObject(b))b[e](),delete b[e]},w=function(){y||(y=!0,g())};n.attachEvent("unload",w),n.unload_add=function(e){var t=n.random_string(8);return b[t]=e,y&&n.delay(g),t},n.unload_del=function(e){e in b&&delete b[e]},n.createIframe=function(t,r){var o=e.createElement("iframe"),i,s,a=function(){clearTimeout(i);try{o.onload=null}catch(e){}o.onerror=null},u=function(){o&&(a(),setTimeout((function(){o&&o.parentNode.removeChild(o),o=null}),0),n.unload_del(s))},c=function(e){o&&(u(),r(e))},l=function(e,t){try{o&&o.contentWindow&&o.contentWindow.postMessage(e,t)}catch(n){}};return o.src=t,o.style.display="none",o.style.position="absolute",o.onerror=function(){c("onerror")},o.onload=function(){clearTimeout(i),i=setTimeout((function(){c("onload timeout")}),2e3)},e.body.appendChild(o),i=setTimeout((function(){c("timeout")}),15e3),s=n.unload_add(u),{post:l,cleanup:u,loaded:a}},n.createHtmlfile=function(e,r){var o=new ActiveXObject("htmlfile"),i,s,a,u=function(){clearTimeout(i)},c=function(){o&&(u(),n.unload_del(s),a.parentNode.removeChild(a),a=o=null,CollectGarbage())},l=function(e){o&&(c(),r(e))},f=function(e,t){try{a&&a.contentWindow&&a.contentWindow.postMessage(e,t)}catch(n){}};o.open(),o.write('<html><script>document.domain="'+document.domain+'";<\/script></html>'),o.close(),o.parentWindow._jp=t._jp;var d=o.createElement("div");return o.body.appendChild(d),a=o.createElement("iframe"),d.appendChild(a),a.src=e,i=setTimeout((function(){l("timeout")}),15e3),s=n.unload_add(c),{post:f,cleanup:c,loaded:u}};var S=function(){};(S.prototype=new a(["chunk","finish"]))._start=function(e,r,o,s){var a=this;try{a.xhr=new XMLHttpRequest}catch(c){}if(!a.xhr)try{a.xhr=new t.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}(t.ActiveXObject||t.XDomainRequest)&&(r+=(-1===r.indexOf("?")?"?":"&")+"t="+ +new Date),a.unload_ref=n.unload_add((function(){a._cleanup(!0)}));try{a.xhr.open(e,r,!0)}catch(l){return a.emit("finish",0,""),void a._cleanup()}if(s&&s.no_credentials||(a.xhr.withCredentials="true"),s&&s.headers)for(var u in i.sanitizeForInObject(s.headers))a.xhr.setRequestHeader(u,s.headers[u]);a.xhr.onreadystatechange=function(){if(a.xhr){var e=a.xhr;switch(e.readyState){case 3:try{var t=e.status,n=e.responseText}catch(e){}1223===t&&(t=204),n&&n.length>0&&a.emit("chunk",t,n);break;case 4:var t;1223===(t=e.status)&&(t=204),a.emit("finish",t,e.responseText),a._cleanup(!1)}}},a.xhr.send(o)},S.prototype._cleanup=function(e){var t=this;if(t.xhr){if(n.unload_del(t.unload_ref),t.xhr.onreadystatechange=function(){},e)try{t.xhr.abort()}catch(r){}t.unload_ref=t.xhr=null}},S.prototype.close=function(){var e=this;e.nuke(),e._cleanup(!0)};var C=n.XHRCorsObject=function(){var e=this,t=arguments;n.delay((function(){e._start.apply(e,t)}))},k;C.prototype=new S,(n.XHRLocalObject=function(e,t,r){var o=this;n.delay((function(){o._start(e,t,r,{no_credentials:!0})}))}).prototype=new S;var O=n.XDRObject=function(e,t,r){var o=this;n.delay((function(){o._start(e,t,r)}))};O.prototype=new a(["chunk","finish"]),O.prototype._start=function(e,t,r){var o=this,i=new XDomainRequest;t+=(-1===t.indexOf("?")?"?":"&")+"t="+ +new Date;var s=i.ontimeout=i.onerror=function(){o.emit("finish",0,""),o._cleanup(!1)};
81i.onprogress=function(){o.emit("chunk",200,i.responseText)},i.onload=function(){o.emit("finish",200,i.responseText),o._cleanup(!1)},o.xdr=i,o.unload_ref=n.unload_add((function(){o._cleanup(!0)}));try{o.xdr.open(e,t),o.xdr.send(r)}catch(a){s()}},O.prototype._cleanup=function(e){var t=this;if(t.xdr){if(n.unload_del(t.unload_ref),t.xdr.ontimeout=t.xdr.onerror=t.xdr.onprogress=t.xdr.onload=null,e)try{t.xdr.abort()}catch(r){}t.unload_ref=t.xdr=null}},O.prototype.close=function(){var e=this;e.nuke(),e._cleanup(!0)},n.isXHRCorsCapable=function(){return t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest?1:t.XDomainRequest&&e.domain?2:U.enabled()?3:4};var T=function(e,t,r){if(!(this instanceof T))return new T(e,t,r);var o=this,i;o._options={devel:!1,debug:!1,protocols_whitelist:[],info:void 0,rtt:void 0},r&&n.objectExtend(o._options,r),o._base_url=n.amendUrl(e),o._server=o._options.server||n.random_number_string(1e3),o._options.protocols_whitelist&&o._options.protocols_whitelist.length?i=o._options.protocols_whitelist:(i="string"==typeof t&&t.length>0?[t]:n.isArray(t)?t:null)&&o._debug('Deprecated API: Use "protocols_whitelist" option instead of supplying protocol list as a second parameter to SockJS constructor.'),o._protocols=[],o.protocol=null,o.readyState=T.CONNECTING,o._ir=z(o._base_url),o._ir.onfinish=function(e,t){o._ir=null,e?(o._options.info&&(e=n.objectExtend(e,o._options.info)),o._options.rtt&&(t=o._options.rtt),o._applyInfo(e,t,i),o._didClose()):o._didClose(1002,"Can't connect to server",!0)}};T.prototype=new o,T.version="0.3.4",T.CONNECTING=0,T.OPEN=1,T.CLOSING=2,T.CLOSED=3,T.prototype._debug=function(){this._options.debug&&n.log.apply(n,arguments)},T.prototype._dispatchOpen=function(){var e=this;e.readyState===T.CONNECTING?(e._transport_tref&&(clearTimeout(e._transport_tref),e._transport_tref=null),e.readyState=T.OPEN,e.dispatchEvent(new s("open"))):e._didClose(1006,"Server lost session")},T.prototype._dispatchMessage=function(e){var t=this;t.readyState===T.OPEN&&t.dispatchEvent(new s("message",{data:e}))},T.prototype._dispatchHeartbeat=function(e){var t=this;t.readyState===T.OPEN&&t.dispatchEvent(new s("heartbeat",{}))},T.prototype._didClose=function(e,t,r){var o=this;if(o.readyState===T.CONNECTING||o.readyState===T.OPEN||o.readyState===T.CLOSING){o._ir&&(o._ir.nuke(),o._ir=null),o._transport&&(o._transport.doCleanup(),o._transport=null);
81var i=new s("close",{code:e,reason:t,wasClean:n.userSetCode(e)});if(!n.userSetCode(e)&&o.readyState===T.CONNECTING&&!r){if(o._try_next_protocol(i))return;i=new s("close",{code:2e3,reason:"All transports failed",wasClean:!1,last_event:i})}o.readyState=T.CLOSED,n.delay((function(){o.dispatchEvent(i)}))}else n.debug("INVALID_STATE_ERR",o.readyState)},T.prototype._didMessage=function(e){var t=this,n;switch(e.slice(0,1)){case"o":t._dispatchOpen();break;case"a":for(var r=JSON.parse(e.slice(1)||"[]"),o=0;o<r.length;o++)t._dispatchMessage(r[o]);break;case"m":var r=JSON.parse(e.slice(1)||"null");t._dispatchMessage(r);break;case"c":var r=JSON.parse(e.slice(1)||"[]");t._didClose(r[0],r[1]);break;case"h":t._dispatchHeartbeat()}},T.prototype._try_next_protocol=function(t){var r=this;for(r.protocol&&(r._debug("Closed transport:",r.protocol,""+t),r.protocol=null),r._transport_tref&&(clearTimeout(r._transport_tref),r._transport_tref=null);;){var o=r.protocol=r._protocols.shift();if(!o)return!1;if(T[o]&&!0===T[o].need_body&&(!e.body||"undefined"!=typeof e.readyState&&"complete"!==e.readyState))return r._protocols.unshift(o),r.protocol="waiting-for-load",n.attachEvent("load",(function(){r._try_next_protocol()})),!0;if(T[o]&&T[o].enabled(r._options)){var i=T[o].roundTrips||1,s=(r._options.rto||0)*i||5e3;r._transport_tref=n.delay(s,(function(){r.readyState===T.CONNECTING&&r._didClose(2007,"Transport timeouted")}));var a=n.random_string(8),u=r._base_url+"/"+r._server+"/"+a;return r._debug("Opening transport:",o," url:"+u," RTO:"+r._options.rto),r._transport=new T[o](r,u,r._base_url),!0}r._debug("Skipping transport:",o)}},T.prototype.close=function(e,t){var r=this;if(e&&!n.userSetCode(e))throw new Error("INVALID_ACCESS_ERR");return(r.readyState===T.CONNECTING||r.readyState===T.OPEN)&&(r.readyState=T.CLOSING,r._didClose(e||1e3,t||"Normal closure"),!0)},T.prototype.send=function(e){var t=this;if(t.readyState===T.CONNECTING)throw new Error("INVALID_STATE_ERR");return t.readyState===T.OPEN&&t._transport.doSend(n.quote(""+e)),!0},T.prototype._applyInfo=function(t,r,o){var i=this;i._options.info=t,i._options.rtt=r,i._options.rto=n.countRTO(r),i._options.info.null_origin=!e.domain,t.base_url&&(i._base_url=n.amendUrl(t.base_url,i._base_url));var s=n.probeProtocols();i._protocols=n.detectProtocols(s,o,t),n.isSameOriginScheme(i._base_url)||2!==n.isXHRCorsCapable()||(i._protocols=["jsonp-polling"])};var x=T.websocket=function(e,r){var o=this,i=r+"/websocket";i="https"===i.slice(0,5)?"wss"+i.slice(5):"ws"+i.slice(4),o.ri=e,o.url=i;var s=t.WebSocket||t.MozWebSocket;o.ws=new s(o.url),o.ws.onmessage=function(e){o.ri._didMessage(e.data)},o.unload_ref=n.unload_add((function(){o.ws.close()})),o.ws.onclose=function(){o.ri._didMessage(n.closeFrame(1006,"WebSocket connection broken"))}};x.prototype.doSend=function(e){this.ws.send("["+e+"]")},x.prototype.doCleanup=function(){var e=this,t=e.ws;t&&(t.onmessage=t.onclose=null,t.close(),n.unload_del(e.unload_ref),e.unload_ref=e.ri=e.ws=null)},x.enabled=function(){return!(!t.WebSocket&&!t.MozWebSocket)},x.roundTrips=2;var j=function(){};j.prototype.send_constructor=function(e){var t=this;t.send_buffer=[],t.sender=e},j.prototype.doSend=function(e){var t=this;t.send_buffer.push(e),t.send_stop||t.send_schedule()},j.prototype.send_schedule_wait=function(){var e=this,t;e.send_stop=function(){e.send_stop=null,clearTimeout(t)},t=n.delay(25,(function(){e.send_stop=null,e.send_schedule()}))},j.prototype.send_schedule=function(){var e=this;if(e.send_buffer.length>0){var t="["+e.send_buffer.join(",")+"]";e.send_stop=e.sender(e.trans_url,t,(function(t,n){e.send_stop=null,!1===t?e.ri._didClose(1006,"Sending error "+n):e.send_schedule_wait()})),e.send_buffer=[]}},j.prototype.send_destructor=function(){var e=this;e._send_stop&&e._send_stop(),e._send_stop=null};var E=function(t,r,o){var i=this;if(!("_send_form"in i)){var s=i._send_form=e.createElement("form"),a;(a=i._send_area=e.createElement("textarea")).name="d",s.style.display="none",s.style.position="absolute",s.method="POST",s.enctype="application/x-www-form-urlencoded",s.acceptCharset="UTF-8",s.appendChild(a),e.body.appendChild(s)}var s=i._send_form,a=i._send_area,u="a"+n.random_string(8),c;s.target=u,s.action=t+"/jsonp_send?i="+u;try{c=e.createElement('<iframe name="'+u+'">')}catch(f){(c=e.createElement("iframe")).name=u}c.id=u,s.appendChild(c),c.style.display="none";try{a.value=r}catch(d){n.log("Your browser is seriously broken. Go home! "+d.message)}s.submit();var l=function(e){c.onerror&&(c.onreadystatechange=c.onerror=c.onload=null,n.delay(500,(function(){c.parentNode.removeChild(c),c=null})),a.value="",o(!0))};return c.onerror=c.onload=l,c.onreadystatechange=function(e){"complete"==c.readyState&&l()},l},N=function(e){return function(t,n,r){var o;return new e("POST",t+"/xhr_send",n).onfinish=function(e,t){r(200===e||204===e,"http status "+e)},function(e){r(!1,e)}}},M=function(t,r){var o,i=e.createElement("script"),s,a=function(e){s&&(s.parentNode.removeChild(s),s=null),i&&(clearTimeout(o),i.parentNode.removeChild(i),i.onreadystatechange=i.onerror=i.onload=i.onclick=null,i=null,r(e),r=null)},u=!1,c=null;if(i.id="a"+n.random_string(8),i.src=t,i.type="text/javascript",i.charset="UTF-8",i.onerror=function(e){c||(c=setTimeout((function(){u||a(n.closeFrame
81(1006,"JSONP script loaded abnormally (onerror)"))}),1e3))},i.onload=function(e){a(n.closeFrame(1006,"JSONP script loaded abnormally (onload)"))},i.onreadystatechange=function(e){if(/loaded|closed/.test(i.readyState)){if(i&&i.htmlFor&&i.onclick){u=!0;try{i.onclick()}catch(t){}}i&&a(n.closeFrame(1006,"JSONP script loaded abnormally (onreadystatechange)"))}},"undefined"==typeof i.async&&e.attachEvent)if(/opera/i.test(navigator.userAgent))(s=e.createElement("script")).text="try{var a = document.getElementById('"+i.id+"'); if(a)a.onerror();}catch(x){};",i.async=s.async=!1;else{try{i.htmlFor=i.id,i.event="onclick"}catch(f){}i.async=!0}"undefined"!=typeof i.async&&(i.async=!0),o=setTimeout((function(){a(n.closeFrame(1006,"JSONP script loaded abnormally (timeout)"))}),35e3);var l=e.getElementsByTagName("head")[0];return l.insertBefore(i,l.firstChild),s&&l.insertBefore(s,l.firstChild),a},R=T["jsonp-polling"]=function(e,t){n.polluteGlobalNamespace();var r=this;r.ri=e,r.trans_url=t,r.send_constructor(E),r._schedule_recv()};R.prototype=new j,R.prototype._schedule_recv=function(){var e=this,t=function(t){e._recv_stop=null,t&&(e._is_closing||e.ri._didMessage(t)),e._is_closing||e._schedule_recv()};e._recv_stop=I(e.trans_url+"/jsonp",M,t)},R.enabled=function(){return!0},R.need_body=!0,R.prototype.doCleanup=function(){var e=this;e._is_closing=!0,e._recv_stop&&e._recv_stop(),e.ri=e._recv_stop=null,e.send_destructor()};var I=function(e,r,o){var i="a"+n.random_string(6),s=e+"?c="+escape("_jp."+i),a=0,u,c=r(s,(function(e){switch(a){case 0:delete t._jp[i],o(e);break;case 1:o(e),a=2;break;case 2:delete t._jp[i]}})),l;return t._jp[i]=c,function(){t._jp[i]&&(a=1,t._jp[i](n.closeFrame(1e3,"JSONP user aborted read")))}},P=function(){};(P.prototype=new j).run=function(e,t,n,r,o){var i=this;i.ri=e,i.trans_url=t,i.send_constructor(N(o)),i.poll=new ee(e,r,t+n,o)},P.prototype.doCleanup=function(){var e=this;e.poll&&(e.poll.abort(),e.poll=null)};var L=T["xhr-streaming"]=function(e,t){this.run(e,t,"/xhr_streaming",ie,n.XHRCorsObject)};L.prototype=new P,L.enabled=function(){return t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest&&!/opera/i.test(navigator.userAgent)},L.roundTrips=2,L.need_body=!0;var A=T["xdr-streaming"]=function(e,t){this.run(e,t,"/xhr_streaming",ie,n.XDRObject)};A.prototype=new P,A.enabled=function(){return!!t.XDomainRequest},A.roundTrips=2;var X=T["xhr-polling"]=function(e,t){this.run(e,t,"/xhr",ie,n.XHRCorsObject)};X.prototype=new P,X.enabled=L.enabled,X.roundTrips=2;var H=T["xdr-polling"]=function(e,t){this.run(e,t,"/xhr",ie,n.XDRObject)};H.prototype=new P,H.enabled=A.enabled,H.roundTrips=2;var U=function(){},D;U.prototype.i_constructor=function(e,t,r){var o=this;o.ri=e,o.origin=n.getOrigin(r),o.base_url=r,o.trans_url=t;var i=r+"/iframe.html";o.ri._options.devel&&(i+="?t="+ +new Date),o.window_id=n.random_string(8),i+="#"+o.window_id,o.iframeObj=n.createIframe(i,(function(e){o.ri._didClose(1006,"Unable to load an iframe ("+e+")")})),o.onmessage_cb=n.bind(o.onmessage,o),n.attachMessage(o.onmessage_cb)},U.prototype.doCleanup=function(){var e=this;if(e.iframeObj){n.detachMessage(e.onmessage_cb);try{e.iframeObj.iframe.contentWindow&&e.postMessage("c")}catch(t){}e.iframeObj.cleanup(),e.iframeObj=null,e.onmessage_cb=e.iframeObj=null}},U.prototype.onmessage=function(e){var t=this;if(e.origin===t.origin){var n=e.data.slice(0,8),r=e.data.slice(8,9),o=e.data.slice(9);if(n===t.window_id)switch(r){case"s":t.iframeObj.loaded(),t.postMessage("s",JSON.stringify([T.version,t.protocol,t.trans_url,t.base_url]));break;case"t":t.ri._didMessage(o)}}},U.prototype.postMessage=function(e,t){var n=this;n.iframeObj.post(n.window_id+e+(t||""),n.origin)},U.prototype.doSend=function(e){this.postMessage("m",e)},U.enabled=function(){var e=navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Konqueror");return("function"==typeof t.postMessage||"object"===r(t.postMessage))&&!e};var J=function(e,r){parent!==t?parent.postMessage(D+e+(r||""),"*"):n.log("Can't postMessage, no parent window.",e,r)},W=function(){};
81W.prototype._didClose=function(e,t){J("t",n.closeFrame(e,t))},W.prototype._didMessage=function(e){J("t",e)},W.prototype._doSend=function(e){this._transport.doSend(e)},W.prototype._doCleanup=function(){this._transport.doCleanup()},n.parent_origin=void 0,T.bootstrap_iframe=function(){var r;D=e.location.hash.slice(1);var o=function(e){if(e.source===parent&&("undefined"==typeof n.parent_origin&&(n.parent_origin=e.origin),e.origin===n.parent_origin)){var o=e.data.slice(0,8),i=e.data.slice(8,9),s=e.data.slice(9);if(o===D)switch(i){case"s":var a=JSON.parse(s),u=a[0],c=a[1],l=a[2],f=a[3];if(u!==T.version&&n.log('Incompatibile SockJS! Main site uses: "'+u+'", the iframe: "'+T.version+'".'),!n.flatUrl(l)||!n.flatUrl(f))return void n.log("Only basic urls are supported in SockJS");if(!n.isSameOriginUrl(l)||!n.isSameOriginUrl(f))return void n.log("Can't connect to different domain from within an iframe. ("+JSON.stringify([t.location.href,l,f])+")");(r=new W)._transport=new W[c](r,l,f);break;case"m":r._doSend(s);break;case"c":r&&r._doCleanup(),r=null}}};n.attachMessage(o),J("s")};var F=function(e,t){var r=this;n.delay((function(){r.doXhr(e,t)}))};(F.prototype=new a(["finish"])).doXhr=function(e,t){var o=this,i=(new Date).getTime(),s=new t("GET",e+"/info?cb="+n.random_string(10)),a=n.delay(8e3,(function(){s.ontimeout()}));s.onfinish=function(e,t){if(clearTimeout(a),a=null,200===e){var n=(new Date).getTime()-i,s=JSON.parse(t);"object"!==r(s)&&(s={}),o.emit("finish",s,n)}else o.emit("finish")},s.ontimeout=function(){s.close(),o.emit("finish")}};var G=function(t){var r=this,o=function(){var e=new U;e.protocol="w-iframe-info-receiver";var n=function(t){if("string"==typeof t&&"m"===t.substr(0,1)){var n=JSON.parse(t.substr(1)),o=n[0],i=n[1];r.emit("finish",o,i)}else r.emit("finish");e.doCleanup(),e=null},o={_options:{},_didClose:n,_didMessage:n};e.i_constructor(o,t,t)};e.body?o():n.attachEvent("load",o)};G.prototype=new a(["finish"]);var q=function(){var e=this;n.delay((function(){e.emit("finish",{},2e3)}))};q.prototype=new a(["finish"]);var z=function(e){if(n.isSameOriginUrl(e))return new F(e,n.XHRLocalObject);switch(n.isXHRCorsCapable()){case 1:return new F(e,n.XHRLocalObject);case 2:return n.isSameOriginScheme(e)?new F(e,n.XDRObject):new q;case 3:return new G(e);default:return new q}},B;(W["w-iframe-info-receiver"]=function(e,t,r){var o;new F(r,n.XHRLocalObject).onfinish=function(t,n){e._didMessage("m"+JSON.stringify([t,n])),e._didClose()}}).prototype.doCleanup=function(){};var $=T["iframe-eventsource"]=function(){var e=this;e.protocol="w-iframe-eventsource",e.i_constructor.apply(e,arguments)},V;$.prototype=new U,$.enabled=function(){return"EventSource"in t&&U.enabled()},$.need_body=!0,$.roundTrips=3,(W["w-iframe-eventsource"]=function(e,t){this.run(e,t,"/eventsource",te,n.XHRLocalObject)}).prototype=new P;var K=T["iframe-xhr-polling"]=function(){var e=this;e.protocol="w-iframe-xhr-polling",e.i_constructor.apply(e,arguments)},Y;K.prototype=new U,K.enabled=function(){return t.XMLHttpRequest&&U.enabled()},K.need_body=!0,K.roundTrips=3,(W["w-iframe-xhr-polling"]=function(e,t){this.run(e,t,"/xhr",ie,n.XHRLocalObject)}).prototype=new P;var Q=T["iframe-htmlfile"]=function(){var e=this;e.protocol="w-iframe-htmlfile",e.i_constructor.apply(e,arguments)},Z;Q.prototype=new U,Q.enabled=function(){return U.enabled()},Q.need_body=!0,Q.roundTrips=3,(W["w-iframe-htmlfile"]=function(e,t){this.run(e,t,"/htmlfile",oe,n.XHRLocalObject)}).prototype=new P;var ee=function(e,t,n,r){var o=this;o.ri=e,o.Receiver=t,o.recv_url=n,o.AjaxObject=r,o._scheduleRecv()};ee.prototype._scheduleRecv=function(){var e=this,t=e.poll=new e.Receiver(e.recv_url,e.AjaxObject),n=0;t.onmessage=function(t){n+=1,e.ri._didMessage(t.data)},t.onclose=function(n){e.poll=t=t.onmessage=t.onclose=null,e.poll_is_closing||("permanent"===n.reason?e.ri._didClose(1006,"Polling error ("+n.reason+")"):e._scheduleRecv())}},ee.prototype.abort=function(){var e=this;e.poll_is_closing=!0,e.poll&&e.poll.abort()};var te=function(e){var t=this,r=new EventSource(e);r.onmessage=function(e){t.dispatchEvent(new s("message",{data:unescape(e.data)}))},t.es_close=r.onerror=function(e,o){var i=o?"user":2!==r.readyState?"network":"permanent";t.es_close=r.onmessage=r.onerror=null,r.close(),r=null,n.delay(200,(function(){t.dispatchEvent(new s("close",{reason:i}))}))}},ne;te.prototype=new o,te.prototype.abort=function(){var e=this;e.es_close&&e.es_close({},!0)};var re=function(){if(void 0===ne)if("ActiveXObject"in t)try{ne=!!new ActiveXObject("htmlfile")}catch(e){}else ne=!1;return ne},oe=function(e){var r=this;n.polluteGlobalNamespace(),r.id="a"+n.random_string(6,26),e+=(-1===e.indexOf("?")?"?":"&")+"c="+escape("_jp."+r.id);var o=re()?n.createHtmlfile:n.createIframe,i;t._jp[r.id]={start:function(){i.loaded()},message:function(e){r.dispatchEvent(new s("message",{data:e}))},stop:function(){r.iframe_close({},"network")}},r.iframe_close=function(e,n){i.cleanup(),r.iframe_close=i=null,delete t._jp[r.id],r.dispatchEvent(new s("close",{reason:n}))},i=o(e,(function(e){r.iframe_close({},"permanent")}))};oe.prototype=new o,oe.prototype.abort=function(){var e=this;e.iframe_close&&e.iframe_close({},"user")};var ie=function(e,t){var n=this,r=0;
81n.xo=new t("POST",e,null),n.xo.onchunk=function(e,t){if(200===e)for(;;){var o=t.slice(r),i=o.indexOf("\n");if(-1===i)break;r+=i+1;var a=o.slice(0,i);n.dispatchEvent(new s("message",{data:a}))}},n.xo.onfinish=function(e,t){n.xo.onchunk(e,t),n.xo=null;var r=200===e?"network":"permanent";n.dispatchEvent(new s("close",{reason:r}))}};return ie.prototype=new o,ie.prototype.abort=function(){var e=this;e.xo&&(e.xo.close(),e.dispatchEvent(new s("close",{reason:"user"})),e.xo=null)},T.getUtils=function(){return n},T.getIframeTransport=function(){return U},T}(),"_sockjs_onload"in window&&setTimeout(_sockjs_onload,1),"function"==typeof define&&define.amd&&define("sockjs",[],(function(){return l}))},
81"browser.js":function e(t,n,e){var r,o,i,s,a,u;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/assertThisInitialized",{default:function(e){o=e}},1),e.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){i=e}},2),e.export({ClientStream:function(){return c}}),e.link("./urls.js",{toSockjsUrl:function(e){s=e},toWebsocketUrl:function(e){a=e}},0),e.link("./common.js",{StreamClientCommon:function(e){u=e}},1),e.link("./sockjs-0.3.4.js");var c=function(e){function t(t,n){var r;return(r=e.call(this,n)||this)._initCommon(r.options),r.HEARTBEAT_TIMEOUT=1e5,r.rawUrl=t,r.socket=null,r.lastError=null,r.heartbeatTimer=null,window.addEventListener("online",r._online.bind(o(r)),!1),r._launchConnection(),r}i(t,e);var n=t.prototype;return n.send=function(){function e(e){this.currentStatus.connected&&this.socket.send(e)}return e}(),n._changeUrl=function(){function e(e){this.rawUrl=e}return e}(),n._connected=function(){function e(){this.connectionTimer&&(clearTimeout(this.connectionTimer),this.connectionTimer=null),this.currentStatus.connected||(this.currentStatus.status="connected",this.currentStatus.connected=!0,this.currentStatus.retryCount=0,this.statusChanged(),this.forEachCallback("reset",(function(e){e()})))}return e}(),n._cleanup=function(){function e(e){this._clearConnectionAndHeartbeatTimers(),this.socket&&(this.socket.onmessage=this.socket.onclose=this.socket.onerror=this.socket.onheartbeat=function(){},this.socket.close(),this.socket=null),this.forEachCallback("disconnect",(function(t){t(e)}))}return e}(),n._clearConnectionAndHeartbeatTimers=function(){function e(){this.connectionTimer&&(clearTimeout(this.connectionTimer),this.connectionTimer=null),this.heartbeatTimer&&(clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null)}return e}(),n._heartbeat_timeout=function(){function e(){console.log("Connection timeout. No sockjs heartbeat received."),this._lostConnection(new this.ConnectionError("Heartbeat timed out"))}return e}(),n._heartbeat_received=function(){function e(){this._forcedToDisconnect||(this.heartbeatTimer&&clearTimeout(this.heartbeatTimer),this.heartbeatTimer=setTimeout(this._heartbeat_timeout.bind(this),this.HEARTBEAT_TIMEOUT))}return e}(),n._sockjsProtocolsWhitelist=function(){function e(){var e=["xdr-polling","xhr-polling","iframe-xhr-polling","jsonp-polling"],t;return navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent)&&/OS 4_|OS 5_/.test(navigator.userAgent)||(e=["websocket"].concat(e)),e}return e}(),n._launchConnection=function(){function e(){var e=this;this._cleanup();var t=r({protocols_whitelist:this._sockjsProtocolsWhitelist()},this.options._sockjsOptions),n="function"==typeof l;this.socket=n?new l(s(this.rawUrl),void 0,t):new WebSocket(a(this.rawUrl)),this.socket.onopen=function(t){e.lastError=null,e._connected()},this.socket.onmessage=function(t){e.lastError=null,e._heartbeat_received(),e.currentStatus.connected&&e.forEachCallback("message",(function(e){e(t.data)}))},this.socket.onclose=function(){e._lostConnection()},this.socket.onerror=function(t){var n=e.lastError;e.lastError=t,n||console.error("stream error",t,(new Date).toDateString())},this.socket.onheartbeat=function(){e.lastError=null,e._heartbeat_received()},this.connectionTimer&&clearTimeout(this.connectionTimer),this.connectionTimer=setTimeout((function(){e._lostConnection(new e.ConnectionError("DDP connection timed out"))}),this.CONNECT_TIMEOUT)}return e}(),t}(u)},
81"common.js":function e(t,n,e){var r,o;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.export({StreamClientCommon:function(){return s}}),e.link("meteor/retry",{Retry:function(e){o=e}},0);var i=new Error("forced reconnect"),s=function(){function e(e){this.options=r({retry:!0},e||null),this.ConnectionError=e&&e.ConnectionError||Error}var t=e.prototype;return t.on=function(){function e(e,t){if("message"!==e&&"reset"!==e&&"disconnect"!==e)throw new Error("unknown event type: "+e);this.eventCallbacks[e]||(this.eventCallbacks[e]=[]),this.eventCallbacks[e].push(t)}return e}(),t.forEachCallback=function(){function e(e,t){this.eventCallbacks[e]&&this.eventCallbacks[e].length&&this.eventCallbacks[e].forEach(t)}return e}(),t._initCommon=function(){function e(e){var t=this;e=e||Object.create(null),this.CONNECT_TIMEOUT=e.connectTimeoutMs||1e4,this.eventCallbacks=Object.create(null),this._forcedToDisconnect=!1,this.currentStatus={status:"connecting",connected:!1,retryCount:0},Package.tracker&&(this.statusListeners=new Package.tracker.Tracker.Dependency),this.statusChanged=function(){t.statusListeners&&t.statusListeners.changed()},this._retry=new o,this.connectionTimer=null}return e}(),t.reconnect=function(){function e(e){(e=e||Object.create(null)).url&&this._changeUrl(e.url),e._sockjsOptions&&(this.options._sockjsOptions=e._sockjsOptions),this.currentStatus.connected?(e._force||e.url)&&this._lostConnection(i):("connecting"===this.currentStatus.status&&this._lostConnection(),this._retry.clear(),this.currentStatus.retryCount-=1,this._retryNow())}return e}(),t.disconnect=function(){function e(e){e=e||Object.create(null),this._forcedToDisconnect||(e._permanent&&(this._forcedToDisconnect=!0),this._cleanup(),this._retry.clear(),this.currentStatus={status:e._permanent?"failed":"offline",connected:!1,retryCount:0},e._permanent&&e._error&&(this.currentStatus.reason=e._error),this.statusChanged())}return e}(),t._lostConnection=function(){function e(e){this._cleanup(e),this._retryLater(e)}return e}(),t._online=function(){function e(){"offline"!=this.currentStatus.status&&this.reconnect()}return e}(),t._retryLater=function(){function e(e){var t=0;this.options.retry||e===i?(t=this._retry.retryLater(this.currentStatus.retryCount,this._retryNow.bind(this)),this.currentStatus.status="waiting",this.currentStatus.retryTime=(new Date).getTime()+t):(this.currentStatus.status="failed",delete this.currentStatus.retryTime),this.currentStatus.connected=!1,this.statusChanged()}return e}(),t._retryNow=function(){function e(){this._forcedToDisconnect||(this.currentStatus.retryCount+=1,this.currentStatus.status="connecting",this.currentStatus.connected=!1,delete this.currentStatus.retryTime,this.statusChanged(),this._launchConnection())}return e}(),t.status=function(){function e(){return this.statusListeners&&this.statusListeners.depend(),this.currentStatus}return e}(),e}()},
81"urls.js":function e(t,n,e){var r;function o(e,t,n){t||(t="http"),"sockjs"!==n&&e.startsWith("/")&&(e=r.absoluteUrl(e.substr(1)));var o=e.match(/^ddp(i?)\+sockjs:\/\//),i=e.match(/^http(s?):\/\//),s;if(o){var a=e.substr(o[0].length);s="i"===o[1]?t:t+"s";var u=a.indexOf("/"),c=-1===u?a:a.substr(0,u),l=-1===u?"":a.substr(u);return s+"://"+(c=c.replace(/\*/g,(function(){return Math.floor(10*Math.random())})))+l}if(i){s=i[1]?t+"s":t;var f=e.substr(i[0].length);e=s+"://"+f}return-1!==e.indexOf("://")||e.startsWith("/")||(e=t+"://"+e),(e=r._relativeToSiteRootUrl(e)).endsWith("/")?e+n:e+"/"+n}function i(e){return o(e,"http","sockjs")}function s(e){return o(e,"ws","websocket")}e.export({toSockjsUrl:function(){return i},toWebsocketUrl:function(){return s}}),e.link("meteor/meteor",{Meteor:function(e){r=e}},0)}}}}},{extensions:[".js",".json"]});f("/node_modules/meteor/socket-stream-client/sockjs-0.3.4.js"),Package._define("socket-stream-client")}(); 82 83!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.check.check,o=Package.check.Match,i=Package.random.Random,s=Package.ejson.EJSON,a=Package.tracker.Tracker,c=Package.tracker.Deps,u=Package.retry.Retry,d=Package["id-map"].IdMap,l=Package["callback-hook"].Hook,f=Package["ddp-common"].DDPCommon,h=Package.reload.Reload,_=Package["diff-sequence"].DiffSequence,m=Package["mongo-id"].MongoID,g=Package.modules.meteorInstall,v=Package.modules.meteorBabelHelpers,p=Package.promise.Promise,b=Package["ecmascript-runtime-client"].Symbol,k=Package["ecmascript-runtime-client"].Map,y=Package["ecmascript-runtime-client"].Set,D,M=g({node_modules:{meteor:{"ddp-client":{client:{
83"client.js":function e(t,n,e){e.link("../common/namespace.js",{DDP:"DDP"},0),e.link("../common/livedata_connection"),e.link("./client_convenience")},
83"client_convenience.js":function e(t,n,e){var r,o;e.link("../common/namespace.js",{DDP:function(e){r=e}},0),e.link("meteor/meteor",{Meteor:function(e){o=e}},1),o.refresh=function(){};var i,s=("undefined"!=typeof __meteor_runtime_config__?__meteor_runtime_config__:Object.create(null)).DDP_DEFAULT_CONNECTION_URL||"/",a=new u;function c(e){if(o._debug(e),Package.reload){var t,n=(Package.reload.Reload._migrationData("livedata")||Object.create(null)).DDPVersionNegotiationFailures||0;++n,Package.reload.Reload._onMigrate("livedata",(function(){return[!0,{DDPVersionNegotiationFailures:n}]})),a.retryLater(n,(function(){Package.reload.Reload._reload({immediateMigration:!0})}))}}o.connection=r.connect(s,{onDDPVersionNegotiationFailure:c}),["subscribe","methods","call","apply","status","reconnect","disconnect"].forEach((function(e){o[e]=o.connection[e].bind(o.connection)}))}},common:{
83"MethodInvoker.js":function e(t,n,e){e.export({default:function(){return r}});var r=function(){function e(e){this.methodId=e.methodId,this.sentMessage=!1,this._callback=e.callback,this._connection=e.connection,this._message=e.message,this._onResultReceived=e.onResultReceived||function(){},this._wait=e.wait,this.noRetry=e.noRetry,this._methodResult=null,this._dataVisible=!1,this._connection._methodInvokers[this.methodId]=this}var t=e.prototype;return t.sendMessage=function(){function e(){if(this.gotResult())throw new Error("sendingMethod is called on method with result");this._dataVisible=!1,this.sentMessage=!0,this._wait&&(this._connection._methodsBlockingQuiescence[this.methodId]=!0),this._connection._send(this._message)}return e}(),t._maybeInvokeCallback=function(){function e(){this._methodResult&&this._dataVisible&&(this._callback(this._methodResult[0],this._methodResult[1]),delete this._connection._methodInvokers[this.methodId],this._connection._outstandingMethodFinished())}return e}(),t.receiveResult=function(){function e(e,t){if(this.gotResult())throw new Error("Methods should only receive results once");this._methodResult=[e,t],this._onResultReceived(e,t),this._maybeInvokeCallback()}return e}(),t.dataVisible=function(){function e(){this._dataVisible=!0,this._maybeInvokeCallback()}return e}(),t.gotResult=function(){function e(){return!!this._methodResult}return e}(),e}()},
83"livedata_connection.js":function e(t,n,e){var r,o,i,s,a,c,u,l,f,h,m,g,v,p,b,k,y,D,M,S,w;e.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/slicedToArray",{default:function(e){o=e}},1),e.link("@babel/runtime/helpers/typeof",{default:function(e){i=e}},2),e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){s=e}},3),e.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){a=e}},4),e.export({Connection:function(){return O}}),e.link("meteor/meteor",{Meteor:function(e){c=e}},0),e.link("meteor/ddp-common",{DDPCommon:function(e){u=e}},1),e.link("meteor/tracker",{Tracker:function(e){l=e}},2),e.link("meteor/ejson",{EJSON:function(e){f=e}},3),e.link("meteor/random",{Random:function(e){h=e}},4),e.link("meteor/callback-hook",{Hook:function(e){m=e}},5),e.link("meteor/mongo-id",{MongoID:function(e){g=e}},6),e.link("./namespace.js",{DDP:function(e){v=e}},7),e.link("./MethodInvoker.js",{default:function(e){p=e}},8),e.link("meteor/ddp-common/utils.js",{hasOwn:function(e){b=e},slice:function(e){k=e},keys:function(e){y=e},isEmpty:function(e){D=e},last:function(e){M=e}},9),c.isServer&&(S=Npm.require("fibers"),w=Npm.require("fibers/future"));var E=function(e){function t(){return e.call(this,g.idStringify,g.idParse)||this}return a(t,e),t}(d),O=function(){function e(e,n){var r=this;if(this.options=n=s({onConnected:function(){},onDDPVersionNegotiationFailure:function(e){c._debug(e)},heartbeatInterval:17500,heartbeatTimeout:15e3,npmFayeOptions:Object.create(null),reloadWithOutstanding:!1,supportedDDPVersions:u.SUPPORTED_DDP_VERSIONS,retry:!0,respondToPings:!0,bufferedWritesInterval:5,bufferedWritesMaxAge:500},n),r.onReconnect=null,"object"===i(e))r._stream=e;else{var o,a=t("meteor/socket-stream-client").ClientStream;r._stream=new a(e,{retry:n.retry,ConnectionError:v.ConnectionError,headers:n.headers,_sockjsOptions:n._sockjsOptions,_dontPrintErrors:n._dontPrintErrors,connectTimeoutMs:n.connectTimeoutMs,npmFayeOptions:n.npmFayeOptions})}r._lastSessionId=null,r._versionSuggestion=null,r._version=null,r._stores=Object.create(null),r._methodHandlers=Object.create(null),r._nextMethodId=1,r._supportedDDPVersions=n.supportedDDPVersions,r._heartbeatInterval=n.heartbeatInterval,r._heartbeatTimeout=n.heartbeatTimeout,r._methodInvokers=Object.create(null),r._outstandingMethodBlocks=[],r._documentsWrittenByStub={},r._serverDocuments={},r._afterUpdateCallbacks=[],r._messagesBufferedUntilQuiescence=[],r._methodsBlockingQuiescence={},r._subsBeingRevived={},r._resetStores=!1,r._updatesForUnknownStores={},r._retryMigrate=null,r.__flushBufferedWrites=c.bindEnvironment(r._flushBufferedWrites,"flushing DDP buffered writes",r),r._bufferedWrites={},r._bufferedWritesFlushAt=null,r._bufferedWritesFlushHandle=null,r._bufferedWritesInterval=n.bufferedWritesInterval,r._bufferedWritesMaxAge=n.bufferedWritesMaxAge,r._subscriptions={},r._userId=null,r._userIdDeps=new l.Dependency,c.isClient&&Package.reload&&!n.reloadWithOutstanding&&Package.reload.Reload._onMigrate((function(e){return r._readyToMigrate()?[!0]:(r._retryMigrate=e,[!1])}));var d=function(){r._heartbeat&&(r._heartbeat.stop(),r._heartbeat=null)};c.isServer?(r._stream.on("message",c.bindEnvironment(this.onMessage.bind(this),"handling DDP message")),r._stream.on("reset",c.bindEnvironment(this.onReset.bind(this),"handling DDP reset")),r._stream.on("disconnect",c.bindEnvironment(d,"handling DDP disconnect"))):(r._stream.on("message",this.onMessage.bind(this)),r._stream.on("reset",this.onReset.bind(this)),r._stream.on("disconnect",d))}var n=e.prototype;return n.registerStore=function(){function e(e,t){var n=this;if(e in n._stores)return!1;var r=Object.create(null),o;["update","beginUpdate","endUpdate","saveOriginals","retrieveOriginals","getDoc","_getCollection"].forEach((function(e){r[e]=function(){if(t[e])return t[e].apply(t,arguments)}})),n._stores[e]=r;var i=n._updatesForUnknownStores[e];return Array.isArray(i)&&(r.beginUpdate(i.length,!1),i.forEach((function(e){r.update(e)})),r.endUpdate(),delete n._updatesForUnknownStores[e]),!0}return e}(),n.subscribe=function(){function e(e){var t=this,n=k.call(arguments,1
83),r=Object.create(null);if(n.length){var o=n[n.length-1];"function"==typeof o?r.onReady=n.pop():o&&[o.onReady,o.onError,o.onStop].some((function(e){return"function"==typeof e}))&&(r=n.pop())}var i=Object.values(t._subscriptions).find((function(t){return t.inactive&&t.name===e&&f.equals(t.params,n)})),s;i?(s=i.id,i.inactive=!1,r.onReady&&(i.ready?r.onReady():i.readyCallback=r.onReady),r.onError&&(i.errorCallback=r.onError),r.onStop&&(i.stopCallback=r.onStop)):(s=h.id(),t._subscriptions[s]={id:s,name:e,params:f.clone(n),inactive:!1,ready:!1,readyDeps:new l.Dependency,readyCallback:r.onReady,errorCallback:r.onError,stopCallback:r.onStop,connection:t,remove:function(){delete this.connection._subscriptions[this.id],this.ready&&this.readyDeps.changed()},stop:function(){this.connection._send({msg:"unsub",id:s}),this.remove(),r.onStop&&r.onStop()}},t._send({msg:"sub",id:s,name:e,params:n}));var a={stop:function(){b.call(t._subscriptions,s)&&t._subscriptions[s].stop()},ready:function(){if(!b.call(t._subscriptions,s))return!1;var e=t._subscriptions[s];return e.readyDeps.depend(),e.ready},subscriptionId:s};return l.active&&l.onInvalidate((function(e){b.call(t._subscriptions,s)&&(t._subscriptions[s].inactive=!0),l.afterFlush((function(){b.call(t._subscriptions,s)&&t._subscriptions[s].inactive&&a.stop()}))})),a}return e}(),n._subscribeAndWait=function(){function e(e,t,n){var r=this,o=new w,i=!1;(t=t||[]).push({onReady:function(){i=!0,o.return()},onError:function(e){i?n&&n.onLateError&&n.onLateError(e):o.throw(e)}});var s=r.subscribe.apply(r,[e].concat(t));return o.wait(),s}return e}(),n.methods=function(){function e(e){var t=this;Object.entries(e).forEach((function(e){var n=o(e,2),r=n[0],i=n[1];if("function"!=typeof i)throw new Error("Method '"+r+"' must be a function");if(t._methodHandlers[r])throw new Error("A method named '"+r+"' is already defined");t._methodHandlers[r]=i}))}return e}(),n.call=function(){function e(e){var t=k.call(arguments,1),n;return t.length&&"function"==typeof t[t.length-1]&&(n=t.pop()),this.apply(e,t,n)}return e}(),n.apply=function(){function e(e,t,n,r){var o=this;r||"function"!=typeof n||(r=n,n=Object.create(null)),n=n||Object.create(null),r&&(r=c.bindEnvironment(r,"delivering result of invoking '"+e+"'")),t=f.clone(t);var i=v._CurrentMethodInvocation.get(),s=i&&i.isSimulation,a=null,d=function(){return null===a&&(a=u.makeRpcSeed(i,e)),a},l,h,_=o._methodHandlers[e];if(_){var m=function(e){o.setUserId(e)},g=new u.MethodInvocation({isSimulation:!0,userId:o.userId(),setUserId:m,randomSeed:function(){return d()}});s||o._saveOriginals();try{l=v._CurrentMethodInvocation.withValue(g,(function(){return c.isServer?c._noYieldsAllowed((function(){return _.apply(g,f.clone(t))})):_.apply(g,f.clone(t))}))}catch(E){h=E}}if(s){if(r)return void r(h,l);if(h)throw h;return l}var b=""+o._nextMethodId++;_&&o._retrieveAndStoreOriginals(b);var k={msg:"method",id:b,method:e,params:t},y;if(h){if(n.throwStubExceptions)throw h;h._expectedByTest||c._debug("Exception while simulating the effect of invoking '"+e+"'",h)}r||(r=c.isClient?function(t){t&&c._debug("Error invoking Method '"+e+"'",t)}:(y=new w).resolver()),null!==a&&(k.randomSeed=a);var S=new p({methodId:b,callback:r,connection:o,onResultReceived:n.onResultReceived,wait:!!n.wait,message:k,noRetry:!!n.noRetry});return n.wait?o._outstandingMethodBlocks.push({wait:!0,methods:[S]}):((D(o._outstandingMethodBlocks)||M(o._outstandingMethodBlocks).wait)&&o._outstandingMethodBlocks.push({wait:!1,methods:[]}),M(o._outstandingMethodBlocks).methods.push(S)),1===o._outstandingMethodBlocks.length&&S.sendMessage(),y?y.wait():n.returnStubValue?l:void 0}return e}(),n._saveOriginals=function(){function e(){this._waitingForQuiescence()||this._flushBufferedWrites(),Object.values(this._stores).forEach((function(e){e.saveOriginals()}))}return e}(),n._retrieveAndStoreOriginals=function(){function e(e){var t=this;if(t._documentsWrittenByStub[e])throw new Error("Duplicate methodId in _retrieveAndStoreOriginals");var n=[];Object.entries(t._stores).forEach((function(r){var i=o(r,2),s=i[0],a,c=i[1].retrieveOriginals();
83c&&c.forEach((function(r,o){n.push({collection:s,id:o}),b.call(t._serverDocuments,s)||(t._serverDocuments[s]=new E);var i=t._serverDocuments[s].setDefault(o,Object.create(null));i.writtenByStubs||(i.document=r,i.flushCallbacks=[],i.writtenByStubs=Object.create(null)),i.writtenByStubs[e]=!0}))})),D(n)||(t._documentsWrittenByStub[e]=n)}return e}(),n._unsubscribeAll=function(){function e(){Object.values(this._subscriptions).forEach((function(e){"meteor_autoupdate_clientVersions"!==e.name&&e.stop()}))}return e}(),n._send=function(){function e(e){this._stream.send(u.stringifyDDP(e))}return e}(),n._lostConnection=function(){function e(e){this._stream._lostConnection(e)}return e}(),n.status=function(){function e(){var e;return(e=this._stream).status.apply(e,arguments)}return e}(),n.reconnect=function(){function e(){var e;return(e=this._stream).reconnect.apply(e,arguments)}return e}(),n.disconnect=function(){function e(){var e;return(e=this._stream).disconnect.apply(e,arguments)}return e}(),n.close=function(){function e(){return this._stream.disconnect({_permanent:!0})}return e}(),n.userId=function(){function e(){return this._userIdDeps&&this._userIdDeps.depend(),this._userId}return e}(),n.setUserId=function(){function e(e){this._userId!==e&&(this._userId=e,this._userIdDeps&&this._userIdDeps.changed())}return e}(),n._waitingForQuiescence=function(){function e(){return!D(this._subsBeingRevived)||!D(this._methodsBlockingQuiescence)}return e}(),n._anyMethodsAreOutstanding=function(){function e(){var e=this._methodInvokers;return Object.values(e).some((function(e){return!!e.sentMessage}))}return e}(),n._livedata_connected=function(){function e(e){var t=this,n;if("pre1"!==t._version&&0!==t._heartbeatInterval&&(t._heartbeat=new u.Heartbeat({heartbeatInterval:t._heartbeatInterval,heartbeatTimeout:t._heartbeatTimeout,onTimeout:function(){t._lostConnection(new v.ConnectionError("DDP heartbeat timed out"))},sendPing:function(){t._send({msg:"ping"})}}),t._heartbeat.start()),t._lastSessionId&&(t._resetStores=!0),"string"==typeof e.session&&(n=t._lastSessionId===e.session,t._lastSessionId=e.session),!n){if(t._updatesForUnknownStores=Object.create(null),t._resetStores&&(t._documentsWrittenByStub=Object.create(null),t._serverDocuments=Object.create(null)),t._afterUpdateCallbacks=[],t._subsBeingRevived=Object.create(null),Object.entries(t._subscriptions).forEach((function(e){var n=o(e,2),r=n[0],i;n[1].ready&&(t._subsBeingRevived[r]=!0)})),t._methodsBlockingQuiescence=Object.create(null),t._resetStores){var r=t._methodInvokers;y(r).forEach((function(e){var n=r[e];n.gotResult()?t._afterUpdateCallbacks.push((function(){return n.dataVisible.apply(n,arguments)})):n.sentMessage&&(t._methodsBlockingQuiescence[n.methodId]=!0)}))}t._messagesBufferedUntilQuiescence=[],t._waitingForQuiescence()||(t._resetStores&&(Object.values(t._stores).forEach((function(e){e.beginUpdate(0,!0),e.endUpdate()})),t._resetStores=!1),t._runAfterUpdateCallbacks())}}return e}(),n._processOneDataMessage=function(){function e(e,t){var n=e.msg;"added"===n?this._process_added(e,t):"changed"===n?this._process_changed(e,t):"removed"===n?this._process_removed(e,t):"ready"===n?this._process_ready(e,t):"updated"===n?this._process_updated(e,t):"nosub"===n||c._debug("discarding unknown livedata data message type",e)}return e}(),n._livedata_data=function(){function e(e){var t=this;if(t._waitingForQuiescence()){if(t._messagesBufferedUntilQuiescence.push(e),"nosub"===e.msg&&delete t._subsBeingRevived[e.id],e.subs&&e.subs.forEach((function(e){delete t._subsBeingRevived[e]})),e.methods&&e.methods.forEach((function(e){delete t._methodsBlockingQuiescence[e]})),t._waitingForQuiescence())return;var n=t._messagesBufferedUntilQuiescence;Object.values(n).forEach((function(e){t._processOneDataMessage(e,t._bufferedWrites)})),t._messagesBufferedUntilQuiescence=[]}else t._processOneDataMessage(e,t._bufferedWrites);var r="added"===e.msg||"changed"===e.msg||"removed"===e.msg;if(0!==t._bufferedWritesInterval&&r){if(null===t._bufferedWritesFlushAt)t._bufferedWritesFlushAt=(new Date).valueOf()+t._bufferedWritesMaxAge;else if(t._bufferedWritesFlushAt<(new Date).valueOf())return void t._flushBufferedWrites();t._bufferedWritesFlushHandle&&clearTimeout(t._bufferedWritesFlushHandle),t._bufferedWritesFlushHandle=setTimeout(t.__flushBufferedWrites,t._bufferedWritesInterval)}else t._flushBufferedWrites()}return e}(),n._flushBufferedWrites=function(){function e(){var e=this;e._bufferedWritesFlushHandle&&(clearTimeout(e._bufferedWritesFlushHandle),e._bufferedWritesFlushHandle=null),e._bufferedWritesFlushAt=null;var t=e._bufferedWrites;e._bufferedWrites=Object.create(null),e._performWrites(t)}return e}(),n._performWrites=function(){function e(e){var t=this;
83!t._resetStores&&D(e)||(Object.entries(t._stores).forEach((function(n){var r=o(n,2),i=r[0],s;r[1].beginUpdate(b.call(e,i)?e[i].length:0,t._resetStores)})),t._resetStores=!1,Object.entries(e).forEach((function(e){var n=o(e,2),i=n[0],s=n[1],a=t._stores[i];if(a)s.forEach((function(e){a.update(e)}));else{var c,u=t._updatesForUnknownStores;b.call(u,i)||(u[i]=[]),(c=u[i]).push.apply(c,r(s))}})),Object.values(t._stores).forEach((function(e){e.endUpdate()}))),t._runAfterUpdateCallbacks()}return e}(),n._runAfterUpdateCallbacks=function(){function e(){var e=this,t=e._afterUpdateCallbacks;e._afterUpdateCallbacks=[],t.forEach((function(e){e()}))}return e}(),n._pushUpdate=function(){function e(e,t,n){b.call(e,t)||(e[t]=[]),e[t].push(n)}return e}(),n._getServerDoc=function(){function e(e,t){var n=this,r;return b.call(n._serverDocuments,e)&&n._serverDocuments[e].get(t)||null}return e}(),n._process_added=function(){function e(e,t){var n=this,r=g.idParse(e.id),o=n._getServerDoc(e.collection,r);if(o){var i=void 0!==o.document;if(o.document=e.fields||Object.create(null),o.document._id=r,n._resetStores){var s=n._stores[e.collection].getDoc(e.id);void 0!==s&&(e.fields=s),n._pushUpdate(t,e.collection,e)}else if(i)throw new Error("Server sent add for existing id: "+e.id)}else n._pushUpdate(t,e.collection,e)}return e}(),n._process_changed=function(){function e(e,t){var n=this,r=n._getServerDoc(e.collection,g.idParse(e.id));if(r){if(void 0===r.document)throw new Error("Server sent changed for nonexisting id: "+e.id);_.applyChanges(r.document,e.fields)}else n._pushUpdate(t,e.collection,e)}return e}(),n._process_removed=function(){function e(e,t){var n=this,r=n._getServerDoc(e.collection,g.idParse(e.id));if(r){if(void 0===r.document)throw new Error("Server sent removed for nonexisting id:"+e.id);r.document=void 0}else n._pushUpdate(t,e.collection,{msg:"removed",collection:e.collection,id:e.id})}return e}(),n._process_updated=function(){function e(e,t){var n=this;e.methods.forEach((function(e){var r=n._documentsWrittenByStub[e]||{};Object.values(r).forEach((function(r){var o=n._getServerDoc(r.collection,r.id);if(!o)throw new Error("Lost serverDoc for "+JSON.stringify(r));if(!o.writtenByStubs[e])throw new Error("Doc "+JSON.stringify(r)+" not written by method "+e);delete o.writtenByStubs[e],D(o.writtenByStubs)&&(n._pushUpdate(t,r.collection,{msg:"replace",id:g.idStringify(r.id),replace:o.document}),o.flushCallbacks.forEach((function(e){e()})),n._serverDocuments[r.collection].remove(r.id))})),delete n._documentsWrittenByStub[e];var o=n._methodInvokers[e];if(!o)throw new Error("No callback invoker for method "+e);n._runWhenAllServerDocsAreFlushed((function(){return o.dataVisible.apply(o,arguments)}))}))}return e}(),n._process_ready=function(){function e(e,t){var n=this;e.subs.forEach((function(e){n._runWhenAllServerDocsAreFlushed((function(){var t=n._subscriptions[e];t&&(t.ready||(t.ready=!0,t.readyCallback&&t.readyCallback(),t.readyDeps.changed()))}))}))}return e}(),n._runWhenAllServerDocsAreFlushed=function(){function e(e){var t=this,n=function(){t._afterUpdateCallbacks.push(e)},r=0,o=function(){0===--r&&n()};Object.values(t._serverDocuments).forEach((function(e){e.forEach((function(e){var n;y(e.writtenByStubs).some((function(e){var n=t._methodInvokers[e];return n&&n.sentMessage}))&&(++r,e.flushCallbacks.push(o))}))})),0===r&&n()}return e}(),n._livedata_nosub=function(){function e(e){var t=this;if(t._livedata_data(e),b.call(t._subscriptions,e.id)){var n=t._subscriptions[e.id].errorCallback,r=t._subscriptions[e.id].stopCallback;t._subscriptions[e.id].remove();var o=function(e){return e&&e.error&&new c.Error(e.error.error,e.error.reason,e.error.details)};n&&e.error&&n(o(e)),r&&r(o(e))}}return e}(),n._livedata_result=function(){function e(e){var t=this;if(D(t._bufferedWrites)||t._flushBufferedWrites(),D(t._outstandingMethodBlocks))c._debug("Received method result but no methods outstanding");else{var n=t._outstandingMethodBlocks[0].methods,r,o=n.find((function(t,n){var o=t.methodId===e.id;return o&&(r=n),o}));o?(n.splice(r,1),b.call(e,"error")?o.receiveResult(new c.Error(e.error.error,e.error.reason,e.error.details)):o.receiveResult(void 0,e.result)):c._debug("Can't match method response to original method call",e)}
83}return e}(),n._outstandingMethodFinished=function(){function e(){var e=this;if(!e._anyMethodsAreOutstanding()){if(!D(e._outstandingMethodBlocks)){var t=e._outstandingMethodBlocks.shift();if(!D(t.methods))throw new Error("No methods outstanding but nonempty block: "+JSON.stringify(t));D(e._outstandingMethodBlocks)||e._sendOutstandingMethods()}e._maybeMigrate()}}return e}(),n._sendOutstandingMethods=function(){function e(){var e=this;D(e._outstandingMethodBlocks)||e._outstandingMethodBlocks[0].methods.forEach((function(e){e.sendMessage()}))}return e}(),n._livedata_error=function(){function e(e){c._debug("Received error from server: ",e.reason),e.offendingMessage&&c._debug("For: ",e.offendingMessage)}return e}(),n._callOnReconnectAndSendAppropriateOutstandingMethods=function(){function e(){var e,t=this,n=t._outstandingMethodBlocks;if(t._outstandingMethodBlocks=[],t.onReconnect&&t.onReconnect(),v._reconnectHook.each((function(e){return e(t),!0})),!D(n)){if(D(t._outstandingMethodBlocks))return t._outstandingMethodBlocks=n,void t._sendOutstandingMethods();M(t._outstandingMethodBlocks).wait||n[0].wait||(n[0].methods.forEach((function(e){M(t._outstandingMethodBlocks).methods.push(e),1===t._outstandingMethodBlocks.length&&e.sendMessage()})),n.shift()),(e=t._outstandingMethodBlocks).push.apply(e,r(n))}}return e}(),n._readyToMigrate=function(){function e(){return D(this._methodInvokers)}return e}(),n._maybeMigrate=function(){function e(){var e=this;e._retryMigrate&&e._readyToMigrate()&&(e._retryMigrate(),e._retryMigrate=null)}return e}(),n.onMessage=function(){function e(e){var t;try{t=u.parseDDP(e)}catch(r){return void c._debug("Exception while parsing DDP",r)}if(this._heartbeat&&this._heartbeat.messageReceived(),null!==t&&t.msg)if("connected"===t.msg)this._version=this._versionSuggestion,this._livedata_connected(t),this.options.onConnected();else if("failed"===t.msg)if(this._supportedDDPVersions.indexOf(t.version)>=0)this._versionSuggestion=t.version,this._stream.reconnect({_force:!0});else{var n="DDP version negotiation failed; server requested version "+t.version;this._stream.disconnect({_permanent:!0,_error:n}),this.options.onDDPVersionNegotiationFailure(n)}else"ping"===t.msg&&this.options.respondToPings?this._send({msg:"pong",id:t.id}):"pong"===t.msg||(["added","changed","removed","ready","updated"].includes(t.msg)?this._livedata_data(t):"nosub"===t.msg?this._livedata_nosub(t):"result"===t.msg?this._livedata_result(t):"error"===t.msg?this._livedata_error(t):c._debug("discarding unknown livedata message type",t));else if(!t||!t.testMessageOnConnect){if(1===Object.keys(t).length&&t.server_id)return;c._debug("discarding invalid livedata message",t)}}return e}(),n.onReset=function(){function e(){var e=this,t={msg:"connect"};if(this._lastSessionId&&(t.session=this._lastSessionId),t.version=this._versionSuggestion||this._supportedDDPVersions[0],this._versionSuggestion=t.version,t.support=this._supportedDDPVersions,this._send(t),this._outstandingMethodBlocks.length>0){var n=this._outstandingMethodBlocks[0].methods;this._outstandingMethodBlocks[0].methods=n.filter((function(e){return e.sentMessage&&e.noRetry&&e.receiveResult(new c.Error("invocation-failed","Method invocation might have failed due to dropped connection. Failing because `noRetry` option was passed to Meteor.apply.")),!(e.sentMessage&&e.noRetry)}))}this._outstandingMethodBlocks.length>0&&0===this._outstandingMethodBlocks[0].methods.length&&this._outstandingMethodBlocks.shift(),y(this._methodInvokers).forEach((function(t){e._methodInvokers[t].sentMessage=!1})),this._callOnReconnectAndSendAppropriateOutstandingMethods(),Object.entries(this._subscriptions).forEach((function(t){var n=o(t,2),r=n[0],i=n[1];e._send({msg:"sub",id:r,name:i.name,params:i.params})}))}return e}(),e}()},
83"namespace.js":function e(t,n,e){var r,o,i;e.export({DDP:function(){return a}}),e.link("meteor/ddp-common",{DDPCommon:function(e){r=e}},0),e.link("meteor/meteor",{Meteor:function(e){o=e}},1),e.link("./livedata_connection.js",{Connection:function(e){i=e}},2);var s=[],a={};function c(e){this.message=e}a._CurrentMethodInvocation=new o.EnvironmentVariable,a._CurrentPublicationInvocation=new o.EnvironmentVariable,a._CurrentInvocation=a._CurrentMethodInvocation,a.ConnectionError=o.makeErrorType("DDP.ConnectionError",c),a.ForcedReconnectError=o.makeErrorType("DDP.ForcedReconnectError",(function(){})),a.randomStream=function(e){var t=a._CurrentMethodInvocation.get();return r.RandomStream.get(t,e)},a.connect=function(e,t){var n=new i(e,t);return s.push(n),n},a._reconnectHook=new l({bindEnvironment:!1}),a.onReconnect=function(e){return a._reconnectHook.register(e)},a._allSubscriptionsReady=function(){return s.every((function(e){return Object.values(e._subscriptions).every((function(e){return e.ready}))}))}}}}}}},{extensions:[".js",".json"]}),S=M("/node_modules/meteor/ddp-client/client/client.js");Package._define("ddp-client",S,{DDP:D})}(); 84 85!function(){var a=Package["ddp-client"].DDP;Package._define("ddp",{DDP:a})}(); 86 87Package._define("ddp-server"); 88 89!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package.minimongo.LocalCollection,o=Package.minimongo.Minimongo,i=Package.check.check,a=Package.check.Match,c=Package.ejson.EJSON,l=Package["ddp-client"].DDP,s=Package.modules.meteorInstall,d=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,f=Package["ecmascript-runtime-client"].Symbol,h=Package["ecmascript-runtime-client"].Map,_=Package["ecmascript-runtime-client"].Set,m,v=s({node_modules:{meteor:{"allow-deny":{
89"allow-deny.js":function r(){var t=Object.prototype.hasOwnProperty,o=(m={CollectionPrototype:{}}).CollectionPrototype;o.allow=function(e){f(this,"allow",e)},o.deny=function(e){f(this,"deny",e)},o._defineMutationMethods=function(r){var n=this;if(r=r||{},n._restricted=!1,n._insecure=void 0,n._validators={insert:{allow:[],deny:[]},update:{allow:[],deny:[]},remove:{allow:[],deny:[]},upsert:{allow:[],deny:[]},fetch:[],fetchAllFields:!1},n._name&&(n._prefix="/"+n._name+"/",n._connection&&(n._connection===e.server||e.isClient))){var o={};["insert","update","remove"].forEach((function(c){var l=n._prefix+c;if(r.useExisting){var s=e.isClient?"_methodHandlers":"method_handlers";if(n._connection[s]&&"function"==typeof n._connection[s][l])return}o[l]=function(){i(arguments,[a.Any]);var r=Array.from(arguments);try{var o=null;if("insert"!==c||t.call(r[0],"_id")||(o=n._makeNewID()),this.isSimulation)return null!==o&&(r[0]._id=o),n._collection[c].apply(n._collection,r);if("insert"!==c&&h(r[0],c),n._restricted){if(0===n._validators[c].allow.length)throw new e.Error(403,"Access denied. No allow validators set on restricted collection for method '"+c+"'.");var l="_validated"+c.charAt(0).toUpperCase()+c.slice(1);return r.unshift(this.userId),"insert"===c&&r.push(o),n[l].apply(n,r)}if(n._isInsecure())return null!==o&&(r[0]._id=o),n._collection[c].apply(n._collection,r);throw new e.Error(403,"Access denied")}catch(s){throw"MongoError"===s.name||"BulkWriteError"===s.name||"MongoBulkWriteError"===s.name||"MinimongoError"===s.name?new e.Error(409,s.toString()):s}}})),n._connection.methods(o)}},o._updateFetch=function(e){var r=this;if(!r._validators.fetchAllFields)if(e){var t=Object.create(null),n=function(e){return e&&e.forEach((function(e){return t[e]=1}))};n(r._validators.fetch),n(e),r._validators.fetch=Object.keys(t)}else r._validators.fetchAllFields=!0,r._validators.fetch=null},o._isInsecure=function(){var e=this;return void 0===e._insecure?!!Package.insecure:e._insecure},o._validatedInsert=function(r,t,n){var o=this;if(o._validators.insert.deny.some((function(e){return e(r,u(e,t,n))})))throw new e.Error(403,"Access denied");if(o._validators.insert.allow.every((function(e){return!e(r,u(e,t,n))})))throw new e.Error(403,"Access denied");null!==n&&(t._id=n),o._collection.insert.call(o._collection,t)},o._validatedUpdate=function(r,o,a,c){var l=this;if(i(a,Object),c=Object.assign(Object.create(null),c),!n._selectorIsIdPerhapsAsObject(o))throw new Error("validated update should be of a single ID");if(c.upsert)throw new e.Error(403,"Access denied. Upserts not allowed in a restricted collection.");var u="Access denied. In a restricted collection you can only update documents, not replace them. Use a Mongo update operator, such as '$set'.",f=Object.keys(a),h={};if(0===f.length)throw new e.Error(403,u);f.forEach((function(r){var n=a[r];if("$"!==r.charAt(0))throw new e.Error(403,u);if(!t.call(s,r))throw new e.Error(403,"Access denied. Operator "+r+" not allowed in a restricted collection.");Object.keys(n).forEach((function(e){-1!==e.indexOf(".")&&(e=e.substring(0,e.indexOf("."))),h[e]=!0}))}));var _=Object.keys(h),m={transform:null};l._validators.fetchAllFields||(m.fields={},l._validators.fetch.forEach((function(e){m.fields[e]=1})));var v=l._collection.findOne(o,m);if(!v)return 0;if(l._validators.update.deny.some((function(e){var t=d(e,v);return e(r,t,_,a)})))throw new e.Error(403,"Access denied");if(l._validators.update.allow.every((function(e){var t=d(e,v);return!e(r,t,_,a)})))throw new e.Error(403,"Access denied");return c._forbidReplace=!0,l._collection.update.call(l._collection,o,a,c)};var s={$inc:1,$set:1,$unset:1,$addToSet:1,$pop:1,$pullAll:1,$pull:1,$pushAll:1,$push:1,$bit:1};function d(e,r){return e.transform?e.transform(r):r}function u(e,r,t){var n=r;return e.transform&&(n=c.clone(r),null!==t&&(n._id=t),n=e.transform(n)),n}function f(e,r,o){var i=/^(?:insert|update|remove|fetch|transform)$/;if(Object.keys(o).forEach((function(e){if(!i.test(e))throw new Error(r+": Invalid key: "+e)})),e._restricted=!0,["insert","update","remove"].forEach((function(i){if(t.call(o,i)){if(!(o[i]instanceof Function))throw new Error(r+": Value for `"+i+"` must be a function");void 0===o.transform?o[i].transform=e._transform:o[i].transform=n.wrapTransform(o.transform),e._validators[i][r].push(o[i])}})),o.update||o.remove||o.fetch){if(o.fetch&&!(o.fetch instanceof Array))throw new Error(r+": Value for `fetch` must be an array");e._updateFetch(o.fetch)}}function h(r,t){if(!n._selectorIsIdPerhapsAsObject(r))throw new e.Error(403,"Not permitted. Untrusted code may only "+t+" documents by ID.")}function _(){var e,r=(l._CurrentMethodInvocation||l._CurrentInvocation).get();return r&&r.isSimulation}o._validatedRemove=function(r,t){var n=this,o={transform:null};n._validators.fetchAllFields||(o.fields={}
89,n._validators.fetch.forEach((function(e){o.fields[e]=1})));var i=n._collection.findOne(t,o);if(!i)return 0;if(n._validators.remove.deny.some((function(e){return e(r,d(e,i))})))throw new e.Error(403,"Access denied");if(n._validators.remove.allow.every((function(e){return!e(r,d(e,i))})))throw new e.Error(403,"Access denied");return n._collection.remove.call(n._collection,t)},o._callMutatorMethod=function(){function r(r,t,n){var o;!e.isClient||n||_()||(n=function(t){t&&e._debug(r+" failed",t)}),("update"===r||"remove"===r)&&!_()&&h(t[0],r);var i=this._prefix+r;return this._connection.apply(i,t,{returnStubValue:!0},n)}return r}()}}}}},{extensions:[".js",".json"]});v("/node_modules/meteor/allow-deny/allow-deny.js"),Package._define("allow-deny",{AllowDeny:m})}(); 90 91!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,n=Package.ejson.EJSON,r=Package["ecmascript-runtime-client"].Symbol,i=Package["ecmascript-runtime-client"].Map,a=Package["ecmascript-runtime-client"].Set,l=Package.modules.meteorInstall,s=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,g,f,u=l({node_modules:{meteor:{logging:{
91"logging.js":function e(t,o,e){var r,i,a,l;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/createForOfIteratorHelperLoose",{default:function(e){i=e}},1),e.link("@babel/runtime/helpers/typeof",{default:function(e){a=e}},2),e.export({Log:function(){return c}}),e.link("meteor/meteor",{Meteor:function(e){l=e}},0);var s=Object.prototype.hasOwnProperty;function c(){c.info.apply(c,arguments)}var f=0,u=[],p=0;c._intercept=function(e){f+=e},c._suppress=function(e){p+=e},c._intercepted=function(){var e=u;return u=[],f=0,e},c.outputFormat="json";var m={debug:"green",warn:"magenta",error:"red"},d="blue",v="object"===("undefined"==typeof process?"undefined":a(process))&&"win32"===process.platform,b=function(e){return v&&"string"==typeof e&&!e.endsWith("Bright")?e+"Bright":e},h=["time","timeInexact","level","file","line","program","originApp","satellite","stderr"],y=[].concat(h,["app","message"]),j=function(e){var t=c.format(e),o=e.level;if("undefined"!=typeof console&&console[o])console[o](t);else if("function"==typeof console.log.apply)console.log.apply(console,[t]);else if("function"==typeof Function.prototype.bind){var n;Function.prototype.bind.call(console.log,console).apply(console,[t])}};c._getCallerDetails=function(){var e,t=function(){var e,t;return(new Error).stack}(),o;if(!t)return{};for(var n=t.split("\n").slice(1),r=i(n),a;!(a=r()).done;){if((o=a.value).match(/^\s*(at eval \(eval)|(eval:)/))return{file:"eval"};if(!o.match(/packages\/(?:local-test[:_])?logging(?:\/|\.js)/))break}var l={},s=/(?:[@(]| at )([^(]+?):([0-9:]+)(?:\)|$)/.exec(o);return s?(l.line=s[2].split(":")[0],l.file=s[1].split("/").slice(-1)[0].split("?")[0],l):l},["debug","info","warn","error"].forEach((function(e){c[e]=function(t){if(p)p--;else{var o=!1;f&&(f--,o=!0);var i=t!==Object(t)||t instanceof RegExp||t instanceof Date?{message:new String(t).toString()}:t;if(h.forEach((function(e){if(i[e])throw new Error("Can't set '"+e+"' in log message")})),s.call(i,"message")&&"string"!=typeof i.message)throw new Error("The 'message' field in log objects must be a string");if(i.omitCallerDetails||(i=r(r({},c._getCallerDetails()),i)),i.time=new Date,i.level=e,"debug"!==e||!l.isProduction)if(o)u.push(n.stringify(i));else if(l.isServer)if("colored-text"===c.outputFormat)console.log(c.format(i,{color:!0}));else{if("json"!==c.outputFormat)throw new Error("Unknown logging output format: "+c.outputFormat);console.log(n.stringify(i))}else j(i)}}})),c.parse=function(e){var t=null;if(e&&e.startsWith("{"))try{t=n.parse(e)}catch(o){}return t&&t.time&&t.time instanceof Date?t:null},c.format=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e=r({},e),i=o.time,a=o.timeInexact,l=o.level,s=void 0===l?"info":l,c=o.file,f=o.line,u=o.app,p=void 0===u?"":u,v=o.originApp,h=o.message,j=void 0===h?"":h,k=o.program,w=void 0===k?"":k,P=o.satellite,S=void 0===P?"":P,D=o.stderr,E=void 0===D?"":D;if(!(i instanceof Date))throw new Error("'time' must be a Date object");y.forEach((function(t){delete e[t]})),Object.keys(e).length>0&&(j&&(j+=" "),j+=n.stringify(e));var _=function(e){return e.toString().padStart(2,"0")},x=function(e){return e.toString().padStart(3,"0")},F=i.getFullYear().toString()+_(i.getMonth()+1)+_(i.getDate()),O=_(i.getHours())+":"+_(i.getMinutes())+":"+_(i.getSeconds())+"."+x(i.getMilliseconds()),C="("+-(new Date).getTimezoneOffset()/60+")",M="";p&&(M+=p),v&&v!==p&&(M+=" via "+v),M&&(M="["+M+"] ");var I=[];w&&I.push(w),c&&I.push(c),f&&I.push(f);var T=I.length?"("+I.join(":")+") ":"";S&&(T+="["+S+"]");var A=E?"(STDERR) ":"",B=[s.charAt(0).toUpperCase(),F,"-",O,C,a?"? ":" ",M,T,A].join("");return g.prettify(B,t.color&&b(t.metaColor||d))+g.prettify(j,t.color&&b(m[s]))},c.objFromText=function(e,t){return r({message:e,level:"info",time:new Date,timeInexact:!0},t)}},
91"logging_browser.js":function e(){(g={}).prettify=function(e,t){return e}}}}}},{extensions:[".js",".json"]}),p=u("/node_modules/meteor/logging/logging.js");u("/node_modules/meteor/logging/logging_browser.js"),Package._define("logging",p,{Log:f})}(); 92 93!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,t=Package["allow-deny"].AllowDeny,r=Package.random.Random,i=Package.ejson.EJSON,c=Package.minimongo.LocalCollection,l=Package.minimongo.Minimongo,a=Package["ddp-client"].DDP,s=Package.tracker.Tracker,d=Package.tracker.Deps,u=Package["diff-sequence"].DiffSequence,f=Package["mongo-id"].MongoID,_=Package.check.check,h=Package.check.Match,g=Package.logging.Log,m=Package.modules.meteorInstall,p=Package.modules.meteorBabelHelpers,v=Package.promise.Promise,w=Package["ecmascript-runtime-client"].Symbol,b=Package["ecmascript-runtime-client"].Map,C=Package["ecmascript-runtime-client"].Set,O,I,y,k,j=m({node_modules:{meteor:{mongo:{
93"local_collection_driver.js":function e(n,o,e){e.export({LocalCollectionDriver:function(){return t}});var t=new(function(){function e(){this.noConnCollections=Object.create(null)}var n;return e.prototype.open=function(){function e(e,n){return e?n?(n._mongo_livedata_collections||(n._mongo_livedata_collections=Object.create(null)),r(e,n._mongo_livedata_collections)):r(e,this.noConnCollections):new c}return e}(),e}());function r(e,n){return e in n?n[e]:n[e]=new c(e)}},
93"collection.js":function n(o,l,n){(function(n){var l,s,d;function u(e,n){return e&&function(o,t){o?e(o):e(o,"function"==typeof n?n(t):t)}}function g(e){if(e.length&&(void 0===e[e.length-1]||e[e.length-1]instanceof Function))return e.pop()}n.link("@babel/runtime/helpers/slicedToArray",{default:function(e){l=e}},0),n.link("@babel/runtime/helpers/objectSpread2",{default:function(e){s=e}},1),n.link("./mongo_utils",{normalizeProjection:function(e){d=e}},0),(O={}).Collection=function(){function n(n,t){var i=this;if(n||null===n||(e._debug("Warning: creating anonymous collection. It will not be saved or synchronized over the network. (Pass null for the collection name to turn off this warning.)"),n=null),null!==n&&"string"!=typeof n)throw new Error("First argument to new Mongo.Collection must be a string or null");if(t&&t.methods&&(t={connection:t}),t&&t.manager&&!t.connection&&(t.connection=t.manager),"MONGO"===(t=s({connection:void 0,idGeneration:"STRING",transform:null,_driver:void 0,_preventAutopublish:!1},t)).idGeneration)this._makeNewID=function(){var e=n?a.randomStream("/collection/"+n):r.insecure;return new O.ObjectID(e.hexString(24))};else this._makeNewID=function(){var e;return(n?a.randomStream("/collection/"+n):r.insecure).id()};if(this._transform=c.wrapTransform(t.transform),n&&null!==t.connection?t.connection?this._connection=t.connection:e.isClient?this._connection=e.connection:this._connection=e.server:this._connection=null,!t._driver)if(n&&this._connection===e.server&&"undefined"!=typeof MongoInternals&&MongoInternals.defaultRemoteCollectionDriver)t._driver=MongoInternals.defaultRemoteCollectionDriver();else{var l,d=o("./local_collection_driver.js").LocalCollectionDriver;
93t._driver=d}if(this._collection=t._driver.open(n,this._connection),this._name=n,this._driver=t._driver,this._maybeSetUpReplication(n,t),!1!==t.defineMutationMethods)try{this._defineMutationMethods({useExisting:!0===t._suppressSameNameError})}catch(u){if(u.message==="A method named '/"+n+"/insert' is already defined")throw new Error('There is already a collection named "'+n+'"');throw u}Package.autopublish&&!t._preventAutopublish&&this._connection&&this._connection.publish&&this._connection.publish(null,(function(){return i.find()}),{is_auto:!0})}return n}(),Object.assign(O.Collection.prototype,{_maybeSetUpReplication:function(n,o){var t=o._suppressSameNameError,r=void 0!==t&&t,c=this,l;if(c._connection&&c._connection.registerStore&&!c._connection.registerStore(n,{beginUpdate:function(e,n){(e>1||n)&&c._collection.pauseObservers(),n&&c._collection.remove({})},update:function(n){var o=f.idParse(n.id),t=c._collection._docs.get(o);if(e.isClient)if("added"===n.msg&&t)n.msg="changed";else{if("removed"===n.msg&&!t)return;if("changed"===n.msg&&!t)for(y in n.msg="added",I=n.fields,p.sanitizeForInObject(I))void 0===(k=I[y])&&delete n.fields[y]}if("replace"!==n.msg)if("added"===n.msg){if(t)throw new Error("Expected not to find a document already present for an add");c._collection.insert(s({_id:o},n.fields))}else if("removed"===n.msg){if(!t)throw new Error("Expected to find a document already present for removed");c._collection.remove(o)}else{if("changed"!==n.msg)throw new Error("I don't know how to deal with this message");if(!t)throw new Error("Expected to find a document to change");var r=Object.keys(n.fields);if(r.length>0){var l={};r.forEach((function(e){var o=n.fields[e];i.equals(t[e],o)||("undefined"==typeof o?(l.$unset||(l.$unset={}),l.$unset[e]=1):(l.$set||(l.$set={}),l.$set[e]=o))})),Object.keys(l).length>0&&c._collection.update(o,l)}}else{var a=n.replace;a?t?c._collection.update(o,a):c._collection.insert(a):t&&c._collection.remove(o)}},endUpdate:function(){c._collection.resumeObservers()},saveOriginals:function(){c._collection.saveOriginals()},retrieveOriginals:function(){return c._collection.retrieveOriginals()},getDoc:function(e){return c.findOne(e)},_getCollection:function(){return c}})){var a='There is already a collection named "'+n+'"';if(!0!==r)throw new Error(a);console.warn?console.warn(a):console.log(a)}},_getFindSelector:function(e){return 0==e.length?{}:e[0]},_getFindOptions:function(e){var n,o,t=l(e||[],2)[1],r=d(t),i=this;return e.length<2?{transform:i._transform}:(_(r,h.Optional(h.ObjectIncluding({projection:h.Optional(h.OneOf(Object,void 0)),sort:h.Optional(h.OneOf(Object,Array,Function,void 0)),limit:h.Optional(h.OneOf(Number,void 0)),skip:h.Optional(h.OneOf(Number,void 0))}))),s({transform:i._transform},r))},find:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return this._collection.find(this._getFindSelector(n),this._getFindOptions(n))},findOne:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return this._collection.findOne(this._getFindSelector(n),this._getFindOptions(n))}}),Object.assign(O.Collection,{_publishCursor:function(e,n,o){var t=e.observeChanges({added:function(e,t){n.added(o,e,t)},changed:function(e,t){n.changed(o,e,t)},removed:function(e){n.removed(o,e)}},{nonMutatingCallbacks:!0});return n.onStop((function(){t.stop()})),t},_rewriteSelector:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.fallbackId;if(c._selectorIsId(e)&&(e={_id:e}),Array.isArray(e))throw new Error("Mongo selector can't be an array.");return!e||"_id"in e&&!e._id?{_id:o||r.id()}:e}}),Object.assign(O.Collection.prototype,{insert:function(e,n){if(!e)throw new Error("insert requires an argument");if("_id"in(e=Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)))){if(!e._id||!("string"==typeof e._id||e._id instanceof O.ObjectID))throw new Error("Meteor requires document _id fields to be non-empty strings or ObjectIDs")}else{var o=!0,t;if(this._isRemoteCollection())a._CurrentMethodInvocation.get()||(o=!1);o&&(e._id=this._makeNewID())}var r=function(n){return e._id?e._id:(e._id=n,n)},i=u(n,r),c;if(this._isRemoteCollection())return r(this._callMutatorMethod("insert",[e],i));try{var l;return r(this._collection.insert(e,i))}catch(s){if(n)return n(s),null;throw s}},update:function(e,n){for(var o=arguments.length,t=new Array(o>2?o-2:0),r=2;r<o;r++)t[r-2]=arguments[r];var i=g(t),c=s({},t[0]||null),l;if(c&&c.upsert)if(c.insertedId){if(!("string"==typeof c.insertedId||c.insertedId instanceof O.ObjectID))throw new Error("insertedId must be string or ObjectID");l=c.insertedId}else e&&e._id||(l=this._makeNewID(),c.generatedId=!0,c.insertedId=l);e=O.Collection._rewriteSelector(e,{fallbackId:l});var a=u(i);if(this._isRemoteCollection()){var d=[e,n,c];return this._callMutatorMethod("update",d,a)}try{return this._collection.update(e,n,c,a)}catch(f){if(i)return i(f),null;throw f}},remove:function(e,n){e=O.Collection._rewriteSelector(e);var o=u(n);if(this._isRemoteCollection())return this._callMutatorMethod("remove",[e],o);try{return this._collection.remove(e,o)}catch(t){if(n)return n(t),null;throw t}},_isRemoteCollection:function(){return this._connection&&this._connection!==e.server},upsert:function(e,n,o,t){return t||"function"!=typeof o||(t=o,o={}),this.update(e,n,s(s({},o),{},{_returnObject:!0,upsert:!0}),t)},_ensureIndex:function(e,o){var t=this,r;if(!t._collection._ensureIndex||!t._collection.createIndex)throw new Error("Can only call createIndex on server collections");t._collection.createIndex?t._collection.createIndex(e,o):(n.link("meteor/logging",{Log:function(e){r=e}},1),r.debug("_ensureIndex has been deprecated, please use the new 'createIndex' instead"+(null!=o&&o.name?", index name: "+o.name:", index: "+JSON.stringify(e))),t._collection._ensureIndex(e,o))},createIndex:function(e,n){var o=this;if(!o._collection.createIndex)throw new Error("Can only call createIndex on server collections");o._collection.createIndex(e,n)},_dropIndex:function(e){var n=this;if(!n._collection._dropIndex)throw new Error("Can only call _dropIndex on server collections");n._collection._dropIndex(e)},_dropCollection:function(){var e=this;if(!e._collection.dropCollection)throw new Error("Can only call _dropCollection on server collections");e._collection.dropCollection()},_createCappedCollection:function(e,n){var o=this;if(!o._collection._createCappedCollection)throw new Error("Can only call _createCappedCollection on server collections");o._collection._createCappedCollection(e,n)},rawCollection:function(){var e=this;if(!e._collection.rawCollection)throw new Error("Can only call rawCollection on server collections");return e._collection.rawCollection()},rawDatabase:function(){var e=this;if(!e._driver.mongo||!e._driver.mongo.db)throw new Error("Can only call rawDatabase on server collections");return e._driver.mongo.db}}),O.ObjectID=f.ObjectID,O.Cursor=c.Cursor,O.Collection.Cursor=O.Cursor,O.Collection.ObjectID=O.ObjectID,e.Collection=O.Collection,Object.assign(e.Collection.prototype,t.CollectionPrototype)}).call(this,n)},
93"mongo_utils.js":function e(n,o,e){var t=["fields","projection"],r,i;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/objectWithoutProperties",{default:function(e){i=e}},1),e.export({normalizeProjection:function(){return c}});var c=function(e){var n=e||{},o=n.fields,c=n.projection,l=i(n,t);return r(r({},l),c||o?{projection:o||c}:{})}}}}}},{extensions:[".js",".json"]});j("/node_modules/meteor/mongo/local_collection_driver.js"),j("/node_modules/meteor/mongo/collection.js"),Package._define("mongo",{Mongo:O})}(); 94 95Package._define("blaze-html-templates"); 96 97!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,r=Package.meteor.meteorEnv,n=Package.tracker.Tracker,a=Package.tracker.Deps,i;(function(){(i=function(e,t){if(!(this instanceof i))return new i(e,t);this.curValue=e,this.equalsFunc=t,this.dep=new n.Dependency})._isEqual=function(e,t){var r=e,n;return e===t&&(!e||"number"==typeof e||"boolean"==typeof e||"string"==typeof e)},i.prototype.get=function(){return n.active&&this.dep.depend(),this.curValue},i.prototype.set=function(e){var t=this.curValue;(this.equalsFunc||i._isEqual)(t,e)||(this.curValue=e,this.dep.changed())},i.prototype.toString=function(){return"ReactiveVar{"+this.get()+"}"},i.prototype._numListeners=function(){var e=0;for(var t in this.dep._dependentsById)e++;return e}}).call(this),Package._define("reactive-var",{ReactiveVar:i})}(); 98 99!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,o,a,s=r({node_modules:{meteor:{jquery:{
99"main.js":function e(t,n){var r=this;try{var i=t("jquery")}catch(o){i=t("./jquery.js")}n.$=n.jQuery=i,r.$=r.$||i,r.jQuery=r.jQuery||i},
99"jquery.js":function e(t,n,e){ 100/*! 101 * jQuery JavaScript Library v1.12.1 102 * http://jquery.com/ 103 * 104 * Includes Sizzle.js 105 * http://sizzlejs.com/ 106 * 107 * Copyright jQuery Foundation and other contributors 108 * Released under the MIT license 109 * http://jquery.org/license 110 * 111 * Date: 2016-02-22T19:07Z 112 */ 113!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(e,t){var n=[],r=e.document,i=n.slice,o=n.concat,a=n.push,s=n.indexOf,u={},l=u.toString,c=u.hasOwnProperty,f={},d="1.12.1",p=function(e,t){return new p.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,m=/^-ms-/,g=/-([\da-z])/gi,y=function(e,t){return t.toUpperCase()};function v(e){var t=!!e&&"length"in e&&e.length,n=p.type(e);return"function"!==n&&!p.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}p.fn=p.prototype={jquery:d,constructor:p,selector:"",length:0,toArray:function(){return i.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:i.call(this)},pushStack:function(e){var t=p.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return p.each(this,e)},map:function(e){return this.pushStack(p.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},p.extend=p.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{}
113,s++),"object"==typeof a||p.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],a!==(n=i[r])&&(l&&n&&(p.isPlainObject(n)||(t=p.isArray(n)))?(t?(t=!1,o=e&&p.isArray(e)?e:[]):o=e&&p.isPlainObject(e)?e:{},a[r]=p.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},p.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===p.type(e)},isArray:Array.isArray||function(e){return"array"===p.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!p.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==p.type(e)||e.nodeType||p.isWindow(e))return!1;try{if(e.constructor&&!c.call(e,"constructor")&&!c.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!f.ownFirst)for(t in e)return c.call(e,t);for(t in e);return void 0===t||c.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[l.call(e)]||"object":typeof e},globalEval:function(t){t&&p.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(m,"ms-").replace(g,y)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(v(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(v(Object(e))?p.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(s)return s.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,a=0,s=[];if(v(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&s.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&s.push(i);return o.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(o=e[t],t=e,e=o),p.isFunction(e))return n=i.call(arguments,2),r=function(){return e.apply(t||this,n.concat(i.call(arguments)))},r.guid=e.guid=e.guid||p.guid++,r},now:function(){return+new Date},support:f}),"function"==typeof Symbol&&(p.fn[Symbol.iterator]=n[Symbol.iterator]),p.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var x= 114/*! 115 * Sizzle CSS Selector Engine v2.2.1 116 * http://sizzlejs.com/ 117 * 118 * Copyright jQuery Foundation and other contributors 119 * Released under the MIT license 120 * http://jquery.org/license 121 * 122 * Date: 2015-10-17 123 */ 124function(e){var t,n,r,i,o,a,s,u,l,c,f,d,p,h,m,g,y,v,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=oe(),k=oe(),N=oe(),S=function(e,t){return e===t&&(f=!0),0},j=1<<31,A={}.hasOwnProperty,D=[],L=D.pop,H=D.push,q=D.push,_=D.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R="\\[[\\x20\\t\\r\\n\\f]*("+P+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+O+"*\\]",B=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",W=new RegExp(O+"+","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),I=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),X=new RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),U=new RegExp(B),V=new RegExp("^"+P+"$"),Q={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=function(){d()};try{q.apply(D=_.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(Ce){q={apply:D.length?function(e,t){H.apply(e,_.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}
vendor: 6,651 bytes, line 124
124function ie(e,t,r,i){var o,s,l,c,f,h,y,v,T=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!i&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,m)){if(11!==C&&(h=K.exec(e)))if(o=h[1]){if(9===C){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(T&&(l=T.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(h[2])return q.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return q.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!N[e+" "]&&(!g||!g.test(e))){if(1!==C)T=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(ee,"\\$&"):t.setAttribute("id",c=b),s=(y=a(e)).length,f=V.test(c)?"#"+c:"[id='"+c+"']";s--;)y[s]=f+" "+me(y[s]);v=y.join(","),T=Z.test(e)&&pe(t.parentNode)||t}if(v)try{return q.apply(r,T.querySelectorAll(v)),r}catch(E){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace($,"$1"),t,r,i)}function oe(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function ae(e){return e[b]=!0,e}function se(e){var t=p.createElement("div");try{return!!e(t)}catch(Ce){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){var n;return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return ae((function(t){return t=+t,ae((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function pe(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(t in n=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ie.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=se((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=se((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=G.test(p.getElementsByClassName),n.getById=se((function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length})),n.getById?(r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}},r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=G.test(p.querySelectorAll))&&(se((function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")})),se((function(e){var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=G.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se((function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),y.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=G.test(h.compareDocumentPosition),x=t||G.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===w&&x(w,e)?-1:t===p||t.ownerDocument===w&&x(w,t)?1:c?M(c,e)-M(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:c?M(c,e)-M(c,t):0;if(i===o)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?le(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},p):p},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),t=t.replace(X,"='$1']"),n.matchesSelector&&m&&!N[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(Ce){}return ie(t,p,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),x(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;
vendor: 10,486 bytes, line 124
124)e.splice(r[i],1)}return c=null,e},i=ie.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=ie.selectors={cacheLength:50,createPseudo:ae,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+O+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ie.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,x=!1;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&v){for(x=(p=(l=(c=(f=(d=g)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[T,p,x];break}}else if(v&&(x=p=(l=(c=(f=(d=t)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)for(;(d=++p&&d&&d[m]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++x||(v&&((c=(f=d[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[T,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ae((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=M(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ae((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[b]?ae((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ae((function(e){return function(t){return ie(e,t).length>0}})),contains:ae((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:ae((function(e){return V.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de((function(){return[0]})),last:de((function(e,t){return[t-1]})),eq:de((function(e,t,n){return[n<0?n+t:n]})),even:de((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:de((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:de((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:de((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=ce(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function he(){}function me(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ge(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l,c=[T,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((s=(u=(l=t[b]||(t[b]={}))[t.uniqueID]||(l[t.uniqueID]={}))[r])&&s[0]===T&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function ye(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ve(e,t,n){for(var r=0,i=t.length;r<i;r++)ie(e,t[r],n);return n}function xe(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function be(e,t,n,r,i,o){return r&&!r[b]&&(r=be(r)),i&&!i[b]&&(i=be(i,o)),ae((function(o,a,s,u){var l,c,f,d=[],p=[],h=a.length,m=o||ve(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?m:xe(m,d,e,s,u),y=n?i||(o?e:h||r)?[]:a:g;if(n&&n(g,y,s,u),r)for(l=xe(y,p),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(y[p[c]]=!(g[p[c]]=f));if(o){if(i||e){if(i){for(l=[],c=y.length;c--;)(f=y[c])&&l.push(g[c]=f);i(null,y=[],l,u)}for(c=y.length;c--;)(f=y[c])&&(l=i?M(o,f):d[c])>-1&&(o[l]=!(a[l]=f))}}else y=xe(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):q.apply(a,y)}))}function we(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=ge((function(e){return e===t}),s,!0),f=ge((function(e){return M(t,e)>-1}),s,!0),d=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[ge(ye(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return be(u>1&&ye(d),u>1&&me(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<i&&we(e.slice(u,i)),i<o&&we(e=e.slice(i)),i<o&&me(e))}d.push(n)}return ye(d)}function Te(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,g,y=0,v="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===p||a||c);v!==k&&null!=(f=C[v]);v++){if(i&&f){for(h=0,a||f.ownerDocument===p||(d(f),s=!m);g=e[h++];)if(g(f,a||p,s)){u.push(f);break}c&&(T=E)}n&&((f=!g&&f)&&y--,o&&x.push(f))}if(y+=v,n&&v!==y){for(h=0;g=t[h++];)g(x,b,a,s);if(o){if(y>0)for(;v--;)x[v]||b[v]||(b[v]=L.call(u));b=xe(b)}q.apply(u,b),c&&!o&&b.length>0&&y+t.length>1&&ie.uniqueSort(u)}return c&&(T=E,l=w),x};return n?ae(o):o}return he.prototype=r.filters=r.pseudos,r.setFilters=new he,a=ie.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=I.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=z.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(i=Q[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):k(e,u).slice(0)},s=ie.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){for(t||(t=a(e)),n=t.length;n--;)(o=we(t[n]))[b]?r.push(o):i.push(o);(o=N(e,Te(i,r))).selector=e}return o},u=ie.select=function(e,t,i,o){var u,l,c,f,d,p="function"==typeof e&&e,h=!o&&a(e=p.selector||e);if(i=i||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return i;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(u=Q.needsContext.test(e)?0:l.length;u--&&(c=l[u],!r.relative[f=c.type]);)if((d=r.find[f])&&(o=d(c.matches[0].replace(te,ne),Z.test(l[0].type)&&pe(t.parentNode)||t))){if(l.splice(u,1),!(e=o.length&&me(l)))return q.apply(i,o),i;break}}return(p||s(e,h))(o,t,!m,i,!t||Z.test(e)&&pe(t.parentNode)||t),i},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=se((function(e){return 1&e.compareDocumentPosition(p.createElement("div"))})),se((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&se((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),se((function(e){return null==e.getAttribute("disabled")}))||ue(F,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ie}(e);p.find=x,p.expr=x.selectors,p.expr[":"]=p.expr.pseudos,p.uniqueSort=p.unique=x.uniqueSort,p.text=x.getText,p.isXMLDoc=x.isXML,p.contains=x.contains;var b=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&p(e).is(n))break;r.push(e)}return r},w=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=p.expr.match.needsContext,C=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,E=/^.[^:#\[\.,]*$/;
124function k(e,t,n){if(p.isFunction(t))return p.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}));if(t.nodeType)return p.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(E.test(t))return p.filter(t,e,n);t=p.filter(t,e)}return p.grep(e,(function(e){return p.inArray(e,t)>-1!==n}))}p.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?p.find.matchesSelector(r,e)?[r]:[]:p.find.matches(e,p.grep(t,(function(e){return 1===e.nodeType})))},p.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(p(e).filter((function(){for(t=0;t<i;t++)if(p.contains(r[t],this))return!0})));for(t=0;t<i;t++)p.find(e,r[t],n);return(n=this.pushStack(i>1?p.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&T.test(e)?p(e):e||[],!1).length}});var N,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,j;(p.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:S.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof p?t[0]:t,p.merge(this,p.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),C.test(i[1])&&p.isPlainObject(t))for(i in t)p.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((o=r.getElementById(i[2]))&&o.parentNode){if(o.id!==i[2])return N.find(e);this.length=1,this[0]=o}return this.context=r,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):p.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(p):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),p.makeArray(e,this))}).prototype=p.fn,N=p(r);var A=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}p.fn.extend({has:function(e){var t,n=p(e,this),r=n.length;return this.filter((function(){for(t=0;t<r;t++)if(p.contains(this,n[t]))return!0}))},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=T.test(e)||"string"!=typeof e?p(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&p.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?p.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?p.inArray(this[0],p(e)):p.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(p.uniqueSort(p.merge(this.get(),p(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),p.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b(e,"parentNode")},parentsUntil:function(e,t,n){return b(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return b(e,"nextSibling")},prevAll:function(e){return b(e,"previousSibling")},nextUntil:function(e,t,n){return b(e,"nextSibling",n)},prevUntil:function(e,t,n){return b(e,"previousSibling",n)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return p.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:p.merge([],e.childNodes)}},(function(e,t){p.fn[e]=function(n,r){var i=p.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=p.filter(r,i)),this.length>1&&(D[e]||(i=p.uniqueSort(i)),A.test(e)&&(i=i.reverse())),this.pushStack(i)}}));var H=/\S+/g,q,_;function M(e){var t={};return p.each(e.match(H)||[],(function(e,n){t[n]=!0})),t}function F(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",O),e.removeEventListener("load",O)):(r.detachEvent("onreadystatechange",O),e.detachEvent("onload",O))}function O(){(r.addEventListener||"load"===e.event.type||"complete"===r.readyState)&&(F(),p.ready())}for(_ in p.Callbacks=function(e){e="string"==typeof e?M(e):p.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==p.type(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return p.each(arguments,(function(e,t){for(var n;(n=p.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?p.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||l.disable(),this},locked:function(){return!!i}
124,fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},p.extend({Deferred:function(e){var t=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return p.Deferred((function(n){p.each(t,(function(t,o){var a=p.isFunction(e[t])&&e[t];i[o[1]]((function(){var e=a&&a.apply(this,arguments);e&&p.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?p.extend(e,r):r}},i={};return r.pipe=r.then,p.each(t,(function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add((function(){n=s}),t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=i.call(arguments),r=n.length,o=1!==r||e&&p.isFunction(e.promise)?r:0,a=1===o?e:p.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?i.call(arguments):r,n===u?a.notifyWith(t,n):--o||a.resolveWith(t,n)}},u,l,c;if(r>1)for(u=new Array(r),l=new Array(r),c=new Array(r);t<r;t++)n[t]&&p.isFunction(n[t].promise)?n[t].promise().progress(s(t,l,u)).done(s(t,c,n)).fail(a.reject):--o;return o||a.resolveWith(c,n),a.promise()}}),p.fn.ready=function(e){return p.ready.promise().done(e),this},p.extend({isReady:!1,readyWait:1,holdReady:function(e){e?p.readyWait++:p.ready(!0)},ready:function(e){(!0===e?--p.readyWait:p.isReady)||(p.isReady=!0,!0!==e&&--p.readyWait>0||(q.resolveWith(r,[p]),p.fn.triggerHandler&&(p(r).triggerHandler("ready"),p(r).off("ready"))))}}),p.ready.promise=function(t){if(!q)if(q=p.Deferred(),"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll)e.setTimeout(p.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",O),e.addEventListener("load",O);else{r.attachEvent("onreadystatechange",O),e.attachEvent("onload",O);var n=!1;try{n=null==e.frameElement&&r.documentElement}catch(i){}n&&n.doScroll&&function t(){if(!p.isReady){try{n.doScroll("left")}catch(i){return e.setTimeout(t,50)}F(),p.ready()}}()}return q.promise(t)},p.ready.promise(),p(f))break;f.ownFirst="0"===_,f.inlineBlockNeedsLayout=!1,p((function(){var e,t,n,i;(n=r.getElementsByTagName("body")[0])&&n.style&&(t=r.createElement("div"),(i=r.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",f.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))})),function(){var e=r.createElement("div");f.deleteExpando=!0;try{delete e.test}catch(t){f.deleteExpando=!1}e=null}();var P=function(e){var t=p.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},R=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,B=/([A-Z])/g,W;function $(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(B,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?p.parseJSON(n):n)}catch(i){}p.data(e,t,n)}else n=void 0}return n}function I(e){var t;for(t in e)if(("data"!==t||!p.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function z(e,t,r,i){if(P(e)){var o,a,s=p.expando,u=e.nodeType,l=u?p.cache:e,c=u?e[s]:e[s]&&s;if(c&&l[c]&&(i||l[c].data)||void 0!==r||"string"!=typeof t)return c||(c=u?e[s]=n.pop()||p.guid++:s),l[c]||(l[c]=u?{}:{toJSON:p.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[c]=p.extend(l[c],t):l[c].data=p.extend(l[c].data,t)),a=l[c],i||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[p.camelCase(t)]=r),"string"==typeof t?null==(o=a[t])&&(o=a[p.camelCase(t)]):o=a,o}}
124function X(e,t,n){if(P(e)){var r,i,o=e.nodeType,a=o?p.cache:e,s=o?e[p.expando]:p.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=p.isArray(t)?t.concat(p.map(t,p.camelCase)):t in r||(t=p.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!I(r):!p.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?p.cleanData([e],!0):f.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}p.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?p.cache[e[p.expando]]:e[p.expando])&&!I(e)},data:function(e,t,n){return z(e,t,n)},removeData:function(e,t){return X(e,t)},_data:function(e,t,n){return z(e,t,n,!0)},_removeData:function(e,t){return X(e,t,!0)}}),p.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=p.data(o),1===o.nodeType&&!p._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&$(o,r=p.camelCase(r.slice(5)),i[r]);p._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each((function(){p.data(this,e)})):arguments.length>1?this.each((function(){p.data(this,e,t)})):o?$(o,e,p.data(o,e)):void 0},removeData:function(e){return this.each((function(){p.removeData(this,e)}))}}),p.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=p._data(e,t),n&&(!r||p.isArray(n)?r=p._data(e,t,p.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=p.queue(e,t),r=n.length,i=n.shift(),o=p._queueHooks(e,t),a=function(){p.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return p._data(e,n)||p._data(e,n,{empty:p.Callbacks("once memory").add((function(){p._removeData(e,t+"queue"),p._removeData(e,n)}))})}}),p.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?p.queue(this[0],e):void 0===t?this:this.each((function(){var n=p.queue(this,e,t);p._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&p.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){p.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=p.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=p._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),f.shrinkWrapBlocks=function(){return null!=W?W:(W=!1,(t=r.getElementsByTagName("body")[0])&&t.style?(e=r.createElement("div"),(n=r.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(r.createElement("div")).style.width="5px",W=3!==e.offsetWidth),t.removeChild(n),W):void 0);var e,t,n};var U=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,V=new RegExp("^(?:([+-])=|)("+U+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],Y=function(e,t){return e=t||e,"none"===p.css(e,"display")||!p.contains(e.ownerDocument,e)};function J(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return p.css(e,t,"")},u=s(),l=n&&n[3]||(p.cssNumber[t]?"":"px"),c=(p.cssNumber[t]||"px"!==l&&+u)&&V.exec(p.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{c/=o=o||".5",p.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var G=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===p.type(n))for(s in i=!0,n)G(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,p.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(p(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},K=/^(?:checkbox|radio)$/i,Z=/<([\w:-]+)/,ee=/^$|\/(?:java|ecma)script/i,te=/^\s+/,ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video",re,ie,oe;function ae(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}re=r.createElement("div"),ie=r.createDocumentFragment(),oe=r.createElement("input"),re.innerHTML=" <link/><table></table><a href='/a'>a</a>
124<input type='checkbox'/>",f.leadingWhitespace=3===re.firstChild.nodeType,f.tbody=!re.getElementsByTagName("tbody").length,f.htmlSerialize=!!re.getElementsByTagName("link").length,f.html5Clone="<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,oe.type="checkbox",oe.checked=!0,ie.appendChild(oe),f.appendChecked=oe.checked,re.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!re.cloneNode(!0).lastChild.defaultValue,ie.appendChild(re),(oe=r.createElement("input")).setAttribute("type","radio"),oe.setAttribute("checked","checked"),oe.setAttribute("name","t"),re.appendChild(oe),f.checkClone=re.cloneNode(!0).cloneNode(!0).lastChild.checked,f.noCloneEvent=!!re.addEventListener,re[p.expando]=1,f.attributes=!re.getAttribute(p.expando);var se={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:f.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function ue(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||p.nodeName(r,t)?o.push(r):p.merge(o,ue(r,t));return void 0===t||t&&p.nodeName(e,t)?p.merge([e],o):o}function le(e,t){for(var n,r=0;null!=(n=e[r]);r++)p._data(n,"globalEval",!t||p._data(t[r],"globalEval"))}se.optgroup=se.option,se.tbody=se.tfoot=se.colgroup=se.caption=se.thead,se.th=se.td;var ce=/<|&#?\w+;/,fe=/<tbody/i;function de(e){K.test(e.type)&&(e.defaultChecked=e.checked)}function pe(e,t,n,r,i){for(var o,a,s,u,l,c,d,h=e.length,m=ae(t),g=[],y=0;y<h;y++)if((a=e[y])||0===a)if("object"===p.type(a))p.merge(g,a.nodeType?[a]:a);else if(ce.test(a)){for(u=u||m.appendChild(t.createElement("div")),l=(Z.exec(a)||["",""])[1].toLowerCase(),d=se[l]||se._default,u.innerHTML=d[1]+p.htmlPrefilter(a)+d[2],o=d[0];o--;)u=u.lastChild;if(!f.leadingWhitespace&&te.test(a)&&g.push(t.createTextNode(te.exec(a)[0])),!f.tbody)for(o=(a="table"!==l||fe.test(a)?"<table>"!==d[1]||fe.test(a)?0:u:u.firstChild)&&a.childNodes.length;o--;)p.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(p.merge(g,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=m.lastChild}else g.push(t.createTextNode(a));for(u&&m.removeChild(u),f.appendChecked||p.grep(ue(g,"input"),de),y=0;a=g[y++];)if(r&&p.inArray(a,r)>-1)i&&i.push(a);else if(s=p.contains(a.ownerDocument,a),u=ue(m.appendChild(a),"script"),s&&le(u),n)for(o=0;a=u[o++];)ee.test(a.type||"")&&n.push(a);return u=null,m}!function(){var t,n,i=r.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(f[t]=n in e)||(i.setAttribute(n,"t"),f[t]=!1===i.attributes[n].expando);i=null}();var he=/^(?:input|select|textarea)$/i,me=/^key/,ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ye=/^(?:focusinfocus|focusoutblur)$/,ve=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function be(){return!1}function we(){try{return r.activeElement}catch(e){}}function Te(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Te(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=be;else if(!i)return e;return 1===o&&(a=i,i=function(e){return p().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=p.guid++)),e.each((function(){p.event.add(this,t,i,r,n)}))}p.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,m,g,y=p._data(e);if(y){for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=p.guid++),(a=y.events)||(a=y.events={}),(c=y.handle)||(c=y.handle=function(e){return"undefined"==typeof p||e&&p.event.triggered===e.type?void 0:p.event.dispatch.apply(c.elem,arguments)},c.elem=e),s=(t=(t||"").match(H)||[""]).length;s--;)h=g=(o=ve.exec(t[s])||[])[1],m=(o[2]||"").split(".").sort(),h&&(l=p.event.special[h]||{},h=(i?l.delegateType:l.bindType)||h,l=p.event.special[h]||{},f=p.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&p.expr.match.needsContext.test(i),namespace:m.join(".")}
124,u),(d=a[h])||((d=a[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,m,c)||(e.addEventListener?e.addEventListener(h,c,!1):e.attachEvent&&e.attachEvent("on"+h,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),p.event.global[h]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,m,g,y=p.hasData(e)&&p._data(e);if(y&&(c=y.events)){for(l=(t=(t||"").match(H)||[""]).length;l--;)if(h=g=(s=ve.exec(t[l])||[])[1],m=(s[2]||"").split(".").sort(),h){for(f=p.event.special[h]||{},d=c[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,m,y.handle)||p.removeEvent(e,h,y.handle),delete c[h])}else for(h in c)p.event.remove(e,h+t[l],n,r,!0);p.isEmptyObject(c)&&(delete y.handle,p._removeData(e,"events"))}},trigger:function(t,n,i,o){var a,s,u,l,f,d,h,m=[i||r],g=c.call(t,"type")?t.type:t,y=c.call(t,"namespace")?t.namespace.split("."):[];if(u=d=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!ye.test(g+p.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),s=g.indexOf(":")<0&&"on"+g,(t=t[p.expando]?t:new p.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:p.makeArray(n,[t]),f=p.event.special[g]||{},o||!f.trigger||!1!==f.trigger.apply(i,n))){if(!o&&!f.noBubble&&!p.isWindow(i)){for(l=f.delegateType||g,ye.test(l+g)||(u=u.parentNode);u;u=u.parentNode)m.push(u),d=u;d===(i.ownerDocument||r)&&m.push(d.defaultView||d.parentWindow||e)}for(h=0;(u=m[h++])&&!t.isPropagationStopped();)t.type=h>1?l:f.bindType||g,(a=(p._data(u,"events")||{})[t.type]&&p._data(u,"handle"))&&a.apply(u,n),(a=s&&u[s])&&a.apply&&P(u)&&(t.result=a.apply(u,n),!1===t.result&&t.preventDefault());if(t.type=g,!o&&!t.isDefaultPrevented()&&(!f._default||!1===f._default.apply(m.pop(),n))&&P(i)&&s&&i[g]&&!p.isWindow(i)){(d=i[s])&&(i[s]=null),p.event.triggered=g;try{i[g]()}catch(v){}p.event.triggered=void 0,d&&(i[s]=d)}return t.result}},dispatch:function(e){e=p.event.fix(e);var t,n,r,o,a,s=[],u=i.call(arguments),l=(p._data(this,"events")||{})[e.type]||[],c=p.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=p.event.handlers.call(this,e,l),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((p.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?p(i,this).index(u)>-1:p.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[p.expando])return e;var t,n,i,o=e.type,a=e,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=ge.test(o)?this.mouseHooks:me.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new p.Event(a),t=i.length;t--;)e[n=i[t]]=a[n];return e.target||(e.target=a.srcElement||r),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
124,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o,a=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(o=(i=e.target.ownerDocument||r).documentElement,n=i.body,e.pageX=t.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==we()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===we()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(p.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return p.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=p.extend(new p.Event,n,{type:e,isSimulated:!0});p.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},p.removeEvent=r.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},p.Event=function(e,t){if(!(this instanceof p.Event))return new p.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?xe:be):this.type=e,t&&p.extend(this,t),this.timeStamp=e&&e.timeStamp||p.now(),this[p.expando]=!0},p.Event.prototype={constructor:p.Event,isDefaultPrevented:be,isPropagationStopped:be,isImmediatePropagationStopped:be,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=xe,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
124,p.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){p.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||p.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),f.submit||(p.event.special.submit={setup:function(){if(p.nodeName(this,"form"))return!1;p.event.add(this,"click._submit keypress._submit",(function(e){var t=e.target,n=p.nodeName(t,"input")||p.nodeName(t,"button")?p.prop(t,"form"):void 0;n&&!p._data(n,"submit")&&(p.event.add(n,"submit._submit",(function(e){e._submitBubble=!0})),p._data(n,"submit",!0))}))},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&p.event.simulate("submit",this.parentNode,e))},teardown:function(){if(p.nodeName(this,"form"))return!1;p.event.remove(this,"._submit")}}),f.change||(p.event.special.change={setup:function(){if(he.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(p.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)})),p.event.add(this,"click._change",(function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),p.event.simulate("change",this,e)}))),!1;p.event.add(this,"beforeactivate._change",(function(e){var t=e.target;he.test(t.nodeName)&&!p._data(t,"change")&&(p.event.add(t,"change._change",(function(e){!this.parentNode||e.isSimulated||e.isTrigger||p.event.simulate("change",this.parentNode,e)})),p._data(t,"change",!0))}))},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.remove(this,"._change"),!he.test(this.nodeName)}}),f.focusin||p.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){p.event.simulate(t,e.target,p.event.fix(e))};p.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=p._data(r,t);i||r.addEventListener(e,n,!0),p._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=p._data(r,t)-1;i?p._data(r,t,i):(r.removeEventListener(e,n,!0),p._removeData(r,t))}}})),p.fn.extend({on:function(e,t,n,r){return Te(this,e,t,n,r)},one:function(e,t,n,r){return Te(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,p(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=be),this.each((function(){p.event.remove(this,e,n,t)}))},trigger:function(e,t){return this.each((function(){p.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return p.event.trigger(e,t,n,!0)}});var Ce=/ jQuery\d+="(?:null|\d+)"/g,Ee=new RegExp("<(?:"+ne+")[\\s/>]","i"),ke=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ne=/<script|<style|<link/i,Se=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^true\/(.*)/,Ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,De,Le=ae(r).appendChild(r.createElement("div"));function He(e,t){return p.nodeName(e,"table")&&p.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function qe(e){return e.type=(null!==p.find.attr(e,"type"))+"/"+e.type,e}function _e(e){var t=je.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Me(e,t){if(1===t.nodeType&&p.hasData(e)){var n,r,i,o=p._data(e),a=p._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)p.event.add(t,n,s[n][r]);a.data&&(a.data=p.extend({},a.data))}}function Fe(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!f.noCloneEvent&&t[p.expando]){for(r in(i=p._data(t)).events)p.removeEvent(t,r,i.handle);t.removeAttribute(p.expando)}"script"===n&&t.text!==e.text?(qe(t).text=e.text,_e(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),f.html5Clone&&e.innerHTML&&!p.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&K.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function Oe(e,t,n,r){t=o.apply([],t);var i,a,s,u,l,c,d=0,h=e.length,m=h-1,g=t[0],y=p.isFunction(g);if(y||h>1&&"string"==typeof g&&!f.checkClone&&Se.test(g))return e.each((function(i){var o=e.eq(i);y&&(t[0]=g.call(this,i,o.html())),Oe(o,t,n,r)}));if(h&&(i=(c=pe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===c.childNodes.length&&(c=i),i||r)){for(s=(u=p.map(ue(c,"script"),qe)).length;d<h;
124d++)a=c,d!==m&&(a=p.clone(a,!0,!0),s&&p.merge(u,ue(a,"script"))),n.call(e[d],a,d);if(s)for(l=u[u.length-1].ownerDocument,p.map(u,_e),d=0;d<s;d++)a=u[d],ee.test(a.type||"")&&!p._data(a,"globalEval")&&p.contains(l,a)&&(a.src?p._evalUrl&&p._evalUrl(a.src):p.globalEval((a.text||a.textContent||a.innerHTML||"").replace(Ae,"")));c=i=null}return e}function Pe(e,t,n){for(var r,i=t?p.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||p.cleanData(ue(r)),r.parentNode&&(n&&p.contains(r.ownerDocument,r)&&le(ue(r,"script")),r.parentNode.removeChild(r));return e}p.extend({htmlPrefilter:function(e){return e.replace(ke,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=p.contains(e.ownerDocument,e);if(f.html5Clone||p.isXMLDoc(e)||!Ee.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Le.innerHTML=e.outerHTML,Le.removeChild(o=Le.firstChild)),!(f.noCloneEvent&&f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||p.isXMLDoc(e)))for(r=ue(o),s=ue(e),a=0;null!=(i=s[a]);++a)r[a]&&Fe(i,r[a]);if(t)if(n)for(s=s||ue(e),r=r||ue(o),a=0;null!=(i=s[a]);a++)Me(i,r[a]);else Me(e,o);return(r=ue(o,"script")).length>0&&le(r,!u&&ue(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var r,i,o,a,s=0,u=p.expando,l=p.cache,c=f.attributes,d=p.event.special;null!=(r=e[s]);s++)if((t||P(r))&&(a=(o=r[u])&&l[o])){if(a.events)for(i in a.events)d[i]?p.event.remove(r,i):p.removeEvent(r,i,a.handle);l[o]&&(delete l[o],c||"undefined"==typeof r.removeAttribute?r[u]=void 0:r.removeAttribute(u),n.push(o))}}}),p.fn.extend({domManip:Oe,detach:function(e){return Pe(this,e,!0)},remove:function(e){return Pe(this,e)},text:function(e){return G(this,(function(e){return void 0===e?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(e))}),null,e,arguments.length)},append:function(){return Oe(this,arguments,(function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return Oe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Oe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Oe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&p.cleanData(ue(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&p.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return p.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ce,""):void 0;if("string"==typeof e&&!Ne.test(e)&&(f.htmlSerialize||!Ee.test(e))&&(f.leadingWhitespace||!te.test(e))&&!se[(Z.exec(e)||["",""])[1].toLowerCase()]){e=p.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(p.cleanData(ue(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Oe(this,arguments,(function(t){var n=this.parentNode;p.inArray(this,e)<0&&(p.cleanData(ue(this)),n&&n.replaceChild(t,this))}),e)}}),p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){p.fn[e]=function(e){for(var n,r=0,i=[],o=p(e),s=o.length-1;r<=s;r++)n=r===s?this:this.clone(!0),p(o[r])[t](n),a.apply(i,n.get());return this.pushStack(i)}}));var Re,Be={HTML:"block",BODY:"block"};function We(e,t){var n=p(t.createElement(e)).appendTo(t.body),r=p.css(n[0],"display");return n.detach(),r}function $e(e){var t=r,n=Be[e];return n||("none"!==(n=We(e,t))&&n||((t=((Re=(Re||p("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Re[0].contentDocument).document).write(),t.close(),n=We(e,t),Re.detach()),Be[e]=n),n}var Ie=/^margin/,ze=new RegExp("^("+U+")(?!px)[a-z%]+$","i"),Xe=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i},Ue=r.documentElement;!function(){var t,n,i,o,a,s,u=r.createElement("div"),l=r.createElement("div");function c(){var c,f,d=r.documentElement;d.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=i=s=!1,n=a=!0,e.getComputedStyle&&(f=e.getComputedStyle(l),t="1%"!==(f||{}).top,s="2px"===(f||{}).marginLeft,i="4px"===(f||{width:"4px"}).width,l.style.marginRight="50%",n="4px"===(f||{marginRight:"4px"}).marginRight,(c=l.appendChild(r.createElement("div"))).style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",l.style.width="1px",a=!parseFloat((e.getComputedStyle(c)||{}).marginRight),l.removeChild(c)),l.style.display="none",(o=0===l.getClientRects().length)&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(c=l.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===c[0].offsetHeight)&&(c[0].style.display="",c[1].style.display="none",o=0===c[0].offsetHeight)),d.removeChild(u)}l.style&&(l.style.cssText="float:left;opacity:.5",f.opacity="0.5"===l.style.opacity,f.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===l.style.backgroundClip,(u=r.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),f.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,p.extend(f,{reliableHiddenOffsets:function(){return null==t&&c(),o},boxSizingReliable:function(){return null==t&&c(),i},pixelMarginRight:function(){return null==t&&c(),n},pixelPosition:function(){return null==t&&c(),t},reliableMarginRight:function(){return null==t&&c(),a},reliableMarginLeft:function(){return null==t&&c(),s}}))}();var Ve,Qe,Ye=/^(top|right|bottom|left)$/;function Je(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}e.getComputedStyle?(Ve=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Qe=function(e,t,n){var r,i,o,a,s=e.style;return""!==(a=(n=n||Ve(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==a||p.contains(e.ownerDocument,e)||(a=p.style(e,t)),n&&!f.pixelMarginRight()&&ze.test(a)&&Ie.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):Ue.currentStyle&&(Ve=function(e){return e.currentStyle},Qe=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||Ve(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),ze.test(a)&&!Ye.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left
124=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var Ge=/alpha\([^)]*\)/i,Ke=/opacity\s*=\s*([^)]*)/i,Ze=/^(none|table(?!-c[ea]).+)/,et=new RegExp("^("+U+")(.*)$","i"),tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"},rt=["Webkit","O","Moz","ms"],it=r.createElement("div").style;function ot(e){if(e in it)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=rt.length;n--;)if((e=rt[n]+t)in it)return e}function at(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=p._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Y(r)&&(o[a]=p._data(r,"olddisplay",$e(r.nodeName)))):(i=Y(r),(n&&"none"!==n||!i)&&p._data(r,"olddisplay",i?n:p.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function st(e,t,n){var r=et.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function ut(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=p.css(e,n+Q[o],!0,i)),r?("content"===n&&(a-=p.css(e,"padding"+Q[o],!0,i)),"margin"!==n&&(a-=p.css(e,"border"+Q[o]+"Width",!0,i))):(a+=p.css(e,"padding"+Q[o],!0,i),"padding"!==n&&(a+=p.css(e,"border"+Q[o]+"Width",!0,i)));return a}function lt(t,n,i){var o=!0,a="width"===n?t.offsetWidth:t.offsetHeight,s=Ve(t),u=f.boxSizing&&"border-box"===p.css(t,"boxSizing",!1,s);if(r.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(a=Math.round(100*t.getBoundingClientRect()[n])),a<=0||null==a){if(((a=Qe(t,n,s))<0||null==a)&&(a=t.style[n]),ze.test(a))return a;o=u&&(f.boxSizingReliable()||a===t.style[n]),a=parseFloat(a)||0}return a+ut(t,n,i||(u?"border":"content"),o,s)+"px"}function ct(e,t,n,r,i){return new ct.prototype.init(e,t,n,r,i)}p.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:f.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=p.camelCase(t),u=e.style;if(t=p.cssProps[s]||(p.cssProps[s]=ot(s)||s),a=p.cssHooks[t]||p.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(!("string"===(o=typeof n)&&(i=V.exec(n))&&i[1]&&(n=J(e,t,i),o="number"),null==n||n!=n||("number"===o&&(n+=i&&i[3]||(p.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=p.camelCase(t);return t=p.cssProps[s]||(p.cssProps[s]=ot(s)||s),(a=p.cssHooks[t]||p.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,r)),"normal"===o&&t in nt&&(o=nt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),p.each(["height","width"],(function(e,t){p.cssHooks[t]={get:function(e,n,r){if(n)return Ze.test(p.css(e,"display"))&&0===e.offsetWidth?Xe(e,tt,(function(){return lt(e,t,r)})):lt(e,t,r)},set:function(e,n,r){var i=r&&Ve(e);return st(e,n,r?ut(e,t,r,f.boxSizing&&"border-box"===p.css(e,"boxSizing",!1,i),i):0)}}})),f.opacity||(p.cssHooks.opacity={get:function(e,t){return Ke.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=p.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===p.trim(o.replace(Ge,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=Ge.test(o)?o.replace(Ge,i):o+" "+i)}}),p.cssHooks.marginRight=Je(f.reliableMarginRight,(function(e,t){if(t)return Xe(e,{display:"inline-block"},Qe,[e,"marginRight"])})),p.cssHooks.marginLeft=Je(f.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||(p.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})):0))+"px"})),p.each({margin:"",padding:"",border:"Width"},(function(e,t){p.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Q[r]+t]=o[r]||o[r-2]||o[0];return i}},Ie.test(e)||(p.cssHooks[e+t].set=st)})),p.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var r,i,o={},a=0;if(p.isArray(t)){for(r=Ve(e),i=t.length;a<i;a++)o[t[a]]=p.css(e,t[a],!1,r);return o}return void 0!==n?p.style(e,t,n):p.css(e,t)}),e,t,arguments.length>1)},show:function(){return at(this,!0)},hide:function(){return at(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){Y(this)?p(this).show():p(this).hide()}))}}),p.Tween=ct,ct.prototype={constructor:ct,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||p.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(p.cssNumber[n]?"":"px")},cur:function(){var e=ct.propHooks[this.prop];return e&&e.get?e.get(this):ct.propHooks._default.get(this)},run:function(e){var t,n=ct.propHooks[this.prop];return this.options.duration?this.pos=t=p.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=p.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){p.fx.step[e.prop]?p.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[p.cssProps[e.prop]]&&!p.cssHooks[e.prop]?e.elem[e.prop]=e.now:p.style(e.elem,e.prop,e.now+e.unit)}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},p.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},p.fx=ct.prototype.init,p.fx.step={};var ft,dt,pt=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function mt(){return e.setTimeout((function(){ft=void 0})),ft=p.now()}function gt(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Q[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function yt(e,t,n){for(var r,i=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function vt(e,t,n){var r,i,o,a,s,u,l,c,d=this,h={},m=e.style,g=e.nodeType&&Y(e),y=p._data(e,"fxshow");for(r in n.queue||(null==(s=p._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,p.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],"inline"===(c="none"===(l=p.css(e,"display"))?p._data(e,"olddisplay")||$e(e.nodeName):l)&&"none"===p.css(e,"float")&&(f.inlineBlockNeedsLayout&&"inline"!==$e(e.nodeName)?m.zoom=1:m.display="inline-block")),n.overflow&&(m.overflow="hidden",f.shrinkWrapBlocks()||d.always((function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]}))),t)if(i=t[r],pt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}h[r]=y&&y[r]||p.style(e,r)}else l=void 0;if(p.isEmptyObject(h))"inline"===("none"===l?$e(e.nodeName):l)&&(m.display=l);else for(r in y?"hidden"in y&&(g=y.hidden):y=p._data(e,"fxshow",{}),o&&(y.hidden=!g),g?p(e).show():d.done((function(){p(e).hide()})),d.done((function(){var t;for(t in p._removeData(e,"fxshow"),h)p.style(e,t,h[t])})),h)a=yt(g?y[r]:0,r,d),r in y||(y[r]=a.start,g&&(a.end=a.start,a.start="width"===r||"he
124ight"===r?1:0))}function xt(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=p.camelCase(n)],o=e[n],p.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=p.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function bt(e,t,n){var r,i,o=0,a=bt.prefilters.length,s=p.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=ft||mt(),n=Math.max(0,l.startTime+l.duration-t),r,o=1-(n/l.duration||0),a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:p.extend({},t),opts:p.extend(!0,{specialEasing:{},easing:p.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||mt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=p.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(xt(c,l.opts.specialEasing);o<a;o++)if(r=bt.prefilters[o].call(l,e,c,l.opts))return p.isFunction(r.stop)&&(p._queueHooks(l.elem,l.opts.queue).stop=p.proxy(r.stop,r)),r;return p.map(c,yt,l),p.isFunction(l.opts.start)&&l.opts.start.call(e,l),p.fx.timer(p.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}p.Animation=p.extend(bt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return J(n.elem,e,V.exec(t),n),n}]},tweener:function(e,t){p.isFunction(e)?(t=e,e=["*"]):e=e.match(H);for(var n,r=0,i=e.length;r<i;r++)n=e[r],bt.tweeners[n]=bt.tweeners[n]||[],bt.tweeners[n].unshift(t)},prefilters:[vt],prefilter:function(e,t){t?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),p.speed=function(e,t,n){var r=e&&"object"==typeof e?p.extend({},e):{complete:n||!n&&t||p.isFunction(e)&&e,duration:e,easing:n&&t||t&&!p.isFunction(t)&&t};return r.duration=p.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in p.fx.speeds?p.fx.speeds[r.duration]:p.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){p.isFunction(r.old)&&r.old.call(this),r.queue&&p.dequeue(this,r.queue)},r},p.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=p.isEmptyObject(e),o=p.speed(t,n,r),a=function(){var t=bt(this,p.extend({},e),o);(i||p._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=p.timers,a=p._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ht.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||p.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=p._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=p.timers,a=r?r.length:0;for(n.finish=!0,p.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),p.each(["toggle","show","hide"],(function(e,t){var n=p.fn[t];p.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,r,i)}})),p.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){p.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),p.timers=[],p.fx.tick=function(){var e,t=p.timers,n=0;for(ft=p.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||p.fx.stop(),ft=void 0},p.fx.timer=function(e){p.timers.push(e),e()?p.fx.start():p.timers.pop()},p.fx.interval=13,p.fx.start=function(){dt||(dt=e.setInterval(p.fx.tick,p.fx.interval))},p.fx.stop=function(){e.clearInterval(dt),dt=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fn.delay=function(t,n){return t=p.fx&&p.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}}))},function(){var e,t=r.createElement("input"),n=r.createElement("div"),i=r.createElement("select"),o=i.appendChild(r.createElement("option"));(n=r.createElement("div")).setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a>
124<input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),(e=n.getElementsByTagName("a")[0]).style.cssText="top:1px",f.getSetAttribute="t"!==n.className,f.style=/top/.test(e.getAttribute("style")),f.hrefNormalized="/a"===e.getAttribute("href"),f.checkOn=!!t.value,f.optSelected=o.selected,f.enctype=!!r.createElement("form").enctype,i.disabled=!0,f.optDisabled=!o.disabled,(t=r.createElement("input")).setAttribute("value",""),f.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),f.radioValue="t"===t.value}();var wt=/\r/g;p.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=p.isFunction(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,p(this).val()):e)?i="":"number"==typeof i?i+="":p.isArray(i)&&(i=p.map(i,(function(e){return null==e?"":e+""}))),(t=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=p.valHooks[i.type]||p.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(wt,""):null==n?"":n:void 0}}),p.extend({valHooks:{option:{get:function(e){var t=p.find.attr(e,"value");return null!=t?t:p.trim(p.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(((n=r[u]).selected||u===i)&&(f.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!p.nodeName(n.parentNode,"optgroup"))){if(t=p(n).val(),o)return t;a.push(t)}return a}
124,set:function(e,t){for(var n,r,i=e.options,o=p.makeArray(t),a=i.length;a--;)if(r=i[a],p.inArray(p.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),p.each(["radio","checkbox"],(function(){p.valHooks[this]={set:function(e,t){if(p.isArray(t))return e.checked=p.inArray(p(e).val(),t)>-1}},f.checkOn||(p.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Tt,Ct,Et=p.expr.attrHandle,kt=/^(?:checked|selected)$/i,Nt=f.getSetAttribute,St=f.input;p.fn.extend({attr:function(e,t){return G(this,p.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){p.removeAttr(this,e)}))}}),p.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?p.prop(e,t,n):(1===o&&p.isXMLDoc(e)||(t=t.toLowerCase(),i=p.attrHooks[t]||(p.expr.match.bool.test(t)?Ct:Tt)),void 0!==n?null===n?void p.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=p.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&p.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(H);if(o&&1===e.nodeType)for(;n=o[i++];)r=p.propFix[n]||n,p.expr.match.bool.test(n)?St&&Nt||!kt.test(n)?e[r]=!1:e[p.camelCase("default-"+n)]=e[r]=!1:p.attr(e,n,""),e.removeAttribute(Nt?n:r)}}),Ct={set:function(e,t,n){return!1===t?p.removeAttr(e,n):St&&Nt||!kt.test(n)?e.setAttribute(!Nt&&p.propFix[n]||n,n):e[p.camelCase("default-"+n)]=e[n]=!0,n}},p.each(p.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Et[t]||p.find.attr;St&&Nt||!kt.test(t)?Et[t]=function(e,t,r){var i,o;return r||(o=Et[t],Et[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Et[t]=o),i}:Et[t]=function(e,t,n){if(!n)return e[p.camelCase("default-"+t)]?t.toLowerCase():null}})),St&&Nt||(p.attrHooks.value={set:function(e,t,n){if(!p.nodeName(e,"input"))return Tt&&Tt.set(e,t,n);e.defaultValue=t}}),Nt||(Tt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Et.id=Et.name=Et.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},p.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Tt.set},p.attrHooks.contenteditable={set:function(e,t,n){Tt.set(e,""!==t&&t,n)}},p.each(["width","height"],(function(e,t){p.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}}))),f.style||(p.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var jt=/^(?:input|select|textarea|button|object)$/i,At=/^(?:a|area)$/i;p.fn.extend({prop:function(e,t){return G(this,p.prop,e,t,arguments.length>1)},removeProp:function(e){return e=p.propFix[e]||e,this.each((function(){try{this[e]=void 0,delete this[e]}catch(t){}}))}}),p.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&p.isXMLDoc(e)||(t=p.propFix[t]||t,i=p.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=p.find.attr(e,"tabindex");return t?parseInt(t,10):jt.test(e.nodeName)||At.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.hrefNormalized||p.each(["href","src"],(function(e,t){p.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),f.optSelected||(p.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),p.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){p.propFix[this.toLowerCase()]=this})),f.enctype||(p.propFix.enctype="encoding");var Dt=/[\t\r\n\f]/g;function Lt(e){return p.attr(e,"class")||""}p.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(p.isFunction(e))return this.each((function(t){p(this).addClass(e.call(this,t,Lt(this)))}));if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[u++];)if(i=Lt(n),r=1===n.nodeType&&(" "+i+" ").replace(Dt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=p.trim(r))&&p.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(p.isFunction(e))return this.each((function(t){p(this).removeClass(e.call(this,t,Lt(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[u++];)if(i=Lt(n),r=1===n.nodeType&&(" "+i+" ").replace(Dt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=p.trim(r))&&p.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):p.isFunction(e)?this.each((function(n){p(this).toggleClass(e.call(this,n,Lt(this),t),t)})):this.each((function(){var t,r,i,o;if("string"===n)for(r=0,i=p(this),o=e.match(H)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=Lt(this))&&p._data(this,"__className__",t),p.attr(this,"class",t||!1===e?"":p._data(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Lt(n)+" ").replace(Dt," ").indexOf(t)>-1)return!0;return!1}}),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){p.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),p.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Ht=e.location,qt=p.now(),_t=/\?/,Mt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;p.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=p.trim(t+"");return i&&!p.trim(i.replace(Mt,(function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")})))?Function("return "+i)():p.error("Invalid JSON: "+t)},p.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?n=(r=new e.DOMParser).parseFromString(t,"text/xml"):((n=new e.ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||p.error("Invalid XML: "+t),n};var Ft=/#.*$/,Ot=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Rt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Bt=/^(?:GET|HEAD)$/,Wt=/^\/\//,$t=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,It={},zt={},Xt="*/".concat("*"),Ut=Ht.href,Vt=$t.exec(Ut.toLowerCase())||[];function Qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(H)||[];if(p.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Yt(e,t,n,r){var i={},o=e===zt;function a(s){var u;return i[s]=!0,p.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Jt(e,t){var n,r,i=p.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&p.extend(!0,e,n),e}function Gt(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Kt(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function Zt(e){return e.style&&e.style.display||p.css(e,"display")}function en(e){for(;e&&1===e.nodeType;){if("none"===Zt(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}p.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ut,type:"GET",isLocal:Rt.test(Vt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML}
124,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,p.ajaxSettings),t):Jt(p.ajaxSettings,e)},ajaxPrefilter:Qt(It),ajaxTransport:Qt(zt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,a,s,u,l,c,f=p.ajaxSetup({},n),d=f.context||f,h=f.context&&(d.nodeType||d.jquery)?p(d):p.event,m=p.Deferred(),g=p.Callbacks("once memory"),y=f.statusCode||{},v={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c)for(c={};t=Pt.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)y[t]=[y[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return l&&l.abort(t),C(0,t),this}};if(m.promise(T).complete=g.add,T.success=T.done,T.error=T.fail,f.url=((t||f.url||Ut)+"").replace(Ft,"").replace(Wt,Vt[1]+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=p.trim(f.dataType||"*").toLowerCase().match(H)||[""],null==f.crossDomain&&(r=$t.exec(f.url.toLowerCase()),f.crossDomain=!(!r||r[1]===Vt[1]&&r[2]===Vt[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Vt[3]||("http:"===Vt[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=p.param(f.data,f.traditional)),Yt(It,f,n,T),2===b)return T;for(i in(u=p.event&&f.global)&&0==p.active++&&p.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Bt.test(f.type),o=f.url,f.hasContent||(f.data&&(o=f.url+=(_t.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=Ot.test(o)?o.replace(Ot,"$1_="+qt++):o+(_t.test(o)?"&":"?")+"_="+qt++)),f.ifModified&&(p.lastModified[o]&&T.setRequestHeader("If-Modified-Since",p.lastModified[o]),p.etag[o]&&T.setRequestHeader("If-None-Match",p.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Xt+"; q=0.01":""):f.accepts["*"]),f.headers)T.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(!1===f.beforeSend.call(d,T,f)||2===b))return T.abort();for(i in w="abort",{success:1,error:1,complete:1})T[i](f[i]);if(l=Yt(zt,f,n,T)){if(T.readyState=1,u&&h.trigger("ajaxSend",[T,f]),2===b)return T;f.async&&f.timeout>0&&(s=e.setTimeout((function(){T.abort("timeout")}),f.timeout));try{b=1,l.send(v,C)}catch(E){if(!(b<2))throw E;C(-1,E)}}else C(-1,"No Transport");function C(t,n,r,i){var c,v,x,w,C,E=n;2!==b&&(b=2,s&&e.clearTimeout(s),l=void 0,a=i||"",T.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(w=Gt(f,T,r)),w=Kt(f,w,T,c),c?(f.ifModified&&((C=T.getResponseHeader("Last-Modified"))&&(p.lastModified[o]=C),(C=T.getResponseHeader("etag"))&&(p.etag[o]=C)),204===t||"HEAD"===f.type?E="nocontent":304===t?E="notmodified":(E=w.state,v=w.data,c=!(x=w.error))):(x=E,!t&&E||(E="error",t<0&&(t=0))),T.status=t,T.statusText=(n||E)+"",c?m.resolveWith(d,[v,E,T]):m.rejectWith(d,[T,E,x]),T.statusCode(y),y=void 0,u&&h.trigger(c?"ajaxSuccess":"ajaxError",[T,f,c?v:x]),g.fireWith(d,[T,E]),u&&(h.trigger("ajaxComplete",[T,f]),--p.active||p.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return p.get(e,t,n,"json")},getScript:function(e,t){return p.get(e,void 0,t,"script")}}),p.each(["get","post"],(function(e,t){p[t]=function(e,n,r,i){return p.isFunction(n)&&(i=i||r,r=n,n=void 0),p.ajax(p.extend({url:e,type:t,dataType:i,data:n,success:r},p.isPlainObject(e)&&e))}})),p._evalUrl=function(e){return p.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},p.fn.extend({wrapAll:function(e){if(p.isFunction(e))return this.each((function(t){p(this).wrapAll(e.call(this,t))}));if(this[0]){var t=p(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return p.isFunction(e)?this.each((function(t){p(this).wrapInner(e.call(this,t))})):this.each((function(){var t=p(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=p.isFunction(e);return this.each((function(n){p(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)})).end()}}),p.expr.filters.hidden=function(e){return f.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:en(e)},p.expr.filters.visible=function(e){return!p.expr.filters.hidden(e)};var tn=/%20/g,nn=/\[\]$/,rn=/\r?\n/g,on=/^(?:submit|button|image|reset|file)$/i,an=/^(?:input|select|textarea|keygen)/i;function sn(e,t,n,r){var i;if(p.isArray(t))p.each(t,(function(t,i){n||nn.test(e)?r(e,i):sn(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==p.type(t))r(e,t);else for(i in t)sn(e+"["+i+"]",t[i],n,r)}p.param=function(e,t){var n,r=[],i=function(e,t){t=p.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=p.ajaxSettings&&p.ajaxSettings.traditional),p.isArray(e)||e.jquery&&!p.isPlainObject(e))p.each(e,(function(){i(this.name,this.value)}));else for(n in e)sn(n,e[n],t,i);return r.join("&").replace(tn,"+")},p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=p.prop(this,"elements");return e?p.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!p(this).is(":disabled")&&an.test(this.nodeName)&&!on.test(e)&&(this.checked||!K.test(e))})).map((function(e,t){var n=p(this).val();return null==n?null:p.isArray(n)?p.map(n,(function(e){return{name:t.name,value:e.replace(rn,"\r\n")}})):{name:t.name,value:n.replace(rn,"\r\n")}})).get()}}),p.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?dn():r.documentMode>
1248?fn():/^(get|post|head|put|delete|options)$/i.test(this.type)&&fn()||dn()}:fn;var un=0,ln={},cn=p.ajaxSettings.xhr();function fn(){try{return new e.XMLHttpRequest}catch(t){}}function dn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}e.attachEvent&&e.attachEvent("onunload",(function(){for(var e in ln)ln[e](void 0,!0)})),f.cors=!!cn&&"withCredentials"in cn,(cn=f.ajax=!!cn)&&p.ajaxTransport((function(t){var n;if(!t.crossDomain||f.cors)return{send:function(r,i){var o,a=t.xhr(),s=++un;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete ln[s],n=void 0,a.onreadystatechange=p.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=ln[s]=n:n()},abort:function(){n&&n(void 0,!0)}}})),p.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return p.globalEval(e),e}}}),p.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),p.ajaxTransport("script",(function(e){if(e.crossDomain){var t,n=r.head||p("head")[0]||r.documentElement;return{send:function(i,o){(t=r.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||o(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}));var pn=[],hn=/(=)\?(?=&|$)|\?\?/;p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=pn.pop()||p.expando+"_"+qt++;return this[e]=!0,e}}),p.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(hn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=p.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(hn,"$1"+i):!1!==t.jsonp&&(t.url+=(_t.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||p.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){void 0===o?p(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,pn.push(i)),a&&p.isFunction(o)&&o(a[0]),a=o=void 0})),"script"})),f.createHTMLDocument=function(){if(!r.implementation.createHTMLDocument)return!1;var e=r.implementation.createHTMLDocument("");return e.body.innerHTML="<form></form><form></form>",2===e.body.childNodes.length}(),p.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||(f.createHTMLDocument?r.implementation.createHTMLDocument(""):r);var i=C.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=pe([e],t,o),o&&o.length&&p(o).remove(),p.merge([],i.childNodes))};var mn=p.fn.load;function gn(e){return p.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}p.fn.load=function(e,t,n){if("string"!=typeof e&&mn)return mn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=p.trim(e.slice(s,e.length)),e=e.slice(0,s)),p.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&p.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?p("<div>").append(p.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(a,o||[e.responseText,t,e])}))}),this},p.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){p.fn[t]=function(e){return this.on(t,e)}})),p.expr.filters.animated=function(e){return p.grep(p.timers,(function(t){return e===t.elem})).length},p.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=p.css(e,"position"),f=p(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=p.css(e,"to
124p"),u=p.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&p.inArray("auto",[o,u])>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),p.isFunction(t)&&(t=t.call(e,n,p.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},p.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){p.offset.setOffset(this,e,t)}));var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,p.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=gn(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===p.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),p.nodeName(e[0],"html")||(n=e.offset()),n.top+=p.css(e[0],"borderTopWidth",!0),n.left+=p.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-p.css(r,"marginTop",!0),left:t.left-n.left-p.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&!p.nodeName(e,"html")&&"static"===p.css(e,"position");)e=e.offsetParent;return e||Ue}))}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n=/Y/.test(t);p.fn[e]=function(r){return G(this,(function(e,r,i){var o=gn(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?p(o).scrollLeft():i,n?i:p(o).scrollTop()):e[r]=i}),e,r,arguments.length,null)}})),p.each(["top","left"],(function(e,t){p.cssHooks[t]=Je(f.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),ze.test(n)?p(e).position()[t]+"px":n}))})),p.each({Height:"height",Width:"width"},(function(e,t){p.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){p.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return G(this,(function(t,n,r){var i;return p.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?p.css(t,n,a):p.style(t,n,r,a)}),t,o?r:void 0,o,null)}}))})),p.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),p.fn.size=function(){return this.length},p.fn.andSelf=p.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return p}));var yn=e.jQuery,vn=e.$;return p.noConflict=function(t){return e.$===p&&(e.$=vn),t&&e.jQuery===p&&(e.jQuery=yn),p},t||(e.jQuery=e.$=p),p}))}}}}},{extensions:[".js",".json"]}),u=s("/node_modules/meteor/jquery/main.js");Package._define("jquery",u,{$:o,jQuery:a})}(); 125 126!function(){var i;Package._define("minifier-css",{CssTools:i})}(); 127 128Package._define("standard-minifier-css"); 129 130Package._define("standard-minifier-js"); 131 132Package._define("shell-server"); 133 134!function(){var a=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,o;(function(){}).call(this),Package._define("nemo64:bootstrap-data",{BootstrapData:o})}(); 135 136!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,i=Package.meteor.meteorEnv,o=Package.jquery.$,n=Package.jquery.jQuery,s=Package["nemo64:bootstrap-data"].BootstrapData;(function(){!function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this,n;return t(this).one("bsTransitionEnd",(function(){i=!0})),setTimeout((function(){i||t(o).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.supp
136ort.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(n)}).call(this),function(){!function(t){"use strict";var e=function(i,o){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,o),this.$trigger=t('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function i(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function o(i){return this.each((function(){var o=t(this),n=o.data("bs.collapse"),s=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i);!n&&s.toggle&&/show|hide/.test(i)&&(s.toggle=!1),n||o.data("bs.collapse",n=new e(this,s)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t;return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var i,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(i=n.data("bs.collapse"))&&i.transitioning)){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(o.call(n,"hide"),i||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var i=t.Event("hide.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){var o=this.dimension();this.$element[o](this.$element[o]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return n.call(this);this.$element[o](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,o){var n=t(o);this.addAriaAndCollapsedClass(i(n),n)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=o,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var n=t(this);n.attr("data-target")||e.preventDefault();var s=i(n),a,r=s.data("bs.collapse")?"toggle":n.data();o.call(s,r)}))}(n)}.call(this),function(){!function(t){"use strict";var e=".dropdown-backdrop",i='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};function n(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}function s(o){o&&3===o.which||(t(e).remove(),t(i).each((function(){var e=t(this),i=n(e),s={relatedTarget:this};i.hasClass("open")&&(o&&"click"==o.type&&/input|textarea/i.test(o.target.tagName)&&t.contains(i[0],o.target)||(i.trigger(o=t.Event("hide.bs.dropdown",s)),o.isDefaultPrevented()||(e.attr("aria-expanded","fal
136se"),i.removeClass("open").trigger("hidden.bs.dropdown",s))))})))}function a(e){return this.each((function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new o(this)),"string"==typeof e&&n[e].call(i)}))}o.VERSION="3.3.5",o.prototype.toggle=function(e){var i=t(this);if(!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(s(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",s);var r={relatedTarget:this};if(o.trigger(e=t.Event("show.bs.dropdown",r)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var o=t(this);if(e.preventDefault(),e.stopPropagation(),!o.is(".disabled, :disabled")){var s=n(o),a=s.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&s.find(i).trigger("focus"),o.trigger("click");var r=" li:not(.disabled):visible a",l=s.find(".dropdown-menu"+r);if(l.length){var h=l.index(e.target);38==e.which&&h>0&&h--,40==e.which&&h<l.length-1&&h++,~h||(h=0),l.eq(h).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=a,t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",i,o.prototype.toggle).on("keydown.bs.dropdown.data-api",i,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(n)}.call(this),function(){!function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function i(i,o){return this.each((function(){var n=t(this),s=n.data("bs.modal"),a=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);s||n.data("bs.modal",s=new e(this,a)),"string"==typeof i?s[i](o):a.show&&s.show(o)}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var o=this,n=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){o.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(o.$element)&&(o.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var n=t.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),n&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:i});n?o.$dialog.one("bsTransitionEnd",(function(){o.$element.trigger("focus").trigger(s)})).emulateTransitionEnd(e.TRANSITION_DURATION):o.$element.trigger("focus").trigger(s)})))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
136down.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var o=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&n;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;s?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){o.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):a()}else i&&i()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var o=t.fn.modal;t.fn.modal=i,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=o,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var o=t(this),n=o.attr("href"),s=t(o.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},s.data(),o.data());o.is("a")&&e.preventDefault(),s.one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){o.is(":visible")&&o.trigger("focus")}))})),i.call(s,a,this)}))}(n)}.call(this),function(){!function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.tooltip",n=new e(this,s)),"string"==typeof i&&n[i]())}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();
vendor: 4,670 bytes, line 136
136return this._options&&t.each(this._options,(function(t,o){i[t]!=o&&(e[t]=o)})),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=s[0].offsetWidth,p=s[0].offsetHeight;if(h){var f=r,u=this.getPosition(this.$viewport);r="bottom"==r&&d.bottom+p>u.bottom?"top":"top"==r&&d.top-p<u.top?"bottom":"right"==r&&d.right+c>u.width?"left":"left"==r&&d.left-c<u.left?"right":r,s.removeClass(f).addClass(r)}var g=this.getCalculatedOffset(r,d,c,p);this.applyPlacement(g,r);var m=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,a=parseInt(o.css("margin-top"),10),r=parseInt(o.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),e.top+=a,e.left+=r,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,h=o[0].offsetHeight;"top"==i&&h!=s&&(e.top=e.top+s-h);var d=this.getViewportAdjustedDelta(i,e,l,h);d.left?e.left+=d.left:e.top+=d.top;var c=/top|bottom/.test(i),p=c?2*d.left-n+l:2*d.top-s+h,f=c?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(p,o[0][f],c)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){var o=this,n=t(this.$tip),s=t.Event("hide.bs."+this.type);function a(){"in"!=o.hoverState&&n.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),i&&i()}if(this.$element.trigger(s),!s.isDefaultPrevented())return n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,a,r,s)}
136,e.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+o;r<a.top?n.top=a.top-r:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;h<a.left?n.left=a.left-h:d>a.right&&(n.left=a.left+a.width-d)}return n},e.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null}))};var o=t.fn.tooltip;t.fn.tooltip=i,t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(n)}.call(this),function(){!function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");function i(i){return this.each((function(){var o=t(this),n=o.data("bs.popover"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.popover",n=new e(this,s)),"string"==typeof i&&n[i]())}))}e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var o=t.fn.popover;t.fn.popover=i,t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=o,this}}(n)}.call(this),function(){!function(t){"use strict";var e=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i),a="string"==typeof i?i:s.slide;n||o.data("bs.carousel",n=new e(this,s)),"number"==typeof i?n.to(i):a?n[a]():s.interval&&n.pause().cycle()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),o;if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n,s=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(s)},e.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".
136item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(i,o){var n=this.$element.find(".item.active"),s=o||this.getItemForDirection(i,n),a=this.interval,r="next"==i?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var h=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(s)]);c&&c.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(i),s[0].offsetWidth,n.addClass(r),s.addClass(r),n.one("bsTransitionEnd",(function(){s.removeClass([i,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(p)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(p)),a&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=i,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(e){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),i.call(s,a),r&&s.data("bs.carousel").to(r),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(n)}.call(this),function(){!function(t){"use strict";var e=function(i,o){this.options=t.extend({},e.DEFAULTS,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.affix"),s="object"==typeof i&&i;n||o.data("bs.affix",n=new e(this,s)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=s.top)&&"bottom":!(n+a<=t-o)&&"bottom";var r=null==this.affixed,l=r?n:s.top,h;return null!=i&&n<=i?"top":null!=o&&l+(r?a:e)>=t-o&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),o=this.options.offset,n=o.top,s=o.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(s=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var r=this.getState(a,i,n,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.Event(l+".bs.affix");if(this.$element.trigger(h),h.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-i-s})}};var o=t.fn.affix;t.fn.affix=i,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),o=e.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),i.call(e,o)}))}))}(n)}.call(this),function(){!function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};function o(e){return this.each((function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)}
136))}i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var o=t(this),n=o.attr("data-target");n||(n=(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""));var s=t(n);function a(){s.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),s.length||(s=o.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a())};var n=t.fn.alert;t.fn.alert=o,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(n)}.call(this),function(){!function(t){"use strict";var e=function(i,o){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,o),this.isLoading=!1};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.button"),s="object"==typeof i&&i;n||o.data("bs.button",n=new e(this,s)),"toggle"==i?n.toggle():i&&n.setState(i)}))}e.VERSION="3.3.5",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="Text",null==s.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy((function(){o[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=i,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var o=t(e.target);o.hasClass("btn")||(o=o.closest(".btn")),i.call(o,"toggle"),t(e.target).is('input[type="radio"]')||t(e.target).is('input[type="checkbox"]')||e.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(n)}.call(this),function(){!function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollElement=t(i).is(document.body)?t(window):t(i),this.options=t.extend({},e.DEFAULTS,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each((function(){var o=t(this),n=o.data("bs.scrollspy"),s="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,s)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),n=e.data("target")||e.attr("href"),s=/^#./.test(n)&&t(n);return s&&s.length&&s.is(":visible")&&[[s[i]().top+o,n]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t=this.$scrollElement.scrollTop()+this.options.offset,e=this.getScrollHeight(),i=this.options.offset+e-this.$scrollElement.height(),o=this.offsets,n=this.targets,s=this.activeTarget,a;if(this.scrollHeight!=e&&this.refresh(),t>=i)return s!=(a=n[n.length-1])&&this.activate(a);if(s&&t<o[0])return this.activeTarget=null,this.clear();for(a=o.length;a--;)s!=n[a]&&t>=o[a]&&(void 0===o[a+1]||t<o[a+1])&&this.activate(n[a])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',o=t(i).parents("li").addClass("active");o.parent(".dropdown-menu").length&&(o=o.closest("li.dropdown").addClass("active")),o.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var o=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=o,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(n)}.call(this),function(){!function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.tab");n||o.data("bs.tab",n=new e(this)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),(function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})}))}}},e.prototype.activate=function(i,o,n){var s=o.find("> .active"),a=n&&t.support.transition&&(s.length&&s.hasClass("fade")||!!o.find("> .fade").length);function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}s.length&&a?s.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),s.removeClass("in")};var o=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(n)}.call(this),Package._define("nemo64:bootstrap")}(); 137 138!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,t=Package.meteor.meteorEnv;(function(){!function(){"use strict";var e,a=function(t,s){if(!(this instanceof a))return new a(t,s);var r={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mou
138sewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},n=s&&s.virtualTranslate;s=s||{};var o={};for(var l in s)if("object"!=typeof s[l]||null===s[l]||(s[l].nodeType||s[l]===window||s[l]===document||"undefined"!=typeof i&&s[l]instanceof i||"undefined"!=typeof jQuery&&s[l]instanceof jQuery))o[l]=s[l];else for(var p in o[l]={},s[l])o[l][p]=s[l][p];for(var d in r)if("undefined"==typeof s[d])s[d]=r[d];else if("object"==typeof s[d])for(var u in r[d])"undefined"==typeof s[d][u]&&(s[d][u]=r[d][u]);var c=this;if(c.params=s,c.originalParams=o,c.classNames=[],"undefined"!=typeof e&&"undefined"!=typeof i&&(e=i),("undefined"!=typeof e||(e="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i))&&(c.$=e,c.currentBreakpoint=void 0,c.getActiveBreakpoint=function(){if(!c.params.breakpoints)return!1;var e=!1,a=[],t;for(t in c.params.breakpoints)c.params.breakpoints.hasOwnProperty(t)&&a.push(t);a.sort((function(e,a){return parseInt(e,10)>parseInt(a,10)}));for(var s=0;s<a.length;s++)(t=a[s])>=window.innerWidth&&!e&&(e=t);return e||"max"},c.setBreakpoint=function(){var e=c.getActiveBreakpoint();if(e&&c.currentBreakpoint!==e){var a=e in c.params.breakpoints?c.params.breakpoints[e]:c.originalParams,t=c.params.loop&&a.slidesPerView!==c.params.slidesPerView;for(var s in a)c.params[s]=a[s];c.currentBreakpoint=e,t&&c.destroyLoop&&c.reLoop(!0)}},c.params.breakpoints&&c.setBreakpoint(),c.container=e(t),0!==c.container.length)){if(c.container.length>1){var m=[];return c.container.each((function(){var e=this;m.push(new a(this,s))})),m}c.container[0].swiper=c,c.container.data("swiper",c),c.classNames.push(c.params.containerModifierClass+c.params.direction),c.params.freeMode&&c.classNames.push(c.params.containerModifierClass+"free-mode"),c.support.flexbox||(c.classNames.push(c.params.containerModifierClass+"no-flexbox"),c.params.slidesPerColumn=1),c.params.autoHeight&&c.classNames.push(c.params.containerModifierClass+"autoheight"),(c.params.parallax||c.params.watchSlidesVisibility)&&(c.params.watchSlidesProgress=!0),c.params.touchReleaseOnEdges&&(c.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(c.params.effect)>=0&&(c.support.transforms3d?(c.params.watchSlidesProgress=!0,c.classNames.push(c.params.containerModifierClass+"3d")):c.params.effect="slide"),"slide"!==c.params.effect&&c.classNames.push(c.params.containerModifierClass+c.params.effect),"cube"===c.params.effect&&(c.params.resistanceRatio=0,c.params.slidesPerView=1,c.params.slidesPerColumn=1,c.params.slidesPerGroup=1,c.params.centeredSlides=!1,c.params.spaceBetween=0,c.params.virtualTranslate=!0,c.params.setWrapperSize=!1),"fade"!==c.params.effect&&"flip"!==c.params.effect||(c.params.slidesPerView=1,c.params.slidesPerColumn=1,c.params.slidesPerGroup=1,c.params.watchSlidesProgress=!0,c.params.spaceBetween=0,c.params.setWrapperSize=!1,"undefined"==typeof n&&(c.params.virtualTranslate=!0)),c.params.grabCursor&&c.support.touch&&(c.params.grabCursor=!1),c.wrapper=c.container.children("."+c.params.wrapperClass),c.params.pagination&&(c.paginationContainer=e(c.params.pagination),c.params.uniqueNavElements&&"string"==typeof c.params.pagination&&c.paginationContainer.length>1&&1===c.container.find(c.params.pagination).length&&(c.paginationContainer=c.container.find(c.params.pagination)),"bullets"===c.params.paginationType&&c.params.paginationClickable?c.paginationContainer.addClass(c.params.paginationModifierClass+"clickable"):c.params.paginationClickable=!1,c.paginationContainer.addClass(c.params.paginationModifierClass+c.params.paginationType)),(c.params.nextButton||c.params.prevButton)&&(c.params.nextButton&&(c.nextButton=e(c.params.nextButton),c.params.uniqueNavElements&&"string"==typeof c.params.nextButton&&c.nextButton.length>1&&1===c.container.find(c.params.nextButton).length&&(c.nextButton=c.container.find(c.params.nextButton))),c.params.prevButton&&(c.prevButton=e(c.params.prevButton),c.params.uniqueNavElements&&"string"==typeof c.params.prevButton&&c.prevButton.length>1&&1===c.container.find(c.params.prevButton).length&&(c.prevButton=c.container.find(c.params.prevButton)))),c.isHorizontal=function(){return"horizontal"===c.params.direction},c.rtl=c.isHorizontal()&&("rtl"===c.container[0].dir.toLowerCase()||"rtl"===c.container.css("direction")),c.rtl&&c.classNames.push(c.params.containerModifierClass+"rtl"),c.rtl&&(c.wrongRTL="-webkit-box"===c.wrapper.css("display")),c.params.slidesPerColumn>1&&c.classNames.push(c.params.containerModifierClass+"multirow"),c.device.android&&c.classNames.push(c.params.containerModifierClass+"android"),c.container.addClass(c.classNames.join(" ")),c.translate=0,c.progress=0,c.velocity=0,c.lockSwipeToNext=function(){c.params.allowSwipeToNext=!1,!1===c.params.allowSwipeToPrev&&c.params.grabCursor&&c.unsetGrabCursor(
138)},c.lockSwipeToPrev=function(){c.params.allowSwipeToPrev=!1,!1===c.params.allowSwipeToNext&&c.params.grabCursor&&c.unsetGrabCursor()},c.lockSwipes=function(){c.params.allowSwipeToNext=c.params.allowSwipeToPrev=!1,c.params.grabCursor&&c.unsetGrabCursor()},c.unlockSwipeToNext=function(){c.params.allowSwipeToNext=!0,!0===c.params.allowSwipeToPrev&&c.params.grabCursor&&c.setGrabCursor()},c.unlockSwipeToPrev=function(){c.params.allowSwipeToPrev=!0,!0===c.params.allowSwipeToNext&&c.params.grabCursor&&c.setGrabCursor()},c.unlockSwipes=function(){c.params.allowSwipeToNext=c.params.allowSwipeToPrev=!0,c.params.grabCursor&&c.setGrabCursor()},c.setGrabCursor=function(e){c.container[0].style.cursor="move",c.container[0].style.cursor=e?"-webkit-grabbing":"-webkit-grab",c.container[0].style.cursor=e?"-moz-grabbin":"-moz-grab",c.container[0].style.cursor=e?"grabbing":"grab"},c.unsetGrabCursor=function(){c.container[0].style.cursor=""},c.params.grabCursor&&c.setGrabCursor(),c.imagesToLoad=[],c.imagesLoaded=0,c.loadImage=function(e,a,t,s,i,r){var n;function o(){r&&r()}e.complete&&i?o():a?((n=new window.Image).onload=o,n.onerror=o,s&&(n.sizes=s),t&&(n.srcset=t),a&&(n.src=a)):o()},c.preloadImages=function(){function e(){"undefined"!=typeof c&&null!==c&&c&&(void 0!==c.imagesLoaded&&c.imagesLoaded++,c.imagesLoaded===c.imagesToLoad.length&&(c.params.updateOnImagesReady&&c.update(),c.emit("onImagesReady",c)))}c.imagesToLoad=c.container.find("img");for(var a=0;a<c.imagesToLoad.length;a++)c.loadImage(c.imagesToLoad[a],c.imagesToLoad[a].currentSrc||c.imagesToLoad[a].getAttribute("src"),c.imagesToLoad[a].srcset||c.imagesToLoad[a].getAttribute("srcset"),c.imagesToLoad[a].sizes||c.imagesToLoad[a].getAttribute("sizes"),!0,e)},c.autoplayTimeoutId=void 0,c.autoplaying=!1,c.autoplayPaused=!1,c.startAutoplay=function(){return"undefined"==typeof c.autoplayTimeoutId&&(!!c.params.autoplay&&(!c.autoplaying&&(c.autoplaying=!0,c.emit("onAutoplayStart",c),void D())))},c.stopAutoplay=function(e){c.autoplayTimeoutId&&(c.autoplayTimeoutId&&clearTimeout(c.autoplayTimeoutId),c.autoplaying=!1,c.autoplayTimeoutId=void 0,c.emit("onAutoplayStop",c))},c.pauseAutoplay=function(e){c.autoplayPaused||(c.autoplayTimeoutId&&clearTimeout(c.autoplayTimeoutId),c.autoplayPaused=!0,0===e?(c.autoplayPaused=!1,D()):c.wrapper.transitionEnd((function(){c&&(c.autoplayPaused=!1,c.autoplaying?D():c.stopAutoplay())})))},c.minTranslate=function(){return-c.snapGrid[0]},c.maxTranslate=function(){return-c.snapGrid[c.snapGrid.length-1]},c.updateAutoHeight=function(){var e=[],a=0,t;if("auto"!==c.params.slidesPerView&&c.params.slidesPerView>1)for(t=0;t<Math.ceil(c.params.slidesPerView);t++){var s=c.activeIndex+t;if(s>c.slides.length)break;e.push(c.slides.eq(s)[0])}else e.push(c.slides.eq(c.activeIndex)[0]);for(t=0;t<e.length;t++)if("undefined"!=typeof e[t]){var i=e[t].offsetHeight;a=i>a?i:a}a&&c.wrapper.css("height",a+"px")},c.updateContainerSize=function(){var e,a;e="undefined"!=typeof c.params.width?c.params.width:c.container[0].clientWidth,a="undefined"!=typeof c.params.height?c.params.height:c.container[0].clientHeight,0===e&&c.isHorizontal()||0===a&&!c.isHorizontal()||(e=e-parseInt(c.container.css("padding-left"),10)-parseInt(c.container.css("padding-right"),10),a=a-parseInt(c.container.css("padding-top"),10)-parseInt(c.container.css("padding-bottom"),10),c.width=e,c.height=a,c.size=c.isHorizontal()?c.width:c.height)},c.updateSlidesSize=function(){c.slides=c.wrapper.children("."+c.params.slideClass),c.snapGrid=[],c.slidesGrid=[],c.slidesSizesGrid=[];var e=c.params.spaceBetween,a=-c.params.slidesOffsetBefore,t,s=0,i=0;if("undefined"!=typeof c.size){var r,n;"string"==typeof e&&e.indexOf("%")>=0&&(e=parseFloat(e.replace("%",""))/100*c.size),c.virtualSize=-e,c.rtl?c.slides.css({marginLeft:"",marginTop:""}):c.slides.css({marginRight:"",marginBottom:""}),c.params.slidesPerColumn>1&&(r=Math.floor(c.slides.length/c.params.slidesPerColumn)===c.slides.length/c.params.slidesPerColumn?c.slides.length:Math.ceil(c.slides.length/c.params.slidesPerColumn)*c.params.slidesPerColumn,"auto"!==c.params.slidesPerView&&"row"===c.params.slidesPerColumnFill&&(r=Math.max(r,c.params.slidesPerView*c.params.slidesPerColumn)));var o=c.params.slidesPerColumn,l=r/o,p=l-(c.params.slidesPerColumn*l-c.slides.length),d;for(t=0;t<c.slides.length;t++){n=0;var u=c.slides.eq(t),m,h,g;if(c.params.slidesPerColumn>1)"column"===c.params.slidesPerColumnFill?(g=t-(h=Math.floor(t/o))*o,(h>p||h===p&&g===o-1)&&++g>=o&&(g=0,h++),m=h+g*r/o,u.css({"-webkit-box-ordinal-group":m,"-moz-box-ordinal-group":m,"-ms-flex-order":m,"-webkit-order":m,order:m})):h=t-(g=Math.floor(t/l))*l,u.css("margin-"+(c.isHorizontal()?"top":"left"),0!==g&&c.params.spaceBetween&&c.params.spaceBetween+"px").attr("data-swiper-column",h).attr("data-swiper-row",g);"none"!==u.css("display")&&("auto"===c.params.slidesPerView?(n=c.isHorizontal()?u.outerWidth(!0):u.outerHeight(!0),c.params.roundLengths&&(n=L(n))):(n=(c.size-(c.params.slidesPerView-1)*e)/c.params.slidesPerView,c.params.roundLengths&&(n=L(n)),c.isHorizontal()?c.slides[t].style.width=n+"px":c.slides[t].style.height=n+"px"),c.slides[t].swiperSlideSize=n,c.slidesSizesGrid.push(n),c.params.centeredSlides?(a=a+n/2+s/2+e,0===t&&(a=a-c.size/2-e),Math.abs(a)<.001&&(a=0),i%c.params.slidesPerGroup==0&&c.snapGrid.push(a),c.slidesGrid.push(a)):(i%c.params.slidesPerGroup==0&&c.snapGrid.push(a),c.slidesGrid.push(a),a=a+n+e),c.virtualSize+=n+e,s=n,i++)}if(c.virtualSize=Math.max(c.virtualSize,c.size)+c.params.slidesOffsetAfter,c.rtl&&c.wrongRTL&&("slide"===c.params.effect||"coverflow"===c.params.effect)&&c.wrapper.css({width:c.virtualSize+c.params.spaceBetween+"px"}),c.support.flexbox&&!c.params.setWrapperSize||(c.isHorizontal()?c.wrapper.css({width:c.virtualSize+c.params.spaceBetween+"px"}):c.wrapper.css({height:c.virtualSize+c.params.spaceBetween+"px"})),c.params.slidesPerColumn>1&&(c.virtualSize=(n+c.params.spaceBetween)*r,c.virtualSize=Math.ceil(c.virtualSize/c.params.slidesPerColumn)-c.params.spaceBetween,c.isHorizontal()?c.wrapper.css({width:c.virtualSize+c.params.spaceBetween+"px"}):c.wrapper.css({height:c.virtualSize+c.params.spaceBetween+"px"}),c.params.centeredSlides)){for(d=[],t=0;t<c.snapGrid.length;t++)c.snapGrid[t]<c.virtualSize+c.snapGrid[0]&&d.push(c.snapGrid[t]);c.snapGrid=d}if(!c.params.centeredSlides){for(d=[],t=0;t<c.snapGrid.length;t++)c.snapGrid[t]<=c.virtualSize-c.size&&d.push(c.snapGrid[t]);c.snapGrid=d,Math.floor(c.virtualSize-c.size)-Math.floor(c.snapGrid[c.snapGrid.length-1])>1&&c.snapGrid.push(c.virtualSize-c.size)}0===c.snapGrid.length&&(c.snapGrid=[0]),0!==c.params.spaceBetween&&(c.isHorizontal()?c.rtl?c.slides.css({marginLeft:e+"px"}):c.slides.css({marginRight:e+"px"}):c.slides.css({marginBottom:e+"px"}
138)),c.params.watchSlidesProgress&&c.updateSlidesOffset()}},c.updateSlidesOffset=function(){for(var e=0;e<c.slides.length;e++)c.slides[e].swiperSlideOffset=c.isHorizontal()?c.slides[e].offsetLeft:c.slides[e].offsetTop},c.currentSlidesPerView=function(){var e=1,a,t;if(c.params.centeredSlides){var s=c.slides[c.activeIndex].swiperSlideSize,i;for(a=c.activeIndex+1;a<c.slides.length;a++)c.slides[a]&&!i&&(e++,(s+=c.slides[a].swiperSlideSize)>c.size&&(i=!0));for(t=c.activeIndex-1;t>=0;t--)c.slides[t]&&!i&&(e++,(s+=c.slides[t].swiperSlideSize)>c.size&&(i=!0))}else for(a=c.activeIndex+1;a<c.slides.length;a++)c.slidesGrid[a]-c.slidesGrid[c.activeIndex]<c.size&&e++;return e},c.updateSlidesProgress=function(e){if("undefined"==typeof e&&(e=c.translate||0),0!==c.slides.length){"undefined"==typeof c.slides[0].swiperSlideOffset&&c.updateSlidesOffset();var a=-e;c.rtl&&(a=e),c.slides.removeClass(c.params.slideVisibleClass);for(var t=0;t<c.slides.length;t++){var s=c.slides[t],i=(a+(c.params.centeredSlides?c.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+c.params.spaceBetween);if(c.params.watchSlidesVisibility){var r=-(a-s.swiperSlideOffset),n=r+c.slidesSizesGrid[t],o;(r>=0&&r<c.size||n>0&&n<=c.size||r<=0&&n>=c.size)&&c.slides.eq(t).addClass(c.params.slideVisibleClass)}s.progress=c.rtl?-i:i}}},c.updateProgress=function(e){"undefined"==typeof e&&(e=c.translate||0);var a=c.maxTranslate()-c.minTranslate(),t=c.isBeginning,s=c.isEnd;0===a?(c.progress=0,c.isBeginning=c.isEnd=!0):(c.progress=(e-c.minTranslate())/a,c.isBeginning=c.progress<=0,c.isEnd=c.progress>=1),c.isBeginning&&!t&&c.emit("onReachBeginning",c),c.isEnd&&!s&&c.emit("onReachEnd",c),c.params.watchSlidesProgress&&c.updateSlidesProgress(e),c.emit("onProgress",c,c.progress)},c.updateActiveIndex=function(){var e=c.rtl?c.translate:-c.translate,a,t,s;for(t=0;t<c.slidesGrid.length;t++)"undefined"!=typeof c.slidesGrid[t+1]?e>=c.slidesGrid[t]&&e<c.slidesGrid[t+1]-(c.slidesGrid[t+1]-c.slidesGrid[t])/2?a=t:e>=c.slidesGrid[t]&&e<c.slidesGrid[t+1]&&(a=t+1):e>=c.slidesGrid[t]&&(a=t);c.params.normalizeSlideIndex&&(a<0||"undefined"==typeof a)&&(a=0),(s=Math.floor(a/c.params.slidesPerGroup))>=c.snapGrid.length&&(s=c.snapGrid.length-1),a!==c.activeIndex&&(c.snapIndex=s,c.previousIndex=c.activeIndex,c.activeIndex=a,c.updateClasses(),c.updateRealIndex())},c.updateRealIndex=function(){c.realIndex=parseInt(c.slides.eq(c.activeIndex).attr("data-swiper-slide-index")||c.activeIndex,10)},c.updateClasses=function(){c.slides.removeClass(c.params.slideActiveClass+" "+c.params.slideNextClass+" "+c.params.slidePrevClass+" "+c.params.slideDuplicateActiveClass+" "+c.params.slideDuplicateNextClass+" "+c.params.slideDuplicatePrevClass);var a=c.slides.eq(c.activeIndex);a.addClass(c.params.slideActiveClass),s.loop&&(a.hasClass(c.params.slideDuplicateClass)?c.wrapper.children("."+c.params.slideClass+":not(."+c.params.slideDuplicateClass+')[data-swiper-slide-index="'+c.realIndex+'"]').addClass(c.params.slideDuplicateActiveClass):c.wrapper.children("."+c.params.slideClass+"."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+c.realIndex+'"]').addClass(c.params.slideDuplicateActiveClass));var t=a.next("."+c.params.slideClass).addClass(c.params.slideNextClass);c.params.loop&&0===t.length&&(t=c.slides.eq(0)).addClass(c.params.slideNextClass);var i=a.prev("."+c.params.slideClass).addClass(c.params.slidePrevClass);if(c.params.loop&&0===i.length&&(i=c.slides.eq(-1)).addClass(c.params.slidePrevClass),s.loop&&(t.hasClass(c.params.slideDuplicateClass)?c.wrapper.children("."+c.params.slideClass+":not(."+c.params.slideDuplicateClass+')[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(c.params.slideDuplicateNextClass):c.wrapper.children("."+c.params.slideClass+"."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+t.attr("data-swiper-slide-index")+'"]').addClass(c.params.slideDuplicateNextClass),i.hasClass(c.params.slideDuplicateClass)?c.wrapper.children("."+c.params.slideClass+":not(."+c.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(c.params.slideDuplicatePrevClass):c.wrapper.children("."+c.params.slideClass+"."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(c.params.slideDuplicatePrevClass)),c.paginationContainer&&c.paginationContainer.length>
1380){var r,n=c.params.loop?Math.ceil((c.slides.length-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?((r=Math.ceil((c.activeIndex-c.loopedSlides)/c.params.slidesPerGroup))>c.slides.length-1-2*c.loopedSlides&&(r-=c.slides.length-2*c.loopedSlides),r>n-1&&(r-=n),r<0&&"bullets"!==c.params.paginationType&&(r=n+r)):r="undefined"!=typeof c.snapIndex?c.snapIndex:c.activeIndex||0,"bullets"===c.params.paginationType&&c.bullets&&c.bullets.length>0&&(c.bullets.removeClass(c.params.bulletActiveClass),c.paginationContainer.length>1?c.bullets.each((function(){e(this).index()===r&&e(this).addClass(c.params.bulletActiveClass)})):c.bullets.eq(r).addClass(c.params.bulletActiveClass)),"fraction"===c.params.paginationType&&(c.paginationContainer.find("."+c.params.paginationCurrentClass).text(r+1),c.paginationContainer.find("."+c.params.paginationTotalClass).text(n)),"progress"===c.params.paginationType){var o=(r+1)/n,l=o,p=1;c.isHorizontal()||(p=o,l=1),c.paginationContainer.find("."+c.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+l+") scaleY("+p+")").transition(c.params.speed)}"custom"===c.params.paginationType&&c.params.paginationCustomRender&&(c.paginationContainer.html(c.params.paginationCustomRender(c,r+1,n)),c.emit("onPaginationRendered",c,c.paginationContainer[0]))}c.params.loop||(c.params.prevButton&&c.prevButton&&c.prevButton.length>0&&(c.isBeginning?(c.prevButton.addClass(c.params.buttonDisabledClass),c.params.a11y&&c.a11y&&c.a11y.disable(c.prevButton)):(c.prevButton.removeClass(c.params.buttonDisabledClass),c.params.a11y&&c.a11y&&c.a11y.enable(c.prevButton))),c.params.nextButton&&c.nextButton&&c.nextButton.length>0&&(c.isEnd?(c.nextButton.addClass(c.params.buttonDisabledClass),c.params.a11y&&c.a11y&&c.a11y.disable(c.nextButton)):(c.nextButton.removeClass(c.params.buttonDisabledClass),c.params.a11y&&c.a11y&&c.a11y.enable(c.nextButton))))},c.updatePagination=function(){if(c.params.pagination&&c.paginationContainer&&c.paginationContainer.length>0){var e="";if("bullets"===c.params.paginationType){for(var a=c.params.loop?Math.ceil((c.slides.length-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length,t=0;t<a;t++)c.params.paginationBulletRender?e+=c.params.paginationBulletRender(c,t,c.params.bulletClass):e+="<"+c.params.paginationElement+' class="'+c.params.bulletClass+'"></'+c.params.paginationElement+">";c.paginationContainer.html(e),c.bullets=c.paginationContainer.find("."+c.params.bulletClass),c.params.paginationClickable&&c.params.a11y&&c.a11y&&c.a11y.initPagination()}"fraction"===c.params.paginationType&&(e=c.params.paginationFractionRender?c.params.paginationFractionRender(c,c.params.paginationCurrentClass,c.params.paginationTotalClass):'<span class="'+c.params.paginationCurrentClass+'"></span> / <span class="'+c.params.paginationTotalClass+'"></span>',c.paginationContainer.html(e)),"progress"===c.params.paginationType&&(e=c.params.paginationProgressRender?c.params.paginationProgressRender(c,c.params.paginationProgressbarClass):'<span class="'+c.params.paginationProgressbarClass+'"></span>',c.paginationContainer.html(e)),"custom"!==c.params.paginationType&&c.emit("onPaginationRendered",c,c.paginationContainer[0])}},c.update=function(e){var a,t;c&&(c.updateContainerSize(),c.updateSlidesSize(),c.updateProgress(),c.updatePagination(),c.updateClasses(),c.params.scrollbar&&c.scrollbar&&c.scrollbar.set(),e?(c.controller&&c.controller.spline&&(c.controller.spline=void 0),c.params.freeMode?(s(),c.params.autoHeight&&c.updateAutoHeight()):(a=("auto"===c.params.slidesPerView||c.params.slidesPerView>1)&&c.isEnd&&!c.params.centeredSlides?c.slideTo(c.slides.length-1,0,!1,!0):c.slideTo(c.activeIndex,0,!1,!0))||s()):c.params.autoHeight&&c.updateAutoHeight());function s(){var e=c.rtl?-c.translate:c.translate;t=Math.min(Math.max(c.translate,c.maxTranslate()),c.minTranslate()),c.setWrapperTranslate(t),c.updateActiveIndex(),c.updateClasses()}},c.onResize=function(e){c.params.breakpoints&&c.setBreakpoint();var a=c.params.allowSwipeToPrev,t=c.params.allowSwipeToNext;c.params.allowSwipeToPrev=c.params.allowSwipeToNext=!0,c.updateContainerSize(),c.updateSlidesSize(),("auto"===c.params.slidesPerView||c.params.freeMode||e)&&c.updatePagination(),c.params.scrollbar&&c.scrollbar&&c.scrollbar.set(),c.controller&&c.controller.spline&&(c.controller.spline=void 0);var s=!1;if(c.params.freeMode){var i=Math.min(Math.max(c.translate,c.maxTranslate()),c.minTranslate());c.setWrapperTranslate(i),c.updateActiveIndex(),c.updateClasses(),c.params.autoHeight&&c.updateAutoHeight()}else c.updateClasses(),s=("auto"===c.params.slidesPerView||c.params.slidesPerView>1)&&c.isEnd&&!c.params.centeredSlides?c.slideTo(c.slides.length-1,0,!1,!0):c.slideTo(c.activeIndex,0,!1,!0);c.params.lazyLoading&&!s&&c.lazy&&c.lazy.load(),c.params.allowSwipeToPrev=a,c.params.allowSwipeToNext=t}
138,c.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?c.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(c.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),c.touchEvents={start:c.support.touch||!c.params.simulateTouch?"touchstart":c.touchEventsDesktop.start,move:c.support.touch||!c.params.simulateTouch?"touchmove":c.touchEventsDesktop.move,end:c.support.touch||!c.params.simulateTouch?"touchend":c.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===c.params.touchEventsTarget?c.container:c.wrapper).addClass("swiper-wp8-"+c.params.direction),c.initEvents=function(e){var a=e?"off":"on",t=e?"removeEventListener":"addEventListener",i="container"===c.params.touchEventsTarget?c.container[0]:c.wrapper[0],r=c.support.touch?i:document,n=!!c.params.nested;if(c.browser.ie)i[t](c.touchEvents.start,c.onTouchStart,!1),r[t](c.touchEvents.move,c.onTouchMove,n),r[t](c.touchEvents.end,c.onTouchEnd,!1);else{if(c.support.touch){var o=!("touchstart"!==c.touchEvents.start||!c.support.passiveListener||!c.params.passiveListeners)&&{passive:!0,capture:!1};i[t](c.touchEvents.start,c.onTouchStart,o),i[t](c.touchEvents.move,c.onTouchMove,n),i[t](c.touchEvents.end,c.onTouchEnd,o)}(s.simulateTouch&&!c.device.ios&&!c.device.android||s.simulateTouch&&!c.support.touch&&c.device.ios)&&(i[t]("mousedown",c.onTouchStart,!1),document[t]("mousemove",c.onTouchMove,n),document[t]("mouseup",c.onTouchEnd,!1))}window[t]("resize",c.onResize),c.params.nextButton&&c.nextButton&&c.nextButton.length>0&&(c.nextButton[a]("click",c.onClickNext),c.params.a11y&&c.a11y&&c.nextButton[a]("keydown",c.a11y.onEnterKey)),c.params.prevButton&&c.prevButton&&c.prevButton.length>0&&(c.prevButton[a]("click",c.onClickPrev),c.params.a11y&&c.a11y&&c.prevButton[a]("keydown",c.a11y.onEnterKey)),c.params.pagination&&c.params.paginationClickable&&(c.paginationContainer[a]("click","."+c.params.bulletClass,c.onClickIndex),c.params.a11y&&c.a11y&&c.paginationContainer[a]("keydown","."+c.params.bulletClass,c.a11y.onEnterKey)),(c.params.preventClicks||c.params.preventClicksPropagation)&&i[t]("click",c.preventClicks,!0)},c.attachEvents=function(){c.initEvents()},c.detachEvents=function(){c.initEvents(!0)},c.allowClick=!0,c.preventClicks=function(e){c.allowClick||(c.params.preventClicks&&e.preventDefault(),c.params.preventClicksPropagation&&c.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},c.onClickNext=function(e){e.preventDefault(),c.isEnd&&!c.params.loop||c.slideNext()},c.onClickPrev=function(e){e.preventDefault(),c.isBeginning&&!c.params.loop||c.slidePrev()},c.onClickIndex=function(a){a.preventDefault();var t=e(this).index()*c.params.slidesPerGroup;c.params.loop&&(t+=c.loopedSlides),c.slideTo(t)},c.updateClickedSlide=function(a){var t=B(a,"."+c.params.slideClass),s=!1;if(t)for(var i=0;i<c.slides.length;i++)c.slides[i]===t&&(s=!0);if(!t||!s)return c.clickedSlide=void 0,void(c.clickedIndex=void 0);if(c.clickedSlide=t,c.clickedIndex=e(t).index(),c.params.slideToClickedSlide&&void 0!==c.clickedIndex&&c.clickedIndex!==c.activeIndex){var r=c.clickedIndex,n,o,l="auto"===c.params.slidesPerView?c.currentSlidesPerView():c.params.slidesPerView;if(c.params.loop){if(c.animating)return;n=parseInt(e(c.clickedSlide).attr("data-swiper-slide-index"),10),c.params.centeredSlides?r<c.loopedSlides-l/2||r>c.slides.length-c.loopedSlides+l/2?(c.fixLoop(),r=c.wrapper.children("."+c.params.slideClass+'[data-swiper-slide-index="'+n+'"]:not(.'+c.params.slideDuplicateClass+")").eq(0).index(),setTimeout((function(){c.slideTo(r)}),0)):c.slideTo(r):r>c.slides.length-l?(c.fixLoop(),r=c.wrapper.children("."+c.params.slideClass+'[data-swiper-slide-index="'+n+'"]:not(.'+c.params.slideDuplicateClass+")").eq(0).index(),setTimeout((function(){c.slideTo(r)}),0)):c.slideTo(r)}else c.slideTo(r)}};var h,g,f,v,w,y,x,T,b="input, select, textarea, button, video",S=Date.now(),C,z=[],M,E,P;for(var I in c.animating=!1,c.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0}
138,c.onTouchStart=function(a){if(a.originalEvent&&(a=a.originalEvent),(E="touchstart"===a.type)||!("which"in a)||3!==a.which)if(c.params.noSwiping&&B(a,"."+c.params.noSwipingClass))c.allowClick=!0;else if(!c.params.swipeHandler||B(a,c.params.swipeHandler)){var t=c.touches.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,s=c.touches.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;if(!(c.device.ios&&c.params.iOSEdgeSwipeDetection&&t<=c.params.iOSEdgeSwipeThreshold)){if(h=!0,g=!1,f=!0,w=void 0,P=void 0,c.touches.startX=t,c.touches.startY=s,v=Date.now(),c.allowClick=!0,c.updateContainerSize(),c.swipeDirection=void 0,c.params.threshold>0&&(T=!1),"touchstart"!==a.type){var i=!0;e(a.target).is(b)&&(i=!1),document.activeElement&&e(document.activeElement).is(b)&&document.activeElement.blur(),i&&a.preventDefault()}c.emit("onTouchStart",c,a)}}},c.onTouchMove=function(a){if(a.originalEvent&&(a=a.originalEvent),!E||"mousemove"!==a.type){if(a.preventedByNestedSwiper)return c.touches.startX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,void(c.touches.startY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY);if(c.params.onlyExternal)return c.allowClick=!1,void(h&&(c.touches.startX=c.touches.currentX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,c.touches.startY=c.touches.currentY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY,v=Date.now()));if(E&&c.params.touchReleaseOnEdges&&!c.params.loop)if(c.isHorizontal()){if(c.touches.currentX<c.touches.startX&&c.translate<=c.maxTranslate()||c.touches.currentX>c.touches.startX&&c.translate>=c.minTranslate())return}else if(c.touches.currentY<c.touches.startY&&c.translate<=c.maxTranslate()||c.touches.currentY>c.touches.startY&&c.translate>=c.minTranslate())return;if(E&&document.activeElement&&a.target===document.activeElement&&e(a.target).is(b))return g=!0,void(c.allowClick=!1);if(f&&c.emit("onTouchMove",c,a),!(a.targetTouches&&a.targetTouches.length>1)){var t;if(c.touches.currentX="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,c.touches.currentY="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY,"undefined"==typeof w)c.isHorizontal()&&c.touches.currentY===c.touches.startY||!c.isHorizontal()&&c.touches.currentX===c.touches.startX?w=!1:(t=180*Math.atan2(Math.abs(c.touches.currentY-c.touches.startY),Math.abs(c.touches.currentX-c.touches.startX))/Math.PI,w=c.isHorizontal()?t>c.params.touchAngle:90-t>c.params.touchAngle);if(w&&c.emit("onTouchMoveOpposite",c,a),"undefined"==typeof P&&c.browser.ieTouch&&(c.touches.currentX===c.touches.startX&&c.touches.currentY===c.touches.startY||(P=!0)),h)if(w)h=!1;else if(P||!c.browser.ieTouch){c.allowClick=!1,c.emit("onSliderMove",c,a),a.preventDefault(),c.params.touchMoveStopPropagation&&!c.params.nested&&a.stopPropagation(),g||(s.loop&&c.fixLoop(),x=c.getWrapperTranslate(),c.setWrapperTransition(0),c.animating&&c.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),c.params.autoplay&&c.autoplaying&&(c.params.autoplayDisableOnInteraction?c.stopAutoplay():c.pauseAutoplay()),M=!1,!c.params.grabCursor||!0!==c.params.allowSwipeToNext&&!0!==c.params.allowSwipeToPrev||c.setGrabCursor(!0)),g=!0;var i=c.touches.diff=c.isHorizontal()?c.touches.currentX-c.touches.startX:c.touches.currentY-c.touches.startY;i*=c.params.touchRatio,c.rtl&&(i=-i),c.swipeDirection=i>0?"prev":"next",y=i+x;var r=!0;if(i>0&&y>c.minTranslate()?(r=!1,c.params.resistance&&(y=c.minTranslate()-1+Math.pow(-c.minTranslate()+x+i,c.params.resistanceRatio))):i<0&&y<c.maxTranslate()&&(r=!1,c.params.resistance&&(y=c.maxTranslate()+1-Math.pow(c.maxTranslate()-x-i,c.params.resistanceRatio))),r&&(a.preventedByNestedSwiper=!0),!c.params.allowSwipeToNext&&"next"===c.swipeDirection&&y<x&&(y=x),!c.params.allowSwipeToPrev&&"prev"===c.swipeDirection&&y>x&&(y=x),c.params.threshold>0){if(!(Math.abs(i)>c.params.threshold||T))return void(y=x);if(!T)return T=!0,c.touches.startX=c.touches.currentX,c.touches.startY=c.touches.currentY,y=x,void(c.touches.diff=c.isHorizontal()?c.touches.currentX-c.touches.startX:c.touches.currentY-c.touches.startY)}c.params.followFinger&&((c.params.freeMode||c.params.watchSlidesProgress)&&c.updateActiveIndex(),c.params.freeMode&&(0===z.length&&z.push({position:c.touches[c.isHorizontal()?"startX":"startY"],time:v}),z.push({position:c.touches[c.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),c.updateProgress(y),c.setWrapperTranslate(y))}}}}
138,c.onTouchEnd=function(a){if(a.originalEvent&&(a=a.originalEvent),f&&c.emit("onTouchEnd",c,a),f=!1,h){c.params.grabCursor&&g&&h&&(!0===c.params.allowSwipeToNext||!0===c.params.allowSwipeToPrev)&&c.setGrabCursor(!1);var t=Date.now(),s=t-v,i;if(c.allowClick&&(c.updateClickedSlide(a),c.emit("onTap",c,a),s<300&&t-S>300&&(C&&clearTimeout(C),C=setTimeout((function(){c&&(c.params.paginationHide&&c.paginationContainer.length>0&&!e(a.target).hasClass(c.params.bulletClass)&&c.paginationContainer.toggleClass(c.params.paginationHiddenClass),c.emit("onClick",c,a))}),300)),s<300&&t-S<300&&(C&&clearTimeout(C),c.emit("onDoubleTap",c,a))),S=Date.now(),setTimeout((function(){c&&(c.allowClick=!0)}),0),h&&g&&c.swipeDirection&&0!==c.touches.diff&&y!==x)if(h=g=!1,i=c.params.followFinger?c.rtl?c.translate:-c.translate:-y,c.params.freeMode){if(i<-c.minTranslate())return void c.slideTo(c.activeIndex);if(i>-c.maxTranslate())return void(c.slides.length<c.snapGrid.length?c.slideTo(c.snapGrid.length-1):c.slideTo(c.slides.length-1));if(c.params.freeModeMomentum){if(z.length>1){var r=z.pop(),n=z.pop(),o=r.position-n.position,l=r.time-n.time;c.velocity=o/l,c.velocity=c.velocity/2,Math.abs(c.velocity)<c.params.freeModeMinimumVelocity&&(c.velocity=0),(l>150||(new window.Date).getTime()-r.time>300)&&(c.velocity=0)}else c.velocity=0;c.velocity=c.velocity*c.params.freeModeMomentumVelocityRatio,z.length=0;var p=1e3*c.params.freeModeMomentumRatio,d=c.velocity*p,u=c.translate+d;c.rtl&&(u=-u);var m=!1,w,T=20*Math.abs(c.velocity)*c.params.freeModeMomentumBounceRatio;if(u<c.maxTranslate())c.params.freeModeMomentumBounce?(u+c.maxTranslate()<-T&&(u=c.maxTranslate()-T),w=c.maxTranslate(),m=!0,M=!0):u=c.maxTranslate();else if(u>c.minTranslate())c.params.freeModeMomentumBounce?(u-c.minTranslate()>T&&(u=c.minTranslate()+T),w=c.minTranslate(),m=!0,M=!0):u=c.minTranslate();else if(c.params.freeModeSticky){var b=0,E;for(b=0;b<c.snapGrid.length;b+=1)if(c.snapGrid[b]>-u){E=b;break}u=Math.abs(c.snapGrid[E]-u)<Math.abs(c.snapGrid[E-1]-u)||"next"===c.swipeDirection?c.snapGrid[E]:c.snapGrid[E-1],c.rtl||(u=-u)}if(0!==c.velocity)p=c.rtl?Math.abs((-u-c.translate)/c.velocity):Math.abs((u-c.translate)/c.velocity);else if(c.params.freeModeSticky)return void c.slideReset();c.params.freeModeMomentumBounce&&m?(c.updateProgress(w),c.setWrapperTransition(p),c.setWrapperTranslate(u),c.onTransitionStart(),c.animating=!0,c.wrapper.transitionEnd((function(){c&&M&&(c.emit("onMomentumBounce",c),c.setWrapperTransition(c.params.speed),c.setWrapperTranslate(w),c.wrapper.transitionEnd((function(){c&&c.onTransitionEnd()})))}))):c.velocity?(c.updateProgress(u),c.setWrapperTransition(p),c.setWrapperTranslate(u),c.onTransitionStart(),c.animating||(c.animating=!0,c.wrapper.transitionEnd((function(){c&&c.onTransitionEnd()})))):c.updateProgress(u),c.updateActiveIndex()}(!c.params.freeModeMomentum||s>=c.params.longSwipesMs)&&(c.updateProgress(),c.updateActiveIndex())}else{var P,I=0,k=c.slidesSizesGrid[0];for(P=0;P<c.slidesGrid.length;P+=c.params.slidesPerGroup)"undefined"!=typeof c.slidesGrid[P+c.params.slidesPerGroup]?i>=c.slidesGrid[P]&&i<c.slidesGrid[P+c.params.slidesPerGroup]&&(I=P,k=c.slidesGrid[P+c.params.slidesPerGroup]-c.slidesGrid[P]):i>=c.slidesGrid[P]&&(I=P,k=c.slidesGrid[c.slidesGrid.length-1]-c.slidesGrid[c.slidesGrid.length-2]);var L=(i-c.slidesGrid[I])/k;if(s>c.params.longSwipesMs){if(!c.params.longSwipes)return void c.slideTo(c.activeIndex);"next"===c.swipeDirection&&(L>=c.params.longSwipesRatio?c.slideTo(I+c.params.slidesPerGroup):c.slideTo(I)),"prev"===c.swipeDirection&&(L>1-c.params.longSwipesRatio?c.slideTo(I+c.params.slidesPerGroup):c.slideTo(I))}else{if(!c.params.shortSwipes)return void c.slideTo(c.activeIndex);"next"===c.swipeDirection&&c.slideTo(I+c.params.slidesPerGroup),"prev"===c.swipeDirection&&c.slideTo(I)}}else h=g=!1}},c._slideTo=function(e,a){return c.slideTo(e,a,!0,!0)},c.slideTo=function(e,a,t,s){"undefined"==typeof t&&(t=!0),"undefined"==typeof e&&(e=0),e<0&&(e=0),c.snapIndex=Math.floor(e/c.params.slidesPerGroup),c.snapIndex>=c.snapGrid.length&&(c.snapIndex=c.snapGrid.length-1);var i=-c.snapGrid[c.snapIndex];if(c.params.autoplay&&c.autoplaying&&(s||!c.params.autoplayDisableOnInteraction?c.pauseAutoplay(a):c.stopAutoplay()),c.updateProgress(i),c.params.normalizeSlideIndex)for(var r=0;r<c.slidesGrid.length;r++)-Math.floor(100*i)>=Math.floor(100*c.slidesGrid[r])&&(e=r);return!(!c.params.allowSwipeToNext&&i<c.translate&&i<c.minTranslate())&&(!(!c.params.allowSwipeToPrev&&i>c.translate&&i>c.maxTranslate()&&(c.activeIndex||0)!==e)&&("undefined"==typeof a&&(a=c.params.speed),c.previousIndex=c.activeIndex||0,c.activeIndex=e,c.updateRealIndex(),c.rtl&&-i===c.translate||!c.rtl&&i===c.translate?(c.params.autoHeight&&c.updateAutoHeight(),c.updateClasses(),"slide"!==c.params.effect&&c.setWrapperTranslate(i),!1):(c.updateClasses(),c.onTransitionStart(t),0===a||c.browser.lteIE9?(c.setWrapperTranslate(i),c.setWrapperTransition(0),c.onTransitionEnd(t)):(c.setWrapperTranslate(i),c.setWrapperTransition(a),c.animating||(c.animating=!0,c.wrapper.transitionEnd((function(){c&&c.onTransitionEnd(t)})))),!0)))},c.onTransitionStart=function(e){"undefined"==typeof e&&(e=!0),c.params.autoHeight&&c.updateAutoHeight(),c.lazy&&c.lazy.onTransitionStart(),e&&(c.emit
138("onTransitionStart",c),c.activeIndex!==c.previousIndex&&(c.emit("onSlideChangeStart",c),c.activeIndex>c.previousIndex?c.emit("onSlideNextStart",c):c.emit("onSlidePrevStart",c)))},c.onTransitionEnd=function(e){c.animating=!1,c.setWrapperTransition(0),"undefined"==typeof e&&(e=!0),c.lazy&&c.lazy.onTransitionEnd(),e&&(c.emit("onTransitionEnd",c),c.activeIndex!==c.previousIndex&&(c.emit("onSlideChangeEnd",c),c.activeIndex>c.previousIndex?c.emit("onSlideNextEnd",c):c.emit("onSlidePrevEnd",c))),c.params.history&&c.history&&c.history.setHistory(c.params.history,c.activeIndex),c.params.hashnav&&c.hashnav&&c.hashnav.setHash()},c.slideNext=function(e,a,t){if(c.params.loop){if(c.animating)return!1;c.fixLoop();var s=c.container[0].clientLeft;return c.slideTo(c.activeIndex+c.params.slidesPerGroup,a,e,t)}return c.slideTo(c.activeIndex+c.params.slidesPerGroup,a,e,t)},c._slideNext=function(e){return c.slideNext(!0,e,!0)},c.slidePrev=function(e,a,t){if(c.params.loop){if(c.animating)return!1;c.fixLoop();var s=c.container[0].clientLeft;return c.slideTo(c.activeIndex-1,a,e,t)}return c.slideTo(c.activeIndex-1,a,e,t)},c._slidePrev=function(e){return c.slidePrev(!0,e,!0)},c.slideReset=function(e,a,t){return c.slideTo(c.activeIndex,a,e)},c.disableTouchControl=function(){return c.params.onlyExternal=!0,!0},c.enableTouchControl=function(){return c.params.onlyExternal=!1,!0},c.setWrapperTransition=function(e,a){c.wrapper.transition(e),"slide"!==c.params.effect&&c.effects[c.params.effect]&&c.effects[c.params.effect].setTransition(e),c.params.parallax&&c.parallax&&c.parallax.setTransition(e),c.params.scrollbar&&c.scrollbar&&c.scrollbar.setTransition(e),c.params.control&&c.controller&&c.controller.setTransition(e,a),c.emit("onSetTransition",c,e)},c.setWrapperTranslate=function(e,a,t){var s=0,i=0,r=0,n;c.isHorizontal()?s=c.rtl?-e:e:i=e,c.params.roundLengths&&(s=L(s),i=L(i)),c.params.virtualTranslate||(c.support.transforms3d?c.wrapper.transform("translate3d("+s+"px, "+i+"px, 0px)"):c.wrapper.transform("translate("+s+"px, "+i+"px)")),c.translate=c.isHorizontal()?s:i;var o=c.maxTranslate()-c.minTranslate();(n=0===o?0:(e-c.minTranslate())/o)!==c.progress&&c.updateProgress(e),a&&c.updateActiveIndex(),"slide"!==c.params.effect&&c.effects[c.params.effect]&&c.effects[c.params.effect].setTranslate(c.translate),c.params.parallax&&c.parallax&&c.parallax.setTranslate(c.translate),c.params.scrollbar&&c.scrollbar&&c.scrollbar.setTranslate(c.translate),c.params.control&&c.controller&&c.controller.setTranslate(c.translate,t),c.emit("onSetTranslate",c,c.translate)},c.getTranslate=function(e,a){var t,s,i,r;return"undefined"==typeof a&&(a="x"),c.params.virtualTranslate?c.rtl?-c.translate:c.translate:(i=window.getComputedStyle(e,null),window.WebKitCSSMatrix?((s=i.transform||i.webkitTransform).split(",").length>6&&(s=s.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new window.WebKitCSSMatrix("none"===s?"":s)):t=(r=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===a&&(s=window.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===a&&(s=window.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),c.rtl&&s&&(s=-s),s||0)},c.getWrapperTranslate=function(e){return"undefined"==typeof e&&(e=c.isHorizontal()?"x":"y"),c.getTranslate(c.wrapper[0],e)},c.observers=[],c.initObservers=function(){if(c.params.observeParents)for(var e=c.container.parents(),a=0;a<e.length;a++)H(e[a]);H(c.container[0],{childList:!1}),H(c.wrapper[0],{attributes:!1})},c.disconnectObservers=function(){for(var e=0;e<c.observers.length;e++)c.observers[e].disconnect();c.observers=[]},c.createLoop=function(){c.wrapper.children("."+c.params.slideClass+"."+c.params.slideDuplicateClass).remove();var a=c.wrapper.children("."+c.params.slideClass);"auto"!==c.params.slidesPerView||c.params.loopedSlides||(c.params.loopedSlides=a.length),c.loopedSlides=parseInt(c.params.loopedSlides||c.params.slidesPerView,10),c.loopedSlides=c.loopedSlides+c.params.loopAdditionalSlides,c.loopedSlides>a.length&&(c.loopedSlides=a.length);var t=[],s=[],i;for(a.each((function(i,r){var n=e(this);i<c.loopedSlides&&s.push(r),i<a.length&&i>
138=a.length-c.loopedSlides&&t.push(r),n.attr("data-swiper-slide-index",i)})),i=0;i<s.length;i++)c.wrapper.append(e(s[i].cloneNode(!0)).addClass(c.params.slideDuplicateClass));for(i=t.length-1;i>=0;i--)c.wrapper.prepend(e(t[i].cloneNode(!0)).addClass(c.params.slideDuplicateClass))},c.destroyLoop=function(){c.wrapper.children("."+c.params.slideClass+"."+c.params.slideDuplicateClass).remove(),c.slides.removeAttr("data-swiper-slide-index")},c.reLoop=function(e){var a=c.activeIndex-c.loopedSlides;c.destroyLoop(),c.createLoop(),c.updateSlidesSize(),e&&c.slideTo(a+c.loopedSlides,0,!1)},c.fixLoop=function(){var e;c.activeIndex<c.loopedSlides?(e=c.slides.length-3*c.loopedSlides+c.activeIndex,e+=c.loopedSlides,c.slideTo(e,0,!1,!0)):("auto"===c.params.slidesPerView&&c.activeIndex>=2*c.loopedSlides||c.activeIndex>c.slides.length-2*c.params.slidesPerView)&&(e=-c.slides.length+c.activeIndex+c.loopedSlides,e+=c.loopedSlides,c.slideTo(e,0,!1,!0))},c.appendSlide=function(e){if(c.params.loop&&c.destroyLoop(),"object"==typeof e&&e.length)for(var a=0;a<e.length;a++)e[a]&&c.wrapper.append(e[a]);else c.wrapper.append(e);c.params.loop&&c.createLoop(),c.params.observer&&c.support.observer||c.update(!0)},c.prependSlide=function(e){c.params.loop&&c.destroyLoop();var a=c.activeIndex+1;if("object"==typeof e&&e.length){for(var t=0;t<e.length;t++)e[t]&&c.wrapper.prepend(e[t]);a=c.activeIndex+e.length}else c.wrapper.prepend(e);c.params.loop&&c.createLoop(),c.params.observer&&c.support.observer||c.update(!0),c.slideTo(a,0,!1)},c.removeSlide=function(e){c.params.loop&&(c.destroyLoop(),c.slides=c.wrapper.children("."+c.params.slideClass));var a=c.activeIndex,t;if("object"==typeof e&&e.length){for(var s=0;s<e.length;s++)t=e[s],c.slides[t]&&c.slides.eq(t).remove(),t<a&&a--;a=Math.max(a,0)}else t=e,c.slides[t]&&c.slides.eq(t).remove(),t<a&&a--,a=Math.max(a,0);c.params.loop&&c.createLoop(),c.params.observer&&c.support.observer||c.update(!0),c.params.loop?c.slideTo(a+c.loopedSlides,0,!1):c.slideTo(a,0,!1)},c.removeAllSlides=function(){for(var e=[],a=0;a<c.slides.length;a++)e.push(a);c.removeSlide(e)},c.effects={fade:{setTranslate:function(){for(var e=0;e<c.slides.length;e++){var a=c.slides.eq(e),t,s=-a[0].swiperSlideOffset;c.params.virtualTranslate||(s-=c.translate);var i=0;c.isHorizontal()||(i=s,s=0);var r=c.params.fade.crossFade?Math.max(1-Math.abs(a[0].progress),0):1+Math.min(Math.max(a[0].progress,-1),0);a.css({opacity:r}).transform("translate3d("+s+"px, "+i+"px, 0px)")}},setTransition:function(e){if(c.slides.transition(e),c.params.virtualTranslate&&0!==e){var a=!1;c.slides.transitionEnd((function(){if(!a&&c){a=!0,c.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t=0;t<e.length;t++)c.wrapper.trigger(e[t])}}))}}},flip:{setTranslate:function(){for(var a=0;a<c.slides.length;a++){var t=c.slides.eq(a),s=t[0].progress;c.params.flip.limitRotation&&(s=Math.max(Math.min(t[0].progress,1),-1));var i,r,n=-180*s,o=0,l=-t[0].swiperSlideOffset,p=0;if(c.isHorizontal()?c.rtl&&(n=-n):(p=l,l=0,o=-n,n=0),t[0].style.zIndex=-Math.abs(Math.round(s))+c.slides.length,c.params.flip.slideShadows){var d=c.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),u=c.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===d.length&&(d=e('<div class="swiper-slide-shadow-'+(c.isHorizontal()?"left":"top")+'"></div>'),t.append(d)),0===u.length&&(u=e('<div class="swiper-slide-shadow-'+(c.isHorizontal()?"right":"bottom")+'"></div>'),t.append(u)),d.length&&(d[0].style.opacity=Math.max(-s,0)),u.length&&(u[0].style.opacity=Math.max(s,0))}t.transform("translate3d("+l+"px, "+p+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(a){if(c.slides.transition(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(a),c.params.virtualTranslate&&0!==a){var t=!1;c.slides.eq(c.activeIndex).transitionEnd((function(){if(!t&&c&&e(this).hasClass(c.params.slideActiveClass)){t=!0,c.animating=!1;for(var a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=0;s<a.length;s++)c.wrapper.trigger(a[s])}}))}}},cube:{setTranslate:function(){var a=0,t;c.params.cube.shadow&&(c.isHorizontal()?(0===(t=c.wrapper.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),c.wrapper.append(t)),t.css({height:c.width+"px"})):0===(t=c.container.find(".swiper-cube-shadow")).length&&(t=e('<div class="swiper-cube-shadow"></div>'),c.container.append(t)));for(var s=0;s<c.slides.length;s++){var i=c.slides.eq(s),r=90*s,n=Math.floor(r/360);c.rtl&&(r=-r,n=Math.floor(-r/360));
138var o=Math.max(Math.min(i[0].progress,1),-1),l=0,p=0,d=0;s%4==0?(l=4*-n*c.size,d=0):(s-1)%4==0?(l=0,d=4*-n*c.size):(s-2)%4==0?(l=c.size+4*n*c.size,d=c.size):(s-3)%4==0&&(l=-c.size,d=3*c.size+4*c.size*n),c.rtl&&(l=-l),c.isHorizontal()||(p=l,l=0);var u="rotateX("+(c.isHorizontal()?0:-r)+"deg) rotateY("+(c.isHorizontal()?r:0)+"deg) translate3d("+l+"px, "+p+"px, "+d+"px)";if(o<=1&&o>-1&&(a=90*s+90*o,c.rtl&&(a=90*-s-90*o)),i.transform(u),c.params.cube.slideShadows){var m=c.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),h=c.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===m.length&&(m=e('<div class="swiper-slide-shadow-'+(c.isHorizontal()?"left":"top")+'"></div>'),i.append(m)),0===h.length&&(h=e('<div class="swiper-slide-shadow-'+(c.isHorizontal()?"right":"bottom")+'"></div>'),i.append(h)),m.length&&(m[0].style.opacity=Math.max(-o,0)),h.length&&(h[0].style.opacity=Math.max(o,0))}}if(c.wrapper.css({"-webkit-transform-origin":"50% 50% -"+c.size/2+"px","-moz-transform-origin":"50% 50% -"+c.size/2+"px","-ms-transform-origin":"50% 50% -"+c.size/2+"px","transform-origin":"50% 50% -"+c.size/2+"px"}),c.params.cube.shadow)if(c.isHorizontal())t.transform("translate3d(0px, "+(c.width/2+c.params.cube.shadowOffset)+"px, "+-c.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.params.cube.shadowScale+")");else{var g=Math.abs(a)-90*Math.floor(Math.abs(a)/90),f=1.5-(Math.sin(2*g*Math.PI/360)/2+Math.cos(2*g*Math.PI/360)/2),v=c.params.cube.shadowScale,w=c.params.cube.shadowScale/f,y=c.params.cube.shadowOffset;t.transform("scale3d("+v+", 1, "+w+") translate3d(0px, "+(c.height/2+y)+"px, "+-c.height/2/w+"px) rotateX(-90deg)")}var x=c.isSafari||c.isUiWebView?-c.size/2:0;c.wrapper.transform("translate3d(0px,0,"+x+"px) rotateX("+(c.isHorizontal()?0:a)+"deg) rotateY("+(c.isHorizontal()?-a:0)+"deg)")},setTransition:function(e){c.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),c.params.cube.shadow&&!c.isHorizontal()&&c.container.find(".swiper-cube-shadow").transition(e)}},coverflow:{setTranslate:function(){for(var a=c.translate,t=c.isHorizontal()?-a+c.width/2:-a+c.height/2,s=c.isHorizontal()?c.params.coverflow.rotate:-c.params.coverflow.rotate,i=c.params.coverflow.depth,r=0,n=c.slides.length,o;r<n;r++){var l=c.slides.eq(r),p=c.slidesSizesGrid[r],d,u=(t-l[0].swiperSlideOffset-p/2)/p*c.params.coverflow.modifier,m=c.isHorizontal()?s*u:0,h=c.isHorizontal()?0:s*u,g=-i*Math.abs(u),f=c.isHorizontal()?0:c.params.coverflow.stretch*u,v=c.isHorizontal()?c.params.coverflow.stretch*u:0;Math.abs(v)<.001&&(v=0),Math.abs(f)<.001&&(f=0),Math.abs(g)<.001&&(g=0),Math.abs(m)<.001&&(m=0),Math.abs(h)<.001&&(h=0);var w="translate3d("+v+"px,"+f+"px,"+g+"px) rotateX("+h+"deg) rotateY("+m+"deg)";if(l.transform(w),l[0].style.zIndex=1-Math.abs(Math.round(u)),c.params.coverflow.slideShadows){var y=c.isHorizontal()?l.find(".swiper-slide-shadow-left"):l.find(".swiper-slide-shadow-top"),x=c.isHorizontal()?l.find(".swiper-slide-shadow-right"):l.find(".swiper-slide-shadow-bottom");0===y.length&&(y=e('<div class="swiper-slide-shadow-'+(c.isHorizontal()?"left":"top")+'"></div>'),l.append(y)),0===x.length&&(x=e('<div class="swiper-slide-shadow-'+(c.isHorizontal()?"right":"bottom")+'"></div>'),l.append(x)),y.length&&(y[0].style.opacity=u>0?u:0),x.length&&(x[0].style.opacity=-u>0?-u:0)}}c.browser.ie&&(c.wrapper[0].style.perspectiveOrigin=t+"px 50%")},setTransition:function(e){c.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}}},c.lazy={initialImageLoaded:!1,loadImageInSlide:function(a,t){if("undefined"!=typeof a&&("undefined"==typeof t&&(t=!0),0!==c.slides.length)){var s=c.slides.eq(a),i=s.find("."+c.params.lazyLoadingClass+":not(."+c.params.lazyStatusLoadedClass+"):not(."+c.params.lazyStatusLoadingClass+")");!s.hasClass(c.params.lazyLoadingClass)||s.hasClass(c.params.lazyStatusLoadedClass)||s.hasClass(c.params.lazyStatusLoadingClass)||(i=i.add(s[0])),0!==i.length&&i.each((function(){var a=e(this);a.addClass(c.params.lazyStatusLoadingClass);var i=a.attr("data-background"),r=a.attr("data-src"),n=a.attr("data-srcset"),o=a.attr("data-sizes");c.loadImage(a[0],r||i,n,o,!1,(function(){if(i?(a.css("background-image",'url("'+i+'")'),a.removeAttr("data-background")):(n&&(a.attr("srcset",n
138),a.removeAttr("data-srcset")),o&&(a.attr("sizes",o),a.removeAttr("data-sizes")),r&&(a.attr("src",r),a.removeAttr("data-src"))),a.addClass(c.params.lazyStatusLoadedClass).removeClass(c.params.lazyStatusLoadingClass),s.find("."+c.params.lazyPreloaderClass+", ."+c.params.preloaderClass).remove(),c.params.loop&&t){var e=s.attr("data-swiper-slide-index");if(s.hasClass(c.params.slideDuplicateClass)){var l=c.wrapper.children('[data-swiper-slide-index="'+e+'"]:not(.'+c.params.slideDuplicateClass+")");c.lazy.loadImageInSlide(l.index(),!1)}else{var p=c.wrapper.children("."+c.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');c.lazy.loadImageInSlide(p.index(),!1)}}c.emit("onLazyImageReady",c,s[0],a[0])})),c.emit("onLazyImageLoad",c,s[0],a[0])}))}},load:function(){var a,t=c.params.slidesPerView;if("auto"===t&&(t=0),c.lazy.initialImageLoaded||(c.lazy.initialImageLoaded=!0),c.params.watchSlidesVisibility)c.wrapper.children("."+c.params.slideVisibleClass).each((function(){c.lazy.loadImageInSlide(e(this).index())}));else if(t>1)for(a=c.activeIndex;a<c.activeIndex+t;a++)c.slides[a]&&c.lazy.loadImageInSlide(a);else c.lazy.loadImageInSlide(c.activeIndex);if(c.params.lazyLoadingInPrevNext)if(t>1||c.params.lazyLoadingInPrevNextAmount&&c.params.lazyLoadingInPrevNextAmount>1){var s=c.params.lazyLoadingInPrevNextAmount,i=t,r=Math.min(c.activeIndex+i+Math.max(s,i),c.slides.length),n=Math.max(c.activeIndex-Math.max(i,s),0);for(a=c.activeIndex+t;a<r;a++)c.slides[a]&&c.lazy.loadImageInSlide(a);for(a=n;a<c.activeIndex;a++)c.slides[a]&&c.lazy.loadImageInSlide(a)}else{var o=c.wrapper.children("."+c.params.slideNextClass);o.length>0&&c.lazy.loadImageInSlide(o.index());var l=c.wrapper.children("."+c.params.slidePrevClass);l.length>0&&c.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){c.params.lazyLoading&&(c.params.lazyLoadingOnTransitionStart||!c.params.lazyLoadingOnTransitionStart&&!c.lazy.initialImageLoaded)&&c.lazy.load()},onTransitionEnd:function(){c.params.lazyLoading&&!c.params.lazyLoadingOnTransitionStart&&c.lazy.load()}},c.scrollbar={isTouched:!1,setDragPosition:function(e){var a=c.scrollbar,t=0,s=0,i,r,n=(c.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-a.track.offset()[c.isHorizontal()?"left":"top"]-a.dragSize/2,o=-c.minTranslate()*a.moveDivider,l=-c.maxTranslate()*a.moveDivider;n<o?n=o:n>l&&(n=l),n=-n/a.moveDivider,c.updateProgress(n),c.setWrapperTranslate(n,!0)},dragStart:function(e){var a=c.scrollbar;a.isTouched=!0,e.preventDefault(),e.stopPropagation(),a.setDragPosition(e),clearTimeout(a.dragTimeout),a.track.transition(0),c.params.scrollbarHide&&a.track.css("opacity",1),c.wrapper.transition(100),a.drag.transition(100),c.emit("onScrollbarDragStart",c)},dragMove:function(e){var a=c.scrollbar;a.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),c.wrapper.transition(0),a.track.transition(0),a.drag.transition(0),c.emit("onScrollbarDragMove",c))},dragEnd:function(e){var a=c.scrollbar;a.isTouched&&(a.isTouched=!1,c.params.scrollbarHide&&(clearTimeout(a.dragTimeout),a.dragTimeout=setTimeout((function(){a.track.css("opacity",0),a.track.transition(400)}),1e3)),c.emit("onScrollbarDragEnd",c),c.params.scrollbarSnapOnRelease&&c.slideReset())},draggableEvents:!1!==c.params.simulateTouch||c.support.touch?c.touchEvents:c.touchEventsDesktop,enableDraggable:function(){var a=c.scrollbar,t=c.support.touch?a.track:document;e(a.track).on(a.draggableEvents.start,a.dragStart),e(t).on(a.draggableEvents.move,a.dragMove),e(t).on(a.draggableEvents.end,a.dragEnd)},disableDraggable:function(){var a=c.scrollbar,t=c.support.touch?a.track:document;e(a.track).off(c.draggableEvents.start,a.dragStart),e(t).off(c.draggableEvents.move,a.dragMove),e(t).off(c.draggableEvents.end,a.dragEnd)},set:function(){if(c.params.scrollbar){var a=c.scrollbar;a.track=e(c.params.scrollbar),c.params.uniqueNavElements&&"string"==typeof c.params.scrollbar&&a.track.length>1&&1===c.container.find(c.params.scrollbar).length&&(a.track=c.container.find(c.params.scrollbar)),a.drag=a.track.find(".swiper-scrollbar-drag"),0===a.drag.length&&(a.drag=e('<div class="swiper-scrollbar-drag"></div>'),a.track.append(a.drag)),a.drag[0].style.width="",a.drag[0].style.height="",a.trackSize=c.isHorizontal()?a.track[0].offsetWidth:a.track[0].offsetHeight,a.divider=c.size/c.virtualSize,a.moveDivider=a.divider*(a.trackSize/c.size),a.dragSize=a.trackSize*a.divider,c.isHorizontal()?a.drag[0].style.width=a.dragSize+"px":a.drag[0].style.height=a.dragSize+"px",a.divider>=1?a.track[0].style.display="none":a.track[0].style.display="",c.params.scrollbarHide&&(a.track[0].style.opacity=0)}},setTranslate:function(){if(c.params.scrollbar){var e,a=c.scrollbar,t=c.translate||0,s,i=a.dragSize;s=(a.trackSize-a.dragSize)*c.progress,c.rtl&&c.isHorizontal()?(s=-s)>0?(i=a.dragSize-s,s=0):-s+a.dragSize>a.trackSize&&(i=a.trackSize+s):s<0?(i=a.dragSize+s,s=0):s+a.dragSize>a.trackSize&&(i=a.trackSize-s),c.isHorizontal()?(c.support.transforms3d?a.drag.transform("translate3d("+s+"px, 0, 0)"):a.drag.transform("translateX("+s+"px)"),a.drag[0].style.width=i+"px"):(c.support.transforms3d?a.drag.transform("translate3d(0px, "+s+"px, 0)"):a.drag.transform("translateY("+s+"px)"),a.drag[0].style.height=i+"px"),c.params.scrollbarHide&&(clearTimeout(a.timeout),a.track[0].style.opacity=1,a.timeout=setTimeout((function(){a.track[0].style.opacity=0,a.track.transition(400)}),1e3))}},setTransition:function(e){c.params.scrollbar&&c.scrollbar.drag.transition(e)}},c.controller={LinearSpline:function(e,a){var t,s;this.x=e,this.y=a,this.lastIndex=e.length-1;var i=this.x.length;this.interpolate=function(e){return e?(s=r(this.x,e),t=s-1,(e-this.x[t])*(this.y[s]-this.y[t])/(this.x[s]-this.x[t])+this.y[t]):0};var r=function(e,a){for(o=-1,n=e.length;n-o>1;)e[l=n+o>>1]<=a?o=l:n=l;return n},n,o,l},getInterpolateFunction:function(e){c.controller.spline||(c.controller.spline=c.params.loop?new c.c
138ontroller.LinearSpline(c.slidesGrid,e.slidesGrid):new c.controller.LinearSpline(c.snapGrid,e.snapGrid))},setTranslate:function(e,t){var s=c.params.control,i,r;function n(a){e=a.rtl&&"horizontal"===a.params.direction?-c.translate:c.translate,"slide"===c.params.controlBy&&(c.controller.getInterpolateFunction(a),r=-c.controller.spline.interpolate(-e)),r&&"container"!==c.params.controlBy||(i=(a.maxTranslate()-a.minTranslate())/(c.maxTranslate()-c.minTranslate()),r=(e-c.minTranslate())*i+a.minTranslate()),c.params.controlInverse&&(r=a.maxTranslate()-r),a.updateProgress(r),a.setWrapperTranslate(r,!1,c),a.updateActiveIndex()}if(c.isArray(s))for(var o=0;o<s.length;o++)s[o]!==t&&s[o]instanceof a&&n(s[o]);else s instanceof a&&t!==s&&n(s)},setTransition:function(e,t){var s=c.params.control,i;function r(a){a.setWrapperTransition(e,c),0!==e&&(a.onTransitionStart(),a.wrapper.transitionEnd((function(){s&&(a.params.loop&&"slide"===c.params.controlBy&&a.fixLoop(),a.onTransitionEnd())})))}if(c.isArray(s))for(i=0;i<s.length;i++)s[i]!==t&&s[i]instanceof a&&r(s[i]);else s instanceof a&&t!==s&&r(s)}},c.hashnav={onHashCange:function(e,a){var t=document.location.hash.replace("#",""),s;t!==c.slides.eq(c.activeIndex).attr("data-hash")&&c.slideTo(c.wrapper.children("."+c.params.slideClass+'[data-hash="'+t+'"]').index())},attachEvents:function(a){var t=a?"off":"on";e(window)[t]("hashchange",c.hashnav.onHashCange)},setHash:function(){if(c.hashnav.initialized&&c.params.hashnav)if(c.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+c.slides.eq(c.activeIndex).attr("data-hash")||"");else{var e=c.slides.eq(c.activeIndex),a=e.attr("data-hash")||e.attr("data-history");document.location.hash=a||""}},init:function(){if(c.params.hashnav&&!c.params.history){c.hashnav.initialized=!0;var e=document.location.hash.replace("#","");if(e){for(var a=0,t=0,s=c.slides.length;t<s;t++){var i=c.slides.eq(t),r;if((i.attr("data-hash")||i.attr("data-history"))===e&&!i.hasClass(c.params.slideDuplicateClass)){var n=i.index();c.slideTo(n,0,c.params.runCallbacksOnInit,!0)}}c.params.hashnavWatchState&&c.hashnav.attachEvents()}}},destroy:function(){c.params.hashnavWatchState&&c.hashnav.attachEvents(!0)}},c.history={init:function(){if(c.params.history){if(!window.history||!window.history.pushState)return c.params.history=!1,void(c.params.hashnav=!0);c.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,c.params.runCallbacksOnInit),c.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){c.history.paths=c.history.getPathValues(),c.history.scrollToSlide(c.params.speed,c.history.paths.value,!1)},getPathValues:function(){var e=window.location.pathname.slice(1).split("/"),a=e.length,t,s;return{key:e[a-2],value:e[a-1]}},setHistory:function(e,a){if(c.history.initialized&&c.params.history){var t=c.slides.eq(a),s=this.slugify(t.attr("data-history"));window.location.pathname.includes(e)||(s=e+"/"+s),c.params.replaceState?window.history.replaceState(null,null,s):window.history.pushState(null,null,s)}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,a,t){if(a)for(var s=0,i=c.slides.length;s<i;s++){var r=c.slides.eq(s),n;if(this.slugify(r.attr("data-history"))===a&&!r.hasClass(c.params.slideDuplicateClass)){var o=r.index();c.slideTo(o,e,t)}}else c.slideTo(0,e,t)}},c.disableKeyboardControl=function(){c.params.keyboardControl=!1,e(document).off("keydown",G)},c.enableKeyboardControl=function(){c.params.keyboardControl=!0,e(document).on("keydown",G)},c.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},c.params.mousewheelControl&&(c.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":X()?"wheel":"mousewheel"),c.disableMousewheelControl=function(){if(!c.mousewheel.event)return!1;var a=c.container;return"container"!==c.params.mousewheelEventsTarged&&(a=e(c.params.mousewheelEventsTarged)),a.off(c.mou
138sewheel.event,Y),!0},c.enableMousewheelControl=function(){if(!c.mousewheel.event)return!1;var a=c.container;return"container"!==c.params.mousewheelEventsTarged&&(a=e(c.params.mousewheelEventsTarged)),a.on(c.mousewheel.event,Y),!0},c.parallax={setTranslate:function(){c.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){O(this,c.progress)})),c.slides.each((function(){var a=e(this);a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){var e;O(this,Math.min(Math.max(a[0].progress,-1),1))}))}))},setTransition:function(a){"undefined"==typeof a&&(a=c.params.speed),c.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){var t=e(this),s=parseInt(t.attr("data-swiper-parallax-duration"),10)||a;0===a&&(s=0),t.transition(s)}))}},c.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:c.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var a=e.targetTouches[0].pageX,t=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY,r;return Math.sqrt(Math.pow(s-a,2)+Math.pow(i-t,2))},onGestureStart:function(a){var t=c.zoom;if(!c.support.gestures){if("touchstart"!==a.type||"touchstart"===a.type&&a.targetTouches.length<2)return;t.gesture.scaleStart=t.getDistanceBetweenTouches(a)}t.gesture.slide&&t.gesture.slide.length||(t.gesture.slide=e(this),0===t.gesture.slide.length&&(t.gesture.slide=c.slides.eq(c.activeIndex)),t.gesture.image=t.gesture.slide.find("img, svg, canvas"),t.gesture.imageWrap=t.gesture.image.parent("."+c.params.zoomContainerClass),t.gesture.zoomMax=t.gesture.imageWrap.attr("data-swiper-zoom")||c.params.zoomMax,0!==t.gesture.imageWrap.length)?(t.gesture.image.transition(0),t.isScaling=!0):t.gesture.image=void 0},onGestureChange:function(e){var a=c.zoom;if(!c.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.gesture.scaleMove=a.getDistanceBetweenTouches(e)}a.gesture.image&&0!==a.gesture.image.length&&(c.support.gestures?a.scale=e.scale*a.currentScale:a.scale=a.gesture.scaleMove/a.gesture.scaleStart*a.currentScale,a.scale>a.gesture.zoomMax&&(a.scale=a.gesture.zoomMax-1+Math.pow(a.scale-a.gesture.zoomMax+1,.5)),a.scale<c.params.zoomMin&&(a.scale=c.params.zoomMin+1-Math.pow(c.params.zoomMin-a.scale+1,.5)),a.gesture.image.transform("translate3d(0,0,0) scale("+a.scale+")"))},onGestureEnd:function(e){var a=c.zoom;!c.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||a.gesture.image&&0!==a.gesture.image.length&&(a.scale=Math.max(Math.min(a.scale,a.gesture.zoomMax),c.params.zoomMin),a.gesture.image.transition(c.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(a.gesture.slide=void 0))},onTouchStart:function(e,a){var t=e.zoom;t.gesture.image&&0!==t.gesture.image.length&&(t.image.isTouched||("android"===e.device.os&&a.preventDefault(),t.image.isTouched=!0,t.image.touchesStart.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,t.image.touchesStart.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY))},onTouchMove:function(e){var a=c.zoom;if(a.gesture.image&&0!==a.gesture.image.length&&(c.allowClick=!1,a.image.isTouched&&a.gesture.slide)){a.image.isMoved||(a.image.width=a.gesture.image[0].offsetWidth,a.image.height=a.gesture.image[0].offsetHeight,a.image.startX=c.getTranslate(a.gesture.imageWrap[0],"x")||0,a.image.startY=c.getTranslate(a.gesture.imageWrap[0],"
138y")||0,a.gesture.slideWidth=a.gesture.slide[0].offsetWidth,a.gesture.slideHeight=a.gesture.slide[0].offsetHeight,a.gesture.imageWrap.transition(0),c.rtl&&(a.image.startX=-a.image.startX),c.rtl&&(a.image.startY=-a.image.startY));var t=a.image.width*a.scale,s=a.image.height*a.scale;if(!(t<a.gesture.slideWidth&&s<a.gesture.slideHeight)){if(a.image.minX=Math.min(a.gesture.slideWidth/2-t/2,0),a.image.maxX=-a.image.minX,a.image.minY=Math.min(a.gesture.slideHeight/2-s/2,0),a.image.maxY=-a.image.minY,a.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,a.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!a.image.isMoved&&!a.isScaling){if(c.isHorizontal()&&Math.floor(a.image.minX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x<a.image.touchesStart.x||Math.floor(a.image.maxX)===Math.floor(a.image.startX)&&a.image.touchesCurrent.x>a.image.touchesStart.x)return void(a.image.isTouched=!1);if(!c.isHorizontal()&&Math.floor(a.image.minY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y<a.image.touchesStart.y||Math.floor(a.image.maxY)===Math.floor(a.image.startY)&&a.image.touchesCurrent.y>a.image.touchesStart.y)return void(a.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),a.image.isMoved=!0,a.image.currentX=a.image.touchesCurrent.x-a.image.touchesStart.x+a.image.startX,a.image.currentY=a.image.touchesCurrent.y-a.image.touchesStart.y+a.image.startY,a.image.currentX<a.image.minX&&(a.image.currentX=a.image.minX+1-Math.pow(a.image.minX-a.image.currentX+1,.8)),a.image.currentX>a.image.maxX&&(a.image.currentX=a.image.maxX-1+Math.pow(a.image.currentX-a.image.maxX+1,.8)),a.image.currentY<a.image.minY&&(a.image.currentY=a.image.minY+1-Math.pow(a.image.minY-a.image.currentY+1,.8)),a.image.currentY>a.image.maxY&&(a.image.currentY=a.image.maxY-1+Math.pow(a.image.currentY-a.image.maxY+1,.8)),a.velocity.prevPositionX||(a.velocity.prevPositionX=a.image.touchesCurrent.x),a.velocity.prevPositionY||(a.velocity.prevPositionY=a.image.touchesCurrent.y),a.velocity.prevTime||(a.velocity.prevTime=Date.now()),a.velocity.x=(a.image.touchesCurrent.x-a.velocity.prevPositionX)/(Date.now()-a.velocity.prevTime)/2,a.velocity.y=(a.image.touchesCurrent.y-a.velocity.prevPositionY)/(Date.now()-a.velocity.prevTime)/2,Math.abs(a.image.touchesCurrent.x-a.velocity.prevPositionX)<2&&(a.velocity.x=0),Math.abs(a.image.touchesCurrent.y-a.velocity.prevPositionY)<2&&(a.velocity.y=0),a.velocity.prevPositionX=a.image.touchesCurrent.x,a.velocity.prevPositionY=a.image.touchesCurrent.y,a.velocity.prevTime=Date.now(),a.gesture.imageWrap.transform("translate3d("+a.image.currentX+"px, "+a.image.currentY+"px,0)")}}},onTouchEnd:function(e,a){var t=e.zoom;if(t.gesture.image&&0!==t.gesture.image.length){if(!t.image.isTouched||!t.image.isMoved)return t.image.isTouched=!1,void(t.image.isMoved=!1);t.image.isTouched=!1,t.image.isMoved=!1;var s=300,i=300,r=t.velocity.x*s,n=t.image.currentX+r,o=t.velocity.y*i,l=t.image.currentY+o;0!==t.velocity.x&&(s=Math.abs((n-t.image.currentX)/t.velocity.x)),0!==t.velocity.y&&(i=Math.abs((l-t.image.currentY)/t.velocity.y));var p=Math.max(s,i);t.image.currentX=n,t.image.currentY=l;var d=t.image.width*t.scale,u=t.image.height*t.scale;t.image.minX=Math.min(t.gesture.slideWidth/2-d/2,0),t.image.maxX=-t.image.minX,t.image.minY=Math.min(t.gesture.slideHeight/2-u/2,0),t.image.maxY=-t.image.minY,t.image.currentX=Math.max(Math.min(t.image.currentX,t.image.maxX),t.image.minX),t.image.currentY=Math.max(Math.min(t.image.currentY,t.image.maxY),t.image.minY),t.gesture.imageWrap.transition(p).transform("translate3d("+t.image.currentX+"px, "+t.image.currentY+"px,0)")}},onTransitionEnd:function(e){var a=e.zoom;a.gesture.slide&&e.previousIndex!==e.activeIndex&&(a.gesture.image.transform("translate3d(0,0,0) scale(1)"),a.gesture.imageWrap.transform("translate3d(0,0,0)"),a.gesture.slide=a.gesture.image=a.gesture.imageWrap=void 0,a.scale=a.currentScale=1)},toggleZoom:function(a,t){var s=a.zoom,i,r,n,o,l,p,d,u,c,m,h,g,f,v,w,y,x,T;(s.gesture.slide||(s.gesture.slide=a.clickedSlide?e(a.clickedSlide):a.slides.eq(a.activeIndex),s.gesture.image=s.gesture.slide.find("img, svg, canvas"),s.gesture.imageWrap=s.gesture.image.parent("."+a.params.zoomContainerClass)),s.gesture.image&&0!==s.gesture.image.length)&&("undefined"==typeof s.image.touchesStart.x&&t?(i="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,r="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(i=s.image.touchesStart.x,r=s.image.touchesStart.y),s.scale&&1!==s.scale?(s.scale=s.currentScale=1,s.gesture.imageWrap.transition(300).transform("translate3d(0,
1380,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),s.gesture.slide=void 0):(s.scale=s.currentScale=s.gesture.imageWrap.attr("data-swiper-zoom")||a.params.zoomMax,t?(x=s.gesture.slide[0].offsetWidth,T=s.gesture.slide[0].offsetHeight,l=(n=s.gesture.slide.offset().left)+x/2-i,p=(o=s.gesture.slide.offset().top)+T/2-r,c=s.gesture.image[0].offsetWidth,m=s.gesture.image[0].offsetHeight,h=c*s.scale,g=m*s.scale,w=-(f=Math.min(x/2-h/2,0)),y=-(v=Math.min(T/2-g/2,0)),(d=l*s.scale)<f&&(d=f),d>w&&(d=w),(u=p*s.scale)<v&&(u=v),u>y&&(u=y)):(d=0,u=0),s.gesture.imageWrap.transition(300).transform("translate3d("+d+"px, "+u+"px,0)"),s.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+s.scale+")")))},attachEvents:function(a){var t=a?"off":"on";if(c.params.zoom){var s=c.slides,i=!("touchstart"!==c.touchEvents.start||!c.support.passiveListener||!c.params.passiveListeners)&&{passive:!0,capture:!1};c.support.gestures?(c.slides[t]("gesturestart",c.zoom.onGestureStart,i),c.slides[t]("gesturechange",c.zoom.onGestureChange,i),c.slides[t]("gestureend",c.zoom.onGestureEnd,i)):"touchstart"===c.touchEvents.start&&(c.slides[t](c.touchEvents.start,c.zoom.onGestureStart,i),c.slides[t](c.touchEvents.move,c.zoom.onGestureChange,i),c.slides[t](c.touchEvents.end,c.zoom.onGestureEnd,i)),c[t]("touchStart",c.zoom.onTouchStart),c.slides.each((function(a,s){e(s).find("."+c.params.zoomContainerClass).length>0&&e(s)[t](c.touchEvents.move,c.zoom.onTouchMove)})),c[t]("touchEnd",c.zoom.onTouchEnd),c[t]("transitionEnd",c.zoom.onTransitionEnd),c.params.zoomToggle&&c.on("doubleTap",c.zoom.toggleZoom)}},init:function(){c.zoom.attachEvents()},destroy:function(){c.zoom.attachEvents(!0)}},c._plugins=[],c.plugins){var k=c.plugins[I](c,c.params[I]);k&&c._plugins.push(k)}return c.callPlugins=function(e){for(var a=0;a<c._plugins.length;a++)e in c._plugins[a]&&c._plugins[a][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},c.emitterEventListeners={},c.emit=function(e){var a;if(c.params[e]&&c.params[e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),c.emitterEventListeners[e])for(a=0;a<c.emitterEventListeners[e].length;a++)c.emitterEventListeners[e][a](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);c.callPlugins&&c.callPlugins(e,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},c.on=function(e,a){return e=N(e),c.emitterEventListeners[e]||(c.emitterEventListeners[e]=[]),c.emitterEventListeners[e].push(a),c},c.off=function(e,a){var t;if(e=N(e),"undefined"==typeof a)return c.emitterEventListeners[e]=[],c;if(c.emitterEventListeners[e]&&0!==c.emitterEventListeners[e].length){for(t=0;t<c.emitterEventListeners[e].length;t++)c.emitterEventListeners[e][t]===a&&c.emitterEventListeners[e].splice(t,1);return c}},c.once=function(e,a){e=N(e);var t=function(){a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),c.off(e,t)};return c.on(e,t),c},c.a11y={makeFocusable:function(e){return e.attr("tabIndex","0"),e},addRole:function(e,a){return e.attr("role",a),e},addLabel:function(e,a){return e.attr("aria-label",a),e},disable:function(e){return e.attr("aria-disabled",!0),e},enable:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(a){13===a.keyCode&&(e(a.target).is(c.params.nextButton)?(c.onClickNext(a),c.isEnd?c.a11y.notify(c.params.lastSlideMessage):c.a11y.notify(c.params.nextSlideMessage)):e(a.target).is(c.params.prevButton)&&(c.onClickPrev(a),c.isBeginning?c.a11y.notify(c.params.firstSlideMessage):c.a11y.notify(c.params.prevSlideMessage)),e(a.target).is("."+c.params.bulletClass)&&e(a.target)[0].click())},liveRegion:e('<span class="'+c.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(e){var a=c.a11y.liveRegion;0!==a.length&&(a.html(""),a.html(e))},init:function(){c.params.nextButton&&c.nextButton&&c.nextButton.length>0&&(c.a11y.makeFocusable(c.nextButton),c.a11y.addRole(c.nextButton,"button"),c.a11y.addLabel(c.nextButton,c.params.nextSlideMessage)),c.params.prevButton&&c.prevButton&&c.prevButton.length>0&&(c.a11y.makeFocusable(c.prevButton),c.a11y.addRole(c.prevButton,"button"),c.a11y.addLabel(c.prevButton,c.params.prevSlideMessage)),e(c.container).append(c.a11y.liveRegion)},initPagination:function(){c.params.pagination&&c.params.paginationClickable&&c.bullets&&c.bullets.length&&c.bullets.each((function(){var a=e(this);c.a11y.makeFocusable(a),c.a11y.addRole(a,"button"),c.a11y.addLabel(a,c.params.paginationBulletMessage.replace(/{{index}}/,a.index()+1))}))},destroy:function(){c.a11y.liveRegion&&c.a11y.liveRegion.length>0&&c.a11y.liveRegion.remove()}},c.init=function(){c.params.loop&&c.createLoop(),c.updateContainerSize(),c.updateSlidesSize(),c.updatePagination(),c.params.scrollbar&&c.scrollbar&&(c.scrollbar.set(),c.params.scrollbarDraggable&&c.scrollbar.enableDraggable()),"slide"!==c.params.effect&&c.effects[c.params.effect]&&(c.params.loop||c.updateProgress(),c.effects[c.params.effect].setTranslate()),c.params.loop?c.slideTo(c.params.initialSlide+c.loopedSlides,0,c.params.runCallbacksOnInit):(c.slideTo(c.params.initialSlide,0,c.params.runCallbacksOnInit),0===c.params.initialSlide&&(c.parallax&&c.params.parallax&&c.parallax.setTranslate(),c.lazy&&c.params.lazyLoading&&(c.lazy.load(),c.lazy.initialImageLoaded=!0))),c.attachEvents(),c.params.observer&&c.support.observer&&c.initOb
138servers(),c.params.preloadImages&&!c.params.lazyLoading&&c.preloadImages(),c.params.zoom&&c.zoom&&c.zoom.init(),c.params.autoplay&&c.startAutoplay(),c.params.keyboardControl&&c.enableKeyboardControl&&c.enableKeyboardControl(),c.params.mousewheelControl&&c.enableMousewheelControl&&c.enableMousewheelControl(),c.params.hashnavReplaceState&&(c.params.replaceState=c.params.hashnavReplaceState),c.params.history&&c.history&&c.history.init(),c.params.hashnav&&c.hashnav&&c.hashnav.init(),c.params.a11y&&c.a11y&&c.a11y.init(),c.emit("onInit",c)},c.cleanupStyles=function(){c.container.removeClass(c.classNames.join(" ")).removeAttr("style"),c.wrapper.removeAttr("style"),c.slides&&c.slides.length&&c.slides.removeClass([c.params.slideVisibleClass,c.params.slideActiveClass,c.params.slideNextClass,c.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),c.paginationContainer&&c.paginationContainer.length&&c.paginationContainer.removeClass(c.params.paginationHiddenClass),c.bullets&&c.bullets.length&&c.bullets.removeClass(c.params.bulletActiveClass),c.params.prevButton&&e(c.params.prevButton).removeClass(c.params.buttonDisabledClass),c.params.nextButton&&e(c.params.nextButton).removeClass(c.params.buttonDisabledClass),c.params.scrollbar&&c.scrollbar&&(c.scrollbar.track&&c.scrollbar.track.length&&c.scrollbar.track.removeAttr("style"),c.scrollbar.drag&&c.scrollbar.drag.length&&c.scrollbar.drag.removeAttr("style"))},c.destroy=function(e,a){c.detachEvents(),c.stopAutoplay(),c.params.scrollbar&&c.scrollbar&&c.params.scrollbarDraggable&&c.scrollbar.disableDraggable(),c.params.loop&&c.destroyLoop(),a&&
138c.cleanupStyles(),c.disconnectObservers(),c.params.zoom&&c.zoom&&c.zoom.destroy(),c.params.keyboardControl&&c.disableKeyboardControl&&c.disableKeyboardControl(),c.params.mousewheelControl&&c.disableMousewheelControl&&c.disableMousewheelControl(),c.params.a11y&&c.a11y&&c.a11y.destroy(),c.params.history&&!c.params.replaceState&&window.removeEventListener("popstate",c.history.setHistoryPopState),c.params.hashnav&&c.hashnav&&c.hashnav.destroy(),c.emit("onDestroy"),!1!==e&&(c=null)},c.init(),c}function L(e){return Math.floor(e)}function D(){var e=c.params.autoplay,a=c.slides.eq(c.activeIndex);a.attr("data-swiper-autoplay")&&(e=a.attr("data-swiper-autoplay")||c.params.autoplay),c.autoplayTimeoutId=setTimeout((function(){c.params.loop?(c.fixLoop(),c._slideNext(),c.emit("onAutoplay",c)):c.isEnd?s.autoplayStopOnLast?c.stopAutoplay():(c._slideTo(0),c.emit("onAutoplay",c)):(c._slideNext(),c.emit("onAutoplay",c))}),e)}function B(a,t){var s=e(a.target);if(!s.is(t))if("string"==typeof t)s=s.parents(t);else if(t.nodeType){var i;return s.parents().each((function(e,a){a===t&&(i=t)})),i?t:void 0}if(0!==s.length)return s[0]}function H(e,a){a=a||{};var t,s=new(window.MutationObserver||window.WebkitMutationObserver)((function(e){e.forEach((function(e){c.onResize(!0),c.emit("onObserverUpdate",c,e)}))}));s.observe(e,{attributes:"undefined"==typeof a.attributes||a.attributes,childList:"undefined"==typeof a.childList||a.childList,characterData:"undefined"==typeof a.characterData||a.characterData}),c.observers.push(s)}function G(e){e.originalEvent&&(e=e.originalEvent);var a=e.keyCode||e.charCode;
138if(!c.params.allowSwipeToNext&&(c.isHorizontal()&&39===a||!c.isHorizontal()&&40===a))return!1;if(!c.params.allowSwipeToPrev&&(c.isHorizontal()&&37===a||!c.isHorizontal()&&38===a))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===a||39===a||38===a||40===a){var t=!1;if(c.container.parents("."+c.params.slideClass).length>0&&0===c.container.parents("."+c.params.slideActiveClass).length)return;var s={left:window.pageXOffset,top:window.pageYOffset},i=window.innerWidth,r=window.innerHeight,n=c.container.offset();c.rtl&&(n.left=n.left-c.container[0].scrollLeft);for(var o=[[n.left,n.top],[n.left+c.width,n.top],[n.left,n.top+c.height],[n.left+c.width,n.top+c.height]],l=0;l<o.length;l++){var p=o[l];p[0]>=s.left&&p[0]<=s.left+i&&p[1]>=s.top&&p[1]<=s.top+r&&(t=!0)}if(!t)return}c.isHorizontal()?(37!==a&&39!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===a&&!c.rtl||37===a&&c.rtl)&&c.slideNext(),(37===a&&!c.rtl||39===a&&c.rtl)&&c.slidePrev()):(38!==a&&40!==a||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===a&&c.slideNext(),38===a&&c.slidePrev())}}function X(){var e="onwheel",a=e in document;if(!a){var t=document.createElement("div");t.setAttribute(e,"return;"),a="function"==typeof t.onwheel}return!a&&document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")&&(a=document.implementation.hasFeature("Events.wheel","3.0")),a}function Y(e){e.originalEvent&&(e=e.originalEvent);var a=0,t=c.rtl?-1:1,s=A(e);if(c.params.mousewheelForceToAxis)if(c.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return;a=s.pixelX*t}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return;a=s.pixelY}else a=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*t:-s.pixelY;if(0!==a){if(c.params.mousewheelInvert&&(a=-a),c.params.freeMode){var i=c.getWrapperTranslate()+a*c.params.mousewheelSensitivity,r=c.isBeginning,n=c.isEnd;if(i>=c.minTranslate()&&(i=c.minTranslate()),i<=c.maxTranslate()&&(i=c.maxTranslate()),c.setWrapperTransition(0),c.setWrapperTranslate(i),c.updateProgress(),c.updateActiveIndex(),(!r&&c.isBeginning||!n&&c.isEnd)&&c.updateClasses(),c.params.freeModeSticky?(clearTimeout(c.mousewheel.timeout),c.mousewheel.timeout=setTimeout((function(){c.slideReset()}),300)):c.params.lazyLoading&&c.lazy&&c.lazy.load(),c.emit("onScroll",c,e),c.params.autoplay&&c.params.autoplayDisableOnInteraction&&c.stopAutoplay(),0===i||i===c.maxTranslate())return}else{if((new window.Date).getTime()-c.mousewheel.lastScrollTime>60)if(a<0)if(c.isEnd&&!c.params.loop||c.animating){if(c.params.mousewheelReleaseOnEdges)return!0}else c.slideNext(),c.emit("onScroll",c,e);else if(c.isBeginning&&!c.params.loop||c.animating){if(c.params.mousewheelReleaseOnEdges)return!0}else c.slidePrev(),c.emit("onScroll",c,e);c.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function A(e){var a=10,t=40,s=800,i=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(i=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(i=r,r=0),n=i*a,o=r*a,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1===e.deltaMode?(n*=t,o*=t):(n*=s,o*=s)),n&&!i&&(i=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:i,spinY:r,pixelX:n,pixelY:o}}function O(a,t){var s,i,r;a=e(a);var n=c.rtl?-1:1;s=a.attr("data-swiper-parallax")||"0",i=a.attr("data-swiper-parallax-x"),r=a.attr("data-swiper-parallax-y"),i||r?(i=i||"0",r=r||"0"):c.isHorizontal()?(i=s,r="0"):(r=s,i="0"),i=i.indexOf("%")>=0?parseInt(i,10)*t*n+"%":i*t*n+"px",r=r.indexOf("%")>=0?parseInt(r,10)*t+"%":r*t+"px",a.transform("translate3d("+i+", "+r+",0px)")}function N(e){return 0!==e.indexOf("on")&&(e=e[0]!==e[0].toUpperCase()?"on"+e[0].toUpperCase()+e.substring(1):"on"+e),e}},t,s;a.prototype={isSafari:(s=window.navigator.userAgent.toLowerCase(),s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWeb
138Kit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:(t=document.createElement("div"),t.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===t.getElementsByTagName("i").length)},device:function(){var e=window.navigator.userAgent,a=e.match(/(Android);?[\s\/]+([\d.]+)?/),t=e.match(/(iPad).*OS\s([\d_]+)/),s=e.match(/(iPod)(.*OS\s([\d_]+))?/),i=!t&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:t||i||s,android:a}}(),support:{touch:window.Modernizr&&!0===Modernizr.touch||!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||function(){var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=document.createElement("div").style,a="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),t=0;t<a.length;t++)if(a[t]in e)return!0}(),observer:"MutationObserver"in window||"WebkitMutationObserver"in window,passiveListener:function(){var e=!1;try{var a=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveListener",null,a)}catch(t){}return e}(),gestures:"ongesturestart"in window},plugins:{}};for(var i=function(){var e=function(e){var a=this,t=0;for(t=0;t<e.length;t++)a[t]=e[t];return a.length=e.length,this},a=function(a,t){var s=[],i=0;if(a&&!t&&a instanceof e)return a;
138if(a)if("string"==typeof a){var r,n,o=a.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var l="div";for(0===o.indexOf("<li")&&(l="ul"),0===o.indexOf("<tr")&&(l="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(l="tr"),0===o.indexOf("<tbody")&&(l="table"),0===o.indexOf("<option")&&(l="select"),(n=document.createElement(l)).innerHTML=a,i=0;i<n.childNodes.length;i++)s.push(n.childNodes[i])}else for(r=t||"#"!==a[0]||a.match(/[ .<>:~]/)?(t||document).querySelectorAll(a):[document.getElementById(a.split("#")[1])],i=0;i<r.length;i++)r[i]&&s.push(r[i])}else if(a.nodeType||a===window||a===document)s.push(a);else if(a.length>0&&a[0].nodeType)for(i=0;i<a.length;i++)s.push(a[i]);return new e(s)};return e.prototype={addClass:function(e){if("undefined"==typeof e)return this;for(var a=e.split(" "),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.add(a[t]);return this},removeClass:function(e){for(var a=e.split(" "),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.remove(a[t]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var a=e.split(" "),t=0;t<a.length;t++)for(var s=0;s<this.length;s++)this[s].classList.toggle(a[t]);return this},attr:function(e,a){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var t=0;t<this.length;t++)if(2===arguments.length)this[t].setAttribute(e,a);else for(var s in e)this[t][s]=e[s],this[t].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var a=0;a<this.length;a++)this[a].removeAttribute(e);return this},data:function(e,a){if("undefined"!=typeof a){for(var t=0;t<this.length;t++){var s=this[t];s.dom7ElementDataStorage||(s.dom7ElementDataStorage={}),s.dom7ElementDataStorage[e]=a}return this}if(this[0]){var i=this[0].getAttribute("data-"+e);return i||(this[0].dom7ElementDataStorage&&e in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[e]:void 0)}},transform:function(e){for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransform=t.MsTransform=t.msTransform=t.MozTransform=t.OTransform=t.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e}return this},on:function(e,t,s,i){function r(e){var i=e.target;if(a(i).is(t))s.call(i,e);else for(var r=a(i).parents(),n=0;n<r.length;n++)a(r[n]).is(t)&&s.call(r[n],e)}var n=e.split(" "),o,l;for(o=0;o<this.length;o++)if("function"==typeof t||!1===t)for("function"==typeof t&&(s=arguments[1],i=arguments[2]||!1),l=0;l<n.length;l++)this[o].addEventListener(n[l],s,i);else for(l=0;l<n.length;l++)this[o].dom7LiveListeners||(this[o].dom7LiveListeners=[]),this[o].dom7LiveListeners.push({listener:s,liveListener:r}),this[o].addEventListener(n[l],r,i);return this},off:function(e,a,t,s){for(var i=e.split(" "),r=0;r<i.length;r++)for(var n=0;n<this.length;n++)if("function"==typeof a||!1===a)"function"==typeof a&&(t=arguments[1],s=arguments[2]||!1),this[n].removeEventListener(i[r],t,s);else if(this[n].dom7LiveListeners)for(var o=0;o<this[n].dom7LiveListeners.length;o++)this[n].dom7LiveListeners[o].listener===t&&this[n].removeEventListener(i[r],this[n].dom7LiveListeners[o].liveListener,s);return this},once:function(e,a,t,s){var i=this;function r(n){t(n),i.off(e,a,r,s)}"function"==typeof a&&(a=!1,t=arguments[1],s=arguments[2]),i.on(e,a,r,s)},trigger:function(e,a){for(var t=0;t<this.length;t++){var s;try{s=new window.CustomEvent(e,{detail:a,bubbles:!0,cancelable:!0})}catch(i){(s=document.createEvent("Event")).initEvent(e,!0,!0),s.detail=a}this[t].dispatchEvent(s)}return this},transitionEnd:function(e){var a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t,s,i=this;function r(s){if(s.target===this)for(e.call(this,s),t=0;t<a.length;t++)i.off(a[t],r)}if(e)for(t=0;t<a.length;t++)i.on(a[t],r);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(e){return this.length>
1380?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(e){return this.length>0?e?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var e=this[0],a=e.getBoundingClientRect(),t=document.body,s=e.clientTop||t.clientTop||0,i=e.clientLeft||t.clientLeft||0,r=window.pageYOffset||e.scrollTop,n=window.pageXOffset||e.scrollLeft;return{top:a.top+r-s,left:a.left+n-i}}return null},css:function(e,a){var t;if(1===arguments.length){if("string"!=typeof e){for(t=0;t<this.length;t++)for(var s in e)this[t].style[s]=e[s];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(t=0;t<this.length;t++)this[t].style[e]=a;return this}return this},each:function(e){for(var a=0;a<this.length;a++)e.call(this[a],a,this[a]);return this},html:function(e){if("undefined"==typeof e)return this[0]?this[0].innerHTML:void 0;for(var a=0;a<this.length;a++)this[a].innerHTML=e;return this},text:function(e){if("undefined"==typeof e)return this[0]?this[0].textContent.trim():null;for(var a=0;a<this.length;a++)this[a].textContent=e;return this},is:function(t){if(!this[0])return!1;var s,i;if("string"==typeof t){var r=this[0];if(r===document)return t===document;if(r===window)return t===window;if(r.matches)return r.matches(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector)return r.mozMatchesSelector(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);for(s=a(t),i=0;i<s.length;i++)if(s[i]===this[0])return!0;return!1}if(t===document)return this[0]===document;if(t===window)return this[0]===window;if(t.nodeType||t instanceof e){for(s=t.nodeType?[t]:t,i=0;i<s.length;i++)if(s[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var e=this[0],a=0;null!==(e=e.previousSibling);)1===e.nodeType&&a++;return a}},eq:function(a){if("undefined"==typeof a)return this;var t=this.length,s;return new e(a>t-1?[]:a<0?(s=t+a)<0?[]:[this[s]]:[this[a]])},append:function(a){var t,s;for(t=0;t<this.length;t++)if("string"==typeof a){var i=document.createElement("div");for(i.innerHTML=a;i.firstChild;)this[t].appendChild(i.firstChild)}else if(a instanceof e)for(s=0;s<a.length;s++)this[t].appendChild(a[s]);else this[t].appendChild(a);return this},prepend:function(a){var t,s;for(t=0;t<this.length;t++)if("string"==typeof a){var i=document.createElement("div");for(i.innerHTML=a,s=i.childNodes.length-1;s>=0;s--)this[t].insertBefore(i.childNodes[s],this[t].childNodes[0])}else if(a instanceof e)for(s=0;s<a.length;s++)this[t].insertBefore(a[s],this[t].childNodes[0]);else this[t].insertBefore(a,this[t].childNodes[0]);return this},insertBefore:function(e){for(var t=a(e),s=0;s<this.length;s++)if(1===t.length)t[0].parentNode.insertBefore(this[s],t[0]);else if(t.length>1)for(var i=0;i<t.length;i++)t[i].parentNode.insertBefore(this[s].cloneNode(!0),t[i])},insertAfter:function(e){for(var t=a(e),s=0;s<this.length;s++)if(1===t.length)t[0].parentNode.insertBefore(this[s],t[0].nextSibling);else if(t.length>1)for(var i=0;i<t.length;i++)t[i].parentNode.insertBefore(this[s].cloneNode(!0),t[i].nextSibling)},next:function(t){return this.length>0?t?this[0].nextElementSibling&&a(this[0].nextElementSibling).is(t)?new e([this[0].nextElementSibling]):new e([]):this[0].nextElementSibling?new e([this[0].nextElementSibling]):new e([]):new e([])},nextAll:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.nextElementSibling;){var r=i.nextElementSibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},prev:function(t){return this.length>0?t?this[0].previousElementSibling&&a(this[0].previousElementSibling).is(t)?new e([this[0].previousElementSibling]):new e([]):this[0].previousElementSibling?new e([this[0].previousElementSibling]):new e([]):new e([])},prevAll:function(t){var s=[],i=this[0];if(!i)return new e([]);for(;i.previousElementSibling;){var r=i.previousElementSibling;t?a(r).is(t)&&s.push(r):s.push(r),i=r}return new e(s)},parent:function(e){for(var t=[],s=0;s<this.length;s++)e?a(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode);return a(a.unique(t))},parents:function(e){for(var t=[],s=0;s<this.length;s++)for(var i=this[s].parentNode;i;)e?a(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return a(a.unique(t))},find:function(a){for(var t=[],s=0;s<this.length;s++)for(var i=this[s].querySelectorAll(a),r=0;r<i.length;r++)t.push(i[r]);return new e(t)},children:function(t){for(var s=[],i=0;i<this.length;i++)for(var r=this[i].childNodes,n=0;n<r.length;n++)t?1===r[n].nodeType&&a(r[n]).is(t)&&s.push(r[n]):1===r[n].nodeType&&s.push(r[n]);return new e(a.unique(s))},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){var e=this,t,s;for(t=0;t<arguments.length;t++){var i=a(arguments[t]);for(s=0;s<i.length;s++)e[e.length]=i[s],e.length++}return e}},a.fn=e.prototype,a.unique=function(e){for(var a=[],t=0;t<e.length;t++)-1===a.indexOf(e[t])&&a.push(e[t]);return a},a}(),r=["jQuery","Zepto","Dom7"],n=0,o;n<r.length;n++)window[r[n]]&&l(window[r[n]]);function l(e){e.fn.swiper=function(t){var s;return e(this).each((function(){var e=new a(this,t);s||(s=e)})),s}}(o="undefined"==typeof i?window.Dom7||window.Zepto||window.jQuery:i)&&("transitionEnd"in o.fn||(o.fn.transitionEnd=function(e){var a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],t,s,i=this;function r(s){if(s.target===this)for(e.call(this,s),t=0;t<a.length;t++)i.off(a[t],r)}if(e)for(t=0;t<a.length;t++)i.on(a[t],r);return this}),"transform"in o.fn||(o.fn.transform=function(e){for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransform=t.MsTransform=t.msTransform=t.MozTransform=t.OTransform=t.transform=e}return this}),"transition"in o.fn||(o.fn.transition=function(e){"string"!=typeof e&&(e+="ms");for(var a=0;a<this.length;a++){var t=this[a].style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e}return this}),"outerWidth"in o.fn||(o.fn.outerWidth=function(e){return this.length>
1380?e?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=a}(),"undefined"!=typeof module?module.exports=window.Swiper:"function"==typeof define&&define.amd&&define([],(function(){"use strict";return window.Swiper}))}).call(this),Package._define("nolimits4web:swiper")}(); 139 140!function(){var n=Package.meteor.Meteor,t=Package.meteor.global,e=Package.meteor.meteorEnv,r,i;(function(){(function(){r=function(){var n={version:"3.1.4"};Date.now||(Date.now=function(){return+new Date});var t=document,e=window;try{t.createElement("div").style.setProperty("opacity",0,"")}catch(Ya){var r=e.CSSStyleDeclaration.prototype,o=r.setProperty;r.setProperty=function(n,t,e){o.call(this,n,t+"",e)}}function u(n){return null!=n&&!isNaN(n)}n.ascending=function(n,t){return n<t?-1:n>t?1:n>=t?0:NaN},n.descending=function(n,t){return t<n?-1:t>n?1:t>=n?0:NaN},n.min=function(n,t){var e=-1,r=n.length,i,o;if(1===arguments.length){for(;++e<r&&(null==(i=n[e])||i!=i);)i=void 0;for(;++e<r;)null!=(o=n[e])&&i>o&&(i=o)}else{for(;++e<r&&(null==(i=t.call(n,n[e],e))||i!=i);)i=void 0;for(;++e<r;)null!=(o=t.call(n,n[e],e))&&i>o&&(i=o)}return i},n.max=function(n,t){var e=-1,r=n.length,i,o;if(1===arguments.length){for(;++e<r&&(null==(i=n[e])||i!=i);)i=void 0;for(;++e<r;)null!=(o=n[e])&&o>i&&(i=o)}else{for(;++e<r&&(null==(i=t.call(n,n[e],e))||i!=i);)i=void 0;for(;++e<r;)null!=(o=t.call(n,n[e],e))&&o>i&&(i=o)}return i},n.extent=function(n,t){var e=-1,r=n.length,i,o,u;if(1===arguments.length){for(;++e<r&&(null==(i=u=n[e])||i!=i);)i=u=void 0;for(;++e<r;)null!=(o=n[e])&&(i>o&&(i=o),u<o&&(u=o))}else{for(;++e<r&&(null==(i=u=t.call(n,n[e],e))||i!=i);)i=void 0;for(;++e<r;)null!=(o=t.call(n,n[e],e))&&(i>o&&(i=o),u<o&&(u=o))}return[i,u]},n.sum=function(n,t){var e=0,r=n.length,i,o=-1;if(1===arguments.length)for(;++o<r;)isNaN(i=+n[o])||(e+=i);else for(;++o<r;)isNaN(i=+t.call(n,n[o],o))||(e+=i);return e},n.mean=function(n,t){var e=n.length,r,i=0,o=-1,a=0;if(1===arguments.length)for(;++o<e;)u(r=n[o])&&(i+=(r-i)/++a);else for(;++o<e;)u(r=t.call(n,n[o],o))&&(i+=(r-i)/++a);return a?i:void 0},n.quantile=function(n,t){var e=(n.length-1)*t+1,r=Math.floor(e),i=+n[r-1],o=e-r;return o?i+o*(n[r]-i):i},n.median=function(t,e){return arguments.length>1&&(t=t.map(e)),(t=t.filter(u)).length?n.quantile(t.sort(n.ascending),.5):void 0},n.bisector=function(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r<i;){var o=r+i>>>1;n.call(t,t[o],o)<e?r=o+1:i=o}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r<i;){var o=r+i>>>1;e<n.call(t,t[o],o)?i=o:r=o+1}return r}}};var a=n.bisector((function(n){return n}));function c(n){return n.length}function l(n){for(var t=1;n*t%1;)t*=10;return t}function f(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function s(){}n.bisectLeft=a.left,n.bisect=n.bisectRight=a.right,n.shuffle=function(n){for(var t=n.length,e,r;t;)r=Math.random()*t--|0,e=n[t],n[t]=n[r],n[r]=e;return n},n.permute=function(n,t){for(var e=[],r=-1,i=t.length;++r<i;)e[r]=n[t[r]];return e},n.zip=function(){if(!(o=arguments.length))return[];for(var t=-1,e=n.min(arguments,c),r=new Array(e);++t<e;)for(var i=-1,o,u=r[t]=new Array(o);++i<o;)u[i]=arguments[i][t];return r},n.transpose=function(t){return n.zip.apply(n,t)},n.keys=function(n){var t=[];for(var e in n)t.push(e);return t},n.values=function(n){var t=[];for(var e in n)t.push(n[e]);return t},n.entries=function(n){var t=[];for(var e in n)t.push({key:e,value:n[e]});return t},n.merge=function(n){return Array.prototype.concat.apply([],n)},n.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e==1/0)throw new Error("infinite range");var r=[],i=l(Math.abs(e)),o=-1,u;if(n*=i,t*=i,(e*=i)<0)for(;(u=n+e*++o)>t;)r.push(u/i);else for(;(u=n+e*++o)<t;)r.push(u/i);return r},n.map=function(n){var t=new s;for(var e in n)t.set(e,n[e]);return t},f(s,{has:function(n){return h+n in this},get:function(n){return this[h+n]},set:function(n,t){return this[h+n]=t},remove:function(n){return(n=h+n)in this&&delete this[n]},keys:function(){var n=[];return this.forEach((function(t){n.push(t)})),n},values:function(){var n=[];return this.forEach((function(t,e){n.push(e)})),n}
140,entries:function(){var n=[];return this.forEach((function(t,e){n.push({key:t,value:e})})),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===g&&n.call(this,t.substring(1),this[t])}});var h="\0",g=h.charCodeAt(0);function p(){}function d(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function v(){}function m(n){var t=[],e=new s;function r(){for(var e=t,r=-1,i=e.length,o;++r<i;)(o=e[r].on)&&o.apply(this,arguments);return n}return r.on=function(r,i){var o=e.get(r),u;return arguments.length<2?o&&o.on:(o&&(o.on=null,t=t.slice(0,u=t.indexOf(o)).concat(t.slice(u+1)),e.remove(r)),i&&t.push(e.set(r,{on:i})),n)},r}function y(){n.event.stopPropagation(),n.event.preventDefault()}function M(){for(var t=n.event,e;e=t.sourceEvent;)t=e;return t}function x(t){for(var e=new v,r=0,i=arguments.length;++r<i;)e[arguments[r]]=m(e);return e.of=function(r,i){return function(o){try{var u=o.sourceEvent=n.event;o.target=t,n.event=o,e[o.type].apply(r,i)}finally{n.event=u}}},e}n.nest=function(){var t={},e=[],r=[],i,o;function u(n,r,a){if(a>=e.length)return o?o.call(t,r):i?r.sort(i):r;for(var c=-1,l=r.length,f=e[a++],h,g,p,d=new s,v;++c<l;)(v=d.get(h=f(g=r[c])))?v.push(g):d.set(h,[g]);return n?(g=n(),p=function(t,e){g.set(t,u(n,e,a))}):(g={},p=function(t,e){g[t]=u(n,e,a)}),d.forEach(p),g}function a(n,t){if(t>=e.length)return n;var i=[],o=r[t++];return n.forEach((function(n,e){i.push({key:n,values:a(e,t)})})),o?i.sort((function(n,t){return o(n.key,t.key)})):i}return t.map=function(n,t){return u(t,n,0)},t.entries=function(t){return a(u(n.map,t,0),0)},t.key=function(n){return e.push(n),t},t.sortKeys=function(n){return r[e.length-1]=n,t},t.sortValues=function(n){return i=n,t},t.rollup=function(n){return o=n,t},t},n.set=function(n){var t=new p;if(n)for(var e=0;e<n.length;e++)t.add(n[e]);return t},f(p,{has:function(n){return h+n in this},add:function(n){return this[h+n]=!0,n},remove:function(n){return(n=h+n)in this&&delete this[n]},values:function(){var n=[];return this.forEach((function(t){n.push(t)})),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===g&&n.call(this,t.substring(1))}}),n.behavior={},n.rebind=function(n,t){for(var e=1,r=arguments.length,i;++e<r;)n[i=arguments[e]]=d(n,t,t[i]);return n},n.dispatch=function(){for(var n=new v,t=-1,e=arguments.length;++t<e;)n[arguments[t]]=m(n);return n},v.prototype.on=function(n,t){var e=n.indexOf("."),r="";if(e>=0&&(r=n.substring(e+1),n=n.substring(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},n.event=null,n.mouse=function(n){return _(n,M())};var b=/WebKit/.test(e.navigator.userAgent)?-1:0;function _(r,i){var o=r.ownerSVGElement||r;if(o.createSVGPoint){var u=o.createSVGPoint();if(b<0&&(e.scrollX||e.scrollY)){var a=(o=n.select(t.body).append("svg").style("position","absolute").style("top",0).style("left",0))[0][0].getScreenCTM();b=!(a.f||a.e),o.remove()}return b?(u.x=i.pageX,u.y=i.pageY):(u.x=i.clientX,u.y=i.clientY),[(u=u.matrixTransform(r.getScreenCTM().inverse())).x,u.y]}var c=r.getBoundingClientRect();return[i.clientX-c.left-r.clientLeft,i.clientY-c.top-r.clientTop]}var w=E;function S(n){for(var t=-1,e=n.length,r=[];++t<e;)r.push(n[t]);return r}function E(n){return Array.prototype.slice.call(n)}try{w(t.documentElement.childNodes)[0].nodeType}catch(Ua){w=S}var k=[].__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]};function A(n){return k(n,D),n}n.touches=function(n,t){return arguments.length<2&&(t=M().touches),t?w(t).map((function(t){var e=_(n,t);return e.identifier=t.identifier,e})):[]},n.behavior.drag=function(){var t=x(i,"drag","dragstart","dragend"),r=null;function i(){this.on("mousedown.drag",o).on("touchstart.drag",o)}function o(){var i=this,o=t.of(i,arguments),u=n.event.target,a=n.event.touches?n.event.changedTouches[0].identifier:null,c,l=h(),f=0,s=n.select(e).on(null!=a?"touchmove.drag-"+a:"mousemove.drag",g).on(null!=a?"touchend.drag-"+a:"mouseup.drag",p,!0);function h(){var t=i.parentNode;return null!=a?n.touches(t).filter((function(n){return n.identifier===a}
140))[0]:n.mouse(t)}function g(){if(!i.parentNode)return p();var n=h(),t=n[0]-l[0],e=n[1]-l[1];f|=t|e,l=n,y(),o({type:"drag",x:n[0]+c[0],y:n[1]+c[1],dx:t,dy:e})}function p(){o({type:"dragend"}),f&&(y(),n.event.target===u&&s.on("click.drag",d,!0)),s.on(null!=a?"touchmove.drag-"+a:"mousemove.drag",null).on(null!=a?"touchend.drag-"+a:"mouseup.drag",null)}function d(){y(),s.on("click.drag",null)}c=r?[(c=r.apply(i,arguments)).x-l[0],c.y-l[1]]:[0,0],null==a&&y(),o({type:"dragstart"})}return i.origin=function(n){return arguments.length?(r=n,i):r},n.rebind(i,t,"on")};var N=function(n,t){return t.querySelector(n)},q=function(n,t){return t.querySelectorAll(n)},T=t.documentElement,C=T.matchesSelector||T.webkitMatchesSelector||T.mozMatchesSelector||T.msMatchesSelector||T.oMatchesSelector,z=function(n,t){return C.call(n,t)};"function"==typeof Sizzle&&(N=function(n,t){return Sizzle(n,t)[0]||null},q=function(n,t){return Sizzle.uniqueSort(Sizzle(n,t))},z=Sizzle.matchesSelector);var D=[];function j(n){return function(){return N(n,this)}}function L(n){return function(){return q(n,this)}}n.selection=function(){return en},n.selection.prototype=D,D.select=function(n){var t=[],e,r,i,o;"function"!=typeof n&&(n=j(n));for(var u=-1,a=this.length;++u<a;){t.push(e=[]),e.parentNode=(i=this[u]).parentNode;for(var c=-1,l=i.length;++c<l;)(o=i[c])?(e.push(r=n.call(o,o.__data__,c)),r&&"__data__"in o&&(r.__data__=o.__data__)):e.push(null)}return A(t)},D.selectAll=function(n){var t=[],e,r;"function"!=typeof n&&(n=L(n));for(var i=-1,o=this.length;++i<o;)for(var u=this[i],a=-1,c=u.length;++a<c;)(r=u[a])&&(t.push(e=w(n.call(r,r.__data__,a))),e.parentNode=r);return A(t)};var F={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function H(t,e){function r(){this.removeAttribute(t)}function i(){this.removeAttributeNS(t.space,t.local)}function o(){this.setAttribute(t,e)}function u(){this.setAttributeNS(t.space,t.local,e)}function a(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}function c(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}return t=n.ns.qualify(t),null==e?t.local?i:r:"function"==typeof e?t.local?c:a:t.local?u:o}function P(n){return n.trim().replace(/\s+/g," ")}n.ns={prefix:F,qualify:function(n){var t=n.indexOf(":"),e=n;return t>=0&&(e=n.substring(0,t),n=n.substring(t+1)),F.hasOwnProperty(e)?{space:F[e],local:n}:n}},D.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var r=this.node();return(t=n.ns.qualify(t)).local?r.getAttributeNS(t.space,t.local):r.getAttribute(t)}for(e in t)this.each(H(e,t[e]));return this}return this.each(H(t,e))},n.requote=function(n){return n.replace(R,"\\$&")};var R=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;function O(t){return new RegExp("(?:^|\\s+)"+n.requote(t)+"(?:\\s+|$)","g")}function Y(n,t){var e=(n=n.trim().split(/\s+/).map(U)).length;function r(){for(var r=-1;++r<e;)n[r](this,t)}function i(){for(var r=-1,i=t.apply(this,arguments);++r<e;)n[r](this,i)}return"function"==typeof t?i:r}function U(n){var t=O(n);return function(e,r){if(i=e.classList)return r?i.add(n):i.remove(n);var i=e.getAttribute("class")||"";r?(t.lastIndex=0,t.test(i)||e.setAttribute("class",P(i+" "+n))):e.setAttribute("class",P(i.replace(t," ")))}}function I(n,t,e){function r(){this.style.removeProperty(n)}function i(){this.style.setProperty(n,t,e)}function o(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(n):this.style.setProperty(n,r,e)}return null==t?r:"function"==typeof t?o:i}function V(n,t){function e(){delete this[n]}function r(){this[n]=t}function i(){var e=t.apply(this,arguments);null==e?delete this[n]:this[n]=e}return null==t?e:"function"==typeof t?i:r}function X(n){return{__data__:n}}function Z(n){return function(){return z(this,n)}}function B(t){return arguments.length||(t=n.ascending),function(n,e){return!n-!e||t(n.__data__,e.__data__)}}function $(){}function J(t,e,r){var i="__on"+t,o=t.indexOf("."),u=K;o>
1400&&(t=t.substring(0,o));var a=G.get(t);function c(){var n=this[i];n&&(this.removeEventListener(t,n,n.$),delete this[i])}function l(){var n=u(e,w(arguments));c.call(this),this.addEventListener(t,this[i]=n,n.$=r),n._=e}function f(){var e=new RegExp("^__on([^.]+)"+n.requote(t)+"$"),r;for(var i in this)if(r=i.match(e)){var o=this[i];this.removeEventListener(r[1],o,o.$),delete this[i]}}return a&&(t=a,u=W),o?e?l:c:e?$:f}D.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=n.trim().split(/^|\s+/g)).length,i=-1;if(t=e.classList){for(;++i<r;)if(!t.contains(n[i]))return!1}else for(t=e.getAttribute("class");++i<r;)if(!O(n[i]).test(t))return!1;return!0}for(t in n)this.each(Y(t,n[t]));return this}return this.each(Y(n,t))},D.style=function(n,t,r){var i=arguments.length;if(i<3){if("string"!=typeof n){for(r in i<2&&(t=""),n)this.each(I(r,n[r],t));return this}if(i<2)return e.getComputedStyle(this.node(),null).getPropertyValue(n);r=""}return this.each(I(n,t,r))},D.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(V(t,n[t]));return this}return this.each(V(n,t))},D.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},D.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},D.append=function(e){function r(){return this.appendChild(t.createElementNS(this.namespaceURI,e))}function i(){return this.appendChild(t.createElementNS(e.space,e.local))}return e=n.ns.qualify(e),this.select(e.local?i:r)},D.insert=function(e,r){function i(n,i){return this.insertBefore(t.createElementNS(this.namespaceURI,e),r.call(this,n,i))}function o(n,i){return this.insertBefore(t.createElementNS(e.space,e.local),r.call(this,n,i))}return e=n.ns.qualify(e),"function"!=typeof r&&(r=j(r)),this.select(e.local?o:i)},D.remove=function(){return this.each((function(){var n=this.parentNode;n&&n.removeChild(this)}))},D.data=function(n,t){var e=-1,r=this.length,i,o;if(!arguments.length){for(n=new Array(r=(i=this[0]).length);++e<r;)(o=i[e])&&(n[e]=o.__data__);return n}function u(n,e){var r,i=n.length,o=e.length,u=Math.min(i,o),f=new Array(o),h=new Array(o),g=new Array(i),p,d;if(t){var v=new s,m=new s,y=[],M;for(r=-1;++r<i;)M=t.call(p=n[r],p.__data__,r),v.has(M)?g[r]=p:v.set(M,p),y.push(M);for(r=-1;++r<o;)M=t.call(e,d=e[r],r),(p=v.get(M))?(f[r]=p,p.__data__=d):m.has(M)||(h[r]=X(d)),m.set(M,d),v.remove(M);for(r=-1;++r<i;)v.has(y[r])&&(g[r]=n[r])}else{for(r=-1;++r<u;)p=n[r],d=e[r],p?(p.__data__=d,f[r]=p):h[r]=X(d);for(;r<o;++r)h[r]=X(e[r]);for(;r<i;++r)g[r]=n[r]}h.update=f,h.parentNode=f.parentNode=g.parentNode=n.parentNode,a.push(h),c.push(f),l.push(g)}var a=nn([]),c=A([]),l=A([]);if("function"==typeof n)for(;++e<r;)u(i=this[e],n.call(i,i.parentNode.__data__,e));else for(;++e<r;)u(i=this[e],n);return c.enter=function(){return a},c.exit=function(){return l},c},D.datum=function(n){return arguments.length?this.property("__data__",n):this.property("__data__")},D.filter=function(n){var t=[],e,r,i;"function"!=typeof n&&(n=Z(n));for(var o=0,u=this.length;o<u;o++){t.push(e=[]),e.parentNode=(r=this[o]).parentNode;for(var a=0,c=r.length;a<c;a++)(i=r[a])&&n.call(i,i.__data__,a)&&e.push(i)}return A(t)},D.order=function(){for(var n=-1,t=this.length;++n<t;)for(var e=this[n],r=e.length-1,i=e[r],o;--r>=0;)(o=e[r])&&(i&&i!==o.nextSibling&&i.parentNode.insertBefore(o,i),i=o);return this},D.sort=function(n){n=B.apply(this,arguments);for(var t=-1,e=this.length;++t<e;)this[t].sort(n);return this.order()},D.on=function(n,t,e){var r=arguments.length;if(r<3){if("string"!=typeof n){for(e in r<2&&(t=!1),n)this.each(J(e,n[e],t));return this}if(r<2)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(J(n,t,e))};
140var G=n.map({mouseenter:"mouseover",mouseleave:"mouseout"});function K(t,e){return function(r){var i=n.event;n.event=r,e[0]=this.__data__;try{t.apply(this,e)}finally{n.event=i}}}function W(n,t){var e=K(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function Q(n,t){for(var e=0,r=n.length;e<r;e++)for(var i=n[e],o=0,u=i.length,a;o<u;o++)(a=i[o])&&t(a,o,e);return n}function nn(n){return k(n,tn),n}G.forEach((function(n){"on"+n in t&&G.remove(n)})),D.each=function(n){return Q(this,(function(t,e,r){n.call(t,t.__data__,e,r)}))},D.call=function(n){var t=w(arguments);return n.apply(t[0]=this,t),this},D.empty=function(){return!this.node()},D.node=function(){for(var n=0,t=this.length;n<t;n++)for(var e=this[n],r=0,i=e.length;r<i;r++){var o=e[r];if(o)return o}return null};var tn=[];n.selection.enter=nn,n.selection.enter.prototype=tn,tn.append=D.append,tn.insert=D.insert,tn.empty=D.empty,tn.node=D.node,tn.select=function(n){for(var t=[],e,r,i,o,u,a=-1,c=this.length;++a<c;){i=(o=this[a]).update,t.push(e=[]),e.parentNode=o.parentNode;for(var l=-1,f=o.length;++l<f;)(u=o[l])?(e.push(i[l]=r=n.call(o.parentNode,u.__data__,l)),r.__data__=u.__data__):e.push(null)}return A(t)},D.transition=function(){var n=du||++pu,t=[],e,r,i=Object.create(vu);i.time=Date.now();for(var o=-1,u=this.length;++o<u;){t.push(e=[]);for(var a=this[o],c=-1,l=a.length;++c<l;)(r=a[c])&&Mu(r,c,n,i),e.push(r)}return hu(t,n)};var en=A([[t]]);en[0].parentNode=T,n.select=function(n){return"string"==typeof n?en.select(n):A([[n]])},n.selectAll=function(n){return"string"==typeof n?en.selectAll(n):A([w(n)])},n.behavior.zoom=function(){var t=[0,0],r,i=1,o,u=rn,a=x(g,"zoom"),c,l,f,s,h;function g(){this.on("mousedown.zoom",_).on("mousemove.zoom",S).on(un+".zoom",w).on("dblclick.zoom",E).on("touchstart.zoom",k).on("touchmove.zoom",A).on("touchend.zoom",k)}function p(n){return[(n[0]-t[0])/i,(n[1]-t[1])/i]}function d(n){return[n[0]*i+t[0],n[1]*i+t[1]]}function v(n){i=Math.max(u[0],Math.min(u[1],n))}function m(n,e){e=d(e),t[0]+=n[0]-e[0],t[1]+=n[1]-e[1]}function M(){l&&l.domain(c.range().map((function(n){return(n-t[0])/i})).map(c.invert)),s&&s.domain(f.range().map((function(n){return(n-t[1])/i})).map(f.invert))}function b(e){M(),n.event.preventDefault(),e({type:"zoom",scale:i,translate:t})}function _(){var t=this,r=a.of(t,arguments),i=n.event.target,o=0,u=n.select(e).on("mousemove.zoom",l).on("mouseup.zoom",f),c=p(n.mouse(t));function l(){o=1,m(n.mouse(t),c),b(r)}function f(){o&&y(),u.on("mousemove.zoom",null).on("mouseup.zoom",null),o&&n.event.target===i&&u.on("click.zoom",s,!0)}function s(){y(),u.on("click.zoom",null)}e.focus(),y()}function w(){r||(r=p(n.mouse(this))),v(Math.pow(2,.002*on())*i),m(n.mouse(this),r),b(a.of(this,arguments))}function S(){r=null}function E(){var t=n.mouse(this),e=p(t),r=Math.log(i)/Math.LN2;v(Math.pow(2,n.event.shiftKey?Math.ceil(r)-1:Math.floor(r)+1)),m(t,e),b(a.of(this,arguments))}function k(){var t=n.touches(this),e=Date.now();if(o=i,r={},t.forEach((function(n){r[n.identifier]=p(n)})),y(),1===t.length){if(e-h<500){var u=t[0],c=p(t[0]);v(2*i),m(u,c),b(a.of(this,arguments))}h=e}}function A(){var t=n.touches(this),e=t[0],i=r[e.identifier];if(u=t[1]){var u,c=r[u.identifier];e=[(e[0]+u[0])/2,(e[1]+u[1])/2],i=[(i[0]+c[0])/2,(i[1]+c[1])/2],v(n.event.scale*o)}m(e,i),h=null,b(a.of(this,arguments))}return g.translate=function(n){return arguments.length?(t=n.map(Number),M(),g):t},g.scale=function(n){return arguments.length?(i=+n,M(),g):i},g.scaleExtent=function(n){return arguments.length?(u=null==n?rn:n.map(Number),g):u},g.x=function(n){return arguments.length?(l=n,c=n.copy(),t=[0,0],i=1,g):l},g.y=function(n){return arguments.length?(s=n,f=n.copy(),t=[0,0],i=1,g):s},n.rebind(g,a,"on")};var rn=[0,1/0],on,un="onwheel"in t?(on=function(){return-n.event.deltaY*(n.event.deltaMode?120:1)},"wheel"):"onmousewheel"in t?(on=function(){return n.event.wheelDelta},"mousewheel"):(on=function(){return-n.event.detail},"MozMousePixelScroll");function an(){}function cn(n,t,e){return new ln(n,t,e)}function ln(n,t,e){this.h=n,this.s=t,this.l=e}an.prototype.toString=function(){return this.rgb()+""},n.hsl=function(n,t,e){return 1===arguments.length?n instanceof ln?cn(n.h,n.s,n.l):Un(""+n,In,cn):cn(+n,+t,+e)};var fn=ln.prototype=new an;function sn(n,t,e){var r,i;function o(n){return n>360?n-=360:n<0&&(n+=360),n<60?r+(i-r)*n/60:n<180?i:n<240?r+(i-r)*(240-n)/60:r}function u(n){return Math.round(255*o(n))}return(n%=360)<0&&(n+=360),t=t<0?0:t>1?1:t,r=2*(e=e<0?0:e>1?1:e)-(i=e<=.5?e*(1+t):e+t-e*t),Pn(u(n+120),u(n),u(n-120))}fn.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),cn(this.h,this.s,this.l/n)},fn.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),cn(this.h,this.s,n*this.l)},fn.rgb=function(){return sn(this.h,this.s,this.l)};var hn=Math.PI,gn=1e-6,pn=hn/180,dn=180/hn;function vn(n){return n>0?1:n<0?-1:0}function mn(n){return Math.acos(Math.max(-1,Math.min(1,n)))}function yn(n){return n>1?hn/2:n<-1?-hn/2:Math.asin(n)}function Mn(n){return(Math.exp(n)-Math.exp(-n))/2}function xn(n){return(Math.exp(n)+Math.exp(-n))/2}function bn(n){return(n=Math.sin(n/2))*n}function _n(n,t,e){return new wn(n,t,e)}function wn(n,t,e){this.h=n,this.c=t,this.l=e}n.hcl=function(t,e,r){return 1===arguments.length?t instanceof wn?_n(t.h,t.c,t.l):jn(t instanceof An?t.l:(t=Vn((t=n.rgb(t)).r,t.g,t.b)).l,t.a,t.b):_n(+t,+e,+r)};var Sn=wn.prototype=new an;function En(n,t,e){return kn(e,Math.cos(n*=pn)*t,Math.sin(n)*t)}function kn(n,t,e){return new An(n,t,e)}function An(n,t,e){this.l=n,this.a=t,this.b=e}Sn.brighter=function(n){return _n(this.h,this.c,Math.min(100,this.l+Nn*(arguments.length?n:1)))},Sn.darker=function(n){return _n(this.h,this.c,Math.max(0,this.l-Nn*(arguments.length?n:1)))},Sn.rgb=function(){return En(this.h,this.c,this.l).rgb()},n.lab=function(t,e,r){return 1===arguments.length?t instanceof An?kn(t.l,t.a,t.b):t instanceof wn?En(t.l,t.c,t.h):Vn((t=n.rgb(t)).r,t.g,t.b):kn(+t,+e,+r)};var Nn=18,qn=.95047,Tn=1,Cn=1.08883,zn=An.prototype=new an;function Dn(n,t,e){var r=(n+16)/116,i=r+t/500,o=r-e/200;return Pn(Hn(3.2404542*(i=Ln(i)*qn)-1.5371385*(r=1*Ln(r))-.4985314*(o=Ln(o)*Cn)),Hn(-.969266*i+1.8760108*r+.041556*o),Hn(.0556434*i-.2040259*r+1.0572252*o))}function jn(n,t,e){return _n(Math.atan2(e,t)*dn,Math.sqrt(t*t+e*e),n)}function Ln(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function Fn(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function Hn(n){return Math.round(255*(n<=.00304?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function Pn(n,t,e){return new Rn(n,t,e)}function Rn(n,t,e){this.r=n,this.g=t,this.b=e}zn.brighter=function(n){return kn(Math.min(100,this.l+Nn*(arguments.length?n:1)),this.a,this.b)},zn.darker=function(n){return kn(Math.max(0,this.l-Nn*(arguments.length?n:1)),this.a,this.b)},zn.rgb=function(){return Dn(this.l,this.a,this.b)},n.rgb=function(n,t,e){return 1===arguments.length?n instanceof Rn?Pn(n.r,n.g,n.b):Un(""+n,Pn,sn):Pn(~~n,~~t,~~e)};var On=Rn.prototype=new an;function Yn(n){return n<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function Un(n,t,e){var r=0,i=0,o=0,u,a,c;if(u=/([a-z]+)\((.*)\)/i.exec(n))switch(a=u[2].split(","),u[1]){case"hsl":return e(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(Zn(a[0]),Zn(a[1]),Zn(a[2]))}return(c=Bn.get(n))?t(c.r,c.g,c.b):(null!=n&&"#"===n.charAt(0)&&(4===n.length?(r=n.charAt(1),r+=r,i=n.charAt(2),i+=i,o=n.charAt(3),o+=o):7===n.length&&(r=n.substring(1,3),i=n.substring(3,5),o=n.substring(5,7)),r=parseInt(r,16),i=parseInt(i,16),o=parseInt(o,16)),t(r,i,o))}function In(n,t,e){var r=Math.min(n/=255,t/=255,e/=255),i=Math.max(n,t,e),o=i-r,u,a,c=(i+r)/2;return o?(a=c<.5?o/(i+r):o/(2-i-r),u=n==i?(t-e)/o+(t<e?6:0):t==i?(e-n)/o+2:(n-t)/o+4,u*=60):a=u=0,cn(u,a,c)}function Vn(n,t,e){var r=Fn((.4124564*(n=Xn(n))+.3575761*(t=Xn(t))+.1804375*(e=Xn(e)))/qn),i=Fn((.2126729*n+.71
14051522*t+.072175*e)/1),o;return kn(116*i-16,500*(r-i),200*(i-Fn((.0193339*n+.119192*t+.9503041*e)/Cn)))}function Xn(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Zn(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}On.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&t<i&&(t=i),e&&e<i&&(e=i),r&&r<i&&(r=i),Pn(Math.min(255,Math.floor(t/n)),Math.min(255,Math.floor(e/n)),Math.min(255,Math.floor(r/n)))):Pn(i,i,i)},On.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),Pn(Math.floor(n*this.r),Math.floor(n*this.g),Math.floor(n*this.b))},On.hsl=function(){return In(this.r,this.g,this.b)},On.toString=function(){return"#"+Yn(this.r)+Yn(this.g)+Yn(this.b)};var Bn=n.map({aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"});function $n(n){return"function"==typeof n?n:function(){return n}}function Jn(n){return n}function Gn(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function Kn(t,e){var r=new RegExp('["'+t+"\n]"),i=t.charCodeAt(0);function o(t,r,i){arguments.length<3&&(i=r,r=null);var o=n.xhr(t,e,i);return o.row=function(n){return arguments.length?o.response(null==(r=n)?u:a(n)):r},o.row(r)}function u(n){return o.parse(n.responseText)}function a(n){return function(t){return o.parse(t.responseText,n)}}function c(n){return n.map(l).join(t)}function l(n){return r.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}return o.parse=function(n,t){var e;return o.parseRows(n,(function(n,r){if(e)return e(n,r-1);var i=new Function("d","return {"+n.map((function(n,t){return JSON.stringify(n)+": d["+t+"]"})).join(",")+"}");e=t?function(n,e){return t(i(n),e)}:i}))},o.parseRows=function(n,t){var e={},r={},o=[],u=n.length,a=0,c=0,l,f;function s(){if(a>=u)return r;if(f)return f=!1,e;var t=a;if(34===n.charCodeAt(t)){for(var o=t;o++<u;)if(34===n.charCodeAt(o)){if(34!==n.charCodeAt(o+1))break;++o}var c;return a=o+2,13===(c=n.charCodeAt(o+1))?(f=!0,10===n.charCodeAt(o+2)&&++a):10===c&&(f=!0),n.substring(t+1,o).replace(/""/g,'"')}for(;a<u;){var c,l=1;if(10===(c=n.charCodeAt(a++)))f=!0;else if(13===c)f=!0,10===n.charCodeAt(a)&&(++a,++l);else if(c!==i)continue;return n.substring(t,a-l)}return n.substring(t)}for(;(l=s())!==r;){for(var h=[];l!==e&&l!==r;)h.push(l),l=s();t&&!(h=t(h,c++))||o.push(h)}return o},o.format=function(n){if(Array.isArray(n[0]))return o.formatRows(n);var e=new p,r=[];
140return n.forEach((function(n){for(var t in n)e.has(t)||r.push(e.add(t))})),[r.map(l).join(t)].concat(n.map((function(n){return r.map((function(t){return l(n[t])})).join(t)}))).join("\n")},o.formatRows=function(n){return n.map(c).join("\n")},o}Bn.forEach((function(n,t){Bn.set(n,Un(t,Pn,sn))})),n.functor=$n,n.xhr=function(t,r,i){var o={},u=n.dispatch("progress","load","error"),a={},c=Jn,l=new(e.XDomainRequest&&/^(http(s)?:)?\/\//.test(t)?XDomainRequest:XMLHttpRequest);function f(){var n=l.status;!n&&l.responseText||n>=200&&n<300||304===n?u.load.call(o,c.call(o,l)):u.error.call(o,l)}return"onload"in l?l.onload=l.onerror=f:l.onreadystatechange=function(){l.readyState>3&&f()},l.onprogress=function(t){var e=n.event;n.event=t;try{u.progress.call(o,l)}finally{n.event=e}},o.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?a[n]:(null==t?delete a[n]:a[n]=t+"",o)},o.mimeType=function(n){return arguments.length?(r=null==n?null:n+"",o):r},o.response=function(n){return c=n,o},["get","post"].forEach((function(n){o[n]=function(){return o.send.apply(o,[n].concat(w(arguments)))}})),o.send=function(n,e,i){if(2===arguments.length&&"function"==typeof e&&(i=e,e=null),l.open(n,t,!0),null==r||"accept"in a||(a.accept=r+",*/*"),l.setRequestHeader)for(var u in a)l.setRequestHeader(u,a[u]);return null!=r&&l.overrideMimeType&&l.overrideMimeType(r),null!=i&&o.on("error",i).on("load",(function(n){i(null,n)})),l.send(null==e?null:e),o},o.abort=function(){return l.abort(),o},n.rebind(o,u,"on"),2===arguments.length&&"function"==typeof r&&(i=r,r=null),null==i?o:o.get(Gn(i))},n.csv=Kn(",","text/csv"),n.tsv=Kn("\t","text/tab-separated-values");var Wn=0,Qn={},nt=null,tt,et;function rt(){for(var n,t=Date.now(),e=nt;e;)(n=t-e.then)>=e.delay&&(e.flush=e.callback(n)),e=e.next;var r=it()-t;r>24?(isFinite(r)&&(clearTimeout(et),et=setTimeout(rt,r)),tt=0):(tt=1,ot(rt))}function it(){for(var n=null,t=nt,e=1/0;t;)t.flush?(delete Qn[t.callback.id],t=n?n.next=t.next:nt=t.next):(e=Math.min(e,t.then+t.delay),t=(n=t).next);return e}n.timer=function(n,t,e){if(arguments.length<3){if(arguments.length<2)t=0;else if(!isFinite(t))return;e=Date.now()}var r=Qn[n.id];r&&r.callback===n?(r.then=e,r.delay=t):Qn[n.id=++Wn]=nt={callback:n,then:e,delay:t,next:nt},tt||(et=clearTimeout(et),tt=1,ot(rt))},n.timer.flush=function(){for(var n,t=Date.now(),e=nt;e;)n=t-e.then,e.delay||(e.flush=e.callback(n)),e=e.next;it()};var ot=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(n){setTimeout(n,17)},ut=".",at=",",ct=[3,3],lt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(ft);function ft(n,t){var e=Math.pow(10,3*Math.abs(8-t));return{scale:t>8?function(n){return n/e}:function(n){return n*e},symbol:n}}n.formatPrefix=function(t,e){var r=0;return t&&(t<0&&(t*=-1),e&&(t=n.round(t,gt(t,e))),r=1+Math.floor(1e-12+Math.log(t)/Math.LN10),r=Math.max(-24,Math.min(24,3*Math.floor((r<=0?r+1:r-1)/3)))),lt[8+r/3]},n.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)},n.format=function(t){var e=st.exec(t),r=e[1]||" ",i=e[2]||">",o=e[3]||"",u=e[4]||"",a=e[5],c=+e[6],l=e[7],f=e[8],s=e[9],h=1,g="",p=!1;switch(f&&(f=+f.substring(1)),(a||"0"===r&&"="===i)&&(a=r="0",i="=",l&&(c-=Math.floor((c-1)/4))),s){case"n":l=!0,s="g";break;case"%":h=100,g="%",s="f";break;case"p":h=100,g="%",s="r";break;case"b":case"o":case"x":case"X":u&&(u="0"+s.toLowerCase());case"c":case"d":p=!0,f=0;break;case"s":h=-1,s="r"}"#"===u&&(u=""),"r"!=s||f||(s="g"),null!=f&&("g"==s?f=Math.max(1,Math.min(21,f)):"e"!=s&&"f"!=s||(f=Math.max(0,Math.min(20,f)))),s=ht.get(s)||pt;var d=a&&l;return function(t){if(p&&t%1)return"";var e=t<0||0===t&&1/t<0?(t=-t,"-"):o;if(h<0){var v=n.formatPrefix(t,f);t=v.scale(t),g=v.symbol}else t*=h;t=s(t,f),!a&&l&&(t=dt(t));var m=u.length+t.length+(d?0:e.length),y=m<c?new Array(m=c-m+1).join(r):"";return d&&(t=dt(y+t)),t.replace(".",ut),e+=u,("<"===i?e+t+y:">"===i?y+e+t:"^"===i?y.substring(0,m>>=1)+e+t+y.substring(m):e+(d?t:y+t))+g}};var st=/(?:([^{])?([<>=^]))?([+\- ])?(#)?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,ht=n.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(t,e){return(t=n.round(t,gt(t,e))).toFixed(Math.max(0,Math.min(20,gt(t*(1+1e-15),e))))}});function gt(n,t){return t-(n?Math.ceil(Math.log(n)/Math.LN10):1)}function pt(n){return n+""}var dt=Jn;if(ct){var vt=ct.length;dt=function(n){for(var t=n.lastIndexOf("."),e=t>=0?"."+n.substring(t+1):(t=n.length,""),r=[],i=0,o=ct[0];t>0&&o>0;)r.push(n.substring(t-=o,t+o)),o=ct[i=(i+1)%vt];return r.reverse().join(at)+e}}function mt(n,t){Mt.hasOwnProperty(n.type)&&Mt[n.type](n,t)}n.geo={},n.geo.stream=function(n,t){yt.hasOwnProperty(n.type)?yt[n.type](n,t):mt(n,t)};var yt={Feature:function(n,t){mt(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++r<i;)mt(e[r].geometry,t)}},Mt={Sphere:function(n,t){t.sphere()},Point:function(n,t){var e=n.coordinates;t.point(e[0],e[1])},MultiPoint:function(n,t){for(var e=n.coordinates,r=-1,i=e.length,o;++r<i;)o=e[r],t.point(o[0],o[1])},LineString:function(n,t){wt(n.coordinates,t,0)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)wt(e[r],t,0)},Polygon:function(n,t){St(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)St(e[r],t)},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,i=e.length;++r<i;)mt(e[r],t)}},xt,bt,_t;function wt(n,t,e){var r=-1,i=n.length-e,o;for(t.lineStart();++r<i;)o=n[r],t.point(o[0],o[1]);t.lineEnd()}function St(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)wt(n[e],t,1);t.polygonEnd()}n.geo.area=function(t){return xt=0,n.geo.stream(t,Et),xt};var Et={sphere:function(){xt+=4*hn},point:$,lineStart:$,lineEnd:$,polygonStart:function(){bt=1,_t=0,Et.lineStart=Ct},polygonEnd:function(){var n=2*Math.atan2(_t,bt);xt+=n<0?4*hn+n:n,Et.lineStart=Et.lineEnd=Et.point=$}},kt,At,Nt,qt,Tt;function Ct(){var n,t,e,r,i;function o(n,t){t=t*pn/2+hn/4;var o=(n*=pn)-e,u=Math.cos(t),a=Math.sin(t),c=i*a,l=bt,f=_t,s=r*u+c*Math.cos(o),h=c*Math.sin(o);bt=l*s-f*h,_t=f*s+l*h,e=n,r=u,i=a}Et.point=function(u,a){Et.point=o,e=(n=u)*pn,r=Math.cos(a=(t=a)*pn/2+hn/4),i=Math.sin(a)},Et.lineEnd=function(){o(n,t)}}function zt(t){var e,r,i,o,u={point:a,lineStart:$,lineEnd:$,polygonStart:function(){u.lineEnd=c},polygonEnd:function(){u.point=a}};function a(n,t){n<e&&(e=n),n>i&&(i=n),t<r&&(r=t),t>o&&(o=t)}function c(){u.point=u.lineEnd=$}return function(a){return o=i=-(e=r=1/0),n.geo.stream(a,t(u)),[[e,r],[i,o]]}}n.geo.bounds=zt(Jn),n.geo.centroid=function(t){var e;
140if(kt=At=Nt=qt=Tt=0,n.geo.stream(t,Dt),At&&Math.abs(e=Math.sqrt(Nt*Nt+qt*qt+Tt*Tt))>gn)return[Math.atan2(qt,Nt)*dn,Math.asin(Math.max(-1,Math.min(1,Tt/e)))*dn]};var Dt={sphere:function(){kt<2&&(kt=2,At=Nt=qt=Tt=0)},point:jt,lineStart:Ft,lineEnd:Ht,polygonStart:function(){kt<2&&(kt=2,At=Nt=qt=Tt=0),Dt.lineStart=Lt},polygonEnd:function(){Dt.lineStart=Ft}};function jt(n,t){if(!kt){++At,n*=pn;var e=Math.cos(t*=pn);Nt+=(e*Math.cos(n)-Nt)/At,qt+=(e*Math.sin(n)-qt)/At,Tt+=(Math.sin(t)-Tt)/At}}function Lt(){var n,t;kt=1,Ft(),kt=2;var e=Dt.point;Dt.point=function(r,i){e(n=r,t=i)},Dt.lineEnd=function(){Dt.point(n,t),Ht(),Dt.lineEnd=Ht}}function Ft(){var n,t,e;function r(r,i){r*=pn;var o=Math.cos(i*=pn),u=o*Math.cos(r),a=o*Math.sin(r),c=Math.sin(i),l=Math.atan2(Math.sqrt((l=t*c-e*a)*l+(l=e*u-n*c)*l+(l=n*a-t*u)*l),n*u+t*a+e*c);At+=l,Nt+=l*(n+(n=u)),qt+=l*(t+(t=a)),Tt+=l*(e+(e=c))}kt>1||(kt<1&&(kt=1,At=Nt=qt=Tt=0),Dt.point=function(i,o){i*=pn;var u=Math.cos(o*=pn);n=u*Math.cos(i),t=u*Math.sin(i),e=Math.sin(o),Dt.point=r})}function Ht(){Dt.point=jt}function Pt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function Rt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function Ot(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Yt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function Ut(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function It(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function Vt(){return!0}function Xt(n){return[Math.atan2(n[1],n[0]),Math.asin(Math.max(-1,Math.min(1,n[2])))]}function Zt(n,t){return Math.abs(n[0]-t[0])<gn&&Math.abs(n[1]-t[1])<gn}function Bt(n,t,e,r,i){var o=[],u=[];if(n.forEach((function(n){if(!((t=n.length-1)<=0)){var t,e=n[0],r=n[t];if(Zt(e,r)){i.lineStart();for(var a=0;a<t;++a)i.point((e=n[a])[0],e[1]);i.lineEnd()}else{var c={point:e,points:n,other:null,visited:!1,entry:!0,subject:!0},l={point:e,points:[e],other:c,visited:!1,entry:!1,subject:!1};c.other=l,o.push(c),u.push(l),l={point:r,points:[r],other:c={point:r,points:[r],other:null,visited:!1,entry:!1,subject:!0},visited:!1,entry:!0,subject:!1},c.other=l,o.push(c),u.push(l)}}})),u.sort(t),$t(o),$t(u),o.length){if(e)for(var a=1,c=!e(u[0].point),l=u.length;a<l;++a)u[a].entry=c=!c;for(var f=o[0],s,h,g;;){for(s=f;s.visited;)if((s=s.next)===f)return;h=s.points,i.lineStart();do{if(s.visited=s.other.visited=!0,s.entry){if(s.subject)for(var a=0;a<h.length;a++)i.point((g=h[a])[0],g[1]);else r(s.point,s.next.point,1,i);s=s.next}else{if(s.subject)for(var a=(h=s.prev.points).length;--a>=0;)i.point((g=h[a])[0],g[1]);else r(s.point,s.prev.point,-1,i);s=s.prev}h=(s=s.other).points}while(!s.visited);i.lineEnd()}}}function $t(n){if(t=n.length){for(var t,e=0,r=n[0],i;++e<t;)r.next=i=n[e],i.prev=r,r=i;r.next=i=n[0],i.prev=r}}function Jt(t,e,r){return function(i){var o=e(i),u={point:s,lineStart:g,lineEnd:p,polygonStart:function(){u.point=y,u.lineStart=M,u.lineEnd=x,f=!1,l=c=0,a=[],i.polygonStart()},polygonEnd:function(){u.point=s,u.lineStart=g,u.lineEnd=p,(a=n.merge(a)).length?Bt(a,Qt,null,r,i):(c<-gn||f&&l<-gn)&&(i.lineStart(),r(null,null,1,i),i.lineEnd()),i.polygonEnd(),a=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}},a,c,l,f;function s(n,e){t(n,e)&&i.point(n,e)}function h(n,t){o.point(n,t)}function g(){u.point=h,o.lineStart()}function p(){u.point=s,o.lineEnd()}var d=Kt(),v=e(d),m;function y(n,t){v.point(n,t),m.push([n,t])}function M(){v.lineStart(),m=[]}function x(){y(m[0][0],m[0][1]),v.lineEnd();var n=v.clean(),t=d.buffer(),e,r;if(!(r=t.length))return f=!0,l+=Wt(m,-1),void(m=null);if(m=null,1&n){e=t[0],c+=Wt(e,1);var r=e.length-1,o=-1,u;for(i.lineStart();++o<r;)i.point((u=e[o])[0],u[1]);i.lineEnd()}else r>1&&2&n&&t.push(t.pop().concat(t.shift())),a.push(t.filter(Gt))}return u}}function Gt(n){return n.length>1}function Kt(){var n=[],t;return{lineStart:function(){n.push(t=[])},point:function(n,e){t.push([n,e])},lineEnd:$,buffer:function(){var e=n;return n=[],t=null,e},rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))}}}function Wt(n,t){if(!(e=n.length))return 0;for(var e,r=0,i=0,o=n[0],u=o[0],a=o[1],c=Math.cos(a),l=Math.atan2(t*Math.sin(u)*c,Math.sin(a)),f=1-t*Math.cos(u)*c,s=l,h,g;++r<e;
140)o=n[r],c=Math.cos(a=o[1]),h=Math.atan2(t*Math.sin(u=o[0])*c,Math.sin(a)),g=1-t*Math.cos(u)*c,Math.abs(f-2)<gn&&Math.abs(g-2)<gn||(Math.abs(g)<gn||Math.abs(f)<gn||(Math.abs(Math.abs(h-l)-hn)<gn?g+f>2&&(i+=4*(h-l)):Math.abs(f-2)<gn?i+=4*(h-s):i+=((3*hn+h-l)%(2*hn)-hn)*(f+g)),s=l,l=h,f=g);return i}function Qt(n,t){return((n=n.point)[0]<0?n[1]-hn/2-gn:hn/2-n[1])-((t=t.point)[0]<0?t[1]-hn/2-gn:hn/2-t[1])}var ne=Jt(Vt,te,re);function te(n){var t=NaN,e=NaN,r=NaN,i;return{lineStart:function(){n.lineStart(),i=1},point:function(o,u){var a=o>0?hn:-hn,c=Math.abs(o-t);Math.abs(c-hn)<gn?(n.point(t,e=(e+u)/2>0?hn/2:-hn/2),n.point(r,e),n.lineEnd(),n.lineStart(),n.point(a,e),n.point(o,e),i=0):r!==a&&c>=hn&&(Math.abs(t-r)<gn&&(t-=r*gn),Math.abs(o-a)<gn&&(o-=a*gn),e=ee(t,e,o,u),n.point(r,e),n.lineEnd(),n.lineStart(),n.point(a,e),i=0),n.point(t=o,e=u),r=a},lineEnd:function(){n.lineEnd(),t=e=NaN},clean:function(){return 2-i}}}function ee(n,t,e,r){var i,o,u=Math.sin(n-e);return Math.abs(u)>gn?Math.atan((Math.sin(t)*(o=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*o*u)):(t+r)/2}function re(n,t,e,r){var i;if(null==n)i=e*hn/2,r.point(-hn,i),r.point(0,i),r.point(hn,i),r.point(hn,0),r.point(hn,-i),r.point(0,-i),r.point(-hn,-i),r.point(-hn,0),r.point(-hn,i);else if(Math.abs(n[0]-t[0])>gn){var o=(n[0]<t[0]?1:-1)*hn;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(t[0],t[1])}function ie(n){var t=Math.cos(n),e=t>0,r=Math.abs(t)>gn,i;return Jt(o,u,Me(n,6*pn));function o(n,e){return Math.cos(n)*Math.cos(e)>t}function u(n){var t,i,u,l,f;return{lineStart:function(){l=u=!1,f=1},point:function(s,h){var g=[s,h],p,d=o(s,h),v=e?d?0:c(s,h):d?c(s+(s<0?hn:-hn),h):0;if(!t&&(l=u=d)&&n.lineStart(),d!==u&&(p=a(t,g),(Zt(t,p)||Zt(g,p))&&(g[0]+=gn,g[1]+=gn,d=o(g[0],g[1]))),d!==u)f=0,d?(n.lineStart(),p=a(g,t),n.point(p[0],p[1])):(p=a(t,g),n.point(p[0],p[1]),n.lineEnd()),t=p;else if(r&&t&&e^d){var m;
140v&i||!(m=a(g,t,!0))||(f=0,e?(n.lineStart(),n.point(m[0][0],m[0][1]),n.point(m[1][0],m[1][1]),n.lineEnd()):(n.point(m[1][0],m[1][1]),n.lineEnd(),n.lineStart(),n.point(m[0][0],m[0][1])))}!d||t&&Zt(t,g)||n.point(g[0],g[1]),t=g,u=d,i=v},lineEnd:function(){u&&n.lineEnd(),t=null},clean:function(){return f|(l&&u)<<1}}}function a(n,e,r){var i,o,u=[1,0,0],a=Ot(Pt(n),Pt(e)),c=Rt(a,a),l=a[0],f=c-l*l;if(!f)return!r&&n;var s=t*c/f,h=-t*l/f,g=Ot(u,a),p=Ut(u,s),d;Yt(p,Ut(a,h));var v=g,m=Rt(p,v),y=Rt(v,v),M=m*m-y*(Rt(p,p)-1);if(!(M<0)){var x=Math.sqrt(M),b=Ut(v,(-m-x)/y);if(Yt(b,p),b=Xt(b),!r)return b;var _=n[0],w=e[0],S=n[1],E=e[1],k;w<_&&(k=_,_=w,w=k);var A=w-_,N=Math.abs(A-hn)<gn,q;if(!N&&E<S&&(k=S,S=E,E=k),N||A<gn?N?S+E>0^b[1]<(Math.abs(b[0]-_)<gn?S:E):S<=b[1]&&b[1]<=E:A>hn^(_<=b[0]&&b[0]<=w)){var T=Ut(v,(-m+x)/y);return Yt(T,p),[b,Xt(T)]}}}function c(t,r){var i=e?n:hn-n,o=0;return t<-i?o|=1:t>i&&(o|=2),r<-i?o|=4:r>i&&(o|=8),o}}var oe=1e9,ue;function ae(t,e,r,o){return function(f){var s=f,h=Kt(),g,p,d,v={point:q,lineStart:T,lineEnd:C,polygonStart:function(){f=h,g=[],p=[]},polygonEnd:function(){f=s,(g=n.merge(g)).length?(f.polygonStart(),Bt(g,a,S,A,f),f.polygonEnd()):E([t,e])&&(f.polygonStart(),f.lineStart(),A(null,null,1,f),f.lineEnd(),f.polygonEnd()),g=p=d=null}},m,y,M,x,b,_,w;function S(n){var i=u(n,-1),a;return E([0===i||3===i?t:r,i>1?o:e])}function E(n){for(var t=0,e=p.length,r=n[1],o=0;o<e;++o)for(var u=1,a=p[o],c=a.length,l=a[0];u<c;++u)i=a[u],l[1]<=r?i[1]>r&&k(l,i,n)>0&&++t:i[1]<=r&&k(l,i,n)<0&&--t,l=i;return 0!==t}function k(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(e[0]-n[0])*(t[1]-n[1])}function A(n,i,a,l){var f=0,s=0;if(null==n||(f=u(n,a))!==(s=u(i,a))||c(n,i)<0^a>0)do{l.point(0===f||3===f?t:r,f>1?o:e)}while((f=(f+a+4)%4)!==s);else l.point(i[0],i[1])}function N(n,i){return t<=n&&n<=r&&e<=i&&i<=o}function q(n,t){N(n,t)&&f.point(n,t)}function T(){v.point=z,p&&p.push(d=[]),w=!0,_=!1,x=b=NaN}function C(){g&&(z(m,y),M&&_&&h.rejoin(),g.push(h.buffer())),v.point=q,_&&f.lineEnd()}function z(n,t){var e=N(n=Math.max(-1e9,Math.min(oe,n)),t=Math.max(-1e9,Math.min(oe,t)));if(p&&d.push([n,t]),w)m=n,y=t,M=e,w=!1,e&&(f.lineStart(),f.point(n,t));else if(e&&_)f.point(n,t);else{var r=[x,b],i=[n,t];l(r,i)?(_||(f.lineStart(),f.point(r[0],r[1])),f.point(i[0],i[1]),e||f.lineEnd()):(f.lineStart(),f.point(n,t))}x=n,b=t,_=e}return v};function u(n,i){return Math.abs(n[0]-t)<gn?i>0?0:3:Math.abs(n[0]-r)<gn?i>0?2:1:Math.abs(n[1]-e)<gn?i>0?1:0:i>0?3:2}function a(n,t){return c(n.point,t.point)}function c(n,t){var e=u(n,1),r=u(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}function l(n,i){var u=i[0]-n[0],a=i[1]-n[1],c=[0,1];return Math.abs(u)<gn&&Math.abs(a)<gn?t<=n[0]&&n[0]<=r&&e<=n[1]&&n[1]<=o:!!(ce(t-n[0],u,c)&&ce(n[0]-r,-u,c)&&ce(e-n[1],a,c)&&ce(n[1]-o,-a,c))&&(c[1]<1&&(i[0]=n[0]+c[1]*u,i[1]=n[1]+c[1]*a),c[0]>0&&(n[0]+=c[0]*u,n[1]+=c[0]*a),!0)}}function ce(n,t,e){if(Math.abs(t)<gn)return n<=0;var r=n/t;if(t>0){if(r>e[1])return!1;r>e[0]&&(e[0]=r)}else{if(r<e[0])return!1;r<e[1]&&(e[1]=r)}return!0}function le(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return(e=t.invert(e,r))&&n.invert(e[0],e[1])}),e}function fe(n){var t=.5,e=16;function r(t){var r,o,u,a,c,l,f={point:s,lineStart:h,lineEnd:p,polygonStart:function(){t.polygonStart(),f.lineStart=d},polygonEnd:function(){t.polygonEnd(),f.lineStart=h}};function s(e,r){e=n(e,r),t.point(e[0],e[1])}function h(){o=NaN,f.point=g,t.lineStart()}function g(f,s){var h=Pt([f,s]),g=n(f,s);i(o,u,r,a,c,l,o=g[0],u=g[1],r=f,a=h[0],c=h[1],l=h[2],e,t),t.point(o,u)}function p(){f.point=s,t.lineEnd()}function d(){var n,s,d,v,m,y,M;h(),f.point=function(t,e){g(n=t,s=e),d=o,v=u,m=a,y=c,M=l,f.point=g},f.lineEnd=function(){i(o,u,r,a,c,l,d,v,n,m,y,M,e,t),f.lineEnd=p,p()}}return f}function i(e,r,o,u,a,c,l,f,s,h,g,p,d,v){var m=l-e,y=f-r,M=m*m+y*y;if(M>4*t&&d--){var x=u+h,b=a+g,_=c+p,w=Math.sqrt(x*x+b*b+_*_),S=Math.asin(_/=w),E=Math.abs(Math.abs(_)-1)<gn?(o+s)/2:Math.atan2(b,x),k=n(E,S),A=k[0],N=k[1],q=A-e,T=N-r,C=y*q-m*T;(C*C/M>t||Math.abs((m*q+y*T)/M-.5)>.3)&&(i(e,r,o,u,a,c,A,N,E,x/=w,b/=w,_,d,v),v.point(A,N),i(A,N,E,x,b,_,l,f,s,h,g,p,d,v))}}return r.precision=function(n){return arguments.length?(e=(t=n*n)>0&&16,r):Math.sqrt(t)},r}function se(n){return he((function(){return n}))()}function he(t){var e,r,i,o=fe((function(n,t){return[(n=e(n,t))[0]
140*u+p,d-n[1]*u]})),u=150,a=480,c=250,l=0,f=0,s=0,h=0,g=0,p,d,v=ne,m=Jn,y=null,M=null;function x(n){return[(n=i(n[0]*pn,n[1]*pn))[0]*u+p,d-n[1]*u]}function b(n){return(n=i.invert((n[0]-p)/u,(d-n[1])/u))&&[n[0]*dn,n[1]*dn]}function _(){i=le(r=de(s,h,g),e);var n=e(l,f);return p=a-n[0]*u,d=c+n[1]*u,x}return x.stream=function(n){return ge(r,v(o(m(n))))},x.clipAngle=function(n){return arguments.length?(v=null==n?(y=n,ne):ie((y=+n)*pn),x):y},x.clipExtent=function(n){return arguments.length?(M=n,m=null==n?Jn:ae(n[0][0],n[0][1],n[1][0],n[1][1]),x):M},x.scale=function(n){return arguments.length?(u=+n,_()):u},x.translate=function(n){return arguments.length?(a=+n[0],c=+n[1],_()):[a,c]},x.center=function(n){return arguments.length?(l=n[0]%360*pn,f=n[1]%360*pn,_()):[l*dn,f*dn]},x.rotate=function(n){return arguments.length?(s=n[0]%360*pn,h=n[1]%360*pn,g=n.length>2?n[2]%360*pn:0,_()):[s*dn,h*dn,g*dn]},n.rebind(x,o,"precision"),function(){return e=t.apply(this,arguments),x.invert=e.invert&&b,_()}}function ge(n,t){return{point:function(e,r){e=(r=n(e*pn,r*pn))[0],t.point(e>hn?e-2*hn:e<-hn?e+2*hn:e,r[1])},sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function pe(n,t){return[n,t]}function de(n,t,e){return n?t||e?le(me(n),ye(t,e)):me(n):t||e?ye(t,e):pe}function ve(n){return function(t,e){return[(t+=n)>hn?t-2*hn:t<-hn?t+2*hn:t,e]}}function me(n){var t=ve(n);return t.invert=ve(-n),t}function ye(n,t){var e=Math.cos(n),r=Math.sin(n),i=Math.cos(t),o=Math.sin(t);function u(n,t){var u=Math.cos(t),a=Math.cos(n)*u,c=Math.sin(n)*u,l=Math.sin(t),f=l*e+a*r;return[Math.atan2(c*i-f*o,a*e-l*r),Math.asin(Math.max(-1,Math.min(1,f*i+c*o)))]}return u.invert=function(n,t){var u=Math.cos(t),a=Math.cos(n)*u,c=Math.sin(n)*u,l=Math.sin(t),f=l*i-c*o;return[Math.atan2(c*i+l*o,a*e+f*r),Math.asin(Math.max(-1,Math.min(1,f*e-a*r)))]},u}function Me(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,o,u,a){var c;null!=i?(i=xe(e,i),o=xe(e,o),(u>0?i<o:i>o)&&(i+=2*u*hn)):(i=n+2*u*hn,o=n);for(var l=u*t,f=i;u>0?f>o:f<o;f-=l)a.point((c=Xt([e,-r*Math.cos(f),-r*Math.sin(f)]))[0],c[1])}}function xe(n,t){var e=Pt(t);e[0]-=n,It(e);var r=mn(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-gn)%(2*Math.PI)}function be(t,e,r){var i=n.range(t,e-gn,r).concat(e);return function(n){return i.map((function(t){return[n,t]}))}}function _e(t,e,r){var i=n.range(t,e-gn,r).concat(e);return function(n){return i.map((function(t){return[t,n]}))}}function we(n){return n.source}function Se(n){return n.target}function Ee(n,t,e,r){var i=Math.cos(t),o=Math.sin(t),u=Math.cos(r),a=Math.sin(r),c=i*Math.cos(n),l=i*Math.sin(n),f=u*Math.cos(e),s=u*Math.sin(e),h=2*Math.asin(Math.sqrt(bn(r-t)+i*u*bn(e-n))),g=1/Math.sin(h),p=h?function(n){var t=Math.sin(n*=h)*g,e=Math.sin(h-n)*g,r=e*c+t*f,i=e*l+t*s,u=e*o+t*a;return[Math.atan2(i,r)*dn,Math.atan2(u,Math.sqrt(r*r+i*i))*dn]}:function(){return[n*dn,t*dn]};return p.distance=h,p}n.geo.projection=se,n.geo.projectionMutator=he,(n.geo.equirectangular=function(){return se(pe)}).raw=pe.invert=pe,n.geo.rotation=function(n){function t(t){return(t=n(t[0]*pn,t[1]*pn))[0]*=dn,t[1]*=dn,t}return n=de(n[0]%360*pn,n[1]*pn,n.length>2?n[2]*pn:0),t.invert=function(t){return(t=n.invert(t[0]*pn,t[1]*pn))[0]*=dn,t[1]*=dn,t},t},n.geo.circle=function(){var n=[0,0],t,e=6,r;function i(){var t="function"==typeof n?n.apply(this,arguments):n,e=de(-t[0]*pn,-t[1]*pn,0).invert,i=[];return r(null,null,1,{point:function(n,t){i.push(n=e(n,t)),n[0]*=dn,n[1]*=dn}}),{type:"Polygon",coordinates:[i]}}return i.origin=function(t){return arguments.length?(n=t,i):n},i.angle=function(n){return arguments.length?(r=Me((t=+n)*pn,e*pn),i):t},i.precision=function(n){return arguments.length?(r=Me(t*pn,(e=+n)*pn),i):e},i.angle(90)},n.geo.distance=function(n,t){var e=(t[0]-n[0])*pn,r=n[1]*pn,i=t[1]*pn,o=Math.sin(e),u=Math.cos(e),a=Math.sin(r),c=Math.cos(r),l=Math.sin(i),f=Math.cos(i),s;return Math.atan2(Math.sqrt((s=f*o)*s+(s=c*l-a*f*u)*s),a*l+c*f*u)},n.geo.graticule=function(){var t,e,r,i,o,u,a,c,l=10,f=l,s=90,h=360,g,p,d,v,m=2.5;function y(){return{type:"MultiLineString",coordinates:M()}}function M(){return n.range(Math.ceil(i/s)*s,r,s).map(d).concat(n.range(Math.ceil(c/h)*h,a,h).map(v)).concat(n.range(Math.ceil(e/l)*l,t,l).filter((function(n){return Math.abs(n%s)>gn})).map(g)).concat(n.range(Math.ceil(u/f)*f,o,f).filter((function(n){return Math.abs(n%h)>gn})).map(p))}return y.lines=function(){return M().map((function(n){return{type:"LineString",coordinates:n}}))},y.outline=function(){return{type:"Polygon",coordinates:[d(i).concat(v(a).slice(1),d(r).reverse().slice(1),v(c).reverse().slice(1))]}},y.extent=function(n){return arguments.length?y.majorExtent(n).minorExtent(n):y.minorExtent()},y.majorExtent=function(n){return arguments.length?(i=+n[0][0],r=+n[1][0],c=+n[0][1],a=+n[1][1],i>r&&(n=i,i=r,r=n),c>a&&(n=c,c=a,a=n),y.precision(m)):[[i,c],[r,a]]},y.minorExtent=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],u=+n[0][1],o=+n[1][1],e>t&&(n=e,e=t,t=n),u>o&&(n=u,u=o,o=n),y.precision(m)):[[e,u],[t,o]]},y.step=function(n){return arguments.length?y.majorStep(n).minorStep(n):y.minorStep()},y.majorStep=function(n){return arguments.length?(s=+n[0],h=+n[1],y):[s,h]},y.minorStep=function(n){return arguments.length?(l=+n[0],f=+n[1],y):[l,f]},y.precision=function(n){return arguments.length?(m=+n,g=be(u,o,90),p=_e(e,t,m),d=be(c,a,90),v=_e(i,r,m),y):m},y.majorExtent([[-180,-90+gn],[180,90-gn]]).minorExtent([[-180,-80-gn],[180,80+gn]])},n.geo.greatArc=function(){var t=we,e,r=Se,i;function o(){return{type:"LineString",coordinates:[e||t.apply(this,arguments),i||r.apply(this,arguments)]}}return o.distance=function(){return n.geo.distance(e||t.apply(this,arguments),i||r.apply(this,arguments))},o.source=function(n){return arguments.length?(t=n,e="function"==typeof n?null:n,o):t},o.target=function(n){return arguments.length?(r=n,i="function"==typeof n?null:n,o):r},o.precision=function(){return arguments.length?o:0},o}
140,n.geo.interpolate=function(n,t){return Ee(n[0]*pn,n[1]*pn,t[0]*pn,t[1]*pn)},n.geo.length=function(t){return ue=0,n.geo.stream(t,ke),ue};var ke={sphere:$,point:$,lineStart:Ae,lineEnd:$,polygonStart:$,polygonEnd:$};function Ae(){var n,t,e;function r(r,i){var o=Math.sin(i*=pn),u=Math.cos(i),a=Math.abs((r*=pn)-n),c=Math.cos(a);ue+=Math.atan2(Math.sqrt((a=u*Math.sin(a))*a+(a=e*o-t*u*c)*a),t*o+e*u*c),n=r,t=o,e=u}ke.point=function(i,o){n=i*pn,t=Math.sin(o*=pn),e=Math.cos(o),ke.point=r},ke.lineEnd=function(){ke.point=ke.lineEnd=$}}function Ne(n){var t=0,e=hn/3,r=he(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*hn/180,e=n[1]*hn/180):[t/hn*180,e/hn*180]},i}function qe(n,t){var e=Math.sin(n),r=(e+Math.sin(t))/2,i=1+e*(2*r-e),o=Math.sqrt(i)/r;function u(n,t){var e=Math.sqrt(i-2*r*Math.sin(t))/r;return[e*Math.sin(n*=r),o-e*Math.cos(n)]}return u.invert=function(n,t){var e=o-t;return[Math.atan2(n,e)/r,Math.asin((i-(n*n+e*e)*r*r)/(2*r))]},u}function Te(n,t){var e=n(t[0]),r=n([.5*(t[0][0]+t[1][0]),t[0][1]]),i=n([t[1][0],t[0][1]]),o=n(t[1]),u,a,c,l,f=(r[1]-e[1])/(r[0]-e[0]),s=(i[1]-r[1])/(i[0]-r[0]),h=.5*(f*s*(e[1]-i[1])+s*(e[0]+r[0])-f*(r[0]+i[0]))/(s-f),g=(.5*(e[0]+r[0])-h)/f+.5*(e[1]+r[1]),p=o[0]-h,d=o[1]-g,v=e[0]-h,m=e[1]-g,y=p*p+d*d,M=v*v+m*m,x=Math.atan2(d,p),b=Math.atan2(m,v);return function(t){var e=t[0]-h,r=t[1]-g,i=e*e+r*r,o=Math.atan2(r,e);if(y<i&&i<M&&x<o&&o<b)return n.invert(t)}}(n.geo.conicEqualArea=function(){return Ne(qe)}).raw=qe,n.geo.albersUsa=function(){var t=n.geo.conicEqualArea().rotate([98,0]).center([0,38]).parallels([29.5,45.5]),e=n.geo.conicEqualArea().rotate([160,0]).center([0,60]).parallels([55,65]),r=n.geo.conicEqualArea().rotate([160,0]).center([0,20]).parallels([8,18]),i=n.geo.conicEqualArea().rotate([60,0]).center([0,10]).parallels([8,18]),o,u,a;function c(n){return l(n)(n)}function l(n){var o=n[0],u=n[1];return u>50?e:o<-140?r:u<21?i:t}return c.invert=function(n){return o(n)||u(n)||a(n)||t.invert(n)},c.scale=function(n){return arguments.length?(t.scale(n),e.scale(.6*n),r.scale(n),i.scale(1.5*n),c.translate(t.translate())):t.scale()},c.translate=function(n){if(!arguments.length)return t.translate();var l=t.scale(),f=n[0],s=n[1];return t.translate(n),e.translate([f-.4*l,s+.17*l]),r.translate([f-.19*l,s+.2*l]),i.translate([f+.58*l,s+.43*l]),o=Te(e,[[-180,50],[-130,72]]),u=Te(r,[[-164,18],[-154,24]]),a=Te(i,[[-67.5,17.5],[-65,19]]),c},c.scale(1e3)};var Ce,ze,De={point:$,lineStart:$,lineEnd:$,polygonStart:function(){ze=0,De.lineStart=je},polygonEnd:function(){De.lineStart=De.lineEnd=De.point=$,Ce+=Math.abs(ze/2)}};function je(){var n,t,e,r;function i(n,t){ze+=r*n-e*t,e=n,r=t}De.point=function(o,u){De.point=i,n=e=o,t=r=u},De.lineEnd=function(){i(n,t)}}function Le(){var n=Ue(4.5),t=[],e={point:r,lineStart:function(){e.point=i},lineEnd:u,polygonStart:function(){e.lineEnd=a},polygonEnd:function(){e.lineEnd=u,e.point=r},pointRadius:function(t){return n=Ue(t),e},result:function(){if(t.length){var n=t.join("");return t=[],n}}};function r(e,r){t.push("M",e,",",r,n)}function i(n,r){t.push("M",n,",",r),e.point=o}function o(n,e){t.push("L",n,",",e)}function u(){e.point=r}function a(){t.push("Z")}return e}var Fe={point:He,lineStart:Pe,lineEnd:Re,polygonStart:function(){Fe.lineStart=Oe},polygonEnd:function(){Fe.point=He,Fe.lineStart=Pe,Fe.lineEnd=Re}};function He(n,t){kt||(Nt+=n,qt+=t,++Tt)}function Pe(){var n,t;if(1!==kt){if(!(kt<1))return;kt=1,Nt=qt=Tt=0}function e(e,r){var i=e-n,o=r-t,u=Math.sqrt(i*i+o*o);Nt+=u*(n+e)/2,qt+=u*(t+r)/2,Tt+=u,n=e,t=r}Fe.point=function(r,i){Fe.point=e,n=r,t=i}}function Re(){Fe.point=He}function Oe(){var n,t,e,r;function i(n,t){var i=r*n-e*t;Nt+=i*(e+n),qt+=i*(r+t),Tt+=3*i,e=n,r=t}kt<2&&(kt=2,Nt=qt=Tt=0),Fe.point=function(o,u){Fe.point=i,n=e=o,t=r=u},Fe.lineEnd=function(){i(n,t)}}function Ye(n){var t=4.5,e={point:r,lineStart:function(){e.point=i},lineEnd:u,polygonStart:function(){e.lineEnd=a},polygonEnd:function(){e.lineEnd=u,e.point=r},pointRadius:function(n){return t=n,e},result:$};function r(e,r){n.moveTo(e,r),n.arc(e,r,t,0,2*hn)}function i(t,r){n.moveTo(t,r),e.point=o}function o(t,e){n.lineTo(t,e)}function u(){e.point=r}function a(){n.closePath()}return e}function Ue(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function Ie(n){var t=fe((function(t,e){return n([t*dn,e*dn])}));return function(n){return n=t(n),{point:function(t,e){n.point(t*pn,e*pn)},sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()}
140,polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}}function Ve(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),o=n(r*i);return[o*i*Math.sin(t),o*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),o=Math.sin(i),u=Math.cos(i);return[Math.atan2(n*o,r*u),Math.asin(r&&e*o/r)]},e}n.geo.path=function(){var t=4.5,e,r,i,o;function u(e){return e&&n.geo.stream(e,i(o.pointRadius("function"==typeof t?+t.apply(this,arguments):t))),o.result()}return u.area=function(t){return Ce=0,n.geo.stream(t,i(De)),Ce},u.centroid=function(t){return kt=Nt=qt=Tt=0,n.geo.stream(t,i(Fe)),Tt?[Nt/Tt,qt/Tt]:void 0},u.bounds=function(n){return zt(i)(n)},u.projection=function(n){return arguments.length?(i=(e=n)?n.stream||Ie(n):Jn,u):e},u.context=function(n){return arguments.length?(o=null==(r=n)?new Le:new Ye(n),u):r},u.pointRadius=function(n){return arguments.length?(t="function"==typeof n?n:+n,u):t},u.projection(n.geo.albersUsa()).context(null)},n.geo.albers=function(){return n.geo.conicEqualArea().parallels([29.5,45.5]).rotate([98,0]).center([0,38]).scale(1e3)};var Xe=Ve((function(n){return Math.sqrt(2/(1+n))}),(function(n){return 2*Math.asin(n/2)}));(n.geo.azimuthalEqualArea=function(){return se(Xe)}).raw=Xe;var Ze=Ve((function(n){var t=Math.acos(n);return t&&t/Math.sin(t)}),Jn);function Be(n,t){var e=Math.cos(n),r=function(n){return Math.tan(hn/4+n/2)},i=n===t?Math.sin(n):Math.log(e/Math.cos(t))/Math.log(r(t)/r(n)),o=e*Math.pow(r(n),i)/i;if(!i)return Ge;function u(n,t){var e=Math.abs(Math.abs(t)-hn/2)<gn?0:o/Math.pow(r(t),i);return[e*Math.sin(i*n),o-e*Math.cos(i*n)]}return u.invert=function(n,t){var e=o-t,r=vn(i)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/i,2*Math.atan(Math.pow(o/r,1/i))-hn/2]},u}function $e(n,t){var e=Math.cos(n),r=n===t?Math.sin(n):(e-Math.cos(t))/(t-n),i=e/r+n;if(Math.abs(r)<gn)return pe;function o(n,t){var e=i-t;return[e*Math.sin(r*n),i-e*Math.cos(r*n)]}return o.invert=function(n,t){var e=i-t;return[Math.atan2(n,e)/r,i-vn(r)*Math.sqrt(n*n+e*e)]},o}(n.geo.azimuthalEquidistant=function(){return se(Ze)}).raw=Ze,(n.geo.conicConformal=function(){return Ne(Be)}).raw=Be,(n.geo.conicEquidistant=function(){return Ne($e)}).raw=$e;var Je=Ve((function(n){return 1/n}),Math.atan);function Ge(n,t){return[n,Math.log(Math.tan(hn/4+t/2))]}function Ke(n){var t=se(n),e=t.scale,r=t.translate,i=t.clipExtent,o;return t.scale=function(){var n=e.apply(t,arguments);return n===t?o?t.clipExtent(null):t:n},t.translate=function(){var n=r.apply(t,arguments);return n===t?o?t.clipExtent(null):t:n},t.clipExtent=function(n){var u=i.apply(t,arguments);if(u===t){if(o=null==n){var a=hn*e(),c=r();i([[c[0]-a,c[1]-a],[c[0]+a,c[1]+a]])}}else o&&(u=null);return u},t.clipExtent(null)}(n.geo.gnomonic=function(){return se(Je)}).raw=Je,Ge.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-hn/2]},(n.geo.mercator=function(){return Ke(Ge)}).raw=Ge;var We=Ve((function(){return 1}),Math.asin);(n.geo.orthographic=function(){return se(We)}).raw=We;var Qe=Ve((function(n){return 1/(1+n)}),(function(n){return 2*Math.atan(n)}));function nr(n,t){var e=Math.cos(t)*Math.sin(n);return[Math.log((1+e)/(1-e))/2,Math.atan2(Math.tan(t),Math.cos(n))]}function tr(n){var t=er,e=rr,r=Vt,i=or,o=i.key,u=.7;function a(o){var a=[],c=[],l=-1,f=o.length,s,h=$n(t),g=$n(e);function p(){a.push("M",i(n(c),u))}for(;++l<f;)r.call(this,s=o[l],l)?c.push([+h.call(this,s,l),+g.call(this,s,l)]):c.length&&(p(),c=[]);return c.length&&p(),a.length?a.join(""):null}return a.x=function(n){return arguments.length?(t=n,a):t},a.y=function(n){return arguments.length?(e=n,a):e},a.defined=function(n){return arguments.length?(r=n,a):r},a.interpolate=function(n){return arguments.length?(o="function"==typeof n?i=n:(i=ir.get(n)||or).key,a):o},a.tension=function(n){return arguments.length?(u=n,a):u},a}function er(n){return n[0]}function rr(n){return n[1]}(n.geo.stereographic=function(){return se(Qe)}).raw=Qe,nr.invert=function(n,t){return[Math.atan2(Mn(n),Math.cos(t)),yn(Math.sin(t)/xn(n))]},(n.geo.transverseMercator=function(){return Ke(nr)}).raw=nr,n.geom={},n.svg={},n.svg.line=function(){return tr(Jn)};var ir=n.map({linear:or,"linear-closed":ur,"step-before":ar,"step-after":cr,basis:
140pr,"basis-open":dr,"basis-closed":vr,bundle:mr,cardinal:sr,"cardinal-open":lr,"cardinal-closed":fr,monotone:kr});function or(n){return n.join("L")}function ur(n){return or(n)+"Z"}function ar(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("V",(r=n[t])[1],"H",r[0]);return i.join("")}function cr(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r=n[t])[0],"V",r[1]);return i.join("")}function lr(n,t){return n.length<4?or(n):n[1]+hr(n.slice(1,n.length-1),gr(n,t))}function fr(n,t){return n.length<3?or(n):n[0]+hr((n.push(n[0]),n),gr([n[n.length-2]].concat(n,[n[1]]),t))}function sr(n,t){return n.length<3?or(n):n[0]+hr(n,gr(n,t))}function hr(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return or(n);var e=n.length!=t.length,r="",i=n[0],o=n[1],u=t[0],a=u,c=1;if(e&&(r+="Q"+(o[0]-2*u[0]/3)+","+(o[1]-2*u[1]/3)+","+o[0]+","+o[1],i=n[1],c=2),t.length>1){a=t[1],o=n[c],c++,r+="C"+(i[0]+u[0])+","+(i[1]+u[1])+","+(o[0]-a[0])+","+(o[1]-a[1])+","+o[0]+","+o[1];for(var l=2;l<t.length;l++,c++)o=n[c],a=t[l],r+="S"+(o[0]-a[0])+","+(o[1]-a[1])+","+o[0]+","+o[1]}if(e){var f=n[c];r+="Q"+(o[0]+2*a[0]/3)+","+(o[1]+2*a[1]/3)+","+f[0]+","+f[1]}return r}function gr(n,t){for(var e=[],r=(1-t)/2,i,o=n[0],u=n[1],a=1,c=n.length;++a<c;)i=o,o=u,u=n[a],e.push([r*(u[0]-i[0]),r*(u[1]-i[1])]);return e}function pr(n){if(n.length<3)return or(n);var t=1,e=n.length,r=n[0],i=r[0],o=r[1],u=[i,i,i,(r=n[1])[0]],a=[o,o,o,r[1]],c=[i,",",o];for(_r(c,u,a);++t<e;)r=n[t],u.shift(),u.push(r[0]),a.shift(),a.push(r[1]),_r(c,u,a);for(t=-1;++t<2;)u.shift(),u.push(r[0]),a.shift(),a.push(r[1]),_r(c,u,a);return c.join("")}function dr(n){if(n.length<4)return or(n);for(var t=[],e=-1,r=n.length,i,o=[0],u=[0];++e<3;)i=n[e],o.push(i[0]),u.push(i[1]);for(t.push(yr(br,o)+","+yr(br,u)),--e;++e<r;)i=n[e],o.shift(),o.push(i[0]),u.shift(),u.push(i[1]),_r(t,o,u);return t.join("")}function vr(n){for(var t,e=-1,r=n.length,i=r+4,o,u=[],a=[];++e<4;)o=n[e%r],u.push(o[0]),a.push(o[1]);for(t=[yr(br,u),",",yr(br,a)],--e;++e<i;)o=n[e%r],u.shift(),u.push(o[0]),a.shift(),a.push(o[1]),_r(t,u,a);return t.join("")}function mr(n,t){var e=n.length-1;if(e)for(var r=n[0][0],i=n[0][1],o=n[e][0]-r,u=n[e][1]-i,a=-1,c,l;++a<=e;)l=a/e,(c=n[a])[0]=t*c[0]+(1-t)*(r+l*o),c[1]=t*c[1]+(1-t)*(i+l*u);return pr(n)}function yr(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}ir.forEach((function(n,t){t.key=n,t.closed=/-closed$/.test(n)}));var Mr=[0,2/3,1/3,0],xr=[0,1/3,2/3,0],br=[0,1/6,2/3,1/6];function _r(n,t,e){n.push("C",yr(Mr,t),",",yr(Mr,e),",",yr(xr,t),",",yr(xr,e),",",yr(br,t),",",yr(br,e))}function wr(n,t){return(t[1]-n[1])/(t[0]-n[0])}function Sr(n){for(var t=0,e=n.length-1,r=[],i=n[0],o=n[1],u=r[0]=wr(i,o);++t<e;)r[t]=(u+(u=wr(i=o,o=n[t+1])))/2;return r[t]=u,r}function Er(n){for(var t=[],e,r,i,o,u=Sr(n),a=-1,c=n.length-1;++a<c;)e=wr(n[a],n[a+1]),Math.abs(e)<1e-6?u[a]=u[a+1]=0:(o=(r=u[a]/e)*r+(i=u[a+1]/e)*i)>9&&(o=3*e/Math.sqrt(o),u[a]=o*r,u[a+1]=o*i);for(a=-1;++a<=c;)o=(n[Math.min(c,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+u[a]*u[a])),t.push([o||0,u[a]*o||0]);return t}function kr(n){return n.length<3?or(n):n[0]+hr(n,Er(n))}function Ar(n,t,e,r){var i,o,u,a,c,l,f;return o=(i=r[n])[0],u=i[1],a=(i=r[t])[0],c=i[1],l=(i=r[e])[0],((f=i[1])-u)*(a-o)-(c-u)*(l-o)>0}function Nr(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function qr(n,t,e,r){var i=n[0],o=e[0],u=t[0]-i,a=r[0]-o,c=n[1],l=e[1],f=t[1]-c,s=r[1]-l,h=(a*(c-l)-s*(i-o))/(s*u-a*f);return[i+h*u,c+h*f]}n.geom.hull=function(n){var t=er,e=rr;if(arguments.length)return r(n);function r(n){if(n.length<3)return[];var r=$n(t),i=$n(e),o=n.length,u,a=o-1,c=[],l=[],f,s,h,g=0,p,d,v,m,y,M,x,b;if(r===er&&e===rr)u=n;else for(s=0,u=[];s<o;++s)u.push([+r.call(this,f=n[s],s),+i.call(this,f,s)]);for(s=1;s<o;++s)u[s][1]<u[g][1]?g=s:u[s][1]==u[g][1]&&(g=u[s][0]<u[g][0]?s:g);for(s=0;s<o;++s)s!==g&&(d=u[s][1]-u[g][1],p=u[s][0]-u[g][0],c.push({angle:Math.atan2(d,p),index:s}));for(c.sort((function(n,t){return n.angle-t.angle})),x=c[0].angle,M=c[0].index,y=0,s=1;s<a;++s)h=c[s].index,x==c[s].angle?(p=u[M][0]-u[g][0])*p+(d=u[M][1]-u[g][1])*d>=(v=u[h][0]-u[g][0])*v+(m=u[h][1]-u[g][1])*m?c[s].index=-1:(c[y].index=-1,x=c[s].angle,y=s,M=h):(x=c[s].angle,y=s,M=h);for(l.push(g),s=0,h=0;s<2;++h)-1!==c[h].index&&(l.push(c[h].index),s++);for(b=l.length;h<a;++h)if(-1!==c[h].index){for(;!Ar(l[b-2],l[b-1],c[h].index,u);)--b;l[b++]=c[h].index}var _=[];for(s=0;s<b;++s)_.push(n[l[s]]);return _}return r.x=function(n){return arguments.length?(t=n,r):t},r.y=function(n){return arguments.length?(e=n,r):e},r},n.geom.polygon=function(n){return n.area=function(){for(var t=0,e=n.length,r=n[e-1][1]*n[0][0]-n[e-1][0]*n[0][1];++t<e;
140)r+=n[t-1][1]*n[t][0]-n[t-1][0]*n[t][1];return.5*r},n.centroid=function(t){var e=-1,r=n.length,i=0,o=0,u,a=n[r-1],c;for(arguments.length||(t=-1/(6*n.area()));++e<r;)u=a,a=n[e],c=u[0]*a[1]-a[0]*u[1],i+=(u[0]+a[0])*c,o+=(u[1]+a[1])*c;return[i*t,o*t]},n.clip=function(t){for(var e,r=-1,i=n.length,o,u,a=n[i-1],c,l,f;++r<i;){for(e=t.slice(),t.length=0,c=n[r],l=e[(u=e.length)-1],o=-1;++o<u;)Nr(f=e[o],a,c)?(Nr(l,a,c)||t.push(qr(l,f,a,c)),t.push(f)):Nr(l,a,c)&&t.push(qr(l,f,a,c)),l=f;a=c}return t},n},n.geom.delaunay=function(n){var t=n.map((function(){return[]})),e=[];return Cr(n,(function(e){t[e.region.l.index].push(n[e.region.r.index])})),t.forEach((function(t,r){var i=n[r],o=i[0],u=i[1];t.forEach((function(n){n.angle=Math.atan2(n[0]-o,n[1]-u)})),t.sort((function(n,t){return n.angle-t.angle}));for(var a=0,c=t.length-1;a<c;a++)e.push([i,t[a],t[a+1]])})),e},n.geom.voronoi=function(t){var e=null,r=er,i=rr,o;if(arguments.length)return u(t);function u(t){var e,u=t.map((function(){return[]})),a=$n(r),c=$n(i),l,f,s=t.length,h=1e6;if(a===er&&c===rr)e=t;else for(e=[],f=0;f<s;++f)e.push([+a.call(this,l=t[f],f),+c.call(this,l,f)]);if(Cr(e,(function(n){var t,e,r,i,o,a;1===n.a&&n.b>=0?(t=n.ep.r,e=n.ep.l):(t=n.ep.l,e=n.ep.r),1===n.a?(o=t?t.y:-h,r=n.c-n.b*o,a=e?e.y:h,i=n.c-n.b*a):(r=t?t.x:-h,o=n.c-n.a*r,i=e?e.x:h,a=n.c-n.a*i);var c=[r,o],l=[i,a];u[n.region.l.index].push(c,l),u[n.region.r.index].push(c,l)})),u=u.map((function(t,r){var i=e[r][0],o=e[r][1],u=t.map((function(n){return Math.atan2(n[0]-i,n[1]-o)})),a=n.range(t.length).sort((function(n,t){return u[n]-u[t]}));return a.filter((function(n,t){return!t||u[n]-u[a[t-1]]>gn})).map((function(n){return t[n]}))})),u.forEach((function(n,t){var r=n.length;if(!r)return n.push([-h,-h],[-h,h],[h,h],[h,-h]);if(!(r>2)){var i=e[t],o=n[0],u=n[1],a=i[0],c=i[1],l=o[0],f=o[1],s=u[0],g=u[1],p=Math.abs(s-l),d=g-f;if(Math.abs(d)<gn){var v=c<f?-h:h;n.push([-h,v],[h,v])}else if(p<gn){var m=a<l?-h:h;n.push([m,-h],[m,h])}else{var v=(s-l)*(f-c)<(l-a)*(g-f)?h:-h,y=Math.abs(d)-p;Math.abs(y)<gn?n.push([d<0?v:-v,v]):(y>0&&(v*=-1),n.push([-h,v],[h,v]))}}})),o)for(f=0;f<s;++f)o(u[f]);for(f=0;f<s;++f)u[f].point=t[f];return u}return u.x=function(n){return arguments.length?(r=n,u):r},u.y=function(n){return arguments.length?(i=n,u):i},u.size=function(t){return arguments.length?(null==t?o=null:(e=[+t[0],+t[1]],o=n.geom.polygon([[0,0],[0,e[1]],e,[e[0],0]]).clip),u):e},u.links=function(n){var t,e=n.map((function(){return[]})),o=[],u=$n(r),a=$n(i),c,l,f=n.length;if(u===er&&a===rr)t=n;else for(l=0;l<f;++l)t.push([+u.call(this,c=n[l],l),+a.call(this,c,l)]);return Cr(t,(function(t){var r=t.region.l.index,i=t.region.r.index;e[r][i]||(e[r][i]=e[i][r]=!0,o.push({source:n[r],target:n[i]}))})),o},u.triangles=function(t){if(r===er&&i===rr)return n.geom.delaunay(t);var e,o,u=$n(r),a=$n(i),c,l,f;for(l=0,e=[],f=t.length;l<f;++l)(o=[+u.call(this,c=t[l],l),+a.call(this,c,l)]).data=c,e.push(o);return n.geom.delaunay(e).map((function(n){return n.map((function(n){return n.data}))}))},u};var Tr={l:"r",r:"l"};function Cr(n,t){var e={list:n.map((function(n,t){return{index:t,x:n[0],y:n[1]}})).sort((function(n,t){return n.y<t.y?-1:n.y>t.y?1:n.x<t.x?-1:n.x>t.x?1:0})),bottomSite:null},r={list:[],leftEnd:null,rightEnd:null,init:function(){r.leftEnd=r.createHalfEdge(null,"l"),r.rightEnd=r.createHalfEdge(null,"l"),r.leftEnd.r=r.rightEnd,r.rightEnd.l=r.leftEnd,r.list.unshift(r.leftEnd,r.rightEnd)},createHalfEdge:function(n,t){return{edge:n,side:t,vertex:null,l:null,r:null}},insert:function(n,t){t.l=n,t.r=n.r,n.r.l=t,n.r=t},leftBound:function(n){var t=r.leftEnd;do{t=t.r}while(t!=r.rightEnd&&i.rightOf(t,n));return t=t.l},del:function(n){n.l.r=n.r,n.r.l=n.l,n.edge=null},right:function(n){return n.r},left:function(n){return n.l},leftRegion:function(n){return null==n.edge?e.bottomSite:n.edge.region[n.side]},rightRegion:function(n){return null==n.edge?e.bottomSite:n.edge.region[Tr[n.side]]}},i={bisect:function(n,t){var e={region:{l:n,r:t},ep:{l:null,r:null}},r=t.x-n.x,i=t.y-n.y,o=r>0?r:-r,u=i>0?i:-i;return e.c=n.x*r+n.y*i+.5*(r*r+i*i),o>u?(e.a=1,e.b=i/r,e.c/=r):(e.b=1,e.a=r/i,e.c/=i),e},intersect:function(n,t){var e=n.edge,r=t.edge;
140if(!e||!r||e.region.r==r.region.r)return null;var i=e.a*r.b-e.b*r.a;if(Math.abs(i)<1e-10)return null;var o=(e.c*r.b-r.c*e.b)/i,u=(r.c*e.a-e.c*r.a)/i,a=e.region.r,c=r.region.r,l,f;a.y<c.y||a.y==c.y&&a.x<c.x?(l=n,f=e):(l=t,f=r);var s=o>=f.region.r.x;return s&&"l"===l.side||!s&&"r"===l.side?null:{x:o,y:u}},rightOf:function(n,t){var e=n.edge,r=e.region.r,i=t.x>r.x;if(i&&"l"===n.side)return 1;if(!i&&"r"===n.side)return 0;if(1===e.a){var o=t.y-r.y,u=t.x-r.x,a=0,c=0;if(!i&&e.b<0||i&&e.b>=0?c=a=o>=e.b*u:(c=t.x+t.y*e.b>e.c,e.b<0&&(c=!c),c||(a=1)),!a){var l=r.x-e.region.l.x;c=e.b*(u*u-o*o)<l*o*(1+2*u/l+e.b*e.b),e.b<0&&(c=!c)}}else{var f=e.c-e.a*t.x,s=t.y-f,h=t.x-r.x,g=f-r.y;c=s*s>h*h+g*g}return"l"===n.side?c:!c},endPoint:function(n,e,r){n.ep[e]=r,n.ep[Tr[e]]&&t(n)},distance:function(n,t){var e=n.x-t.x,r=n.y-t.y;return Math.sqrt(e*e+r*r)}},o={list:[],insert:function(n,t,e){n.vertex=t,n.ystar=t.y+e;for(var r=0,i=o.list,u=i.length;r<u;r++){var a=i[r];if(!(n.ystar>a.ystar||n.ystar==a.ystar&&t.x>a.vertex.x))break}i.splice(r,0,n)},del:function(n){for(var t=0,e=o.list,r=e.length;t<r&&e[t]!=n;++t);e.splice(t,1)},empty:function(){return 0===o.list.length},nextEvent:function(n){for(var t=0,e=o.list,r=e.length;t<r;++t)if(e[t]==n)return e[t+1];return null},min:function(){var n=o.list[0];return{x:n.vertex.x,y:n.ystar}},extractMin:function(){return o.list.shift()}};r.init(),e.bottomSite=e.list.shift();for(var u=e.list.shift(),a,c,l,f,s,h,g,p,d,v,m,y,M;;)if(o.empty()||(a=o.min()),u&&(o.empty()||u.y<a.y||u.y==a.y&&u.x<a.x))c=r.leftBound(u),l=r.right(c),g=r.rightRegion(c),y=i.bisect(g,u),h=r.createHalfEdge(y,"l"),r.insert(c,h),(v=i.intersect(c,h))&&(o.del(c),o.insert(c,v,i.distance(v,u))),c=h,h=r.createHalfEdge(y,"r"),r.insert(c,h),(v=i.intersect(h,l))&&o.insert(h,v,i.distance(v,u)),u=e.list.shift();else{if(o.empty())break;c=o.extractMin(),f=r.left(c),l=r.right(c),s=r.right(l),g=r.leftRegion(c),p=r.rightRegion(l),m=c.vertex,i.endPoint(c.edge,c.side,m),i.endPoint(l.edge,l.side,m),r.del(c),o.del(l),r.del(l),M="l",g.y>p.y&&(d=g,g=p,p=d,M="r"),y=i.bisect(g,p),h=r.createHalfEdge(y,M),r.insert(f,h),i.endPoint(y,Tr[M],m),(v=i.intersect(f,h))&&(o.del(f),o.insert(f,v,i.distance(v,g))),(v=i.intersect(h,s))&&o.insert(h,v,i.distance(v,g))}for(c=r.right(r.leftEnd);c!=r.rightEnd;c=r.right(c))t(c.edge)}function zr(n){return n.x}function Dr(n){return n.y}function jr(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Lr(n,t,e,r,i,o){if(!n(t,e,r,i,o)){var u=.5*(e+i),a=.5*(r+o),c=t.nodes;c[0]&&Lr(n,c[0],e,r,u,a),c[1]&&Lr(n,c[1],u,r,i,a),c[2]&&Lr(n,c[2],e,a,u,o),c[3]&&Lr(n,c[3],u,a,i,o)}}function Fr(t,e){t=n.rgb(t),e=n.rgb(e);var r=t.r,i=t.g,o=t.b,u=e.r-r,a=e.g-i,c=e.b-o;return function(n){return"#"+Yn(Math.round(r+u*n))+Yn(Math.round(i+a*n))+Yn(Math.round(o+c*n))}}function Hr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Rr(t),i=Pr(t,e),o=Rr(Or(e,t,-i))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*dn,this.translate=[n.e,n.f],this.scale=[r,o],this.skew=o?Math.atan2(i,o)*dn:0}function Pr(n,t){return n[0]*t[0]+n[1]*t[1]}function Rr(n){var t=Math.sqrt(Pr(n,n));return t&&(n[0]/=t,n[1]/=t),t}function Or(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}n.geom.quadtree=function(n,t,e,r,i){var o=er,u=rr,a;if(a=arguments.length)return o=zr,u=Dr,3===a&&(i=e,r=t,e=t=0),c(n);function c(n){var c,l=$n(o),f=$n(u),s,h,g,p,d,v,m,y;if(null!=t)d=t,v=e,m=r,y=i;else if(m=y=-(d=v=1/0),s=[],h=[],p=n.length,a)for(g=0;g<p;++g)(c=n[g]).x<d&&(d=c.x),c.y<v&&(v=c.y),c.x>m&&(m=c.x),c.y>y&&(y=c.y),s.push(c.x),h.push(c.y);else for(g=0;g<p;++g){var M=+l(c=n[g],g),x=+f(c,g);M<d&&(d=M),x<v&&(v=x),M>m&&(m=M),x>y&&(y=x),s.push(M),h.push(x)}var b=m-d,_=y-v;function w(n,t,e,r,i,o,u,a){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var c=n.x,l=n.y;if(null!=c)if(Math.abs(c-e)+Math.abs(l-r)<.01)S(n,t,e,r,i,o,u,a);else{var f=n.point;n.x=n.y=n.point=null,S(n,f,c,l,i,o,u,a),S(n,t,e,r,i,o,u,a)}else n.x=e,n.y=r,n.point=t}else S(n,t,e,r,i,o,u,a)}function S(n,t,e,r,i,o,u,a){var c=.5*(i+u),l=.5*(o+a),f=e>=c,s=r>=l,h=(s<<1)+f;n.leaf=!1,f?i=c:u=c,s?o=l:a=l,w(n=n.nodes[h]||(n.nodes[h]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,e,r,i,o,u,a)}b>_?y=v+b:m=d+_;var E={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(n){w(E,n,+l(n,++g),+f(n,g),d,v,m,y)},visit:function(n){Lr(n,E,d,v,m,y)}};if(g=-1,null==t){for(;++g<p;)w(E,n[g],s[g],h[g],d,v,m,y);--g}
140else n.forEach(E.add);return s=h=n=c=null,E}return c.x=function(n){return arguments.length?(o=n,c):o},c.y=function(n){return arguments.length?(u=n,c):u},c.size=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=e=0,r=+n[0],i=+n[1]),c):null==t?null:[r,i]},c},n.interpolateRgb=Fr,n.transform=function(e){var r=t.createElementNS(n.ns.prefix.svg,"g");return(n.transform=function(n){r.setAttribute("transform",n);var t=r.transform.baseVal.consolidate();return new Hr(t?t.matrix:Yr)})(e)},Hr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Yr={a:1,b:0,c:0,d:1,e:0,f:0};function Ur(n,t){return t-=n,function(e){return n+t*e}}function Ir(t,e){var r=[],i=[],o,u=n.transform(t),a=n.transform(e),c=u.translate,l=a.translate,f=u.rotate,s=a.rotate,h=u.skew,g=a.skew,p=u.scale,d=a.scale;return c[0]!=l[0]||c[1]!=l[1]?(r.push("translate(",null,",",null,")"),i.push({i:1,x:Ur(c[0],l[0])},{i:3,x:Ur(c[1],l[1])})):l[0]||l[1]?r.push("translate("+l+")"):r.push(""),f!=s?(f-s>180?s+=360:s-f>180&&(f+=360),i.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:Ur(f,s)})):s&&r.push(r.pop()+"rotate("+s+")"),h!=g?i.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:Ur(h,g)}):g&&r.push(r.pop()+"skewX("+g+")"),p[0]!=d[0]||p[1]!=d[1]?(o=r.push(r.pop()+"scale(",null,",",null,")"),i.push({i:o-4,x:Ur(p[0],d[0])},{i:o-2,x:Ur(p[1],d[1])})):1==d[0]&&1==d[1]||r.push(r.pop()+"scale("+d+")"),o=i.length,function(n){for(var t=-1,e;++t<o;)r[(e=i[t]).i]=e.x(n);return r.join("")}}function Vr(n,t){var e={},r={},i;for(i in n)i in t?e[i]=$r(i)(n[i],t[i]):r[i]=n[i];for(i in t)i in n||(r[i]=t[i]);return function(n){for(i in e)r[i]=e[i](n);return r}}function Xr(n,t){var e,r,i,o=0,u=0,a=[],c=[],l,f;for(Zr.lastIndex=0,r=0;e=Zr.exec(t);++r)e.index&&a.push(t.substring(o,u=e.index)),c.push({i:a.length,x:e[0]}),a.push(null),o=Zr.lastIndex;for(o<t.length&&a.push(t.substring(o)),r=0,l=c.length;(e=Zr.exec(n))&&r<l;++r)if((f=c[r]).x==e[0]){if(f.i)if(null==a[f.i+1])for(a[f.i-1]+=f.x,a.splice(f.i,1),i=r+1;i<l;++i)c[i].i--;else for(a[f.i-1]+=f.x+a[f.i+1],a.splice(f.i,2),i=r+1;i<l;++i)c[i].i-=2;else if(null==a[f.i+1])a[f.i]=f.x;else for(a[f.i]=f.x+a[f.i+1],a.splice(f.i+1,1),i=r+1;i<l;++i)c[i].i--;c.splice(r,1),l--,r--}else f.x=Ur(parseFloat(e[0]),parseFloat(f.x));for(;r<l;)f=c.pop(),null==a[f.i+1]?a[f.i]=f.x:(a[f.i]=f.x+a[f.i+1],a.splice(f.i+1,1)),l--;return 1===a.length?null==a[0]?c[0].x:function(){return t}:function(n){for(r=0;r<l;++r)a[(f=c[r]).i]=f.x(n);return a.join("")}}n.interpolateNumber=Ur,n.interpolateTransform=Ir,n.interpolateObject=Vr,n.interpolateString=Xr;var Zr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;function Br(t,e){for(var r=n.interpolators.length,i;--r>=0&&!(i=n.interpolators[r](t,e)););return i}function $r(n){return"transform"==n?Ir:Br}function Jr(n,t){var e=[],r=[],i=n.length,o=t.length,u=Math.min(n.length,t.length),a;for(a=0;a<u;++a)e.push(Br(n[a],t[a]));for(;a<i;++a)r[a]=n[a];for(;a<o;++a)r[a]=t[a];return function(n){for(a=0;a<u;++a)r[a]=e[a](n);return r}}n.interpolate=Br,n.interpolators=[Vr,function(n,t){return Array.isArray(t)&&Jr(n,t)},function(n,t){return("string"==typeof n||"string"==typeof t)&&Xr(n+"",t+"")},function(n,t){return("string"==typeof t?Bn.has(t)||/^(#|rgb\(|hsl\()/.test(t):t instanceof an)&&Fr(n,t)},function(n,t){return!isNaN(n=+n)&&!isNaN(t=+t)&&Ur(n,t)}],n.interpolateArray=Jr;var Gr=function(){return Jn},Kr=n.map({linear:Gr,poly:oi,quad:function(){return ei},cubic:function(){return ri},sin:function(){return ui},exp:function(){return ai},circle:function(){return ci},elastic:li,back:fi,bounce:function(){return si}}),Wr=n.map({in:Jn,out:ni,"in-out":ti,"out-in":function(n){return ti(ni(n))}});function Qr(n){return function(t){return t<=0?0:t>=1?1:n(t)}}function ni(n){return function(t){return 1-n(1-t)}}function ti(n){return function(t){return.5*(t<.5?n(2*t):2-n(2-2*t))}}function ei(n){return n*n}function ri(n){return n*n*n}function ii(n){if(n<=0)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(n<.5?e:3*(n-t)+e-.75)}function oi(n){return function(t){return Math.pow(t,n)}}function ui(n){return 1-Math.cos(n*hn/2)}function ai(n){return Math.pow(2,10*(n-1))}function ci(n){return 1-Math.sqrt(1-n*n)}function li(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/(2*hn)*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,10*-r)*Math.sin(2*(r-e)*hn/t)}}function fi(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function si(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function hi(t,e){t=n.hcl(t),e=n.hcl(e);var r=t.h,i=t.c,o=t.l,u=e.h-r,a=e.c-i,c=e.l-o;return u>180?u-=360:u<-180&&(u+=360),function(n){return En(r+u*n,i+a*n,o+c*n)+""}}function gi(t,e){t=n.hsl(t),e=n.hsl(e);var r=t.h,i=t.s,o=t.l,u=e.h-r,a=e.s-i,c=e.l-o;return u>180?u-=360:u<-180&&(u+=360),function(n){return sn(r+u*n,i+a*n,o+c*n)+""}}function pi(t,e){t=n.lab(t),e=n.lab(e);var r=t.l,i=t.a,o=t.b,u=e.l-r,a=e.a-i,c=e.b-o;return function(n){return Dn(r+u*n,i+a*n,o+c*n)+""}}function di(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function vi(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return(e-n)*t}}function mi(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return Math.max(0,Math.min(1,(e-n)*t))}}function yi(n){for(var t=n.source,e=n.target,r=xi(t,e),i=[t];t!==r;)t=t.parent,i.push(t);for(var o=i.length;e!==r;)i.splice(o,0,e),e=e.parent;return i}function Mi(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function xi(n,t){if(n===t)return n;for(var e=Mi(n),r=Mi(t),i=e.pop(),o=r.pop(),u=null;i===o;)u=i,i=e.pop(),o=r.pop();return u}function bi(n){n.fixed|=2}function _i(n){n.fixed&=-7}function wi(n){n.fixed|=4,n.px=n.x,n.py=n.y}function Si(n){n.fixed&=-5}function Ei(n,t,e){var r=0,i=0;if(n.charge=0,!n.leaf)for(var o=n.nodes,u=o.length,a=-1,c;++a<u;)null!=(c=o[a])&&(Ei(c,t,e),n.charge+=c.charge,r+=c.charge*c.cx,i+=c.charge*c.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var l=t*e[n.point.index];n.charge+=n.pointCharge=l,r+=l*n.point.x,i+=l*n.point.y}n.cx=r/n.charge,n.cy=i/n.charge}n.ease=function(n){var t=n.indexOf("-"),e=t>=0?n.substring(0,t):n,r=t>=0?n.substring(t+1):"in";return e=Kr.get(e)||Gr,Qr((r=Wr.get(r)||Jn)(e.apply(null,Array.prototype.slice.call(arguments,1
140))))},n.interpolateHcl=hi,n.interpolateHsl=gi,n.interpolateLab=pi,n.interpolateRound=di,n.layout={},n.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++e<r;)t.push(yi(n[e]));return t}},n.layout.chord=function(){var t={},e,r,i,o,u=0,a,c,l;function f(){var t={},f=[],h=n.range(o),g=[],p,d,v,m,y;for(e=[],r=[],p=0,m=-1;++m<o;){for(d=0,y=-1;++y<o;)d+=i[m][y];f.push(d),g.push(n.range(o)),p+=d}for(a&&h.sort((function(n,t){return a(f[n],f[t])})),c&&g.forEach((function(n,t){n.sort((function(n,e){return c(i[t][n],i[t][e])}))})),p=(2*hn-u*o)/p,d=0,m=-1;++m<o;){for(v=d,y=-1;++y<o;){var M=h[m],x=g[M][y],b=i[M][x],_=d,w=d+=b*p;t[M+"-"+x]={index:M,subindex:x,startAngle:_,endAngle:w,value:b}}r[M]={index:M,startAngle:v,endAngle:d,value:(d-v)/p},d+=u}for(m=-1;++m<o;)for(y=m-1;++y<o;){var S=t[m+"-"+y],E=t[y+"-"+m];(S.value||E.value)&&e.push(S.value<E.value?{source:E,target:S}:{source:S,target:E})}l&&s()}function s(){e.sort((function(n,t){return l((n.source.value+n.target.value)/2,(t.source.value+t.target.value)/2)}))}return t.matrix=function(n){return arguments.length?(o=(i=n)&&i.length,e=r=null,t):i},t.padding=function(n){return arguments.length?(u=n,e=r=null,t):u},t.sortGroups=function(n){return arguments.length?(a=n,e=r=null,t):a},t.sortSubgroups=function(n){return arguments.length?(c=n,e=null,t):c},t.sortChords=function(n){return arguments.length?(l=n,e&&s(),t):l},t.chords=function(){return e||f(),e},t.groups=function(){return r||f(),r},t},n.layout.force=function(){var t={},e=n.dispatch("start","tick","end"),r=[1,1],i,o,u=.9,a=ki,c=Ai,l=-30,f=.1,s=.8,h=[],g=[],p,d,v;function m(n){return function(t,e,r,i){if(t.point!==n){var o=t.cx-n.x,u=t.cy-n.y,a=1/Math.sqrt(o*o+u*u);if((i-e)*a<s){var c=t.charge*a*a;return n.px-=o*c,n.py-=u*c,!0}if(t.point&&isFinite(a)){var c=t.pointCharge*a*a;n.px-=o*c,n.py-=u*c}}return!t.charge}}function y(e){e.px=n.event.x,e.py=n.event.y,t.resume()}return t.tick=function(){if((o*=.99)<.005)return e.end({type:"end",alpha:o=0}),!0;var t=h.length,i=g.length,a,c,s,y,M,x,b,_,w;for(c=0;c<i;++c)y=(s=g[c]).source,(x=(_=(M=s.target).x-y.x)*_+(w=M.y-y.y)*w)&&(_*=x=o*d[c]*((x=Math.sqrt(x))-p[c])/x,w*=x,M.x-=_*(b=y.weight/(M.weight+y.weight)),M.y-=w*b,y.x+=_*(b=1-b),y.y+=w*b);if((b=o*f)&&(_=r[0]/2,w=r[1]/2,c=-1,b))for(;++c<t;)(s=h[c]).x+=(_-s.x)*b,s.y+=(w-s.y)*b;if(l)for(Ei(a=n.geom.quadtree(h),o,v),c=-1;++c<t;)(s=h[c]).fixed||a.visit(m(s));for(c=-1;++c<t;)(s=h[c]).fixed?(s.x=s.px,s.y=s.py):(s.x-=(s.px-(s.px=s.x))*u,s.y-=(s.py-(s.py=s.y))*u);e.tick({type:"tick",alpha:o})},t.nodes=function(n){return arguments.length?(h=n,t):h},t.links=function(n){return arguments.length?(g=n,t):g},t.size=function(n){return arguments.length?(r=n,t):r},t.linkDistance=function(n){return arguments.length?(a="function"==typeof n?n:+n,t):a},t.distance=t.linkDistance,t.linkStrength=function(n){return arguments.length?(c="function"==typeof n?n:+n,t):c},t.friction=function(n){return arguments.length?(u=+n,t):u},t.charge=function(n){return arguments.length?(l="function"==typeof n?n:+n,t):l},t.gravity=function(n){return arguments.length?(f=+n,t):f},t.theta=function(n){return arguments.length?(s=+n,t):s},t.alpha=function(r){return arguments.length?(r=+r,o?o=r>0?r:0:r>0&&(e.start({type:"start",alpha:o=r}),n.timer(t.tick)),t):o},t.start=function(){var n,e,i=h.length,o=g.length,u=r[0],f=r[1],s,m;for(n=0;n<i;++n)(m=h[n]).index=n,m.weight=0;for(n=0;n<o;++n)"number"==typeof(m=g[n]).source&&(m.source=h[m.source]),"number"==typeof m.target&&(m.target=h[m.target]),++m.source.weight,++m.target.weight;for(n=0;n<i;
140++n)m=h[n],isNaN(m.x)&&(m.x=y("x",u)),isNaN(m.y)&&(m.y=y("y",f)),isNaN(m.px)&&(m.px=m.x),isNaN(m.py)&&(m.py=m.y);if(p=[],"function"==typeof a)for(n=0;n<o;++n)p[n]=+a.call(this,g[n],n);else for(n=0;n<o;++n)p[n]=a;if(d=[],"function"==typeof c)for(n=0;n<o;++n)d[n]=+c.call(this,g[n],n);else for(n=0;n<o;++n)d[n]=c;if(v=[],"function"==typeof l)for(n=0;n<i;++n)v[n]=+l.call(this,h[n],n);else for(n=0;n<i;++n)v[n]=l;function y(t,e){for(var r=M(n),i=-1,o=r.length,u;++i<o;)if(!isNaN(u=r[i][t]))return u;return Math.random()*e}function M(){if(!s){for(s=[],e=0;e<i;++e)s[e]=[];for(e=0;e<o;++e){var t=g[e];s[t.source.index].push(t.target),s[t.target.index].push(t.source)}}return s[n]}return t.resume()},t.resume=function(){return t.alpha(.1)},t.stop=function(){return t.alpha(0)},t.drag=function(){if(i||(i=n.behavior.drag().origin(Jn).on("dragstart.force",bi).on("drag.force",y).on("dragend.force",_i)),!arguments.length)return i;this.on("mouseover.force",wi).on("mouseout.force",Si).call(i)},n.rebind(t,e,"on")};var ki=20,Ai=1;function Ni(t,e){return n.rebind(t,e,"sort","children","value"),t.nodes=t,t.links=zi,t}function qi(n){return n.children}function Ti(n){return n.value}function Ci(n,t){return t.value-n.value}function zi(t){return n.merge(t.map((function(n){return(n.children||[]).map((function(t){return{source:n,target:t}}))})))}n.layout.hierarchy=function(){var n=Ci,t=qi,e=Ti;function r(i,u,a){var c=t.call(o,i,u);if(i.depth=u,a.push(i),c&&(f=c.length)){for(var l=-1,f,s=i.children=[],h=0,g=u+1,p;++l<f;)(p=r(c[l],g,a)).parent=i,s.push(p),h+=p.value;n&&s.sort(n),e&&(i.value=h)}else e&&(i.value=+e.call(o,i,u)||0);return i}function i(n,t){var r=n.children,u=0;if(r&&(c=r.length))for(var a=-1,c,l=t+1;++a<c;)u+=i(r[a],l);else e&&(u=+e.call(o,n,t)||0);return e&&(n.value=u),u}function o(n){var t=[];return r(n,0,t),t}return o.sort=function(t){return arguments.length?(n=t,o):n},o.children=function(n){return arguments.length?(t=n,o):t},o.value=function(n){return arguments.length?(e=n,o):e},o.revalue=function(n){return i(n,0),n},o},n.layout.partition=function(){var t=n.layout.hierarchy(),e=[1,1];function r(n,t,e,i){var o=n.children;if(n.x=t,n.y=n.depth*i,n.dx=e,n.dy=i,o&&(a=o.length)){var u=-1,a,c,l;
140for(e=n.value?e/n.value:0;++u<a;)r(c=o[u],t,l=c.value*e,i),t+=l}}function i(n){var t=n.children,e=0;if(t&&(o=t.length))for(var r=-1,o;++r<o;)e=Math.max(e,i(t[r]));return 1+e}function o(n,o){var u=t.call(this,n,o);return r(u[0],0,e[0],e[1]/i(u[0])),u}return o.size=function(n){return arguments.length?(e=n,o):e},Ni(o,t)},n.layout.pie=function(){var t=Number,e=Di,r=0,i=2*hn;function o(u){var a=u.map((function(n,e){return+t.call(o,n,e)})),c=+("function"==typeof r?r.apply(this,arguments):r),l=(("function"==typeof i?i.apply(this,arguments):i)-c)/n.sum(a),f=n.range(u.length);null!=e&&f.sort(e===Di?function(n,t){return a[t]-a[n]}:function(n,t){return e(u[n],u[t])});var s=[];return f.forEach((function(n){var t;s[n]={data:u[n],value:t=a[n],startAngle:c,endAngle:c+=t*l}})),s}return o.value=function(n){return arguments.length?(t=n,o):t},o.sort=function(n){return arguments.length?(e=n,o):e},o.startAngle=function(n){return arguments.length?(r=n,o):r},o.endAngle=function(n){return arguments.length?(i=n,o):i},o};var Di={};function ji(n){return n.x}function Li(n){return n.y}function Fi(n,t,e){n.y0=t,n.y=e}n.layout.stack=function(){var t=Jn,e=Ri,r=Oi,i=Fi,o=ji,u=Li;function a(c,l){var f=c.map((function(n,e){return t.call(a,n,e)})),s=f.map((function(n){return n.map((function(n,t){return[o.call(a,n,t),u.call(a,n,t)]}))})),h=e.call(a,s,l);f=n.permute(f,h),s=n.permute(s,h);var g=r.call(a,s,l),p=f.length,d=f[0].length,v,m,y;for(m=0;m<d;++m)for(i.call(a,f[0][m],y=g[m],s[0][m][1]),v=1;v<p;++v)i.call(a,f[v][m],y+=s[v-1][m][1],s[v][m][1]);return c}return a.values=function(n){return arguments.length?(t=n,a):t},a.order=function(n){return arguments.length?(e="function"==typeof n?n:Hi.get(n)||Ri,a):e},a.offset=function(n){return arguments.length?(r="function"==typeof n?n:Pi.get(n)||Oi,a):r},a.x=function(n){return arguments.length?(o=n,a):o},a.y=function(n){return arguments.length?(u=n,a):u},a.out=function(n){return arguments.length?(i=n,a):i},a};var Hi=n.map({"inside-out":function(t){var e=t.length,r,i,o=t.map(Yi),u=t.map(Ui),a=n.range(e).sort((function(n,t){return o[n]-o[t]})),c=0,l=0,f=[],s=[];for(r=0;r<e;++r)i=a[r],c<l?(c+=u[i],f.push(i)):(l+=u[i],s.push(i));return s.reverse().concat(f)},reverse:function(t){return n.range(t.length).reverse()},default:Ri}),Pi=n.map({silhouette:function(n){var t=n.length,e=n[0].length,r=[],i=0,o,u,a,c=[];for(u=0;u<e;++u){for(o=0,a=0;o<t;o++)a+=n[o][u][1];a>i&&(i=a),r.push(a)}for(u=0;u<e;++u)c[u]=(i-r[u])/2;return c},wiggle:function(n){var t=n.length,e=n[0],r=e.length,i,o,u,a,c,l,f,s,h,g=[];for(g[0]=s=h=0,o=1;o<r;++o){for(i=0,a=0;i<t;++i)a+=n[i][o][1];for(i=0,c=0,f=e[o][0]-e[o-1][0];i<t;++i){for(u=0,l=(n[i][o][1]-n[i][o-1][1])/(2*f);u<i;++u)l+=(n[u][o][1]-n[u][o-1][1])/f;c+=l*n[i][o][1]}g[o]=s-=a?c/a*f:0,s<h&&(h=s)}for(o=0;o<r;++o)g[o]-=h;return g},expand:function(n){var t=n.length,e=n[0].length,r=1/t,i,o,u,a=[];for(o=0;o<e;++o){for(i=0,u=0;i<t;i++)u+=n[i][o][1];if(u)for(i=0;i<t;i++)n[i][o][1]/=u;else for(i=0;i<t;i++)n[i][o][1]=r}for(o=0;o<e;++o)a[o]=0;return a},zero:Oi});function Ri(t){return n.range(t.length)}function Oi(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function Yi(n){for(var t=1,e=0,r=n[0][1],i,o=n.length;t<o;++t)(i=n[t][1])>r&&(e=t,r=i);return e}function Ui(n){return n.reduce(Ii,0)}function Ii(n,t){return n+t[1]}function Vi(n,t){return Xi(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function Xi(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,o=[];++e<=t;)o[e]=i*e+r;return o}function Zi(t){return[n.min(t),n.max(t)]}function Bi(n,t){return n.parent==t.parent?1:2}function $i(n){var t=n.children;return t&&t.length?t[0]:n._tree.thread}function Ji(n){var t=n.children,e;return t&&(e=t.length)?t[e-1]:n._tree.thread}function Gi(n,t){var e=n.children;if(e&&(i=e.length))for(var r,i,o=-1;++o<i;)t(r=Gi(e[o],t),n)>0&&(n=r);return n}function Ki(n,t){return n.x-t.x}function Wi(n,t){return t.x-n.x}function Qi(n,t){return n.depth-t.depth}function no(n,t){function e(n,r){var i=n.children;if(i&&(c=i.length))for(var o,u=null,a=-1,c;++a<c;)e(o=i[a],u),u=o;t(n,r)}e(n,null)}function to(n){for(var t=0,e=0,r=n.children,i=r.length,o;--i>=0;)(o=r[i]._tree).prelim+=t,o.mod+=t,t+=o.shift+(e+=o.change)}function eo(n,t,e){n=n._tree;var r=e/((t=t._tree).number-n.number);n.change+=r,t.change-=r,t.shift+=e,t.prelim+=e,t.mod+=e}function ro(n,t,e){return n._tree.ancestor.parent==t.parent?n._tree.ancestor:e}function io(n,t){return n.value-t.value}function oo(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function uo(n,t){n._pack_next=t,t._pack_prev=n}function ao(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return i*i-e*e-r*r>.001}function co(n){if((t=n.children)&&(h=t.length)){var t,e=1/0,r=-1/0,i=1/0,o=-1/0,u,a,c,l,f,s,h;if(t.forEach(lo),(u=t[0]).x=-u.r,u.y=0,M(u),h>1&&((a=t[1]).x=a.r,a.y=0,M(a),h>2))for(ho(u,a,c=t[2]),M(c),oo(u,c),u._pack_prev=c,oo(c,a),a=u._pack_next,l=3;l<h;l++){ho(u,a,c=t[l]);var g=0,p=1,d=1;for(f=a._pack_next;f!==a;f=f._pack_next,p++)if(ao(f,c)){g=1;break}if(1==g)for(s=u._pack_prev;s!==f._pack_prev&&!ao(s,c);s=s._pack_prev,d++);g?(p<d||p==d&&a.r<u.r?uo(u,a=f):uo(u=s,a),l--):(oo(u,c),a=c,M(c))}var v=(e+r)/2,m=(i+o)/2,y=0;for(l=0;l<h;l++)(c=t[l]).x-=v,c.y-=m,y=Math.max(y,c.r+Math.sqrt(c.x*c.x+c.y*c.y));n.r=y,t.forEach(fo)}function M(n){e=Math.min(n.x-n.r,e),r=Math.max(n.x+n.r,r),i=Math.min(n.y-n.r,i),o=Math.max(n.y+n.r,o)}}function lo(n){n._pack_next=n._pack_prev=n}function fo(n){delete n._pack_next,delete n._pack_prev}function so(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var o=-1,u=i.length;++o<u;)so(i[o],t,e,r)}function ho(n,t,e){var r=n.r+e.r,i=t.x-n.x,o=t.y-n.y;if(r&&(i||o)){var u=t.r+e.r,a=i*i+o*o,c=.5+((r*=r)-(u*=u))/(2*a),l=Math.sqrt(Math.max(0,2*u*(r+a)-(r-=a)*r-u*u))/(2*a);e.x=n.x+c*i+l*o,e.y=n.y+c*o-l*i}else e.x=n.x+r,e.y=n.y}function go(t){return 1+n.max(t,(function(n){return n.y}))}function po(n){return n.reduce((function(n,t){return n+t.x}),0)/n.length}function vo(n){var t=n.children;return t&&t.length?vo(t[0]):n}function mo(n){var t=n.children,e;return t&&(e=t.length)?mo(t[e-1]):n}function yo(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Mo(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],o=n.dy-t[0]-t[2];return i<0&&(e+=i/2,i=0),o<0&&(r+=o/2,o=0),{x:e,y:r,dx:i,dy:o}}function xo(n){var t=n[0],e=n[n.length-1];return t<e?[t,e]:[e,t]}function bo(n){return n.rangeExtent?n.rangeExtent():xo(n.range())}function _o(n,t,e,r){var i=e(n[0],n[1]),o=r(t[0],t[1]);return function(n){return o(i(n))}}function wo(n,t){var e=0,r=n.length-1,i=n[e],o=n[r],u;return o<i&&(u=e,e=r,r=u,u=i,i=o,o=u),(t=t(o-i))&&(n[e]=t.floor(i),n[r]=t.ceil(o)),n}function So(t,e,r,i){var o=[],u=[],a=0,c=Math.min(t.length,e.length)-1;for(t[c]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<=c;
140)o.push(r(t[a-1],t[a])),u.push(i(e[a-1],e[a]));return function(e){var r=n.bisect(t,e,1,c)-1;return u[r](o[r](e))}}function Eo(n,t,e,r){var i,o;function u(){var u=Math.min(n.length,t.length)>2?So:_o,c=r?mi:vi;return i=u(n,t,c,e),o=u(t,n,c,Br),a}function a(n){return i(n)}return a.invert=function(n){return o(n)},a.domain=function(t){return arguments.length?(n=t.map(Number),u()):n},a.range=function(n){return arguments.length?(t=n,u()):t},a.rangeRound=function(n){return a.range(n).interpolate(di)},a.clamp=function(n){return arguments.length?(r=n,u()):r},a.interpolate=function(n){return arguments.length?(e=n,u()):e},a.ticks=function(t){return qo(n,t)},a.tickFormat=function(t,e){return To(n,t,e)},a.nice=function(){return wo(n,Ao),u()},a.copy=function(){return Eo(n,t,e,r)},u()}function ko(t,e){return n.rebind(t,e,"range","rangeRound","interpolate","clamp")}function Ao(n){return(n=Math.pow(10,Math.round(Math.log(n)/Math.LN10)-1))&&{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}}function No(n,t){var e=xo(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),o=t/r*i;return o<=.15?i*=10:o<=.35?i*=5:o<=.75&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function qo(t,e){return n.range.apply(n,No(t,e))}function To(t,e,r){var i=-Math.floor(Math.log(No(t,e)[2])/Math.LN10+.01);return n.format(r?r.replace(st,(function(n,t,e,r,o,u,a,c,l,f){return[t,e,r,o,u,a,c,l||"."+(i-2*("%"===f)),f].join("")})):",."+i+"f")}function Co(n,t,e,r){function i(t){return n(e(t))}return i.invert=function(t){return r(n.invert(t))},i.domain=function(t){return arguments.length?(t[0]<0?(e=Lo,r=Fo):(e=Do,r=jo),n.domain(t.map(e)),i):n.domain().map(r)},i.base=function(n){return arguments.length?(t=+n,i):t},i.nice=function(){return n.domain(wo(n.domain(),Ho(t))),i},i.ticks=function(){var i=xo(n.domain()),o=[];if(i.every(isFinite)){var u=Math.log(t),a=Math.floor(i[0]/u),c=Math.ceil(i[1]/u),l=r(i[0]),f=r(i[1]),s=t%1?2:t;if(e===Lo)for(o.push(-Math.pow(t,-a));a++<c;)for(var h=s-1;h>0;h--)o.push(-Math.pow(t,-a)*h);else{for(;a<c;a++)for(var h=1;h<s;h++)o.push(Math.pow(t,a)*h);o.push(Math.pow(t,a))}for(a=0;o[a]<l;a++);for(c=o.length;o[c-1]>f;c--);o=o.slice(a,c)}return o},i.tickFormat=function(n,o){if(arguments.length<2&&(o=zo),!arguments.length)return o;var u=Math.log(t),a=Math.max(.1,n/i.ticks().length),c=e===Lo?(l=-1e-12,Math.floor):(l=1e-12,Math.ceil),l;return function(n){return n/r(u*c(e(n)/u+l))<=a?o(n):""}},i.copy=function(){return Co(n.copy(),t,e,r)},ko(i,n)}n.layout.histogram=function(){var t=!0,e=Number,r=Zi,i=Vi;function o(o,u){for(var a=[],c=o.map(e,this),l=r.call(this,c,u),f=i.call(this,l,c,u),s,u=-1,h=c.length,g=f.length-1,p=t?1:1/h,d;++u<g;)(s=a[u]=[]).dx=f[u+1]-(s.x=f[u]),s.y=0;if(g>0)for(u=-1;++u<h;)(d=c[u])>=l[0]&&d<=l[1]&&((s=a[n.bisect(f,d,1,g)-1]).y+=p,s.push(o[u]));return a}return o.value=function(n){return arguments.length?(e=n,o):e},o.range=function(n){return arguments.length?(r=$n(n),o):r},o.bins=function(n){return arguments.length?(i="number"==typeof n?function(t){return Xi(t,n)}:$n(n),o):i},o.frequency=function(n){return arguments.length?(t=!!n,o):t},o},n.layout.tree=function(){var t=n.layout.hierarchy().sort(null).value(null),e=Bi,r=[1,1];function i(n,i){var o=t.call(this,n,i),u=o[0];function a(n,t){var r=n.children,i=n._tree;if(r&&(o=r.length)){for(var o,u=r[0],c,f=u,s,h=-1;++h<o;)a(s=r[h],c),f=l(s,c,f),c=s;to(n);var g=.5*(u._tree.prelim+s._tree.prelim);t?(i.prelim=t._tree.prelim+e(n,t),i.mod=i.prelim-g):i.prelim=g}else t&&(i.prelim=t._tree.prelim+e(n,t))}function c(n,t){n.x=n._tree.prelim+t;var e=n.children;if(e&&(i=e.length)){var r=-1,i;for(t+=n._tree.mod;++r<i;)c(e[r],t)}}function l(n,t,r){if(t){for(var i=n,o=n,u=t,a=n.parent.children[0],c=i._tree.mod,l=o._tree.mod,f=u._tree.mod,s=a._tree.mod,h;u=Ji(u),i=$i(i),u&&i;)a=$i(a),(o=Ji(o))._tree.ancestor=n,(h=u._tree.prelim+f-i._tree.prelim-c+e(u,i))>0&&(eo(ro(u,n,r),n,h),c+=h,l+=h),f+=u._tree.mod,c+=i._tree.mod,s+=a._tree.mod,l+=o._tree.mod;u&&!Ji(o)&&(o._tree.thread=u,o._tree.mod+=f-l),i&&!$i(a)&&(a._tree.thread=i,a._tree.mod+=c-s,r=n)}return r}no(u,(function(n,t){n._tree={ancestor:n,prelim:0,mod:0,change:0,shift:0,number:t?t._tree.number+1:0}}
140)),a(u),c(u,-u._tree.prelim);var f=Gi(u,Wi),s=Gi(u,Ki),h=Gi(u,Qi),g=f.x-e(f,s)/2,p=s.x+e(s,f)/2,d=h.depth||1;return no(u,(function(n){n.x=(n.x-g)/(p-g)*r[0],n.y=n.depth/d*r[1],delete n._tree})),o}return i.separation=function(n){return arguments.length?(e=n,i):e},i.size=function(n){return arguments.length?(r=n,i):r},Ni(i,t)},n.layout.pack=function(){var t=n.layout.hierarchy().sort(io),e=0,r=[1,1];function i(n,i){var o=t.call(this,n,i),u=o[0];u.x=0,u.y=0,no(u,(function(n){n.r=Math.sqrt(n.value)})),no(u,co);var a=r[0],c=r[1],l=Math.max(2*u.r/a,2*u.r/c);if(e>0){var f=e*l/2;no(u,(function(n){n.r+=f})),no(u,co),no(u,(function(n){n.r-=f})),l=Math.max(2*u.r/a,2*u.r/c)}return so(u,a/2,c/2,1/l),o}return i.size=function(n){return arguments.length?(r=n,i):r},i.padding=function(n){return arguments.length?(e=+n,i):e},Ni(i,t)},n.layout.cluster=function(){var t=n.layout.hierarchy().sort(null).value(null),e=Bi,r=[1,1];function i(n,i){var o=t.call(this,n,i),u=o[0],a,c=0;no(u,(function(n){var t=n.children;t&&t.length?(n.x=po(t),n.y=go(t)):(n.x=a?c+=e(n,a):0,n.y=0,a=n)}));var l=vo(u),f=mo(u),s=l.x-e(l,f)/2,h=f.x+e(f,l)/2;return no(u,(function(n){n.x=(n.x-s)/(h-s)*r[0],n.y=(1-(u.y?n.y/u.y:1))*r[1]})),o}return i.separation=function(n){return arguments.length?(e=n,i):e},i.size=function(n){return arguments.length?(r=n,i):r},Ni(i,t)},n.layout.treemap=function(){var t=n.layout.hierarchy(),e=Math.round,r=[1,1],i=null,o=yo,u=!1,a,c="squarify",l=.5*(1+Math.sqrt(5));function f(n,t){for(var e=-1,r=n.length,i,o;++e<r;)o=(i=n[e]).value*(t<0?0:t),i.area=isNaN(o)||o<=0?0:o}function s(n){var t=n.children;if(t&&t.length){var e=o(n),r=[],i=t.slice(),u,a=1/0,l,h="slice"===c?e.dx:"dice"===c?e.dy:"slice-dice"===c?1&n.depth?e.dy:e.dx:Math.min(e.dx,e.dy),d;for(f(i,e.dx*e.dy/n.value),r.area=0;(d=i.length)>0;)r.push(u=i[d-1]),r.area+=u.area,"squarify"!==c||(l=g(r,h))<=a?(i.pop(),a=l):(r.area-=r.pop().area,p(r,h,e,!1),h=Math.min(e.dx,e.dy),r.length=r.area=0,a=1/0);r.length&&(p(r,h,e,!0),r.length=r.area=0),t.forEach(s)}}function h(n){var t=n.children;if(t&&t.length){var e=o(n),r=t.slice(),i,u=[];for(f(r,e.dx*e.dy/n.value),u.area=0;i=r.pop();)u.push(i),u.area+=i.area,null!=i.z&&(p(u,i.z?e.dx:e.dy,e,!r.length),u.length=u.area=0);t.forEach(h)}}function g(n,t){for(var e=n.area,r,i=0,o=1/0,u=-1,a=n.length;++u<a;)(r=n[u].area)&&(r<o&&(o=r),r>i&&(i=r));return t*=t,(e*=e)?Math.max(t*i*l/e,e/(t*o*l)):1/0}function p(n,t,r,i){var o=-1,u=n.length,a=r.x,c=r.y,l=t?e(n.area/t):0,f;if(t==r.dx){for((i||l>r.dy)&&(l=r.dy);++o<u;)(f=n[o]).x=a,f.y=c,f.dy=l,a+=f.dx=Math.min(r.x+r.dx-a,l?e(f.area/l):0);f.z=!0,f.dx+=r.x+r.dx-a,r.y+=l,r.dy-=l}else{for((i||l>r.dx)&&(l=r.dx);++o<u;)(f=n[o]).x=a,f.y=c,f.dx=l,c+=f.dy=Math.min(r.y+r.dy-c,l?e(f.area/l):0);f.z=!1,f.dy+=r.y+r.dy-c,r.x+=l,r.dx-=l}}function d(n){var e=a||t(n),i=e[0];return i.x=0,i.y=0,i.dx=r[0],i.dy=r[1],a&&t.revalue(i),f([i],i.dx*i.dy/i.value),(a?h:s)(i),u&&(a=e),e}return d.size=function(n){return arguments.length?(r=n,d):r},d.padding=function(n){if(!arguments.length)return i;function t(t){var e=n.call(d,t,t.depth);return null==e?yo(t):Mo(t,"number"==typeof e?[e,e,e,e]:e)}
140function e(t){return Mo(t,n)}var r;return o=null==(i=n)?yo:"function"==(r=typeof n)?t:"number"===r?(n=[n,n,n,n],e):e,d},d.round=function(n){return arguments.length?(e=n?Math.round:Number,d):e!=Number},d.sticky=function(n){return arguments.length?(u=n,a=null,d):u},d.ratio=function(n){return arguments.length?(l=n,d):l},d.mode=function(n){return arguments.length?(c=n+"",d):c},Ni(d,t)},n.random={normal:function(n,t){var e=arguments.length;return e<2&&(t=1),e<1&&(n=0),function(){var e,r,i;do{i=(e=2*Math.random()-1)*e+(r=2*Math.random()-1)*r}while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=n.random.normal.apply(n,arguments);return function(){return Math.exp(t())}},irwinHall:function(n){return function(){for(var t=0,e=0;e<n;e++)t+=Math.random();return t/n}}},n.scale={},n.scale.linear=function(){return Eo([0,1],[0,1],Br,!1)},n.scale.log=function(){return Co(n.scale.linear().domain([0,Math.LN10]),10,Do,jo)};var zo=n.format(".0e");function Do(n){return Math.log(n<0?0:n)}function jo(n){return Math.exp(n)}function Lo(n){return-Math.log(n>0?0:-n)}function Fo(n){return-Math.exp(-n)}function Ho(n){n=Math.log(n);var t={floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}};return function(){return t}}function Po(n,t){var e=Ro(t),r=Ro(1/t);function i(t){return n(e(t))}return i.invert=function(t){return r(n.invert(t))},i.domain=function(t){return arguments.length?(n.domain(t.map(e)),i):n.domain().map(r)},i.ticks=function(n){return qo(i.domain(),n)}
140,i.tickFormat=function(n,t){return To(i.domain(),n,t)},i.nice=function(){return i.domain(wo(i.domain(),Ao))},i.exponent=function(n){if(!arguments.length)return t;var o=i.domain();return e=Ro(t=n),r=Ro(1/t),i.domain(o)},i.copy=function(){return Po(n.copy(),t)},ko(i,n)}function Ro(n){return function(t){return t<0?-Math.pow(-t,n):Math.pow(t,n)}}function Oo(t,e){var r,i,o;function u(n){return i[((r.get(n)||r.set(n,t.push(n)))-1)%i.length]}function a(e,r){return n.range(t.length).map((function(n){return e+r*n}))}return u.domain=function(n){if(!arguments.length)return t;t=[],r=new s;for(var i=-1,o=n.length,a;++i<o;)r.has(a=n[i])||r.set(a,t.push(a));return u[e.t].apply(u,e.a)},u.range=function(n){return arguments.length?(i=n,o=0,e={t:"range",a:arguments},u):i},u.rangePoints=function(n,r){arguments.length<2&&(r=0);var c=n[0],l=n[1],f=(l-c)/(Math.max(1,t.length-1)+r);return i=a(t.length<2?(c+l)/2:c+f*r/2,f),o=0,e={t:"rangePoints",a:arguments},u},u.rangeBands=function(n,r,c){arguments.length<2&&(r=0),arguments.length<3&&(c=r);var l=n[1]<n[0],f=n[l-0],s=n[1-l],h=(s-f)/(t.length-r+2*c);return i=a(f+h*c,h),l&&i.reverse(),o=h*(1-r),e={t:"rangeBands",a:arguments},u},u.rangeRoundBands=function(n,r,c){arguments.length<2&&(r=0),arguments.length<3&&(c=r);var l=n[1]<n[0],f=n[l-0],s=n[1-l],h=Math.floor((s-f)/(t.length-r+2*c)),g=s-f-(t.length-r)*h;return i=a(f+Math.round(g/2),h),l&&i.reverse(),o=Math.round(h*(1-r)),e={t:"rangeRoundBands",a:arguments},u},u.rangeBand=function(){return o},u.rangeExtent=function(){return xo(e.a[0])},u.copy=function(){return Oo(t,e)},u.domain(t)}n.scale.pow=function(){return Po(n.scale.linear(),1)},n.scale.sqrt=function(){return n.scale.pow().exponent(.5)},n.scale.ordinal=function(){return Oo([],{t:"range",a:[[]]})},n.scale.category10=function(){return n.scale.ordinal().range(Yo)},n.scale.category20=function(){return n.scale.ordinal().range(Uo)},n.scale.category20b=function(){return n.scale.ordinal().range(Io)},n.scale.category20c=function(){return n.scale.ordinal().range(Vo)};var Yo=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],Uo=["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],Io=["#393b79","#5254a3","#6b6ecf","#9c9ede","#637939","#8ca252","#b5cf6b","#cedb9c","#8c6d31","#bd9e39","#e7ba52","#e7cb94","#843c39","#ad494a","#d6616b","#e7969c","#7b4173","#a55194","#ce6dbd","#de9ed6"],Vo=["#3182bd","#6baed6","#9ecae1","#c6dbef","#e6550d","#fd8d3c","#fdae6b","#fdd0a2","#31a354","#74c476","#a1d99b","#c7e9c0","#756bb1","#9e9ac8","#bcbddc","#dadaeb","#636363","#969696","#bdbdbd","#d9d9d9"];function Xo(t,e){var r;function i(){var i=0,u=e.length;for(r=[];++i<u;)r[i-1]=n.quantile(t,i/u);return o}function o(t){return isNaN(t=+t)?NaN:e[n.bisect(r,t)]}return o.domain=function(e){return arguments.length?(t=e.filter((function(n){return!isNaN(n)})).sort(n.ascending),i()):t},o.range=function(n){return arguments.length?(e=n,i()):e},o.quantiles=function(){return r},o.copy=function(){return Xo(t,e)},i()}function Zo(n,t,e){var r,i;function o(t){return e[Math.max(0,Math.min(i,Math.floor(r*(t-n))))]}function u(){return r=e.length/(t-n),i=e.length-1,o}return o.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],u()):[n,t]},o.range=function(n){return arguments.length?(e=n,u()):e},o.copy=function(){return Zo(n,t,e)},u()}function Bo(t,e){function r(r){return e[n.bisect(t,r)]}return r.domain=function(n){return arguments.length?(t=n,r):t},r.range=function(n){return arguments.length?(e=n,r):e},r.copy=function(){return Bo(t,e)},r}function $o(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return qo(n,t)},t.tickFormat=function(t,e){return To(n,t,e)},t.copy=function(){return $o(n)},t}n.scale.quantile=function(){return Xo([],[])},n.scale.quantize=function(){return Zo(0,1,[0,1])},n.scale.threshold=function(){return Bo([.5],[0,1])},n.scale.identity=function(){return $o([0,1])},n.svg.arc=function(){var n=Ko,t=Wo,e=Qo,r=nu;
140function i(){var i=n.apply(this,arguments),o=t.apply(this,arguments),u=e.apply(this,arguments)+Jo,a=r.apply(this,arguments)+Jo,c=(a<u&&(c=u,u=a,a=c),a-u),l=c<hn?"0":"1",f=Math.cos(u),s=Math.sin(u),h=Math.cos(a),g=Math.sin(a);return c>=Go?i?"M0,"+o+"A"+o+","+o+" 0 1,1 0,"+-o+"A"+o+","+o+" 0 1,1 0,"+o+"M0,"+i+"A"+i+","+i+" 0 1,0 0,"+-i+"A"+i+","+i+" 0 1,0 0,"+i+"Z":"M0,"+o+"A"+o+","+o+" 0 1,1 0,"+-o+"A"+o+","+o+" 0 1,1 0,"+o+"Z":i?"M"+o*f+","+o*s+"A"+o+","+o+" 0 "+l+",1 "+o*h+","+o*g+"L"+i*h+","+i*g+"A"+i+","+i+" 0 "+l+",0 "+i*f+","+i*s+"Z":"M"+o*f+","+o*s+"A"+o+","+o+" 0 "+l+",1 "+o*h+","+o*g+"L0,0Z"}return i.innerRadius=function(t){return arguments.length?(n=$n(t),i):n},i.outerRadius=function(n){return arguments.length?(t=$n(n),i):t},i.startAngle=function(n){return arguments.length?(e=$n(n),i):e},i.endAngle=function(n){return arguments.length?(r=$n(n),i):r},i.centroid=function(){var i=(n.apply(this,arguments)+t.apply(this,arguments))/2,o=(e.apply(this,arguments)+r.apply(this,arguments))/2+Jo;return[Math.cos(o)*i,Math.sin(o)*i]},i};var Jo=-hn/2,Go=2*hn-1e-6;function Ko(n){return n.innerRadius}function Wo(n){return n.outerRadius}function Qo(n){return n.startAngle}function nu(n){return n.endAngle}function tu(n){for(var t,e=-1,r=n.length,i,o;++e<r;)i=(t=n[e])[0],o=t[1]+Jo,t[0]=i*Math.cos(o),t[1]=i*Math.sin(o);return n}function eu(n){var t=er,e=er,r=0,i=rr,o=Vt,u=or,a=u.key,c=u,l="L",f=.7;function s(a){var s=[],h=[],g=[],p=-1,d=a.length,v,m=$n(t),y=$n(r),M=t===e?function(){return b}:$n(e),x=r===i?function(){return _}:$n(i),b,_;function w(){s.push("M",u(n(g),f),l,c(n(h.reverse()),f),"Z")}for(;++p<d;)o.call(this,v=a[p],p)?(h.push([b=+m.call(this,v,p),_=+y.call(this,v,p)]),g.push([+M.call(this,v,p),+x.call(this,v,p)])):h.length&&(w(),h=[],g=[]);return h.length&&w(),s.length?s.join(""):null}return s.x=function(n){return arguments.length?(t=e=n,s):e},s.x0=function(n){return arguments.length?(t=n,s):t},s.x1=function(n){return arguments.length?(e=n,s):e},s.y=function(n){return arguments.length?(r=i=n,s):i},s.y0=function(n){return arguments.length?(r=n,s):r},s.y1=function(n){return arguments.length?(i=n,s):i},s.defined=function(n){return arguments.length?(o=n,s):o},s.interpolate=function(n){return arguments.length?(a="function"==typeof n?u=n:(u=ir.get(n)||or).key,c=u.reverse||u,l=u.closed?"M":"L",s):a},s.tension=function(n){return arguments.length?(f=n,s):f},s}function ru(n){return n.radius}function iu(n){return[n.x,n.y]}function ou(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]+Jo;return[e*Math.cos(r),e*Math.sin(r)]}}function uu(){return 64}function au(){return"circle"}function cu(n){var t=Math.sqrt(n/hn);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}n.svg.line.radial=function(){var n=tr(tu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},ar.reverse=cr,cr.reverse=ar,n.svg.area=function(){return eu(Jn)},n.svg.area.radial=function(){var n=eu(tu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},n.svg.chord=function(){var n=we,t=Se,e=ru,r=Qo,i=nu;function o(e,r){var i=u(this,n,e,r),o=u(this,t,e,r);return"M"+i.p0+c(i.r,i.p1,i.a1-i.a0)+(a(i,o)?l(i.r,i.p1,i.r,i.p0):l(i.r,i.p1,o.r,o.p0)+c(o.r,o.p1,o.a1-o.a0)+l(o.r,o.p1,i.r,i.p0))+"Z"}function u(n,t,o,u){var a=t.call(n,o,u),c=e.call(n,a,u),l=r.call(n,a,u)+Jo,f=i.call(n,a,u)+Jo;return{r:c,a0:l,a1:f,p0:[c*Math.cos(l),c*Math.sin(l)],p1:[c*Math.cos(f),c*Math.sin(f)]}}function a(n,t){return n.a0==t.a0&&n.a1==t.a1}function c(n,t,e){return"A"+n+","+n+" 0 "+ +(e>hn)+",1 "+t}function l(n,t,e,r){return"Q 0,0 "+r}return o.radius=function(n){return arguments.length?(e=$n(n),o):e},o.source=function(t){return arguments.length?(n=$n(t),o):n},o.target=function(n){return arguments.length?(t=$n(n),o):t},o.startAngle=function(n){return arguments.length?(r=$n(n),o):r},o.endAngle=function(n){return arguments.length?(i=$n(n),o):i},o},n.svg.diagonal=function(){var n=we,t=Se,e=iu;function r(r,i){var o=n.call(this,r,i),u=t.call(this,r,i),a=(o.y+u.y)/2,c=[o,{x:o.x,y:a},{x:u.x,y:a},u];return"M"+(c=c.map(e))[0]+"C"+c[1]+" "+c[2]+" "+c[3]}return r.source=function(t){return arguments.length?(n=$n(t),r):n},r.target=function(n){return arguments.length?(t=$n(n),r):t},r.projection=function(n){return arguments.length?(e=n,r):e},r},n.svg.diagonal.radial=function(){var t=n.svg.diagonal(),e=iu,r=t.projection;return t.projection=function(n){return arguments.length?r(ou(e=n)):e},t},n.svg.symbol=function(){var n=au,t=uu;function e(e,r){return(lu.get(n.call(this,e,r))||cu)(t.call(this,e,r))}return e.type=function(t){return arguments.length?(n=$n(t),e):n},e.size=function(n){return arguments.length?(t=$n(n),e):t},e};var lu=n.map({circle:cu,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*su)),e=t*su;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/fu),e=t*fu/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/fu),e=t*fu/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}}
140);n.svg.symbolTypes=lu.keys();var fu=Math.sqrt(3),su=Math.tan(30*pn);function hu(n,t){return k(n,gu),n.id=t,n}var gu=[],pu=0,du,vu={ease:ii,delay:0,duration:250};function mu(n,t,e,r){var i=n.id;return Q(n,"function"==typeof e?function(n,o,u){n.__transition__[i].tween.set(t,r(e.call(n,n.__data__,o,u)))}:(e=r(e),function(n){n.__transition__[i].tween.set(t,e)}))}function yu(n){return null==n&&(n=""),function(){this.textContent=n}}function Mu(t,e,r,i){var o=t.__transition__||(t.__transition__={active:0,count:0}),u=o[r];if(!u){var a=i.time;return u=o[r]={tween:new s,event:n.dispatch("start","end"),time:a,ease:i.ease,delay:i.delay,duration:i.duration},++o.count,n.timer((function(i){var c=t.__data__,l=u.ease,f=u.event,s=u.delay,h=u.duration,g=[];return s<=i?p(i):n.timer(p,s,a),1;function p(i){return o.active>r?v():(o.active=r,f.start.call(t,c,e),u.tween.forEach((function(n,r){(r=r.call(t,c,e))&&g.push(r)})),d(i)||n.timer(d,0,a),1)}function d(n){if(o.active!==r)return v();for(var i=(n-s)/h,u=l(i),a=g.length;a>0;)g[--a].call(t,u);return i>=1?(v(),f.end.call(t,c,e),1):void 0}function v(){return--o.count?delete o[r]:delete t.__transition__,1}}),0,a),u}}gu.call=D.call,gu.empty=D.empty,gu.node=D.node,n.transition=function(n){return arguments.length?du?n.transition():n:en.transition()},n.transition.prototype=gu,gu.select=function(n){var t=this.id,e=[],r,i,o;"function"!=typeof n&&(n=j(n));for(var u=-1,a=this.length;++u<a;){e.push(r=[]);for(var c=this[u],l=-1,f=c.length;++l<f;)(o=c[l])&&(i=n.call(o,o.__data__,l))?("__data__"in o&&(i.__data__=o.__data__),Mu(i,l,t,o.__transition__[t]),r.push(i)):r.push(null)}return hu(e,t)},gu.selectAll=function(n){var t=this.id,e=[],r,i,o,u,a;"function"!=typeof n&&(n=L(n));for(var c=-1,l=this.length;++c<l;)for(var f=this[c],s=-1,h=f.length;++s<h;)if(o=f[s]){a=o.__transition__[t],i=n.call(o,o.__data__,s),e.push(r=[]);for(var g=-1,p=i.length;++g<p;)Mu(u=i[g],g,t,a),r.push(u)}return hu(e,t)},gu.filter=function(n){var t=[],e,r,i;"function"!=typeof n&&(n=Z(n));for(var o=0,u=this.length;o<u;o++){t.push(e=[]);for(var r,a=0,c=(r=this[o]).length;a<c;a++)(i=r[a])&&n.call(i,i.__data__,a)&&e.push(i)}return hu(t,this.id,this.time).ease(this.ease())},gu.tween=function(n,t){var e=this.id;return arguments.length<2?this.node().__transition__[e].tween.get(n):Q(this,null==t?function(t){t.__transition__[e].tween.remove(n)}:function(r){r.__transition__[e].tween.set(n,t)})},gu.attr=function(t,e){if(arguments.length<2){for(e in t)this.attr(e,t[e]);return this}var r=$r(t),i=n.ns.qualify(t);function o(){this.removeAttribute(i)}function u(){this.removeAttributeNS(i.space,i.local)}return mu(this,"attr."+t,e,(function(n){function t(){var t=this.getAttribute(i),e;return t!==n&&(e=r(t,n),function(n){this.setAttribute(i,e(n))})}function e(){var t=this.getAttributeNS(i.space,i.local),e;return t!==n&&(e=r(t,n),function(n){this.setAttributeNS(i.space,i.local,e(n))})}return null==n?i.local?u:o:(n+="",i.local?e:t)}))},gu.attrTween=function(t,e){var r=n.ns.qualify(t);function i(n,t){var i=e.call(this,n,t,this.getAttribute(r));return i&&function(n){this.setAttribute(r,i(n))}}function o(n,t){var i=e.call(this,n,t,this.getAttributeNS(r.space,r.local));return i&&function(n){this.setAttributeNS(r.space,r.local,i(n))}}return this.tween("attr."+t,r.local?o:i)},gu.style=function(n,t,r){var i=arguments.length;if(i<3){if("string"!=typeof n){for(r in i<2&&(t=""),n)this.style(r,n[r],t);return this}r=""}var o=$r(n);function u(){this.style.removeProperty(n)}return mu(this,"style."+n,t,(function(t){function i(){var i=e.getComputedStyle(this,null).getPropertyValue(n),u;return i!==t&&(u=o(i,t),function(t){this.style.setProperty(n,u(t),r)})}return null==t?u:(t+="",i)}))},gu.styleTween=function(n,t,r){return arguments.length<3&&(r=""),this.tween("style."+n,(function(i,o){var u=t.call(this,i,o,e.getComputedStyle(this,null).getPropertyValue(n));return u&&function(t){this.style.setProperty(n,u(t),r)}}))},gu.text=function(n){return mu(this,"text",n,yu)},gu.remove=function(){return this.each("end.transition",(function(){var n;!this.__transition__&&(n=this.parentNode)&&n.removeChild(this)}))},gu.ease=function(t){var e=this.id;return arguments.length<1?this.node().__transition__[e].ease:("function"!=typeof t&&(t=n.ease.apply(n,arguments)),Q(this,(function(n){n.__transition__[e].ease=t})))},gu.delay=function(n){var t=this.id;return Q(this,"function"==typeof n?function(e,r,i){e.__transition__[t].delay=0|n.call(e,e.__data__,r,i)}:(n|=0,function(e){e.__transition__[t].delay=n}))},gu.duration=function(n){var t=this.id;return Q(this,"function"==typeof n?function(e,r,i){e.__transition__[t].duration=Math.max(1,0|n.call(e,e.__data__,r,i))}:(n=Math.max(1,0|n),function(e){e.__transition__[t].duration=n}))},gu.each=function(n,t){var e=this.id;if(arguments.length<2){var r=vu,i=du;du=e,Q(this,(function(t,r,i){vu=t.__transition__[e],n.call(t,t.__data__,r,i)})),vu=r,du=i}else Q(this,(function(r){r.__transition__[e].event.on(n,t)}));return this},gu.transition=function(){for(var n=this.id,t=++pu,e=[],r,i,o,u,a=0,c=this.length;a<c;a++){e.push(r=[]);for(var i,l=0,f=(i=this[a]).length;l<f;l++)(o=i[l])&&((u=Object.create(o.__transition__[n])).delay+=u.duration,Mu(o,l,t,u)),r.push(o)}return hu(e,t)},n.svg.axis=function(){var t=n.scale.linear(),e=xu,r=6,i=6,o=6,u=3,a=[10],c=null,l,f=0;function s(s){s.each((function(){var s=n.select(this),h=null==c?t.ticks?t.ticks.apply(t,a):t.domain():c,g=null==l?t.tickFormat?t.tickFormat.apply(t,a):String:l,p=Su(t,h,f),d=s.selectAll(".tick.minor").data(p,String),v=d.enter().insert("line",".tick").attr("class","tick minor").style("opacity",1e-6),m=n.transition(d.exit()).style("opacity",1e-6).remove(),y=n.transition(d).style("opacity",1),M=s.selectAll(".tick.major").data(h,String),x=M.enter().insert("g","path").attr("class","tick major").style("opacity",1e-6),b=n.transition(M.exit()).style("opacity",1e-6).remove(),_=n.transition(M).style("opacity",1),w,S=bo(t),E=s.selectAll(".domain").data([0]),k=(E.enter().append("path").attr("class","domain"),n.transition(E)),A=t.copy(),N=this.__chart__||A;this.__chart__=A,x.append("line"),x.append("text");var q=x.select("line"),T=_.select("line"),C=M.select("text").text(g),z=x.select("text"),D=_.select("text");switch(e){case"bottom":w=_u,v.attr("y2",i),y.attr("x2",0).attr("y2",i),q.attr("y2",r),z.attr("y",Math.max(r,0)+u),T.attr("x2",0).attr("y2",r),D.attr("x",0).attr("y",Math.max(r,0)+u),C.attr("dy",".71em").style("text-anchor","middle"),k.attr("d","M"+S[0]+","+o+"V0H"+S[1]+"V"+o);break;case"top":w=_u,v.attr("y2",-i),y.attr("x2",0).attr("y2",-i),q.attr("y2",-r),z.attr("y",-(Math.max(r,0)+u)),T.attr("x2",0).attr("y2",-r),D.attr("x",0).attr("y",-(Math.max(r,0)+u)),C.attr("dy","0em").style("text-anchor","middle"),k.attr("d","M"+S[0]+","+-o+"V0H"+S[1]+"V"+-o);break;case"left":w=wu,v.attr("x2",-i),y.attr("x2",-i).attr("y2",0),q.attr("x2",-r),z.attr("x",-(Math.max(r,0)+u)),T.attr("x2",-r).attr("y2",0),D.attr("x",-(Math.max(r,0)+u)).attr("y",0),C.attr("dy",".32em").style("text-anchor","end"),k.attr("d","M"+-o+","+S[0]+"H0V"+S[1]+"H"+-o);break;
140case"right":w=wu,v.attr("x2",i),y.attr("x2",i).attr("y2",0),q.attr("x2",r),z.attr("x",Math.max(r,0)+u),T.attr("x2",r).attr("y2",0),D.attr("x",Math.max(r,0)+u).attr("y",0),C.attr("dy",".32em").style("text-anchor","start"),k.attr("d","M"+o+","+S[0]+"H0V"+S[1]+"H"+o)}if(t.ticks)x.call(w,N),_.call(w,A),b.call(w,A),v.call(w,N),y.call(w,A),m.call(w,A);else{var j=A.rangeBand()/2,L=function(n){return A(n)+j};x.call(w,L),_.call(w,L)}}))}return s.scale=function(n){return arguments.length?(t=n,s):t},s.orient=function(n){return arguments.length?(e=n in bu?n+"":xu,s):e},s.ticks=function(){return arguments.length?(a=arguments,s):a},s.tickValues=function(n){return arguments.length?(c=n,s):c},s.tickFormat=function(n){return arguments.length?(l=n,s):l},s.tickSize=function(n,t){if(!arguments.length)return r;var e=arguments.length-1;return r=+n,i=e>1?+t:r,o=e>0?+arguments[e]:r,s},s.tickPadding=function(n){return arguments.length?(u=+n,s):u},s.tickSubdivide=function(n){return arguments.length?(f=+n,s):f},s};var xu="bottom",bu={top:1,right:1,bottom:1,left:1};function _u(n,t){n.attr("transform",(function(n){return"translate("+t(n)+",0)"}))}function wu(n,t){n.attr("transform",(function(n){return"translate(0,"+t(n)+")"}))}function Su(n,t,e){if(i=[],e&&t.length>1){for(var r=xo(n.domain()),i,o=-1,u=t.length,a=(t[1]-t[0])/++e,c,l;++o<u;)for(c=e;--c>0;)(l=+t[o]-c*a)>=r[0]&&i.push(l);for(--o,c=0;++c<e&&(l=+t[o]+c*a)<r[1];)i.push(l)}return i}n.svg.brush=function(){var t=x(c,"brushstart","brush","brushend"),r=null,i=null,o=ku[0],u=[[0,0],[0,0]],a;function c(t){t.each((function(){var t=n.select(this),e=t.selectAll(".background").data([0]),u=t.selectAll(".extent").data([0]),a=t.selectAll(".resize").data(o,String),g;t.style("pointer-events","all").on("mousedown.brush",h).on("touchstart.brush",h),e.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),u.enter().append("rect").attr("class","extent").style("cursor","move"),a.enter().append("g").attr("class",(function(n){return"resize "+n})).style("cursor",(function(n){return Eu[n]})).append("rect").attr("x",(function(n){return/[ew]$/.test(n)?-3:null})).attr("y",(function(n){return/^[ns]/.test(n)?-3:null})).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",c.empty()?"none":null),a.exit().remove(),r&&(g=bo(r),e.attr("x",g[0]).attr("width",g[1]-g[0]),f(t)),i&&(g=bo(i),e.attr("y",g[0]).attr("height",g[1]-g[0]),s(t)),l(t)}))}function l(n){n.selectAll(".resize").attr("transform",(function(n){return"translate("+u[+/e$/.test(n)][0]+","+u[+/^s/.test(n)][1]+")"}))}function f(n){n.select(".extent").attr("x",u[0][0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",u[1][0]-u[0][0])}function s(n){n.select(".extent").attr("y",u[0][1]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",u[1][1]-u[0][1])}function h(){var o=this,h=n.select(n.event.target),g=t.of(o,arguments),p=n.select(o),d=h.datum(),v=!/^(n|s)$/.test(d)&&r,m=!/^(e|w)$/.test(d)&&i,M=h.classed("extent"),x,b=k(),_,w=n.select(e).on("mousemove.brush",q).on("mouseup.brush",C).on("touchmove.brush",q).on("touchend.brush",C).on("keydown.brush",A).on("keyup.brush",N);if(M)b[0]=u[0][0]-b[0],b[1]=u[0][1]-b[1];else if(d){var S=+/w$/.test(d),E=+/^n/.test(d);_=[u[1-S][0]-b[0],u[1-E][1]-b[1]],b[0]=u[S][0],b[1]=u[E][1]}else n.event.altKey&&(x=b.slice());function k(){var t=n.event.changedTouches;return t?n.touches(o,t)[0]:n.mouse(o)}function A(){32==n.event.keyCode&&(M||(x=null,b[0]-=u[1][0],b[1]-=u[1][1],M=2),y())}function N(){32==n.event.keyCode&&2==M&&(b[0]+=u[1][0],b[1]+=u[1][1],M=0,y())}function q(){var t=k(),e=!1;_&&(t[0]+=_[0],t[1]+=_[1]),M||(n.event.altKey?(x||(x=[(u[0][0]+u[1][0])/2,(u[0][1]+u[1][1])/2]),b[0]=u[+(t[0]<x[0])][0],b[1]=u[+(t[1]<x[1])][1]):x=null),v&&T(t,r,0)&&(f(p),e=!0),m&&T(t,i,1)&&(s(p),e=!0),e&&(l(p),g({type:"brush",mode:M?"move":"resize"}))}function T(n,t,e){var r=bo(t),i=r[0],o=r[1],c=b[e],l=u[1][e]-u[0][e],f,s;if(M&&(i-=c,o-=l+c),f=Math.max(i,Math.min(o,n[e])),M?s=(f+=c)+l:(x&&(c=Math.max(i,Math.min(o,2*x[e]-f))),c<f?(s=f,f=c):s=c),u[0][e]!==f||u[1][e]!==s)return a=null,u[0][e]=f,u[1][e]=s,!0}function C(){q(),p.style("pointer-events","all").selectAll(".resize").style("display",c.empty()?"none":null),n.select("body").style("cursor",null),w.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),g({type:"brushend"}),y()}p.style("pointer-events","none").selectAll(".resize").style("display",null),n.select("body").style("cursor",h.style("cursor")),g({type:"brushstart"}),q(),y()}return c.x=function(n){return arguments.length?(o=ku[!(r=n)<<1|!i],c):r},c.y=function(n){return arguments.length?(o=ku[!r<<1|!(i=n)],c):i},c.extent=function(n){var t,e,o,l,f;return arguments.length?(a=[[0,0],[0,0]],r&&(t=n[0],e=n[1],i&&(t=t[0],e=e[0]),a[0][0]=t,a[1][0]=e,r.invert&&(t=r(t),e=r(e)),e<t&&(f=t,t=e,e=f),u[0][0]=0|t,u[1][0]=0|e),i&&(o=n[0],l=n[1],r&&(o=o[1],l=l[1]),a[0][1]=o,a[1][1]=l,i.invert&&(o=i(o),l=i(l)),l<o&&(f=o,o=l,l=f),u[0][1]=0|o,u[1][1]=0|l),c):(n=a||u,r&&(t=n[0][0],e=n[1][0],a||(t=u[0][0],e=u[1][0],r.invert&&(t=r.invert(t),e=r.
140invert(e)),e<t&&(f=t,t=e,e=f))),i&&(o=n[0][1],l=n[1][1],a||(o=u[0][1],l=u[1][1],i.invert&&(o=i.invert(o),l=i.invert(l)),l<o&&(f=o,o=l,l=f))),r&&i?[[t,o],[e,l]]:r?[t,e]:i&&[o,l])},c.clear=function(){return a=null,u[0][0]=u[0][1]=u[1][0]=u[1][1]=0,c},c.empty=function(){return r&&u[0][0]===u[1][0]||i&&u[0][1]===u[1][1]},n.rebind(c,t,"on")};var Eu={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},ku=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];n.time={};var Au=Date,Nu=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function qu(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}qu.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Tu.setUTCDate.apply(this._,arguments)},setDay:function(){Tu.setUTCDay.apply(this._,arguments)},setFullYear:function(){Tu.setUTCFullYear.apply(this._,arguments)},setHours:function(){Tu.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Tu.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Tu.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Tu.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Tu.setUTCSeconds.apply(this._,arguments)},setTime:function(){Tu.setTime.apply(this._,arguments)}};var Tu=Date.prototype,Cu="%a %b %e %X %Y",zu="%m/%d/%Y",Du="%H:%M:%S",ju=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Lu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Fu=["January","February","March","April","May","June","July","August","September","October","November","December"],Hu=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Pu(n,t,e){function r(t){var e=n(t),r=o(e,1);return t-e<r-t?e:r}function i(e){return t(e=n(new Au(e-1)),1),e}function o(n,e){return t(n=new Au(+n),e),n}function u(n,r,o){var u=i(n),a=[];if(o>1)for(;u<r;)e(u)%o||a.push(new Date(+u)),t(u,1);else for(;u<r;)a.push(new Date(+u)),t(u,1);return a}function a(n,t,e){try{Au=qu;var r=new qu;return r._=n,u(r,t,e)}finally{Au=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=o,n.range=u;var c=n.utc=Ru(n);return c.floor=c,c.round=Ru(r),c.ceil=Ru(i),c.offset=Ru(o),c.range=a,n}function Ru(n){return function(t,e){try{Au=qu;var r=new qu;return r._=t,n(r,e)._}finally{Au=Date}}}function Ou(n,t,e,r){for(var i,o,u=0,a=t.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=t.charCodeAt(u++))){if(!(o=Wu[t.charAt(u++)])||(r=o(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function Yu(t){return new RegExp("^(?:"+t.map(n.requote).join("|")+")","i")}function Uu(n){for(var t=new s,e=-1,r=n.length;++e<r;)t.set(n[e].toLowerCase(),e);return t}function Iu(n,t,e){var r=(n+="").length;return r<e?new Array(e-r+1).join(t)+n:n}n.time.year=Pu((function(t){return(t=n.time.day(t)).setMonth(0,1),t}),(function(n,t){n.setFullYear(n.getFullYear()+t)}),(function(n){return n.getFullYear()})),n.time.years=n.time.year.range,n.time.years.utc=n.time.year.utc.range,n.time.day=Pu((function(n){var t=new Au(1970,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t}),(function(n,t){n.setDate(n.getDate()+t)}),(function(n){return n.getDate()-1})),n.time.days=n.time.day.range,n.time.days.utc=n.time.day.utc.range,n.time.dayOfYear=function(t){var e=n.time.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},Nu.forEach((function(t,e){t=t.toLowerCase(),e=7-e;var r=n.time[t]=Pu((function(t){return(t=n.time.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t}),(function(n,t){n.setDate(n.getDate()+7*Math.floor(t))}),(function(t){var r=n.time.year(t).getDay();
140return Math.floor((n.time.dayOfYear(t)+(r+e)%7)/7)-(r!==e)}));n.time[t+"s"]=r.range,n.time[t+"s"].utc=r.utc.range,n.time[t+"OfYear"]=function(t){var r=n.time.year(t).getDay();return Math.floor((n.time.dayOfYear(t)+(r+e)%7)/7)}})),n.time.week=n.time.sunday,n.time.weeks=n.time.sunday.range,n.time.weeks.utc=n.time.sunday.utc.range,n.time.weekOfYear=n.time.sundayOfYear,n.time.format=function(n){var t=n.length;function e(e){for(var r=[],i=-1,o=0,u,a,c;++i<t;)37===n.charCodeAt(i)&&(r.push(n.substring(o,i)),null!=(a=Gu[u=n.charAt(++i)])&&(u=n.charAt(++i)),(c=Ku[u])&&(u=c(e,null==a?"e"===u?" ":"0":a)),r.push(u),o=i+1);return r.push(n.substring(o,i)),r.join("")}return e.parse=function(t){var e={y:1900,m:0,d:1,H:0,M:0,S:0,L:0},r;if(Ou(e,n,t,0)!=t.length)return null;"p"in e&&(e.H=e.H%12+12*e.p);var i=new Au;return i.setFullYear(e.y,e.m,e.d),i.setHours(e.H,e.M,e.S,e.L),i},e.toString=function(){return n},e};var Vu=Yu(ju),Xu=Yu(Lu),Zu=Yu(Fu),Bu=Uu(Fu),$u=Yu(Hu),Ju=Uu(Hu),Gu={"-":"",_:" ",0:"0"},Ku={a:function(n){return Lu[n.getDay()]},A:function(n){return ju[n.getDay()]},b:function(n){return Hu[n.getMonth()]},B:function(n){return Fu[n.getMonth()]},c:n.time.format(Cu),d:function(n,t){return Iu(n.getDate(),t,2)},e:function(n,t){return Iu(n.getDate(),t,2)},H:function(n,t){return Iu(n.getHours(),t,2)},I:function(n,t){return Iu(n.getHours()%12||12,t,2)},j:function(t,e){return Iu(1+n.time.dayOfYear(t),e,3)},L:function(n,t){return Iu(n.getMilliseconds(),t,3)},m:function(n,t){return Iu(n.getMonth()+1,t,2)},M:function(n,t){return Iu(n.getMinutes(),t,2)},p:function(n){return n.getHours()>=12?"PM":"AM"},S:function(n,t){return Iu(n.getSeconds(),t,2)},U:function(t,e){return Iu(n.time.sundayOfYear(t),e,2)},w:function(n){return n.getDay()},W:function(t,e){return Iu(n.time.mondayOfYear(t),e,2)},x:n.time.format(zu),X:n.time.format(Du),y:function(n,t){return Iu(n.getFullYear()%100,t,2)},Y:function(n,t){return Iu(n.getFullYear()%1e4,t,4)},Z:ya,"%":function(){return"%"}},Wu={a:Qu,A:na,b:ta,B:ea,c:ra,d:fa,e:fa,H:sa,I:sa,L:pa,m:la,M:ha,p:va,S:ga,x:ia,X:oa,y:aa,Y:ua};function Qu(n,t,e){Xu.lastIndex=0;var r=Xu.exec(t.substring(e));return r?e+=r[0].length:-1}function na(n,t,e){Vu.lastIndex=0;var r=Vu.exec(t.substring(e));return r?e+=r[0].length:-1}function ta(n,t,e){$u.lastIndex=0;var r=$u.exec(t.substring(e));return r?(n.m=Ju.get(r[0].toLowerCase()),e+=r[0].length):-1}function ea(n,t,e){Zu.lastIndex=0;var r=Zu.exec(t.substring(e));return r?(n.m=Bu.get(r[0].toLowerCase()),e+=r[0].length):-1}function ra(n,t,e){return Ou(n,Ku.c.toString(),t,e)}function ia(n,t,e){return Ou(n,Ku.x.toString(),t,e)}function oa(n,t,e){return Ou(n,Ku.X.toString(),t,e)}function ua(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+4));return r?(n.y=+r[0],e+=r[0].length):-1}function aa(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+2));return r?(n.y=ca(+r[0]),e+=r[0].length):-1}function ca(n){return n+(n>68?1900:2e3)}function la(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+2));return r?(n.m=r[0]-1,e+=r[0].length):-1}function fa(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+2));return r?(n.d=+r[0],e+=r[0].length):-1}function sa(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+2));return r?(n.H=+r[0],e+=r[0].length):-1}function ha(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+2));return r?(n.M=+r[0],e+=r[0].length):-1}function ga(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+2));return r?(n.S=+r[0],e+=r[0].length):-1}function pa(n,t,e){da.lastIndex=0;var r=da.exec(t.substring(e,e+3));return r?(n.L=+r[0],e+=r[0].length):-1}var da=/^\s*\d+/;function va(n,t,e){var r=ma.get(t.substring(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}var ma=n.map({am:0,pm:1});function ya(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=~~(Math.abs(t)/60),i=Math.abs(t)%60;return e+Iu(r,"0",2)+Iu(i,"0",2)}n.time.format.utc=function(t){var e=n.time.format(t);function r(n){try{var t=new(Au=qu);return t._=n,e(t)}finally{Au=Date}}return r.parse=function(n){try{Au=qu;var t=e.parse(n);return t&&t._}finally{Au=Date}},r.toString=e.toString,r};var Ma=n.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ");function xa(n){return n.toISOString()}function ba(t,e,r){function i(n){return t(n)}return i.invert=function(n){return wa(t.invert(n))},i.domain=function(n){return arguments.length?(t.domain(n),i):t.domain().map(wa)},i.nice=function(n){return i.domain(wo(i.domain(),(function(){return n})))},i.ticks=function(r,o){var u=_a(i.domain());if("function"!=typeof r){var a,c=(u[1]-u[0])/r,l=n.bisect(Aa,c);if(l==Aa.length)return e.year(u,r);if(!l)return t.ticks(r).map(wa);Math.log(c/Aa[l-1])<Math.log(Aa[l]/c)&&--l,o=(r=e[l])[1],r=r[0].range}return r(u[0],new Date(+u[1]+1),o)}
140,i.tickFormat=function(){return r},i.copy=function(){return ba(t.copy(),e,r)},n.rebind(i,t,"range","rangeRound","interpolate","clamp")}function _a(n){var t=n[0],e=n[n.length-1];return t<e?[t,e]:[e,t]}function wa(n){return new Date(n)}function Sa(n){return function(t){for(var e=n.length-1,r=n[e];!r[1](t);)r=n[--e];return r[0](t)}}function Ea(n){var t=new Date(n,0,1);return t.setFullYear(n),t}function ka(n){var t=n.getFullYear(),e=Ea(t),r;return t+(n-e)/(Ea(t+1)-e)}n.time.format.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?xa:Ma,xa.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},xa.toString=Ma.toString,n.time.second=Pu((function(n){return new Au(1e3*Math.floor(n/1e3))}),(function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))}),(function(n){return n.getSeconds()})),n.time.seconds=n.time.second.range,n.time.seconds.utc=n.time.second.utc.range,n.time.minute=Pu((function(n){return new Au(6e4*Math.floor(n/6e4))}),(function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))}),(function(n){return n.getMinutes()})),n.time.minutes=n.time.minute.range,n.time.minutes.utc=n.time.minute.utc.range,n.time.hour=Pu((function(n){var t=n.getTimezoneOffset()/60;return new Au(36e5*(Math.floor(n/36e5-t)+t))}),(function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))}),(function(n){return n.getHours()})),n.time.hours=n.time.hour.range,n.time.hours.utc=n.time.hour.utc.range,n.time.month=Pu((function(t){return(t=n.time.day(t)).setDate(1),t}),(function(n,t){n.setMonth(n.getMonth()+t)}),(function(n){return n.getMonth()})),n.time.months=n.time.month.range,n.time.months.utc=n.time.month.utc.range;var Aa=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Na=[[n.time.second,1],[n.time.second,5],[n.time.second,15],[n.time.second,30],[n.time.minute,1],[n.time.minute,5],[n.time.minute,15],[n.time.minute,30],[n.time.hour,1],[n.time.hour,3],[n.time.hour,6],[n.time.hour,12],[n.time.day,1],[n.time.day,2],[n.time.week,1],[n.time.month,1],[n.time.month,3],[n.time.year,1]],qa=[[n.time.format("%Y"),Vt],[n.time.format("%B"),function(n){return n.getMonth()}],[n.time.format("%b %d"),function(n){return 1!=n.getDate()}],[n.time.format("%a %d"),function(n){return n.getDay()&&1!=n.getDate()}],[n.time.format("%I %p"),function(n){return n.getHours()}],[n.time.format("%I:%M"),function(n){return n.getMinutes()}],[n.time.format(":%S"),function(n){return n.getSeconds()}],[n.time.format(".%L"),function(n){return n.getMilliseconds()}]],Ta=n.scale.linear(),Ca=Sa(qa);Na.year=function(n,t){return Ta.domain(n.map(ka)).ticks(t).map(Ea)},n.time.scale=function(){return ba(n.scale.linear(),Na,Ca)};var za=Na.map((function(n){return[n[0].utc,n[1]]})),Da,ja=Sa([[n.time.format.utc("%Y"),Vt],[n.time.format.utc("%B"),function(n){return n.getUTCMonth()}],[n.time.format.utc("%b %d"),function(n){return 1!=n.getUTCDate()}],[n.time.format.utc("%a %d"),function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],[n.time.format.utc("%I %p"),function(n){return n.getUTCHours()}],[n.time.format.utc("%I:%M"),function(n){return n.getUTCMinutes()}],[n.time.format.utc(":%S"),function(n){return n.getUTCSeconds()}],[n.time.format.utc(".%L"),function(n){return n.getUTCMilliseconds()}]]);function La(n){var t=new Date(Date.UTC(n,0,1));return t.setUTCFullYear(n),t}function Fa(n){var t=n.getUTCFullYear(),e=La(t),r;return t+(n-e)/(La(t+1)-e)}function Ha(n){return n.responseText}function Pa(n){return JSON.parse(n.responseText)}function Ra(n){var e=t.createRange();return e.selectNode(t.body),e.createContextualFragment(n.responseText)}function Oa(n){return n.responseXML}return za.year=function(n,t){return Ta.domain(n.map(Fa)).ticks(t).map(La)},n.time.scale.utc=function(){return ba(n.scale.linear(),za,ja)},n.text=function(){return n.xhr.apply(n,arguments).response(Ha)},n.json=function(t,e){return n.xhr(t,"application/json",e).response(Pa)},n.html=function(t,e){return n.xhr(t,"text/html",e).response(Ra)},n.xml=function(){return n.xhr.apply(n,arguments).response(Oa)},n}()}).call(this)}).call(this),Package._define("d3",{d3:r})}(); 141 142Package._define("less"); 143 144!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,n=Package.tracker.Tracker,a=Package.tracker.Deps,s=Package.ejson.EJSON,r=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,u=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,d,h=r({node_modules:{meteor:{"reactive-dict":{
144"migration.js":function t(i,n,t){var a;t.export({ReactiveDict:function(){return a}}),t.link("./reactive-dict",{ReactiveDict:function(e){a=e}},0);var s=Object.prototype.hasOwnProperty;if(a._migratedDictData={},a._dictsToMigrate={},a._loadMigratedDict=function(e){if(s.call(a._migratedDictData,e)){var t=a._migratedDictData[e];return delete a._migratedDictData[e],t}return null},a._registerDictForMigrate=function(e,t){if(s.call(a._dictsToMigrate,e))throw new Error("Duplicate ReactiveDict name: "+e);a._dictsToMigrate[e]=t},e.isClient&&Package.reload){var r=Package.reload.Reload._migrationData("reactive-dict");r&&r.dicts&&(a._migratedDictData=r.dicts),Package.reload.Reload._onMigrate("reactive-dict",(function(){var e=a._dictsToMigrate,t={};for(var i in c.sanitizeForInObject(e))t[i]=e[i]._getMigrationData();return[!0,{dicts:t}]}))}},
144"reactive-dict.js":function t(i,a,t){var r;t.link("@babel/runtime/helpers/typeof",{default:function(e){r=e}},0),t.export({ReactiveDict:function(){return f}});var c=Object.prototype.hasOwnProperty;function o(e){return void 0===e?"undefined":s.stringify(e)}function u(e){if(void 0!==e&&"undefined"!==e)return s.parse(e)}function l(e){e&&e.changed()}var f=function(){function t(i,a){if(this.keys={},i)if("string"==typeof i){e.isClient&&t._registerDictForMigrate(i,this);var s=e.isClient&&t._loadMigratedDict(i);s?this.keys=s:this._setObject(a||{}),this.name=i}else{if("object"!==r(i))throw new Error("Invalid ReactiveDict argument: "+i);this._setObject(i)}else"object"===r(a)&&this._setObject(a);this.allDeps=new n.Dependency,this.keyDeps={},this.keyValueDeps={}}var i=t.prototype;return i.set=function(){function e(e,t){if("object"!==r(e)||void 0!==t){var i=e;t=o(t);var n=c.call(this.keys,i),a=n?this.keys[i]:"undefined",s=t!==a;this.keys[i]=t,!s&&n||l(this.allDeps),s&&this.keyDeps&&(l(this.keyDeps[i]),this.keyValueDeps[i]&&(l(this.keyValueDeps[i][a]),l(this.keyValueDeps[i][t])))}else this._setObject(e)}return e}(),i.setDefault=function(){function e(e,t){if("object"!==r(e)||void 0!==t){var i=e;c.call(this.keys,i)||this.set(i,t)}else this._setDefaultObject(e)}return e}(),i.get=function(){function e(e){return this._ensureKey(e),this.keyDeps[e].depend(),u(this.keys[e])}return e}(),i.equals=function(){function e(e,t){var i=this,a=null;if(Package.mongo&&(a=Package.mongo.Mongo.ObjectID),!("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"undefined"==typeof t||t instanceof Date||a&&t instanceof a||null===t))throw new Error("ReactiveDict.equals: value must be scalar");var r=o(t),l;n.active&&(this._ensureKey(e),c.call(this.keyValueDeps[e],r)||(this.keyValueDeps[e][r]=new n.Dependency),this.keyValueDeps[e][r].depend()&&n.onInvalidate((function(){i.keyValueDeps[e][r].hasDependents()||delete i.keyValueDeps[e][r]})));var f=void 0;return c.call(this.keys,e)&&(f=u(this.keys[e])),s.equals(f,t)}return e}(),i.all=function(){function e(){var e=this;this.allDeps.depend();var t={};return Object.keys(this.keys).forEach((function(i){t[i]=u(e.keys[i])})),t}return e}(),i.clear=function(){function e(){var e=this,t=this.keys;this.keys={},this.allDeps.changed(),Object.keys(t).forEach((function(i){l(e.keyDeps[i]),e.keyValueDeps[i]&&(l(e.keyValueDeps[i][t[i]]),l(e.keyValueDeps[i][void 0]))}))}return e}(),i.delete=function(){function e(e){var t=!1;if(c.call(this.keys,e)){var i=this.keys[e];delete this.keys[e],l(this.keyDeps[e]),this.keyValueDeps[e]&&(l(this.keyValueDeps[e][i]),l(this.keyValueDeps[e][void 0])),this.allDeps.changed(),t=!0}return t}return e}(),i.destroy=function(){function e(){this.clear(),this.name&&c.call(t._dictsToMigrate,this.name)&&delete t._dictsToMigrate[this.name]}return e}(),i._setObject=function(){function e(e){var t=this;Object.keys(e).forEach((function(i){t.set(i,e[i])}))}return e}(),i._setDefaultObject=function(){function e(e){var t=this;Object.keys(e).forEach((function(i){t.setDefault(i,e[i])}))}return e}(),i._ensureKey=function(){function e(e){e in this.keyDeps||(this.keyDeps[e]=new n.Dependency,this.keyValueDeps[e]={})}return e}(),i._getMigrationData=function(){function e(){return this.keys}return e}(),t}()}}}}},{extensions:[".js",".json"]}),k=h("/node_modules/meteor/reactive-dict/migration.js");Package._define("reactive-dict",k,{ReactiveDict:d})}(); 145 146!function(){var e=Package.meteor.Meteor,s=Package.meteor.global,a=Package.meteor.meteorEnv,o=Package["reactive-dict"].ReactiveDict,t=Package.ejson.EJSON,i=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,r=Package["ecmascript-runtime-client"].Symbol,m=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,g,k=i({node_modules:{meteor:{session:{
146"session.js":function e(s,a,e){var o;e.export({Session:function(){return t}}),e.link("meteor/reactive-dict",{ReactiveDict:function(e){o=e}},0);var t=new o("session")}}}}},{extensions:[".js",".json"]}),P=k("/node_modules/meteor/session/session.js");Package._define("session",P,{Session:g})}(); 147 148Package._define("meteorhacks:ssr"); 149 150!function(){var n,t;(function(){n={}}).call(this),function(){(function(){var t=this,r=t._,e={},u=Array.prototype,i=Object.prototype,a=Function.prototype,c=u.push,o=u.slice,l=u.concat,f=i.toString,s=i.hasOwnProperty,p=u.forEach,h=u.map,v=u.reduce,y=u.reduceRight,d=u.filter,g=u.every,m=u.some,b=u.indexOf,_=u.lastIndexOf,w=Array.isArray,x=Object.keys,j=a.bind,A=function(n){return n instanceof A?n:this instanceof A?void(this._wrapped=n):new A(n)};"undefined"!=typeof n?("undefined"!=typeof module&&module.exports&&(n=module.exports=A),n._=A):t._=A,A.VERSION="1.5.2";var O=function(n){return"[object Arguments]"===f.call(n)};O(arguments)||(O=function(n){return!(!n||!s.call(n,"callee")||"function"!=typeof n.callee)});var E=function(n){return n.length===+n.length&&(O(n)||n.constructor!==Object)},k=A.each=A.forEach=function(n,t,r){if(null!=n)if(p&&n.forEach===p)n.forEach(t,r);else if(E(n)){for(var u=0,i=n.length;u<i;u++)if(t.call(r,n[u],u,n)===e)return}else for(var a=A.keys(n),u=0,i=a.length;u<i;u++)if(t.call(r,n[a[u]],a[u],n)===e)return};A.map=A.collect=function(n,t,r){var e=[];return null==n?e:h&&n.map===h?n.map(t,r):(k(n,(function(n,u,i){e.push(t.call(r,n,u,i))})),e)};var F="Reduce of empty array with no initial value";A.reduce=A.foldl=A.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduce===v)return e&&(t=A.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(k(n,(function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)})),!u)throw new TypeError(F);return r},A.reduceRight=A.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),y&&n.reduceRight===y)return e&&(t=A.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(!E(n)){var a=A.keys(n);i=a.length}if(k(n,(function(c,o,l){o=a?a[--i]:--i,u?r=t.call(e,r,n[o],o,l):(r=n[o],u=!0)})),!u)throw new TypeError(F);return r},A.find=A.detect=function(n,t,r){var e;return M(n,(function(n,u,i){if(t.call(r,n,u,i))return e=n,!0})),e},A.filter=A.select=function(n,t,r){var e=[];return null==n?e:d&&n.filter===d?n.filter(t,r):(k(n,(function(n,u,i){t.call(r,n,u,i)&&e.push(n)})),e)},A.reject=function(n,t,r){return A.filter(n,(function(n,e,u){return!t.call(r,n,e,u)}),r)},A.every=A.all=function(n,t,r){t||(t=A.identity);var u=!0;return null==n?u:g&&n.every===g?n.every(t,r):(k(n,(function(n,i,a){if(!(u=u&&t.call(r,n,i,a)))return e})),!!u)};var M=A.some=A.any=function(n,t,r){t||(t=A.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,r):(k(n,(function(n,i,a){if(u||(u=t.call(r,n,i,a)))return e})),!!u)};A.contains=A.include=function(n,t){return null!=n&&(b&&n.indexOf===b?-1!=n.indexOf(t):M(n,(function(n){return n===t})))},A.invoke=function(n,t){var r=o.call(arguments,2),e=A.isFunction(t);return A.map(n,(function(n){return(e?t:n[t]).apply(n,r)}))},A.pluck=function(n,t){return A.map(n,(function(n){return n[t]}))},A.where=function(n,t,r){return A.isEmpty(t)?r?void 0:[]:A[r?"find":"filter"](n,(function(n){for(var r in t)if(t[r]!==n[r])return!1;return!0}))},A.findWhere=function(n,t){return A.where(n,t,!0)},A.max=function(n,t,r){if(!t&&A.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.max.apply(Math,n);if(!t&&A.isEmpty(n))return-1/0;var e={computed:-1/0,value:-1/0};return k(n,(function(n,u,i){var a=t?t.call(r,n,u,i):n;a>e.computed&&(e={value:n,computed:a})})),e.value},A.min=function(n,t,r){if(!t&&A.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.min.apply(Math,n);if(!t&&A.isEmpty(n))return 1/0;var e={computed:1/0,value:1/0};return k(n,(function(n,u,i){var a=t?t.call(r,n,u,i):n;a<e.computed&&(e={value:n,computed:a})})),e.value},A.shuffle=function(n){var t,r=0,e=[];return k(n,(function(n){t=A.random(r++),e[r-1]=e[t],e[t]=n})),e},A.sample=function(n,t,r){return arguments.length<2||r?n[A.random(n.length-1)]:A.shuffle(n).slice(0,Math.max(0,t))};var R=function(n){return A.isFunction(n)?n:function(t){return t[n]}};A.sortBy=function(n,t,r){var e=R(t);return A.pluck(A.map(n,(function(n,t,u){return{value:n,index:t,criteria:e.call(r,n,t,u)}})).sort((function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index})),"value")};var S=function(n){return function(t,r,e){var u={},i=null==r?A.identity:R(r);return k(t,(function(r,a){var c=i.call(e,r,a,t);n(u,c,r)})),u}};A.groupBy=S((function(n,t,r){(A.has(n,t)?n[t]:n[t]=[]).push(r)})),A.indexBy=S((function(n,t,r){n[t]=r})),A.countBy=S((function(n,t){A.has(n,t)?n[t]++:n[t]=1})),A.sortedIndex=function(n,t,r,e){for(var u=(r=null==r?A.identity:R(r)).call(e,t),i=0,a=n.length;i<a;){var c=i+a>>>1;r.call(e,n[c])<u?i=c+1:a=c}return i},A.toArray=function(n){return n?A.isArray(n)?o.call(n):E(n)?A.map(n,A.identity):A.values(n):[]},A.size=function(n){return null==n?0:E(n)?n.length:A.keys(n).length},A.first=A.head=A.take=function(n,t,r){if(null!=n)return null==t||r?n[0]:o.call(n,0,t)},A.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},A.last=function(n,t,r){if(null!=n)return null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},A.rest=A.tail=A.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},A.compact=function(n){return A.filter(n,A.identity)};var I=function(n,t,r){return t&&A.every(n,A.isArray)?l.apply(r,n):(k(n,
150(function(n){A.isArray(n)||A.isArguments(n)?t?c.apply(r,n):I(n,t,r):r.push(n)})),r)};A.flatten=function(n,t){return I(n,t,[])},A.without=function(n){return A.difference(n,o.call(arguments,1))},A.uniq=A.unique=function(n,t,r,e){A.isFunction(t)&&(e=r,r=t,t=!1);var u=r?A.map(n,r,e):n,i=[],a=[];return k(u,(function(r,e){(t?e&&a[a.length-1]===r:A.contains(a,r))||(a.push(r),i.push(n[e]))})),i},A.union=function(){return A.uniq(A.flatten(arguments,!0))},A.intersection=function(n){var t=o.call(arguments,1);return A.filter(A.uniq(n),(function(n){return A.every(t,(function(t){return A.indexOf(t,n)>=0}))}))},A.difference=function(n){var t=l.apply(u,o.call(arguments,1));return A.filter(n,(function(n){return!A.contains(t,n)}))},A.zip=function(){for(var n=A.max(A.pluck(arguments,"length").concat(0)),t=new Array(n),r=0;r<n;r++)t[r]=A.pluck(arguments,""+r);return t},A.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},A.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return n[e=A.sortedIndex(n,t)]===t?e:-1;e=r<0?Math.max(0,u+r):r}if(b&&n.indexOf===b)return n.indexOf(t,r);for(;e<u;e++)if(n[e]===t)return e;return-1},A.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(_&&n.lastIndexOf===_)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},A.range=function(n,t,r){arguments.length<=1&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=new Array(e);u<e;)i[u++]=n,n+=r;return i};var T=function(){};A.bind=function(n,t){var r,e;if(j&&n.bind===j)return j.apply(n,o.call(arguments,1));if(!A.isFunction(n))throw new TypeError;return r=o.call(arguments,2),e=function(){if(!(this instanceof e))return n.apply(t,r.concat(o.call(arguments)));T.prototype=n.prototype;var u=new T;T.prototype=null;var i=n.apply(u,r.concat(o.call(arguments)));return Object(i)===i?i:u}},A.partial=function(n){var t=o.call(arguments,1);return function(){return n.apply(this,t.concat(o.call(arguments)))}},A.bindAll=function(n){var t=o.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return k(t,(function(t){n[t]=A.bind(n[t],n)})),n},A.memoize=function(n,t){var r={};return t||(t=A.identity),function(){var e=t.apply(this,arguments);return A.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},A.delay=function(n,t){var r=o.call(arguments,2);return setTimeout((function(){return n.apply(null,r)}),t)},A.defer=function(n){return A.delay.apply(A,[n,1].concat(o.call(arguments,1)))},A.throttle=function(n,t,r){var e,u,i,a=null,c=0;r||(r={});var o=function(){c=!1===r.leading?0:new Date,a=null,i=n.apply(e,u)};return function(){var l=new Date;c||!1!==r.leading||(c=l);var f=t-(l-c);return e=this,u=arguments,f<=0?(clearTimeout(a),a=null,c=l,i=n.apply(e,u)):a||!1===r.trailing||(a=setTimeout(o,f)),i}},A.debounce=function(n,t,r){var e,u,i,a,c;return function(){i=this,u=arguments,a=new Date;var o=function(){var l=new Date-a;l<t?e=setTimeout(o,t-l):(e=null,r||(c=n.apply(i,u)))},l=r&&!e;return e||(e=setTimeout(o,t)),l&&(c=n.apply(i,u)),c}},A.once=function(n){var t=!1,r;return function(){return t||(t=!0,r=n.apply(this,arguments),n=null),r}},A.wrap=function(n,t){return function(){var r=[n];return c.apply(r,arguments),t.apply(this,r)}},A.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},A.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},A.keys=x||function(n){if(n!==Object(n))throw new TypeError("Invalid object");var t=[];for(var r in n)A.has(n,r)&&t.push(r);return t},A.values=function(n){for(var t=A.keys(n),r=t.length,e=new Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e},A.pairs=function(n){for(var t=A.keys(n),r=t.length,e=new Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},A.invert=function(n){for(var t={},r=A.keys(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t},A.functions=A.methods=function(n){var t=[];for(var r in n)A.isFunction(n[r])&&t.push(r);return t.sort()}
150,A.extend=function(n){return k(o.call(arguments,1),(function(t){if(t)for(var r in t)n[r]=t[r]})),n},A.pick=function(n){var t={},r=l.apply(u,o.call(arguments,1));return k(r,(function(r){r in n&&(t[r]=n[r])})),t},A.omit=function(n){var t={},r=l.apply(u,o.call(arguments,1));for(var e in n)A.contains(r,e)||(t[e]=n[e]);return t},A.defaults=function(n){return k(o.call(arguments,1),(function(t){if(t)for(var r in t)void 0===n[r]&&(n[r]=t[r])})),n},A.clone=function(n){return A.isObject(n)?A.isArray(n)?n.slice():A.extend({},n):n},A.tap=function(n,t){return t(n),n};var N=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof A&&(n=n._wrapped),t instanceof A&&(t=t._wrapped);var u=f.call(n);if(u!=f.call(t))return!1;switch(u){case"[object String]":return n==String(t);case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;var a=n.constructor,c=t.constructor;if(a!==c&&!(A.isFunction(a)&&a instanceof a&&A.isFunction(c)&&c instanceof c))return!1;r.push(n),e.push(t);var o=0,l=!0;if("[object Array]"==u){if(l=(o=n.length)==t.length)for(;o--&&(l=N(n[o],t[o],r,e)););}else{for(var s in n)if(A.has(n,s)&&(o++,!(l=A.has(t,s)&&N(n[s],t[s],r,e))))break;if(l){for(s in t)if(A.has(t,s)&&!o--)break;l=!o}}return r.pop(),e.pop(),l};A.isEqual=function(n,t){return N(n,t,[],[])},A.isEmpty=function(n){if(null==n)return!0;if(A.isArray(n)||A.isString(n))return 0===n.length;for(var t in n)if(A.has(n,t))return!1;return!0},A.isElement=function(n){return!(!n||1!==n.nodeType)},A.isArray=w||function(n){return"[object Array]"==f.call(n)},A.isObject=function(n){return n===Object(n)},k(["Arguments","Function","String","Number","Date","RegExp"],(function(n){A["is"+n]=function(t){return f.call(t)=="[object "+n+"]"}})),A.isArguments(arguments)||(A.isArguments=function(n){return!(!n||!A.has(n,"callee"))}),"function"!=typeof/./&&(A.isFunction=function(n){return"function"==typeof n}),A.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},A.isNaN=function(n){return A.isNumber(n)&&n!=+n},A.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"==f.call(n)},A.isNull=function(n){return null===n},A.isUndefined=function(n){return void 0===n},A.has=function(n,t){return s.call(n,t)},A.noConflict=function(){return t._=r,this},A.identity=function(n){return n},A.times=function(n,t,r){for(var e=Array(Math.max(0,n)),u=0;u<n;u++)e[u]=t.call(r,u);return e},A.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};var q={escape:{"&":"&","<":"<",">":">",'"':""","'":"'"}};q.unescape=A.invert(q.escape);var B={escape:new RegExp("["+A.keys(q.escape).join("")+"]","g"),unescape:new RegExp("("+A.keys(q.unescape).join("|")+")","g")};A.each(["escape","unescape"],(function(n){A[n]=function(t){return null==t?"":(""+t).replace(B[n],(function(t){return q[n][t]}))}})),A.result=function(n,t){if(null!=n){var r=n[t];return A.isFunction(r)?r.call(n):r}},A.mixin=function(n){k(A.functions(n),(function(t){var r=A[t]=n[t];A.prototype[t]=function(){var n=[this._wrapped];return c.apply(n,arguments),U.call(this,r.apply(A,n))}}))};var D=0;A.uniqueId=function(n){var t=++D+"";return n?n+t:t},A.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var z=/(.)^/,C={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},P=/\\|'|\r|\n|\t|\u2028|\u2029/g;A.template=function(n,t,r){var e;r=A.defaults({},r,A.templateSettings);var u=new RegExp([(r.escape||z).source,(r.interpolate||z).source,(r.evaluate||z).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,(function(t,r,e,u,c){return a+=n.slice(i,c).replace(P,(function(n){return"\\"+C[n]})),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=c+t.length,t})),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=new Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,A);var c=function(n){return e.call(this,n,A)};
150return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},A.chain=function(n){return A(n).chain()};var U=function(n){return this._chain?A(n).chain():n};A.mixin(A),k(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var t=u[n];A.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],U.call(this,r)}})),k(["concat","join","slice"],(function(n){var t=u[n];A.prototype[n]=function(){return U.call(this,t.apply(this._wrapped,arguments))}})),A.extend(A.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}).call(this)}.call(this),function(){t=n._}.call(this),Package._define("underscore",{_:t})}(); 151 152!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,n=Package.underscore._,i=Package.tracker.Tracker,o=Package.tracker.Deps,a=Package["reactive-dict"].ReactiveDict,s=Package["reactive-var"].ReactiveVar,u=Package.ejson.EJSON,c=Package.modules.meteorInstall,p=Package.modules.meteorBabelHelpers,l,h,f,d,g,y,m,v=c({node_modules:{meteor:{"kadira:flow-router":{client:{
152"modules.js":function t(e){l=e("page"),h=e("qs")},
152"triggers.js":function t(){(f={}).applyFilters=function(t,e){if(t instanceof Array||(t=[t]),!e)return t;if(e.only&&e.except)throw new Error("Triggers don't support only and except filters at once");if(e.only&&!(e.only instanceof Array))throw new Error("only filters needs to be an array");if(e.except&&!(e.except instanceof Array))throw new Error("except filters needs to be an array");if(e.only)return f.createRouteBoundTriggers(t,e.only);if(e.except)return f.createRouteBoundTriggers(t,e.except,!0);throw new Error("Provided a filter but not supported")},f.createRouteBoundTriggers=function(t,e,r){var i={},o;return n.each(e,(function(t){i[t]=!0})),n.map(t,(function(t){var e;return function(e,n){var o=e.route.name,a=i[o]?1:-1;1===(a=r?-1*a:a)&&t(e,n)}}))},f.runTriggers=function(t,e,r,n){for(var i=!1,o=!0,a=!1,s=0;s<t.length;s++){var u;if((0,t[s])(e,c,p),i)return}function c(t,e,r){if(a)throw new Error("already redirected");throw new Error("redirect needs to be done in sync")}function p(){i=!0}o=!1,n()}},
152"router.js":function e(){var r;(d=function(){var e=this;this.globals=[],this.subscriptions=Function.prototype,this._tracker=this._buildTracker(),this._current={},this._onEveryPath=new i.Dependency,this._globalRoute=new y(this),this._onRouteCallbacks=[],this._askedToWait=!1,this._initialized=!1,this._triggersEnter=[],this._triggersExit=[],this._routes=[],this._routesMap={},this._updateCallbacks(),this.notFound=this.notfound=null,this.safeToRun=0,this._basePath=__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"",this._oldRouteChain=[],this.env={replaceState:new t.EnvironmentVariable,reload:new t.EnvironmentVariable,trailingSlash:new t.EnvironmentVariable},this._redirectFn=function(t,r,n){var i;if(/^http(s)?:\/\//.test(t))throw new Error("Redirects to URLs outside of the app are not supported in this version of Flow Router. Use 'window.location = yourUrl' instead");e.withReplaceState((function(){var i=m.path(t,r,n);e._page.redirect(i)}))},this._initTriggersAPI()}).prototype.route=function(t,e,r){var n;if(!/^\/.*/.test(t))throw new Error("route's path must start with '/'");var i=this,o=new y(this,t,e=e||{},r);return o._actionHandle=function(t,e){var r=i._current.route;i._oldRouteChain.push(r);var n=i._qs.parse(t.querystring);n=JSON.parse(JSON.stringify(n)),i._current={path:t.path,context:t,params:t.params,queryParams:n,route:o,oldRoute:r};var a=function(){i._invalidateTracker()},s=i._triggersEnter.concat(o._triggersEnter);f.runTriggers(s,i._current,i._redirectFn,a)},o._exitHandle=function(t,e){var r=i._triggersExit.concat(o._triggersExit);f.runTriggers(r,i._current,i._redirectFn,e)},this._routes.push(o),e.name&&(this._routesMap[e.name]=o),this._updateCallbacks(),this._triggerRouteRegister(o),o},d.prototype.group=function(t){return new g(this,t)},d.prototype.path=function(t,e,r){this._routesMap[t]&&(t=this._routesMap[t].pathDef);var i="";this._basePath&&(i+="/"+this._basePath+"/"),e=e||{};var o=/(:[\w\(\)\\\+\*\.\?]+)+/g;i=(i=(i+=t.replace(o,(function(t){var r=t.indexOf("(");return t=(t=t.substring(1,r>0?r:void 0)).replace(/[\+\*\?]+/g,""),encodeURIComponent(encodeURIComponent(e[t]||""))}))).replace(/\/\/+/g,"/")).match(/^\/{1}$/)?i:i.replace(/\/$/,""),this.env.trailingSlash.get()&&"/"!==n.last(i)&&(i+="/");var a=this._qs.stringify(r||{});return a&&(i+="?"+a),i},d.prototype.go=function(t,e,r){var n=this.path(t,e,r),i;this.env.replaceState.get()?this._page.replace(n):this._page(n)},d.prototype.reload=function(){var t=this;t.env.reload.withValue(!0,(function(){t._page.replace(t._current.path)}))},d.prototype.redirect=function(t){this._page.redirect(t)},d.prototype.setParams=function(t){if(!this._current.route)return!1;var e=this._current.route.pathDef,r=this._current.params,i={};n.each(n.keys(r),(function(t){i[t]=r[t]})),i=n.extend(i,t);var o=this._current.queryParams;return this.go(e,i,o),!0},d.prototype.setQueryParams=function(t){if(!this._current.route)return!1;var e=n.clone(this._current.queryParams);for(var r in n.extend(e,t),e)null!==e[r]&&void 0!==e[r]||delete e[r];var i=this._current.route.pathDef,o=this._current.params;return this.go(i,o,e),!0},d.prototype.current=function(){var t=n.clone(this._current);return t.queryParams=u.clone(t.queryParams),t.params=u.clone(t.params),t},["getParam","getQueryParam","getRouteName","watchPathChange"].forEach((function(t){d.prototype[t]=function(e){var r=this._current.route;if(r)return r[t].call(r,e);this._onEveryPath.depend()}})),d.prototype.subsReady=function(){var t=null,e=n.toArray(arguments);"function"==typeof n.last(e)&&(t=e.pop());var r=this.current().route,o=this._globalRoute,a;if(this._onEveryPath.depend(),!r)return!1;a=0===e.length?(a=n.values(o.getAllSubscriptions())).concat(n.values(r.getAllSubscriptions())):n.map(e,(function(t){return o.getSubscription(t)||r.getSubscription(t)}));var s=function(){var t;return n.every(a,(function(t){return t&&t.ready()}))};if(!t)return s();i.autorun((function(e){s()&&(t(),e.stop())}))},d.prototype.withReplaceState=function(t){return this.env.replaceState.withValue(!0,t)},d.prototype.withTrailingSlash=function(t){return this.env.trailingSlash.withValue(!0,t)},d.prototype._notfoundRoute=function(t){this._current={path:t.path,context:t,params:[],queryParams:{}},this.notFound=this.notFound||this.notfound,this.notFound?(this._current.route=ne
152w y(this,"*",this.notFound),this._invalidateTracker()):console.error("There is no route for the path:",t.path)},d.prototype.initialize=function(t){if(t=t||{},this._initialized)throw new Error("FlowRouter is already initialized");var e=this;this._updateCallbacks(),n.each(["show","replace"],(function(t){var r=e._page[t];e._page[t]=function(t,n,i,o){var a;(e.env.reload.get()||e._current.path!==t)&&r.call(this,t,n,i,o)}})),this._page.base(this._basePath),this._page({decodeURLComponents:!0,hashbang:!!t.hashbang}),this._initialized=!0},d.prototype._buildTracker=function(){var t=this,e;return i.autorun((function(){if(t._current&&t._current.route){var e=t._current,r=e.route,n=e.path,o;if(0===t.safeToRun)throw new Error("You can't use reactive data sources like Session inside the `.subscriptions` method!");t._globalRoute.clearSubscriptions(),t.subscriptions.call(t._globalRoute,n),r.callSubscriptions(e),i.nonreactive((function(){var n=e.oldRoute!==e.route,o;!e.oldRoute&&(n=!1);var a=t._oldRouteChain[0];t._oldRouteChain=[],e.route.registerRouteChange(e,n),r.callAction(e),i.afterFlush((function(){t._onEveryPath.changed(),n&&a&&a.registerRouteClose()}))})),t.safeToRun--}}))},d.prototype._invalidateTracker=function(){var e=this;if(this.safeToRun++,this._tracker.invalidate(),!i.currentComputation)try{i.flush()}catch(r){if(!/Tracker\.flush while flushing/.test(r.message))return;t.defer((function(){var t=e._nextPath;t&&(delete e._nextPath,e.env.reload.withValue(!0,(function(){e.go(t)})))}))}},d.prototype._updateCallbacks=function(){var t=this;t._page.callbacks=[],t._page.exits=[],n.each(t._routes,(function(e){t._page(e.pathDef,e._actionHandle),t._page.exit(e.pathDef,e._exitHandle)})),t._page("*",(function(e){t._notfoundRoute(e)}))},d.prototype._initTriggersAPI=function(){var t=this;this.triggers={enter:function(e,r){(e=f.applyFilters(e,r)).length&&(t._triggersEnter=t._triggersEnter.concat(e))},exit:function(e,r){(e=f.applyFilters(e,r)).length&&(t._triggersExit=t._triggersExit.concat(e))}}},d.prototype.wait=function(){if(this._initialized)throw new Error("can't wait after FlowRouter has been initialized");this._askedToWait=!0},d.prototype.onRouteRegister=function(t){this._onRouteCallbacks.push(t)},d.prototype._triggerRouteRegister=function(t){var e=n.pick(t,"name","pathDef","path"),r=["triggersEnter","triggersExit","action","subscriptions","name"];e.options=n.omit(t.options,r),n.each(this._onRouteCallbacks,(function(t){t(e)}))},d.prototype._page=l,d.prototype._qs=h},
152"group.js":function t(){(g=function(t,e,r){var n;if((e=e||{}).prefix&&!/^\/.*/.test(e.prefix))throw new Error("group's prefix must start with '/'");this._router=t,this.prefix=e.prefix||"",this.name=e.name,this.options=e,this._triggersEnter=e.triggersEnter||[],this._triggersExit=e.triggersExit||[],this._subscriptions=e.subscriptions||Function.prototype,this.parent=r,this.parent&&(this.prefix=r.prefix+this.prefix,this._triggersEnter=r._triggersEnter.concat(this._triggersEnter),this._triggersExit=this._triggersExit.concat(r._triggersExit))}).prototype.route=function(t,e,r){var n;if(e=e||{},!/^\/.*/.test(t))throw new Error("route's path must start with '/'");r=r||this,t=this.prefix+t;var i=e.triggersEnter||[];e.triggersEnter=this._triggersEnter.concat(i);var o=e.triggersExit||[];return e.triggersExit=o.concat(this._triggersExit),this._router.route(t,e,r)},g.prototype.group=function(t){return new g(this._router,t,this)},g.prototype.callSubscriptions=function(t){this.parent&&this.parent.callSubscriptions(t),this._subscriptions.call(t.route,t.params,t.queryParams)}},
152"route.js":function t(){(y=function(t,e,r,n){r=r||{},this.options=r,this.pathDef=e,this.path=e,r.name&&(this.name=r.name),this._action=r.action||Function.prototype,this._subscriptions=r.subscriptions||Function.prototype,this._triggersEnter=r.triggersEnter||[],this._triggersExit=r.triggersExit||[],this._subsMap={},this._router=t,this._params=new a,this._queryParams=new a,this._routeCloseDep=new i.Dependency,this._pathChangeDep=new i.Dependency,this.group=n}).prototype.clearSubscriptions=function(){this._subsMap={}},y.prototype.register=function(t,e,r){this._subsMap[t]=e},y.prototype.getSubscription=function(t){return this._subsMap[t]},y.prototype.getAllSubscriptions=function(){return this._subsMap},y.prototype.callAction=function(t){var e;this._action(t.params,t.queryParams)},y.prototype.callSubscriptions=function(t){this.clearSubscriptions(),this.group&&this.group.callSubscriptions(t),this._subscriptions(t.params,t.queryParams)},y.prototype.getRouteName=function(){return this._routeCloseDep.depend(),this.name},y.prototype.getParam=function(t){return this._routeCloseDep.depend(),this._params.get(t)},y.prototype.getQueryParam=function(t){return this._routeCloseDep.depend(),this._queryParams.get(t)},y.prototype.watchPathChange=function(){this._pathChangeDep.depend()},y.prototype.registerRouteClose=function(){this._params=new a,this._queryParams=new a,this._routeCloseDep.changed(),this._pathChangeDep.changed()},y.prototype.registerRouteChange=function(t,e){var r=t.params;this._updateReactiveDict(this._params,r);var n=t.queryParams;this._updateReactiveDict(this._queryParams,n),e||this._pathChangeDep.changed()},y.prototype._updateReactiveDict=function(t,e){var r=n.keys(e),i=n.keys(t.keyDeps);n.each(r,(function(r){t.set(r,e[r])}));var o=n.difference(i,r);n.each(o,(function(e){t.set(e,void 0)}))}},
152"_init.js":function e(){(m=new d).Router=d,m.Route=y,t.startup((function(){m._askedToWait||m.initialize()}))}},lib:{
152"router.js":function e(){d.prototype.url=function(){var e=this.path.apply(this,arguments),r=this._basePath||"/",n=e.replace(new RegExp("^"+r),"");return t.absoluteUrl(n)}}},node_modules:{page:{
152"package.json":function t(e,r,t){t.exports={name:"page",version:"1.6.4"}},
152"index.js":function t(e,r,t){"use strict";var n=e("path-to-regexp");t.exports=h;var i="undefined"!=typeof document&&document.ontouchstart?"touchstart":"click",o="undefined"!=typeof window&&(window.history.location||window.location),a=!0,s=!0,u="",c,p=!1,l;function h(t,e){if("function"==typeof t)return h("*",t);if("function"==typeof e)for(var r=new y(t),n=1;n<arguments.length;++n)h.callbacks.push(r.middleware(arguments[n]));else"string"==typeof t?h["string"==typeof e?"redirect":"show"](t,e):h.start(t)}function f(t){var e;t.handled||(e=p?u+o.hash.replace("#!",""):o.pathname+o.search)!==t.canonicalPath&&(h.stop(),t.handled=!1,o.href=t.canonicalPath)}function d(t){return"string"!=typeof t?t:s?decodeURIComponent(t.replace(/\+/g," ")):t}function g(t,e){"/"===t[0]&&0!==t.indexOf(u)&&(t=u+(p?"#!":"")+t);var r=t.indexOf("?");if(this.canonicalPath=t,this.path=t.replace(u,"")||"/",p&&(this.path=this.path.replace("#!","")||"/"),this.title=document.title,this.state=e||{},this.state.path=t,this.querystring=~r?d(t.slice(r+1)):"",this.pathname=d(~r?t.slice(0,r):t),this.params={},this.hash="",!p){if(!~this.path.indexOf("#"))return;var n=this.path.split("#");this.path=n[0],this.hash=d(n[1])||"",this.querystring=this.querystring.split("#")[0]}}function y(t,e){e=e||{},this.path="*"===t?"(.*)":t,this.method="GET",this.regexp=n(this.path,this.keys=[],e)}h.callbacks=[],h.exits=[],h.current="",h.len=0,h.base=function(t){if(0===arguments.length)return u;u=t},h.start=function(t){if(t=t||{},!c&&(c=!0,!1===t.dispatch&&(a=!1),!1===t.decodeURLComponents&&(s=!1),!1!==t.popstate&&window.addEventListener("popstate",m,!1),!1!==t.click&&document.addEventListener(i,v,!1),!0===t.hashbang&&(p=!0),a)){var e=p&&~o.hash.indexOf("#!")?o.hash.substr(2)+o.search:o.pathname+o.search+o.hash;h.replace(e,null,!0,a)}},h.stop=function(){c&&(h.current="",h.len=0,c=!1,document.removeEventListener(i,v,!1),window.removeEventListener("popstate",m,!1))},h.show=function(t,e,r,n){var i=new g(t,e);return h.current=i.path,!1!==r&&h.dispatch(i),!1!==i.handled&&!1!==n&&i.pushState(),i},h.back=function(t,e){h.len>0?(history.back(),h.len--):t?setTimeout((function(){h.show(t,e)})):setTimeout((function(){h.show(u,e)}))},h.redirect=function(t,e){"string"==typeof t&&"string"==typeof e&&h(t,(function(t){setTimeout((function(){h.replace(e)}),0)})),"string"==typeof t&&"undefined"==typeof e&&setTimeout((function(){h.replace(t)}),0)},h.replace=function(t,e,r,n){var i=new g(t,e);return h.current=i.path,i.init=r,i.save(),!1!==n&&h.dispatch(i),i},h.dispatch=function(t){var e=l,r=0,n=0;function i(){var t=h.exits[n++];if(!t)return o();t(e,i)}function o(){var e=h.callbacks[r++];if(t.path===h.current)return e?void e(t,o):f(t);t.handled=!1}l=t,e?i():o()},h.exit=function(t,e){if("function"==typeof t)return h.exit("*",t);for(var r=new y(t),n=1;n<arguments.length;++n)h.exits.push(r.middleware(arguments[n]))},h.Context=g,g.prototype.pushState=function(){h.len++,history.pushState(this.state,this.title,p&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},g.prototype.save=function(){history.replaceState(this.state,this.title,p&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},h.Route=y,y.prototype.middleware=function(t){var e=this;return function(r,n){if(e.match(r.path,r.params))return t(r,n);n()}},y.prototype.match=function(t,e){var r=this.keys,n=t.indexOf("?"),i=~n?t.slice(0,n):t,o=this.regexp.exec(decodeURIComponent(i));if(!o)return!1;for(var a=1,s=o.length;a<s;++a){var u=r[a-1],c=d(o[a]);void 0===c&&hasOwnProperty.call(e,u.name)||(e[u.name]=c)}return!0};var m=function(){var t=!1;if("undefined"!=typeof window)return"complete"===document.readyState?t=!0:window.addEventListener("load",(function(){setTimeout((function(){t=!0}),0)})),function e(r){if(t)if(r.state){var n=r.state.path;h.replace(n,r.state)}else h.show(o.pathname+o.hash,void 0,void 0,!1)}}();function v(t){if(1===_(t)&&!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented)){for(var e=t.target;e&&"A"!==e.nodeName;)e=e.parentNode;if(e&&"A"===e.nodeName&&!e.hasAttribute("download")&&"external"!==e.getAttribute("rel")){var r=e.getAttribute("href");if((p||e.pathname!==o.pathname||!e.hash&&"#"!==r)&&!(r&&r.indexOf("mailto:")>-1)&&!e.target&&b(e.href)){var n=e.pathname+e.search+(e.hash||"");n="/"!==n[0]?"/"+n:n,"undefined"!=typeof process&&n.match(/^\/[a-zA-Z]:\//)&&(n=n.replace(/^\/[a-zA-Z]:\//,"/"));var i=n;0===n.indexOf(u)&&(n=n.substr(u.length)),p&&(n=n.replace("#!","")),u&&i===n||(t.preventDefault(),h.show(i))}}}}function _(t){return null===(t=t||window.event).which?t.button:t.which}function b(t){var e=o.protocol+"//"+o.hostname;return o.port&&(e+=":"+o.port),t&&0===t.indexOf(e)}h.sameOrigin=b},node_modules:{"path-to-regexp":{
152"package.json":function t(e,r,t){t.exports={name:"path-to-regexp",version:"1.2.1"}},
152"index.js":function t(e,r,t){var n=e("isarray");t.exports=y,t.exports.parse=o,t.exports.compile=a,t.exports.tokensToFunction=s,t.exports.tokensToRegExp=g;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(t){for(var e=[],r=0,n=0,o="",a;null!=(a=i.exec(t));){var s=a[0],u=a[1],p=a.index;if(o+=t.slice(n,p),n=p+s.length,u)o+=u[1];else{o&&(e.push(o),o="");var l=a[2],h=a[3],f=a[4],d=a[5],g=a[6],y=a[7],m="+"===g||"*"===g,v="?"===g||"*"===g,_=l||"/",b=f||d||(y?".*":"[^"+_+"]+?");e.push({name:h||r++,prefix:l||"",delimiter:_,optional:v,repeat:m,pattern:c(b)})}}return n<t.length&&(o+=t.substr(n)),o&&e.push(o),e}function a(t){return s(o(t))}function s(t){for(var e=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(e[r]=new RegExp("^"+t[r].pattern+"$"));return function(r){for(var i="",o=r||{},a=0;a<t.length;a++){var s=t[a];if("string"!=typeof s){var u=o[s.name],c;if(null==u){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to be defined')}if(n(u)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received "'+u+'"');if(0===u.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var p=0;p<u.length;p++){if(c=encodeURIComponent(u[p]),!e[a].test(c))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received "'+c+'"');i+=(0===p?s.prefix:s.delimiter)+c}}else{if(c=encodeURIComponent(u),!e[a].test(c))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+c+'"');i+=s.prefix+c}}else i+=s}return i}}function u(t){return t.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function c(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function p(t,e){return t.keys=e,t}function l(t){return t.sensitive?"":"i"}function h(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return p(t,e)}function f(t,e,r){for(var n=[],i=0;i<t.length;i++)n.push(y(t[i],e,r).source);var o;return p(new RegExp("(?:"+n.join("|")+")",l(r)),e)}function d(t,e,r){for(var n=o(t),i=g(n,r),a=0;a<n.length;a++)"string"!=typeof n[a]&&e.push(n[a]);return p(i,e)}function g(t,e){for(var r=(e=e||{}).strict,n=!1!==e.end,i="",o=t[t.length-1],a="string"==typeof o&&/\/$/.test(o),s=0;s<t.length;s++){var c=t[s];if("string"==typeof c)i+=u(c);else{var p=u(c.prefix),h=c.pattern;c.repeat&&(h+="(?:"+p+h+")*"),i+=h=c.optional?p?"(?:"+p+"("+h+"))?":"("+h+")?":p+"("+h+")"}}return r||(i=(a?i.slice(0,-2):i)+"(?:\\/(?=$))?"),i+=n?"$":r&&a?"":"(?=\\/|$)",new RegExp("^"+i,l(e))}function y(t,e,r){return n(e=e||[])?r||(r={}):(r=e,e=[]),t instanceof RegExp?h(t,e,r):n(t)?f(t,e,r):d(t,e,r)}},node_modules:{isarray:{
152"package.json":function t(e,r,t){t.exports={name:"isarray",version:"0.0.1",main:"index.js"}},
152"index.js":function t(e,r,t){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}}}}}}},qs:{
152"package.json":function t(e,r,t){t.exports={name:"qs",version:"5.2.0",main:"lib/index.js"}},lib:{
152"index.js":function t(e,r,t){var n=e("./stringify"),i=e("./parse");t.exports={stringify:n,parse:i}},
152"stringify.js":function t(e,r,t){var n=e("./utils"),i={delimiter:"&",arrayPrefixGenerators:{brackets:function(t,e){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t,e){return t}},strictNullHandling:!1,skipNulls:!1,encode:!0,stringify:function(t,e,r,o,a,s,u,c){if("function"==typeof u)t=u(e,t);else if(n.isBuffer(t))t=t.toString();else if(t instanceof Date)t=t.toISOString();else if(null===t){if(o)return s?n.encode(e):e;t=""}if("string"==typeof t||"number"==typeof t||"boolean"==typeof t)return s?[n.encode(e)+"="+n.encode(t)]:[e+"="+t];var p=[],l;if("undefined"==typeof t)return p;if(Array.isArray(u))l=u;else{var h=Object.keys(t);l=c?h.sort(c):h}for(var f=0,d=l.length;f<d;++f){var g=l[f];a&&null===t[g]||(p=Array.isArray(t)?p.concat(i.stringify(t[g],r(e,g),r,o,a,s,u)):p.concat(i.stringify(t[g],e+"["+g+"]",r,o,a,s,u)))}return p}};t.exports=function(t,e){var r="undefined"==typeof(e=e||{}).delimiter?i.delimiter:e.delimiter,n="boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling,o="boolean"==typeof e.skipNulls?e.skipNulls:i.skipNulls,a="boolean"==typeof e.encode?e.encode:i.encode,s="function"==typeof e.sort?e.sort:null,u,c;"function"==typeof e.filter?t=(c=e.filter)("",t):Array.isArray(e.filter)&&(u=c=e.filter);var p=[],l;if("object"!=typeof t||null===t)return"";l=e.arrayFormat in i.arrayPrefixGenerators?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":"indices";var h=i.arrayPrefixGenerators[l];u||(u=Object.keys(t)),s&&u.sort(s);for(var f=0,d=u.length;f<d;++f){var g=u[f];o&&null===t[g]||(p=p.concat(i.stringify(t[g],g,h,n,o,a,c,s)))}return p.join(r)}},
152"utils.js":function t(e,r){var n={};n.hexTable=new Array(256);for(var i=0;i<256;++i)n.hexTable[i]="%"+((i<16?"0":"")+i.toString(16)).toUpperCase();r.arrayToObject=function(t,e){for(var r=e.plainObjects?Object.create(null):{},n=0,i=t.length;n<i;++n)"undefined"!=typeof t[n]&&(r[n]=t[n]);return r},r.merge=function(t,e,n){if(!e)return t;if("object"!=typeof e)return Array.isArray(t)?t.push(e):"object"==typeof t?t[e]=!0:t=[t,e],t;if("object"!=typeof t)return t=[t].concat(e);Array.isArray(t)&&!Array.isArray(e)&&(t=r.arrayToObject(t,n));for(var i=Object.keys(e),o=0,a=i.length;o<a;++o){var s=i[o],u=e[s];Object.prototype.hasOwnProperty.call(t,s)?t[s]=r.merge(t[s],u,n):t[s]=u}return t},r.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},r.encode=function(t){if(0===t.length)return t;"string"!=typeof t&&(t=""+t);for(var e="",r=0,i=t.length;r<i;++r){var o=t.charCodeAt(r);45===o||46===o||95===o||126===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?e+=t[r]:o<128?e+=n.hexTable[o]:o<2048?e+=n.hexTable[192|o>>6]+n.hexTable[128|63&o]:o<55296||o>=57344?e+=n.hexTable[224|o>>12]+n.hexTable[128|o>>6&63]+n.hexTable[128|63&o]:(++r,o=65536+((1023&o)<<10|1023&t.charCodeAt(r)),e+=n.hexTable[240|o>>18]+n.hexTable[128|o>>12&63]+n.hexTable[128|o>>6&63]+n.hexTable[128|63&o])}return e},r.compact=function(t,e){if("object"!=typeof t||null===t)return t;var n=(e=e||[]).indexOf(t);if(-1!==n)return e[n];if(e.push(t),Array.isArray(t)){for(var i=[],o=0,a=t.length;o<a;++o)"undefined"!=typeof t[o]&&i.push(t[o]);return i}var s=Object.keys(t);for(o=0,a=s.length;o<a;++o){var u=s[o];t[u]=r.compact(t[u],e)}return t},r.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},r.isBuffer=function(t){return null!==t&&"undefined"!=typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}},
152"parse.js":function t(e,r,t){var n=e("./utils"),i={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1,parseValues:function(t,e){for(var r={},i=t.split(e.delimiter,e.parameterLimit===1/0?void 0:e.parameterLimit),o=0,a=i.length;o<a;++o){var s=i[o],u=-1===s.indexOf("]=")?s.indexOf("="):s.indexOf("]=")+1;if(-1===u)r[n.decode(s)]="",e.strictNullHandling&&(r[n.decode(s)]=null);else{var c=n.decode(s.slice(0,u)),p=n.decode(s.slice(u+1));Object.prototype.hasOwnProperty.call(r,c)?r[c]=[].concat(r[c]).concat(p):r[c]=p}}return r},parseObject:function(t,e,r){if(!t.length)return e;var n=t.shift(),o;if("[]"===n)o=(o=[]).concat(i.parseObject(t,e,r));else{o=r.plainObjects?Object.create(null):{};var a="["===n[0]&&"]"===n[n.length-1]?n.slice(1,n.length-1):n,s=parseInt(a,10),u=""+s;!isNaN(s)&&n!==a&&u===a&&s>=0&&r.parseArrays&&s<=r.arrayLimit?(o=[])[s]=i.parseObject(t,e,r):o[a]=i.parseObject(t,e,r)}return o},parseKeys:function(t,e,r){if(t){r.allowDots&&(t=t.replace(/\.([^\.\[]+)/g,"[$1]"));var n,o=/(\[[^\[\]]*\])/g,a=/^([^\[\]]*)/.exec(t),s=[];if(a[1]){if(!r.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!r.allowPrototypes)return;s.push(a[1])}for(var u=0;null!==(a=o.exec(t))&&u<r.depth;)++u,(r.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\[|\]/g,""))||r.allowPrototypes)&&s.push(a[1]);return a&&s.push("["+t.slice(a.index)+"]"),i.parseObject(s,e,r)}}};t.exports=function(t,e){if((e=e||{}).delimiter="string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,e.depth="number"==typeof e.depth?e.depth:i.depth,e.arrayLimit="number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,e.parseArrays=!1!==e.parseArrays,e.allowDots="boolean"==typeof e.allowDots?e.allowDots:i.allowDots,e.plainObjects="boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,e.allowPrototypes="boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,e.parameterLimit="number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,e.strictNullHandling="boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling,""===t||null===t||"undefined"==typeof t)return e.plainObjects?Object.create(null):{};for(var r="string"==typeof t?i.parseValues(t,e):t,o=e.plainObjects?Object.create(null):{},a=Object.keys(r),s=0,u=a.length;s<u;++s){var c=a[s],p=i.parseKeys(c,r[c],e);o=n.merge(o,p,e)}return n.compact(o)}}}}}}}}},{extensions:[".js",".json"]});v("/node_modules/meteor/kadira:flow-router/client/modules.js"),v("/node_modules/meteor/kadira:flow-router/client/triggers.js"),v("/node_modules/meteor/kadira:flow-router/client/router.js"),v("/node_modules/meteor/kadira:flow-router/client/group.js"),v("/node_modules/meteor/kadira:flow-router/client/route.js"),v("/node_modules/meteor/kadira:flow-router/client/_init.js"),v("/node_modules/meteor/kadira:flow-router/lib/router.js"),Package._define("kadira:flow-router",{FlowRouter:m})}(); 153 154!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,r=Package.meteor.meteorEnv,t=Package.tracker.Tracker,o=Package.tracker.Deps,i=Package["mongo-id"].MongoID,c=Package["diff-sequence"].DiffSequence,a=Package.underscore._,u=Package.random.Random,f,s,d,l;(function(){const e=function(){f._suppressWarnings?f._suppressWarnings--:("undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments),f._loggedWarnings++)};function n(e){return e instanceof Array||a.isArray(e)}const r=i.idStringify,o=i.idParse;function c(e,n){return n||(n=100),e.length<n?e:e.substr(0,n-1)+"â¦"}function g(e,n){for(var r="",t="",o=0;o<e.length;o++){var i;if((r+=t+v(e[o],n)).length>n)return r;t=", "}return r}
154function v(e,n){n||(n=150);const r=typeof e;switch(r){case"undefined":return r;case"number":return e.toString();case"string":return JSON.stringify(e);case"object":return null===e?"null":Array.isArray(e)?"Array ["+g(e,n)+"]":Symbol.iterator in e?e.constructor.name+" ["+g(Array.from(e),n)+"]":e.constructor.name+" "+c(JSON.stringify(e),n);default:return r+": "+e.toString()}}function m(e){try{return" Got "+v(e)}catch(n){return""}}f={_suppressWarnings:0,_loggedWarnings:0,observe:function(e,r){var o=null,i=null,c=[],u=t.autorun((function(){var u=e();t.nonreactive((function(){var e;if(i&&(c=a.map(o.fetch(),(function(e){return{_id:e._id,item:e}})),i.stop(),i=null),u)if(n(u))e=d(c,u,r);else{if(!h(u))throw p(u);var t=l(c,u,r);e=t[0],i=t[1]}else e=s(c,r);y(c,e,r),o=u,c=e}))}));return{stop:function(){u.stop(),i&&i.stop()}}},fetch:function(e){if(e){if(n(e))return e;if(h(e))return e.fetch();throw p(e)}return[]}};const p=function(e){return new Error("{{#each}} currently only accepts arrays, cursors or falsey values."+m(e))},h=function(e){return e&&a.isObject(e)&&a.isFunction(e.observe)&&a.isFunction(e.fetch)},y=function(e,n,t){var i=Package["diff-sequence"].DiffSequence.diffQueryOrderedChanges,c=[],u=[],f={},s={},d={},l=e.length;a.each(n,(function(e,n){u.push({_id:e._id}),s[r(e._id)]=n})),a.each(e,(function(e,n){c.push({_id:e._id}),f[r(e._id)]=n,d[r(e._id)]=n})),i(c,u,{addedBefore:function(e,o,i){var c=i?d[r(i)]:l;i&&a.each(d,(function(e,n){e>=c&&d[n]++})),l++,d[r(e)]=c,t.addedAt(e,n[s[r(e)]].item,c,i)},movedBefore:function(e,o){if(e!==o){var i=d[r(e)],c=o?d[r(o)]:l;c>i&&c--,a.each(d,(function(e,n){i<e&&e<c?d[n]--:c<=e&&e<i&&d[n]++})),d[r(e)]=c,t.movedTo(e,n[s[r(e)]].item,i,c,o)}},removed:function(n){var o=d[r(n)];a.each(d,(function(e,n){e>=o&&d[n]--})),delete d[r(n)],l--,t.removedAt(n,e[f[r(n)]].item,o)}}),a.each(s,(function(r,i){var c=o(i);if(a.has(f,i)){var u=n[r].item,s=e[f[i]].item;"object"!=typeof u&&u===s||t.changedAt(c,u,s,r)}}))};s=function(e,n){return[]},d=function(n,t,o){var i={},c;return a.map(t,(function(n,o){var c;if("string"==typeof n)c="-"+n;else if("number"==typeof n||"boolean"==typeof n||null==n)c=n;else{if("object"!=typeof n)throw new Error("{{#each}} doesn't support arrays with elements of type "+typeof n);c=n&&"_id"in n?n._id:o}var a=r(c);return i[a]?(n&&"object"==typeof n&&"_id"in n&&e("duplicate id "+c+" in",t),c=u.id()):i[a]=!0,{_id:c,item:n}}))},l=function(e,n,r){var t=!0,o=[],i=n.observe({addedAt:function(e,n,i){if(t){if(null!==i)throw new Error("Expected initial data from observe in order");o.push({_id:e._id,item:e})}else r.addedAt(e._id,e,n,i)},changedAt:function(e,n,t){r.changedAt(e._id,e,n,t)},removedAt:function(e,n){r.removedAt(e._id,e,n)},movedTo:function(e,n,t,o){r.movedTo(e._id,e,n,t,o)}});return t=!1,[o,i]}}).call(this),Package._define("observe-sequence",{ObserveSequence:f})}(); 155 156!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,u=Package["ecmascript-runtime-client"].Set,c,f=i({node_modules:{meteor:{htmljs:{
156"preamble.js":function t(e,n,t){var i,r,o,a,s,u,c,f,l,h,m,p,v,g,d,y,T,b,w,j,A,E,x,C,M,k,R,N,O;t.export({HTML:function(){return V}}),t.link("./html",{HTMLTags:function(t){i=t},Tag:function(t){r=t},Attrs:function(t){o=t},getTag:function(t){a=t},ensureTag:function(t){s=t},isTagEnsured:function(t){u=t},getSymbolName:function(t){c=t},knownHTMLElementNames:function(t){f=t},knownSVGElementNames:function(t){l=t},knownElementNames:function(t){h=t},voidElementNames:function(t){m=t},isKnownElement:function(t){p=t},isKnownSVGElement:function(t){v=t},isVoidElement:function(t){g=t},CharRef:function(t){d=t},Comment:function(t){y=t},Raw:function(t){T=t},isArray:function(t){b=t},isConstructedObject:function(t){w=t},isNully:function(t){j=t},isValidAttributeName:function(t){A=t},flattenAttributes:function(t){E=t}},0),t.link("./visitors",{Visitor:function(t){x=t},TransformingVisitor:function(t){C=t},ToHTMLVisitor:function(t){M=t},ToTextVisitor:function(t){k=t},toHTML:function(t){R=t},TEXTMODE:function(t){N=t},toText:function(t){O=t}},1);var V=Object.assign(i,{Tag:r,Attrs:o,getTag:a,ensureTag:s,isTagEnsured:u,getSymbolName:c,knownHTMLElementNames:f,knownSVGElementNames:l,knownElementNames:h,voidElementNames:m,isKnownElement:p,isKnownSVGElement:v,isVoidElement:g,CharRef:d,Comment:y,Raw:T,isArray:b,isConstructedObject:w,isNully:j,isValidAttributeName:A,flattenAttributes:E,toHTML:R,TEXTMODE:N,toText:O,Visitor:x,TransformingVisitor:C,ToHTMLVisitor:M,ToTextVisitor:k})},
156"html.js":function t(e,n,t){var i;t.link("@babel/runtime/helpers/typeof",{default:function(t){i=t}},0),t.export({Tag:function(){return o},Attrs:function(){return s},HTMLTags:function(){return c},getTag:function(){return f},ensureTag:function(){return l},isTagEnsured:function(){return h},getSymbolName:function(){return m},knownHTMLElementNames:function(){return p},knownSVGElementNames:function(){return v},knownElementNames:function(){return g},voidElementNames:function(){return d},isKnownElement:function(){return w},isKnownSVGElement:function(){return j},isVoidElement:function(){return A},CharRef:function(){return E},Comment:function(){return x},Raw:function(){return C},isArray:function(){return M},isConstructedObject:function(){return k},isNully:function(){return R},isValidAttributeName:function(){return N},flattenAttributes:function(){return O}});var o=function(){};o.prototype.tagName="",o.prototype.attrs=null,o.prototype.children=Object.freeze?Object.freeze([]):[],o.prototype.htmljsType=o.htmljsType=["Tag"];var a=function(t){var e=function(){for(var t=this instanceof o?this:new e,n=0,r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];var c=a.length&&a[0];if(c&&"object"===i(c))if(k(c)){if(c instanceof s){var f=c.value;1===f.length?t.attrs=f[0]:f.length>1&&(t.attrs=f),n++}}else t.attrs=c,n++;return n<a.length&&(t.children=a.slice(n)),t};return e.prototype=new o,e.prototype.constructor=e,e.prototype.tagName=t,e};function s(){for(var t=this instanceof s?this:new s,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.value=n,t}var c={};function f(t){var e=m(t);if(e===t)throw new Error("Use the lowercase or camelCase form of '"+t+"' here");return c[e]||(c[e]=a(t)),c[e]}function l(t){f(t)}function h(t){return w(t)}function m(t){return t.toUpperCase().replace(/-/g,"_")}var p="a abbr acronym address applet area article aside audio b base basefont bdi bdo big blockquote body br button canvas caption center cite code col colgroup command data datagrid datalist dd del details dfn dir div dl dt em embed eventsource fieldset figcaption figure font footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins isindex kbd keygen label legend li link main map mark menu meta meter nav noframes noscript object ol optgroup option output p param pre progress q rp rt ruby s samp script section select small source span strike strong style sub summary sup table tbody td textarea tfoot th thead time title tr track tt u ul var video wbr".split(" "),v="altGlyph altGlyphDef altGlyphItem animate animateColor animateMotion animateTransform circle clipPath color-profile cursor defs desc ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter font font-face font-face-format font-face-name font-face-src font-face-uri foreignObject g glyph glyphRef hkern image line linearGradient marker mask metadata missing-glyph path pattern polygon polyline radialGradient rect set stop style svg switch symbol text textPath title tref tspan use view vkern".split(" "),g=p.concat(v),d="area base br col command embed hr img input keygen link meta param source track wbr".split(" "),y=new u(d),T=new u(g),b=new u(v);function w(t){return T.has(t)}function j(t){return b.has(t)}function A(t){return y.has(t)}function E(t){if(!(this instanceof E))return new E(t);if(!(t&&t.html&&t.str))throw new Error("HTML.CharRef must be constructed with ({html:..., str:...})");this.html=t.html,this.str=t.str}function x(t){if(!(this instanceof x))return new x(t);if("string"!=typeof t)throw new Error("HTML.Comment must be constructed with a string");this.value=t,this.sanitizedValue=t.replace(/^-|--+|-$/g,"")}function C(t){if(!(this instanceof C))return new C(t);if("string"!=typeof t)throw new Error("HTML.Raw must be constructed with a string");this.value=t}function M(t){return t instanceof Array||Array.isArray(t)}function k(t){if(!t||"object"!==i(t))return!1;var e=!1;if(null===Object.getPrototypeOf(t))e=!0;else{for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);e=Object.getPrototypeOf(t)===n}return!e&&"function"==typeof t.constructor&&t instanceof t.constructor}function R(t){if(null==t)return!0;
156if(M(t)){for(var e=0;e<t.length;e++)if(!R(t[e]))return!1;return!0}return!1}function N(t){return/^[:_A-Za-z][:_A-Za-z0-9.\-]*/.test(t)}function O(t){if(!t)return t;var e=M(t);if(e&&0===t.length)return null;for(var n={},o=0,a=e?t.length:1;o<a;o++){var s=e?t[o]:t;if("object"!==i(s)||k(s))throw new Error("Expected plain JS object as attrs, found: "+s);for(var u in r.sanitizeForInObject(s)){if(!N(u))throw new Error("Illegal HTML attribute name: "+u);var c=s[u];R(c)||(n[u]=c)}}return n}g.forEach(l),E.prototype.htmljsType=E.htmljsType=["CharRef"],x.prototype.htmljsType=x.htmljsType=["Comment"],C.prototype.htmljsType=C.htmljsType=["Raw"]},
156"visitors.js":function t(e,n,t){var i,o,a,s,u,c,f,l,h,m;t.link("@babel/runtime/helpers/typeof",{default:function(t){i=t}},0),t.export({Visitor:function(){return d},TransformingVisitor:function(){return y},ToTextVisitor:function(){return T},ToHTMLVisitor:function(){return b},toHTML:function(){return w},TEXTMODE:function(){return j},toText:function(){return A}}),t.link("./html",{Tag:function(t){o=t},CharRef:function(t){a=t},Comment:function(t){s=t},Raw:function(t){u=t},isArray:function(t){c=t},getTag:function(t){f=t},isConstructedObject:function(t){l=t},flattenAttributes:function(t){h=t},isVoidElement:function(t){m=t}},0);var p=function(t){return t},v=Object.prototype.hasOwnProperty,g=function(t,e){for(var n in r.sanitizeForInObject(e))v.call(e,n)&&(t[n]=e[n]);return t},d=function(t){g(this,t)};d.def=function(t){g(this.prototype,t)},d.extend=function(t){var e=this,n=function(){function t(){d.apply(this,arguments)}return t}();return n.prototype=new e,n.extend=e.extend,n.def=e.def,t&&g(n.prototype,t),n},d.def({visit:function(t){if(null==t)return this.visitNull.apply(this,arguments);if("object"===i(t)){if(t.htmljsType)switch(t.htmljsType){case o.htmljsType:return this.visitTag.apply(this,arguments);case a.htmljsType:return this.visitCharRef.apply(this,arguments);case s.htmljsType:return this.visitComment.apply(this,arguments);case u.htmljsType:return this.visitRaw.apply(this,arguments);default:throw new Error("Unknown htmljs type: "+t.htmljsType)}return c(t)?this.visitArray.apply(this,arguments):this.visitObject.apply(this,arguments)}if("string"==typeof t||"boolean"==typeof t||"number"==typeof t)return this.visitPrimitive.apply(this,arguments);if("function"==typeof t)return this.visitFunction.apply(this,arguments);throw new Error("Unexpected object in htmljs: "+t)},visitNull:function(t){},visitPrimitive:function(t){},visitArray:function(t){},visitComment:function(t){},visitCharRef:function(t){},visitRaw:function(t){},visitTag:function(t){},visitObject:function(t){throw new Error("Unexpected object in htmljs: "+t)},visitFunction:function(t){throw new Error("Unexpected function in htmljs: "+t)}});var y=d.extend();y.def({visitNull:p,visitPrimitive:p,visitArray:function(t){for(var e=t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(var o=0;o<t.length;o++){var a=t[o],s=this.visit.apply(this,[a].concat(i));s!==a&&(e===t&&(e=t.slice()),e[o]=s)}return e},visitComment:p,visitCharRef:p,visitRaw:p,visitObject:function(t){if(null!=t.textMode)return t;for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return"content"in t&&(t.content=this.visit.apply(this,[t.content].concat(n))),"elseContent"in t&&(t.elseContent=this.visit.apply(this,[t.elseContent].concat(n))),t},visitFunction:p,visitTag:function(t){for(var e=t.children,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=this.visitChildren.apply(this,[e].concat(i)),a=t.attrs,s=this.visitAttributes.apply(this,[a].concat(i));if(s===a&&o===e)return t;var u=f(t.tagName).apply(null,o);return u.attrs=s,u},visitChildren:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return this.visitArray.apply(this,[t].concat(n))},visitAttributes:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(c(t)){for(var o=t,a=0;a<t.length;a++){var s=t[a],u=this.visitAttributes.apply(this,[s].concat(n));u!==s&&(o===t&&(o=t.slice()),o[a]=u)}return o}if(t&&l(t))throw new Error("The basic TransformingVisitor does not support foreign objects in attributes. Define a custom visitAttributes for this case.");var f=t,h=f;if(f){var m=[null,null];for(var p in m.push.apply(m,arguments),r.sanitizeForInObject(f)){var v=f[p];m[0]=p,m[1]=v;var d=this.visitAttribute.apply(this,m);d!==v&&(h===f&&(h=g({},f)),h[p]=d)}}return h},visitAttribute:function(t,e,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];return this.visit.apply(this,[e].concat(r))}});var T=d.extend();T.def({visitNull:function(t){return""},visitPrimitive:function(t){var e=String(t);return this.textMode===j.RCDATA?e.replace(/&/g,"&").replace(/</g,"<"):this.textMode===j.ATTRIBUTE?e.replace(/&/g,"&").replace(/"/g,"""):e},visitArray:function(t){for(var e=[],n=0;n<t.length;n++)e.push(this.visit(t[n]));return e.join("")},visitComment:function(t){throw new Error("Can't have a comment here")},visitCharRef:function(t){return this.textMode===j.RCDATA||this.textMode===j.ATTRIBUTE?t.html:t.str},visitRaw:function(t){return t.value},visitTag:function(t){return this.visit(this.toHTML(t))},visitObject:function(t){throw new Error("Unexpected object in htmljs in toText: "+t)},toHTML:function(t){return w(t)}});var b=d.extend();function w(t){return(new b).visit(t)}b.def({visitNull:function(t){return""},visitPrimitive:function(t){var e;return String(t).replace(/&/g,"&").replace(/</g,"<")},visitArray:function(t){for(var e=[],n=0;n<t.length;n++)e.push(this.visit(t[n]));return e.join("")},visitComment:function(t){return"\x3c!--"+t.sanitizedValue+"--\x3e"},visitCharRef:function(t){return t.html},visitRaw:function(t){return t.value},visitTag:function(t){var e=[],n=t.tagName,i=t.children,o=t.attrs;if(o)for(var a in o=h(o),r.sanitizeForInObject(o))if("value"===a&&"textarea"===n)i=[o[a],i];
156else{var s=this.toText(o[a],j.ATTRIBUTE);e.push(" "+a+'="'+s+'"')}var u="<"+n+e.join("")+">",c=[],f;if("textarea"===n){for(var l=0;l<i.length;l++)c.push(this.toText(i[l],j.RCDATA));"\n"===(f=c.join("")).slice(0,1)&&(f="\n"+f)}else{for(var l=0;l<i.length;l++)c.push(this.visit(i[l]));f=c.join("")}var p=u+f;return!i.length&&m(n)||(p+="</"+n+">"),p},visitObject:function(t){throw new Error("Unexpected object in htmljs in toHTML: "+t)},toText:function(t,e){return A(t,e)}});var j={STRING:1,RCDATA:2,ATTRIBUTE:3};function A(t,e){if(!e)throw new Error("textMode required for HTML.toText");if(e!==j.STRING&&e!==j.RCDATA&&e!==j.ATTRIBUTE)throw new Error("Unknown textMode: "+e);var n;return new T({textMode:e}).visit(t)}}}}}},{extensions:[".js",".json"]}),l=f("/node_modules/meteor/htmljs/preamble.js");Package._define("htmljs",l,{HTML:c})}(); 157 158!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.tracker.Tracker,i=Package.tracker.Deps,a=Package.check.check,o=Package.check.Match,s=Package["observe-sequence"].ObserveSequence,u=Package["reactive-var"].ReactiveVar,c=Package["ordered-dict"].OrderedDict,l=Package.htmljs.HTML,f=Package.modules.meteorInstall,p=Package.modules.meteorBabelHelpers,d=Package.promise.Promise,h=Package["ecmascript-runtime-client"].Symbol,m=Package["ecmascript-runtime-client"].Map,_=Package["ecmascript-runtime-client"].Set,v,w,b,y,g,E=f({node_modules:{meteor:{blaze:{
158"preamble.js":function e(){var t,n;(v={})._escape=(t={"<":"<",">":">",'"':""","'":"'","/":"/","`":"`","&":"&"},n=function(e){return t[e]},function(e){return e.replace(/[&<>"'`]/g,n)}),v._warn=function(e){e="Warning: "+e,"undefined"!=typeof console&&console.warn&&console.warn(e)};var r=Function.prototype.bind;v._bind=r?function(e,t){if(2===arguments.length)return r.call(e,t);for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return r.apply(e,n.slice(1))}:function(e,t){e.bind(t)}},
158"dombackend.js":function e(){var t={};v._DOMBackend=t;var n="undefined"!=typeof jQuery?jQuery:"undefined"!=typeof Package?Package.jquery&&Package.jquery.jQuery:null;if(!n)throw new Error("jQuery not found");t._$jq=n,t.parseHTML=function(e){return n.parseHTML(e)||[]},t.Events={delegateEvents:function(e,t,r,i){n(e).on(t,r,i)},undelegateEvents:function(e,t,r){n(e).off(t,"**",r)},bindEventCapturer:function(e,r,i,a){var o=n(e),s=function(t){var r;(t=n.event.fix(t)).currentTarget=t.target,n(t.currentTarget).is(o.find(i))&&a.call(e,t)};a._meteorui_wrapper=s,r=t.Events.parseEventType(r),e.addEventListener(r,s,!0)},unbindEventCapturer:function(e,n,r){n=t.Events.parseEventType(n),e.removeEventListener(n,r._meteorui_wrapper,!0)},parseEventType:function(e){var t=e.indexOf(".");return t>=0?e.slice(0,t):e}};var r=function(){},i=function(e){this.next=this,this.prev=this,this.func=e};i.prototype.linkBefore=function(e){this.prev=e.prev,this.next=e,e.prev.next=this,e.prev=this},i.prototype.unlink=function(){this.prev.next=this.next,this.next.prev=this.prev},i.prototype.go=function(){var e=this.func;e&&e()},i.prototype.stop=i.prototype.unlink,t.Teardown={_JQUERY_EVENT_NAME:"blaze_teardown_watcher",_CB_PROP:"$blaze_teardown_callbacks",onElementTeardown:function(e,a){var o=new i(a),s=t.Teardown._CB_PROP;return e[s]||(e[s]=new i,n(e).on(t.Teardown._JQUERY_EVENT_NAME,r)),o.linkBefore(e[s]),o},tearDownElement:function(e){for(var t=[],r=e.getElementsByTagName("*"),i=0;i<r.length;i++)t.push(r[i]);t.push(e),n.cleanData(t)}},n.event.special[t.Teardown._JQUERY_EVENT_NAME]={setup:function(){},teardown:function(){var e=this,n=e[t.Teardown._CB_PROP];if(n){for(var r=n.next;r!==n;)r.go(),r=r.next;n.go(),e[t.Teardown._CB_PROP]=null}}},t.findBySelector=function(e,t){return n(e,t)}},
158"domrange.js":function e(){var t=Object.freeze?Object.freeze([]):[];v._DOMRange=function(e){if(!(this instanceof n))return new n(e);var r=e||t;if(!r||"number"!=typeof r.length)throw new Error("Expected array");for(var i=0;i<r.length;i++)this._memberIn(r[i]);this.members=r,this.emptyRangePlaceholder=null,this.attached=!1,this.parentElement=null,this.parentRange=null,this.attachedCallbacks=t};var n=v._DOMRange;n._USE_COMMENT_PLACEHOLDERS=function(){var e=!1,t=document.createTextNode("");try{t.someProp=!0}catch(n){e=!0}return e}(),n._insert=function(e,t,r,i){var a=e;a instanceof n?a.attach(t,r,i):i?n._moveNodeWithHooks(a,t,r):n._insertNodeWithHooks(a,t,r)},n._remove=function(e){var t=e;t instanceof n?t.detach():n._removeNodeWithHooks(t)},n._removeNodeWithHooks=function(e){e.parentNode&&(1===e.nodeType&&e.parentNode._uihooks&&e.parentNode._uihooks.removeElement?e.parentNode._uihooks.removeElement(e):e.parentNode.removeChild(e))},n._insertNodeWithHooks=function(e,t,n){n=n||null,1===e.nodeType&&t._uihooks&&t._uihooks.insertElement?t._uihooks.insertElement(e,n):t.insertBefore(e,n)},n._moveNodeWithHooks=function(e,t,n){e.parentNode===t&&(n=n||null,1===e.nodeType&&t._uihooks&&t._uihooks.moveElement?t._uihooks.moveElement(e,n):t.insertBefore(e,n))},n.forElement=function(e){if(1!==e.nodeType)throw new Error("Expected element, found: "+e);for(var t=null;e&&!t;)(t=e.$blaze_range||null)||(e=e.parentNode);return t},n.prototype.attach=function(e,t,r,i){if((r||i)&&(this.parentElement!==e||!this.attached))throw new Error("Can only move or replace an attached DOMRange, and only under the same parent element");var a=this.members;if(a.length){this.emptyRangePlaceholder=null;for(var o=0;o<a.length;o++)n._insert(a[o],e,t,r)}else{var s=n._USE_COMMENT_PLACEHOLDERS?document.createComment(""):document.createTextNode("");this.emptyRangePlaceholder=s,e.insertBefore(s,t||null)}if(this.attached=!0,this.parentElement=e,!r&&!i)for(var o=0;o<this.attachedCallbacks.length;o++){var u=this.attachedCallbacks[o];u.attached&&u.attached(this,e)}},n.prototype.setMembers=function(e){var t=e;if(!t||"number"!=typeof t.length)throw new Error("Expected array");for(var n=this.members,r=0;r<n.length;r++)this._memberOut(n[r]);for(var r=0;r<t.length;r++)this._memberIn(t[r]);if(this.attached){if(t.length||n.length){var i=this.lastNode().nextSibling,a=this.parentElement;this.detach(!0),this.members=t,this.attach(a,i,!1,!0)}}else this.members=t},n.prototype.firstNode=function(){if(!this.attached)throw new Error("Mu
158st be attached");if(!this.members.length)return this.emptyRangePlaceholder;var e=this.members[0];return e instanceof n?e.firstNode():e},n.prototype.lastNode=function(){if(!this.attached)throw new Error("Must be attached");if(!this.members.length)return this.emptyRangePlaceholder;var e=this.members[this.members.length-1];return e instanceof n?e.lastNode():e},n.prototype.detach=function(e){if(!this.attached)throw new Error("Must be attached");var t=this.parentElement,r=this.members;if(r.length)for(var i=0;i<r.length;i++)n._remove(r[i]);else{var a=this.emptyRangePlaceholder;this.parentElement.removeChild(a),this.emptyRangePlaceholder=null}if(!e){this.attached=!1,this.parentElement=null;for(var i=0;i<this.attachedCallbacks.length;i++){var o=this.attachedCallbacks[i];o.detached&&o.detached(this,t)}}},n.prototype.addMember=function(e,t,r){var i=this.members;if(!(t>=0&&t<=i.length))throw new Error("Bad index in range.addMember: "+t);if(r||this._memberIn(e),this.attached)if(0===i.length)this.setMembers([e]);else{var a;if(t===i.length)a=this.lastNode().nextSibling;else{var o=i[t];a=o instanceof n?o.firstNode():o}i.splice(t,0,e),n._insert(e,this.parentElement,a,r)}else i.splice(t,0,e)},n.prototype.removeMember=function(e,r){var i=this.members;if(!(e>=0&&e<i.length))throw new Error("Bad index in range.removeMember: "+e);if(r)i.splice(e,1);else{var a=i[e];this._memberOut(a),1===i.length?this.setMembers(t):(i.splice(e,1),this.attached&&n._remove(a))}},n.prototype.moveMember=function(e,t){var n=this.members[e];this.removeMember(e,!0),this.addMember(n,t,!0)},n.prototype.getMember=function(e){var t=this.members;if(!(e>=0&&e<t.length))throw new Error("Bad index in range.getMember: "+e);return this.members[e]},n.prototype._memberIn=function(e){e instanceof n?e.parentRange=this:1===e.nodeType&&(e.$blaze_range=this)},n._destroy=function(e,t){e instanceof n?e.view&&v._destroyView(e.view,t):t||1!==e.nodeType||e.$blaze_range&&(v._destroyNode(e),e.$blaze_range=null)},n.prototype._memberOut=n._destroy,n.prototype.destroyMembers=function(e){for(var t=this.members,n=0;n<t.length;n++)this._memberOut(t[n],e)},n.prototype.destroy=function(e){n._destroy(this,e)},n.prototype.containsElement=function(e){if(!this.attached)throw new Error("Mu
158st be attached");if(!v._elementContains(this.parentElement,e))return!1;for(;e.parentNode!==this.parentElement;)e=e.parentNode;for(var t=e.$blaze_range;t&&t!==this;)t=t.parentRange;return t===this},n.prototype.containsRange=function(e){if(!this.attached)throw new Error("Must be attached");if(!e.attached)return!1;if(e.parentElement!==this.parentElement)return this.containsElement(e.parentElement);if(e===this)return!1;for(;e&&e!==this;)e=e.parentRange;return e===this},n.prototype.onAttached=function(e){this.onAttachedDetached({attached:e})},n.prototype.onAttachedDetached=function(e){this.attachedCallbacks===t&&(this.attachedCallbacks=[]),this.attachedCallbacks.push(e)},n.prototype.$=function(e){var t=this,n=this.parentElement;if(!n)throw new Error("Can't select in removed DomRange");if(11===n.nodeType)throw new Error("Can't use $ on an offscreen range");var r=v._DOMBackend.findBySelector(e,n),i=function(e){return"number"==typeof e&&(e=this),t.containsElement(e)};if(r.filter)r=r.filter(i);else{for(var a=[],o=0;o<r.length;o++){var s=r[o];i(s)&&a.push(s)}r=a}return r},v._elementContains=function(e,t){return 1===e.nodeType&&(e!==t&&(e.compareDocumentPosition?16&e.compareDocumentPosition(t):!(!(t=t.parentNode)||1!==t.nodeType)&&(e===t||e.contains(t))))}},
158"events.js":function e(t,n,e){var r;e.link("lodash.has",{default:function(e){r=e}},0);var i=v._EventSupport={},a=v._DOMBackend,o=i.eventsToDelegate={blur:1,change:1,click:1,focus:1,focusin:1,focusout:1,reset:1,submit:1},s=i.EVENT_MODE={TBD:0,BUBBLING:1,CAPTURING:2},u=1,c=function(e,t,n,i,c){var l,f;this.elem=e,this.type=t,this.selector=n,this.handler=i,this.recipient=c,this.id=u++,this.mode=s.TBD,this.delegatedHandler=(l=this,function(e){if(l.selector||e.currentTarget===e.target)return l.handler.apply(l.recipient,arguments)}),e.addEventListener&&!r(o,a.Events.parseEventType(t))?this.capturingHandler=function(e){return function(t){if(e.mode===s.TBD){if(t.bubbles)return e.mode=s.BUBBLING,void a.Events.unbindEventCapturer(e.elem,e.type,e.capturingHandler);e.mode=s.CAPTURING,a.Events.undelegateEvents(e.elem,e.type,e.delegatedHandler)}e.delegatedHandler(t)}}(this):this.mode=s.BUBBLING};i.HandlerRec=c,c.prototype.bind=function(){this.mode!==s.BUBBLING&&a.Events.bindEventCapturer(this.elem,this.type,this.selector||"*",this.capturingHandler),this.mode!==s.CAPTURING&&a.Events.delegateEvents(this.elem,this.type,this.selector||"*",this.delegatedHandler)},c.prototype.unbind=function(){this.mode!==s.BUBBLING&&a.Events.unbindEventCapturer(this.elem,this.type,this.capturingHandler),this.mode!==s.CAPTURING&&a.Events.undelegateEvents(this.elem,this.type,this.delegatedHandler)},i.listen=function(e,t,n,r,i,a){try{e=e}finally{}var o=[];t.replace(/[^ /]+/g,(function(e){o.push(e)}));for(var s=[],u=0,l=o.length;u<l;u++){var f=o[u],p=e.$blaze_events;p||(p=e.$blaze_events={});var d=p[f];d||((d=p[f]={}).handlers=[]);var h=d.handlers,m=new c(e,f,n,r,i);if(s.push(m),m.bind(),h.push(m),a)for(var _=a(i);_;_=a(_))for(var v=0,w=h.length;v<w;v++){var b=h[v];b.recipient===_&&(b.unbind(),b.bind(),h.splice(v,1),h.push(b),v--,w--)}}return{stop:function(){var t=e.$blaze_events;if(t){for(var n=0;n<s.length;n++){var r=s[n],i=t[r.type];if(i)for(var a=i.handlers,o=a.length-1;o>=0;o--)a[o]===r&&(r.unbind(),a.splice(o,1))}s.length=0}}}}},
158"attrs.js":function t(n,r,t){var i;t.link("lodash.has",{default:function(e){i=e}},0);var a=!1;v._allowJavascriptUrls=function(){a=!0},v._javascriptUrlsAllowed=function(){return a},w=function(e,t){this.name=e,this.value=t},v._AttributeHandler=w,w.prototype.update=function(e,t,n){null===n?null!==t&&e.removeAttribute(this.name):e.setAttribute(this.name,n)},w.extend=function(e){var t=this,n=function(){function e(){w.apply(this,arguments)}return e}();return n.prototype=new t,n.extend=t.extend,e&&Object.assign(n.prototype,e),n},v._DiffingAttributeHandler=w.extend({update:function(e,t,n){if(!(this.getCurrentValue&&this.setValue&&this.parseValue&&this.joinValues))throw new Error("Missing methods in subclass of 'DiffingAttributeHandler'");var r=t?this.parseValue(t):new c,i=n?this.parseValue(n):new c,a=this.getCurrentValue(e),o;(a?this.parseValue(a):new c).forEach((function(e,t,n){i.has(t)||r.has(t)||i.append(t,e)}));var s=[];i.forEach((function(e,t,n){s.push(e)})),this.setValue(e,this.joinValues(s))}});var o=v._DiffingAttributeHandler.extend({getCurrentValue:function(e){return e.className},setValue:function(e,t){e.className=t},parseValue:function(e){var t=new c;return e.split(" ").forEach((function(e){e&&(t.has(e)||t.append(e,e))})),t},joinValues:function(e){return e.join(" ")}}),s=o.extend({getCurrentValue:function(e){return e.className.baseVal},setValue:function(e,t){e.setAttribute("class",t)}}),u=v._DiffingAttributeHandler.extend({getCurrentValue:function(e){return e.getAttribute("style")},setValue:function(e,t){""===t?e.removeAttribute("style"):e.setAttribute("style",t)},parseValue:function(e){for(var t=new c,n=/(\*?[-#\/\*\\\w]+(?:\[[0-9a-z_-]+\])?)\s*:\s*(?:\'(?:\\\'|.)*?\'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+[;\s]*/g,r=n.exec(e);r;)t.has(r[1])&&t.remove(r[1]),t.append(r[1],r[0].trim()),r=n.exec(e);return t},joinValues:function(e){return e.join(" ")}}),l=w.extend({update:function(e,t,n){var r=this.name;null==n?null!=t&&(e[r]=!1):e[r]=!0}}),f=w.extend({update:function(e,t,n){var r=this.name;n!==e[r]&&(e[r]=n)}}),d=w.extend({update:function(e,t,n){var r="http://www.w3.org/1999/xlink";null===n?null!==t&&e.removeAttributeNS(r,this.name):e.setAttributeNS(r,this.name,this.value)}}),h=function(e){return"ownerSVGElement"in e},m=function(e,t){var n,r;return"itemid"===t||({FORM:["action"],BODY:["background"],BLOCKQUOTE:["cite"],Q:["cite"],DEL:["cite"],INS:["cite"],OBJECT:["classid","codebase","data","usemap"],APPLET:["codebase"],A:["href"],AREA:["href"],LINK:["href"],BASE:["href"],IMG:["longdesc","src","usemap"],FRAME:["longdesc","src"],IFRAME:["longdesc","src"],HEAD:["profile"],SCRIPT:["src"],INPUT:["src","usemap","formaction"],BUTTON:["formaction"],BASE:["href"],MENUITEM:["icon"],HTML:["manifest"],VIDEO:["poster"]}[e]||[]).includes(t)};if(e.isClient)var _=document.createElement("A");var y=function(t){if(e.isClient)return _.href=t,(_.protocol||"").toLowerCase();throw new Error("getUrlProtocol not implemented on the server")},g=w.prototype.update,E=w.extend({update:function(e,t,n){var r=this,i=arguments;if(v._javascriptUrlsAllowed())g.apply(r,i);else{var a="javascript:"===y(n),o="vbscript:"===y(n);a||o?(v._warn("URLs that use the 'javascript:' or 'vbscript:' protocol are not allowed in URL attribute values. Call Blaze._allowJavascriptUrls() to enable them."),g.apply(r,[e,t,null])):g.apply(r,i)}}});v._makeAttributeHandler=function(e,t,n){return"class"===t?h(e)?new s(t,n):new o(t,n):"style"===t?new u(t,n):"OPTION"===e.tagName&&"selected"===t||"INPUT"===e.tagName&&"checked"===t||"VIDEO"===e.tagName&&"muted"===t?new l(t,n):"TEXTAREA"!==e.tagName&&"INPUT"!==e.tagName||"value"!==t?"xlink:"===t.substring(0,6)?new d(t.substring(6),n):m(e.tagName,t)?new E(t,n):new w(t,n):new f(t,n)},(b=function(e){this.elem=e,this.handlers={}}).prototype.update=function(e){var t=this.elem,n=this.handlers;for(var r in p.sanitizeForInObject(n))if(!i(e,r)){var a,o=(a=n[r]).value;a.value=null,a.update(t,o,null),delete n[r]}for(var r in p.sanitizeForInObject(e)){var a=null,o=null,s=e[r];i(n,r)?o=(a=n[r]).value:null!==s&&(a=v._makeAttributeHandler(t,r,s),n[r]=a),o!==s&&(a.value=s,a.update(t,o,s),null===s&&delete n[r])}}},
158"materializer.js":function e(t,n,e){var i;e.link("@babel/runtime/helpers/typeof",{default:function(e){i=e}},0),v._materializeDOM=function(e,t,n,r){var i=r||[];if(a(e,t,n,i),!r)for(;i.length;){var o;i.pop()()}return t};var a=function(e,t,n,r){if(null!=e){switch(i(e)){case"string":case"boolean":case"number":return void t.push(document.createTextNode(String(e)));case"object":if(e.htmljsType)switch(e.htmljsType){case l.Tag.htmljsType:return void t.push(o(e,n,r));case l.CharRef.htmljsType:return void t.push(document.createTextNode(e.str));case l.Comment.htmljsType:return void t.push(document.createComment(e.sanitizedValue));case l.Raw.htmljsType:for(var a=v._DOMBackend.parseHTML(e.value),s=0;s<a.length;s++)t.push(a[s]);return}else{if(l.isArray(e)){for(var s=e.length-1;s>=0;s--)r.push(v._bind(v._materializeDOM,null,e[s],t,n,r));return}if(e instanceof v.Template&&(e=e.constructView()),e instanceof v.View)return void v._materializeView(e,n,r,t)}}throw new Error("Unexpected object in htmljs: "+e)}},o=function(e,t,n){var i=e.tagName,a;a=(l.isKnownSVGElement(i)||s(e))&&document.createElementNS?document.createElementNS("http://www.w3.org/2000/svg",i):document.createElement(i);var o=e.attrs,u=e.children;if("textarea"===i&&e.children.length&&(!o||!("value"in o))){if("function"==typeof o||l.isArray(o))throw new Error("Can't have reactive children of TEXTAREA node; use the 'value' attribute instead.");(o=Object.assign({},o||null)).value=v._expand(u,t),u=[]}if(o){var c=new b(a),f=function(){var e=v._expandAttributes(o,t),n=l.flattenAttributes(e),r={};for(var i in p.sanitizeForInObject(n))null==n[i]||!1===n[i]?r[i]=null:r[i]=v._toText(n[i],t,l.TEXTMODE.STRING);c.update(r)},d;d=t?t.autorun(f,void 0,"updater"):r.nonreactive((function(){return r.autorun((function(){r._withCurrentView(t,f)}))})),v._DOMBackend.Teardown.onElementTeardown(a,function(){function e(){d.stop()}return e}())}if(u.length){var h=[];n.push((function(){for(var e=0;e<h.length;e++){var t=h[e];t instanceof v._DOMRange?t.attach(a):a.appendChild(t)}})),n.push(v._bind(v._materializeDOM,null,u,h,t,n))}return a},s=function(e){return"a"===e.tagName&&e.attrs&&void 0!==e.attrs["xlink:href"]}},
158"exceptions.js":function t(){var n;v._throwNextException=!1,v._reportException=function(t,r){if(v._throwNextException)throw v._throwNextException=!1,t;n||(n=function(){return"undefined"!=typeof e?e._debug:"undefined"!=typeof console&&console.log?console.log:function(){}}),n()(r||"Exception caught in template:",t.stack||t.message||t)},v._wrapCatchingExceptions=function(e,t){return"function"!=typeof e?e:function(){try{return e.apply(this,arguments)}catch(n){v._reportException(n,"Exception in "+t+":")}}}},
158"view.js":function t(){v.View=function(e,t){if(!(this instanceof v.View))return new v.View(e,t);"function"==typeof e&&(t=e,e=""),this.name=e,this._render=t,this._callbacks={created:null,rendered:null,destroyed:null},this.isCreated=!1,this._isCreatedForExpansion=!1,this.isRendered=!1,this._isAttached=!1,this.isDestroyed=!1,this._isInRender=!1,this.parentView=null,this._domrange=null,this._hasGeneratedParent=!1,this._scopeBindings={},this.renderCount=0},v.View.prototype._render=function(){return null},v.View.prototype.onViewCreated=function(e){this._callbacks.created=this._callbacks.created||[],this._callbacks.created.push(e)},v.View.prototype._onViewRendered=function(e){this._callbacks.rendered=this._callbacks.rendered||[],this._callbacks.rendered.push(e)},v.View.prototype.onViewReady=function(e){var t=this,n=function(){r.afterFlush((function(){t.isDestroyed||v._withCurrentView(t,(function(){e.call(t)}))}))};t._onViewRendered(function(){function e(){t.isDestroyed||(t._domrange.attached?n():t._domrange.onAttached(n))}return e}())},v.View.prototype.onViewDestroyed=function(e){this._callbacks.destroyed=this._callbacks.destroyed||[],this._callbacks.destroyed.push(e)},v.View.prototype.removeViewDestroyedListener=function(e){var t=this._callbacks.destroyed;if(t){var n=t.lastIndexOf(e);-1!==n&&(t[n]=null)}},v.View.prototype.autorun=function(e,t,n){var i=this;if(!i.isCreated)throw new Error("View#autorun must be called from the created callback at the earliest");if(this._isInRender)throw new Error("Can't call View#autorun from inside render(); try calling it from the created or rendered callback");var a=v.Template._currentTemplateInstanceFunc,o=function(){function n(n){return v._withCurrentView(t||i,(function(){return v.Template._withTemplateInstanceFunc(a,(function(){return e.call(i,n)}))}))}return n}();o.displayName=(i.name||"anonymous")+":"+(n||"anonymous");var s=r.autorun(o),u=function(){s.stop()};return i.onViewDestroyed(u),s.onStop((function(){i.removeViewDestroyedListener(u)})),s},v.View.prototype._errorIfShouldntCallSubscribe=function(){var e=this;if(!e.isCreated)throw new Error("View#subscribe must be called from the created callback at the earliest");if(e._isInRender)throw new Error("Can't call View#subscribe from inside render(); try calling it from the created or rendered callback");if(e.isDestroyed)throw new Error("Can't call View#subscribe from inside the destroyed callback, try calling it inside created or rendered.")},v.View.prototype.subscribe=function(t,n){var r=this,i;return n=n||{},r._errorIfShouldntCallSubscribe(),i=n.connection?n.connection.subscribe.apply(n.connection,t):e.subscribe.apply(e,t),r.onViewDestroyed((function(){i.stop()})),i},v.View.prototype.firstNode=function(){if(!this._isAttached)throw new Error("View must be attached before accessing its DOM");return this._domrange.firstNode()},v.View.prototype.lastNode=function(){if(!this._isAttached)throw new Error("View must be attached before accessing its DOM");return this._domrange.lastNode()},v._fireCallbacks=function(e,t){v._withCurrentView(e,(function(){r.nonreactive(function(){function n(){for(var n=e._callbacks[t],r=0,i=n&&n.length;r<i;r++)n[r]&&n[r].call(e)}return n}())}))},v._createView=function(e,t,n){if(e.isCreated)throw new Error("Can't render the same View twice");e.parentView=t||null,e.isCreated=!0,n&&(e._isCreatedForExpansion=!0),v._fireCallbacks(e,"created")};var n=function(e,t){var n=new v._DOMRange(t);e._domrange=n,n.view=e,e.isRendered=!0,v._fireCallbacks(e,"rendered");var r=null;return n.onAttached(function(){function t(t,n){e._isAttached=!0,r=v._DOMBackend.Teardown.onElementTeardown(n,function(){function t(){v._destroyView(e,!0)}return t}())}return t}()),e.onViewDestroyed((function(){r&&r.stop(),r=null})),n};v._materializeView=function(e,t,i,a){var o,s;return v._createView(e,t),r.nonreactive((function(){var t;e.autorun(function(){function t(t){e.renderCount++,e._isInRender=!0;var n=e._render();e._isInRender=!1,t.firstRun||v._isContentEqual(s,n)||r.nonreactive(function(){function t(){var t=v._materializeDOM(n,[],e);o.setMembers(t),v._fireCallbacks(e,"rendered")}return t}()),s=n,r.onInvalidate((function(){o&&o.destroyMembers()}))}return t}(),void 0,"materialize"),i?(t=[],i.push((function(){o=n(e,t),t=null,a.push(o)})),i.push(v._bind(v._materializeDOM,null,s,t,e,i))):(t=v._materializeDOM(s,[],e),o=n(e,t),t=null)})),i?null:o}
158,v._expandView=function(e,t){v._createView(e,t,!0),e._isInRender=!0;var n=v._withCurrentView(e,(function(){return e._render()}));e._isInRender=!1;var i=v._expand(n,e);return r.active?r.onInvalidate((function(){v._destroyView(e)})):v._destroyView(e),i},v._HTMLJSExpander=l.TransformingVisitor.extend(),v._HTMLJSExpander.def({visitObject:function(e){return e instanceof v.Template&&(e=e.constructView()),e instanceof v.View?v._expandView(e,this.parentView):l.TransformingVisitor.prototype.visitObject.call(this,e)},visitAttributes:function(e){return"function"==typeof e&&(e=v._withCurrentView(this.parentView,e)),l.TransformingVisitor.prototype.visitAttributes.call(this,e)},visitAttribute:function(e,t,n){return"function"==typeof t&&(t=v._withCurrentView(this.parentView,t)),l.TransformingVisitor.prototype.visitAttribute.call(this,e,t,n)}});var i=function(){var e=v.currentView;return e&&e._isInRender?e:null};v._expand=function(e,t){return t=t||i(),new v._HTMLJSExpander({parentView:t}).visit(e)},v._expandAttributes=function(e,t){return t=t||i(),new v._HTMLJSExpander({parentView:t}).visitAttributes(e)},v._destroyView=function(e,t){e.isDestroyed||(e.isDestroyed=!0,v._fireCallbacks(e,"destroyed"),e._domrange&&e._domrange.destroyMembers(t))},v._destroyNode=function(e){1===e.nodeType&&v._DOMBackend.Teardown.tearDownElement(e)},v._isContentEqual=function(e,t){return e instanceof l.Raw?t instanceof l.Raw&&e.value===t.value:null==e?null==t:e===t&&("number"==typeof e||"boolean"==typeof e||"string"==typeof e)},v.currentView=null,v._withCurrentView=function(e,t){var n=v.currentView;try{return v.currentView=e,t()}finally{v.currentView=n}};var a=function(e){if(null===e)throw new Error("Can't render null");if("undefined"==typeof e)throw new Error("Can't render undefined");if(!(e instanceof v.View||e instanceof v.Template||"function"==typeof e))try{(new l.Visitor).visit(e)}catch(t){throw new Error("Expected Template or View")}},o=function(e){if(a(e),e instanceof v.Template)return e.constructView();if(e instanceof v.View)return e;var t=e;return"function"!=typeof t&&(t=function(){return e}),v.View("render",t)},s=function(e){return a(e),"function"!=typeof e?function(){return e}:e};v.__rootViews=[],v.render=function(e,t,n,r){if(t||v._warn("Blaze.render without a parent element is deprecated. You must specify where to insert the rendered content."),n instanceof v.View&&(r=n,n=null),t&&"number"!=typeof t.nodeType)throw new Error("'parentElement' must be a DOM node");if(n&&"number"!=typeof n.nodeType)throw new Error("'nextNode' must be a DOM node");r=r||i();var a=o(e);return r||(a.onViewCreated((function(){v.__rootViews.push(a)})),a.onViewDestroyed((function(){var e=v.__rootViews.indexOf(a);e>-1&&v.__rootViews.splice(e,1)}))),v._materializeView(a,r),t&&a._domrange.attach(t,n),a},v.insert=function(e,t,n){if(v._warn("Blaze.insert has been deprecated. Specify where to insert the rendered content in the call to Blaze.render."),!(e&&e._domrange instanceof v._DOMRange))throw new Error("Expected template rendered with Blaze.render");e._domrange.attach(t,n)},v.renderWithData=function(e,t,n,r,i){return v.render(v._TemplateWith(t,s(e)),n,r,i)},v.remove=function(e){if(!(e&&e._domrange instanceof v._DOMRange))throw new Error("Expected template rendered with Blaze.render");for(;e;){if(!e.isDestroyed){var t=e._domrange;t.attached&&!t.parentRange&&t.detach(),t.destroy()}e=e._hasGeneratedParent&&e.parentView}},v.toHTML=function(e,t){return t=t||i(),l.toHTML(v._expandView(o(e),t))},v.toHTMLWithData=function(e,t,n){return n=n||i(),l.toHTML(v._expandView(v._TemplateWith(t,s(e)),n))},v._toText=function(e,t,n){if("function"==typeof e)throw new Error("Blaze._toText doesn't take a function, just HTMLjs");if(null==t||t instanceof v.View||(n=t,t=null),t=t||i(),!n)throw new Error("textMode required");if(n!==l.TEXTMODE.STRING&&n!==l.TEXTMODE.RCDATA&&n!==l.TEXTMODE.ATTRIBUTE)throw new Error("Unknown textMode: "+n);return l.toText(v._expand(e,t),n)},v.getData=function(e){var t;if(e)if(e instanceof v.View){var n=e;t="with"===n.name?n:v.getView(n,"with")}else{if("number"!=typeof e.nodeType)throw new Error("Expected DOM element or View");if(1!==e.nodeType)throw new Error("Expected DOM element");t=v.getView(e,"with")}else t=v.getView("with");return t?t.dataVar.get():null},v.getElementData=function(e){if(v._warn("Blaze.getElementData has been deprecated. Use Blaze.getData(element) instead."),1!==e.nodeType)throw new Error("Expected DOM element");return v.getData(e)},v.getView=function(e,t){var n=t;if("string"==typeof e&&(n=e,e=null),e){if(e instanceof v.View)return v._getParentView(e,n);if("number"==typeof e.nodeType)return v._getElementView(e,n);throw new Error("Expected DOM element or View")}return v._getCurrentView(n)},v._getCurrentView=function(e){var t=v.currentView;if(!t)throw new Error("There is no current view");if(e){for(;t&&t.name!==e;)t=t.parentView;return t||null}return t},v._getParentView=function(e,t){var n=e.parentView;if(t)for(;n&&n.name!==t;)n=n.parentView;return n||null},v._getElementView=function(e,t){for(var n=v._DOMRange.forElement(e),r=null;n&&!r;)(r=n.view||null)||(n=n.parentRange?n.parentRange:v._DOMRange.forElement(n.parentElement));if(t){for(;r&&r.name!==t;)r=r.parentView;return r||null}return r},v._addEventMap=function(e,t,n){n=n||null;var r=[];if(!e._domrange)throw new Error("View must have a DOMRange");e._domrange.onAttached(function(){function i(i,a){Object.keys(t).forEach((function(o){var s=t[o],u;
158o.split(/,\s+/).forEach((function(t){var o=t.split(/\s+/);if(0!==o.length){var u=o.shift(),c=o.join(" ");r.push(v._EventSupport.listen(a,u,c,(function(t){if(!i.containsElement(t.currentTarget))return null;var r=n||this,a=arguments;return v._withCurrentView(e,(function(){return s.apply(r,a)}))}),i,(function(e){return e.parentRange})))}}))}))}return i}()),e.onViewDestroyed((function(){r.forEach((function(e){e.stop()})),r.length=0}))}},
158"builtins.js":function e(t,n,e){var i,a,o;e.link("@babel/runtime/helpers/slicedToArray",{default:function(e){i=e}},0),e.link("lodash.has",{default:function(e){a=e}},0),e.link("lodash.isobject",{default:function(e){o=e}},1),v._calculateCondition=function(e){return l.isArray(e)&&0===e.length&&(e=!1),!!e},v.With=function(e,t){var n=v.View("with",t);return n.dataVar=new u,n.onViewCreated((function(){"function"==typeof e?n.autorun((function(){n.dataVar.set(e())}),n.parentView,"setData"):n.dataVar.set(e)})),n},v._attachBindingsToView=function(e,t){t.onViewCreated((function(){Object.entries(e).forEach((function(e){var n=i(e,2),r=n[0],a=n[1];t._scopeBindings[r]=new u,"function"==typeof a?t.autorun((function(){t._scopeBindings[r].set(a())}),t.parentView):t._scopeBindings[r].set(a)}))}))},v.Let=function(e,t){var n=v.View("let",t);return v._attachBindingsToView(e,n),n},v.If=function(e,t,n,r){var i=new u,a=v.View(r?"unless":"if",(function(){return i.get()?t():n?n():null}));return a.__conditionVar=i,a.onViewCreated((function(){this.autorun((function(){var t=v._calculateCondition(e());i.set(r?!t:t)}),this.parentView,"condition")})),a},v.Unless=function(e,t,n){return v.If(e,t,n,!0)},v.Each=function(e,t,n){var i=v.View("each",(function(){var e=this.initialSubviews;return this.initialSubviews=null,this._isCreatedForExpansion&&(this.expandedValueDep=new r.Dependency,this.expandedValueDep.depend()),e}));i.initialSubviews=[],i.numItems=0,i.inElseMode=!1,i.stopHandle=null,i.contentFunc=t,i.elseFunc=n,i.argVar=new u,i.variableName=null;var c=function(e,t){void 0===t&&(t=i.numItems-1);for(var n=e;n<=t;n++){var r;i._domrange.members[n].view._scopeBindings["@index"].set(n)}};return i.onViewCreated((function(){i.autorun((function(){var t=e();o(t)&&a(t,"_sequence")&&(i.variableName=t._variable||null,t=t._sequence),i.argVar.set(t)}),i.parentView,"collection"),i.stopHandle=s.observe((function(){return i.argVar.get()}),{addedAt:function(e,t,n){r.nonreactive((function(){var e;e=i.variableName?v.View("item",i.contentFunc):v.With(t,i.contentFunc),i.numItems++;var r={};if(r["@index"]=n,i.variableName&&(r[i.variableName]=t),v._attachBindingsToView(r,e),i.expandedValueDep)i.expandedValueDep.changed();else if(i._domrange){i.inElseMode&&(i._domrange.removeMember(0),i.inElseMode=!1);var a=v._materializeView(e,i);i._domrange.addMember(a,n),c(n)}else i.initialSubviews.splice(n,0,e)}))},removedAt:function(e,t,n){r.nonreactive((function(){i.numItems--,i.expandedValueDep?i.expandedValueDep.changed():i._domrange?(i._domrange.removeMember(n),c(n),i.elseFunc&&0===i.numItems&&(i.inElseMode=!0,i._domrange.addMember(v._materializeView(v.View("each_else",i.elseFunc),i),0))):i.initialSubviews.splice(n,1)}))},changedAt:function(e,t,n,a){r.nonreactive((function(){var e;i.expandedValueDep?i.expandedValueDep.changed():(e=i._domrange?i._domrange.getMember(a).view:i.initialSubviews[a],i.variableName?e._scopeBindings[i.variableName].set(t):e.dataVar.set(t))}))},movedTo:function(e,t,n,a){r.nonreactive((function(){if(i.expandedValueDep)i.expandedValueDep.changed();else if(i._domrange)i._domrange.moveMember(n,a),c(Math.min(n,a),Math.max(n,a));else{var e=i.initialSubviews,t=e[n];e.splice(n,1),e.splice(a,0,t)}}))}}),i.elseFunc&&0===i.numItems&&(i.inElseMode=!0,i.initialSubviews[0]=v.View("each_else",i.elseFunc))})),i.onViewDestroyed((function(){i.stopHandle&&i.stopHandle.stop()})),i},v._TemplateWith=function(e,t){var n,r=e;"function"!=typeof e&&(r=function(){return e});var i=function(){var e=null;return n.parentView&&"InOuterTemplateScope"===n.parentView.name&&(e=n.parentView.originalParentView),e?v._withCurrentView(e,r):r()},a=function(){var e=t.call(this);return e instanceof v.Template&&(e=e.constructView()),e instanceof v.View&&(e._hasGeneratedParent=!0),e};return(n=v.With(i,a)).__isTemplateWith=!0,n},v._InOuterTemplateScope=function(e,t){var n=v.View("InOuterTemplateScope",t),r=e.parentView;return r.__isTemplateWith&&(r=r.parentView),n.onViewCreated((function(){this.originalParentView=this.parentView,this.parentView=r,this.__childDoesntStartNewLexicalScope=!0})),n},v.InOuterTemplateScope=v._InOuterTemplateScope},
158"lookup.js":function e(t,n,e){var r;e.link("lodash.has",{default:function(e){r=e}},0),v._globalHelpers={},v.registerHelper=function(e,t){v._globalHelpers[e]=t},v.deregisterHelper=function(e){delete v._globalHelpers[e]};var i=function(e,t){return"function"!=typeof e?e:v._bind(e,t)},a=function(e){return"function"==typeof e?function(){var t=v.getData();return null==t&&(t={}),e.apply(t,arguments)}:e};v._OLDSTYLE_HELPER={},v._getTemplateHelper=function(e,t,n){var r=!1;if(e.__helpers.has(t)){var i=e.__helpers.get(t);if(i!==v._OLDSTYLE_HELPER)return null!=i?o(a(i),n):null;r=!0}return t in e&&(r||(e.__helpers.set(t,v._OLDSTYLE_HELPER),e._NOWARN_OLDSTYLE_HELPERS||v._warn("Assigning helper with `"+e.viewName+"."+t+" = ...` is deprecated. Use `"+e.viewName+".helpers(...)` instead.")),null!=e[t])?o(a(e[t]),n):null};var o=function(e,t){return"function"!=typeof e?e:function(){var n=this,r=arguments;return v.Template._withTemplateInstanceFunc(t,(function(){return v._wrapCatchingExceptions(e,"template helper").apply(n,r)}))}};v._lexicalBindingLookup=function(e,t){var n=e,i=[];do{if(r(n._scopeBindings,t)){var a=n._scopeBindings[t];return function(){return a.get()}}}while((!n.__startsNewLexicalScope||n.parentView&&n.parentView.__childDoesntStartNewLexicalScope)&&(n=n.parentView));return null},v._getTemplate=function(e,t){return e in v.Template&&v.Template[e]instanceof v.Template?v.Template[e]:null},v._getGlobalHelper=function(e,t){return null!=v._globalHelpers[e]?o(a(v._globalHelpers[e]),t):null},v.View.prototype.lookup=function(e,t){var n=this.template,r=t&&t.template,i,a,o,s;if(this.templateInstance&&(o=v._bind(this.templateInstance,this)),/^\./.test(e)){if(!/^(\.)+$/.test(e))throw new Error("id starting with dot must be a series of dots");return v._parentData(e.length-1,!0)}return n&&null!=(i=v._getTemplateHelper(n,e,o))?i:n&&null!=(a=v._lexicalBindingLookup(v.currentView,e))?a:r&&null!=(s=v._getTemplate(e,o))?s:null!=(i=v._getGlobalHelper(e,o))?i:function(){var t=arguments.length>0,n=v.getData(),i=n&&n[e];if(!i){if(r)throw new Error("No such template: "+e);if(t)throw new Error("No such function: "+e);if("@"===e.charAt(0)&&null==i)throw new Error("Unsupported directive: "+e)}if(!n)return null;if("function"!=typeof i){if(t)throw new Error("Can't call non-function: "+i);return i}return i.apply(n,arguments)}},v._parentData=function(e,t){null==e&&(e=1);for(var n=v.getView("with"),r=0;r<e&&n;r++)n=v.getView(n,"with");return n?t?function(){return n.dataVar.get()}:n.dataVar.get():null},v.View.prototype.lookupTemplate=function(e){return this.lookup(e,{template:!0})}},
158"template.js":function e(t,n,e){var i,a,s,u,c;e.link("@babel/runtime/helpers/typeof",{default:function(e){i=e}},0),e.link("lodash.isobject",{default:function(e){a=e}},0),e.link("lodash.isfunction",{default:function(e){s=e}},1),e.link("lodash.has",{default:function(e){u=e}},2),e.link("lodash.isempty",{default:function(e){c=e}},3),v.Template=function(e,t){if(!(this instanceof v.Template))return new v.Template(e,t);if("function"==typeof e&&(t=e,e=""),"string"!=typeof e)throw new Error("viewName must be a String (or omitted)");if("function"!=typeof t)throw new Error("renderFunction must be a function");this.viewName=e,this.renderFunction=t,this.__helpers=new f,this.__eventMaps=[],this._callbacks={created:[],rendered:[],destroyed:[]}};var l=v.Template,f=function(){};f.prototype.get=function(e){return this[" "+e]},f.prototype.set=function(e,t){this[" "+e]=t},f.prototype.has=function(e){return"undefined"!=typeof this[" "+e]},v.isTemplate=function(e){return e instanceof v.Template},l.prototype.onCreated=function(e){this._callbacks.created.push(e)},l.prototype.onRendered=function(e){this._callbacks.rendered.push(e)},l.prototype.onDestroyed=function(e){this._callbacks.destroyed.push(e)},l.prototype._getCallbacks=function(e){var t=this,n=t[e]?[t[e]]:[];return n=n.concat(t._callbacks[e])};var d=function(e,t){l._withTemplateInstanceFunc((function(){return t}),(function(){for(var n=0,r=e.length;n<r;n++)e[n].call(t)}))},h;if(l.prototype.constructView=function(e,t){var n=this,r=v.View(n.viewName,n.renderFunction);r.template=n,r.templateContentBlock=e?new l("(contentBlock)",e):null,r.templateElseBlock=t?new l("(elseBlock)",t):null,(n.__eventMaps||"object"===i(n.events))&&r._onViewRendered((function(){1===r.renderCount&&(n.__eventMaps.length||"object"!==i(n.events)||l.prototype.events.call(n,n.events),n.__eventMaps.forEach((function(e){v._addEventMap(r,e,r)})))})),r._templateInstance=new v.TemplateInstance(r),r.templateInstance=function(){var e=r._templateInstance;return e.data=v.getData(r),r._domrange&&!r.isDestroyed?(e.firstNode=r._domrange.firstNode(),e.lastNode=r._domrange.lastNode()):(e.firstNode=null,e.lastNode=null),e};var a=n._getCallbacks("created");r.onViewCreated((function(){d(a,r.templateInstance())}));var o=n._getCallbacks("rendered");r.onViewReady((function(){d(o,r.templateInstance())}));var s=n._getCallbacks("destroyed");return r.onViewDestroyed((function(){d(s,r.templateInstance())})),r},v.TemplateInstance=function(e){if(!(this instanceof v.TemplateInstance))return new v.TemplateInstance(e);if(!(e instanceof v.View))throw new Error("View required");e._templateInstance=this,this.view=e,this.data=null,this.firstNode=null,this.lastNode=null,this._allSubsReadyDep=new r.Dependency,this._allSubsReady=!1,this._subscriptionHandles={}},v.TemplateInstance.prototype.$=function(e){var t=this.view;if(!t._domrange)throw new Error("Can't use $ on template instance with no DOM");return t._domrange.$(e)},v.TemplateInstance.prototype.findAll=function(e){return Array.prototype.slice.call(this.$(e))},v.TemplateInstance.prototype.find=function(e){var t;return this.$(e)[0]||null},v.TemplateInstance.prototype.autorun=function(e){return this.view.autorun(e)},v.TemplateInstance.prototype.subscribe=function(){for(var e=this,t=e._subscriptionHandles,n={},r=arguments.length,i=new Array(r),a=0,l;a<r;a++)i[a]=arguments[a];if(i.length){var f=i[i.length-1],p={onReady:o.Optional(Function),onError:o.Optional(Function),onStop:o.Optional(Function),connection:o.Optional(o.Any)};s(f)?n.onReady=i.pop():f&&!c(f)&&o.test(f,p)&&(n=i.pop())}var d=n.onStop;n.onStop=function(n){delete t[l.subscriptionId],e._allSubsReady||e._allSubsReadyDep.changed(),d&&d(n)};var h=n.connection,m=n,_=m.onReady,v=m.onError,w=m.onStop,b={onReady:_,onError:v,onStop:w};return i.push(b),l=e.view.subscribe.call(e.view,i,{connection:h}),u(t,l.subscriptionId)||(t[l.subscriptionId]=l,e._allSubsReady&&e._allSubsReadyDep.changed()),l},v.TemplateInstance.prototype.subscriptionsReady=function(){return this._allSubsReadyDep.depend(),this._allSubsReady=Object.values(this._subscriptionHandles).every((function(e){return e.ready()})),this._allSubsReady},l.prototype.helpers=function(e){if(!a(e))throw new Error("Helpers dictionary has to be an object");for(var t in p.sanitizeForInObject(e))this.__helpers.set(t,e[t])},function(){if(Object.defineProperty){var e={};try{Object.defineProperty(e,"self",{get:function(){return e}})}catch(t){return!1}return e.self===e}return!1}()){var m=null;Object.defineProperty(l,"_currentTemplateInstanceFunc",{get:function(){return m}}),l._withTemplateInstanceFunc=function(e,t){if("function"!=typeof t)throw new Error("Expected function, got: "+t);var n=m;try{return m=e,t()}finally{m=n}}}else l._currentTemplateInstanceFunc=null,l._withTemplateInstanceFunc=function(e,t){if("function"!=typeof t)throw new Error("Expected function, got: "+t);var n=l._currentTemplateInstanceFunc;try{return l._currentTemplateInstanceFunc=e,t()}finally{l._currentTemplateInstanceFunc=n}};l.prototype.events=function(e){if(!a(e))throw new Error("Event map has to be an object");var t=this,n={};for(var r in p.sanitizeForInObject(e))n[r]=function(e,t){return function(e){var n=this,r=v.getData(e.currentTarget);null==r&&(r={});var i=Array.prototype.slice.call(arguments),a=v._bind(n.templateInstance,n);return i.splice(1,0,a()),l._withTemplateInstanceFunc(a,(function(){return t.apply(r,i)}))}}(r,e[r]);t.__eventMaps.push(n)},l.instance=function(){return l._currentTemplateInstanceFunc&&l._currentTemplateInstanceFunc()},l.currentData=v.getData,l.parentData=v._parentData,l.registerHelper=v.registerHelper,l.deregisterHelper=v.deregisterHelper},
158"backcompat.js":function e(){y=v,v.ReactiveVar=u,y._templateInstance=v.Template.instance,(g={}).registerHelper=v.registerHelper,g._escape=v._escape,g.SafeString=function(e){this.string=e},g.SafeString.prototype.toString=function(){return this.string.toString()}},node_modules:{"lodash.has":{
158"package.json":function e(t,n,e){e.exports={name:"lodash.has",version:"4.5.2"}},
158"index.js":function e(n,r,e){var i="Expected a function",a="__lodash_hash_undefined__",o=1/0,s=9007199254740991,u="[object Arguments]",c="[object Function]",l="[object GeneratorFunction]",f="[object Symbol]",p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/,h=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_=/[\\^$.*+?()[\]{}|]/g,v=/\\(\\)?/g,w=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,y="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,E=y||g||Function("return this")();function V(e,t){return null==e?void 0:e[t]}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}var j=Array.prototype,k=Function.prototype,x=Object.prototype,O=E["__core-js_shared__"],D=(M=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+M:"",M,C=k.toString,N=x.hasOwnProperty,I=x.toString,R=RegExp("^"+C.call(N).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=E.Symbol,A=x.propertyIsEnumerable,B=j.splice,P=pe(E,"Map"),H=pe(Object,"create"),z=S?S.prototype:void 0,F=z?z.toString:void 0;function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function U(){this.__data__=H?H(null):{}}function $(e){return this.has(e)&&delete this.__data__[e]}function G(e){var t=this.__data__;if(H){var n=t[e];return n===a?void 0:n}return N.call(t,e)?t[e]:void 0}function W(e){var t=this.__data__;return H?void 0!==t[e]:N.call(t,e)}function q(e,t){var n;return this.__data__[e]=H&&void 0===t?a:t,this}function J(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(){this.__data__=[]}function Y(e){var t=this.__data__,n=oe(t,e),r;return!(n<0)&&(n==t.length-1?t.pop():B.call(t,n,1),!0)}function X(e){var t=this.__data__,n=oe(t,e);return n<0?void 0:t[n][1]}function K(e){return oe(this.__data__,e)>-1}function Z(e,t){var n=this.__data__,r=oe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(){this.__data__={hash:new L,map:new(P||J),string:new L}}function ne(e){return fe(this,e).delete(e)}function re(e){return fe(this,e).get(e)}function ie(e){return fe(this,e).has(e)}function ae(e,t){return fe(this,e).set(e,t),this}function oe(e,t){for(var n=e.length;n--;)if(Ee(e[n][0],t))return n;return-1}function se(e,t){return null!=e&&N.call(e,t)}function ue(e){return!(!De(e)||ve(e))&&(xe(e)||T(e)?R:w).test(ye(e));var t}function ce(e){if("string"==typeof e)return e;if(Ce(e))return F?F.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function le(e){return Te(e)?e:we(e)}function fe(e,t){var n=e.__data__;return _e(t)?n["string"==typeof t?"string":"hash"]:n.map}function pe(e,t){var n=V(e,t);return ue(n)?n:void 0}function de(e,t,n){for(var r,i=-1,a=(t=me(t,e)?[t]:le(t)).length;++i<a;){var o=be(t[i]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(a=e?e.length:0)&&Oe(a)&&he(o,a)&&(Te(e)||Ve(e));var a}function he(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||b.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(Te(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ce(e))||(d.test(e)||!p.test(e)||null!=t&&e in Object(t))}function _e(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ve(e){return!!D&&D in e}L.prototype.clear=U,L.prototype.delete=$,L.prototype.get=G,L.prototype.has=W,L.prototype.set=q,J.prototype.clear=Q,J.prototype.delete=Y,J.prototype.get=X,J.prototype.has=K,J.prototype.set=Z,ee.prototype.clear=te,ee.prototype.delete=ne,ee.prototype.get=re,ee.prototype.has=ie,ee.prototype.set=ae;var we=ge((function(e){e=Ne(e);var t=[];return h.test(e)&&t.push(""),e.replace(m,(function(e,n,r,i){t.push(r?i.replace(v,"$1"):n||e)})),t}));function be(e){if("string"==typeof e||Ce(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ye(e){if(null!=e){try{return C.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ge(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(ge.Cache||ee),n}function Ee(e,t){return e===t||e!=e&&t!=t}function Ve(e){return ke(e)&&N.call(e,"callee")&&(!A.call(e,"callee")||I.call(e)==u)}ge.Cache=ee;var Te=Array.isArray;function je(e){return null!=e&&Oe(e.length)&&!xe(e)}function ke(e){return Me(e)&&je(e)}function xe(e){var t=De(e)?I.call(e):"";return t==c||t==l}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function De(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Me(e){return!!e&&"object"==typeof e}function Ce(e){return"symbol"==typeof e||Me(e)&&I.call(e)==f}function Ne(e){return null==e?"":ce(e)}function Ie(e,t){return null!=e&&de(e,t,se)}e.exports=Ie}},"lodash.isobject":{
158"package.json":function e(t,n,e){e.exports={name:"lodash.isobject",version:"3.0.2"}},
158"index.js":function e(t,n,e){function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=r}},"lodash.isfunction":{
158"package.json":function e(t,n,e){e.exports={name:"lodash.isfunction",version:"3.0.9"}},
158"index.js":function e(n,r,e){var i="[object AsyncFunction]",a="[object Function]",o="[object GeneratorFunction]",s="[object Null]",u="[object Proxy]",c="[object Undefined]",l="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,p=l||f||Function("return this")(),d=Object.prototype,h=d.hasOwnProperty,m=d.toString,_=p.Symbol,v=_?_.toStringTag:void 0;function w(e){return null==e?void 0===e?c:s:v&&v in Object(e)?b(e):y(e)}function b(e){var t=h.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(a){}var i=m.call(e);return r&&(t?e[v]=n:delete e[v]),i}function y(e){return m.call(e)}function g(e){if(!E(e))return!1;var t=w(e);return t==a||t==o||t==i||t==u}function E(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=g}},"lodash.isempty":{
158"package.json":function e(t,n,e){e.exports={name:"lodash.isempty",version:"4.4.0"}},
158"index.js":function e(n,r,e){var i=9007199254740991,a="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",u="[object Map]",c="[object Object]",l="[object Promise]",f="[object Set]",p="[object WeakMap]",d="[object DataView]",h=/[\\^$.*+?()[\]{}|]/g,m=/^\[object .+?Constructor\]$/,_="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,w=_||v||Function("return this")(),b="object"==typeof r&&r&&!r.nodeType&&r,y=b&&"object"==typeof e&&e&&!e.nodeType&&e,g=y&&y.exports===b;function E(e,t){return null==e?void 0:e[t]}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function T(e,t){return function(n){return e(t(n))}}var j=Function.prototype,k=Object.prototype,x=w["__core-js_shared__"],O=(D=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",D,M=j.toString,C=k.hasOwnProperty,N=k.toString,I=RegExp("^"+M.call(C).replace(h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=g?w.Buffer:void 0,S=k.propertyIsEnumerable,A=R?R.isBuffer:void 0,B=T(Object.keys,Object),P=X(w,"DataView"),H=X(w,"Map"),z=X(w,"Promise"),F=X(w,"Set"),L=X(w,"WeakMap"),U=!S.call({valueOf:1},"valueOf"),$=te(P),G=te(H),W=te(z),q=te(F),J=te(L);function Q(e){return N.call(e)}function Y(e){return!(!le(e)||Z(e))&&(ue(e)||V(e)?I:m).test(te(e));var t}function X(e,t){var n=E(e,t);return Y(n)?n:void 0}var K=Q;function Z(e){return!!O&&O in e}function ee(e){var t=e&&e.constructor,n;return e===("function"==typeof t&&t.prototype||k)}function te(e){if(null!=e){try{return M.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ne(e){return ae(e)&&C.call(e,"callee")&&(!S.call(e,"callee")||N.call(e)==a)}(P&&K(new P(new ArrayBuffer(1)))!=d||H&&K(new H)!=u||z&&K(z.resolve())!=l||F&&K(new F)!=f||L&&K(new L)!=p)&&(K=function(e){var t=N.call(e),n=t==c?e.constructor:void 0,r=n?te(n):void 0;if(r)switch(r){case $:return d;case G:return u;case W:return l;case q:return f;case J:return p}return t});var re=Array.isArray;function ie(e){return null!=e&&ce(e.length)&&!ue(e)}function ae(e){return fe(e)&&ie(e)}var oe=A||pe;function se(e){if(ie(e)&&(re(e)||"string"==typeof e||"function"==typeof e.splice||oe(e)||ne(e)))return!e.length;var t=K(e);if(t==u||t==f)return!e.size;if(U||ee(e))return!B(e).length;for(var n in e)if(C.call(e,n))return!1;return!0}function ue(e){var t=le(e)?N.call(e):"";return t==o||t==s}function ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function le(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==typeof e}function pe(){return!1}e.exports=se}}}}}}},{extensions:[".js",".json"]});E("/node_modules/meteor/blaze/preamble.js"),E("/node_modules/meteor/blaze/dombackend.js"),E("/node_modules/meteor/blaze/domrange.js"),E("/node_modules/meteor/blaze/events.js"),E("/node_modules/meteor/blaze/attrs.js"),E("/node_modules/meteor/blaze/materializer.js"),E("/node_modules/meteor/blaze/exceptions.js"),E("/node_modules/meteor/blaze/view.js"),E("/node_modules/meteor/blaze/builtins.js"),E("/node_modules/meteor/blaze/lookup.js"),E("/node_modules/meteor/blaze/template.js"),E("/node_modules/meteor/blaze/backcompat.js"),Package._define("blaze",{Blaze:v,UI:y,Handlebars:g})}(); 159 160!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package["observe-sequence"].ObserveSequence,a=Package.tracker.Tracker,u=Package.tracker.Deps,i=Package.htmljs.HTML,l=Package.blaze.Blaze,o=Package.blaze.UI,c=Package.blaze.Handlebars,f;(function(){var e=function(e,t){return e===t};(f={}).include=function(t,n,r){if(!t)return null;if("function"!=typeof t){var a=t,u;if(!l.isTemplate(a))throw new Error("Expected template or null, found: "+a);return(u=t.constructView(n,r)).__startsNewLexicalScope=!0,u}var i=l.ReactiveVar(null,e),u=l.View("Spacebars.include",(function(){var e=i.get();if(null===e)return null;if(!l.isTemplate(e))throw new Error("Expected template or null, found: "+e);return e.constructView(n,r)}));return u.__templateVar=i,u.onViewCreated((function(){this.autorun((function(){i.set(t())}
160))})),u.__startsNewLexicalScope=!0,u},f.mustacheImpl=function(e){var t=arguments;if(t.length>1){var n=t[t.length-1];if(n instanceof f.kw){var r={};for(var a in n.hash){var u=n.hash[a];r[a]="function"==typeof u?u():u}t[t.length-1]=f.kw(r)}else n=f.kw(),(t=Array.prototype.slice.call(arguments)).push(n)}return f.call.apply(null,t)},f.mustache=function(e){var t=f.mustacheImpl.apply(null,arguments);return t instanceof f.SafeString?i.Raw(t.toString()):null==t||!1===t?null:String(t)},f.attrMustache=function(e){var t=f.mustacheImpl.apply(null,arguments);if(null==t||""===t)return null;if("object"==typeof t)return t;if("string"==typeof t&&i.isValidAttributeName(t)){var n={};return n[t]="",n}throw new Error("Expected valid attribute name, '', null, or object")},f.dataMustache=function(e){var t=f.mustacheImpl.apply(null,arguments);return t},f.makeRaw=function(e){return null==e?null:e instanceof i.Raw?e:i.Raw(e)},f.call=function(e){if("function"==typeof e){for(var t=[],n=1;n<arguments.length;n++){var r=arguments[n];t[n-1]="function"==typeof r?r():r}return e.apply(null,t)}if(null!=e&&arguments.length>1)throw new Error("Can't call non-function: "+e);return e},f.kw=function(e){if(!(this instanceof f.kw))return new f.kw(e);this.hash=e||{}},f.SafeString=function(e){return this instanceof f.SafeString?new c.SafeString(e):new f.SafeString(e)},f.SafeString.prototype=c.SafeString.prototype,f.dot=function(e,t){if(arguments.length>2){var n=[];return n.push(f.dot(e,t)),n.push.apply(n,Array.prototype.slice.call(arguments,2)),f.dot.apply(null,n)}if("function"==typeof e&&(e=e()),!e)return e;var r=e[t];return"function"!=typeof r?r:function(){return r.apply(e,arguments)}},f.With=function(e,t,n){var r=new l.ReactiveVar,u=l.View("Spacebars_with",(function(){return l.If((function(){return r.get()}),(function(){return l.With((function(){return r.get()}),t)}),n)}));return u.onViewCreated((function(){this.autorun((function(){r.set(e()),a.onInvalidate((function(){r.dep.changed()}))}))})),u},f.TemplateWith=l._TemplateWith}).call(this),Package._define("spacebars",{Spacebars:f})}(); 161 162Package._define("templating-compiler"); 163 164!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.blaze.Blaze,o=Package.blaze.UI,a=Package.blaze.Handlebars,c=Package.spacebars.Spacebars,i=Package.htmljs.HTML,u=Package.modules.meteorInstall,l=Package.modules.meteorBabelHelpers,_=Package.promise.Promise,s=Package["ecmascript-runtime-client"].Symbol,p=Package["ecmascript-runtime-client"].Map,d=Package["ecmascript-runtime-client"].Set,f,m=u({node_modules:{meteor:{"templating-runtime":{
164"templating.js":function e(){f=r.Template;var t="__proto__ name".split(" ");f.__checkName=function(e){if(e in f||t.includes(e)){if(f[e]instanceof f&&"body"!==e)throw new Error("There are multiple templates named '"+e+"'. Each template needs a unique name.");throw new Error("This template name is reserved: "+e)}},f.__define__=function(e,t){f.__checkName(e),f[e]=new f("Template."+e,t),f[e]._NOWARN_OLDSTYLE_HELPERS=!0},f.body=new f("body",(function(){var e=this;return f.body.contentRenderFuncs.map((function(t){return t.apply(e)}))})),f.body.contentRenderFuncs=[],f.body.view=null,f.body.addContent=function(e){f.body.contentRenderFuncs.push(e)},f.body.renderToDocument=function(){if(!f.body.view){var e=r.render(f.body,document.body);f.body.view=e}},f.__pendingReplacement=[];var n=null;f._applyHmrChanges=function(e){n||(n=setTimeout((function(){n=null;for(var e=0;e<f.__pendingReplacement.length;e++)delete f[f.__pendingReplacement[e]];f.__pendingReplacement=[];for(var t=r.__rootViews.slice(),e=0;e<t.length;e++){var o=t[e];if(!o.destroyed){var a=o._render,c,i;if(o._domrange&&o._domrange.parentElement?c=o._domrange.parentElement:o._hmrParent&&(c=o._hmrParent),o._hmrAfter)i=o._hmrAfter;else{var u=o._domrange.firstNode();i=document.createComment("Blaze HMR PLaceholder"),c.insertBefore(i,u)}o._hmrAfter=null,o._hmrParent=null,o._domrange&&r.remove(o);try{if(o===f.body.view){var l=r.render(f.body,document.body,i);f.body.view=l}else o.dataVar?r.renderWithData(a,o.dataVar.curValue,c,i):r.render(a,c,i);c.removeChild(i)}catch(s){console.log("[Blaze HMR] Error re-rending template:"),console.error(s);var _=r.__rootViews[r.__rootViews.length-1];_&&_.isCreated&&!_.isRendered&&(_._hmrAfter=i,_._hmrParent=c)}}}})))},f._migrateTemplate=function(e,t,n){var r=f[e],n=f.__pendingReplacement.indexOf(e)>-1;r&&n&&(t.__helpers=r.__helpers,t.__eventMaps=r.__eventMaps,t._callbacks.created=r._callbacks.created,t._callbacks.rendered=r._callbacks.rendered,t._callbacks.destroyed=r._callbacks.destroyed,delete f[e],f._applyHmrChanges(e)),n&&f.__pendingReplacement.splice(f.__pendingReplacement.indexOf(e),1),f.__checkName(e),f[e]=t},o.body=f.body,f.__body__=f.body,f.__body__.__contentParts=f.body.contentViews,f.__body__.__instantiate=f.body.renderToDocument},
164"template.dynamic.js":function e(){f.__checkName("__dynamic"),f.__dynamic=new f("Template.__dynamic",(function(){var e=this;return[r.View("lookup:checkContext",(function(){return c.mustache(e.lookup("checkContext"))})),"\n ",r.If((function(){return c.call(e.lookup("dataContextPresent"))}),(function(){return["\n ",c.include(e.lookupTemplate("__dynamicWithDataContext"),(function(){return r._InOuterTemplateScope(e,(function(){return c.include((function(){return c.call(e.templateContentBlock)}))}))})),"\n "]}),(function(){return["\n \n ",r._TemplateWith((function(){return{template:c.call(e.lookup("template")),data:c.call(e.lookup(".."))}}),(function(){return c.include(e.lookupTemplate("__dynamicWithDataContext"),(function(){return r._InOuterTemplateScope(e,(function(){return c.include((function(){return c.call(e.templateContentBlock)}))}))}))})),"\n "]}))]})),f.__checkName("__dynamicWithDataContext"),f.__dynamicWithDataContext=new f("Template.__dynamicWithDataContext",(function(){var e=this;return c.With((function(){return c.dataMustache(e.lookup("chooseTemplate"),e.lookup("template"))}),(function(){return["\n \n ",r._TemplateWith((function(){return c.call(c.dot(e.lookup(".."),"data"))}),(function(){return c.include(e.lookupTemplate(".."),(function(){return r._InOuterTemplateScope(e,(function(){return c.include((function(){return c.call(e.templateContentBlock)}))}))}))})),"\n "]}))}))},
164"dynamic.js":function e(t,n,e){var o;e.link("lodash.has",{default:function(e){o=e}},0);var a=r.Template;a.__dynamicWithDataContext.helpers({chooseTemplate:function(e){return r._getTemplate(e,(function(){return a.instance()}))}}),a.__dynamic.helpers({dataContextPresent:function(){return o(this,"data")},checkContext:function(){if(!o(this,"template"))throw new Error("Must specify name in the 'template' argument to {{> Template.dynamic}}.");Object.keys(this).forEach((function(e){if("template"!==e&&"data"!==e)throw new Error("Invalid argument to {{> Template.dynamic}}: "+e)}))}})},node_modules:{"lodash.has":{
164"package.json":function e(t,n,e){e.exports={name:"lodash.has",version:"4.5.2"}},
164"index.js":function e(n,r,e){var o="Expected a function",a="__lodash_hash_undefined__",c=1/0,i=9007199254740991,u="[object Arguments]",l="[object Function]",_="[object GeneratorFunction]",s="[object Symbol]",p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/,f=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/[\\^$.*+?()[\]{}|]/g,y=/\\(\\)?/g,g=/^\[object .+?Constructor\]$/,v=/^(?:0|[1-9]\d*)$/,b="object"==typeof t&&t&&t.Object===Object&&t,k="object"==typeof self&&self&&self.Object===Object&&self,w=b||k||Function("return this")();function j(e,t){return null==e?void 0:e[t]}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}var P=Array.prototype,C=Function.prototype,x=Object.prototype,O=w["__core-js_shared__"],E=(R=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"",R,S=C.toString,W=x.hasOwnProperty,D=x.toString,M=RegExp("^"+S.call(W).replace(h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=w.Symbol,A=x.propertyIsEnumerable,I=P.splice,B=pe(w,"Map"),H=pe(Object,"create"),N=$?$.prototype:void 0,V=N?N.toString:void 0;function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function z(){this.__data__=H?H(null):{}}function L(e){return this.has(e)&&delete this.__data__[e]}function q(e){var t=this.__data__;if(H){var n=t[e];return n===a?void 0:n}return W.call(t,e)?t[e]:void 0}function G(e){var t=this.__data__;return H?void 0!==t[e]:W.call(t,e)}function U(e,t){var n;return this.__data__[e]=H&&void 0===t?a:t,this}function Y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(){this.__data__=[]}function K(e){var t=this.__data__,n=ce(t,e),r;return!(n<0)&&(n==t.length-1?t.pop():I.call(t,n,1),!0)}function Q(e){var t=this.__data__,n=ce(t,e);return n<0?void 0:t[n][1]}function X(e){return ce(this.__data__,e)>-1}function Z(e,t){var n=this.__data__,r=ce(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(){this.__data__={hash:new F,map:new(B||Y),string:new F}}function ne(e){return se(this,e).delete(e)}function re(e){return se(this,e).get(e)}function oe(e){return se(this,e).has(e)}function ae(e,t){return se(this,e).set(e,t),this}function ce(e,t){for(var n=e.length;n--;)if(we(e[n][0],t))return n;return-1}function ie(e,t){return null!=e&&W.call(e,t)}function ue(e){return!(!Ee(e)||ye(e))&&(xe(e)||T(e)?M:g).test(be(e));var t}function le(e){if("string"==typeof e)return e;if(Se(e))return V?V.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function _e(e){return Te(e)?e:ge(e)}function se(e,t){var n=e.__data__;return he(t)?n["string"==typeof t?"string":"hash"]:n.map}function pe(e,t){var n=j(e,t);return ue(n)?n:void 0}function de(e,t,n){for(var r,o=-1,a=(t=me(t,e)?[t]:_e(t)).length;++o<a;){var c=ve(t[o]);if(!(r=null!=e&&n(e,c)))break;e=e[c]}return r||!!(a=e?e.length:0)&&Oe(a)&&fe(c,a)&&(Te(e)||je(e));var a}function fe(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||v.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(Te(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Se(e))||(d.test(e)||!p.test(e)||null!=t&&e in Object(t))}function he(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ye(e){return!!E&&E in e}F.prototype.clear=z,F.prototype.delete=L,F.prototype.get=q,F.prototype.has=G,F.prototype.set=U,Y.prototype.clear=J,Y.prototype.delete=K,Y.prototype.get=Q,Y.prototype.has=X,Y.prototype.set=Z,ee.prototype.clear=te,ee.prototype.delete=ne,ee.prototype.get=re,ee.prototype.has=oe,ee.prototype.set=ae;var ge=ke((function(e){e=We(e);var t=[];return f.test(e)&&t.push(""),e.replace(m,(function(e,n,r,o){t.push(r?o.replace(y,"$1"):n||e)})),t}));function ve(e){if("string"==typeof e||Se(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function be(e){if(null!=e){try{return S.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ke(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var c=e.apply(this,r);return n.cache=a.set(o,c),c};return n.cache=new(ke.Cache||ee),n}function we(e,t){return e===t||e!=e&&t!=t}function je(e){return Ce(e)&&W.call(e,"callee")&&(!A.call(e,"callee")||D.call(e)==u)}ke.Cache=ee;var Te=Array.isArray;function Pe(e){return null!=e&&Oe(e.length)&&!xe(e)}function Ce(e){return Re(e)&&Pe(e)}function xe(e){var t=Ee(e)?D.call(e):"";return t==l||t==_}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ee(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Re(e){return!!e&&"object"==typeof e}function Se(e){return"symbol"==typeof e||Re(e)&&D.call(e)==s}function We(e){return null==e?"":le(e)}function De(e,t){return null!=e&&de(e,t,ie)}e.exports=De}}}}}}},{extensions:[".js",".json",".html"]});m("/node_modules/meteor/templating-runtime/templating.js"),m("/node_modules/meteor/templating-runtime/template.dynamic.js"),m("/node_modules/meteor/templating-runtime/dynamic.js"),Package._define("templating-runtime",{Template:f})}(); 165 166!function(){var e=Package["templating-runtime"].Template;Package._define("templating",{Template:e})}(); 167 168!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,a=Package.meteor.meteorEnv,n=Package.blaze.Blaze,r=Package.blaze.UI,o=Package.blaze.Handlebars,c=Package["templating-runtime"].Template,i=Package["reactive-dict"].ReactiveDict,u=Package.underscore._,l=Package.jquery.$,d=Package.jquery.jQuery,g=Package.tracker.Tracker,s=Package.tracker.Deps,_=Package.htmljs.HTML,f=Package.spacebars.Spacebars,m;(function(){m={}}).call(this),function(){var t=null,a=null,r=new i,o,l=!1;m.setRoot=function(e){m._root=e},m.render=function t(a,n){n=n||{},e.startup((function(){l?m._render(a,n):e.defer((function(){l=!0,m._render(a,n)}))}))},m.reset=function e(){var o=a;o&&(o._domrange?n.remove(o):o.onViewReady((function(){n.remove(o)})),a=null,t=null,r=new i)},m._regionsToData=function e(t,a){return a=a||{},u.each(t,(function(e,t){r.set(t,e),a[t]=m._buildRegionGetter(t)})),a},m._updateRegions=function e(t){var n=!1;u.each(o,(function(e,a){void 0===t[a]&&(r.set(a,void 0),delete o[a])})),u.each(t,(function(e,t){o&&void 0===o[t]&&(n=!0,o[t]=m._buildRegionGetter(t)),r.set(t,e)})),a&&n&&a.dataVar.dep.changed()}
168,m._getRootDomNode=function e(){var t=m._root;if(t?"string"==typeof t?t=n._DOMBackend.findBySelector(t,document)[0]:t.jquery&&(t=t[0]):(t=n._DOMBackend.parseHTML('<div id="__blaze-root"></div>')[0],document.body.appendChild(t),m.setRoot(t)),!t)throw new Error("Root element does not exist");return t},m._buildRegionGetter=function e(t){return function(){return r.get(t)}},m._getTemplate=function(e,t){return n._getTemplate?n._getTemplate(e,(function(){for(var e=n.getView(t);e&&!e._templateInstance;)e=e.originalParentView||e.parentView;return e&&e._templateInstance||null})):c[e]},m._render=function e(r,c){var i=m._getRootDomNode();t!=r?(m.reset(),o=m._regionsToData(c),a=n._TemplateWith(o,(function(){var e=m._getTemplate(r,i);return null===r||e||console.log('BlazeLayout warning: unknown template "'+r+'"'),f.include(e)})),n.render(a,i,null,n.getView(i)),t=r):m._updateRegions(c)}}.call(this),Package._define("kadira:blaze-layout",{BlazeLayout:m})}(); 169 170!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,t=Package.meteor.meteorEnv;(function(){}).call(this),Package._define("jabbslad:basic-auth")}(); 171 172!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,s;(function(){!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function s(t){e=t}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n=[],s;for(s=0;s<e.length;++s)n.push(t(e[s],s));return n}function c(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,s){return zn(e,t,n,s,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function y(e){if(null==e._isValid){var n=_(e),s=t.call(n.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&s);if(e._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function g(e){var t=f(NaN);return null!=e?c(_(t),e):_(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t=Object(this),n=t.length>>>0,s;for(s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var v=n.momentProperties=[],w=!1;function p(e,t){var n,s,i;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=_(t)),u(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)u(i=t[s=v[n]])||(e[s]=i);return e}function k(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,n.updateOffset(this),w=!1)}function M(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function D(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var s=!0;return c((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),s){var i=[],r,o,u;
172for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(u in r+="\n["+o+"] ",arguments[0])a(arguments[0],u)&&(r+=u+": "+arguments[0][u]+", ");r=r.slice(0,-2)}else r=arguments[o];i.push(r)}D(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return t.apply(this,arguments)}),t)}var Y={},O;function b(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),Y[e]||(D(t),Y[e]=!0)}function x(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,n;for(n in e)a(e,n)&&(x(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function N(e,t){var n=c({},e),s;for(s in t)a(t,s)&&(r(e[s])&&r(t[s])?(n[s]={},c(n[s],e[s]),c(n[s],t[s])):null!=t[s]?n[s]=t[s]:delete n[s]);for(s in e)a(e,s)&&!a(t,s)&&r(e[s])&&(n[s]=c({},n[s]));return n}function P(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function W(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return x(s)?s.call(t,n):s}function C(e,t,n){var s=""+Math.abs(e),i=t-s.length,r;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},L={};function V(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(L[e]=i),t&&(L[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function E(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t=e.match(U),n,s;for(n=0,s=t.length;n<s;n++)L[t[n]]?t[n]=L[t[n]]:t[n]=E(t[n]);return function(n){var i="",r;for(r=0;r<s;r++)i+=x(t[r])?t[r].call(n,e):t[r];return i}}function A(e,t){return e.isValid()?(t=I(t,e.localeData()),F[t]=F[t]||G(t),F[t](e)):e.localeData().invalidDate()}function I(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,s),H.lastIndex=0,n-=1;return e}var j={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(U).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function $(){return this._invalidDate}var q="%d",B=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function X(e,t,n,s){var i=this._relativeTime[n];return x(i)?i(e,t,n,s):i.replace(/%d/i,e)}function K(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}var ee={};function te(e,t){var n=e.toLowerCase();ee[n]=ee[n+"s"]=ee[t]=e}function ne(e){return"string"==typeof e?ee[e]||ee[e.toLowerCase()]:void 0}function se(e){var t={},n,s;for(s in e)a(e,s)&&(n=ne(s))&&(t[n]=e[s]);return t}var ie={};function re(e,t){ie[e]=t}function ae(e){var t=[],n;for(n in e)a(e,n)&&t.push({unit:n,priority:ie[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function oe(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function he(e,t){return function(s){return null!=s?(ce(this,e,s),n.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ce(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&oe(e.year())&&1===e.month()&&29===e.date()?(n=le(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function fe(e){return x(this[e=ne(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n=ae(e=se(e)),s;for(s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit])}else if(x(this[e=ne(e)]))return this[e](t);return this}var _e=/\d/,ye=/\d\d/,ge=/\d{3}/,ve=/\d{4}/,we=/[+-]?\d{6}/,pe=/\d\d?/,ke=/\d\d\d\d?/,Me=/\d\d\d\d\d\d?/,De=/\d{1,3}/,Se=/\d{1,4}/,Ye=/[+-]?\d{1,6}/,Oe=/\d+/,be=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ne=/[+-]?\d+(\.\d{1,3})?/,Pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Re;function We(e,t,n){Re[e]=x(t)?t:function(e,s){return e&&n?n:t}}function Ce(e,t){return a(Re,e)?Re[e](t._strict,t._locale):new RegExp(Ue(e))}function Ue(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,s,i){return t||n||s||i})))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Re={};var Fe={};function Le(e,t){var n,s=t;
vendor: 12,592 bytes, line 172
172for("string"==typeof e&&(e=[e]),l(t)&&(s=function(e,n){n[t]=le(e)}),n=0;n<e.length;n++)Fe[e[n]]=s}function Ve(e,t){Le(e,(function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)}))}function Ee(e,t,n){null!=t&&a(Fe,e)&&Fe[e](t,n._a,n,e)}var Ge=0,Ae=1,Ie=2,je=3,Ze=4,ze=5,$e=6,qe=7,Be=8,Je;function Qe(e,t){return(e%t+t)%t}function Xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?oe(e)?29:28:31-n%7%2}Je=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),V("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),te("month","M"),re("month",8),We("M",pe),We("MM",pe,ye),We("MMM",(function(e,t){return t.monthsShortRegex(e)})),We("MMMM",(function(e,t){return t.monthsRegex(e)})),Le(["M","MM"],(function(e,t){t[1]=le(e)-1})),Le(["MMM","MMMM"],(function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[1]=i:_(n).invalidMonth=e}));var Ke="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),et="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),tt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,nt=Pe,st=Pe;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||tt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function rt(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[tt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function at(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=f([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Je.call(this._shortMonthsParse,a))?i:null:-1!==(i=Je.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Je.call(this._shortMonthsParse,a))||-1!==(i=Je.call(this._longMonthsParse,a))?i:null:-1!==(i=Je.call(this._longMonthsParse,a))||-1!==(i=Je.call(this._shortMonthsParse,a))?i:null}function ot(e,t,n){var s,i,r;if(this._monthsParseExact)return at.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=f([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}}function ut(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=le(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function lt(e){return null!=e?(ut(this,e),n.updateOffset(this,!0),this):de(this,"Month")}function ht(){return Xe(this.year(),this.month())}function dt(e){return this._monthsParseExact?(a(this,"_monthsRegex")||ft.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=nt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ct(e){return this._monthsParseExact?(a(this,"_monthsRegex")||ft.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ft(){function e(e,t){return t.length-e.length}var t=[],n=[],s=[],i,r;for(i=0;i<12;i++)r=f([2e3,i]),t.push(this.monthsShort(r,"")),n.push(this.months(r,"")),s.push(this.months(r,"")),s.push(this.monthsShort(r,""));for(t.sort(e),n.sort(e),s.sort(e),i=0;i<12;i++)t[i]=He(t[i]),n[i]=He(n[i]);for(i=0;i<24;i++)s[i]=He(s[i]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mt(e){return oe(e)?366:365}V("Y",0,0,(function(){var e=this.year();return e<=9999?C(e,4):"+"+e})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),te("year","y"),re("year",1),We("Y",be),We("YY",pe,ye),We("YYYY",Se,ve),We("YYYYY",Ye,we),We("YYYYYY",Ye,we),Le(["YYYYY","YYYYYY"],0),Le("YYYY",(function(e,t){t[0]=2===e.length?n.parseTwoDigitYear(e):le(e)})),Le("YY",(function(e,t){t[0]=n.parseTwoDigitYear(e)})),Le("Y",(function(e,t){t[0]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return le(e)+(le(e)>68?1900:2e3)};var _t=he("FullYear",!0);function yt(){return oe(this.year())}function gt(e,t,n,s,i,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function vt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var s=7+t-n,i;return-((7+vt(e,0,s).getUTCDay()-t)%7)+s-1}function pt(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+wt(e,s,i),u,l;return o<=0?l=mt(u=e-1)+o:o>mt(e)?(u=e+1,l=o-mt(e)):(u=e,l=o),{year:u,dayOfYear:l}}function kt(e,t,n){var s=wt(e.year(),t,n),i=Math.floor((e.dayOfYear()-s-1)/7)+1,r,a;return i<1?r=i+Mt(a=e.year()-1,t,n):i>Mt(e.year(),t,n)?(r=i-Mt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Mt(e,t,n){var s=wt(e,t,n),i=wt(e+1,t,n);return(mt(e)-s+i)/7}function Dt(e){return kt(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),te("week","w"),te("isoWeek","W"),re("week",5),re("isoWeek",5),We("w",pe),We("ww",pe,ye),We("W",pe),We("WW",pe,ye),Ve(["w","ww","W","WW"],(function(e,t,n,s){t[s.substr(0,1)]=le(e)}));var St={dow:0,doy:6};function Yt(){return this._week.dow}function Ot(){return this._week.doy}function bt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xt(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Tt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Nt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),V("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),V("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),te("day","d"),te("weekday","e"),te("isoWeekday","E"),re("day",11),re("weekday",11),re("isoWeekday",11),We("d",pe),We("e",pe),We("E",pe),We("dd",(function(e,t){return t.weekdaysMinRegex(e)})),We("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),We("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ve(["dd","ddd","dddd"],(function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:_(n).invalidWeekday=e})),Ve(["d","e","E"],(function(e,t,n,s){t[s]=le(e)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Wt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ut=Pe,Ht=Pe,Ft=Pe;function Lt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Vt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Et(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=f([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Je.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Je.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Je.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Je.call(this._weekdaysParse,a))||-1!==(i=Je.call(this._shortWeekdaysParse,a))||-1!==(i=Je.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Je.call(this._shortWeekdaysParse,a))||-1!==(i=Je.call(this._weekdaysParse,a))||-1!==(i=Je.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Je.call(this._minWeekdaysParse,a))||-1!==(i=Je.call(this._weekdaysParse,a))||-1!==(i=Je.call(this._shortWeekdaysParse,a))?i:null}function At(e,t,n){var s,i,r;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=f([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}}function It(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Tt(e,this.localeData()),this.add(e-t,"d")):t}function jt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Zt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Nt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Bt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Bt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){function e(e,t){return t.length-e.length}var t=[],n=[],s=[],i=[],r,a,o,u,l;for(r=0;r<7;r++)a=f([2e3,1]).day(r),o=He(this.weekdaysMin(a,"")),u=He(this.weekdaysShort(a,"")),l=He(this.weekdays(a,"")),t.push(o),n.push(u),s.push(l),i.push(o),i.push(u),i.push(l);t.sort(e),n.sort(e),s.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function Xt(e,t){V(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Kt(e,t){return t._meridiemParse}function en(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Jt),V("k",["kk",2],0,Qt),V("hmm",0,0,(function(){return""+Jt.apply(this)+C(this.minutes(),2)}
172)),V("hmmss",0,0,(function(){return""+Jt.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+C(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)})),Xt("a",!0),Xt("A",!1),te("hour","h"),re("hour",13),We("a",Kt),We("A",Kt),We("H",pe),We("h",pe),We("k",pe),We("HH",pe,ye),We("hh",pe,ye),We("kk",pe,ye),We("hmm",ke),We("hmmss",Me),We("Hmm",ke),We("Hmmss",Me),Le(["H","HH"],3),Le(["k","kk"],(function(e,t,n){var s=le(e);t[3]=24===s?0:s})),Le(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Le(["h","hh"],(function(e,t,n){t[3]=le(e),_(n).bigHour=!0})),Le("hmm",(function(e,t,n){var s=e.length-2;t[3]=le(e.substr(0,s)),t[4]=le(e.substr(s)),_(n).bigHour=!0})),Le("hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=le(e.substr(0,s)),t[4]=le(e.substr(s,2)),t[5]=le(e.substr(i)),_(n).bigHour=!0})),Le("Hmm",(function(e,t,n){var s=e.length-2;t[3]=le(e.substr(0,s)),t[4]=le(e.substr(s))})),Le("Hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=le(e.substr(0,s)),t[4]=le(e.substr(s,2)),t[5]=le(e.substr(i))}));var tn=/[ap]\.?m?\.?/i,nn=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var rn={calendar:R,longDateFormat:j,invalidDate:z,ordinal:q,dayOfMonthOrdinalParse:B,relativeTime:Q,months:Ke,monthsShort:et,week:St,weekdays:Rt,weekdaysMin:Ct,weekdaysShort:Wt,meridiemParse:tn},an={},on={},un;function ln(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n<s;n+=1)if(e[n]!==t[n])return n;return s}function hn(e){return e?e.toLowerCase().replace("_","-"):e}function dn(e){for(var t=0,n,s,i,r;t<e.length;){for(n=(r=hn(e[t]).split("-")).length,s=(s=hn(e[t+1]))?s.split("-"):null;n>0;){if(i=cn(r.slice(0,n).join("-")))return i;if(s&&s.length>=n&&ln(r,s)>=n-1)break;n--}t++}return un}function cn(e){var t=null,n;if(void 0===an[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=un._abbr,(n=require)("./locale/"+e),fn(t)}catch(s){an[e]=null}return an[e]}function fn(e,t){var n;return e&&((n=u(t)?yn(e):mn(e,t))?un=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),un._abbr}function mn(e,t){if(null!==t){var n,s=rn;if(t.abbr=e,null!=an[e])b("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=an[e]._config;else if(null!=t.parentLocale)if(null!=an[t.parentLocale])s=an[t.parentLocale]._config;else{if(null==(n=cn(t.parentLocale)))return on[t.parentLocale]||(on[t.parentLocale]=[]),on[t.parentLocale].push({name:e,config:t}),null;s=n._config}return an[e]=new P(N(s,t)),on[e]&&on[e].forEach((function(e){mn(e.name,e.config)})),fn(e),an[e]}return delete an[e],null}function _n(e,t){if(null!=t){var n,s,i=rn;null!=an[e]&&null!=an[e].parentLocale?an[e].set(N(an[e]._config,t)):(null!=(s=cn(e))&&(i=s._config),t=N(i,t),null==s&&(t.abbr=e),(n=new P(t)).parentLocale=an[e],an[e]=n),fn(e)}else null!=an[e]&&(null!=an[e].parentLocale?(an[e]=an[e].parentLocale,e===fn()&&fn(e)):null!=an[e]&&delete an[e]);return an[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return un;if(!i(e)){if(t=cn(e))return t;e=[e]}return dn(e)}function gn(){return O(an)}function vn(e){var t,n=e._a;return n&&-2===_(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Xe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,_(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),_(e)._overflowWeeks&&-1===t&&(t=7),_(e)._overflowWeekday&&-1===t&&(t=8),_(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Dn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sn=/^\/?Date\((-?\d+)/i,Yn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bn(e){var t,n,s=e._i,i=wn.exec(s)||pn.exec(s),r,a,o,u;if(i){for(_(e).iso=!0,t=0,n=Mn.length;t<n;t++)if(Mn[t][1].exec(i[1])){a=Mn[t][0],r=!1!==Mn[t][2];break}if(null==a)return void(e._isValid=!1);if(i[3]){for(t=0,n=Dn.length;t<n;t++)if(Dn[t][1].exec(i[3])){o=(i[2]||" ")+Dn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(i[4]){if(!kn.exec(i[4]))return void(e._isValid=!1);u="Z"}e._f=a+(o||"")+(u||""),Vn(e)}else e._isValid=!1}function xn(e,t,n,s,i,r){var a=[Tn(e),et.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function Tn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Nn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){var s,i;if(e&&Wt.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return _(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}function Rn(e,t,n){if(e)return On[e];if(t)return 0;var s=parseInt(n,10),i=s%100,r;return 60*((s-i)/100)+i}function Wn(e){var t=Yn.exec(Nn(e._i)),n;if(t){if(n=xn(t[4],t[3],t[2],t[5],t[6],t[7]),!Pn(t[1],n,e))return;e._a=n,e._tzm=Rn(t[8],t[9],t[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function Cn(e){var t=Sn.exec(e._i);
172null===t?(bn(e),!1===e._isValid&&(delete e._isValid,Wn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Un(e,t,n){return null!=e?e:null!=t?t:n}function Hn(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fn(e){var t,n,s=[],i,r,a;if(!e._d){for(i=Hn(e),e._w&&null==e._a[2]&&null==e._a[1]&&Ln(e),null!=e._dayOfYear&&(a=Un(e._a[0],i[0]),(e._dayOfYear>mt(a)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),n=vt(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?vt:gt).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==r&&(_(e).weekdayMismatch=!0)}}function Ln(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=Un(t.GG,e._a[0],kt($n(),1,4).year),s=Un(t.W,1),((i=Un(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=kt($n(),r,a),n=Un(t.gg,e._a[0],l.year),s=Un(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r),s<1||s>Mt(n,r,a)?_(e)._overflowWeeks=!0:null!=u?_(e)._overflowWeekday=!0:(o=pt(n,s,i,r,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}function Vn(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],_(e).empty=!0;var t=""+e._i,s,i,r,a,o,u=t.length,l=0,h;for(r=I(e._f,e._locale).match(U)||[],s=0;s<r.length;s++)a=r[s],(i=(t.match(Ce(a,e))||[])[0])&&((o=t.substr(0,t.indexOf(i))).length>0&&_(e).unusedInput.push(o),t=t.slice(t.indexOf(i)+i.length),l+=i.length),L[a]?(i?_(e).empty=!1:_(e).unusedTokens.push(a),Ee(a,i,e)):e._strict&&!i&&_(e).unusedTokens.push(a);_(e).charsLeftOver=u-l,t.length>0&&_(e).unusedInput.push(t),e._a[3]<=12&&!0===_(e).bigHour&&e._a[3]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[3]=En(e._locale,e._a[3],e._meridiem),null!==(h=_(e).era)&&(e._a[0]=e._locale.erasConvertYear(h,e._a[0])),Fn(e),vn(e)}else Wn(e);else bn(e)}function En(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}function Gn(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return _(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)r=0,a=!1,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Vn(t),y(t)&&(a=!0),r+=_(t).charsLeftOver,r+=10*_(t).unusedTokens.length,_(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));c(e,n||t)}function An(e){if(!e._d){var t=se(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Fn(e)}}function In(e){var t=new k(vn(jn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function jn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),M(t)?new k(vn(t)):(h(t)?e._d=t:i(n)?Gn(e):n?Vn(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;u(t)?e._d=new Date(n.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Cn(e):i(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Fn(e)):r(t)?An(e):l(t)?e._d=new Date(t):n.createFromInputFallback(e)}function zn(e,t,n,s,a){var u={};return!0!==t&&!1!==t||(s=t,t=void 0),!0!==n&&!1!==n||(s=n,n=void 0),(r(e)&&o(e)||i(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=s,In(u)}function $n(e,t,n,s){return zn(e,t,n,s,!1)}n.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var qn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()})),Bn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}));function Jn(e,t){var n,s;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function Qn(){var e=[].slice.call(arguments,0);return Jn("isBefore",e)}function Xn(){var e=[].slice.call(arguments,0);return Jn("isAfter",e)}var Kn=function(){return Date.now?Date.now():+new Date},es=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ts(e){var t,n=!1,s;for(t in e)if(a(e,t)&&(-1===Je.call(es,t)||null!=e[t]&&isNaN(e[t])))return!1;for(s=0;s<es.length;++s)if(e[es[s]]){if(n)return!1;
vendor: 15,144 bytes, line 172
172parseFloat(e[es[s]])!==le(e[es[s]])&&(n=!0)}return!0}function ns(){return this._isValid}function ss(){return Os(NaN)}function is(e){var t=se(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,h=t.millisecond||0;this._isValid=ts(t),this._milliseconds=+h+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=yn(),this._bubble()}function rs(e){return e instanceof is}function as(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function os(e,t,n){var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a;for(a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&le(e[a])!==le(t[a]))&&r++;return r+i}function us(e,t){V(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+C(~~(e/60),2)+t+C(~~e%60,2)}))}us("Z",":"),us("ZZ",""),We("Z",Te),We("ZZ",Te),Le(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=hs(Te,e)}));var ls=/([\+\-]|\d\d)/gi;function hs(e,t){var n=(t||"").match(e),s,i,r;return null===n?null:0===(r=60*(i=((s=n[n.length-1]||[])+"").match(ls)||["-",0,0])[1]+le(i[2]))?0:"+"===i[0]?r:-r}function ds(e,t){var s,i;return t._isUTC?(s=t.clone(),i=(M(e)||h(e)?e.valueOf():$n(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),n.updateOffset(s,!1),s):$n(e).local()}function cs(e){return-Math.round(e._d.getTimezoneOffset())}function fs(e,t,s){var i=this._offset||0,r;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=hs(Te,e)))return this}else Math.abs(e)<16&&!s&&(e*=60);return!this._isUTC&&t&&(r=cs(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Ps(this,Os(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:cs(this)}function ms(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function _s(e){return this.utcOffset(0,e)}function ys(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(cs(this),"m")),this}function gs(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=hs(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function vs(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function ws(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ps(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e={},t;return p(e,this),(e=jn(e))._a?(t=e._isUTC?f(e._a):$n(e._a),this._isDSTShifted=this.isValid()&&os(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ks(){return!!this.isValid()&&!this._isUTC}function Ms(){return!!this.isValid()&&this._isUTC}function Ds(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var Ss=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ys=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Os(e,t){var n=e,s=null,i,r,o;return rs(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(s=Ss.exec(e))?(i="-"===s[1]?-1:1,n={y:0,d:le(s[2])*i,h:le(s[3])*i,m:le(s[4])*i,s:le(s[5])*i,ms:le(as(1e3*s[6]))*i}):(s=Ys.exec(e))?(i="-"===s[1]?-1:1,n={y:bs(s[2],i),M:bs(s[3],i),w:bs(s[4],i),d:bs(s[5],i),h:bs(s[6],i),m:bs(s[7],i),s:bs(s[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(o=Ts($n(n.from),$n(n.to)),(n={}).ms=o.milliseconds,n.M=o.months),r=new is(n),rs(e)&&a(e,"_locale")&&(r._locale=e._locale),rs(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function bs(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function xs(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ts(e,t){var n;return e.isValid()&&t.isValid()?(t=ds(t,e),e.isBefore(t)?n=xs(e,t):((n=xs(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ns(e,t){return function(n,s){var i,r;return null===s||isNaN(+s)||(b(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),Ps(this,i=Os(n,s),e),this}}function Ps(e,t,s,i){var r=t._milliseconds,a=as(t._days),o=as(t._months);e.isValid()&&(i=null==i||i,o&&ut(e,de(e,"Month")+o*s),a&&ce(e,"Date",de(e,"Date")+a*s),r&&e._d.setTime(e._d.valueOf()+r*s),i&&n.updateOffset(e,a||o))}Os.fn=is.prototype,Os.invalid=ss;var Rs=Ns(1,"add"),Ws=Ns(-1,"subtract");function Cs(e){return"string"==typeof e||e instanceof String}function Us(e){return M(e)||h(e)||Cs(e)||l(e)||Fs(e)||Hs(e)||null==e}function Hs(e){var t=r(e)&&!o(e),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,u;for(i=0;i<s.length;i+=1)n=n||a(e,u=s[i]);return t&&n}function Fs(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&Cs(e)})).length),t&&n}function Ls(e){var t=r(e)&&!o(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,u;for(i=0;i<s.length;i+=1)n=n||a(e,u=s[i]);return t&&n}function Vs(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Es(e,t){1===arguments.length&&(arguments[0]?Us(arguments[0])?(e=arguments[0],t=void 0):Ls(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||$n(),i=ds(s,this).startOf("day"),r=n.calendarFormat(this,i)||"sameElse",a=t&&(x(t[r])?t[r].call(this,s):t[r]);return this.format(a||this.localeData().calendar(r,this,$n(s)))}function Gs(){return new k(this)}function As(e,t){var n=M(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Is(e,t){var n=M(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function js(e,t,n,s){var i=M(e)?e:$n(e),r=M(t)?t:$n(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&(("("===(s=s||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n)))}function Zs(e,t){var n=M(e)?e:$n(e),s;return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf()))}function zs(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $s(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qs(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=ds(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=ne(t)){case"year":r=Bs(this,s)/12;break;case"month":r=Bs(this,s);break;case"quarter":r=Bs(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:ue(r)}function Bs(e,t){if(e.date()<t.date())return-Bs(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),i,r;return-(n+(r=t-s<0?(t-s)/(s-(i=e.clone().add(n-1,"months"))):(t-s)/((i=e.clone().add(n+1,"months"))-s)))||0}function Js(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Qs(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?A(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(n,"Z")):A(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Xs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,s,i,r;return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",r=t+'[")]',this.format(n+s+i+r)}function Ks(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=A(this,e);return this.localeData().postformat(t)}function ei(e,t){return this.isValid()&&(M(e)&&e.isValid()||$n(e).isValid())?Os({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ti(e){return this.from($n(),e)}function ni(e,t){return this.isValid()&&(M(e)&&e.isValid()||$n(e).isValid())?Os({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to($n(),e)}function ii(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ri=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ai(){return this._locale}var oi=1e3,ui=6e4,li=36e5,hi=126227808e5;function di(e,t){return(e%t+t)%t}function ci(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-hi:new Date(e,t,n).valueOf()}function fi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-hi:Date.UTC(e,t,n)}function mi(e){var t,s;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?fi:ci,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=di(t+(this._isUTC?0:this.utcOffset()*ui),li);break;case"minute":t=this._d.valueOf(),t-=di(t,ui);break;case"second":t=this._d.valueOf(),t-=di(t,oi)}return this._d.setTime(t),n.updateOffset(this,!0),this}function _i(e){var t,s;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?fi:ci,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=li-di(t+(this._isUTC?0:this.utcOffset()*ui),li)-1;break;case"minute":t=this._d.valueOf(),t+=ui-di(t,ui)-1;break;case"second":t=this._d.valueOf(),t+=oi-di(t,oi)-1}return this._d.setTime(t),n.updateOffset(this,!0),this}function yi(){return this._d.valueOf()-6e4*(this._offset||0)}function gi(){return Math.floor(this.valueOf()/1e3)}function vi(){return new Date(this.valueOf())}function wi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function pi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ki(){return this.isValid()?this.toISOString():null}function Mi(){return y(this)}function Di(){return c({},_(this))}function Si(){return _(this).overflow}function Yi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oi(e,t){var s,i,r,a=this._eras||yn("en")._eras;for(s=0,i=a.length;s<i;++s){if("string"==typeof a[s].since)r=n(a[s].since).startOf("day"),a[s].since=r.valueOf();switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":r=n(a[s].until).startOf("day").valueOf(),a[s].until=r.valueOf()}}return a}function bi(e,t,n){var s,i,r=this.eras(),a,o,u;for(e=e.toUpperCase(),s=0,i=r.length;s<i;++s)if(a=r[s].name.toUpperCase(),o=r[s].abbr.toUpperCase(),u=r[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return r[s];break;case"NNNN":if(a===e)return r[s];break;case"NNNNN":if(u===e)return r[s]}else if([a,o,u].indexOf(e)>=0)return r[s]}function xi(e,t){var s=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*s}function Ti(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].name;if(s[e].until<=n&&n<=s[e].since)return s[e].name}return""}function Ni(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].narrow;if(s[e].until<=n&&n<=s[e].since)return s[e].narrow}return""}function Pi(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].abbr;if(s[e].until<=n&&n<=s[e].since)return s[e].abbr}return""}function Ri(){var e,t,s,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=r[e].since<=r[e].until?1:-1,i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return(this.year()-n(r[e].since).year())*s+r[e].offset;return this.year()}function Wi(e){return a(this,"_erasNameRegex")||Ei.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Ei.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ui(e){return a(this,"_erasNarrowRegex")||Ei.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hi(e,t){return t.erasAbbrRegex(e)}function Fi(e,t){return t.erasNameRegex(e)}function Li(e,t){return t.erasNarrowRegex(e)}function Vi(e,t){return t._eraYearOrdinalRegex||Oe}function Ei(){var e=[],t=[],n=[],s=[],i,r,a=this.eras();for(i=0,r=a.length;i<r;++i)t.push(He(a[i].name)),e.push(He(a[i].abbr)),n.push(He(a[i].narrow)),s.push(He(a[i].name)),s.push(He(a[i].abbr)),s.push(He(a[i].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function Gi(e,t){V(0,[e,e.length],0,t)}function Ai(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ii(e){return qi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ji(){return Mt(this.year(),1,4)}function Zi(){return Mt(this.isoWeekYear(),1,4)}function zi(){var e=this.localeData()._week;return Mt(this.year(),e.dow,e.doy)}function $i(){var e=this.localeData()._week;return Mt(this.weekYear(),e.dow,e.doy)}function qi(e,t,n,s,i){var r;return null==e?kt(this,s,i).year:(t>
172(r=Mt(e,s,i))&&(t=r),Bi.call(this,e,t,n,s,i))}function Bi(e,t,n,s,i){var r=pt(e,t,n,s,i),a=vt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ji(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),We("N",Hi),We("NN",Hi),We("NNN",Hi),We("NNNN",Fi),We("NNNNN",Li),Le(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?_(n).era=i:_(n).invalidEra=e})),We("y",Oe),We("yy",Oe),We("yyy",Oe),We("yyyy",Oe),We("yo",Vi),Le(["y","yy","yyy","yyyy"],0),Le(["yo"],(function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)})),V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Gi("gggg","weekYear"),Gi("ggggg","weekYear"),Gi("GGGG","isoWeekYear"),Gi("GGGGG","isoWeekYear"),te("weekYear","gg"),te("isoWeekYear","GG"),re("weekYear",1),re("isoWeekYear",1),We("G",be),We("g",be),We("GG",pe,ye),We("gg",pe,ye),We("GGGG",Se,ve),We("gggg",Se,ve),We("GGGGG",Ye,we),We("ggggg",Ye,we),Ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,s){t[s.substr(0,2)]=le(e)})),Ve(["gg","GG"],(function(e,t,s,i){t[i]=n.parseTwoDigitYear(e)})),V("Q",0,"Qo","quarter"),te("quarter","Q"),re("quarter",7),We("Q",_e),Le("Q",(function(e,t){t[1]=3*(le(e)-1)})),V("D",["DD",2],"Do","date"),te("date","D"),re("date",9),We("D",pe),We("DD",pe,ye),We("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Le(["D","DD"],2),Le("Do",(function(e,t){t[2]=le(e.match(pe)[0])}));var Qi=he("Date",!0);function Xi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),te("dayOfYear","DDD"),re("dayOfYear",4),We("DDD",De),We("DDDD",ge),Le(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=le(e)})),V("m",["mm",2],0,"minute"),te("minute","m"),re("minute",14),We("m",pe),We("mm",pe,ye),Le(["m","mm"],4);var Ki=he("Minutes",!1);V("s",["ss",2],0,"second"),te("second","s"),re("second",15),We("s",pe),We("ss",pe,ye),Le(["s","ss"],5);var er=he("Seconds",!1),tr,nr;for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),te("millisecond","ms"),re("millisecond",16),We("S",De,_e),We("SS",De,ye),We("SSS",De,ge),tr="SSSS";tr.length<=9;tr+="S")We(tr,Oe);function sr(e,t){t[6]=le(1e3*("0."+e))}for(tr="S";tr.length<=9;tr+="S")Le(tr,sr);function ir(){return this._isUTC?"UTC":""}function rr(){return this._isUTC?"Coordinated Universal Time":""}nr=he("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ar=k.prototype;function or(e){return $n(1e3*e)}function ur(){return $n.apply(null,arguments).parseZone()}function lr(e){return e}ar.add=Rs,ar.calendar=Es,ar.clone=Gs,ar.diff=qs,ar.endOf=_i,ar.format=Ks,ar.from=ei,ar.fromNow=ti,ar.to=ni,ar.toNow=si,ar.get=fe,ar.invalidAt=Si,ar.isAfter=As,ar.isBefore=Is,ar.isBetween=js,ar.isSame=Zs,ar.isSameOrAfter=zs,ar.isSameOrBefore=$s,ar.isValid=Mi,ar.lang=ri,ar.locale=ii,ar.localeData=ai,ar.max=Bn,ar.min=qn,ar.parsingFlags=Di,ar.set=me,ar.startOf=mi,ar.subtract=Ws,ar.toArray=wi,ar.toObject=pi,ar.toDate=vi,ar.toISOString=Qs,ar.inspect=Xs,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ar[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ar.toJSON=ki,ar.toString=Js,ar.unix=gi,ar.valueOf=yi,ar.creationData=Yi,ar.eraName=Ti,ar.eraNarrow=Ni,ar.eraAbbr=Pi,ar.eraYear=Ri,ar.year=_t,ar.isLeapYear=yt,ar.weekYear=Ai,ar.isoWeekYear=Ii,ar.quarter=ar.quarters=Ji,ar.month=lt,ar.daysInMonth=ht,ar.week=ar.weeks=bt,ar.isoWeek=ar.isoWeeks=xt,ar.weeksInYear=zi,ar.weeksInWeekYear=$i,ar.isoWeeksInYear=ji,ar.isoWeeksInISOWeekYear=Zi,ar.date=Qi,ar.day=ar.days=It,ar.weekday=jt,ar.isoWeekday=Zt,ar.dayOfYear=Xi,ar.hour=ar.hours=nn,ar.minute=ar.minutes=Ki,ar.second=ar.seconds=er,ar.millisecond=ar.milliseconds=nr,ar.utcOffset=fs,ar.utc=_s,ar.local=ys,ar.parseZone=gs,ar.hasAlignedHourOffset=vs,ar.isDST=ws,ar.isLocal=ks,ar.isUtcOffset=Ms,ar.isUtc=Ds,ar.isUTC=Ds,ar.zoneAbbr=ir,ar.zoneName=rr,ar.dates=S("dates accessor is deprecated. Use date instead.",Qi),ar.months=S("months accessor is deprecated. Use month instead",lt),ar.years=S("years accessor is deprecated. Use year instead",_t),ar.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ms),ar.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ps);var hr=P.prototype;function dr(e,t,n,s){var i=yn(),r=f().set(s,t);return i[n](r,e)}function cr(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=dr(e,s,n,"month");return i}function fr(e,t,n,s){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i=yn(),r=e?i._week.dow:0,a,o=[];if(null!=n)return dr(t,(n+r)%7,s,"day");for(a=0;a<7;a++)o[a]=dr(t,(a+r)%7,s,"day");return o}function mr(e,t){return cr(e,t,"months")}function _r(e,t){return cr(e,t,"monthsShort")}function yr(e,t,n){return fr(e,t,n,"weekdays")}function gr(e,t,n){return fr(e,t,n,"weekdaysShort")}function vr(e,t,n){return fr(e,t,n,"weekdaysMin")}
vendor: 4,097 bytes, line 172
172hr.calendar=W,hr.longDateFormat=Z,hr.invalidDate=$,hr.ordinal=J,hr.preparse=lr,hr.postformat=lr,hr.relativeTime=X,hr.pastFuture=K,hr.set=T,hr.eras=Oi,hr.erasParse=bi,hr.erasConvertYear=xi,hr.erasAbbrRegex=Ci,hr.erasNameRegex=Wi,hr.erasNarrowRegex=Ui,hr.months=it,hr.monthsShort=rt,hr.monthsParse=ot,hr.monthsRegex=ct,hr.monthsShortRegex=dt,hr.week=Dt,hr.firstDayOfYear=Ot,hr.firstDayOfWeek=Yt,hr.weekdays=Lt,hr.weekdaysMin=Et,hr.weekdaysShort=Vt,hr.weekdaysParse=At,hr.weekdaysRegex=zt,hr.weekdaysShortRegex=$t,hr.weekdaysMinRegex=qt,hr.isPM=en,hr.meridiem=sn,fn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n;return e+(1===le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",fn),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",yn);var wr=Math.abs;function pr(){var e=this._data;return this._milliseconds=wr(this._milliseconds),this._days=wr(this._days),this._months=wr(this._months),e.milliseconds=wr(e.milliseconds),e.seconds=wr(e.seconds),e.minutes=wr(e.minutes),e.hours=wr(e.hours),e.months=wr(e.months),e.years=wr(e.years),this}function kr(e,t,n,s){var i=Os(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Mr(e,t){return kr(this,e,t,1)}function Dr(e,t){return kr(this,e,t,-1)}function Sr(e){return e<0?Math.floor(e):Math.ceil(e)}function Yr(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data,i,r,a,o,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=864e5*Sr(br(n)+t),t=0,n=0),s.milliseconds=e%1e3,i=ue(e/1e3),s.seconds=i%60,r=ue(i/60),s.minutes=r%60,a=ue(r/60),s.hours=a%24,t+=ue(a/24),n+=u=ue(Or(t)),t-=Sr(br(u)),o=ue(n/12),n%=12,s.days=t,s.months=n,s.years=o,this}function Or(e){return 4800*e/146097}function br(e){return 146097*e/4800}function xr(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Or(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(br(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function Tr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*le(this._months/12):NaN}function Nr(e){return function(){return this.as(e)}}var Pr=Nr("ms"),Rr=Nr("s"),Wr=Nr("m"),Cr=Nr("h"),Ur=Nr("d"),Hr=Nr("w"),Fr=Nr("M"),Lr=Nr("Q"),Vr=Nr("y");function Er(){return Os(this)}function Gr(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Ar(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ir=Ar("milliseconds"),jr=Ar("seconds"),Zr=Ar("minutes"),zr=Ar("hours"),$r=Ar("days"),qr=Ar("months"),Br=Ar("years");function Jr(){return ue(this.days()/7)}var Qr=Math.round,Xr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Kr(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function ea(e,t,n,s){var i=Os(e).abs(),r=Qr(i.as("s")),a=Qr(i.as("m")),o=Qr(i.as("h")),u=Qr(i.as("d")),l=Qr(i.as("M")),h=Qr(i.as("w")),d=Qr(i.as("y")),c=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(c=c||h<=1&&["w"]||h<n.w&&["ww",h]),(c=c||l<=1&&["M"]||l<n.M&&["MM",l]||d<=1&&["y"]||["yy",d])[2]=t,c[3]=+e>0,c[4]=s,Kr.apply(null,c)}function ta(e){return void 0===e?Qr:"function"==typeof e&&(Qr=e,!0)}function na(e,t){return void 0!==Xr[e]&&(void 0===t?Xr[e]:(Xr[e]=t,"s"===e&&(Xr.ss=t-1),!0))}function sa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=Xr,i,r;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(s=Object.assign({}
172,Xr,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),r=ea(this,!n,s,i=this.localeData()),n&&(r=i.pastFuture(+this,r)),i.postformat(r)}var ia=Math.abs;function ra(e){return(e>0)-(e<0)||+e}function aa(){if(!this.isValid())return this.localeData().invalidDate();var e=ia(this._milliseconds)/1e3,t=ia(this._days),n=ia(this._months),s,i,r,a,o=this.asSeconds(),u,l,h,d;return o?(s=ue(e/60),i=ue(s/60),e%=60,s%=60,r=ue(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=o<0?"-":"",l=ra(this._months)!==ra(o)?"-":"",h=ra(this._days)!==ra(o)?"-":"",d=ra(this._milliseconds)!==ra(o)?"-":"",u+"P"+(r?l+r+"Y":"")+(n?l+n+"M":"")+(t?h+t+"D":"")+(i||s||e?"T":"")+(i?d+i+"H":"")+(s?d+s+"M":"")+(e?d+a+"S":"")):"P0D"}var oa=is.prototype;return oa.isValid=ns,oa.abs=pr,oa.add=Mr,oa.subtract=Dr,oa.as=xr,oa.asMilliseconds=Pr,oa.asSeconds=Rr,oa.asMinutes=Wr,oa.asHours=Cr,oa.asDays=Ur,oa.asWeeks=Hr,oa.asMonths=Fr,oa.asQuarters=Lr,oa.asYears=Vr,oa.valueOf=Tr,oa._bubble=Yr,oa.clone=Er,oa.get=Gr,oa.milliseconds=Ir,oa.seconds=jr,oa.minutes=Zr,oa.hours=zr,oa.days=$r,oa.weeks=Jr,oa.months=qr,oa.years=Br,oa.humanize=sa,oa.toISOString=aa,oa.toString=aa,oa.toJSON=aa,oa.locale=ii,oa.localeData=ai,oa.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",aa),oa.lang=ri,V("X",0,0,"unix"),V("x",0,0,"valueOf"),We("x",be),We("X",Ne),Le("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Le("x",(function(e,t,n){n._d=new Date(le(e))})), 173//! moment.js 174n.version="2.29.1",s($n),n.fn=ar,n.min=Qn,n.max=Xn,n.now=Kn,n.utc=f,n.unix=or,n.months=mr,n.isDate=h,n.locale=fn,n.invalid=g,n.duration=Os,n.isMoment=M,n.weekdays=yr,n.parseZone=ur,n.localeData=yn,n.isDuration=rs,n.monthsShort=_r,n.weekdaysMin=vr,n.defineLocale=mn,n.updateLocale=_n,n.locales=gn,n.weekdaysShort=gr,n.normalizeUnits=ne,n.relativeTimeRounding=ta,n.relativeTimeThreshold=na,n.calendarFormat=Vs,n.prototype=ar,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}))}).call(this),function(){s=this.moment;try{delete this.moment}catch(e){}}.call(this),Package._define("momentjs:moment",{moment:s})}(); 175 176!function(){var i=Package.meteor.Meteor,e=Package.meteor.global,s=Package.meteor.meteorEnv,t=Package.underscore._,r=Package["templating-runtime"].Template,n=Package.blaze.Blaze,a=Package.blaze.UI,u=Package.blaze.Handlebars,l=Package.spacebars.Spacebars,h=Package.htmljs.HTML;(function(){(function(){this._=t,i.isClient&&(r.registerHelper("pluralize",(function(i,e,s){return t.pluralize(i,e,s)})),r.registerHelper("singularize",(function(i){return t.singularize(i)})),r.registerHelper("ordinalize",(function(i){return t.ordinalize(i)})),r.registerHelper("titleize",(function(i){return t.titleize(i)})))}).call(this),function(){var i,e;i=this,e=function(i,e){var s=[],t=[],r=[],n={gsub:function(i,e,s){var t=new RegExp(e.source||e,"gi");return t.test(i)?i.replace(t,s):null},plural:function(i,e){s.unshift([i,e])},pluralize:function(t,n,a){var u;if(n!==e)n=parseFloat(n),u=1===n?this.singularize(t):this.pluralize(t),u=a?[n,u].join(" "):u;else{if(i(r).include(t))return t;u=t,i(s).detect((function(i){var e=this.gsub(t,i[0],i[1]);return!!e&&(u=e)}),this)}return u},singular:function(i,e){t.unshift([i,e])},singularize:function(e){if(i(r).include(e))return e;var s=e;return i(t).detect((function(i){var t=this.gsub(e,i[0],i[1]);return!!t&&(s=t)}),this),s},irregular:function(i,e){this.plural("\\b"+i+"\\b",e),this.singular("\\b"+e+"\\b",i)},uncountable:function(i){r.unshift(i)},ordinalize:function(i){if(isNaN(i))return i;var e=(i=i.toString()).slice(-1),s=i.slice(-2);if("11"===s||"12"===s||"13"===s)return i+"th";switch(e){case"1":return i+"st";case"2":return i+"nd";case"3":return i+"rd";default:return i+"th"}},titleize:function(i){return"string"!=typeof i?i:i.replace(/\S+/g,(function(i){return i.charAt(0).toUpperCase()+i.slice(1)}))},resetInflections:function(){return s=[],t=[],r=[],this.plural(/$/,"s"),this.plural(/s$/,"s"),this.plural(/(ax|test)is$/,"$1es"),this.plural(/(octop|vir)us$/,"$1i"),this.plural(/(octop|vir)i$/,"$1i"),this.plural(/(alias|status)$/,"$1es"),this.plural(/(bu)s$/,"$1ses"),this.plural(/(buffal|tomat)o$/,"$1oes"),this.plural(/([ti])um$/,"$1a"),this.plural(/([ti])a$/,"$1a"),this.plural(/sis$/,"ses"),this.plural(/(?:([^f])fe|([lr])?f)$/,"$1$2ves"),this.plural(/(hive)$/,"$1s"),this.plural(/([^aeiouy]|qu)y$/,"$1ies"),this.plural(/(x|ch|ss|sh)$/,"$1es"),this.plural(/(matr|vert|ind)(?:ix|ex)$/,"$1ices"),this.plural(/([m|l])ouse$/,"$1ice"),this.plural(/([m|l])ice$/,"$1ice"),this.plural(/^(ox)$/,"$1en"),this.plural(/^(oxen)$/,"$1"),this.plural(/(quiz)$/,"$1zes"),this.singular(/s$/,""),this.singular(/(n)ews$/,"$1ews"),this.singular(/([ti])a$/,"$1um"),this.singular(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/,"$1$2sis"),this.singular(/(^analy)ses$/,"$1sis"),this.singular(/([^f])ves$/,"$1fe"),this.singular(/(hive)s$/,"$1"),this.singular(/(tive)s$/,"$1"),this.singular(/([lr])ves$/,"$1f"),this.singular(/([^aeiouy]|qu)ies$/,"$1y"),this.singular(/(s)eries$/,"$1eries"),this.singular(/(m)ovies$/,"$1ovie"),this.singular(/(x|ch|ss|sh)es$/,"$1"),this.singular(/([m|l])ice$/,"$1ouse"),this.singular(/(bus)es$/,"$1"),this.singular(/(o)es$/,"$1"),this.singular(/(shoe)s$/,"$1"),this.singular(/(cris|ax|test)es$/,"$1is"),this.singular(/(octop|vir)i$/,"$1us"),this.singular(/(alias|status)es$/,"$1"),this.singular(/^(ox)en/,"$1"),this.singular(/(vert|ind)ices$/,"$1ex"),this.singular(/(matr)ices$/,"$1ix"),this.singular(/(quiz)zes$/,"$1"),this.singular(/(database)s$/,"$1"),this.irregular("person","people"),this.irregular("man","men"),this.irregular("child","children"),this.irregular("sex","sexes"),this.irregular("move","moves"),this.irregular("cow","kine"),this.uncountable("equipment"),this.uncountable("information"),this.uncountable("rice"),this.uncountable("money"),this.uncountable("species"),this.uncountable("series"),this.uncountable("fish"),this.uncountable("sheep"),this.uncountable("jeans"),this}};return i.mixin(n.resetInflections()),n},"function"==typeof define&&define.amd?define(["underscore"],e):"object"==typeof exports?module.exports=e(require("underscore")):e(i._)}.call(this)}).call(this),Package._define("bojicas:inflections")}(); 177 178Package._define("coffeescript"); 179 180!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.underscore._,i;(function(){(function(){var e=function(e,t){var n=this;if(n._eventEmitter.maxListeners&&t>n._eventEmitter.maxListeners)return"warning: possible EventEmitter memory leak detected. "+t+' listeners added on event "'+e+'". Use emitter.setMaxListeners() to increase limit. ('+n._eventEmitter.maxListeners+")"};(i=function(e){var t=this;if(!(t instanceof i))throw new Error('use "new" to construct an EventEmitter');e=e||{},t._eventEmitter={onListeners:{},onceListeners:{},maxListeners:e.maxListeners||10}}).prototype.setMaxListeners=function(e){this._eventEmitter.maxListeners=e};var t=function(t,n,r){return"undefined"==typeof t[n]&&(t[n]=[]),e.apply(this,[n,t[n].push(r)])};i.prototype.on=function(e,n){var r=t.apply(this,[this._eventEmitter.onListeners,e,n]);return r&&console.warn(new Error(r).stack),this},i.prototype.once=function(e,n){var r=t.apply(this,[this._eventEmitter.onceListeners,e,n]);return r&&console.warn(new Error(r).stack),this};var n=function(e,t){var n=this,i=0;return"undefined"!=typeof e&&r.each(e,(function(e){i++,e.apply(n,t)})),i};i.prototype.emit=function(e){var t=this,i=r.rest(arguments),o=0,s=t._eventEmitter.onceListeners[e];return t._eventEmitter.onceListeners[e]=[],o+=n.call(t,t._eventEmitter.onListeners[e],i),(o+=n.call(t,s,i))>0};var o=function(e,t){for(var n=!1,r=[],i=0;i<e.length;i++)n||e[i]!==t?r.push(e[i]):n=!0;return r};i.prototype.off=function(e,t){var n=this;e?"function"==typeof t?("undefined"!=typeof n._eventEmitter.onListeners[e]&&(n._eventEmitter.onListeners[e]=o(n._eventEmitter.onListeners[e],t)),"undefined"!=typeof n._eventEmitter.onceListeners[e]&&(n._eventEmitter.onceListeners[e]=o(n._eventEmitter.onceListeners[e],t))):(n._eventEmitter.onListeners[e]=[],n._eventEmitter.onceListeners[e]=[]):(n._eventEmitter.onListeners={},n._eventEmitter.onceListeners={})},i.prototype.addListener=i.prototype.on,i.prototype.removeListener=i.prototype.off,i.prototype.removeAllListeners=i.prototype.off,i.prototype.one=i.prototype.once,i.prototype.trigger=i.prototype.emit}).call(this)}).call(this),Package._define("raix:eventemitter",{EventEmitter:i})}(); 181 182!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,r;(function(){(function(){r={},"function"==typeof Object.create?r.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:r.inherits=function(e,t){e.super_=t;var o=function(){};o.prototype=t.prototype,e.prototype=new o,e.prototype.constructor=e}}).call(this)}).call(this),Package._define("meteorspark:util",{Util:r})}(); 183 184!function(){var e=Package.underscore._,n=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,a=Package["raix:eventemitter"].EventEmitter,u=Package["meteorspark:util"].Util,s=Package.tracker.Tracker,o=Package.tracker.Deps,i=Package.session.Session,l=Package.jquery.$,c=Package.jquery.jQuery,f=Package["templating-runtime"].Template,p=Package.blaze.Blaze,m=Package.blaze.UI,g=Package.blaze.Handlebars,d=Package.spacebars.Spacebars,b=Package.htmljs.HTML,h,v,_,y;(function(){h={fallback_language:"en",langauges_tags_regex:"([a-z]{2})(-[A-Z]{2})?",project_translations_domain:"project",browser_path:"/tap-i18n",debug:!1}}).call(this),function(){v={},function(){Array.prototype.indexOf||(Array.prototype.indexOf=function(e){"use strict";if(null==this)throw new TypeError;var n=Object(this),r=n.length>>>0;if(0===r)return-1;var t=0;if(arguments.length>0&&((t=Number(arguments[1]))!=t?t=0:0!=t&&t!=1/0&&t!=-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t)))),t>=r)return-1;for(var a=t>=0?t:Math.max(r-Math.abs(t),0);a<r;a++)if(a in n&&n[a]===e)return a;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){"use strict";if(null==this)throw new TypeError;var n=Object(this),r=n.length>>>0;if(0===r)return-1;var t=r;arguments.length>1&&((t=Number(arguments[1]))!=t?t=0:0!=t&&t!=1/0&&t!=-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t))));for(var a=t>=0?Math.min(t,r-1):r-Math.abs(t);a>=0;a--)if(a in n&&n[a]===e)return a;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var e=this,n=e.jQuery||e.Zepto,r={},t,a=0,u=[],s=!1;"undefined"!=typeof module&&module.exports?module.exports=v:(n&&(n.TAPi18next=n.TAPi18next||v),e.TAPi18next=e.TAPi18next||v);var o={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",ns:"translation",fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!0,postAsync:!0,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:["plural_not_found",Math.random()].join(""),contextNotFound:["context_not_found",Math.random()].join(""),escapeInterpolation:!1,setJqueryExt:!1,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"TAPi18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:["sprintf"],parseMissingKey:void 0,shortcutFunction:"sprintf"};function i(e,n){if(!n||"function"==typeof n)return e;for(var r in n)e[r]=n[r];return e}function l(e,n,r){var t,a=0,u=e.length,s=void 0===u||"[object Array]"!==Object.prototype.toString.apply(e)||"function"==typeof e;if(r)if(s){for(t in e)if(!1===n.apply(e[t],r))break}else for(;a<u&&!1!==n.apply(e[a++],r););else if(s){for(t in e)if(!1===n.call(e[t],t,e[t]))break}else for(;
184a<u&&!1!==n.call(e[a],a,e[a++]););return e}var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function f(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return c[e]})):e}function p(e){var n=function(e){if(window.XMLHttpRequest)return e(null,new XMLHttpRequest);if(window.ActiveXObject)try{return e(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(n){return e(null,new ActiveXObject("Microsoft.XMLHTTP"))}return e(new Error)},r=function(e){if("string"==typeof e)return e;var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return n.join("&")},t=function(e){e=e.replace(/\r\n/g,"\n");for(var n="",r=0;r<e.length;r++){var t=e.charCodeAt(r);t<128?n+=String.fromCharCode(t):t>127&&t<2048?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128))}return n},a=function(e){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e=t(e);var r="",a,u,s,o,i,l,c,f=0;do{o=(a=e.charCodeAt(f++))>>2,i=(3&a)<<4|(u=e.charCodeAt(f++))>>4,l=(15&u)<<2|(s=e.charCodeAt(f++))>>6,c=63&s,isNaN(u)?l=c=64:isNaN(s)&&(c=64),r+=n.charAt(o)+n.charAt(i)+n.charAt(l)+n.charAt(c),a=u=s="",o=i=l=c=""}while(f<e.length);return r},u=function(){for(var e=arguments[0],n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])}return e},s=function(e,t,a,o){"function"==typeof a&&(o=a,a={}),a.cache=a.cache||!1,a.data=a.data||{},a.headers=a.headers||{},a.jsonp=a.jsonp||!1,a.async=void 0===a.async||a.async;var i=u({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},s.headers,a.headers),l;if(l="application/json"===i["content-type"]?JSON.stringify(a.data):r(a.data),"GET"===e){var c=[];if(l&&(c.push(l),l=null),a.cache||c.push("_="+(new Date).getTime()),a.jsonp&&(c.push("callback="+a.jsonp),c.push("jsonp="+a.jsonp)),(c=c.join("&")).length>1&&(t.indexOf("?")>-1?t+="&"+c:t+="?"+c),a.jsonp){var f=document.getElementsByTagName("head")[0],p=document.createElement("script");return p.type="text/javascript",p.src=t,void f.appendChild(p)}}n((function(n,r){if(n)return o(n);for(var u in r.open(e,t,a.async),i)i.hasOwnProperty(u)&&r.setRequestHeader(u,i[u]);r.onreadystatechange=function(){if(4===r.readyState){var e=r.responseText||"";if(!o)return;o(r.status,{text:function(){return e},json:function(){return JSON.parse(e)}})}},r.send(l)}))},o={authBasic:function(e,n){s.headers.Authorization="Basic "+a(e+":"+n)},connect:function(e,n,r){return s("CONNECT",e,n,r)},del:function(e,n,r){return s("DELETE",e,n,r)},get:function(e,n,r){return s("GET",e,n,r)},head:function(e,n,r){return s("HEAD",e,n,r)},headers:function(e){s.headers=e||{}},isAllowed:function(e,n,r){this.options(e,(function(e,t){r(-1!==t.text().indexOf(n))}))},options:function(e,n,r){return s("OPTIONS",e,n,r)},patch:function(e,n,r){return s("PATCH",e,n,r)},post:function(e,n,r){return s("POST",e,n,r)},put:function(e,n,r){return s("PUT",e,n,r)},trace:function(e,n,r){return s("TRACE",e,n,r)}},i;o[e.type?e.type.toLowerCase():"get"](e.url,e,(function(n,r){200===n?e.success(r.json(),n,null):e.error(r.text(),n,null)}))}var m={create:function(e,n,r,t){var a;if(r){var u=new Date;u.setTime(u.getTime()+60*r*1e3),a="; expires="+u.toGMTString()}else a="";t=t?"domain="+t+";":"",document.cookie=e+"="+n+a+";"+t+"path=/"},read:function(e){for(var n=e+"=",r=document.cookie.split(";"),t=0;t<r.length;t++){for(var a=r[t];" "==a.charAt(0);)a=a.substring(1,a.length);if(0===a.indexOf(n))return a.substring(n.length,a.length)}return null},remove:function(e){this.create(e,"",-1)}},g={create:function(e,n,r,t){},read:function(e){return null},remove:function(e){}},d={extend:n?n.extend:i,each:n?n.each:l,ajax:n?n.ajax:"undefined"!=typeof document?p:function(){},cookie:"undefined"!=typeof document?m:g,detectLanguage:R,escape:f,log:function(e){o.debug&&"undefined"!=typeof console&&console.log(e)},toLanguages:function(e){var n=[];if("string"==typeof e&&e.indexOf("-")>-1){var r=e.split("-");e=o.lowerCaseLng?r[0].toLowerCase()+"-"+r[1].toLowerCase():r[0].toLowerCase()+"-"+r[1].toUpperCase(),"unspecific"!==o.load&&n.push(e),"current"!==o.load&&n.push(r[0])}else n.push(e);for(var t=0;t<o.fallbackLng.length;t++)-1===n.indexOf(o.fallbackLng[t])&&o.fallbackLng[t]&&n.push(o.fallbackLng[t]);return n},regexEscape:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}};function b(e,a){"function"==typeof e&&(a=e,e={}),e=e||{},d.extend(o,e),delete o.fixLng,"string"==typeof o.ns&&(o.ns={namespaces:[o.ns],defaultNs:o.ns}),"string"==typeof o.fallbackNS&&(o.fallbackNS=[o.fallbackNS]),"string"!=typeof o.fallbackLng&&"boolean"!=typeof o.fallbackLng||(o.fallbackLng=[o.fallbackLng]),o.interpolationPrefixEscaped=d.regexEscape(o.interpolationPrefix),o.interpolationSuffixEscaped=d.regexEscape(o.interpolationSuffix),o.lng||(o.lng=d.detectLanguage()),o.lng?o.useCookie&&d.cookie.create(o.cookieName,o.lng,o.cookieExpirationTime,o.cookieDomain):(o.lng=o.fallbackLng[0],o.useCookie&&d.cookie.remove(o.cookieName)),u=d.toLanguages(o.lng),t=u[0],d.log("currentLng set to: "+t);var i=C,l;if(e.fixLng&&(i=function(e,n){return(n=n||{}).lng=n.lng||i.lng,C(e,n)},i.lng=t),z.setCurrentLng(t),n&&o.setJqueryExt&&P(),n&&n.Deferred&&(l=n.Deferred()),o.resStore)return r=o.resStore,s=!0,a&&a(i),l&&l.resolve(i),l?l.promise():void 0;var c=d.toLanguages(o.lng);"string"==typeof o.preload&&(o.preload=[o.preload]);for(var f=0,p=o.preload.length;f<p;f++)for(var m=d.toLanguages(o.preload[f]),g=0,b=m.length;g<b;g++)c.indexOf(m[g])<0&&c.push(m[g]);return v.sync.load(c,o,(function(e,n){r=n,s=!0,a&&a(i),l&&l.resolve(i)})),l?l.promise():void 0}function h(e,n){"string"==typeof e&&(e=[e]);for(var r=0,t=e.length;r<t;r++)o.preload.indexOf(e[r])<0&&o.preload.push(e[r]);return b(n)}function _(e,n,t){"string"!=typeof n?(t=n,n=o.ns.defaultNs):o.ns.namespaces.indexOf(n)<0&&o.ns.namespaces.push(n),r[e]=r[e]||{},r[e][n]=r[e][n]||{},d.extend(r[e][n],t)}function y(e,n){"string"!=typeof n&&(n=o.ns.defaultNs),r[e]=r[e]||{},r[e][n]={}}function x(e){o.ns.defaultNs=e}function N(e,n){k([e],n)}function k(e,n){var t={dynamicLoad:o.dynamicLoad,resGetPath:o.resGetPath,getAsync:o.getAsync,customLoad:o.customLoad,ns:{namespaces:e,defaultNs:""}},a=d.toLanguages(o.lng);"string"==typeof o.preload&&(o.preload=[o.preload]);for(var u=0,s=o.preload.length;u<s;u++)for(var i=d.toLanguages(o.preload[u]),l=0,c=i.length;l<c;l++)a.indexOf(i[l])<0&&a.push(i[l]);for(var f=[],p=0,m=a.length;p<m;p++){var g=!1,b=r[a[p]];if(b)for(var h=0,_=e.length;h<_;h++)b[e[h]]||(g=!0);else g=!0;g&&f.push(a[p])}f.length?v.sync._fetch(f,t,(function(t,a){var u=e.length*f.length;d.each(e,(function(e,t){o.ns.namespaces.indexOf(t)<0&&o.ns.namespaces.push(t),d.each(f,(function(e,s){r[s]=r[s]||{},r[s][t]=a[s][t],0===--u&&n&&(o.useLocalStorage&&v.sync._storeLocal(r),n())}))}))})):n&&n()}function S(e,n,r){return"function"==typeof n?(r=n,n={}):n||(n={}),n.lng=e,b(n,r)}function L(){return t}function P(){function e(e,r,t){if(0!==r.length){var a="text",u;if(0===r.indexOf("[")){var s=r.split("]");r=s[1],a=s[0].substr(1,s[0].length-1)}if(r.indexOf(";")===r.length-1&&(r=r.substr(0,r.length-2)),"html"===a)u=o.defaultValueFromContent?n.extend({defaultValue:e.html()},t):t,e.html(n.t(r,u));else if("text"===a)u=o.defaultValueFromContent?n.extend({defaultValue:e.text()},t):t,e.text(n.t(r,u));else if("prepend"===a)u=o.defaultValueFromContent?n.extend({defaultValue:e.html()}
184,t):t,e.prepend(n.t(r,u));else if("append"===a)u=o.defaultValueFromContent?n.extend({defaultValue:e.html()},t):t,e.append(n.t(r,u));else if(0===a.indexOf("data-")){var i=a.substr("data-".length);u=o.defaultValueFromContent?n.extend({defaultValue:e.data(i)},t):t;var l=n.t(r,u);e.data(i,l),e.attr(a,l)}else u=o.defaultValueFromContent?n.extend({defaultValue:e.attr(a)},t):t,e.attr(a,n.t(r,u))}}function r(r,t){var a=r.attr(o.selectorAttr);if(a||"undefined"==typeof a||!1===a||(a=r.text()||r.val()),a){var u=r,s=r.data("i18n-target");if(s&&(u=r.find(s)||r),t||!0!==o.useDataAttrOptions||(t=r.data("i18n-options")),t=t||{},a.indexOf(";")>=0){var i=a.split(";");n.each(i,(function(n,r){""!==r&&e(u,r,t)}))}else e(u,a,t);!0===o.useDataAttrOptions&&r.data("i18n-options",t)}}n.t=n.t||C,n.fn.TAPi18next=function(e){return this.each((function(){var t;r(n(this),e),n(this).find("["+o.selectorAttr+"]").each((function(){r(n(this),e)}))}))}}function T(e,n,r,t){if(!e)return e;if(t=t||n,e.indexOf(t.interpolationPrefix||o.interpolationPrefix)<0)return e;var a=t.interpolationPrefix?d.regexEscape(t.interpolationPrefix):o.interpolationPrefixEscaped,u=t.interpolationSuffix?d.regexEscape(t.interpolationSuffix):o.interpolationSuffixEscaped,s="HTML"+u;return d.each(n,(function(n,i){var l=r?r+o.keyseparator+n:n;e="object"==typeof i&&null!==i?T(e,i,l,t):t.escapeInterpolation||o.escapeInterpolation?(e=e.replace(new RegExp([a,l,s].join(""),"g"),i)).replace(new RegExp([a,l,u].join(""),"g"),d.escape(i)):e.replace(new RegExp([a,l,u].join(""),"g"),i)})),e}function j(e,n){var r=",",t="{",u="}",s=d.extend({},n);for(delete s.postProcess;-1!=e.indexOf(o.reusePrefix)&&!(++a>o.maxRecursion);){var i=e.lastIndexOf(o.reusePrefix),l=e.indexOf(o.reuseSuffix,i)+o.reuseSuffix.length,c=e.substring(i,l),f=c.replace(o.reusePrefix,"").replace(o.reuseSuffix,"");if(-1!=f.indexOf(r)){var p=f.indexOf(r);if(-1!=f.indexOf(t,p)&&-1!=f.indexOf(u,p)){var m=f.indexOf(t,p),g=f.indexOf(u,m)+u.length;try{s=d.extend(s,JSON.parse(f.substring(m,g))),f=f.substring(0,p)}catch(h){}}}var b=F(f,s);e=e.replace(c,b)}return e}function O(e){return e.context&&("string"==typeof e.context||"number"==typeof e.context)}function w(e){return void 0!==e.count&&"string"!=typeof e.count&&1!==e.count}function A(e,n){var r=E(e,n=n||{}),t=D(e,n);return void 0!==t||t===r}function C(e,n){return"undefined"==typeof n&&(n={}),s?(a=0,F.apply(null,arguments)):(d.log("i18next not finished initialization. you might have called t function before loading resources finished."),n.defaultValue||"")}function E(e,n){return void 0!==n.defaultValue?n.defaultValue:e}function M(){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);return{postProcess:"sprintf",sprintf:e}}function F(e,n){if("undefined"!=typeof n&&null!==n&&"object"!=typeof n?"sprintf"===o.shortcutFunction?n=M.apply(null,arguments):"defaultValue"===o.shortcutFunction&&(n={defaultValue:n}):n=n||{},null==e)return"";"string"==typeof e&&(e=[e]);var r=e[0];if(e.length>1)for(var t=0;t<e.length&&!A(r=e[t],n);t++);var a=E(r,n),s=D(r,n),i=n.lng?d.toLanguages(n.lng):u,l=n.ns||o.ns.defaultNs,c;r.indexOf(o.nsseparator)>-1&&(l=(c=r.split(o.nsseparator))[0],r=c[1]),void 0===s&&o.sendMissing&&(n.lng?H.postMissing(i[0],l,r,a,i):H.postMissing(o.lng,l,r,a,i));var f=n.postProcess||o.postProcess;void 0!==s&&f&&I[f]&&(s=I[f](s,r,n));var p=a;if(a.indexOf(o.nsseparator)>-1&&(p=(c=a.split(o.nsseparator))[1]),p===r&&o.parseMissingKey&&(a=o.parseMissingKey(a)),void 0===s&&(a=j(a=T(a,n),n),f&&I[f])){var m=E(r,n);s=I[f](m,r,n)}return void 0!==s?s:a}function D(e,n){var t,a,s=E(e,n=n||{}),i=u;if(!r)return s;if("cimode"===i[0].toLowerCase())return s;if(n.lng&&(i=d.toLanguages(n.lng),!r[i[0]])){var l=o.getAsync;o.getAsync=!1,v.sync.load(i,o,(function(e,n){d.extend(r,n),o.getAsync=l}))}var c=n.ns||o.ns.defaultNs,f,p;if(e.indexOf(o.nsseparator)>-1){var m=e.split(o.nsseparator);c=m[0],e=m[1]}if(O(n)&&(delete(t=d.extend({},n)).context,t.defaultValue=o.contextNotFound,(a=C(c+o.nsseparator+e+"_"+n.context,t))!=o.contextNotFound))return T(a,{context:n.context});if(w(n)){delete(t=d.extend({},n)).count,t.defaultValue=o.pluralNotFound;var g=c+o.nsseparator+e+o.pluralSuffix,b=z.get(i[0],n.count);if(b>=0?g=g+"_"+b:1===b&&(g=c+o.nsseparator+e),(a=C(g,t))!=o.pluralNotFound)return T(a,{count:n.count,interpolationPrefix:n.interpolationPrefix,interpolationSuffix:n.interpolationSuffix})}for(var h=e.split(o.keyseparator),_=0,y=i.length;_<y&&void 0===p;_++){for(var x=i[_],N=0,k=r[x]&&r[x][c];h[N];)k=k&&k[h[N]],N++;if(void 0!==k){var S=Object.prototype.toString.apply(k);if("string"==typeof k)k=j(k=T(k,n),n);else if("[object Array]"!==S||o.returnObjectTrees||n.returnObjectTrees){if(null===k&&!0===o.fallbackOnNull)k=void 0;else if(null!==k)if(o.returnObjectTrees||n.returnObjectTrees){if("[object Number]"!==S&&"[object Function]"!==S&&"[object RegExp]"!==S){var L="[object Array]"===S?[]:{};d.each(k,(function(r){L[r]=F(c+o.nsseparator+e+o.keyseparator+r,n)})),k=L}}else o.objectTreeKeyHandler&&"function"==typeof o.objectTreeKeyHandler?k=o.objectTreeKeyHandler(e,k,x,c,n):(k="key '"+c+":"+e+" ("+x+")' returned an object instead of string.",d.log(k))}else k=j(k=T(k=k.join("\n"),n),n);"string"==typeof k&&""===k.trim()&&!0===o.fallbackOnEmpty&&(k=void 0),p=k}}if(void 0===p&&!n.isFallbackLookup&&(!0===o.fallbackToDefaultNS||o.fallbackNS&&o.fallbackNS.length>0))if(n.isFallbackLookup=!0,o.fallbackNS.length)for(var P=0,A=o.fallbackNS.length;P<A;P++){var M,R;if(p=D(o.fallbackNS[P]+o.nsseparator+e,n))if((p.indexOf(o.nsseparator)>-1?p.split(o.nsseparator)[1]:p)!==(s.indexOf(o.nsseparator)>-1?s.split(o.nsseparator)[1]:s))break}else p=D(e,n);return p}function R(){var e,n=[];if("undefined"!=typeof window&&(!function(){for(var e,r=window.location.search.substring(1).split("&"),t=0;t<r.length;t++){var a=r[t].indexOf("=");if(a>0){var u=r[t].substring(0,a),s=r[t].substring(a+1);n[u]=s}}}(),n[o.detectLngQS]&&(e=n[o.detectLngQS])),!e&&"undefined"!=typeof document&&o.useCookie){var r=d.cookie.read(o.cookieName);r&&(e=r)}return e||"undefined"==typeof navigator||(e=navigator.language?navigator.language:navigator.userLanguage),e}d.applyReplacement=T;
184var H={load:function(e,n,r){n.useLocalStorage?H._loadLocal(e,n,(function(t,a){for(var u=[],s=0,o=e.length;s<o;s++)a[e[s]]||u.push(e[s]);u.length>0?H._fetch(u,n,(function(e,n){d.extend(a,n),H._storeLocal(n),r(null,a)})):r(null,a)})):H._fetch(e,n,(function(e,n){r(null,n)}))},_loadLocal:function(e,n,r){var t={},a=(new Date).getTime();if(window.localStorage){var u=e.length;d.each(e,(function(e,s){var o=window.localStorage.getItem("res_"+s);o&&(o=JSON.parse(o)).i18nStamp&&o.i18nStamp+n.localStorageExpirationTime>a&&(t[s]=o),0===--u&&r(null,t)}))}},_storeLocal:function(e){if(window.localStorage)for(var n in e)e[n].i18nStamp=(new Date).getTime(),window.localStorage.setItem("res_"+n,JSON.stringify(e[n]))},_fetch:function(e,n,r){var t=n.ns,a={};if(n.dynamicLoad){var u=function(e,n){r(null,n)};if("function"==typeof n.customLoad)n.customLoad(e,t.namespaces,n,u);else{var s=T(n.resGetPath,{lng:e.join("+"),ns:t.namespaces.join("+")});d.ajax({url:s,success:function(e,n,r){d.log("loaded: "+s),u(null,e)},error:function(e,n,r){d.log("failed loading: "+s),u("failed loading resource.json error: "+r)},dataType:"json",async:n.getAsync})}}else{var o=t.namespaces.length*e.length,i;d.each(t.namespaces,(function(t,u){d.each(e,(function(e,t){var s=function(e,n){e&&(i=i||[]).push(e),a[t]=a[t]||{},a[t][u]=n,0===--o&&r(i,a)};"function"==typeof n.customLoad?n.customLoad(t,u,n,s):H._fetchOne(t,u,n,s)}))}))}},_fetchOne:function(e,n,r,t){var a=T(r.resGetPath,{lng:e,ns:n});d.ajax({url:a,success:function(e,n,r){d.log("loaded: "+a),t(null,e)},error:function(e,n,r){if(n&&200==n||e&&e.status&&200==e.status)d.log("There is a typo in: "+a);else if(n&&404==n||e&&e.status&&404==e.status)d.log("Does not exist: "+a);else{var u=n||(e&&e.status?e.status:null);d.log(u+" when loading "+a)}t(r,{})},dataType:"json",async:r.getAsync})},postMissing:function(e,n,t,a,u){var s={};s[t]=a;var i=[];if("fallback"===o.sendMissingTo&&!1!==o.fallbackLng[0])for(var l=0;l<o.fallbackLng.length;l++)i.push({lng:o.fallbackLng[l],url:T(o.resPostPath,{lng:o.fallbackLng[l],ns:n})});else if("current"===o.sendMissingTo||"fallback"===o.sendMissingTo&&!1===o.fallbackLng[0])i.push({lng:e,url:T(o.resPostPath,{lng:e,ns:n})});else if("all"===o.sendMissingTo)for(var l=0,c=u.length;l<c;l++)i.push({lng:u[l],url:T(o.resPostPath,{lng:u[l],ns:n})});for(var f=0,p=i.length;f<p;f++){var m=i[f];d.ajax({url:m.url,type:o.sendType,data:s,success:function(e,u,s){d.log("posted missing key '"+t+"' to: "+m.url);for(var o=t.split("."),i=0,l=r[m.lng][n];o[i];)l=i===o.length-1?l[o[i]]=a:l[o[i]]=l[o[i]]||{},i++},error:function(e,n,r){d.log("failed posting missing key '"+t+"' to: "+m.url)},dataType:"json",async:o.postAsync})}}},z={rules:{ach:{name:"Acholi",numbers:[1,2],plurals:function(e){return Number(e>1)}},af:{name:"Afrikaans",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ak:{name:"Akan",numbers:[1,2],plurals:function(e){return Number(e>1)}},am:{name:"Amharic",numbers:[1,2],plurals:function(e){return Number(e>1)}},an:{name:"Aragonese",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ar:{name:"Arabic",numbers:[0,1,2,3,11,100],plurals:function(e){return Number(0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)}},arn:{name:"Mapudungun",numbers:[1,2],plurals:function(e){return Number(e>1)}},ast:{name:"Asturian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ay:{name:"Aymará",numbers:[1],plurals:function(e){return 0}},az:{name:"Azerbaijani",numbers:[1,2],plurals:function(e){return Number(1!=e)}},be:{name:"Belarusian",numbers:[1,2,5],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},bg:{name:"Bulgarian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},bn:{name:"Bengali",numbers:[1,2],plurals:function(e){return Number(1!=e)}},bo:{name:"Tibetan",numbers:[1],plurals:function(e){return 0}},br:{name:"Breton",numbers:[1,2],plurals:function(e){return Number(e>1)}},bs:{name:"Bosnian",numbers:[1,2,5],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},ca:{name:"Catalan",numbers:[1,2],plurals:function(e){return Number(1!=e)}},cgg:{name:"Chiga",numbers:[1],plurals:function(e){return 0}},cs:{name:"Czech",numbers:[1,2,5],plurals:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)}},csb:{name:"Kashubian",numbers:[1,2,5],plurals:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},cy:{name:"Welsh",numbers:[1,2,3,8],plurals:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)}}
184,da:{name:"Danish",numbers:[1,2],plurals:function(e){return Number(1!=e)}},de:{name:"German",numbers:[1,2],plurals:function(e){return Number(1!=e)}},dz:{name:"Dzongkha",numbers:[1],plurals:function(e){return 0}},el:{name:"Greek",numbers:[1,2],plurals:function(e){return Number(1!=e)}},en:{name:"English",numbers:[1,2],plurals:function(e){return Number(1!=e)}},eo:{name:"Esperanto",numbers:[1,2],plurals:function(e){return Number(1!=e)}},es:{name:"Spanish",numbers:[1,2],plurals:function(e){return Number(1!=e)}},es_ar:{name:"Argentinean Spanish",numbers:[1,2],plurals:function(e){return Number(1!=e)}},et:{name:"Estonian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},eu:{name:"Basque",numbers:[1,2],plurals:function(e){return Number(1!=e)}},fa:{name:"Persian",numbers:[1],plurals:function(e){return 0}},fi:{name:"Finnish",numbers:[1,2],plurals:function(e){return Number(1!=e)}},fil:{name:"Filipino",numbers:[1,2],plurals:function(e){return Number(e>1)}},fo:{name:"Faroese",numbers:[1,2],plurals:function(e){return Number(1!=e)}},fr:{name:"French",numbers:[1,2],plurals:function(e){return Number(e>1)}},fur:{name:"Friulian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},fy:{name:"Frisian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ga:{name:"Irish",numbers:[1,2,3,7,11],plurals:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)}},gd:{name:"Scottish Gaelic",numbers:[1,2,3,20],plurals:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)}},gl:{name:"Galician",numbers:[1,2],plurals:function(e){return Number(1!=e)}},gu:{name:"Gujarati",numbers:[1,2],plurals:function(e){return Number(1!=e)}},gun:{name:"Gun",numbers:[1,2],plurals:function(e){return Number(e>1)}},ha:{name:"Hausa",numbers:[1,2],plurals:function(e){return Number(1!=e)}},he:{name:"Hebrew",numbers:[1,2],plurals:function(e){return Number(1!=e)}},hi:{name:"Hindi",numbers:[1,2],plurals:function(e){return Number(1!=e)}},hr:{name:"Croatian",numbers:[1,2,5],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},hu:{name:"Hungarian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},hy:{name:"Armenian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ia:{name:"Interlingua",numbers:[1,2],plurals:function(e){return Number(1!=e)}},id:{name:"Indonesian",numbers:[1],plurals:function(e){return 0}},is:{name:"Icelandic",numbers:[1,2],plurals:function(e){return Number(e%10!=1||e%100==11)}},it:{name:"Italian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ja:{name:"Japanese",numbers:[1],plurals:function(e){return 0}},jbo:{name:"Lojban",numbers:[1],plurals:function(e){return 0}},jv:{name:"Javanese",numbers:[0,1],plurals:function(e){return Number(0!==e)}},ka:{name:"Georgian",numbers:[1],plurals:function(e){return 0}},kk:{name:"Kazakh",numbers:[1],plurals:function(e){return 0}},km:{name:"Khmer",numbers:[1],plurals:function(e){return 0}},kn:{name:"Kannada",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ko:{name:"Korean",numbers:[1],plurals:function(e){return 0}},ku:{name:"Kurdish",numbers:[1,2],plurals:function(e){return Number(1!=e)}},kw:{name:"Cornish",numbers:[1,2,3,4],plurals:function(e){return Number(1==e?0:2==e?1:3==e?2:3)}},ky:{name:"Kyrgyz",numbers:[1],plurals:function(e){return 0}},lb:{name:"Letzeburgesch",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ln:{name:"Lingala",numbers:[1,2],plurals:function(e){return Number(e>1)}},lo:{name:"Lao",numbers:[1],plurals:function(e){return 0}},lt:{name:"Lithuanian",numbers:[1,2,10],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)}},lv:{name:"Latvian",numbers:[1,2,0],plurals:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)}},mai:{name:"Maithili",numbers:[1,2],plurals:function(e){return Number(1!=e)}},mfe:{name:"Mauritian Creole",numbers:[1,2],plurals:function(e){return Number(e>1)}},mg:{name:"Malagasy",numbers:[1,2],plurals:function(e){return Number(e>1)}},mi:{name:"Maori",numbers:[1,2],plurals:function(e){return Number(e>1)}},mk:{name:"Macedonian",numbers:[1,2],plurals:function(e){return Number(1==e||e
184%10==1?0:1)}},ml:{name:"Malayalam",numbers:[1,2],plurals:function(e){return Number(1!=e)}},mn:{name:"Mongolian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},mnk:{name:"Mandinka",numbers:[0,1,2],plurals:function(e){return Number(0==e?0:1==e?1:2)}},mr:{name:"Marathi",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ms:{name:"Malay",numbers:[1],plurals:function(e){return 0}},mt:{name:"Maltese",numbers:[1,2,11,20],plurals:function(e){return Number(1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)}},nah:{name:"Nahuatl",numbers:[1,2],plurals:function(e){return Number(1!=e)}},nap:{name:"Neapolitan",numbers:[1,2],plurals:function(e){return Number(1!=e)}},nb:{name:"Norwegian Bokmal",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ne:{name:"Nepali",numbers:[1,2],plurals:function(e){return Number(1!=e)}},nl:{name:"Dutch",numbers:[1,2],plurals:function(e){return Number(1!=e)}},nn:{name:"Norwegian Nynorsk",numbers:[1,2],plurals:function(e){return Number(1!=e)}},no:{name:"Norwegian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},nso:{name:"Northern Sotho",numbers:[1,2],plurals:function(e){return Number(1!=e)}},oc:{name:"Occitan",numbers:[1,2],plurals:function(e){return Number(e>1)}},or:{name:"Oriya",numbers:[2,1],plurals:function(e){return Number(1!=e)}},pa:{name:"Punjabi",numbers:[1,2],plurals:function(e){return Number(1!=e)}},pap:{name:"Papiamento",numbers:[1,2],plurals:function(e){return Number(1!=e)}},pl:{name:"Polish",numbers:[1,2,5],plurals:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},pms:{name:"Piemontese",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ps:{name:"Pashto",numbers:[1,2],plurals:function(e){return Number(1!=e)}},pt:{name:"Portuguese",numbers:[1,2],plurals:function(e){return Number(1!=e)}},pt_br:{name:"Brazilian Portuguese",numbers:[1,2],plurals:function(e){return Number(1!=e)}},rm:{name:"Romansh",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ro:{name:"Romanian",numbers:[1,2,20],plurals:function(e){return Number(1==e?0:0===e||e%100>0&&e%100<20?1:2)}},ru:{name:"Russian",numbers:[1,2,5],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},sah:{name:"Yakut",numbers:[1],plurals:function(e){return 0}},sco:{name:"Scots",numbers:[1,2],plurals:function(e){return Number(1!=e)}},se:{name:"Northern Sami",numbers:[1,2],plurals:function(e){return Number(1!=e)}},si:{name:"Sinhala",numbers:[1,2],plurals:function(e){return Number(1!=e)}},sk:{name:"Slovak",numbers:[1,2,5],plurals:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)}},sl:{name:"Slovenian",numbers:[5,1,2,3],plurals:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)}},so:{name:"Somali",numbers:[1,2],plurals:function(e){return Number(1!=e)}},son:{name:"Songhay",numbers:[1,2],plurals:function(e){return Number(1!=e)}}
184,sq:{name:"Albanian",numbers:[1,2],plurals:function(e){return Number(1!=e)}},sr:{name:"Serbian",numbers:[1,2,5],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},su:{name:"Sundanese",numbers:[1],plurals:function(e){return 0}},sv:{name:"Swedish",numbers:[1,2],plurals:function(e){return Number(1!=e)}},sw:{name:"Swahili",numbers:[1,2],plurals:function(e){return Number(1!=e)}},ta:{name:"Tamil",numbers:[1,2],plurals:function(e){return Number(1!=e)}},te:{name:"Telugu",numbers:[1,2],plurals:function(e){return Number(1!=e)}},tg:{name:"Tajik",numbers:[1,2],plurals:function(e){return Number(e>1)}},th:{name:"Thai",numbers:[1],plurals:function(e){return 0}},ti:{name:"Tigrinya",numbers:[1,2],plurals:function(e){return Number(e>1)}},tk:{name:"Turkmen",numbers:[1,2],plurals:function(e){return Number(1!=e)}},tr:{name:"Turkish",numbers:[1,2],plurals:function(e){return Number(e>1)}},tt:{name:"Tatar",numbers:[1],plurals:function(e){return 0}},ug:{name:"Uyghur",numbers:[1],plurals:function(e){return 0}},uk:{name:"Ukrainian",numbers:[1,2,5],plurals:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)}},ur:{name:"Urdu",numbers:[1,2],plurals:function(e){return Number(1!=e)}},uz:{name:"Uzbek",numbers:[1,2],plurals:function(e){return Number(e>1)}},vi:{name:"Vietnamese",numbers:[1],plurals:function(e){return 0}},wa:{name:"Walloon",numbers:[1,2],plurals:function(e){return Number(e>1)}},wo:{name:"Wolof",numbers:[1],plurals:function(e){return 0}},yo:{name:"Yoruba",numbers:[1,2],plurals:function(e){return Number(1!=e)}},zh:{name:"Chinese",numbers:[1],plurals:function(e){return 0}}},addRule:function(e,n){z.rules[e]=n},setCurrentLng:function(e){if(!z.currentRule||z.currentRule.lng!==e){var n=e.split("-");z.currentRule={lng:e,rule:z.rules[n[0]]}}},get:function(e,n){var r;function t(n,r){var t;if(t=z.currentRule&&z.currentRule.lng===e?z.currentRule.rule:z.rules[n]){var a=t.plurals(r),u=t.numbers[a];return 2===t.numbers.length&&1===t.numbers[0]&&(2===u?u=-1:1===u&&(u=1)),u}return 1===r?"1":"-1"}return t(e.split("-")[0],n)}},I={},V=function(e,n){I[e]=n},B=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function n(e,n){for(var r=[];n>0;r[--n]=e);return r.join("")}var r=function(){return r.cache.hasOwnProperty(arguments[0])||(r.cache[arguments[0]]=r.parse(arguments[0])),r.format.call(null,r.cache[arguments[0]],arguments)};return r.format=function(r,t){var a=1,u=r.length,s="",o,i=[],l,c,f,p,m,g;for(l=0;l<u;l++)if("string"===(s=e(r[l])))i.push(r[l]);else if("array"===s){if((f=r[l])[2])for(o=t[a],c=0;c<f[2].length;c++){if(!o.hasOwnProperty(f[2][c]))throw B('[sprintf] property "%s" does not exist',f[2][c]);o=o[f[2][c]]}else o=f[1]?t[f[1]]:t[a++];if(/[^s]/.test(f[8])&&"number"!=e(o))throw B("[sprintf] expecting number but found %s",e(o));switch(f[8]){case"b":o=o.toString(2);break;case"c":o=String.fromCharCode(o);break;case"d":o=parseInt(o,10);break;case"e":o=f[7]?o.toExponential(f[7]):o.toExponential();break;case"f":o=f[7]?parseFloat(o).toFixed(f[7]):parseFloat(o);break;case"o":o=o.toString(8);break;case"s":o=(o=String(o))&&f[7]?o.substring(0,f[7]):o;break;case"u":o=Math.abs(o);break;case"x":o=o.toString(16);break;case"X":o=o.toString(16).toUpperCase()}o=/[def]/.test(f[8])&&f[3]&&o>=0?"+"+o:o,m=f[4]?"0"==f[4]?"0":f[4].charAt(1):" ",g=f[6]-String(o).length,p=f[6]?n(m,g):"",i.push(f[5]?o+p:p+o)}return i.join("")},r.cache={},r.parse=function(e){for(var n=e,r=[],t=[],a=0;n;){if(null!==(r=/^[^\x25]+/.exec(n)))t.push(r[0]);else if(null!==(r=/^\x25{2}/.exec(n)))t.push("%");else{if(null===(r=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(n)))throw"[sprintf] huh?";if(r[2]){a|=1;var u=[],s=r[2],o=[];if(null===(o=/^([a-z_][a-z_\d]*)/i.exec(s)))throw"[sprintf] huh?";for(u.push(o[1]);""!==(s=s.substring(o[0].length));)if(null!==(o=/^\.([a-z_][a-z_\d]*)/i.exec(s)))u.push(o[1]);else{if(null===(o=/^\[(\d+)\]/.exec(s)))throw"[sprintf] huh?";u.push(o[1])}r[2]=u}else a|=2;if(3===a)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";t.push(r)}n=n.substring(r[0].length)}return t},r}(),G=function(e,n){return n.unshift(e),B.apply(null,n)};V("sprintf",(function(e,n,r){return r.sprintf?"[object Array]"===Object.prototype.toString.apply(r.sprintf)?G(e,r.sprintf):"object"==typeof r.sprintf?B(e,r.sprintf):e:e})),v.init=b,v.setLng=S,v.preload=h,v.addResourceBundle=_,v.removeResourceBundle=y,v.loadNamespace=N,v.loadNamespaces=k,v.setDefaultNamespace=x,v.t=C,v.translate=C,v.exists=A,v.detectLanguage=d.detectLanguage,v.pluralExtensions=z,v.sync=H,v.functions=d,v.lng=L,v.addPostProcessor=V,v.options=o}()}.call(this),function(){v.init({resStore:{},fallbackLng:h.fallback_language,useCookie:!1})}.call(this),function(){var e;(_="object"==typeof _?_:{}).helpers={}}.call(this);var x=_="object"==typeof _?_:{},N;N=h.fallback_language,y=function(){var e;return a.call(this),this._fallback_language=N,this._language_changed_tracker=new s.Dependency,this._loaded_languages=[N],this.conf=null,this.packages={},this.languages_names={},this.translations={},n.isClient&&(i.set(this._loaded_lang_session_key,null),this._languageSpecificTranslators={},this._languageSpecificTranslatorsTrackers={}),n.isServer&&(this.server_translators={},n.startup((e=this,function(){if(e._enabled())return e._registerHTTPMethod()}))),this.__=this._getPackageI18nextProxy(h.project_translations_domain),v.setLng(N),this},u.inherits(y,a),e.extend(y.prototype,{_loaded_lang_session_key:"TAPi18n::loaded_lang",_enable:function(e){return this.conf=e,this._onceEnabled()},_onceEnabled:function(){},_enabled:function(){return null!=this.conf},_getPackageDomain:function(e){return e.replace(/:/g,"-")},addResourceBundle:function(e,n,r){return v.addResourceBundle(e,this._getPackageDomain(n),r)},_getSpecificLangTranslator:function(e){var n,r,t;return n=v.lng(),r=null,v.setLng(e,{fixLng:!0},(t=this,function(e){return r=e})),v.setLng(n),r},_getProjectLanguages:function(){return this._enabled()?e.isArray(this.conf.supported_languages)?e.union([this._fallback_language],this.conf.supported_languages):e.keys(this.languages_names):[this._fallback_language]},getLanguages:function(){var e,n,r,t,a;if(!this._enabled())return null;for(r={},e=0,t=(a=this._getProjectLanguages()).length;e<t;e++)r[n=a[e]]={name:this.languages_names[n][1],en:this.languages_names[n][0]};return r},_loadLangFileObject:function(n,r){var t,a,u,s;for(a in s=[],r)t=r[a],t=e.extend({},t,(null!=(u=this._loadTranslations_cache[n])?u[a]:void 0)||{}),s.push(this.addResourceBundle(n,a,t));return s},_loadTranslations_cache:{},loadTranslations:function(r,t){var a,u,s,o;for(a in u=this._getProjectLanguages(),s=[],r)o=r[a],null==this._loadTranslations_cache[a]&&(this._loadTranslations_cache[a]={}),null==this._loadTranslations_cache[a][t]&&(this._loadTranslations_cache[a][t]={}),e.extend(this._loadTranslations_cache[a][t],o),this.addResourceBundle(a,t,o),n.isCl
184ient&&this.getLanguage()===a?s.push(this._language_changed_tracker.changed()):s.push(void 0);return s}});var x=_="object"==typeof _?_:{},k=[].indexOf||function(e){for(var n=0,r=this.length;n<r;n++)if(n in this&&this[n]===e)return n;return-1},S=[].slice;e.extend(y.prototype,{_languageSpecificTranslators:null,_languageSpecificTranslatorsTrackers:null,_getLanguageFilePath:function(e){var r;return this._enabled()?(r=(r=null!=this.conf.cdn_path?this.conf.cdn_path:this.conf.i18n_files_route).replace(/\/$/,""),n.isCordova&&"/"===r[0]&&(r=n.absoluteUrl().replace(/\/+$/,"")+r),r+"/"+e+".json"):null},_loadLanguage:function(e){var n,r,t,a,u,s;return r=new l.Deferred,this._enabled()?(u=this._getProjectLanguages(),k.call(u,e)>=0?k.call(this._loaded_languages,e)<0?(s=this,a=function(){var n;return(n=l.getJSON(s._getLanguageFilePath(e))).done((function(n){return s._loadLangFileObject(e,n),s._loaded_languages.push(e),r.resolve()})),n.fail((function(n,t){return r.reject("Couldn't load language '"+e+"' JSON: "+t)}))},t=k.call(e,"-")>=0?e.replace(/-.*/,""):N,e!==N&&k.call(u,t)>=0?((n=this._loadLanguage(t)).done(function(e){return function(){return a()}}(this)),n.fail(function(e){return function(e){return r.reject("Loading process failed since dependency language '"+t+"' failed to load: "+e)}}(this))):a()):r.resolve():r.reject(["Language "+e+" is not supported"]),r.promise()):r.reject("tap-i18n is not enabled in the project level, check tap-i18n README")},_registerHelpers:function(n,r){var t,a,u,s;a=n!==h.project_translations_domain?this._getPackageI18nextProxy(this.packages[n].namespace):this._getPackageI18nextProxy(h.project_translations_domain),u=function(){var n,r,t;return r=arguments[0],t=(n=2<=arguments.length?S.call(arguments,1):[]).pop().hash,e.isEmpty(n)||(t.sprintf=n),a(r,t)},n!==h.project_translations_domain?null!=f[r]&&null!=f[r].helpers&&((t={})[this.packages[n].helper_name]=u,f[r].helpers(t)):(m.registerHelper(this.conf.helper_name,u),m.registerHelper("languageTag",(s=this,function(){return s.getLanguage()})))},_getRegisterHelpersProxy:function(e){return n=this,function(r){return n._registerHelpers(e,r)};var n},_prepareLanguageSpecificTranslator:function(e){var n,r;return n=(new l.Deferred).resolve().promise(),e in this._languageSpecificTranslatorsTrackers||(this._languageSpecificTranslatorsTrackers[e]=new s.Dependency,e in this._languageSpecificTranslators||(n=this._loadLanguage(e).done((r=this,function(){return r._languageSpecificTranslators[e]=r._getSpecificLangTranslator(e),r._languageSpecificTranslatorsTrackers[e].changed()})))),n},_getPackageI18nextProxy:function(e){return n=this,function(r,t,a){return null==a&&(a=null),null!=(null!=t?t.lang:void 0)&&null==(null!=t?t.lng:void 0)&&(t.lng=t.lang),null!=(null!=t?t.lng:void 0)&&null==a&&(a=t.lng,delete t.lng),null!=a?(n._prepareLanguageSpecificTranslator(a),n._languageSpecificTranslatorsTrackers[a].depend(),a in n._languageSpecificTranslators?n._languageSpecificTranslators[a](y._getPackageDomain(e)+":"+r,t):v.t(y._getPackageDomain(e)+":"+r,t)):(n._language_changed_tracker.depend(),v.t(y._getPackageDomain(e)+":"+r,t))};var n},_onceEnabled:function(){return this._registerHelpers(h.project_translations_domain)},_abortPreviousSetLang:null,setLanguage:function(e){var n,r,t;return r=this,"function"==typeof this._abortPreviousSetLang&&this._abortPreviousSetLang(),n=!1,this._abortPreviousSetLang=function(){return n=!0},this._loadLanguage(e).then((t=this,function(){if(!n)return v.setLng(e),t._language_changed_tracker.changed(),i.set(t._loaded_lang_session_key,e)}))},getLanguage:function(){var e;return this._enabled()?null!=(e=i.get(this._loaded_lang_session_key))?e:this._fallback_language:null}});var x=_="object"==typeof _?_:{};y=new y,Package._define("tap:i18n",{TAPi18next:v,TAPi18n:y})}(); 185 186!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.tracker.Tracker,r=Package.tracker.Deps,o=Package.underscore._,a=Package.check.check,s=Package.check.Match,u=Package.random.Random,l,c,f,d,p,m,y;(function(){String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.indexOf(e,t)===t}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")})}
186).call(this),function(){function e(e){return(e=(e=e||"").trim())[0]&&(e=e[0].toUpperCase()+e.substr(1).toLowerCase()),e}function t(e){return e=(e=(e=(e=(e=e||"").toString()).trim()).replace(/([a-z\d])([A-Z]+)/g,"$1_$2")).replace(/[-\s]+/g,"_").toLowerCase()}function n(e){var t=e.lastIndexOf("."),n=e.substring(t,e.length);return-1===t?"":n}l=function i(r){return e(r=(r=t(r=(r=(r=(r=r||"").toString()).trim()).replace(n(r),""))).replace(/[\W_]+/g," "))}}.call(this),function(){var e=function(e){return e===Object(e)};"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var t=function(t){return e(t)&&Object.getPrototypeOf(t)===Object.prototype},n=function e(t){return"string"!=typeof t?null:t.replace(/\.[0-9]+\./g,".$.").replace(/\.[0-9]+$/g,".$")},i=function e(t,n){return"$each"===n?t:t?t+"."+n:n},r=function e(t){var n=t.slice(0,t.indexOf("["));return"$"===n.substring(0,1)?n:null};(c=function(e,a){var s=this;function u(e,r,l,c,f,d){!c&&l&&"$"===l.substring(0,1)&&(c=l,l=null);var p=!1,m,y=!1;l&&(f||("$push"===c||"$addToSet"===c||"$pop"===c?(t(e)&&"$each"in e?(e=e.$each,r+="[$each]"):l+=".0",f=!0):"$pull"===c&&(l+=".0",t(e)&&(y=!0),f=!0)),m=n(l),p=o.contains(a,m),r&&(s._affectedKeys[r]=l,s._genericAffectedKeys[r]=m,d&&s._positionsInsideArrays.push(r))),y||(o.isArray(e)&&!o.isEmpty(e)?(r&&s._parentPositions.push(r),o.each(e,(function(e,t){u(e,r?r+"["+t+"]":t,l+"."+t,c,f,!0)}))):(t(e)&&!p||!r)&&(r&&!o.isEmpty(e)&&(s._parentPositions.push(r),s._objectPositions.push(r)),o.each(e,(function(t,n){void 0===t?delete e[n]:"$slice"!==n&&u(t,r?r+"["+n+"]":n,i(l,n),c,f,d)}))))}function l(){s._affectedKeys={},s._genericAffectedKeys={},s._parentPositions=[],s._positionsInsideArrays=[],s._objectPositions=[],u(s._obj)}s._obj=e,s._affectedKeys={},s._genericAffectedKeys={},s._parentPositions=[],s._positionsInsideArrays=[],s._objectPositions=[],u(s._obj),s.forEachNode=function(e,t){if("function"!=typeof e)throw new Error("filter requires a loop function");t=o.extend({endPointsOnly:!0},t);var n={};o.each(s._affectedKeys,(function(i,a){t.endPointsOnly&&o.contains(s._parentPositions,a)||e.call({value:s.getValueForPosition(a),operator:r(a),position:a,key:i,genericKey:s._genericAffectedKeys[a],updateValue:function(e){n[a]=e},remove:function(){n[a]=void 0}})})),o.each(n,(function(e,t){s.setValueForPosition(t,e)}))},s.getValueForPosition=function(e){for(var n,i=e.split("["),r=s._obj,a=0,u=i.length;a<u;a++)if("]"===(n=i[a]).slice(-1)&&(n=n.slice(0,-1)),r=r[n],!o.isArray(r)&&!t(r)&&a<u-1)return;return r},s.setValueForPosition=function(e,n){for(var i,r,a=e.split("["),u=s._obj,c=0,f=a.length;c<f;c++)if("]"===(r=a[c]).slice(-1)&&(r=r.slice(0,-1)),c===f-1)u[r]=n,void 0===n&&delete u[r];else if(void 0===u[r]&&void 0!==n&&(i=a[c+1],i=parseInt(i,10),u[r]=isNaN(i)?{}:[]),u=u[r],!o.isArray(u)&&!t(u)&&c<f-1)return;l()},s.removeValueForPosition=function(e){s.setValueForPosition(e,void 0)},s.getKeyForPosition=function(e){return s._affectedKeys[e]},s.getGenericKeyForPosition=function(e){return s._genericAffectedKeys[e]},s.getInfoForKey=function(e){var t=s.getPositionForKey(e);if(t)return{value:s.getValueForPosition(t),operator:r(t)};for(var n=s.getPositionsForGenericKey(e+".$"),i,o,a=0,u=n.length;a<u;a++)if(i=n[a],o=s.getValueForPosition(i)||s.getValueForPosition(i.slice(0,i.lastIndexOf("["))))return{value:o,operator:r(i)}},s.getPositionForKey=function(e){for(var t in s._affectedKeys)if(s._affectedKeys.hasOwnProperty(t)&&s._affectedKeys[t]===e)return t},s.getPositionsForGenericKey=function(e){var t=[];for(var n in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(n)&&s._genericAffectedKeys[n]===e&&t.push(n);return t},s.getValueForKey=function(e){var t=s.getPositionForKey(e);if(t)return s.getValueForPosition(t)},s.addKey=function(e,t,n){var i=n?n+"["+e+"]":c._keyToPosition(e);s.setValueForPosition(i,t)},s.removeGenericKeys=function(e){for(var t in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(t)&&o.contains(e,s._genericAffectedKeys[t])&&s.removeValueForPosition(t)},s.removeGenericKey=function(e){for(var t in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(t)&&s._genericAffectedKeys[t]===e&&s.removeValueForPosition(t)},s.removeKey=function(e){for(var t in s._affectedKeys)s._affectedKeys.hasOwnProperty(t)&&s._affectedKeys[t]===e&&s.removeValueForPosition(t)},s.removeKeys=function(e){for(var t=0,n=e.length;t<n;t++)s.removeKey(e[t])},s.filterGenericKeys=function(e){var t,n=[],i=[];for(var r in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(r)&&(t=s._genericAffectedKeys[r],o.contains(n,t)||(n.push(t),t&&!e(t)&&i.push(t)));o.each(i,(function(e){s.removeGenericKey(e)}))},s.setValueForKey=function(e,t){for(var n in s._affectedKeys)s._affectedKeys.hasOwnProperty(n)&&s._affectedKeys[n]===e&&s.setValueForPosition(n,t)},s.setValueForGenericKey=function(e,t){for(var n in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(n)&&s._genericAffectedKeys[n]===e&&s.setValueForPosition(n,t)},s.getObject=function(){return s._obj},s.getFlatObject=function(e){e=e||{};var t={};return o.each(s._affectedKeys,(function(n,i){("string"!=typeof n||!0!==e.keepArrays||o.contains(s._positionsInsideArrays,i)||o.contains(s._objectPositions,i))&&(e.keepArrays||o.contains(s._parentPositions,i))||(t[n]=s.getValueForPosition(i))})),t},s.affectsKey=function(e){return!!s.getPositionForKey(e)},s.affectsGenericKey=function(e){for(var t in s._genericAffectedKeys)if(s._genericAffectedKeys.hasOwnProperty(t)&&s._genericAffectedKeys[t]===e)return!0;return!1},s.affectsGenericKeyImplicit=function(e){for(var t in s._genericAffectedKeys)if(s._genericAffectedKeys.hasOwnProperty(t)){var n=s._genericAffectedKeys[t],i;if(n===e)return!0;
186if(n.substring(0,e.length+1)===e+".")return!0;if(".$"===e.slice(-2)&&e.slice(0,-2)===n)return!0}return!1}}).expandKey=function(e,t,n){for(var i,r,o=t.split("["),a=n,s=0,u=o.length;s<u;s++)"]"===(r=o[s]).slice(-1)&&(r=r.slice(0,-1)),s===u-1?(a[r]=e,void 0===e&&delete a[r]):(i=o[s+1],i=parseInt(i,10),a[r]||(a[r]=isNaN(i)?{}:[])),a=a[r]},c._keyToPosition=function e(t,n){var i="";return o.each(t.split("."),(function(e,t){i+=0!==t||n?"["+e+"]":e})),i},c._positionToKey=function e(t){var n=new c({});n.setValueForPosition(t,1);var i=n.getKeyForPosition(t);return n=null,i}}.call(this),function(){f={appendAffectedKey:function e(t,n){return"$each"===n?t:t?t+"."+n:n},shouldCheck:function e(t){if("$pushAll"===t)throw new Error("$pushAll is not supported; use $push + $each");return!o.contains(["$pull","$pullAll","$pop","$slice"],t)},errorObject:function e(t,n,i){return{name:n,type:t,value:i}},isBasicObject:function e(t){return o.isObject(t)&&Object.getPrototypeOf(t)===Object.prototype},safariBugFix:function e(t){return"undefined"!=typeof Uint8Array&&t===Uint8Array||"undefined"!=typeof Uint16Array&&t===Uint16Array||"undefined"!=typeof Uint32Array&&t===Uint32Array||"undefined"!=typeof Uint8ClampedArray&&t===Uint8ClampedArray},isNotNullOrUndefined:function e(t){return null!=t},extractOp:function e(t){var n=t.slice(0,t.indexOf("["));return"$"===n.substring(0,1)?n:null},deleteIfPresent:function e(t,n){n in t&&delete t[n]},looksLikeModifier:function e(t){for(var n in t)if(t.hasOwnProperty(n)&&"$"===n.substring(0,1))return!0;return!1},dateToDateString:function e(t){var n=t.getUTCMonth()+1;n<10&&(n="0"+n);var i=t.getUTCDate();return i<10&&(i="0"+i),t.getUTCFullYear()+"-"+n+"-"+i}}}.call(this),function(){var t={type:s.Any,label:s.Optional(s.OneOf(String,Function)),optional:s.Optional(s.OneOf(Boolean,Function)),min:s.Optional(s.OneOf(Number,Date,Function)),max:s.Optional(s.OneOf(Number,Date,Function)),minCount:s.Optional(s.OneOf(Number,Function)),maxCount:s.Optional(s.OneOf(Number,Function)),allowedValues:s.Optional(s.OneOf([s.Any],Function)),decimal:s.Optional(Boolean),exclusiveMax:s.Optional(Boolean),exclusiveMin:s.Optional(Boolean),regEx:s.Optional(s.OneOf(RegExp,[RegExp])),custom:s.Optional(Function),blackbox:s.Optional(Boolean),autoValue:s.Optional(Function),defaultValue:s.Optional(s.Any),trim:s.Optional(Boolean)},n=function(e,t){var n;if(o.isArray(e)||o.isObject(e)&&!(e instanceof Date))return e;if(t===String)return"undefined"!=typeof e&&null!==e&&"string"!=typeof e?e.toString():e;if(t===Number){if("string"==typeof e&&!o.isEmpty(e)){var i=Number(e);return isNaN(i)?e:i}return e}if(t===Date){if("string"==typeof e&&(n=Date.parse(e),!1===isNaN(n)))return new Date(n);if("number"==typeof e)return new Date(e)}return e},r=function(e){return o.each(e,(function(t,n){var i,r;if(t){if(s.test(t.type,d))i=".",r=t.type,t.type=Object;else{if(!s.test(t.type,[d]))return;i=".$.",r=t.type[0],t.type=[Object]}o.each(r._schema,(function(t,r){var o=n+i+r;o in e||(e[o]=t)}))}})),e},u=function(e){o.each(e,(function(t,n){if(o.isArray(t.type)||t.type===Array){var i=n+".$";i in e||(e[i]={}),o.isArray(t.type)&&(e[i].type=t.type[0]),t.label&&(e[i].label=t.label),e[i].optional=!0,"undefined"!=typeof t.min&&(e[i].min=t.min),"undefined"!=typeof t.max&&(e[i].max=t.max),"undefined"!=typeof t.allowedValues&&(e[i].allowedValues=t.allowedValues),"undefined"!=typeof t.decimal&&(e[i].decimal=t.decimal),"undefined"!=typeof t.exclusiveMax&&(e[i].exclusiveMax=t.exclusiveMax),"undefined"!=typeof t.exclusiveMin&&(e[i].exclusiveMin=t.exclusiveMin),"undefined"!=typeof t.regEx&&(e[i].regEx=t.regEx),"undefined"!=typeof t.blackbox&&(e[i].blackbox=t.blackbox),t.type=Array,o.each(["min","max","allowedValues","decimal","exclusiveMax","exclusiveMin","regEx","blackbox"],(function(e){f.deleteIfPresent(t,e)}))}}))},p=function(e){var t=[],n=[],i,r,a,s;for(o.each(e,(function(e,r){for(var o=r.indexOf(".");-1!==o;)".$"===(i=r.substring(0,o)).substring(i.length-2)?o=-1:".$."===r.substring(o,o+3)?(t.push(i),o=r.indexOf(".",o+3)):(n.push(i),o=r.indexOf(".",o+1))})),a=0,s=t.length;a<s;a++)(r=t[a])in e||(e[r]={type:[Object],optional:!0});for(a=0,s=n.length;a<s;a++)(r=n[a])in e||(e[r]={type:Object,optional:!0});return u(e),e},m=function(e){var t={};return o.each(e,(function(e){e=s.test(e,d)?e._schema:p(r(e)),o.each(e,(function(e,n){t[n]=t[n]||{},o.extend(t[n],e)}))})),e.length&&u(t),t},v=function(e,t){var n,i,r={},a;return o.each(e,(function(e,s){e.type===Object&&(n=s+".",a=[],o.each(t,(function(e){e.startsWith(n)&&-1===(i=e.substring(n.length)).indexOf(".")&&a.push(i)})),r[n]=a)})),r},h=function(e){var t=e,n=t.lastIndexOf(".");if(-1!==n&&"$"===(t=t.substring(n+1))){var i=e.split(".");t=i[i.length-2]}return"_id"===t?"ID":l(t)};function g(t,n,i){var r=this,a=[];function s(e){var r=this.key;if(!o.contains(a,r)){var s=r.lastIndexOf("."),u=-1===s?"":r.slice(0,s+1),l=!1,
186c=e.call(o.extend({isSet:void 0!==this.value,unset:function(){l=!0},value:this.value,operator:this.operator,field:function(e){var n=t.getInfoForKey(e)||{};return{isSet:void 0!==n.value,value:n.value,operator:n.operator||null}},siblingField:function(e){var n=t.getInfoForKey(u+e)||{};return{isSet:void 0!==n.value,value:n.value,operator:n.operator||null}}},i||{}),t.getObject());if(a.push(r),void 0!==c){var f,d;if(o.isObject(c))for(var p in c)if(c.hasOwnProperty(p)&&"$"===p.substring(0,1)){f=p,d=c[p];break}!f&&n&&"$"!==this.position.slice(0,1)&&(f="$set",d=c),f?(t.removeValueForPosition(this.position),t.setValueForPosition(f+"["+r+"]",d)):t.setValueForPosition(this.position,c)}else l&&t.removeValueForPosition(this.position)}}e.isClient&&void 0===i.userId&&(i.userId=e.userId&&e.userId()||null),o.each(r._autoValues,(function(e,i){var r,a,u,l;if(-1!==i.indexOf("$")){var d=i.slice(0,i.lastIndexOf("$")+1);u=i.slice(d.length+1),r=c._keyToPosition(u,!0),u="."+u,l=t.getPositionsForGenericKey(d)}else(l=t.getPositionsForGenericKey(i)).length?(a=i,u="",r=""):(a=i,u="",r="",l=n?["$set["+i+"]"]:[c._keyToPosition(i)]);o.each(l,(function(n){s.call({key:(a||c._positionToKey(n))+u,value:t.getValueForPosition(n+r),operator:f.extractOp(n),position:n+r},e)}))}))}(d=function(e,n){var r=this,a=[],u;n=n||{},e=e||{},o.isArray(e)||(e=[e]),r._schema=m(e),r._schemaKeys=[],r._autoValues={},r._blackboxKeys=[],r._validators=[],r._messages={},r._depsMessages=new i.Dependency,r._depsLabels={},o.each(r._schema,(function(e,n){if(!s.test(e,t))throw new Error("Invalid definition for "+n+" field.");if(u=n.split(".")[0],r._schemaKeys.push(n),"defaultValue"in e)if("autoValue"in e)console.warn('SimpleSchema: Found both autoValue and defaultValue options for "'+n+'". Ignoring defaultValue.');else{if(".$"===n.slice(-2))throw new Error('An array item field (one that ends with ".$") cannot have defaultValue.');r._autoValues[n]=function e(t){return function(){if(null===this.operator&&!this.isSet)return t}}(e.defaultValue)}if("autoValue"in e){if(".$"===n.slice(-2))throw new Error('An array item field (one that ends with ".$") cannot have autoValue.');r._autoValues[n]=e.autoValue}r._depsLabels[n]=new i.Dependency,!0===e.blackbox&&r._blackboxKeys.push(n),o.contains(a,u)||a.push(u)})),r._firstLevelSchemaKeys=a,r._objectKeys=v(r._schema,r._schemaKeys),r._validationContexts={}}).extendOptions=function(e){o.extend(t,e)};var x="(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z](?:[a-z-]*[a-z])?",b,_="(?:(?:[0-1]?\\d{1,2}|2[0-4]\\d|25[0-5])(?:\\.|$)){4}",K="(?:(?:[\\dA-Fa-f]{1,4}(?::|$)){8}|(?=(?:[^:\\s]|:[^:\\s])*::(?:[^:\\s]|:[^:\\s])*$)[\\dA-Fa-f]{0,4}(?:::?(?:[\\dA-Fa-f]{1,4}|$)){1,6})",O="(?:"+["(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.|$))+",_,K].join("|")+")";function $(t,n){e.startup((function(){i.autorun((function(){t.isValid()||console.log('SimpleSchema invalid keys for "'+n+'" context:',t.invalidKeys())}))}))}d.RegEx={Email:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Domain:new RegExp("^"+x+"$"),WeakDomain:new RegExp("^"+O+"$"),IP:new RegExp("^(?:"+_+"|"+K+")$"),IPv4:new RegExp("^"+_+"$"),IPv6:new RegExp("^"+K+"$"),Url:/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/i,Id:/^[23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz]{17}$/,ZipCode:/^\d{5}(?:[-\s]\d{4})?$/,Phone:/^[0-9ï¼-ï¼Ù -Ù©Û°-Û¹]{2}$|^[+ï¼]*(?:[-xâ-ââã¼ï¼-ï¼ Â Âââ ã()ï¼ï¼ï¼»ï¼½.\[\]/~ââ¼ï½*]*[0-9ï¼-ï¼Ù -Ù©Û°-Û¹]){3,}[-xâ-ââã¼ï¼-ï¼ Â Âââ ã()ï¼ï¼ï¼»ï¼½.\[\]/~ââ¼ï½0-9ï¼-ï¼Ù -Ù©Û°-Û¹]*(?:;ext=([0-9ï¼-ï¼Ù -Ù©Û°-Û¹]{1,7})|[  \t,]*(?:e?xt(?:ensi(?:oÌ?|ó))?n?|ï½
?ï½ï½ï½?|[,xï½#ï¼~ï½]|int|anexo|ï½ï½ï½)[:\.ï¼]?[  \t,-]*([0-9ï¼-ï¼Ù -Ù©Û°-Û¹]{1,7})#?|[- ]+([0-9ï¼-ï¼Ù -Ù©Û°-Û¹]{1,5})#)?$/i},d._makeGeneric=function(e){return"string"!=typeof e?null:e.replace(/\.[0-9]+(?=\.|$)/g,".$")},d._depsGlobalMessages=new i.Dependency,d.prototype=new s.Where,d.prototype.condition=function(t){var n=this,i,r;if(o.each(t,(function(e,t){"$"===t.substring(0,1)?i=!0:r=!0})),i&&r)throw new s.Error("Object cannot contain modifier operators alongside other keys");var a=n.newContext();
186if(!a.validate(t,{modifier:i,filter:!1,autoConvert:!1})){var u=a.getErrorObject(),l=new s.Error(u.message);throw l.invalidKeys=u.invalidKeys,e.isServer&&(l.sanitizedError=u.sanitizedError),l}return!0},d.prototype.namedContext=function(t){var n=this;return"string"!=typeof t&&(t="default"),n._validationContexts[t]||(n._validationContexts[t]=new y(n),d.debug&&e.isClient&&i.nonreactive((function(){$(n._validationContexts[t],t)}))),n._validationContexts[t]},d._validators=[],d.addValidator=function(e){d._validators.push(e)},d.prototype.addValidator=function(e){this._validators.push(e)},d.prototype.pick=function(){var e=this,t=o.toArray(arguments);t.unshift(e._schema);var n=o.pick.apply(null,t);return new d(n)},d.prototype.omit=function(){var e=this,t=o.toArray(arguments);t.unshift(e._schema);var n=o.omit.apply(null,t);return new d(n)},d.prototype.clean=function(e,t){var i=this;if(t=o.extend({filter:!0,autoConvert:!0,removeEmptyStrings:!0,trimStrings:!0,getAutoValues:!0,isModifier:!1,extendAutoValueContext:{}},t||{}),"$pushAll"in e)for(var r in console.warn("SimpleSchema.clean: $pushAll is deprecated; converting to $push with $each"),e.$push=e.$push||{},e.$pushAll){e.$push[r]=e.$push[r]||{},e.$push[r].$each=e.$push[r].$each||[];for(var a=0,s=e.$pushAll[r].length;a<s;a++)e.$push[r].$each.push(e.$pushAll[r][a]);delete e.$pushAll}var u=new c(e,i._blackboxKeys);if((t.filter||t.autoConvert||t.removeEmptyStrings||t.trimStrings)&&u.forEachNode((function(){var e=this.genericKey,r,o,a;if(e){if(o=i._schema[e],a=this.value,t.filter&&"$unset"!==this.operator&&!i.allowsKey(e))return"[$each]"===this.position.slice(-7)?u.removeValueForPosition(this.position.slice(0,-7)):this.remove(),void(d.debug&&console.info('SimpleSchema.clean: filtered out value that would have affected key "'+e+'", which is not allowed by the schema'));if(void 0!==a){var s=!1;if(t.autoConvert&&"$unset"!==this.operator&&o){var l=n(a,o.type);t.trimStrings&&"string"==typeof l&&(l=l.trim()),void 0!==l&&l!==a&&(!t.removeEmptyStrings||this.operator&&"$set"!==this.operator||"string"!=typeof l||l.length||(l=void 0,"$set"===this.operator&&this.position.match(/\[.+?\]/g).length<2&&(r=this.position.replace("$set","$unset"),u.setValueForPosition(r,""))),d.debug&&console.info("SimpleSchema.clean: autoconverted value "+a+" from "+typeof a+" to "+typeof l+" for "+e),this.updateValue(l),s=!0)}s||(t.trimStrings&&"string"==typeof a&&(!o||o&&!1!==o.trim)&&this.updateValue(a.trim()),!t.removeEmptyStrings||this.operator&&"$set"!==this.operator||"string"!=typeof a||a.length||(this.remove(),"$set"===this.operator&&this.position.match(/\[.+?\]/g).length<2&&(r=this.position.replace("$set","$unset"),u.setValueForPosition(r,""))))}}}),{endPointsOnly:!1}),t.getAutoValues&&g.call(i,u,t.isModifier,t.extendAutoValueContext),t.isModifier)for(var l in e)e.hasOwnProperty(l)&&o.isEmpty(e[l])&&delete e[l];return e},d.prototype.schema=function(e){var t=this;return null!=e?t._schema[d._makeGeneric(e)]:t._schema},d.prototype.getDefinition=function(e,t,n){var i,r=this.schema(e);if(r)return r=o.isArray(t)?o.pick(r,t):o.clone(r),o.each(["min","max","minCount","maxCount","allowedValues","optional","label"],(function(e){o.isFunction(r[e])&&(r[e]=r[e].call(n||{}))})),r.label=r.label||h(e),r},d.prototype.keyIsInBlackBox=function(e){var t=this,n=d._makeGeneric(e),i,r;do{-1!==(i=n.lastIndexOf("."))&&(n=n.slice(0,i),r=t.getDefinition(n))}while(-1!==i&&!r);return!(!r||!r.blackbox)},d.prototype.labels=function(e){var t=this;o.each(e,(function(e,n){(o.isString(e)||o.isFunction(e))&&n in t._schema&&(t._schema[n].label=e,t._depsLabels[n]&&t._depsLabels[n].changed())}))},d.prototype.label=function(e){var t=this;if(null==e){var n={};return o.each(t.schema(),(function(e,i){n[i]=t.label(i)})),n}var i=t.getDefinition(e);if(i){var r=d._makeGeneric(e);return t._depsLabels[r]&&t._depsLabels[r].depend(),i.label}return null},d._globalMessages={required:"[label] is required",minString:"[label] must be at least [min] characters",maxString:"[label] cannot exceed [max] characters",minNumber:"[label] must be at least [min]",maxNumber:"[label] cannot exceed [max]",minNumberExclusive:"[label] must be greater than [min]",maxNumberExclusive:"[label] must be less than [max]",minDate:"[label] must be on or after [min]",maxDate:"[label] cannot be after [max]",badDate:"[label] is not a valid date",minCount:"You must specify at least [minCount] values",maxCount:"You cannot specify more than [maxCount] values",noDecimal:"[label] must be an integer",notAllowed:"[value] is not an allowed value",expectedString:"[label] must be a string",expectedNumber:"[label] must be a number",expectedBoolean:"[label] must be a boolean",expectedArray:"[label] must be an array",expectedObject:"[label] must be an object",expectedConstructor:"[label] must be a [type]",regEx:[{msg:"[label] failed regular expression validation"},{exp:d.RegEx.Email,msg:"[label] must be a valid e-mail address"},{exp:d.RegEx.WeakEmail,msg:"[label] must be a valid e-mail address"},{exp:d.RegEx.Domain,msg:"[label] must be a valid domain"},{exp:d.RegEx.WeakDomain,msg:"[label] must be a valid domain"},{exp:d.RegEx.IP,msg:"[label] must be a valid IPv4 or IPv6 address"},{exp:d.RegEx.IPv4,msg:"[label] must be a valid IPv4 address"},{exp:d.RegEx.IPv6,msg:"[label] must be a valid IPv6 address"},{exp:d.RegEx.Url,msg:"[label] must be a valid URL"},{exp:d.RegEx.Id,msg:"[label] must be a valid alphanumeric ID"}],keyNotInSchema:"[key] is not allowed by the schema"},d.messages=function(e){o.extend(d._globalMessages,e),d._depsGlobalMessages.changed()},d.prototype.messages=function(e){var t=this;o.extend(t._messages,e),t._depsMessages.changed()},d.prototype.messageForError=function(e,t,n,i){var r=this;n=n||r.getDefinition(t,["regEx","label","minCount","maxCount","min","max","type"])||{};var a=e.indexOf("."),s=null,u;-1!==a&&(s=e.substring(a+1),s=parseInt(s,10),e=e.substring(0,a)),"regEx"===e&&(u=null==s||isNaN(s)?n.regEx:n.regEx[s])&&(u=u.toString());var l=e+" "+t,c=d._makeGeneric(t),p=e+" "+c;function m(t){return"regEx"===e&&o.isArray(t)?(u&&(n=o.find(t,(function(e){return e.exp&&e.exp.toString()===u}))),n||(n=o.findWhere(t,{exp:null}))||(n=o.findWhere(t,{exp:void 0})),n?n.msg:null):t;var n}d._depsGlobalMessages.depend(),r._depsMessages.depend();var y=r._messages[l]||r._messages[p]||r._messages[e];
186if((y=m(y))||(y=m(y=d._globalMessages[l]||d._globalMessages[p]||d._globalMessages[e])),!y)return"Unknown validation error";y=(y=y.replace("[key]",t)).replace("[label]",r.label(t)),"undefined"!=typeof n.minCount&&(y=y.replace("[minCount]",n.minCount)),"undefined"!=typeof n.maxCount&&(y=y.replace("[maxCount]",n.maxCount)),y=null!=i?y.replace("[value]",i.toString()):y.replace("[value]","null");var v=n.min,h=n.max;return n.type===Date||n.type===[Date]?("undefined"!=typeof v&&(y=y.replace("[min]",f.dateToDateString(v))),"undefined"!=typeof h&&(y=y.replace("[max]",f.dateToDateString(h)))):("undefined"!=typeof v&&(y=y.replace("[min]",v)),"undefined"!=typeof h&&(y=y.replace("[max]",h))),n.type instanceof Function&&(y=y.replace("[type]",n.type.name)),y},d.prototype.allowsKey=function(e){var t=this;return o.any(t._schemaKeys,(function(n){if(n===e)return!0;if(!0===t.schema(n).blackbox){var i=n.length,r=e.slice(0,i+2),o=r.slice(0,-1);if(r===n+".$")return!1;if(o===n+".")return!0}return!1}))},d.prototype.newContext=function(){return new y(this)},d.prototype.objectKeys=function(e){var t=this;return e?t._objectKeys[e+"."]||[]:t._firstLevelSchemaKeys},d.prototype.validate=function(e,t){if(Package.check&&Package["audit-argument-checks"])try{a(e)}catch(s){}var n=this.newContext(),i;if(!n.validate(e,t)){var r=n.invalidKeys().map((function(e){return{name:e.name,type:e.type,details:{value:e.value}}})),o=n.keyErrorMessage(r[0].name);throw new Package["mdg:validation-error"].ValidationError(r,o)}},d.prototype.validator=function(e){var t=this;return e=e||{},function(n){!0===e.clean&&t.clean(n,e),t.validate(n)}}}.call(this),function(){function e(e,t,n){var i=e.type;if(i===String){if("string"!=typeof t)return"expectedString";if(null!==e.max&&e.max<t.length)return"maxString";if(null!==e.min&&e.min>t.length)return"minString";if(e.regEx instanceof RegExp&&!e.regEx.test(t))return"regEx";var r;if(o.isArray(e.regEx)&&(o.every(e.regEx,(function(e,n){return!!e.test(t)||(r="regEx."+n,!1)})),r))return r}else if(i===Number){if("number"!=typeof t||isNaN(t))return"expectedNumber";if("$inc"!==n&&null!==e.max&&(e.exclusiveMax?e.max<=t:e.max<t))return e.exclusiveMax?"maxNumberExclusive":"maxNumber";if("$inc"!==n&&null!==e.min&&(e.exclusiveMin?e.min>=t:e.min>t))return e.exclusiveMin?"minNumberExclusive":"minNumber";if(!e.decimal&&t.toString().indexOf(".")>-1)return"noDecimal"}else if(i===Boolean){if("boolean"!=typeof t)return"expectedBoolean"}else if(i===Object){if(!f.isBasicObject(t))return"expectedObject"}else if(i===Array){if(!o.isArray(t))return"expectedArray";if(null!==e.minCount&&t.length<e.minCount)return"minCount";if(null!==e.maxCount&&t.length>e.maxCount)return"maxCount"}else if(i instanceof Function||f.safariBugFix(i)){if(!(t instanceof i))return"expectedConstructor";if(i===Date){if(isNaN(t.getTime()))return"badDate";if(o.isDate(e.min)&&e.min.getTime()>t.getTime())return"minDate";if(o.isDate(e.max)&&e.max.getTime()<t.getTime())return"maxDate"}}}p=function t(n,i,r,a,s,u){if(!o.isObject(n))throw new Error("The first argument of validate() or validateOne() must be an object");if(!i&&f.looksLikeModifier(n))throw new Error("When the validation object contains mongo operators, you must set the modifier option to true");var l=[],p;function m(t,i,r,a,m,y,v,h){if(a)if(y||a.optional||null!==t&&"$unset"!==m&&"$rename"!==m&&(void 0!==t||!v&&!h&&m&&"$set"!==m))if("$rename"!==m||"string"!=typeof t||s.allowsKey(t)){if("$unset"!==m&&"$rename"!==m&&f.isNotNullOrUndefined(t)){var g=e(a,t,m);if(g)return void l.push(f.errorObject(g,i,t,a,s));if(a.allowedValues&&!o.contains(a.allowedValues,t))return void l.push(f.errorObject("notAllowed",i,t,a,s))}var x=i.lastIndexOf("."),b=-1===x?"":i.slice(0,x+1),_=a.custom?[a.custom]:[];_=_.concat(s._validators).concat(d._validators),o.every(_,(function(e){var d=e.call(o.extend({key:i,genericKey:r,definition:a,isSet:void 0!==t,value:t,operator:m,field:function(e){var t=(p=p||new c(n,s._blackboxKeys)).getInfoForKey(e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}},siblingField:function(e){var t=(p=p||new c(n,s._blackboxKeys)).getInfoForKey(b+e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}}},u||{}));return"string"!=typeof d||(l.push(f.errorObject(d,i,t,a,s)),!1)}))}else l.push(f.errorObject("keyNotInSchema",t,null,null,s));else l.push(f.errorObject("required",i,null,a,s));else l.push(f.errorObject("keyNotInSchema",i,t,a,s))}function y(e,t,n,i,r,u){var l,c;if(t){if(s.keyIsInBlackBox(t))return;if(l=d._makeGeneric(t),c=s.getDefinition(t),!a||a===t||a===l){var p=o.some(i,(function(e){return e.slice(0,t.length+1)===t+"."}));m(e,t,l,c,n,p,r,u)}}if(null!=e||c&&(c.type!==Object||c.optional)||(e={}),o.isArray(e))o.each(e,(function(e,r){y(e,t+"."+r,n,i)}));else if(f.isBasicObject(e)&&(!c||!c.blackbox)){var v=o.keys(e),h=o.union(v,s.objectKeys(l));r=l&&".$"===l.slice(-2),o.each(h,(function(o){y(e[o],f.appendAffectedKey(t,o),n,i,r,!0)}))}}function v(e){if(o.isEmpty(e))throw new Error("When the modifier option is true, validation object must have at least one operator");var t=o.keys(e.$set||{}).concat(o.keys(e.$setOnInsert||{}));"$setOnInsert"in e&&(r&&(e.$set=e.$set||{},e.$set=o.extend(e.$set,e.$setOnInsert)),delete e.$setOnInsert),o.each(e,(function(e,n){if("$"!==n.slice(0,1))throw new Error("When the modifier option is true, all validation object keys must be operators. Did
186you forget `$set`?");if(f.shouldCheck(n)){if(r&&"$set"===n){var i=o.keys(e);o.each(s.objectKeys(),(function(e){o.contains(i,e)||y(void 0,e,n,t)}))}o.each(e,(function(e,i){"$push"!==n&&"$addToSet"!==n||(f.isBasicObject(e)&&"$each"in e?e=e.$each:i+=".0"),y(e,i,n,t)}))}}))}i?v(n):y(n);var h=[];return l=o.filter(l,(function(e){return!o.contains(h,e.name)&&(h.push(e.name),!0)}))}}.call(this),function(){function t(e,t,n){var i=e.type;if(i===String){if("string"!=typeof t)return"expectedString";if(null!==e.max&&e.max<t.length)return"maxString";if(null!==e.min&&e.min>t.length)return"minString";if(e.regEx instanceof RegExp&&!e.regEx.test(t))return"regEx";var r;if(o.isArray(e.regEx)&&(o.every(e.regEx,(function(e,n){return!!e.test(t)||(r="regEx."+n,!1)})),r))return r}else if(i===Number){if("number"!=typeof t||isNaN(t))return"expectedNumber";if("$inc"!==n&&null!==e.max&&(e.exclusiveMax?e.max<=t:e.max<t))return e.exclusiveMax?"maxNumberExclusive":"maxNumber";if("$inc"!==n&&null!==e.min&&(e.exclusiveMin?e.min>=t:e.min>t))return e.exclusiveMin?"minNumberExclusive":"minNumber";if(!e.decimal&&t.toString().indexOf(".")>-1)return"noDecimal"}else if(i===Boolean){if("boolean"!=typeof t)return"expectedBoolean"}else if(i===Object){if(!f.isBasicObject(t))return"expectedObject"}else if(i===Array){if(!o.isArray(t))return"expectedArray";if(null!==e.minCount&&t.length<e.minCount)return"minCount";if(null!==e.maxCount&&t.length>e.maxCount)return"maxCount"}else if(i instanceof Function||f.safariBugFix(i)){if(!(t instanceof i))return"expectedConstructor";if(i===Date){if(isNaN(t.getTime()))return"badDate";if(o.isDate(e.min)&&e.min.getTime()>t.getTime())return"minDate";if(o.isDate(e.max)&&e.max.getTime()<t.getTime())return"maxDate"}}}function n(t,n,i){var r=new e.Collection(null),a;if(i)a=u.id(),r.upsert({_id:a},t);else{var s=new c(t),l=new c({});o.each(n,(function(e,t){var n;if(e.type===Array&&s.affectsGenericKey(t)?n=[]:e.optional||(n=e.type===Boolean||(e.type===Number?e.min||0:e.type===Date?e.min||new Date:e.type===Array?[]:e.type===Object?{}:"0")),void 0!==n){var i=t.replace(/\.\$/g,".0"),r=c._keyToPosition(i,!1);l.setValueForPosition(r,n)}})),l=l.getObject(),a=r.insert(l),r.update(a,t)}var f=r.findOne(a);return r.remove(a),n._id||delete f._id,f}m=function e(i,r,a,s,u,l){if(!o.isObject(i))throw new Error("The first argument of validate() or validateOne() must be an object");if(r){if(o.isEmpty(i))throw new Error("When the modifier option is true, validation object must have at least one operator");var p;if(!o.every(i,(function(e,t){return"$"===t.substring(0,1)})))throw new Error("When the modifier option is true, all validation object keys must be operators");i=n(i,u.schema(),a)}else if(f.looksLikeModifier(i))throw new Error("When the validation object contains mongo operators, you must set the modifier option to true");var m=[],y;function v(e,n,r,a,s,p,v){if(a)if(p||a.optional||null!=e){if(f.isNotNullOrUndefined(e)){var h=t(a,e,s);if(h)return void m.push(f.errorObject(h,n,e,a,u));if(a.allowedValues&&!o.contains(a.allowedValues,e))return void m.push(f.errorObject("notAllowed",n,e,a,u))}var g=n.lastIndexOf("."),x=-1===g?"":n.slice(0,g+1),b=a.custom?[a.custom]:[];b=b.concat(u._validators).concat(d._validators),o.every(b,(function(t){var d=t.call(o.extend({key:n,genericKey:r,definition:a,isSet:void 0!==e,value:e,operator:s,field:function(e){var t=(y=y||new c(i,u._blackboxKeys)).getInfoForKey(e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}},siblingField:function(e){var t=(y=y||new c(i,u._blackboxKeys)).getInfoForKey(x+e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}}},l||{}));return"string"!=typeof d||(m.push(f.errorObject(d,n,e,a,u)),!1)}))}else m.push(f.errorObject("required",n,null,a,u));else m.push(f.errorObject("keyNotInSchema",n,e,a,u))}function h(e,t,n,i){var r,a;if(t){if(u.keyIsInBlackBox(t))return;r=d._makeGeneric(t),a=u.getDefinition(t),s&&s!==t&&s!==r||v(e,t,r,a,null,n,i)}if(null!=e||a&&(a.type!==Object||a.optional)||(e={}),o.isArray(e))o.each(e,(function(e,n){h(e,t+"."+n)}));else if(f.isBasicObject(e)&&(!a||!a.blackbox)){var l=o.keys(e),c=o.union(l,u._schemaKeys);i=r&&".$"===r.slice(-2),o.each(c,(function(r){f.shouldCheck(r)&&h(e[r],f.appendAffectedKey(t,r),n,i)}))}}h(i);var g=[];return m=o.filter(m,(function(e){return!o.contains(g,e.name)&&(g.push(e.name),!0)}))}}.call(this),function(){function t(e,t,n,i,r,o){var a=!0,s;return p(e,t,n,i,r,o)}(y=function e(t){var n=this;n._simpleSchema=t,n._schema=t.schema(),n._schemaKeys=o.keys(n._schema),n._invalidKeys=[],n._deps={},n._depsAny=new i.Dependency,o.each(n._schemaKeys,(function(e){n._deps[e]=new i.Dependency}))}).prototype.validate=function n(i,r){var a=this;r=o.extend({modifier:!1,upsert:!1,extendedCustomContext:{}},r||{}),e.isClient&&void 0===r.extendedCustomContext.userId&&(r.extendedCustomContext.userId=e.userId&&e.userId()||null);var s=t(i,r.modifier,r.upsert,null,a._simpleSchema,r.extendedCustomContext),u=o.pluck(a._invalidKeys,"name");a._invalidKeys=s;var l=o.pluck(a._invalidKeys,"name"),c=o.union(l,u);return a._markKeysChanged(c),0===a._invalidKeys.length},y.prototype.validateOne=function n(i,r,a){var s=this,u,l,c;a=o.extend({modifier:!1,upsert:!1,extendedCustomContext:{}},a||{}),e.isClient&&void 0===a.extendedCustomContext.userId&&(a.extendedCustomContext.userId=e.userId&&e.userId()||null);var f=t(i,a.modifier,a.upsert,r,s._simpleSchema,a.extendedCustomContext),d=[];for(u=0,l=s._invalidKeys.length;u<l;u++)(c=s._invalidKeys[u]).name!==r&&d.push(c);for(s._invalidKeys=d,u=0,l=f.length;u<l;u++)c=f[u],s._invalidKeys.push(c);return s._markKeysChanged([r]),!s._keyIsInvalid(r)},y.prototype.resetValidation=function e(){var t=this,n=o.pluck(t._invalidKeys,"name");t._invalidKeys=[],t._markKeysChanged(n)},y.prototype.isValid=function e(){var t=this;return t._depsAny.depend(),!t._invalidKeys.length},y.prototype.invalidKeys=function e(){var t=this;return t._depsAny.depend(),t._invalidKeys},y.prototype.addInvalidKeys=function e(t){var n=this;if(t&&t.length){var i=[];o.each(t,(function(e){i.push(e.name),n._invalidKeys.push(e)})),n._markKeysChanged(i)}},y.prototype._markKeysChanged=function e(t){var n=this;t&&t.length&&(o.each(t,(function(e){var t=d._makeGeneric(e);t in n._deps&&n._deps[t].changed()})),n._depsAny.changed())},y.prototype._getInvalidKeyObject=function e(t,n){var i=this;n=n||d._makeGeneric(t);var r=o.findWhere(i._invalidKeys,{name:t});return r||(r=o.findWhere(i._invalidKeys,{name:n})),r},y.prototype._keyIsInvalid=function e(t,n){return!!this._getInvalidKeyObject(t,n)},y.prototype.keyIsInvalid=function e(t){var n=this,i=d._makeGeneric(t);return n._deps[i]&&n._deps[i].depend(),n._keyIsInvalid(t,i)},y.prototype.keyErrorMessage=function e(t){var n=this,i=d._makeGeneric(t);n._deps[i]&&n._deps[i].depend();var r=n._getInvalidKeyObject(t,i);return r?n._simpleSchema.messageForError(r.type,r.name,null,r.value):""},y.prototype.getErrorObject=function t(){var n=this,i,r=this._invalidKeys;r.length?(i=n.keyErrorMessage(r[0].name),r=o.map(r,(function(e){return o.extend({message:n.keyErrorMessage(e.name)}
186,e)}))):i="Failed validation";var a=new Error(i);return a.invalidKeys=r,e.isServer&&(a.sanitizedError=new e.Error(400,i)),a}}.call(this),Package._define("aldeed:simple-schema",{SimpleSchema:d,MongoObject:c,humanize:l})}(); 187 188!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.check.check,o=Package.check.Match,a=Package["ddp-client"].DDP,c=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,d=Package["ecmascript-runtime-client"].Symbol,m=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,l,h=c({node_modules:{meteor:{"mdg:validated-method":{
188"validated-method.js":function t(n,i,t){var o,a,c;t.link("@babel/runtime/helpers/objectSpread2",{default:function(e){o=e}},0),t.export({ValidatedMethod:function(){return r}}),t.link("meteor/check",{check:function(e){a=e},Match:function(e){c=e}},0);var r=function(){function t(t){var n;t.mixins=t.mixins||[],a(t.mixins,[Function]),a(t.name,String),(t=u(t,t.mixins)).connection=t.connection||e,null===t.validate&&(t.validate=function(){}),t.applyOptions=t.applyOptions||{},a(t,c.ObjectIncluding({name:String,validate:Function,run:Function,mixins:[Function],connection:Object,applyOptions:Object}));var i={returnStubValue:!0,throwStubExceptions:!0};t.applyOptions=o(o({},i),t.applyOptions),Object.assign(this,t);var r=this;this.connection.methods(((n={})[t.name]=function(e){a(e,c.Any);var t=this;return r._execute(t,e)},n))}var n=t.prototype;return n.call=function(){function e(e,t){"function"==typeof e&&(t=e,e={});try{return this.connection.apply(this.name,[e],this.applyOptions,t)}catch(n){if(!t)throw n;t(n)}}return e}(),n._execute=function(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e.name=this.name;var n=this.validate.bind(e)(t);if("undefined"!=typeof n)throw new Error("Returning from validate doesn't do anything; perhaps you meant to throw an error?");return this.run.bind(e)(t)}return e}(),t}();function u(e,t){var n,i=e.name;return t.forEach((function(t){if(e=t(e),!c.test(e,Object)){var n=t.toString().match(/function\s(\w+)/),o="One of the mixins";throw n&&(o="The function '"+n[1]+"'"),new Error("Error in "+i+" method: "+o+" didn't return the options object.")}})),e}}}}}},{extensions:[".js",".json"]}),p=h("/node_modules/meteor/mdg:validated-method/validated-method.js");Package._define("mdg:validated-method",p,{ValidatedMethod:l})}(); 189 190!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,a=Package.meteor.meteorEnv,n=Package.tracker.Tracker,o=Package.tracker.Deps,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,d=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,u,m,f=r({node_modules:{meteor:{"kadira:dochead":{
190"main.js":function e(t){u=t("load-script")},lib:{
190"both.js":function t(a,o,t){var r;t.link("@babel/runtime/helpers/createForOfIteratorHelperLoose",{default:function(e){r=e}},0);var d=null;if(Package["kadira:flow-router-ssr"]&&(d=Package["kadira:flow-router-ssr"].FlowRouter),e.isClient)var c=new n.Dependency;m={currentTitle:null,setTitle:function(t){if(e.isClient)c.changed(),document.title=t;else{this.currentTitle=t;var a="<title>"+t+"</title>";this._addToHead(a)}},addMeta:function(e){this._addTag(e,"meta")},addLink:function(e){this._addTag(e,"link")},getTitle:function(){return e.isClient?(c.depend(),document.title):this.currentTitle},addLdJsonScript:function(e){var t=JSON.stringify(e);this._addLdJsonScript(t)},loadScript:function(t,a,n){e.isClient&&u(t,a,n)},_addTag:function(t,a){var n=this._buildTag(t,a);e.isClient?document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",n):this._addToHead(n)},_addToHead:function(e){if(d){var t=d.ssrContext.get();t&&t.addToHead(e)}},_buildTag:function(e,t){var a="",n;for(var o in i.sanitizeForInObject(e))a+=o+'="'+e[o]+'" ';return"<"+t+" "+(a+='dochead="1"')+"/>"},_addLdJsonScript:function(t){var a='<script type="application/ld+json" dochead="1">'+t+"<\/script>";e.isClient?document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeend",a):this._addToHead(a)},removeDocHeadAddedTags:function(){if(e.isClient)for(var t=document.querySelectorAll('[dochead="1"]'),a=r(t),n;!(n=a()).done;){var o=n.value;o.parentNode.removeChild(o)}}}},
190"flow_router.js":function t(){var a;Package["kadira:flow-router-ssr"]&&Package["kadira:flow-router-ssr"].FlowRouter.triggers.enter((function(){e.startup(m.removeDocHeadAddedTags)}))}},node_modules:{"load-script":{
190"package.json":function e(t,a,e){e.exports={name:"load-script",version:"1.0.0"}},
190"index.js":function e(t,a,e){function n(e,t){for(var a in t)e.setAttribute(a,t[a])}function o(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function e(t,a,i){var d=document.head||document.getElementsByTagName("head")[0],c=document.createElement("script"),s;"function"==typeof a&&(i=a,a={}),a=a||{},i=i||function(){},c.type=a.type||"text/javascript",c.charset=a.charset||"utf8",c.async=!("async"in a)||!!a.async,c.src=t,a.attrs&&n(c,a.attrs),a.text&&(c.text=""+a.text),("onload"in c?o:r)(c,i),c.onload||o(c,i),d.appendChild(c)}}}}}}}},{extensions:[".js",".json"]});f("/node_modules/meteor/kadira:dochead/main.js"),f("/node_modules/meteor/kadira:dochead/lib/both.js"),f("/node_modules/meteor/kadira:dochead/lib/flow_router.js"),Package._define("kadira:dochead",{DocHead:m})}(); 191 192!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,c=Package.meteor.meteorEnv,o;(function(){}).call(this),Package._define("meteorhacks:picker",{Picker:o})}(); 193 194!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,a=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,m,p=r({node_modules:{meteor:{webapp:{
194"webapp_client.js":function e(t,o,e){e.export({WebApp:function(){return r}});var r={_isCssLoaded:function(){return 0===document.styleSheets.length||Array.prototype.find.call(document.styleSheets,(function(e){return e.cssText&&!e.cssRules?!e.cssText.match(/meteor-css-not-found-error/):!Array.prototype.find.call(e.cssRules,(function(e){return".meteor-css-not-found-error"===e.selectorText}))}))}}}}}}},{extensions:[".js",".json"]}),i=p("/node_modules/meteor/webapp/webapp_client.js");Package._define("webapp",i,{WebApp:m})}(); 195 196Package._define("hot-code-push"); 197 198!function(){var e;Package._define("launch-screen",{LaunchScreen:e})}(); 199 200!function(){var a=Package.blaze.Blaze,e=Package.blaze.UI,l=Package.blaze.Handlebars;Package._define("ui",{Blaze:a,UI:e,Handlebars:l})}(); 201 202!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.tracker.Tracker,i=Package.tracker.Deps,a=Package.retry.Retry,o=Package["ddp-client"].DDP,s=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,d=Package["ecmascript-runtime-client"].Set,v,h=s({node_modules:{meteor:{autoupdate:{
202"autoupdate_client.js":function t(n,r,t){(function(t){var n;t.export({Autoupdate:function(){return o}}),t.link("./client_versions.js",{ClientVersions:function(e){n=e}},0);var r=e.isCordova?"web.cordova":e.isModern?"web.browser":"web.browser.legacy",i=((__meteor_runtime_config__.autoupdate||{}).versions||{})[r]||{version:"unknown",versionRefreshable:"unknown",versionNonRefreshable:"unknown",assets:[]},o={},s=o._clientVersions=new n;e.connection.registerStore("meteor_autoupdate_clientVersions",s.createStore()),o.newClientAvailable=function(){return s.newClientAvailable(r,["versionRefreshable","versionNonRefreshable"],i)};var c=!1,l=new a({minCount:0,baseTimeout:3e4}),f=0;o._retrySubscription=function(){e.subscribe("meteor_autoupdate_clientVersions",{onError:function(t){e._debug("autoupdate subscription failed",t),f++,l.retryLater(f,(function(){o._retrySubscription()}))},onReady:function(){var t=u.resolve();function n(e){t.then((function(){return o(e)}))}var a=s.watch(n);function o(t){if(t._id===r){if(t.versionNonRefreshable!==i.versionNonRefreshable)return a&&a(),void(Package.reload&&Package.reload.Reload._reload());if(t.versionRefreshable!==i.versionRefreshable){var n=function(t,n){var r;if(t.onload=function(){c=!0,r||(r=!0,n())},!c)var i=e.setInterval((function(){t.sheet&&(r||(r=!0,n()),e.clearInterval(i))}),50)},o=function(){u.length>0&&--l<1&&u.splice(0).forEach((function(e){e.parentNode.removeChild(e)}))};i.versionRefreshable=t.versionRefreshable;var s=t.assets||[],u=[];Array.prototype.forEach.call(document.getElementsByTagName("link"),(function(e){"__meteor-css__"===e.className&&u.push(e)}));var l=s.length;s.length>0?s.forEach((function(t){var r=document.createElement("link"),i;r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("class","__meteor-css__"),r.setAttribute("href",t.url),n(r,(function(){e.setTimeout(o,200)})),document.getElementsByTagName("head").item(0).appendChild(r)})):o()}}}}})},o._retrySubscription()}).call(this,t)},
202"client_versions.js":function e(t,n,e){var r,i;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.export({ClientVersions:function(){return a}}),e.link("meteor/tracker",{Tracker:function(e){i=e}},0);var a=function(){function e(){this._versions=new f,this._watchCallbacks=new d}var t=e.prototype;return t.createStore=function(){function e(){var e=this;return{update:function(t){var n=t.id,r=t.msg,i=t.fields;"added"!==r&&"changed"!==r||e.set(n,i)}}}return e}(),t.hasVersions=function(){function e(){return this._versions.size>0}return e}(),t.get=function(){function e(e){return this._versions.get(e)}return e}(),t.set=function(){function e(e,t){var n=this._versions.get(e),i=!1;n?Object.assign(n,t):(n=r({_id:e},t),i=!0,this._versions.set(e,n)),this._watchCallbacks.forEach((function(e){var t=e.fn,r=e.filter;r&&r!==n._id||t(n,i)}))}return e}(),t.watch=function(){function e(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipInitial,i=n.filter;if(!r){var a=u.resolve();this._versions.forEach((function(t){i&&i!==t._id||a.then((function(){return e(t,!0)}))}))}var o={fn:e,filter:i};return this._watchCallbacks.add(o),function(){return t._watchCallbacks.delete(o)}}return e}(),t.newClientAvailable=function(){function e(e,t,n){function r(r){return r._id===e&&t.some((function(e){return r[e]!==n[e]}))}var a=new i.Dependency,o=this.get(e);a.depend();var s=this.watch((function(e){r(e)&&(a.changed(),s())}),{skipInitial:!0});return!!o&&r(o)}return e}(),e}()}}}}},{extensions:[".js",".json"]}),_=h("/node_modules/meteor/autoupdate/autoupdate_client.js");Package._define("autoupdate",_,{Autoupdate:v})}(); 203 204Mongo=Package.mongo.Mongo,ReactiveVar=Package["reactive-var"].ReactiveVar,$=Package.jquery.$,jQuery=Package.jquery.jQuery,Tracker=Package.tracker.Tracker,Deps=Package.tracker.Deps,d3=Package.d3.d3,Session=Package.session.Session,FlowRouter=Package["kadira:flow-router"].FlowRouter,BlazeLayout=Package["kadira:blaze-layout"].BlazeLayout,Random=Package.random.Random,moment=Package["momentjs:moment"].moment,TAPi18next=Package["tap:i18n"].TAPi18next,TAPi18n=Package["tap:i18n"].TAPi18n,SimpleSchema=Package["aldeed:simple-schema"].SimpleSchema,MongoObject=Package["aldeed:simple-schema"].MongoObject,ValidatedMethod=Package["mdg:validated-method"].ValidatedMethod,DocHead=Package["kadira:dochead"].DocHead,Picker=Package["meteorhacks:picker"].Picker,_=Package.underscore._,Meteor=Package.meteor.Meteor,global=Package.meteor.global,meteorEnv=Package.meteor.meteorEnv,WebApp=Package.webapp.WebApp,DDP=Package["ddp-client"].DDP,LaunchScreen=Package["launch-screen"].LaunchScreen,Blaze=Package.ui.Blaze,UI=Package.ui.UI,Handlebars=Package.ui.Handlebars,Spacebars=Package.spacebars.Spacebars,Template=Package["templating-runtime"].Template,meteorInstall=Package.modules.meteorInstall,meteorBabelHelpers=Package.modules.meteorBabelHelpers,Promise=Package.promise.Promise,Autoupdate=Package.autoupdate.Autoupdate,Reload=Package.reload.Reload,HTML=Package.htmljs.HTML,Symbol=Package["ecmascript-runtime-client"].Symbol,Map=Package["ecmascript-runtime-client"].Map,Set=Package["ecmascript-runtime-client"].Set; 205 206var require=meteorInstall({client:{templates:{
206"template.About.js":function e(){Template.__checkName("About"),Template.About=new Template("Template.About",(function(){var e=this;return HTML.DIV({class:"page about"},"\n ",HTML.DIV({class:"container"},HTML.Raw('\n <div class="col-md-12"></div>\n '),HTML.H1(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_title")}))),HTML.Raw('\n <div style="height:30px;"></div>\n\n '),HTML.SPAN({dir:"auto"},Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"about.htm_main"))}))),HTML.Raw("\n <br>\n "),HTML.DIV("\n ",HTML.H5(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.txt_gen")}))),"\n ",HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_tw")},target:"_blank",href:function(){return["https://twitter.com/home?status=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large">\n </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=Self-driving%20cars%20making%20life-or-death%20choices&summary=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Self-driving%20cars%20making%20life-or-death%20choices&body=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?%20",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n "),HTML.Raw("\n <br>\n "),HTML.DIV({class:"container"},"\n\n ",HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_concept")})))),"\n "),HTML.Raw('<br>\n <div class="row">\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="https://rahwan.me">Iyad Rahwan</a></h4>\n </div>\n \x3c!-- </div> --\x3e\n \x3c!-- <div class="3u 12u$(mobile)"> --\x3e\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="https://jfbonnefon.github.io">Jean-Francois Bonnefon</a></h4>\n </div>\n \x3c!-- </div> --\x3e\n \x3c!-- <div class="3u 12u$(mobile)"> --\x3e\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="https://sharifflab.com">Azim Shariff</a></h4>\n </div>\n </div>\n ')),HTML.Raw('\n <br>\n <div class="row">\n <div class="container divider">\n <h3 class="one" style="position:relative"><span>Lead Researcher</span></h3>\n </div>\n <br>\n <div class="row">\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4" style="width: 100%;">\n <h4><a target="_blank" href="https://www.edmondawad.me">Edmond Awad</a></h4>\n </div>\n </div>\n </div>\n <br>\n '),HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_dev")})))),"\n "),HTML.Raw('<br>\n\n <div class="row">\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="https://www.edmondawad.me">Edmond Awad</a></h4>\n </div>\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="http://www.sohandsouza.info/">Sohan Dsouza</a></h4>\n </div>\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="http://www.linkedin.com/in/pai-ju-chang-31aa14104">Paiju Chang</a></h4>\n </div>\n </div>\n ')),HTML.Raw("\n <br>\n "),HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H4({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_contrib")})))),"\n "),HTML.Raw('<br>\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4"></div>\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4">\n <h4><a target="_blank" href="http://www.linkedin.com/in/danny-tang-78692978">Danny Tang</a></h4>\n </div>\n <div class="col-md-4 col-sm-4 col-xs-4 col-lg-4"></div>\n ')),HTML.Raw("\n <br>\n "),HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_media")})))),"\n ",HTML.H5({dir:"auto"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_contact")}))),"\n "),HTML.Raw('\n <div class="container" dir="ltr">\n <div class="container divider">\n <h4 class="one" style="position:relative"><span>
2062019</span></h4>\n </div>\n <div class="row">\n <div style="text-align: center; width: 100%; margin: 10px 0;">\n <a href="https://www.newyorker.com/science/elements/a-study-on-driverless-car-ethics-offers-a-troubling-look-into-our-values" target="_blank">\n The New Yorker â A Study on Driverless-Car Ethics Offers a Troubling Look Into Our Values\n </a>\n </div>\n </div>\n <div class="container divider">\n <h4 class="one" style="position:relative"><span>2017</span></h4>\n </div>\n <div class="row">\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.nytimes.com/aponline/2017/01/18/us/ap-us-self-driving-cars-ethics.html" target="_blank">New York Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.thetimes.co.uk/article/driverless-cars-need-a-crash-course-in-ethics-2rz99rqxp?shareToken=228f5104f5e6167d3253e42baa96acb7" target="_blank">The Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://apnews.com/e3b6b54f02d24375bb1d7ba2e7dd9446/For-driverless-cars,-a-moral-dilemma:-Who-lives-or-dies" target="_blank">Associated Press</a>\n </div>\n\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">
206\n <a href="http://www.elmundo.es/motor/2017/01/20/5881f58b468aeba54c8b45f4.html" target="_blank">El Mundo\n (ES)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.japantimes.co.jp/news/2017/01/19/business/tech/scientists-weigh-moral-dilemma-driverless-cars-lives-dies/" target="_blank">The Japan Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.thenational.ae/opinion/comment/should-driverless-cars-make-life-or-death-decisions" target="_blank">The National</a>\n </div>\n\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.techrepublic.com/article/why-laws-regulating-autonomous-vehicles-are-needed-now/" target="_blank">TechRepublic</a>\n </div>\n </div>\n <div class="container divider">\n <h4 class="one" style="position:relative"><span>2016</span></h4>\n </div>\n <div class="row">\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.nytimes.com/2016/11/06/opinion/sunday/whose-life-should-your-car-save.html" target="_blank">New York Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.theguardian.com/science/2016/jun/23/will-your-driverless-car-be-willing-to-kill-you-to-save-the-lives-of-others" target="_blank">Guardian</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.newsweek.com/self-driving-cars-coded-moral-compass-522437" target="_blank">Newsweek</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.latimes.com/science/sciencenow/la-sci-sn-autonomous-carsethics-20160623-snap-story.html" target="_blank">LA Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.cbc.ca/news/technology/driverless-vehicles-ethics-1.3648029" target="_blank">CBC</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.spiegel.de/auto/aktuell/autonomes-fahren-moral-machine-gewissensfragen-zu-leben-und-tod-a-1108401.html" target="_blank">Der Spiegel (DE)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.lemonde.fr/sciences/article/2016/06/23/tuer-un-pieton-ou-sacrifier-le-passager-le-dilemme-macabre-des-voitures-autonomes_4956924_1650684.html" target="_blank">Le Monde (FR)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.repubblica.it/motori/sezioni/sicurezza/2016/10/03/news/guida_autonoma_chi_vive_e_chi_muore_il_mit_lancia_un_gioco_-149002826/" target="_blank">La Repubblica (IT)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://elpais.com/elpais/2016/06/22/ciencia/1466610816_591801.html" target="_blank">El Pais\n (ES) (1)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://one.elpais.com/actuara-coche-autonomo-ante-accidente-inevitable/" target="_blank">El\n Pais (ES) (2)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://yle.fi/uutiset/3-9213485" target="_blank">Yle (FI)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.nieuwsblad.be/cnt/dmf20161129_02598178" target="_blank">Nieuwsblad (NL)</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.straitstimes.com/opinion/do-driverless-cars-dream-of-electric-sheep" target="_blank">The Straits Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.ibtimes.co.uk/who-dies-you-decide-mit-simulator-tackles-deadly-moral-dilemma-autonomous-car-crashes-1593963" target="_blank">IB Times</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.smh.com.au/technology/sci-tech/driverless-cars-if-a-robot-driver-is-given-a-choice-who-will-die-in-a-car-crash-20161124-gsws7g.html" target="_blank">SMH.com.au</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.pbs.org/newshour/rundown/people-want-self-driving-cars-to-value-passenger-safety-over-pedestrians-study-says/" target="_blank">PBS</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.scientificamerican.com/article/driverless-cars-will-face-moral-dilemmas/" target="_blank">Scientific American</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.popsci.com/mit-game-asks-w
206ho-driverless-cars-should-kill" target="_blank">Popular\n Science</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://techcrunch.com/2016/10/04/did-you-save-the-cat-or-the-kid/" target="_blank">TechCrunch</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.newscientist.com/article/2094964-save-the-driver-or-pedestrian-such-robot-car-dilemmas-are-folly/" target="_blank">New Scientist</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.wired.com/2016/06/people-want-self-driving-cars-save-lives-especially/" target="_blank">Wired</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.huffingtonpost.com/entry/driverless-cars-moral-dilemma_us_576c1bd0e4b0aa4dc3d4b557" target="_blank">Huffington Post</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.slate.com/blogs/future_tense/2016/08/11/moral_machine_from_mit_poses_self_driving_car_thought_experiments.html" target="_blank">Slate</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.cnet.com/au/news/how-will-driverless-cars-make-life-or-death-choices-google-exec-admits-he-doesnt-know/" target="_blank">CNET</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://thenextweb.com/lifestyle/2016/08/08/driverless-cars-kill-passengers/" target="_blank">The Next Web</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://www.eenews.net/stories/1060044432" target="_blank">Greenwire</a>\n </div>\n <div class="col-md-3 col-sm-3 col-xs-3 col-lg-3">\n <a href="http://searchcio.techtarget.com/news/450402818/Investigating-the-moral-machine" target="_blank">TechTarget</a>\n </div>\n </div>\n </div>\n ')),HTML.Raw('\n <div class="row">\n <div class="container divider">\n <br>\n <iframe width="560" height="315" src="https://embed.ted.com/talks/lang/en/iyad_rahwan_what_moral_decisions_should_driverless_cars_make" frameborder="0" scrolling="no" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>\n \x3c!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/nhCh1pBsS80?hl={{currentLanguage}}" frameborder="0" allowfullscreen></iframe> --\x3e\n </div>\n </div>\n <br>\n '),HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_pub")})))),"\n "),HTML.Raw('<br>\n <div class="container" style="text-align:left;">\n <ul>\n <li>\n E. Awad, S. Dsouza, A. Shariff, I. Rahwan, J.-F. Bonnefon (2020).\n <a href="https://www.pnas.org/content/117/5/2332?fbclid=IwAR3Nvx7C-rAwGypp_sgJUAcGndgrgC5o60vYelvkccGcZvSh9kAZOXSjWDM" target="_blank">\n <em>Universals and variations in moral decisions made in 42 countries by 70,000 participants.</em>\n </a>\n <strong>Proceedings of the National Academy of Sciences.</strong>\n 117(5)\n </li>\n <li>\n E. Awad, S. Dsouza, A. Shariff, J.-F. Bonnefon, I. Rahwan (2020).\n <a href="https://cacm.acm.org/magazines/2020/3/243030-crowdsourcing-moral-machines/fulltext?fbclid=IwAR0zWXWZT48iM3Odl8o7Q-g6Dc1Vh6aEnqJnPx3MIY7KPVOVwfyDQwbPfck" target="_blank">\n <em>Crowdsourcing moral machines.</em>\n </a>\n <strong>Communications of the ACM.</strong>\n 63(3)\n </li>\n <li>E. Awad, S. Dsouza, R. Kim, J. Schulz, J. Henrich, A. Shariff, J.-F. Bonnefon, I. Rahwan (2018). <a href="https://www.nature.com/articles/s41586-018-0637-6" target="_blank"><em>The Moral Machine\n experiment</em></a>. <strong>Nature</strong>. 563(7729)</li>\n <li>
206R. Noothigattu, S. Gaikwad, E. Awad, S. Dsouza, I. Rahwan, P. Ravikumar, A. D. Procaccia (2017). <a href="https://arxiv.org/abs/1709.06692" target="_blank"><em>A Voting-Based System for Ethical Decision\n Making</em></a>. <strong>AAAI-18</strong>.</li>\n <li>A. Shariff, J. F. Bonnefon, I. Rahwan (2017). <a href="http://rdcu.be/vKrb" target="_blank"><em>Psychological roadblocks to the adoption of self-driving vehicles</em></a>.\n <strong>Nature Human Behaviour</strong>. 1(10)\n </li>\n <li>J. F. Bonnefon, A. Shariff, I. Rahwan (2016). <a href="http://science.sciencemag.org/content/352/6293/1573" target="_blank"><em>The Social Dilemma of\n Autonomous Vehicles</em></a>. <strong>Science</strong>. 352(6293)</li>\n </ul>\n </div>\n ')),HTML.Raw("\n <br>\n "),HTML.DIV({class:"row",dir:"auto"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_title")})))),"\n "),HTML.Raw('<br>\n <div class="container">\n <h4>\n You can find a visualization for the study\'s results <a class="Visualization" style="cursor: pointer;">here</a>.\n </h4>\n </div>\n ')),HTML.Raw("\n <br>\n "),HTML.DIV({class:"row",dir:"auto"},"\n ",HTML.DIV({class:"container divider"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_acknow")})))),"\n "),HTML.Raw("<br>\n "),HTML.DIV({class:"container"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_reid")}))),Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"about.htm_lang"))})),"\n "),"\n "),HTML.Raw('\n <br>\n\n <header>\n <hr class="divider">\n </header>\n\n '),HTML.DIV({class:"container eye-blocked-container",style:"display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;"},HTML.Raw('\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>AI scares you, but can you scare it?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger deepmoji-button" style="margin-top: 15px;" target="_blank" href="https://spookthemachine.com/">\n <span class="deepmoji">Spook the Machine</span>\n </a>\n </div>\n\n '),HTML.DIV({class:"col-md-3 d-flex flex-column align-items-center",style:"margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;"},HTML.Raw("\n <div>\n <b>Our game about charity dilemmas.</b>\n <p>(opens new tab)</p>\n </div>\n "),HTML.A({class:"btn btn-danger mygoodness-button",style:"margin-top: 15px;",target:"_blank",href:"http://mygoodness.mit.edu"},"\n ",HTML.SVG({class:"icon icon-goodgeek",style:"width:20px;height:20px; position:relative; top:5px; margin-right: 5px;"},"\n ",HTML.USE({"xlink:href":"#icon-goodgeek",style:"fill:white;"}),"\n "),HTML.Raw('\n <span class="mygoodness">MyGoodness</span>\n ')),"\n "),HTML.Raw('\n\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>Which matters more â habitat or homes?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger eye-blocked-button" style="margin-top: 15px;" target="_blank" href="https://last-haven.net">
206\n <span class="eye-blocked">Last Haven</span>\n </a>\n </div>\n\n ')),HTML.Raw('\n\n\n\n\n\n\n\n\n\n <div style="height:30px;"></div>\n <div class="row">\n <a href="https://www.mpib-berlin.mpg.de/chm/" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/Max-Planck-Gesellschaft.png" alt="Max Plank">\n </a>\n <a href="http://web.mit.edu/" target="_blank">\n <img style="height: 160px; padding: 15px;" src="http://avgame.s3-accelerate.amazonaws.com/images/logo/mit_logo.png" alt="MIT">\n </a>\n <a href="https://www.exeter.ac.uk" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/colour_logo.png" alt="Exter">\n </a>\n <a href="https://www.tse-fr.eu" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/TSE_Logo_2019.png" alt="TSE">\n </a>\n <a href="https://www.ubc.ca" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/UBC_logo.png" alt="UBC">\n </a>\n </div>\n ')),HTML.Raw('\n\n \x3c!-- <div style="height:300px; background: #f0f0f0;"></div>\n --\x3e\n\n ')),"\n\n ")}))},
206"template.AboutMobile.js":function e(){Template.__checkName("AboutMobile"),Template.AboutMobile=new Template("Template.AboutMobile",(function(){var e=this;return HTML.DIV({class:"page about"},"\n ",HTML.DIV({class:"container"},HTML.Raw('\n <div class="col-md-12"></div>\n '),HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_title")}))),HTML.Raw('\n <div style="height:20px;"></div>\n\n '),HTML.SPAN({dir:"auto"},Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"about.htm_main"))}))),"\n\n ",HTML.DIV("\n ",HTML.H5(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.txt_gen")}))),"\n ",HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," about.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_tw")},target:"_blank",href:function(){return["twitter://post?message=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_wa")},href:function(){return["whatsapp://send?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped"))]},"data-action":"share/whatsapp/share",class:"Share-link m-whatsapp"},HTML.Raw('<i class="fa fa-whatsapp fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=Self-driving%20cars%20making%20life-or-death%20choices&summary=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Self-driving%20cars%20making%20life-or-death%20choices&body=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?%20",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),HTML.Raw("\n <br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large">\n </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°å¾®ä¿¡",target:"_blank",href:function(){return["weixin://dl/businessWebview/link/?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"&appid=MoralMachine"]}},HTML.Raw('<i class="fa fa-weixin fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"kr")]}},HTML.Raw("<br>\n "),HTML.A({title:"ì¹´ì¹´ì¤í¡ì ê³µì ",target:"_blank",href:function(){return["kakaolink://sendurl?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&msg=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"&appid=m.kakao.com&appver=2.0&appname=Moral%20Machine"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_talk_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ë°´ëì ê³µì ",target:"_blank",href:function(){return["bandapp://create/post?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_band_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ja")]}},HTML.Raw("<br>\n "),HTML.A({title:"LINEã§ã·ã§ã¢",target:"_blank",href:function(){return["line://msg/text/",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/jp_line_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n "),"\n\n ",HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_concept")})))),"\n "),HTML.Raw('<br>\n <div class="3u 12u$(mobile)" style="display: inline-block;">\n\n <h4><a target="_blank" href="https://rahwan.me">Iyad Rahwan</a></h4>\n\n <h4><a target="_blank" href="https://jfbonnefon.github.io">Jean-Francois Bonnefon</a></h4>\n\n <h4><a target="_blank" href="http://www.azimshariff.com/">Azim Shariff</a></h4>\n\n </div>\n ')),HTML.Raw('\n <div class="row">\n <div class="container" style="color:grey;">\n <h3 class="one" style="position:relative"><span>Lead Researcher</span></h3>\n </div>\n <br>\n <div class="3u 12u$(mobile)" style="display: inline-block;">\n <h4><a target="_blank" href="https://www.edmondawad.me">Edmond Awad</a></h4>\n </div>\n </div>\n '),HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_dev")})))),"\n "),HTML.Raw('<br>\n <div class="3u 12u$(mobile)" style="display: inline-block;">\n\n <h4><a target="_blank" href="https://www.edmondawad.me">Edmond Awad</a></h4>\n\n <h4><a target="_blank" href="http://www.sohandsouza.info/">Sohan Dsouza</a></h4>\n\n <h4><a target="_blank" href="http://www.linkedin.com/in/pai-ju-chang-31aa14104">Paiju Chang</a></h4>\n\n </div>\n ')),"\n ",HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H4({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_contrib")})))),"\n "),HTML.Raw('\n <div class="3u 12u$(mobile)" style="display: inline-block;">\n\n <h4><a target="_blank" href="http://www.linkedin.com/in/danny-tang-78692978">Danny Tang</a></h4>\n\n </div>\n ')),"\n ",HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_media")})))),"\n ",HTML.H5({dir:"auto"},Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"about.htm_contact"))}))),"\n "),HTML.Raw('\n\n <div class="container divider">\n <h4 class="one" style="position:relative"><span>
2062019</span></h4>\n </div>\n <div class="row">\n <div style="text-align: center; width: 100%; margin: 10px 0;">\n <a href="https://www.newyorker.com/science/elements/a-study-on-driverless-car-ethics-offers-a-troubling-look-into-our-values" target="_blank">\n The New Yorker â A Study on Driverless-Car Ethics Offers a Troubling Look Into Our Values\n </a>\n </div>\n </div>\n <div class="container" style="color:grey;">\n <h4 class="one" style="position:relative"><span>2017</span></h4>\n </div>\n <a href="http://www.nytimes.com/aponline/2017/01/18/us/ap-us-self-driving-cars-ethics.html" target="_blank">New York Times</a>,\n <a href="http://www.thetimes.co.uk/article/driverless-cars-need-a-crash-course-in-ethics-2rz99rqxp?shareToken=228f5104f5e6167d3253e42baa96acb7" target="_blank">The Times</a>,\n <a href="http://apnews.com/e3b6b54f02d24375bb1d7ba2e7dd9446/For-driverless-cars,-a-moral-dilemma:-Who-lives-or-dies" target="_blank">Associated Press</a>
206,\n <a href="http://www.elmundo.es/motor/2017/01/20/5881f58b468aeba54c8b45f4.html" target="_blank">El Mundo\n (ES)</a>,\n <a href="http://www.japantimes.co.jp/news/2017/01/19/business/tech/scientists-weigh-moral-dilemma-driverless-cars-lives-dies/" target="_blank">The Japan Times</a>,\n <a href="http://www.thenational.ae/opinion/comment/should-driverless-cars-make-life-or-death-decisions" target="_blank">The National</a>,\n <a href="http://www.techrepublic.com/article/why-laws-regulating-autonomous-vehicles-are-needed-now/" target="_blank">TechRepublic</a>\n <div class="container" style="color:grey;">\n <h4 class="one" style="position:relative"><span>2016</span></h4>\n </div>\n <div class="3u 12u$(mobile)" style="display: inline-block;">\n <a href="http://www.nytimes.com/2016/11/06/opinion/sunday/whose-life-should-your-car-save.html" target="_blank">New York Times</a>,\n <a href="http://www.theguardian.com/science/2016/jun/23/will-your-driverless-car-be-willing-to-kill-you-to-save-the-lives-of-others" target="_blank">Guardian</a>,\n <a href="http://www.newsweek.com/self-driving-cars-coded-moral-compass-522437" target="_blank">Newsweek</a>,\n <a href="http://www.latimes.com/science/sciencenow/la-sci-sn-autonomous-cars-ethics-20160623-snap-story.html" target="_blank">LA Times</a>,\n <a href="http://www.cbc.ca/news/technology/driverless-vehicles-ethics-1.3648029" target="_blank">CBC</a>,\n <a href="http://www.spiegel.de/auto/aktuell/autonomes-fahren-moral-machine-gewissensfragen-zu-leben-und-tod-a-1108401.html" target="_blank">Der Spiegel (DE)</a>,\n <a href="http://www.lemonde.fr/sciences/article/2016/06/23/tuer-un-pieton-ou-sacrifier-le-passager-le-dilemme-macabre-des-voitures-autonomes_4956924_1650684.html" target="_blank">Le Monde (FR)</a>,\n <a href="http://www.repubblica.it/motori/sezioni/sicurezza/2016/10/03/news/guida_autonoma_chi_vive_e_chi_muore_il_mit_lancia_un_gioco_-149002826/" target="_blank">La Repubblica (IT)</a>,\n <a href="http://elpais.com/elpais/2016/06/22/ciencia/1466610816_591801.html" target="_blank">El Pais (ES)\n (1)</a>,\n <a href="http://one.elpais.com/actuara-coche-autonomo-ante-accidente-inevitable/" target="_blank">El Pais\n (ES) (2)</a>,\n <a href="http://yle.fi/uutiset/3-9213485" target="_blank">Yle (FI)</a>,\n <a href="http://www.nieuwsblad.be/cnt/dmf20161129_02598178" target="_blank">Nieuwsblad (NL)</a>,\n <a href="http://www.straitstimes.com/opinion/do-driverless-cars-dream-of-electric-sheep" target="_blank">The\n Straits Times</a>,\n <a href="http://www.ibtimes.co.uk/who-dies-you-decide-mit-simulator-tackles-deadly-moral-dilemma-autonomous-car-crashes-1593963" target="_blank">IB Times</a>,\n <a href="http://www.smh.com.au/technology/sci-tech/driverless-cars-if-a-robot-driver-is-given-a-choice-who-will-die-in-a-car-crash-20161124-gsws7g.html" target="_blank">SMH.com.au</a>,\n <a href="http://www.pbs.org/newshour/rundown/people-want-self-driving-cars-to-value-passenger-safety-over-pedestrians-study-says/" target="_blank">PBS</a>,\n <a href="http://www.scientificamerican.com/article/driverless-cars-will-face-moral-dilemmas/" target="_blank">Scientific American</a>,\n <a href="http://www.popsci.com/mit-game-asks-who-driverless-cars-should-kill" target="_blank">Popular\n Science</a>,\n <a href="http://techcrunch.com/2016/10/04/did-you-save-the-cat-or-the-kid/" target="_blank">TechCrunch</a>,\n <a href="http://www.newscientist.com/article/2094964-save-the-driver-or-pedestrian-such-robot-car-dilemmas-are-folly/" target="_blank">New Scientist</a>,\n <a href="http://www.wired.com/2016/06/people-want-self-driving-cars-save-lives-especially/" target="_blank">Wired</a>,\n <a href="http://www.huffingtonpost.com/entry/driverless-cars-moral-dilemma_us_576c1bd0e4b0aa4dc3d4b557" target="_blank">Huffington Post</a>,\n <a href="http://www.slate.com/blogs/future_tense/2016/08/11/moral_machine_from_mit_poses_self_driving_car_thought_experiments.html" target="_blank">Slate</a>,\n <a href="http://www.cnet.com/au/news/how-will-driverless-cars-make-life-or-death-choices-google-exec-admits-he-doesnt-know/" target="_blank">CNET</a>,\n <a href="http://thenextweb.com/lifestyle/2016/08/08/driverless-cars-kill-passengers/" target="_blank">The\n Next Web</a>,\n <a href="http://www.eenews.net/stories/1060044432" target="_blank">Greenwire</a>,\n <a href="http://searchcio.techtarget.com/news/450402818/Investigating-the-moral-machine" target="_blank">TechTarget</a>\n </div>\n ')),HTML.Raw('\n <br>\n <iframe width="350" height="197" src="https://embed.ted.com/talks/lang/en/iyad_rahwan_what_moral_decisions_should_driverless_cars_make" frameborder="0" scrolling="no" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>\n \x3c!-- <iframe width="350" height="197" src="https://www.youtube.com/embed/nhCh1pBsS80?hl={{currentLanguage}}" frameborder="0" allowfullscreen></iframe> --\x3e\n '),HTML.DIV({class:"row"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_pub")})))),"\n "),HTML.Raw('<br>\n <div class="3u 12u$(mobile)" style="display: inline-block;text-align:left;">\n <ul>\n <li>\n E. Awad, S. Dsouza, A. Shariff, I. Rahwan, J.-F. Bonnefon (2020).\n <a href="https://www.pnas.org/content/117/5/2332?fbclid=IwAR3Nvx7C-rAwGypp_sgJUAcGndgrgC5o60vYelvkccGcZvSh9kAZOXSjWDM" target="_blank">\n <em>Universals and variations in moral decisions made in 42 countries by 70,000 participants.</em>\n </a>\n <strong>Proceedings of the National Academy of Sciences.</strong>\n 117(5)\n </li>\n <li>\n E. Awad, S. Dsouza, A. Shariff, J.-F. Bonnefon, I. Rahwan (2020).\n <a href="https://cacm.acm.org/magazines/2020/3/243030-crowdsourcing-moral-machines/fulltext?fbclid=IwAR0zWXWZT48iM3Odl8o7Q-g6Dc1Vh6aEnqJnPx3MIY7KPVOVwfy
206DQwbPfck" target="_blank">\n <em>Crowdsourcing moral machines.</em>\n </a>\n <strong>Communications of the ACM.</strong>\n 63(3)\n </li>\n <li>E. Awad, S. Dsouza, R. Kim, J. Schulz, J. Henrich, A. Shariff, J.-F. Bonnefon, I. Rahwan (2018). <a href="https://www.nature.com/articles/s41586-018-0637-6" target="_blank"><em>The Moral Machine\n experiment</em></a>. <strong>Nature</strong>. 563(7729)</li>\n <li>R. Noothigattu, S. Gaikwad, E. Awad, S. Dsouza, I. Rahwan, P. Ravikumar, A. D. Procaccia (2017). <a href="https://arxiv.org/abs/1709.06692" target="_blank"><em>A Voting-Based System for Ethical Decision\n Making</em></a>. <strong>AAAI-18</strong>.</li>\n <li>A. Shariff, J. F. Bonnefon, I. Rahwan (2017). <a href="http://rdcu.be/vKrb" target="_blank"><em>Psychological roadblocks to the adoption of self-driving vehicles</em></a>.\n <strong>Nature Human Behaviour</strong>. 1(10)\n </li>\n <li>J. F. Bonnefon, A. Shariff, I. Rahwan (2016). <a href="http://science.sciencemag.org/content/352/6293/1573" target="_blank"><em>The Social Dilemma of\n Autonomous Vehicles</em></a>. <strong>Science</strong>. 352(6293)</li>\n </ul>\n </div>\n ')),"\n ",HTML.DIV({class:"row",dir:"auto"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_title")})))),"\n "),HTML.Raw('<br>\n <div class="3u 12u$(mobile)" style="display: inline-block;text-align:center">\n <h4>\n You can find a visualization for the study\'s results <a class="Visualization" style="cursor: pointer;">here</a>.\n </h4>\n </div>\n ')),"\n ",HTML.DIV({class:"row",dir:"auto"},"\n ",HTML.DIV({class:"container",style:"color:grey;"},"\n ",HTML.H3({class:"one",style:"position:relative"},HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_acknow")})))),"\n "),HTML.Raw("<br>\n "),HTML.DIV({class:"3u 12u$(mobile)",style:"display: inline-block;text-align:center"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"about.txt_reid")}))),Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"about.htm_lang"))})),"\n "),"\n "),HTML.Raw('\n\n\n\n <header>\n <hr class="divider">\n </header>\n\n '),HTML.DIV({class:"container eye-blocked-container",style:"display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;"},HTML.Raw('\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>AI scares you, but can you scare it?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger deepmoji-button" style="margin-top: 15px;" target="_blank" href="https://spookthemachine.com/">\n <span class="deepmoji">Spook the Machine</span>\n </a>\n </div>\n\n '),HTML.DIV({class:"col-md-3 d-flex flex-column align-items-center",style:"margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;"},HTML.Raw("\n <div>\n <b>Our game about charity dilemmas.</b>\n <p>(opens new tab)</p>\n </div>\n "),HTML.A({class:"btn btn-danger mygoodness-button",style:"margin-top: 15px;",target:"_blank",href:"http://mygoodness.mit.edu"},"\n ",HTML.SVG({class:"icon icon-goodgeek",style:"width:20px;height:20px; position:relative; top:5px; margin-right: 5px;"},"\n ",HTML.USE({"xlink:href":"#icon-goodgeek",style:"fill:white;"}
206),"\n "),HTML.Raw('\n <span class="mygoodness">MyGoodness</span>\n ')),"\n "),HTML.Raw('\n\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>Which matters more â habitat or homes?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger eye-blocked-button" style="margin-top: 15px;" target="_blank" href="https://last-haven.net">\n <span class="eye-blocked">Last Haven</span>\n </a>\n </div>\n\n ')),HTML.Raw('\n\n <div style="height:30px;"></div>\n <div class="row">\n <a href="https://www.mpib-berlin.mpg.de/chm/" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/Max-Planck-Gesellschaft.png" alt="Max Plank">\n </a>\n <a href="http://web.mit.edu/" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="http://avgame.s3-accelerate.amazonaws.com/images/logo/mit_logo.png" alt="MIT">\n </a>\n <a href="https://www.exeter.ac.uk" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/colour_logo.png" alt="Exter">\n </a>\n <a href="https://www.tse-fr.eu" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/TSE_Logo_2019.png" alt="TSE">\n </a>\n <a href="https://www.ubc.ca" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/UBC_logo.png" alt="UBC">\n </a>\n </div>\n ')),HTML.Raw('\n\n\n \x3c!-- <div style="height:300px; background: #f0f0f0;"></div>\n --\x3e\n\n ')),"\n\n ")}))},
206"template.Banner.js":function e(){Template.__checkName("Banner"),Template.Banner=new Template("Template.Banner",(function(){var e=this;return HTML.DIV({style:"\n margin: 0 auto 4px auto;\n border: 2px black solid;\n border-radius: 6px;\n max-height: 220px;\n max-width: 364px;\n color: white;\n box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);\n margin: 36px 16px 0 16px;\n overflow: hidden;\n "},"\n ",HTML.A({href:function(){return Spacebars.mustache(Spacebars.dot(e.lookup("."),"link"))},target:"_blank"},"\n ",HTML.IMG({style:"width: 100%; height: 100%;",src:function(){return Spacebars.mustache(Spacebars.dot(e.lookup("."),"image"))}}),"\n "),"\n ")}))},
206"template.BannerMobile.js":function e(){Template.__checkName("BannerMobile"),Template.BannerMobile=new Template("Template.BannerMobile",(function(){var e=this;return HTML.DIV({style:"\n border: 2px black solid;\n border-radius: 6px;\n max-height: 190px;\n max-width: 315px;\n color: white;\n box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);\n margin: 16px auto 0 auto;\n overflow: hidden;\n "},"\n ",HTML.A({href:function(){return Spacebars.mustache(Spacebars.dot(e.lookup("."),"link"))},target:"_blank"},"\n ",HTML.IMG({style:"width: 100%; height: 100%;",src:function(){return Spacebars.mustache(Spacebars.dot(e.lookup("."),"image"))}}),"\n "),"\n ")}))},
206"template.Classic.js":function e(){Template.__checkName("Classic"),Template.Classic=new Template("Template.Classic",(function(){var e=this;return[HTML.DIV({class:"page classic"},HTML.Raw('\n <i id="load-cog-0" class="fa fa-cog fa-5x icon-spin-counter avgame-cog"></i>\n <i id="load-cog-1" class="fa fa-cog fa-5x fa-spin avgame-cog"></i>\n \x3c!--<div id="counter" class="avgame-counter">{{Si}} / {{NoScenario}}</div> --\x3e\n '),HTML.DIV({class:"container page "},HTML.Raw('\n \x3c!-- <div class="page"> --\x3e\n '),HTML.DIV({style:"width:100%"},"\n ",HTML.DIV({class:"judgetitle"},HTML.Raw('\n \x3c!-- <h2 class="prompt">Should the trolley stay on its path or switch tracks?</h2> --\x3e\n '),HTML.H2({class:"prompt"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"classic.txt_question")}))),"\n ",HTML.DIV({id:"counter2",class:"avgame-counter2"},Blaze.View("lookup:Si",(function(){return Spacebars.mustache(e.lookup("Si"))}))," / 3"),"\n "),HTML.Raw('\n \x3c!--LEFT SPACE--\x3e\n \x3c!-- <div class="realcanvas descrip judgeLeftDescription" id=\'descriptonleft\'>\n <div id=\'descriptonleftSpan\'></div>\n </div> --\x3e\n \x3c!--put plot and button here--\x3e\n <div>\n <div id="plotcontainer" class="row">\n <div id="left_outcome" class="left_outcomeDestop">\n <div id="left_plot" class="left_plotDestop">\n <div class="canvas avgame-outcome" s="">\n <canvas class="realcanvas pccanvas" id="canvas_images0" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/classic/side0.png\');"></canvas>\n </div>\n\x3c!-- <div class="button-box row" style=\'text-align:center;margin-top:15px;\'>\n <a id=\'leftbutton\' class="btn btn-danger btndesc" role="button" style=\'width:50%\'><span id="leftshow" style="display:inline;">{{_ "common.descr.btn_show"}}</span><span id="lefthide" style="display:none;">{{_ "common.descr.btn_hide"}}</span></a>\n </div> --\x3e\n </div>\n <div class="realcanvas descrip left_descripDestop" id="descriptonleft">\n <div id="descriptonleftSpan" dir="auto"></div>\n </div>\n </div>\n <div id="right_outcome" class="right_outcomeDestop">\n <div id="right_plot" class="right_plotDestop">\n <div class="canvas avgame-outcome">\n <canvas class="realcanvas pccanvas" id="canvas_images1" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/classic/side1.png\');"></canvas>\n </div>\n\x3c!-- <div class="button-box row" style=\'text-align:center;margin-top:15px\'>\n <a id=\'rightbutton\' class="btn btn-danger btndesc" role="button" style=\'width:50%\'><span id="rightshow" style="display:inline;">{{_ "common.descr.btn_show"}}</span><span id="righthide" style="display:none;">{{_ "common.descr.btn_hide"}}</span></a>\n </div> --\x3e\n </div>\n <div class="realcanvas descrip right_descripDestop" id="descriptonright">\n <div id="descriptonrightSpan" dir="auto"></div>\n </div>\n </div>\n </div>\n <div id="descriptoncenter" class="row" dir="auto" style="text-align:initial;">\n </div>\n </div>\n ')),"\n ",Blaze.View("lookup:showScenario",(function(){return Spacebars.mustache(e.lookup("showScenario"))})),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"exitWarning",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"exitWarningContent"},"\n ",HTML.DIV({id:"close-interr-modal",class:"modal-header"}
206,HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_msg")}))),"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"judge.interr.consent_htm"))})),"\n ",HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"nobutton",class:"btn btn-danger",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_back")}))),"\n ",HTML.A({id:"yesbutton",class:"btn ",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_leave")}))),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"optout-modal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span id="close-optout-modal" class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.small_htm"))}))),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n if (Session.get(\"firstLoadClassic\") === \"N\") Helpers.showClassicScenario();\n\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n var descripScroll = false;\n\n $('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n $('#plotcontainer').css(\"height\", $('.canvas').width() * 1.5 + 30);\n\n var maxWidth = $('canvas').width();\n var maxHeight = $('canvas').height();\n\n $(window).resize(function() {\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $('.canvas').width();\n var currentCanvasHeight = $('.canvas').height();\n\n if (newWindowWidth != currentWindowWidth) {\n $('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n ")]}))},
206"template.ClassicMobile.js":function e(){Template.__checkName("ClassicMobile"),Template.ClassicMobile=new Template("Template.ClassicMobile",(function(){var e=this;return[HTML.DIV({class:"page classic scrolldown"},HTML.Raw('\n <i id="load-cog-0" class="fa fa-cog fa-5x icon-spin-counter avgame-cog"></i>\n <i id="load-cog-1" class="fa fa-cog fa-5x fa-spin avgame-cog"></i>\n '),HTML.DIV({id:"counter",class:"counter-mobile"},Blaze.View("lookup:Si",(function(){return Spacebars.mustache(e.lookup("Si"))}))," / ",Blaze.View("lookup:NoScenario",(function(){return Spacebars.mustache(e.lookup("NoScenario"))}))),"\n ",HTML.DIV({class:"container"},"\n ",HTML.H4({class:"prompt-mobile",style:"text-align: center;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"classic.txt_question")}))),"\n ",HTML.DIV({class:"swiper-container"},HTML.Raw('\n <div class="swiper-wrapper">\n \x3c!-- Slides --\x3e\n <div id="left_swiper" class="swiper-slide">\n <div id="left_outcome" class="col-xs-10 page left thumbnail">\n <div class="canvas left" style="position: relative;">\n <canvas class="realcanvas" id="canvas_0M" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images0M" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/N.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip" id="descriptonleft" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonleftSpan" dir="auto"></div>\n </div>\n <p class="canvas_desc mobile"></p>\n </div>\n </div>\n </div>\n <div id="right_swiper" class="swiper-slide">\n <div id="right_outcome" class="col-xs-10 page right thumbnail">\n <div class="canvas right" style="position: relative;">\n <canvas class="realcanvas" id="canvas_1M" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images1M" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/N.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip" id="descriptonright" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonrightSpan" dir="auto"></div>\n </div>\n <p class="canvas_desc mobile"></p>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- If we need pagination --\x3e\n <div class="swiper-pagination"></div>\n '),Blaze.View("lookup:showScenario",(function(){return Spacebars.mustache(e.lookup("showScenario"))})),HTML.Raw('\n \x3c!-- If we need navigation buttons --\x3e\n \x3c!-- <div class="swiper-button-prev"></div>\n <div class="swiper-button-next"></div> --\x3e\n ')),"\n ",HTML.DIV({id:"buttomarrayy",style:"text-align: center;",dir:"auto"},HTML.Raw('\n\x3c!-- <a id="describe" class="btn btn-danger btndesc disabled" style=\'display: inline-block;width:10%;\'>\n <span class="fa fa-question-circle" style=\'margin-right:2%;\'></span>\n </a> --\x3e\n '),HTML.DIV({id:"carDirection",style:"display: inline-block; width:67%"},"\n ",HTML.A({id:"straightcar",class:"btn btn-danger",style:"font-size:9pt;margin-right:1%;margin-left:1%; width:46%"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"classic.outcome.btn_avoid")})),"\n "),"\n ",HTML.A({id:"shiftcar",class:"btn btn-danger",style:"font-size:9pt;margin-right:1%;margin-left:1%;width:46%;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"classic.outcome.btn_act")})),"\n "),"\n "),"\n ",HTML.A({id:"sumitresult",class:"btn btn-danger disabled",style:"display: inline-block;width:20%;"}
206,HTML.Raw('\n <span class="fa fa-train"> </span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.btn_submit")})),"\n "),"\n "),HTML.Raw('\n <div id="descriptoncenter" class="row" style="padding:10px;text-align:initial;" dir="auto">\n </div>\n ')),"\n ",HTML.DIV({class:"scrollindicator"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_scroll")}))),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"exitWarning",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"exitWarningContent"},"\n ",HTML.DIV({id:"close-interr-modal",class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_msg")}))),"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"judge.interr.consent_htm"))})),"\n ",HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"nobutton",class:"btn btn-danger",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_back")}))),"\n ",HTML.A({id:"yesbutton",class:"btn ",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_leave")}))),"\n "),"\n "),"\n "),"\n "),"\n\n ",HTML.DIV({id:"optout-modal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span id="close-optout-modal" class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.small_htm"))}))),"\n "),"\n "),"\n "),HTML.Raw('\n\n \x3c!-- The Modal --\x3e\n \x3c!-- The Modal2 --\x3e\n \x3c!-- <div id="notallowSumit" class="modal">\n \n <div class="modal-content" id=\'exitWarningContent\'>\n <div class="modal-header">\n <span class="close2">Ã</span>\n <h3>Something wrong</h3>\n </div>\n <div class="modal-body">\n <h4>you should choose one scenerio before clicking sumit/info buttons.</h4>\n <div class="button-box row" style=\'text-align:center;margin-top:15px\'>\n <a id=\'backbutton\' class="btn btn-danger" role="button">Back to Judging</a>\n </div>\n </div>\n </div>\n </div> --\x3e\n ')),"\n ",HTML.SCRIPT("\n if (Session.get(\"firstLoadClassic\") === \"N\") Helpers.showClassicScenario();\n /////////////////\n\n // var isMobile = {\n // Android: function() {\n // return navigator.userAgent.match(/Android/i);\n // },\n // BlackBerry: function() {\n // return navigator.userAgent.match(/BlackBerry/i);\n // },\n // iOS: function() {\n // return navigator.userAgent.match(/iPhone|iPad|iPod/i);\n // },\n // Opera: function() {\n // return navigator.userAgent.match(/Opera Mini/i);\n // }
206,\n // Windows: function() {\n // return navigator.userAgent.match(/IEMobile/i) || navigator.userAgent.match(/WPDesktop/i);\n // },\n // any: function() {\n // return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());\n // }\n // };\n\n\n // if( isMobile.any() ) alert('Mobile');\n\n\n\n ///////////////////\n\n\n\n\n var swiper = new Swiper('.swiper-container', {\n pagination: '.swiper-pagination',\n slidesPerView: 1,\n paginationClickable: true,\n spaceBetween: 0,\n effect: 'cube',\n speed: 300,\n onlyExternal: true,\n //nextButton: $('#left_swiper').children().first().attr('id') == \"left_outcome\"? '#shiftcar': '#straightcar',\n //prevButton: $('#left_swiper').children().first().attr('id') == \"left_outcome\"? '#straightcar': '#shiftcar',\n cube: {\n slideShadows: false,\n shadow: false,\n },\n // paginationBulletRender: function(index, className) {\n // return ((index == 0 ? '<span class=\"fa fa-hand-o-left\"></span> swipe' : '') + '<span class=\"' + className + '\"></span>' + (index == 1 ? 'swipe <span class=\"fa fa-hand-o-right\"></span>' : ''));\n // },\n onTransitionStart: function(swiper) {\n\n var target\n if ($('#left_swiper').children().first().attr('id') == \"left_outcome\") {\n\n target = swiper.activeIndex == 0 ? '#descriptonleft' : '#descriptonright'\n } else {\n target = swiper.activeIndex == 1 ? '#descriptonleft' : '#descriptonright'\n }\n\n var n = $(target).css(\"opacity\");\n if (n == 0) {\n $('.btndesc').removeClass('active')\n //$('.btndesc').text('Show Description')\n } else {\n\n $('.btndesc').addClass('active')\n //$('.btndesc').text('Hide Description');\n }\n\n },\n });\n\n\n\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n\n $('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n\n var maxWidth = $('canvas').width();\n var maxHeight = $('canvas').height();\n var descripScroll = false;\n\n var resized = false;\n $(window).resize(function() {\n if (resized) return;\n resized = true;\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $('.canvas').width();\n var currentCanvasHeight = $('.canvas').height();\n\n if (newWindowWidth != currentWindowWidth) {\n $('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n "),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n $('body').css('height', $('.scrolldown').height() + 50 + 'px');\n if ($(document).height() <= $(window).height()) {\n $('.scrollindicator').addClass('filter-is-visible');\n }\n\n $(window).scroll(function () {\n const h = $(window).scrollTop() +\n $(window).height() +\n $('#descriptoncenter').height() / 2+50; \n if (h >= $(document).height()) {\n $('.scrollindicator').addClass('filter-is-visible');\n descripScroll = true;\n } else {\n $('.scrollindicator').removeClass('filter-is-visible');\n }\n});\n")]}))},
206"template.ClassicSurvey.js":function e(){Template.__checkName("ClassicSurvey"),Template.ClassicSurvey=new Template("Template.ClassicSurvey",(function(){var e=this;return HTML.DIV({class:"container",style:"text-align: center;"},HTML.Raw("\n \x3c!-- {{resetfirstloadclassic}} --\x3e\n "),HTML.DIV({class:"modal-header"},"\n ",HTML.DIV("\n ",HTML.H5(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.txt_gen")})),"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_classic")}))),"\n ",HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_tw")},target:"_blank",href:function(){return["https://twitter.com/home?status=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=Classic%20trolley%20problem%20dilemmas&summary=The%20Moral%20Machine%20presents%20its%20original%20inspiration%20for%20you%20to%20decide%20on&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Classic%20trolley%20problem%20dilemmas&body=The%20Moral%20Machine%20presents%20its%20original%20inspiration%20for%20you%20to%20decide%20on%20",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n "),HTML.Raw('\n \x3c!-- <div class="container deepmoji-container">\n <div class="col-md-12">\n \n </div>\n <div class="col-md-4">\n \n </div>\n <div class="col-md-4" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Try our emotional AI app too!</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger deepmoji-button" target="_blank" href="http://deepmoji.mit.edu">\n <svg class="icon icon-robot" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-robot" style="fill:white;"></use></svg>\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n <div class="col-md-4">\n \n </div>\n </div> --\x3e\n \x3c!-- <div class="container eye-blocked-container">\n <div class="col-md-12">\n \n </div>\n <div class="col-md-1">\n \n </div>\n <div class="col-md-3" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Try our emotional AI app.</b>\n <br>(opens new tab)<br/>\n <br>\n <a class="btn btn-danger deepmoji-button" target="_blank" href="http://deepmoji.mit.edu/contribute/">\n <svg class="icon icon-robot" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-robot" style="fill:white;"></use></svg>\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n <div class="col-md-3" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Our game about charity dilemmas.</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger mygoodness-button" target="_blank" href="http://mygoodness.mit.edu">\n <svg class="icon icon-goodgeek" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-goodgeek" style="fill:white;"></use></svg>
206\n <span class="mygoodness">MyGoodness</span>\n </a>\n </div>\n <div class="col-md-3" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>And our AI to disappear objects in images.</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger eye-blocked-button" target="_blank" href="http://deepangel.media.mit.edu">\n <svg class="icon icon-eye-blocked" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-eye-blocked" style="fill:white;"></use></svg>\n <span class="eye-blocked">Deep Angel</span>\n </a>\n </div>\n <div class="col-md-2">\n \n </div>\n </div> --\x3e\n\n <br>\n '),HTML.H3({id:"surveyTitleThank",style:"display:none;"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_thank")})),"\n "),"\n ",HTML.H3({id:"surveyTitle"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_answer")}))),"\n "),"\n ",HTML.DIV({id:"survey",class:"survey"},"\n ",HTML.DIV({style:"align:center;",id:"survey3",class:"surveyblock"},"\n ",HTML.DIV({id:"o_age",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_age")}))),"\n ",HTML.TEXTAREA({dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"age",name:"age",rows:"1",style:"width:20%"}),"\n "),"\n ",HTML.DIV({id:"o_gender",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_gender"))}))),"\n "),"\n ",HTML.DIV({id:"o_education",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_edu"))}))),"\n "),"\n ",HTML.DIV({id:"o_income",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_income"))}))),"\n "),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey4",class:"surveyblock"},"\n ",HTML.DIV({id:"o_political",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_min")}))),HTML.Raw('\n <input style="display:inline;width:50%" id="political" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_max")}))),"\n "),"\n ",HTML.DIV({id:"o_religious",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_min")}))),HTML.Raw('\n <input style="display:inline;width:50%" id="religious" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_max")}))),"\n "),"\n "),"\n ",HTML.DIV({class:"surveyq"},HTML.Raw("\n <br>\n "),HTML.DIV({style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"submitsurvey",class:"btn btn-danger btndesc",role:"button",style:"width:25%"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_submit")}))),"\n "),"\n "),"\n "),HTML.Raw('\n <div class="col-md-1"></div>\n '),HTML.DIV({class:"col-md-10 results-optout",dir:"auto"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_disclaimer_classic"))}))),"\n "),HTML.Raw('\n <div class="col-md-1"></div>\n <div class="col-xs-6" style="height:50px;"></div>\n \x3c!-- The Modal --\x3e\n '),HTML.DIV({id:"myModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_msg"))}))),"\n "),"\n "),"\n "),"\n ")}))},
206"template.ClassicSurveyMobile.js":function e(){Template.__checkName("ClassicSurveyMobile"),Template.ClassicSurveyMobile=new Template("Template.ClassicSurveyMobile",(function(){var e=this;return[HTML.DIV({class:"container",style:"text-align: center;"},HTML.Raw("\n \x3c!-- {{resetfirstloadclassic}} --\x3e\n "),HTML.DIV({class:"modal-header"},"\n ",HTML.DIV("\n ",HTML.H5(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.txt_gen")})),"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_classic")}))),"\n ",HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," about.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_tw")},target:"_blank",href:function(){return["twitter://post?message=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_wa")},href:function(){return["whatsapp://send?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped"))]},"data-action":"share/whatsapp/share",class:"Share-link m-whatsapp"},HTML.Raw('<i class="fa fa-whatsapp fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=Classic%20trolley%20problem%20dilemmas&summary=The%20Moral%20Machine%20presents%20its%20original%20inspiration%20for%20you%20to%20decide%20on&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Classic%20trolley%20problem%20dilemmas&body=The%20Moral%20Machine%20presents%20its%20original%20inspiration%20for%20you%20to%20decide%20on%20",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),HTML.Raw("\n <br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°å¾®ä¿¡",target:"_blank",href:function(){return["weixin://dl/businessWebview/link/?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"&appid=MoralMachine"]}},HTML.Raw('<i class="fa fa-weixin fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"kr")]}},HTML.Raw("<br>\n "),HTML.A({title:"ì¹´ì¹´ì¤í¡ì ê³µì ",target:"_blank",href:function(){return["kakaolink://sendurl?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&msg=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"&appid=m.kakao.com&appver=2.0&appname=Moral%20Machine"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_talk_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ë°´ëì ê³µì ",target:"_blank",href:function(){return["bandapp://create/post?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_band_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ja")]}},HTML.Raw("<br>\n "),HTML.A({title:"LINEã§ã·ã§ã¢",target:"_blank",href:function(){return["line://msg/text/",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/jp_line_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"%20",Spacebars.mustache(e.lookup("i18nEscaped"),"main.header.btn_classic"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),HTML.Raw('\n \x3c!-- <div class="container deepmoji-container">\n <div class="col-md-12">\n \n </div>\n <div class="col-md-12" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Try our emotional AI app too!</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger deepmoji-button" target="_blank" href="http://deepmoji.mit.edu">\n <svg class="icon icon-robot" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-robot" style="fill:white;"></use></svg>\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n </div> --\x3e\n \x3c!-- <div class="container eye-blocked-container">\n <div class="col-md-12">\n \n </div>\n <div class="col-md-12" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Try our emotional AI app.</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger deepmoji-button" target="_blank" href="http://deepmoji.mit.edu/contribute/">\n <svg class="icon icon-robot" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-robot" style="fill:white;"></use></svg>\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n <div class="col-md-12" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Our game about charity dilemmas.</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger mygoodness-button" target="_blank" href="http://mygoodness.mit.edu">\n <svg class="icon icon-goodgeek" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-goodgeek" style="fill:white;"></use></svg>\n <span class="mygoodness">MyGoodness</span>\n </a>\n </div>\n <div class="col-md-12" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>And our AI to disappear objects in images.</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger eye-blocked-button" target="_blank" href="http://deepangel.media.mit.edu">\n <svg class="icon icon-eye-blocked" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-eye-blocked" style="fill:white;"></use></svg>
206\n <span class="eye-blocked">Deep Angel</span>\n </a>\n </div>\n </div> --\x3e\n\n ')),"\n ",HTML.H3({id:"surveyTitleThank",style:"display:none;"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_thank")})),"\n "),"\n ",HTML.H3({id:"surveyTitle"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_answer")}))),"\n "),"\n ",HTML.DIV({id:"survey",class:"survey"},"\n ",HTML.DIV({style:"align:center;",id:"survey3",class:"surveyblock"},"\n ",HTML.DIV({id:"o_age",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_age")}))),"\n ",HTML.TEXTAREA({dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"age",name:"age",rows:"1",style:"width:20%"}),"\n "),"\n ",HTML.DIV({id:"o_gender",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_gender"))}))),"\n "),"\n ",HTML.DIV({id:"o_education",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_edu"))}))),"\n "),"\n ",HTML.DIV({id:"o_income",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_income"))}))),"\n "),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey4",class:"surveyblock"},"\n ",HTML.DIV({id:"o_political",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political")}))),HTML.Raw('\n \x3c!-- <div style="display:inline-block;">{{_ "results.survey.txt_political_min"}}</div> --\x3e\n <input style="display:inline" id="political" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_min")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_max")}))),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"o_religious",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious")}))),HTML.Raw('\n \x3c!-- <div style="display:inline-block;">{{_ "results.survey.txt_religious_min"}}</div> --\x3e\n <input style="display:inline;" id="religious" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_min")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_max")}))),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({class:"surveyq"},HTML.Raw("\n <br>\n "),HTML.DIV({style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"submitsurvey",class:"btn btn-danger btndesc",role:"button",style:"width:25%"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_submit")}))),"\n "),"\n "),HTML.Raw('\n <div class="col-xs-6" style="height:50px;"></div>\n ')),HTML.Raw('\n <div class="col-md-1"></div>\n '),HTML.DIV({class:"col-md-12 results-optout",dir:"auto"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_disclaimer_classic"))}))),"\n "),"\n ",HTML.DIV({id:"myModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"}
206,HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_msg"))}))),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"covidSurveyModal",class:"modal-full",style:"text-align: center;",dir:"ltr"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"covidSurveyModalContent",style:"display: flex;"},"\n ",Spacebars.include(e.lookupTemplate("Covid19SurveyMobile")),"\n "),"\n ")]}))},
206"template.Covid19Survey.js":function e(){Template.__checkName("Covid19Survey"),Template.Covid19Survey=new Template("Template.Covid19Survey",(function(){var e=this;return[HTML.HEAD("\n ",HTML.SCRIPT('\n function show_value(id, x) {\n document.getElementById(`${id}-value`).innerHTML = Math.round(\n parseFloat(x) * 100\n );\n }\n function enforceMinMax(el) {\n if (el.value != "") {\n if (parseInt(el.value) < parseInt(el.min)) {\n el.value = el.min;\n }\n if (parseInt(el.value) > parseInt(el.max)) {\n el.value = el.max;\n }\n }\n }\n // Restricts input for the set of matched elements to the given inputFilter function.\n\n // setInputFilter(document.getElementById("demography-age"), function(value) {\n // return /^-?\\d*$/.test(value);\n // });\n '),"\n "),HTML.Raw('\n \x3c!-- <div class="col-md-2"></div> --\x3e\n '),HTML.DIV({id:"covidSurveyBody",class:"container col-md-8",style:"text-align: center; display: flex; flex-direction: column;",dir:"auto"},HTML.Raw('\n <span id="close-covid-modal" class="close3" style="text-align: right;">Ã</span>\n '),HTML.DIV({class:"modal-header",style:"text-align: initial; width: 80%; margin: auto;"},"\n ",HTML.H5({id:"covidSurveyTitle",style:"text-align: center;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.intro")})),"\n "),"\n ",HTML.H3({id:"covidSurveyTitleThank",style:"display: none; text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.thank-you")})),"\n "),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.DIV({id:"covidSurveyDisclaimer",style:"\n display: none;\n max-width: 80%;\n margin: auto;\n text-align: initial;\n "},"\n ",HTML.DIV({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_disclaimer_covid"))})),"\n "),"\n "),"\n ",HTML.DIV({id:"covidSurvey",class:"survey",style:"max-width: 80%; margin: auto;"},"\n ",HTML.DIV({id:"covidBlock1",class:"covidSurveyBlock"},HTML.Raw("\n <br>\n "),HTML.DIV("\n ",HTML.DIV({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.description"))})),"\n "),"\n "),"\n ",HTML.DIV({class:"covidq1g"},"\n ",HTML.DIV({id:"q-ventilator-priority-might-help-with-virus",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.DIV({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.might-help-with-virus"))})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-might-help-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="margin: auto;" id="ventilator-priority-might-help-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-helped-with-virus",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.helped-with-virus")})),"\n "),HTML.Raw("\n <br>\n "),HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-helped-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-helped-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n ",HTML.DIV({id:"q-ventilator-priority-years-of-life-remaining",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.years-of-life-remaining")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-years-of-life-remaining-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-years-of-life-remaining" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-quality-of-life",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.quality-of-life")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-quality-of-life-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-quality-of-life" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-chance-of-recovery",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.chance-of-recovery")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-chance-of-recovery-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-chance-of-recovery" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-first-in",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.first-in")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-first-in-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-first-in" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-ability-to-pay",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.ability-to-pay")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-ability-to-pay-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-ability-to-pay" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-random-lottery",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.random-lottery")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-random-lottery-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-random-lottery" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n "),"\n "),HTML.Raw("\n\n <br><br>
206\n "),HTML.DIV({id:"covidBlock2",class:"covidSurveyBlock"},HTML.Raw("\n <br>\n "),HTML.DIV("\n ",HTML.DIV({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.description"))})),"\n "),"\n "),"\n ",HTML.DIV({class:"covidq2g"},"\n ",HTML.DIV({id:"q-ventilator-swap-might-help-with-virus",class:"covidq2",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.might-help-with-virus")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-might-help-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="margin: auto;" id="ventilator-swap-might-help-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-swap-helped-with-virus",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.helped-with-virus")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-swap-helped-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-helped-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-swap-years-of-life-remaining",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.years-of-life-remaining")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-years-of-life-remaining-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;
206" id="ventilator-swap-years-of-life-remaining" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-swap-quality-of-life",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.quality-of-life")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-quality-of-life-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-quality-of-life" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-swap-chance-of-recovery",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.chance-of-recovery")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-swap-chance-of-recovery-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-chance-of-recovery" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-swap-first-in",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.first-in")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-first-in-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-first-in" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-swap-ability-to-pay",class:"covidq1",style:"max-width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.ability-to-pay")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-swap-ability-to-pay-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-ability-to-pay" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n "),"\n "),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"covidBlock3",class:"covidSurveyBlock"},"\n ",HTML.DIV({id:"q-alternate-strategies",class:"covidq3"},HTML.Raw("\n <br><br>\n "),HTML.P("\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.alternate-strategies.alternate-strategies")})),"\n "),"\n ",HTML.TEXTAREA({dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"alternate-strategies",rows:"4",style:"width: 80%;"}),"\n "),"\n "),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"covidBlock4",class:"covidSurveyBlock"},"\n ",HTML.DIV({class:"covidq4g"},"\n ",HTML.DIV({id:"q-demography-age",class:"covidq4"},HTML.Raw("\n <br><br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.age")}))),"\n ",HTML.INPUT({type:"number",min:"13",max:"100",dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"demography-age",name:"age",style:"width: 20%;",onblur:"enforceMinMax(this)"}),"\n "),"\n\n ",HTML.DIV({id:"q-demography-gender",class:"covidq1"},HTML.Raw("\n <br>\n "),HTML.SPAN("\n ",HTML.P({style:"display: inline;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.text")})),"\n "),"\n ",HTML.SELECT({id:"demography-gender",style:"width: 20%; margin-left: 20px;"},HTML.Raw('\n <option value="default"></option>\n '),HTML.OPTION({value:"male"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.options.male")})),"\n "),"\n ",HTML.OPTION({value:"female"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.options.female")})),"\n "),"\n ",HTML.OPTION({value:"others"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.options.other")})),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"q-demography-political",class:"covidq1",style:"width: 80%; margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.political")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_min")})),HTML.Raw("<br>\n ")),HTML.Raw('\n <p id="demography-political-value" style="color: red;">\n .\n </p>\n '),HTML.P({style:"font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_max")}
206)),HTML.Raw("<br>\n ")),"\n "),HTML.Raw('\n <input style="text-align: initial;" id="demography-political" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n ')),"\n "),"\n "),"\n\n ",HTML.DIV({id:"covidBlock5",class:"covidSurveyBlock"},HTML.Raw("\n <br>\n <br>\n "),HTML.DIV({id:"q-know-patient",class:"covidq5"},HTML.Raw("\n <br>\n "),HTML.SPAN("\n ",HTML.P("\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.know-patient.know-patient.text")})),"\n "),"\n ",HTML.SELECT({id:"know-patient",style:"width: 20%;"},HTML.Raw('\n <option value="default"></option>\n '),HTML.OPTION({value:"yes"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.know-patient.know-patient.options.yes")})),"\n "),"\n ",HTML.OPTION({value:"no"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.know-patient.know-patient.options.no")})),"\n "),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({class:"covidSurveyq"},HTML.Raw("\n <br>\n "),HTML.DIV({style:"text-align: center; margin-top: 15px;"},"\n ",HTML.A({id:"submit-covid-19-survey",class:"btn btn-danger btndesc",role:"button",style:"width: 25%; margin-bottom: 30px;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.submit")}))),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"optout-modal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span id="close-optout-modal" class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.small_htm"))}))),"\n "),"\n "),"\n "),"\n ")]}))},
206"template.Covid19SurveyMobile.js":function e(){Template.__checkName("Covid19SurveyMobile"),Template.Covid19SurveyMobile=new Template("Template.Covid19SurveyMobile",(function(){var e=this;return[HTML.HEAD("\n ",HTML.SCRIPT('\n function show_value(id, x) {\n document.getElementById(`${id}-value`).innerHTML = Math.round(\n parseFloat(x) * 100\n );\n }\n function enforceMinMax(el) {\n if (el.value != "") {\n if (parseInt(el.value) < parseInt(el.min)) {\n el.value = el.min;\n }\n if (parseInt(el.value) > parseInt(el.max)) {\n el.value = el.max;\n }\n }\n }\n '),"\n "),"\n ",HTML.DIV({class:"container",style:"text-align: center;",dir:"auto"},HTML.Raw('\n <span id="close-covid-modal" class="close3" style="text-align: right;">Ã</span>\n '),HTML.DIV({class:"modal-header"},"\n ",HTML.H5({id:"covidSurveyTitle"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.intro")}))),"\n ",HTML.H3({id:"covidSurveyTitleThank",style:"display: none;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.thank-you")})),"\n "),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.DIV({id:"covidSurveyDisclaimer",style:"\n display: none;\n max-width: 80%;\n margin: auto;\n text-align: initial;\n "},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_disclaimer_covid"))}))),"\n "),"\n ",HTML.DIV({id:"covidSurvey",class:"survey"},"\n ",HTML.DIV({id:"covidBlock1",class:"covidSurveyBlock"},HTML.Raw("\n <br>\n "),HTML.DIV("\n ",HTML.DIV({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.description"))})),"\n "),"\n "),"\n ",HTML.DIV({class:"covidq1g"},"\n ",HTML.DIV({id:"q-ventilator-priority-might-help-with-virus",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.might-help-with-virus")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-might-help-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="margin: auto;" id="ventilator-priority-might-help-with-virus" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-helped-with-virus",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.helped-with-virus")})),"\n "),HTML.Raw("\n <br>\n "),HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-helped-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-helped-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n ",HTML.DIV({id:"q-ventilator-priority-years-of-life-remaining",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.years-of-life-remaining")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-years-of-life-remaining-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-years-of-life-remaining" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-quality-of-life",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.quality-of-life")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-quality-of-life-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-quality-of-life" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-chance-of-recovery",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.chance-of-recovery")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-chance-of-recovery-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-chance-of-recovery" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-first-in",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.first-in")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-first-in-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-first-in" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-ability-to-pay",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.ability-to-pay")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-priority-ability-to-pay-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-ability-to-pay" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n\n ",HTML.DIV({id:"q-ventilator-priority-random-lottery",class:"covidq1",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-priority.random-lottery")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-priority-random-lottery-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-priority-random-lottery" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n "),"\n "),HTML.Raw("\n\n <br><br>
206\n "),HTML.DIV({id:"covidBlock2",class:"covidSurveyBlock"},HTML.Raw("\n <br>\n "),HTML.DIV("\n ",HTML.DIV({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.description"))})),"\n "),"\n "),"\n ",HTML.DIV({class:"covidq2g"},"\n ",HTML.DIV({id:"q-ventilator-swap-might-help-with-virus",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.might-help-with-virus")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-might-help-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="margin: auto;" id="ventilator-swap-might-help-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-ventilator-swap-helped-with-virus",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.helped-with-virus")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-swap-helped-with-virus-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-helped-with-virus" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-ventilator-swap-years-of-life-remaining",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.years-of-life-remaining")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-years-of-life-remaining-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;
206" id="ventilator-swap-years-of-life-remaining" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-ventilator-swap-quality-of-life",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.quality-of-life")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-quality-of-life-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-quality-of-life" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-ventilator-swap-chance-of-recovery",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.chance-of-recovery")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-swap-chance-of-recovery-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-chance-of-recovery" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-ventilator-swap-first-in",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.first-in")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">\n <span id="ventilator-swap-first-in-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-first-in" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-ventilator-swap-ability-to-pay",class:"covidq2",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.ventilator-swap.ability-to-pay")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.not-considered")})),"\n "),HTML.Raw('\n <p style="text-align: initial;">
206\n <span id="ventilator-swap-ability-to-pay-value" style="color: red;">.</span>\n </p>\n '),HTML.P({style:"width: 60px; font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.sliders.considered")})),"\n "),"\n "),HTML.Raw('\n <div style="display: flex;">\n <p style="\n width: 24px;\n margin-right: 10px;\n text-align: initial;\n ">\n 0\n </p>\n <input style="text-align: initial;" id="ventilator-swap-ability-to-pay" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n <p style="margin-left: 10px;">100</p>\n </div>\n <br><br>\n ')),"\n "),"\n "),HTML.Raw("\n\n <br><br>\n "),HTML.DIV({id:"covidBlock3",class:"covidSurveyBlock"},HTML.Raw("\n <br>\n "),HTML.DIV({id:"q-alternate-strategies",class:"covidq3"},HTML.Raw("\n <br>\n "),HTML.P("\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.alternate-strategies.alternate-strategies")})),"\n "),"\n ",HTML.TEXTAREA({dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"alternate-strategies",name:"age",rows:"4",style:"width: 80%;"}),"\n "),"\n "),HTML.Raw("\n\n <br><br>\n "),HTML.DIV({id:"covidBlock4",class:"covidSurveyBlock"},"\n ",HTML.DIV({class:"covidq4g"},HTML.Raw("\n <br>\n "),HTML.DIV({id:"q-demography-age",class:"covidq4"},"\n ",HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.age")}))),"\n ",HTML.INPUT({type:"number",min:"13",max:"100",dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"demography-age",name:"age",style:"width: 20%;",onblur:"enforceMinMax(this)"}),"\n "),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-demography-gender",class:"covidq4"},HTML.Raw("\n <br>\n "),HTML.SPAN("\n ",HTML.P({style:"display: inline;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.text")})),"\n "),"\n ",HTML.SELECT({id:"demography-gender",style:"width: 20%; margin-left: 20px;"},HTML.Raw('\n <option value="default"></option>\n '),HTML.OPTION({value:"male"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.options.male")})),"\n "),"\n ",HTML.OPTION({value:"female"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.options.female")})),"\n "),"\n ",HTML.OPTION({value:"others"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.gender.options.other")})),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n\n <br>\n "),HTML.DIV({id:"q-demography-political",class:"covidq4",style:"margin: auto;"},HTML.Raw("\n <br>\n "),HTML.P({style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.demography.political")})),"\n "),"\n ",HTML.DIV({style:"\n display: flex;\n justify-content: space-between;\n "},"\n ",HTML.P({style:"font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_min")})),HTML.Raw("<br>\n ")),HTML.Raw('\n <p id="demography-political-value" style="color: red;">\n .\n </p>\n '),HTML.P({style:"font-size: 12px;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_max")}
206)),HTML.Raw("<br>\n ")),"\n "),HTML.Raw('\n <input style="text-align: initial;" id="demography-political" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues" onchange="show_value(this.id, this.value);" oninput="show_value(this.id, this.value);" onclick="show_value(this.id, this.value);">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n ')),"\n "),"\n "),HTML.Raw("\n\n <br><br>\n "),HTML.DIV({id:"covidBlock5",class:"covidSurveyBlock"},"\n ",HTML.DIV({id:"q-know-patient",class:"covidq5"},HTML.Raw("\n <br>\n "),HTML.SPAN("\n ",HTML.P("\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.know-patient.know-patient.text")})),"\n "),"\n ",HTML.SELECT({id:"know-patient",style:"width: 20%;"},HTML.Raw('\n <option value="default"></option>\n '),HTML.OPTION({value:"yes"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.know-patient.know-patient.options.yes")})),"\n "),"\n ",HTML.OPTION({value:"no"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"covid19Survey.know-patient.know-patient.options.no")})),"\n "),"\n "),"\n "),"\n "),"\n "),"\n\n ",HTML.DIV({class:"covidSurveyq"},HTML.Raw("\n <br>\n "),HTML.DIV({style:"text-align: center; margin-top: 15px;"},"\n ",HTML.A({id:"submit-covid-19-survey",class:"btn btn-danger btndesc",role:"button",style:"width: 25%;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_submit")}))),"\n "),"\n "),HTML.Raw('\n <div class="col-xs-6" style="height: 50px;"></div>\n ')),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"optout-modal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span id="close-optout-modal" class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.small_htm"))}))),"\n "),"\n "),"\n "),"\n ")]}))},
206"template.Create.js":function e(){Template.__checkName("Create"),Template.Create=new Template("Template.Create",(function(){var e=this;return[HTML.DIV({class:"page judge"},"\n ",HTML.DIV({class:"container page"},"\n ",HTML.DIV({class:"row",dir:"auto"},"\n ",HTML.DIV({class:"col-md-2"},"\n ",HTML.A({style:"margin-top:8px;text-align:left;",id:"clear",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-remove"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_reset")}))),"\n "),"\n "),"\n ",HTML.DIV({class:"col-md-8 invisible"},"\n ",HTML.H2({style:"margin-top:8px;"},HTML.INPUT({style:"height:36px;width:80%;font-size:18pt;text-align:center;",type:"text",id:"stitle",name:"stitle",class:"block-normal",maxlength:"64",placeholder:function(){return Spacebars.mustache(e.lookup("_"),"create.txt_titleph")}})),"\n "),"\n ",HTML.DIV({class:"col-md-2"},"\n ",HTML.A({style:"margin-top:8px;text-align:right;",id:"submit",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-check-square-o"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_submit")}))),"\n "),"\n "),"\n "),HTML.Raw('\n <div class="col-xs-2"> </div>\n '),HTML.DIV({id:"left_outcome",class:"col-xs-3 page left thumbnail"},HTML.Raw('\n <div class="canvas left" style="position: relative;">\n <canvas class="realcanvas" id="canvas_00" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images00" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/L.png\');background-size:contain;"></canvas>\n </div>\n '),HTML.DIV({class:"tile_container block-hide",id:"wizard_chars_left"},HTML.Raw('\n <h4 class="loc-caption" id="loc-caption-left"></h4>\n '),HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_man")},id:"0",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/man_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_woman")},id:"1",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/woman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_boy")},id:"6",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/boy_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_girl")},id:"7",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/girl_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldman")},id:"4",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldwoman")},id:"5",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgman")},id:"10",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/c
206haracters/fatman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgwoman")},id:"9",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execm")},id:"12",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businessman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execf")},id:"13",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businesswoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docm")},id:"17",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docf")},id:"16",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athm")},id:"15",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athf")},id:"14",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_preg")},id:"2",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/pregnant_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_homeless")},id:"8",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/homeless_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_crim")},id:"11",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/criminal_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_baby")},id:"3",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/stroller_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_dog")},id:"20",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/dog_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_cat")},id:"21",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/cat_passenger.svg">')),HTML.Raw("\n <br>"),HTML.DIV({class:"hitopts"},"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_d_left",class:"hitopt hitopt-left active"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_death.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_killed")}
206)),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_i_left",class:"hitopt hitopt-left inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_injury.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_injured")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_u_left",class:"hitopt hitopt-left inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_uncertain.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_uncertain")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n "),"\n "),HTML.Raw('\n \x3c!-- <p class="canvas_desc"></p> --\x3e\n ')),HTML.Raw('\n <div class="col-xs-2"> </div>\n '),HTML.DIV({id:"right_outcome",class:"col-xs-3 page right thumbnail"},HTML.Raw('\n <div class="canvas right" style="position: relative;">\n <canvas class="realcanvas" id="canvas_01" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images01" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/R.png\');background-size:contain;"></canvas>\n </div>\n \x3c!-- <p class="canvas_desc"></p> --\x3e\n '),HTML.DIV({class:"tile_container block-hide",id:"wizard_chars_right"},HTML.Raw('\n <h4 class="loc-caption" id="loc-caption-right"></h4>\n '),HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_man")},id:"0",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/man_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_woman")},id:"1",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/woman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_boy")},id:"6",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/boy_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_girl")},id:"7",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/girl_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldman")},id:"4",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldwoman")},id:"5",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgman")},id:"10",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgwoman")},id:"9",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execm")},id:"12",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businessman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execf")},id:"13",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/c
206haracters/businesswoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docm")},id:"17",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docf")},id:"16",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athm")},id:"15",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athf")},id:"14",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_preg")},id:"2",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/pregnant_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_homeless")},id:"8",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/homeless_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_crim")},id:"11",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/criminal_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_baby")},id:"3",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/stroller_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_dog")},id:"20",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/dog_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_cat")},id:"21",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/cat_passenger.svg">')),HTML.Raw("\n <br>"),HTML.DIV({class:"hitopts"},"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_d_right",class:"hitopt hitopt-right active"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_death.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_killed")}
206)),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_i_right",class:"hitopt hitopt-right inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_injury.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_injured")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_u_right",class:"hitopt hitopt-right inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_uncertain.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_uncertain")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n "),"\n "),"\n "),HTML.Raw('\n <div class="col-xs-2"> </div>\n ')),HTML.Raw("\n\n \x3c!-- character item--\x3e\n "),HTML.DIV({class:"container page"},"\n ",HTML.DIV({id:"wizard_law",class:"row block-hide"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.txt_question")}))),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizlaw_no",class:"lawopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/free_crossing.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.btn_nosig")}))),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizlaw_gs",class:"lawopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/legal_crossing.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.btn_gosig")}))),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizlaw_rs",class:"lawopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/illegal_crossing.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.btn_stopsig")}))),"\n "),"\n "),"\n ",HTML.DIV({id:"wizard_vs",class:"row block-show"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.txt_question")}))),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizvs_pvp",class:"vsopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/pvp.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.btn_pvp")}))),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizvs_pvd",class:"vsopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/pvd.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.btn_pvd")})),HTML.Raw("<br> ")),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizvs_dvp",class:"vsopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/dvp.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.btn_dvp")}))),"\n "),"\n "),"\n "),"\n\n\n "),"\n\n ",HTML.DIV({id:"myModal",class:"modal"},"\n ",HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.limit.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.limit.txt_msg")}
206)),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"invalidModal",class:"modal"},"\n ",HTML.DIV({class:"modal-content",id:"invalidModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close3">Ã</span>\n '),HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.invalid.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.invalid.txt_msg")})),"\n "),"\n "),"\n "),"\n\n ",HTML.SCRIPT({type:"text/javascript"},"\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n\n $('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n\n var maxWidth = $('canvas').width();\n var maxHeight = $('canvas').height();\n\n Helpers.showPalette();\n\n // console.log(maxWidth);\n // console.log(maxHeight);\n $(window).resize(function() {\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $('.canvas').width();\n var currentCanvasHeight = $('.canvas').height();\n\n // console.log(newWindowWidth);\n // console.log(newWindowHeight);\n\n if (newWindowWidth != currentWindowWidth) {\n $('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n ")]}))},
206"template.CreateMobile.js":function e(){Template.__checkName("CreateMobile"),Template.CreateMobile=new Template("Template.CreateMobile",(function(){var e=this;return[HTML.DIV({class:"page judge"},"\n ",HTML.DIV({class:"container page"},HTML.Raw('\n\n <div class="col-xs-2" style="margin-top:8px;text-align: center;">\n <a id="clearM" class="btn btn-danger">\n <i class="fa fa-remove"></i>\n </a>\n </div>\n\n\n '),HTML.DIV({class:"col-xs-8 invisible"},"\n ",HTML.INPUT({style:"width:100%;font-size:12pt;margin-bottom:5px;margin-top:8px;text-align:center;",type:"text",id:"stitle",name:"stitle",maxlength:"64",placeholder:function(){return Spacebars.mustache(e.lookup("_"),"create.txt_titleph")}}),"\n "),HTML.Raw('\n\n\n <div class="col-xs-2" style="margin-top:8px;text-align: center;padding-left:10px;">\n\n <a id="submitM" class="btn btn-danger">\n <i class="fa fa-check-square-o"></i>\n </a>\n </div>\n\n <div class="swiper-container" style="overflow:hidden">\n <div class="swiper-wrapper">\n \x3c!-- Slides --\x3e\n <div id="left_swiper" class="swiper-slide">\n <div id="left_outcome" class="col-xs-10 page left thumbnail">\n <div class="canvas avgame-outcome">\n <canvas class="realcanvas" id="canvas_00M" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images00M" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/L.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip descrip-browse" id="descriptonleft" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonleftSpan"></div>\n </div>\n </div>\n </div>\n </div>\n <div id="right_swiper" class="swiper-slide">\n <div id="right_outcome" class="col-xs-10 page right thumbnail">\n <div class="canvas avgame-outcome">\n <canvas class="realcanvas" id="canvas_01M" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images01M" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/R.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip descrip-browse" id="descriptonright" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonrightSpan"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- If we need pagination --\x3e\n <div class="swiper-pagination"></div>\n </div>\n '),HTML.DIV({id:"buttomarrayy",style:"text-align: center;"},"\n\n ",HTML.A({id:"straightcar",class:"btn btn-danger active",style:"width:30%;margin-left:5%",dir:"auto"},HTML.Raw('\n <span class="fa fa-arrow-down"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.outcome.btn_stay")})),"\n "),"\n ",HTML.A({id:"shiftcar",class:"btn btn-danger",style:"width:30%;margin-right:5%",dir:"auto"},HTML.Raw('\n <span class="fa fa-share gly-rotate-flip"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.outcome.btn_swerve")})),"\n "),"\n\n "),"\n\n\n\n "),"\n\n\n ",HTML.DIV({class:"container page"},"\n ",HTML.DIV({class:"tile_container block-hide",id:"wizard_chars_left"},HTML.Raw('\n <h4 class="loc-caption" id="loc-caption-left"></h4>\n '),HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_man")},id:"0",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/c
206haracters/man_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_woman")},id:"1",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/woman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_boy")},id:"6",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/boy_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_girl")},id:"7",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/girl_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldman")},id:"4",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldwoman")},id:"5",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgman")},id:"10",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgwoman")},id:"9",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execm")},id:"12",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businessman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execf")},id:"13",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businesswoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docm")},id:"17",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docf")},id:"16",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return[Spacebars.mustache(e.lookup("_"),"create.character.txt_athm"),"e"]},id:"15",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athf")},id:"14",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_preg")},id:"2",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/pregnant_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_homeless")},id:"8",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/homeless_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_crim")},id:"11",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/c
206haracters/criminal_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_baby")},id:"3",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/stroller_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_dog")},id:"20",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/dog_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_cat")},id:"21",class:"tile tile-left"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/cat_passenger.svg">')),HTML.Raw("\n <br>"),HTML.DIV({class:"hitopts"},"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_d_left",class:"hitopt hitopt-left active"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_death.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_killed")}
206)),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_i_left",class:"hitopt hitopt-left inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_injury.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_injured")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_u_left",class:"hitopt hitopt-left inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_uncertain.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_uncertain")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n "),"\n "),"\n ",HTML.DIV({class:"tile_container block-hide",id:"wizard_chars_right"},HTML.Raw('\n <h4 class="loc-caption" id="loc-caption-right"></h4>\n '),HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_man")},id:"0",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/man_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_woman")},id:"1",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/woman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_boy")},id:"6",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/boy_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_girl")},id:"7",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/girl_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldman")},id:"4",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_oldwoman")},id:"5",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/oldwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgman")},id:"10",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_lgwoman")},id:"9",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/fatwoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execm")},id:"12",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businessman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_execf")},id:"13",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/businesswoman_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docm")},id:"17",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_docf")},id:"16",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/c
206haracters/femaledoctor_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athm")},id:"15",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/maleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_athf")},id:"14",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/femaleathlete_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_preg")},id:"2",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/pregnant_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_homeless")},id:"8",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/homeless_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_crim")},id:"11",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/criminal_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_baby")},id:"3",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/stroller_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_dog")},id:"20",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/dog_passenger.svg">')),"\n ",HTML.DIV({title:function(){return Spacebars.mustache(e.lookup("_"),"create.character.txt_cat")},id:"21",class:"tile tile-right"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/sprites/characters/cat_passenger.svg">')),HTML.Raw("\n <br>"),HTML.DIV({class:"hitopts"},"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_d_right",class:"hitopt hitopt-right active"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_death.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_killed")}
206)),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_i_right",class:"hitopt hitopt-right inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_injury.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_injured")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n ",HTML.DIV({dir:"auto",title:"",id:"wizhit_u_right",class:"hitopt hitopt-right inactive"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/damage_uncertain.svg">'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.btn_uncertain")})),HTML.Raw(' <span class="caret wizhit-caret"></span>')),"\n "),"\n "),"\n ",HTML.DIV({id:"wizard_law",class:"row block-hide"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.txt_question")}))),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizlaw_no",class:"lawopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/free_crossing.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.btn_nosig")}))),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizlaw_gs",class:"lawopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/legal_crossing.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.btn_gosig")}))),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizlaw_rs",class:"lawopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/illegal_crossing.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.legal.btn_stopsig")}))),"\n "),"\n "),"\n ",HTML.DIV({id:"wizard_vs",class:"row block-show"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.txt_question")}))),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizvs_pvp",class:"vsopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/pvp.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.btn_pvp")}))),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizvs_pvd",class:"vsopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/pvd.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.btn_pvd")})),HTML.Raw("<br> ")),"\n "),"\n ",HTML.DIV({class:"col-sm-4 col-xs-4 col-md-4 col-lg-4"},"\n ",HTML.DIV({title:"",id:"wizvs_dvp",class:"vsopt"},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/create/dvp.svg"><br>'),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.layout.btn_dvp")}))),"\n "),"\n "),"\n "),"\n\n"),"\n\n ",HTML.DIV({id:"myModal",class:"modal"},"\n ",HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.limit.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.limit.txt_msg")}
206)),"\n "),"\n "),"\n "),"\n\n ",HTML.DIV({id:"invalidModal",class:"modal"},"\n ",HTML.DIV({class:"modal-content",id:"invalidModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close3">Ã</span>\n '),HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.invalid.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"create.invalid.txt_msg")})),"\n "),"\n "),"\n "),"\n\n",HTML.SCRIPT("\n // $( function () {\n // var scenario = new Scenario({\n // 'c1': '#c1',\n // 'c2': '#c2',\n // 'counter': '#counter',\n // 'mode': 'create',\n // })\n // scenario.render();\n // })\n"),"\n\n ",HTML.SCRIPT({type:"text/javascript"},'\n var currentSwipe = 0;\nvar swiper = new Swiper(\'.swiper-container\', {\n pagination: \'.swiper-pagination\',\n slidesPerView: 1,\n paginationClickable: true,\n spaceBetween: 0,\n effect:\'cube\',\n onlyExternal: true,\n cube: {\n slideShadows: false,\n shadow: false,\n },\n\n onSlideChangeStart: function (swiper) {\n //Helpers.lockOutcome(swiper.activeIndex);\n if($("#wizard_vs").hasClass("block-hide") && $("#wizard_law").hasClass("block-hide")) {\n $("#wizard_chars_left").removeClass("block-show").addClass("block-hide");\n $("#wizard_chars_right").removeClass("block-show").addClass("block-hide");\n }\n },\n onSlideChangeEnd: function (swiper) {\n //Helpers.lockOutcome(swiper.activeIndex);\n $("#wizard_chars_left").removeClass("block-show").addClass("block-hide");\n $("#wizard_chars_right").removeClass("block-show").addClass("block-hide");\n if($("#wizard_vs").hasClass("block-hide") && $("#wizard_law").hasClass("block-hide")) {\n currentSwipe = swiper.activeIndex;\n if(currentSwipe == 0) {\n $("#wizard_chars_left").removeClass("block-hide").addClass("block-show");\n } else {\n $("#wizard_chars_right").removeClass("block-hide").addClass("block-show");\n }\n }\n },\n });\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n\n $(\'.canvas\').css("height", $(\'.canvas\').width() * 1.5);\n\n var maxWidth = $(\'canvas\').width();\n var maxHeight = $(\'canvas\').height();\n\n Helpers.showPalette();\n\n // console.log(maxWidth);\n // console.log(maxHeight);\n\n var resized = false;\n $(window).resize(function() {\n if(resized) return;\n resized = true;\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $(\'.canvas\').width();\n var currentCanvasHeight = $(\'.canvas\').height();\n\n // console.log(newWindowWidth);\n // console.log(newWindowHeight);\n\n if (newWindowWidth != currentWindowWidth) {\n $(\'.canvas\').css("width", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $(\'.canvas\').css("height", Math.min($(\'.canvas\').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $(\'.canvas\').css("height", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $(\'.canvas\').css("width", Math.min($(\'.canvas\').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n')]}))},
206"template.Imprint.js":function e(){Template.__checkName("Imprint"),Template.Imprint=new Template("Template.Imprint",(function(){var e=this;return HTML.Raw('<div id="doc" class="markdown-body container-fluid">\n <h1 class="part" data-startline="1" data-endline="1" id="Imprint--Provider-Identification">Imprint / Provider Identification</h1>\n <p class="part" data-startline="3" data-endline="3">The following provides mandatory data concerning the provider of this website, obligations with regard to data protection, as well as other important legal references involving the Internet site of the Moral Machine (<a href="https://www.moralmachine.net/" target="_blank" rel="noopener">https://www.moralmachine.net/</a>) as required by German law.</p>\n <h3 class="part" data-startline="5" data-endline="5" id="Provider">Provider</h3>\n <p class="part" data-startline="7" data-endline="7">The provider of this Internet site within the legal meaning of the term is the registered association Max Planck Society for the Advancement of Science e.V.</p>\n <h3 class="part" data-startline="8" data-endline="8" id="Address">Address</h3>\n <p class="part" data-startline="10" data-endline="14">Max-Planck-Gesellschaft zur Förderung der Wissenschaften e.V.<br>\n Hofgartenstrasse 8<br>\n D-80539 Munich<br>\n Phone: +49 89 2108-0<br>\n Internet: <a href="http://www.mpg.de" target="_blank" rel="noopener">www.mpg.de</a>\n </p>\n <h3 class="part" data-startline="15" data-endline="15" id="Register-of-Societies-and-Associations">Register of Societies and Associations</h3>\n <p class="part" data-startline="17" data-endline="17">The Max Planck Society is registered in the Official Register of Societies and Associations at Berlin-Charlottenburg Local Court under the register number VR 13378 B.</p>\n <h3 class="part" data-startline="18" data-endline="18" id="Representatives">Representatives</h3>\n <p class="part" data-startline="20" data-endline="20">The Max Planck Society is legally represented by its Board of Directors which, in turn, is represented by the President of the Society, Prof. Dr. Martin Stratmann and by Secretary General Rüdiger Willems.</p>\n <h3 class="part" data-startline="21" data-endline="21" id="Value-Added-Tax-Identification-Number">Value Added Tax Identification Number</h3>\n <p class="part" data-startline="23" data-endline="23">The value added tax identification number of the Max Planck Society is DE 129517720.</p>\n <h3 class="part" data-startline="25" data-endline="25" id="Editors">Editors</h3>\n <p class="part" data-startline="27" data-endline="27">Responsible editor for the contents of the Max Planck Societyâs website with regard to media law:</p>\n <p class="part" data-startline="29" data-endline="34">Prof. Dr. Iyad Rahwan<br>\n Max Planck Institute for Human Development<br>\n Lentzeallee 94<br>\n 14195 Berlin<br>\n Germany<br>\n Email: <a href="mailto:[email protected]" target="_blank" rel="noopener">[email protected]</a>\n </p>\n <h3 class="part" data-startline="36" data-endline="36" id="Legal-Structure">Legal Structure</h3>\n <p class="part" data-startline="38" data-endline="38">The Max Planck Society is a non-profit research facility which is organized as a registered association. All of the institutes and facilities of the Max Planck Society are largely autonomous in terms of organization and research, but as a rule have no legal capacity of their own.</p>\n <h3 class="part" data-startline="40" data-endline="40" id="Liability-for-Contents-of-Online-Information">Liability for Contents of Online Information</h3>\n <p class="part" data-startline="42" data-endline="42">As the provider of contents in accordance with Section 7 Paragraph 1 of the Tele-Media Law, the Max Planck Society shall be responsible for any contents which it makes available for use in accordance with general legal provisions. The Max Planck Society makes every effort to provide timely and accurate information on this Web site. Nevertheless, errors and inaccuracies cannot be completely ruled out. Therefore, the Max Planck Society does not assume any liability for the relevance, accuracy, completeness or quality of the information provided. The Max Planck Society shall not be liable for damage of a tangible or intangible nature caused directly or indirectly through the use or failure to use the information offered and/or through the use of faulty or incomplete information unless it is verifiably culpable of intent or gross negligence. The same shall apply to any downloadable software available free of charge. The Max Planck Society reserves the right to modify, supplement, or delete any or all of the information offered on its Internet site, or to temporarily or permanently cease publication thereof without prior and separate notification.</p>\n <h3 class="part" data-startline="43" data-endline="43" id="Links-to-Internet-Sites-of-Third-Parties">Links to Internet Sites of Third Parties</h3>\n <p class="part" data-startline="45" data-endline="45">This Internet site includes links to external pages. These external links are designated as follows: [arrow ]. The respective provider shall be responsible for the contents of any linked external pages. In establishing the initial link, the Max Planck Society has reviewed the respective external
206content in order to determine whether such link entailed possible civil or criminal responsibility. However, a constant review of linked external pages is unreasonable without concrete reason to believe that a violation of the law may be involved. If the Max Planck Society determines such or it is pointed out by others that an external offer to which it is connected via a link entails civil or criminal responsibility, then the Max Planck Society will immediately eliminate any link to this offer. The Max Planck Society expressly dissociates itself from such contents.</p>\n </div>')}))},
206"template.Judge.js":function e(){Template.__checkName("Judge"),Template.Judge=new Template("Template.Judge",(function(){var e=this;return[HTML.DIV({class:"page judge"},HTML.Raw('\n <i id="load-cog-0" class="fa fa-cog fa-5x icon-spin-counter avgame-cog"></i>\n <i id="load-cog-1" class="fa fa-cog fa-5x fa-spin avgame-cog"></i>\n \x3c!--<div id="counter" class="avgame-counter">{{Si}} / {{NoScenario}}</div> --\x3e\n '),HTML.DIV({class:"container page"},HTML.Raw('\n \x3c!-- <div class="page"> --\x3e\n '),HTML.DIV({style:"width:100%"},"\n ",HTML.DIV({class:"judgetitle"},"\n ",HTML.H2({class:"prompt"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.txt_question")}))),"\n ",HTML.DIV({id:"counter2",class:"avgame-counter2"},Blaze.View("lookup:Si",(function(){return Spacebars.mustache(e.lookup("Si"))}))," / ",Blaze.View("lookup:NoScenario",(function(){return Spacebars.mustache(e.lookup("NoScenario"))}))),"\n "),HTML.Raw("\n \x3c!--LEFT SPACE--\x3e\n \x3c!-- <div class=\"realcanvas descrip judgeLeftDescription\" id='descriptonleft'>\n <div id='descriptonleftSpan'></div>\n </div> --\x3e\n \x3c!--put plot and button here--\x3e\n "),HTML.DIV("\n ",HTML.DIV({id:"plotcontainer",class:"row"},"\n ",HTML.DIV({id:"left_outcome",class:"left_outcomeDestop"},"\n ",HTML.DIV({id:"left_plot",class:"left_plotDestop"},HTML.Raw('\n <div class="canvas avgame-outcome" s="">\n <canvas class="realcanvas pccanvas" id="canvas_0" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas pccanvas" id="canvas_images0" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/L.png\');background-size:contain;"></canvas>\n \x3c!-- <div class="realcanvas descrip" id=\'descriptonleft\' width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5); color:#fff;opacity:0;overflow:hidden">\n <div id=\'descriptonleftSpan\'></div>\n </div> --\x3e\n </div>\n '),HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px;"},"\n ",HTML.A({id:"leftbutton",class:"btn btn-danger btndesc",role:"button",style:"width:50%"},HTML.SPAN({id:"leftshow",style:"display:inline;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_show")}))),HTML.SPAN({id:"lefthide",style:"display:none;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_hide")})))),"\n "),"\n "),HTML.Raw('\n \x3c!-- <div class="button-box row" style=\'text-align:center;margin-top:15px\'>\n <a id=\'leftbutton\' class="btn btn-danger btndesc" role="button">Show Description</a>\n </div> --\x3e\n <div class="realcanvas descrip left_descripDestop" id="descriptonleft">\n <div id="descriptonleftSpan" dir="auto"></div>\n </div>\n ')),"\n ",HTML.DIV({id:"right_outcome",class:"right_outcomeDestop"},"\n ",HTML.DIV({id:"right_plot",class:"right_plotDestop"},HTML.Raw('\n <div class="canvas avgame-outcome">\n <canvas class="realcanvas pccanvas" id="canvas_1" width="600px" height="900px" style="position: absolute; z-index: 1; "></canvas>\n <canvas class="realcanvas pccanvas" id="canvas_images1" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/R.png\');background-size:contain;"></canvas>\n \x3c!-- <div class="realcanvas descrip" id=\'descriptonright\' width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id=\'descriptonrightSpan\'></div>\n </div> --\x3e\n </div>\n '),HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"rightbutton",class:"btn btn-danger btndesc",role:"button",style:"width:50%"},HTML.SPAN({id:"rightshow",style:"display:inline;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_show")}))),HTML.SPAN({id:"righthide",style:"display:none;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_hide")})))),"\n "),"\n "),HTML.Raw('\n <div class="realcanvas descrip right_descripDestop" id="descriptonright">\n <div id="descriptonrightSpan" dir="auto"></div>\n </div>\n ')),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- <div>\n <div style='float:left; width:50%'>\n <div style='float:right; width:100%;'>\n <div class=\"\">Col 1</div>\n </div>\n <div style='float:right; width:100%;'>\n <div class=\"\">Col 2</div>\n </div>\n </div>\n <div style='float:right; width:50%'>\n <div style='float:left; width:100%;'>\n <div class=\"\">Col 3</div>\n </div>\n <div style='float:left; width:100%;'>\n <div class=\"\">Col 4</div>\n </div>\n </div>\n </div> --\x3e\n \x3c!--\n <div style=\"width:100%;float:left;padding-left:14%;padding-right:14%\">\n <div id='descripton' style=\"text-align:left;\"> </div>\n </div>\n --\x3e\n "),Blaze.View("lookup:showScenario",(function(){return Spacebars.mustache(e.lookup("showScenario"))})),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"exitWarning",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"exitWarningContent"},"\n ",HTML.DIV({id:"close-interr-modal",class:"modal-header"}
206,HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_msg")}))),"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"judge.interr.consent_htm"))})),"\n ",HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"nobutton",class:"btn btn-danger",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_back")}))),"\n ",HTML.A({id:"yesbutton",class:"btn ",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_leave")}))),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"optout-modal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span id="close-optout-modal" class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.small_htm"))}))),"\n "),"\n "),"\n "),"\n\n "),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n if (Session.get(\"firstLoad\") === \"N\") Helpers.showScenario();\n\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n\n $('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n $('#plotcontainer').css(\"height\", $('.canvas').width() * 1.5 + 30);\n\n var maxWidth = $('canvas').width();\n var maxHeight = $('canvas').height();\n\n $(window).resize(function() {\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $('.canvas').width();\n var currentCanvasHeight = $('.canvas').height();\n\n if (newWindowWidth != currentWindowWidth) {\n $('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n ")]}))},
206"template.JudgeMobile.js":function e(){Template.__checkName("JudgeMobile"),Template.JudgeMobile=new Template("Template.JudgeMobile",(function(){var e=this;return[HTML.DIV({class:"page judge"},HTML.Raw('\n <i id="load-cog-0" class="fa fa-cog fa-5x icon-spin-counter avgame-cog"></i>\n <i id="load-cog-1" class="fa fa-cog fa-5x fa-spin avgame-cog"></i>\n '),HTML.DIV({id:"counter",class:"counter-mobile"},Blaze.View("lookup:Si",(function(){return Spacebars.mustache(e.lookup("Si"))}))," / ",Blaze.View("lookup:NoScenario",(function(){return Spacebars.mustache(e.lookup("NoScenario"))}))),"\n ",HTML.DIV({class:"container"},"\n ",HTML.H4({class:"prompt-mobile",style:"text-align: center;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.txt_question")}))),"\n ",HTML.DIV({class:"swiper-container"},HTML.Raw('\n <div class="swiper-wrapper">\n \x3c!-- Slides --\x3e\n <div id="left_swiper" class="swiper-slide">\n <div id="left_outcome" class="col-xs-10 page left thumbnail">\n <div class="canvas left" style="position: relative;">\n <canvas class="realcanvas" id="canvas_0M" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images0M" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/N.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip" id="descriptonleft" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonleftSpan" dir="auto"></div>\n </div>\n <p class="canvas_desc mobile"></p>\n </div>\n </div>\n </div>\n <div id="right_swiper" class="swiper-slide">\n <div id="right_outcome" class="col-xs-10 page right thumbnail">\n <div class="canvas right" style="position: relative;">\n <canvas class="realcanvas" id="canvas_1M" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images1M" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/N.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip" id="descriptonright" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonrightSpan" dir="auto"></div>\n </div>\n <p class="canvas_desc mobile"></p>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- If we need pagination --\x3e\n <div class="swiper-pagination"></div>\n '),Blaze.View("lookup:showScenario",(function(){return Spacebars.mustache(e.lookup("showScenario"))})),HTML.Raw('\n \x3c!-- If we need navigation buttons --\x3e\n \x3c!-- <div class="swiper-button-prev"></div>\n <div class="swiper-button-next"></div> --\x3e\n ')),"\n ",HTML.DIV({id:"buttomarrayy",style:"text-align: center;",dir:"auto"},HTML.Raw('\n <a id="describe" class="btn btn-danger btndesc disabled" style="display: inline-block;width:10%;">\n <span class="fa fa-question-circle" style="margin-right:2%;"></span>\n </a>\n '),HTML.DIV({id:"carDirection",style:"display: inline-block; width:67%"},"\n ",HTML.A({id:"straightcar",class:"btn btn-danger",style:"margin-right:1%;margin-left:1%; width:46%"}
206,HTML.Raw('\n <span class="fa fa-arrow-down"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.outcome.btn_stay")})),"\n "),"\n ",HTML.A({id:"shiftcar",class:"btn btn-danger",style:"margin-right:1%;margin-left:1%;width:46%;"},HTML.Raw('\n <span class="fa fa-share gly-rotate-flip"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.outcome.btn_swerve")})),"\n "),"\n "),"\n ",HTML.A({id:"sumitresult",class:"btn btn-danger disabled",style:"display: inline-block;width:20%;"},HTML.Raw('\n <span class="fa fa-car"> </span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.btn_submit")})),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"exitWarning",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"exitWarningContent"},"\n ",HTML.DIV({id:"close-interr-modal",class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.txt_msg")}))),"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"judge.interr.consent_htm"))})),"\n ",HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"nobutton",class:"btn btn-danger",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_back")}))),"\n ",HTML.A({id:"yesbutton",class:"btn ",role:"button"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"judge.interr.btn_leave")}))),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"optout-modal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span id="close-optout-modal" class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.small_htm"))}))),"\n "),"\n "),"\n "),HTML.Raw('\n \x3c!-- The Modal2 --\x3e\n\x3c!-- <div id="notallowSumit" class="modal">\n \n <div class="modal-content" id=\'exitWarningContent\'>\n <div class="modal-header">\n <span class="close2">Ã</span>\n <h3>Something wrong</h3>\n </div>\n <div class="modal-body">\n <h4>you should choose one scenerio before clicking sumit/info buttons.</h4>\n <div class="button-box row" style=\'text-align:center;margin-top:15px\'>\n <a id=\'backbutton\' class="btn btn-danger" role="button">Back to Judging</a>\n </div>\n </div>\n </div>\n </div> --\x3e\n \n ')),"\n ",HTML.SCRIPT("\n if (Session.get(\"firstLoad\") === \"N\") Helpers.showScenario();\n /////////////////\n\n // var isMobile = {\n // Android: function() {\n // return navigator.userAgent.match(/Android/i);\n // }
206,\n // BlackBerry: function() {\n // return navigator.userAgent.match(/BlackBerry/i);\n // },\n // iOS: function() {\n // return navigator.userAgent.match(/iPhone|iPad|iPod/i);\n // },\n // Opera: function() {\n // return navigator.userAgent.match(/Opera Mini/i);\n // },\n // Windows: function() {\n // return navigator.userAgent.match(/IEMobile/i) || navigator.userAgent.match(/WPDesktop/i);\n // },\n // any: function() {\n // return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());\n // }\n // };\n\n\n // if( isMobile.any() ) alert('Mobile');\n\n\n\n ///////////////////\n\n\n\n\n var swiper = new Swiper('.swiper-container', {\n pagination: '.swiper-pagination',\n slidesPerView: 1,\n paginationClickable: true,\n spaceBetween: 0,\n effect: 'cube',\n speed:300,\n onlyExternal: true,\n //nextButton: $('#left_swiper').children().first().attr('id') == \"left_outcome\"? '#shiftcar': '#straightcar',\n //prevButton: $('#left_swiper').children().first().attr('id') == \"left_outcome\"? '#straightcar': '#shiftcar',\n cube: {\n slideShadows: false,\n shadow: false,\n },\n // paginationBulletRender: function(index, className) {\n // return ((index == 0 ? '<span class=\"fa fa-hand-o-left\"></span> swipe' : '') + '<span class=\"' + className + '\"></span>' + (index == 1 ? 'swipe <span class=\"fa fa-hand-o-right\"></span>' : ''));\n // },\n onTransitionStart: function(swiper) {\n\n var target\n if ($('#left_swiper').children().first().attr('id') == \"left_outcome\") {\n\n target = swiper.activeIndex == 0 ? '#descriptonleft' : '#descriptonright'\n } else {\n target = swiper.activeIndex == 1 ? '#descriptonleft' : '#descriptonright'\n }\n\n var n = $(target).css(\"opacity\");\n if (n == 0) {\n $('.btndesc').removeClass('active')\n //$('.btndesc').text('Show Description')\n } else {\n\n $('.btndesc').addClass('active')\n //$('.btndesc').text('Hide Description');\n }\n\n },\n });\n\n\n\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n\n $('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n\n var maxWidth = $('canvas').width();\n var maxHeight = $('canvas').height();\n\n\n var resized = false;\n $(window).resize(function() {\n if (resized) return;\n resized = true;\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $('.canvas').width();\n var currentCanvasHeight = $('.canvas').height();\n\n if (newWindowWidth != currentWindowWidth) {\n $('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n\n\n\n // //this is where we apply opacity to the arrow\n // $(window).scroll(function() {\n\n // //get scroll position\n // var topWindow = $(window).scrollTop();\n // //multipl by 1.5 so the arrow will become transparent half-way up the page\n // var topWindow = topWindow * 1.5;\n\n // //get height of window\n // var windowHeight = $(window).height();\n\n // //set position as percentage of how far the user has scrolled \n // var position = topWindow / windowHeight;\n // //invert the percentage\n // position = 1 - position;\n\n // //define arrow opacity as based on how far up the page the user has scrolled\n // //no scrolling = 1, half-way up the page = 0\n // $('.presentdescript').css('opacity', 1 - position);\n\n // });\n\n\n\n\n\n\n //Code stolen from css-tricks for smooth scrolling:\\\n\n // $(function() {\
206n // $('#describe').click(function() {\n\n // if ($('#left_swiper').children().first().attr('id') == \"left_outcome\") { // left one\n\n // if (swiper.activeIndex == 0) {\n\n // Session.set(\"descriptionLeft\", true);\n // $('#descriptonleftSpan').html(Session.get(\"leftcontent\"))\n // var initialfont = 20\n // $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n // while ($('#descriptonleftSpan').height() > $('#descriptonleft').height()) {\n // initialfont = initialfont - 1\n // $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n // }\n // if ($('#describe').hasClass('active')) {\n\n // $('#describe').removeClass('active')\n // $('#descriptonleft').css('opacity', 0);\n // //$(\"#describe\").text('Show Description');\n // } else {\n\n // $('#describe').addClass('active')\n // $('#descriptonleft').css('opacity', 1);\n // //$(\"#describe\").text('Hide Description');\n // }\n // } else {\n // Session.set(\"descriptionRight\", true);\n // $('#descriptonrightSpan').html(Session.get(\"rightcontent\"))\n // var initialfont = 20\n // $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n\n // while ($('#descriptonrightSpan').height() > $('#descriptonright').height()) {\n // initialfont = initialfont - 1\n // $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n // }\n\n\n\n\n // if ($('#describe').hasClass('active')) {\n\n // $('#describe').removeClass('active')\n // $('#descriptonright').css('opacity', 0);\n // // $(\"#describe\").text('Show Description');\n // } else {\n\n // $('#describe').addClass('active')\n // $('#descriptonright').css('opacity', 1);\n // //$(\"#describe\").text('Hide Description');\n // }\n // }\n\n\n\n\n // } else {\n\n // if (swiper.activeIndex == 1) {\n // Session.set(\"descriptionLeft\", true);\n // $('#descriptonleftSpan').html(Session.get(\"leftcontent\"))\n // var initialfont = 20\n // $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n // while ($('#descriptonleftSpan').height() > $('#descriptonleft').height()) {\n // initialfont = initialfont - 1\n // $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n // }\n // if ($('#describe').hasClass('active')) {\n\n // $('#describe').removeClass('active')\n // $('#descriptonleft').css('opacity', 0);\n // //$(\"#describe\").text('Show Description');\n // } else {\n\n // $('#describe').addClass('active')\n // $('#descriptonleft').css('opacity', 1);\n // //$(\"#describe\").text('Hide Description');\n // }\n // } else {\n // Session.set(\"descriptionRight\", true);\n // $('#descriptonrightSpan').html(Session.get(\"rightcontent\"))\n // var initialfont = 20\n // $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n\n // while ($('#descriptonrightSpan').height() > $('#descriptonright').height()) {\n // initialfont = initialfont - 1\n // $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n // }\n\n\n // if ($('#describe').hasClass('active')) {\n\n // $('#describe').removeClass('active')\n // $('#descriptonright').css('opacity', 0);\n // //$(\"#describe\").text('Show Description');\n // } else {\n\n // $('#describe').addClass('active')\n // $('#descriptonright').css('opacity', 1);\n // //$(\"#describe\").text('Hide Description');\n // }\n // }\n\n\n // }\n\n // });\n // });\n ")]}))},
206"template.Landing.js":function e(){Template.__checkName("Landing"),Template.Landing=new Template("Template.Landing",(function(){var e=this;return[HTML.Raw("\x3c!--start first page--\x3e\n "),HTML.DIV({id:"headerid"},"\n ",HTML.DIV({id:"landingcontainer",class:"container",style:"display: flex;"},"\n ",HTML.DIV({id:"allContent",style:"text-align: center;"},"\n ",HTML.DIV({class:"container eye-blocked-container"},HTML.Raw('\n <div class="col-md-1">\n \n </div>\n '),HTML.DIV({style:"display: flex; flex-direction: row;",class:"col-md-10"},"\n ",Blaze.Each((function(){return{_sequence:Spacebars.call(e.lookup("bannerLinkImagePairs")),_variable:"linkImagePair"}}),(function(){return["\n ",Blaze._TemplateWith((function(){return{link:Spacebars.call(Spacebars.dot(e.lookup("linkImagePair"),"link")),image:Spacebars.call(Spacebars.dot(e.lookup("linkImagePair"),"image"))}}),(function(){return Spacebars.include(e.lookupTemplate("Banner"))})),"\n "]})),"\n "),HTML.Raw('\n <div class="col-md-1">\n \n </div>\n ')),HTML.Raw('\n \x3c!-- <div id="allContent" style="text-align: center;">\n <div class="container eye-blocked-container">\n <div class="col-md-2">\n \n </div>\n <div\n class="col-md-4"\n style="\n margin: 4px;\n border: 1px black solid;\n padding: 15px;\n border-radius: 6px;\n min-height: 40px;\n "\n >\n <b>Try our emotional AI app.</b>\n <br />(opens new tab)\n <br />\n <a\n class="btn btn-danger deepmoji-button"\n target="_blank"\n href="http://deepmoji.mit.edu/contribute/"\n >\n <svg\n class="icon icon-robot"\n style="\n width: 32px;\n height: 32px;\n position: relative;\n top: 5px;\n "\n >\n <use\n xlink:href="#icon-robot"\n style="fill: white;"\n ></use>\n </svg>\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n <div\n class="col-md-4"\n style="\n margin: 4px;\n border: 1px black solid;\n padding: 15px;\n border-radius: 6px;\n min-height: 40px;\n "\n >\n <b>And our game about charity dilemmas.</b>\n <br />(opens new tab)\n <br />\n <a\n class="btn btn-danger mygoodness-button"\n target="_blank"\n href="http://mygoodness.mit.edu"\n >\n <svg\n class="icon icon-goodgeek"\n style="\n width: 32px;\n height: 32px;\n position: relative;\n top: 5px;\n "\n >\n <use\n xlink:href="#icon-goodgeek"\n style="fill: white;"\n ></use>\n </svg>
206\n <span class="mygoodness">MyGoodness</span>\n </a>\n </div>\n <div class="col-md-2">\n \n </div>\n </div>\n </div> --\x3e\n '),HTML.DIV({id:"teaser-text",style:"text-align: initial; margin-top: 20px;",dir:"auto"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"landing.htm_teaser"))})),"\n "),"\n ",HTML.DIV({style:"width: 100%;"},"\n ",HTML.DIV("\n ",HTML.A({id:"play",class:"btn btn-danger bbt",style:"margin-bottom: 10px;"},HTML.Raw('\n <i class="linkjudge"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.btn_start")}))),"\n "),"\n "),"\n ",HTML.DIV("\n ",HTML.A({id:"see",class:"btn btn-danger bbt",style:"margin-bottom: 10px;"},HTML.Raw('\n <i class="linkjudge"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.btn_browse")}))),"\n "),"\n "),"\n ",HTML.DIV("\n ",HTML.A({id:"instruct",class:"btn btn-danger arrow-wrap2 bbt",style:"margin-bottom: 10px;"},HTML.Raw('\n <i class="linkjudge"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.btn_instr")}))),"\n "),"\n "),HTML.Raw('\n <div id="check">\n <br>\n </div>\n ')),"\n ",HTML.IFRAME({width:"630",height:"473",src:function(){return["https://www.youtube.com/embed/XCO8ET66xE4?hl=",Spacebars.mustache(e.lookup("currentLanguage"))]},frameborder:"0",allowfullscreen:""}),HTML.Raw('\n <div class="row">\n <a href="https://www.mpib-berlin.mpg.de/chm/" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/Max-Planck-Gesellschaft.png" alt="Max Plank">\n </a>\n <a href="http://web.mit.edu/" target="_blank">\n <img style="height: 160px; padding: 15px;" src="http://avgame.s3-accelerate.amazonaws.com/images/logo/mit_logo.png" alt="MIT">\n </a>\n <a href="https://www.exeter.ac.uk" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/colour_logo.png" alt="Exter">\n </a>\n <a href="https://www.tse-fr.eu" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/TSE_Logo_2019.png" alt="TSE">\n </a>\n <a href="https://www.ubc.ca" target="_blank">\n <img style="height: 160px; padding: 15px;" src="/images/logo/UBC_logo.png" alt="UBC">\n </a>\n </div>\n ')),"\n "),"\n "),"\n\n ",HTML.DIV({id:"myModal",class:"modal-full"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"myModalContent",dir:"auto"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.instr.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body",style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"landing.instr.htm_all"))})),"\n "),"\n "),"\n "),"\n\n ",HTML.DIV({id:"c
206ovidSurveyModal",class:"modal-full",style:"text-align: center; margin: auto;",dir:"ltr"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"covidSurveyModalContent",style:"display: flex;"},"\n ",Spacebars.include(e.lookupTemplate("Covid19Survey")),"\n "),"\n ")]}))},
206"template.LandingMobile.js":function e(){Template.__checkName("LandingMobile"),Template.LandingMobile=new Template("Template.LandingMobile",(function(){var e=this;return[HTML.Raw("\x3c!--start first page--\x3e\n\n "),HTML.DIV({id:"headerid"},"\n ",HTML.DIV({id:"landingcontainer",class:"container",style:"position: relative;"},"\n ",HTML.DIV({id:"allContent",style:"text-align: center;"},"\n ",HTML.DIV({class:"container eye-blocked-container"},"\n ",HTML.DIV({style:"display: flex; flex-direction: column;",class:"col-md-12"},"\n ",Blaze.Each((function(){return{_sequence:Spacebars.call(e.lookup("bannerLinkImagePairs")),_variable:"linkImagePair"}}),(function(){return["\n ",Blaze._TemplateWith((function(){return{link:Spacebars.call(Spacebars.dot(e.lookup("linkImagePair"),"link")),image:Spacebars.call(Spacebars.dot(e.lookup("linkImagePair"),"image"))}}),(function(){return Spacebars.include(e.lookupTemplate("BannerMobile"))})),"\n "]})),"\n "),"\n "),HTML.Raw('\n \x3c!-- <div class="container eye-blocked-container">\n <div\n class="col-md-12"\n style="\n margin: 4px;\n border: 1px black solid;\n padding: 15px;\n border-radius: 6px;\n min-height: 40px;\n "\n >\n <b>Try our emotional AI app.</b>\n <br />(opens new tab)\n <br />\n <a\n class="btn btn-danger deepmoji-button"\n target="_blank"\n href="http://deepmoji.mit.edu/contribute/"\n >\n <svg\n class="icon icon-robot"\n style="\n width: 32px;\n height: 32px;\n position: relative;\n top: 5px;\n "\n >\n <use\n xlink:href="#icon-robot"\n style="fill: white;"\n ></use>\n </svg>\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n <div\n class="col-md-12"\n style="\n margin: 4px;\n border: 1px black solid;\n padding: 15px;\n border-radius: 6px;\n min-height: 40px;\n "\n >\n <b>And our game about charity dilemmas.</b>\n <br />(opens new tab)\n <br />\n <a\n class="btn btn-danger mygoodness-button"\n target="_blank"\n href="http://mygoodness.mit.edu"\n >\n <svg\n class="icon icon-goodgeek"\n style="\n width: 32px;\n height: 32px;\n position: relative;\n top: 5px;\n "\n >\n <use\n xlink:href="#icon-goodgeek"\n style="fill: white;"\n ></use>\n </svg>
206\n <span class="mygoodness">MyGoodness</span>\n </a>\n </div>\n </div> --\x3e\n '),HTML.DIV({id:"teaser-text",style:"text-align: initial;",dir:"auto"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"landing.htm_teaser"))})),"\n "),"\n\n ",HTML.DIV({id:"buttonContent"},"\n ",HTML.DIV("\n ",HTML.A({id:"play",class:"btn btn-danger bbt",style:"margin-bottom: 10px;"},HTML.Raw('\n <i class="linkjudge"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.btn_start")}))),"\n "),"\n "),"\n ",HTML.DIV("\n ",HTML.A({id:"see",class:"btn btn-danger bbt",style:"margin-bottom: 10px;"},HTML.Raw('\n <i class="linkjudge"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.btn_browse")}))),"\n "),"\n "),"\n ",HTML.DIV("\n ",HTML.A({id:"instruct",class:"btn btn-danger arrow-wrap2 bbt",style:"margin-bottom: 10px;"},HTML.Raw('\n <i class="linkjudge"></i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.btn_instr")}))),"\n "),"\n "),HTML.Raw('\n <div id="check">\n <br>\n </div>\n ')),"\n ",HTML.DIV({id:"videocontent"},"\n ",HTML.IFRAME({width:"315",height:"236",src:function(){return["https://www.youtube.com/embed/XCO8ET66xE4?hl=",Spacebars.mustache(e.lookup("currentLanguage"))]},frameborder:"0",allowfullscreen:""}),"\n "),HTML.Raw('\n <div class="row" style="margin: 16px;">\n <a href="https://www.mpib-berlin.mpg.de/chm/" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/Max-Planck-Gesellschaft.png" alt="Max Plank">\n </a>\n <a href="http://web.mit.edu/" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="http://avgame.s3-accelerate.amazonaws.com/images/logo/mit_logo.png" alt="MIT">\n </a>\n <a href="https://www.exeter.ac.uk" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/colour_logo.png" alt="Exter">\n </a>\n <a href="https://www.tse-fr.eu" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/TSE_Logo_2019.png" alt="TSE">\n </a>\n <a href="https://www.ubc.ca" target="_blank">\n <img style="height: 70px; margin-bottom: 15px;" src="/images/logo/UBC_logo.png" alt="UBC">\n </a>\n </div>\n ')),"\n "),"\n "),"\n\n ",HTML.DIV({id:"myModal",class:"modal-full"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"myModalContent",dir:"auto"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"landing.instr.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body",style:"text-align: initial;"},"\n ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"landing.instr.htm_all"))})),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"c
206ovidSurveyModal",class:"modal-full",style:"text-align: center;",dir:"ltr"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"covidSurveyModalContent",style:"display: flex;"},"\n ",Spacebars.include(e.lookupTemplate("Covid19SurveyMobile")),"\n "),"\n "),"\n\n ",HTML.SCRIPT('\n //Code stolen from css-tricks for smooth scrolling:\n $(function () {\n $("a[href*=#]:not([href=#])").click(function () {\n if (\n location.pathname.replace(/^\\//, "") ==\n this.pathname.replace(/^\\//, "") &&\n location.hostname == this.hostname\n ) {\n var target = $(this.hash);\n target = target.length\n ? target\n : $("[name=" + this.hash.slice(1) + "]");\n if (target.length) {\n $("html,body").animate(\n {\n scrollTop: target.offset().top,\n },\n 1000\n );\n return false;\n }\n }\n });\n });\n ')]}))},
206"template.Main.js":function e(){Template.__checkName("Main"),Template.Main=new Template("Template.Main",(function(){var e=this;return[HTML.NAV({class:"navbar navbar-inverse navbar-fixed-top"},"\n ",HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"navbar-header"},"\n ",HTML.BUTTON({type:"button",class:"navbar-toggle collapsed","data-toggle":"collapse","data-target":"#navbar","aria-expanded":"false","aria-controls":"navbar"},"\n ",HTML.SPAN({class:"sr-only"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.txt_toggle")}))),HTML.Raw('\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n ')),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n $('.nav a').on('click', function () {\n $('.btn-navbar').click(); //bootstrap 2.x\n $('.navbar-toggle').click() //bootstrap 3.x by Richard\n });\n "),HTML.Raw('\n <a class="navbar-brand">\n <img src="http://avgame.s3-accelerate.amazonaws.com/images/logo_light_horizontal.png" height="55px" style="margin:0px;margin-top:-15px;margin-left: 15px;margin-right:-15px;">\n </a>\n ')),"\n ",HTML.DIV({id:"navbar",class:"navbar-collapse collapse"},"\n ",HTML.UL({id:"navList",dir:"auto",class:"nav navbar-nav navbar-right",style:"margin-right:15px;"},"\n ",HTML.LI({class:"Home"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_home")})))),"\n ",HTML.LI({class:"Judge"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_judge")})))),"\n ",HTML.LI({class:"Classic"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_classic")})))),"\n ",HTML.LI({class:"Create"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_design")})))),"\n ",HTML.LI({class:"View"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_browse")})))),"\n ",HTML.LI({class:"About"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_about")})))),"\n ",HTML.LI({class:"Feedback"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_feedback")})))),"\n ",HTML.LI({id:"langsel","data-toggle":"collapse",href:"#langmenu",class:"btn btn-primary langsel",style:"margin-right:15px; "},HTML.Raw('\n <i class="fa fa-globe"> </i> '),Blaze.View("lookup:currentLanguage",(function(){return Spacebars.mustache(e.lookup("currentLanguage"))})),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!--/.nav-collapse --\x3e\n ")),"\n "),"\n ",Blaze._TemplateWith((function(){return{template:Spacebars.call(e.lookup("template_name"))}}),(function(){return Spacebars.include((function(){return Spacebars.call(Template.__dynamic)}))})),HTML.Raw('\n <div class="footer_1">\n <div class="container" dir="auto">\n <div class="col-md-12" style="display:flex; justify-content:space-around">\n <div>\n <a class="Imprint" style="color:white; cursor: pointer;">Imprint</a>\n <span style="padding:0 10px;">|</span>\n <a class="PrivacyPolicy" style="color:white; cursor: pointer;">Privacy Policy</a>\n </div>\n </div>\n </div>\n </div>\n\n '),HTML.DIV({id:"fbModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"}
206,HTML.Raw('\n <span class="closefb">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body",style:"align:center;",dir:"auto"},"\n ",HTML.H2({id:"fbthanks",style:"display:none;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.txt_thanks")}))),"\n ",HTML.TEXTAREA({style:"align:center;",placeholder:function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.txt_placeholder")},id:"textFeedback",rows:"5",cols:"80"}),HTML.Raw("\n <br>\n "),HTML.DIV(HTML.Raw("\n <br>\n "),HTML.A({id:"submitfb",class:"btn btn-danger bbt",style:"margin-bottom:10px;align:center;"},HTML.Raw('\n <i class="submitfb"></i>\n '),HTML.SPAN(HTML.Raw('<span class="fa fa-comment"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.btn_submit")}))),"\n "),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"langModal",class:"modal",style:function(){return["display:",Spacebars.mustache(e.lookup("displayOnFirstVisit"))]},dir:"ltr"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="closelang">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.txt_langcall")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.P("\n ",HTML.P("\n ",HTML.A({dir:"auto",id:"langar",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"ar")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Ø§ÙØ¹Ø±Ø¨ÙØ©\n ')),"\n ",HTML.A({id:"langde",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"de")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Deutsch\n ')),"\n ",HTML.A({id:"langen",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"en")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> English\n ')),"\n ",HTML.A({id:"langes",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"es")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Español\n ')),"\n ",HTML.A({id:"langit",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"it")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Italiano\n ')),"\n ",HTML.A({id:"langfr",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"fr")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Français\n ')),"\n "),"\n ",HTML.P("\n ",HTML.A({id:"langja",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"ja")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> æ¥æ¬èª\n ')),"\n ",HTML.A({id:"langkr",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"kr")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> íêµì´\n ')),"\n ",HTML.A({id:"langpt",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"pt")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Português\n ')),"\n ",HTML.A({id:"langru",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"ru")
206]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Ð ÑÑÑкий\n ')),"\n ",HTML.A({id:"langzh",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"zh")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> 䏿\n ')),"\n "),"\n "),"\n "),"\n "),"\n ")]}))},
206"template.MainMobile.js":function e(){Template.__checkName("MainMobile"),Template.MainMobile=new Template("Template.MainMobile",(function(){var e=this;return[HTML.NAV({class:"navbar navbar-inverse navbar-fixed-top"},"\n ",HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"navbar-header"},"\n ",HTML.BUTTON({type:"button",class:"navbar-toggle collapsed","data-toggle":"collapse","data-target":"#navbar","aria-expanded":"false","aria-controls":"navbar"},"\n ",HTML.SPAN({class:"sr-only"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.txt_toggle")}))),HTML.Raw('\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n ')),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n $('.nav a').on('click', function () {\n $('.btn-navbar').click(); //bootstrap 2.x\n $('.navbar-toggle').click() //bootstrap 3.x by Richard\n });"),HTML.Raw('\n <a class="navbar-brand">\n <img src="http://avgame.s3-accelerate.amazonaws.com/images/logo_light_horizontal.png" height="55px" style="margin:0px;margin-top:-15px;margin-left: 15px;margin-right:-15px;">\n </a>\n '),HTML.A({id:"langsel","data-toggle":"collapse",href:"#langmenu",class:"btn btn-primary langsel"},HTML.Raw('\n <i class="fa fa-globe"> </i>\n '),Blaze.View("lookup:currentLanguage",(function(){return Spacebars.mustache(e.lookup("currentLanguage"))})),"\n "),"\n\n "),"\n ",HTML.DIV({id:"navbar",class:"navbar-collapse collapse"},"\n ",HTML.UL({dir:"auto",class:"nav navbar-nav navbar-right",style:"margin-right:15px;"},"\n ",HTML.LI({class:"Home"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_home")})))),"\n ",HTML.LI({class:"Judge"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_judge")})))),"\n ",HTML.LI({class:"Classic"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_classic")})))),"\n ",HTML.LI({class:"Create"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_design")})))),"\n ",HTML.LI({class:"View"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_browse")})))),"\n ",HTML.LI({class:"About"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_about")})))),"\n ",HTML.LI({class:"Feedback"},HTML.A(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.header.btn_feedback")})))),"\n "),"\n "),HTML.Raw("\x3c!--/.nav-collapse --\x3e\n ")),"\n "),"\n\n ",Blaze._TemplateWith((function(){return{template:Spacebars.call(e.lookup("template_name_mobile"))}}),(function(){return Spacebars.include((function(){return Spacebars.call(Template.__dynamic)}))})),HTML.Raw('\n <div class="footer_1">\n <div class="container" dir="auto">\n <div class="col-md-12" style="display:flex; justify-content:space-around">\n <div>\n <a href="https://www.mpg.de/imprint" target="_blank" style="color:white">\n Imprint\n </a>\n <span style="padding:0 10px;">|</span>\n <a href="https://www.mpg.de/privacy-policy" target="_blank" style="color:white">\n Privacy Policy\n </a>\n </div>\n </div>\n </div>\n </div>\n\n '),HTML.DIV({id:"fbModal",class:"modal-full"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="closefb">Ã</span>\n '),HTML.H5(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body",style:"align:center;",dir:"auto"},"\n ",HTML.H3({id:"fbthanks",style:"display:none;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.txt_thanks")}))),"\n ",HTML.TEXTAREA({style:"align:center;",placeholder:function(){return Spacebars.mustache(e.lookup("_")," main.feedback.txt_placeholder")},id:"textFeedback",rows:"5",cols:"30"}),HTML.Raw("\n <br>\n "),HTML.DIV(HTML.Raw("\n <br>\n "),HTML.A({id:"submitfb",class:"btn btn-danger bbt",style:"margin-bottom:10px;align:center;"},HTML.Raw('\n <i class="submitfb"></i>\n '),HTML.SPAN(HTML.Raw('<span class="fa fa-comment"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.feedback.btn_submit")}))),"\n "),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"langModal",class:"modal",style:function(){return["display:",Spacebars.mustache(e.lookup("displayOnFirstVisit"))]},dir:"ltr"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"}
206,HTML.Raw('\n <span class="closelang">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"main.txt_langcall")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.P("\n ",HTML.A({dir:"auto",id:"langar",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"ar")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n Ø§ÙØ¹Ø±Ø¨ÙØ©\n ')),"\n ",HTML.A({id:"langde",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"de")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n Deutsch\n ')),"\n "),"\n ",HTML.P("\n ",HTML.A({id:"langen",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"en")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n English\n ')),"\n ",HTML.A({id:"langes",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"es")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n Español\n ')),"\n "),"\n ",HTML.P("\n ",HTML.A({id:"langfr",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"fr")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n Français\n ')),"\n ",HTML.A({id:"langit",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"it")]}},HTML.Raw('\n <i class="fa fa-globe"> </i> Italiano\n ')),"\n ",HTML.A({id:"langja",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"ja")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n æ¥æ¬èª\n ')),"\n "),"\n ",HTML.P("\n ",HTML.A({id:"langkr",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"kr")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n íêµì´\n ')),"\n ",HTML.A({id:"langpt",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"pt")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n Português\n ')),"\n "),"\n ",HTML.P("\n ",HTML.A({id:"langru",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"ru")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n Ð ÑÑÑкий\n ')),"\n ",HTML.A({id:"langzh",class:function(){return["btn btn-danger langopt",Spacebars.mustache(e.lookup("langOptClass"),"zh")]}},HTML.Raw('\n <i class="fa fa-globe"> </i>\n 䏿\n ')),"\n "),"\n "),"\n "),"\n ")]}))},
206"template.PrivacyPolicy.js":function e(t){Template.__checkName("PrivacyPolicy"),Template.PrivacyPolicy=new Template("Template.PrivacyPolicy",(function(){var e=this;return HTML.Raw('<div id="doc" class="markdown-body container-fluid">\n <h1 class="part" data-startline="2" data-endline="2" id="Data-protection-information">Data protection information</h1>\n <p class="part" data-startline="4" data-endline="4">The Max-Planck-Gesellschaft zur Förderung der Wissenschaften e.V. (MPG) takes the protection of your personal data very seriously. We process personal data gathered when visiting our websites in compliance with applicable data protection legislation. We neither publish your data nor transmit them to third parties on an unauthorized basis.</p>\n <p class="part" data-startline="6" data-endline="6">In the following section, we explain which data we record when you visit one of our websites, and exactly how they are utilized:</p>\n <h3 class="part" data-startline="8" data-endline="8" id="A-General-information">A. General information</h3>\n <p class="part" data-startline="9" data-endline="10"><strong>1. Scope of data processing</strong><br>\n As a matter of principle, we gather and utilize usersâ personal data only to the extent required to ensure the functioning of our website and of our contents and services. The gathering and utilization of our usersâ personal data normally occurs after users have granted their consent. An exception occurs where data processing is legally permitted.\n </p>\n <p class="part" data-startline="12" data-endline="12">The aim of Moral Machine is to understand individualsâ judgement on decision-making in moral dilemmas.</p>\n <p class="part" data-startline="14" data-endline="14">To do this, we present you with a sequence of 13 scenarios. Each scenario is depicted as the two possible outcomes of an autonomous vehicle making a decision when faced with two outcomes of inevitable harm.</p>\n <p class="part" data-startline="16" data-endline="17"><strong>2. Legal basis of data processing</strong><br>\n To the extent that permission of the affected individual is obtained for the processing of personal data, Article 6 (1) lit. a of the EU General Data Protection Regulation (GDPR) serves as the legal basis.\n </p>\n <p class="part" data-startline="19" data-endline="19">In the processing of personal data to fulfil a contract whose contractual party is the individual affected, Article 6 (1) lit. b GDPR serves as the legal basis. This also applies to processing required to implement pre-contractual measures.</p>\n <p class="part" data-startline="21" data-endline="21">If processing is required to safeguard the justified interest of the MPG or a third party and the interests, basic rights and basic freedoms of the affected individual do not outweigh the first-mentioned interest, Article 6 (1) lit. f GDPR serves as the basis for such processing.</p>\n <p class="part" data-startline="23" data-endline="24"><strong>3. Data deletion and storage duration</strong><br>\n The affected individualâs personal data are deleted or blocked as soon as the purpose of the storage ceases to apply. Storage can also occur if provided for by European or national legislators in EU regulations, acts or other legislation to which the MPG is subject. A blocking or deletion of data then occurs only if a storage period prescribed by one of the aforementioned norms expires, unless a necessity exists in relation to the further storage of the data for the arrangement of a contract or the fulfilment of a contract.\n </p>\n <p class="part" data-startline="26" data-endline="27"><strong>4. Contact details of the individuals responsible</strong><br>\n The entity responsible in the meaning of the General Data Protection Regulation and other national data protection acts as well as other data protection legislation is the\n </p>\n <p class="part" data-startline="29" data-endline="35">Max-Planck-Gesellschaft zur Förderung der Wissenschaften e.V. (MPG)<br>\n Hofgartenstrasse 8<br>\n D-80539 Munich<br>\n Telephone: +49 (89) 2108-0<br>\n Contact form: <a href="https://www.mpg.de/contact/requests" target="_blank" rel="noopener">https://www.mpg.de/contact/requests</a><br>\n Internet: <a href="https://www.mpg.de" target="_blank" rel="noopener">https://www.mpg.de</a><br>\n <strong>5. Data Protection Officerâs contact details</strong>\n </p>\n <p class="part" data-startline="37" data-endline="37">The Data Protection Officer at the entity responsible is</p>\n <p class="part" data-startline="39" data-endline="43">Heidi Schuster<br>\n Hofgartenstrasse 8<br>\n D-80539 Munich<br>\n Telephone: +49 (89) 2108-1554<br>\n E-mail: <a href="mailto:[email protected]" target="_blank" rel="noopener">[email protected]</a>\n </p>\n <h3 class="part" data-startline="45" data-endline="45" id="B-Provision-of-the-website-and-creation-of-log-files">B. Provision of the website and creation of log files</h3>\n <p class="part" data-startline="46" data-endline="46">Each time you visit our website, our service and applications automatically record data and information from the computer system of the visiting computer.</p>\n <p class="part" data-startline="48" data-endline="48">The following data are gathered temporarily:</p>\n <pre class="part" data-startline="50" data-endline="54"><code>Your IP address\n Date and time of your access to the website\n Address of the page visited\n Address of the previously visited
206website (referrer)\n Name and version of your browser/operating system (if transmitted)\n </code></pre>\n <p class="part" data-startline="56" data-endline="56">These data are stored in our systemsâ log files. These data are not stored together with the userâs other personal data.</p>\n <p class="part" data-startline="58" data-endline="58">The legal basis for the temporary saving of data and log files is Article 6 (1) lit. f GDPR. Storage occurs in log files in order to ensure the websiteâs functionality. The data also help us optimize the websites, eliminate malfunctions and ensure our IT system security. Our justified interest in data processing pursuant to Article 6 (1) lit. f GDPR also lies in such purposes.</p>\n <p class="part" data-startline="60" data-endline="60">The data are deleted as soon as they are no longer required to achieve the purpose for which they were gathered. If data are gathered for the provision of the website, this is the case if the respective visit is ended. In the instance that data are stored in log files, this is the case after seven days at the latest. Storage above and beyond this period is possible. In this case, the usersâ IP addresses are deleted or removed so they can no longer be allocated to the visiting client.</p>\n <p class="part" data-startline="62" data-endline="62">The recording of data for the provision of the website and the storage of data in log files is essential to operate the website. As a consequence, users do not have an option to revoke such data recording.</p>\n <h3 class="part" data-startline="64" data-endline="64" id="C-Web-analysis">C. Web analysis</h3>\n <p class="part" data-startline="65" data-endline="65">For the statistical data recording of utilization behaviour, we deploy the Google Analytics, which utilizes cookies and JavaScript to collect various information on your computer and transmit it to us automatically.</p>\n <p class="part" data-startline="67" data-endline="67">This website uses functions of the web analytics service Google Analytics. The provider is Google Ireland Limited (âGoogleâ), Gordon House, Barrow Street, Dublin 4, Ireland.</p>\n <p class="part" data-startline="69" data-endline="69">Google Analytics enables the website operator to analyze the behavior of website visitors. In doing so, the website operator receives various usage data, such as page views, dwell time, operating systems used and the origin of the user. This data may be summarized by Google in a profile that is assigned to the respective user or their end device. Google Analytics uses technologies that enable the recognition of the user for the purpose of analyzing user behavior (e.g. cookies or device fingerprinting). The information collected by Google about the use of this website is usually transferred to a Google server in the USA and stored there.</p>\n <p class="part" data-startline="71" data-endline="71">The use of this analysis tool is based on Art. 6 para. 1 lit. f DSGVO. The website operator has a legitimate interest in analyzing user behavior in order to optimize both its website. If a corresponding consent has been requested (e.g. consent to store cookies), the processing is based exclusively on Art. 6 para. 1 lit. a DSGVO; the consent can be revoked at any time.</p>\n <p class="part" data-startline="73" data-endline="73">Data transfer to the USA is based on the standard contractual clauses of the EU Commission.</p>\n <p class="part" data-startline="75" data-endline="76">Details can be found here:<br>\n <a href="https://privacy.google.com/businesses/controllerterms/mccs/" target="_blank" rel="noopener">https://privacy.google.com/businesses/controllerterms/mccs/</a>\n </p>\n <h3 class="part" data-startline="78" data-endline="78" id="D-Utilization-of-cookies">D. Utilization of cookies</h3>\n <p class="part" data-startline="79" data-endline="79">Our website utilizes cookies. Cookies are text files stored in the Internet browser or by the Internet browser on the userâs computer system. If a user visits a website, a cookie can be stored on the userâs operating system. This cookie contains a sequence of characters enabling the browser to be clearly identified when visiting the website again.</p>\n <p class="part" data-startline="81" data-endline="81">We deploy cookies to make our website more user-friendly. Some elements of our website also technically require the identification of the visiting browser after a change of page.</p>\n <p class="part" data-startline="83" data-endline="83">Both cookies are deleted when the session is closed.</p>\n <p class="part" data-startline="85" data-endline="85">The legal basis for personal data processing while utilizing cookies is Article 6 (1) lit. f GDPR. The purpose of utilizing technically necessary cookies is to simplify the utilization of websites for users. Some of our websiteâs functions cannot be offered without the utilization of cookies. For these, it is necessary that the browser can also be re-identified following a change of page.</p>\n <p class="part" data-startline="87" data-endline="87">User data gathered by technically necessary cookies are not utilized to prepare user profiles. Our justified interest in personal data processing pursuant to Article 6 (1) lit. f GDPR also lies in such purposes.</p>\n <p class="part" data-startline="89" data-endline="89">Cookies are stored on the userâs computer, which transmits them to our site. For this reason, you, as the user, also have full control over the utilization of cookies. You can deactivate or restrict the transmission of cookies through changing your Internet browser settings. Cookies that have already been saved can be deleted at any time. This can also occur automatically. If cookies for our website are deactivated, you may find not all of the websiteâs functions can continue to be utilized in full.</p>\n <p class="part" data-startline="91" data-endline="91">In addition, we also utilize cookies on our website to enable usersâ utilization behaviour to be analyzed. For more information on this topic, please refer to the information provided under C.</p>\n <h3 class="part" data-startline="93" data-endline="93" id="E-Contact-form">E. Contact form</h3>\n <p class="part" data-startline="94" data-endline="94">A contact form is available on our website for the purposes of making contact electronically. If a user opts for this, the data entered in the data entry form are transmitted to us, and we save the data. These are generally your email address, family name and first name. We inform you about the specific processing of the data and we obtain your consent as part of the utilization procedure. Reference is also made to this data protection statement. The data are utilized exclusively to process the conversation.</p>\n <p class="part" data-startline="96" data-endline="96">The Google reCaptcha function is utilized in order to avoid improper use of the form. reCaptcha serves to prevent mass machine use of the contact form by inserting image-based questions which only a human being can answer. reCaptcha is an embedded JavaScript, which establishes a connection to the providerâs servers when the contact form is accessed. The provider thereby at least receives information that you have visited the contact form as well as, potentially, other information that your web browser and the device you are utilizing disclose
206s. You can obtain information about the data processing at the provider through a reference on the contact form.</p>\n <p class="part" data-startline="98" data-endline="98">The legal basis for the processing of data when utilizing the contact form is the userâs consent pursuant to Article 6 (1) lit. a GDPR. We employ the processing of personal data from the data entry form solely to process the initiation of the contact. The data are deleted as soon as they are no longer required for the purpose for which they were gathered. This occurs if the respective conversation with the user ends or if the userâs issue has been processed conclusively. The conversation has ended if the circumstances suggest that the respective matter has been clarified conclusively. At any time, users can notify the listed contact partners that they are revoking their consent to the processing of personal data.</p>\n <p class="part" data-startline="100" data-endline="100">The legal basis for the processing of usersâ personal data by reCaptcha is Article 6 (1) lit. f GDPR. reCaptcha is utilized exclusively to ensure the functionality of the contact form and to prevent improper use. Our justified interest in data processing pursuant to Article 6 (1) lit. f GDPR lies in such purposes. Utilization is essential to operate the contact form. As a consequence, users do not have an option to revoke such data recording.</p>\n <h3 class="part" data-startline="102" data-endline="102" id="F-Commenting-and-Feedback-Disqus">F. Commenting and Feedback: Disqus</h3>\n <p class="part" data-startline="103" data-endline="103">Commenting and Feedback is available on our website for the purpose of allowing user discussions on the website. If a user opts for this, the data entered into the form is transmitted to Disqus.</p>\n <p class="part" data-startline="105" data-endline="105">In case the user is entering an email address, the address may be used to send notifications about comments. The user is responsible for the content of their on comments.</p>\n <p class="part" data-startline="107" data-endline="107">Disqus is a hosted discussion platfrom provided by Disqus that allows us to add commenting to any of our websites.</p>\n <p class="part" data-startline="109" data-endline="109">The following data is processed when using the commenting feature: data that is input into the commenting section, tracker, usage data.</p>\n <p class="part" data-startline="111" data-endline="111">Even without input into the commenting section, Disqus might collect web traffic data and additional trackers.</p>\n <p class="part" data-startline="113" data-endline="114">The Disqus âPrivacy Policyâ can be viewed at the following link: <a href="https://help.disqus.com/terms-and-policies/disqus-privacy-policy" target="_blank" rel="noopener">https://help.disqus.com/terms-and-policies/disqus-privacy-policy</a><br>\n The data is processed in the United States.\n </p>\n <h3 class="part" data-startline="116" data-endline="116" id="G-Meteor-Cloud">G. Meteor Cloud</h3>\n <p class="part" data-startline="117" data-endline="117">The website is hosted at Meteor Cloud. Meteor Software is committed to protecting the privacy of personal information (i.e. any information relating to an identified or identifiable natural person) who visit any of the sites owned by Meteor Software.</p>\n <p class="part" data-startline="119" data-endline="121">The Meteor Cloud âPrivacy Policyâ can be viewed at the following link:<br>\n <a href="https://com-meteor-public-assets.s3.amazonaws.com/meteor-terms-jan-2021.pdf" target="_blank" rel="noopener">https://com-meteor-public-assets.s3.amazonaws.com/meteor-terms-jan-2021.pdf</a><br>\n The data is processed in the United States.\n </p>\n <h3 class="part" data-startline="123" data-endline="123" id="H-Questionnaire-MongoDB-Atlas">H. Questionnaire: MongoDB Atlas</h3>\n <p class="part" data-startline="124" data-endline="124">When you answer the questionnaires on our website your responses will be saved together with a unique id.</p>\n <p class="part" data-startline="126" data-endline="126">No personal data will be recorded. We use your IP address to determine the country or another regional level (e.g., state) from which you access the site. If you choose to participate in the optional survey, we will link broad information about your age, gender, and education level to your path through the game. Only few designated researchers have access to the IPs, and the link between IPs and decisions will be removed within 2 years after the end of the study. Other members of the research team will only have access to the country level or the regional level. The study data may be made publicly accessible via research data bases or scientific publications. The publicly available data will not contain the IP addresses. Please note the publicly accessible data may also be used for purposes going beyond this study. Additionally, note that if you complete any other survey on this website, we will link data from that survey with the data from the survey you just completed.</p>\n <h3 class="part" data-startline="129" data-endline="129" id="I-AWS-S3">I. AWS S3</h3>\n <p class="part" data-startline="131" data-endline="131">The website uses AWS S3 services. The provider is Amazon Web Services EMEA SARL, 38 Avenue John F. Kennedy, 1855 Luxembourg (hereinafter: AWS).</p>\n <p class="part" data-startline="133" data-endline="133">When you visit our website, your personal data is processed on the servers of AWS. In the process, personal data may also be transmitted to the parent company of AWS in the USA. The data transfer to the USA is based on the EU standard contractual clauses. Details can be found here:</p>\n <p class="part" data-startline="135" data-endline="135"><a href="https://aws.amazon.com/de/blogs/security/aws-gdpr-data-processing-addendum/" target="_blank" rel="noopener">https://aws.amazon.com/de/blogs/security/aws-gdpr-data-processing-addendum/</a></p>\n <p class="part" data-startline="137" data-endline="138">For more information, please refer to the AWS privacy policy:<br>\n <a href="https://aws.amazon.com/de/privacy/?nc1=f_pr" target="_blank" rel="noopener">https://aws.amazon.com/de/privacy/?nc1=f_pr</a>\n </p>\n <p class="part" data-startline="140" data-endline="140">The use of AWS is based on Art. 6 para. 1 lit. f DSGVO. We have a legitimate interest in the most reliable presentation of our website. If a corresponding consent was requested, the processing is based exclusively on Art. 6 para. 1 lit. a DSGVO; the consent can be revoked at any time.</p>\n <h3 class="part" data-startline="142" data-endline="142" id="J-TED-Terms-of-Use">J. TED Terms of Use</h3>\n <p class="part" data-startline="143" data-endline="144">This website integrates TED videos on some pages. The TED âTerms of Useâ can be viewed at the following link: <a href="https://www.ted.com/about/our-organization/our-policies-terms/ted-com-terms-of-use" target="_blank" rel="noopener">https://www.ted.com/about/our-organization/our-policies-terms/ted-com-terms-of-use</a><br>\n The privacy policy is available at: <a href="https://www.ted.com/about/our-organization/our-policies-terms/privacy-policy" target="_blank" rel="noopener">https://www.ted.com/about/our-organization/our-policies-terms/privacy-policy</a>\n </p>\n <h3 class="part" data-startline="147" data-endline="147" id="K-Data-transmission">K. Data transmission</h3>\n <p class="part" data-startline="148" data-endline="148">The management and storage of your personal information occurs in the case of selected services</p>\n <pre class="part" data-startline="150" data-endline="154"><code>Web analysis (section C)\n Commenting and Feedback Disqus (section F) \n Meteor Cloud (section G)\n MongoDB Atlas (section H)\n AWS S3 (Section I)\n </code></pre>\n <p class="part" data-startline="156" data-endline="156">Your personal data will only be conveyed to state institutions and authorities in legally essential cases or for criminal prosecution based on attacks on our network infrastru
206cture. The data are not transmitted to third parties for other purposes.</p>\n <h3 class="part" data-startline="157" data-endline="157" id="L-YouTube-Terms-of-Use">L. YouTube Terms of Use</h3>\n <p class="part" data-startline="159" data-endline="159">This website integrates YouTube videos on some pages. The YouTube âTerms of Useâ can be viewed at the following link: <a href="https://www.youtube.com/static?template=terms" target="_blank" rel="noopener">https://www.youtube.com/static?template=terms</a></p>\n <h3 class="part" data-startline="160" data-endline="160" id="M-Rights-of-individuals-affected">M. Rights of individuals affected</h3>\n <p class="part" data-startline="162" data-endline="162">As an individual whose personal data are gathered as part of the aforementioned services, you have, in principle, the following rights, to the extent that no legal exceptions are applicable in individual cases:</p>\n <pre class="part" data-startline="164" data-endline="171"><code>Information (Article 15 GDPR)\n Correction (Article 16 GDPR)\n Deletion (Article 17 (1) GDPR)\n Restriction of processing (Article 18 GDPR)\n Data transmission (Article 20 GDPR)\n Revocation of processing (Article 21 GDPR)\n Revocation of consent (Article 7 (3) GDPR)\n Right to complain to the regulator (Article 77 GDPR). For the MPG, this is the Bavarian Data Protection Authority (BayLDA), Postbox 1349, 91504 Ansbach.\n </code></pre>\n </div>')}))},
206"template.Results.js":function e(){Template.__checkName("Results"),Template.Results=new Template("Template.Results",(function(){var e=this;return HTML.DIV({class:"page judge"},HTML.Raw('\n <div id="start" class="surveyfirst"></div>\n '),HTML.DIV({id:"allresults"},"\n ",HTML.DIV({class:"col-md-12"},"\n ",HTML.DIV({id:"sharebuttons",class:function(){return[Spacebars.mustache(e.lookup("classResultsMain"))," center"]},style:"float:center;margin-top:10px;",dir:"auto"},"\n ",HTML.A({id:"tryagain",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-refresh"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.btn_again")}))),"\n "),"\n ",HTML.A({id:"shareu",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-share-alt"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_share")}))),"\n "),"\n ",HTML.A({id:"linku",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-external-link"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_link")}))),"\n "),"\n "),"\n ",HTML.DIV({class:function(){return[Spacebars.mustache(e.lookup("classResultsHide"))," center"]},style:"float:center;margin-top:10px;",dir:"auto"},"\n ",HTML.A({id:"tryagainurl",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-play"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_tryit")}))),"\n "),"\n "),"\n ",HTML.DIV({class:"col-md-12"},"\n ",HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_title")}))),"\n ",HTML.H4({class:function(){return Spacebars.mustache(e.lookup("classResultsHide"))}},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_byurl")}))),"\n "),HTML.Raw('\n <div class="col-md-1"></div>\n '),HTML.DIV({class:"col-md-4",style:"margin:4px;border:1px black solid;padding:3px;border-radius:6px;min-height:60px;"},"\n ",HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_mostsave")}))),"\n ",HTML.SVG({id:"mostSaved",style:"display:inline;"}),"\n "),HTML.Raw('\n <div class="col-md-2"></div>\n '),HTML.DIV({class:"col-md-4",style:"margin:4px;border:1px black solid;padding:3px;border-radius:6px;min-height:60px;"},"\n ",HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_mostkill")}))),"\n ",HTML.SVG({id:"mostKilled",style:"display:inline;"}),"\n "),HTML.Raw('\n <div class="col-md-1"></div>\n ')),"\n\n ",HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"col-md-12"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_save")}))),"\n ",HTML.SVG({id:"slider01",style:"display:inline;"}),"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_protect")}))),"\n ",HTML.SVG({id:"slider02",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_law")}))),"\n ",HTML.SVG({id:"slider03",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_avoid")}))),"\n ",HTML.SVG({id:"slider04",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_gender")}))),"\n ",HTML.SVG({id:"slider05",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_species")}))),"\n ",HTML.SVG({id:"slider06",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_age")}))),"\n ",HTML.SVG({id:"slider07",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_fitness")}))),"\n ",HTML.SVG({id:"slider08",style:"display:inline;"}),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_value")}))),"\n ",HTML.SVG({id:"slider09",style:"display:inline;"}),HTML.Raw("\n <br>\n ")),"\n "),"\n ",HTML.DIV({id:"sharebuttons",class:function(){return[Spacebars.mustache(e.lookup("classResultsMain"))," center"]},style:"float:center;margin-top:10px;",dir:"auto"},"\n ",HTML.A({id:"tryagain",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-refresh"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.btn_again")}))),"\n "),"\n ",HTML.A({id:"sharel",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-share-alt"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_share")}))),"\n "),"\n ",HTML.A({id:"linkl",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-external-link"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_link")}))),"\n "),HTML.Raw('\n \x3c!-- <div class="container deepmoji-container">\n <div class="col-md-12">\n \n </div>\n <div class="col-md-4">\n \n </div>\n <div class="col-md-4" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Try our emotional AI app too!</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger deepmoji-button" target="_blank" href="http://deepmoji.mit.edu">\n <svg class="icon icon-robot" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-robot" style="fill:white;"></use></svg>
206\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n <div class="col-md-4">\n \n </div>\n </div> --\x3e\n '),HTML.DIV({class:"container eye-blocked-container",style:"display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;"},HTML.Raw('\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>AI scares you, but can you scare it?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger deepmoji-button" style="margin-top: 15px;" target="_blank" href="https://spookthemachine.com/">\n <span class="deepmoji">Spook the Machine</span>\n </a>\n </div>\n\n '),HTML.DIV({class:"col-md-3 d-flex flex-column align-items-center",style:"margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;"},HTML.Raw("\n <div>\n <b>Our game about charity dilemmas.</b>\n <p>(opens new tab)</p>\n </div>\n "),HTML.A({class:"btn btn-danger mygoodness-button",style:"margin-top: 15px;",target:"_blank",href:"http://mygoodness.mit.edu"},"\n ",HTML.SVG({class:"icon icon-goodgeek",style:"width:20px;height:20px; position:relative; top:5px; margin-right: 5px;"},"\n ",HTML.USE({"xlink:href":"#icon-goodgeek",style:"fill:white;"}),"\n "),HTML.Raw('\n <span class="mygoodness">MyGoodness</span>\n ')),"\n "),HTML.Raw('\n\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>Which matters more â habitat or homes?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger eye-blocked-button" style="margin-top: 15px;" target="_blank" href="https://last-haven.net">\n <span class="eye-blocked">Last Haven</span>\n </a>\n </div>\n\n ')),"\n "),"\n "),"\n ",HTML.DIV({id:"end",class:"surveyfirst"},"\n ",HTML.DIV({id:"allsurvey",class:function(){return Spacebars.mustache(e.lookup("classResultsMain"))}},"\n ",HTML.H3({id:"surveyTitleThank",style:"display:none;"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_thank")})),"\n "),"\n ",HTML.H3({id:"surveyTitle"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_invite")}))," "),"\n ",HTML.DIV({if:"surveyinvite",style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"yesSurvey",class:"btn btn-danger btndesc",role:"button"},HTML.Raw("\n \n "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_yes")})),HTML.Raw("\n \n ")),"\n ",HTML.A({id:"noSurvey",class:"btn btn-danger btndesc",role:"button"},HTML.Raw("\n \n "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_no")})),HTML.Raw("\n \n ")),"\n "),"\n "),"\n "),HTML.Raw('\n <div class="col-md-1"></div>\n '),HTML.DIV({class:function(){return["col-md-10 results-optout ",Spacebars.mustache(e.lookup("classResultsMain"))]},dir:"auto"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_disclaimer"))}))),"\n "),HTML.Raw('\n <div class="col-md-1"></div>\n <div class="col-xs-6" style="height:50px;"></div>\n\n\n \x3c!-- The Modal --\x3e\n '),HTML.DIV({id:"myModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"}
206,HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_msg"))}))),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({id:"surveyModal",class:"modal-full",style:"text-align: center;",dir:"ltr"},"\n ",HTML.DIV({class:"modal-content-full",id:"surveyModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="closesurvey">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_answer")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.DIV({id:"survey",class:"survey"},"\n ",HTML.DIV({id:"survey1",class:"surveyblock"},HTML.Raw("\n <br>\n "),HTML.P(" ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_rank"))}))),"\n ",HTML.DIV({id:"o_utilitarian",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_save")}))),"\n ",HTML.SVG({id:"slider01left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider01value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider01right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_passenger",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_protect")}))),"\n ",HTML.SVG({id:"slider02left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider02value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider02right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_law",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_law")}))),"\n ",HTML.SVG({id:"slider03left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider03value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider03right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_omission",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_avoid")}))),"\n ",HTML.SVG({id:"slider04left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider04value" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider04right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_gender",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_gender")}))),"\n ",HTML.SVG({id:"slider05left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider05value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider05right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_lives",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_species")}))),"\n ",HTML.SVG({id:"slider06left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider06value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider06right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_age",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_age")}))),"\n ",HTML.SVG({id:"slider07left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider07value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider07right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_fitness",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_fitness")}))),"\n ",HTML.SVG({id:"slider08left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider08value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider08right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_attitude",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_value")}))),"\n ",HTML.SVG({id:"slider09left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider09value" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider09right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({class:"surveyq",dir:"auto"},"\n ",HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_rules")}))),"\n ",HTML.TEXTAREA({style:"align:center;",placeholder:"",id:"otherrules",rows:"10",cols:"80",maxlength:"32768"}),HTML.Raw("\n <br>\n ")),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey2",class:"surveyblock"},"\n ",HTML.DIV({id:"o_willing",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_willing")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),HTML.Raw('\n <input style="display:inline;" id="willing" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n ",HTML.DIV({id:"o_fear",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_fear")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),HTML.Raw('\n <input style="display:inline;" id="fear" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n ",HTML.DIV({id:"o_trust",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_trust")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),HTML.Raw('\n <input style="display:inline;" id="trust" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n ",HTML.DIV({id:"o_believe",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_believe")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),HTML.Raw('\n <input style="display:inline;
206" id="believe" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey3",class:"surveyblock"},"\n ",HTML.DIV({id:"o_age",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_age")}))),"\n ",HTML.TEXTAREA({dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"age",name:"age",rows:"1",style:"width:20%"}),"\n "),"\n ",HTML.DIV({id:"o_gender",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_gender"))}))),"\n "),"\n ",HTML.DIV({id:"o_education",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_edu"))}))),"\n "),"\n ",HTML.DIV({id:"o_income",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_income"))}))),"\n "),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey4",class:"surveyblock"},"\n ",HTML.DIV({id:"o_political",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_min")}))),HTML.Raw('\n <input style="display:inline;" id="political" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_max")}))),"\n "),"\n ",HTML.DIV({id:"o_religious",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious")}))),"\n ",HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_min")}))),HTML.Raw('\n <input style="display:inline;" id="religious" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({style:"display:inline-block;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_max")}))),"\n "),"\n "),"\n ",HTML.DIV({class:"surveyq"},HTML.Raw("\n <br>\n "),HTML.DIV({style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"submitsurvey",class:"btn btn-danger btndesc",role:"button",style:"width:25%"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_submit")}))),"\n "),"\n "),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"socialModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"}
206,HTML.Raw('\n <span class="close3">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.results.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.results.txt_share")})),HTML.Raw("<br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_tw")},target:"_blank",href:function(){return["https://twitter.com/home?status=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=Self-driving%20cars%20making%20life-or-death%20choices&summary=I%20just%20took%20the%20Moral%20Machine%20test%20of%20how%20I%20perceive%20life-or-death%20decisions%20made%20by%20future%20self-driving%20cars.%20See%20how%20I%20did%20at%20this%20link.&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Self-driving%20cars%20making%20life-or-death%20choices&body=I%20just%20took%20the%20Moral%20Machine%20test%20of%20how%20I%20perceive%20life-or-death%20decisions%20made%20by%20future%20self-driving%20cars.%20See%20how%20I%20did%20at%20this%20link%3A%20",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),HTML.Raw("\n <br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n "),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.results.txt_link")}))," ",HTML.INPUT({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.results.txt_linkdescr")},id:"select_link",type:"text",readonly:"",onclick:"this.select();",value:function(){return[Spacebars.mustache(e.lookup("siteLocation")),Spacebars.mustache(e.lookup("sharePath"))]}})),HTML.Raw("\n <br>\n ")),"\n "),"\n "),"\n ")}))},
206"template.ResultsMobile.js":function e(){Template.__checkName("ResultsMobile"),Template.ResultsMobile=new Template("Template.ResultsMobile",(function(){var e=this;return[HTML.DIV({class:"page judge scrolldown"},HTML.Raw('\n <div id="start" class="surveyfirst"></div>\n '),HTML.DIV({id:"allresults"},"\n ",HTML.DIV({class:"col-md-12"},"\n ",HTML.DIV({id:"sharebuttons",class:function(){return[Spacebars.mustache(e.lookup("classResultsMain"))," center"]},style:"float:center;margin-top:10px;",dir:"auto"},"\n ",HTML.A({id:"tryagain",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-refresh"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.btn_again")}))),"\n "),"\n ",HTML.A({id:"shareu",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-share-alt"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_share")}))),"\n "),"\n ",HTML.A({id:"linku",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-external-link"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_link")}))),"\n "),"\n "),"\n ",HTML.DIV({class:function(){return[Spacebars.mustache(e.lookup("classResultsHide"))," center"]},style:"float:center;margin-top:10px;",dir:"auto"},"\n ",HTML.A({id:"tryagainurl",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-play"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_tryit")}))),"\n "),"\n "),"\n ",HTML.H2(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_title")}))),"\n ",HTML.H4({class:function(){return Spacebars.mustache(e.lookup("classResultsHide"))}},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_byurl")}))),"\n "),"\n ",HTML.DIV({class:"col-md-12"},"\n ",HTML.DIV({class:"col-md-12",style:"margin:4px;border:1px black solid;padding:3px;border-radius:6px;min-height:60px;"},"\n ",HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_mostsave")}))),"\n ",HTML.SVG({id:"mostSaved",style:"display:inline;"}),"\n "),"\n ",HTML.DIV({class:"col-md-12",style:"margin:4px;border:1px black solid;padding:3px;border-radius:6px;min-height:60px;"},"\n ",HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_mostkill")}))),"\n ",HTML.SVG({id:"mostKilled",style:"display:inline;"}),"\n "),"\n "),"\n ",HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"col-md-12"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_save")}))),"\n ",HTML.SVG({id:"slider01",style:"display:inline;"}),"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_protect")}))),"\n ",HTML.SVG({id:"slider02",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_law")}))),"\n ",HTML.SVG({id:"slider03",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_avoid")}))),"\n ",HTML.SVG({id:"slider04",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_gender")}))),"\n ",HTML.SVG({id:"slider05",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_species")}))),"\n ",HTML.SVG({id:"slider06",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_age")}))),"\n ",HTML.SVG({id:"slider07",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_fitness")}))),"\n ",HTML.SVG({id:"slider08",style:"display:inline;"}),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_value")}))),"\n ",HTML.SVG({id:"slider09",style:"display:inline;"}),HTML.Raw("<br>\n ")),"\n "),"\n ",HTML.DIV({id:"sharebuttons",class:function(){return[Spacebars.mustache(e.lookup("classResultsMain"))," center"]},style:"float:center;margin-top:10px;",dir:"auto"},"\n ",HTML.A({id:"tryagain",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-refresh"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.btn_again")}))),"\n "),"\n ",HTML.A({id:"sharel",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-share-alt"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_share")}))),"\n "),"\n ",HTML.A({id:"linkl",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-external-link"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_link")}))),"\n "),HTML.Raw('\n \x3c!-- <div class="container deepmoji-container">\n <div class="col-md-12">\n \n </div>\n <div class="col-md-12" style="margin:4px;border:1px black solid;padding:15px;border-radius:6px;min-height:40px;">\n <b>Try our emotional AI app too!</b>\n <br>(opens new tab)\n <br>\n <a class="btn btn-danger deepmoji-button" target="_blank" href="http://deepmoji.mit.edu">\n <svg class="icon icon-robot" style="width:32px;height:32px; position:relative; top:5px"><use xlink:href="#icon-robot" style="fill:white;"></use></svg>
206\n <span class="deepmoji">DeepMoji</span>\n </a>\n </div>\n </div> --\x3e\n '),HTML.DIV({class:"container eye-blocked-container",style:"display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;"},HTML.Raw('\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>AI scares you, but can you scare it?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger deepmoji-button" style="margin-top: 15px;" target="_blank" href="https://spookthemachine.com/">\n <span class="deepmoji">Spook the Machine</span>\n </a>\n </div>\n\n '),HTML.DIV({class:"col-md-3 d-flex flex-column align-items-center",style:"margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;"},HTML.Raw("\n <div>\n <b>Our game about charity dilemmas.</b>\n <p>(opens new tab)</p>\n </div>\n "),HTML.A({class:"btn btn-danger mygoodness-button",style:"margin-top: 15px;",target:"_blank",href:"http://mygoodness.mit.edu"},"\n ",HTML.SVG({class:"icon icon-goodgeek",style:"width:20px;height:20px; position:relative; top:5px; margin-right: 5px;"},"\n ",HTML.USE({"xlink:href":"#icon-goodgeek",style:"fill:white;"}),"\n "),HTML.Raw('\n <span class="mygoodness">MyGoodness</span>\n ')),"\n "),HTML.Raw('\n\n <div class="col-md-3 d-flex flex-column align-items-center" style="margin:4px; border:1px black solid; padding:20px 15px; border-radius:6px; text-align:center;">\n <div>\n <b>Which matters more â habitat or homes?</b>\n <p>(opens new tab)</p>\n </div>\n <a class="btn btn-danger eye-blocked-button" style="margin-top: 15px;" target="_blank" href="https://last-haven.net">\n <span class="eye-blocked">Last Haven</span>\n </a>\n </div>\n\n ')),"\n\n "),"\n "),HTML.Raw("\n\n \x3c!-- review here --\x3e\n "),HTML.DIV({id:"end",class:"surveyfirst"},"\n ",HTML.DIV({id:"allsurvey",class:function(){return Spacebars.mustache(e.lookup("classResultsMain"))}},"\n ",HTML.H3({id:"surveyTitleThank",style:"align:center;margin-right:20px;margin-left:20px;display:none;"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_thank")})),"\n "),"\n ",HTML.H3({id:"surveyTitleAnswer",style:"align:center;margin-right:20px;margin-left:20px;display:none;"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_answer")}))," "),"\n ",HTML.H3({id:"surveyTitle",style:"align:center;margin-right:20px;margin-left:20px"}," ",Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_invite")}))," "),"\n ",HTML.DIV({style:"text-align:center;margin-top:15px;margin-bottom:20px"},"\n ",HTML.A({id:"yesSurvey",class:"btn btn-danger btndesc",role:"button",style:"width:30%"},HTML.Raw("\n \n "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_yes")})),HTML.Raw("\n \n ")),"\n ",HTML.A({id:"noSurvey",class:"btn btn-danger btndesc",role:"button",style:"width:30%"},HTML.Raw("\n \n "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_no")})),HTML.Raw("\n \n ")),"\n "),"\n "),"\n "),HTML.Raw("\n \x3c!-- review here --\x3e\n "),HTML.DIV({class:function(){return[Spacebars.mustache(e.lookup("classResultsMain"))," col-md-12 results-optout"]},dir:"auto"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_disclaimer"))}))),"\n "),HTML.Raw('\n <div class="col-xs-6" style="height:50px;"></div>\n\n ')),"\n ",HTML.DIV({class:"scrollindicator"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.txt_scroll")}))),HTML.Raw("\n\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"myModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"}
206,HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.optout.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.optout.htm_msg"))}))),"\n "),"\n "),"\n "),"\n\n ",HTML.DIV({id:"surveyModal",class:"modal-full",style:"text-align: center;",dir:"ltr"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content-full",id:"surveyModalContent",style:"padding:0px !important;"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="closesurvey">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_answer")}))),"\n "),"\n ",HTML.DIV({class:"modal-body",style:"padding-left:0px !important;padding-right:0px !important;"},"\n ",HTML.DIV({id:"survey",class:"survey"},"\n ",HTML.DIV({id:"survey1",class:"surveyblock"},HTML.Raw("\n <br>\n "),HTML.P(" ",Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_rank"))}))),"\n ",HTML.DIV({id:"o_utilitarian",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_save")}))),"\n ",HTML.SVG({id:"slider01left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider01value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider01right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_passenger",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_protect")}))),"\n ",HTML.SVG({id:"slider02left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider02value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider02right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_law",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_law")}))),"\n ",HTML.SVG({id:"slider03left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider03value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider03right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_omission",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_avoid")}))),"\n ",HTML.SVG({id:"slider04left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider04value" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider04right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_gender",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_gender")}))),"\n ",HTML.SVG({id:"slider05left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider05value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider05right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_lives",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_species")}))),"\n ",HTML.SVG({id:"slider06left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider06value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider06right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_age",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_age")}))),"\n ",HTML.SVG({id:"slider07left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider07value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider07right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_fitness",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_fitness")}))),"\n ",HTML.SVG({id:"slider08left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider08value" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider08right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({id:"o_attitude",class:"surveyq1"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.mirror.txt_value")}))),"\n ",HTML.SVG({id:"slider09left",tyle:"display:inline-block;"}),HTML.Raw('\n <input style="display:inline;transform: translateY(-100%);" id="slider09value" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.SVG({id:"slider09right",tyle:"display:inline-block;"}),"\n "),"\n ",HTML.DIV({class:"surveyq",dir:"auto"},"\n ",HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_rules")}))),"\n ",HTML.TEXTAREA({style:"align:center;",placeholder:"",id:"otherrules",rows:"10",cols:"30",maxlength:"32768"}),HTML.Raw("\n <br>\n ")),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey2",class:"surveyblock"},"\n ",HTML.DIV({id:"o_willing",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_willing")}))),HTML.Raw('\n <input style="display:inline;" id="willing" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"o_fear",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_fear")}))),HTML.Raw('\n <input style="display:inline;" id="fear" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"o_trust",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_trust")}))),HTML.Raw('\n <input style="display:inline;" id="trust" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"o_believe",class:"surveyq2"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_believe")}))),HTML.Raw('\n <input style="display:inline;
206" id="believe" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_little")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_much")}))),"\n "),"\n "),"\n "),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey3",class:"surveyblock"},"\n ",HTML.DIV({id:"o_age",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_age")}))),"\n ",HTML.TEXTAREA({dir:function(){return Spacebars.mustache(e.lookup("textDir"))},id:"age",name:"age",rows:"1",style:"width:30%"}),"\n "),"\n ",HTML.DIV({id:"o_gender",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_gender"))}))),"\n "),"\n ",HTML.DIV({id:"o_education",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_edu"))}))),"\n "),"\n ",HTML.DIV({id:"o_income",class:"surveyq3"},HTML.Raw("\n <br>\n "),HTML.SPAN(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"results.survey.htm_income"))}))),"\n "),"\n "),"\n ",HTML.DIV({style:"align:center;",id:"survey4",class:"surveyblock"},"\n ",HTML.DIV({id:"o_political",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political")}))),HTML.Raw('\n <input style="display:inline;" id="political" type="range" min="0" max="1" step="0.01" value="0.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_min")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_political_max")}))),"\n "),"\n "),"\n "),"\n ",HTML.DIV({id:"o_religious",class:"surveyq4"},HTML.Raw("\n <br>\n "),HTML.P(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious")}))),HTML.Raw('\n <input style="display:inline;" id="religious" type="range" min="0" max="1" step="0.01" value="
2060.5" list="tickvalues">\n <datalist id="tickvalues">\n <option>0</option>\n <option>0.5</option>\n <option>1</option>\n </datalist>\n '),HTML.DIV({class:"container"},"\n ",HTML.DIV({class:"row"},"\n ",HTML.SPAN({class:"surveylabelleft"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_min")}))),"\n ",HTML.SPAN({class:"surveylabelright"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.txt_religious_max")}))),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n <div>\n </div>\n <br>\n "),HTML.DIV({style:"text-align:center;margin-top:15px"},"\n ",HTML.A({id:"submitsurvey",class:"btn btn-danger btndesc",role:"button",style:"width:50%"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"results.survey.btn_submit")}))),"\n "),"\n "),"\n "),"\n "),"\n "),HTML.Raw("\n\n \x3c!-- The Modal --\x3e\n "),HTML.DIV({id:"socialModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close3">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.results.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.results.txt_share")})),HTML.Raw("<br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_tw")},target:"_blank",href:function(){return["twitter://post?message=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_wa")},href:function(){return["whatsapp://send?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]},"data-action":"share/whatsapp/share",class:"Share-link m-whatsapp"},HTML.Raw('<i class="fa fa-whatsapp fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=Self-driving%20cars%20making%20life-or-death%20choices&summary=I%20just%20took%20the%20Moral%20Machine%20test%20of%20how%20I%20perceive%20life-or-death%20decisions%20made%20by%20future%20self-driving%20cars.%20See%20how%20I%20did%20at%20this%20link.&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Self-driving%20cars%20making%20life-or-death%20choices&body=I%20just%20took%20the%20Moral%20Machine%20test%20of%20how%20I%20perceive%20life-or-death%20decisions%20made%20by%20future%20self-driving%20cars.%20See%20how%20I%20did%20at%20this%20link%3A%20",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),HTML.Raw("\n <br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°å¾®ä¿¡",target:"_blank",href:function(){return["weixin://dl/businessWebview/link/?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-weixin fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"kr")]}},HTML.Raw("<br>\n "),HTML.A({title:"ì¹´ì¹´ì¤í¡ì ê³µì ",target:"_blank",href:function(){return["kakaolink://sendurl?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&msg=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"&appid=m.kakao.com&appver=2.0&appname=Moral%20Machine"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_talk_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ë°´ëì ê³µì ",target:"_blank",href:function(){return["bandapp://create/post?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_band_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ja")]}},HTML.Raw("<br>\n "),HTML.A({title:"LINEã§ã·ã§ã¢",target:"_blank",href:function(){return["line://msg/text/",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/jp_line_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.results.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n "),HTML.Raw("<br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.results.txt_link")}))," ",HTML.INPUT({title:function(){return Spacebars.mustache(e.lookup("_")," sharing.results.txt_linkdescr")},id:"select_link",type:"text",readonly:"",onclick:"this.select();",value:function(){return[Spacebars.mustache(e.lookup("siteLocation")),Spacebars.mustache(e.lookup("sharePath"))]}})),HTML.Raw("<br>\n ")),"\n "),"\n "),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n $('body').css('height', $('.scrolldown').height() + 10 + 'px');\n if ($(document).height() <= $(window).height()) {\n $('.scrollindicator').addClass('filter-is-visible');\n }\n\n $(window).scroll(function () {\n const h = $(window).scrollTop() +\n $(window).height() +\n $('#slider04').height() / 2;\n if (h >= $(document).height()) {\n $('.scrollindicator').addClass('filter-is-visible');\n } else {\n $('.scrollindicator').removeClass('filter-is-visible');\n }\n });\n ")]}))},
206"template.View.js":function e(){Template.__checkName("View"),Template.View=new Template("Template.View",(function(){var e=this;return[HTML.DIV({class:"page judge"},"\n\t\t",HTML.DIV({class:"row"},HTML.DIV({class:"col-md-12"},"\n\t\t\t",HTML.H2({style:"margin-top:8px;",id:"stitle"},Blaze.View("lookup:showTitle",(function(){return Spacebars.mustache(e.lookup("showTitle"))}))),"\n\t\t"),"\n\t"),"\n\t",HTML.DIV({id:"viewbuttons",dir:"auto",class:function(){return["view-button-panel ",Spacebars.mustache(e.lookup("classViewMain"))]}},"\n\t\t",HTML.A({id:"share",class:"btn btn-danger"},HTML.Raw('\n\t\t\t<i class="fa fa-share-alt"> </i>\n\t\t\t'),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_share")}))),"\n\t\t"),"\n\t\t",HTML.A({id:"link",class:"btn btn-danger"},HTML.Raw('\n\t\t\t<i class="fa fa-external-link"> </i>\n\t\t\t'),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_link")}))),"\n\t\t"),"\n\t\t",HTML.A({id:"like",class:function(){return["btn btn-danger ",Spacebars.mustache(e.lookup("classLiked"))]}},HTML.Raw('\n\t\t\t<i class="fa fa-thumbs-up"> </i>\n\t\t\t'),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:getLikes",(function(){return Spacebars.mustache(e.lookup("getLikes"))}))),"\n\t\t"),"\n\t\t",HTML.A({id:"random-button",class:"btn btn-danger"},HTML.Raw('\n\t\t\t<i class="fa fa-random"> </i>\n\t\t\t'),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"view.navigation.btn_random")}))),"\n\t\t"),"\n\t"),"\n\t",HTML.DIV({class:"container page",style:"display:flex;",dir:"ltr"},"\n\t\t",HTML.DIV({id:"left-arrow",class:"col-xs-2",style:"align-items: stretch;"},"\n\t\t\t",HTML.SPAN({title:function(){return Spacebars.mustache(e.lookup("_"),"view.navigation.txt_left")},class:"glyphicon glyphicon-chevron-left"}),"\n\t\t"),"\n\n\t\t",HTML.DIV({id:"left_outcome",class:"col-xs-4 page"},HTML.Raw('\n\t\t\t<div class="canvas avgame-outcome">\n\t\t\t\t<canvas class="realcanvas" id="canvas_00" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n\t\t\t\t<canvas class="realcanvas" id="canvas_images00" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/L.png\');background-size:contain;"></canvas>\n\t\t\t\t<div class="realcanvas descrip descrip-browse" id="descriptonleft" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n\t\t\t\t\t<div id="descriptonleftSpan" dir="auto"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t'),HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n\t\t\t\t",HTML.A({id:"leftbutton",class:"btn btn-danger btndesc",role:"button",style:"width:50%"},HTML.SPAN({id:"leftshow",style:"display:inline;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_show")}))),HTML.SPAN({id:"lefthide",style:"display:none;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_hide")})))),"\n\t\t\t "),HTML.Raw('\n\n\t\t\t<p class="canvas_desc"></p>\n\t\t')),"\n\n\t\t",HTML.DIV({id:"right_outcome",class:"col-xs-4 page"},HTML.Raw('\n\t\t\t<div class="canvas avgame-outcome">\n\t\t\t\t<canvas class="realcanvas" id="canvas_01" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n\t\t\t\t<canvas class="realcanvas" id="canvas_images01" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/R.png\');background-size:contain;"></canvas>\n\t\t\t\t <div class="realcanvas descrip descrip-browse" id="descriptonright" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5); color:#fff;opacity:0;overflow:hidden">\n\t\t\t\t\t<div id="descriptonrightSpan" dir="auto"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t'),HTML.DIV({class:"button-box row",style:"text-align:center;margin-top:15px"},"\n\t\t\t\t",HTML.A({id:"rightbutton",class:"btn btn-danger btndesc",role:"button",style:"width:50%"},HTML.SPAN({id:"rightshow",style:"display:inline;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_show")}))),HTML.SPAN({id:"righthide",style:"display:none;"},Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.descr.btn_hide")})))),"\n\t\t\t"),HTML.Raw('\n\n\t\t\t<p class="canvas_desc"></p>\n\t\t')),"\n\n\t\t",HTML.DIV({id:"right-arrow",class:"col-xs-2",style:"align-items: stretch;"},"\n\t\t\t",HTML.SPAN({title:function(){return Spacebars.mustache(e.lookup("_"),"view.navigation.txt_right")},class:"glyphicon glyphicon-chevron-right"}),"\n\t\t"),"\n\t"),"\n\t",Blaze.View("lookup:showScenario",(function(){return Spacebars.mustache(e.lookup("showScenario"))})),"\n\t",HTML.DIV({id:"socialModal",class:"modal"},HTML.Raw("\n\t\t\x3c!-- Modal content --\x3e\n\t\t"),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n\t\t\t",HTML.DIV({class:"modal-header"},HTML.Raw('\n\t\t\t\t<span class="close2">Ã</span>\n\t\t\t\t'),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_title")}))),"\n\t\t\t"),"\n\t\t\t",HTML.DIV({class:"modal-body"},"\n\t\t\t\t",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_share")})),HTML.Raw("<br>\n\t\t\t\t\t"),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t\t\t\t\t"),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_tw")},target:"_blank",href:function(){return["https://twitter.com/home?status=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t\t\t\t\t"),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t\t\t\t\t"),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=Self-driving%20cars%20making%20life-or-death%20choices&summary=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?%20Check%20out%20this%20scenario.&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t\t\t\t\t"),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Self-driving%20cars%20making%20life-or-death%20choices&body=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?%20Check%20out%20this%20scenario%3A%20",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),HTML.Raw("\n\t\t\t\t\t<br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n\t "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n\t "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n\t "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n\t "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n\t\t\t\t"),HTML.Raw("<br>\n\t\t\t\t"),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_link")}))," ",HTML.INPUT({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_linkdescr")},id:"select_link",type:"text",readonly:"",onclick:"this.select();",value:function(){return[Spacebars.mustache(e.lookup("siteLocation")),Spacebars.mustache(e.lookup("sharePath"))]}})),HTML.Raw("<br>\n\t\t\t")),"\n\t\t"),"\n\t"),"\n\n\t\t",HTML.DIV({class:function(){return["container page ",Spacebars.mustache(e.lookup("classViewMain"))]},style:"display:flex;"},HTML.Raw('\n\t\t\t<div class="col-xs-12" id="disqus_thread"></div>\n\t\t')),"\n\n\t\t",HTML.SCRIPT('\n\t\t\t/**\n\t\t\t *RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.\n\t\t\t *LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables\n\t\t\t */\n\t\t\tvar disqus_config = function () {\n\t\t\t\tthis.page.url = "http://moralmachine.mit.edu/browse/',Blaze.View("lookup:scenarioId",(function(){return Spacebars.mustache(e.lookup("scenarioId"))})),'";\n\t\t\t\tthis.page.identifier = "browse:',Blaze.View("lookup:scenarioId",(function(){return Spacebars.mustache(e.lookup("scenarioId"))})),"\";\n \tthis.language=TAPi18n.getLanguage();\n\t\t\t};\n\n\t\t\t(function() {// DON'T EDIT BELOW THIS LINE\n\t\t\t\t//return;\n\t\t\t\tvar d = document, s = d.createElement('script');\n\n\t\t\t\ts.src = 'https://moralmachine.disqus.com/embed.js';\n\t\t\t\ts.type=\"text/javaScript\";\n\t\t\t\ts.async=true;\n\t\t\t\ts.setAttribute('data-timestamp', +new Date());\n\t\t\t\t(d.head || d.body).appendChild(s);\n\t\t\t})();\n\n\t\t\tvar loadComments = function(sid) {\n\t\t\t\tif (_.isUndefined(window.DISQUS)) return;\n\n\t\t\t\tDISQUS.reset({\n\t\t\t\t\treload: true,\n\t\t\t\t\tconfig: function () {\n\t\t\t\t\t\tthis.page.identifier = \"browse:\"+sid;\n\t\t\t\t\t\tthis.page.url = \"http://moralmachine.mit.edu/browse/\"+sid;\n\t \tthis.language=TAPi18n.getLanguage();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\t\t"),"\n\n\t\t",HTML.NOSCRIPT(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"view.htm_noscript"))}))),"\n\n\n\t"),"\n\n\t",HTML.SCRIPT({type:"text/javascript"},"\n\t\tif (Session.get(\"firstLoad\")===\"N\") Helpers.showScenario();\n\n\t\tvar currentWindowWidth = $(window).width();\n\t\tvar currentWindowHeight = $(window).height();\n\n\t\t$('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n\n\t\tvar maxWidth = $('canvas').width();\n\t\tvar maxHeight = $('canvas').height();
206\n\n\t\t$(window).resize(function() {\n\t\t\tvar newWindowWidth = $(window).width();\n\t\t\tvar newWindowHeight = $(window).height();\n\t\t\tvar currentCanvasWidth = $('.canvas').width();\n\t\t\tvar currentCanvasHeight = $('.canvas').height();\n\n\t\t\tif (newWindowWidth != currentWindowWidth) {\n\t\t\t\t$('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n\t\t\t\t$('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n\t\t\t\tcurrentWindowWidth = newWindowWidth;\n\t\t\t}\n\n\t\t\tif (newWindowHeight != currentWindowHeight) {\n\t\t\t\t$('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n\t\t\t\t$('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n\t\t\t\tcurrentWindowHeight = newWindowHeight;\n\t\t\t}\n\t\t});\n\t")]}))},
206"template.ViewMobile.js":function e(){Template.__checkName("ViewMobile"),Template.ViewMobile=new Template("Template.ViewMobile",(function(){var e=this;return[HTML.DIV({class:"page judge"},"\n ",HTML.DIV({class:"container",dir:"ltr"},"\n ",HTML.DIV({id:"left-arrow",class:"col-xs-2",style:"align-items: stretch;"},"\n ",HTML.SPAN({title:function(){return Spacebars.mustache(e.lookup("_"),"view.navigation.txt_left")},class:function(){return["glyphicon-mobile glyphicon-chevron-",Spacebars.mustache(e.lookup("arrowDir"),"left")]},style:"margin-top:5%"}),"\n "),"\n ",HTML.DIV({class:"col-xs-8",style:"vertical-align: middle;"},"\n ",HTML.H3({style:"margin-top:8px;",id:"stitle"},Blaze.View("lookup:showTitle",(function(){return Spacebars.mustache(e.lookup("showTitle"))}))),"\n "),"\n ",HTML.DIV({id:"right-arrow",class:"col-xs-2",style:"align-items: stretch;"},"\n ",HTML.SPAN({id:"right-arrow2",title:function(){return Spacebars.mustache(e.lookup("_"),"view.navigation.txt_right")},class:function(){return[" glyphicon-mobile glyphicon-chevron-",Spacebars.mustache(e.lookup("arrowDir"),"right")]},style:"margin-top:5%"}),"\n "),"\n "),"\n ",HTML.DIV({id:"viewbuttons",dir:"auto",class:"view-button-panel-mobile"},HTML.Raw('\n <a id="share" class="btn btn-danger">\n <i class="fa fa-share-alt"> </i>\n <span></span>\n </a>\n <a id="link" class="btn btn-danger">\n <i class="fa fa-external-link"> </i>\n <span></span>\n </a>\n '),HTML.A({id:"like",class:function(){return["btn btn-danger ",Spacebars.mustache(e.lookup("classLiked"))]}},HTML.Raw('\n <i class="fa fa-thumbs-up"> </i>\n '),HTML.SPAN(Blaze.View("lookup:getLikes",(function(){return Spacebars.mustache(e.lookup("getLikes"))}))),"\n "),"\n ",HTML.A({id:"random-button",class:"btn btn-danger"},HTML.Raw('\n <i class="fa fa-random"> </i>\n '),HTML.SPAN(HTML.Raw(" "),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"view.navigation.btn_random")}))),"\n "),"\n "),"\n ",HTML.DIV({class:"swiper-container"},HTML.Raw('\n <div class="swiper-wrapper">\n \x3c!-- Slides --\x3e\n <div id="left_swiper" class="swiper-slide">\n <div id="left_outcome" class="col-xs-10 page left thumbnail">\n <div class="canvas avgame-outcome">\n <canvas class="realcanvas" id="canvas_00" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images00" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/L.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip descrip-browse" id="descriptonleft" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonleftSpan" dir="auto"></div>\n </div>\n </div>\n </div>\n </div>\n <div id="right_swiper" class="swiper-slide">\n <div id="right_outcome" class="col-xs-10 page right thumbnail">\n <div class="canvas avgame-outcome">\n <canvas class="realcanvas" id="canvas_01" width="600px" height="900px" style="position: absolute; z-index: 1;"></canvas>\n <canvas class="realcanvas" id="canvas_images01" width="600px" height="900px" style="position: absolute; z-index: 2;background: url(\'http://avgame.s3-accelerate.amazonaws.com/images/layouts/R.png\');background-size:contain;"></canvas>\n <div class="realcanvas descrip descrip-browse" id="descriptonright" width="600px" height="900px" style="position: absolute; z-index: 10;background: rgba(0, 0, 0, 0.5);color:#fff;opacity:0;overflow:hidden">\n <div id="descriptonrightSpan" dir="auto"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n \x3c!-- If we need pagination --\x3e\n <div class="swiper-pagination"></div>\n '),Blaze.View("lookup:showScenario",(function(){return Spacebars.mustache(e.lookup("showScenario"))})),HTML.Raw('\n \x3c!-- If we need navigation buttons --\x3e\n \x3c!-- <div class="swiper-button-prev"></div>\n <div class="swiper-button-next"></div> --\x3e\n ')),"\n ",HTML.DIV({id:"buttomarrayy",style:"text-align: center;"},HTML.Raw('\n\n\n <a id="describe" class="btn btn-danger btndesc" style="width:15%;">\n \x3c!-- <span> Show Description</span>
206 --\x3e\n <span class="fa fa-question-circle"></span> \n </a>\n\n '),HTML.A({dir:"auto",id:"straightcar",class:"btn btn-danger",style:"width:30%;margin-left:5%"},HTML.Raw('\n <span class="fa fa-arrow-down"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.outcome.btn_stay")})),"\n "),"\n ",HTML.A({dir:"auto",id:"shiftcar",class:"btn btn-danger",style:"width:30%;margin-right:5%"},HTML.Raw('\n <span class="fa fa-share gly-rotate-flip"></span> '),Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"common.outcome.btn_swerve")})),"\n "),"\n\n "),"\n ",HTML.DIV({id:"socialModal",class:"modal"},HTML.Raw("\n \x3c!-- Modal content --\x3e\n "),HTML.DIV({class:"modal-content",id:"myModalContent"},"\n ",HTML.DIV({class:"modal-header"},HTML.Raw('\n <span class="close2">Ã</span>\n '),HTML.H3(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_title")}))),"\n "),"\n ",HTML.DIV({class:"modal-body"},"\n ",HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_share")})),HTML.Raw("<br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_fb")},target:"_blank",href:function(){return["https://www.facebook.com/sharer/sharer.php?u=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-facebook-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_tw")},target:"_blank",href:function(){return["twitter://post?message=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"%0Avia%20%40ScalableCoop%0A%23MoralMachine%20%23trolleyProblem%20%23morality%20%23AI%20%23ethics"]}},HTML.Raw('<i class="fa fa-twitter-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_wa")},href:function(){return["whatsapp://send?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]},"data-action":"share/whatsapp/share",class:"Share-link m-whatsapp"},HTML.Raw('<i class="fa fa-whatsapp fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_gp")},target:"_blank",href:function(){return["https://plus.google.com/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-google-plus-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_li")},target:"_blank",href:function(){return["https://www.linkedin.com/shareArticle?mini=true&url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=Self-driving%20cars%20making%20life-or-death%20choices&summary=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?%20Check%20out%20this%20scenario.&source=MIT%20Media%20Lab"]}},HTML.Raw('<i class="fa fa-linkedin-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_em")},target:"_blank",href:function(){return["mailto:?&subject=Self-driving%20cars%20making%20life-or-death%20choices&body=What%20should%20a%20self-driving%20car%20do%20if%20it%20is%20forced%20to%20choose%20whom%20to%20kill?%20Check%20out%20this%20scenario%3A%20",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-envelope-square fa-icon-custom-large"> </i>')),HTML.Raw("\n <br>\n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_rd")},target:"_blank",href:function(){return["http://www.reddit.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-reddit-square fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_dg")},target:"_blank",href:function(){return["http://www.digg.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-digg fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.btn_su")},target:"_blank",href:function(){return["http://www.stumbleupon.com/submit?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-stumbleupon-circle fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"zh")]}},HTML.Raw("<br>\n "),HTML.A({title:"åäº«å°æ°æµªå¾®å",target:"_blank",href:function(){return["http://service.weibo.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°è
¾è®¯å¾®å",target:"_blank",href:function(){return["http://v.t.qq.com/share/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-tencent-weibo fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°å¾®ä¿¡",target:"_blank",href:function(){return["weixin://dl/businessWebview/link/?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-weixin fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°QQ空é´",target:"_blank",href:function(){return["http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-qq fa-icon-custom-large"> </i>')),HTML.Raw(" \n "),HTML.A({title:"å享å°äººäººç½",target:"_blank",href:function(){return["http://share.renren.com/share/buttonshare?link=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default")]}},HTML.Raw('<i class="fa fa-renren fa-icon-custom-large"> </i>')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"kr")]}},HTML.Raw("<br>\n "),HTML.A({title:"ì¹´ì¹´ì¤í¡ì ê³µì ",target:"_blank",href:function(){return["kakaolink://sendurl?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&msg=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"&appid=m.kakao.com&appver=2.0&appname=Moral%20Machine"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_talk_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ë°´ëì ê³µì ",target:"_blank",href:function(){return["bandapp://create/post?text=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/kr_band_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ja")]}},HTML.Raw("<br>\n "),HTML.A({title:"LINEã§ã·ã§ã¢",target:"_blank",href:function(){return["line://msg/text/",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"%0A",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/jp_line_logo.png">')),"\n "),"\n ",HTML.DIV({style:function(){return["display:",Spacebars.mustache(e.lookup("displayBlockIn"),"ru")
206]}},HTML.Raw("<br>\n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° ÐдноклаÑÑники",target:"_blank",href:function(){return["http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped"))]}},HTML.Raw('<i class="fa fa-odnoklassniki fa-icon-custom-large"></i>')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ Ð½Ð° СÑÑÑинбÑÑд",target:"_blank",href:function(){return["http://surfingbird.ru/share?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&screenshot=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<img src="http://avgame.s3-accelerate.amazonaws.com/images/logo/ru_sb_logo.png">')),HTML.Raw(" \n "),HTML.A({title:"ÐоделиÑÑÑÑ ÐÐонÑакÑе",target:"_blank",href:function(){return["http://vk.com/share.php?url=",Spacebars.mustache(e.lookup("siteLocationEscaped")),Spacebars.mustache(e.lookup("sharePathEscaped")),"&description=",Spacebars.mustache(e.lookup("i18nEscaped"),"sharing.view.txt_default"),"&title=",Spacebars.mustache(e.lookup("i18nEscaped"),"home.txt_title"),"&image=http%3A%2F%2Fmoralmachine.mit.edu%2Fimages%2Fteaser.jpg"]}},HTML.Raw('<i class="fa fa-vk fa-icon-custom-large"></i>')),"\n "),"\n "),HTML.Raw("\n <br>\n "),HTML.H4(Blaze.View("lookup:_",(function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_link")}))," ",HTML.INPUT({title:function(){return Spacebars.mustache(e.lookup("_"),"sharing.view.txt_linkdescr")},id:"select_link",type:"text",readonly:"",onclick:"this.select();",value:function(){return[Spacebars.mustache(e.lookup("siteLocation")),Spacebars.mustache(e.lookup("sharePath"))]}})),HTML.Raw("\n <br>\n ")),"\n "),"\n "),HTML.Raw('\n <div class="container page" style="display:flex;">\n <div class="col-xs-12" id="disqus_thread"></div>\n </div>\n '),HTML.SCRIPT('\n /**\n * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.\n * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables\n */\n\n var disqus_config = function() {\n this.page.url = "http://moralmachine.mit.edu/browse/',Blaze.View("lookup:scenarioId",(function(){return Spacebars.mustache(e.lookup("scenarioId"))})),'"; // Replace PAGE_URL with your page\'s canonical URL variable\n this.page.identifier = "browse.',Blaze.View("lookup:scenarioId",(function(){return Spacebars.mustache(e.lookup("scenarioId"))})),"\"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable\n this.language=TAPi18n.getLanguage();\n };\n\n (function() { // DON'T EDIT BELOW THIS LINE\n\t\t\t// return;\n var d = document,\n s = d.createElement('script');\n\n s.src = '//moralmachine.disqus.com/embed.js';\n\n s.setAttribute('data-timestamp', +new Date());\n (d.head || d.body).appendChild(s);\n })();\n var loadComments = function(sid) {\n\t\t\tif (_.isUndefined(window.DISQUS)) return;\n\n DISQUS.reset({\n reload: true,\n config: function() {\n this.page.identifier = \"browse.\" + sid;\n // console.log(this.page.identifier);\n this.page.url = \"http://moralmachine.mit.edu/\" + \"browse/\" + sid;\n this.language=TAPi18n.getLanguage();\n }\n });\n };\n "),"\n ",HTML.NOSCRIPT(Blaze.View("lookup:_",(function(){return Spacebars.makeRaw(Spacebars.mustache(e.lookup("_"),"view.htm_noscript"))}))),"\n "),"\n ",HTML.SCRIPT({type:"text/javascript"},"\n if (Session.get(\"firstLoad\") === \"N\") Helpers.showScenario();\n\n\n\n var swiper = new Swiper('.swiper-container', {\n pagination: '.swiper-pagination',\n slidesPerView: 1,\n paginationClickable: true,\n spaceBetween: 0,\n effect: 'cube',\n onlyExternal: true,\n cube: {\n slideShadows: false,\n shadow: false,\n },\n // paginationBulletRender: function(index, className) {\n // return ((index == 0 ? '<span class=\"fa fa-hand-o-left\"></span> swipe' : '') + '<span class=\"' + className + '\"></span>' + (index == 1 ? 'swipe <span class=\"fa fa-hand-o-right\"></span>' : ''));\n // },\n onTransitionStart: function(swiper) {\n\n var target\n if ($('#left_swiper').children().first().attr('id') == \"left_outcome\") {\n\n target = swiper.activeIndex == 0 ? '#descriptonleft' : '#descriptonright'\n } else {\n target = swiper.activeIndex == 1 ? '#descriptonleft' : '#descriptonright'\n }\n\n var n = $(target).css(\"opacity\");\n if (n == 0) {\n $('.btndesc').removeClass('active')\n // $('.btn
206desc').text('Show Description')\n } else {\n\n $('.btndesc').addClass('active')\n // $('.btndesc').text('Hide Description');\n }\n\n },\n });\n\n\n var currentWindowWidth = $(window).width();\n var currentWindowHeight = $(window).height();\n\n $('.canvas').css(\"height\", $('.canvas').width() * 1.5);\n\n var maxWidth = $('canvas').width();\n var maxHeight = $('canvas').height();\n\n // console.log(maxWidth);\n // console.log(maxHeight);\n var resized = false;\n $(window).resize(function() {\n if (resized) return;\n resized = true;\n var newWindowWidth = $(window).width();\n var newWindowHeight = $(window).height();\n var currentCanvasWidth = $('.canvas').width();\n var currentCanvasHeight = $('.canvas').height();\n\n // console.log(newWindowWidth);\n // console.log(newWindowHeight);\n\n if (newWindowWidth != currentWindowWidth) {\n $('.canvas').css(\"width\", Math.min(currentCanvasWidth * 1.0 * newWindowWidth / currentWindowWidth, maxWidth));\n $('.canvas').css(\"height\", Math.min($('.canvas').width() * 1.5, maxHeight));\n currentWindowWidth = newWindowWidth;\n }\n\n if (newWindowHeight != currentWindowHeight) {\n $('.canvas').css(\"height\", Math.min(currentCanvasHeight * 1.0 * newWindowHeight / currentWindowHeight, maxHeight));\n $('.canvas').css(\"width\", Math.min($('.canvas').height() * 2.0 / 3, maxWidth));\n currentWindowHeight = newWindowHeight;\n }\n });\n\n\n\n\n $(function() {\n $('#describe').click(function() {\n\n //alert('here')\n //alert(swiper.activeIndex);\n //alert(Session.get(\"swiperrvalue\"))\n\n\n if ($('#left_swiper').children().first().attr('id') == \"left_outcome\") { // left one\n\n if (swiper.activeIndex == 0) {\n $('#descriptonleftSpan').html(Session.get(\"leftcontent\"))\n\n var initialfont = 20\n $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n while ($('#descriptonleftSpan').height() > $('#descriptonleft').height()) {\n initialfont = initialfont - 1\n $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n }\n\n if ($('#describe').hasClass('active')) {\n\n $('#describe').removeClass('active')\n $('#descriptonleft').css('opacity', 0);\n // $(\"#describe\").text('Show Description');\n } else {\n\n $('#describe').addClass('active')\n $('#descriptonleft').css('opacity', 1);\n // $(\"#describe\").text('Hide Description');\n }\n } else {\n $('#descriptonrightSpan').html(Session.get(\"rightcontent\"))\n var initialfont = 20\n $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n\n while ($('#descriptonrightSpan').height() > $('#descriptonright').height()) {\n initialfont = initialfont - 1\n $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n }\n\n\n\n if ($('#describe').hasClass('active')) {\n\n $('#describe').removeClass('active')\n $('#descriptonright').css('opacity', 0);\n // $(\"#describe\").text('Show Description');\n } else {\n\n $('#describe').addClass('active')\n $('#descriptonright').css('opacity', 1);\n // $(\"#describe\").text('Hide Description');\n }\n }\n\n\n\n\n } else {\n\n if (swiper.activeIndex == 1) {\n $('#descriptonleftSpan').html(Session.get(\"leftcontent\"))\n var initialfont = 20\n $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n while ($('#descriptonleftSpan').height() > $('#descriptonleft').height()) {\n initialfont = initialfont - 1\n $('#descriptonleftSpan').css('font-size', initialfont + 'px')\n }\n\n if ($('#describe').hasClass('active')) {\n\n $('#describe').removeClass('active')\n $('#descriptonleft').css('opacity', 0);\n // $(\"#describe\").text('Show Description');\n } else {\n\n $('#describe').addClass('active')\n $('#descriptonleft').css('opacity', 1);\n // $(\"#describe\").text('Hide Description');\n }\n } else {\n $('#descriptonrightSpan').html(Session.get(\"rightcontent\"))\n var initialfont = 20\n $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n\n while ($('#descriptonrightSpan').height() > $('#descriptonright').height()) {\n initialfont = initialfont - 1\n $('#descriptonrightSpan').css('font-size', initialfont + 'px')\n }\n\n\n\n if ($('#describe').hasClass('active')) {\n\n $('#describe').removeClass('active')\n $('#descriptonright').css('opacity', 0);\n // $(\"#describe\").text('Show Description');\n } else {\n\n $('#describe').addClass('active')\n $('#descriptonright').css('opacity', 1);\n // $(\"#describe\").text('Hide Description');\n }\n }\n\n\n }\n\n });\n });\n ")]}))},
206"template.Visualization.js":function e(){Template.__checkName("Visualization"),Template.Visualization=new Template("Template.Visualization",(function(){var e=this;return HTML.Raw('<div class="page visualization" style="height: 100vh;">\n <iframe src="/visualization/index.html" style="width: 100%; height: 100%"></iframe>\n </div>')}))},
206"template.VisualizationMobile.js":function e(){Template.__checkName("VisualizationMobile"),Template.VisualizationMobile=new Template("Template.VisualizationMobile",(function(){var e=this;return HTML.Raw('<div class="page visualization" style="height: 100vh;">\n <iframe src="/visualization/index.html" style="width: 100%; height: 100%"></iframe>\n </div>')}))}},events:{
206"About_events.js":function e(){Template.About.events({})},
206"ClassicMobile_events.js":function e(){Template.ClassicMobile.events({"click #sumitresult, touch #sumitresult":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t;DecisionTS=new Date,seen=!!Session.get("sessId"),seenCovid=!!Session.get("sessidcovid"),"left_outcome"==$("#left_swiper").children().first().attr("id")?0==swiper.activeIndex?(t=null!=$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponseClassic",{lang:TAPi18n.getLanguage(),sessionid:SessIdClassic,scenario:FirstSetClassic[Session.get("scenarioOrderClassic")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrderClassic")+1,outcome:0,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,descripScroll:descripScroll,answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.cClick(),$("#load-cog-1").css("display","none")):(DecisionTS=new Date,t=null==$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponseClassic",{lang:TAPi18n.getLanguage(),sessionid:SessIdClassic,scenario:FirstSetClassic[Session.get("scenarioOrderClassic")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrderClassic")+1,outcome:1,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,descripScroll:descripScroll,answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.cClick(),$("#load-cog-0").css("display","none")):(console.log("this function is not going to be used"),1==swiper.activeIndex?(t=null!=$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponseClassic",{lang:TAPi18n.getLanguage(),sessionid:SessIdClassic,scenario:FirstSetClassic[Session.get("scenarioOrderClassic")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrderClassic")+1,outcome:0,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,descripScroll:descripScroll,answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.cClick(),$("#load-cog-1").css("display","none")):(DecisionTS=new Date,t=null==$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponseClassic",{lang:TAPi18n.getLanguage(),sessionid:SessIdClassic,scenario:FirstSetClassic[Session.get("scenarioOrderClassic")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrderClassic")+1,outcome:1,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,descripScroll:descripScroll,answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.cClick(),$("#load-cog-0").css("display","none"))),$("#straightcar").removeClass("active"),$("#shiftcar").removeClass("active"),$("#describe").removeClass("active"),$("#descriptonright").css("opacity",0),$("#descriptonleft").css("opacity",0),Session.set("JudgeMobileSelect",!1),Session.set("descriptionLeft",!1),Session.set("descriptionRight",!1),$("#describe").addClass("disabled"),$("#sumitresult").addClass("disabled"),e.handled=!0},"click .close2, touch .close2, click #nobutton, touch #nobutton2, click #backbutton, touch #backbutton":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("exitWarning").style.display="none",e.handled=!0},"click #yesbutton, touch #yesbutton":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Session.set("warningYes",!0),Session.set("firstLoadClassic","Y"),$(Session.get("temppage")).trigger("click"),document.getElementById("exitWarning").style.display="none",e.handled=!0},"click #straightcar, touch #straightcar":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;$("#describe").removeClass("disabled"),$("#sumitresult").removeClass("disabled"),"left_outcome"==$("#left_swiper").children().first().attr("id")?swiper.slidePrev():swiper.slideNext(),document.getElementById("canvas_images0M").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".url0"),$("#straightcar").addClass("active"),$("#shiftcar").removeClass("active"),0==Session.get("JudgeMobileSelect")&&(Session.set("JudgeMobileSelect",!0),Helpers.renderScenario()),e.handled=!0},"click #shiftcar, touch #shiftcar":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;$("#describe").removeClass("disabled"),$("#sumitresult").removeClass("disabled"),"left_outcome"==$("#left_swiper").children().first().attr("id")?swiper.slideNext():swiper.slidePrev(),document.getElementById("canvas_images1M").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".url1"),$("#shiftcar").addClass("active"),$("#straightcar").removeClass("active"),0==Session.get("JudgeMobileSelect")&&(Session.set("JudgeMobileSelect",!0),Helpers.renderScenario()),e.handled=!0},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(OOOclassic&&(optOutTime=new Date,Meteor.call("optOutClassic",{lang:TAPi18n.getLanguage(),sessionid:Se
206ssion.get("sessidclassic"),UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOOclassic=!1),document.getElementById("optout-modal").style.display="block",!0)},"click #close-optout-modal, touch #close-optout-modal":function(e){e.stopPropagation(),e.preventDefault(),Session.set("warningYes",!0),Session.set("firstLoad","Y"),$(Session.get("temppage")).trigger("click"),document.getElementById("optout-modal").style.display="none"}})},
206"ClassicSurveyMobile_events.js":function e(){Template.ClassicSurveyMobile.events({"click #tryagain, click #tryagainurl, click #tryagainoptout, touch #tryagain, touch #tryagainurl, touch #tryagainoptout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(Session.set("templateName","Classic"),Session.set("templateNameMobile","ClassicMobile"),Session.set("firstLoadClassic","Y"),Helpers.showScenario(),!0)},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(OOOclassic&&(optOutTime=new Date,Meteor.call("optOutClassic",{lang:TAPi18n.getLanguage(),sessionid:Session.get("sessidclassic"),UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOOclassic=!1),document.getElementById("myModal").style.display="block",!0)},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click #submitsurvey, touch #submitsurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t={lang:TAPi18n.getLanguage(),timestamp:new Date,age:parseInt(document.getElementById("age").value),gender:document.getElementById("gender").value,education:document.getElementById("education").value,income:document.getElementById("income").value,political:parseFloat($("#political").val()),religious:parseFloat($("#religious").val())},a=[],n=[];$(".surveyq3").each((function(){a.push($(this).attr("id").substring(2))})),$(".surveyq4").each((function(){n.push($(this).attr("id").substring(2))})),Meteor.call("AddClassicScore",{lang:TAPi18n.getLanguage(),sessionid:Session.get("sessidclassic"),username:UserFingerprint,userIP:Session.get("ip"),survey:t,reviewOrder:{surveyq3:a,surveyq4:n}}),$("#surveyTitleThank").show(),$("#survey").css("display","none"),$("#surveyTitle").css("display","none"),$("#surveyTitle").hide(),$(".results-optout").hide(),e.handled=!0},"click #covidSurveyModal, touch #covidSurveyModal, click #close-covid-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("covidSurveyModal").style.display="none",e.handled=!0},"click #covidSurveyModalContent, touch #covidSurveyModalContent":function(e){e.stopPropagation(),e.preventDefault()},"click #covid19-button, touch #covid19-button":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("covidSurveyModal").style.display="block",Helpers.showCovid19("homepage")}})},
206"ClassicSurvey_events.js":function e(){Template.ClassicSurvey.events({"click #tryagain, click #tryagainurl, click #tryagainoptout, touch #tryagain, touch #tryagainurl, touch #tryagainoptout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(Session.set("templateName","Classic"),Session.set("templateNameMobile","ClassicMobile"),Session.set("firstLoadClassic","Y"),Helpers.showScenario(),!0)},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(OOOclassic&&(optOutTime=new Date,Meteor.call("optOutClassic",{lang:TAPi18n.getLanguage(),sessionid:Session.get("sessidclassic"),UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOOclassic=!1),document.getElementById("myModal").style.display="block",!0)},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click #submitsurvey, touch #submitsurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t={lang:TAPi18n.getLanguage(),timestamp:new Date,age:parseInt(document.getElementById("age").value),gender:document.getElementById("gender").value,education:document.getElementById("education").value,income:document.getElementById("income").value,political:parseFloat($("#political").val()),religious:parseFloat($("#religious").val())},a=[],n=[];$(".surveyq3").each((function(){a.push($(this).attr("id").substring(2))})),$(".surveyq4").each((function(){n.push($(this).attr("id").substring(2))})),Meteor.call("AddClassicScore",{lang:TAPi18n.getLanguage(),sessionid:Session.get("sessidclassic"),username:UserFingerprint,userIP:Session.get("ip"),survey:t,reviewOrder:{surveyq3:a,surveyq4:n}}),$("#surveyTitleThank").show(),$("#survey").css("display","none"),$("#surveyTitle").css("display","none"),$("#surveyTitle").hide(),$(".results-optout").hide(),e.handled=!0},"click #covidSurveyModal, touch #covidSurveyModal, click #close-covid-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("covidSurveyModal").style.display="none",e.handled=!0},"click #covidSurveyModalContent, touch #covidSurveyModalContent":function(e){e.stopPropagation(),e.preventDefault()},"click #covid19-button, touch #covid19-button":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("covidSurveyModal").style.display="block",Helpers.showCovid19("homepage")}})},
206"Classic_events.js":function e(){var t=function(e,t){DecisionTS=new Date,seen=!!Session.get("sessId"),seenCovid=!!Session.get("sessidcovid"),Meteor.call("addResponseClassic",{lang:TAPi18n.getLanguage(),sessionid:SessIdClassic,scenario:FirstSetClassic[Session.get("scenarioOrderClassic")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrderClassic")+1,outcome:e,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Desktop",device:navigator.userAgent,answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.cClick(),$(".btndesc").removeClass("active"),$("#rightshow").show(),$("#righthide").hide(),$("#leftshow").show(),$("#lefthide").hide(),$(".descrip").css("opacity",0),a()};Template.Classic.events({"click #left_outcome .canvas, touchstart #left_outcome .canvas":function(){$("#canvas_images0").hasClass("Classic0D")&&t(0,!0),$("#canvas_images0").hasClass("Classic1D")&&t(1,!0)},"click #right_outcome .canvas, touchstart #right_outcome .canvas":function(){$("#canvas_images0").hasClass("Classic0D")&&t(1,!1),$("#canvas_images0").hasClass("Classic1D")&&t(0,!1)},"mouseover #right_outcome .canvas":function(){$("#right_outcome .realcanvas.pccanvas").addClass("realcanvas_active")},"mouseover #left_outcome .canvas":function(){$("#left_outcome .realcanvas.pccanvas").addClass("realcanvas_active")},"mouseout #right_outcome .canvas":function(){$("#right_outcome .realcanvas.pccanvas").removeClass("realcanvas_active")},"mouseout #left_outcome .canvas":function(){$("#left_outcome .realcanvas.pccanvas").removeClass("realcanvas_active")},"click #rightbutton":function(){Session.set("descriptionRight",!0),$("#descriptonrightSpan").html(Session.get("rightcontent"));var e=16;for($("#descriptonrightSpan").css("font-size",e+"px");$("#descriptonrightSpan").height()>$("#descriptonright").height();)e-=1,$("#descriptonrightSpan").css("font-size",e+"px");$("#rightbutton").hasClass("active")?($("#rightbutton").removeClass("active"),$("#descriptonright").css("opacity",0),$("#rightshow").show(),$("#righthide").hide()):($("#rightbutton").addClass("active"),$("#descriptonright").css("opacity",1),$("#rightshow").hide(),$("#righthide").show())},"click #leftbutton":function(){Session.set("descriptionLeft",!0),$("#descriptonleftSpan").html(Session.get("leftcontent"));var e=16;for($("#descriptonleftSpan").css("font-size",e+"px");$("#descriptonleftSpan").height()>$("#left_outcome").height();)e-=1,$("#descriptonleftSpan").css("font-size",e+"px");$("#leftbutton").hasClass("active")?($("#leftbutton").removeClass("active"),$("#descriptonleft").css("opacity",0),$("#leftshow").show(),$("#lefthide").hide()):($("#leftbutton").addClass("active"),$("#descriptonleft").css("opacity",1),$("#leftshow").hide(),$("#lefthide").show())},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(OOOclassic&&(optOutTime=new Date,Meteor.call("optOutClassic",{lang:TAPi18n.getLanguage(),sessionid:Session.get("sessidclassic"),UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOOclassic=!1),document.getElementById("optout-modal").style.display="block",!0)},"click #close-optout-modal, touch #close-optout-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Session.set("warningYes",!0),Session.set("firstLoad","Y"),$(Session.get("temppage")).trigger("click"),document.getElementById("optout-modal").style.display="none",e.handled=!0},"click .close2, click #nobutton":function(e){document.getElementById("exitWarning").style.display="none"},"click #yesbutton":function(e){Session.set("warningYes",!0),Session.set("firstLoadClassic","Y"),$(Session.get("temppage")).trigger("click")}});var a=function(){Session.set("descriptionLeft",!1),Session.set("descriptionRight",!1)},n=function(e){e.target===document.getElementById("exitWarning")&&(document.getElementById("exitWarning").style.display="none")};Template.Judge.onCreated((function(){$(window).on("click",n)})),Template.Judge.onDestroyed((function(){$(window).off("mouseup",n)}))},
206"Covid19SurveyMobile_events.js":function e(){Template.Covid19SurveyMobile.events({"click #submit-covid-19-survey, touch #submit-covid-19-survey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;DecisionTS=new Date;var t={ventilatorPriority:{mightHelpWithVirus:parseInt($("#ventilator-priority-might-help-with-virus-value").text())/100,helpedWithVirus:parseInt($("#ventilator-priority-helped-with-virus-value").text())/100,yearsOfLifeRemaining:parseInt($("#ventilator-priority-years-of-life-remaining-value").text())/100,qualityOfLife:parseInt($("#ventilator-priority-quality-of-life-value").text())/100,chanceOfRecovery:parseInt($("#ventilator-priority-chance-of-recovery-value").text())/100,firstIn:parseInt($("#ventilator-priority-first-in-value").text())/100,abilityToPay:parseInt($("#ventilator-priority-ability-to-pay-value").text())/100,helpRandomLottery:parseInt($("#ventilator-priority-random-lottery-value").text())/100},ventilatorSwap:{mightHelpWithVirus:parseInt($("#ventilator-swap-might-help-with-virus-value").text())/100,helpedWithVirus:parseInt($("#ventilator-swap-helped-with-virus-value").text())/100,yearsOfLifeRemaining:parseInt($("#ventilator-swap-years-of-life-remaining-value").text())/100,qualityOfLife:parseInt($("#ventilator-swap-quality-of-life-value").text())/100,chanceOfRecovery:parseInt($("#ventilator-swap-chance-of-recovery-value").text())/100,firstIn:parseInt($("#ventilator-swap-first-in-value").text())/100,abilityToPay:parseInt($("#ventilator-swap-ability-to-pay-value").text())/100},alternateStrategies:document.getElementById("alternate-strategies").value,demography:{age:parseInt(document.getElementById("demography-age").value),gender:document.getElementById("demography-gender").value,political:parseInt($("#demography-political-value").text())/100},knowPatient:document.getElementById("know-patient").value},a=[],n=[],s=[],i=[],o=[];$(".covidq1").each((function(){a.push($(this).attr("id").substring(2))})),$(".covidq2").each((function(){n.push($(this).attr("id").substring(2))})),$(".covidq3").each((function(){s.push($(this).attr("id").substring(2))})),$(".covidq4").each((function(){i.push($(this).attr("id").substring(2))})),$(".covidq5").each((function(){o.push($(this).attr("id").substring(2))})),seenJudge=!!Session.get("sessId"),seenClassic=!!Session.get("sessidclassic"),Meteor.call("AddCovid19SurveyResult",{websiteLang:TAPi18n.getLanguage(),surveyLang:TAPi18n.getLanguage(),sessionid:SessIdCovid,username:UserFingerprint,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,sourcePage:sourcePage,seenJudge:seenJudge,seenClassic:seenClassic,survey:t,reviewOrder:{covidq1:a,covidq2:n,covidq3:s,covidq4:i,covidq5:o}}),$("#covidSurveyTitleThank").css("display","flex"),$("#covidSurveyDisclaimer").css("display","block"),$("#covidSurvey").css("display","none"),$("#covidSurveyTitle").css("display","none"),document.getElementById("covidSurveyModal").scrollTop=0,e.handled=!0},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),optOutTime=new Date,Meteor.call("optOutCovid19",{sessionid:Session.get("sessidcovid"),ooT:optOutTime}),OOOclassic=!1,document.getElementById("optout-modal").style.display="block",!0},"click #close-optout-modal, touch #close-optout-modal":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("optout-modal").style.display="none"}})},
206"Covid19Survey_events.js":function e(){Template.Covid19Survey.events({"click #submit-covid-19-survey, touch #submit-covid-19-survey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;DecisionTS=new Date;var t={ventilatorPriority:{mightHelpWithVirus:parseInt($("#ventilator-priority-might-help-with-virus-value").text())/100,helpedWithVirus:parseInt($("#ventilator-priority-helped-with-virus-value").text())/100,yearsOfLifeRemaining:parseInt($("#ventilator-priority-years-of-life-remaining-value").text())/100,qualityOfLife:parseInt($("#ventilator-priority-quality-of-life-value").text())/100,chanceOfRecovery:parseInt($("#ventilator-priority-chance-of-recovery-value").text())/100,firstIn:parseInt($("#ventilator-priority-first-in-value").text())/100,abilityToPay:parseInt($("#ventilator-priority-ability-to-pay-value").text())/100,helpRandomLottery:parseInt($("#ventilator-priority-random-lottery-value").text())/100},ventilatorSwap:{mightHelpWithVirus:parseInt($("#ventilator-swap-might-help-with-virus-value").text())/100,helpedWithVirus:parseInt($("#ventilator-swap-helped-with-virus-value").text())/100,yearsOfLifeRemaining:parseInt($("#ventilator-swap-years-of-life-remaining-value").text())/100,qualityOfLife:parseInt($("#ventilator-swap-quality-of-life-value").text())/100,chanceOfRecovery:parseInt($("#ventilator-swap-chance-of-recovery-value").text())/100,firstIn:parseInt($("#ventilator-swap-first-in-value").text())/100,abilityToPay:parseInt($("#ventilator-swap-ability-to-pay-value").text())/100},alternateStrategies:document.getElementById("alternate-strategies").value,demography:{age:parseInt(document.getElementById("demography-age").value),gender:document.getElementById("demography-gender").value,political:parseInt($("#demography-political-value").text())/100},knowPatient:document.getElementById("know-patient").value},a=[],n=[],s=[],i=[],o=[];$(".covidq1").each((function(){a.push($(this).attr("id").substring(2))})),$(".covidq2").each((function(){n.push($(this).attr("id").substring(2))})),$(".covidq3").each((function(){s.push($(this).attr("id").substring(2))})),$(".covidq4").each((function(){i.push($(this).attr("id").substring(2))})),$(".covidq5").each((function(){o.push($(this).attr("id").substring(2))})),seenJudge=!!Session.get("sessId"),seenClassic=!!Session.get("sessidclassic"),Meteor.call("AddCovid19SurveyResult",{websiteLang:TAPi18n.getLanguage(),surveyLang:TAPi18n.getLanguage(),sessionid:SessIdCovid,username:UserFingerprint,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Desktop",device:navigator.userAgent,sourcePage:sourcePage,seenJudge:seenJudge,seenClassic:seenClassic,survey:t,reviewOrder:{covidq1:a,covidq2:n,covidq3:s,covidq4:i,covidq5:o}}),$("#covidSurveyTitleThank").css("display","flex"),$("#covidSurveyDisclaimer").css("display","block"),$("#covidSurvey").css("display","none"),$("#covidSurveyTitle").css("display","none"),document.getElementById("covidSurveyModal").scrollTop=0,e.handled=!0},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),optOutTime=new Date,Meteor.call("optOutCovid19",{sessionid:Session.get("sessidcovid"),ooT:optOutTime}),OOOclassic=!1,document.getElementById("optout-modal").style.display="block",!0},"click #close-optout-modal, touch #close-optout-modal":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("optout-modal").style.display="none"}})},
206"CreateMobile_events.js":function e(){Template.CreateMobile.events({"mousedown img":function(){return!1},"click .vsopt, touch .vsopt":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=e.currentTarget.id;switch(t){case"wizvs_pvp":Helpers.removeObject("barrier"),$("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_leftlane")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_rightlane"));break;case"wizvs_pvd":Helpers.addObjectToOutcome("barrier",1),$("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_leftlane")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_incar"));break;case"wizvs_dvp":Helpers.addObjectToOutcome("barrier",0),$("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_incar")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_rightlane"))}$("#wizard_law").hasClass("block-hide")&&($("#wizard_law").removeClass("block-hide").hide().slideDown("slow","linear",(function(){$("#wizard_law").addClass("block-show")})),$("#wizard_vs").slideUp("slow","linear",(function(){$("#wizard_vs").removeClass("block-show").addClass("block-hide")}))),$(".vsopt").removeClass("active"),$("#"+t).addClass("active"),Helpers.lockOutcome(Session.get("chosenOutcome")),Helpers.renderScenario(),e.handled=!0},"click .lawopt, touch .lawopt":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=e.currentTarget.id;switch(["wizlaw_no","wizlaw_gs","wizlaw_rs"].indexOf(t)){case 0:Helpers.removeObject("crossing_signal");break;case 1:Helpers.addObjectWithValue("crossing_signal","green");break;case 2:Helpers.addObjectWithValue("crossing_signal","red")}$(".lawopt").removeClass("active"),$("#"+t).addClass("active"),($("#wizard_chars_left").hasClass("block-hide")||$("#wizard_chars_right").hasClass("block-hide"))&&(0==currentSwipe?$("#wizard_chars_left").removeClass("block-hide").hide().slideDown("slow","linear",(function(){$("#wizard_chars_left").addClass("block-show")})):$("#wizard_chars_right").removeClass("block-hide").hide().slideDown("slow","linear",(function(){$("#wizard_chars_right").addClass("block-show")})),$("#wizard_law").slideUp("slow","linear",(function(){$("#wizard_law").removeClass("block-show").addClass("block-hide")}))),Helpers.renderScenario(),e.handled=!0},"click .hitopt-left, touch .hitopt-left":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;if($(".hitopt-left").hasClass("inactive"))$(".hitopt-left").removeClass("inactive").removeClass("chosen").addClass("choose");else{var t=e.currentTarget.id;$(".hitopt-left").removeClass("active").removeClass("choose").addClass("inactive"),$("#"+t).removeClass("inactive").addClass("active").addClass("chosen")}e.handled=!0},"click .hitopt-right, touch .hitopt-right":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;if($(".hitopt-right").hasClass("inactive"))$(".hitopt-right").removeClass("inactive").removeClass("chosen").addClass("choose");else{var t=e.currentTarget.id;$(".hitopt-right").removeClass("active").removeClass("choose").addClass("inactive"),$("#"+t).removeClass("inactive").addClass("active").addClass("chosen")}e.handled=!0},"click .tile, touch .tile":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=parseInt(e.currentTarget.id);e.currentTarget.className.indexOf("tile-left")>-1?(Helpers.lockOutcome(0),$("#wizhit_d_left").hasClass("active")?Helpers.lockDamage(100):$("#wizhit_i_left").hasClass("active")?Helpers.lockDamage(50):Helpers.lockDamage(200)):(Helpers.lockOutcome(1),$("#wizhit_d_right").hasClass("active")?Helpers.lockDamage(100):$("#wizhit_i_right").hasClass("active")?Helpers.lockDamage(50):Helpers.lockDamage(200)),Helpers.addCharacter(t),Helpers.renderScenario(),e.handled=!0},"click #clearM, touch #clearM":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Helpers.clearAll(),$(".vsopt").removeClass("active"),$(".lawopt").removeClass("active"),$(".hitopt").removeClass("active").removeClass("chosen").removeClass("choose").addClass("inactive"),$("#wizhit_d_left").removeClass("inactive").addClass("active").addClass("chosen"),$("#wizhit_d_right").removeClass("inactive").addClass("active").addClass("chosen"),$("#wizard_chars_left").slideUp("fast","linear",(function(){$("#wizard_chars_left").removeClass("block-show").addClass("block-hide")})),$("#wizard_chars_right").slideUp("fast","linear",(function(){$("#wizard_chars_right").removeClass("block-show").addClass("block-hide")}
206)),$("#wizard_law").slideUp("fast","linear",(function(){$("#wizard_law").removeClass("block-show").addClass("block-hide")})),$("#wizard_vs").hasClass("block-hide")&&$("#wizard_vs").removeClass("block-hide").hide().slideDown("fast","linear",(function(){$("#wizard_vs").addClass("block-show")})),$("#stitle").val(""),$("#stitle").attr("placeholder",TAPi18n.__("create.txt_titleph")),$("#stitle").removeClass("block-warning").addClass("block-normal"),Helpers.renderScenario(),e.handled=!0},"click #submitM":function(e){return Helpers.isValidScenario(DesignedScenario)?$("#stitle").val().trim().length>64?($("#stitle").val(""),$("#stitle").attr("placeholder",TAPi18n.__("create.txt_titlephlong")),$("#stitle").removeClass("block-normal").addClass("block-warning"),!1):(DesignedScenario.id=Helpers.hashCode(JSON.stringify(DesignedScenario)),DesignedScenario.scenario_title=$("#stitle").val().trim(),DesignedScenario.lang=TAPi18n.getLanguage(),Helpers.submitScenario(),Session.set("startScenarioId",DesignedScenario.id),Session.set("viewIndex",0),Session.set("viewYours",!0),Session.set("templateName","View"),void Session.set("templateNameMobile","ViewMobile")):(document.getElementById("invalidModal").style.display="block",!1)},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click .close3, touch .close3":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("invalidModal").style.display="none",e.handled=!0},"click #straightcar, touch #straightcar":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;"left_outcome"==$("#left_swiper").children().first().attr("id")?swiper.slidePrev():swiper.slideNext(),$("#straightcar").addClass("active"),$("#shiftcar").removeClass("active"),currentSwipe=0,e.handled=!0},"click #shiftcar, touch #shiftcar":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;"left_outcome"==$("#left_swiper").children().first().attr("id")?swiper.slideNext():swiper.slidePrev(),$("#shiftcar").addClass("active"),$("#straightcar").removeClass("active"),currentSwipe=1,e.handled=!0}});var t=function(e){e.target==document.getElementById("myModal")&&(document.getElementById("myModal").style.display="none",document.getElementById("invalidModal").style.display="none")};Template.Create.onCreated((function(){$(window).on("click",t)})),Template.Create.onDestroyed((function(){$(window).off("mouseup",t)}))},
206"Create_events.js":function e(){Template.Create.events({"mousedown img":function(){return!1},"click .vsopt, touch .vsopt":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=e.currentTarget.id;switch(t){case"wizvs_pvp":Helpers.removeObject("barrier"),$("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_leftlane")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_rightlane"));break;case"wizvs_pvd":Helpers.addObjectToOutcome("barrier",1),$("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_leftlane")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_incar"));break;case"wizvs_dvp":Helpers.addObjectToOutcome("barrier",0),$("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_incar")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_rightlane"))}$("#wizard_law").hasClass("block-hide")&&($("#wizard_law").removeClass("block-hide").hide().slideDown("slow","linear",(function(){$("#wizard_law").addClass("block-show")})),$("#wizard_vs").slideUp("slow","linear",(function(){$("#wizard_vs").removeClass("block-show").addClass("block-hide")}))),$(".vsopt").removeClass("active"),$("#"+t).addClass("active"),Helpers.lockOutcome(Session.get("chosenOutcome")),Helpers.renderScenario(),e.handled=!0},"click .lawopt, touch .lawopt":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=e.currentTarget.id;switch(["wizlaw_no","wizlaw_gs","wizlaw_rs"].indexOf(t)){case 0:Helpers.removeObject("crossing_signal");break;case 1:Helpers.addObjectWithValue("crossing_signal","green");break;case 2:Helpers.addObjectWithValue("crossing_signal","red")}$(".lawopt").removeClass("active"),$("#"+t).addClass("active"),$("#wizard_chars_left").hasClass("block-hide")&&$("#wizard_chars_right").hasClass("block-hide")&&($("#wizard_chars_left").removeClass("block-hide").hide().slideDown("slow","linear",(function(){$("#wizard_chars_left").addClass("block-show")})),$("#wizard_chars_right").removeClass("block-hide").hide().slideDown("slow","linear",(function(){$("#wizard_chars_right").addClass("block-show")})),$("#wizard_law").slideUp("slow","linear",(function(){$("#wizard_law").removeClass("block-show").addClass("block-hide")}))),Helpers.renderScenario(),e.handled=!0},"click .hitopt-left, touch .hitopt-left":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;if($(".hitopt-left").hasClass("inactive"))$(".hitopt-left").removeClass("inactive").removeClass("chosen").addClass("choose");else{var t=e.currentTarget.id;$(".hitopt-left").removeClass("active").removeClass("choose").addClass("inactive"),$("#"+t).removeClass("inactive").addClass("active").addClass("chosen")}e.handled=!0},"click .hitopt-right, touch .hitopt-right":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;if($(".hitopt-right").hasClass("inactive"))$(".hitopt-right").removeClass("inactive").removeClass("chosen").addClass("choose");else{var t=e.currentTarget.id;$(".hitopt-right").removeClass("active").removeClass("choose").addClass("inactive"),$("#"+t).removeClass("inactive").addClass("active").addClass("chosen")}e.handled=!0},"click .tile, touch .tile":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=parseInt(e.currentTarget.id);e.currentTarget.className.indexOf("tile-left")>-1?(Helpers.lockOutcome(0),$("#wizhit_d_left").hasClass("active")?Helpers.lockDamage(100):$("#wizhit_i_left").hasClass("active")?Helpers.lockDamage(50):Helpers.lockDamage(200)):(Helpers.lockOutcome(1),$("#wizhit_d_right").hasClass("active")?Helpers.lockDamage(100):$("#wizhit_i_right").hasClass("active")?Helpers.lockDamage(50):Helpers.lockDamage(200)),Helpers.addCharacter(t),Helpers.renderScenario(),e.handled=!0},"click #clear, touch #clear":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Helpers.clearAll(),$(".vsopt").removeClass("active"),$(".lawopt").removeClass("active"),$(".hitopt").removeClass("active").removeClass("chosen").removeClass("choose").addClass("inactive"),$("#wizhit_d_left").removeClass("inactive").addClass("active").addClass("chosen"),$("#wizhit_d_right").removeClass("inactive").addClass("active").addClass("chosen"),$("#wizard_chars_left").slideUp("fast","linear",(function(){$("#wizard_chars_left").removeClass("block-show").addClass("block-hide")})),$("#wizard_chars_right").slideUp("fast","linear",(function(){$("#wizard_chars_right").removeClass("block-show").addClass("block-hide")}
206)),$("#wizard_law").slideUp("fast","linear",(function(){$("#wizard_law").removeClass("block-show").addClass("block-hide")})),$("#wizard_vs").hasClass("block-hide")&&$("#wizard_vs").removeClass("block-hide").hide().slideDown("fast","linear",(function(){$("#wizard_vs").addClass("block-show")})),$("#stitle").val(""),$("#stitle").attr("placeholder",TAPi18n.__("create.txt_titleph")),$("#stitle").removeClass("block-warning").addClass("block-normal"),Helpers.renderScenario(),e.handled=!0},"click #submit":function(e){return Helpers.isValidScenario(DesignedScenario)?$("#stitle").val().trim().length>64?($("#stitle").val(""),$("#stitle").attr("placeholder",TAPi18n.__("create.txt_titlephlong")),$("#stitle").removeClass("block-normal").addClass("block-warning"),!1):(DesignedScenario.id=Helpers.hashCode(JSON.stringify(DesignedScenario)),DesignedScenario.scenario_title=$("#stitle").val().trim(),DesignedScenario.lang=TAPi18n.getLanguage(),Helpers.submitScenario(),Session.set("startScenarioId",DesignedScenario.id),Session.set("viewIndex",0),Session.set("viewYours",!0),Session.set("templateName","View"),void Session.set("templateNameMobile","ViewMobile")):(document.getElementById("invalidModal").style.display="block",!1)},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click .close3, touch .close3":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("invalidModal").style.display="none",e.handled=!0}});var t=function(e){e.target==document.getElementById("myModal")&&(document.getElementById("myModal").style.display="none",document.getElementById("invalidModal").style.display="none")};Template.Create.onCreated((function(){$(window).on("click",t)})),Template.Create.onDestroyed((function(){$(window).off("mouseup",t)}))},
206"JudgeMobile_events.js":function e(){Template.JudgeMobile.events({"click #sumitresult, touch #sumitresult":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t;DecisionTS=new Date,seen=!!Session.get("sessidclassic"),seenCovid=!!Session.get("sessidcovid"),"left_outcome"==$("#left_swiper").children().first().attr("id")?0==swiper.activeIndex?(t=null!=$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:0,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.UpdateScores(0),Helpers.aClick(),$("#load-cog-1").css("display","none")):(DecisionTS=new Date,t=null==$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:1,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.UpdateScores(1),Helpers.aClick(),$("#load-cog-0").css("display","none")):1==swiper.activeIndex?(t=null!=$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:0,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.UpdateScores(0),Helpers.aClick(),$("#load-cog-1").css("display","none")):(DecisionTS=new Date,t=null==$("#straightcar").parent().children().first()[0].id.match("straight"),Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:1,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Mobile",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.UpdateScores(1),Helpers.aClick(),$("#load-cog-0").css("display","none")),$("#canvas_images0M").css("background","url('http://avgame.s3-accelerate.amazonaws.com/images/layouts/N.png')"),$("#canvas_images0M").css("background-size","contain"),$("#canvas_images1M").css("background","url('http://avgame.s3-accelerate.amazonaws.com/images/layouts/N.png')"),$("#canvas_images1M").css("background-size","contain"),$("#straightcar").removeClass("active"),$("#shiftcar").removeClass("active"),$("#describe").removeClass("active"),$("#descriptonright").css("opacity",0),$("#descriptonleft").css("opacity",0),Session.set("JudgeMobileSelect",!1),Session.set("descriptionLeft",!1),Session.set("descriptionRight",!1),$("#describe").addClass("disabled"),$("#sumitresult").addClass("disabled"),e.handled=!0},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(document.getElementById("exitWarning").style.display="none",OOO&&(console.log("opted out"),optOutTime=new Date,Meteor.call("optOut",{lang:TAPi18n.getLanguage(),sessionid:SessId,UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOO=!1),document.getElementById("optout-modal").style.display="block",!0)},"click #close-interr-modal, touch #close-interr-modal, click #nobutton, touch #nobutton2, click #backbutton, touch #backbutton":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("exitWarning").style.display="none",e.handled=!0},"click #close-optout-modal, touch #close-optout-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Session.set("warningYes",!0),Session.set("firstLoad","Y"),$(Session.get("temppage")).trigger("click"),document.getElementById("optout-modal").style.display="none",e.handled=!0},"click #yesbutton, touch #yesbutton":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Session.set("warningYes",!0),Session.set("firstLoad","Y"),$(Session.get("temppage")).trigger("click"),document.getElementById("exitWarning").style.display="none",e.handled=!0},"click #straightcar, touch #straightcar":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;$("#describe").removeClass("disabled"),$("#sumitresult").removeClass("disabled"),"left_outcome"==$("#left_swiper").children().first().attr("id")?swiper.slidePrev():swiper.slideNext(),$("#canvas_images0M").css("background","url('http://avgame.s3-accelerate.amazonaws.com/images/layouts/L.png')"),$("#canvas_images0M").css("background-size","contain"),$("#straightcar").addClass("active"),$("#shiftcar").removeClass("active"),0==Session.get("JudgeMobileSelect")&&(Session.set("JudgeMobileSelect",!0),Helpers.renderScenario()),e.handled=!0},"click #shiftcar, touch #shiftcar":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;$("#describe").removeClass("disabled"),$("#sumitresult").removeClass("disabled"),"left_outcome"==$("#left_swiper").children().first().attr("id")?swiper.slideNext():swiper.slidePrev(),$("#canvas_images1M").css("background","url('http://avgame.s3-accelerate.amazonaws.com/images/layouts/R.png')"),$("#canvas_images1M").css("background-size","contain"),$("#shiftcar").addClass("active"),$("#straightcar").removeClass("active"),0==Session.get("JudgeMobileSelect")&&(Session.set("JudgeMobileSelect",!0),Helpers.renderScenario()),e.handled=!0},"click #describe, touch #describe":function(e){if(e.stopPropagation(),e.preventDefault(),!0!==e.handled){if("left_outcome"==$("#left_swiper").children().first().attr("id"))if(0==swiper.activeIndex){Session.set("descriptionLeft",!0),$("#descriptonleftSpan").html(Session.get("leftcontent"));var t=20;for($("#descriptonleftSpan").css("font-size",t+"px");$("#descriptonleftSpan").height()>$("#descriptonleft").height();)t-=1,$("#descriptonleftSpan").css("font-size",t+"px");
206$("#describe").hasClass("active")?($("#describe").removeClass("active"),$("#descriptonleft").css("opacity",0)):($("#describe").addClass("active"),$("#descriptonleft").css("opacity",1))}else{Session.set("descriptionRight",!0),$("#descriptonrightSpan").html(Session.get("rightcontent"));var t=20;for($("#descriptonrightSpan").css("font-size",t+"px");$("#descriptonrightSpan").height()>$("#descriptonright").height();)t-=1,$("#descriptonrightSpan").css("font-size",t+"px");$("#describe").hasClass("active")?($("#describe").removeClass("active"),$("#descriptonright").css("opacity",0)):($("#describe").addClass("active"),$("#descriptonright").css("opacity",1))}else if(1==swiper.activeIndex){Session.set("descriptionLeft",!0),$("#descriptonleftSpan").html(Session.get("leftcontent"));var t=20;for($("#descriptonleftSpan").css("font-size",t+"px");$("#descriptonleftSpan").height()>$("#descriptonleft").height();)t-=1,$("#descriptonleftSpan").css("font-size",t+"px");$("#describe").hasClass("active")?($("#describe").removeClass("active"),$("#descriptonleft").css("opacity",0)):($("#describe").addClass("active"),$("#descriptonleft").css("opacity",1))}else{Session.set("descriptionRight",!0),$("#descriptonrightSpan").html(Session.get("rightcontent"));var t=20;for($("#descriptonrightSpan").css("font-size",t+"px");$("#descriptonrightSpan").height()>$("#descriptonright").height();)t-=1,$("#descriptonrightSpan").css("font-size",t+"px");$("#describe").hasClass("active")?($("#describe").removeClass("active"),$("#descriptonright").css("opacity",0)):($("#describe").addClass("active"),$("#descriptonright").css("opacity",1))}return e.handled=!0,!0}return!1}})},
206"Judge_events.js":function e(){var t=function(e){var t,n=null!=$("#left_outcome").parent().children().first()[0].id.match("left");e&&(n=!n),DecisionTS=new Date,seen=!!Session.get("sessidclassic"),seenCovid=!!Session.get("sessidcovid"),Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:e,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Desktop",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:n,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS,Helpers.UpdateScores(e),Helpers.aClick(),$(".btndesc").removeClass("active"),$("#rightshow").show(),$("#righthide").hide(),$("#leftshow").show(),$("#lefthide").hide(),$(".descrip").css("opacity",0),a()};Template.Judge.events({"click #left_outcome .canvas":function(){t(0)},"click #right_outcome .canvas":function(){t(1)},"touchstart #left_outcome .canvas":function(){var e;e=null!=$("#left_outcome").parent().children().first()[0].id.match("left"),DecisionTS=new Date,seen=!!Session.get("sessidclassic"),seenCovid=!!Session.get("sessidcovid"),Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:0,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Desktop",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:e,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS;var t=FirstSet[Session.get("scenarioOrder")].options.crossing_signal,n=FirstSet[Session.get("scenarioOrder")].options.barrier;"no"!==t&&allLaw++,-1!=n&&allPassenger++,Helpers.UpdateUtil(FirstSet,1),1==n?(passenger++,"red"===t&&law++):(0==n&&"green"===t||"red"===t)&&law++,$("#left_outcome .realcanvas.pccanvas").removeClass("realcanvas_active"),$("#right_outcome .realcanvas.pccanvas").removeClass("realcanvas_active"),Helpers.UpdateScores(0),Helpers.aClick(),$(".btndesc").removeClass("active"),$("#rightshow").show(),$("#righthide").hide(),$("#leftshow").show(),$("#lefthide").hide(),$(".descrip").css("opacity",0),a()},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(document.getElementById("exitWarning").style.display="none",OOO&&(console.log("opted out"),optOutTime=new Date,Meteor.call("optOut",{lang:TAPi18n.getLanguage(),sessionid:SessId,UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOO=!1),document.getElementById("optout-modal").style.display="block",!0)},"touchstart #right_outcome .canvas":function(){DecisionTS=new Date,seen=!!Session.get("sessidclassic"),seenCovid=!!Session.get("sessidcovid");var e,t=null==$("#left_outcome").parent().children().first()[0].id.match("left");Meteor.call("addResponse",{lang:TAPi18n.getLanguage(),sessionid:SessId,scenario:FirstSet[Session.get("scenarioOrder")],username:UserFingerprint,scenarioorder:Session.get("scenarioOrder")+1,outcome:1,ScenarioTS:ScenarioTS,DecisionTS:DecisionTS,userIP:Session.get("ip"),template:"Desktop",device:navigator.userAgent,left:Session.get("descriptionLeft"),right:Session.get("descriptionRight"),answerOnleft:t,seenOther:seen,seenCovid:seenCovid}),ScenarioTS=DecisionTS;var n=FirstSet[Session.get("scenarioOrder")].options.crossing_signal,s=FirstSet[Session.get("scenarioOrder")].options.barrier;"no"!==n&&allLaw++,-1!==s&&allPassenger++,Helpers.UpdateUtil(FirstSet,0),0==s?(passenger++,"red"===n&&law++):"green"===n&&law++,$("#left_outcome .realcanvas.pccanvas").removeClass("realcanvas_active"),$("#right_outcome .realcanvas.pccanvas").removeClass("realcanvas_active"),Helpers.UpdateScores(1),Helpers.aClick(),$(".btndesc").removeClass("active"),$("#rightshow").show(),$("#righthide").hide(),$("#leftshow").show(),$("#lefthide").hide(),$(".descrip").css("opacity",0),a()},"mouseover #right_outcome .canvas":function(){$("#right_outcome .realcanvas.pccanvas").addClass("realcanvas_active")},"mouseover #left_outcome .canvas":function(){$("#left_outcome .realcanvas.pccanvas").addClass("realcanvas_active")},"mouseout #right_outcome .canvas":function(){$("#right_outcome .realcanvas.pccanvas").removeClass("realcanvas_active")},"mouseout #left_outcome .canvas":function(){$("#left_outcome .realcanvas.pccanvas").removeClass("realcanvas_active")},"click #rightbutton":function(){Session.set("descriptionRight",!0),$("#descriptonrightSpan").html(Session.get("rightcontent"));var e=16;for($("#descriptonrightSpan").css("font-size",e+"px");$("#descriptonrightSpan").height()>$("#descriptonright").height();)e-=1,$("#descriptonrightSpan").css("font-size",e+"px");
206$("#rightbutton").hasClass("active")?($("#rightbutton").removeClass("active"),$("#descriptonright").css("opacity",0),$("#rightshow").show(),$("#righthide").hide()):($("#rightbutton").addClass("active"),$("#descriptonright").css("opacity",1),$("#rightshow").hide(),$("#righthide").show())},"click #leftbutton":function(){Session.set("descriptionLeft",!0),$("#descriptonleftSpan").html(Session.get("leftcontent"));var e=16;for($("#descriptonleftSpan").css("font-size",e+"px");$("#descriptonleftSpan").height()>$("#left_outcome").height();)e-=1,$("#descriptonleftSpan").css("font-size",e+"px");$("#leftbutton").hasClass("active")?($("#leftbutton").removeClass("active"),$("#descriptonleft").css("opacity",0),$("#leftshow").show(),$("#lefthide").hide()):($("#leftbutton").addClass("active"),$("#descriptonleft").css("opacity",1),$("#leftshow").hide(),$("#lefthide").show())},"click #close-interr-modal, click #nobutton":function(e){document.getElementById("exitWarning").style.display="none"},"click #close-optout-modal, touch #close-optout-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;Session.set("warningYes",!0),Session.set("firstLoad","Y"),$(Session.get("temppage")).trigger("click"),document.getElementById("optout-modal").style.display="none",e.handled=!0},"click #yesbutton":function(e){Session.set("warningYes",!0),Session.set("firstLoad","Y"),$(Session.get("temppage")).trigger("click")}});var a=function(){Session.set("descriptionLeft",!1),Session.set("descriptionRight",!1)},n=function(e){e.target===document.getElementById("exitWarning")&&(document.getElementById("exitWarning").style.display="none")};Template.Judge.onCreated((function(){$(window).on("click",n)})),Template.Judge.onDestroyed((function(){$(window).off("mouseup",n)}))},
206"LandingMobile_events.js":function e(){Template.LandingMobile.events({"click #play, touch #play":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(Session.set("warningYes",!1),Session.set("byUrl",!1),Session.set("templateName","Judge"),Session.set("templateNameMobile","JudgeMobile"),Helpers.randSwap(),Helpers.showScenario(),!0)},"click #see, touch #see":function(e){Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("viewYours",!1),Session.set("templateName","View"),Session.set("templateNameMobile","ViewMobile")},"click #instruct, touch #instruct":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="block"},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click #covidSurveyModal, touch #covidSurveyModal, click #close-covid-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("covidSurveyModal").style.display="none",e.handled=!0},"click #covidSurveyModalContent, touch #covidSurveyModalContent":function(e){e.stopPropagation(),e.preventDefault()},"click #covid19-button, touch #covid19-button":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("covidSurveyModal").style.display="block",Helpers.showCovid19("homepage")}})},
206"Landing_events.js":function e(){Template.Landing.events({"click #play, touch #play":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(Session.set("warningYes",!1),Session.set("byUrl",!1),Session.set("templateName","Judge"),Session.set("templateNameMobile","JudgeMobile"),Helpers.randSwap(),Helpers.showScenario(),!0)},"click #see, touch #see":function(e){Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("viewYours",!1),Session.set("templateName","View"),Session.set("templateNameMobile","ViewMobile")},"click #instruct, touch #instruct":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="block"},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click #covidSurveyModal, touch #covidSurveyModal, click #close-covid-modal":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("covidSurveyModal").style.display="none",e.handled=!0},"click #covidSurveyModalContent, touch #covidSurveyModalContent":function(e){e.stopPropagation(),e.preventDefault()},"click #covid19-button, touch #covid19-button":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("covidSurveyModal").style.display="block",Helpers.showCovid19("homepage")}})},
206"MainMobile_events.js":function e(){function t(){$(".navbar-collapse").stop().animate({height:0},400,(function(){$(".navbar-collapse").removeClass("in")})),$(".navbar-toggle").stop().addClass("collapsed")}function a(){$(".navbar-collapse").css("height",0),$(".navbar-collapse").addClass("in"),$(".navbar-collapse").stop().animate({height:285},400,(function(){})),$(".navbar-toggle").stop().removeClass("collapsed")}Template.MainMobile.events({"click .Home, touch .Home":function(e){return e.stopPropagation(),t(),n()?(Session.set("temppage",".Home"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Session.set("templateName","Landing"),Session.set("templateNameMobile","LandingMobile"),$(window).scrollTop(0)),!0},"click .About, touch .About":function(e){return e.preventDefault(),t(),n()?(Session.set("temppage",".About"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","About"),Session.set("templateNameMobile","AboutMobile"),$(window).scrollTop(0)),!0},"click .Judge, touch .Judge":function(e){e.preventDefault(),t(),i()?(Session.set("temppage",".Judge"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("warningYes",!1),Session.set("byUrl",!1),Session.set("templateName","Judge"),Session.set("templateNameMobile","JudgeMobile"),Helpers.randSwap(),Helpers.showScenario(),$(window).scrollTop(0))},"click .Classic, touch .Classic":function(e){e.preventDefault(),t(),s()?(Session.set("temppage",".Classic"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Classic"),Session.set("templateNameMobile","ClassicMobile"),$(window).scrollTop(0))},"click .Create, touch .Create":function(e){return e.preventDefault(),t(),n()?(Session.set("temppage",".Create"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("chosenLayout",0),Session.set("chosenOutcome",0),Session.set("chosenLocation",0),Session.set("chosenDamage",100),Helpers.clearAll(),Session.set("templateName","Create"),Session.set("templateNameMobile","CreateMobile"),Helpers.showPalette(),Helpers.showScenario(),$(window).scrollTop(0)),!0},"click .Results, touch .Results":function(e){return e.preventDefault(),t(),n()?(Session.set("temppage",".Results"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Results"),Session.set("templateNameMobile","ResultsMobile"),$(window).scrollTop(0)),!0},"click .View, touch .View":function(e){return e.preventDefault(),t(),n()?(Session.set("temppage",".View"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("viewYours",!1),Session.set("templateName","View"),Session.set("templateNameMobile","ViewMobile"),$(window).scrollTop(0)),!0},"click .navbar-toggle, touch .navbar-toggle":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;$(".navbar-toggle").hasClass("collapsed")?a():t()},"click .Feedback, touch .Feedback":function(e){if(e.stopPropagation(),e.preventDefault(),t(),!0===e.handled)return!1;document.getElementById("fbModal").style.display="block"},"click .Visualization, touch .Visualization":function(e){e.preventDefault(),t(),n()?(Session.set("temppage",".Visualization"),document.getElementById("exitWarning").style.display="block"):(o(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Visualization"),Session.set("templateNameMobile","VisualizationMobile"))},"click .closefb, touchstart .closefb":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("textFeedback").value="",document.getElementById("fbModal").style.display="none",e.handled=!0},"click #submitfb, touch #submitfb":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t,a;document.getElementById("textFeedback").value.trim().length>0&&(a=Session.get("sessId"),"Judge"==Session.get("templateName")||"JudgeMobile"==Session.get("templateNameMobile")?t=FirstSet[Session.get("scenarioOrder")]:"Create"==Session.get("templateName")||"CreateMobile"==Session.get("templateNameMobile")?window.DesignedScenario&&(t=DesignedScenario):"View"==Session.get("templateName")||"ViewMobile"==Session.get("templateNameMobile")?t=Scenario.findOne({id:Session.get("scenarioId")}
206):"Classic"==Session.get("templateName")||"ClassicMobile"==Session.get("templateNameMobile")?(a=SessIdClassic,t={type:FirstSetClassic[Session.get("scenarioOrderClassic")]}):"ClassicSurvey"!=Session.get("templateName")&&"ClassicSurveyMobile"!=Session.get("templateNameMobile")||(a=SessIdClassic),Meteor.call("addFeedback",{lang:TAPi18n.getLanguage(),userFingerprintParam:UserFingerprint,sessIdParam:a,scenarioParam:t,ipParam:Session.get("ip"),templateNameParam:Session.get("templateName"),feedbackTextParam:document.getElementById("textFeedback").value.trim()})),document.getElementById("textFeedback").style.display="none",document.getElementById("submitfb").style.display="none",document.getElementById("fbthanks").style.display="inline",setTimeout((function(){document.getElementById("fbModal").style.display="none",document.getElementById("textFeedback").style.display="inline",document.getElementById("textFeedback").value="",document.getElementById("submitfb").style.display="inline",document.getElementById("fbthanks").style.display="none"}),1e3),e.handled=!0},"click .closelang, touch .closelang":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("langModal").style.display="none",e.handled=!0},"click .langsel, touch .langsel":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("langModal").style.display="block"},"click .langopt, touch .langopt":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=e.currentTarget.id.substring(4);TAPi18n.setLanguage(t).done((function(){window.history.pushState("","Moral Machine","en"==TAPi18n.getLanguage()?"/":"/hl/"+TAPi18n.getLanguage()),Helpers.translateHead(),Helpers.syncI18N(),document.getElementById("langModal").style.display="none"}))}});var n=function(){return"Judge"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrder")>0||"Classic"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrderClassic")>0},s=function(){return"Judge"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrder")>0},i=function(){return"Classic"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrderClassic")>0},o=function(){Session.set("warningYes",!1),Session.set("JudgeMobileSelect",!1),Session.set("descriptionLeft",!1),Session.set("descriptionRight",!1)}},
206"Main_events.js":function e(){function t(){$(window).width()<768&&($(".navbar-collapse").stop().animate({height:0},500,(function(){$(".navbar-collapse").removeClass("in").addClass("collapse")})),$(".navbar-toggle").stop().removeClass("collapsed"))}Template.Main.events({"click .Home, touch .Home":function(e){e.preventDefault(),t(),a()?(Session.set("temppage",".Home"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Session.set("templateName","Landing"),Session.set("templateNameMobile","LandingMobile"))},"click .About, touch .About":function(e){e.preventDefault(),t(),a()?(Session.set("temppage",".About"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","About"),Session.set("templateNameMobile","AboutMobile"))},"click .Judge, touch .Judge":function(e){e.preventDefault(),t(),s()?(Session.set("temppage",".Judge"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("warningYes",!1),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Judge"),Session.set("templateNameMobile","JudgeMobile"))},"click .Classic, touch .Classic":function(e){e.preventDefault(),t(),n()?(Session.set("temppage",".Classic"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Classic"),Session.set("templateNameMobile","ClassicMobile"))},"click .Create, touch .Create":function(e){e.preventDefault(),t(),a()?(Session.set("temppage",".Create"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("chosenLayout",0),Session.set("chosenOutcome",0),Session.set("chosenLocation",0),Session.set("chosenDamage",100),Helpers.clearAll(),Session.set("templateName","Create"),Session.set("templateNameMobile","CreateMobile"),Helpers.showPalette(),Helpers.showScenario())},"click .Results, touch .Results":function(e){e.preventDefault(),t(),a()?(Session.set("temppage",".Results"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Results"),Session.set("templateNameMobile","ResultsMobile"))},"click .View, touch .View":function(e){e.preventDefault(),t(),a()?(Session.set("temppage",".View"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("viewYours",!1),Session.set("templateName","View"),Session.set("templateNameMobile","ViewMobile"))},"click .Feedback, touch .Feedback":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("fbModal").style.display="block"},"click .Visualization, touch .Visualization":function(e){e.preventDefault(),t(),a()?(Session.set("temppage",".Visualization"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Visualization"),Session.set("templateNameMobile","VisualizationMobile"))},"click .closefb, touchstart .closefb":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("textFeedback").value="",document.getElementById("fbModal").style.display="none",e.handled=!0},"click #submitfb, touch #submitfb":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t,a;document.getElementById("textFeedback").value.trim().length>0&&(a=Session.get("sessId"),"Judge"==Session.get("templateName")||"JudgeMobile"==Session.get("templateNameMobile")?t=FirstSet[Session.get("scenarioOrder")]:"Create"==Session.get("templateName")||"CreateMobile"==Session.get("templateNameMobile")?window.DesignedScenario&&(t=DesignedScenario):"View"==Session.get("templateName")||"ViewMobile"==Session.get("templateNameMobile")?t=Scenario.findOne({id:Session.get("scenarioId")}):"Classic"==Session.get("templateName")||"ClassicMobile"==Session.get("templateNameMobile")?(a=SessIdClassic,t={type:FirstSetClassic[Session.get("scenarioOrderClassic")]}):"ClassicSurvey"!=Session.get("templateName")&&"ClassicSurveyMobile"!=Session.get("templateNameMobile")||(a=SessIdClassic),Meteor.call("addFeedback",{lang:TAPi18n.getLanguage(),userFingerprintParam:UserFingerprint,sessIdParam:a,scenarioParam:t,ipParam:Session.get("ip"),templateNameParam:Session.get("templateName"),feedbackTextParam:document.getElementById("textFeedback").value.trim()})),document.getElementById("textFeedback").style.display="none",document.getElementById("submitfb").style.display="none",document.getElementById("fbthanks").style.display="inline",document.getElementById("textFeedback").value="",setTimeout((function(){document.getElementById("fbModal").style.display="none",document.getElementById("textFeedback").style.display="inline",document.getElementById("submitfb").style.display="inline",document.getElementById("fbthanks").style.display="none"}),1e3),e.handled=!0},"click .closelang, touch .closelang":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("langModal").style.display="none",e.handled=!0},"click .langsel, touch .langsel":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("langModal").style.display="block"},"click .langopt, touch .langopt":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=e.currentTarget.id.substring(4);TAPi18n.setLanguage(t).done((function(){window.history.pushState("","Moral Machine","en"==TAPi18n.getLanguage()?"/":"/hl/"+TAPi18n.getLanguage()),Helpers.translateHead(),Helpers.syncI18N(),document.getElementById("langModal").style.display="none"}))},"click .Imprint, touch .Imprint":function(e){e.preventDefault(),t(),s()?(Session.set("temppage",".Judge"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("warningYes",!1),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","Imprint"),Session.set("templateNameMobile","Imprint"))},"click .PrivacyPolicy, touch .PrivacyPolicy":function(e){e.preventDefault(),t(),s()?(Session.set("temppage",".Judge"),document.getElementById("exitWarning").style.display="block"):(i(),Session.set("warningYes",!1),Session.set("byUrl",!1),Helpers.videoloadbefore(),Session.set("templateName","PrivacyPolicy"),Session.set("templateNameMobile","PrivacyPolicy"))}});
206var a=function(){return"Judge"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrder")>0||"Classic"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrderClassic")>0},n=function(){return"Judge"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrder")>0},s=function(){return"Classic"==Session.get("templateName")&&0==Session.get("warningYes")&&Session.get("scenarioOrderClassic")>0},i=function(){Session.set("warningYes",!1),Session.set("descriptionLeft",!1),Session.set("descriptionRight",!1)}},
206"ResultsMobile_events.js":function e(){var t,a,n,s,i,o;Template.ResultsMobile.events({"click #tryagain, click #tryagainurl, click #tryagainoptout, touch #tryagain, touch #tryagainurl, touch #tryagainoptout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(Session.set("byUrl",!1),Session.set("templateName","Judge"),Session.set("templateNameMobile","JudgeMobile"),Session.set("firstLoad","Y"),window.scrollTo(0,0),Helpers.showScenario(),!0)},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(OOO&&(optOutTime=new Date,Meteor.call("optOut",{lang:TAPi18n.getLanguage(),sessionid:SessId,UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOO=!1),document.getElementById("myModal").style.display="block",document.getElementById("shareu").style.display="none",document.getElementById("linku").style.display="none",document.getElementById("sharel").style.display="none",document.getElementById("linkl").style.display="none",document.getElementById("end").style.display="none",!0)},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click .closesurvey, touch .closesurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("surveyModal").style.display="none",e.handled=!0},"click #embed, click #shareu, click #linku, click #sharel, click #linkl, touch #embed, touch #shareu, touch #linku, touch #sharel, touch #linkl":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("socialModal").style.display="block"},"click .close3, touch .close3":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("socialModal").style.display="none",e.handled=!0},"click #yesSurvey, touch #yesSurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("surveyModal").style.display="block",$("select").css("width","60%")},"click #noSurvey, touch #noSurvey":function(e){e.stopPropagation(),e.preventDefault(),!0!==e.handled&&($(".surveyfirst").css("display","none"),$("#allresults").css("display","block"))},"click #submitsurvey, touch #submitsurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=document.getElementById("otherrules").value.trim();t.length>32768&&(t=t.substring(0,32765)+"...");var a=[],n=[],s=[],i=[],o=[],r=[];$(".surveyfirst").each((function(){r.push($(this).attr("id"))})),$(".surveyblock").each((function(){o.push($(this).attr("id"))})),$(".surveyq1").each((function(){a.push($(this).attr("id").substring(2))})),$(".surveyq2").each((function(){n.push($(this).attr("id").substring(2))})),$(".surveyq3").each((function(){s.push($(this).attr("id").substring(2))})),$(".surveyq4").each((function(){i.push($(this).attr("id").substring(2))}));var l={randorder:{surveyorder:r,blockorder:o,block1order:a,block2order:n,block3order:s,block4order:i},lang:TAPi18n.getLanguage(),timestamp:new Date,age:parseInt(document.getElementById("age").value),gender:document.getElementById("gender").value,education:document.getElementById("education").value,income:document.getElementById("income").value,political:parseFloat($("#political").val()),religious:parseFloat($("#religious").val()),believe:parseFloat($("#believe").val()),trust:parseFloat($("#trust").val()),fear:parseFloat($("#fear").val()),willing:parseFloat($("#willing").val()),otherrules:t,preferScores:[parseFloat($("#slider01value").val()),parseFloat($("#slider02value").val()),parseFloat($("#slider03value").val()),parseFloat($("#slider04value").val()),parseFloat($("#slider05value").val()),parseFloat($("#slider06value").val()),parseFloat($("#slider07value").val()),parseFloat($("#slider08value").val()),parseFloat($("#slider09value").val())]};Meteor.call("modReview",{sessIdParam:Session.get("sessId"),reviewParam:l}),document.getElementById("surveyModal").style.display="none",$("#surveyTitleThank").show(),$("#noSurvey").hide(),$("#allresults").css("display","block"),$("#yesSurvey").css("display","none"),$("#surveyTitle").hide(),e.handled=!0},"click #covidSurveyModal, touch #covidSurveyModal, click #close-covid-modal":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("covidSurveyModal").style.display="none"},"click #covidSurveyModalContent, touch #covidSurveyModalContent":function(e){e.stopPropagation(),e.preventDefault()},"click #covid19-button, touch #covid19-button":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("myModal").style.display="none",document.getElementById("surveyModal").style.display="none",document.getElementById("socialModal").style.display="none",document.getElementById("covidSurveyModal").style.display="block",Helpers.showCovid19("results page")}})},
206"Results_events.js":function e(){Template.Results.events({"click #tryagain, click #tryagainurl, click #tryagainoptout, touch #tryagain, touch #tryagainurl, touch #tryagainoptout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(Session.set("byUrl",!1),Session.set("templateName","Judge"),Session.set("templateNameMobile","JudgeMobile"),Session.set("firstLoad","Y"),Helpers.showScenario(),!0)},"click #optout, touch #optout":function(e){return e.stopPropagation(),e.preventDefault(),!0!==e.handled&&(OOO&&(optOutTime=new Date,Meteor.call("optOut",{lang:TAPi18n.getLanguage(),sessionid:SessId,UserFingerprint:UserFingerprint,userIP:Session.get("ip"),ooT:optOutTime}),OOO=!1),document.getElementById("myModal").style.display="block",document.getElementById("shareu").style.display="none",document.getElementById("linku").style.display="none",document.getElementById("sharel").style.display="none",document.getElementById("linkl").style.display="none",document.getElementById("end").style.display="none",!0)},"click .close2, touch .close2":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("myModal").style.display="none",e.handled=!0},"click .closesurvey, touch .closesurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("surveyModal").style.display="none",e.handled=!0},"click #embed, click #shareu, click #linku, click #sharel, click #linkl, touch #embed, touch #shareu, touch #linku, touch #sharel, touch #linkl":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("socialModal").style.display="block"},"click .close3, touch .close3":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("socialModal").style.display="none",e.handled=!0},"click #noSurvey, touch #noSurvey":function(e){e.stopPropagation(),e.preventDefault(),!0!==e.handled&&($(".surveyfirst").css("display","none"),$("#allresults").css("display","block"))},"click #yesSurvey, touch #yesSurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;document.getElementById("surveyModal").style.display="block"},"click #submitsurvey, touch #submitsurvey":function(e){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;var t=document.getElementById("otherrules").value.trim();t.length>32768&&(t=t.substring(0,32765)+"...");var a=[],n=[],s=[],i=[],o=[],r=[];$(".surveyfirst").each((function(){r.push($(this).attr("id"))})),$(".surveyblock").each((function(){o.push($(this).attr("id"))})),$(".surveyq1").each((function(){a.push($(this).attr("id").substring(2))})),$(".surveyq2").each((function(){n.push($(this).attr("id").substring(2))})),$(".surveyq3").each((function(){s.push($(this).attr("id").substring(2))})),$(".surveyq4").each((function(){i.push($(this).attr("id").substring(2))}));var l={randorder:{surveyorder:r,blockorder:o,block1order:a,block2order:n,block3order:s,block4order:i},lang:TAPi18n.getLanguage(),timestamp:new Date,age:parseInt(document.getElementById("age").value),gender:document.getElementById("gender").value,education:document.getElementById("education").value,income:document.getElementById("income").value,political:parseFloat($("#political").val()),religious:parseFloat($("#religious").val()),believe:parseFloat($("#believe").val()),trust:parseFloat($("#trust").val()),fear:parseFloat($("#fear").val()),willing:parseFloat($("#willing").val()),otherrules:t,preferScores:[parseFloat($("#slider01value").val()),parseFloat($("#slider02value").val()),parseFloat($("#slider03value").val()),parseFloat($("#slider04value").val()),parseFloat($("#slider05value").val()),parseFloat($("#slider06value").val()),parseFloat($("#slider07value").val()),parseFloat($("#slider08value").val()),parseFloat($("#slider09value").val())]};Meteor.call("modReview",{sessIdParam:Session.get("sessId"),reviewParam:l}),document.getElementById("surveyModal").style.display="none",$("#surveyTitleThank").show(),$("#noSurvey").hide(),$("#allresults").css("display","block"),$("#yesSurvey").css("display","none"),$("#surveyTitle").hide(),e.handled=!0},"click #covidSurveyModal, touch #covidSurveyModal, click #close-covid-modal":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("covidSurveyModal").style.display="none"},"click #covidSurveyModalContent, touch #covidSurveyModalContent":function(e){e.stopPropagation(),e.preventDefault()},"click #covid19-button, touch #covid19-button":function(e){e.stopPropagation(),e.preventDefault(),document.getElementById("myModal").style.display="none",document.getElementById("surveyModal").style.display="none",document.getElementById("socialModal").style.display="none",document.getElementById("covidSurveyModal").style.display="block",Helpers.showCovid19("results page")}})},
206"View_events.js":function e(){var t={"click #like":function(e){Meteor.call("clickLike",{lang:TAPi18n.getLanguage(),sid:Session.get("scenarioId"),uid:UserFingerprint}),e.handled=!0},"click #left-arrow":function(e){Session.set("viewIndex",Session.get("viewIndex")+1),a()},"click #right-arrow":function(e){Session.set("viewIndex",Session.get("viewIndex")-1),a()},"click #random-button":function(e){Meteor.call("randomScenarioId",(function(e,t){if(e)return console.log("error",e);Session.set("viewIndex",0),Session.set("startScenarioId",t),a()}))},"click #share, click #link":function(e){document.getElementById("socialModal").style.display="block"},"click .close2":function(e){document.getElementById("socialModal").style.display="none"}};Template.View.events(_.extend({"click #left-arrow, click #right-arrow, click #random-button":function(e){$("#rightshow").show(),$("#righthide").hide(),$("#leftshow").show(),$("#lefthide").hide()},"click #rightbutton":function(e){$("#descriptonrightSpan").html(Session.get("rightcontent"));var t=25;for($("#descriptonrightSpan").css("font-size",t+"px");$("#descriptonrightSpan").height()>$("#descriptonright").height();)t-=1,$("#descriptonrightSpan").css("font-size",t+"px");$("#rightbutton").hasClass("active")?($("#rightbutton").removeClass("active"),$("#descriptonright").css("opacity",0),$("#rightshow").show(),$("#righthide").hide()):($("#rightbutton").addClass("active"),$("#descriptonright").css("opacity",1),$("#rightshow").hide(),$("#righthide").show())},"click #leftbutton":function(e){$("#descriptonleftSpan").html(Session.get("leftcontent"));var t=25;for($("#descriptonleftSpan").css("font-size",t+"px");$("#descriptonleftSpan").height()>$("#descriptonleft").height();)t-=1,$("#descriptonleftSpan").css("font-size",t+"px");$("#leftbutton").hasClass("active")?($("#leftbutton").removeClass("active"),$("#descriptonleft").css("opacity",0),$("#leftshow").show(),$("#lefthide").hide()):($("#leftbutton").addClass("active"),$("#descriptonleft").css("opacity",1),$("#leftshow").hide(),$("#lefthide").show())}},t)),Template.ViewMobile.events(_.extend({"click #straightcar":function(e,t){var a;"left_outcome"==t.find("#left_swiper div").id?swiper.slidePrev():swiper.slideNext(),$("#straightcar").addClass("active"),$("#shiftcar").removeClass("active")},"click #shiftcar":function(e,t){var a;"left_outcome"==t.find("#left_swiper div").id?swiper.slideNext():swiper.slidePrev(),$("#shiftcar").addClass("active"),$("#straightcar").removeClass("active")}},t));var a=function(){$(".btndesc").removeClass("active"),$(".descrip").css("opacity",0)}},
206"body_events.js":function e(){Template.body.events({})}},helpers:{
206"About_helpers.js":function e(){var t={siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"":"/hl/"+TAPi18n.getLanguage())},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"":"/hl/"+TAPi18n.getLanguage()))},template_name:function(){return Session.get("templateName")},currentLanguage:function(){return TAPi18n.getLanguage()},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}};Template.About.helpers(t),Template.AboutMobile.helpers(t)},
206"ClassicMobile_helpers.js":function e(){Template.ClassicMobile.helpers({showScenario:function(){return Session.set("byUrl",!1),Helpers.showClassicScenario()},NoScenario:function(){return Helpers.NoScenario()},Si:function(){return Helpers.Si()}})},
206"ClassicSurveyMobile_helpers.js":function e(t,a,e){var n;function s(e){allElems=function(){for(var t=[],a=e.length;a--;)t[t.length]=e[a];return t}();for(var t=function(){for(var e=allElems.length,t=[];e--;){var a=Math.floor(Math.random()*allElems.length),n=allElems[a].cloneNode(!0);allElems.splice(a,1),t[t.length]=n}return t}(),a=e.length;a--;)e[a].parentNode.insertBefore(t[a],e[a].nextSibling),e[a].parentNode.removeChild(e[a]);return e}function i(){s($(".surveyq3")),s($(".surveyq4"))}e.link("meteor/random",{Random:function(e){n=e}},0);var o=function(){return function(){var e;!!Session.get("sessidcovid")&&$("#covid-banner-container").hide(),Session.set("firstLoadClassic","Y"),i()}};Template.ClassicSurveyMobile.helpers({siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic")},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic"))},siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic")},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic"))},template_name:function(){return Session.get("templateName")},currentLanguage:function(){return TAPi18n.getLanguage()},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}}),Template.ClassicSurveyMobile.onRendered(o())},
206"ClassicSurvey_helpers.js":function e(t,a,e){var n;function s(e){allElems=function(){for(var t=[],a=e.length;a--;)t[t.length]=e[a];return t}();for(var t=function(){for(var e=allElems.length,t=[];e--;){var a=Math.floor(Math.random()*allElems.length),n=allElems[a].cloneNode(!0);allElems.splice(a,1),t[t.length]=n}return t}(),a=e.length;a--;)e[a].parentNode.insertBefore(t[a],e[a].nextSibling),e[a].parentNode.removeChild(e[a]);return e}function i(){s($(".surveyq3")),s($(".surveyq4"))}e.link("meteor/random",{Random:function(e){n=e}},0);var o=function(){return function(){var e;!!Session.get("sessidcovid")&&$("#covid-banner-container").hide(),Session.set("firstLoadClassic","Y"),i()}};Template.ClassicSurvey.helpers({siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic")},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic"))},template_name:function(){return Session.get("templateName")},currentLanguage:function(){return TAPi18n.getLanguage()},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}}),Template.ClassicSurvey.onRendered(o())},
206"Classic_helpers.js":function e(){Template.Classic.helpers({showScenario:function(){return Session.set("byUrl",!1),Helpers.showClassicScenario()},NoScenario:function(){return Helpers.NoScenario()},Si:function(){return Helpers.Si()}})},
206"Covid19SurveyMobile_helpers.js":function e(){function t(e){for(var t=$(e),a=t.children();a.length;)t.append(a.splice(Math.floor(Math.random()*a.length),1)[0])}function a(){t($(".covidq1g")),t($(".covidq2g")),t($(".covidq4g"))}var n=function(){return function(){Session.set("firstLoadClassic","Y"),a()}};Template.Covid19SurveyMobile.helpers({siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic")},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic"))},template_name:function(){return Session.get("templateName")},currentLanguage:function(){return TAPi18n.getLanguage()},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}}),Template.Covid19SurveyMobile.onRendered(n())},
206"Covid19Survey_helpers.js":function e(){function t(e){for(var t=$(e),a=t.children();a.length;)t.append(a.splice(Math.floor(Math.random()*a.length),1)[0])}function a(){t($(".covidq1g")),t($(".covidq2g")),t($(".covidq4g"))}var n=function(){return function(){a()}};Template.Covid19Survey.helpers({siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic")},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"/classic":"/hl/"+TAPi18n.getLanguage()+"/classic"))},template_name:function(){return Session.get("templateName")},currentLanguage:function(){return TAPi18n.getLanguage()},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}}),Template.Covid19Survey.onRendered(n())},
206"CreateMobile_helpers.js":function e(){Template.CreateMobile.helpers({showPalette:function(){return Helpers.showPalette()}})},
206"Create_helpers.js":function e(){Template.Create.helpers({showPalette:function(){return Helpers.showPalette()}})},
206"JudgeMobile_helpers.js":function e(){Template.JudgeMobile.helpers({showScenario:function(){return Helpers.showScenario()},NoScenario:function(){return Helpers.NoScenario()},Si:function(){return Helpers.Si()}})},
206"Judge_helpers.js":function e(){Template.Judge.helpers({showScenario:function(){return Helpers.showScenario()},NoScenario:function(){return Helpers.NoScenario()},Si:function(){return Helpers.Si()}})},
206"Landing_helpers.js":function e(){var t={template_name:function(){return Session.get("templateName")},currentLanguage:function(){return TAPi18n.getLanguage()},bannerLinkImagePairs:function(){return[{link:"https://mitpress.mit.edu/books/car-knew-too-much",image:"/images/Banner1.jpg"},{link:"https://tinker-tots.net/",image:"/images/tinker-tots-banner.png"},{link:"https://www.evilaicartoons.com/",image:"/images/Banner2.jpg"}]}};Template.Landing.helpers(t),Template.LandingMobile.helpers(t)},
206"Main_helpers.js":function e(){var t={template_name:function(){return Session.get("templateName")},template_name_mobile:function(){return Session.get("templateNameMobile")},currentLanguage:function(){return Helpers.getDisplayLang(TAPi18n.getLanguage())},langOptClass:function(e){return TAPi18n.getLanguage()==e?" active":""},displayOnFirstVisit:function(){return!firstVisit||"en"!=TAPi18n.getLanguage()||"Landing"!=Session.get("templateName")&&"LandingMobile"!=Session.get("templateNameMobile")?"none":"block"}};Template.Main.helpers(t),Template.MainMobile.helpers(t)},
206"Results_helpers.js":function e(t,a,e){var n,s,i,o,r,l,c;e.link("meteor/random",{Random:function(e){n=e}},0);var p={alignment:"default",clientRatio:2,sheight:150,ssheight:10,spipwidth:4,txtoff:10,margin:{left:120,right:120},imgdim:{width:60,height:60},textAnchor:{left:"middle",right:"middle"}},u={alignment:"mobile",clientRatio:1.1,sheight:150,ssheight:10,spipwidth:4,txtoff:10,margin:{left:40,right:40},imgdim:{width:50,height:50},textAnchor:{left:"start",right:"end"}},d=function(e){return function(){var t;if(!!Session.get("sessidcovid")&&$("#covid-banner-container").hide(),Session.set("firstLoad","Y"),m(),0==$("#end").index()&&$("#allresults").hide(),0!=$("#end").index()&&$("#noSurvey").hide(),!Session.get("byUrl"))return w(e);Meteor.call("addToPublicScores",{sessIdParam:Session.get("sessId"),userFingerprintParam:UserFingerprint}),this.subscribe("publicScoreBySessionId",Session.get("sessId"),{onReady:function(){w(e)}})}};function h(e){allElems=function(){for(var t=[],a=e.length;a--;)t[t.length]=e[a];return t}();for(var t=function(){for(var e=allElems.length,t=[];e--;){var a=Math.floor(Math.random()*allElems.length),n=allElems[a].cloneNode(!0);allElems.splice(a,1),t[t.length]=n}return t}(),a=e.length;a--;)e[a].parentNode.insertBefore(t[a],e[a].nextSibling),e[a].parentNode.removeChild(e[a]);return e}function m(){h($(".surveyq1")),h($(".surveyq2")),h($(".surveyq3")),h($(".surveyq4")),h($(".surveyblock")),h($(".surveyfirst"))}refreshResults=function(){function e(){"Main"==Session.get("pcmobile")?w(p):w(u)}return e}(),Template.Results.onRendered(d(p)),Template.ResultsMobile.onRendered(d(u));var g={textDir:function(){return"ar"==TAPi18n.getLanguage()?"rtl":"ltr"},siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"":"/hl/"+TAPi18n.getLanguage())},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"":"/hl/"+TAPi18n.getLanguage()))},sharePath:function(){return"/results/"+Session.get("sessId")},sharePathEscaped:function(){return encodeURIComponent("/results/"+Session.get("sessId"))},classResultsMain:function(){return Session.get("byUrl")?"block-hide":"block-show"},classResultsHide:function(){return Session.get("byUrl")?"block-show":"block-hide"},pronounOnSlider:function(){return Session.get("byUrl")?TAPi18n.__("results.mirror.txt_them"):TAPi18n.__("results.mirror.txt_you")},showResults:function(){return Helpers.showResults()},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}};Template.Results.helpers(g),Template.ResultsMobile.helpers(g);var f="http://avgame.s3-accelerate.amazonaws.com/images/results/";function b(e,t,a,n){var s=Session.get("byUrl")?TAPi18n.__("results.mirror.txt_them"):TAPi18n.__("results.mirror.txt_you"),i=document.body.clientWidth/n.clientRatio,o=d3.select("#"+e).attr("width",i).attr("height",n.sheight);o.selectAll("*").remove();var r=d3.scale.linear().domain([0,1]).range([n.spipwidth/2+n.margin.left,i-n.spipwidth/2-n.margin.right]),l,c,p,u,d;switch(o.append("rect").attr("width",r(1)-r(0)).attr("height",n.ssheight).attr("x",r(0)).attr("y",n.sheight/2-n.ssheight/2).attr("class","results-scale"),o.append("rect").attr("width",n.spipwidth).attr("height",2*n.ssheight).attr("x",r(.5)-n.spipwidth/2).attr("y",n.sheight/2-n.ssheight).attr("class","results-pip-scale"),o.append("rect").attr("width",n.spipwidth).attr("height",2*n.ssheight).attr("x",r(0)-n.spipwidth/2).attr("y",n.sheight/2-n.ssheight).attr("class","results-pip-scale"),o.append("rect").attr("width",n.spipwidth).attr("height",2*n.ssheight).attr("x",r(1)-n.spipwidth/2).attr("y",n.sheight/2-n.ssheight).attr("class","results-pip-scale"),o.append("rect").attr("width",n.spipwidth).attr("height",2*n.ssheight).attr("x",r(t)-n.spipwidth/2).attr("y",n.sheight/2-n.ssheight).attr("class","results-pip-you"),o.append("rect").attr("width",n.spipwidth).attr("height",2*n.ssheight).attr("x",r(a)-n.spipwidth/2).attr("y",n.sheight/2-n.ssheight).attr("class","results-pip-others"),o.append("text").attr("x",r(a)-n.spipwidth/2-10).attr("y",n.sheight/2-n.ssheight/2-n.txtoff).text(s).attr("class","results-label").attr("class","results-pip-label"),o.append("text").attr("x",r(t)-n.spipwidth/2-20).attr("y",n.sheight/2+n.ssheight+n.txtoff).text(TAPi18n.__("results.mirror.txt_others")).attr("class","results-label").attr("class","results-pip-label"),n.alignment){case"default":l=n.margin.left/2,c=i-n.margin.right/2,p=n.sheight/2+n.ssheight-n.txtoff/2,u=n.margin.left/2-n.imgdim.width/2,d=i-n.margin.right/2-n.imgdim.width/2;break;case"mobile":l=0,c=i,p=n.sheight/2+2*n.ssheight+2*n.txtoff,u=2*n.txtoff,d=i-2*n.margin.right+n.txtoff;break;default:console.error("Unknown alignment!")}o.append("text").attr("text-anchor",n.textAnchor.left).attr("x",l).attr("y",p).text(LeftTxt[e]).attr("class","results-label").attr("class","results-scale-label"),o.append("text").attr("text-anchor",n.textAnchor.right).attr("x",c).attr("y",p).text(RightTxt[e]).attr("class","results-label").attr("class","results-scale-label"),o.append("svg:image").attr("x",u).attr("y",0).attr("width",n.imgdim.width).attr("height",n.imgdim.height).attr("xlink:href",f+y[e]+".svg"),o.append("svg:image").attr("x",d).attr("y",0).attr("width",n.imgdim.width).attr("height",n.imgdim.height).attr("xlink:href",f+_[e]+".svg")}function v(e,t){var a=d3.select("#"+e),n="all/"+k[t].label+"_walking.svg";a.append("svg:image").attr("x",100).attr("y",10).attr("width",100).attr("height",100).attr("xlink:href",f+n)}LeftTxt={},RightTxt={};var w=function(e){if(LeftTxt={slider01:TAPi18n.__("results.mirror.slider.txt_nomatter"),slider02:TAPi18n.__("results.mirror.slider.txt_nomatter"),slider03:TAPi18n.__("results.mirror.slider.txt_nomatter"),slider04:TAPi18n.__("results.mirror.slider.txt_nomatter"),slider05:TAPi18n.__("results.mirror.slider.txt_male"),slider06:TAPi18n.__("results.mirror.slider.txt_human"),slider07:TAPi18n.__("results.mirror.slider.txt_young"),slider08:TAPi18n.__("results.mirror.slider.txt_fit"),slider09:TAPi18n.__("results.mirror.slider.txt_high")},RightTxt={slider01:TAPi18n.__("results.mirror.slider.txt_lotsmatter"),slider02:TAPi18n.__("results.mirror.slider.txt_lotsmatter"),slider03:TAPi18n.__("results.mirror.slider.txt_lotsmatter"),slider04:TAPi18n.__("results.mirror.slider.txt_lotsmatter"),slider05:TAPi18n.__("results.mirror.slider.txt_female"),slider06:TAPi18n.__("results.mirror.slider.txt_pet"),slider07:TAPi18n.__("results.mirror.slider.txt_old"),slider08:TAPi18n.__("results.mirror.slider.txt_large"),slider09:TAPi18n.__("results.mirror.slider.txt_low")},Session.get("byUrl")){var t=Session.get("sessId"),a=PublicScore.findOne({Session_id:t});a?(indMxS=a.mostSaved[0],indMxK=a.mostKilled[0],scores=[],scores.push(a.utilitarian),scores.push(a.passenger),scores.push(a.law),scores.push(a.omission),scores.push(a.gender),scores.push(a.lives),scores.push(a.age),scores.push(a.fitness),scores.push(a.attitude)):(Session.set("byUrl",!1),Session.set("templateName","Landing"),Session.set("templateNameMobile","LandingMobile"))}v("mostSaved",indMxS),v("mostKilled",indMxK),b("slider01",T[0],scores[0],e),b("slider02",T[1],scores[1],e),b("slider03",T[2],scores[2],e),b("slider04",T[3],scores[3],e),b("slider05",T[4],scores[4],e),b("slider06",T[5],scores[5],e),b("slider07",T[6],scores[6],e),b("slider08",T[7],scores[7],e),b("slider09",T[8],scores[8],e),M("slider01",e,scores[0]),M("slider02",e,scores[1]),M("slider03",e,scores[2]),M("slider04",e,scores[3]),M("slider05",e,scores[4]),M("slider06",e,scores[5]),M("slider07",e,scores[6]),M("slider08",e,scores[7]),M("slider09",e,scores[8])},y={slider01:"question1_iconleft",slider02:"question2_iconleft",slider03:"question3_iconleft",slider04:"question4_iconleft",slider05:"question5_iconleft",slider06:"question6_iconleft",slider07:"question7_iconleft",slider08:"question8_iconleft",slider09:"question9_iconleft"},_={slider01:"question1_iconright",slider02:"question2_iconright",slider03:"question3_iconright",slider04:"question4_iconright",slider05:"question5_iconright",slider06:"question6_iconright",slider07:"question7_iconright",slider08:"question8_iconright",slider09:"question9_iconright"}
206,k=[{type:0,label:"man"},{type:1,label:"woman"},{type:2,label:"pregnant"},{type:3,label:"stroller"},{type:4,label:"oldman"},{type:5,label:"oldwoman"},{type:6,label:"boy"},{type:7,label:"girl"},{type:8,label:"homeless"},{type:9,label:"fatwoman"},{type:10,label:"fatman"},{type:11,label:"criminal"},{type:12,label:"businessman"},{type:13,label:"businesswoman"},{type:14,label:"femaleathlete"},{type:15,label:"maleathlete"},{type:16,label:"femaledoctor"},{type:17,label:"maledoctor"},{type:18,label:""},{type:19,label:""},{type:20,label:"dog"},{type:21,label:"cat"}],T=[.7224930362116972,.5056819727780735,.6242404396130018,.5625669595028937,.6011722376973069,.18198700092850517,.342815691736304,.4608867223769732,.3519034354688949],M=function(e,t,a){var n,s,i,o,r,l;switch(swidth=document.body.clientWidth/t.clientRatio,t.alignment){case"default":n=t.margin.left/2,i=t.sheight/2+t.ssheight-t.txtoff/2,l=2*(o=t.margin.left/2-t.imgdim.width/2)+t.imgdim.width,svgHeight=t.imgdim.height+40,rangeBottom=t.spipwidth/2+t.margin.left,rangeUpper=swidth-t.spipwidth/2-t.margin.right;break;case"mobile":n=0,i=t.sheight/2+t.ssheight-t.txtoff/2,l=1*(o=0)+t.imgdim.width,svgHeight=t.imgdim.height+70,rangeBottom=t.spipwidth/2+t.margin.left,rangeUpper=swidth-t.spipwidth/2-t.margin.right-l;break;default:console.error("Unknown alignment!")}var c=d3.scale.linear().domain([0,1]).range([rangeBottom,rangeUpper]);$("#"+e+"value").width(c(1)-c(0)+"px"),$("#willing").width(c(1)-c(0)+"px"),$("#fear").width(c(1)-c(0)+"px"),$("#trust").width(c(1)-c(0)+"px"),$("#believe").width(c(1)-c(0)+"px"),$("#political").width(c(1)-c(0)+"px"),$("#religious").width(c(1)-c(0)+"px"),$("#"+e+"value").val(a),svgleft=d3.select("#"+e+"left").attr("width",1.3*l).attr("height",svgHeight).attr("class","surveyImg").style("display","inline"),svgright=d3.select("#"+e+"right").attr("width",1.3*l).attr("height",svgHeight).attr("class","surveyImg").style("display","inline"),svgleft.selectAll("*").remove(),svgright.selectAll("*").remove(),svgleft.append("svg:image").attr("x",o).attr("y",0).attr("width",t.imgdim.width).attr("height",t.imgdim.height).attr("xlink:href",f+y[e]+".svg"),svgright.append("svg:image").attr("x",o).attr("y",0).attr("width",t.imgdim.width).attr("height",t.imgdim.height).attr("xlink:href",f+_[e]+".svg"),textLeft=svgleft.append("text").attr("text-anchor",t.textAnchor.left).attr("x",n).attr("y",i).text(LeftTxt[e]).attr("class","results-label").attr("class","results-scale-label"),textRight=svgright.append("text").attr("text-anchor",t.textAnchor.left).attr("x",n).attr("y",i).text(RightTxt[e]).attr("class","results-label").attr("class","results-scale-label"),"mobile"==t.alignment&&(S(textLeft,n,i),S(textRight,n,i))},S=function(e,t,a){var n=e.text();e.text("");for(var s=n.split(" "),i=0;i<s.length;i++)0==i?e.append("tspan").text((function(e){return s[i]})):e.append("tspan").text((function(e){return s[i]})).attr("x",t).attr("y",(function(e){return a+15*i}))}},
206"ViewMobile_helpers.js":function e(){Template.ViewMobile.helpers({showScenario:function(){return Session.set("byUrl",!1),Helpers.renderScenario()},scenarioId:function(){return Session.get("scenarioId")},siteLocation:function(){return window.location.origin},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin)},sharePath:function(){return"/hl/"+TAPi18n.getLanguage()+"/browse/"+Session.get("scenarioId")},sharePathEscaped:function(){return encodeURIComponent("/hl/"+TAPi18n.getLanguage()+"/browse/"+Session.get("scenarioId"))},getLikes:function(){return Helpers.getLikes(Session.get("scenarioId"))},classLiked:function(){return Helpers.isLiked(Session.get("scenarioId"),UserFingerprint)?"btn-like-liked":"btn-like-notliked"},classViewMain:function(){var e;return Session.get("byUrl")?Scenario.findOne({id:Session.get("scenarioId")})?"block-show":"block-hide":"block-show"},showTitle:function(){scenarioId=Session.get("scenarioId");var e=Scenario.findOne({id:scenarioId});return e?(Session.get("byUrl")&&Meteor.call("addToSharedViews",{scenarioIdParam:scenarioId,userFingerprintParam:UserFingerprint}),new Date(e.created_at).toLocaleString(TAPi18n.getLanguage())):"---"},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))},arrowDir:function(e){return"ar"==TAPi18n.getLanguage()?"left"==e?"right":"left":e}})},
206"View_helpers.js":function e(){var t=function(){var e=this,t;Meteor.call("serverNow",(function(a,n){if(a)return console.log("error",a);e.autorun((function(){var a=Session.get("startScenarioId"),s=Session.get("viewIndex");e.subscribe("browseScenario",a,s,n,{onReady:function(){Meteor.defer((function(){var e=Scenario.findOne({id:{$ne:t}});e&&(a||Session.set("startScenarioId",e.id),Session.set("scenarioId",e.id),Meteor.defer((function(){loadComments(e.id)})),t=e.id)}))}})}))}))};Template.View.onCreated(t),Template.ViewMobile.onCreated(t),Template.View.helpers({showScenario:function(){return Session.set("byUrl",!1),Helpers.renderScenario()},scenarioId:function(){return Session.get("scenarioId")},siteLocation:function(){return window.location.origin+("en"==TAPi18n.getLanguage()?"":"/hl/"+TAPi18n.getLanguage())},siteLocationEscaped:function(){return encodeURIComponent(window.location.origin+("en"==TAPi18n.getLanguage()?"":"/hl/"+TAPi18n.getLanguage()))},sharePath:function(){return"/browse/"+Session.get("scenarioId")},sharePathEscaped:function(){return encodeURIComponent("/browse/"+Session.get("scenarioId"))},getLikes:function(){var e=Helpers.getLikes(Session.get("scenarioId"));return e+" "+(1==e?TAPi18n.__("view.btn_nlike"):TAPi18n.__("view.btn_nlikes"))},classLiked:function(){return Helpers.isLiked(Session.get("scenarioId"),UserFingerprint)?"btn-like-liked":"btn-like-notliked"},classViewMain:function(){var e;return Session.get("byUrl")?Scenario.findOne({id:Session.get("scenarioId")})?"block-show":"block-hide":"block-show"},showTitle:function(){scenarioId=Session.get("scenarioId");var e=Scenario.findOne({id:scenarioId});return e?(Session.get("byUrl")&&Meteor.call("addToSharedViews",{scenarioIdParam:scenarioId,userFingerprintParam:UserFingerprint}),new Date(e.created_at).toLocaleString(TAPi18n.getLanguage())):"---"},displayBlockIn:function(e){return TAPi18n.getLanguage()==e?"block":"none"},i18nEscaped:function(e){return encodeURIComponent(TAPi18n.__(e))}})},
206"body_helpers.js":function e(){Template.body.helpers({pc_mobile:function(){return Session.get("pcmobile")},ChangeView:function(){Session.get("WindowWidth")>600&&(Helpers.reset_template("Main"),Helpers.renderScenario()),Session.get("WindowWidth")<=600&&(Helpers.reset_template("MainMobile"),Helpers.renderScenario())}})},
206"helpers.js":function e(){Helpers={reset_template:function(e){return Session.set("pcmobile",e),0},NoScenario:function(){return"Classic"==Session.get("templateName")||"ClassicMobile"==Session.get("templateNameMobile")?3:13},Si:function(){return"Classic"==Session.get("templateName")||"ClassicMobile"==Session.get("templateNameMobile")?Session.get("scenarioOrderClassic")+1:Session.get("scenarioOrder")+1},showClassicScenario:function(){if("Y"==Session.get("firstLoadClassic")&&("Classic"==Session.get("templateName")||"ClassicMobile"==Session.get("templateNameMobile"))){ScenarioTS=new Date,Meteor.call("getUserIP",(function(e,t){e||Session.set("ip",t)}));var e=(new Date).getTime()/1e3;SessIdClassic=Helpers.hashCode(String(UserFingerprint)+String(e)),Session.set("sessidclassic",SessIdClassic),FirstSetClassic=Helpers.shuffleArray(["side","fat","loop"]),Session.set("scenarioOrderClassic",0),OOOclassic=!0,Session.set("firstLoadClassic","N")}Helpers.genClassicScenario()},genClassicScenario:function(){i=Session.get("scenarioOrderClassic"),descripScroll=!1,Math.random()<.5?(null!=document.getElementById("canvas_images0")&&null!=document.getElementById("canvas_images0")&&(document.getElementById("canvas_images0").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".url0"),document.getElementById("canvas_images1").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".url1"),$("#canvas_images0").removeClass("Classic1D"),$("#canvas_images0").addClass("Classic0D")),null!=document.getElementById("canvas_images0M")&&null!=document.getElementById("canvas_images1M")&&(document.getElementById("canvas_images0M").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".urlN"),document.getElementById("canvas_images1M").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".urlN"),document.getElementById("straightcar").parentNode.insertBefore(document.getElementById("straightcar"),document.getElementById("shiftcar"))),Session.set("leftcontent",TAPi18n.__("classic."+FirstSetClassic[i]+".des0")),Session.set("rightcontent",TAPi18n.__("classic."+FirstSetClassic[i]+".des1")),$("#descriptoncenter").html(TAPi18n.__("classic."+FirstSetClassic[i]+".desCenter"))):(null!=document.getElementById("canvas_images0")&&null!=document.getElementById("canvas_images0")&&(document.getElementById("canvas_images0").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".url1"),document.getElementById("canvas_images1").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".url0"),$("#canvas_images0").removeClass("Classic0D"),$("#canvas_images0").addClass("Classic1D"),Session.set("leftcontent",TAPi18n.__("classic."+FirstSetClassic[i]+".des1")),Session.set("rightcontent",TAPi18n.__("classic."+FirstSetClassic[i]+".des0")),$("#descriptoncenter").html(TAPi18n.__("classic."+FirstSetClassic[i]+".desCenter"))),null!=document.getElementById("canvas_images0M")&&null!=document.getElementById("canvas_images1M")&&(document.getElementById("canvas_images0M").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".urlN"),document.getElementById("canvas_images1M").style.background=TAPi18n.__("classic."+FirstSetClassic[i]+".urlN"),document.getElementById("straightcar").parentNode.insertBefore(document.getElementById("shiftcar"),document.getElementById("straightcar")),Session.set("leftcontent",TAPi18n.__("classic."+FirstSetClassic[i]+".des0")),Session.set("rightcontent",TAPi18n.__("classic."+FirstSetClassic[i]+".des1")),$("#descriptoncenter").html(TAPi18n.__("classic."+FirstSetClassic[i]+".desCenter"))))},cClick:function(){Session.get("scenarioOrderClassic")>=Helpers.NoScenario()-1&&(Session.set("templateName","ClassicSurvey"),Session.set("templateNameMobile","ClassicSurveyMobile")),Meteor.call("logSessionInfo",{SessId:SessIdClassic,username:UserFingerprint,clicks:Session.get("scenarioOrderClassic"),snumber:Helpers.NoScenario(),lang:TAPi18n.getLanguage(),type:"classic"}),Session.set("scenarioOrderClassic",Session.get("scenarioOrderClassic")+1),$("#canvas_images0").removeClass("Classic1D"),$("#canvas_images0").removeClass("Classic0D"),Helpers.animationLoading()},showScenario:function(){if("Y"==Session.get("firstLoad")&&("Judge"==Session.get("templateName")||"JudgeMobile"==Session.get("templateNameMobile"))){Helpers.randSwap(),ScenarioTS=new Date,Meteor.call("getUserIP",(function(e,t){e||Session.set("ip",t)}));var e=(new Date).getTime()/1e3;SessId=Helpers.hashCode(String(UserFingerprint)+String(e)),Session.set("sessId",SessId),utilitarian=0,passenger=0,law=0,omission=0,female=0,pet=0,older=0,fat=0,consumer=0,allUtilitarian=0,allPassenger=0,allLaw=0,allGender=0,allLives=0,allAge=0,allFit=0,allAttitude=0,Appeared=Array.apply(null,Array(22)).map(Number.prototype.valueOf,0),Saved=Array.apply(null,Array(22)).map(Number.prototype.valueOf,0),Killed=Array.apply(null,Array(22)).map(Number.prototype.valueOf,0),Appeared[18]++,Appeared[19]++,NoScenario=Helpers.NoScenario(),FirstSet=Helpers.generateScenarios(),Session.set("scenarioOrder",0),OOO=!0,Session.set("firstLoad","N"),Meteor.call("logSessionInfo",{SessId:SessId,username:UserFingerprint,clicks:Session.get("scenarioOrder"),snumber:Helpers.NoScenario(),lang:TAPi18n.getLanguage(),type:"judge"})}Helpers.renderScenario()}
206,showCovid19:function(e){ScenarioTS=new Date,sourcePage=e;var t=(new Date).getTime()/1e3;SessIdCovid=Helpers.hashCode(String(UserFingerprint)+String(t)),Session.set("sessidcovid",SessIdCovid)},getDisplayLang:function(e){return"ar"==e?"عر":"de"==e?"De":"en"==e?"En":"es"==e?"Es":"fr"==e?"Fr":"ja"==e?"æ¥æ¬":"kr"==e?"íê¸":"pt"==e?"Ð t":"ru"==e?"Ð Ñ":"zh"==e?"䏿":e.substring(0,2).toUpperCase()},translateHead:function(){var e=TAPi18n.__("home.txt_title");DocHead.removeDocHeadAddedTags(),DocHead.setTitle(e),"ar"==TAPi18n.getLanguage()&&DocHead.addLink({rel:"stylesheet",type:"text/css",href:"//cdn.rawgit.com/morteza/bootstrap-rtl/v3.3.4/dist/css/bootstrap-rtl.min.css"})},syncI18N:function(){if("Judge"==Session.get("templateName")||"JudgeMobile"==Session.get("templateNameMobile"))FirstSet&&(Helpers.makeDescription(FirstSet[Session.get("scenarioOrder")]),""!=$("#descriptonleftSpan").html()&&$("#descriptonleftSpan").html(Session.get("leftcontent")),""!=$("#descriptonrightSpan").html()&&$("#descriptonrightSpan").html(Session.get("rightcontent")));else if("View"==Session.get("templateName")||"ViewMobile"==Session.get("templateNameMobile")){var e=Scenario.findOne({id:Session.get("scenarioId")});e&&(Helpers.makeDescription(e),""!=$("#descriptonleftSpan").html()&&$("#descriptonleftSpan").html(Session.get("leftcontent")),""!=$("#descriptonrightSpan").html()&&$("#descriptonrightSpan").html(Session.get("rightcontent")),loadComments(Session.get("scenarioId")))}else"Results"==Session.get("templateName")||"ResultsMobile"==Session.get("templateNameMobile")?refreshResults():"Create"!=Session.get("templateName")&&"CreateMobile"!=Session.get("templateNameMobile")||($("#wizvs_pvp").hasClass("active")?($("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_leftlane")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_rightlane"))):$("#wizvs_pvd").hasClass("active")?($("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_leftlane")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_incar"))):$("#wizvs_dvp").hasClass("active")&&($("#loc-caption-left").text(TAPi18n.__("create.charloc.txt_incar")),$("#loc-caption-right").text(TAPi18n.__("create.charloc.txt_rightlane"))))},randSwap:function(){"Main"==Session.get("pcmobile")?null!==document.getElementById("left_outcome")&&null!==document.getElementById("right_outcome")&&(Math.random()<.5?(document.getElementById("left_outcome").parentNode.insertBefore(document.getElementById("right_outcome"),document.getElementById("left_outcome")),$("#left_outcome").removeClass("left_outcomeDestop"),$("#left_plot").removeClass("left_plotDestop"),$("#descriptonleft").removeClass("left_descripDestop"),$("#right_outcome").removeClass("right_outcomeDestop"),$("#right_plot").removeClass("right_plotDestop"),$("#descriptonright").removeClass("right_descripDestop"),$("#left_outcome").addClass("right_outcomeDestop"),$("#left_plot").addClass("right_plotDestop"),$("#descriptonleft").addClass("right_descripDestop"),$("#right_outcome").addClass("left_outcomeDestop"),$("#right_plot").addClass("left_plotDestop"),$("#descriptonright").addClass("left_descripDestop")):(document.getElementById("right_outcome").parentNode.insertBefore(document.getElementById("left_outcome"),document.getElementById("right_outcome")),$("#right_outcome").removeClass("left_outcomeDestop"),$("#right_plot").removeClass("left_plotDestop"),$("#descriptonright").removeClass("left_descripDestop"),$("#left_outcome").removeClass("right_outcomeDestop"),$("#left_plot").removeClass("right_plotDestop"),$("#descriptonleft").removeClass("right_descripDestop"),$("#right_outcome").addClass("right_outcomeDestop"),$("#right_plot").addClass("right_plotDestop"),$("#descriptonright").addClass("right_descripDestop"),$("#left_outcome").addClass("left_outcomeDestop"),$("#left_plot").addClass("left_plotDestop"),$("#descriptonleft").addClass("left_descripDestop"))):"MainMobile"==Session.get("pcmobile")&&null!==document.getElementById("left_outcome")&&null!==document.getElementById("right_outcome")&&(Math.random()<.5?(document.getElementById("straightcar").parentNode.insertBefore(document.getElementById("shiftcar"),document.getElementById("straightcar")),$("#left_outcome").removeClass("left_outcomeDestop"),$("#left_plot").removeClass("left_plotDestop"),$("#descriptonleft").removeClass("left_descripDestop"),$("#right_outcome").removeClass("right_outcomeDestop"),$("#right_plot").removeClass("right_plotDestop"),$("#descriptonright").removeClass("right_descripDestop"),$("#left_outcome").addClass("right_outcomeDestop"),$("#left_plot").addClass("right_plotDestop"),$("#descriptonleft").addClass("right_descripDestop"),$("#right_outcome").addClass("left_outcomeDestop"),$("#right_plot").addClass("left_plotDestop"),$("#descriptonright").addClass("left_descripDestop")):(document.getElementById("straightcar").parentNode.insertBefore(document.getElementById("straightcar"),document.getElementById("shiftcar")),$("#right_outcome").removeClass("left_outcomeDestop"),$("#right_plot").removeClass("left_plotDestop"),$("#descriptonright").removeClass("left_descripDestop"),$("#left_outcome").removeClass("right_outcomeDestop"),$("#left_plot").removeClass("right_plotDestop"),$("#descriptonleft").removeClass("right_descripDestop"),$("#right_outcome").addClass("right_outcomeDestop"),$("#right_plot").addClass("right_plotDestop"),$("#descriptonright").addClass("right_descripDestop"),$("#left_outcome").addClass("left_outcomeDestop"),$("#left_plot").addClass("left_plotDestop"),$("#descriptonleft").addClass("left_descripDestop")))},aClick:function(){if(Session.get("scenarioOrder")>=NoScenario-1){var e;0==allUtilitarian&&(allUtilitarian++,utilitarian=.5),0==allPassenger&&(allPassenger++,passenger=.5),0==allLaw&&(allLaw++,law=.5),0==allGender&&(allGender++,female=.5),0==allLives&&(allLives++,pet=.5),0==allAge&&(allAge++,older=.5),0==allFit&&(allFit++,fat=.5),0==allAttitude&&(allAttitude++,consumer=.5),scores=[utilitarian/allUtilitarian,passenger/allPassenger,law/allLaw,omission/NoScenario,female/allGender,pet/allLives,older/allAge,fat/allFit,consumer/allAttitude],maxSaved=0,indMxS=0,maxKilled=0,indMxK=0;for(var t=0;t<22;t++)Appeared[t]>3&&((e=Saved[t]/Appeared[t])>maxSaved&&(maxSaved=e,indMxS=t),(e=Killed[t]/Appeared[t])>maxKilled&&(maxKilled=e,indMxK=t));
206Meteor.call("AddScore",{lang:TAPi18n.getLanguage(),sessionid:SessId,username:UserFingerprint,userIP:Session.get("ip"),scores:scores,Appeared:Appeared,Saved:Saved,Killed:Killed,indMxS:indMxS,maxSaved:maxSaved,indMxK:indMxK,maxKilled:maxKilled}),Session.set("templateName","Results"),Session.set("templateNameMobile","ResultsMobile")}Session.set("scenarioOrder",Session.get("scenarioOrder")+1),Meteor.call("logSessionInfo",{SessId:SessId,username:UserFingerprint,clicks:Session.get("scenarioOrder"),snumber:Helpers.NoScenario(),lang:TAPi18n.getLanguage(),type:"judge"}),Helpers.randSwap(),Helpers.animationLoading()},animationLoading:function(){$(".activecanvus").removeClass("activecanvus"),$(".realcanvas_active").removeClass("realcanvas_active"),$(window).width()>1024?($("#load-cog-0").css("left",$("#left_outcome").offset().left+68*$("#left_outcome .canvas").width()/100),$("#load-cog-1").css("left",$("#right_outcome").offset().left+68*$("#right_outcome .canvas").width()/100)):($("#load-cog-0").css("left",$("#left_outcome").offset().left+$("#left_outcome .canvas").width()/2-$("#load-cog-0").width()/2),$("#load-cog-1").css("left",$("#right_outcome").offset().left+$("#right_outcome .canvas").width()/2-$("#load-cog-1").width()/2)),$("#load-cog-0").css("top",$("#left_outcome").offset().top+$("#left_outcome .canvas ").height()/2-$("#load-cog-0").height()/2),$("#load-cog-1").css("top",$("#right_outcome").offset().top+$("#right_outcome .canvas").height()/2-$("#load-cog-1").height()/2),$("#left_outcome").css("opacity","0"),$("#right_outcome").css("opacity","0"),$("#left_outcome").css("display","none"),$("#right_outcome").css("display","none"),$("#load-cog-0").css("display","block"),$("#load-cog-1").css("display","block"),$(".presentdescript").css("display","none"),$(".swiper-pagination-bullets").css("display","none"),$("#buttomarrayy").css("display","none"),$("#descriptoncenter").css("display","none"),$("#descripton").empty(),setTimeout((function(){$("#load-cog-0").css("display","none"),$("#load-cog-1").css("display","none"),$("#left_outcome").css("opacity","1"),$("#right_outcome").css("opacity","1"),$("#left_outcome").css("display","block"),$("#right_outcome").css("display","block"),$("#buttomarrayy").css("display","block"),$(".presentdescript").css("display","block"),$(".swiper-pagination-bullets").css("display","block"),$("#descriptoncenter").css("display","block"),Helpers.renderScenario()}),1e3)},hashCode:function(e){return e.split("").reduce((function(e,t){return(e=(e<<5)-e+t.charCodeAt(0))&e}),0)},generateTiles:function(e,t,a,n,s,i,o){var r=-1==s?2-n:(s^n)*(1+s);i||(o=Math.floor(Math.random()*t.length)),TT=t[o];for(var l=0;l<a;l++)e.push({tile_type:TT,location:r,damage_level:100,outcome:n});return o},generateScenarios:function(){var e=0,t,a,n,s,i,o,r,l,c,p=[],u=[],d=20,h=[.2,.4],m=.5,g=[.2,.4],f=$.map($(Array(22)),(function(e,t){return t}));f.splice(18,2);var b=$.map($(Array(18)),(function(e,t){return t})),v=[20,21],w=[0,4,6,10,12,15,17],y=[1,5,7,9,13,14,16],_=[6,7],T=[4,5],M=[0,1];prodTileArr=[12,13],consTileArr=[8],fatTileArr=[10,9],fitTileArr=[15,14],Gender={M:[0,4,6,8,10,11,12,15,17],F:[1,2,5,7,9,13,14,16]},Lives={H:Array.apply(0,Array(18)).map((function(e,t){return t})),P:[20,21]},Age={0:30,1:30,2:30,3:1,4:70,5:70,6:7,7:7,8:40,9:30,10:30,11:30,12:40,13:40,14:25,15:25,16:40,17:40,20:0,21:0};for(var S=[[f,f],[w,y],[fatTileArr,M,fitTileArr],[_,M,T],[prodTileArr,M,consTileArr],[b,v]],x=.1,H=!1,L=!1,I=0;I<2*S.length;I++){k=Math.floor(I/2),u=[],t=-1,Math.random()<h[0]?t=0:Math.random()<h[1]&&(t=1),a="no",Math.random()<g[0]?a="green":Math.random()<g[1]&&(a="red"),s=1,Math.random()<m&&(s=0),chooseTwo=$.map($(Array(S[k].length)),(function(e,t){return t})),U1=Math.floor(5*Math.random())+1,0==k?U1=Math.floor(4*Math.random())+1:(H=Math.random()<x,L=Math.random()<.5);for(var V=0;V<U1;V++){for(x0=chooseTwo[Math.floor(Math.random()*(chooseTwo.length-1))],x1=x0;x1<=x0;)x1=chooseTwo[Math.floor(Math.random()*(chooseTwo.length-1))+1];H&&(L?x1=x0:x0=x1),group=S[k][x0],same=!1,sind=0,sind=Helpers.generateTiles(u,group,1,s,t,same,sind),o=1-s,group=S[k][x1],k<4&&(same=!0),sind=Helpers.generateTiles(u,group,1,o,t,same,sind)}if(vmu=!1,0==k){U=5-U1,U2=Math.floor(Math.random()*U)+1,same=!1;for(var V=0;V<U2;V++)sind=Helpers.generateTiles(u,group,1,o,t,same,sind);vmu=!0}ss=!1,4==k&&(ss=!0),c={i:I,layout_type:0,options:{crossing_signal:a,barrier:t}
206,tiles:u,identical_character_type:H,copy_default_type:L,vary_max_util:vmu,social_status:ss},l=Helpers.hashCode(JSON.stringify(c)),c._id=l,p.push(c)}if(NoScenario>2*S.length){var f=$.map($(Array(22)),(function(e,t){return t}));f.splice(18,2);for(var R=[.4,.8],D=.5,z=[.4,.8],I=0;I<NoScenario-2*S.length;I++){if(u=[],t=-1,Math.random()<R[0]?t=0:Math.random()<R[1]&&(t=1),a="no",Math.random()<z[0]?a="green":Math.random()<z[1]&&(a="red"),s=1,Math.random()<D&&(s=0),U1=Math.floor(5*Math.random())+1,group=f,same=!1,sind=0,H=Math.random()<x)for(var A=0;A<U1;A++)same=!1,sind=Helpers.generateTiles(u,group,1,s,t,same,sind),same=!0,o=1-s,sind=Helpers.generateTiles(u,group,1,o,t,same,sind);else{for(var A=0;A<U1;A++)sind=Helpers.generateTiles(u,group,1,s,t,same,sind);U2=Math.floor(5*Math.random())+1,o=1-s;for(var A=0;A<U2;A++)sind=Helpers.generateTiles(u,group,1,o,t,same,sind)}c={i:13,layout_type:0,options:{crossing_signal:a,barrier:t},tiles:u,identical_character_type:H,vary_max_util:!1,social_status:!1},l=Helpers.hashCode(JSON.stringify(c)),c._id=l,p.push(c)}}return prodTileArr=[12,13],consTileArr=[8],fatTileArr=[9,10],fitTileArr=[14,15],Helpers.shuffleArray(p)},shuffleArray:function(e){for(var t=e.length-1;t>0;t--){var a=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[a],e[a]=n}return e},getFingerprint:function(){var e=localStorage.getItem("fingerprint");return e?parseInt(e):(e=Math.floor(1e16*Math.random()),localStorage.setItem("fingerprint",e),e)},getOldFingerprint:function(){return"undefined"!=typeof Fingerprint?(new Fingerprint).get():null},TilesAreO:function(e,t){return e[Session.get("scenarioOrder")].tiles.map((function(e){return e.outcome===t}))},UpdateUtil:function(e,t){var a=0,n=Helpers.TilesAreO(e,t);for(x=0;n.length>x;x++)!0===n[x]&&a++;a>n.length-a&&utilitarian++,a!=n.length-a&&allUtilitarian++},NoTypeOutcome:function(e,t,a){return e[Session.get("scenarioOrder")].tiles.map((function(e){return t.indexOf(e.tile_type)>-1&e.outcome===a})).reduce((function(e,t){return e+t}))},UpdateGender:function(e,t){var a=Helpers.NoTypeOutcome(e,Gender.M,0),n=Helpers.NoTypeOutcome(e,Gender.M,1),s=Helpers.NoTypeOutcome(e,Gender.F,0),i=Helpers.NoTypeOutcome(e,Gender.F,1);a>n?i>s&&(allGender++,1==t&&female++):n>a&&s>i&&(allGender++,0==t&&female++)},UpdateLives:function(e,t){var a=Helpers.NoTypeOutcome(e,Lives.H,0),n=Helpers.NoTypeOutcome(e,Lives.H,1),s=Helpers.NoTypeOutcome(e,Lives.P,0),i=Helpers.NoTypeOutcome(e,Lives.P,1);a>n?i>s&&(allLives++,1==t&&pet++):n>a&&s>i&&(allLives++,0==t&&pet++)},getMean:function(e,t){var a=e[Session.get("scenarioOrder")].tiles.map((function(e){return Age[e.tile_type]*(e.outcome===t&e.tile_type<20)})).reduce((function(e,t){return e+t})),n=e[Session.get("scenarioOrder")].tiles.map((function(e){return e.outcome===t&e.tile_type<20})).reduce((function(e,t){return e+t}));return 0==n&&n++,a/n},UpdateAge:function(e,t){var a=Helpers.getMean(e,0),n=Helpers.getMean(e,1);a>0&n>0&&(a-10>n?(allAge++,0==t&&older++):n-10>a&&(allAge++,1==t&&older++))},UpdateFit:function(e,t){var a=Helpers.NoTypeOutcome(e,fitTileArr,0),n=Helpers.NoTypeOutcome(e,fitTileArr,1),s=Helpers.NoTypeOutcome(e,fatTileArr,0),i=Helpers.NoTypeOutcome(e,fatTileArr,1);a>n?i>s&&(allFit++,1==t&&fat++):n>a&&s>i&&(allFit++,0==t&&fat++)},UpdateAttitude:function(e,t){var a=Helpers.NoTypeOutcome(e,prodTileArr,0),n=Helpers.NoTypeOutcome(e,prodTileArr,1),s=Helpers.NoTypeOutcome(e,consTileArr,0),i=Helpers.NoTypeOutcome(e,consTileArr,1);a>n?i>s&&(allAttitude++,1==t&&consumer++):n>a&&s>i&&(allAttitude++,0==t&&consumer++)},UpdateSavedKilled:function(e,t){var a=e[Session.get("scenarioOrder")].tiles;for(x=0;a.length>x;x++)Appeared[a[x].tile_type]++,a[x].outcome==t&&Saved[a[x].tile_type]++,a[x].outcome==1-t&&Killed[a[x].tile_type]++},UpdateScores:function(e){"no"!==FirstSet[Session.get("scenarioOrder")].options.crossing_signal&&allLaw++,-1!=FirstSet[Session.get("scenarioOrder")].options.barrier&&allPassenger++,0==e&&omission++,Helpers.UpdateUtil(FirstSet,1-e),Helpers.UpdateGender(FirstSet,1-e),Helpers.UpdateLives(FirstSet,1-e),Helpers.UpdateAge(FirstSet,1-e),Helpers.UpdateFit(FirstSet,1-e),Helpers.UpdateAttitude(FirstSet,1-e),Helpers.UpdateSavedKilled(FirstSet,1-e),FirstSet[Session.get("scenarioOrder")].options.barrier==1-e?(passenger++,"red"===FirstSet[Session.get("scenarioOrder")].options.crossing_signal&&law++):FirstSet[Session.get("scenarioOrder")].options.barrier==e?"green"===FirstSet[Session.get("scenarioOrder")].options.crossing_signal&&law++:("red"===FirstSet[Session.get("scenarioOrder")].options.crossing_signal&&0==e&&law++,"green"===FirstSet[Session.get("scenarioOrder")].options.crossing_signal&&1==e&&law++)},showPalette:function(){if("Main"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_00")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_01")).getContext("2d"),s,i=(s=document.getElementById("canvas_images00")).getContext("2d"),o,r=(o=document.getElementById("canvas_images01")).getContext("2d")}else if("MainMobile"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_00M")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_01M")).getContext("2d"),s,i=(s=document.getElementById("canvas_images00M")).getContext("2d"),o,r=(o=document.getElementById("canvas_images01M")).getContext("2d")}},renderScenario:function(){var e,t,a,n,s,i,o,r,l;if("Judge"==Session.get("templateName")||"JudgeMobile"==Session.get("templateNameMobile")){if(l=FirstSet[Session.get("scenarioOrder")],"Main"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_0")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_1")).getContext("2d"),s,i=(s=document.getElementById("canvas_images0")).getContext("2d"),o,r=(o=document.getElementById("canvas_images1")).getContext("2d")}else if("MainMobile"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_0M")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_1M")).getContext("2d"),s,i=(s=document.getElementById("canvas_images0M")).getContext("2d"),o,r=(o=document.getElementById("canvas_images1M")).getContext("2d")}Helpers.clearCanvas(e,a,t,n),Helpers.clearCanvas(s,o,i,r)}else if("Create"==Session.get("templateName")||"CreateMobile"==Session.get("templateNameMobile")){if(!window.DesignedScenario)return;if(l=DesignedScenario,"Main"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_00")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_01")).getContext("2d"),s,i=(s=document.getElementById("canvas_images00")).getContext("2d"),o,r=(o=document.getElementById("canvas_images01")).getContext("2d")}else if("MainMobile"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_00M")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_01M")).getContext("2d"),s,i=(s=document.getElementById("canvas_images00M")).getContext("2d"),o,r=(o=document.getElementById("canvas_images01M")).getContext("2d")}Helpers.clearCanvas(e,a,t,n),Helpers.clearCanvas(s,o,i,r)}
206else if("View"==Session.get("templateName")||"ViewMobile"==Session.get("templateNameMobile")){if(l=Scenario.findOne({id:Session.get("scenarioId")}),"Main"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_00")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_01")).getContext("2d"),s,i=(s=document.getElementById("canvas_images00")).getContext("2d"),o,r=(o=document.getElementById("canvas_images01")).getContext("2d")}else if("MainMobile"==Session.get("pcmobile")){var e;if(!(e=document.getElementById("canvas_00")))return;var t=e.getContext("2d"),a,n=(a=document.getElementById("canvas_01")).getContext("2d"),s,i=(s=document.getElementById("canvas_images00")).getContext("2d"),o,r=(o=document.getElementById("canvas_images01")).getContext("2d")}Helpers.clearCanvas(e,a,t,n),Helpers.clearCanvas(s,o,i,r)}else if("Results"==Session.get("templateName")||"ResultsMobile"==Session.get("templateNameMobile"))return;if(l){var c=l.layout_type,p=l.options,u=l.tiles,d=Helpers.getAllTiles(),h=Helpers.getAtlas().frames,m=new Image;m.onload=function(){var e=27,t=191;if(null!=p.barrier&&-1!=p.barrier){var a,n=615,s=200,o=100;a=0===p.barrier?75:325;var l=h["trafficbarrier.svg"].frame,c=l.x,g=l.y,f=l.w,b=l.h;i.drawImage(m,c,g,f,b,a,n,s,o),r.drawImage(m,c,g,f,b,a,n,s,o);var v=5,w=565,y=620,_;if(p.crossing_signal)if("green"===p.crossing_signal?_=h["trafficlight_green.svg"].frame:"red"===p.crossing_signal&&(_=h["trafficlight_red.svg"].frame),"no"!==p.crossing_signal){var k=_.x,T=_.y,M=_.w,S=_.h;i.drawImage(m,k,T,M,S,v,y,e,t),r.drawImage(m,k,T,M,S,v,y,e,t),i.drawImage(m,k,T,M,S,w,y,e,t),r.drawImage(m,k,T,M,S,w,y,e,t)}}else{var x=h["trafficisland.svg"].frame,H=x.x,L=x.y,I=x.w,V=x.h,R=75,D=145,z=263,A=740;i.drawImage(m,H,L,I,V,z,A,R,D),r.drawImage(m,H,L,I,V,z,A,R,D);var v=5,w=270,y=660,$=305,C=565,P=580,_,B;if(p.crossing_signal)if("green"===p.crossing_signal?(_=h["trafficlight_green.svg"].frame,B=h["trafficlight_red.svg"].frame):"red"===p.crossing_signal&&(_=h["trafficlight_red.svg"].frame,B=h["trafficlight_green.svg"].frame),"no"!==p.crossing_signal){var k=_.x,T=_.y,M=_.w,S=_.h,E=B.x,q=B.y,N=B.w,j=B.h;i.drawImage(m,k,T,M,S,v,y,e,t),r.drawImage(m,k,T,M,S,v,y,e,t),i.drawImage(m,k,T,M,S,w,y,e,t),r.drawImage(m,k,T,M,S,w,y,e,t),i.drawImage(m,E,q,N,j,$,P,e,t),r.drawImage(m,E,q,N,j,$,P,e,t),i.drawImage(m,E,q,N,j,C,P,e,t),r.drawImage(m,E,q,N,j,C,P,e,t)}}for(var O=36,W=47,F=50,U=150,G=50,J=220,Y=210,K=85,Q=65,X=640,Z=335,ee=640,te=K,ae=X,ne=ee,se=70,ie=60,oe=75,re=70,le=Y-2*se,ce=Q+225,pe=Z+225,ue=h["death.svg"].frame,de=ue.x,he=ue.y,me=ue.w,ge=ue.h,fe=h["injury.svg"].frame,be=fe.x,ve=fe.y,we=fe.w,ye=fe.h,_e=h["undefined.svg"].frame,ke=_e.x,Te=_e.y,Me=_e.w,Se=_e.h,xe=35,He=25,Le=40,Ie=30,Ve=30,Re=0,De=0;De<u.length;De++){for(var ze=u[De],Ae=ze.damage_level,$e=ze.tile_type,Ce,Pe=0;Pe<d.length;Pe++){var Be=d[Pe];if(Be.type===$e){Ce=Be.label;break}}1===ze.outcome&&1===p.barrier||0===ze.outcome&&0===p.barrier?Ce+="_passenger.svg":Ce+="_walking.svg";var Ee=h[Ce].frame,qe=Ee.x,Ne=Ee.y,je=Ee.w,Oe=Ee.h,We=h[Ce].spriteSourceSize.w,Fe=h[Ce].spriteSourceSize.h,Ue,Ge,Je,Ye,Ke,Ke,Ke;if(1===ze.outcome)if(1===p.barrier)Je=K,Ye=Y,Ue=We,Ge=Fe,Je+=W-Fe,Ye+=(O-We)/2,i.drawImage(m,qe,Ne,je,Oe,Ye,Je,Ue,Ge),r.drawImage(m,qe,Ne,je,Oe,Ye,Je,Ue,Ge),Ke=K===te?50:-23,"JudgeMobile"==Session.get("templateNameMobile")&&"MainMobile"==Session.get("pcmobile")&&0==Session.get("JudgeMobileSelect")&&(r.globalAlpha=0),100===Ae?r.drawImage(m,de,he,me,ge,Ye+(Ue-He)/2,K+Ke,He,He):50===Ae?r.drawImage(m,be,ve,we,ye,Ye+(Ue-He)/2,K+Ke,He,He):200===Ae&&r.drawImage(m,ke,Te,Me,Se,Ye+(Ue-He)/2,K+Ke,He,He),r.globalAlpha=1,(Y-=se)===le&&(K-=ie,Y+=2.14*se,se-=25);else Je=ee,Ue=We,Ge=Fe,Je+=U-Fe,i.drawImage(m,qe,Ne,je,Oe,Z,Je,Ue,Ge),r.drawImage(m,qe,Ne,je,Oe,Z,Je,Ue,Ge),Ke=ee===ne?-35:Fe+5,"JudgeMobile"==Session.get("templateNameMobile")&&"MainMobile"==Session.get("pcmobile")&&0==Session.get("JudgeMobileSelect")&&(r.globalAlpha=0),100===Ae?r.drawImage(m,de,he,me,ge,Z+(Ue-xe)/2,Je+Ke,xe,xe):50===Ae?r.drawImage(m,be,ve,we,ye,Z+(Ue-xe)/2,Je+Ke,xe,xe):200===Ae&&r.drawImage(m,ke,Te,Me,Se,Z+(Ue-xe)/2,Je+Ke,xe,xe),r.globalAlpha=1,(Z+=oe)===pe&&(ee+=re,Z-=187.5);
206else if(0===p.barrier)Je=K,Ye=Y,Ue=We,Ge=Fe,Je+=W-Fe,Ye+=(O-We)/2,i.drawImage(m,qe,Ne,je,Oe,Y,Je,Ue,Ge),r.drawImage(m,qe,Ne,je,Oe,Y,Je,Ue,Ge),Ke=K===te?50:-23,"JudgeMobile"==Session.get("templateNameMobile")&&"MainMobile"==Session.get("pcmobile")&&0==Session.get("JudgeMobileSelect")&&(i.globalAlpha=0),100===Ae?i.drawImage(m,de,he,me,ge,Ye+(Ue-He)/2,K+Ke,He,He):50===Ae?i.drawImage(m,be,ve,we,ye,Ye+(Ue-He)/2,K+Ke,He,He):200===Ae&&i.drawImage(m,ke,Te,Me,Se,Ye+(Ue-He)/2,K+Ke,He,He),i.globalAlpha=1,(Y-=se)===le&&(K-=ie,Y+=2.14*se,se-=25);else Je=X,Ue=We,Ge=Fe,Je+=U-Fe,i.drawImage(m,qe,Ne,je,Oe,Q,Je,Ue,Ge),r.drawImage(m,qe,Ne,je,Oe,Q,Je,Ue,Ge),Ke=X===ae?-35:Fe+5,"JudgeMobile"==Session.get("templateNameMobile")&&"MainMobile"==Session.get("pcmobile")&&0==Session.get("JudgeMobileSelect")&&(i.globalAlpha=0),100===Ae?i.drawImage(m,de,he,me,ge,Q+(Ue-xe)/2,Je+Ke,xe,xe):50===Ae?i.drawImage(m,be,ve,we,ye,Q+(Ue-xe)/2,Je+Ke,xe,xe):200===Ae&&i.drawImage(m,ke,Te,Me,Se,Q+(Ue-xe)/2,Je+Ke,xe,xe),i.globalAlpha=1,(Q+=oe)===ce&&(X+=re,Q-=187.5)}},m.src="http://avgame.s3-accelerate.amazonaws.com/images/FinalAtlas3.png","Judge"!=Session.get("templateName")&&"JudgeMobile"!=Session.get("templateNameMobile")||!FirstSet?"View"!=Session.get("templateName")&&"ViewMobile"!=Session.get("templateNameMobile")||!l||Helpers.makeDescription(l):Helpers.makeDescription(FirstSet[Session.get("scenarioOrder")])}},clearCanvas:function(e,t,a,n){a.clearRect(0,0,e.width,e.height),n.clearRect(0,0,t.width,t.height)},drawBackground:function(e,t,a,n){var s=Helpers.getAtlas().frames,i=s["road.svg"].frame,o=s["car_default.svg"].frame,r=s["arrow_down.svg"].frame,l=s["arrow_side.svg"].frame,c=i.x,p=i.y,u=i.w,d=i.h,h=o.x,m=o.y,g=o.w,f=o.h,b=r.x,v=r.y,w=r.w,y=r.h,_=l.x,k=l.y,T=l.w,M=l.h,S=new Image;S.onload=function(){a.drawImage(S,c,p,u,d,0,0,e.width,e.height),a.drawImage(S,h,m,g,f,110,100,155,174),a.drawImage(S,b,v,w,y,155,280,64,336),n.drawImage(S,c,p,u,d,0,0,t.width,t.height),n.drawImage(S,h,m,g,f,110,100,155,174),n.drawImage(S,_,k,T,M,170,280,202,284)},S.src="images/FinalAtlas3.png"},getAllTiles:function(){return[{type:0,label:"man"},{type:1,label:"woman"},{type:2,label:"pregnant"},{type:3,label:"stroller"},{type:4,label:"oldman"},{type:5,label:"oldwoman"},{type:6,label:"boy"},{type:7,label:"girl"},{type:8,label:"homeless"},{type:9,label:"fatwoman"},{type:10,label:"fatman"},{type:11,label:"criminal"},{type:12,label:"businessman"},{type:13,label:"businesswoman"},{type:14,label:"femaleathlete"},{type:15,label:"maleathlete"},{type:16,label:"femaledoctor"},{type:17,label:"maledoctor"},{type:20,label:"dog"},{type:21,label:"cat"}]},getAtlas:function(){return{frames:{"cat_passenger.svg":{frame:{x:0,y:0,w:21,h:28},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:21,h:28},sourceSize:{w:21,h:28},pivot:{x:.5,y:.5}},"trafficlight_red.svg":{frame:{x:48,y:0,w:27,h:191},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:27,h:191},sourceSize:{w:27,h:191},pivot:{x:.5,y:.5}},"trafficlight_green.svg":{frame:{x:75,y:0,w:27,h:191},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:27,h:191},sourceSize:{w:27,h:191},pivot:{x:.5,y:.5}},"boy_passenger.svg":{frame:{x:21,y:0,w:27,h:36},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:27,h:36},sourceSize:{w:27,h:36},pivot:{x:.5,y:.5}},"dog_passenger.svg":{frame:{x:102,y:0,w:29,h:32},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:29,h:32},sourceSize:{w:29,h:32},pivot:{x:.5,y:.5}},"woman_passenger.svg":{frame:{x:221,y:0,w:30,h:46},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:30,h:46},sourceSize:{w:30,h:46},pivot:{x:.5,y:.5}},"businesswoman_passenger.svg":{frame:{x:191,y:0,w:30,h:46},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:30,h:46},sourceSize:{w:30,h:46},pivot:{x:.5,y:.5}},"femaleathlete_passenger.svg":{frame:{x:161,y:0,w:30,h:54},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:30,h:54},sourceSize:{w:30,h:54},pivot:{x:.5,y:.5}},"femaledoctor_passenger.svg":{frame:{x:131,y:0,w:30,h:46},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:30,h:46},sourceSize:{w:30,h:46},pivot:{x:.5,y:.5}},"stroller_passenger.svg":{frame:{x:251,y:0,w:33,h:39},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:33,h:39},sourceSize:{w:33,h:39},pivot:{x:.5,y:.5}},"boy_walking.svg":{frame:{x:284,y:0,w:34,h:80},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:34,h:80},sourceSize:{w:34,h:80},pivot:{x:.5,y:.5}},"businessman_passenger.svg":{frame:{x:498,y:0,w:36,h:47},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:47},sourceSize:{w:36,h:47},pivot:{x:.5,y:.5}},"maleathlete_passenger.svg":{frame:{x:570,y:0,w:36,h:47},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:47},sourceSize:{w:36,h:47},pivot:{x:.5,y:.5}},"pregnant_passenger.svg":{frame:{x:462,y:0,w:36,h:46},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:46},sourceSize:{w:36,h:46},pivot:{x:.5,y:.5}},"criminal_passenger.svg":{frame:{x:534,y:0,w:36,h:45},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:45},sourceSize:{w:36,h:45},pivot:{x:.5,y:.5}},"girl_passenger.svg":{frame:{x:426,y:0,w:36,h:38},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:38},sourceSize:{w:36,h:38},pivot:{x:.5,y:.5}},"homeless_passenger.svg":{frame:{x:354,y:0,w:36,h:42},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:42},sourceSize:{w:36,h:42},pivot:{x:.5,y:.5}},"maledoctor_passenger.svg":{frame:{x:318,y:0,w:36,h:47},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:47},sourceSize:{w:36,h:47},pivot:{x:.5,y:.5}},"man_passenger.svg":{frame:{x:390,y:0,w:36,h:47},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:36,h:47},sourceSize:{w:36,h:47},pivot:{x:.5,y:.5}},"fatman_passenger.svg":{frame:{x:39,y:191,w:39,h:46},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:39,h:46},sourceSize:{w:39,h:46},pivot:{x:.5,y:.5}},"homeless_walking.svg":{frame:{x:606,y:0,w:39,h:126},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:39,h:126},sourceSize:{w:39,h:126},pivot:{x:.5,y:.5}},"fatwoman_passenger.svg":{frame:{x:0,y:191,w:39,h:43},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:39,h:43},sourceSize:{w:39,h:43},pivot:{x:.5,y:.5}},"girl_walking.svg":{frame:{x:158,y:191,w:40,h:78},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:40,h:78},sourceSize:{w:40,h:78},pivot:{x:.5,y:.5}},"oldman_passenger.svg":{frame:{x:78,y:191,w:40,h:42},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:40,h:42},sourceSize:{w:40,h:42},pivot:{x:.5,y:.5}},"oldwoman_passenger.svg":{frame:{x:118,y:191,w:40,h:51},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:40,h:51},sourceSize:{w:40,h:51},pivot:{x:.5,y:.5}},"woman_walking.svg":{frame:{x:198,y:191,w:41,h:133},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:41,h:133},sourceSize:{w:41,h:133},pivot:{x:.5,y:.5}},"fatwoman_walking.svg":{frame:{x:239,y:191,w:43,h:129},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:43,h:129},sourceSize:{w:43,h:129},pivot:{x:.5,y:.5}},"man_walking.svg":{frame:{x:282,y:191,w:44,h:130},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:44,h:130},sourceSize:{w:44,h:130},pivot:{x:.5,y:.5}},"oldman_walking.svg":{frame:{x:326,y:191,w:46,h:122},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:46,h:122},sourceSize:{w:46,h:122},pivot:{x:.5,y:.5}},"pregnant_walking.svg":{frame:{x:372,y:191,w:47,h:134},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:47,h:134},sourceSize:{w:47,h:134},pivot:{x:.5,y:.5}},"femaleathlete_walking.svg":{frame:{x:467,y:191,w:48,h:132},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:48,h:132},sourceSize:{w:48,h:132},pivot:{x:.5,y:.5}},"fatman_walking.svg":{frame:{x:419,y:191,w:48,h:130},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:48,h:130},sourceSize:{w:48,h:130},pivot:{x:.5,y:.5}},"maleathlete_walking.svg":{frame:{x:515,y:191,w:49,h:131},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:49,h:131},sourceSize:{w:49,h:131},pivot:{x:.5,y:.5}},"businesswoman_walking.svg":{frame:{x:564,y:191,w:49,h:133},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:49,h:133},sourceSize:{w:49,h:133},pivot:{x:.5,y:.5}},"femaledoctor_walking.svg":{frame:{x:52,y:325,w:52,h:132},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:52,h:132},sourceSize:{w:52,h:132},pivot:{x:.5,y:.5}},"cat_walking.svg":{frame:{x:0,y:325,w:52,h:38},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:52,h:38},sourceSize:{w:52,h:38},pivot:{x:.5,y:.5}},"cyclist.svg":{frame:{x:104,y:325,w:54,h:129},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:54,h:129},sourceSize:{w:54,h:129},pivot:{x:.5,y:.5}},"cyclist_helmet.svg":{frame:{x:158,y:325,w:54,h:130},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:54,h:130},sourceSize:{w:54,h:130},pivot:{x:.5,y:.5}},"oldwoman_walking.svg":{frame:{x:212,y:325,w:55,h:126},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:55,h:126},sourceSize:{w:55,h:126},pivot:{x:.5,y:.5}},"motorcyclist.svg":{frame:{x:267,y:325,w:56,h:128},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:56,h:128},sourceSize:{w:56,h:128},pivot:{x:.5,y:.5}},"motorcyclist_helmet.svg":{frame:{x:323,y:325,w:56,h:127},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:56,h:127},sourceSize:{w:56,h:127},pivot:{x:.5,y:.5}},"businessman_walking.svg":{frame:{x:436,y:325,w:57,h:130},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:57,h:130},sourceSize:{w:57,h:130},pivot:{x:.5,y:.5}},"maledoctor_walking.svg":{frame:{x:379,y:325,w:57,h:130},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:57,h:130},sourceSize:{w:57,h:130},pivot:{x:.5,y:.5}},"arrow_down.svg":{frame:{x:493,y:325,w:64,h:336},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:64,h:336},sourceSize:{w:64,h:336},pivot:{x:.5,y:.5}},"criminal_walking.svg":{frame:{x:557,y:325,w:70,h:121},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:70,h:121},sourceSize:{w:70,h:121},pivot:{x:.5,y:.5}},"stroller_walking.svg":{frame:{x:0,y:661,w:71,h:106},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:71,h:106},sourceSize:{w:71,h:106},pivot:{x:.5,y:.5}},"trafficisland.svg":{frame:{x:71,y:661,w:75,h:124},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:75,h:124},sourceSize:{w:75,h:124},pivot:{x:.5,y:.5}},"dog_walking.svg":{frame:{x:146,y:661,w:81,h:57},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:81,h:57},sourceSize:{w:81,h:57},pivot:{x:.5,y:.5}},"death.svg":{frame:{x:403,y:661,w:88,h:88},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:88,h:88},sourceSize:{w:88,h:88},pivot:{x:.5,y:.5}},"injury.svg":{frame:{x:315,y:661,w:88,h:88},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:88,h:88},sourceSize:{w:88,h:88},pivot:{x:.5,y:.5}},"undefined.svg":{frame:{x:227,y:661,w:88,h:88},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:88,h:88},sourceSize:{w:88,h:88},pivot:{x:.5,y:.5}},"unsafecar.svg":{frame:{x:491,y:661,w:145,h:148},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:145,h:148},sourceSize:{w:145,h:148},pivot:{x:.5,y:.5}},"trafficbarrier.svg":{frame:{x:0,y:809,w:156,h:67},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:156,h:67},sourceSize:{w:156,h:67},pivot:{x:.5,y:.5}},"safecar.svg":{frame:{x:156,y:809,w:182,h:225},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:182,h:225},sourceSize:{w:182,h:225},pivot:{x:.5,y:.5}},"arrow_side.svg":{frame:{x:338,y:809,w:202,h:284},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:202,h:284},sourceSize:{w:202,h:284},pivot:{x:.5,y:.5}},"road.svg":{frame:{x:0,y:1093,w:511,h:767},rotated:!1,trimmed:!1,spriteSourceSize:{x:0,y:0,w:511,h:767},sourceSize:{w:511,h:767},pivot:{x:.5,y:.5}}},meta:{app:"http://www.codeandweb.com/texturepacker",version:"1.0",image:"FinalAtlas3.png",format:"RGBA8888",size:{w:645,h:1860},scale:"1",smartupdate:"$TexturePacker:SmartUpdate:d3f8e98cdb7c0861ec0b666d2803ef22:4a8357ff56d85feb478ecab1b374fa5e:7da7278a617d2068aed862b68bfb735f$"}}}
206,lockOutcome:function(e){Session.set("chosenOutcome",e),DesignedScenario.options.barrier==e?Session.set("chosenLocation",0):Session.set("chosenLocation",parseInt(e)+1)},lockDamage:function(e){Session.set("chosenDamage",e)},addCharacter:function(e){for(var t=DesignedScenario.tiles,a=t.map((function(e){return e.outcome===Session.get("chosenOutcome")})),n=0,s=0;s<a.length;s++)!0===a[s]&&n++;n<5?t.push({tile_type:e,location:Session.get("chosenLocation"),damage_level:Session.get("chosenDamage"),outcome:Session.get("chosenOutcome")}):document.getElementById("myModal").style.display="block",DesignedScenario.tiles=t},addObjectWithValue:function(e,t){DesignedScenario.options[e]=t},addObjectToOutcome:function(e,t){DesignedScenario.options[e]=t},removeCharacter:function(e){for(var t=DesignedScenario.tiles,a=t.length,n=0;n<a;n++)if(t[n].tile_type==e&&t[n].location==Session.get("chosenLocation")&&t[n].damage_level==Session.get("chosenDamage")&&t[n].outcome==Session.get("chosenOutcome")){t.splice(n,1);break}DesignedScenario.tiles=t},removeObject:function(e){"barrier"==e?DesignedScenario.options.barrier=-1:DesignedScenario.options.crossing_signal="no"},clearAll:function(){DesignedScenario.options.barrier=-1,DesignedScenario.options.crossing_signal="no",DesignedScenario.tiles=[]},isValidScenario:function(e){return e.tiles.find((function(e){return 0==e.outcome}))&&e.tiles.find((function(e){return 1==e.outcome}))},submitScenario:function(){DesignedScenario.username=UserFingerprint,Meteor.call("createScenario",{DesignedScenario:DesignedScenario})},getAllTilesFull:function(){return[{type:0,label:"txt_man"},{type:1,label:"txt_woman"},{type:2,label:"txt_preg"},{type:3,label:"txt_baby"},{type:4,label:"txt_oldman"},{type:5,label:"txt_oldwoman"},{type:6,label:"txt_boy"},{type:7,label:"txt_girl"},{type:8,label:"txt_homeless"},{type:9,label:"txt_lgwoman"},{type:10,label:"txt_lgman"},{type:11,label:"txt_crim"},{type:12,label:"txt_execm"},{type:13,label:"txt_execf"},{type:14,label:"txt_athf"},{type:15,label:"txt_athm"},{type:16,label:"txt_docf"},{type:17,label:"txt_docm"},{type:20,label:"txt_dog"},{type:21,label:"txt_cat"}]},makeDescription:function(e){var t=Helpers.getAllTilesFull(),a=[],n=[],s={},i={},o=e.options.barrier,r=e.options.crossing_signal;s.cardirection=TAPi18n.__("common.descr.txt_stay"),i.cardirection=TAPi18n.__("common.descr.txt_swerve"),o<0?(s.hit=TAPi18n.__("common.descr.txt_toahead"),i.hit=TAPi18n.__("common.descr.txt_toother")):0==o?(s.hit=TAPi18n.__("common.descr.txt_tobarrier"),i.hit=TAPi18n.__("common.descr.txt_toother")):(s.hit=TAPi18n.__("common.descr.txt_toahead"),i.hit=TAPi18n.__("common.descr.txt_tobarrier")),"no"==r?(s.law="",i.law=""):"green"==r?o<0?(s.law=TAPi18n.__("common.descr.txt_abiding"),i.law=TAPi18n.__("common.descr.txt_flouting")):0==o?(s.law="",i.law=TAPi18n.__("common.descr.txt_abiding")):(i.law="",s.law=TAPi18n.__("common.descr.txt_abiding")):o<0?(s.law=TAPi18n.__("common.descr.txt_flouting"),i.law=TAPi18n.__("common.descr.txt_abiding")):0==o?(s.law="",i.law=TAPi18n.__("common.descr.txt_flouting")):(i.law="",s.law=TAPi18n.__("common.descr.txt_flouting"));for(var l=0;l<e.tiles.length;++l){var c=e.tiles[l];c.charaterName=$.grep(t,(function(e){return e.type==c.tile_type}))[0].label,1==c.outcome?n.push(c):a.push(c)}Session.set("leftcontent",TAPi18n.__("common.descr.txt_case")+s.cardirection+TAPi18n.__("common.descr.txt_and")+s.hit+TAPi18n.__("common.descr.txt_result")+Helpers.makinlistString(Helpers.counttitle(a))+s.law),Session.set("rightcontent",TAPi18n.__("common.descr.txt_case")+i.cardirection+TAPi18n.__("common.descr.txt_and")+i.hit+TAPi18n.__("common.descr.txt_result")+Helpers.makinlistString(Helpers.counttitle(n))+i.law)},counttitle:function(e){var t={};return e.forEach((function(e){t[e.damage_level]=t[e.damage_level]||{};var a=(t[e.damage_level][e.charaterName]||0)+1;t[e.damage_level][e.charaterName]=a})),t},makinlistString:function(e){var t="",a=Helpers.getAllTilespural(),n=Helpers.getArticle();for(var s in meteorBabelHelpers.sanitizeForInObject(e))if(100==s){var i=Object.keys(e[s]).reduce((function(t,a){return t+parseFloat(e[s][a])}),0);for(var o in t+="<br>"+TAPi18n.__("common.descr.txt_dead")+"<ul>",meteorBabelHelpers.sanitizeForInObject(e[s]))t=t+"<li>"+e[s][o]+" "+(1==e[s][o]?TAPi18n.__("common.descr.charsing."+o):TAPi18n.__("common.descr.charplur."+o))+"</li>";t+="</ul>"}else if(50==s){for(var o in t=t+"<br>"+TAPi18n.__("common.descr.txt_injured")+"<ul>",meteorBabelHelpers.sanitizeForInObject(e[s]))t=t+"<li>"+e[s][o]+" "+(1==e[s][o]?TAPi18n.__("common.descr.charsing."+o):TAPi18n.__("common.descr.charplur."+o))+"</li>";t+="</ul>"}else{for(var o in t=t+"<br>"+TAPi18n.__("common.descr.txt_uncertain")+"<ul>",meteorBabelHelpers.sanitizeForInObject(e[s]))t=t+"<li>"+e[s][o]+" "+(1==e[s][o]?TAPi18n.__("common.descr.charsing."+o):TAPi18n.__("common.descr.charplur."+o))+"</li>";t+="</ul>"}var r=(t+="</ul>").lastIndexOf(",");return r>
206=0&&(t=t.substring(0,r)+" and"+t.substring(r+1,t.length)),t=t.replace("stroller","baby")},videoloadbefore:function(){},getLikes:function(e){return Likes.find({scenario_id:e}).count()},isLiked:function(e,t){return Likes.find({scenario_id:e,user_id:t}).count()>0},getAllTilespural:function(){var e;return{man:"men",woman:"women","pregnant woman":"pregnant women",stroller:"babies","elderly man":"elderly men","elderly woman":"elderly women",boy:"boys",girl:"girls","homeless person":"homeless people","large woman":"large women","large man":"large men",criminal:"criminals","male executive":"male executives","female executive":"female executives","female athlete":"female athletes","male athlete":"male athletes","female doctor":"female doctors","male doctor":"male doctors",dog:"dogs",cat:"cats"}},getArticle:function(){var e;return{man:"a",woman:"a","pregnant woman":"a",stroller:"a","elderly man":"an","elderly woman":"an",boy:"a",girl:"a","homeless person":"a","large woman":"a","large man":"a",criminal:"a","male executive":"a","female executive":"a","female athlete":"a","male athlete":"a","female doctor":"a","male doctor":"a",dog:"a",cat:"a"}}}}},
206"EthicalGame.js":function e(){UserFingerprint=null,firstVisit=!1,Meteor.startup((function(){$(window).resize((function(e){Session.set("WindowWidth",$(window).width())})),Session.setDefault("scenarioOrder",0),Session.setDefault("scenarioOrderClassic",0),Session.setDefault("firstLoad","Y"),Session.setDefault("firstLoadClassic","Y"),Session.setDefault("viewYours",!0),Session.setDefault("chosenLayout",0),Session.setDefault("chosenOutcome",0),Session.setDefault("chosenLocation",0),Session.setDefault("chosenDamage",100),DesignedScenario={id:"",layout_type:0,options:{crossing_signal:"no",barrier:-1},tiles:[]},Session.setDefault("viewIndex",0),Session.setDefault("templateName","Landing"),Session.setDefault("templateNameMobile","LandingMobile"),$(window).width()>767?Session.setDefault("pcmobile","Main"):Session.setDefault("pcmobile","MainMobile"),Session.setDefault("videoload",!1),Session.setDefault("rightcontent",""),Session.setDefault("leftcontent",""),Session.setDefault("swiperrvalue",0),Session.setDefault("temppage",".Judge"),Session.setDefault("warningYes",!1),Session.setDefault("JudgeMobileSelect",!1),Session.setDefault("descriptionLeft",!1),Session.setDefault("descriptionRight",!1),localStorage.getItem("fingerprint")?firstVisit=!1:firstVisit=!0,UserFingerprint=Helpers.getFingerprint(),Meteor.call("getUserIP",(function(e,t){e||Session.set("ip",t)})),Session.set("SIDs",[]),Meteor.call("createFPUser",{userFingerprint:UserFingerprint,userOldFingerprint:Helpers.getOldFingerprint(),userIP:Session.get("ip"),userTS:new Date,referrer:document.referrer,lang:TAPi18n.getLanguage()})}))},
206"routes.js":function e(){var t=["ar","de","en","es","fr","ja","it","kr","pt","ru","zh"];function a(e){UserFingerprint=Helpers.getFingerprint();var e=parseInt(e,10);Session.set("viewYours",!1),Session.set("startScenarioId",e),Session.set("scenarioId",e),Session.set("byUrl",!0),Session.set("templateName","View"),Session.set("templateNameMobile","ViewMobile")}function n(e){UserFingerprint=Helpers.getFingerprint(),Session.set("sessId",parseInt(e)),Session.set("byUrl",!0),Session.set("templateName","Results"),Session.set("templateNameMobile","ResultsMobile")}function s(){UserFingerprint=Helpers.getFingerprint(),Session.set("byUrl",!0),Session.set("templateName","Classic"),Session.set("templateNameMobile","ClassicMobile")}function i(e){return t.indexOf(e)<0?"en":e}FlowRouter.route("/browse/:sid",{action:function(e){window.history.pushState("","Moral Machine","/"),a(e.sid)},name:"browseById"}),FlowRouter.route("/hl/:lang/browse/:sid",{action:function(e){window.history.pushState("","Moral Machine","en"==i(e.lang)?"/":"/hl/"+i(e.lang)),TAPi18n.setLanguage(i(e.lang)).done((function(){Helpers.translateHead()})),a(e.sid)},name:"browseByIdAndLang"}),FlowRouter.route("/classic",{action:function(e){window.history.pushState("","Moral Machine","/"),s()},name:"classic"}),FlowRouter.route("/hl/:lang/classic",{action:function(e){window.history.pushState("","Moral Machine","en"==i(e.lang)?"/":"/hl/"+i(e.lang)),TAPi18n.setLanguage(i(e.lang)).done((function(){Helpers.translateHead()})),s()},name:"classicLang"}),FlowRouter.route("/results/:sid",{action:function(e){window.history.pushState("","Moral Machine","/"),n(e.sid)},name:"resultsById"}),FlowRouter.route("/hl/:lang/results/:sid",{action:function(e){window.history.pushState("","Moral Machine","en"==i(e.lang)?"/":"/hl/"+i(e.lang)),TAPi18n.setLanguage(i(e.lang)).done((function(){Helpers.translateHead()})),n(e.sid)},name:"resultsByIdAndLang"}),FlowRouter.route("/hl/:lang",{action:function(e){window.history.pushState("","Moral Machine","en"==i(e.lang)?"/":"/hl/"+i(e.lang)),TAPi18n.setLanguage(i(e.lang)).done((function(){Helpers.translateHead()}))},name:"language"}),FlowRouter.route("/",{action:function(){},name:"default"})}},
206"template.EthicalGame.js":function e(){Template.body.addContent((function(){var e=this;return[Blaze._TemplateWith((function(){return{template:Spacebars.call(e.lookup("pc_mobile"))}}),(function(){return Spacebars.include((function(){return Spacebars.call(Template.__dynamic)}))})),"\n\n",Blaze.View("lookup:ChangeView",(function(){return Spacebars.mustache(e.lookup("ChangeView"))}))]})),Meteor.startup(Template.body.renderToDocument),Meteor.startup((function(){var e={dir:"auto"};for(var t in e)document.body.setAttribute(t,e[t])}))},both:{i18n:{
206"ar.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.ar=["Arabic","Ø§ÙØ¹Ø±Ø¨ÙØ©"],TAPi18n._enable({helper_name:"_",supported_languages:null,i18n_files_route:"/tap-i18n",preloaded_langs:[],cdn_path:null}),TAPi18n.languages_names.en=["English","English"]},
206"de.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.de=["German","Deutsch"]},
206"en.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";translations={},translations[n]={sharing:{btn_share:"Share",btn_link:"Link",btn_fb:"Share on Facebook",btn_tw:"Share on Twitter",btn_gp:"Share on Google Plus",btn_li:"Share on LinkedIn",btn_rd:"Share on Reddit",btn_wa:"Share on WhatsApp",btn_dg:"Share on Digg",btn_su:"Share on StumbleUpon",btn_em:"Share by email",txt_gen:"Let others know about Moral Machine",txt_default:"Whom should a self-driving car kill?",results:{txt_title:"Find this Interesting?",txt_share:"Share Results",txt_link:"Permalink to Results",txt_linkdescr:"Copy results permanent link to share/save",txt_default:"Just took a self-driving car test"},view:{txt_title:"Like this Scenario?",txt_share:"Share Scenario",txt_link:"Permalink to Scenario",txt_linkdescr:"Copy scenario permanent link to share/save",txt_default:"Whom should this self-driving car kill?"}},common:{outcome:{btn_stay:"stay",btn_swerve:"swerve"},descr:{btn_show:"Show Description",btn_hide:"Hide Description",charsing:{txt_man:"man",txt_woman:"woman",txt_boy:"boy",txt_girl:"girl",txt_oldman:"elderly man",txt_oldwoman:"elderly woman",txt_lgman:"large man",txt_lgwoman:"large woman",txt_execm:"male executive",txt_execf:"female executive",txt_docm:"male doctor",txt_docf:"female doctor",txt_athm:"male athlete",txt_athf:"female athlete",txt_preg:"pregnant woman",txt_homeless:"homeless person",txt_crim:"criminal",txt_baby:"baby",txt_dog:"dog",txt_cat:"cat"},charplur:{txt_man:"men",txt_woman:"women",txt_boy:"boys",txt_girl:"girls",txt_oldman:"elderly men",txt_oldwoman:"elderly women",txt_lgman:"large men",txt_lgwoman:"large women",txt_execm:"male executives",txt_execf:"female executives",txt_docm:"male doctors",txt_docf:"female doctors",txt_athm:"male athletes",txt_athf:"female athletes",txt_preg:"pregnant women",txt_homeless:"homeless people",txt_crim:"criminals",txt_baby:"babies",txt_dog:"dogs",txt_cat:"cats"},txt_stay:"continue ahead",txt_swerve:"swerve",txt_toahead:"drive through a pedestrian crossing ahead",txt_toother:"drive through a pedestrian crossing in the other lane",txt_tobarrier:"crash into a concrete barrier",txt_abiding:"Note that the affected pedestrians are abiding by the law by crossing on the green signal.",txt_flouting:"Note that the affected pedestrians are flouting the law by crossing on the red signal.",txt_case:"In this case, the self-driving car with sudden brake failure will ",txt_and:" and ",txt_result:". This will result in â¦",txt_dead:"Dead: ",txt_injured:"Injured: ",txt_uncertain:"Uncertain fate: "}},main:{header:{btn_home:"Home",btn_judge:"Judge",btn_design:"Design",btn_browse:"Browse",btn_about:"About",btn_feedback:"Feedback",btn_classic:"Classic",txt_toggle:"Toggle navigation"},feedback:{txt_title:"Questions? Comments? Suggestions?",txt_thanks:"Thank you!",txt_placeholder:"Please enter your feedback here",btn_submit:"Tell us!"},txt_langcall:"Please choose your language",htm_footer:'Made by <a class="footlink" href="http://scalable.media.mit.edu" target="_blank">Scalable Cooperation</a> at <a class="footlink" href="http://media.mit.edu" target="_blank">MIT Media Lab</a>'},covid19Survey:{banner:"The COVID-19 crisis has forced people to confront difficult ethical challenges. If you are comfortable answering a few brief questions on this topic, please click here.","banner-button":"COVID-19",intro:"The COVID-19 crisis has required patients in the most serious respiratory conditions to be put on a ventilator that mechanically pushes air into their lungs. This is usually done with a tube that is inserted into their body through the patient's mouth. While the patient is on a ventilator, they are almost always sedated and sometimes also have their muscles temporarily paralyzed to prevent discomfort and attempts to instinctively remove the ventilator tube. Patients who are in this serious medical condition will quickly die if the ventilator is removed before the patient has recovered.",sliders:{considered:"Should be considered","not-considered":"Should not be considered"},submit:"submit","thank-you":"Thank You","ventilator-priority":{description:"Many hospitals currently or soon will face situations where the demand for ventilators among needy patients will exceed the number of ventilators that are available. In that case, difficult decisions will need to be made about <b>who should be placed</b> on the scarce number of ventilators available. <b>How much of a role should each of these factors play in determining the priority that patients have for being allocated a ventilator?</b>","might-help-with-virus":"Whether they might help with the virus in the future (e.g. medical professionals & students, etc.)","helped-with-virus":"Whether they've made sacrifices helping with the virus (e.g. medical professionals and research participants who've put their lives at risk)","years-of-life-remaining":"How many years of life they're likely to have after the illness (i.e. younger patients)","quality-of-life":"The likely physical qual
206ity of life after the illness (i.e. prioritize patients without any medical conditions that would reduce quality of life after COVID-19 resolves)","chance-of-recovery":"The chance of recovery (i.e. prioritize patients without any medical conditions that worsen their prognosis)","first-in":"When they arrived at the hospital (i.e. prioritize patients who were first in line)","ability-to-pay":"Their ability to pay (prioritize patients who are insured/can afford treatment)","random-lottery":"Ventilators should be allocated by random lottery (i.e. individual characteristics not considered)"},"ventilator-swap":{description:"Many hospitals may have to decide whether to <b>withdraw</b> a ventilator that is keeping one patient alive in order to give it to another patient. <b>How much of a role should each of these factors play in determining whether a ventilator should be moved from one patient to a new one?</b>","might-help-with-virus":"Whether or not they might help with the virus in the future (e.g. medical professionals & students, etc.)","helped-with-virus":"Whether or not they've made sacrifices helping with the virus (e.g. medical professionals and research participants who've put their lives at risk)","years-of-life-remaining":"How many years of life the patients are likely to have after the illness (i.e. younger patients)","quality-of-life":"The likely physical quality of the patients' lives after the illness (i.e. prioritize patients without any medical conditions that would reduce quality of life after the COVID-19 illness resolves)","chance-of-recovery":"The chance of recovery (i.e. prioritize patients without any medical conditions that will weaken their prognosis)","first-in":"Who was put on the ventilator first (i.e. ventilators should not be removed before resolution of the illness)","ability-to-pay":"The patients' ability to pay (prioritize patients who are insured/can afford treatment)"},"alternate-strategies":{"alternate-strategies":"Do you have any alternative strategies for how to allocate ventilators? Or any other comments?"},demography:{age:"How old are you?",gender:{text:"What is your gender?",options:{male:"Male",female:"Female",other:"Other"}},political:"What are your political views?"},"know-patient":{"know-patient":{text:"Do you personally know someone who has been hospitalized for issues related to COVID-19?",options:{yes:"Yes",no:"No"}}}},landing:{btn_start:"Start Judging",btn_browse:"Browse Scenarios",btn_instr:"View Instructions",htm_teaser:"Welcome to the Moral Machine! A platform for gathering a human perspective on moral decisions made by machine intelligence, such as self-driving cars.<br><br>We show you moral dilemmas, where a driverless car must choose the lesser of two evils, such as killing two passengers or five pedestrians. As an outside observer, you <strong>judge</strong> which outcome you think is more acceptable. You can then see how your responses compare with those of other people.<br><br>If youâre feeling creative, you can also <strong>design</strong> your own scenarios, for you and other users to <strong>browse</strong>, share, and discuss.",instr:{txt_title:"Instructions",htm_all:'This website has three main functional interfaces that can be accessed from the menu bar.<h4>Judge</h4>You will be presented with random moral dilemmas that a machine is facing. For example, a self-driving car, which does not need to have passengers in it. The car can sense the presence and approximate identification of pedestrians on the road ahead of it, as well as of any passengers who may be in the car.<br><br>The car also detects that the brakes failed, leaving it with two options: keep going and hit the pedestrians ahead of it, or swerve and hit the pedestrians on the other lane. Some scenarios will include the case of a non-empty car; in those cases, one of the two lanes have a barrier that can be crashed into, affecting all passengers. One or two pedestrian signals may also be included in a given scenario, changing the legality of a pedestrian\'s position on their respective lane.<br><br>You are outside the scene, watching it from above. Nothing will happen to you. You have control over choosing what the car should do. You can express your choice by clicking on one of the two choices in front of you. In each of the two possible outcomes, the affected characters will be visually marked with the symbol of a skull, a medical cross, or a question mark to signal what will happen to this character, corresponding to death, injury, or an uncertain outcome, respectively.<br><br>You may proceed from scenario to scenario by selecting the outcome you feel is most acceptable by you. This can be done by clicking the outcome of your choice, which will be highlighted
206when you hover your cursor over it. A button below each outcome depiction will let you toggle the display of a textual summary of the outcome that you can read. A counter at the top right will let you know your progress in the sequence of scenarios.<br><br>Upon finishing all the scenarios, you will see a summary of the aggregated trend in your responses in the session of the game you just played, compared to the aggregated responses of other players, along several different dimensions. You may "Share" or "Link" your results using the corresponding buttons, and/or play another scenario sequence by clicking "More".<h4>Design</h4>Additionally, you may try to create a new scenario yourself. You will first be asked to choose whether you want to have the dilemma be between two sets of pedestrians, or, if between pedestrians and passengers, whether the self-driving car will have to swerve to save the passengers or pedestrians. You can then choose to add legal complications in the form of a pedestrian signal.<br><br>Finally, you can choose characters to add to each possible location in the scenario. The default fate for the characters who crash or are hit is death, but you can change this using the dropdown for each location. Note that the fates of impacted characters can be set independently for each character, even within the same location.<br><br>You can reset the scenario creation interface at any time by clicking the "Start Over" button on the left. Once you are done creating a scenario, and have given it a creative title, you can submit it by clicking the âSubmitâ button on the right. Once you do, your scenario will be added to the database of scenarios created by users of the platform.<h4>Browse</h4>This interface lets you view the scenarios you and other users of this platform have created. The scenarios are arranged chronologically; you can click "❮" or "❯" to move ahead or back in this arrangement. Alternatively, you can click the "Random" button to take you to any random scenario in the timeline. As with the Judge interface, you are able to toggle the display of textual descriptions for each outcome using the button below the respective outcome.<br><br>You can show your appreciation for particularly interesting scenarios by clicking the "Like" button, and can "Share" or "Link" such scenarios using the corresponding buttons. A discussion thread for each scenario is displayed below the depiction of the scenario; we encourage you to participate.'}},home:{txt_title:"Moral Machine",txt_social:"A platform for public participation in and discussion of the human perspective on machine-made moral decisions"},about:{txt_title:"About Moral Machine",htm_main:'<p style="text-align:justify;">From self-driving cars on public roads to self-piloting reusable rockets landing on self-sailing ships, machine intelligence is supporting or entirely taking over ever more complex human activities at an ever increasing pace. The greater autonomy given machine intelligence in these roles can result in situations where they have to make autonomous choices involving human life and limb. This calls for not just a clearer understanding of how humans make such choices, but also a clearer understanding of how humans perceive machine intelligence making such choices.</p><p style="text-align:justify;">Recent scientific studies on machine ethics have raised awareness about the topic in the media and public discourse. This website aims to take the discussion further, by providing a platform for 1) building a crowd-sourced picture of human opinion on how machines should make decisions when faced with moral dilemmas, and 2) crowd-sourcing assembly and discussion of potential scenarios of moral consequence.</p>',txt_concept:"Concept",txt_dev:"Development",txt_contrib:"With Contributions From",txt_media:"Selected Media",txt_contact:"Media Contact: [email protected]",htm_contact:"Media Contact:<br>[email protected]",txt_pub:"Scientific Writings",txt_acknow:"Acknowledgments",txt_reid:"We are grateful for support from The Ethics and Governance of Artificial Intelligence Fund.",htm_lang:""},create:{btn_reset:"Start Over",txt_titleph:"Give your scenario a title",txt_titlephlong:"Title length maximum 64 letters",btn_submit:"Submit Scenario",btn_killed:"killed in this outcome",btn_injured:"injured in this outcome",btn_uncertain:"uncertain in this outcome",legal:{txt_question:"Are there any legal complications?",btn_nosig:"None",btn_gosig:"Legal Crossing Ahead",btn_stopsig:"Illegal Crossing Ahead"},layout:{txt_question:"Between whom is the self-driving car deciding?",btn_pvp:"Pedestrians vs Pedestrians",btn_pvd:"Pedestrians Ahead vs Passengers",btn_dvp:"Passengers vs Pedestrians on Other Lane"},limit:{txt_title:"Location Character Limit Reached",txt_msg:"Sorry, you may only add up to 5 characters per location."}
206,invalid:{txt_title:"Invalid Scenario",txt_msg:"Sorry, you may not submit a scenario without at least one character in each possible location."},charloc:{txt_leftlane:"On Lane Crossing Ahead",txt_rightlane:"On Other Lane Crossing",txt_incar:"In Self-Driving Car"},character:{txt_man:"Man",txt_woman:"Woman",txt_boy:"Boy",txt_girl:"Girl",txt_oldman:"Elderly Man",txt_oldwoman:"Elderly Woman",txt_lgman:"Large Man",txt_lgwoman:"Large Woman",txt_execm:"Male Executive",txt_execf:"Female Executive",txt_docm:"Male Doctor",txt_docf:"Female Doctor",txt_athm:"Male Athlete",txt_athf:"Female Athlete",txt_preg:"Pregnant Woman",txt_homeless:"Homeless Person",txt_crim:"Criminal",txt_baby:"Baby",txt_dog:"Dog",txt_cat:"Cat"}},judge:{txt_question:"What should the self-driving car do?",btn_submit:"go",interr:{txt_title:"Interrupt Judging?",txt_msg:"If you leave now, your session will be reset, and you will not be able to see the summary for your responses so far.",consent_htm:'<p>We are giving you the option to withhold your responses from the research data collection by using this <span id="optout"><a>link</a></span>. However, if you choose to permit use of your response data in the research, your anonymity will be preserved, and your response data will contribute to the advancement of scientific research.</p>',btn_back:"Back to Judging",btn_leave:"Leave"}},results:{btn_again:"More",txt_tryit:"Try it for Yourself",txt_title:"Results",txt_byurl:"This is how the person who created the share link scored in the game",txt_scroll:"Scroll Down",mirror:{txt_others:"Others",txt_them:"Them",txt_you:"You",txt_mostsave:"Most Saved Character",txt_mostkill:"Most Killed Character",txt_save:"Saving More Lives",txt_protect:"Protecting Passengers",txt_law:"Upholding the Law",txt_avoid:"Avoiding Intervention",txt_gender:"Gender Preference",txt_species:"Species Preference",txt_age:"Age Preference",txt_fitness:"Fitness Preference",txt_value:"Social Value Preference",slider:{txt_nomatter:"Does Not Matter",txt_lotsmatter:"Matters a Lot",txt_male:"Males",txt_female:"Females",txt_human:"Hoomans",txt_pet:"Pets",txt_young:"Younger",txt_old:"Older",txt_fit:"Fit People",txt_large:"Large People",txt_high:"Higher",txt_low:"Lower"}},survey:{txt_invite:"Would you like to help us better understand your judgement?",txt_thank:"Thank You",btn_yes:"Yes",btn_no:"No",txt_answer:"Please answer the following questions.",htm_rank:"From your point of view, how important was each factor in your judgement?<br>(drag the sliders to where you think they should be)",txt_rules:"Please describe any other rules here",txt_much:"Very much",txt_little:"Very little",txt_willing:"How willing are you to buy a self-driving car?",txt_fear:"To what extent do you fear that machines will become out of control?",txt_trust:"To what extent do you feel you can trust machines in the future?",txt_believe:"To what extent do you believe that your decisions on Moral Machine will be used to program self-driving cars?",txt_age:"How old are you?",htm_gender:'<p>What is your gender?</p><select id="gender" style="width:20%"><option value="default"> </option><option value="male">Male</option><option value="female">Female</option><option value="others">Other</option></select>',htm_edu:'<p>Highest level of education</p><select id="education" style="width:20%"><option value="default"> </option><option value="underHigh">Less than a High School Diploma</option><option value="high">High School Diploma</option><option value="vocational">Vocational Training</option><option value="college">Attended College</option><option value="bachelor">Bachelor Degree</option><option value="graduate">Graduate Degree</option><option value="others">Other</option></select>',htm_income:'<p>Annual income, including tips, dividends, interest, etc (in US dollars)</p><select id="income" style="width:20%"><option value="default"> </option><option value="under5000">Under $5,000</option><option value="5000">$5,000-$10,000</option><option value="10000">$10,001-$15,000</option><option value="15000">$15,001-$25,000</option><option value="25000">$25,001-$35,000</option><option value="35000">$35,001-$50,000</option><option value="50000">$50,001-$85,000</option><option value="80000">$80,001-$100,000</option><option value="above10000">Over $100,000</option></select>',txt_political:"What are your political views?",txt_political_min:"Conservative",txt_political_max:"Progressive",txt_religious:"What are your religious views?",txt_religious_min:"Not Religious",txt_religious_max:"Very Religious",btn_submit:"Submit"},optout:{txt_title:"Opt-Out Complete",htm_disclaimer:'<p><b>1. Aim of the study</b></p><p>The aim of this study is to understand individualsâ judgements about difficult moral dilemmas that involve life or death situations (both in medical and n
206on-medical contexts).</p><p><b>2. Procedure and content of the study</b></p><p>To do this, we present you with a sequence of scenarios. Each scenario is depicted as the two possible outcomes of inevitable harm, or as a question that asks how much you approve of an outcome.</p><p><b>3. What will happen to the information and data collected?</b></p><p>This study is a research project of the Max Planck Institute (MPI) for Human Development. The anonymous data collected will be used for research purposes only.</p><p>No personal data will be recorded. We use your IP address to determine the country or another regional level (e.g., state) from which you access the site. If you choose to participate in the optional survey, we will link broad information about your age, gender, and education level to your path through the game. Only few designated researchers have access to the IPs, and the link between IPs and decisions will be removed within 2 years after the end of the study. Other members of the research team will only have access to the country level or the regional level. The study data may be made publicly accessible via research data bases or scientific publications. The publicly available data will not contain the IP addresses. Please note the publicly accessible data may also be used for purposes going beyond this study. Additionally, note that if you complete any other survey on this website, we will link data from that survey with the data from the survey you just completed.</p><p><b>4. Participation is voluntary</b></p><p>Participation in this study is voluntary. You may withdraw from the study at any time before completion of the session.</p><p><b>5. Consent</b></p><p>A session in this study involves one single round of no more than 20 dilemmas that lasts less than 10 minutes and you may do as many sessions as you like. It may last a bit longer if you also choose to do few additional surveys.</p><p>We are giving you the option to withhold your responses from the research data collection by using this <span id="optout"><a>link</a></span>. However, if you choose to permit use of your response data in the research, your anonymity will be preserved, and your response data will contribute to the advancement of scientific research.</p>',htm_disclaimer_classic:'<p><b>1. Aim of the study</b></p><p>The aim of this study is to understand individualsâ judgements about difficult moral dilemmas that involve life or death situations (both in medical and non-medical contexts).</p><p><b>2. Procedure and content of the study</b></p><p>To do this, we present you with a sequence of scenarios. Each scenario is depicted as the two possible outcomes of inevitable harm, or as a question that asks how much you approve of an outcome.</p><p><b>3. What will happen to the information and data collected?</b></p><p>This study is a research project of the Max Planck Institute (MPI) for Human Development. The anonymous data collected will be used for research purposes only.</p><p>No personal data will be recorded. We use your IP address to determine the country or another regional level (e.g., state) from which you access the site. If you choose to participate in the optional survey, we will link broad information about your age, gender, and education level to your path through the game. Only few designated researchers have access to the IPs, and the link between IPs and decisions will be removed within 2 years after the end of the study. Other members of the research team will only have access to the country level or the regional level. The study data may be made publicly accessible via research data bases or scientific publications. The publicly available data will not contain the IP addresses. Please note the publicly accessible data may also be used for purposes going beyond this study. Additionally, note that if you complete any other survey on this website, we will link data from that survey with the data from the survey you just completed.</p><p><b>4. Participation is voluntary</b></p><p>Participation in this study is voluntary. You may withdraw from the study at any time before completion of the session.</p><p><b>
2065. Consent</b></p><p>A session in this study involves one single round of no more than 20 dilemmas that lasts less than 10 minutes and you may do as many sessions as you like. It may last a bit longer if you also choose to do few additional surveys.</p><p>We are giving you the option to withhold your responses from the research data collection by using this <span id="optout"><a>link</a></span>. However, if you choose to permit use of your response data in the research, your anonymity will be preserved, and your response data will contribute to the advancement of scientific research.</p>',htm_disclaimer_covid:'<p><b>1. Aim of the study</b></p><p>The aim of this study is to understand individualsâ judgements about difficult moral dilemmas that involve life or death situations (both in medical and non-medical contexts).</p><p><b>2. Procedure and content of the study</b></p><p>To do this, we present you with a sequence of scenarios. Each scenario is depicted as the two possible outcomes of inevitable harm, or as a question that asks how much you approve of an outcome.</p><p><b>3. What will happen to the information and data collected?</b></p><p>This study is a research project of the Max Planck Institute (MPI) for Human Development. The anonymous data collected will be used for research purposes only.</p><p>No personal data will be recorded. We use your IP address to determine the country or another regional level (e.g., state) from which you access the site. If you choose to participate in the optional survey, we will link broad information about your age, gender, and education level to your path through the game. Only few designated researchers have access to the IPs, and the link between IPs and decisions will be removed within 2 years after the end of the study. Other members of the research team will only have access to the country level or the regional level. The study data may be made publicly accessible via research data bases or scientific publications. The publicly available data will not contain the IP addresses. Please note the publicly accessible data may also be used for purposes going beyond this study. Additionally, note that if you complete any other survey on this website, we will link data from that survey with the data from the survey you just completed.</p><p><b>4. Participation is voluntary</b></p><p>Participation in this study is voluntary. You may withdraw from the study at any time before completion of the session.</p><p><b>5. Consent</b></p><p>A session in this study involves one single round of no more than 20 dilemmas that lasts less than 10 minutes and you may do as many sessions as you like. It may last a bit longer if you also choose to do few additional surveys.</p><p>We are giving you the option to withhold your responses from the research data collection by using this <span id="optout"><a>link</a></span>. However, if you choose to permit use of your response data in the research, your anonymity will be preserved, and your response data will contribute to the advancement of scientific research.</p>',htm_msg:'<h4>Your response data has been discarded. We hope you enjoyed the experience all the same.</h4><h4>You\'re welcome to play another set of scenarios by clicking <a id="tryagainoptout">here</a>.</h4>',small_htm:"<h4>Your response data has been discarded. We hope you enjoyed the experience all the same.</h4>"}},view:{btn_nlike:"Like",btn_nlikes:"Likes",htm_noscript:'Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>',navigation:{txt_right:"Next Scenario",txt_left:"Previous Scenario",btn_random:"Random"}},classic:{outcome:{btn_avoid:"avoid",btn_act:"act"},txt_question:"What should the man in blue do?",side:{url0:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/side0.png')",url1:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/side1.png')",urlN:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/sideN.png')",desCenter:"A man in blue is standing by the railroad tracks when he notices an empty boxcar rolling out of control. It is moving so fast that anyone it hits will die. Ahead on the main track are five people. There is one person standing on a side track that doesn't rejoin the main track. If the man in blue does nothing, the boxcar will hit the five people on the main track, but not the one person on the side track. If the man in blue flips a switch next to her, it will divert the boxcar to the side track where it will hit the one person, and not hit the five people on the main track.",des0:"here is the description for side 0",des1:"here is the description for side 1"},fat:{url0:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/fat0.png')",url1:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/fat1.png')",urlN:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/fatN.png')",de
206sCenter:"A man in blue is standing on a footbridge over the railroad tracks when he notices an empty boxcar rolling out of control. It is moving so fast that anyone it hits will die. Ahead on the track are five people. There is a large person standing near the man in blue on the footbridge, and this large person weighs enough that the boxcar would slow down if it hit him (the man in blue does not weigh enough to slow down the boxcar). If the man in blue does nothing, the boxcar will hit the five people on the track. If the man in blue pushes the one person, that one person will fall onto the track, where the boxcar will hit the one person, slow down because of the one person, and not hit the five people farther down the track.",des0:"here is the description for fat0",des1:"here is the description for fat1"},loop:{url0:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/loop0.png')",url1:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/loop1.png')",urlN:"url('http://avgame.s3-accelerate.amazonaws.com/images/classic/loopN.png')",desCenter:"A man in blue is standing by the railroad tracks when he notices an empty boxcar rolling out of control. It is moving so fast that anyone it hits will die. Ahead on the main track are five people. There is one person standing on a side track that loops back towards the five people. If the man in blue does nothing, the boxcar will hit the five people on the main track, but not the one person on the side track. If the man in blue flips a switch next to him, it will divert the boxcar to the side track where it will hit the one person and grind to a halt, thereby not looping around and killing the five people on the main track.",des0:"here is the description for loop0",des1:"here is the description for loop1"}}},TAPi18n._loadLangFileObject("en",translations)},
206"es.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.es=["Spanish (Spain)","Español"]},
206"fr.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.fr=["French (France)","Français"]},
206"it.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.it=["Italian","Italiano"]},
206"ja.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.ja=["Japanese","æ¥æ¬èª"]},
206"kr.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.kr=["kr","kr"]},
206"pt.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.pt=["Portuguese (Portugal)","Português"]},
206"ru.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.ru=["Russian","Ð ÑÑÑкий"]},
206"zh.i18n.json":function e(){var t=Package.underscore._,a="project",n="project";TAPi18n.languages_names.zh=["Chinese","䏿"]}}},
206"collection.js":function e(){Scenario=new Mongo.Collection("scenario"),User=new Mongo.Collection("user"),Response=new Mongo.Collection("response"),Score=new Mongo.Collection("score"),Likes=new Mongo.Collection("likes"),Optedout=new Mongo.Collection("optedout"),AggScore=new Mongo.Collection("aggscore"),PublicScore=new Mongo.Collection("publicscore"),SharedViews=new Mongo.Collection("sharedviews"),SessionLog=new Mongo.Collection("sessionlog"),SCount=new Mongo.Collection("sCount"),Feedback=new Mongo.Collection("feedback"),ClassicResponse=new Mongo.Collection("classicresponse"),ClassicSurvey=new Mongo.Collection("classicsurvey"),ClassicOptedout=new Mongo.Collection("classicoptedout"),Covid19Response=new Mongo.Collection("covid19Response"),Meteor.call("countTheScenarios")}},{extensions:[".js",".json",".html",".mjs",".css"]});require("/client/templates/template.About.js"),require("/client/templates/template.AboutMobile.js"),require("/client/templates/template.Banner.js"),require("/client/templates/template.BannerMobile.js"),require("/client/templates/template.Classic.js"),require("/client/templates/template.ClassicMobile.js"),require("/client/templates/template.ClassicSurvey.js"),require("/client/templates/template.ClassicSurveyMobile.js"),require("/client/templates/template.Covid19Survey.js"),require("/client/templates/template.Covid19SurveyMobile.js"),require("/client/templates/template.Create.js"),require("/client/templates/template.CreateMobile.js"),require("/client/templates/template.Imprint.js"),require("/client/templates/template.Judge.js"),require("/client/templates/template.JudgeMobile.js"),require("/client/templates/template.Landing.js"),require("/client/templates/template.LandingMobile.js"),require("/client/templates/template.Main.js"),require("/client/templates/template.MainMobile.js"),require("/client/templates/template.PrivacyPolicy.js"),require("/client/templates/template.Results.js"),require("/client/templates/template.ResultsMobile.js"),require("/client/templates/template.View.js"),require("/client/templates/template.ViewMobile.js"),require("/client/templates/template.Visualization.js"),require("/client/templates/template.VisualizationMobile.js"),require("/template.EthicalGame.js"),require("/both/i18n/ar.i18n.json"),require("/both/i18n/de.i18n.json"),require("/both/i18n/en.i18n.json"),require("/both/i18n/es.i18n.json"),require("/both/i18n/fr.i18n.json"),require("/both/i18n/it.i18n.json"),require("/both/i18n/ja.i18n.json"),require("/both/i18n/kr.i18n.json"),require("/both/i18n/pt.i18n.json"),require("/both/i18n/ru.i18n.json"),require("/both/i18n/zh.i18n.json"),require("/client/events/About_events.js"),require("/client/events/ClassicMobile_events.js"),require("/client/events/ClassicSurveyMobile_events.js"),require("/client/events/ClassicSurvey_events.js"),require("/client/events/Classic_events.js"),require("/client/events/Covid19SurveyMobile_events.js"),require("/client/events/Covid19Survey_events.js"),require("/client/events/CreateMobile_events.js"),require("/client/events/Create_events.js"),require("/client/events/JudgeMobile_events.js"),require("/client/events/Judge_events.js"),require("/client/events/LandingMobile_events.js"),require("/client/events/Landing_events.js"),require("/client/events/MainMobile_events.js"),require("/client/events/Main_events.js"),require("/client/events/ResultsMobile_events.js"),require("/client/events/Results_events.js"),require("/client/events/View_events.js"),require("/client/events/body_events.js"),require("/client/helpers/About_helpers.js"),require("/client/helpers/ClassicMobile_helpers.js"),require("/client/helpers/ClassicSurveyMobile_helpers.js"),require("/client/helpers/ClassicSurvey_helpers.js"),require("/client/helpers/Classic_helpers.js"),require("/client/helpers/Covid19SurveyMobile_helpers.js"),require("/client/helpers/Covid19Survey_helpers.js"),require("/client/helpers/CreateMobile_helpers.js"),require("/client/helpers/Create_helpers.js"),require("/client/helpers/JudgeMobile_helpers.js"),require("/client/helpers/Judge_helpers.js"),require("/client/helpers/Landing_helpers.js"),require("/client/helpers/Main_helpers.js"),require("/client/helpers/Results_helpers.js"),require("/client/helpers/ViewMobile_helpers.js"),require("/client/helpers/View_helpers.js"),require("/client/helpers/body_helpers.js"),require("/client/helpers/helpers.js"),require("/client/EthicalGame.js"),require("/client/routes.js"),require("/collection.js"); 207 208!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,a=Package.meteor.meteorEnv,t=Package["aldeed:simple-schema"].SimpleSchema,o=Package["aldeed:simple-schema"].MongoObject,i=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,l=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,m=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,d,g=i({node_modules:{meteor:{"mdg:validation-error":{
208"validation-error.js":function r(a,o,r){var i;r.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){i=e}},0);var n=new t({name:{type:String},type:{type:String},details:{type:Object,blackbox:!0,optional:!0}}),l=new t({errors:{type:Array},"errors.$":{type:n}});d=function(e){function r(r){var a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Validation Failed";return l.validate({errors:r}),(a=e.call(this,d.ERROR_CODE,t,r)||this).errors=r,a}return i(r,e),r}(e.Error),d.ERROR_CODE="validation-error"}
208}}}},{extensions:[".js",".json"]});g("/node_modules/meteor/mdg:validation-error/validation-error.js"),Package._define("mdg:validation-error",{ValidationError:d})}(); 209
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.